Files
seal-use/dist/mcp/server.js
T

2134 lines
2.8 MiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{createRequire as Uy0}from"node:module";var sS0=Object.create;var{getPrototypeOf:tS0,defineProperty:DA,getOwnPropertyNames:aS0}=Object;var eS0=Object.prototype.hasOwnProperty;function $y0($){return this[$]}var Yy0,qy0,y4=($,Y,q)=>{var z=$!=null&&typeof $==="object";if(z){var J=Y?Yy0??=new WeakMap:qy0??=new WeakMap,U=J.get($);if(U)return U}q=$!=null?sS0(tS0($)):{};let I=Y||!$||!$.__esModule?DA(q,"default",{value:$,enumerable:!0}):q;for(let Q of aS0($))if(!eS0.call(I,Q))DA(I,Q,{get:$y0.bind($,Q),enumerable:!0});if(z)J.set($,I);return I};var M=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports);var zy0=($)=>$;function Jy0($,Y){this[$]=zy0.bind(null,Y)}var $$=($,Y)=>{for(var q in Y)DA($,q,{get:Y[q],enumerable:!0,configurable:!0,set:Jy0.bind(Y,q)})};var e=($,Y)=>()=>($&&(Y=$($=0)),Y);var m=Uy0(import.meta.url);function a($,Y,q){function z(Q,K){if(!Q._zod)Object.defineProperty(Q,"_zod",{value:{def:K,constr:I,traits:new Set},enumerable:!1});if(Q._zod.traits.has($))return;Q._zod.traits.add($),Y(Q,K);let G=I.prototype,H=Object.keys(G);for(let Z=0;Z<H.length;Z++){let V=H[Z];if(!(V in Q))Q[V]=G[V].bind(Q)}}let J=q?.Parent??Object;class U extends J{}Object.defineProperty(U,"name",{value:$});function I(Q){var K;let G=q?.Parent?new U:this;z(G,Q),(K=G._zod).deferred??(K.deferred=[]);for(let H of G._zod.deferred)H();return G}return Object.defineProperty(I,"init",{value:z}),Object.defineProperty(I,Symbol.hasInstance,{value:(Q)=>{if(q?.Parent&&Q instanceof q.Parent)return!0;return Q?._zod?.traits?.has($)}}),Object.defineProperty(I,"name",{value:$}),I}function m4($){if($)Object.assign(L2,$);return L2}var gm,PA,AA,T5,w2,L2;var F2=e(()=>{PA=Object.freeze({status:"aborted"});AA=Symbol("zod_brand");T5=class T5 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};w2=class w2 extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}};(gm=globalThis).__zod_globalConfig??(gm.__zod_globalConfig={});L2=globalThis.__zod_globalConfig});var P0={};$$(P0,{unwrapMessage:()=>kI,uint8ArrayToHex:()=>Cy0,uint8ArrayToBase64url:()=>_y0,uint8ArrayToBase64:()=>xm,stringifyPrimitive:()=>O0,slugify:()=>EA,shallowClone:()=>_A,safeExtend:()=>Py0,required:()=>Ty0,randomString:()=>Ly0,propertyKeyTypes:()=>bI,promiseAllObject:()=>Vy0,primitiveTypes:()=>RA,prefixIssues:()=>h8,pick:()=>My0,partial:()=>By0,parsedType:()=>N0,optionalKeys:()=>CA,omit:()=>Ny0,objectClone:()=>Zy0,numKeys:()=>wy0,nullish:()=>B3,normalizeParams:()=>B0,mergeDefs:()=>O9,merge:()=>Ay0,jsonStringifyReplacer:()=>Cq,joinValues:()=>I0,issue:()=>hq,isPlainObject:()=>E3,isObject:()=>O2,hexToUint8Array:()=>Ry0,getSizableOrigin:()=>iI,getParsedType:()=>Fy0,getLengthableOrigin:()=>nI,getEnumValues:()=>uI,getElementAtPath:()=>Xy0,floatSafeRemainder:()=>TA,finalizeIssue:()=>L8,extend:()=>Dy0,explicitlyAborted:()=>gA,escapeRegex:()=>O$,esc:()=>xW,defineLazy:()=>G1,createTransparentProxy:()=>Oy0,cloneDef:()=>Wy0,clone:()=>V8,cleanRegex:()=>fI,cleanEnum:()=>Ey0,captureStackTrace:()=>kW,cached:()=>vq,base64urlToUint8Array:()=>jy0,base64ToUint8Array:()=>ym,assignProp:()=>T3,assertNotEqual:()=>Qy0,assertNever:()=>Gy0,assertIs:()=>Ky0,assertEqual:()=>Iy0,assert:()=>Hy0,allowsEval:()=>jA,aborted:()=>j3,NUMBER_FORMAT_RANGES:()=>vA,Class:()=>km,BIGINT_FORMAT_RANGES:()=>hA});function Iy0($){return $}function Qy0($){return $}function Ky0($){}function Gy0($){throw Error("Unexpected value in exhaustive check")}function Hy0($){}function uI($){let Y=Object.values($).filter((z)=>typeof z==="number");return Object.entries($).filter(([z,J])=>Y.indexOf(+z)===-1).map(([z,J])=>J)}function I0($,Y="|"){return $.map((q)=>O0(q)).join(Y)}function Cq($,Y){if(typeof Y==="bigint")return Y.toString();return Y}function vq($){return{get value(){{let q=$();return Object.defineProperty(this,"value",{value:q}),q}throw Error("cached value already set")}}}function B3($){return $===null||$===void 0}function fI($){let Y=$.startsWith("^")?1:0,q=$.endsWith("$")?$.length-1:$.length;return $.slice(Y,q)}function TA($,Y){let q=$/Y,z=Math.round(q),J=Number.EPSILON*Math.max(Math.abs(q),1);if(Math.abs(q-z)<J)return 0;return q-z}function G1($,Y,q){let z=void 0;Object.defineProperty($,Y,{get(){if(z===Sm)return;if(z===void 0)z=Sm,z=q();return z},set(J){Object.defineProperty($,Y,{value:J})},configurable:!0})}function Zy0($){return Object.create(Object.getPrototypeOf($),Object.getOwnPropertyDescriptors($))}function T3($,Y,q){Object.defineProperty($,Y,{value:q,writable:!0,enumerable:!0,configurable:!0})}function O9(...$){let Y={};for(let q of $){let z=Object.getOwnPropertyDescriptors(q);Object.assign(Y,z)}return Object.defineProperties({},Y)}function Wy0($){return O9($._zod.def)}function Xy0($,Y){if(!Y)return $;return Y.reduce((q,z)=>q?.[z],$)}function Vy0($){let Y=Object.keys($),q=Y.map((z)=>$[z]);return Promise.all(q).then((z)=>{let J={};for(let U=0;U<Y.length;U++)J[Y[U]]=z[U];return J})}function Ly0($=10){let q="";for(let z=0;z<$;z++)q+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return q}function xW($){return JSON.stringify($)}function EA($){return $.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}function O2($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function E3($){if(O2($)===!1)return!1;let Y=$.constructor;if(Y===void 0)return!0;if(typeof Y!=="function")return!0;let q=Y.prototype;if(O2(q)===!1)return!1;if(Object.prototype.hasOwnProperty.call(q,"isPrototypeOf")===!1)return!1;return!0}function _A($){if(E3($))return{...$};if(Array.isArray($))return[...$];if($ instanceof Map)return new Map($);if($ instanceof Set)return new Set($);return $}function wy0($){let Y=0;for(let q in $)if(Object.prototype.hasOwnProperty.call($,q))Y++;return Y}function O$($){return $.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function V8($,Y,q){let z=new $._zod.constr(Y??$._zod.def);if(!Y||q?.parent)z._zod.parent=$;return z}function B0($){let Y=$;if(!Y)return{};if(typeof Y==="string")return{error:()=>Y};if(Y?.message!==void 0){if(Y?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");Y.error=Y.message}if(delete Y.message,typeof Y.error==="string")return{...Y,error:()=>Y.error};return Y}function Oy0($){let Y;return new Proxy({},{get(q,z,J){return Y??(Y=$()),Reflect.get(Y,z,J)},set(q,z,J,U){return Y??(Y=$()),Reflect.set(Y,z,J,U)},has(q,z){return Y??(Y=$()),Reflect.has(Y,z)},deleteProperty(q,z){return Y??(Y=$()),Reflect.deleteProperty(Y,z)},ownKeys(q){return Y??(Y=$()),Reflect.ownKeys(Y)},getOwnPropertyDescriptor(q,z){return Y??(Y=$()),Reflect.getOwnPropertyDescriptor(Y,z)},defineProperty(q,z,J){return Y??(Y=$()),Reflect.defineProperty(Y,z,J)}})}function O0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function CA($){return Object.keys($).filter((Y)=>{return $[Y]._zod.optin==="optional"&&$[Y]._zod.optout==="optional"})}function My0($,Y){let q=$._zod.def,z=q.checks;if(z&&z.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let U=O9($._zod.def,{get shape(){let I={};for(let Q in Y){if(!(Q in q.shape))throw Error(`Unrecognized key: "${Q}"`);if(!Y[Q])continue;I[Q]=q.shape[Q]}return T3(this,"shape",I),I},checks:[]});return V8($,U)}function Ny0($,Y){let q=$._zod.def,z=q.checks;if(z&&z.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let U=O9($._zod.def,{get shape(){let I={...$._zod.def.shape};for(let Q in Y){if(!(Q in q.shape))throw Error(`Unrecognized key: "${Q}"`);if(!Y[Q])continue;delete I[Q]}return T3(this,"shape",I),I},checks:[]});return V8($,U)}function Dy0($,Y){if(!E3(Y))throw Error("Invalid input to extend: expected a plain object");let q=$._zod.def.checks;if(q&&q.length>0){let U=$._zod.def.shape;for(let I in Y)if(Object.getOwnPropertyDescriptor(U,I)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let J=O9($._zod.def,{get shape(){let U={...$._zod.def.shape,...Y};return T3(this,"shape",U),U}});return V8($,J)}function Py0($,Y){if(!E3(Y))throw Error("Invalid input to safeExtend: expected a plain object");let q=O9($._zod.def,{get shape(){let z={...$._zod.def.shape,...Y};return T3(this,"shape",z),z}});return V8($,q)}function Ay0($,Y){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let q=O9($._zod.def,{get shape(){let z={...$._zod.def.shape,...Y._zod.def.shape};return T3(this,"shape",z),z},get catchall(){return Y._zod.def.catchall},checks:Y._zod.def.checks??[]});return V8($,q)}function By0($,Y,q){let J=Y._zod.def.checks;if(J&&J.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let I=O9(Y._zod.def,{get shape(){let Q=Y._zod.def.shape,K={...Q};if(q)for(let G in q){if(!(G in Q))throw Error(`Unrecognized key: "${G}"`);if(!q[G])continue;K[G]=$?new $({type:"optional",innerType:Q[G]}):Q[G]}else for(let G in Q)K[G]=$?new $({type:"optional",innerType:Q[G]}):Q[G];return T3(this,"shape",K),K},checks:[]});return V8(Y,I)}function Ty0($,Y,q){let z=O9(Y._zod.def,{get shape(){let J=Y._zod.def.shape,U={...J};if(q)for(let I in q){if(!(I in U))throw Error(`Unrecognized key: "${I}"`);if(!q[I])continue;U[I]=new $({type:"nonoptional",innerType:J[I]})}else for(let I in J)U[I]=new $({type:"nonoptional",innerType:J[I]});return T3(this,"shape",U),U}});return V8(Y,z)}function j3($,Y=0){if($.aborted===!0)return!0;for(let q=Y;q<$.issues.length;q++)if($.issues[q]?.continue!==!0)return!0;return!1}function gA($,Y=0){if($.aborted===!0)return!0;for(let q=Y;q<$.issues.length;q++)if($.issues[q]?.continue===!1)return!0;return!1}function h8($,Y){return Y.map((q)=>{var z;return(z=q).path??(z.path=[]),q.path.unshift($),q})}function kI($){return typeof $==="string"?$:$?.message}function L8($,Y,q){let z=$.message?$.message:kI($.inst?._zod.def?.error?.($))??kI(Y?.error?.($))??kI(q.customError?.($))??kI(q.localeError?.($))??"Invalid input",{inst:J,continue:U,input:I,...Q}=$;if(Q.path??(Q.path=[]),Q.message=z,Y?.reportInput)Q.input=I;return Q}function iI($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function nI($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function N0($){let Y=typeof $;switch(Y){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let q=$;if(q&&Object.getPrototypeOf(q)!==Object.prototype&&"constructor"in q&&q.constructor)return q.constructor.name}}return Y}function hq(...$){let[Y,q,z]=$;if(typeof Y==="string")return{message:Y,code:"custom",input:q,inst:z};return{...Y}}function Ey0($){return Object.entries($).filter(([Y,q])=>{return Number.isNaN(Number.parseInt(Y,10))}).map((Y)=>Y[1])}function ym($){let Y=atob($),q=new Uint8Array(Y.length);for(let z=0;z<Y.length;z++)q[z]=Y.charCodeAt(z);return q}function xm($){let Y="";for(let q=0;q<$.length;q++)Y+=String.fromCharCode($[q]);return btoa(Y)}function jy0($){let Y=$.replace(/-/g,"+").replace(/_/g,"/"),q="=".repeat((4-Y.length%4)%4);return ym(Y+q)}function _y0($){return xm($).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Ry0($){let Y=$.replace(/^0x/,"");if(Y.length%2!==0)throw Error("Invalid hex string length");let q=new Uint8Array(Y.length/2);for(let z=0;z<Y.length;z+=2)q[z/2]=Number.parseInt(Y.slice(z,z+2),16);return q}function Cy0($){return Array.from($).map((Y)=>Y.toString(16).padStart(2,"0")).join("")}class km{constructor(...$){}}var Sm,kW,jA,Fy0=($)=>{let Y=typeof $;switch(Y){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN($)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray($))return"array";if($===null)return"null";if($.then&&typeof $.then==="function"&&$.catch&&typeof $.catch==="function")return"promise";if(typeof Map<"u"&&$ instanceof Map)return"map";if(typeof Set<"u"&&$ instanceof Set)return"set";if(typeof Date<"u"&&$ instanceof Date)return"date";if(typeof File<"u"&&$ instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${Y}`)}},bI,RA,vA,hA;var y0=e(()=>{F2();Sm=Symbol("evaluating");kW="captureStackTrace"in Error?Error.captureStackTrace:(...$)=>{};jA=vq(()=>{if(L2.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});bI=new Set(["string","number","symbol"]),RA=new Set(["string","number","bigint","boolean","symbol","undefined"]);vA={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},hA={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]}});function pI($,Y=(q)=>q.message){let q={},z=[];for(let J of $.issues)if(J.path.length>0)q[J.path[0]]=q[J.path[0]]||[],q[J.path[0]].push(Y(J));else z.push(Y(J));return{formErrors:z,fieldErrors:q}}function dI($,Y=(q)=>q.message){let q={_errors:[]},z=(J,U=[])=>{for(let I of J.issues)if(I.code==="invalid_union"&&I.errors.length)I.errors.map((Q)=>z({issues:Q},[...U,...I.path]));else if(I.code==="invalid_key")z({issues:I.issues},[...U,...I.path]);else if(I.code==="invalid_element")z({issues:I.issues},[...U,...I.path]);else{let Q=[...U,...I.path];if(Q.length===0)q._errors.push(Y(I));else{let K=q,G=0;while(G<Q.length){let H=Q[G];if(G!==Q.length-1)K[H]=K[H]||{_errors:[]};else K[H]=K[H]||{_errors:[]},K[H]._errors.push(Y(I));K=K[H],G++}}}};return z($),q}function SA($,Y=(q)=>q.message){let q={errors:[]},z=(J,U=[])=>{var I,Q;for(let K of J.issues)if(K.code==="invalid_union"&&K.errors.length)K.errors.map((G)=>z({issues:G},[...U,...K.path]));else if(K.code==="invalid_key")z({issues:K.issues},[...U,...K.path]);else if(K.code==="invalid_element")z({issues:K.issues},[...U,...K.path]);else{let G=[...U,...K.path];if(G.length===0){q.errors.push(Y(K));continue}let H=q,Z=0;while(Z<G.length){let V=G[Z],X=Z===G.length-1;if(typeof V==="string")H.properties??(H.properties={}),(I=H.properties)[V]??(I[V]={errors:[]}),H=H.properties[V];else H.items??(H.items=[]),(Q=H.items)[V]??(Q[V]={errors:[]}),H=H.items[V];if(X)H.errors.push(Y(K));Z++}}};return z($),q}function fm($){let Y=[],q=$.map((z)=>typeof z==="object"?z.key:z);for(let z of q)if(typeof z==="number")Y.push(`[${z}]`);else if(typeof z==="symbol")Y.push(`[${JSON.stringify(String(z))}]`);else if(/[^\w$]/.test(z))Y.push(`[${JSON.stringify(z)}]`);else{if(Y.length)Y.push(".");Y.push(z)}return Y.join("")}function yA($){let Y=[],q=[...$.issues].sort((z,J)=>(z.path??[]).length-(J.path??[]).length);for(let z of q)if(Y.push(`✖ ${z.message}`),z.path?.length)Y.push(` → at ${fm(z.path)}`);return Y.join(`
`)}var um=($,Y)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:Y,enumerable:!1}),$.message=JSON.stringify(Y,Cq,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},cI,g8;var xA=e(()=>{F2();y0();cI=a("$ZodError",um),g8=a("$ZodError",um,{Parent:Error})});var gq=($)=>(Y,q,z,J)=>{let U=z?{...z,async:!1}:{async:!1},I=Y._zod.run({value:q,issues:[]},U);if(I instanceof Promise)throw new T5;if(I.issues.length){let Q=new(J?.Err??$)(I.issues.map((K)=>L8(K,U,m4())));throw kW(Q,J?.callee),Q}return I.value},mI,Sq=($)=>async(Y,q,z,J)=>{let U=z?{...z,async:!0}:{async:!0},I=Y._zod.run({value:q,issues:[]},U);if(I instanceof Promise)I=await I;if(I.issues.length){let Q=new(J?.Err??$)(I.issues.map((K)=>L8(K,U,m4())));throw kW(Q,J?.callee),Q}return I.value},lI,yq=($)=>(Y,q,z)=>{let J=z?{...z,async:!1}:{async:!1},U=Y._zod.run({value:q,issues:[]},J);if(U instanceof Promise)throw new T5;return U.issues.length?{success:!1,error:new($??cI)(U.issues.map((I)=>L8(I,J,m4())))}:{success:!0,data:U.value}},xq,kq=($)=>async(Y,q,z)=>{let J=z?{...z,async:!0}:{async:!0},U=Y._zod.run({value:q,issues:[]},J);if(U instanceof Promise)U=await U;return U.issues.length?{success:!1,error:new $(U.issues.map((I)=>L8(I,J,m4())))}:{success:!0,data:U.value}},oI,uW=($)=>(Y,q,z)=>{let J=z?{...z,direction:"backward"}:{direction:"backward"};return gq($)(Y,q,J)},bm,fW=($)=>(Y,q,z)=>{return gq($)(Y,q,z)},im,bW=($)=>async(Y,q,z)=>{let J=z?{...z,direction:"backward"}:{direction:"backward"};return Sq($)(Y,q,J)},nm,iW=($)=>async(Y,q,z)=>{return Sq($)(Y,q,z)},cm,nW=($)=>(Y,q,z)=>{let J=z?{...z,direction:"backward"}:{direction:"backward"};return yq($)(Y,q,J)},pm,cW=($)=>(Y,q,z)=>{return yq($)(Y,q,z)},dm,pW=($)=>async(Y,q,z)=>{let J=z?{...z,direction:"backward"}:{direction:"backward"};return kq($)(Y,q,J)},mm,dW=($)=>async(Y,q,z)=>{return kq($)(Y,q,z)},lm;var kA=e(()=>{F2();xA();y0();mI=gq(g8),lI=Sq(g8),xq=yq(g8),oI=kq(g8),bm=uW(g8),im=fW(g8),nm=bW(g8),cm=iW(g8),pm=nW(g8),dm=cW(g8),mm=pW(g8),lm=dW(g8)});var Y$={};$$(Y$,{xid:()=>iA,uuid7:()=>yy0,uuid6:()=>Sy0,uuid4:()=>gy0,uuid:()=>M2,uppercase:()=>WB,unicodeEmail:()=>om,undefined:()=>HB,ulid:()=>bA,time:()=>zB,string:()=>UB,sha512_hex:()=>qx0,sha512_base64url:()=>Jx0,sha512_base64:()=>zx0,sha384_hex:()=>ey0,sha384_base64url:()=>Yx0,sha384_base64:()=>$x0,sha256_hex:()=>sy0,sha256_base64url:()=>ay0,sha256_base64:()=>ty0,sha1_hex:()=>ly0,sha1_base64url:()=>ry0,sha1_base64:()=>oy0,rfc5322Email:()=>ky0,number:()=>rI,null:()=>GB,nanoid:()=>cA,md5_hex:()=>py0,md5_base64url:()=>my0,md5_base64:()=>dy0,mac:()=>sA,lowercase:()=>ZB,ksuid:()=>nA,ipv6:()=>rA,ipv4:()=>oA,integer:()=>QB,idnEmail:()=>uy0,httpProtocol:()=>$B,html5Email:()=>xy0,hostname:()=>iy0,hex:()=>cy0,guid:()=>dA,extendedDuration:()=>hy0,emoji:()=>lA,email:()=>mA,e164:()=>YB,duration:()=>pA,domain:()=>ny0,datetime:()=>JB,date:()=>qB,cuid2:()=>fA,cuid:()=>uA,cidrv6:()=>aA,cidrv4:()=>tA,browserEmail:()=>fy0,boolean:()=>KB,bigint:()=>IB,base64url:()=>mW,base64:()=>eA});function lA(){return new RegExp(by0,"u")}function sm($){return typeof $.precision==="number"?$.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":$.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${$.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function zB($){return new RegExp(`^${sm($)}$`)}function JB($){let Y=sm({precision:$.precision}),q=["Z"];if($.local)q.push("");if($.offset)q.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let z=`${Y}(?:${q.join("|")})`;return new RegExp(`^${rm}T(?:${z})$`)}function sI($,Y){return new RegExp(`^[A-Za-z0-9+/]{${$}}${Y}$`)}function tI($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var uA,fA,bA,iA,nA,cA,pA,hy0,dA,M2=($)=>{if(!$)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${$}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},gy0,Sy0,yy0,mA,xy0,ky0,om,uy0,fy0,by0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",oA,rA,sA=($)=>{let Y=O$($??":");return new RegExp(`^(?:[0-9A-F]{2}${Y}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${Y}){5}[0-9a-f]{2}$`)},tA,aA,eA,mW,iy0,ny0,$B,YB,rm="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",qB,UB=($)=>{let Y=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${Y}$`)},IB,QB,rI,KB,GB,HB,ZB,WB,cy0,py0,dy0,my0,ly0,oy0,ry0,sy0,ty0,ay0,ey0,$x0,Yx0,qx0,zx0,Jx0;var lW=e(()=>{y0();uA=/^[cC][0-9a-z]{6,}$/,fA=/^[0-9a-z]+$/,bA=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,iA=/^[0-9a-vA-V]{20}$/,nA=/^[A-Za-z0-9]{27}$/,cA=/^[a-zA-Z0-9_-]{21}$/,pA=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,hy0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,dA=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,gy0=M2(4),Sy0=M2(6),yy0=M2(7),mA=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,xy0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,ky0=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,om=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,uy0=om,fy0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;oA=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,rA=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,tA=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,aA=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,eA=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,mW=/^[A-Za-z0-9_-]*$/,iy0=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,ny0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,$B=/^https?$/,YB=/^\+[1-9]\d{6,14}$/,qB=new RegExp(`^${rm}$`);IB=/^-?\d+n?$/,QB=/^-?\d+$/,rI=/^-?\d+(?:\.\d+)?$/,KB=/^(?:true|false)$/i,GB=/^null$/i,HB=/^undefined$/i,ZB=/^[^A-Z]*$/,WB=/^[^a-z]*$/,cy0=/^[0-9a-fA-F]*$/;py0=/^[0-9a-fA-F]{32}$/,dy0=sI(22,"=="),my0=tI(22),ly0=/^[0-9a-fA-F]{40}$/,oy0=sI(27,"="),ry0=tI(27),sy0=/^[0-9a-fA-F]{64}$/,ty0=sI(43,"="),ay0=tI(43),ey0=/^[0-9a-fA-F]{96}$/,$x0=sI(64,""),Yx0=tI(64),qx0=/^[0-9a-fA-F]{128}$/,zx0=sI(86,"=="),Jx0=tI(86)});function tm($,Y,q){if($.issues.length)Y.issues.push(...h8(q,$.issues))}var Q4,am,oW,rW,XB,VB,LB,wB,FB,OB,MB,NB,DB,uq,PB,AB,BB,TB,EB,jB,_B,RB,CB;var sW=e(()=>{F2();lW();y0();Q4=a("$ZodCheck",($,Y)=>{var q;$._zod??($._zod={}),$._zod.def=Y,(q=$._zod).onattach??(q.onattach=[])}),am={number:"number",bigint:"bigint",object:"date"},oW=a("$ZodCheckLessThan",($,Y)=>{Q4.init($,Y);let q=am[typeof Y.value];$._zod.onattach.push((z)=>{let J=z._zod.bag,U=(Y.inclusive?J.maximum:J.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(Y.value<U)if(Y.inclusive)J.maximum=Y.value;else J.exclusiveMaximum=Y.value}),$._zod.check=(z)=>{if(Y.inclusive?z.value<=Y.value:z.value<Y.value)return;z.issues.push({origin:q,code:"too_big",maximum:typeof Y.value==="object"?Y.value.getTime():Y.value,input:z.value,inclusive:Y.inclusive,inst:$,continue:!Y.abort})}}),rW=a("$ZodCheckGreaterThan",($,Y)=>{Q4.init($,Y);let q=am[typeof Y.value];$._zod.onattach.push((z)=>{let J=z._zod.bag,U=(Y.inclusive?J.minimum:J.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(Y.value>U)if(Y.inclusive)J.minimum=Y.value;else J.exclusiveMinimum=Y.value}),$._zod.check=(z)=>{if(Y.inclusive?z.value>=Y.value:z.value>Y.value)return;z.issues.push({origin:q,code:"too_small",minimum:typeof Y.value==="object"?Y.value.getTime():Y.value,input:z.value,inclusive:Y.inclusive,inst:$,continue:!Y.abort})}}),XB=a("$ZodCheckMultipleOf",($,Y)=>{Q4.init($,Y),$._zod.onattach.push((q)=>{var z;(z=q._zod.bag).multipleOf??(z.multipleOf=Y.value)}),$._zod.check=(q)=>{if(typeof q.value!==typeof Y.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof q.value==="bigint"?q.value%Y.value===BigInt(0):TA(q.value,Y.value)===0)return;q.issues.push({origin:typeof q.value,code:"not_multiple_of",divisor:Y.value,input:q.value,inst:$,continue:!Y.abort})}}),VB=a("$ZodCheckNumberFormat",($,Y)=>{Q4.init($,Y),Y.format=Y.format||"float64";let q=Y.format?.includes("int"),z=q?"int":"number",[J,U]=vA[Y.format];$._zod.onattach.push((I)=>{let Q=I._zod.bag;if(Q.format=Y.format,Q.minimum=J,Q.maximum=U,q)Q.pattern=QB}),$._zod.check=(I)=>{let Q=I.value;if(q){if(!Number.isInteger(Q)){I.issues.push({expected:z,format:Y.format,code:"invalid_type",continue:!1,input:Q,inst:$});return}if(!Number.isSafeInteger(Q)){if(Q>0)I.issues.push({input:Q,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:z,inclusive:!0,continue:!Y.abort});else I.issues.push({input:Q,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:z,inclusive:!0,continue:!Y.abort});return}}if(Q<J)I.issues.push({origin:"number",input:Q,code:"too_small",minimum:J,inclusive:!0,inst:$,continue:!Y.abort});if(Q>U)I.issues.push({origin:"number",input:Q,code:"too_big",maximum:U,inclusive:!0,inst:$,continue:!Y.abort})}}),LB=a("$ZodCheckBigIntFormat",($,Y)=>{Q4.init($,Y);let[q,z]=hA[Y.format];$._zod.onattach.push((J)=>{let U=J._zod.bag;U.format=Y.format,U.minimum=q,U.maximum=z}),$._zod.check=(J)=>{let U=J.value;if(U<q)J.issues.push({origin:"bigint",input:U,code:"too_small",minimum:q,inclusive:!0,inst:$,continue:!Y.abort});if(U>z)J.issues.push({origin:"bigint",input:U,code:"too_big",maximum:z,inclusive:!0,inst:$,continue:!Y.abort})}}),wB=a("$ZodCheckMaxSize",($,Y)=>{var q;Q4.init($,Y),(q=$._zod.def).when??(q.when=(z)=>{let J=z.value;return!B3(J)&&J.size!==void 0}),$._zod.onattach.push((z)=>{let J=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum<J)z._zod.bag.maximum=Y.maximum}),$._zod.check=(z)=>{let J=z.value;if(J.size<=Y.maximum)return;z.issues.push({origin:iI(J),code:"too_big",maximum:Y.maximum,inclusive:!0,input:J,inst:$,continue:!Y.abort})}}),FB=a("$ZodCheckMinSize",($,Y)=>{var q;Q4.init($,Y),(q=$._zod.def).when??(q.when=(z)=>{let J=z.value;return!B3(J)&&J.size!==void 0}),$._zod.onattach.push((z)=>{let J=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>J)z._zod.bag.minimum=Y.minimum}),$._zod.check=(z)=>{let J=z.value;if(J.size>=Y.minimum)return;z.issues.push({origin:iI(J),code:"too_small",minimum:Y.minimum,inclusive:!0,input:J,inst:$,continue:!Y.abort})}}),OB=a("$ZodCheckSizeEquals",($,Y)=>{var q;Q4.init($,Y),(q=$._zod.def).when??(q.when=(z)=>{let J=z.value;return!B3(J)&&J.size!==void 0}),$._zod.onattach.push((z)=>{let J=z._zod.bag;J.minimum=Y.size,J.maximum=Y.size,J.size=Y.size}),$._zod.check=(z)=>{let J=z.value,U=J.size;if(U===Y.size)return;let I=U>Y.size;z.issues.push({origin:iI(J),...I?{code:"too_big",maximum:Y.size}:{code:"too_small",minimum:Y.size},inclusive:!0,exact:!0,input:z.value,inst:$,continue:!Y.abort})}}),MB=a("$ZodCheckMaxLength",($,Y)=>{var q;Q4.init($,Y),(q=$._zod.def).when??(q.when=(z)=>{let J=z.value;return!B3(J)&&J.length!==void 0}),$._zod.onattach.push((z)=>{let J=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum<J)z._zod.bag.maximum=Y.maximum}),$._zod.check=(z)=>{let J=z.value;if(J.length<=Y.maximum)return;let I=nI(J);z.issues.push({origin:I,code:"too_big",maximum:Y.maximum,inclusive:!0,input:J,inst:$,continue:!Y.abort})}}),NB=a("$ZodCheckMinLength",($,Y)=>{var q;Q4.init($,Y),(q=$._zod.def).when??(q.when=(z)=>{let J=z.value;return!B3(J)&&J.length!==void 0}),$._zod.onattach.push((z)=>{let J=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>J)z._zod.bag.minimum=Y.minimum}),$._zod.check=(z)=>{let J=z.value;if(J.length>=Y.minimum)return;let I=nI(J);z.issues.push({origin:I,code:"too_small",minimum:Y.minimum,inclusive:!0,input:J,inst:$,continue:!Y.abort})}}),DB=a("$ZodCheckLengthEquals",($,Y)=>{var q;Q4.init($,Y),(q=$._zod.def).when??(q.when=(z)=>{let J=z.value;return!B3(J)&&J.length!==void 0}),$._zod.onattach.push((z)=>{let J=z._zod.bag;J.minimum=Y.length,J.maximum=Y.length,J.length=Y.length}),$._zod.check=(z)=>{let J=z.value,U=J.length;if(U===Y.length)return;let I=nI(J),Q=U>Y.length;z.issues.push({origin:I,...Q?{code:"too_big",maximum:Y.length}:{code:"too_small",minimum:Y.length},inclusive:!0,exact:!0,input:z.value,inst:$,continue:!Y.abort})}}),uq=a("$ZodCheckStringFormat",($,Y)=>{var q,z;if(Q4.init($,Y),$._zod.onattach.push((J)=>{let U=J._zod.bag;if(U.format=Y.format,Y.pattern)U.patterns??(U.patterns=new Set),U.patterns.add(Y.pattern)}),Y.pattern)(q=$._zod).check??(q.check=(J)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(J.value))return;J.issues.push({origin:"string",code:"invalid_format",format:Y.format,input:J.value,...Y.pattern?{pattern:Y.pattern.toString()}:{},inst:$,continue:!Y.abort})});else(z=$._zod).check??(z.check=()=>{})}),PB=a("$ZodCheckRegex",($,Y)=>{uq.init($,Y),$._zod.check=(q)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(q.value))return;q.issues.push({origin:"string",code:"invalid_format",format:"regex",input:q.value,pattern:Y.pattern.toString(),inst:$,continue:!Y.abort})}}),AB=a("$ZodCheckLowerCase",($,Y)=>{Y.pattern??(Y.pattern=ZB),uq.init($,Y)}),BB=a("$ZodCheckUpperCase",($,Y)=>{Y.pattern??(Y.pattern=WB),uq.init($,Y)}),TB=a("$ZodCheckIncludes",($,Y)=>{Q4.init($,Y);let q=O$(Y.includes),z=new RegExp(typeof Y.position==="number"?`^.{${Y.position}}${q}`:q);Y.pattern=z,$._zod.onattach.push((J)=>{let U=J._zod.bag;U.patterns??(U.patterns=new Set),U.patterns.add(z)}),$._zod.check=(J)=>{if(J.value.includes(Y.includes,Y.position))return;J.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:Y.includes,input:J.value,inst:$,continue:!Y.abort})}}),EB=a("$ZodCheckStartsWith",($,Y)=>{Q4.init($,Y);let q=new RegExp(`^${O$(Y.prefix)}.*`);Y.pattern??(Y.pattern=q),$._zod.onattach.push((z)=>{let J=z._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(q)}),$._zod.check=(z)=>{if(z.value.startsWith(Y.prefix))return;z.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:Y.prefix,input:z.value,inst:$,continue:!Y.abort})}}),jB=a("$ZodCheckEndsWith",($,Y)=>{Q4.init($,Y);let q=new RegExp(`.*${O$(Y.suffix)}$`);Y.pattern??(Y.pattern=q),$._zod.onattach.push((z)=>{let J=z._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(q)}),$._zod.check=(z)=>{if(z.value.endsWith(Y.suffix))return;z.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:Y.suffix,input:z.value,inst:$,continue:!Y.abort})}});_B=a("$ZodCheckProperty",($,Y)=>{Q4.init($,Y),$._zod.check=(q)=>{let z=Y.schema._zod.run({value:q.value[Y.property],issues:[]},{});if(z instanceof Promise)return z.then((J)=>tm(J,q,Y.property));tm(z,q,Y.property);return}}),RB=a("$ZodCheckMimeType",($,Y)=>{Q4.init($,Y);let q=new Set(Y.mime);$._zod.onattach.push((z)=>{z._zod.bag.mime=Y.mime}),$._zod.check=(z)=>{if(q.has(z.value.type))return;z.issues.push({code:"invalid_value",values:Y.mime,input:z.value.type,inst:$,continue:!Y.abort})}}),CB=a("$ZodCheckOverwrite",($,Y)=>{Q4.init($,Y),$._zod.check=(q)=>{q.value=Y.tx(q.value)}})});class tW{constructor($=[]){if(this.content=[],this.indent=0,this)this.args=$}indented($){this.indent+=1,$(this),this.indent-=1}write($){if(typeof $==="function"){$(this,{execution:"sync"}),$(this,{execution:"async"});return}let q=$.split(`
`).filter((U)=>U),z=Math.min(...q.map((U)=>U.length-U.trimStart().length)),J=q.map((U)=>U.slice(z)).map((U)=>" ".repeat(this.indent*2)+U);for(let U of J)this.content.push(U)}compile(){let $=Function,Y=this?.args,z=[...(this?.content??[""]).map((J)=>` ${J}`)];return new $(...Y,z.join(`
`))}}var vB;var hB=e(()=>{vB={major:4,minor:4,patch:3}});function $T($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}function Vl($){if(!mW.test($))return!1;let Y=$.replace(/[-_]/g,(z)=>z==="-"?"+":"/"),q=Y.padEnd(Math.ceil(Y.length/4)*4,"=");return $T(q)}function Ll($,Y=null){try{let q=$.split(".");if(q.length!==3)return!1;let[z]=q;if(!z)return!1;let J=JSON.parse(atob(z));if("typ"in J&&J?.typ!=="JWT")return!1;if(!J.alg)return!1;if(Y&&(!("alg"in J)||J.alg!==Y))return!1;return!0}catch{return!1}}function $l($,Y,q){if($.issues.length)Y.issues.push(...h8(q,$.issues));Y.value[q]=$.value}function YX($,Y,q,z,J,U){let I=q in z;if($.issues.length){if(J&&U&&!I)return;Y.issues.push(...h8(q,$.issues))}if(!I&&!J){if(!$.issues.length)Y.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[q]});return}if($.value===void 0){if(I)Y.value[q]=void 0}else Y.value[q]=$.value}function wl($){let Y=Object.keys($.shape);for(let z of Y)if(!$.shape?.[z]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${z}": expected a Zod schema`);let q=CA($.shape);return{...$,keys:Y,keySet:new Set(Y),numKeys:Y.length,optionalKeys:new Set(q)}}function Fl($,Y,q,z,J,U){let I=[],Q=J.keySet,K=J.catchall._zod,G=K.def.type,H=K.optin==="optional",Z=K.optout==="optional";for(let V in Y){if(V==="__proto__")continue;if(Q.has(V))continue;if(G==="never"){I.push(V);continue}let X=K.run({value:Y[V],issues:[]},z);if(X instanceof Promise)$.push(X.then((L)=>YX(L,q,V,Y,H,Z)));else YX(X,q,V,Y,H,Z)}if(I.length)q.issues.push({code:"unrecognized_keys",keys:I,input:Y,inst:U});if(!$.length)return q;return Promise.all($).then(()=>{return q})}function Yl($,Y,q,z){for(let U of $)if(U.issues.length===0)return Y.value=U.value,Y;let J=$.filter((U)=>!j3(U));if(J.length===1)return Y.value=J[0].value,J[0];return Y.issues.push({code:"invalid_union",input:Y.value,inst:q,errors:$.map((U)=>U.issues.map((I)=>L8(I,z,m4())))}),Y}function ql($,Y,q,z){let J=$.filter((U)=>U.issues.length===0);if(J.length===1)return Y.value=J[0].value,Y;if(J.length===0)Y.issues.push({code:"invalid_union",input:Y.value,inst:q,errors:$.map((U)=>U.issues.map((I)=>L8(I,z,m4())))});else Y.issues.push({code:"invalid_union",input:Y.value,inst:q,errors:[],inclusive:!1});return Y}function gB($,Y){if($===Y)return{valid:!0,data:$};if($ instanceof Date&&Y instanceof Date&&+$===+Y)return{valid:!0,data:$};if(E3($)&&E3(Y)){let q=Object.keys(Y),z=Object.keys($).filter((U)=>q.indexOf(U)!==-1),J={...$,...Y};for(let U of z){let I=gB($[U],Y[U]);if(!I.valid)return{valid:!1,mergeErrorPath:[U,...I.mergeErrorPath]};J[U]=I.data}return{valid:!0,data:J}}if(Array.isArray($)&&Array.isArray(Y)){if($.length!==Y.length)return{valid:!1,mergeErrorPath:[]};let q=[];for(let z=0;z<$.length;z++){let J=$[z],U=Y[z],I=gB(J,U);if(!I.valid)return{valid:!1,mergeErrorPath:[z,...I.mergeErrorPath]};q.push(I.data)}return{valid:!0,data:q}}return{valid:!1,mergeErrorPath:[]}}function zl($,Y,q){let z=new Map,J;for(let Q of Y.issues)if(Q.code==="unrecognized_keys"){J??(J=Q);for(let K of Q.keys){if(!z.has(K))z.set(K,{});z.get(K).l=!0}}else $.issues.push(Q);for(let Q of q.issues)if(Q.code==="unrecognized_keys")for(let K of Q.keys){if(!z.has(K))z.set(K,{});z.get(K).r=!0}else $.issues.push(Q);let U=[...z].filter(([,Q])=>Q.l&&Q.r).map(([Q])=>Q);if(U.length&&J)$.issues.push({...J,keys:U});if(j3($))return $;let I=gB(Y.value,q.value);if(!I.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(I.mergeErrorPath)}`);return $.value=I.data,$}function Jl($,Y){for(let q=$.length-1;q>=0;q--)if($[q]._zod[Y]!=="optional")return q+1;return 0}function Ul($,Y,q){if($.issues.length)Y.issues.push(...h8(q,$.issues));Y.value[q]=$.value}function Il($,Y,q,z,J){for(let U=0;U<q.length;U++){let I=$[U],Q=U<z.length;if(I.issues.length){if(!Q&&U>=J){Y.value.length=U;break}Y.issues.push(...h8(U,I.issues))}Y.value[U]=I.value}for(let U=Y.value.length-1;U>=z.length;U--)if(q[U]._zod.optout==="optional"&&Y.value[U]===void 0)Y.value.length=U;else break;return Y}function Ql($,Y,q,z,J,U,I){if($.issues.length)if(bI.has(typeof z))q.issues.push(...h8(z,$.issues));else q.issues.push({code:"invalid_key",origin:"map",input:J,inst:U,issues:$.issues.map((Q)=>L8(Q,I,m4()))});if(Y.issues.length)if(bI.has(typeof z))q.issues.push(...h8(z,Y.issues));else q.issues.push({origin:"map",code:"invalid_element",input:J,inst:U,key:z,issues:Y.issues.map((Q)=>L8(Q,I,m4()))});q.value.set($.value,Y.value)}function Kl($,Y){if($.issues.length)Y.issues.push(...$.issues);Y.value.add($.value)}function Gl($,Y){if(Y===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}function Hl($,Y){if($.value===void 0)$.value=Y.defaultValue;return $}function Zl($,Y){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:Y});return $}function aW($,Y,q){if($.issues.length)return $.aborted=!0,$;return Y._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},q)}function eW($,Y,q){if($.issues.length)return $.aborted=!0,$;if((q.direction||"forward")==="forward"){let J=Y.transform($.value,$);if(J instanceof Promise)return J.then((U)=>$X($,U,Y.out,q));return $X($,J,Y.out,q)}else{let J=Y.reverseTransform($.value,$);if(J instanceof Promise)return J.then((U)=>$X($,U,Y.in,q));return $X($,J,Y.in,q)}}function $X($,Y,q,z){if($.issues.length)return $.aborted=!0,$;return q._zod.run({value:Y,issues:$.issues},z)}function Wl($){return $.value=Object.freeze($.value),$}function Xl($,Y,q,z){if(!$){let J={code:"custom",input:q,inst:z,path:[...z._zod.def.path??[]],continue:!z._zod.def.abort};if(z._zod.def.params)J.params=z._zod.def.params;Y.issues.push(hq(J))}}var s0,N2,q4,SB,yB,xB,kB,uB,fB,bB,iB,nB,cB,pB,dB,mB,lB,oB,rB,sB,tB,aB,eB,YT,qT,zT,JT,UT,qX,IT,aI,zX,QT,KT,GT,HT,ZT,WT,XT,VT,LT,wT,Ol,FT,eI,OT,MT,NT,JX,DT,PT,AT,BT,TT,ET,jT,UX,_T,RT,CT,vT,hT,gT,ST,yT,IX,$Q,xT,kT,uT,fT,bT,iT,nT;var cT=e(()=>{sW();F2();kA();lW();y0();hB();y0();s0=a("$ZodType",($,Y)=>{var q;$??($={}),$._zod.def=Y,$._zod.bag=$._zod.bag||{},$._zod.version=vB;let z=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))z.unshift($);for(let J of z)for(let U of J._zod.onattach)U($);if(z.length===0)(q=$._zod).deferred??(q.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let J=(I,Q,K)=>{let G=j3(I),H;for(let Z of Q){if(Z._zod.def.when){if(gA(I))continue;if(!Z._zod.def.when(I))continue}else if(G)continue;let V=I.issues.length,X=Z._zod.check(I);if(X instanceof Promise&&K?.async===!1)throw new T5;if(H||X instanceof Promise)H=(H??Promise.resolve()).then(async()=>{if(await X,I.issues.length===V)return;if(!G)G=j3(I,V)});else{if(I.issues.length===V)continue;if(!G)G=j3(I,V)}}if(H)return H.then(()=>{return I});return I},U=(I,Q,K)=>{if(j3(I))return I.aborted=!0,I;let G=J(Q,z,K);if(G instanceof Promise){if(K.async===!1)throw new T5;return G.then((H)=>$._zod.parse(H,K))}return $._zod.parse(G,K)};$._zod.run=(I,Q)=>{if(Q.skipChecks)return $._zod.parse(I,Q);if(Q.direction==="backward"){let G=$._zod.parse({value:I.value,issues:[]},{...Q,skipChecks:!0});if(G instanceof Promise)return G.then((H)=>{return U(H,I,Q)});return U(G,I,Q)}let K=$._zod.parse(I,Q);if(K instanceof Promise){if(Q.async===!1)throw new T5;return K.then((G)=>J(G,z,Q))}return J(K,z,Q)}}G1($,"~standard",()=>({validate:(J)=>{try{let U=xq($,J);return U.success?{value:U.data}:{issues:U.error?.issues}}catch(U){return oI($,J).then((I)=>I.success?{value:I.data}:{issues:I.error?.issues})}},vendor:"zod",version:1}))}),N2=a("$ZodString",($,Y)=>{s0.init($,Y),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??UB($._zod.bag),$._zod.parse=(q,z)=>{if(Y.coerce)try{q.value=String(q.value)}catch(J){}if(typeof q.value==="string")return q;return q.issues.push({expected:"string",code:"invalid_type",input:q.value,inst:$}),q}}),q4=a("$ZodStringFormat",($,Y)=>{uq.init($,Y),N2.init($,Y)}),SB=a("$ZodGUID",($,Y)=>{Y.pattern??(Y.pattern=dA),q4.init($,Y)}),yB=a("$ZodUUID",($,Y)=>{if(Y.version){let z={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[Y.version];if(z===void 0)throw Error(`Invalid UUID version: "${Y.version}"`);Y.pattern??(Y.pattern=M2(z))}else Y.pattern??(Y.pattern=M2());q4.init($,Y)}),xB=a("$ZodEmail",($,Y)=>{Y.pattern??(Y.pattern=mA),q4.init($,Y)}),kB=a("$ZodURL",($,Y)=>{q4.init($,Y),$._zod.check=(q)=>{try{let z=q.value.trim();if(!Y.normalize&&Y.protocol?.source===$B.source){if(!/^https?:\/\//i.test(z)){q.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:q.value,inst:$,continue:!Y.abort});return}}let J=new URL(z);if(Y.hostname){if(Y.hostname.lastIndex=0,!Y.hostname.test(J.hostname))q.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Y.hostname.source,input:q.value,inst:$,continue:!Y.abort})}if(Y.protocol){if(Y.protocol.lastIndex=0,!Y.protocol.test(J.protocol.endsWith(":")?J.protocol.slice(0,-1):J.protocol))q.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:Y.protocol.source,input:q.value,inst:$,continue:!Y.abort})}if(Y.normalize)q.value=J.href;else q.value=z;return}catch(z){q.issues.push({code:"invalid_format",format:"url",input:q.value,inst:$,continue:!Y.abort})}}}),uB=a("$ZodEmoji",($,Y)=>{Y.pattern??(Y.pattern=lA()),q4.init($,Y)}),fB=a("$ZodNanoID",($,Y)=>{Y.pattern??(Y.pattern=cA),q4.init($,Y)}),bB=a("$ZodCUID",($,Y)=>{Y.pattern??(Y.pattern=uA),q4.init($,Y)}),iB=a("$ZodCUID2",($,Y)=>{Y.pattern??(Y.pattern=fA),q4.init($,Y)}),nB=a("$ZodULID",($,Y)=>{Y.pattern??(Y.pattern=bA),q4.init($,Y)}),cB=a("$ZodXID",($,Y)=>{Y.pattern??(Y.pattern=iA),q4.init($,Y)}),pB=a("$ZodKSUID",($,Y)=>{Y.pattern??(Y.pattern=nA),q4.init($,Y)}),dB=a("$ZodISODateTime",($,Y)=>{Y.pattern??(Y.pattern=JB(Y)),q4.init($,Y)}),mB=a("$ZodISODate",($,Y)=>{Y.pattern??(Y.pattern=qB),q4.init($,Y)}),lB=a("$ZodISOTime",($,Y)=>{Y.pattern??(Y.pattern=zB(Y)),q4.init($,Y)}),oB=a("$ZodISODuration",($,Y)=>{Y.pattern??(Y.pattern=pA),q4.init($,Y)}),rB=a("$ZodIPv4",($,Y)=>{Y.pattern??(Y.pattern=oA),q4.init($,Y),$._zod.bag.format="ipv4"}),sB=a("$ZodIPv6",($,Y)=>{Y.pattern??(Y.pattern=rA),q4.init($,Y),$._zod.bag.format="ipv6",$._zod.check=(q)=>{try{new URL(`http://[${q.value}]`)}catch{q.issues.push({code:"invalid_format",format:"ipv6",input:q.value,inst:$,continue:!Y.abort})}}}),tB=a("$ZodMAC",($,Y)=>{Y.pattern??(Y.pattern=sA(Y.delimiter)),q4.init($,Y),$._zod.bag.format="mac"}),aB=a("$ZodCIDRv4",($,Y)=>{Y.pattern??(Y.pattern=tA),q4.init($,Y)}),eB=a("$ZodCIDRv6",($,Y)=>{Y.pattern??(Y.pattern=aA),q4.init($,Y),$._zod.check=(q)=>{let z=q.value.split("/");try{if(z.length!==2)throw Error();let[J,U]=z;if(!U)throw Error();let I=Number(U);if(`${I}`!==U)throw Error();if(I<0||I>128)throw Error();new URL(`http://[${J}]`)}catch{q.issues.push({code:"invalid_format",format:"cidrv6",input:q.value,inst:$,continue:!Y.abort})}}});YT=a("$ZodBase64",($,Y)=>{Y.pattern??(Y.pattern=eA),q4.init($,Y),$._zod.bag.contentEncoding="base64",$._zod.check=(q)=>{if($T(q.value))return;q.issues.push({code:"invalid_format",format:"base64",input:q.value,inst:$,continue:!Y.abort})}});qT=a("$ZodBase64URL",($,Y)=>{Y.pattern??(Y.pattern=mW),q4.init($,Y),$._zod.bag.contentEncoding="base64url",$._zod.check=(q)=>{if(Vl(q.value))return;q.issues.push({code:"invalid_format",format:"base64url",input:q.value,inst:$,continue:!Y.abort})}}),zT=a("$ZodE164",($,Y)=>{Y.pattern??(Y.pattern=YB),q4.init($,Y)});JT=a("$ZodJWT",($,Y)=>{q4.init($,Y),$._zod.check=(q)=>{if(Ll(q.value,Y.alg))return;q.issues.push({code:"invalid_format",format:"jwt",input:q.value,inst:$,continue:!Y.abort})}}),UT=a("$ZodCustomStringFormat",($,Y)=>{q4.init($,Y),$._zod.check=(q)=>{if(Y.fn(q.value))return;q.issues.push({code:"invalid_format",format:Y.format,input:q.value,inst:$,continue:!Y.abort})}}),qX=a("$ZodNumber",($,Y)=>{s0.init($,Y),$._zod.pattern=$._zod.bag.pattern??rI,$._zod.parse=(q,z)=>{if(Y.coerce)try{q.value=Number(q.value)}catch(I){}let J=q.value;if(typeof J==="number"&&!Number.isNaN(J)&&Number.isFinite(J))return q;let U=typeof J==="number"?Number.isNaN(J)?"NaN":!Number.isFinite(J)?"Infinity":void 0:void 0;return q.issues.push({expected:"number",code:"invalid_type",input:J,inst:$,...U?{received:U}:{}}),q}}),IT=a("$ZodNumberFormat",($,Y)=>{VB.init($,Y),qX.init($,Y)}),aI=a("$ZodBoolean",($,Y)=>{s0.init($,Y),$._zod.pattern=KB,$._zod.parse=(q,z)=>{if(Y.coerce)try{q.value=Boolean(q.value)}catch(U){}let J=q.value;if(typeof J==="boolean")return q;return q.issues.push({expected:"boolean",code:"invalid_type",input:J,inst:$}),q}}),zX=a("$ZodBigInt",($,Y)=>{s0.init($,Y),$._zod.pattern=IB,$._zod.parse=(q,z)=>{if(Y.coerce)try{q.value=BigInt(q.value)}catch(J){}if(typeof q.value==="bigint")return q;return q.issues.push({expected:"bigint",code:"invalid_type",input:q.value,inst:$}),q}}),QT=a("$ZodBigIntFormat",($,Y)=>{LB.init($,Y),zX.init($,Y)}),KT=a("$ZodSymbol",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value;if(typeof J==="symbol")return q;return q.issues.push({expected:"symbol",code:"invalid_type",input:J,inst:$}),q}}),GT=a("$ZodUndefined",($,Y)=>{s0.init($,Y),$._zod.pattern=HB,$._zod.values=new Set([void 0]),$._zod.parse=(q,z)=>{let J=q.value;if(typeof J>"u")return q;return q.issues.push({expected:"undefined",code:"invalid_type",input:J,inst:$}),q}}),HT=a("$ZodNull",($,Y)=>{s0.init($,Y),$._zod.pattern=GB,$._zod.values=new Set([null]),$._zod.parse=(q,z)=>{let J=q.value;if(J===null)return q;return q.issues.push({expected:"null",code:"invalid_type",input:J,inst:$}),q}}),ZT=a("$ZodAny",($,Y)=>{s0.init($,Y),$._zod.parse=(q)=>q}),WT=a("$ZodUnknown",($,Y)=>{s0.init($,Y),$._zod.parse=(q)=>q}),XT=a("$ZodNever",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{return q.issues.push({expected:"never",code:"invalid_type",input:q.value,inst:$}),q}}),VT=a("$ZodVoid",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value;if(typeof J>"u")return q;return q.issues.push({expected:"void",code:"invalid_type",input:J,inst:$}),q}}),LT=a("$ZodDate",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{if(Y.coerce)try{q.value=new Date(q.value)}catch(Q){}let J=q.value,U=J instanceof Date;if(U&&!Number.isNaN(J.getTime()))return q;return q.issues.push({expected:"date",code:"invalid_type",input:J,...U?{received:"Invalid Date"}:{},inst:$}),q}});wT=a("$ZodArray",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value;if(!Array.isArray(J))return q.issues.push({expected:"array",code:"invalid_type",input:J,inst:$}),q;q.value=Array(J.length);let U=[];for(let I=0;I<J.length;I++){let Q=J[I],K=Y.element._zod.run({value:Q,issues:[]},z);if(K instanceof Promise)U.push(K.then((G)=>$l(G,q,I)));else $l(K,q,I)}if(U.length)return Promise.all(U).then(()=>q);return q}});Ol=a("$ZodObject",($,Y)=>{if(s0.init($,Y),!Object.getOwnPropertyDescriptor(Y,"shape")?.get){let Q=Y.shape;Object.defineProperty(Y,"shape",{get:()=>{let K={...Q};return Object.defineProperty(Y,"shape",{value:K}),K}})}let z=vq(()=>wl(Y));G1($._zod,"propValues",()=>{let Q=Y.shape,K={};for(let G in Q){let H=Q[G]._zod;if(H.values){K[G]??(K[G]=new Set);for(let Z of H.values)K[G].add(Z)}}return K});let J=O2,U=Y.catchall,I;$._zod.parse=(Q,K)=>{I??(I=z.value);let G=Q.value;if(!J(G))return Q.issues.push({expected:"object",code:"invalid_type",input:G,inst:$}),Q;Q.value={};let H=[],Z=I.shape;for(let V of I.keys){let X=Z[V],L=X._zod.optin==="optional",w=X._zod.optout==="optional",F=X._zod.run({value:G[V],issues:[]},K);if(F instanceof Promise)H.push(F.then((O)=>YX(O,Q,V,G,L,w)));else YX(F,Q,V,G,L,w)}if(!U)return H.length?Promise.all(H).then(()=>Q):Q;return Fl(H,G,Q,K,z.value,$)}}),FT=a("$ZodObjectJIT",($,Y)=>{Ol.init($,Y);let q=$._zod.parse,z=vq(()=>wl(Y)),J=(V)=>{let X=new tW(["shape","payload","ctx"]),L=z.value,w=(B)=>{let A=xW(B);return`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`};X.write("const input = payload.value;");let F=Object.create(null),O=0;for(let B of L.keys)F[B]=`key_${O++}`;X.write("const newResult = {};");for(let B of L.keys){let A=F[B],E=xW(B),y=V[B],v=y?._zod?.optin==="optional",k=y?._zod?.optout==="optional";if(X.write(`const ${A} = ${w(B)};`),v&&k)X.write(`
if (${A}.issues.length) {
if (${E} in input) {
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
...iss,
path: iss.path ? [${E}, ...iss.path] : [${E}]
})));
}
}
if (${A}.value === undefined) {
if (${E} in input) {
newResult[${E}] = undefined;
}
} else {
newResult[${E}] = ${A}.value;
}
`);else if(!v)X.write(`
const ${A}_present = ${E} in input;
if (${A}.issues.length) {
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
...iss,
path: iss.path ? [${E}, ...iss.path] : [${E}]
})));
}
if (!${A}_present && !${A}.issues.length) {
payload.issues.push({
code: "invalid_type",
expected: "nonoptional",
input: undefined,
path: [${E}]
});
}
if (${A}_present) {
if (${A}.value === undefined) {
newResult[${E}] = undefined;
} else {
newResult[${E}] = ${A}.value;
}
}
`);else X.write(`
if (${A}.issues.length) {
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
...iss,
path: iss.path ? [${E}, ...iss.path] : [${E}]
})));
}
if (${A}.value === undefined) {
if (${E} in input) {
newResult[${E}] = undefined;
}
} else {
newResult[${E}] = ${A}.value;
}
`)}X.write("payload.value = newResult;"),X.write("return payload;");let P=X.compile();return(B,A)=>P(V,B,A)},U,I=O2,Q=!L2.jitless,G=Q&&jA.value,H=Y.catchall,Z;$._zod.parse=(V,X)=>{Z??(Z=z.value);let L=V.value;if(!I(L))return V.issues.push({expected:"object",code:"invalid_type",input:L,inst:$}),V;if(Q&&G&&X?.async===!1&&X.jitless!==!0){if(!U)U=J(Y.shape);if(V=U(V,X),!H)return V;return Fl([],L,V,X,Z,$)}return q(V,X)}});eI=a("$ZodUnion",($,Y)=>{s0.init($,Y),G1($._zod,"optin",()=>Y.options.some((z)=>z._zod.optin==="optional")?"optional":void 0),G1($._zod,"optout",()=>Y.options.some((z)=>z._zod.optout==="optional")?"optional":void 0),G1($._zod,"values",()=>{if(Y.options.every((z)=>z._zod.values))return new Set(Y.options.flatMap((z)=>Array.from(z._zod.values)));return}),G1($._zod,"pattern",()=>{if(Y.options.every((z)=>z._zod.pattern)){let z=Y.options.map((J)=>J._zod.pattern);return new RegExp(`^(${z.map((J)=>fI(J.source)).join("|")})$`)}return});let q=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(z,J)=>{if(q)return q(z,J);let U=!1,I=[];for(let Q of Y.options){let K=Q._zod.run({value:z.value,issues:[]},J);if(K instanceof Promise)I.push(K),U=!0;else{if(K.issues.length===0)return K;I.push(K)}}if(!U)return Yl(I,z,$,J);return Promise.all(I).then((Q)=>{return Yl(Q,z,$,J)})}});OT=a("$ZodXor",($,Y)=>{eI.init($,Y),Y.inclusive=!1;let q=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(z,J)=>{if(q)return q(z,J);let U=!1,I=[];for(let Q of Y.options){let K=Q._zod.run({value:z.value,issues:[]},J);if(K instanceof Promise)I.push(K),U=!0;else I.push(K)}if(!U)return ql(I,z,$,J);return Promise.all(I).then((Q)=>{return ql(Q,z,$,J)})}}),MT=a("$ZodDiscriminatedUnion",($,Y)=>{Y.inclusive=!1,eI.init($,Y);let q=$._zod.parse;G1($._zod,"propValues",()=>{let J={};for(let U of Y.options){let I=U._zod.propValues;if(!I||Object.keys(I).length===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(U)}"`);for(let[Q,K]of Object.entries(I)){if(!J[Q])J[Q]=new Set;for(let G of K)J[Q].add(G)}}return J});let z=vq(()=>{let J=Y.options,U=new Map;for(let I of J){let Q=I._zod.propValues?.[Y.discriminator];if(!Q||Q.size===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(I)}"`);for(let K of Q){if(U.has(K))throw Error(`Duplicate discriminator value "${String(K)}"`);U.set(K,I)}}return U});$._zod.parse=(J,U)=>{let I=J.value;if(!O2(I))return J.issues.push({code:"invalid_type",expected:"object",input:I,inst:$}),J;let Q=z.value.get(I?.[Y.discriminator]);if(Q)return Q._zod.run(J,U);if(Y.unionFallback||U.direction==="backward")return q(J,U);return J.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:Y.discriminator,options:Array.from(z.value.keys()),input:I,path:[Y.discriminator],inst:$}),J}}),NT=a("$ZodIntersection",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value,U=Y.left._zod.run({value:J,issues:[]},z),I=Y.right._zod.run({value:J,issues:[]},z);if(U instanceof Promise||I instanceof Promise)return Promise.all([U,I]).then(([K,G])=>{return zl(q,K,G)});return zl(q,U,I)}});JX=a("$ZodTuple",($,Y)=>{s0.init($,Y);let q=Y.items;$._zod.parse=(z,J)=>{let U=z.value;if(!Array.isArray(U))return z.issues.push({input:U,inst:$,expected:"tuple",code:"invalid_type"}),z;z.value=[];let I=[],Q=Jl(q,"optin"),K=Jl(q,"optout");if(!Y.rest){if(U.length<Q)return z.issues.push({code:"too_small",minimum:Q,inclusive:!0,input:U,inst:$,origin:"array"}),z;if(U.length>q.length)z.issues.push({code:"too_big",maximum:q.length,inclusive:!0,input:U,inst:$,origin:"array"})}let G=Array(q.length);for(let H=0;H<q.length;H++){let Z=q[H]._zod.run({value:U[H],issues:[]},J);if(Z instanceof Promise)I.push(Z.then((V)=>{G[H]=V}));else G[H]=Z}if(Y.rest){let H=q.length-1,Z=U.slice(q.length);for(let V of Z){H++;let X=Y.rest._zod.run({value:V,issues:[]},J);if(X instanceof Promise)I.push(X.then((L)=>Ul(L,z,H)));else Ul(X,z,H)}}if(I.length)return Promise.all(I).then(()=>Il(G,z,q,U,K));return Il(G,z,q,U,K)}});DT=a("$ZodRecord",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value;if(!E3(J))return q.issues.push({expected:"record",code:"invalid_type",input:J,inst:$}),q;let U=[],I=Y.keyType._zod.values;if(I){q.value={};let Q=new Set;for(let G of I)if(typeof G==="string"||typeof G==="number"||typeof G==="symbol"){Q.add(typeof G==="number"?G.toString():G);let H=Y.keyType._zod.run({value:G,issues:[]},z);if(H instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(H.issues.length){q.issues.push({code:"invalid_key",origin:"record",issues:H.issues.map((X)=>L8(X,z,m4())),input:G,path:[G],inst:$});continue}let Z=H.value,V=Y.valueType._zod.run({value:J[G],issues:[]},z);if(V instanceof Promise)U.push(V.then((X)=>{if(X.issues.length)q.issues.push(...h8(G,X.issues));q.value[Z]=X.value}));else{if(V.issues.length)q.issues.push(...h8(G,V.issues));q.value[Z]=V.value}}let K;for(let G in J)if(!Q.has(G))K=K??[],K.push(G);if(K&&K.length>0)q.issues.push({code:"unrecognized_keys",input:J,inst:$,keys:K})}else{q.value={};for(let Q of Reflect.ownKeys(J)){if(Q==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(J,Q))continue;let K=Y.keyType._zod.run({value:Q,issues:[]},z);if(K instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof Q==="string"&&rI.test(Q)&&K.issues.length){let Z=Y.keyType._zod.run({value:Number(Q),issues:[]},z);if(Z instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(Z.issues.length===0)K=Z}if(K.issues.length){if(Y.mode==="loose")q.value[Q]=J[Q];else q.issues.push({code:"invalid_key",origin:"record",issues:K.issues.map((Z)=>L8(Z,z,m4())),input:Q,path:[Q],inst:$});continue}let H=Y.valueType._zod.run({value:J[Q],issues:[]},z);if(H instanceof Promise)U.push(H.then((Z)=>{if(Z.issues.length)q.issues.push(...h8(Q,Z.issues));q.value[K.value]=Z.value}));else{if(H.issues.length)q.issues.push(...h8(Q,H.issues));q.value[K.value]=H.value}}}if(U.length)return Promise.all(U).then(()=>q);return q}}),PT=a("$ZodMap",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value;if(!(J instanceof Map))return q.issues.push({expected:"map",code:"invalid_type",input:J,inst:$}),q;let U=[];q.value=new Map;for(let[I,Q]of J){let K=Y.keyType._zod.run({value:I,issues:[]},z),G=Y.valueType._zod.run({value:Q,issues:[]},z);if(K instanceof Promise||G instanceof Promise)U.push(Promise.all([K,G]).then(([H,Z])=>{Ql(H,Z,q,I,J,$,z)}));else Ql(K,G,q,I,J,$,z)}if(U.length)return Promise.all(U).then(()=>q);return q}});AT=a("$ZodSet",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value;if(!(J instanceof Set))return q.issues.push({input:J,inst:$,expected:"set",code:"invalid_type"}),q;let U=[];q.value=new Set;for(let I of J){let Q=Y.valueType._zod.run({value:I,issues:[]},z);if(Q instanceof Promise)U.push(Q.then((K)=>Kl(K,q)));else Kl(Q,q)}if(U.length)return Promise.all(U).then(()=>q);return q}});BT=a("$ZodEnum",($,Y)=>{s0.init($,Y);let q=uI(Y.entries),z=new Set(q);$._zod.values=z,$._zod.pattern=new RegExp(`^(${q.filter((J)=>bI.has(typeof J)).map((J)=>typeof J==="string"?O$(J):J.toString()).join("|")})$`),$._zod.parse=(J,U)=>{let I=J.value;if(z.has(I))return J;return J.issues.push({code:"invalid_value",values:q,input:I,inst:$}),J}}),TT=a("$ZodLiteral",($,Y)=>{if(s0.init($,Y),Y.values.length===0)throw Error("Cannot create literal schema with no valid values");let q=new Set(Y.values);$._zod.values=q,$._zod.pattern=new RegExp(`^(${Y.values.map((z)=>typeof z==="string"?O$(z):z?O$(z.toString()):String(z)).join("|")})$`),$._zod.parse=(z,J)=>{let U=z.value;if(q.has(U))return z;return z.issues.push({code:"invalid_value",values:Y.values,input:U,inst:$}),z}}),ET=a("$ZodFile",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{let J=q.value;if(J instanceof File)return q;return q.issues.push({expected:"file",code:"invalid_type",input:J,inst:$}),q}}),jT=a("$ZodTransform",($,Y)=>{s0.init($,Y),$._zod.optin="optional",$._zod.parse=(q,z)=>{if(z.direction==="backward")throw new w2($.constructor.name);let J=Y.transform(q.value,q);if(z.async)return(J instanceof Promise?J:Promise.resolve(J)).then((I)=>{return q.value=I,q.fallback=!0,q});if(J instanceof Promise)throw new T5;return q.value=J,q.fallback=!0,q}});UX=a("$ZodOptional",($,Y)=>{s0.init($,Y),$._zod.optin="optional",$._zod.optout="optional",G1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,void 0]):void 0}),G1($._zod,"pattern",()=>{let q=Y.innerType._zod.pattern;return q?new RegExp(`^(${fI(q.source)})?$`):void 0}),$._zod.parse=(q,z)=>{if(Y.innerType._zod.optin==="optional"){let J=q.value,U=Y.innerType._zod.run(q,z);if(U instanceof Promise)return U.then((I)=>Gl(I,J));return Gl(U,J)}if(q.value===void 0)return q;return Y.innerType._zod.run(q,z)}}),_T=a("$ZodExactOptional",($,Y)=>{UX.init($,Y),G1($._zod,"values",()=>Y.innerType._zod.values),G1($._zod,"pattern",()=>Y.innerType._zod.pattern),$._zod.parse=(q,z)=>{return Y.innerType._zod.run(q,z)}}),RT=a("$ZodNullable",($,Y)=>{s0.init($,Y),G1($._zod,"optin",()=>Y.innerType._zod.optin),G1($._zod,"optout",()=>Y.innerType._zod.optout),G1($._zod,"pattern",()=>{let q=Y.innerType._zod.pattern;return q?new RegExp(`^(${fI(q.source)}|null)$`):void 0}),G1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,null]):void 0}),$._zod.parse=(q,z)=>{if(q.value===null)return q;return Y.innerType._zod.run(q,z)}}),CT=a("$ZodDefault",($,Y)=>{s0.init($,Y),$._zod.optin="optional",G1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(q,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(q,z);if(q.value===void 0)return q.value=Y.defaultValue,q;let J=Y.innerType._zod.run(q,z);if(J instanceof Promise)return J.then((U)=>Hl(U,Y));return Hl(J,Y)}});vT=a("$ZodPrefault",($,Y)=>{s0.init($,Y),$._zod.optin="optional",G1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(q,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(q,z);if(q.value===void 0)q.value=Y.defaultValue;return Y.innerType._zod.run(q,z)}}),hT=a("$ZodNonOptional",($,Y)=>{s0.init($,Y),G1($._zod,"values",()=>{let q=Y.innerType._zod.values;return q?new Set([...q].filter((z)=>z!==void 0)):void 0}),$._zod.parse=(q,z)=>{let J=Y.innerType._zod.run(q,z);if(J instanceof Promise)return J.then((U)=>Zl(U,$));return Zl(J,$)}});gT=a("$ZodSuccess",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{if(z.direction==="backward")throw new w2("ZodSuccess");let J=Y.innerType._zod.run(q,z);if(J instanceof Promise)return J.then((U)=>{return q.value=U.issues.length===0,q});return q.value=J.issues.length===0,q}}),ST=a("$ZodCatch",($,Y)=>{s0.init($,Y),$._zod.optin="optional",G1($._zod,"optout",()=>Y.innerType._zod.optout),G1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(q,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(q,z);let J=Y.innerType._zod.run(q,z);if(J instanceof Promise)return J.then((U)=>{if(q.value=U.value,U.issues.length)q.value=Y.catchValue({...q,error:{issues:U.issues.map((I)=>L8(I,z,m4()))},input:q.value}),q.issues=[],q.fallback=!0;return q});if(q.value=J.value,J.issues.length)q.value=Y.catchValue({...q,error:{issues:J.issues.map((U)=>L8(U,z,m4()))},input:q.value}),q.issues=[],q.fallback=!0;return q}}),yT=a("$ZodNaN",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{if(typeof q.value!=="number"||!Number.isNaN(q.value))return q.issues.push({input:q.value,inst:$,expected:"nan",code:"invalid_type"}),q;return q}}),IX=a("$ZodPipe",($,Y)=>{s0.init($,Y),G1($._zod,"values",()=>Y.in._zod.values),G1($._zod,"optin",()=>Y.in._zod.optin),G1($._zod,"optout",()=>Y.out._zod.optout),G1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(q,z)=>{if(z.direction==="backward"){let U=Y.out._zod.run(q,z);if(U instanceof Promise)return U.then((I)=>aW(I,Y.in,z));return aW(U,Y.in,z)}let J=Y.in._zod.run(q,z);if(J instanceof Promise)return J.then((U)=>aW(U,Y.out,z));return aW(J,Y.out,z)}});$Q=a("$ZodCodec",($,Y)=>{s0.init($,Y),G1($._zod,"values",()=>Y.in._zod.values),G1($._zod,"optin",()=>Y.in._zod.optin),G1($._zod,"optout",()=>Y.out._zod.optout),G1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(q,z)=>{if((z.direction||"forward")==="forward"){let U=Y.in._zod.run(q,z);if(U instanceof Promise)return U.then((I)=>eW(I,Y,z));return eW(U,Y,z)}else{let U=Y.out._zod.run(q,z);if(U instanceof Promise)return U.then((I)=>eW(I,Y,z));return eW(U,Y,z)}}});xT=a("$ZodPreprocess",($,Y)=>{IX.init($,Y)}),kT=a("$ZodReadonly",($,Y)=>{s0.init($,Y),G1($._zod,"propValues",()=>Y.innerType._zod.propValues),G1($._zod,"values",()=>Y.innerType._zod.values),G1($._zod,"optin",()=>Y.innerType?._zod?.optin),G1($._zod,"optout",()=>Y.innerType?._zod?.optout),$._zod.parse=(q,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(q,z);let J=Y.innerType._zod.run(q,z);if(J instanceof Promise)return J.then(Wl);return Wl(J)}});uT=a("$ZodTemplateLiteral",($,Y)=>{s0.init($,Y);let q=[];for(let z of Y.parts)if(typeof z==="object"&&z!==null){if(!z._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...z._zod.traits].shift()}`);let J=z._zod.pattern instanceof RegExp?z._zod.pattern.source:z._zod.pattern;if(!J)throw Error(`Invalid template literal part: ${z._zod.traits}`);let U=J.startsWith("^")?1:0,I=J.endsWith("$")?J.length-1:J.length;q.push(J.slice(U,I))}else if(z===null||RA.has(typeof z))q.push(O$(`${z}`));else throw Error(`Invalid template literal part: ${z}`);$._zod.pattern=new RegExp(`^${q.join("")}$`),$._zod.parse=(z,J)=>{if(typeof z.value!=="string")return z.issues.push({input:z.value,inst:$,expected:"string",code:"invalid_type"}),z;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(z.value))return z.issues.push({input:z.value,inst:$,code:"invalid_format",format:Y.format??"template_literal",pattern:$._zod.pattern.source}),z;return z}}),fT=a("$ZodFunction",($,Y)=>{return s0.init($,Y),$._def=Y,$._zod.def=Y,$.implement=(q)=>{if(typeof q!=="function")throw Error("implement() must be called with a function");return function(...z){let J=$._def.input?mI($._def.input,z):z,U=Reflect.apply(q,this,J);if($._def.output)return mI($._def.output,U);return U}},$.implementAsync=(q)=>{if(typeof q!=="function")throw Error("implementAsync() must be called with a function");return async function(...z){let J=$._def.input?await lI($._def.input,z):z,U=await Reflect.apply(q,this,J);if($._def.output)return await lI($._def.output,U);return U}},$._zod.parse=(q,z)=>{if(typeof q.value!=="function")return q.issues.push({code:"invalid_type",expected:"function",input:q.value,inst:$}),q;if($._def.output&&$._def.output._zod.def.type==="promise")q.value=$.implementAsync(q.value);else q.value=$.implement(q.value);return q},$.input=(...q)=>{let z=$.constructor;if(Array.isArray(q[0]))return new z({type:"function",input:new JX({type:"tuple",items:q[0],rest:q[1]}),output:$._def.output});return new z({type:"function",input:q[0],output:$._def.output})},$.output=(q)=>{return new $.constructor({type:"function",input:$._def.input,output:q})},$}),bT=a("$ZodPromise",($,Y)=>{s0.init($,Y),$._zod.parse=(q,z)=>{return Promise.resolve(q.value).then((J)=>Y.innerType._zod.run({value:J,issues:[]},z))}}),iT=a("$ZodLazy",($,Y)=>{s0.init($,Y),G1($._zod,"innerType",()=>{let q=Y;if(!q._cachedInner)q._cachedInner=Y.getter();return q._cachedInner}),G1($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),G1($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),G1($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),G1($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(q,z)=>{return $._zod.innerType._zod.run(q,z)}}),nT=a("$ZodCustom",($,Y)=>{Q4.init($,Y),s0.init($,Y),$._zod.parse=(q,z)=>{return q},$._zod.check=(q)=>{let z=q.value,J=Y.fn(z);if(J instanceof Promise)return J.then((U)=>Xl(U,q,z,$));Xl(J,q,z,$);return}})});function pT(){return{localeError:Ix0()}}var Ix0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function Y(J){return $[J]??null}let q={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${J.expected}، ولكن تم إدخال ${Q}`;return`مدخلات غير مقبولة: يفترض إدخال ${U}، ولكن تم إدخال ${Q}`}case"invalid_value":if(J.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${O0(J.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return` أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${U} ${J.maximum.toString()} ${I.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${U} ${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${U} ${J.minimum.toString()} ${I.unit}`;return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${U} ${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${J.prefix}"`;if(U.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${U.suffix}"`;if(U.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${U.includes}"`;if(U.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${U.pattern}`;return`${q[U.format]??J.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${J.divisor}`;case"unrecognized_keys":return`معرف${J.keys.length>1?"ات":""} غريب${J.keys.length>1?"ة":""}: ${I0(J.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${J.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${J.origin}`;default:return"مدخل غير مقبول"}}};var Ml=e(()=>{y0()});function dT(){return{localeError:Qx0()}}var Qx0=()=>{let $={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function Y(J){return $[J]??null}let q={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Yanlış dəyər: gözlənilən instanceof ${J.expected}, daxil olan ${Q}`;return`Yanlış dəyər: gözlənilən ${U}, daxil olan ${Q}`}case"invalid_value":if(J.values.length===1)return`Yanlış dəyər: gözlənilən ${O0(J.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${U}${J.maximum.toString()} ${I.unit??"element"}`;return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Çox kiçik: gözlənilən ${J.origin} ${U}${J.minimum.toString()} ${I.unit}`;return`Çox kiçik: gözlənilən ${J.origin} ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Yanlış mətn: "${U.prefix}" ilə başlamalıdır`;if(U.format==="ends_with")return`Yanlış mətn: "${U.suffix}" ilə bitməlidir`;if(U.format==="includes")return`Yanlış mətn: "${U.includes}" daxil olmalıdır`;if(U.format==="regex")return`Yanlış mətn: ${U.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${q[U.format]??J.format}`}case"not_multiple_of":return`Yanlış ədəd: ${J.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${J.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};var Nl=e(()=>{y0()});function Dl($,Y,q,z){let J=Math.abs($),U=J%10,I=J%100;if(I>=11&&I<=19)return z;if(U===1)return Y;if(U>=2&&U<=4)return q;return z}function mT(){return{localeError:Kx0()}}var Kx0=()=>{let $={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function Y(J){return $[J]??null}let q={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},z={nan:"NaN",number:"лік",array:"масіў"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Няправільны ўвод: чакаўся instanceof ${J.expected}, атрымана ${Q}`;return`Няправільны ўвод: чакаўся ${U}, атрымана ${Q}`}case"invalid_value":if(J.values.length===1)return`Няправільны ўвод: чакалася ${O0(J.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I){let Q=Number(J.maximum),K=Dl(Q,I.unit.one,I.unit.few,I.unit.many);return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна ${I.verb} ${U}${J.maximum.toString()} ${K}`}return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна быць ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I){let Q=Number(J.minimum),K=Dl(Q,I.unit.one,I.unit.few,I.unit.many);return`Занадта малы: чакалася, што ${J.origin} павінна ${I.verb} ${U}${J.minimum.toString()} ${K}`}return`Занадта малы: чакалася, што ${J.origin} павінна быць ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${U.prefix}"`;if(U.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${U.suffix}"`;if(U.format==="includes")return`Няправільны радок: павінен змяшчаць "${U.includes}"`;if(U.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${U.pattern}`;return`Няправільны ${q[U.format]??J.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${J.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${J.keys.length>1?"ключы":"ключ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${J.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${J.origin}`;default:return"Няправільны ўвод"}}};var Pl=e(()=>{y0()});function lT(){return{localeError:Gx0()}}var Gx0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function Y(J){return $[J]??null}let q={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},z={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Невалиден вход: очакван instanceof ${J.expected}, получен ${Q}`;return`Невалиден вход: очакван ${U}, получен ${Q}`}case"invalid_value":if(J.values.length===1)return`Невалиден вход: очакван ${O0(J.values[0])}`;return`Невалидна опция: очаквано едно от ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Твърде голямо: очаква се ${J.origin??"стойност"} да съдържа ${U}${J.maximum.toString()} ${I.unit??"елемента"}`;return`Твърде голямо: очаква се ${J.origin??"стойност"} да бъде ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Твърде малко: очаква се ${J.origin} да съдържа ${U}${J.minimum.toString()} ${I.unit}`;return`Твърде малко: очаква се ${J.origin} да бъде ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Невалиден низ: трябва да започва с "${U.prefix}"`;if(U.format==="ends_with")return`Невалиден низ: трябва да завършва с "${U.suffix}"`;if(U.format==="includes")return`Невалиден низ: трябва да включва "${U.includes}"`;if(U.format==="regex")return`Невалиден низ: трябва да съвпада с ${U.pattern}`;let I="Невалиден";if(U.format==="emoji")I="Невалидно";if(U.format==="datetime")I="Невалидно";if(U.format==="date")I="Невалидна";if(U.format==="time")I="Невалидно";if(U.format==="duration")I="Невалидна";return`${I} ${q[U.format]??J.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${J.divisor}`;case"unrecognized_keys":return`Неразпознат${J.keys.length>1?"и":""} ключ${J.keys.length>1?"ове":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${J.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${J.origin}`;default:return"Невалиден вход"}}};var Al=e(()=>{y0()});function oT(){return{localeError:Hx0()}}var Hx0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function Y(J){return $[J]??null}let q={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Tipus invàlid: s'esperava instanceof ${J.expected}, s'ha rebut ${Q}`;return`Tipus invàlid: s'esperava ${U}, s'ha rebut ${Q}`}case"invalid_value":if(J.values.length===1)return`Valor invàlid: s'esperava ${O0(J.values[0])}`;return`Opció invàlida: s'esperava una de ${I0(J.values," o ")}`;case"too_big":{let U=J.inclusive?"com a màxim":"menys de",I=Y(J.origin);if(I)return`Massa gran: s'esperava que ${J.origin??"el valor"} contingués ${U} ${J.maximum.toString()} ${I.unit??"elements"}`;return`Massa gran: s'esperava que ${J.origin??"el valor"} fos ${U} ${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?"com a mínim":"més de",I=Y(J.origin);if(I)return`Massa petit: s'esperava que ${J.origin} contingués ${U} ${J.minimum.toString()} ${I.unit}`;return`Massa petit: s'esperava que ${J.origin} fos ${U} ${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Format invàlid: ha de començar amb "${U.prefix}"`;if(U.format==="ends_with")return`Format invàlid: ha d'acabar amb "${U.suffix}"`;if(U.format==="includes")return`Format invàlid: ha d'incloure "${U.includes}"`;if(U.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${U.pattern}`;return`Format invàlid per a ${q[U.format]??J.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${J.divisor}`;case"unrecognized_keys":return`Clau${J.keys.length>1?"s":""} no reconeguda${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${J.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${J.origin}`;default:return"Entrada invàlida"}}};var Bl=e(()=>{y0()});function rT(){return{localeError:Zx0()}}var Zx0=()=>{let $={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function Y(J){return $[J]??null}let q={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},z={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Neplatný vstup: očekáváno instanceof ${J.expected}, obdrženo ${Q}`;return`Neplatný vstup: očekáváno ${U}, obdrženo ${Q}`}case"invalid_value":if(J.values.length===1)return`Neplatný vstup: očekáváno ${O0(J.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí mít ${U}${J.maximum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí být ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí mít ${U}${J.minimum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí být ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Neplatný řetězec: musí začínat na "${U.prefix}"`;if(U.format==="ends_with")return`Neplatný řetězec: musí končit na "${U.suffix}"`;if(U.format==="includes")return`Neplatný řetězec: musí obsahovat "${U.includes}"`;if(U.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${U.pattern}`;return`Neplatný formát ${q[U.format]??J.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${J.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${I0(J.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${J.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${J.origin}`;default:return"Neplatný vstup"}}};var Tl=e(()=>{y0()});function sT(){return{localeError:Wx0()}}var Wx0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function Y(J){return $[J]??null}let q={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},z={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Ugyldigt input: forventede instanceof ${J.expected}, fik ${Q}`;return`Ugyldigt input: forventede ${U}, fik ${Q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig værdi: forventede ${O0(J.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin),Q=z[J.origin]??J.origin;if(I)return`For stor: forventede ${Q??"value"} ${I.verb} ${U} ${J.maximum.toString()} ${I.unit??"elementer"}`;return`For stor: forventede ${Q??"value"} havde ${U} ${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin),Q=z[J.origin]??J.origin;if(I)return`For lille: forventede ${Q} ${I.verb} ${U} ${J.minimum.toString()} ${I.unit}`;return`For lille: forventede ${Q} havde ${U} ${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Ugyldig streng: skal starte med "${U.prefix}"`;if(U.format==="ends_with")return`Ugyldig streng: skal ende med "${U.suffix}"`;if(U.format==="includes")return`Ugyldig streng: skal indeholde "${U.includes}"`;if(U.format==="regex")return`Ugyldig streng: skal matche mønsteret ${U.pattern}`;return`Ugyldig ${q[U.format]??J.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${J.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${J.origin}`;default:return"Ugyldigt input"}}};var El=e(()=>{y0()});function tT(){return{localeError:Xx0()}}var Xx0=()=>{let $={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function Y(J){return $[J]??null}let q={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},z={nan:"NaN",number:"Zahl",array:"Array"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Ungültige Eingabe: erwartet instanceof ${J.expected}, erhalten ${Q}`;return`Ungültige Eingabe: erwartet ${U}, erhalten ${Q}`}case"invalid_value":if(J.values.length===1)return`Ungültige Eingabe: erwartet ${O0(J.values[0])}`;return`Ungültige Option: erwartet eine von ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${U}${J.maximum.toString()} ${I.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${U}${J.maximum.toString()} ist`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Zu klein: erwartet, dass ${J.origin} ${U}${J.minimum.toString()} ${I.unit} hat`;return`Zu klein: erwartet, dass ${J.origin} ${U}${J.minimum.toString()} ist`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Ungültiger String: muss mit "${U.prefix}" beginnen`;if(U.format==="ends_with")return`Ungültiger String: muss mit "${U.suffix}" enden`;if(U.format==="includes")return`Ungültiger String: muss "${U.includes}" enthalten`;if(U.format==="regex")return`Ungültiger String: muss dem Muster ${U.pattern} entsprechen`;return`Ungültig: ${q[U.format]??J.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${J.divisor} sein`;case"unrecognized_keys":return`${J.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${J.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${J.origin}`;default:return"Ungültige Eingabe"}}};var jl=e(()=>{y0()});function aT(){return{localeError:Vx0()}}var Vx0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function Y(J){return $[J]??null}let q={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(typeof J.expected==="string"&&/^[A-Z]/.test(J.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${J.expected}, λήφθηκε ${Q}`;return`Μη έγκυρη είσοδος: αναμενόταν ${U}, λήφθηκε ${Q}`}case"invalid_value":if(J.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${O0(J.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να έχει ${U}${J.maximum.toString()} ${I.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να είναι ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Πολύ μικρό: αναμενόταν ${J.origin} να έχει ${U}${J.minimum.toString()} ${I.unit}`;return`Πολύ μικρό: αναμενόταν ${J.origin} να είναι ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${U.prefix}"`;if(U.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${U.suffix}"`;if(U.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${U.includes}"`;if(U.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${U.pattern}`;return`Μη έγκυρο: ${q[U.format]??J.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${J.divisor}`;case"unrecognized_keys":return`Άγνωστ${J.keys.length>1?"α":"ο"} κλειδ${J.keys.length>1?"ιά":"ί"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${J.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${J.origin}`;default:return"Μη έγκυρη είσοδος"}}};var _l=e(()=>{y0()});function YQ(){return{localeError:Lx0()}}var Lx0=()=>{let $={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function Y(J){return $[J]??null}let q={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;return`Invalid input: expected ${U}, received ${Q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${O0(J.values[0])}`;return`Invalid option: expected one of ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Too big: expected ${J.origin??"value"} to have ${U}${J.maximum.toString()} ${I.unit??"elements"}`;return`Too big: expected ${J.origin??"value"} to be ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Too small: expected ${J.origin} to have ${U}${J.minimum.toString()} ${I.unit}`;return`Too small: expected ${J.origin} to be ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Invalid string: must start with "${U.prefix}"`;if(U.format==="ends_with")return`Invalid string: must end with "${U.suffix}"`;if(U.format==="includes")return`Invalid string: must include "${U.includes}"`;if(U.format==="regex")return`Invalid string: must match pattern ${U.pattern}`;return`Invalid ${q[U.format]??J.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${J.divisor}`;case"unrecognized_keys":return`Unrecognized key${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Invalid key in ${J.origin}`;case"invalid_union":if(J.options&&Array.isArray(J.options)&&J.options.length>0)return`Invalid discriminator value. Expected ${J.options.map((I)=>`'${I}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${J.origin}`;default:return"Invalid input"}}};var eT=e(()=>{y0()});function $E(){return{localeError:wx0()}}var wx0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function Y(J){return $[J]??null}let q={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},z={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Nevalida enigo: atendiĝis instanceof ${J.expected}, riceviĝis ${Q}`;return`Nevalida enigo: atendiĝis ${U}, riceviĝis ${Q}`}case"invalid_value":if(J.values.length===1)return`Nevalida enigo: atendiĝis ${O0(J.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${U}${J.maximum.toString()} ${I.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Tro malgranda: atendiĝis ke ${J.origin} havu ${U}${J.minimum.toString()} ${I.unit}`;return`Tro malgranda: atendiĝis ke ${J.origin} estu ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${U.prefix}"`;if(U.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${U.suffix}"`;if(U.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${U.includes}"`;if(U.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${U.pattern}`;return`Nevalida ${q[U.format]??J.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${J.divisor}`;case"unrecognized_keys":return`Nekonata${J.keys.length>1?"j":""} ŝlosilo${J.keys.length>1?"j":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${J.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${J.origin}`;default:return"Nevalida enigo"}}};var Rl=e(()=>{y0()});function YE(){return{localeError:Fx0()}}var Fx0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function Y(J){return $[J]??null}let q={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Entrada inválida: se esperaba instanceof ${J.expected}, recibido ${Q}`;return`Entrada inválida: se esperaba ${U}, recibido ${Q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: se esperaba ${O0(J.values[0])}`;return`Opción inválida: se esperaba una de ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin),Q=z[J.origin]??J.origin;if(I)return`Demasiado grande: se esperaba que ${Q??"valor"} tuviera ${U}${J.maximum.toString()} ${I.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${Q??"valor"} fuera ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin),Q=z[J.origin]??J.origin;if(I)return`Demasiado pequeño: se esperaba que ${Q} tuviera ${U}${J.minimum.toString()} ${I.unit}`;return`Demasiado pequeño: se esperaba que ${Q} fuera ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Cadena inválida: debe comenzar con "${U.prefix}"`;if(U.format==="ends_with")return`Cadena inválida: debe terminar en "${U.suffix}"`;if(U.format==="includes")return`Cadena inválida: debe incluir "${U.includes}"`;if(U.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${U.pattern}`;return`Inválido ${q[U.format]??J.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${J.divisor}`;case"unrecognized_keys":return`Llave${J.keys.length>1?"s":""} desconocida${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Llave inválida en ${z[J.origin]??J.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${z[J.origin]??J.origin}`;default:return"Entrada inválida"}}};var Cl=e(()=>{y0()});function qE(){return{localeError:Ox0()}}var Ox0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function Y(J){return $[J]??null}let q={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},z={nan:"NaN",number:"عدد",array:"آرایه"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`ورودی نامعتبر: می‌بایست instanceof ${J.expected} می‌بود، ${Q} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${U} می‌بود، ${Q} دریافت شد`}case"invalid_value":if(J.values.length===1)return`ورودی نامعتبر: می‌بایست ${O0(J.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${I0(J.values,"|")} می‌بود`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${U}${J.maximum.toString()} ${I.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${U}${J.maximum.toString()} باشد`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`خیلی کوچک: ${J.origin} باید ${U}${J.minimum.toString()} ${I.unit} باشد`;return`خیلی کوچک: ${J.origin} باید ${U}${J.minimum.toString()} باشد`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`رشته نامعتبر: باید با "${U.prefix}" شروع شود`;if(U.format==="ends_with")return`رشته نامعتبر: باید با "${U.suffix}" تمام شود`;if(U.format==="includes")return`رشته نامعتبر: باید شامل "${U.includes}" باشد`;if(U.format==="regex")return`رشته نامعتبر: باید با الگوی ${U.pattern} مطابقت داشته باشد`;return`${q[U.format]??J.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${J.divisor} باشد`;case"unrecognized_keys":return`کلید${J.keys.length>1?"های":""} ناشناس: ${I0(J.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${J.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${J.origin}`;default:return"ورودی نامعتبر"}}};var vl=e(()=>{y0()});function zE(){return{localeError:Mx0()}}var Mx0=()=>{let $={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function Y(J){return $[J]??null}let q={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Virheellinen tyyppi: odotettiin instanceof ${J.expected}, oli ${Q}`;return`Virheellinen tyyppi: odotettiin ${U}, oli ${Q}`}case"invalid_value":if(J.values.length===1)return`Virheellinen syöte: täytyy olla ${O0(J.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Liian suuri: ${I.subject} täytyy olla ${U}${J.maximum.toString()} ${I.unit}`.trim();return`Liian suuri: arvon täytyy olla ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Liian pieni: ${I.subject} täytyy olla ${U}${J.minimum.toString()} ${I.unit}`.trim();return`Liian pieni: arvon täytyy olla ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${U.prefix}"`;if(U.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${U.suffix}"`;if(U.format==="includes")return`Virheellinen syöte: täytyy sisältää "${U.includes}"`;if(U.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${U.pattern}`;return`Virheellinen ${q[U.format]??J.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${J.divisor} monikerta`;case"unrecognized_keys":return`${J.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${I0(J.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};var hl=e(()=>{y0()});function JE(){return{localeError:Nx0()}}var Nx0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(J){return $[J]??null}let q={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},z={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : instanceof ${J.expected} attendu, ${Q} reçu`;return`Entrée invalide : ${U} attendu, ${Q} reçu`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : ${O0(J.values[0])} attendu`;return`Option invalide : une valeur parmi ${I0(J.values,"|")} attendue`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Trop grand : ${z[J.origin]??"valeur"} doit ${I.verb} ${U}${J.maximum.toString()} ${I.unit??"élément(s)"}`;return`Trop grand : ${z[J.origin]??"valeur"} doit être ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Trop petit : ${z[J.origin]??"valeur"} doit ${I.verb} ${U}${J.minimum.toString()} ${I.unit}`;return`Trop petit : ${z[J.origin]??"valeur"} doit être ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Chaîne invalide : doit commencer par "${U.prefix}"`;if(U.format==="ends_with")return`Chaîne invalide : doit se terminer par "${U.suffix}"`;if(U.format==="includes")return`Chaîne invalide : doit inclure "${U.includes}"`;if(U.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${U.pattern}`;return`${q[U.format]??J.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${J.divisor}`;case"unrecognized_keys":return`Clé${J.keys.length>1?"s":""} non reconnue${J.keys.length>1?"s":""} : ${I0(J.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${J.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${J.origin}`;default:return"Entrée invalide"}}};var gl=e(()=>{y0()});function UE(){return{localeError:Dx0()}}var Dx0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(J){return $[J]??null}let q={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : attendu instanceof ${J.expected}, reçu ${Q}`;return`Entrée invalide : attendu ${U}, reçu ${Q}`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : attendu ${O0(J.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"≤":"<",I=Y(J.origin);if(I)return`Trop grand : attendu que ${J.origin??"la valeur"} ait ${U}${J.maximum.toString()} ${I.unit}`;return`Trop grand : attendu que ${J.origin??"la valeur"} soit ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?"≥":">",I=Y(J.origin);if(I)return`Trop petit : attendu que ${J.origin} ait ${U}${J.minimum.toString()} ${I.unit}`;return`Trop petit : attendu que ${J.origin} soit ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Chaîne invalide : doit commencer par "${U.prefix}"`;if(U.format==="ends_with")return`Chaîne invalide : doit se terminer par "${U.suffix}"`;if(U.format==="includes")return`Chaîne invalide : doit inclure "${U.includes}"`;if(U.format==="regex")return`Chaîne invalide : doit correspondre au motif ${U.pattern}`;return`${q[U.format]??J.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${J.divisor}`;case"unrecognized_keys":return`Clé${J.keys.length>1?"s":""} non reconnue${J.keys.length>1?"s":""} : ${I0(J.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${J.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${J.origin}`;default:return"Entrée invalide"}}};var Sl=e(()=>{y0()});function IE(){return{localeError:Px0()}}var Px0=()=>{let $={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},Y={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},q=(G)=>G?$[G]:void 0,z=(G)=>{let H=q(G);if(H)return H.label;return G??$.unknown.label},J=(G)=>`ה${z(G)}`,U=(G)=>{return(q(G)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},I=(G)=>{if(!G)return null;return Y[G]??null},Q={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},K={nan:"NaN"};return(G)=>{switch(G.code){case"invalid_type":{let H=G.expected,Z=K[H??""]??z(H),V=N0(G.input),X=K[V]??$[V]?.label??V;if(/^[A-Z]/.test(G.expected))return`קלט לא תקין: צריך להיות instanceof ${G.expected}, התקבל ${X}`;return`קלט לא תקין: צריך להיות ${Z}, התקבל ${X}`}case"invalid_value":{if(G.values.length===1)return`ערך לא תקין: הערך חייב להיות ${O0(G.values[0])}`;let H=G.values.map((X)=>O0(X));if(G.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${H[0]} או ${H[1]}`;let Z=H[H.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${H.slice(0,-1).join(", ")} או ${Z}`}case"too_big":{let H=I(G.origin),Z=J(G.origin??"value");if(G.origin==="string")return`${H?.longLabel??"ארוך"} מדי: ${Z} צריכה להכיל ${G.maximum.toString()} ${H?.unit??""} ${G.inclusive?"או פחות":"לכל היותר"}`.trim();if(G.origin==="number"){let L=G.inclusive?`קטן או שווה ל-${G.maximum}`:`קטן מ-${G.maximum}`;return`גדול מדי: ${Z} צריך להיות ${L}`}if(G.origin==="array"||G.origin==="set"){let L=G.origin==="set"?"צריכה":"צריך",w=G.inclusive?`${G.maximum} ${H?.unit??""} או פחות`:`פחות מ-${G.maximum} ${H?.unit??""}`;return`גדול מדי: ${Z} ${L} להכיל ${w}`.trim()}let V=G.inclusive?"<=":"<",X=U(G.origin??"value");if(H?.unit)return`${H.longLabel} מדי: ${Z} ${X} ${V}${G.maximum.toString()} ${H.unit}`;return`${H?.longLabel??"גדול"} מדי: ${Z} ${X} ${V}${G.maximum.toString()}`}case"too_small":{let H=I(G.origin),Z=J(G.origin??"value");if(G.origin==="string")return`${H?.shortLabel??"קצר"} מדי: ${Z} צריכה להכיל ${G.minimum.toString()} ${H?.unit??""} ${G.inclusive?"או יותר":"לפחות"}`.trim();if(G.origin==="number"){let L=G.inclusive?`גדול או שווה ל-${G.minimum}`:`גדול מ-${G.minimum}`;return`קטן מדי: ${Z} צריך להיות ${L}`}if(G.origin==="array"||G.origin==="set"){let L=G.origin==="set"?"צריכה":"צריך";if(G.minimum===1&&G.inclusive){let F=G.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${Z} ${L} להכיל ${F}`}let w=G.inclusive?`${G.minimum} ${H?.unit??""} או יותר`:`יותר מ-${G.minimum} ${H?.unit??""}`;return`קטן מדי: ${Z} ${L} להכיל ${w}`.trim()}let V=G.inclusive?">=":">",X=U(G.origin??"value");if(H?.unit)return`${H.shortLabel} מדי: ${Z} ${X} ${V}${G.minimum.toString()} ${H.unit}`;return`${H?.shortLabel??"קטן"} מדי: ${Z} ${X} ${V}${G.minimum.toString()}`}case"invalid_format":{let H=G;if(H.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${H.prefix}"`;if(H.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${H.suffix}"`;if(H.format==="includes")return`המחרוזת חייבת לכלול "${H.includes}"`;if(H.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${H.pattern}`;let Z=Q[H.format],V=Z?.label??H.format,L=(Z?.gender??"m")==="f"?"תקינה":"תקין";return`${V} לא ${L}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${G.divisor}`;case"unrecognized_keys":return`מפתח${G.keys.length>1?"ות":""} לא מזוה${G.keys.length>1?"ים":"ה"}: ${I0(G.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${J(G.origin??"array")}`;default:return"קלט לא תקין"}}};var yl=e(()=>{y0()});function QE(){return{localeError:Ax0()}}var Ax0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function Y(J){return $[J]??null}let q={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},z={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Neispravan unos: očekuje se instanceof ${J.expected}, a primljeno je ${Q}`;return`Neispravan unos: očekuje se ${U}, a primljeno je ${Q}`}case"invalid_value":if(J.values.length===1)return`Neispravna vrijednost: očekivano ${O0(J.values[0])}`;return`Neispravna opcija: očekivano jedno od ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin),Q=z[J.origin]??J.origin;if(I)return`Preveliko: očekivano da ${Q??"vrijednost"} ima ${U}${J.maximum.toString()} ${I.unit??"elemenata"}`;return`Preveliko: očekivano da ${Q??"vrijednost"} bude ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin),Q=z[J.origin]??J.origin;if(I)return`Premalo: očekivano da ${Q} ima ${U}${J.minimum.toString()} ${I.unit}`;return`Premalo: očekivano da ${Q} bude ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Neispravan tekst: mora započinjati s "${U.prefix}"`;if(U.format==="ends_with")return`Neispravan tekst: mora završavati s "${U.suffix}"`;if(U.format==="includes")return`Neispravan tekst: mora sadržavati "${U.includes}"`;if(U.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${U.pattern}`;return`Neispravna ${q[U.format]??J.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${J.divisor}`;case"unrecognized_keys":return`Neprepoznat${J.keys.length>1?"i ključevi":" ključ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${z[J.origin]??J.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${z[J.origin]??J.origin}`;default:return"Neispravan unos"}}};var xl=e(()=>{y0()});function KE(){return{localeError:Bx0()}}var Bx0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function Y(J){return $[J]??null}let q={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},z={nan:"NaN",number:"szám",array:"tömb"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Érvénytelen bemenet: a várt érték instanceof ${J.expected}, a kapott érték ${Q}`;return`Érvénytelen bemenet: a várt érték ${U}, a kapott érték ${Q}`}case"invalid_value":if(J.values.length===1)return`Érvénytelen bemenet: a várt érték ${O0(J.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Túl nagy: ${J.origin??"érték"} mérete túl nagy ${U}${J.maximum.toString()} ${I.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${J.origin??"érték"} túl nagy: ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Túl kicsi: a bemeneti érték ${J.origin} mérete túl kicsi ${U}${J.minimum.toString()} ${I.unit}`;return`Túl kicsi: a bemeneti érték ${J.origin} túl kicsi ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Érvénytelen string: "${U.prefix}" értékkel kell kezdődnie`;if(U.format==="ends_with")return`Érvénytelen string: "${U.suffix}" értékkel kell végződnie`;if(U.format==="includes")return`Érvénytelen string: "${U.includes}" értéket kell tartalmaznia`;if(U.format==="regex")return`Érvénytelen string: ${U.pattern} mintának kell megfelelnie`;return`Érvénytelen ${q[U.format]??J.format}`}case"not_multiple_of":return`Érvénytelen szám: ${J.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${J.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${J.origin}`;default:return"Érvénytelen bemenet"}}};var kl=e(()=>{y0()});function ul($,Y,q){return Math.abs($)===1?Y:q}function fq($){if(!$)return"";let Y=["ա","ե","ը","ի","ո","ու","օ"],q=$[$.length-1];return $+(Y.includes(q)?"ն":"ը")}function GE(){return{localeError:Tx0()}}var Tx0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function Y(J){return $[J]??null}let q={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},z={nan:"NaN",number:"թիվ",array:"զանգված"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${J.expected}, ստացվել է ${Q}`;return`Սխալ մուտքագրում․ սպասվում էր ${U}, ստացվել է ${Q}`}case"invalid_value":if(J.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${O0(J.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I){let Q=Number(J.maximum),K=ul(Q,I.unit.one,I.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${fq(J.origin??"արժեք")} կունենա ${U}${J.maximum.toString()} ${K}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${fq(J.origin??"արժեք")} լինի ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I){let Q=Number(J.minimum),K=ul(Q,I.unit.one,I.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${fq(J.origin)} կունենա ${U}${J.minimum.toString()} ${K}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${fq(J.origin)} լինի ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${U.prefix}"-ով`;if(U.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${U.suffix}"-ով`;if(U.format==="includes")return`Սխալ տող․ պետք է պարունակի "${U.includes}"`;if(U.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${U.pattern} ձևաչափին`;return`Սխալ ${q[U.format]??J.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${J.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${J.keys.length>1?"ներ":""}. ${I0(J.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${fq(J.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${fq(J.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};var fl=e(()=>{y0()});function HE(){return{localeError:Ex0()}}var Ex0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function Y(J){return $[J]??null}let q={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Input tidak valid: diharapkan instanceof ${J.expected}, diterima ${Q}`;return`Input tidak valid: diharapkan ${U}, diterima ${Q}`}case"invalid_value":if(J.values.length===1)return`Input tidak valid: diharapkan ${O0(J.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Terlalu besar: diharapkan ${J.origin??"value"} memiliki ${U}${J.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: diharapkan ${J.origin??"value"} menjadi ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Terlalu kecil: diharapkan ${J.origin} memiliki ${U}${J.minimum.toString()} ${I.unit}`;return`Terlalu kecil: diharapkan ${J.origin} menjadi ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`String tidak valid: harus dimulai dengan "${U.prefix}"`;if(U.format==="ends_with")return`String tidak valid: harus berakhir dengan "${U.suffix}"`;if(U.format==="includes")return`String tidak valid: harus menyertakan "${U.includes}"`;if(U.format==="regex")return`String tidak valid: harus sesuai pola ${U.pattern}`;return`${q[U.format]??J.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${J.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${J.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${J.origin}`;default:return"Input tidak valid"}}};var bl=e(()=>{y0()});function ZE(){return{localeError:jx0()}}var jx0=()=>{let $={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function Y(J){return $[J]??null}let q={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},z={nan:"NaN",number:"númer",array:"fylki"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Rangt gildi: Þú slóst inn ${Q} þar sem á að vera instanceof ${J.expected}`;return`Rangt gildi: Þú slóst inn ${Q} þar sem á að vera ${U}`}case"invalid_value":if(J.values.length===1)return`Rangt gildi: gert ráð fyrir ${O0(J.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} hafi ${U}${J.maximum.toString()} ${I.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} sé ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Of lítið: gert er ráð fyrir að ${J.origin} hafi ${U}${J.minimum.toString()} ${I.unit}`;return`Of lítið: gert er ráð fyrir að ${J.origin} sé ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Ógildur strengur: verður að byrja á "${U.prefix}"`;if(U.format==="ends_with")return`Ógildur strengur: verður að enda á "${U.suffix}"`;if(U.format==="includes")return`Ógildur strengur: verður að innihalda "${U.includes}"`;if(U.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${U.pattern}`;return`Rangt ${q[U.format]??J.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${J.divisor}`;case"unrecognized_keys":return`Óþekkt ${J.keys.length>1?"ir lyklar":"ur lykill"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${J.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${J.origin}`;default:return"Rangt gildi"}}};var il=e(()=>{y0()});function WE(){return{localeError:_x0()}}var _x0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function Y(J){return $[J]??null}let q={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"numero",array:"vettore"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Input non valido: atteso instanceof ${J.expected}, ricevuto ${Q}`;return`Input non valido: atteso ${U}, ricevuto ${Q}`}case"invalid_value":if(J.values.length===1)return`Input non valido: atteso ${O0(J.values[0])}`;return`Opzione non valida: atteso uno tra ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Troppo grande: ${J.origin??"valore"} deve avere ${U}${J.maximum.toString()} ${I.unit??"elementi"}`;return`Troppo grande: ${J.origin??"valore"} deve essere ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Troppo piccolo: ${J.origin} deve avere ${U}${J.minimum.toString()} ${I.unit}`;return`Troppo piccolo: ${J.origin} deve essere ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Stringa non valida: deve iniziare con "${U.prefix}"`;if(U.format==="ends_with")return`Stringa non valida: deve terminare con "${U.suffix}"`;if(U.format==="includes")return`Stringa non valida: deve includere "${U.includes}"`;if(U.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${U.pattern}`;return`Input non valido: ${q[U.format]??J.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${J.divisor}`;case"unrecognized_keys":return`Chiav${J.keys.length>1?"i":"e"} non riconosciut${J.keys.length>1?"e":"a"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${J.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${J.origin}`;default:return"Input non valido"}}};var nl=e(()=>{y0()});function XE(){return{localeError:Rx0()}}var Rx0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function Y(J){return $[J]??null}let q={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},z={nan:"NaN",number:"数値",array:"配列"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`無効な入力: instanceof ${J.expected}が期待されましたが、${Q}が入力されました`;return`無効な入力: ${U}が期待されましたが、${Q}が入力されました`}case"invalid_value":if(J.values.length===1)return`無効な入力: ${O0(J.values[0])}が期待されました`;return`無効な選択: ${I0(J.values,"、")}のいずれかである必要があります`;case"too_big":{let U=J.inclusive?"以下である":"より小さい",I=Y(J.origin);if(I)return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${I.unit??"要素"}${U}必要があります`;return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${U}必要があります`}case"too_small":{let U=J.inclusive?"以上である":"より大きい",I=Y(J.origin);if(I)return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${I.unit}${U}必要があります`;return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${U}必要があります`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`無効な文字列: "${U.prefix}"で始まる必要があります`;if(U.format==="ends_with")return`無効な文字列: "${U.suffix}"で終わる必要があります`;if(U.format==="includes")return`無効な文字列: "${U.includes}"を含む必要があります`;if(U.format==="regex")return`無効な文字列: パターン${U.pattern}に一致する必要があります`;return`無効な${q[U.format]??J.format}`}case"not_multiple_of":return`無効な数値: ${J.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${J.keys.length>1?"群":""}: ${I0(J.keys,"、")}`;case"invalid_key":return`${J.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${J.origin}内の無効な値`;default:return"無効な入力"}}};var cl=e(()=>{y0()});function VE(){return{localeError:Cx0()}}var Cx0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function Y(J){return $[J]??null}let q={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},z={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${J.expected}, მიღებული ${Q}`;return`არასწორი შეყვანა: მოსალოდნელი ${U}, მიღებული ${Q}`}case"invalid_value":if(J.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${O0(J.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${I0(J.values,"|")}-დან`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} ${I.verb} ${U}${J.maximum.toString()} ${I.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} იყოს ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} ${I.verb} ${U}${J.minimum.toString()} ${I.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} იყოს ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${U.prefix}"-ით`;if(U.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${U.suffix}"-ით`;if(U.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${U.includes}"-ს`;if(U.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${U.pattern}`;return`არასწორი ${q[U.format]??J.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${J.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${J.keys.length>1?"ები":"ი"}: ${I0(J.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${J.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${J.origin}-ში`;default:return"არასწორი შეყვანა"}}};var pl=e(()=>{y0()});function qQ(){return{localeError:vx0()}}var vx0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function Y(J){return $[J]??null}let q={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},z={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${J.expected} ប៉ុន្តែទទួលបាន ${Q}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${U} ប៉ុន្តែទទួលបាន ${Q}`}case"invalid_value":if(J.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${O0(J.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${U} ${J.maximum.toString()} ${I.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${U} ${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`តូចពេក៖ ត្រូវការ ${J.origin} ${U} ${J.minimum.toString()} ${I.unit}`;return`តូចពេក៖ ត្រូវការ ${J.origin} ${U} ${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${U.prefix}"`;if(U.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${U.suffix}"`;if(U.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${U.includes}"`;if(U.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${U.pattern}`;return`មិនត្រឹមត្រូវ៖ ${q[U.format]??J.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${J.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${I0(J.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${J.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${J.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};var LE=e(()=>{y0()});function wE(){return qQ()}var dl=e(()=>{LE()});function FE(){return{localeError:hx0()}}var hx0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function Y(J){return $[J]??null}let q={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`잘못된 입력: 예상 타입은 instanceof ${J.expected}, 받은 타입은 ${Q}입니다`;return`잘못된 입력: 예상 타입은 ${U}, 받은 타입은 ${Q}입니다`}case"invalid_value":if(J.values.length===1)return`잘못된 입력: 값은 ${O0(J.values[0])} 이어야 합니다`;return`잘못된 옵션: ${I0(J.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let U=J.inclusive?"이하":"미만",I=U==="미만"?"이어야 합니다":"여야 합니다",Q=Y(J.origin),K=Q?.unit??"요소";if(Q)return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()}${K} ${U}${I}`;return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()} ${U}${I}`}case"too_small":{let U=J.inclusive?"이상":"초과",I=U==="이상"?"이어야 합니다":"여야 합니다",Q=Y(J.origin),K=Q?.unit??"요소";if(Q)return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()}${K} ${U}${I}`;return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()} ${U}${I}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`잘못된 문자열: "${U.prefix}"(으)로 시작해야 합니다`;if(U.format==="ends_with")return`잘못된 문자열: "${U.suffix}"(으)로 끝나야 합니다`;if(U.format==="includes")return`잘못된 문자열: "${U.includes}"을(를) 포함해야 합니다`;if(U.format==="regex")return`잘못된 문자열: 정규식 ${U.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${q[U.format]??J.format}`}case"not_multiple_of":return`잘못된 숫자: ${J.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${I0(J.keys,", ")}`;case"invalid_key":return`잘못된 키: ${J.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${J.origin}`;default:return"잘못된 입력"}}};var ml=e(()=>{y0()});function ll($){let Y=Math.abs($),q=Y%10,z=Y%100;if(z>=11&&z<=19||q===0)return"many";if(q===1)return"one";return"few"}function OE(){return{localeError:gx0()}}var zQ=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)},gx0=()=>{let $={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function Y(J,U,I,Q){let K=$[J]??null;if(K===null)return K;return{unit:K.unit[U],verb:K.verb[Q][I?"inclusive":"notInclusive"]}}let q={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},z={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Gautas tipas ${Q}, o tikėtasi - instanceof ${J.expected}`;return`Gautas tipas ${Q}, o tikėtasi - ${U}`}case"invalid_value":if(J.values.length===1)return`Privalo būti ${O0(J.values[0])}`;return`Privalo būti vienas iš ${I0(J.values,"|")} pasirinkimų`;case"too_big":{let U=z[J.origin]??J.origin,I=Y(J.origin,ll(Number(J.maximum)),J.inclusive??!1,"smaller");if(I?.verb)return`${zQ(U??J.origin??"reikšmė")} ${I.verb} ${J.maximum.toString()} ${I.unit??"elementų"}`;let Q=J.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${zQ(U??J.origin??"reikšmė")} turi būti ${Q} ${J.maximum.toString()} ${I?.unit}`}case"too_small":{let U=z[J.origin]??J.origin,I=Y(J.origin,ll(Number(J.minimum)),J.inclusive??!1,"bigger");if(I?.verb)return`${zQ(U??J.origin??"reikšmė")} ${I.verb} ${J.minimum.toString()} ${I.unit??"elementų"}`;let Q=J.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${zQ(U??J.origin??"reikšmė")} turi būti ${Q} ${J.minimum.toString()} ${I?.unit}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Eilutė privalo prasidėti "${U.prefix}"`;if(U.format==="ends_with")return`Eilutė privalo pasibaigti "${U.suffix}"`;if(U.format==="includes")return`Eilutė privalo įtraukti "${U.includes}"`;if(U.format==="regex")return`Eilutė privalo atitikti ${U.pattern}`;return`Neteisingas ${q[U.format]??J.format}`}case"not_multiple_of":return`Skaičius privalo būti ${J.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${J.keys.length>1?"i":"as"} rakt${J.keys.length>1?"ai":"as"}: ${I0(J.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let U=z[J.origin]??J.origin;return`${zQ(U??J.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};var ol=e(()=>{y0()});function ME(){return{localeError:Sx0()}}var Sx0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function Y(J){return $[J]??null}let q={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},z={nan:"NaN",number:"број",array:"низа"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Грешен внес: се очекува instanceof ${J.expected}, примено ${Q}`;return`Грешен внес: се очекува ${U}, примено ${Q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${O0(J.values[0])}`;return`Грешана опција: се очекува една ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Премногу голем: се очекува ${J.origin??"вредноста"} да има ${U}${J.maximum.toString()} ${I.unit??"елементи"}`;return`Премногу голем: се очекува ${J.origin??"вредноста"} да биде ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Премногу мал: се очекува ${J.origin} да има ${U}${J.minimum.toString()} ${I.unit}`;return`Премногу мал: се очекува ${J.origin} да биде ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Неважечка низа: мора да започнува со "${U.prefix}"`;if(U.format==="ends_with")return`Неважечка низа: мора да завршува со "${U.suffix}"`;if(U.format==="includes")return`Неважечка низа: мора да вклучува "${U.includes}"`;if(U.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${U.pattern}`;return`Invalid ${q[U.format]??J.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${J.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${J.origin}`;default:return"Грешен внес"}}};var rl=e(()=>{y0()});function NE(){return{localeError:yx0()}}var yx0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function Y(J){return $[J]??null}let q={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"nombor"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Input tidak sah: dijangka instanceof ${J.expected}, diterima ${Q}`;return`Input tidak sah: dijangka ${U}, diterima ${Q}`}case"invalid_value":if(J.values.length===1)return`Input tidak sah: dijangka ${O0(J.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Terlalu besar: dijangka ${J.origin??"nilai"} ${I.verb} ${U}${J.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: dijangka ${J.origin??"nilai"} adalah ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Terlalu kecil: dijangka ${J.origin} ${I.verb} ${U}${J.minimum.toString()} ${I.unit}`;return`Terlalu kecil: dijangka ${J.origin} adalah ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`String tidak sah: mesti bermula dengan "${U.prefix}"`;if(U.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${U.suffix}"`;if(U.format==="includes")return`String tidak sah: mesti mengandungi "${U.includes}"`;if(U.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${U.pattern}`;return`${q[U.format]??J.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${J.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${I0(J.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${J.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${J.origin}`;default:return"Input tidak sah"}}};var sl=e(()=>{y0()});function DE(){return{localeError:xx0()}}var xx0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function Y(J){return $[J]??null}let q={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},z={nan:"NaN",number:"getal"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Ongeldige invoer: verwacht instanceof ${J.expected}, ontving ${Q}`;return`Ongeldige invoer: verwacht ${U}, ontving ${Q}`}case"invalid_value":if(J.values.length===1)return`Ongeldige invoer: verwacht ${O0(J.values[0])}`;return`Ongeldige optie: verwacht één van ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin),Q=J.origin==="date"?"laat":J.origin==="string"?"lang":"groot";if(I)return`Te ${Q}: verwacht dat ${J.origin??"waarde"} ${U}${J.maximum.toString()} ${I.unit??"elementen"} ${I.verb}`;return`Te ${Q}: verwacht dat ${J.origin??"waarde"} ${U}${J.maximum.toString()} is`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin),Q=J.origin==="date"?"vroeg":J.origin==="string"?"kort":"klein";if(I)return`Te ${Q}: verwacht dat ${J.origin} ${U}${J.minimum.toString()} ${I.unit} ${I.verb}`;return`Te ${Q}: verwacht dat ${J.origin} ${U}${J.minimum.toString()} is`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Ongeldige tekst: moet met "${U.prefix}" beginnen`;if(U.format==="ends_with")return`Ongeldige tekst: moet op "${U.suffix}" eindigen`;if(U.format==="includes")return`Ongeldige tekst: moet "${U.includes}" bevatten`;if(U.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${U.pattern}`;return`Ongeldig: ${q[U.format]??J.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${J.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${J.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${J.origin}`;default:return"Ongeldige invoer"}}};var tl=e(()=>{y0()});function PE(){return{localeError:kx0()}}var kx0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function Y(J){return $[J]??null}let q={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"tall",array:"liste"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Ugyldig input: forventet instanceof ${J.expected}, fikk ${Q}`;return`Ugyldig input: forventet ${U}, fikk ${Q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig verdi: forventet ${O0(J.values[0])}`;return`Ugyldig valg: forventet en av ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`For stor(t): forventet ${J.origin??"value"} til å ha ${U}${J.maximum.toString()} ${I.unit??"elementer"}`;return`For stor(t): forventet ${J.origin??"value"} til å ha ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`For lite(n): forventet ${J.origin} til å ha ${U}${J.minimum.toString()} ${I.unit}`;return`For lite(n): forventet ${J.origin} til å ha ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Ugyldig streng: må starte med "${U.prefix}"`;if(U.format==="ends_with")return`Ugyldig streng: må ende med "${U.suffix}"`;if(U.format==="includes")return`Ugyldig streng: må inneholde "${U.includes}"`;if(U.format==="regex")return`Ugyldig streng: må matche mønsteret ${U.pattern}`;return`Ugyldig ${q[U.format]??J.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${J.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${J.origin}`;default:return"Ugyldig input"}}};var al=e(()=>{y0()});function AE(){return{localeError:ux0()}}var ux0=()=>{let $={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function Y(J){return $[J]??null}let q={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},z={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Fâsit giren: umulan instanceof ${J.expected}, alınan ${Q}`;return`Fâsit giren: umulan ${U}, alınan ${Q}`}case"invalid_value":if(J.values.length===1)return`Fâsit giren: umulan ${O0(J.values[0])}`;return`Fâsit tercih: mûteberler ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Fazla büyük: ${J.origin??"value"}, ${U}${J.maximum.toString()} ${I.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${J.origin??"value"}, ${U}${J.maximum.toString()} olmalıydı.`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Fazla küçük: ${J.origin}, ${U}${J.minimum.toString()} ${I.unit} sahip olmalıydı.`;return`Fazla küçük: ${J.origin}, ${U}${J.minimum.toString()} olmalıydı.`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Fâsit metin: "${U.prefix}" ile başlamalı.`;if(U.format==="ends_with")return`Fâsit metin: "${U.suffix}" ile bitmeli.`;if(U.format==="includes")return`Fâsit metin: "${U.includes}" ihtivâ etmeli.`;if(U.format==="regex")return`Fâsit metin: ${U.pattern} nakşına uymalı.`;return`Fâsit ${q[U.format]??J.format}`}case"not_multiple_of":return`Fâsit sayı: ${J.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${J.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};var el=e(()=>{y0()});function BE(){return{localeError:fx0()}}var fx0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function Y(J){return $[J]??null}let q={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},z={nan:"NaN",number:"عدد",array:"ارې"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`ناسم ورودي: باید instanceof ${J.expected} وای, مګر ${Q} ترلاسه شو`;return`ناسم ورودي: باید ${U} وای, مګر ${Q} ترلاسه شو`}case"invalid_value":if(J.values.length===1)return`ناسم ورودي: باید ${O0(J.values[0])} وای`;return`ناسم انتخاب: باید یو له ${I0(J.values,"|")} څخه وای`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`ډیر لوی: ${J.origin??"ارزښت"} باید ${U}${J.maximum.toString()} ${I.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${J.origin??"ارزښت"} باید ${U}${J.maximum.toString()} وي`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`ډیر کوچنی: ${J.origin} باید ${U}${J.minimum.toString()} ${I.unit} ولري`;return`ډیر کوچنی: ${J.origin} باید ${U}${J.minimum.toString()} وي`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`ناسم متن: باید د "${U.prefix}" سره پیل شي`;if(U.format==="ends_with")return`ناسم متن: باید د "${U.suffix}" سره پای ته ورسيږي`;if(U.format==="includes")return`ناسم متن: باید "${U.includes}" ولري`;if(U.format==="regex")return`ناسم متن: باید د ${U.pattern} سره مطابقت ولري`;return`${q[U.format]??J.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${J.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${J.keys.length>1?"کلیډونه":"کلیډ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${J.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${J.origin} کې`;default:return"ناسمه ورودي"}}};var $o=e(()=>{y0()});function TE(){return{localeError:bx0()}}var bx0=()=>{let $={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function Y(J){return $[J]??null}let q={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},z={nan:"NaN",number:"liczba",array:"tablica"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${J.expected}, otrzymano ${Q}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${U}, otrzymano ${Q}`}case"invalid_value":if(J.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${O0(J.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Za duża wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${U}${J.maximum.toString()} ${I.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Za mała wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${U}${J.minimum.toString()} ${I.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${U.prefix}"`;if(U.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${U.suffix}"`;if(U.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${U.includes}"`;if(U.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${U.pattern}`;return`Nieprawidłow(y/a/e) ${q[U.format]??J.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${J.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${J.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${J.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};var Yo=e(()=>{y0()});function EE(){return{localeError:ix0()}}var ix0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function Y(J){return $[J]??null}let q={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN",number:"número",null:"nulo"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Tipo inválido: esperado instanceof ${J.expected}, recebido ${Q}`;return`Tipo inválido: esperado ${U}, recebido ${Q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: esperado ${O0(J.values[0])}`;return`Opção inválida: esperada uma das ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Muito grande: esperado que ${J.origin??"valor"} tivesse ${U}${J.maximum.toString()} ${I.unit??"elementos"}`;return`Muito grande: esperado que ${J.origin??"valor"} fosse ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Muito pequeno: esperado que ${J.origin} tivesse ${U}${J.minimum.toString()} ${I.unit}`;return`Muito pequeno: esperado que ${J.origin} fosse ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Texto inválido: deve começar com "${U.prefix}"`;if(U.format==="ends_with")return`Texto inválido: deve terminar com "${U.suffix}"`;if(U.format==="includes")return`Texto inválido: deve incluir "${U.includes}"`;if(U.format==="regex")return`Texto inválido: deve corresponder ao padrão ${U.pattern}`;return`${q[U.format]??J.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${J.divisor}`;case"unrecognized_keys":return`Chave${J.keys.length>1?"s":""} desconhecida${J.keys.length>1?"s":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Chave inválida em ${J.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${J.origin}`;default:return"Campo inválido"}}};var qo=e(()=>{y0()});function jE(){return{localeError:nx0()}}var nx0=()=>{let $={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function Y(J){return $[J]??null}let q={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},z={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;return`Intrare invalidă: așteptat ${U}, primit ${Q}`}case"invalid_value":if(J.values.length===1)return`Intrare invalidă: așteptat ${O0(J.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Prea mare: așteptat ca ${J.origin??"valoarea"} ${I.verb} ${U}${J.maximum.toString()} ${I.unit??"elemente"}`;return`Prea mare: așteptat ca ${J.origin??"valoarea"} să fie ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Prea mic: așteptat ca ${J.origin} ${I.verb} ${U}${J.minimum.toString()} ${I.unit}`;return`Prea mic: așteptat ca ${J.origin} să fie ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${U.prefix}"`;if(U.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${U.suffix}"`;if(U.format==="includes")return`Șir invalid: trebuie să includă "${U.includes}"`;if(U.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${U.pattern}`;return`Format invalid: ${q[U.format]??J.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${J.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${I0(J.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${J.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${J.origin}`;default:return"Intrare invalidă"}}};var zo=e(()=>{y0()});function Jo($,Y,q,z){let J=Math.abs($),U=J%10,I=J%100;if(I>=11&&I<=19)return z;if(U===1)return Y;if(U>=2&&U<=4)return q;return z}function _E(){return{localeError:cx0()}}var cx0=()=>{let $={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function Y(J){return $[J]??null}let q={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},z={nan:"NaN",number:"число",array:"массив"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Неверный ввод: ожидалось instanceof ${J.expected}, получено ${Q}`;return`Неверный ввод: ожидалось ${U}, получено ${Q}`}case"invalid_value":if(J.values.length===1)return`Неверный ввод: ожидалось ${O0(J.values[0])}`;return`Неверный вариант: ожидалось одно из ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I){let Q=Number(J.maximum),K=Jo(Q,I.unit.one,I.unit.few,I.unit.many);return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет иметь ${U}${J.maximum.toString()} ${K}`}return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I){let Q=Number(J.minimum),K=Jo(Q,I.unit.one,I.unit.few,I.unit.many);return`Слишком маленькое значение: ожидалось, что ${J.origin} будет иметь ${U}${J.minimum.toString()} ${K}`}return`Слишком маленькое значение: ожидалось, что ${J.origin} будет ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Неверная строка: должна начинаться с "${U.prefix}"`;if(U.format==="ends_with")return`Неверная строка: должна заканчиваться на "${U.suffix}"`;if(U.format==="includes")return`Неверная строка: должна содержать "${U.includes}"`;if(U.format==="regex")return`Неверная строка: должна соответствовать шаблону ${U.pattern}`;return`Неверный ${q[U.format]??J.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${J.divisor}`;case"unrecognized_keys":return`Нераспознанн${J.keys.length>1?"ые":"ый"} ключ${J.keys.length>1?"и":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${J.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${J.origin}`;default:return"Неверные входные данные"}}};var Uo=e(()=>{y0()});function RE(){return{localeError:px0()}}var px0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function Y(J){return $[J]??null}let q={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},z={nan:"NaN",number:"število",array:"tabela"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Neveljaven vnos: pričakovano instanceof ${J.expected}, prejeto ${Q}`;return`Neveljaven vnos: pričakovano ${U}, prejeto ${Q}`}case"invalid_value":if(J.values.length===1)return`Neveljaven vnos: pričakovano ${O0(J.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} imelo ${U}${J.maximum.toString()} ${I.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Premajhno: pričakovano, da bo ${J.origin} imelo ${U}${J.minimum.toString()} ${I.unit}`;return`Premajhno: pričakovano, da bo ${J.origin} ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Neveljaven niz: mora se začeti z "${U.prefix}"`;if(U.format==="ends_with")return`Neveljaven niz: mora se končati z "${U.suffix}"`;if(U.format==="includes")return`Neveljaven niz: mora vsebovati "${U.includes}"`;if(U.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${U.pattern}`;return`Neveljaven ${q[U.format]??J.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${J.divisor}`;case"unrecognized_keys":return`Neprepoznan${J.keys.length>1?"i ključi":" ključ"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${J.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${J.origin}`;default:return"Neveljaven vnos"}}};var Io=e(()=>{y0()});function CE(){return{localeError:dx0()}}var dx0=()=>{let $={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function Y(J){return $[J]??null}let q={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},z={nan:"NaN",number:"antal",array:"lista"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Ogiltig inmatning: förväntat instanceof ${J.expected}, fick ${Q}`;return`Ogiltig inmatning: förväntat ${U}, fick ${Q}`}case"invalid_value":if(J.values.length===1)return`Ogiltig inmatning: förväntat ${O0(J.values[0])}`;return`Ogiltigt val: förväntade en av ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`För stor(t): förväntade ${J.origin??"värdet"} att ha ${U}${J.maximum.toString()} ${I.unit??"element"}`;return`För stor(t): förväntat ${J.origin??"värdet"} att ha ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${U}${J.minimum.toString()} ${I.unit}`;return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Ogiltig sträng: måste börja med "${U.prefix}"`;if(U.format==="ends_with")return`Ogiltig sträng: måste sluta med "${U.suffix}"`;if(U.format==="includes")return`Ogiltig sträng: måste innehålla "${U.includes}"`;if(U.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${U.pattern}"`;return`Ogiltig(t) ${q[U.format]??J.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${J.divisor}`;case"unrecognized_keys":return`${J.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${I0(J.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${J.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${J.origin??"värdet"}`;default:return"Ogiltig input"}}};var Qo=e(()=>{y0()});function vE(){return{localeError:mx0()}}var mx0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function Y(J){return $[J]??null}let q={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${J.expected}, பெறப்பட்டது ${Q}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${U}, பெறப்பட்டது ${Q}`}case"invalid_value":if(J.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${O0(J.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${I0(J.values,"|")} இல் ஒன்று`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${U}${J.maximum.toString()} ${I.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${U}${J.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${U}${J.minimum.toString()} ${I.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${U}${J.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`தவறான சரம்: "${U.prefix}" இல் தொடங்க வேண்டும்`;if(U.format==="ends_with")return`தவறான சரம்: "${U.suffix}" இல் முடிவடைய வேண்டும்`;if(U.format==="includes")return`தவறான சரம்: "${U.includes}" ஐ உள்ளடக்க வேண்டும்`;if(U.format==="regex")return`தவறான சரம்: ${U.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${q[U.format]??J.format}`}case"not_multiple_of":return`தவறான எண்: ${J.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${J.keys.length>1?"கள்":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${J.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};var Ko=e(()=>{y0()});function hE(){return{localeError:lx0()}}var lx0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function Y(J){return $[J]??null}let q={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},z={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${J.expected} แต่ได้รับ ${Q}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${U} แต่ได้รับ ${Q}`}case"invalid_value":if(J.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${O0(J.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"ไม่เกิน":"น้อยกว่า",I=Y(J.origin);if(I)return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${U} ${J.maximum.toString()} ${I.unit??"รายการ"}`;return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${U} ${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?"อย่างน้อย":"มากกว่า",I=Y(J.origin);if(I)return`น้อยกว่ากำหนด: ${J.origin} ควรมี${U} ${J.minimum.toString()} ${I.unit}`;return`น้อยกว่ากำหนด: ${J.origin} ควรมี${U} ${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${U.prefix}"`;if(U.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${U.suffix}"`;if(U.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${U.includes}" อยู่ในข้อความ`;if(U.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${U.pattern}`;return`รูปแบบไม่ถูกต้อง: ${q[U.format]??J.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${J.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${I0(J.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${J.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${J.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};var Go=e(()=>{y0()});function gE(){return{localeError:ox0()}}var ox0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function Y(J){return $[J]??null}let q={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Geçersiz değer: beklenen instanceof ${J.expected}, alınan ${Q}`;return`Geçersiz değer: beklenen ${U}, alınan ${Q}`}case"invalid_value":if(J.values.length===1)return`Geçersiz değer: beklenen ${O0(J.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Çok büyük: beklenen ${J.origin??"değer"} ${U}${J.maximum.toString()} ${I.unit??"öğe"}`;return`Çok büyük: beklenen ${J.origin??"değer"} ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Çok küçük: beklenen ${J.origin} ${U}${J.minimum.toString()} ${I.unit}`;return`Çok küçük: beklenen ${J.origin} ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Geçersiz metin: "${U.prefix}" ile başlamalı`;if(U.format==="ends_with")return`Geçersiz metin: "${U.suffix}" ile bitmeli`;if(U.format==="includes")return`Geçersiz metin: "${U.includes}" içermeli`;if(U.format==="regex")return`Geçersiz metin: ${U.pattern} desenine uymalı`;return`Geçersiz ${q[U.format]??J.format}`}case"not_multiple_of":return`Geçersiz sayı: ${J.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${J.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};var Ho=e(()=>{y0()});function JQ(){return{localeError:rx0()}}var rx0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function Y(J){return $[J]??null}let q={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},z={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Неправильні вхідні дані: очікується instanceof ${J.expected}, отримано ${Q}`;return`Неправильні вхідні дані: очікується ${U}, отримано ${Q}`}case"invalid_value":if(J.values.length===1)return`Неправильні вхідні дані: очікується ${O0(J.values[0])}`;return`Неправильна опція: очікується одне з ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Занадто велике: очікується, що ${J.origin??"значення"} ${I.verb} ${U}${J.maximum.toString()} ${I.unit??"елементів"}`;return`Занадто велике: очікується, що ${J.origin??"значення"} буде ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Занадто мале: очікується, що ${J.origin} ${I.verb} ${U}${J.minimum.toString()} ${I.unit}`;return`Занадто мале: очікується, що ${J.origin} буде ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Неправильний рядок: повинен починатися з "${U.prefix}"`;if(U.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${U.suffix}"`;if(U.format==="includes")return`Неправильний рядок: повинен містити "${U.includes}"`;if(U.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${U.pattern}`;return`Неправильний ${q[U.format]??J.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${J.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${J.keys.length>1?"і":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${J.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${J.origin}`;default:return"Неправильні вхідні дані"}}};var SE=e(()=>{y0()});function yE(){return JQ()}var Zo=e(()=>{SE()});function xE(){return{localeError:sx0()}}var sx0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function Y(J){return $[J]??null}let q={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},z={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`غلط ان پٹ: instanceof ${J.expected} متوقع تھا، ${Q} موصول ہوا`;return`غلط ان پٹ: ${U} متوقع تھا، ${Q} موصول ہوا`}case"invalid_value":if(J.values.length===1)return`غلط ان پٹ: ${O0(J.values[0])} متوقع تھا`;return`غلط آپشن: ${I0(J.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`بہت بڑا: ${J.origin??"ویلیو"} کے ${U}${J.maximum.toString()} ${I.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${J.origin??"ویلیو"} کا ${U}${J.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`بہت چھوٹا: ${J.origin} کے ${U}${J.minimum.toString()} ${I.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${J.origin} کا ${U}${J.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`غلط سٹرنگ: "${U.prefix}" سے شروع ہونا چاہیے`;if(U.format==="ends_with")return`غلط سٹرنگ: "${U.suffix}" پر ختم ہونا چاہیے`;if(U.format==="includes")return`غلط سٹرنگ: "${U.includes}" شامل ہونا چاہیے`;if(U.format==="regex")return`غلط سٹرنگ: پیٹرن ${U.pattern} سے میچ ہونا چاہیے`;return`غلط ${q[U.format]??J.format}`}case"not_multiple_of":return`غلط نمبر: ${J.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${J.keys.length>1?"ز":""}: ${I0(J.keys,"، ")}`;case"invalid_key":return`${J.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${J.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};var Wo=e(()=>{y0()});function kE(){return{localeError:tx0()}}var tx0=()=>{let $={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function Y(J){return $[J]??null}let q={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},z={nan:"NaN",number:"raqam",array:"massiv"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${J.expected}, qabul qilingan ${Q}`;return`Noto‘g‘ri kirish: kutilgan ${U}, qabul qilingan ${Q}`}case"invalid_value":if(J.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${O0(J.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Juda katta: kutilgan ${J.origin??"qiymat"} ${U}${J.maximum.toString()} ${I.unit} ${I.verb}`;return`Juda katta: kutilgan ${J.origin??"qiymat"} ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Juda kichik: kutilgan ${J.origin} ${U}${J.minimum.toString()} ${I.unit} ${I.verb}`;return`Juda kichik: kutilgan ${J.origin} ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Noto‘g‘ri satr: "${U.prefix}" bilan boshlanishi kerak`;if(U.format==="ends_with")return`Noto‘g‘ri satr: "${U.suffix}" bilan tugashi kerak`;if(U.format==="includes")return`Noto‘g‘ri satr: "${U.includes}" ni o‘z ichiga olishi kerak`;if(U.format==="regex")return`Noto‘g‘ri satr: ${U.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${q[U.format]??J.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${J.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${J.keys.length>1?"lar":""}: ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${J.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};var Xo=e(()=>{y0()});function uE(){return{localeError:ax0()}}var ax0=()=>{let $={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function Y(J){return $[J]??null}let q={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},z={nan:"NaN",number:"số",array:"mảng"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${J.expected}, nhận được ${Q}`;return`Đầu vào không hợp lệ: mong đợi ${U}, nhận được ${Q}`}case"invalid_value":if(J.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${O0(J.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${I.verb} ${U}${J.maximum.toString()} ${I.unit??"phần tử"}`;return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Quá nhỏ: mong đợi ${J.origin} ${I.verb} ${U}${J.minimum.toString()} ${I.unit}`;return`Quá nhỏ: mong đợi ${J.origin} ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${U.prefix}"`;if(U.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${U.suffix}"`;if(U.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${U.includes}"`;if(U.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${U.pattern}`;return`${q[U.format]??J.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${J.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${I0(J.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${J.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${J.origin}`;default:return"Đầu vào không hợp lệ"}}};var Vo=e(()=>{y0()});function fE(){return{localeError:ex0()}}var ex0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function Y(J){return $[J]??null}let q={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},z={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`无效输入:期望 instanceof ${J.expected},实际接收 ${Q}`;return`无效输入:期望 ${U},实际接收 ${Q}`}case"invalid_value":if(J.values.length===1)return`无效输入:期望 ${O0(J.values[0])}`;return`无效选项:期望以下之一 ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`数值过大:期望 ${J.origin??"值"} ${U}${J.maximum.toString()} ${I.unit??"个元素"}`;return`数值过大:期望 ${J.origin??"值"} ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`数值过小:期望 ${J.origin} ${U}${J.minimum.toString()} ${I.unit}`;return`数值过小:期望 ${J.origin} ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`无效字符串:必须以 "${U.prefix}" 开头`;if(U.format==="ends_with")return`无效字符串:必须以 "${U.suffix}" 结尾`;if(U.format==="includes")return`无效字符串:必须包含 "${U.includes}"`;if(U.format==="regex")return`无效字符串:必须满足正则表达式 ${U.pattern}`;return`无效${q[U.format]??J.format}`}case"not_multiple_of":return`无效数字:必须是 ${J.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${I0(J.keys,", ")}`;case"invalid_key":return`${J.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${J.origin} 中包含无效值(value)`;default:return"无效输入"}}};var Lo=e(()=>{y0()});function bE(){return{localeError:$k0()}}var $k0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function Y(J){return $[J]??null}let q={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},z={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`無效的輸入值:預期為 instanceof ${J.expected},但收到 ${Q}`;return`無效的輸入值:預期為 ${U},但收到 ${Q}`}case"invalid_value":if(J.values.length===1)return`無效的輸入值:預期為 ${O0(J.values[0])}`;return`無效的選項:預期為以下其中之一 ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`數值過大:預期 ${J.origin??"值"} 應為 ${U}${J.maximum.toString()} ${I.unit??"個元素"}`;return`數值過大:預期 ${J.origin??"值"} 應為 ${U}${J.maximum.toString()}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`數值過小:預期 ${J.origin} 應為 ${U}${J.minimum.toString()} ${I.unit}`;return`數值過小:預期 ${J.origin} 應為 ${U}${J.minimum.toString()}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`無效的字串:必須以 "${U.prefix}" 開頭`;if(U.format==="ends_with")return`無效的字串:必須以 "${U.suffix}" 結尾`;if(U.format==="includes")return`無效的字串:必須包含 "${U.includes}"`;if(U.format==="regex")return`無效的字串:必須符合格式 ${U.pattern}`;return`無效的 ${q[U.format]??J.format}`}case"not_multiple_of":return`無效的數字:必須為 ${J.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${J.keys.length>1?"們":""}:${I0(J.keys,"、")}`;case"invalid_key":return`${J.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${J.origin} 中有無效的值`;default:return"無效的輸入值"}}};var wo=e(()=>{y0()});function iE(){return{localeError:Yk0()}}var Yk0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function Y(J){return $[J]??null}let q={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},z={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(J)=>{switch(J.code){case"invalid_type":{let U=z[J.expected]??J.expected,I=N0(J.input),Q=z[I]??I;if(/^[A-Z]/.test(J.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${J.expected}, àmọ̀ a rí ${Q}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${U}, àmọ̀ a rí ${Q}`}case"invalid_value":if(J.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${O0(J.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${I0(J.values,"|")}`;case"too_big":{let U=J.inclusive?"<=":"<",I=Y(J.origin);if(I)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${J.origin??"iye"} ${I.verb} ${U}${J.maximum} ${I.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${U}${J.maximum}`}case"too_small":{let U=J.inclusive?">=":">",I=Y(J.origin);if(I)return`Kéré ju: a ní láti jẹ́ pé ${J.origin} ${I.verb} ${U}${J.minimum} ${I.unit}`;return`Kéré ju: a ní láti jẹ́ ${U}${J.minimum}`}case"invalid_format":{let U=J;if(U.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${U.prefix}"`;if(U.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${U.suffix}"`;if(U.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${U.includes}"`;if(U.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${U.pattern}`;return`Aṣìṣe: ${q[U.format]??J.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${J.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${I0(J.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${J.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${J.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};var Fo=e(()=>{y0()});var UQ={};$$(UQ,{zhTW:()=>bE,zhCN:()=>fE,yo:()=>iE,vi:()=>uE,uz:()=>kE,ur:()=>xE,uk:()=>JQ,ua:()=>yE,tr:()=>gE,th:()=>hE,ta:()=>vE,sv:()=>CE,sl:()=>RE,ru:()=>_E,ro:()=>jE,pt:()=>EE,ps:()=>BE,pl:()=>TE,ota:()=>AE,no:()=>PE,nl:()=>DE,ms:()=>NE,mk:()=>ME,lt:()=>OE,ko:()=>FE,km:()=>qQ,kh:()=>wE,ka:()=>VE,ja:()=>XE,it:()=>WE,is:()=>ZE,id:()=>HE,hy:()=>GE,hu:()=>KE,hr:()=>QE,he:()=>IE,frCA:()=>UE,fr:()=>JE,fi:()=>zE,fa:()=>qE,es:()=>YE,eo:()=>$E,en:()=>YQ,el:()=>aT,de:()=>tT,da:()=>sT,cs:()=>rT,ca:()=>oT,bg:()=>lT,be:()=>mT,az:()=>dT,ar:()=>pT});var nE=e(()=>{Ml();Nl();Pl();Al();Bl();Tl();El();jl();_l();eT();Rl();Cl();vl();hl();gl();Sl();yl();xl();kl();fl();bl();il();nl();cl();pl();dl();LE();ml();ol();rl();sl();tl();al();el();$o();Yo();qo();zo();Uo();Io();Qo();Ko();Go();Ho();Zo();SE();Wo();Xo();Vo();Lo();wo();Fo()});class dE{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...Y){let q=Y[0];if(this._map.set($,q),q&&typeof q==="object"&&"id"in q)this._idmap.set(q.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let Y=this._map.get($);if(Y&&typeof Y==="object"&&"id"in Y)this._idmap.delete(Y.id);return this._map.delete($),this}get($){let Y=$._zod.parent;if(Y){let q={...this.get(Y)??{}};delete q.id;let z={...q,...this._map.get($)};return Object.keys(z).length?z:void 0}return this._map.get($)}has($){return this._map.has($)}}function QX(){return new dE}var Oo,cE,pE,g6;var IQ=e(()=>{cE=Symbol("ZodOutput"),pE=Symbol("ZodInput");(Oo=globalThis).__zod_globalRegistry??(Oo.__zod_globalRegistry=QX());g6=globalThis.__zod_globalRegistry});function mE($,Y){return new $({type:"string",...B0(Y)})}function lE($,Y){return new $({type:"string",coerce:!0,...B0(Y)})}function KX($,Y){return new $({type:"string",format:"email",check:"string_format",abort:!1,...B0(Y)})}function QQ($,Y){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...B0(Y)})}function GX($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...B0(Y)})}function HX($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...B0(Y)})}function ZX($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...B0(Y)})}function WX($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...B0(Y)})}function KQ($,Y){return new $({type:"string",format:"url",check:"string_format",abort:!1,...B0(Y)})}function XX($,Y){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...B0(Y)})}function VX($,Y){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...B0(Y)})}function LX($,Y){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...B0(Y)})}function wX($,Y){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...B0(Y)})}function FX($,Y){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...B0(Y)})}function OX($,Y){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...B0(Y)})}function MX($,Y){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...B0(Y)})}function NX($,Y){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...B0(Y)})}function DX($,Y){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...B0(Y)})}function oE($,Y){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...B0(Y)})}function PX($,Y){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...B0(Y)})}function AX($,Y){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...B0(Y)})}function BX($,Y){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...B0(Y)})}function TX($,Y){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...B0(Y)})}function EX($,Y){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...B0(Y)})}function jX($,Y){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...B0(Y)})}function sE($,Y){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...B0(Y)})}function tE($,Y){return new $({type:"string",format:"date",check:"string_format",...B0(Y)})}function aE($,Y){return new $({type:"string",format:"time",check:"string_format",precision:null,...B0(Y)})}function eE($,Y){return new $({type:"string",format:"duration",check:"string_format",...B0(Y)})}function $j($,Y){return new $({type:"number",checks:[],...B0(Y)})}function Yj($,Y){return new $({type:"number",coerce:!0,checks:[],...B0(Y)})}function qj($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...B0(Y)})}function zj($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...B0(Y)})}function Jj($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...B0(Y)})}function Uj($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...B0(Y)})}function Ij($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...B0(Y)})}function Qj($,Y){return new $({type:"boolean",...B0(Y)})}function Kj($,Y){return new $({type:"boolean",coerce:!0,...B0(Y)})}function Gj($,Y){return new $({type:"bigint",...B0(Y)})}function Hj($,Y){return new $({type:"bigint",coerce:!0,...B0(Y)})}function Zj($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...B0(Y)})}function Wj($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...B0(Y)})}function Xj($,Y){return new $({type:"symbol",...B0(Y)})}function Vj($,Y){return new $({type:"undefined",...B0(Y)})}function Lj($,Y){return new $({type:"null",...B0(Y)})}function wj($){return new $({type:"any"})}function Fj($){return new $({type:"unknown"})}function Oj($,Y){return new $({type:"never",...B0(Y)})}function Mj($,Y){return new $({type:"void",...B0(Y)})}function Nj($,Y){return new $({type:"date",...B0(Y)})}function Dj($,Y){return new $({type:"date",coerce:!0,...B0(Y)})}function Pj($,Y){return new $({type:"nan",...B0(Y)})}function E5($,Y){return new oW({check:"less_than",...B0(Y),value:$,inclusive:!1})}function q$($,Y){return new oW({check:"less_than",...B0(Y),value:$,inclusive:!0})}function j5($,Y){return new rW({check:"greater_than",...B0(Y),value:$,inclusive:!1})}function w8($,Y){return new rW({check:"greater_than",...B0(Y),value:$,inclusive:!0})}function _X($){return j5(0,$)}function RX($){return E5(0,$)}function CX($){return q$(0,$)}function vX($){return w8(0,$)}function _3($,Y){return new XB({check:"multiple_of",...B0(Y),value:$})}function R3($,Y){return new wB({check:"max_size",...B0(Y),maximum:$})}function _5($,Y){return new FB({check:"min_size",...B0(Y),minimum:$})}function D2($,Y){return new OB({check:"size_equals",...B0(Y),size:$})}function P2($,Y){return new MB({check:"max_length",...B0(Y),maximum:$})}function M9($,Y){return new NB({check:"min_length",...B0(Y),minimum:$})}function A2($,Y){return new DB({check:"length_equals",...B0(Y),length:$})}function bq($,Y){return new PB({check:"string_format",format:"regex",...B0(Y),pattern:$})}function iq($){return new AB({check:"string_format",format:"lowercase",...B0($)})}function nq($){return new BB({check:"string_format",format:"uppercase",...B0($)})}function cq($,Y){return new TB({check:"string_format",format:"includes",...B0(Y),includes:$})}function pq($,Y){return new EB({check:"string_format",format:"starts_with",...B0(Y),prefix:$})}function dq($,Y){return new jB({check:"string_format",format:"ends_with",...B0(Y),suffix:$})}function hX($,Y,q){return new _B({check:"property",property:$,schema:Y,...B0(q)})}function mq($,Y){return new RB({check:"mime_type",mime:$,...B0(Y)})}function t$($){return new CB({check:"overwrite",tx:$})}function lq($){return t$((Y)=>Y.normalize($))}function oq(){return t$(($)=>$.trim())}function rq(){return t$(($)=>$.toLowerCase())}function sq(){return t$(($)=>$.toUpperCase())}function tq(){return t$(($)=>EA($))}function Aj($,Y,q){return new $({type:"array",element:Y,...B0(q)})}function zk0($,Y,q){return new $({type:"union",options:Y,...B0(q)})}function Jk0($,Y,q){return new $({type:"union",options:Y,inclusive:!1,...B0(q)})}function Uk0($,Y,q,z){return new $({type:"union",options:q,discriminator:Y,...B0(z)})}function Ik0($,Y,q){return new $({type:"intersection",left:Y,right:q})}function Qk0($,Y,q,z){let J=q instanceof s0;return new $({type:"tuple",items:Y,rest:J?q:null,...B0(J?z:q)})}function Kk0($,Y,q,z){return new $({type:"record",keyType:Y,valueType:q,...B0(z)})}function Gk0($,Y,q,z){return new $({type:"map",keyType:Y,valueType:q,...B0(z)})}function Hk0($,Y,q){return new $({type:"set",valueType:Y,...B0(q)})}function Zk0($,Y,q){let z=Array.isArray(Y)?Object.fromEntries(Y.map((J)=>[J,J])):Y;return new $({type:"enum",entries:z,...B0(q)})}function Wk0($,Y,q){return new $({type:"enum",entries:Y,...B0(q)})}function Xk0($,Y,q){return new $({type:"literal",values:Array.isArray(Y)?Y:[Y],...B0(q)})}function Bj($,Y){return new $({type:"file",...B0(Y)})}function Vk0($,Y){return new $({type:"transform",transform:Y})}function Lk0($,Y){return new $({type:"optional",innerType:Y})}function wk0($,Y){return new $({type:"nullable",innerType:Y})}function Fk0($,Y,q){return new $({type:"default",innerType:Y,get defaultValue(){return typeof q==="function"?q():_A(q)}})}function Ok0($,Y,q){return new $({type:"nonoptional",innerType:Y,...B0(q)})}function Mk0($,Y){return new $({type:"success",innerType:Y})}function Nk0($,Y,q){return new $({type:"catch",innerType:Y,catchValue:typeof q==="function"?q:()=>q})}function Dk0($,Y,q){return new $({type:"pipe",in:Y,out:q})}function Pk0($,Y){return new $({type:"readonly",innerType:Y})}function Ak0($,Y,q){return new $({type:"template_literal",parts:Y,...B0(q)})}function Bk0($,Y){return new $({type:"lazy",getter:Y})}function Tk0($,Y){return new $({type:"promise",innerType:Y})}function Tj($,Y,q){let z=B0(q);return z.abort??(z.abort=!0),new $({type:"custom",check:"custom",fn:Y,...z})}function Ej($,Y,q){return new $({type:"custom",check:"custom",fn:Y,...B0(q)})}function jj($,Y){let q=Mo((z)=>{return z.addIssue=(J)=>{if(typeof J==="string")z.issues.push(hq(J,z.value,q._zod.def));else{let U=J;if(U.fatal)U.continue=!1;U.code??(U.code="custom"),U.input??(U.input=z.value),U.inst??(U.inst=q),U.continue??(U.continue=!q._zod.def.abort),z.issues.push(hq(U))}},$(z.value,z)},Y);return q}function Mo($,Y){let q=new Q4({check:"custom",...B0(Y)});return q._zod.check=$,q}function _j($){let Y=new Q4({check:"describe"});return Y._zod.onattach=[(q)=>{let z=g6.get(q)??{};g6.add(q,{...z,description:$})}],Y._zod.check=()=>{},Y}function Rj($){let Y=new Q4({check:"meta"});return Y._zod.onattach=[(q)=>{let z=g6.get(q)??{};g6.add(q,{...z,...$})}],Y._zod.check=()=>{},Y}function Cj($,Y){let q=B0(Y),z=q.truthy??["true","1","yes","on","y","enabled"],J=q.falsy??["false","0","no","off","n","disabled"];if(q.case!=="sensitive")z=z.map((X)=>typeof X==="string"?X.toLowerCase():X),J=J.map((X)=>typeof X==="string"?X.toLowerCase():X);let U=new Set(z),I=new Set(J),Q=$.Codec??$Q,K=$.Boolean??aI,H=new($.String??N2)({type:"string",error:q.error}),Z=new K({type:"boolean",error:q.error}),V=new Q({type:"pipe",in:H,out:Z,transform:(X,L)=>{let w=X;if(q.case!=="sensitive")w=w.toLowerCase();if(U.has(w))return!0;else if(I.has(w))return!1;else return L.issues.push({code:"invalid_value",expected:"stringbool",values:[...U,...I],input:L.value,inst:V,continue:!1}),{}},reverseTransform:(X,L)=>{if(X===!0)return z[0]||"true";else return J[0]||"false"},error:q.error});return V}function aq($,Y,q,z={}){let J=B0(z),U={...B0(z),check:"string_format",type:"string",format:Y,fn:typeof q==="function"?q:(Q)=>q.test(Q),...J};if(q instanceof RegExp)U.pattern=q;return new $(U)}var rE;var No=e(()=>{sW();IQ();cT();y0();rE={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function C3($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??g6,target:Y,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function s1($,Y,q={path:[],schemaPath:[]}){var z;let J=$._zod.def,U=Y.seen.get($);if(U){if(U.count++,q.schemaPath.includes($))U.cycle=q.path;return U.schema}let I={schema:{},count:1,cycle:void 0,path:q.path};Y.seen.set($,I);let Q=$._zod.toJSONSchema?.();if(Q)I.schema=Q;else{let H={...q,schemaPath:[...q.schemaPath,$],path:q.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(Y,I.schema,H);else{let V=I.schema,X=Y.processors[J.type];if(!X)throw Error(`[toJSONSchema]: Non-representable type encountered: ${J.type}`);X($,Y,V,H)}let Z=$._zod.parent;if(Z){if(!I.ref)I.ref=Z;s1(Z,Y,H),Y.seen.get(Z).isParent=!0}}let K=Y.metadataRegistry.get($);if(K)Object.assign(I.schema,K);if(Y.io==="input"&&F8($))delete I.schema.examples,delete I.schema.default;if(Y.io==="input"&&"_prefault"in I.schema)(z=I.schema).default??(z.default=I.schema._prefault);return delete I.schema._prefault,Y.seen.get($).schema}function v3($,Y){let q=$.seen.get(Y);if(!q)throw Error("Unprocessed schema. This is a bug in Zod.");let z=new Map;for(let I of $.seen.entries()){let Q=$.metadataRegistry.get(I[0])?.id;if(Q){let K=z.get(Q);if(K&&K!==I[0])throw Error(`Duplicate schema id "${Q}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);z.set(Q,I[0])}}let J=(I)=>{let Q=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let Z=$.external.registry.get(I[0])?.id,V=$.external.uri??((L)=>L);if(Z)return{ref:V(Z)};let X=I[1].defId??I[1].schema.id??`schema${$.counter++}`;return I[1].defId=X,{defId:X,ref:`${V("__shared")}#/${Q}/${X}`}}if(I[1]===q)return{ref:"#"};let G=`${"#"}/${Q}/`,H=I[1].schema.id??`__schema${$.counter++}`;return{defId:H,ref:G+H}},U=(I)=>{if(I[1].schema.$ref)return;let Q=I[1],{ref:K,defId:G}=J(I);if(Q.def={...Q.schema},G)Q.defId=G;let H=Q.schema;for(let Z in H)delete H[Z];H.$ref=K};if($.cycles==="throw")for(let I of $.seen.entries()){let Q=I[1];if(Q.cycle)throw Error(`Cycle detected: #/${Q.cycle?.join("/")}/<root>
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let I of $.seen.entries()){let Q=I[1];if(Y===I[0]){U(I);continue}if($.external){let G=$.external.registry.get(I[0])?.id;if(Y!==I[0]&&G){U(I);continue}}if($.metadataRegistry.get(I[0])?.id){U(I);continue}if(Q.cycle){U(I);continue}if(Q.count>1){if($.reused==="ref"){U(I);continue}}}}function h3($,Y){let q=$.seen.get(Y);if(!q)throw Error("Unprocessed schema. This is a bug in Zod.");let z=(Q)=>{let K=$.seen.get(Q);if(K.ref===null)return;let G=K.def??K.schema,H={...G},Z=K.ref;if(K.ref=null,Z){z(Z);let X=$.seen.get(Z),L=X.schema;if(L.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))G.allOf=G.allOf??[],G.allOf.push(L);else Object.assign(G,L);if(Object.assign(G,H),Q._zod.parent===Z)for(let F in G){if(F==="$ref"||F==="allOf")continue;if(!(F in H))delete G[F]}if(L.$ref&&X.def)for(let F in G){if(F==="$ref"||F==="allOf")continue;if(F in X.def&&JSON.stringify(G[F])===JSON.stringify(X.def[F]))delete G[F]}}let V=Q._zod.parent;if(V&&V!==Z){z(V);let X=$.seen.get(V);if(X?.schema.$ref){if(G.$ref=X.schema.$ref,X.def)for(let L in G){if(L==="$ref"||L==="allOf")continue;if(L in X.def&&JSON.stringify(G[L])===JSON.stringify(X.def[L]))delete G[L]}}}$.override({zodSchema:Q,jsonSchema:G,path:K.path??[]})};for(let Q of[...$.seen.entries()].reverse())z(Q[0]);let J={};if($.target==="draft-2020-12")J.$schema="https://json-schema.org/draft/2020-12/schema";else if($.target==="draft-07")J.$schema="http://json-schema.org/draft-07/schema#";else if($.target==="draft-04")J.$schema="http://json-schema.org/draft-04/schema#";else if($.target==="openapi-3.0");if($.external?.uri){let Q=$.external.registry.get(Y)?.id;if(!Q)throw Error("Schema is missing an `id` property");J.$id=$.external.uri(Q)}Object.assign(J,q.def??q.schema);let U=$.metadataRegistry.get(Y)?.id;if(U!==void 0&&J.id===U)delete J.id;let I=$.external?.defs??{};for(let Q of $.seen.entries()){let K=Q[1];if(K.def&&K.defId){if(K.def.id===K.defId)delete K.def.id;I[K.defId]=K.def}}if($.external);else if(Object.keys(I).length>0)if($.target==="draft-2020-12")J.$defs=I;else J.definitions=I;try{let Q=JSON.parse(JSON.stringify(J));return Object.defineProperty(Q,"~standard",{value:{...Y["~standard"],jsonSchema:{input:eq(Y,"input",$.processors),output:eq(Y,"output",$.processors)}},enumerable:!1,writable:!1}),Q}catch(Q){throw Error("Error converting schema to JSON.")}}function F8($,Y){let q=Y??{seen:new Set};if(q.seen.has($))return!1;q.seen.add($);let z=$._zod.def;if(z.type==="transform")return!0;if(z.type==="array")return F8(z.element,q);if(z.type==="set")return F8(z.valueType,q);if(z.type==="lazy")return F8(z.getter(),q);if(z.type==="promise"||z.type==="optional"||z.type==="nonoptional"||z.type==="nullable"||z.type==="readonly"||z.type==="default"||z.type==="prefault")return F8(z.innerType,q);if(z.type==="intersection")return F8(z.left,q)||F8(z.right,q);if(z.type==="record"||z.type==="map")return F8(z.keyType,q)||F8(z.valueType,q);if(z.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return F8(z.in,q)||F8(z.out,q)}if(z.type==="object"){for(let J in z.shape)if(F8(z.shape[J],q))return!0;return!1}if(z.type==="union"){for(let J of z.options)if(F8(J,q))return!0;return!1}if(z.type==="tuple"){for(let J of z.items)if(F8(J,q))return!0;if(z.rest&&F8(z.rest,q))return!0;return!1}return!1}var vj=($,Y={})=>(q)=>{let z=C3({...q,processors:Y});return s1($,z),v3(z,$),h3(z,$)},eq=($,Y,q={})=>(z)=>{let{libraryOptions:J,target:U}=z??{},I=C3({...J??{},target:U,io:Y,processors:q});return s1($,I),v3(I,$),h3(I,$)};var GQ=e(()=>{IQ()});function xX($,Y){if("_idmap"in $){let z=$,J=C3({...Y,processors:gX}),U={};for(let K of z._idmap.entries()){let[G,H]=K;s1(H,J)}let I={},Q={registry:z,uri:Y?.uri,defs:U};J.external=Q;for(let K of z._idmap.entries()){let[G,H]=K;v3(J,H),I[G]=h3(J,H)}if(Object.keys(U).length>0){let K=J.target==="draft-2020-12"?"$defs":"definitions";I.__shared={[K]:U}}return{schemas:I}}let q=C3({...Y,processors:gX});return s1($,q),v3(q,$),h3(q,$)}var Ek0,hj=($,Y,q,z)=>{let J=q;J.type="string";let{minimum:U,maximum:I,format:Q,patterns:K,contentEncoding:G}=$._zod.bag;if(typeof U==="number")J.minLength=U;if(typeof I==="number")J.maxLength=I;if(Q){if(J.format=Ek0[Q]??Q,J.format==="")delete J.format;if(Q==="time")delete J.format}if(G)J.contentEncoding=G;if(K&&K.size>0){let H=[...K];if(H.length===1)J.pattern=H[0].source;else if(H.length>1)J.allOf=[...H.map((Z)=>({...Y.target==="draft-07"||Y.target==="draft-04"||Y.target==="openapi-3.0"?{type:"string"}:{},pattern:Z.source}))]}},gj=($,Y,q,z)=>{let J=q,{minimum:U,maximum:I,format:Q,multipleOf:K,exclusiveMaximum:G,exclusiveMinimum:H}=$._zod.bag;if(typeof Q==="string"&&Q.includes("int"))J.type="integer";else J.type="number";let Z=typeof H==="number"&&H>=(U??Number.NEGATIVE_INFINITY),V=typeof G==="number"&&G<=(I??Number.POSITIVE_INFINITY),X=Y.target==="draft-04"||Y.target==="openapi-3.0";if(Z)if(X)J.minimum=H,J.exclusiveMinimum=!0;else J.exclusiveMinimum=H;else if(typeof U==="number")J.minimum=U;if(V)if(X)J.maximum=G,J.exclusiveMaximum=!0;else J.exclusiveMaximum=G;else if(typeof I==="number")J.maximum=I;if(typeof K==="number")J.multipleOf=K},Sj=($,Y,q,z)=>{q.type="boolean"},yj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},xj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},kj=($,Y,q,z)=>{if(Y.target==="openapi-3.0")q.type="string",q.nullable=!0,q.enum=[null];else q.type="null"},uj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},fj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},bj=($,Y,q,z)=>{q.not={}},ij=($,Y,q,z)=>{},nj=($,Y,q,z)=>{},cj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},pj=($,Y,q,z)=>{let J=$._zod.def,U=uI(J.entries);if(U.every((I)=>typeof I==="number"))q.type="number";if(U.every((I)=>typeof I==="string"))q.type="string";q.enum=U},dj=($,Y,q,z)=>{let J=$._zod.def,U=[];for(let I of J.values)if(I===void 0){if(Y.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof I==="bigint")if(Y.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else U.push(Number(I));else U.push(I);if(U.length===0);else if(U.length===1){let I=U[0];if(q.type=I===null?"null":typeof I,Y.target==="draft-04"||Y.target==="openapi-3.0")q.enum=[I];else q.const=I}else{if(U.every((I)=>typeof I==="number"))q.type="number";if(U.every((I)=>typeof I==="string"))q.type="string";if(U.every((I)=>typeof I==="boolean"))q.type="boolean";if(U.every((I)=>I===null))q.type="null";q.enum=U}},mj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},lj=($,Y,q,z)=>{let J=q,U=$._zod.pattern;if(!U)throw Error("Pattern not found in template literal");J.type="string",J.pattern=U.source},oj=($,Y,q,z)=>{let J=q,U={type:"string",format:"binary",contentEncoding:"binary"},{minimum:I,maximum:Q,mime:K}=$._zod.bag;if(I!==void 0)U.minLength=I;if(Q!==void 0)U.maxLength=Q;if(K)if(K.length===1)U.contentMediaType=K[0],Object.assign(J,U);else Object.assign(J,U),J.anyOf=K.map((G)=>({contentMediaType:G}));else Object.assign(J,U)},rj=($,Y,q,z)=>{q.type="boolean"},sj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},tj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},aj=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},ej=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},$_=($,Y,q,z)=>{if(Y.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},Y_=($,Y,q,z)=>{let J=q,U=$._zod.def,{minimum:I,maximum:Q}=$._zod.bag;if(typeof I==="number")J.minItems=I;if(typeof Q==="number")J.maxItems=Q;J.type="array",J.items=s1(U.element,Y,{...z,path:[...z.path,"items"]})},q_=($,Y,q,z)=>{let J=q,U=$._zod.def;J.type="object",J.properties={};let I=U.shape;for(let G in I)J.properties[G]=s1(I[G],Y,{...z,path:[...z.path,"properties",G]});let Q=new Set(Object.keys(I)),K=new Set([...Q].filter((G)=>{let H=U.shape[G]._zod;if(Y.io==="input")return H.optin===void 0;else return H.optout===void 0}));if(K.size>0)J.required=Array.from(K);if(U.catchall?._zod.def.type==="never")J.additionalProperties=!1;else if(!U.catchall){if(Y.io==="output")J.additionalProperties=!1}else if(U.catchall)J.additionalProperties=s1(U.catchall,Y,{...z,path:[...z.path,"additionalProperties"]})},SX=($,Y,q,z)=>{let J=$._zod.def,U=J.inclusive===!1,I=J.options.map((Q,K)=>s1(Q,Y,{...z,path:[...z.path,U?"oneOf":"anyOf",K]}));if(U)q.oneOf=I;else q.anyOf=I},z_=($,Y,q,z)=>{let J=$._zod.def,U=s1(J.left,Y,{...z,path:[...z.path,"allOf",0]}),I=s1(J.right,Y,{...z,path:[...z.path,"allOf",1]}),Q=(G)=>("allOf"in G)&&Object.keys(G).length===1,K=[...Q(U)?U.allOf:[U],...Q(I)?I.allOf:[I]];q.allOf=K},J_=($,Y,q,z)=>{let J=q,U=$._zod.def;J.type="array";let I=Y.target==="draft-2020-12"?"prefixItems":"items",Q=Y.target==="draft-2020-12"?"items":Y.target==="openapi-3.0"?"items":"additionalItems",K=U.items.map((V,X)=>s1(V,Y,{...z,path:[...z.path,I,X]})),G=U.rest?s1(U.rest,Y,{...z,path:[...z.path,Q,...Y.target==="openapi-3.0"?[U.items.length]:[]]}):null;if(Y.target==="draft-2020-12"){if(J.prefixItems=K,G)J.items=G}else if(Y.target==="openapi-3.0"){if(J.items={anyOf:K},G)J.items.anyOf.push(G);if(J.minItems=K.length,!G)J.maxItems=K.length}else if(J.items=K,G)J.additionalItems=G;let{minimum:H,maximum:Z}=$._zod.bag;if(typeof H==="number")J.minItems=H;if(typeof Z==="number")J.maxItems=Z},U_=($,Y,q,z)=>{let J=q,U=$._zod.def;J.type="object";let I=U.keyType,K=I._zod.bag?.patterns;if(U.mode==="loose"&&K&&K.size>0){let H=s1(U.valueType,Y,{...z,path:[...z.path,"patternProperties","*"]});J.patternProperties={};for(let Z of K)J.patternProperties[Z.source]=H}else{if(Y.target==="draft-07"||Y.target==="draft-2020-12")J.propertyNames=s1(U.keyType,Y,{...z,path:[...z.path,"propertyNames"]});J.additionalProperties=s1(U.valueType,Y,{...z,path:[...z.path,"additionalProperties"]})}let G=I._zod.values;if(G){let H=[...G].filter((Z)=>typeof Z==="string"||typeof Z==="number");if(H.length>0)J.required=H}},I_=($,Y,q,z)=>{let J=$._zod.def,U=s1(J.innerType,Y,z),I=Y.seen.get($);if(Y.target==="openapi-3.0")I.ref=J.innerType,q.nullable=!0;else q.anyOf=[U,{type:"null"}]},Q_=($,Y,q,z)=>{let J=$._zod.def;s1(J.innerType,Y,z);let U=Y.seen.get($);U.ref=J.innerType},K_=($,Y,q,z)=>{let J=$._zod.def;s1(J.innerType,Y,z);let U=Y.seen.get($);U.ref=J.innerType,q.default=JSON.parse(JSON.stringify(J.defaultValue))},G_=($,Y,q,z)=>{let J=$._zod.def;s1(J.innerType,Y,z);let U=Y.seen.get($);if(U.ref=J.innerType,Y.io==="input")q._prefault=JSON.parse(JSON.stringify(J.defaultValue))},H_=($,Y,q,z)=>{let J=$._zod.def;s1(J.innerType,Y,z);let U=Y.seen.get($);U.ref=J.innerType;let I;try{I=J.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}q.default=I},Z_=($,Y,q,z)=>{let J=$._zod.def,U=J.in._zod.traits.has("$ZodTransform"),I=Y.io==="input"?U?J.out:J.in:J.out;s1(I,Y,z);let Q=Y.seen.get($);Q.ref=I},W_=($,Y,q,z)=>{let J=$._zod.def;s1(J.innerType,Y,z);let U=Y.seen.get($);U.ref=J.innerType,q.readOnly=!0},X_=($,Y,q,z)=>{let J=$._zod.def;s1(J.innerType,Y,z);let U=Y.seen.get($);U.ref=J.innerType},yX=($,Y,q,z)=>{let J=$._zod.def;s1(J.innerType,Y,z);let U=Y.seen.get($);U.ref=J.innerType},V_=($,Y,q,z)=>{let J=$._zod.innerType;s1(J,Y,z);let U=Y.seen.get($);U.ref=J},gX;var HQ=e(()=>{GQ();y0();Ek0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},gX={string:hj,number:gj,boolean:Sj,bigint:yj,symbol:xj,null:kj,undefined:uj,void:fj,never:bj,any:ij,unknown:nj,date:cj,enum:pj,literal:dj,nan:mj,template_literal:lj,file:oj,success:rj,custom:sj,function:tj,transform:aj,map:ej,set:$_,array:Y_,object:q_,union:SX,intersection:z_,tuple:J_,record:U_,nullable:I_,nonoptional:Q_,default:K_,prefault:G_,catch:H_,pipe:Z_,readonly:W_,promise:X_,optional:yX,lazy:V_}});class L_{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter($){this.ctx.counter=$}get seen(){return this.ctx.seen}constructor($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";this.ctx=C3({processors:gX,target:Y,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,Y={path:[],schemaPath:[]}){return s1($,this.ctx,Y)}emit($,Y){if(Y){if(Y.cycles)this.ctx.cycles=Y.cycles;if(Y.reused)this.ctx.reused=Y.reused;if(Y.external)this.ctx.external=Y.external}v3(this.ctx,$);let q=h3(this.ctx,$),{"~standard":z,...J}=q;return J}}var Do=e(()=>{HQ();GQ()});var Po={};var Ao=()=>{};var N9={};$$(N9,{version:()=>vB,util:()=>P0,treeifyError:()=>SA,toJSONSchema:()=>xX,toDotPath:()=>fm,safeParseAsync:()=>oI,safeParse:()=>xq,safeEncodeAsync:()=>mm,safeEncode:()=>pm,safeDecodeAsync:()=>lm,safeDecode:()=>dm,registry:()=>QX,regexes:()=>Y$,process:()=>s1,prettifyError:()=>yA,parseAsync:()=>lI,parse:()=>mI,meta:()=>Rj,locales:()=>UQ,isValidJWT:()=>Ll,isValidBase64URL:()=>Vl,isValidBase64:()=>$T,initializeContext:()=>C3,globalRegistry:()=>g6,globalConfig:()=>L2,formatError:()=>dI,flattenError:()=>pI,finalize:()=>h3,extractDefs:()=>v3,encodeAsync:()=>nm,encode:()=>bm,describe:()=>_j,decodeAsync:()=>cm,decode:()=>im,createToJSONSchemaMethod:()=>vj,createStandardJSONSchemaMethod:()=>eq,config:()=>m4,clone:()=>V8,_xor:()=>Jk0,_xid:()=>OX,_void:()=>Mj,_uuidv7:()=>WX,_uuidv6:()=>ZX,_uuidv4:()=>HX,_uuid:()=>GX,_url:()=>KQ,_uppercase:()=>nq,_unknown:()=>Fj,_union:()=>zk0,_undefined:()=>Vj,_ulid:()=>FX,_uint64:()=>Wj,_uint32:()=>Ij,_tuple:()=>Qk0,_trim:()=>oq,_transform:()=>Vk0,_toUpperCase:()=>sq,_toLowerCase:()=>rq,_templateLiteral:()=>Ak0,_symbol:()=>Xj,_superRefine:()=>jj,_success:()=>Mk0,_stringbool:()=>Cj,_stringFormat:()=>aq,_string:()=>mE,_startsWith:()=>pq,_slugify:()=>tq,_size:()=>D2,_set:()=>Hk0,_safeParseAsync:()=>kq,_safeParse:()=>yq,_safeEncodeAsync:()=>pW,_safeEncode:()=>nW,_safeDecodeAsync:()=>dW,_safeDecode:()=>cW,_regex:()=>bq,_refine:()=>Ej,_record:()=>Kk0,_readonly:()=>Pk0,_property:()=>hX,_promise:()=>Tk0,_positive:()=>_X,_pipe:()=>Dk0,_parseAsync:()=>Sq,_parse:()=>gq,_overwrite:()=>t$,_optional:()=>Lk0,_number:()=>$j,_nullable:()=>wk0,_null:()=>Lj,_normalize:()=>lq,_nonpositive:()=>CX,_nonoptional:()=>Ok0,_nonnegative:()=>vX,_never:()=>Oj,_negative:()=>RX,_nativeEnum:()=>Wk0,_nanoid:()=>VX,_nan:()=>Pj,_multipleOf:()=>_3,_minSize:()=>_5,_minLength:()=>M9,_min:()=>w8,_mime:()=>mq,_maxSize:()=>R3,_maxLength:()=>P2,_max:()=>q$,_map:()=>Gk0,_mac:()=>oE,_lte:()=>q$,_lt:()=>E5,_lowercase:()=>iq,_literal:()=>Xk0,_length:()=>A2,_lazy:()=>Bk0,_ksuid:()=>MX,_jwt:()=>jX,_isoTime:()=>aE,_isoDuration:()=>eE,_isoDateTime:()=>sE,_isoDate:()=>tE,_ipv6:()=>DX,_ipv4:()=>NX,_intersection:()=>Ik0,_int64:()=>Zj,_int32:()=>Uj,_int:()=>qj,_includes:()=>cq,_guid:()=>QQ,_gte:()=>w8,_gt:()=>j5,_float64:()=>Jj,_float32:()=>zj,_file:()=>Bj,_enum:()=>Zk0,_endsWith:()=>dq,_encodeAsync:()=>bW,_encode:()=>uW,_emoji:()=>XX,_email:()=>KX,_e164:()=>EX,_discriminatedUnion:()=>Uk0,_default:()=>Fk0,_decodeAsync:()=>iW,_decode:()=>fW,_date:()=>Nj,_custom:()=>Tj,_cuid2:()=>wX,_cuid:()=>LX,_coercedString:()=>lE,_coercedNumber:()=>Yj,_coercedDate:()=>Dj,_coercedBoolean:()=>Kj,_coercedBigint:()=>Hj,_cidrv6:()=>AX,_cidrv4:()=>PX,_check:()=>Mo,_catch:()=>Nk0,_boolean:()=>Qj,_bigint:()=>Gj,_base64url:()=>TX,_base64:()=>BX,_array:()=>Aj,_any:()=>wj,TimePrecision:()=>rE,NEVER:()=>PA,JSONSchemaGenerator:()=>L_,JSONSchema:()=>Po,Doc:()=>tW,$output:()=>cE,$input:()=>pE,$constructor:()=>a,$brand:()=>AA,$ZodXor:()=>OT,$ZodXID:()=>cB,$ZodVoid:()=>VT,$ZodUnknown:()=>WT,$ZodUnion:()=>eI,$ZodUndefined:()=>GT,$ZodUUID:()=>yB,$ZodURL:()=>kB,$ZodULID:()=>nB,$ZodType:()=>s0,$ZodTuple:()=>JX,$ZodTransform:()=>jT,$ZodTemplateLiteral:()=>uT,$ZodSymbol:()=>KT,$ZodSuccess:()=>gT,$ZodStringFormat:()=>q4,$ZodString:()=>N2,$ZodSet:()=>AT,$ZodRegistry:()=>dE,$ZodRecord:()=>DT,$ZodRealError:()=>g8,$ZodReadonly:()=>kT,$ZodPromise:()=>bT,$ZodPreprocess:()=>xT,$ZodPrefault:()=>vT,$ZodPipe:()=>IX,$ZodOptional:()=>UX,$ZodObjectJIT:()=>FT,$ZodObject:()=>Ol,$ZodNumberFormat:()=>IT,$ZodNumber:()=>qX,$ZodNullable:()=>RT,$ZodNull:()=>HT,$ZodNonOptional:()=>hT,$ZodNever:()=>XT,$ZodNanoID:()=>fB,$ZodNaN:()=>yT,$ZodMap:()=>PT,$ZodMAC:()=>tB,$ZodLiteral:()=>TT,$ZodLazy:()=>iT,$ZodKSUID:()=>pB,$ZodJWT:()=>JT,$ZodIntersection:()=>NT,$ZodISOTime:()=>lB,$ZodISODuration:()=>oB,$ZodISODateTime:()=>dB,$ZodISODate:()=>mB,$ZodIPv6:()=>sB,$ZodIPv4:()=>rB,$ZodGUID:()=>SB,$ZodFunction:()=>fT,$ZodFile:()=>ET,$ZodExactOptional:()=>_T,$ZodError:()=>cI,$ZodEnum:()=>BT,$ZodEncodeError:()=>w2,$ZodEmoji:()=>uB,$ZodEmail:()=>xB,$ZodE164:()=>zT,$ZodDiscriminatedUnion:()=>MT,$ZodDefault:()=>CT,$ZodDate:()=>LT,$ZodCustomStringFormat:()=>UT,$ZodCustom:()=>nT,$ZodCodec:()=>$Q,$ZodCheckUpperCase:()=>BB,$ZodCheckStringFormat:()=>uq,$ZodCheckStartsWith:()=>EB,$ZodCheckSizeEquals:()=>OB,$ZodCheckRegex:()=>PB,$ZodCheckProperty:()=>_B,$ZodCheckOverwrite:()=>CB,$ZodCheckNumberFormat:()=>VB,$ZodCheckMultipleOf:()=>XB,$ZodCheckMinSize:()=>FB,$ZodCheckMinLength:()=>NB,$ZodCheckMimeType:()=>RB,$ZodCheckMaxSize:()=>wB,$ZodCheckMaxLength:()=>MB,$ZodCheckLowerCase:()=>AB,$ZodCheckLessThan:()=>oW,$ZodCheckLengthEquals:()=>DB,$ZodCheckIncludes:()=>TB,$ZodCheckGreaterThan:()=>rW,$ZodCheckEndsWith:()=>jB,$ZodCheckBigIntFormat:()=>LB,$ZodCheck:()=>Q4,$ZodCatch:()=>ST,$ZodCUID2:()=>iB,$ZodCUID:()=>bB,$ZodCIDRv6:()=>eB,$ZodCIDRv4:()=>aB,$ZodBoolean:()=>aI,$ZodBigIntFormat:()=>QT,$ZodBigInt:()=>zX,$ZodBase64URL:()=>qT,$ZodBase64:()=>YT,$ZodAsyncError:()=>T5,$ZodArray:()=>wT,$ZodAny:()=>ZT});var S8=e(()=>{y0();lW();nE();HQ();Do();Ao();F2();kA();xA();cT();sW();hB();IQ();No();GQ()});var uX={};$$(uX,{uppercase:()=>nq,trim:()=>oq,toUpperCase:()=>sq,toLowerCase:()=>rq,startsWith:()=>pq,slugify:()=>tq,size:()=>D2,regex:()=>bq,property:()=>hX,positive:()=>_X,overwrite:()=>t$,normalize:()=>lq,nonpositive:()=>CX,nonnegative:()=>vX,negative:()=>RX,multipleOf:()=>_3,minSize:()=>_5,minLength:()=>M9,mime:()=>mq,maxSize:()=>R3,maxLength:()=>P2,lte:()=>q$,lt:()=>E5,lowercase:()=>iq,length:()=>A2,includes:()=>cq,gte:()=>w8,gt:()=>j5,endsWith:()=>dq});var fX=e(()=>{S8()});var S3={};$$(S3,{time:()=>O_,duration:()=>M_,datetime:()=>w_,date:()=>F_,ZodISOTime:()=>nX,ZodISODuration:()=>cX,ZodISODateTime:()=>bX,ZodISODate:()=>iX});function w_($){return sE(bX,$)}function F_($){return tE(iX,$)}function O_($){return aE(nX,$)}function M_($){return eE(cX,$)}var bX,iX,nX,cX;var ZQ=e(()=>{S8();XQ();bX=a("ZodISODateTime",($,Y)=>{dB.init($,Y),z4.init($,Y)});iX=a("ZodISODate",($,Y)=>{mB.init($,Y),z4.init($,Y)});nX=a("ZodISOTime",($,Y)=>{lB.init($,Y),z4.init($,Y)});cX=a("ZodISODuration",($,Y)=>{oB.init($,Y),z4.init($,Y)})});var To=($,Y)=>{cI.init($,Y),$.name="ZodError",Object.defineProperties($,{format:{value:(q)=>dI($,q)},flatten:{value:(q)=>pI($,q)},addIssue:{value:(q)=>{$.issues.push(q),$.message=JSON.stringify($.issues,Cq,2)}},addIssues:{value:(q)=>{$.issues.push(...q),$.message=JSON.stringify($.issues,Cq,2)}},isEmpty:{get(){return $.issues.length===0}}})},_k0,y8;var N_=e(()=>{S8();S8();y0();_k0=a("ZodError",To),y8=a("ZodError",To,{Parent:Error})});var D_,P_,A_,B_,T_,E_,j_,__,R_,C_,v_,h_;var g_=e(()=>{S8();N_();D_=gq(y8),P_=Sq(y8),A_=yq(y8),B_=kq(y8),T_=uW(y8),E_=fW(y8),j_=bW(y8),__=iW(y8),R_=nW(y8),C_=cW(y8),v_=pW(y8),h_=dW(y8)});var WQ={};$$(WQ,{xor:()=>wr,xid:()=>bo,void:()=>Wr,uuidv7:()=>ho,uuidv6:()=>vo,uuidv4:()=>Co,uuid:()=>Ro,url:()=>go,unknown:()=>J4,union:()=>U4,undefined:()=>Hr,ulid:()=>fo,uint64:()=>Kr,uint32:()=>Ur,tuple:()=>l_,transform:()=>ZV,templateLiteral:()=>_r,symbol:()=>Gr,superRefine:()=>NR,success:()=>Br,stringbool:()=>yr,stringFormat:()=>ao,string:()=>Z0,strictObject:()=>Lr,set:()=>Nr,refine:()=>MR,record:()=>a1,readonly:()=>XR,promise:()=>Rr,preprocess:()=>EQ,prefault:()=>UR,pipe:()=>dX,partialRecord:()=>Fr,optional:()=>K4,object:()=>h0,number:()=>v1,nullish:()=>Ar,nullable:()=>LQ,null:()=>OQ,nonoptional:()=>IR,never:()=>HV,nativeEnum:()=>Dr,nanoid:()=>xo,nan:()=>Tr,meta:()=>gr,map:()=>Mr,mac:()=>co,looseRecord:()=>Or,looseObject:()=>S6,literal:()=>u0,lazy:()=>wR,ksuid:()=>io,keyof:()=>Vr,jwt:()=>to,json:()=>xr,ipv6:()=>po,ipv4:()=>no,invertCodec:()=>jr,intersection:()=>Kz,int64:()=>Qr,int32:()=>Jr,int:()=>pX,instanceof:()=>Sr,httpUrl:()=>So,hostname:()=>eo,hex:()=>$r,hash:()=>Yr,guid:()=>_o,function:()=>Cr,float64:()=>zr,float32:()=>qr,file:()=>Pr,exactOptional:()=>$R,enum:()=>y6,emoji:()=>yo,email:()=>jo,e164:()=>so,discriminatedUnion:()=>PQ,describe:()=>hr,date:()=>Xr,custom:()=>VV,cuid2:()=>uo,cuid:()=>ko,codec:()=>Er,cidrv6:()=>lo,cidrv4:()=>mo,check:()=>vr,catch:()=>GR,boolean:()=>t4,bigint:()=>Ir,base64url:()=>ro,base64:()=>oo,array:()=>H1,any:()=>Zr,_function:()=>Cr,_default:()=>zR,_ZodString:()=>mX,ZodXor:()=>c_,ZodXID:()=>eX,ZodVoid:()=>i_,ZodUnknown:()=>f_,ZodUnion:()=>DQ,ZodUndefined:()=>x_,ZodUUID:()=>R5,ZodURL:()=>FQ,ZodULID:()=>aX,ZodType:()=>Y1,ZodTuple:()=>m_,ZodTransform:()=>a_,ZodTemplateLiteral:()=>VR,ZodSymbol:()=>y_,ZodSuccess:()=>QR,ZodStringFormat:()=>z4,ZodString:()=>zz,ZodSet:()=>r_,ZodRecord:()=>Yz,ZodReadonly:()=>WR,ZodPromise:()=>FR,ZodPreprocess:()=>ZR,ZodPrefault:()=>JR,ZodPipe:()=>AQ,ZodOptional:()=>WV,ZodObject:()=>NQ,ZodNumberFormat:()=>B2,ZodNumber:()=>Uz,ZodNullable:()=>YR,ZodNull:()=>k_,ZodNonOptional:()=>XV,ZodNever:()=>b_,ZodNanoID:()=>rX,ZodNaN:()=>HR,ZodMap:()=>o_,ZodMAC:()=>S_,ZodLiteral:()=>s_,ZodLazy:()=>LR,ZodKSUID:()=>$V,ZodJWT:()=>KV,ZodIntersection:()=>d_,ZodIPv6:()=>qV,ZodIPv4:()=>YV,ZodGUID:()=>VQ,ZodFunction:()=>OR,ZodFile:()=>t_,ZodExactOptional:()=>e_,ZodEnum:()=>qz,ZodEmoji:()=>oX,ZodEmail:()=>lX,ZodE164:()=>QV,ZodDiscriminatedUnion:()=>p_,ZodDefault:()=>qR,ZodDate:()=>MQ,ZodCustomStringFormat:()=>Jz,ZodCustom:()=>TQ,ZodCodec:()=>BQ,ZodCatch:()=>KR,ZodCUID2:()=>tX,ZodCUID:()=>sX,ZodCIDRv6:()=>JV,ZodCIDRv4:()=>zV,ZodBoolean:()=>Iz,ZodBigIntFormat:()=>GV,ZodBigInt:()=>Qz,ZodBase64URL:()=>IV,ZodBase64:()=>UV,ZodArray:()=>n_,ZodAny:()=>u_});function wQ($,Y,q){let z=Object.getPrototypeOf($),J=Eo.get(z);if(!J)J=new Set,Eo.set(z,J);if(J.has(Y))return;J.add(Y);for(let U in q){let I=q[U];Object.defineProperty(z,U,{configurable:!0,enumerable:!1,get(){let Q=I.bind(this);return Object.defineProperty(this,U,{configurable:!0,writable:!0,enumerable:!0,value:Q}),Q},set(Q){Object.defineProperty(this,U,{configurable:!0,writable:!0,enumerable:!0,value:Q})}})}}function Z0($){return mE(zz,$)}function jo($){return KX(lX,$)}function _o($){return QQ(VQ,$)}function Ro($){return GX(R5,$)}function Co($){return HX(R5,$)}function vo($){return ZX(R5,$)}function ho($){return WX(R5,$)}function go($){return KQ(FQ,$)}function So($){return KQ(FQ,{protocol:Y$.httpProtocol,hostname:Y$.domain,...P0.normalizeParams($)})}function yo($){return XX(oX,$)}function xo($){return VX(rX,$)}function ko($){return LX(sX,$)}function uo($){return wX(tX,$)}function fo($){return FX(aX,$)}function bo($){return OX(eX,$)}function io($){return MX($V,$)}function no($){return NX(YV,$)}function co($){return oE(S_,$)}function po($){return DX(qV,$)}function mo($){return PX(zV,$)}function lo($){return AX(JV,$)}function oo($){return BX(UV,$)}function ro($){return TX(IV,$)}function so($){return EX(QV,$)}function to($){return jX(KV,$)}function ao($,Y,q={}){return aq(Jz,$,Y,q)}function eo($){return aq(Jz,"hostname",Y$.hostname,$)}function $r($){return aq(Jz,"hex",Y$.hex,$)}function Yr($,Y){let q=Y?.enc??"hex",z=`${$}_${q}`,J=Y$[z];if(!J)throw Error(`Unrecognized hash format: ${z}`);return aq(Jz,z,J,Y)}function v1($){return $j(Uz,$)}function pX($){return qj(B2,$)}function qr($){return zj(B2,$)}function zr($){return Jj(B2,$)}function Jr($){return Uj(B2,$)}function Ur($){return Ij(B2,$)}function t4($){return Qj(Iz,$)}function Ir($){return Gj(Qz,$)}function Qr($){return Zj(GV,$)}function Kr($){return Wj(GV,$)}function Gr($){return Xj(y_,$)}function Hr($){return Vj(x_,$)}function OQ($){return Lj(k_,$)}function Zr(){return wj(u_)}function J4(){return Fj(f_)}function HV($){return Oj(b_,$)}function Wr($){return Mj(i_,$)}function Xr($){return Nj(MQ,$)}function H1($,Y){return Aj(n_,$,Y)}function Vr($){let Y=$._zod.def.shape;return y6(Object.keys(Y))}function h0($,Y){let q={type:"object",shape:$??{},...P0.normalizeParams(Y)};return new NQ(q)}function Lr($,Y){return new NQ({type:"object",shape:$,catchall:HV(),...P0.normalizeParams(Y)})}function S6($,Y){return new NQ({type:"object",shape:$,catchall:J4(),...P0.normalizeParams(Y)})}function U4($,Y){return new DQ({type:"union",options:$,...P0.normalizeParams(Y)})}function wr($,Y){return new c_({type:"union",options:$,inclusive:!1,...P0.normalizeParams(Y)})}function PQ($,Y,q){return new p_({type:"union",options:Y,discriminator:$,...P0.normalizeParams(q)})}function Kz($,Y){return new d_({type:"intersection",left:$,right:Y})}function l_($,Y,q){let z=Y instanceof s0,J=z?q:Y;return new m_({type:"tuple",items:$,rest:z?Y:null,...P0.normalizeParams(J)})}function a1($,Y,q){if(!Y||!Y._zod)return new Yz({type:"record",keyType:Z0(),valueType:$,...P0.normalizeParams(Y)});return new Yz({type:"record",keyType:$,valueType:Y,...P0.normalizeParams(q)})}function Fr($,Y,q){let z=V8($);return z._zod.values=void 0,new Yz({type:"record",keyType:z,valueType:Y,...P0.normalizeParams(q)})}function Or($,Y,q){return new Yz({type:"record",keyType:$,valueType:Y,mode:"loose",...P0.normalizeParams(q)})}function Mr($,Y,q){return new o_({type:"map",keyType:$,valueType:Y,...P0.normalizeParams(q)})}function Nr($,Y){return new r_({type:"set",valueType:$,...P0.normalizeParams(Y)})}function y6($,Y){let q=Array.isArray($)?Object.fromEntries($.map((z)=>[z,z])):$;return new qz({type:"enum",entries:q,...P0.normalizeParams(Y)})}function Dr($,Y){return new qz({type:"enum",entries:$,...P0.normalizeParams(Y)})}function u0($,Y){return new s_({type:"literal",values:Array.isArray($)?$:[$],...P0.normalizeParams(Y)})}function Pr($){return Bj(t_,$)}function ZV($){return new a_({type:"transform",transform:$})}function K4($){return new WV({type:"optional",innerType:$})}function $R($){return new e_({type:"optional",innerType:$})}function LQ($){return new YR({type:"nullable",innerType:$})}function Ar($){return K4(LQ($))}function zR($,Y){return new qR({type:"default",innerType:$,get defaultValue(){return typeof Y==="function"?Y():P0.shallowClone(Y)}})}function UR($,Y){return new JR({type:"prefault",innerType:$,get defaultValue(){return typeof Y==="function"?Y():P0.shallowClone(Y)}})}function IR($,Y){return new XV({type:"nonoptional",innerType:$,...P0.normalizeParams(Y)})}function Br($){return new QR({type:"success",innerType:$})}function GR($,Y){return new KR({type:"catch",innerType:$,catchValue:typeof Y==="function"?Y:()=>Y})}function Tr($){return Pj(HR,$)}function dX($,Y){return new AQ({type:"pipe",in:$,out:Y})}function Er($,Y,q){return new BQ({type:"pipe",in:$,out:Y,transform:q.decode,reverseTransform:q.encode})}function jr($){let Y=$._zod.def;return new BQ({type:"pipe",in:Y.out,out:Y.in,transform:Y.reverseTransform,reverseTransform:Y.transform})}function XR($){return new WR({type:"readonly",innerType:$})}function _r($,Y){return new VR({type:"template_literal",parts:$,...P0.normalizeParams(Y)})}function wR($){return new LR({type:"lazy",getter:$})}function Rr($){return new FR({type:"promise",innerType:$})}function Cr($){return new OR({type:"function",input:Array.isArray($?.input)?l_($?.input):$?.input??H1(J4()),output:$?.output??J4()})}function vr($){let Y=new Q4({check:"custom"});return Y._zod.check=$,Y}function VV($,Y){return Tj(TQ,$??(()=>!0),Y)}function MR($,Y={}){return Ej(TQ,$,Y)}function NR($,Y){return jj($,Y)}function Sr($,Y={}){let q=new TQ({type:"custom",check:"custom",fn:(z)=>z instanceof $,abort:!0,...P0.normalizeParams(Y)});return q._zod.bag.Class=$,q._zod.check=(z)=>{if(!(z.value instanceof $))z.issues.push({code:"invalid_type",expected:$.name,input:z.value,inst:q,path:[...q._zod.def.path??[]]})},q}function xr($){let Y=wR(()=>{return U4([Z0($),v1(),t4(),OQ(),H1(Y),a1(Z0(),Y)])});return Y}function EQ($,Y){return new ZR({type:"pipe",in:ZV($),out:Y})}var Eo,Y1,mX,zz,z4,lX,VQ,R5,FQ,oX,rX,sX,tX,aX,eX,$V,YV,S_,qV,zV,JV,UV,IV,QV,KV,Jz,Uz,B2,Iz,Qz,GV,y_,x_,k_,u_,f_,b_,i_,MQ,n_,NQ,DQ,c_,p_,d_,m_,Yz,o_,r_,qz,s_,t_,a_,WV,e_,YR,qR,JR,XV,QR,KR,HR,AQ,BQ,ZR,WR,VR,LR,FR,OR,TQ,hr,gr,yr=(...$)=>Cj({Codec:BQ,Boolean:Iz,String:zz},...$);var XQ=e(()=>{S8();S8();HQ();GQ();fX();ZQ();g_();Eo=new WeakMap;Y1=a("ZodType",($,Y)=>{return s0.init($,Y),Object.assign($["~standard"],{jsonSchema:{input:eq($,"input"),output:eq($,"output")}}),$.toJSONSchema=vj($,{}),$.def=Y,$.type=Y.type,Object.defineProperty($,"_def",{value:Y}),$.parse=(q,z)=>D_($,q,z,{callee:$.parse}),$.safeParse=(q,z)=>A_($,q,z),$.parseAsync=async(q,z)=>P_($,q,z,{callee:$.parseAsync}),$.safeParseAsync=async(q,z)=>B_($,q,z),$.spa=$.safeParseAsync,$.encode=(q,z)=>T_($,q,z),$.decode=(q,z)=>E_($,q,z),$.encodeAsync=async(q,z)=>j_($,q,z),$.decodeAsync=async(q,z)=>__($,q,z),$.safeEncode=(q,z)=>R_($,q,z),$.safeDecode=(q,z)=>C_($,q,z),$.safeEncodeAsync=async(q,z)=>v_($,q,z),$.safeDecodeAsync=async(q,z)=>h_($,q,z),wQ($,"ZodType",{check(...q){let z=this.def;return this.clone(P0.mergeDefs(z,{checks:[...z.checks??[],...q.map((J)=>typeof J==="function"?{_zod:{check:J,def:{check:"custom"},onattach:[]}}:J)]}),{parent:!0})},with(...q){return this.check(...q)},clone(q,z){return V8(this,q,z)},brand(){return this},register(q,z){return q.add(this,z),this},refine(q,z){return this.check(MR(q,z))},superRefine(q,z){return this.check(NR(q,z))},overwrite(q){return this.check(t$(q))},optional(){return K4(this)},exactOptional(){return $R(this)},nullable(){return LQ(this)},nullish(){return K4(LQ(this))},nonoptional(q){return IR(this,q)},array(){return H1(this)},or(q){return U4([this,q])},and(q){return Kz(this,q)},transform(q){return dX(this,ZV(q))},default(q){return zR(this,q)},prefault(q){return UR(this,q)},catch(q){return GR(this,q)},pipe(q){return dX(this,q)},readonly(){return XR(this)},describe(q){let z=this.clone();return g6.add(z,{description:q}),z},meta(...q){if(q.length===0)return g6.get(this);let z=this.clone();return g6.add(z,q[0]),z},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(q){return q(this)}}),Object.defineProperty($,"description",{get(){return g6.get($)?.description},configurable:!0}),$}),mX=a("_ZodString",($,Y)=>{N2.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(z,J,U)=>hj($,z,J,U);let q=$._zod.bag;$.format=q.format??null,$.minLength=q.minimum??null,$.maxLength=q.maximum??null,wQ($,"_ZodString",{regex(...z){return this.check(bq(...z))},includes(...z){return this.check(cq(...z))},startsWith(...z){return this.check(pq(...z))},endsWith(...z){return this.check(dq(...z))},min(...z){return this.check(M9(...z))},max(...z){return this.check(P2(...z))},length(...z){return this.check(A2(...z))},nonempty(...z){return this.check(M9(1,...z))},lowercase(z){return this.check(iq(z))},uppercase(z){return this.check(nq(z))},trim(){return this.check(oq())},normalize(...z){return this.check(lq(...z))},toLowerCase(){return this.check(rq())},toUpperCase(){return this.check(sq())},slugify(){return this.check(tq())}})}),zz=a("ZodString",($,Y)=>{N2.init($,Y),mX.init($,Y),$.email=(q)=>$.check(KX(lX,q)),$.url=(q)=>$.check(KQ(FQ,q)),$.jwt=(q)=>$.check(jX(KV,q)),$.emoji=(q)=>$.check(XX(oX,q)),$.guid=(q)=>$.check(QQ(VQ,q)),$.uuid=(q)=>$.check(GX(R5,q)),$.uuidv4=(q)=>$.check(HX(R5,q)),$.uuidv6=(q)=>$.check(ZX(R5,q)),$.uuidv7=(q)=>$.check(WX(R5,q)),$.nanoid=(q)=>$.check(VX(rX,q)),$.guid=(q)=>$.check(QQ(VQ,q)),$.cuid=(q)=>$.check(LX(sX,q)),$.cuid2=(q)=>$.check(wX(tX,q)),$.ulid=(q)=>$.check(FX(aX,q)),$.base64=(q)=>$.check(BX(UV,q)),$.base64url=(q)=>$.check(TX(IV,q)),$.xid=(q)=>$.check(OX(eX,q)),$.ksuid=(q)=>$.check(MX($V,q)),$.ipv4=(q)=>$.check(NX(YV,q)),$.ipv6=(q)=>$.check(DX(qV,q)),$.cidrv4=(q)=>$.check(PX(zV,q)),$.cidrv6=(q)=>$.check(AX(JV,q)),$.e164=(q)=>$.check(EX(QV,q)),$.datetime=(q)=>$.check(w_(q)),$.date=(q)=>$.check(F_(q)),$.time=(q)=>$.check(O_(q)),$.duration=(q)=>$.check(M_(q))});z4=a("ZodStringFormat",($,Y)=>{q4.init($,Y),mX.init($,Y)}),lX=a("ZodEmail",($,Y)=>{xB.init($,Y),z4.init($,Y)});VQ=a("ZodGUID",($,Y)=>{SB.init($,Y),z4.init($,Y)});R5=a("ZodUUID",($,Y)=>{yB.init($,Y),z4.init($,Y)});FQ=a("ZodURL",($,Y)=>{kB.init($,Y),z4.init($,Y)});oX=a("ZodEmoji",($,Y)=>{uB.init($,Y),z4.init($,Y)});rX=a("ZodNanoID",($,Y)=>{fB.init($,Y),z4.init($,Y)});sX=a("ZodCUID",($,Y)=>{bB.init($,Y),z4.init($,Y)});tX=a("ZodCUID2",($,Y)=>{iB.init($,Y),z4.init($,Y)});aX=a("ZodULID",($,Y)=>{nB.init($,Y),z4.init($,Y)});eX=a("ZodXID",($,Y)=>{cB.init($,Y),z4.init($,Y)});$V=a("ZodKSUID",($,Y)=>{pB.init($,Y),z4.init($,Y)});YV=a("ZodIPv4",($,Y)=>{rB.init($,Y),z4.init($,Y)});S_=a("ZodMAC",($,Y)=>{tB.init($,Y),z4.init($,Y)});qV=a("ZodIPv6",($,Y)=>{sB.init($,Y),z4.init($,Y)});zV=a("ZodCIDRv4",($,Y)=>{aB.init($,Y),z4.init($,Y)});JV=a("ZodCIDRv6",($,Y)=>{eB.init($,Y),z4.init($,Y)});UV=a("ZodBase64",($,Y)=>{YT.init($,Y),z4.init($,Y)});IV=a("ZodBase64URL",($,Y)=>{qT.init($,Y),z4.init($,Y)});QV=a("ZodE164",($,Y)=>{zT.init($,Y),z4.init($,Y)});KV=a("ZodJWT",($,Y)=>{JT.init($,Y),z4.init($,Y)});Jz=a("ZodCustomStringFormat",($,Y)=>{UT.init($,Y),z4.init($,Y)});Uz=a("ZodNumber",($,Y)=>{qX.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(z,J,U)=>gj($,z,J,U),wQ($,"ZodNumber",{gt(z,J){return this.check(j5(z,J))},gte(z,J){return this.check(w8(z,J))},min(z,J){return this.check(w8(z,J))},lt(z,J){return this.check(E5(z,J))},lte(z,J){return this.check(q$(z,J))},max(z,J){return this.check(q$(z,J))},int(z){return this.check(pX(z))},safe(z){return this.check(pX(z))},positive(z){return this.check(j5(0,z))},nonnegative(z){return this.check(w8(0,z))},negative(z){return this.check(E5(0,z))},nonpositive(z){return this.check(q$(0,z))},multipleOf(z,J){return this.check(_3(z,J))},step(z,J){return this.check(_3(z,J))},finite(){return this}});let q=$._zod.bag;$.minValue=Math.max(q.minimum??Number.NEGATIVE_INFINITY,q.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(q.maximum??Number.POSITIVE_INFINITY,q.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(q.format??"").includes("int")||Number.isSafeInteger(q.multipleOf??0.5),$.isFinite=!0,$.format=q.format??null});B2=a("ZodNumberFormat",($,Y)=>{IT.init($,Y),Uz.init($,Y)});Iz=a("ZodBoolean",($,Y)=>{aI.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>Sj($,q,z,J)});Qz=a("ZodBigInt",($,Y)=>{zX.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(z,J,U)=>yj($,z,J,U),$.gte=(z,J)=>$.check(w8(z,J)),$.min=(z,J)=>$.check(w8(z,J)),$.gt=(z,J)=>$.check(j5(z,J)),$.gte=(z,J)=>$.check(w8(z,J)),$.min=(z,J)=>$.check(w8(z,J)),$.lt=(z,J)=>$.check(E5(z,J)),$.lte=(z,J)=>$.check(q$(z,J)),$.max=(z,J)=>$.check(q$(z,J)),$.positive=(z)=>$.check(j5(BigInt(0),z)),$.negative=(z)=>$.check(E5(BigInt(0),z)),$.nonpositive=(z)=>$.check(q$(BigInt(0),z)),$.nonnegative=(z)=>$.check(w8(BigInt(0),z)),$.multipleOf=(z,J)=>$.check(_3(z,J));let q=$._zod.bag;$.minValue=q.minimum??null,$.maxValue=q.maximum??null,$.format=q.format??null});GV=a("ZodBigIntFormat",($,Y)=>{QT.init($,Y),Qz.init($,Y)});y_=a("ZodSymbol",($,Y)=>{KT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>xj($,q,z,J)});x_=a("ZodUndefined",($,Y)=>{GT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>uj($,q,z,J)});k_=a("ZodNull",($,Y)=>{HT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>kj($,q,z,J)});u_=a("ZodAny",($,Y)=>{ZT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>ij($,q,z,J)});f_=a("ZodUnknown",($,Y)=>{WT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>nj($,q,z,J)});b_=a("ZodNever",($,Y)=>{XT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>bj($,q,z,J)});i_=a("ZodVoid",($,Y)=>{VT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>fj($,q,z,J)});MQ=a("ZodDate",($,Y)=>{LT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(z,J,U)=>cj($,z,J,U),$.min=(z,J)=>$.check(w8(z,J)),$.max=(z,J)=>$.check(q$(z,J));let q=$._zod.bag;$.minDate=q.minimum?new Date(q.minimum):null,$.maxDate=q.maximum?new Date(q.maximum):null});n_=a("ZodArray",($,Y)=>{wT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>Y_($,q,z,J),$.element=Y.element,wQ($,"ZodArray",{min(q,z){return this.check(M9(q,z))},nonempty(q){return this.check(M9(1,q))},max(q,z){return this.check(P2(q,z))},length(q,z){return this.check(A2(q,z))},unwrap(){return this.element}})});NQ=a("ZodObject",($,Y)=>{FT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>q_($,q,z,J),P0.defineLazy($,"shape",()=>{return Y.shape}),wQ($,"ZodObject",{keyof(){return y6(Object.keys(this._zod.def.shape))},catchall(q){return this.clone({...this._zod.def,catchall:q})},passthrough(){return this.clone({...this._zod.def,catchall:J4()})},loose(){return this.clone({...this._zod.def,catchall:J4()})},strict(){return this.clone({...this._zod.def,catchall:HV()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(q){return P0.extend(this,q)},safeExtend(q){return P0.safeExtend(this,q)},merge(q){return P0.merge(this,q)},pick(q){return P0.pick(this,q)},omit(q){return P0.omit(this,q)},partial(...q){return P0.partial(WV,this,q[0])},required(...q){return P0.required(XV,this,q[0])}})});DQ=a("ZodUnion",($,Y)=>{eI.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>SX($,q,z,J),$.options=Y.options});c_=a("ZodXor",($,Y)=>{DQ.init($,Y),OT.init($,Y),$._zod.processJSONSchema=(q,z,J)=>SX($,q,z,J),$.options=Y.options});p_=a("ZodDiscriminatedUnion",($,Y)=>{DQ.init($,Y),MT.init($,Y)});d_=a("ZodIntersection",($,Y)=>{NT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>z_($,q,z,J)});m_=a("ZodTuple",($,Y)=>{JX.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>J_($,q,z,J),$.rest=(q)=>$.clone({...$._zod.def,rest:q})});Yz=a("ZodRecord",($,Y)=>{DT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>U_($,q,z,J),$.keyType=Y.keyType,$.valueType=Y.valueType});o_=a("ZodMap",($,Y)=>{PT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>ej($,q,z,J),$.keyType=Y.keyType,$.valueType=Y.valueType,$.min=(...q)=>$.check(_5(...q)),$.nonempty=(q)=>$.check(_5(1,q)),$.max=(...q)=>$.check(R3(...q)),$.size=(...q)=>$.check(D2(...q))});r_=a("ZodSet",($,Y)=>{AT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>$_($,q,z,J),$.min=(...q)=>$.check(_5(...q)),$.nonempty=(q)=>$.check(_5(1,q)),$.max=(...q)=>$.check(R3(...q)),$.size=(...q)=>$.check(D2(...q))});qz=a("ZodEnum",($,Y)=>{BT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(z,J,U)=>pj($,z,J,U),$.enum=Y.entries,$.options=Object.values(Y.entries);let q=new Set(Object.keys(Y.entries));$.extract=(z,J)=>{let U={};for(let I of z)if(q.has(I))U[I]=Y.entries[I];else throw Error(`Key ${I} not found in enum`);return new qz({...Y,checks:[],...P0.normalizeParams(J),entries:U})},$.exclude=(z,J)=>{let U={...Y.entries};for(let I of z)if(q.has(I))delete U[I];else throw Error(`Key ${I} not found in enum`);return new qz({...Y,checks:[],...P0.normalizeParams(J),entries:U})}});s_=a("ZodLiteral",($,Y)=>{TT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>dj($,q,z,J),$.values=new Set(Y.values),Object.defineProperty($,"value",{get(){if(Y.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return Y.values[0]}})});t_=a("ZodFile",($,Y)=>{ET.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>oj($,q,z,J),$.min=(q,z)=>$.check(_5(q,z)),$.max=(q,z)=>$.check(R3(q,z)),$.mime=(q,z)=>$.check(mq(Array.isArray(q)?q:[q],z))});a_=a("ZodTransform",($,Y)=>{jT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>aj($,q,z,J),$._zod.parse=(q,z)=>{if(z.direction==="backward")throw new w2($.constructor.name);q.addIssue=(U)=>{if(typeof U==="string")q.issues.push(P0.issue(U,q.value,Y));else{let I=U;if(I.fatal)I.continue=!1;I.code??(I.code="custom"),I.input??(I.input=q.value),I.inst??(I.inst=$),q.issues.push(P0.issue(I))}};let J=Y.transform(q.value,q);if(J instanceof Promise)return J.then((U)=>{return q.value=U,q.fallback=!0,q});return q.value=J,q.fallback=!0,q}});WV=a("ZodOptional",($,Y)=>{UX.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>yX($,q,z,J),$.unwrap=()=>$._zod.def.innerType});e_=a("ZodExactOptional",($,Y)=>{_T.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>yX($,q,z,J),$.unwrap=()=>$._zod.def.innerType});YR=a("ZodNullable",($,Y)=>{RT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>I_($,q,z,J),$.unwrap=()=>$._zod.def.innerType});qR=a("ZodDefault",($,Y)=>{CT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>K_($,q,z,J),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});JR=a("ZodPrefault",($,Y)=>{vT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>G_($,q,z,J),$.unwrap=()=>$._zod.def.innerType});XV=a("ZodNonOptional",($,Y)=>{hT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>Q_($,q,z,J),$.unwrap=()=>$._zod.def.innerType});QR=a("ZodSuccess",($,Y)=>{gT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>rj($,q,z,J),$.unwrap=()=>$._zod.def.innerType});KR=a("ZodCatch",($,Y)=>{ST.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>H_($,q,z,J),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});HR=a("ZodNaN",($,Y)=>{yT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>mj($,q,z,J)});AQ=a("ZodPipe",($,Y)=>{IX.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>Z_($,q,z,J),$.in=Y.in,$.out=Y.out});BQ=a("ZodCodec",($,Y)=>{AQ.init($,Y),$Q.init($,Y)});ZR=a("ZodPreprocess",($,Y)=>{AQ.init($,Y),xT.init($,Y)}),WR=a("ZodReadonly",($,Y)=>{kT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>W_($,q,z,J),$.unwrap=()=>$._zod.def.innerType});VR=a("ZodTemplateLiteral",($,Y)=>{uT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>lj($,q,z,J)});LR=a("ZodLazy",($,Y)=>{iT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>V_($,q,z,J),$.unwrap=()=>$._zod.def.getter()});FR=a("ZodPromise",($,Y)=>{bT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>X_($,q,z,J),$.unwrap=()=>$._zod.def.innerType});OR=a("ZodFunction",($,Y)=>{fT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>tj($,q,z,J)});TQ=a("ZodCustom",($,Y)=>{nT.init($,Y),Y1.init($,Y),$._zod.processJSONSchema=(q,z,J)=>sj($,q,z,J)});hr=_j,gr=Rj});function vk0($){m4({customError:$})}function hk0(){return m4().customError}var Ck0,DR;var kr=e(()=>{S8();Ck0={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};(function($){})(DR||(DR={}))});function Sk0($,Y){let q=$.$schema;if(q==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(q==="http://json-schema.org/draft-07/schema#")return"draft-7";if(q==="http://json-schema.org/draft-04/schema#")return"draft-4";return Y??"draft-2020-12"}function yk0($,Y){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let q=$.slice(1).split("/").filter(Boolean);if(q.length===0)return Y.rootSchema;let z=Y.version==="draft-2020-12"?"$defs":"definitions";if(q[0]===z){let J=q[1];if(!J||!Y.defs[J])throw Error(`Reference not found: ${$}`);return Y.defs[J]}throw Error(`Reference not found: ${$}`)}function ur($,Y){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return R0.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if($.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if($.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if($.if!==void 0||$.then!==void 0||$.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if($.dependentSchemas!==void 0||$.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if($.$ref){let J=$.$ref;if(Y.refs.has(J))return Y.refs.get(J);if(Y.processing.has(J))return R0.lazy(()=>{if(!Y.refs.has(J))throw Error(`Circular reference not resolved: ${J}`);return Y.refs.get(J)});Y.processing.add(J);let U=yk0(J,Y),I=Y8(U,Y);return Y.refs.set(J,I),Y.processing.delete(J),I}if($.enum!==void 0){let J=$.enum;if(Y.version==="openapi-3.0"&&$.nullable===!0&&J.length===1&&J[0]===null)return R0.null();if(J.length===0)return R0.never();if(J.length===1)return R0.literal(J[0]);if(J.every((I)=>typeof I==="string"))return R0.enum(J);let U=J.map((I)=>R0.literal(I));if(U.length<2)return U[0];return R0.union([U[0],U[1],...U.slice(2)])}if($.const!==void 0)return R0.literal($.const);let q=$.type;if(Array.isArray(q)){let J=q.map((U)=>{let I={...$,type:U};return ur(I,Y)});if(J.length===0)return R0.never();if(J.length===1)return J[0];return R0.union(J)}if(!q)return R0.any();let z;switch(q){case"string":{let J=R0.string();if($.format){let U=$.format;if(U==="email")J=J.check(R0.email());else if(U==="uri"||U==="uri-reference")J=J.check(R0.url());else if(U==="uuid"||U==="guid")J=J.check(R0.uuid());else if(U==="date-time")J=J.check(R0.iso.datetime());else if(U==="date")J=J.check(R0.iso.date());else if(U==="time")J=J.check(R0.iso.time());else if(U==="duration")J=J.check(R0.iso.duration());else if(U==="ipv4")J=J.check(R0.ipv4());else if(U==="ipv6")J=J.check(R0.ipv6());else if(U==="mac")J=J.check(R0.mac());else if(U==="cidr")J=J.check(R0.cidrv4());else if(U==="cidr-v6")J=J.check(R0.cidrv6());else if(U==="base64")J=J.check(R0.base64());else if(U==="base64url")J=J.check(R0.base64url());else if(U==="e164")J=J.check(R0.e164());else if(U==="jwt")J=J.check(R0.jwt());else if(U==="emoji")J=J.check(R0.emoji());else if(U==="nanoid")J=J.check(R0.nanoid());else if(U==="cuid")J=J.check(R0.cuid());else if(U==="cuid2")J=J.check(R0.cuid2());else if(U==="ulid")J=J.check(R0.ulid());else if(U==="xid")J=J.check(R0.xid());else if(U==="ksuid")J=J.check(R0.ksuid())}if(typeof $.minLength==="number")J=J.min($.minLength);if(typeof $.maxLength==="number")J=J.max($.maxLength);if($.pattern)J=J.regex(new RegExp($.pattern));z=J;break}case"number":case"integer":{let J=q==="integer"?R0.number().int():R0.number();if(typeof $.minimum==="number")J=J.min($.minimum);if(typeof $.maximum==="number")J=J.max($.maximum);if(typeof $.exclusiveMinimum==="number")J=J.gt($.exclusiveMinimum);else if($.exclusiveMinimum===!0&&typeof $.minimum==="number")J=J.gt($.minimum);if(typeof $.exclusiveMaximum==="number")J=J.lt($.exclusiveMaximum);else if($.exclusiveMaximum===!0&&typeof $.maximum==="number")J=J.lt($.maximum);if(typeof $.multipleOf==="number")J=J.multipleOf($.multipleOf);z=J;break}case"boolean":{z=R0.boolean();break}case"null":{z=R0.null();break}case"object":{let J={},U=$.properties||{},I=new Set($.required||[]);for(let[K,G]of Object.entries(U)){let H=Y8(G,Y);J[K]=I.has(K)?H:H.optional()}if($.propertyNames){let K=Y8($.propertyNames,Y),G=$.additionalProperties&&typeof $.additionalProperties==="object"?Y8($.additionalProperties,Y):R0.any();if(Object.keys(J).length===0){z=R0.record(K,G);break}let H=R0.object(J).passthrough(),Z=R0.looseRecord(K,G);z=R0.intersection(H,Z);break}if($.patternProperties){let K=$.patternProperties,G=Object.keys(K),H=[];for(let V of G){let X=Y8(K[V],Y),L=R0.string().regex(new RegExp(V));H.push(R0.looseRecord(L,X))}let Z=[];if(Object.keys(J).length>0)Z.push(R0.object(J).passthrough());if(Z.push(...H),Z.length===0)z=R0.object({}).passthrough();else if(Z.length===1)z=Z[0];else{let V=R0.intersection(Z[0],Z[1]);for(let X=2;X<Z.length;X++)V=R0.intersection(V,Z[X]);z=V}break}let Q=R0.object(J);if($.additionalProperties===!1)z=Q.strict();else if(typeof $.additionalProperties==="object")z=Q.catchall(Y8($.additionalProperties,Y));else z=Q.passthrough();break}case"array":{let{prefixItems:J,items:U}=$;if(J&&Array.isArray(J)){let I=J.map((K)=>Y8(K,Y)),Q=U&&typeof U==="object"&&!Array.isArray(U)?Y8(U,Y):void 0;if(Q)z=R0.tuple(I).rest(Q);else z=R0.tuple(I);if(typeof $.minItems==="number")z=z.check(R0.minLength($.minItems));if(typeof $.maxItems==="number")z=z.check(R0.maxLength($.maxItems))}else if(Array.isArray(U)){let I=U.map((K)=>Y8(K,Y)),Q=$.additionalItems&&typeof $.additionalItems==="object"?Y8($.additionalItems,Y):void 0;if(Q)z=R0.tuple(I).rest(Q);else z=R0.tuple(I);if(typeof $.minItems==="number")z=z.check(R0.minLength($.minItems));if(typeof $.maxItems==="number")z=z.check(R0.maxLength($.maxItems))}else if(U!==void 0){let I=Y8(U,Y),Q=R0.array(I);if(typeof $.minItems==="number")Q=Q.min($.minItems);if(typeof $.maxItems==="number")Q=Q.max($.maxItems);z=Q}else z=R0.array(R0.any());break}default:throw Error(`Unsupported type: ${q}`)}return z}function Y8($,Y){if(typeof $==="boolean")return $?R0.any():R0.never();let q=ur($,Y),z=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let Q=$.anyOf.map((G)=>Y8(G,Y)),K=R0.union(Q);q=z?R0.intersection(q,K):K}if($.oneOf&&Array.isArray($.oneOf)){let Q=$.oneOf.map((G)=>Y8(G,Y)),K=R0.xor(Q);q=z?R0.intersection(q,K):K}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)q=z?q:R0.any();else{let Q=z?q:Y8($.allOf[0],Y),K=z?0:1;for(let G=K;G<$.allOf.length;G++)Q=R0.intersection(Q,Y8($.allOf[G],Y));q=Q}if($.nullable===!0&&Y.version==="openapi-3.0")q=R0.nullable(q);if($.readOnly===!0)q=R0.readonly(q);if($.default!==void 0)q=q.default($.default);let J={},U=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let Q of U)if(Q in $)J[Q]=$[Q];let I=["contentEncoding","contentMediaType","contentSchema"];for(let Q of I)if(Q in $)J[Q]=$[Q];for(let Q of Object.keys($))if(!gk0.has(Q))J[Q]=$[Q];if(Object.keys(J).length>0)Y.registry.add(q,J);if($.description)q=q.describe($.description);return q}function fr($,Y){if(typeof $==="boolean")return $?R0.any():R0.never();let q;try{q=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let z=Sk0(q,Y?.defaultTarget),J=q.$defs||q.definitions||{},U={version:z,defs:J,refs:new Map,processing:new Set,rootSchema:q,registry:Y?.registry??g6};return Y8(q,U)}var R0,gk0;var br=e(()=>{IQ();fX();ZQ();XQ();R0={...WQ,...uX,iso:S3},gk0=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"])});var PR={};$$(PR,{string:()=>xk0,number:()=>kk0,date:()=>bk0,boolean:()=>uk0,bigint:()=>fk0});function xk0($){return lE(zz,$)}function kk0($){return Yj(Uz,$)}function uk0($){return Kj(Iz,$)}function fk0($){return Hj(Qz,$)}function bk0($){return Dj(MQ,$)}var ir=e(()=>{S8();XQ()});var W={};$$(W,{xor:()=>wr,xid:()=>bo,void:()=>Wr,uuidv7:()=>ho,uuidv6:()=>vo,uuidv4:()=>Co,uuid:()=>Ro,util:()=>P0,url:()=>go,uppercase:()=>nq,unknown:()=>J4,union:()=>U4,undefined:()=>Hr,ulid:()=>fo,uint64:()=>Kr,uint32:()=>Ur,tuple:()=>l_,trim:()=>oq,treeifyError:()=>SA,transform:()=>ZV,toUpperCase:()=>sq,toLowerCase:()=>rq,toJSONSchema:()=>xX,templateLiteral:()=>_r,symbol:()=>Gr,superRefine:()=>NR,success:()=>Br,stringbool:()=>yr,stringFormat:()=>ao,string:()=>Z0,strictObject:()=>Lr,startsWith:()=>pq,slugify:()=>tq,size:()=>D2,setErrorMap:()=>vk0,set:()=>Nr,safeParseAsync:()=>B_,safeParse:()=>A_,safeEncodeAsync:()=>v_,safeEncode:()=>R_,safeDecodeAsync:()=>h_,safeDecode:()=>C_,registry:()=>QX,regexes:()=>Y$,regex:()=>bq,refine:()=>MR,record:()=>a1,readonly:()=>XR,property:()=>hX,promise:()=>Rr,prettifyError:()=>yA,preprocess:()=>EQ,prefault:()=>UR,positive:()=>_X,pipe:()=>dX,partialRecord:()=>Fr,parseAsync:()=>P_,parse:()=>D_,overwrite:()=>t$,optional:()=>K4,object:()=>h0,number:()=>v1,nullish:()=>Ar,nullable:()=>LQ,null:()=>OQ,normalize:()=>lq,nonpositive:()=>CX,nonoptional:()=>IR,nonnegative:()=>vX,never:()=>HV,negative:()=>RX,nativeEnum:()=>Dr,nanoid:()=>xo,nan:()=>Tr,multipleOf:()=>_3,minSize:()=>_5,minLength:()=>M9,mime:()=>mq,meta:()=>gr,maxSize:()=>R3,maxLength:()=>P2,map:()=>Mr,mac:()=>co,lte:()=>q$,lt:()=>E5,lowercase:()=>iq,looseRecord:()=>Or,looseObject:()=>S6,locales:()=>UQ,literal:()=>u0,length:()=>A2,lazy:()=>wR,ksuid:()=>io,keyof:()=>Vr,jwt:()=>to,json:()=>xr,iso:()=>S3,ipv6:()=>po,ipv4:()=>no,invertCodec:()=>jr,intersection:()=>Kz,int64:()=>Qr,int32:()=>Jr,int:()=>pX,instanceof:()=>Sr,includes:()=>cq,httpUrl:()=>So,hostname:()=>eo,hex:()=>$r,hash:()=>Yr,guid:()=>_o,gte:()=>w8,gt:()=>j5,globalRegistry:()=>g6,getErrorMap:()=>hk0,function:()=>Cr,fromJSONSchema:()=>fr,formatError:()=>dI,float64:()=>zr,float32:()=>qr,flattenError:()=>pI,file:()=>Pr,exactOptional:()=>$R,enum:()=>y6,endsWith:()=>dq,encodeAsync:()=>j_,encode:()=>T_,emoji:()=>yo,email:()=>jo,e164:()=>so,discriminatedUnion:()=>PQ,describe:()=>hr,decodeAsync:()=>__,decode:()=>E_,date:()=>Xr,custom:()=>VV,cuid2:()=>uo,cuid:()=>ko,core:()=>N9,config:()=>m4,coerce:()=>PR,codec:()=>Er,clone:()=>V8,cidrv6:()=>lo,cidrv4:()=>mo,check:()=>vr,catch:()=>GR,boolean:()=>t4,bigint:()=>Ir,base64url:()=>ro,base64:()=>oo,array:()=>H1,any:()=>Zr,_function:()=>Cr,_default:()=>zR,_ZodString:()=>mX,ZodXor:()=>c_,ZodXID:()=>eX,ZodVoid:()=>i_,ZodUnknown:()=>f_,ZodUnion:()=>DQ,ZodUndefined:()=>x_,ZodUUID:()=>R5,ZodURL:()=>FQ,ZodULID:()=>aX,ZodType:()=>Y1,ZodTuple:()=>m_,ZodTransform:()=>a_,ZodTemplateLiteral:()=>VR,ZodSymbol:()=>y_,ZodSuccess:()=>QR,ZodStringFormat:()=>z4,ZodString:()=>zz,ZodSet:()=>r_,ZodRecord:()=>Yz,ZodRealError:()=>y8,ZodReadonly:()=>WR,ZodPromise:()=>FR,ZodPreprocess:()=>ZR,ZodPrefault:()=>JR,ZodPipe:()=>AQ,ZodOptional:()=>WV,ZodObject:()=>NQ,ZodNumberFormat:()=>B2,ZodNumber:()=>Uz,ZodNullable:()=>YR,ZodNull:()=>k_,ZodNonOptional:()=>XV,ZodNever:()=>b_,ZodNanoID:()=>rX,ZodNaN:()=>HR,ZodMap:()=>o_,ZodMAC:()=>S_,ZodLiteral:()=>s_,ZodLazy:()=>LR,ZodKSUID:()=>$V,ZodJWT:()=>KV,ZodIssueCode:()=>Ck0,ZodIntersection:()=>d_,ZodISOTime:()=>nX,ZodISODuration:()=>cX,ZodISODateTime:()=>bX,ZodISODate:()=>iX,ZodIPv6:()=>qV,ZodIPv4:()=>YV,ZodGUID:()=>VQ,ZodFunction:()=>OR,ZodFirstPartyTypeKind:()=>DR,ZodFile:()=>t_,ZodExactOptional:()=>e_,ZodError:()=>_k0,ZodEnum:()=>qz,ZodEmoji:()=>oX,ZodEmail:()=>lX,ZodE164:()=>QV,ZodDiscriminatedUnion:()=>p_,ZodDefault:()=>qR,ZodDate:()=>MQ,ZodCustomStringFormat:()=>Jz,ZodCustom:()=>TQ,ZodCodec:()=>BQ,ZodCatch:()=>KR,ZodCUID2:()=>tX,ZodCUID:()=>sX,ZodCIDRv6:()=>JV,ZodCIDRv4:()=>zV,ZodBoolean:()=>Iz,ZodBigIntFormat:()=>GV,ZodBigInt:()=>Qz,ZodBase64URL:()=>IV,ZodBase64:()=>UV,ZodArray:()=>n_,ZodAny:()=>u_,TimePrecision:()=>rE,NEVER:()=>PA,$output:()=>cE,$input:()=>pE,$brand:()=>AA});var AR=e(()=>{S8();S8();eT();S8();HQ();br();nE();ZQ();ZQ();ir();XQ();fX();N_();g_();kr();m4(YQ())});var bQ=M((Gs)=>{Object.defineProperty(Gs,"__esModule",{value:!0});Gs.regexpCode=Gs.getEsmExportName=Gs.getProperty=Gs.safeStringify=Gs.stringify=Gs.strConcat=Gs.addCodeArg=Gs.str=Gs._=Gs.nil=Gs._Code=Gs.Name=Gs.IDENTIFIER=Gs._CodeOrName=void 0;class RV{}Gs._CodeOrName=RV;Gs.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class Xz extends RV{constructor($){super();if(!Gs.IDENTIFIER.test($))throw Error("CodeGen: name must be a valid identifier");this.str=$}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}Gs.Name=Xz;class a$ extends RV{constructor($){super();this._items=typeof $==="string"?[$]:$}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let $=this._items[0];return $===""||$==='""'}get str(){var $;return($=this._str)!==null&&$!==void 0?$:this._str=this._items.reduce((Y,q)=>`${Y}${q}`,"")}get names(){var $;return($=this._names)!==null&&$!==void 0?$:this._names=this._items.reduce((Y,q)=>{if(q instanceof Xz)Y[q.str]=(Y[q.str]||0)+1;return Y},{})}}Gs._Code=a$;Gs.nil=new a$("");function Qs($,...Y){let q=[$[0]],z=0;while(z<Y.length)dR(q,Y[z]),q.push($[++z]);return new a$(q)}Gs._=Qs;var pR=new a$("+");function Ks($,...Y){let q=[fQ($[0])],z=0;while(z<Y.length)q.push(pR),dR(q,Y[z]),q.push(pR,fQ($[++z]));return Ef0(q),new a$(q)}Gs.str=Ks;function dR($,Y){if(Y instanceof a$)$.push(...Y._items);else if(Y instanceof Xz)$.push(Y);else $.push(Rf0(Y))}Gs.addCodeArg=dR;function Ef0($){let Y=1;while(Y<$.length-1){if($[Y]===pR){let q=jf0($[Y-1],$[Y+1]);if(q!==void 0){$.splice(Y-1,3,q);continue}$[Y++]="+"}Y++}}function jf0($,Y){if(Y==='""')return $;if($==='""')return Y;if(typeof $=="string"){if(Y instanceof Xz||$[$.length-1]!=='"')return;if(typeof Y!="string")return`${$.slice(0,-1)}${Y}"`;if(Y[0]==='"')return $.slice(0,-1)+Y.slice(1);return}if(typeof Y=="string"&&Y[0]==='"'&&!($ instanceof Xz))return`"${$}${Y.slice(1)}`;return}function _f0($,Y){return Y.emptyStr()?$:$.emptyStr()?Y:Ks`${$}${Y}`}Gs.strConcat=_f0;function Rf0($){return typeof $=="number"||typeof $=="boolean"||$===null?$:fQ(Array.isArray($)?$.join(","):$)}function Cf0($){return new a$(fQ($))}Gs.stringify=Cf0;function fQ($){return JSON.stringify($).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}Gs.safeStringify=fQ;function vf0($){return typeof $=="string"&&Gs.IDENTIFIER.test($)?new a$(`.${$}`):Qs`[${$}]`}Gs.getProperty=vf0;function hf0($){if(typeof $=="string"&&Gs.IDENTIFIER.test($))return new a$(`${$}`);throw Error(`CodeGen: invalid export name: ${$}, use explicit $id name mapping`)}Gs.getEsmExportName=hf0;function gf0($){return new a$($.toString())}Gs.regexpCode=gf0});var rR=M((Xs)=>{Object.defineProperty(Xs,"__esModule",{value:!0});Xs.ValueScope=Xs.ValueScopeName=Xs.Scope=Xs.varKinds=Xs.UsedValueState=void 0;var x8=bQ();class Zs extends Error{constructor($){super(`CodeGen: "code" for ${$} not defined`);this.value=$.value}}var vV;(function($){$[$.Started=0]="Started",$[$.Completed=1]="Completed"})(vV||(Xs.UsedValueState=vV={}));Xs.varKinds={const:new x8.Name("const"),let:new x8.Name("let"),var:new x8.Name("var")};class lR{constructor({prefixes:$,parent:Y}={}){this._names={},this._prefixes=$,this._parent=Y}toName($){return $ instanceof x8.Name?$:this.name($)}name($){return new x8.Name(this._newName($))}_newName($){let Y=this._names[$]||this._nameGroup($);return`${$}${Y.index++}`}_nameGroup($){var Y,q;if(((q=(Y=this._parent)===null||Y===void 0?void 0:Y._prefixes)===null||q===void 0?void 0:q.has($))||this._prefixes&&!this._prefixes.has($))throw Error(`CodeGen: prefix "${$}" is not allowed in this scope`);return this._names[$]={prefix:$,index:0}}}Xs.Scope=lR;class oR extends x8.Name{constructor($,Y){super(Y);this.prefix=$}setValue($,{property:Y,itemIndex:q}){this.value=$,this.scopePath=x8._`.${new x8.Name(Y)}[${q}]`}}Xs.ValueScopeName=oR;var mf0=x8._`\n`;class Ws extends lR{constructor($){super($);this._values={},this._scope=$.scope,this.opts={...$,_n:$.lines?mf0:x8.nil}}get(){return this._scope}name($){return new oR($,this._newName($))}value($,Y){var q;if(Y.ref===void 0)throw Error("CodeGen: ref must be passed in value");let z=this.toName($),{prefix:J}=z,U=(q=Y.key)!==null&&q!==void 0?q:Y.ref,I=this._values[J];if(I){let G=I.get(U);if(G)return G}else I=this._values[J]=new Map;I.set(U,z);let Q=this._scope[J]||(this._scope[J]=[]),K=Q.length;return Q[K]=Y.ref,z.setValue(Y,{property:J,itemIndex:K}),z}getValue($,Y){let q=this._values[$];if(!q)return;return q.get(Y)}scopeRefs($,Y=this._values){return this._reduceValues(Y,(q)=>{if(q.scopePath===void 0)throw Error(`CodeGen: name "${q}" has no value`);return x8._`${$}${q.scopePath}`})}scopeCode($=this._values,Y,q){return this._reduceValues($,(z)=>{if(z.value===void 0)throw Error(`CodeGen: name "${z}" has no value`);return z.value.code},Y,q)}_reduceValues($,Y,q={},z){let J=x8.nil;for(let U in $){let I=$[U];if(!I)continue;let Q=q[U]=q[U]||new Map;I.forEach((K)=>{if(Q.has(K))return;Q.set(K,vV.Started);let G=Y(K);if(G){let H=this.opts.es5?Xs.varKinds.var:Xs.varKinds.const;J=x8._`${J}${H} ${K} = ${G};${this.opts._n}`}else if(G=z===null||z===void 0?void 0:z(K))J=x8._`${J}${G}${this.opts._n}`;else throw new Zs(K);Q.set(K,vV.Completed)})}return J}}Xs.ValueScope=Ws});var I1=M((k8)=>{Object.defineProperty(k8,"__esModule",{value:!0});k8.or=k8.and=k8.not=k8.CodeGen=k8.operators=k8.varKinds=k8.ValueScopeName=k8.ValueScope=k8.Scope=k8.Name=k8.regexpCode=k8.stringify=k8.getProperty=k8.nil=k8.strConcat=k8.str=k8._=void 0;var A1=bQ(),e$=rR(),k3=bQ();Object.defineProperty(k8,"_",{enumerable:!0,get:function(){return k3._}});Object.defineProperty(k8,"str",{enumerable:!0,get:function(){return k3.str}});Object.defineProperty(k8,"strConcat",{enumerable:!0,get:function(){return k3.strConcat}});Object.defineProperty(k8,"nil",{enumerable:!0,get:function(){return k3.nil}});Object.defineProperty(k8,"getProperty",{enumerable:!0,get:function(){return k3.getProperty}});Object.defineProperty(k8,"stringify",{enumerable:!0,get:function(){return k3.stringify}});Object.defineProperty(k8,"regexpCode",{enumerable:!0,get:function(){return k3.regexpCode}});Object.defineProperty(k8,"Name",{enumerable:!0,get:function(){return k3.Name}});var kV=rR();Object.defineProperty(k8,"Scope",{enumerable:!0,get:function(){return kV.Scope}});Object.defineProperty(k8,"ValueScope",{enumerable:!0,get:function(){return kV.ValueScope}});Object.defineProperty(k8,"ValueScopeName",{enumerable:!0,get:function(){return kV.ValueScopeName}});Object.defineProperty(k8,"varKinds",{enumerable:!0,get:function(){return kV.varKinds}});k8.operators={GT:new A1._Code(">"),GTE:new A1._Code(">="),LT:new A1._Code("<"),LTE:new A1._Code("<="),EQ:new A1._Code("==="),NEQ:new A1._Code("!=="),NOT:new A1._Code("!"),OR:new A1._Code("||"),AND:new A1._Code("&&"),ADD:new A1._Code("+")};class u3{optimizeNodes(){return this}optimizeNames($,Y){return this}}class Ls extends u3{constructor($,Y,q){super();this.varKind=$,this.name=Y,this.rhs=q}render({es5:$,_n:Y}){let q=$?e$.varKinds.var:this.varKind,z=this.rhs===void 0?"":` = ${this.rhs}`;return`${q} ${this.name}${z};`+Y}optimizeNames($,Y){if(!$[this.name.str])return;if(this.rhs)this.rhs=Lz(this.rhs,$,Y);return this}get names(){return this.rhs instanceof A1._CodeOrName?this.rhs.names:{}}}class aR extends u3{constructor($,Y,q){super();this.lhs=$,this.rhs=Y,this.sideEffects=q}render({_n:$}){return`${this.lhs} = ${this.rhs};`+$}optimizeNames($,Y){if(this.lhs instanceof A1.Name&&!$[this.lhs.str]&&!this.sideEffects)return;return this.rhs=Lz(this.rhs,$,Y),this}get names(){let $=this.lhs instanceof A1.Name?{}:{...this.lhs.names};return xV($,this.rhs)}}class ws extends aR{constructor($,Y,q,z){super($,q,z);this.op=Y}render({_n:$}){return`${this.lhs} ${this.op}= ${this.rhs};`+$}}class Fs extends u3{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`${this.label}:`+$}}class Os extends u3{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`break${this.label?` ${this.label}`:""};`+$}}class Ms extends u3{constructor($){super();this.error=$}render({_n:$}){return`throw ${this.error};`+$}get names(){return this.error.names}}class Ns extends u3{constructor($){super();this.code=$}render({_n:$}){return`${this.code};`+$}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames($,Y){return this.code=Lz(this.code,$,Y),this}get names(){return this.code instanceof A1._CodeOrName?this.code.names:{}}}class uV extends u3{constructor($=[]){super();this.nodes=$}render($){return this.nodes.reduce((Y,q)=>Y+q.render($),"")}optimizeNodes(){let{nodes:$}=this,Y=$.length;while(Y--){let q=$[Y].optimizeNodes();if(Array.isArray(q))$.splice(Y,1,...q);else if(q)$[Y]=q;else $.splice(Y,1)}return $.length>0?this:void 0}optimizeNames($,Y){let{nodes:q}=this,z=q.length;while(z--){let J=q[z];if(J.optimizeNames($,Y))continue;sf0($,J.names),q.splice(z,1)}return q.length>0?this:void 0}get names(){return this.nodes.reduce(($,Y)=>T2($,Y.names),{})}}class f3 extends uV{render($){return"{"+$._n+super.render($)+"}"+$._n}}class Ds extends uV{}class iQ extends f3{}iQ.kind="else";class P9 extends f3{constructor($,Y){super(Y);this.condition=$}render($){let Y=`if(${this.condition})`+super.render($);if(this.else)Y+="else "+this.else.render($);return Y}optimizeNodes(){super.optimizeNodes();let $=this.condition;if($===!0)return this.nodes;let Y=this.else;if(Y){let q=Y.optimizeNodes();Y=this.else=Array.isArray(q)?new iQ(q):q}if(Y){if($===!1)return Y instanceof P9?Y:Y.nodes;if(this.nodes.length)return this;return new P9(Es($),Y instanceof P9?[Y]:Y.nodes)}if($===!1||!this.nodes.length)return;return this}optimizeNames($,Y){var q;if(this.else=(q=this.else)===null||q===void 0?void 0:q.optimizeNames($,Y),!(super.optimizeNames($,Y)||this.else))return;return this.condition=Lz(this.condition,$,Y),this}get names(){let $=super.names;if(xV($,this.condition),this.else)T2($,this.else.names);return $}}P9.kind="if";class Vz extends f3{}Vz.kind="for";class Ps extends Vz{constructor($){super();this.iteration=$}render($){return`for(${this.iteration})`+super.render($)}optimizeNames($,Y){if(!super.optimizeNames($,Y))return;return this.iteration=Lz(this.iteration,$,Y),this}get names(){return T2(super.names,this.iteration.names)}}class As extends Vz{constructor($,Y,q,z){super();this.varKind=$,this.name=Y,this.from=q,this.to=z}render($){let Y=$.es5?e$.varKinds.var:this.varKind,{name:q,from:z,to:J}=this;return`for(${Y} ${q}=${z}; ${q}<${J}; ${q}++)`+super.render($)}get names(){let $=xV(super.names,this.from);return xV($,this.to)}}class sR extends Vz{constructor($,Y,q,z){super();this.loop=$,this.varKind=Y,this.name=q,this.iterable=z}render($){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render($)}optimizeNames($,Y){if(!super.optimizeNames($,Y))return;return this.iterable=Lz(this.iterable,$,Y),this}get names(){return T2(super.names,this.iterable.names)}}class hV extends f3{constructor($,Y,q){super();this.name=$,this.args=Y,this.async=q}render($){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render($)}}hV.kind="func";class gV extends uV{render($){return"return "+super.render($)}}gV.kind="return";class Bs extends f3{render($){let Y="try"+super.render($);if(this.catch)Y+=this.catch.render($);if(this.finally)Y+=this.finally.render($);return Y}optimizeNodes(){var $,Y;return super.optimizeNodes(),($=this.catch)===null||$===void 0||$.optimizeNodes(),(Y=this.finally)===null||Y===void 0||Y.optimizeNodes(),this}optimizeNames($,Y){var q,z;return super.optimizeNames($,Y),(q=this.catch)===null||q===void 0||q.optimizeNames($,Y),(z=this.finally)===null||z===void 0||z.optimizeNames($,Y),this}get names(){let $=super.names;if(this.catch)T2($,this.catch.names);if(this.finally)T2($,this.finally.names);return $}}class SV extends f3{constructor($){super();this.error=$}render($){return`catch(${this.error})`+super.render($)}}SV.kind="catch";class yV extends f3{render($){return"finally"+super.render($)}}yV.kind="finally";class Ts{constructor($,Y={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...Y,_n:Y.lines?`
`:""},this._extScope=$,this._scope=new e$.Scope({parent:$}),this._nodes=[new Ds]}toString(){return this._root.render(this.opts)}name($){return this._scope.name($)}scopeName($){return this._extScope.name($)}scopeValue($,Y){let q=this._extScope.value($,Y);return(this._values[q.prefix]||(this._values[q.prefix]=new Set)).add(q),q}getScopeValue($,Y){return this._extScope.getValue($,Y)}scopeRefs($){return this._extScope.scopeRefs($,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def($,Y,q,z){let J=this._scope.toName(Y);if(q!==void 0&&z)this._constants[J.str]=q;return this._leafNode(new Ls($,J,q)),J}const($,Y,q){return this._def(e$.varKinds.const,$,Y,q)}let($,Y,q){return this._def(e$.varKinds.let,$,Y,q)}var($,Y,q){return this._def(e$.varKinds.var,$,Y,q)}assign($,Y,q){return this._leafNode(new aR($,Y,q))}add($,Y){return this._leafNode(new ws($,k8.operators.ADD,Y))}code($){if(typeof $=="function")$();else if($!==A1.nil)this._leafNode(new Ns($));return this}object(...$){let Y=["{"];for(let[q,z]of $){if(Y.length>1)Y.push(",");if(Y.push(q),q!==z||this.opts.es5)Y.push(":"),(0,A1.addCodeArg)(Y,z)}return Y.push("}"),new A1._Code(Y)}if($,Y,q){if(this._blockNode(new P9($)),Y&&q)this.code(Y).else().code(q).endIf();else if(Y)this.code(Y).endIf();else if(q)throw Error('CodeGen: "else" body without "then" body');return this}elseIf($){return this._elseNode(new P9($))}else(){return this._elseNode(new iQ)}endIf(){return this._endBlockNode(P9,iQ)}_for($,Y){if(this._blockNode($),Y)this.code(Y).endFor();return this}for($,Y){return this._for(new Ps($),Y)}forRange($,Y,q,z,J=this.opts.es5?e$.varKinds.var:e$.varKinds.let){let U=this._scope.toName($);return this._for(new As(J,U,Y,q),()=>z(U))}forOf($,Y,q,z=e$.varKinds.const){let J=this._scope.toName($);if(this.opts.es5){let U=Y instanceof A1.Name?Y:this.var("_arr",Y);return this.forRange("_i",0,A1._`${U}.length`,(I)=>{this.var(J,A1._`${U}[${I}]`),q(J)})}return this._for(new sR("of",z,J,Y),()=>q(J))}forIn($,Y,q,z=this.opts.es5?e$.varKinds.var:e$.varKinds.const){if(this.opts.ownProperties)return this.forOf($,A1._`Object.keys(${Y})`,q);let J=this._scope.toName($);return this._for(new sR("in",z,J,Y),()=>q(J))}endFor(){return this._endBlockNode(Vz)}label($){return this._leafNode(new Fs($))}break($){return this._leafNode(new Os($))}return($){let Y=new gV;if(this._blockNode(Y),this.code($),Y.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(gV)}try($,Y,q){if(!Y&&!q)throw Error('CodeGen: "try" without "catch" and "finally"');let z=new Bs;if(this._blockNode(z),this.code($),Y){let J=this.name("e");this._currNode=z.catch=new SV(J),Y(J)}if(q)this._currNode=z.finally=new yV,this.code(q);return this._endBlockNode(SV,yV)}throw($){return this._leafNode(new Ms($))}block($,Y){if(this._blockStarts.push(this._nodes.length),$)this.code($).endBlock(Y);return this}endBlock($){let Y=this._blockStarts.pop();if(Y===void 0)throw Error("CodeGen: not in self-balancing block");let q=this._nodes.length-Y;if(q<0||$!==void 0&&q!==$)throw Error(`CodeGen: wrong number of nodes: ${q} vs ${$} expected`);return this._nodes.length=Y,this}func($,Y=A1.nil,q,z){if(this._blockNode(new hV($,Y,q)),z)this.code(z).endFunc();return this}endFunc(){return this._endBlockNode(hV)}optimize($=1){while($-- >0)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode($){return this._currNode.nodes.push($),this}_blockNode($){this._currNode.nodes.push($),this._nodes.push($)}_endBlockNode($,Y){let q=this._currNode;if(q instanceof $||Y&&q instanceof Y)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${Y?`${$.kind}/${Y.kind}`:$.kind}"`)}_elseNode($){let Y=this._currNode;if(!(Y instanceof P9))throw Error('CodeGen: "else" without "if"');return this._currNode=Y.else=$,this}get _root(){return this._nodes[0]}get _currNode(){let $=this._nodes;return $[$.length-1]}set _currNode($){let Y=this._nodes;Y[Y.length-1]=$}}k8.CodeGen=Ts;function T2($,Y){for(let q in Y)$[q]=($[q]||0)+(Y[q]||0);return $}function xV($,Y){return Y instanceof A1._CodeOrName?T2($,Y.names):$}function Lz($,Y,q){if($ instanceof A1.Name)return z($);if(!J($))return $;return new A1._Code($._items.reduce((U,I)=>{if(I instanceof A1.Name)I=z(I);if(I instanceof A1._Code)U.push(...I._items);else U.push(I);return U},[]));function z(U){let I=q[U.str];if(I===void 0||Y[U.str]!==1)return U;return delete Y[U.str],I}function J(U){return U instanceof A1._Code&&U._items.some((I)=>I instanceof A1.Name&&Y[I.str]===1&&q[I.str]!==void 0)}}function sf0($,Y){for(let q in Y)$[q]=($[q]||0)-(Y[q]||0)}function Es($){return typeof $=="boolean"||typeof $=="number"||$===null?!$:A1._`!${tR($)}`}k8.not=Es;var tf0=js(k8.operators.AND);function af0(...$){return $.reduce(tf0)}k8.and=af0;var ef0=js(k8.operators.OR);function $b0(...$){return $.reduce(ef0)}k8.or=$b0;function js($){return(Y,q)=>Y===A1.nil?q:q===A1.nil?Y:A1._`${tR(Y)} ${$} ${tR(q)}`}function tR($){return $ instanceof A1.Name?$:A1._`(${$})`}});var j1=M((xs)=>{Object.defineProperty(xs,"__esModule",{value:!0});xs.checkStrictMode=xs.getErrorPath=xs.Type=xs.useFunc=xs.setEvaluated=xs.evaluatedPropsToName=xs.mergeEvaluated=xs.eachItem=xs.unescapeJsonPointer=xs.escapeJsonPointer=xs.escapeFragment=xs.unescapeFragment=xs.schemaRefOrVal=xs.schemaHasRulesButRef=xs.schemaHasRules=xs.checkUnknownRules=xs.alwaysValidSchema=xs.toHash=void 0;var G4=I1(),Jb0=bQ();function Ub0($){let Y={};for(let q of $)Y[q]=!0;return Y}xs.toHash=Ub0;function Ib0($,Y){if(typeof Y=="boolean")return Y;if(Object.keys(Y).length===0)return!0;return vs($,Y),!hs(Y,$.self.RULES.all)}xs.alwaysValidSchema=Ib0;function vs($,Y=$.schema){let{opts:q,self:z}=$;if(!q.strictSchema)return;if(typeof Y==="boolean")return;let J=z.RULES.keywords;for(let U in Y)if(!J[U])ys($,`unknown keyword: "${U}"`)}xs.checkUnknownRules=vs;function hs($,Y){if(typeof $=="boolean")return!$;for(let q in $)if(Y[q])return!0;return!1}xs.schemaHasRules=hs;function Qb0($,Y){if(typeof $=="boolean")return!$;for(let q in $)if(q!=="$ref"&&Y.all[q])return!0;return!1}xs.schemaHasRulesButRef=Qb0;function Kb0({topSchemaRef:$,schemaPath:Y},q,z,J){if(!J){if(typeof q=="number"||typeof q=="boolean")return q;if(typeof q=="string")return G4._`${q}`}return G4._`${$}${Y}${(0,G4.getProperty)(z)}`}xs.schemaRefOrVal=Kb0;function Gb0($){return gs(decodeURIComponent($))}xs.unescapeFragment=Gb0;function Hb0($){return encodeURIComponent($C($))}xs.escapeFragment=Hb0;function $C($){if(typeof $=="number")return`${$}`;return $.replace(/~/g,"~0").replace(/\//g,"~1")}xs.escapeJsonPointer=$C;function gs($){return $.replace(/~1/g,"/").replace(/~0/g,"~")}xs.unescapeJsonPointer=gs;function Zb0($,Y){if(Array.isArray($))for(let q of $)Y(q);else Y($)}xs.eachItem=Zb0;function Rs({mergeNames:$,mergeToName:Y,mergeValues:q,resultToName:z}){return(J,U,I,Q)=>{let K=I===void 0?U:I instanceof G4.Name?(U instanceof G4.Name?$(J,U,I):Y(J,U,I),I):U instanceof G4.Name?(Y(J,I,U),U):q(U,I);return Q===G4.Name&&!(K instanceof G4.Name)?z(J,K):K}}xs.mergeEvaluated={props:Rs({mergeNames:($,Y,q)=>$.if(G4._`${q} !== true && ${Y} !== undefined`,()=>{$.if(G4._`${Y} === true`,()=>$.assign(q,!0),()=>$.assign(q,G4._`${q} || {}`).code(G4._`Object.assign(${q}, ${Y})`))}),mergeToName:($,Y,q)=>$.if(G4._`${q} !== true`,()=>{if(Y===!0)$.assign(q,!0);else $.assign(q,G4._`${q} || {}`),YC($,q,Y)}),mergeValues:($,Y)=>$===!0?!0:{...$,...Y},resultToName:Ss}),items:Rs({mergeNames:($,Y,q)=>$.if(G4._`${q} !== true && ${Y} !== undefined`,()=>$.assign(q,G4._`${Y} === true ? true : ${q} > ${Y} ? ${q} : ${Y}`)),mergeToName:($,Y,q)=>$.if(G4._`${q} !== true`,()=>$.assign(q,Y===!0?!0:G4._`${q} > ${Y} ? ${q} : ${Y}`)),mergeValues:($,Y)=>$===!0?!0:Math.max($,Y),resultToName:($,Y)=>$.var("items",Y)})};function Ss($,Y){if(Y===!0)return $.var("props",!0);let q=$.var("props",G4._`{}`);if(Y!==void 0)YC($,q,Y);return q}xs.evaluatedPropsToName=Ss;function YC($,Y,q){Object.keys(q).forEach((z)=>$.assign(G4._`${Y}${(0,G4.getProperty)(z)}`,!0))}xs.setEvaluated=YC;var Cs={};function Wb0($,Y){return $.scopeValue("func",{ref:Y,code:Cs[Y.code]||(Cs[Y.code]=new Jb0._Code(Y.code))})}xs.useFunc=Wb0;var eR;(function($){$[$.Num=0]="Num",$[$.Str=1]="Str"})(eR||(xs.Type=eR={}));function Xb0($,Y,q){if($ instanceof G4.Name){let z=Y===eR.Num;return q?z?G4._`"[" + ${$} + "]"`:G4._`"['" + ${$} + "']"`:z?G4._`"/" + ${$}`:G4._`"/" + ${$}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return q?(0,G4.getProperty)($).toString():"/"+$C($)}xs.getErrorPath=Xb0;function ys($,Y,q=$.opts.strictSchema){if(!q)return;if(Y=`strict mode: ${Y}`,q===!0)throw Error(Y);$.self.logger.warn(Y)}xs.checkStrictMode=ys});var A9=M((us)=>{Object.defineProperty(us,"__esModule",{value:!0});var q8=I1(),vb0={data:new q8.Name("data"),valCxt:new q8.Name("valCxt"),instancePath:new q8.Name("instancePath"),parentData:new q8.Name("parentData"),parentDataProperty:new q8.Name("parentDataProperty"),rootData:new q8.Name("rootData"),dynamicAnchors:new q8.Name("dynamicAnchors"),vErrors:new q8.Name("vErrors"),errors:new q8.Name("errors"),this:new q8.Name("this"),self:new q8.Name("self"),scope:new q8.Name("scope"),json:new q8.Name("json"),jsonPos:new q8.Name("jsonPos"),jsonLen:new q8.Name("jsonLen"),jsonPart:new q8.Name("jsonPart")};us.default=vb0});var nQ=M((ns)=>{Object.defineProperty(ns,"__esModule",{value:!0});ns.extendErrors=ns.resetErrorsCount=ns.reportExtraError=ns.reportError=ns.keyword$DataError=ns.keywordError=void 0;var _1=I1(),bV=j1(),O8=A9();ns.keywordError={message:({keyword:$})=>_1.str`must pass "${$}" keyword validation`};ns.keyword$DataError={message:({keyword:$,schemaType:Y})=>Y?_1.str`"${$}" keyword must be ${Y} ($data)`:_1.str`"${$}" keyword is invalid ($data)`};function gb0($,Y=ns.keywordError,q,z){let{it:J}=$,{gen:U,compositeRule:I,allErrors:Q}=J,K=is($,Y,q);if(z!==null&&z!==void 0?z:I||Q)fs(U,K);else bs(J,_1._`[${K}]`)}ns.reportError=gb0;function Sb0($,Y=ns.keywordError,q){let{it:z}=$,{gen:J,compositeRule:U,allErrors:I}=z,Q=is($,Y,q);if(fs(J,Q),!(U||I))bs(z,O8.default.vErrors)}ns.reportExtraError=Sb0;function yb0($,Y){$.assign(O8.default.errors,Y),$.if(_1._`${O8.default.vErrors} !== null`,()=>$.if(Y,()=>$.assign(_1._`${O8.default.vErrors}.length`,Y),()=>$.assign(O8.default.vErrors,null)))}ns.resetErrorsCount=yb0;function xb0({gen:$,keyword:Y,schemaValue:q,data:z,errsCount:J,it:U}){if(J===void 0)throw Error("ajv implementation error");let I=$.name("err");$.forRange("i",J,O8.default.errors,(Q)=>{if($.const(I,_1._`${O8.default.vErrors}[${Q}]`),$.if(_1._`${I}.instancePath === undefined`,()=>$.assign(_1._`${I}.instancePath`,(0,_1.strConcat)(O8.default.instancePath,U.errorPath))),$.assign(_1._`${I}.schemaPath`,_1.str`${U.errSchemaPath}/${Y}`),U.opts.verbose)$.assign(_1._`${I}.schema`,q),$.assign(_1._`${I}.data`,z)})}ns.extendErrors=xb0;function fs($,Y){let q=$.const("err",Y);$.if(_1._`${O8.default.vErrors} === null`,()=>$.assign(O8.default.vErrors,_1._`[${q}]`),_1._`${O8.default.vErrors}.push(${q})`),$.code(_1._`${O8.default.errors}++`)}function bs($,Y){let{gen:q,validateName:z,schemaEnv:J}=$;if(J.$async)q.throw(_1._`new ${$.ValidationError}(${Y})`);else q.assign(_1._`${z}.errors`,Y),q.return(!1)}var E2={keyword:new _1.Name("keyword"),schemaPath:new _1.Name("schemaPath"),params:new _1.Name("params"),propertyName:new _1.Name("propertyName"),message:new _1.Name("message"),schema:new _1.Name("schema"),parentSchema:new _1.Name("parentSchema")};function is($,Y,q){let{createErrors:z}=$.it;if(z===!1)return _1._`{}`;return kb0($,Y,q)}function kb0($,Y,q={}){let{gen:z,it:J}=$,U=[ub0(J,q),fb0($,q)];return bb0($,Y,U),z.object(...U)}function ub0({errorPath:$},{instancePath:Y}){let q=Y?_1.str`${$}${(0,bV.getErrorPath)(Y,bV.Type.Str)}`:$;return[O8.default.instancePath,(0,_1.strConcat)(O8.default.instancePath,q)]}function fb0({keyword:$,it:{errSchemaPath:Y}},{schemaPath:q,parentSchema:z}){let J=z?Y:_1.str`${Y}/${$}`;if(q)J=_1.str`${J}${(0,bV.getErrorPath)(q,bV.Type.Str)}`;return[E2.schemaPath,J]}function bb0($,{params:Y,message:q},z){let{keyword:J,data:U,schemaValue:I,it:Q}=$,{opts:K,propertyName:G,topSchemaRef:H,schemaPath:Z}=Q;if(z.push([E2.keyword,J],[E2.params,typeof Y=="function"?Y($):Y||_1._`{}`]),K.messages)z.push([E2.message,typeof q=="function"?q($):q]);if(K.verbose)z.push([E2.schema,I],[E2.parentSchema,_1._`${H}${Z}`],[O8.default.data,U]);if(G)z.push([E2.propertyName,G])}});var ls=M((ds)=>{Object.defineProperty(ds,"__esModule",{value:!0});ds.boolOrEmptySchema=ds.topBoolOrEmptySchema=void 0;var db0=nQ(),mb0=I1(),lb0=A9(),ob0={message:"boolean schema is false"};function rb0($){let{gen:Y,schema:q,validateName:z}=$;if(q===!1)ps($,!1);else if(typeof q=="object"&&q.$async===!0)Y.return(lb0.default.data);else Y.assign(mb0._`${z}.errors`,null),Y.return(!0)}ds.topBoolOrEmptySchema=rb0;function sb0($,Y){let{gen:q,schema:z}=$;if(z===!1)q.var(Y,!1),ps($);else q.var(Y,!0)}ds.boolOrEmptySchema=sb0;function ps($,Y){let{gen:q,data:z}=$,J={gen:q,keyword:"false schema",data:z,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:$};(0,db0.reportError)(J,ob0,void 0,Y)}});var zC=M((os)=>{Object.defineProperty(os,"__esModule",{value:!0});os.getRules=os.isJSONType=void 0;var ab0=["string","number","integer","boolean","null","object","array"],eb0=new Set(ab0);function $i0($){return typeof $=="string"&&eb0.has($)}os.isJSONType=$i0;function Yi0(){let $={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...$,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},$.number,$.string,$.array,$.object],post:{rules:[]},all:{},keywords:{}}}os.getRules=Yi0});var JC=M((as)=>{Object.defineProperty(as,"__esModule",{value:!0});as.shouldUseRule=as.shouldUseGroup=as.schemaHasRulesForType=void 0;function zi0({schema:$,self:Y},q){let z=Y.RULES.types[q];return z&&z!==!0&&ss($,z)}as.schemaHasRulesForType=zi0;function ss($,Y){return Y.rules.some((q)=>ts($,q))}as.shouldUseGroup=ss;function ts($,Y){var q;return $[Y.keyword]!==void 0||((q=Y.definition.implements)===null||q===void 0?void 0:q.some((z)=>$[z]!==void 0))}as.shouldUseRule=ts});var cQ=M((zt)=>{Object.defineProperty(zt,"__esModule",{value:!0});zt.reportTypeError=zt.checkDataTypes=zt.checkDataType=zt.coerceAndCheckDataType=zt.getJSONTypes=zt.getSchemaTypes=zt.DataType=void 0;var Ii0=zC(),Qi0=JC(),Ki0=nQ(),U1=I1(),$t=j1(),wz;(function($){$[$.Correct=0]="Correct",$[$.Wrong=1]="Wrong"})(wz||(zt.DataType=wz={}));function Gi0($){let Y=Yt($.type);if(Y.includes("null")){if($.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!Y.length&&$.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if($.nullable===!0)Y.push("null")}return Y}zt.getSchemaTypes=Gi0;function Yt($){let Y=Array.isArray($)?$:$?[$]:[];if(Y.every(Ii0.isJSONType))return Y;throw Error("type must be JSONType or JSONType[]: "+Y.join(","))}zt.getJSONTypes=Yt;function Hi0($,Y){let{gen:q,data:z,opts:J}=$,U=Zi0(Y,J.coerceTypes),I=Y.length>0&&!(U.length===0&&Y.length===1&&(0,Qi0.schemaHasRulesForType)($,Y[0]));if(I){let Q=IC(Y,z,J.strictNumbers,wz.Wrong);q.if(Q,()=>{if(U.length)Wi0($,Y,U);else QC($)})}return I}zt.coerceAndCheckDataType=Hi0;var qt=new Set(["string","number","integer","boolean","null"]);function Zi0($,Y){return Y?$.filter((q)=>qt.has(q)||Y==="array"&&q==="array"):[]}function Wi0($,Y,q){let{gen:z,data:J,opts:U}=$,I=z.let("dataType",U1._`typeof ${J}`),Q=z.let("coerced",U1._`undefined`);if(U.coerceTypes==="array")z.if(U1._`${I} == 'object' && Array.isArray(${J}) && ${J}.length == 1`,()=>z.assign(J,U1._`${J}[0]`).assign(I,U1._`typeof ${J}`).if(IC(Y,J,U.strictNumbers),()=>z.assign(Q,J)));z.if(U1._`${Q} !== undefined`);for(let G of q)if(qt.has(G)||G==="array"&&U.coerceTypes==="array")K(G);z.else(),QC($),z.endIf(),z.if(U1._`${Q} !== undefined`,()=>{z.assign(J,Q),Xi0($,Q)});function K(G){switch(G){case"string":z.elseIf(U1._`${I} == "number" || ${I} == "boolean"`).assign(Q,U1._`"" + ${J}`).elseIf(U1._`${J} === null`).assign(Q,U1._`""`);return;case"number":z.elseIf(U1._`${I} == "boolean" || ${J} === null
|| (${I} == "string" && ${J} && ${J} == +${J})`).assign(Q,U1._`+${J}`);return;case"integer":z.elseIf(U1._`${I} === "boolean" || ${J} === null
|| (${I} === "string" && ${J} && ${J} == +${J} && !(${J} % 1))`).assign(Q,U1._`+${J}`);return;case"boolean":z.elseIf(U1._`${J} === "false" || ${J} === 0 || ${J} === null`).assign(Q,!1).elseIf(U1._`${J} === "true" || ${J} === 1`).assign(Q,!0);return;case"null":z.elseIf(U1._`${J} === "" || ${J} === 0 || ${J} === false`),z.assign(Q,null);return;case"array":z.elseIf(U1._`${I} === "string" || ${I} === "number"
|| ${I} === "boolean" || ${J} === null`).assign(Q,U1._`[${J}]`)}}}function Xi0({gen:$,parentData:Y,parentDataProperty:q},z){$.if(U1._`${Y} !== undefined`,()=>$.assign(U1._`${Y}[${q}]`,z))}function UC($,Y,q,z=wz.Correct){let J=z===wz.Correct?U1.operators.EQ:U1.operators.NEQ,U;switch($){case"null":return U1._`${Y} ${J} null`;case"array":U=U1._`Array.isArray(${Y})`;break;case"object":U=U1._`${Y} && typeof ${Y} == "object" && !Array.isArray(${Y})`;break;case"integer":U=I(U1._`!(${Y} % 1) && !isNaN(${Y})`);break;case"number":U=I();break;default:return U1._`typeof ${Y} ${J} ${$}`}return z===wz.Correct?U:(0,U1.not)(U);function I(Q=U1.nil){return(0,U1.and)(U1._`typeof ${Y} == "number"`,Q,q?U1._`isFinite(${Y})`:U1.nil)}}zt.checkDataType=UC;function IC($,Y,q,z){if($.length===1)return UC($[0],Y,q,z);let J,U=(0,$t.toHash)($);if(U.array&&U.object){let I=U1._`typeof ${Y} != "object"`;J=U.null?I:U1._`!${Y} || ${I}`,delete U.null,delete U.array,delete U.object}else J=U1.nil;if(U.number)delete U.integer;for(let I in U)J=(0,U1.and)(J,UC(I,Y,q,z));return J}zt.checkDataTypes=IC;var Vi0={message:({schema:$})=>`must be ${$}`,params:({schema:$,schemaValue:Y})=>typeof $=="string"?U1._`{type: ${$}}`:U1._`{type: ${Y}}`};function QC($){let Y=Li0($);(0,Ki0.reportError)(Y,Vi0)}zt.reportTypeError=QC;function Li0($){let{gen:Y,data:q,schema:z}=$,J=(0,$t.schemaRefOrVal)($,z,"type");return{gen:Y,keyword:"type",data:q,schema:z.type,schemaCode:J,schemaValue:J,parentSchema:z,params:{},it:$}}});var Kt=M((It)=>{Object.defineProperty(It,"__esModule",{value:!0});It.assignDefaults=void 0;var Fz=I1(),Pi0=j1();function Ai0($,Y){let{properties:q,items:z}=$.schema;if(Y==="object"&&q)for(let J in q)Ut($,J,q[J].default);else if(Y==="array"&&Array.isArray(z))z.forEach((J,U)=>Ut($,U,J.default))}It.assignDefaults=Ai0;function Ut($,Y,q){let{gen:z,compositeRule:J,data:U,opts:I}=$;if(q===void 0)return;let Q=Fz._`${U}${(0,Fz.getProperty)(Y)}`;if(J){(0,Pi0.checkStrictMode)($,`default is ignored for: ${Q}`);return}let K=Fz._`${Q} === undefined`;if(I.useDefaults==="empty")K=Fz._`${K} || ${Q} === null || ${Q} === ""`;z.if(K,Fz._`${Q} = ${(0,Fz.stringify)(q)}`)}});var D$=M((Zt)=>{Object.defineProperty(Zt,"__esModule",{value:!0});Zt.validateUnion=Zt.validateArray=Zt.usePattern=Zt.callValidateCode=Zt.schemaProperties=Zt.allSchemaProperties=Zt.noPropertyInData=Zt.propertyInData=Zt.isOwnProperty=Zt.hasPropFunc=Zt.reportMissingProp=Zt.checkMissingProp=Zt.checkReportMissingProp=void 0;var F4=I1(),KC=j1(),b3=A9(),Bi0=j1();function Ti0($,Y){let{gen:q,data:z,it:J}=$;q.if(HC(q,z,Y,J.opts.ownProperties),()=>{$.setParams({missingProperty:F4._`${Y}`},!0),$.error()})}Zt.checkReportMissingProp=Ti0;function Ei0({gen:$,data:Y,it:{opts:q}},z,J){return(0,F4.or)(...z.map((U)=>(0,F4.and)(HC($,Y,U,q.ownProperties),F4._`${J} = ${U}`)))}Zt.checkMissingProp=Ei0;function ji0($,Y){$.setParams({missingProperty:Y},!0),$.error()}Zt.reportMissingProp=ji0;function Gt($){return $.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:F4._`Object.prototype.hasOwnProperty`})}Zt.hasPropFunc=Gt;function GC($,Y,q){return F4._`${Gt($)}.call(${Y}, ${q})`}Zt.isOwnProperty=GC;function _i0($,Y,q,z){let J=F4._`${Y}${(0,F4.getProperty)(q)} !== undefined`;return z?F4._`${J} && ${GC($,Y,q)}`:J}Zt.propertyInData=_i0;function HC($,Y,q,z){let J=F4._`${Y}${(0,F4.getProperty)(q)} === undefined`;return z?(0,F4.or)(J,(0,F4.not)(GC($,Y,q))):J}Zt.noPropertyInData=HC;function Ht($){return $?Object.keys($).filter((Y)=>Y!=="__proto__"):[]}Zt.allSchemaProperties=Ht;function Ri0($,Y){return Ht(Y).filter((q)=>!(0,KC.alwaysValidSchema)($,Y[q]))}Zt.schemaProperties=Ri0;function Ci0({schemaCode:$,data:Y,it:{gen:q,topSchemaRef:z,schemaPath:J,errorPath:U},it:I},Q,K,G){let H=G?F4._`${$}, ${Y}, ${z}${J}`:Y,Z=[[b3.default.instancePath,(0,F4.strConcat)(b3.default.instancePath,U)],[b3.default.parentData,I.parentData],[b3.default.parentDataProperty,I.parentDataProperty],[b3.default.rootData,b3.default.rootData]];if(I.opts.dynamicRef)Z.push([b3.default.dynamicAnchors,b3.default.dynamicAnchors]);let V=F4._`${H}, ${q.object(...Z)}`;return K!==F4.nil?F4._`${Q}.call(${K}, ${V})`:F4._`${Q}(${V})`}Zt.callValidateCode=Ci0;var vi0=F4._`new RegExp`;function hi0({gen:$,it:{opts:Y}},q){let z=Y.unicodeRegExp?"u":"",{regExp:J}=Y.code,U=J(q,z);return $.scopeValue("pattern",{key:U.toString(),ref:U,code:F4._`${J.code==="new RegExp"?vi0:(0,Bi0.useFunc)($,J)}(${q}, ${z})`})}Zt.usePattern=hi0;function gi0($){let{gen:Y,data:q,keyword:z,it:J}=$,U=Y.name("valid");if(J.allErrors){let Q=Y.let("valid",!0);return I(()=>Y.assign(Q,!1)),Q}return Y.var(U,!0),I(()=>Y.break()),U;function I(Q){let K=Y.const("len",F4._`${q}.length`);Y.forRange("i",0,K,(G)=>{$.subschema({keyword:z,dataProp:G,dataPropType:KC.Type.Num},U),Y.if((0,F4.not)(U),Q)})}}Zt.validateArray=gi0;function Si0($){let{gen:Y,schema:q,keyword:z,it:J}=$;if(!Array.isArray(q))throw Error("ajv implementation error");if(q.some((K)=>(0,KC.alwaysValidSchema)(J,K))&&!J.opts.unevaluated)return;let I=Y.let("valid",!1),Q=Y.name("_valid");Y.block(()=>q.forEach((K,G)=>{let H=$.subschema({keyword:z,schemaProp:G,compositeRule:!0},Q);if(Y.assign(I,F4._`${I} || ${Q}`),!$.mergeValidEvaluated(H,Q))Y.if((0,F4.not)(I))})),$.result(I,()=>$.reset(),()=>$.error(!0))}Zt.validateUnion=Si0});var Ft=M((Lt)=>{Object.defineProperty(Lt,"__esModule",{value:!0});Lt.validateKeywordUsage=Lt.validSchemaType=Lt.funcKeywordCode=Lt.macroKeywordCode=void 0;var M8=I1(),j2=A9(),li0=D$(),oi0=nQ();function ri0($,Y){let{gen:q,keyword:z,schema:J,parentSchema:U,it:I}=$,Q=Y.macro.call(I.self,J,U,I),K=Vt(q,z,Q);if(I.opts.validateSchema!==!1)I.self.validateSchema(Q,!0);let G=q.name("valid");$.subschema({schema:Q,schemaPath:M8.nil,errSchemaPath:`${I.errSchemaPath}/${z}`,topSchemaRef:K,compositeRule:!0},G),$.pass(G,()=>$.error(!0))}Lt.macroKeywordCode=ri0;function si0($,Y){var q;let{gen:z,keyword:J,schema:U,parentSchema:I,$data:Q,it:K}=$;ai0(K,Y);let G=!Q&&Y.compile?Y.compile.call(K.self,U,I,K):Y.validate,H=Vt(z,J,G),Z=z.let("valid");$.block$data(Z,V),$.ok((q=Y.valid)!==null&&q!==void 0?q:Z);function V(){if(Y.errors===!1){if(w(),Y.modifying)Xt($);F(()=>$.error())}else{let O=Y.async?X():L();if(Y.modifying)Xt($);F(()=>ti0($,O))}}function X(){let O=z.let("ruleErrs",null);return z.try(()=>w(M8._`await `),(P)=>z.assign(Z,!1).if(M8._`${P} instanceof ${K.ValidationError}`,()=>z.assign(O,M8._`${P}.errors`),()=>z.throw(P))),O}function L(){let O=M8._`${H}.errors`;return z.assign(O,null),w(M8.nil),O}function w(O=Y.async?M8._`await `:M8.nil){let P=K.opts.passContext?j2.default.this:j2.default.self,B=!(("compile"in Y)&&!Q||Y.schema===!1);z.assign(Z,M8._`${O}${(0,li0.callValidateCode)($,H,P,B)}`,Y.modifying)}function F(O){var P;z.if((0,M8.not)((P=Y.valid)!==null&&P!==void 0?P:Z),O)}}Lt.funcKeywordCode=si0;function Xt($){let{gen:Y,data:q,it:z}=$;Y.if(z.parentData,()=>Y.assign(q,M8._`${z.parentData}[${z.parentDataProperty}]`))}function ti0($,Y){let{gen:q}=$;q.if(M8._`Array.isArray(${Y})`,()=>{q.assign(j2.default.vErrors,M8._`${j2.default.vErrors} === null ? ${Y} : ${j2.default.vErrors}.concat(${Y})`).assign(j2.default.errors,M8._`${j2.default.vErrors}.length`),(0,oi0.extendErrors)($)},()=>$.error())}function ai0({schemaEnv:$},Y){if(Y.async&&!$.$async)throw Error("async keyword in sync schema")}function Vt($,Y,q){if(q===void 0)throw Error(`keyword "${Y}" failed to compile`);return $.scopeValue("keyword",typeof q=="function"?{ref:q}:{ref:q,code:(0,M8.stringify)(q)})}function ei0($,Y,q=!1){return!Y.length||Y.some((z)=>z==="array"?Array.isArray($):z==="object"?$&&typeof $=="object"&&!Array.isArray($):typeof $==z||q&&typeof $>"u")}Lt.validSchemaType=ei0;function $n0({schema:$,opts:Y,self:q,errSchemaPath:z},J,U){if(Array.isArray(J.keyword)?!J.keyword.includes(U):J.keyword!==U)throw Error("ajv implementation error");let I=J.dependencies;if(I===null||I===void 0?void 0:I.some((Q)=>!Object.prototype.hasOwnProperty.call($,Q)))throw Error(`parent schema must have dependencies of ${U}: ${I.join(",")}`);if(J.validateSchema){if(!J.validateSchema($[U])){let K=`keyword "${U}" value is invalid at path "${z}": `+q.errorsText(J.validateSchema.errors);if(Y.validateSchema==="log")q.logger.error(K);else throw Error(K)}}}Lt.validateKeywordUsage=$n0});var Dt=M((Mt)=>{Object.defineProperty(Mt,"__esModule",{value:!0});Mt.extendSubschemaMode=Mt.extendSubschemaData=Mt.getSubschema=void 0;var C5=I1(),Ot=j1();function Jn0($,{keyword:Y,schemaProp:q,schema:z,schemaPath:J,errSchemaPath:U,topSchemaRef:I}){if(Y!==void 0&&z!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(Y!==void 0){let Q=$.schema[Y];return q===void 0?{schema:Q,schemaPath:C5._`${$.schemaPath}${(0,C5.getProperty)(Y)}`,errSchemaPath:`${$.errSchemaPath}/${Y}`}:{schema:Q[q],schemaPath:C5._`${$.schemaPath}${(0,C5.getProperty)(Y)}${(0,C5.getProperty)(q)}`,errSchemaPath:`${$.errSchemaPath}/${Y}/${(0,Ot.escapeFragment)(q)}`}}if(z!==void 0){if(J===void 0||U===void 0||I===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:z,schemaPath:J,topSchemaRef:I,errSchemaPath:U}}throw Error('either "keyword" or "schema" must be passed')}Mt.getSubschema=Jn0;function Un0($,Y,{dataProp:q,dataPropType:z,data:J,dataTypes:U,propertyName:I}){if(J!==void 0&&q!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:Q}=Y;if(q!==void 0){let{errorPath:G,dataPathArr:H,opts:Z}=Y,V=Q.let("data",C5._`${Y.data}${(0,C5.getProperty)(q)}`,!0);K(V),$.errorPath=C5.str`${G}${(0,Ot.getErrorPath)(q,z,Z.jsPropertySyntax)}`,$.parentDataProperty=C5._`${q}`,$.dataPathArr=[...H,$.parentDataProperty]}if(J!==void 0){let G=J instanceof C5.Name?J:Q.let("data",J,!0);if(K(G),I!==void 0)$.propertyName=I}if(U)$.dataTypes=U;function K(G){$.data=G,$.dataLevel=Y.dataLevel+1,$.dataTypes=[],Y.definedProperties=new Set,$.parentData=Y.data,$.dataNames=[...Y.dataNames,G]}}Mt.extendSubschemaData=Un0;function In0($,{jtdDiscriminator:Y,jtdMetadata:q,compositeRule:z,createErrors:J,allErrors:U}){if(z!==void 0)$.compositeRule=z;if(J!==void 0)$.createErrors=J;if(U!==void 0)$.allErrors=U;$.jtdDiscriminator=Y,$.jtdMetadata=q}Mt.extendSubschemaMode=In0});var ZC=M((eo1,Pt)=>{Pt.exports=function $(Y,q){if(Y===q)return!0;if(Y&&q&&typeof Y=="object"&&typeof q=="object"){if(Y.constructor!==q.constructor)return!1;var z,J,U;if(Array.isArray(Y)){if(z=Y.length,z!=q.length)return!1;for(J=z;J--!==0;)if(!$(Y[J],q[J]))return!1;return!0}if(Y.constructor===RegExp)return Y.source===q.source&&Y.flags===q.flags;if(Y.valueOf!==Object.prototype.valueOf)return Y.valueOf()===q.valueOf();if(Y.toString!==Object.prototype.toString)return Y.toString()===q.toString();if(U=Object.keys(Y),z=U.length,z!==Object.keys(q).length)return!1;for(J=z;J--!==0;)if(!Object.prototype.hasOwnProperty.call(q,U[J]))return!1;for(J=z;J--!==0;){var I=U[J];if(!$(Y[I],q[I]))return!1}return!0}return Y!==Y&&q!==q}});var Bt=M(($r1,At)=>{var i3=At.exports=function($,Y,q){if(typeof Y=="function")q=Y,Y={};q=Y.cb||q;var z=typeof q=="function"?q:q.pre||function(){},J=q.post||function(){};iV(Y,z,J,$,"",$)};i3.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};i3.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};i3.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};i3.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function iV($,Y,q,z,J,U,I,Q,K,G){if(z&&typeof z=="object"&&!Array.isArray(z)){Y(z,J,U,I,Q,K,G);for(var H in z){var Z=z[H];if(Array.isArray(Z)){if(H in i3.arrayKeywords)for(var V=0;V<Z.length;V++)iV($,Y,q,Z[V],J+"/"+H+"/"+V,U,J,H,z,V)}else if(H in i3.propsKeywords){if(Z&&typeof Z=="object")for(var X in Z)iV($,Y,q,Z[X],J+"/"+H+"/"+Gn0(X),U,J,H,z,X)}else if(H in i3.keywords||$.allKeys&&!(H in i3.skipKeywords))iV($,Y,q,Z,J+"/"+H,U,J,H,z)}q(z,J,U,I,Q,K,G)}}function Gn0($){return $.replace(/~/g,"~0").replace(/\//g,"~1")}});var pQ=M((_t)=>{Object.defineProperty(_t,"__esModule",{value:!0});_t.getSchemaRefs=_t.resolveUrl=_t.normalizeId=_t._getFullPath=_t.getFullPath=_t.inlineRef=void 0;var Hn0=j1(),Zn0=ZC(),Wn0=Bt(),Xn0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Vn0($,Y=!0){if(typeof $=="boolean")return!0;if(Y===!0)return!WC($);if(!Y)return!1;return Tt($)<=Y}_t.inlineRef=Vn0;var Ln0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function WC($){for(let Y in $){if(Ln0.has(Y))return!0;let q=$[Y];if(Array.isArray(q)&&q.some(WC))return!0;if(typeof q=="object"&&WC(q))return!0}return!1}function Tt($){let Y=0;for(let q in $){if(q==="$ref")return 1/0;if(Y++,Xn0.has(q))continue;if(typeof $[q]=="object")(0,Hn0.eachItem)($[q],(z)=>Y+=Tt(z));if(Y===1/0)return 1/0}return Y}function Et($,Y="",q){if(q!==!1)Y=Oz(Y);let z=$.parse(Y);return jt($,z)}_t.getFullPath=Et;function jt($,Y){return $.serialize(Y).split("#")[0]+"#"}_t._getFullPath=jt;var wn0=/#\/?$/;function Oz($){return $?$.replace(wn0,""):""}_t.normalizeId=Oz;function Fn0($,Y,q){return q=Oz(q),$.resolve(Y,q)}_t.resolveUrl=Fn0;var On0=/^[a-z_][-a-z0-9._]*$/i;function Mn0($,Y){if(typeof $=="boolean")return{};let{schemaId:q,uriResolver:z}=this.opts,J=Oz($[q]||Y),U={"":J},I=Et(z,J,!1),Q={},K=new Set;return Wn0($,{allKeys:!0},(Z,V,X,L)=>{if(L===void 0)return;let w=I+V,F=U[L];if(typeof Z[q]=="string")F=O.call(this,Z[q]);P.call(this,Z.$anchor),P.call(this,Z.$dynamicAnchor),U[V]=F;function O(B){let A=this.opts.uriResolver.resolve;if(B=Oz(F?A(F,B):B),K.has(B))throw H(B);K.add(B);let E=this.refs[B];if(typeof E=="string")E=this.refs[E];if(typeof E=="object")G(Z,E.schema,B);else if(B!==Oz(w))if(B[0]==="#")G(Z,Q[B],B),Q[B]=Z;else this.refs[B]=w;return B}function P(B){if(typeof B=="string"){if(!On0.test(B))throw Error(`invalid anchor "${B}"`);O.call(this,`#${B}`)}}}),Q;function G(Z,V,X){if(V!==void 0&&!Zn0(Z,V))throw H(X)}function H(Z){return Error(`reference "${Z}" resolves to more than one schema`)}}_t.getSchemaRefs=Mn0});var lQ=M((pt)=>{Object.defineProperty(pt,"__esModule",{value:!0});pt.getData=pt.KeywordCxt=pt.validateFunctionCode=void 0;var St=ls(),Ct=cQ(),VC=JC(),nV=cQ(),Tn0=Kt(),mQ=Ft(),XC=Dt(),b0=I1(),t0=A9(),En0=pQ(),B9=j1(),dQ=nQ();function jn0($){if(kt($)){if(ut($),xt($)){Cn0($);return}}yt($,()=>(0,St.topBoolOrEmptySchema)($))}pt.validateFunctionCode=jn0;function yt({gen:$,validateName:Y,schema:q,schemaEnv:z,opts:J},U){if(J.code.es5)$.func(Y,b0._`${t0.default.data}, ${t0.default.valCxt}`,z.$async,()=>{$.code(b0._`"use strict"; ${vt(q,J)}`),Rn0($,J),$.code(U)});else $.func(Y,b0._`${t0.default.data}, ${_n0(J)}`,z.$async,()=>$.code(vt(q,J)).code(U))}function _n0($){return b0._`{${t0.default.instancePath}="", ${t0.default.parentData}, ${t0.default.parentDataProperty}, ${t0.default.rootData}=${t0.default.data}${$.dynamicRef?b0._`, ${t0.default.dynamicAnchors}={}`:b0.nil}}={}`}function Rn0($,Y){$.if(t0.default.valCxt,()=>{if($.var(t0.default.instancePath,b0._`${t0.default.valCxt}.${t0.default.instancePath}`),$.var(t0.default.parentData,b0._`${t0.default.valCxt}.${t0.default.parentData}`),$.var(t0.default.parentDataProperty,b0._`${t0.default.valCxt}.${t0.default.parentDataProperty}`),$.var(t0.default.rootData,b0._`${t0.default.valCxt}.${t0.default.rootData}`),Y.dynamicRef)$.var(t0.default.dynamicAnchors,b0._`${t0.default.valCxt}.${t0.default.dynamicAnchors}`)},()=>{if($.var(t0.default.instancePath,b0._`""`),$.var(t0.default.parentData,b0._`undefined`),$.var(t0.default.parentDataProperty,b0._`undefined`),$.var(t0.default.rootData,t0.default.data),Y.dynamicRef)$.var(t0.default.dynamicAnchors,b0._`{}`)})}function Cn0($){let{schema:Y,opts:q,gen:z}=$;yt($,()=>{if(q.$comment&&Y.$comment)bt($);if(yn0($),z.let(t0.default.vErrors,null),z.let(t0.default.errors,0),q.unevaluated)vn0($);ft($),un0($)});return}function vn0($){let{gen:Y,validateName:q}=$;$.evaluated=Y.const("evaluated",b0._`${q}.evaluated`),Y.if(b0._`${$.evaluated}.dynamicProps`,()=>Y.assign(b0._`${$.evaluated}.props`,b0._`undefined`)),Y.if(b0._`${$.evaluated}.dynamicItems`,()=>Y.assign(b0._`${$.evaluated}.items`,b0._`undefined`))}function vt($,Y){let q=typeof $=="object"&&$[Y.schemaId];return q&&(Y.code.source||Y.code.process)?b0._`/*# sourceURL=${q} */`:b0.nil}function hn0($,Y){if(kt($)){if(ut($),xt($)){gn0($,Y);return}}(0,St.boolOrEmptySchema)($,Y)}function xt({schema:$,self:Y}){if(typeof $=="boolean")return!$;for(let q in $)if(Y.RULES.all[q])return!0;return!1}function kt($){return typeof $.schema!="boolean"}function gn0($,Y){let{schema:q,gen:z,opts:J}=$;if(J.$comment&&q.$comment)bt($);xn0($),kn0($);let U=z.const("_errs",t0.default.errors);ft($,U),z.var(Y,b0._`${U} === ${t0.default.errors}`)}function ut($){(0,B9.checkUnknownRules)($),Sn0($)}function ft($,Y){if($.opts.jtd)return ht($,[],!1,Y);let q=(0,Ct.getSchemaTypes)($.schema),z=(0,Ct.coerceAndCheckDataType)($,q);ht($,q,!z,Y)}function Sn0($){let{schema:Y,errSchemaPath:q,opts:z,self:J}=$;if(Y.$ref&&z.ignoreKeywordsWithRef&&(0,B9.schemaHasRulesButRef)(Y,J.RULES))J.logger.warn(`$ref: keywords ignored in schema at path "${q}"`)}function yn0($){let{schema:Y,opts:q}=$;if(Y.default!==void 0&&q.useDefaults&&q.strictSchema)(0,B9.checkStrictMode)($,"default is ignored in the schema root")}function xn0($){let Y=$.schema[$.opts.schemaId];if(Y)$.baseId=(0,En0.resolveUrl)($.opts.uriResolver,$.baseId,Y)}function kn0($){if($.schema.$async&&!$.schemaEnv.$async)throw Error("async schema in sync schema")}function bt({gen:$,schemaEnv:Y,schema:q,errSchemaPath:z,opts:J}){let U=q.$comment;if(J.$comment===!0)$.code(b0._`${t0.default.self}.logger.log(${U})`);else if(typeof J.$comment=="function"){let I=b0.str`${z}/$comment`,Q=$.scopeValue("root",{ref:Y.root});$.code(b0._`${t0.default.self}.opts.$comment(${U}, ${I}, ${Q}.schema)`)}}function un0($){let{gen:Y,schemaEnv:q,validateName:z,ValidationError:J,opts:U}=$;if(q.$async)Y.if(b0._`${t0.default.errors} === 0`,()=>Y.return(t0.default.data),()=>Y.throw(b0._`new ${J}(${t0.default.vErrors})`));else{if(Y.assign(b0._`${z}.errors`,t0.default.vErrors),U.unevaluated)fn0($);Y.return(b0._`${t0.default.errors} === 0`)}}function fn0({gen:$,evaluated:Y,props:q,items:z}){if(q instanceof b0.Name)$.assign(b0._`${Y}.props`,q);if(z instanceof b0.Name)$.assign(b0._`${Y}.items`,z)}function ht($,Y,q,z){let{gen:J,schema:U,data:I,allErrors:Q,opts:K,self:G}=$,{RULES:H}=G;if(U.$ref&&(K.ignoreKeywordsWithRef||!(0,B9.schemaHasRulesButRef)(U,H))){J.block(()=>nt($,"$ref",H.all.$ref.definition));return}if(!K.jtd)bn0($,Y);J.block(()=>{for(let V of H.rules)Z(V);Z(H.post)});function Z(V){if(!(0,VC.shouldUseGroup)(U,V))return;if(V.type){if(J.if((0,nV.checkDataType)(V.type,I,K.strictNumbers)),gt($,V),Y.length===1&&Y[0]===V.type&&q)J.else(),(0,nV.reportTypeError)($);J.endIf()}else gt($,V);if(!Q)J.if(b0._`${t0.default.errors} === ${z||0}`)}}function gt($,Y){let{gen:q,schema:z,opts:{useDefaults:J}}=$;if(J)(0,Tn0.assignDefaults)($,Y.type);q.block(()=>{for(let U of Y.rules)if((0,VC.shouldUseRule)(z,U))nt($,U.keyword,U.definition,Y.type)})}function bn0($,Y){if($.schemaEnv.meta||!$.opts.strictTypes)return;if(in0($,Y),!$.opts.allowUnionTypes)nn0($,Y);cn0($,$.dataTypes)}function in0($,Y){if(!Y.length)return;if(!$.dataTypes.length){$.dataTypes=Y;return}Y.forEach((q)=>{if(!it($.dataTypes,q))LC($,`type "${q}" not allowed by context "${$.dataTypes.join(",")}"`)}),dn0($,Y)}function nn0($,Y){if(Y.length>1&&!(Y.length===2&&Y.includes("null")))LC($,"use allowUnionTypes to allow union type keyword")}function cn0($,Y){let q=$.self.RULES.all;for(let z in q){let J=q[z];if(typeof J=="object"&&(0,VC.shouldUseRule)($.schema,J)){let{type:U}=J.definition;if(U.length&&!U.some((I)=>pn0(Y,I)))LC($,`missing type "${U.join(",")}" for keyword "${z}"`)}}}function pn0($,Y){return $.includes(Y)||Y==="number"&&$.includes("integer")}function it($,Y){return $.includes(Y)||Y==="integer"&&$.includes("number")}function dn0($,Y){let q=[];for(let z of $.dataTypes)if(it(Y,z))q.push(z);else if(Y.includes("integer")&&z==="number")q.push("integer");$.dataTypes=q}function LC($,Y){let q=$.schemaEnv.baseId+$.errSchemaPath;Y+=` at "${q}" (strictTypes)`,(0,B9.checkStrictMode)($,Y,$.opts.strictTypes)}class wC{constructor($,Y,q){if((0,mQ.validateKeywordUsage)($,Y,q),this.gen=$.gen,this.allErrors=$.allErrors,this.keyword=q,this.data=$.data,this.schema=$.schema[q],this.$data=Y.$data&&$.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,B9.schemaRefOrVal)($,this.schema,q,this.$data),this.schemaType=Y.schemaType,this.parentSchema=$.schema,this.params={},this.it=$,this.def=Y,this.$data)this.schemaCode=$.gen.const("vSchema",ct(this.$data,$));else if(this.schemaCode=this.schemaValue,!(0,mQ.validSchemaType)(this.schema,Y.schemaType,Y.allowUndefined))throw Error(`${q} value must be ${JSON.stringify(Y.schemaType)}`);if("code"in Y?Y.trackErrors:Y.errors!==!1)this.errsCount=$.gen.const("_errs",t0.default.errors)}result($,Y,q){this.failResult((0,b0.not)($),Y,q)}failResult($,Y,q){if(this.gen.if($),q)q();else this.error();if(Y){if(this.gen.else(),Y(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass($,Y){this.failResult((0,b0.not)($),void 0,Y)}fail($){if($===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if($),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data($){if(!this.$data)return this.fail($);let{schemaCode:Y}=this;this.fail(b0._`${Y} !== undefined && (${(0,b0.or)(this.invalid$data(),$)})`)}error($,Y,q){if(Y){this.setParams(Y),this._error($,q),this.setParams({});return}this._error($,q)}_error($,Y){($?dQ.reportExtraError:dQ.reportError)(this,this.def.error,Y)}$dataError(){(0,dQ.reportError)(this,this.def.$dataError||dQ.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,dQ.resetErrorsCount)(this.gen,this.errsCount)}ok($){if(!this.allErrors)this.gen.if($)}setParams($,Y){if(Y)Object.assign(this.params,$);else this.params=$}block$data($,Y,q=b0.nil){this.gen.block(()=>{this.check$data($,q),Y()})}check$data($=b0.nil,Y=b0.nil){if(!this.$data)return;let{gen:q,schemaCode:z,schemaType:J,def:U}=this;if(q.if((0,b0.or)(b0._`${z} === undefined`,Y)),$!==b0.nil)q.assign($,!0);if(J.length||U.validateSchema){if(q.elseIf(this.invalid$data()),this.$dataError(),$!==b0.nil)q.assign($,!1)}q.else()}invalid$data(){let{gen:$,schemaCode:Y,schemaType:q,def:z,it:J}=this;return(0,b0.or)(U(),I());function U(){if(q.length){if(!(Y instanceof b0.Name))throw Error("ajv implementation error");let Q=Array.isArray(q)?q:[q];return b0._`${(0,nV.checkDataTypes)(Q,Y,J.opts.strictNumbers,nV.DataType.Wrong)}`}return b0.nil}function I(){if(z.validateSchema){let Q=$.scopeValue("validate$data",{ref:z.validateSchema});return b0._`!${Q}(${Y})`}return b0.nil}}subschema($,Y){let q=(0,XC.getSubschema)(this.it,$);(0,XC.extendSubschemaData)(q,this.it,$),(0,XC.extendSubschemaMode)(q,$);let z={...this.it,...q,items:void 0,props:void 0};return hn0(z,Y),z}mergeEvaluated($,Y){let{it:q,gen:z}=this;if(!q.opts.unevaluated)return;if(q.props!==!0&&$.props!==void 0)q.props=B9.mergeEvaluated.props(z,$.props,q.props,Y);if(q.items!==!0&&$.items!==void 0)q.items=B9.mergeEvaluated.items(z,$.items,q.items,Y)}mergeValidEvaluated($,Y){let{it:q,gen:z}=this;if(q.opts.unevaluated&&(q.props!==!0||q.items!==!0))return z.if(Y,()=>this.mergeEvaluated($,b0.Name)),!0}}pt.KeywordCxt=wC;function nt($,Y,q,z){let J=new wC($,q,Y);if("code"in q)q.code(J,z);else if(J.$data&&q.validate)(0,mQ.funcKeywordCode)(J,q);else if("macro"in q)(0,mQ.macroKeywordCode)(J,q);else if(q.compile||q.validate)(0,mQ.funcKeywordCode)(J,q)}var mn0=/^\/(?:[^~]|~0|~1)*$/,ln0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function ct($,{dataLevel:Y,dataNames:q,dataPathArr:z}){let J,U;if($==="")return t0.default.rootData;if($[0]==="/"){if(!mn0.test($))throw Error(`Invalid JSON-pointer: ${$}`);J=$,U=t0.default.rootData}else{let G=ln0.exec($);if(!G)throw Error(`Invalid JSON-pointer: ${$}`);let H=+G[1];if(J=G[2],J==="#"){if(H>=Y)throw Error(K("property/index",H));return z[Y-H]}if(H>Y)throw Error(K("data",H));if(U=q[Y-H],!J)return U}let I=U,Q=J.split("/");for(let G of Q)if(G)U=b0._`${U}${(0,b0.getProperty)((0,B9.unescapeJsonPointer)(G))}`,I=b0._`${I} && ${U}`;return I;function K(G,H){return`Cannot access ${G} ${H} levels up, current level is ${Y}`}}pt.getData=ct});var cV=M((lt)=>{Object.defineProperty(lt,"__esModule",{value:!0});class mt extends Error{constructor($){super("validation failed");this.errors=$,this.ajv=this.validation=!0}}lt.default=mt});var oQ=M((rt)=>{Object.defineProperty(rt,"__esModule",{value:!0});var FC=pQ();class ot extends Error{constructor($,Y,q,z){super(z||`can't resolve reference ${q} from id ${Y}`);this.missingRef=(0,FC.resolveUrl)($,Y,q),this.missingSchema=(0,FC.normalizeId)((0,FC.getFullPath)($,this.missingRef))}}rt.default=ot});var dV=M((at)=>{Object.defineProperty(at,"__esModule",{value:!0});at.resolveSchema=at.getCompilingSchema=at.resolveRef=at.compileSchema=at.SchemaEnv=void 0;var $5=I1(),an0=cV(),_2=A9(),Y5=pQ(),st=j1(),en0=lQ();class rQ{constructor($){var Y;this.refs={},this.dynamicAnchors={};let q;if(typeof $.schema=="object")q=$.schema;this.schema=$.schema,this.schemaId=$.schemaId,this.root=$.root||this,this.baseId=(Y=$.baseId)!==null&&Y!==void 0?Y:(0,Y5.normalizeId)(q===null||q===void 0?void 0:q[$.schemaId||"$id"]),this.schemaPath=$.schemaPath,this.localRefs=$.localRefs,this.meta=$.meta,this.$async=q===null||q===void 0?void 0:q.$async,this.refs={}}}at.SchemaEnv=rQ;function MC($){let Y=tt.call(this,$);if(Y)return Y;let q=(0,Y5.getFullPath)(this.opts.uriResolver,$.root.baseId),{es5:z,lines:J}=this.opts.code,{ownProperties:U}=this.opts,I=new $5.CodeGen(this.scope,{es5:z,lines:J,ownProperties:U}),Q;if($.$async)Q=I.scopeValue("Error",{ref:an0.default,code:$5._`require("ajv/dist/runtime/validation_error").default`});let K=I.scopeName("validate");$.validateName=K;let G={gen:I,allErrors:this.opts.allErrors,data:_2.default.data,parentData:_2.default.parentData,parentDataProperty:_2.default.parentDataProperty,dataNames:[_2.default.data],dataPathArr:[$5.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:I.scopeValue("schema",this.opts.code.source===!0?{ref:$.schema,code:(0,$5.stringify)($.schema)}:{ref:$.schema}),validateName:K,ValidationError:Q,schema:$.schema,schemaEnv:$,rootId:q,baseId:$.baseId||q,schemaPath:$5.nil,errSchemaPath:$.schemaPath||(this.opts.jtd?"":"#"),errorPath:$5._`""`,opts:this.opts,self:this},H;try{this._compilations.add($),(0,en0.validateFunctionCode)(G),I.optimize(this.opts.code.optimize);let Z=I.toString();if(H=`${I.scopeRefs(_2.default.scope)}return ${Z}`,this.opts.code.process)H=this.opts.code.process(H,$);let X=Function(`${_2.default.self}`,`${_2.default.scope}`,H)(this,this.scope.get());if(this.scope.value(K,{ref:X}),X.errors=null,X.schema=$.schema,X.schemaEnv=$,$.$async)X.$async=!0;if(this.opts.code.source===!0)X.source={validateName:K,validateCode:Z,scopeValues:I._values};if(this.opts.unevaluated){let{props:L,items:w}=G;if(X.evaluated={props:L instanceof $5.Name?void 0:L,items:w instanceof $5.Name?void 0:w,dynamicProps:L instanceof $5.Name,dynamicItems:w instanceof $5.Name},X.source)X.source.evaluated=(0,$5.stringify)(X.evaluated)}return $.validate=X,$}catch(Z){if(delete $.validate,delete $.validateName,H)this.logger.error("Error compiling schema, function code:",H);throw Z}finally{this._compilations.delete($)}}at.compileSchema=MC;function $c0($,Y,q){var z;q=(0,Y5.resolveUrl)(this.opts.uriResolver,Y,q);let J=$.refs[q];if(J)return J;let U=zc0.call(this,$,q);if(U===void 0){let I=(z=$.localRefs)===null||z===void 0?void 0:z[q],{schemaId:Q}=this.opts;if(I)U=new rQ({schema:I,schemaId:Q,root:$,baseId:Y})}if(U===void 0)return;return $.refs[q]=Yc0.call(this,U)}at.resolveRef=$c0;function Yc0($){if((0,Y5.inlineRef)($.schema,this.opts.inlineRefs))return $.schema;return $.validate?$:MC.call(this,$)}function tt($){for(let Y of this._compilations)if(qc0(Y,$))return Y}at.getCompilingSchema=tt;function qc0($,Y){return $.schema===Y.schema&&$.root===Y.root&&$.baseId===Y.baseId}function zc0($,Y){let q;while(typeof(q=this.refs[Y])=="string")Y=q;return q||this.schemas[Y]||pV.call(this,$,Y)}function pV($,Y){let q=this.opts.uriResolver.parse(Y),z=(0,Y5._getFullPath)(this.opts.uriResolver,q),J=(0,Y5.getFullPath)(this.opts.uriResolver,$.baseId,void 0);if(Object.keys($.schema).length>0&&z===J)return OC.call(this,q,$);let U=(0,Y5.normalizeId)(z),I=this.refs[U]||this.schemas[U];if(typeof I=="string"){let Q=pV.call(this,$,I);if(typeof(Q===null||Q===void 0?void 0:Q.schema)!=="object")return;return OC.call(this,q,Q)}if(typeof(I===null||I===void 0?void 0:I.schema)!=="object")return;if(!I.validate)MC.call(this,I);if(U===(0,Y5.normalizeId)(Y)){let{schema:Q}=I,{schemaId:K}=this.opts,G=Q[K];if(G)J=(0,Y5.resolveUrl)(this.opts.uriResolver,J,G);return new rQ({schema:Q,schemaId:K,root:$,baseId:J})}return OC.call(this,q,I)}at.resolveSchema=pV;var Jc0=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function OC($,{baseId:Y,schema:q,root:z}){var J;if(((J=$.fragment)===null||J===void 0?void 0:J[0])!=="/")return;for(let Q of $.fragment.slice(1).split("/")){if(typeof q==="boolean")return;let K=q[(0,st.unescapeFragment)(Q)];if(K===void 0)return;q=K;let G=typeof q==="object"&&q[this.opts.schemaId];if(!Jc0.has(Q)&&G)Y=(0,Y5.resolveUrl)(this.opts.uriResolver,Y,G)}let U;if(typeof q!="boolean"&&q.$ref&&!(0,st.schemaHasRulesButRef)(q,this.RULES)){let Q=(0,Y5.resolveUrl)(this.opts.uriResolver,Y,q.$ref);U=pV.call(this,z,Q)}let{schemaId:I}=this.opts;if(U=U||new rQ({schema:q,schemaId:I,root:z,baseId:Y}),U.schema!==U.root.schema)return U;return}});var $a=M((Ir1,Gc0)=>{Gc0.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var PC=M((Qr1,Ia)=>{var Hc0=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),qa=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),NC=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),za=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),Zc0=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function DC($){let Y="",q=0,z=0;for(z=0;z<$.length;z++){if(q=$[z].charCodeAt(0),q===48)continue;if(!(q>=48&&q<=57||q>=65&&q<=70||q>=97&&q<=102))return"";Y+=$[z];break}for(z+=1;z<$.length;z++){if(q=$[z].charCodeAt(0),!(q>=48&&q<=57||q>=65&&q<=70||q>=97&&q<=102))return"";Y+=$[z]}return Y}var Wc0=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function Ya($){return $.length=0,!0}function Xc0($,Y,q){if($.length){let z=DC($);if(z!=="")Y.push(z);else return q.error=!0,!1;$.length=0}return!0}function Vc0($){let Y=0,q={error:!1,address:"",zone:""},z=[],J=[],U=!1,I=!1,Q=Xc0;for(let K=0;K<$.length;K++){let G=$[K];if(G==="["||G==="]")continue;if(G===":"){if(U===!0)I=!0;if(!Q(J,z,q))break;if(++Y>7){q.error=!0;break}if(K>0&&$[K-1]===":")U=!0;z.push(":");continue}else if(G==="%"){if(!Q(J,z,q))break;Q=Ya}else{J.push(G);continue}}if(J.length)if(Q===Ya)q.zone=J.join("");else if(I)z.push(J.join(""));else z.push(DC(J));return q.address=z.join(""),q}function Ja($){if(Lc0($,":")<2)return{host:$,isIPV6:!1};let Y=Vc0($);if(!Y.error){let{address:q,address:z}=Y;if(Y.zone)q+="%"+Y.zone,z+="%25"+Y.zone;return{host:q,isIPV6:!0,escapedHost:z}}else return{host:$,isIPV6:!1}}function Lc0($,Y){let q=0;for(let z=0;z<$.length;z++)if($[z]===Y)q++;return q}function wc0($){let Y=$,q=[],z=-1,J=0;while(J=Y.length){if(J===1)if(Y===".")break;else if(Y==="/"){q.push("/");break}else{q.push(Y);break}else if(J===2){if(Y[0]==="."){if(Y[1]===".")break;else if(Y[1]==="/"){Y=Y.slice(2);continue}}else if(Y[0]==="/"){if(Y[1]==="."||Y[1]==="/"){q.push("/");break}}}else if(J===3){if(Y==="/.."){if(q.length!==0)q.pop();q.push("/");break}}if(Y[0]==="."){if(Y[1]==="."){if(Y[2]==="/"){Y=Y.slice(3);continue}}else if(Y[1]==="/"){Y=Y.slice(2);continue}}else if(Y[0]==="/"){if(Y[1]==="."){if(Y[2]==="/"){Y=Y.slice(2);continue}else if(Y[2]==="."){if(Y[3]==="/"){if(Y=Y.slice(3),q.length!==0)q.pop();continue}}}}if((z=Y.indexOf("/",1))===-1){q.push(Y);break}else q.push(Y.slice(0,z)),Y=Y.slice(z)}return q.join("")}var Fc0={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},Oc0=/[@/?#:]/g,Mc0=/[@/?#]/g;function Ua($,Y){let q=Y?Mc0:Oc0;return q.lastIndex=0,$.replace(q,(z)=>Fc0[z])}function Nc0($,Y=!1){if($.indexOf("%")===-1)return $;let q="";for(let z=0;z<$.length;z++){if($[z]==="%"&&z+2<$.length){let J=$.slice(z+1,z+3);if(NC(J)){let U=J.toUpperCase(),I=String.fromCharCode(parseInt(U,16));if(Y&&za(I))q+=I;else q+="%"+U;z+=2;continue}}q+=$[z]}return q}function Dc0($){let Y="";for(let q=0;q<$.length;q++){if($[q]==="%"&&q+2<$.length){let z=$.slice(q+1,q+3);if(NC(z)){let J=z.toUpperCase(),U=String.fromCharCode(parseInt(J,16));if(U!=="."&&za(U))Y+=U;else Y+="%"+J;q+=2;continue}}if(Zc0($[q]))Y+=$[q];else Y+=escape($[q])}return Y}function Pc0($){let Y="";for(let q=0;q<$.length;q++){if($[q]==="%"&&q+2<$.length){let z=$.slice(q+1,q+3);if(NC(z)){Y+="%"+z.toUpperCase(),q+=2;continue}}Y+=escape($[q])}return Y}function Ac0($){let Y=[];if($.userinfo!==void 0)Y.push($.userinfo),Y.push("@");if($.host!==void 0){let q=unescape($.host);if(!qa(q)){let z=Ja(q);if(z.isIPV6===!0)q=`[${z.escapedHost}]`;else q=Ua(q,!1)}Y.push(q)}if(typeof $.port==="number"||typeof $.port==="string")Y.push(":"),Y.push(String($.port));return Y.length?Y.join(""):void 0}Ia.exports={nonSimpleDomain:Wc0,recomposeAuthority:Ac0,reescapeHostDelimiters:Ua,normalizePercentEncoding:Nc0,normalizePathEncoding:Dc0,escapePreservingEscapes:Pc0,removeDotSegments:wc0,isIPv4:qa,isUUID:Hc0,normalizeIPv6:Ja,stringArrayToHexStripped:DC}});var Za=M((Kr1,Ha)=>{var{isUUID:Bc0}=PC(),Tc0=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,Ec0=["http","https","ws","wss","urn","urn:uuid"];function jc0($){return Ec0.indexOf($)!==-1}function AC($){if($.secure===!0)return!0;else if($.secure===!1)return!1;else if($.scheme)return $.scheme.length===3&&($.scheme[0]==="w"||$.scheme[0]==="W")&&($.scheme[1]==="s"||$.scheme[1]==="S")&&($.scheme[2]==="s"||$.scheme[2]==="S");else return!1}function Qa($){if(!$.host)$.error=$.error||"HTTP URIs must have a host.";return $}function Ka($){let Y=String($.scheme).toLowerCase()==="https";if($.port===(Y?443:80)||$.port==="")$.port=void 0;if(!$.path)$.path="/";return $}function _c0($){return $.secure=AC($),$.resourceName=($.path||"/")+($.query?"?"+$.query:""),$.path=void 0,$.query=void 0,$}function Rc0($){if($.port===(AC($)?443:80)||$.port==="")$.port=void 0;if(typeof $.secure==="boolean")$.scheme=$.secure?"wss":"ws",$.secure=void 0;if($.resourceName){let[Y,q]=$.resourceName.split("?");$.path=Y&&Y!=="/"?Y:void 0,$.query=q,$.resourceName=void 0}return $.fragment=void 0,$}function Cc0($,Y){if(!$.path)return $.error="URN can not be parsed",$;let q=$.path.match(Tc0);if(q){let z=Y.scheme||$.scheme||"urn";$.nid=q[1].toLowerCase(),$.nss=q[2];let J=`${z}:${Y.nid||$.nid}`,U=BC(J);if($.path=void 0,U)$=U.parse($,Y)}else $.error=$.error||"URN can not be parsed.";return $}function vc0($,Y){if($.nid===void 0)throw Error("URN without nid cannot be serialized");let q=Y.scheme||$.scheme||"urn",z=$.nid.toLowerCase(),J=`${q}:${Y.nid||z}`,U=BC(J);if(U)$=U.serialize($,Y);let I=$,Q=$.nss;return I.path=`${z||Y.nid}:${Q}`,Y.skipEscape=!0,I}function hc0($,Y){let q=$;if(q.uuid=q.nss,q.nss=void 0,!Y.tolerant&&(!q.uuid||!Bc0(q.uuid)))q.error=q.error||"UUID is not valid.";return q}function gc0($){let Y=$;return Y.nss=($.uuid||"").toLowerCase(),Y}var Ga={scheme:"http",domainHost:!0,parse:Qa,serialize:Ka},Sc0={scheme:"https",domainHost:Ga.domainHost,parse:Qa,serialize:Ka},mV={scheme:"ws",domainHost:!0,parse:_c0,serialize:Rc0},yc0={scheme:"wss",domainHost:mV.domainHost,parse:mV.parse,serialize:mV.serialize},xc0={scheme:"urn",parse:Cc0,serialize:vc0,skipNormalize:!0},kc0={scheme:"urn:uuid",parse:hc0,serialize:gc0,skipNormalize:!0},lV={http:Ga,https:Sc0,ws:mV,wss:yc0,urn:xc0,"urn:uuid":kc0};Object.setPrototypeOf(lV,null);function BC($){return $&&(lV[$]||lV[$.toLowerCase()])||void 0}Ha.exports={wsIsSecure:AC,SCHEMES:lV,isValidSchemeName:jc0,getSchemeHandler:BC}});var Fa=M((Gr1,oV)=>{var{normalizeIPv6:uc0,removeDotSegments:sQ,recomposeAuthority:fc0,normalizePercentEncoding:bc0,normalizePathEncoding:ic0,escapePreservingEscapes:nc0,reescapeHostDelimiters:cc0,isIPv4:pc0,nonSimpleDomain:dc0}=PC(),{SCHEMES:mc0,getSchemeHandler:Xa}=Za();function lc0($,Y){if(typeof $==="string")$=ac0($,Y);else if(typeof $==="object")$=Mz(R2($,Y),Y);return $}function oc0($,Y,q){let z=q?Object.assign({scheme:"null"},q):{scheme:"null"},J=Va(Mz($,z),Mz(Y,z),z,!0);return z.skipEscape=!0,R2(J,z)}function Va($,Y,q,z){let J={};if(!z)$=Mz(R2($,q),q),Y=Mz(R2(Y,q),q);if(q=q||{},!q.tolerant&&Y.scheme)J.scheme=Y.scheme,J.userinfo=Y.userinfo,J.host=Y.host,J.port=Y.port,J.path=sQ(Y.path||""),J.query=Y.query;else{if(Y.userinfo!==void 0||Y.host!==void 0||Y.port!==void 0)J.userinfo=Y.userinfo,J.host=Y.host,J.port=Y.port,J.path=sQ(Y.path||""),J.query=Y.query;else{if(!Y.path)if(J.path=$.path,Y.query!==void 0)J.query=Y.query;else J.query=$.query;else{if(Y.path[0]==="/")J.path=sQ(Y.path);else{if(($.userinfo!==void 0||$.host!==void 0||$.port!==void 0)&&!$.path)J.path="/"+Y.path;else if(!$.path)J.path=Y.path;else J.path=$.path.slice(0,$.path.lastIndexOf("/")+1)+Y.path;J.path=sQ(J.path)}J.query=Y.query}J.userinfo=$.userinfo,J.host=$.host,J.port=$.port}J.scheme=$.scheme}return J.fragment=Y.fragment,J}function rc0($,Y,q){let z=Wa($,q),J=Wa(Y,q);return z!==void 0&&J!==void 0&&z.toLowerCase()===J.toLowerCase()}function R2($,Y){let q={host:$.host,scheme:$.scheme,userinfo:$.userinfo,port:$.port,path:$.path,query:$.query,nid:$.nid,nss:$.nss,uuid:$.uuid,fragment:$.fragment,reference:$.reference,resourceName:$.resourceName,secure:$.secure,error:""},z=Object.assign({},Y),J=[],U=Xa(z.scheme||q.scheme);if(U&&U.serialize)U.serialize(q,z);if(q.path!==void 0)if(!z.skipEscape){if(q.path=nc0(q.path),q.scheme!==void 0)q.path=q.path.split("%3A").join(":")}else q.path=bc0(q.path);if(z.reference!=="suffix"&&q.scheme)J.push(q.scheme,":");let I=fc0(q);if(I!==void 0){if(z.reference!=="suffix")J.push("//");if(J.push(I),q.path&&q.path[0]!=="/")J.push("/")}if(q.path!==void 0){let Q=q.path;if(!z.absolutePath&&(!U||!U.absolutePath))Q=sQ(Q);if(I===void 0&&Q[0]==="/"&&Q[1]==="/")Q="/%2F"+Q.slice(2);J.push(Q)}if(q.query!==void 0)J.push("?",q.query);if(q.fragment!==void 0)J.push("#",q.fragment);return J.join("")}var sc0=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function tc0($,Y){if(Y[2]!==void 0&&$.path&&$.path[0]!=="/")return'URI path must start with "/" when authority is present.';if(typeof $.port==="number"&&($.port<0||$.port>65535))return"URI port is malformed.";return}function La($,Y){let q=Object.assign({},Y),z={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},J=!1,U=!1;if(q.reference==="suffix")if(q.scheme)$=q.scheme+":"+$;else $="//"+$;let I=$.match(sc0);if(I){if(z.scheme=I[1],z.userinfo=I[3],z.host=I[4],z.port=parseInt(I[5],10),z.path=I[6]||"",z.query=I[7],z.fragment=I[8],isNaN(z.port))z.port=I[5];let Q=tc0(z,I);if(Q!==void 0)z.error=z.error||Q,J=!0;if(z.host)if(pc0(z.host)===!1){let H=uc0(z.host);z.host=H.host.toLowerCase(),U=H.isIPV6}else U=!0;if(z.scheme===void 0&&z.userinfo===void 0&&z.host===void 0&&z.port===void 0&&z.query===void 0&&!z.path)z.reference="same-document";else if(z.scheme===void 0)z.reference="relative";else if(z.fragment===void 0)z.reference="absolute";else z.reference="uri";if(q.reference&&q.reference!=="suffix"&&q.reference!==z.reference)z.error=z.error||"URI is not a "+q.reference+" reference.";let K=Xa(q.scheme||z.scheme);if(!q.unicodeSupport&&(!K||!K.unicodeSupport)){if(z.host&&(q.domainHost||K&&K.domainHost)&&U===!1&&dc0(z.host))try{z.host=URL.domainToASCII(z.host.toLowerCase())}catch(G){z.error=z.error||"Host's domain name can not be converted to ASCII: "+G}}if(!K||K&&!K.skipNormalize){if($.indexOf("%")!==-1){if(z.scheme!==void 0)z.scheme=unescape(z.scheme);if(z.host!==void 0)z.host=cc0(unescape(z.host),U)}if(z.path)z.path=ic0(z.path);if(z.fragment)try{z.fragment=encodeURI(decodeURIComponent(z.fragment))}catch{z.error=z.error||"URI malformed"}}if(K&&K.parse)K.parse(z,q)}else z.error=z.error||"URI can not be parsed.";return{parsed:z,malformedAuthorityOrPort:J}}function Mz($,Y){return La($,Y).parsed}function ac0($,Y){return wa($,Y).normalized}function wa($,Y){let{parsed:q,malformedAuthorityOrPort:z}=La($,Y);return{normalized:z?$:R2(q,Y),malformedAuthorityOrPort:z}}function Wa($,Y){if(typeof $==="string"){let{normalized:q,malformedAuthorityOrPort:z}=wa($,Y);return z?void 0:q}if(typeof $==="object")return R2($,Y)}var TC={SCHEMES:mc0,normalize:lc0,resolve:oc0,resolveComponent:Va,equal:rc0,serialize:R2,parse:Mz};oV.exports=TC;oV.exports.default=TC;oV.exports.fastUri=TC});var Na=M((Ma)=>{Object.defineProperty(Ma,"__esModule",{value:!0});var Oa=Fa();Oa.code='require("ajv/dist/runtime/uri").default';Ma.default=Oa});var _a=M((T9)=>{Object.defineProperty(T9,"__esModule",{value:!0});T9.CodeGen=T9.Name=T9.nil=T9.stringify=T9.str=T9._=T9.KeywordCxt=void 0;var $p0=lQ();Object.defineProperty(T9,"KeywordCxt",{enumerable:!0,get:function(){return $p0.KeywordCxt}});var Nz=I1();Object.defineProperty(T9,"_",{enumerable:!0,get:function(){return Nz._}});Object.defineProperty(T9,"str",{enumerable:!0,get:function(){return Nz.str}});Object.defineProperty(T9,"stringify",{enumerable:!0,get:function(){return Nz.stringify}});Object.defineProperty(T9,"nil",{enumerable:!0,get:function(){return Nz.nil}});Object.defineProperty(T9,"Name",{enumerable:!0,get:function(){return Nz.Name}});Object.defineProperty(T9,"CodeGen",{enumerable:!0,get:function(){return Nz.CodeGen}});var Yp0=cV(),Ta=oQ(),qp0=zC(),tQ=dV(),zp0=I1(),aQ=pQ(),rV=cQ(),jC=j1(),Da=$a(),Jp0=Na(),Ea=($,Y)=>new RegExp($,Y);Ea.code="new RegExp";var Up0=["removeAdditional","useDefaults","coerceTypes"],Ip0=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Qp0={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},Kp0={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},Pa=200;function Gp0($){var Y,q,z,J,U,I,Q,K,G,H,Z,V,X,L,w,F,O,P,B,A,E,y,v,k,C;let c=$.strict,n=(Y=$.code)===null||Y===void 0?void 0:Y.optimize,g=n===!0||n===void 0?1:n||0,b=(z=(q=$.code)===null||q===void 0?void 0:q.regExp)!==null&&z!==void 0?z:Ea,i=(J=$.uriResolver)!==null&&J!==void 0?J:Jp0.default;return{strictSchema:(I=(U=$.strictSchema)!==null&&U!==void 0?U:c)!==null&&I!==void 0?I:!0,strictNumbers:(K=(Q=$.strictNumbers)!==null&&Q!==void 0?Q:c)!==null&&K!==void 0?K:!0,strictTypes:(H=(G=$.strictTypes)!==null&&G!==void 0?G:c)!==null&&H!==void 0?H:"log",strictTuples:(V=(Z=$.strictTuples)!==null&&Z!==void 0?Z:c)!==null&&V!==void 0?V:"log",strictRequired:(L=(X=$.strictRequired)!==null&&X!==void 0?X:c)!==null&&L!==void 0?L:!1,code:$.code?{...$.code,optimize:g,regExp:b}:{optimize:g,regExp:b},loopRequired:(w=$.loopRequired)!==null&&w!==void 0?w:Pa,loopEnum:(F=$.loopEnum)!==null&&F!==void 0?F:Pa,meta:(O=$.meta)!==null&&O!==void 0?O:!0,messages:(P=$.messages)!==null&&P!==void 0?P:!0,inlineRefs:(B=$.inlineRefs)!==null&&B!==void 0?B:!0,schemaId:(A=$.schemaId)!==null&&A!==void 0?A:"$id",addUsedSchema:(E=$.addUsedSchema)!==null&&E!==void 0?E:!0,validateSchema:(y=$.validateSchema)!==null&&y!==void 0?y:!0,validateFormats:(v=$.validateFormats)!==null&&v!==void 0?v:!0,unicodeRegExp:(k=$.unicodeRegExp)!==null&&k!==void 0?k:!0,int32range:(C=$.int32range)!==null&&C!==void 0?C:!0,uriResolver:i}}class sV{constructor($={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,$=this.opts={...$,...Gp0($)};let{es5:Y,lines:q}=this.opts.code;this.scope=new zp0.ValueScope({scope:{},prefixes:Ip0,es5:Y,lines:q}),this.logger=Lp0($.logger);let z=$.validateFormats;if($.validateFormats=!1,this.RULES=(0,qp0.getRules)(),Aa.call(this,Qp0,$,"NOT SUPPORTED"),Aa.call(this,Kp0,$,"DEPRECATED","warn"),this._metaOpts=Xp0.call(this),$.formats)Zp0.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),$.keywords)Wp0.call(this,$.keywords);if(typeof $.meta=="object")this.addMetaSchema($.meta);Hp0.call(this),$.validateFormats=z}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:$,meta:Y,schemaId:q}=this.opts,z=Da;if(q==="id")z={...Da},z.id=z.$id,delete z.$id;if(Y&&$)this.addMetaSchema(z,z[q],!1)}defaultMeta(){let{meta:$,schemaId:Y}=this.opts;return this.opts.defaultMeta=typeof $=="object"?$[Y]||$:void 0}validate($,Y){let q;if(typeof $=="string"){if(q=this.getSchema($),!q)throw Error(`no schema with key or ref "${$}"`)}else q=this.compile($);let z=q(Y);if(!("$async"in q))this.errors=q.errors;return z}compile($,Y){let q=this._addSchema($,Y);return q.validate||this._compileSchemaEnv(q)}compileAsync($,Y){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:q}=this.opts;return z.call(this,$,Y);async function z(G,H){await J.call(this,G.$schema);let Z=this._addSchema(G,H);return Z.validate||U.call(this,Z)}async function J(G){if(G&&!this.getSchema(G))await z.call(this,{$ref:G},!0)}async function U(G){try{return this._compileSchemaEnv(G)}catch(H){if(!(H instanceof Ta.default))throw H;return I.call(this,H),await Q.call(this,H.missingSchema),U.call(this,G)}}function I({missingSchema:G,missingRef:H}){if(this.refs[G])throw Error(`AnySchema ${G} is loaded but ${H} cannot be resolved`)}async function Q(G){let H=await K.call(this,G);if(!this.refs[G])await J.call(this,H.$schema);if(!this.refs[G])this.addSchema(H,G,Y)}async function K(G){let H=this._loading[G];if(H)return H;try{return await(this._loading[G]=q(G))}finally{delete this._loading[G]}}}addSchema($,Y,q,z=this.opts.validateSchema){if(Array.isArray($)){for(let U of $)this.addSchema(U,void 0,q,z);return this}let J;if(typeof $==="object"){let{schemaId:U}=this.opts;if(J=$[U],J!==void 0&&typeof J!="string")throw Error(`schema ${U} must be string`)}return Y=(0,aQ.normalizeId)(Y||J),this._checkUnique(Y),this.schemas[Y]=this._addSchema($,q,Y,z,!0),this}addMetaSchema($,Y,q=this.opts.validateSchema){return this.addSchema($,Y,!0,q),this}validateSchema($,Y){if(typeof $=="boolean")return!0;let q;if(q=$.$schema,q!==void 0&&typeof q!="string")throw Error("$schema must be a string");if(q=q||this.opts.defaultMeta||this.defaultMeta(),!q)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let z=this.validate(q,$);if(!z&&Y){let J="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(J);else throw Error(J)}return z}getSchema($){let Y;while(typeof(Y=Ba.call(this,$))=="string")$=Y;if(Y===void 0){let{schemaId:q}=this.opts,z=new tQ.SchemaEnv({schema:{},schemaId:q});if(Y=tQ.resolveSchema.call(this,z,$),!Y)return;this.refs[$]=Y}return Y.validate||this._compileSchemaEnv(Y)}removeSchema($){if($ instanceof RegExp)return this._removeAllSchemas(this.schemas,$),this._removeAllSchemas(this.refs,$),this;switch(typeof $){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let Y=Ba.call(this,$);if(typeof Y=="object")this._cache.delete(Y.schema);return delete this.schemas[$],delete this.refs[$],this}case"object":{let Y=$;this._cache.delete(Y);let q=$[this.opts.schemaId];if(q)q=(0,aQ.normalizeId)(q),delete this.schemas[q],delete this.refs[q];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary($){for(let Y of $)this.addKeyword(Y);return this}addKeyword($,Y){let q;if(typeof $=="string"){if(q=$,typeof Y=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),Y.keyword=q}else if(typeof $=="object"&&Y===void 0){if(Y=$,q=Y.keyword,Array.isArray(q)&&!q.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(Fp0.call(this,q,Y),!Y)return(0,jC.eachItem)(q,(J)=>EC.call(this,J)),this;Mp0.call(this,Y);let z={...Y,type:(0,rV.getJSONTypes)(Y.type),schemaType:(0,rV.getJSONTypes)(Y.schemaType)};return(0,jC.eachItem)(q,z.type.length===0?(J)=>EC.call(this,J,z):(J)=>z.type.forEach((U)=>EC.call(this,J,z,U))),this}getKeyword($){let Y=this.RULES.all[$];return typeof Y=="object"?Y.definition:!!Y}removeKeyword($){let{RULES:Y}=this;delete Y.keywords[$],delete Y.all[$];for(let q of Y.rules){let z=q.rules.findIndex((J)=>J.keyword===$);if(z>=0)q.rules.splice(z,1)}return this}addFormat($,Y){if(typeof Y=="string")Y=new RegExp(Y);return this.formats[$]=Y,this}errorsText($=this.errors,{separator:Y=", ",dataVar:q="data"}={}){if(!$||$.length===0)return"No errors";return $.map((z)=>`${q}${z.instancePath} ${z.message}`).reduce((z,J)=>z+Y+J)}$dataMetaSchema($,Y){let q=this.RULES.all;$=JSON.parse(JSON.stringify($));for(let z of Y){let J=z.split("/").slice(1),U=$;for(let I of J)U=U[I];for(let I in q){let Q=q[I];if(typeof Q!="object")continue;let{$data:K}=Q.definition,G=U[I];if(K&&G)U[I]=ja(G)}}return $}_removeAllSchemas($,Y){for(let q in $){let z=$[q];if(!Y||Y.test(q)){if(typeof z=="string")delete $[q];else if(z&&!z.meta)this._cache.delete(z.schema),delete $[q]}}}_addSchema($,Y,q,z=this.opts.validateSchema,J=this.opts.addUsedSchema){let U,{schemaId:I}=this.opts;if(typeof $=="object")U=$[I];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof $!="boolean")throw Error("schema must be object or boolean");let Q=this._cache.get($);if(Q!==void 0)return Q;q=(0,aQ.normalizeId)(U||q);let K=aQ.getSchemaRefs.call(this,$,q);if(Q=new tQ.SchemaEnv({schema:$,schemaId:I,meta:Y,baseId:q,localRefs:K}),this._cache.set(Q.schema,Q),J&&!q.startsWith("#")){if(q)this._checkUnique(q);this.refs[q]=Q}if(z)this.validateSchema($,!0);return Q}_checkUnique($){if(this.schemas[$]||this.refs[$])throw Error(`schema with key or id "${$}" already exists`)}_compileSchemaEnv($){if($.meta)this._compileMetaSchema($);else tQ.compileSchema.call(this,$);if(!$.validate)throw Error("ajv implementation error");return $.validate}_compileMetaSchema($){let Y=this.opts;this.opts=this._metaOpts;try{tQ.compileSchema.call(this,$)}finally{this.opts=Y}}}sV.ValidationError=Yp0.default;sV.MissingRefError=Ta.default;T9.default=sV;function Aa($,Y,q,z="error"){for(let J in $){let U=J;if(U in Y)this.logger[z](`${q}: option ${J}. ${$[U]}`)}}function Ba($){return $=(0,aQ.normalizeId)($),this.schemas[$]||this.refs[$]}function Hp0(){let $=this.opts.schemas;if(!$)return;if(Array.isArray($))this.addSchema($);else for(let Y in $)this.addSchema($[Y],Y)}function Zp0(){for(let $ in this.opts.formats){let Y=this.opts.formats[$];if(Y)this.addFormat($,Y)}}function Wp0($){if(Array.isArray($)){this.addVocabulary($);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let Y in $){let q=$[Y];if(!q.keyword)q.keyword=Y;this.addKeyword(q)}}function Xp0(){let $={...this.opts};for(let Y of Up0)delete $[Y];return $}var Vp0={log(){},warn(){},error(){}};function Lp0($){if($===!1)return Vp0;if($===void 0)return console;if($.log&&$.warn&&$.error)return $;throw Error("logger must implement log, warn and error methods")}var wp0=/^[a-z_$][a-z0-9_$:-]*$/i;function Fp0($,Y){let{RULES:q}=this;if((0,jC.eachItem)($,(z)=>{if(q.keywords[z])throw Error(`Keyword ${z} is already defined`);if(!wp0.test(z))throw Error(`Keyword ${z} has invalid name`)}),!Y)return;if(Y.$data&&!(("code"in Y)||("validate"in Y)))throw Error('$data keyword must have "code" or "validate" function')}function EC($,Y,q){var z;let J=Y===null||Y===void 0?void 0:Y.post;if(q&&J)throw Error('keyword with "post" flag cannot have "type"');let{RULES:U}=this,I=J?U.post:U.rules.find(({type:K})=>K===q);if(!I)I={type:q,rules:[]},U.rules.push(I);if(U.keywords[$]=!0,!Y)return;let Q={keyword:$,definition:{...Y,type:(0,rV.getJSONTypes)(Y.type),schemaType:(0,rV.getJSONTypes)(Y.schemaType)}};if(Y.before)Op0.call(this,I,Q,Y.before);else I.rules.push(Q);U.all[$]=Q,(z=Y.implements)===null||z===void 0||z.forEach((K)=>this.addKeyword(K))}function Op0($,Y,q){let z=$.rules.findIndex((J)=>J.keyword===q);if(z>=0)$.rules.splice(z,0,Y);else $.rules.push(Y),this.logger.warn(`rule ${q} is not defined`)}function Mp0($){let{metaSchema:Y}=$;if(Y===void 0)return;if($.$data&&this.opts.$data)Y=ja(Y);$.validateSchema=this.compile(Y,!0)}var Np0={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ja($){return{anyOf:[$,Np0]}}});var Ca=M((Ra)=>{Object.defineProperty(Ra,"__esModule",{value:!0});var Ap0={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Ra.default=Ap0});var xa=M((Sa)=>{Object.defineProperty(Sa,"__esModule",{value:!0});Sa.callRef=Sa.getValidate=void 0;var Tp0=oQ(),va=D$(),u8=I1(),Dz=A9(),ha=dV(),tV=j1(),Ep0={keyword:"$ref",schemaType:"string",code($){let{gen:Y,schema:q,it:z}=$,{baseId:J,schemaEnv:U,validateName:I,opts:Q,self:K}=z,{root:G}=U;if((q==="#"||q==="#/")&&J===G.baseId)return Z();let H=ha.resolveRef.call(K,G,J,q);if(H===void 0)throw new Tp0.default(z.opts.uriResolver,J,q);if(H instanceof ha.SchemaEnv)return V(H);return X(H);function Z(){if(U===G)return aV($,I,U,U.$async);let L=Y.scopeValue("root",{ref:G});return aV($,u8._`${L}.validate`,G,G.$async)}function V(L){let w=ga($,L);aV($,w,L,L.$async)}function X(L){let w=Y.scopeValue("schema",Q.code.source===!0?{ref:L,code:(0,u8.stringify)(L)}:{ref:L}),F=Y.name("valid"),O=$.subschema({schema:L,dataTypes:[],schemaPath:u8.nil,topSchemaRef:w,errSchemaPath:q},F);$.mergeEvaluated(O),$.ok(F)}}};function ga($,Y){let{gen:q}=$;return Y.validate?q.scopeValue("validate",{ref:Y.validate}):u8._`${q.scopeValue("wrapper",{ref:Y})}.validate`}Sa.getValidate=ga;function aV($,Y,q,z){let{gen:J,it:U}=$,{allErrors:I,schemaEnv:Q,opts:K}=U,G=K.passContext?Dz.default.this:u8.nil;if(z)H();else Z();function H(){if(!Q.$async)throw Error("async schema referenced by sync schema");let L=J.let("valid");J.try(()=>{if(J.code(u8._`await ${(0,va.callValidateCode)($,Y,G)}`),X(Y),!I)J.assign(L,!0)},(w)=>{if(J.if(u8._`!(${w} instanceof ${U.ValidationError})`,()=>J.throw(w)),V(w),!I)J.assign(L,!1)}),$.ok(L)}function Z(){$.result((0,va.callValidateCode)($,Y,G),()=>X(Y),()=>V(Y))}function V(L){let w=u8._`${L}.errors`;J.assign(Dz.default.vErrors,u8._`${Dz.default.vErrors} === null ? ${w} : ${Dz.default.vErrors}.concat(${w})`),J.assign(Dz.default.errors,u8._`${Dz.default.vErrors}.length`)}function X(L){var w;if(!U.opts.unevaluated)return;let F=(w=q===null||q===void 0?void 0:q.validate)===null||w===void 0?void 0:w.evaluated;if(U.props!==!0)if(F&&!F.dynamicProps){if(F.props!==void 0)U.props=tV.mergeEvaluated.props(J,F.props,U.props)}else{let O=J.var("props",u8._`${L}.evaluated.props`);U.props=tV.mergeEvaluated.props(J,O,U.props,u8.Name)}if(U.items!==!0)if(F&&!F.dynamicItems){if(F.items!==void 0)U.items=tV.mergeEvaluated.items(J,F.items,U.items)}else{let O=J.var("items",u8._`${L}.evaluated.items`);U.items=tV.mergeEvaluated.items(J,O,U.items,u8.Name)}}}Sa.callRef=aV;Sa.default=Ep0});var ua=M((ka)=>{Object.defineProperty(ka,"__esModule",{value:!0});var Rp0=Ca(),Cp0=xa(),vp0=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Rp0.default,Cp0.default];ka.default=vp0});var ba=M((fa)=>{Object.defineProperty(fa,"__esModule",{value:!0});var eV=I1(),n3=eV.operators,$L={maximum:{okStr:"<=",ok:n3.LTE,fail:n3.GT},minimum:{okStr:">=",ok:n3.GTE,fail:n3.LT},exclusiveMaximum:{okStr:"<",ok:n3.LT,fail:n3.GTE},exclusiveMinimum:{okStr:">",ok:n3.GT,fail:n3.LTE}},gp0={message:({keyword:$,schemaCode:Y})=>eV.str`must be ${$L[$].okStr} ${Y}`,params:({keyword:$,schemaCode:Y})=>eV._`{comparison: ${$L[$].okStr}, limit: ${Y}}`},Sp0={keyword:Object.keys($L),type:"number",schemaType:"number",$data:!0,error:gp0,code($){let{keyword:Y,data:q,schemaCode:z}=$;$.fail$data(eV._`${q} ${$L[Y].fail} ${z} || isNaN(${q})`)}};fa.default=Sp0});var na=M((ia)=>{Object.defineProperty(ia,"__esModule",{value:!0});var eQ=I1(),xp0={message:({schemaCode:$})=>eQ.str`must be multiple of ${$}`,params:({schemaCode:$})=>eQ._`{multipleOf: ${$}}`},kp0={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:xp0,code($){let{gen:Y,data:q,schemaCode:z,it:J}=$,U=J.opts.multipleOfPrecision,I=Y.let("res"),Q=U?eQ._`Math.abs(Math.round(${I}) - ${I}) > 1e-${U}`:eQ._`${I} !== parseInt(${I})`;$.fail$data(eQ._`(${z} === 0 || (${I} = ${q}/${z}, ${Q}))`)}};ia.default=kp0});var da=M((pa)=>{Object.defineProperty(pa,"__esModule",{value:!0});function ca($){let Y=$.length,q=0,z=0,J;while(z<Y)if(q++,J=$.charCodeAt(z++),J>=55296&&J<=56319&&z<Y){if(J=$.charCodeAt(z),(J&64512)===56320)z++}return q}pa.default=ca;ca.code='require("ajv/dist/runtime/ucs2length").default'});var la=M((ma)=>{Object.defineProperty(ma,"__esModule",{value:!0});var C2=I1(),bp0=j1(),ip0=da(),np0={message({keyword:$,schemaCode:Y}){let q=$==="maxLength"?"more":"fewer";return C2.str`must NOT have ${q} than ${Y} characters`},params:({schemaCode:$})=>C2._`{limit: ${$}}`},cp0={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:np0,code($){let{keyword:Y,data:q,schemaCode:z,it:J}=$,U=Y==="maxLength"?C2.operators.GT:C2.operators.LT,I=J.opts.unicode===!1?C2._`${q}.length`:C2._`${(0,bp0.useFunc)($.gen,ip0.default)}(${q})`;$.fail$data(C2._`${I} ${U} ${z}`)}};ma.default=cp0});var ra=M((oa)=>{Object.defineProperty(oa,"__esModule",{value:!0});var dp0=D$(),mp0=j1(),Pz=I1(),lp0={message:({schemaCode:$})=>Pz.str`must match pattern "${$}"`,params:({schemaCode:$})=>Pz._`{pattern: ${$}}`},op0={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:lp0,code($){let{gen:Y,data:q,$data:z,schema:J,schemaCode:U,it:I}=$,Q=I.opts.unicodeRegExp?"u":"";if(z){let{regExp:K}=I.opts.code,G=K.code==="new RegExp"?Pz._`new RegExp`:(0,mp0.useFunc)(Y,K),H=Y.let("valid");Y.try(()=>Y.assign(H,Pz._`${G}(${U}, ${Q}).test(${q})`),()=>Y.assign(H,!1)),$.fail$data(Pz._`!${H}`)}else{let K=(0,dp0.usePattern)($,J);$.fail$data(Pz._`!${K}.test(${q})`)}}};oa.default=op0});var ta=M((sa)=>{Object.defineProperty(sa,"__esModule",{value:!0});var $K=I1(),sp0={message({keyword:$,schemaCode:Y}){let q=$==="maxProperties"?"more":"fewer";return $K.str`must NOT have ${q} than ${Y} properties`},params:({schemaCode:$})=>$K._`{limit: ${$}}`},tp0={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:sp0,code($){let{keyword:Y,data:q,schemaCode:z}=$,J=Y==="maxProperties"?$K.operators.GT:$K.operators.LT;$.fail$data($K._`Object.keys(${q}).length ${J} ${z}`)}};sa.default=tp0});var ea=M((aa)=>{Object.defineProperty(aa,"__esModule",{value:!0});var YK=D$(),qK=I1(),ep0=j1(),$d0={message:({params:{missingProperty:$}})=>qK.str`must have required property '${$}'`,params:({params:{missingProperty:$}})=>qK._`{missingProperty: ${$}}`},Yd0={keyword:"required",type:"object",schemaType:"array",$data:!0,error:$d0,code($){let{gen:Y,schema:q,schemaCode:z,data:J,$data:U,it:I}=$,{opts:Q}=I;if(!U&&q.length===0)return;let K=q.length>=Q.loopRequired;if(I.allErrors)G();else H();if(Q.strictRequired){let X=$.parentSchema.properties,{definedProperties:L}=$.it;for(let w of q)if((X===null||X===void 0?void 0:X[w])===void 0&&!L.has(w)){let F=I.schemaEnv.baseId+I.errSchemaPath,O=`required property "${w}" is not defined at "${F}" (strictRequired)`;(0,ep0.checkStrictMode)(I,O,I.opts.strictRequired)}}function G(){if(K||U)$.block$data(qK.nil,Z);else for(let X of q)(0,YK.checkReportMissingProp)($,X)}function H(){let X=Y.let("missing");if(K||U){let L=Y.let("valid",!0);$.block$data(L,()=>V(X,L)),$.ok(L)}else Y.if((0,YK.checkMissingProp)($,q,X)),(0,YK.reportMissingProp)($,X),Y.else()}function Z(){Y.forOf("prop",z,(X)=>{$.setParams({missingProperty:X}),Y.if((0,YK.noPropertyInData)(Y,J,X,Q.ownProperties),()=>$.error())})}function V(X,L){$.setParams({missingProperty:X}),Y.forOf(X,z,()=>{Y.assign(L,(0,YK.propertyInData)(Y,J,X,Q.ownProperties)),Y.if((0,qK.not)(L),()=>{$.error(),Y.break()})},qK.nil)}}};aa.default=Yd0});var Ye=M(($e)=>{Object.defineProperty($e,"__esModule",{value:!0});var zK=I1(),zd0={message({keyword:$,schemaCode:Y}){let q=$==="maxItems"?"more":"fewer";return zK.str`must NOT have ${q} than ${Y} items`},params:({schemaCode:$})=>zK._`{limit: ${$}}`},Jd0={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:zd0,code($){let{keyword:Y,data:q,schemaCode:z}=$,J=Y==="maxItems"?zK.operators.GT:zK.operators.LT;$.fail$data(zK._`${q}.length ${J} ${z}`)}};$e.default=Jd0});var YL=M((ze)=>{Object.defineProperty(ze,"__esModule",{value:!0});var qe=ZC();qe.code='require("ajv/dist/runtime/equal").default';ze.default=qe});var Ue=M((Je)=>{Object.defineProperty(Je,"__esModule",{value:!0});var _C=cQ(),f6=I1(),Qd0=j1(),Kd0=YL(),Gd0={message:({params:{i:$,j:Y}})=>f6.str`must NOT have duplicate items (items ## ${Y} and ${$} are identical)`,params:({params:{i:$,j:Y}})=>f6._`{i: ${$}, j: ${Y}}`},Hd0={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:Gd0,code($){let{gen:Y,data:q,$data:z,schema:J,parentSchema:U,schemaCode:I,it:Q}=$;if(!z&&!J)return;let K=Y.let("valid"),G=U.items?(0,_C.getSchemaTypes)(U.items):[];$.block$data(K,H,f6._`${I} === false`),$.ok(K);function H(){let L=Y.let("i",f6._`${q}.length`),w=Y.let("j");$.setParams({i:L,j:w}),Y.assign(K,!0),Y.if(f6._`${L} > 1`,()=>(Z()?V:X)(L,w))}function Z(){return G.length>0&&!G.some((L)=>L==="object"||L==="array")}function V(L,w){let F=Y.name("item"),O=(0,_C.checkDataTypes)(G,F,Q.opts.strictNumbers,_C.DataType.Wrong),P=Y.const("indices",f6._`{}`);Y.for(f6._`;${L}--;`,()=>{if(Y.let(F,f6._`${q}[${L}]`),Y.if(O,f6._`continue`),G.length>1)Y.if(f6._`typeof ${F} == "string"`,f6._`${F} += "_"`);Y.if(f6._`typeof ${P}[${F}] == "number"`,()=>{Y.assign(w,f6._`${P}[${F}]`),$.error(),Y.assign(K,!1).break()}).code(f6._`${P}[${F}] = ${L}`)})}function X(L,w){let F=(0,Qd0.useFunc)(Y,Kd0.default),O=Y.name("outer");Y.label(O).for(f6._`;${L}--;`,()=>Y.for(f6._`${w} = ${L}; ${w}--;`,()=>Y.if(f6._`${F}(${q}[${L}], ${q}[${w}])`,()=>{$.error(),Y.assign(K,!1).break(O)})))}}};Je.default=Hd0});var Qe=M((Ie)=>{Object.defineProperty(Ie,"__esModule",{value:!0});var RC=I1(),Wd0=j1(),Xd0=YL(),Vd0={message:"must be equal to constant",params:({schemaCode:$})=>RC._`{allowedValue: ${$}}`},Ld0={keyword:"const",$data:!0,error:Vd0,code($){let{gen:Y,data:q,$data:z,schemaCode:J,schema:U}=$;if(z||U&&typeof U=="object")$.fail$data(RC._`!${(0,Wd0.useFunc)(Y,Xd0.default)}(${q}, ${J})`);else $.fail(RC._`${U} !== ${q}`)}};Ie.default=Ld0});var Ge=M((Ke)=>{Object.defineProperty(Ke,"__esModule",{value:!0});var JK=I1(),Fd0=j1(),Od0=YL(),Md0={message:"must be equal to one of the allowed values",params:({schemaCode:$})=>JK._`{allowedValues: ${$}}`},Nd0={keyword:"enum",schemaType:"array",$data:!0,error:Md0,code($){let{gen:Y,data:q,$data:z,schema:J,schemaCode:U,it:I}=$;if(!z&&J.length===0)throw Error("enum must have non-empty array");let Q=J.length>=I.opts.loopEnum,K,G=()=>K!==null&&K!==void 0?K:K=(0,Fd0.useFunc)(Y,Od0.default),H;if(Q||z)H=Y.let("valid"),$.block$data(H,Z);else{if(!Array.isArray(J))throw Error("ajv implementation error");let X=Y.const("vSchema",U);H=(0,JK.or)(...J.map((L,w)=>V(X,w)))}$.pass(H);function Z(){Y.assign(H,!1),Y.forOf("v",U,(X)=>Y.if(JK._`${G()}(${q}, ${X})`,()=>Y.assign(H,!0).break()))}function V(X,L){let w=J[L];return typeof w==="object"&&w!==null?JK._`${G()}(${q}, ${X}[${L}])`:JK._`${q} === ${w}`}}};Ke.default=Nd0});var Ze=M((He)=>{Object.defineProperty(He,"__esModule",{value:!0});var Pd0=ba(),Ad0=na(),Bd0=la(),Td0=ra(),Ed0=ta(),jd0=ea(),_d0=Ye(),Rd0=Ue(),Cd0=Qe(),vd0=Ge(),hd0=[Pd0.default,Ad0.default,Bd0.default,Td0.default,Ed0.default,jd0.default,_d0.default,Rd0.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},Cd0.default,vd0.default];He.default=hd0});var vC=M((Xe)=>{Object.defineProperty(Xe,"__esModule",{value:!0});Xe.validateAdditionalItems=void 0;var v2=I1(),CC=j1(),Sd0={message:({params:{len:$}})=>v2.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>v2._`{limit: ${$}}`},yd0={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:Sd0,code($){let{parentSchema:Y,it:q}=$,{items:z}=Y;if(!Array.isArray(z)){(0,CC.checkStrictMode)(q,'"additionalItems" is ignored when "items" is not an array of schemas');return}We($,z)}};function We($,Y){let{gen:q,schema:z,data:J,keyword:U,it:I}=$;I.items=!0;let Q=q.const("len",v2._`${J}.length`);if(z===!1)$.setParams({len:Y.length}),$.pass(v2._`${Q} <= ${Y.length}`);else if(typeof z=="object"&&!(0,CC.alwaysValidSchema)(I,z)){let G=q.var("valid",v2._`${Q} <= ${Y.length}`);q.if((0,v2.not)(G),()=>K(G)),$.ok(G)}function K(G){q.forRange("i",Y.length,Q,(H)=>{if($.subschema({keyword:U,dataProp:H,dataPropType:CC.Type.Num},G),!I.allErrors)q.if((0,v2.not)(G),()=>q.break())})}}Xe.validateAdditionalItems=We;Xe.default=yd0});var hC=M((Fe)=>{Object.defineProperty(Fe,"__esModule",{value:!0});Fe.validateTuple=void 0;var Le=I1(),qL=j1(),kd0=D$(),ud0={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code($){let{schema:Y,it:q}=$;if(Array.isArray(Y))return we($,"additionalItems",Y);if(q.items=!0,(0,qL.alwaysValidSchema)(q,Y))return;$.ok((0,kd0.validateArray)($))}};function we($,Y,q=$.schema){let{gen:z,parentSchema:J,data:U,keyword:I,it:Q}=$;if(H(J),Q.opts.unevaluated&&q.length&&Q.items!==!0)Q.items=qL.mergeEvaluated.items(z,q.length,Q.items);let K=z.name("valid"),G=z.const("len",Le._`${U}.length`);q.forEach((Z,V)=>{if((0,qL.alwaysValidSchema)(Q,Z))return;z.if(Le._`${G} > ${V}`,()=>$.subschema({keyword:I,schemaProp:V,dataProp:V},K)),$.ok(K)});function H(Z){let{opts:V,errSchemaPath:X}=Q,L=q.length,w=L===Z.minItems&&(L===Z.maxItems||Z[Y]===!1);if(V.strictTuples&&!w){let F=`"${I}" is ${L}-tuple, but minItems or maxItems/${Y} are not specified or different at path "${X}"`;(0,qL.checkStrictMode)(Q,F,V.strictTuples)}}}Fe.validateTuple=we;Fe.default=ud0});var Ne=M((Me)=>{Object.defineProperty(Me,"__esModule",{value:!0});var bd0=hC(),id0={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:($)=>(0,bd0.validateTuple)($,"items")};Me.default=id0});var Ae=M((Pe)=>{Object.defineProperty(Pe,"__esModule",{value:!0});var De=I1(),cd0=j1(),pd0=D$(),dd0=vC(),md0={message:({params:{len:$}})=>De.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>De._`{limit: ${$}}`},ld0={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:md0,code($){let{schema:Y,parentSchema:q,it:z}=$,{prefixItems:J}=q;if(z.items=!0,(0,cd0.alwaysValidSchema)(z,Y))return;if(J)(0,dd0.validateAdditionalItems)($,J);else $.ok((0,pd0.validateArray)($))}};Pe.default=ld0});var Te=M((Be)=>{Object.defineProperty(Be,"__esModule",{value:!0});var P$=I1(),zL=j1(),rd0={message:({params:{min:$,max:Y}})=>Y===void 0?P$.str`must contain at least ${$} valid item(s)`:P$.str`must contain at least ${$} and no more than ${Y} valid item(s)`,params:({params:{min:$,max:Y}})=>Y===void 0?P$._`{minContains: ${$}}`:P$._`{minContains: ${$}, maxContains: ${Y}}`},sd0={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:rd0,code($){let{gen:Y,schema:q,parentSchema:z,data:J,it:U}=$,I,Q,{minContains:K,maxContains:G}=z;if(U.opts.next)I=K===void 0?1:K,Q=G;else I=1;let H=Y.const("len",P$._`${J}.length`);if($.setParams({min:I,max:Q}),Q===void 0&&I===0){(0,zL.checkStrictMode)(U,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(Q!==void 0&&I>Q){(0,zL.checkStrictMode)(U,'"minContains" > "maxContains" is always invalid'),$.fail();return}if((0,zL.alwaysValidSchema)(U,q)){let w=P$._`${H} >= ${I}`;if(Q!==void 0)w=P$._`${w} && ${H} <= ${Q}`;$.pass(w);return}U.items=!0;let Z=Y.name("valid");if(Q===void 0&&I===1)X(Z,()=>Y.if(Z,()=>Y.break()));else if(I===0){if(Y.let(Z,!0),Q!==void 0)Y.if(P$._`${J}.length > 0`,V)}else Y.let(Z,!1),V();$.result(Z,()=>$.reset());function V(){let w=Y.name("_valid"),F=Y.let("count",0);X(w,()=>Y.if(w,()=>L(F)))}function X(w,F){Y.forRange("i",0,H,(O)=>{$.subschema({keyword:"contains",dataProp:O,dataPropType:zL.Type.Num,compositeRule:!0},w),F()})}function L(w){if(Y.code(P$._`${w}++`),Q===void 0)Y.if(P$._`${w} >= ${I}`,()=>Y.assign(Z,!0).break());else if(Y.if(P$._`${w} > ${Q}`,()=>Y.assign(Z,!1).break()),I===1)Y.assign(Z,!0);else Y.if(P$._`${w} >= ${I}`,()=>Y.assign(Z,!0))}}};Be.default=sd0});var ve=M((_e)=>{Object.defineProperty(_e,"__esModule",{value:!0});_e.validateSchemaDeps=_e.validatePropertyDeps=_e.error=void 0;var gC=I1(),ad0=j1(),UK=D$();_e.error={message:({params:{property:$,depsCount:Y,deps:q}})=>{let z=Y===1?"property":"properties";return gC.str`must have ${z} ${q} when property ${$} is present`},params:({params:{property:$,depsCount:Y,deps:q,missingProperty:z}})=>gC._`{property: ${$},
missingProperty: ${z},
depsCount: ${Y},
deps: ${q}}`};var ed0={keyword:"dependencies",type:"object",schemaType:"object",error:_e.error,code($){let[Y,q]=$m0($);Ee($,Y),je($,q)}};function $m0({schema:$}){let Y={},q={};for(let z in $){if(z==="__proto__")continue;let J=Array.isArray($[z])?Y:q;J[z]=$[z]}return[Y,q]}function Ee($,Y=$.schema){let{gen:q,data:z,it:J}=$;if(Object.keys(Y).length===0)return;let U=q.let("missing");for(let I in Y){let Q=Y[I];if(Q.length===0)continue;let K=(0,UK.propertyInData)(q,z,I,J.opts.ownProperties);if($.setParams({property:I,depsCount:Q.length,deps:Q.join(", ")}),J.allErrors)q.if(K,()=>{for(let G of Q)(0,UK.checkReportMissingProp)($,G)});else q.if(gC._`${K} && (${(0,UK.checkMissingProp)($,Q,U)})`),(0,UK.reportMissingProp)($,U),q.else()}}_e.validatePropertyDeps=Ee;function je($,Y=$.schema){let{gen:q,data:z,keyword:J,it:U}=$,I=q.name("valid");for(let Q in Y){if((0,ad0.alwaysValidSchema)(U,Y[Q]))continue;q.if((0,UK.propertyInData)(q,z,Q,U.opts.ownProperties),()=>{let K=$.subschema({keyword:J,schemaProp:Q},I);$.mergeValidEvaluated(K,I)},()=>q.var(I,!0)),$.ok(I)}}_e.validateSchemaDeps=je;_e.default=ed0});var Se=M((ge)=>{Object.defineProperty(ge,"__esModule",{value:!0});var he=I1(),zm0=j1(),Jm0={message:"property name must be valid",params:({params:$})=>he._`{propertyName: ${$.propertyName}}`},Um0={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:Jm0,code($){let{gen:Y,schema:q,data:z,it:J}=$;if((0,zm0.alwaysValidSchema)(J,q))return;let U=Y.name("valid");Y.forIn("key",z,(I)=>{$.setParams({propertyName:I}),$.subschema({keyword:"propertyNames",data:I,dataTypes:["string"],propertyName:I,compositeRule:!0},U),Y.if((0,he.not)(U),()=>{if($.error(!0),!J.allErrors)Y.break()})}),$.ok(U)}};ge.default=Um0});var SC=M((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});var JL=D$(),q5=I1(),Qm0=A9(),UL=j1(),Km0={message:"must NOT have additional properties",params:({params:$})=>q5._`{additionalProperty: ${$.additionalProperty}}`},Gm0={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:Km0,code($){let{gen:Y,schema:q,parentSchema:z,data:J,errsCount:U,it:I}=$;if(!U)throw Error("ajv implementation error");let{allErrors:Q,opts:K}=I;if(I.props=!0,K.removeAdditional!=="all"&&(0,UL.alwaysValidSchema)(I,q))return;let G=(0,JL.allSchemaProperties)(z.properties),H=(0,JL.allSchemaProperties)(z.patternProperties);Z(),$.ok(q5._`${U} === ${Qm0.default.errors}`);function Z(){Y.forIn("key",J,(F)=>{if(!G.length&&!H.length)L(F);else Y.if(V(F),()=>L(F))})}function V(F){let O;if(G.length>8){let P=(0,UL.schemaRefOrVal)(I,z.properties,"properties");O=(0,JL.isOwnProperty)(Y,P,F)}else if(G.length)O=(0,q5.or)(...G.map((P)=>q5._`${F} === ${P}`));else O=q5.nil;if(H.length)O=(0,q5.or)(O,...H.map((P)=>q5._`${(0,JL.usePattern)($,P)}.test(${F})`));return(0,q5.not)(O)}function X(F){Y.code(q5._`delete ${J}[${F}]`)}function L(F){if(K.removeAdditional==="all"||K.removeAdditional&&q===!1){X(F);return}if(q===!1){if($.setParams({additionalProperty:F}),$.error(),!Q)Y.break();return}if(typeof q=="object"&&!(0,UL.alwaysValidSchema)(I,q)){let O=Y.name("valid");if(K.removeAdditional==="failing")w(F,O,!1),Y.if((0,q5.not)(O),()=>{$.reset(),X(F)});else if(w(F,O),!Q)Y.if((0,q5.not)(O),()=>Y.break())}}function w(F,O,P){let B={keyword:"additionalProperties",dataProp:F,dataPropType:UL.Type.Str};if(P===!1)Object.assign(B,{compositeRule:!0,createErrors:!1,allErrors:!1});$.subschema(B,O)}}};ye.default=Gm0});var fe=M((ue)=>{Object.defineProperty(ue,"__esModule",{value:!0});var Zm0=lQ(),xe=D$(),yC=j1(),ke=SC(),Wm0={keyword:"properties",type:"object",schemaType:"object",code($){let{gen:Y,schema:q,parentSchema:z,data:J,it:U}=$;if(U.opts.removeAdditional==="all"&&z.additionalProperties===void 0)ke.default.code(new Zm0.KeywordCxt(U,ke.default,"additionalProperties"));let I=(0,xe.allSchemaProperties)(q);for(let Z of I)U.definedProperties.add(Z);if(U.opts.unevaluated&&I.length&&U.props!==!0)U.props=yC.mergeEvaluated.props(Y,(0,yC.toHash)(I),U.props);let Q=I.filter((Z)=>!(0,yC.alwaysValidSchema)(U,q[Z]));if(Q.length===0)return;let K=Y.name("valid");for(let Z of Q){if(G(Z))H(Z);else{if(Y.if((0,xe.propertyInData)(Y,J,Z,U.opts.ownProperties)),H(Z),!U.allErrors)Y.else().var(K,!0);Y.endIf()}$.it.definedProperties.add(Z),$.ok(K)}function G(Z){return U.opts.useDefaults&&!U.compositeRule&&q[Z].default!==void 0}function H(Z){$.subschema({keyword:"properties",schemaProp:Z,dataProp:Z},K)}}};ue.default=Wm0});var pe=M((ce)=>{Object.defineProperty(ce,"__esModule",{value:!0});var be=D$(),IL=I1(),ie=j1(),ne=j1(),Vm0={keyword:"patternProperties",type:"object",schemaType:"object",code($){let{gen:Y,schema:q,data:z,parentSchema:J,it:U}=$,{opts:I}=U,Q=(0,be.allSchemaProperties)(q),K=Q.filter((w)=>(0,ie.alwaysValidSchema)(U,q[w]));if(Q.length===0||K.length===Q.length&&(!U.opts.unevaluated||U.props===!0))return;let G=I.strictSchema&&!I.allowMatchingProperties&&J.properties,H=Y.name("valid");if(U.props!==!0&&!(U.props instanceof IL.Name))U.props=(0,ne.evaluatedPropsToName)(Y,U.props);let{props:Z}=U;V();function V(){for(let w of Q){if(G)X(w);if(U.allErrors)L(w);else Y.var(H,!0),L(w),Y.if(H)}}function X(w){for(let F in G)if(new RegExp(w).test(F))(0,ie.checkStrictMode)(U,`property ${F} matches pattern ${w} (use allowMatchingProperties)`)}function L(w){Y.forIn("key",z,(F)=>{Y.if(IL._`${(0,be.usePattern)($,w)}.test(${F})`,()=>{let O=K.includes(w);if(!O)$.subschema({keyword:"patternProperties",schemaProp:w,dataProp:F,dataPropType:ne.Type.Str},H);if(U.opts.unevaluated&&Z!==!0)Y.assign(IL._`${Z}[${F}]`,!0);else if(!O&&!U.allErrors)Y.if((0,IL.not)(H),()=>Y.break())})})}}};ce.default=Vm0});var me=M((de)=>{Object.defineProperty(de,"__esModule",{value:!0});var wm0=j1(),Fm0={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code($){let{gen:Y,schema:q,it:z}=$;if((0,wm0.alwaysValidSchema)(z,q)){$.fail();return}let J=Y.name("valid");$.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},J),$.failResult(J,()=>$.reset(),()=>$.error())},error:{message:"must NOT be valid"}};de.default=Fm0});var oe=M((le)=>{Object.defineProperty(le,"__esModule",{value:!0});var Mm0=D$(),Nm0={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Mm0.validateUnion,error:{message:"must match a schema in anyOf"}};le.default=Nm0});var se=M((re)=>{Object.defineProperty(re,"__esModule",{value:!0});var QL=I1(),Pm0=j1(),Am0={message:"must match exactly one schema in oneOf",params:({params:$})=>QL._`{passingSchemas: ${$.passing}}`},Bm0={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Am0,code($){let{gen:Y,schema:q,parentSchema:z,it:J}=$;if(!Array.isArray(q))throw Error("ajv implementation error");if(J.opts.discriminator&&z.discriminator)return;let U=q,I=Y.let("valid",!1),Q=Y.let("passing",null),K=Y.name("_valid");$.setParams({passing:Q}),Y.block(G),$.result(I,()=>$.reset(),()=>$.error(!0));function G(){U.forEach((H,Z)=>{let V;if((0,Pm0.alwaysValidSchema)(J,H))Y.var(K,!0);else V=$.subschema({keyword:"oneOf",schemaProp:Z,compositeRule:!0},K);if(Z>0)Y.if(QL._`${K} && ${I}`).assign(I,!1).assign(Q,QL._`[${Q}, ${Z}]`).else();Y.if(K,()=>{if(Y.assign(I,!0),Y.assign(Q,Z),V)$.mergeEvaluated(V,QL.Name)})})}}};re.default=Bm0});var ae=M((te)=>{Object.defineProperty(te,"__esModule",{value:!0});var Em0=j1(),jm0={keyword:"allOf",schemaType:"array",code($){let{gen:Y,schema:q,it:z}=$;if(!Array.isArray(q))throw Error("ajv implementation error");let J=Y.name("valid");q.forEach((U,I)=>{if((0,Em0.alwaysValidSchema)(z,U))return;let Q=$.subschema({keyword:"allOf",schemaProp:I},J);$.ok(J),$.mergeEvaluated(Q)})}};te.default=jm0});var q00=M((Y00)=>{Object.defineProperty(Y00,"__esModule",{value:!0});var KL=I1(),$00=j1(),Rm0={message:({params:$})=>KL.str`must match "${$.ifClause}" schema`,params:({params:$})=>KL._`{failingKeyword: ${$.ifClause}}`},Cm0={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Rm0,code($){let{gen:Y,parentSchema:q,it:z}=$;if(q.then===void 0&&q.else===void 0)(0,$00.checkStrictMode)(z,'"if" without "then" and "else" is ignored');let J=ee(z,"then"),U=ee(z,"else");if(!J&&!U)return;let I=Y.let("valid",!0),Q=Y.name("_valid");if(K(),$.reset(),J&&U){let H=Y.let("ifClause");$.setParams({ifClause:H}),Y.if(Q,G("then",H),G("else",H))}else if(J)Y.if(Q,G("then"));else Y.if((0,KL.not)(Q),G("else"));$.pass(I,()=>$.error(!0));function K(){let H=$.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},Q);$.mergeEvaluated(H)}function G(H,Z){return()=>{let V=$.subschema({keyword:H},Q);if(Y.assign(I,Q),$.mergeValidEvaluated(V,I),Z)Y.assign(Z,KL._`${H}`);else $.setParams({ifClause:H})}}}};function ee($,Y){let q=$.schema[Y];return q!==void 0&&!(0,$00.alwaysValidSchema)($,q)}Y00.default=Cm0});var J00=M((z00)=>{Object.defineProperty(z00,"__esModule",{value:!0});var hm0=j1(),gm0={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:$,parentSchema:Y,it:q}){if(Y.if===void 0)(0,hm0.checkStrictMode)(q,`"${$}" without "if" is ignored`)}};z00.default=gm0});var I00=M((U00)=>{Object.defineProperty(U00,"__esModule",{value:!0});var ym0=vC(),xm0=Ne(),km0=hC(),um0=Ae(),fm0=Te(),bm0=ve(),im0=Se(),nm0=SC(),cm0=fe(),pm0=pe(),dm0=me(),mm0=oe(),lm0=se(),om0=ae(),rm0=q00(),sm0=J00();function tm0($=!1){let Y=[dm0.default,mm0.default,lm0.default,om0.default,rm0.default,sm0.default,im0.default,nm0.default,bm0.default,cm0.default,pm0.default];if($)Y.push(xm0.default,um0.default);else Y.push(ym0.default,km0.default);return Y.push(fm0.default),Y}U00.default=tm0});var K00=M((Q00)=>{Object.defineProperty(Q00,"__esModule",{value:!0});var a4=I1(),em0={message:({schemaCode:$})=>a4.str`must match format "${$}"`,params:({schemaCode:$})=>a4._`{format: ${$}}`},$l0={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:em0,code($,Y){let{gen:q,data:z,$data:J,schema:U,schemaCode:I,it:Q}=$,{opts:K,errSchemaPath:G,schemaEnv:H,self:Z}=Q;if(!K.validateFormats)return;if(J)V();else X();function V(){let L=q.scopeValue("formats",{ref:Z.formats,code:K.code.formats}),w=q.const("fDef",a4._`${L}[${I}]`),F=q.let("fType"),O=q.let("format");q.if(a4._`typeof ${w} == "object" && !(${w} instanceof RegExp)`,()=>q.assign(F,a4._`${w}.type || "string"`).assign(O,a4._`${w}.validate`),()=>q.assign(F,a4._`"string"`).assign(O,w)),$.fail$data((0,a4.or)(P(),B()));function P(){if(K.strictSchema===!1)return a4.nil;return a4._`${I} && !${O}`}function B(){let A=H.$async?a4._`(${w}.async ? await ${O}(${z}) : ${O}(${z}))`:a4._`${O}(${z})`,E=a4._`(typeof ${O} == "function" ? ${A} : ${O}.test(${z}))`;return a4._`${O} && ${O} !== true && ${F} === ${Y} && !${E}`}}function X(){let L=Z.formats[U];if(!L){P();return}if(L===!0)return;let[w,F,O]=B(L);if(w===Y)$.pass(A());function P(){if(K.strictSchema===!1){Z.logger.warn(E());return}throw Error(E());function E(){return`unknown format "${U}" ignored in schema at path "${G}"`}}function B(E){let y=E instanceof RegExp?(0,a4.regexpCode)(E):K.code.formats?a4._`${K.code.formats}${(0,a4.getProperty)(U)}`:void 0,v=q.scopeValue("formats",{key:U,ref:E,code:y});if(typeof E=="object"&&!(E instanceof RegExp))return[E.type||"string",E.validate,a4._`${v}.validate`];return["string",E,v]}function A(){if(typeof L=="object"&&!(L instanceof RegExp)&&L.async){if(!H.$async)throw Error("async format in sync schema");return a4._`await ${O}(${z})`}return typeof F=="function"?a4._`${O}(${z})`:a4._`${O}.test(${z})`}}}};Q00.default=$l0});var H00=M((G00)=>{Object.defineProperty(G00,"__esModule",{value:!0});var ql0=K00(),zl0=[ql0.default];G00.default=zl0});var X00=M((Z00)=>{Object.defineProperty(Z00,"__esModule",{value:!0});Z00.contentVocabulary=Z00.metadataVocabulary=void 0;Z00.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Z00.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var w00=M((L00)=>{Object.defineProperty(L00,"__esModule",{value:!0});var Il0=ua(),Ql0=Ze(),Kl0=I00(),Gl0=H00(),V00=X00(),Hl0=[Il0.default,Ql0.default,(0,Kl0.default)(),Gl0.default,V00.metadataVocabulary,V00.contentVocabulary];L00.default=Hl0});var N00=M((O00)=>{Object.defineProperty(O00,"__esModule",{value:!0});O00.DiscrError=void 0;var F00;(function($){$.Tag="tag",$.Mapping="mapping"})(F00||(O00.DiscrError=F00={}))});var A00=M((P00)=>{Object.defineProperty(P00,"__esModule",{value:!0});var Az=I1(),xC=N00(),D00=dV(),Wl0=oQ(),Xl0=j1(),Vl0={message:({params:{discrError:$,tagName:Y}})=>$===xC.DiscrError.Tag?`tag "${Y}" must be string`:`value of tag "${Y}" must be in oneOf`,params:({params:{discrError:$,tag:Y,tagName:q}})=>Az._`{error: ${$}, tag: ${q}, tagValue: ${Y}}`},Ll0={keyword:"discriminator",type:"object",schemaType:"object",error:Vl0,code($){let{gen:Y,data:q,schema:z,parentSchema:J,it:U}=$,{oneOf:I}=J;if(!U.opts.discriminator)throw Error("discriminator: requires discriminator option");let Q=z.propertyName;if(typeof Q!="string")throw Error("discriminator: requires propertyName");if(z.mapping)throw Error("discriminator: mapping is not supported");if(!I)throw Error("discriminator: requires oneOf keyword");let K=Y.let("valid",!1),G=Y.const("tag",Az._`${q}${(0,Az.getProperty)(Q)}`);Y.if(Az._`typeof ${G} == "string"`,()=>H(),()=>$.error(!1,{discrError:xC.DiscrError.Tag,tag:G,tagName:Q})),$.ok(K);function H(){let X=V();Y.if(!1);for(let L in X)Y.elseIf(Az._`${G} === ${L}`),Y.assign(K,Z(X[L]));Y.else(),$.error(!1,{discrError:xC.DiscrError.Mapping,tag:G,tagName:Q}),Y.endIf()}function Z(X){let L=Y.name("valid"),w=$.subschema({keyword:"oneOf",schemaProp:X},L);return $.mergeEvaluated(w,Az.Name),L}function V(){var X;let L={},w=O(J),F=!0;for(let A=0;A<I.length;A++){let E=I[A];if((E===null||E===void 0?void 0:E.$ref)&&!(0,Xl0.schemaHasRulesButRef)(E,U.self.RULES)){let v=E.$ref;if(E=D00.resolveRef.call(U.self,U.schemaEnv.root,U.baseId,v),E instanceof D00.SchemaEnv)E=E.schema;if(E===void 0)throw new Wl0.default(U.opts.uriResolver,U.baseId,v)}let y=(X=E===null||E===void 0?void 0:E.properties)===null||X===void 0?void 0:X[Q];if(typeof y!="object")throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${Q}"`);F=F&&(w||O(E)),P(y,A)}if(!F)throw Error(`discriminator: "${Q}" must be required`);return L;function O({required:A}){return Array.isArray(A)&&A.includes(Q)}function P(A,E){if(A.const)B(A.const,E);else if(A.enum)for(let y of A.enum)B(y,E);else throw Error(`discriminator: "properties/${Q}" must have "const" or "enum"`)}function B(A,E){if(typeof A!="string"||A in L)throw Error(`discriminator: "${Q}" values must be unique strings`);L[A]=E}}}};P00.default=Ll0});var B00=M((zs1,Fl0)=>{Fl0.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var uC=M((f8,kC)=>{Object.defineProperty(f8,"__esModule",{value:!0});f8.MissingRefError=f8.ValidationError=f8.CodeGen=f8.Name=f8.nil=f8.stringify=f8.str=f8._=f8.KeywordCxt=f8.Ajv=void 0;var Ol0=_a(),Ml0=w00(),Nl0=A00(),T00=B00(),Dl0=["/properties"],GL="http://json-schema.org/draft-07/schema";class IK extends Ol0.default{_addVocabularies(){if(super._addVocabularies(),Ml0.default.forEach(($)=>this.addVocabulary($)),this.opts.discriminator)this.addKeyword(Nl0.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let $=this.opts.$data?this.$dataMetaSchema(T00,Dl0):T00;this.addMetaSchema($,GL,!1),this.refs["http://json-schema.org/schema"]=GL}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(GL)?GL:void 0)}}f8.Ajv=IK;kC.exports=f8=IK;kC.exports.Ajv=IK;Object.defineProperty(f8,"__esModule",{value:!0});f8.default=IK;var Pl0=lQ();Object.defineProperty(f8,"KeywordCxt",{enumerable:!0,get:function(){return Pl0.KeywordCxt}});var Bz=I1();Object.defineProperty(f8,"_",{enumerable:!0,get:function(){return Bz._}});Object.defineProperty(f8,"str",{enumerable:!0,get:function(){return Bz.str}});Object.defineProperty(f8,"stringify",{enumerable:!0,get:function(){return Bz.stringify}});Object.defineProperty(f8,"nil",{enumerable:!0,get:function(){return Bz.nil}});Object.defineProperty(f8,"Name",{enumerable:!0,get:function(){return Bz.Name}});Object.defineProperty(f8,"CodeGen",{enumerable:!0,get:function(){return Bz.CodeGen}});var Al0=cV();Object.defineProperty(f8,"ValidationError",{enumerable:!0,get:function(){return Al0.default}});var Bl0=oQ();Object.defineProperty(f8,"MissingRefError",{enumerable:!0,get:function(){return Bl0.default}})});var y00=M((g00)=>{Object.defineProperty(g00,"__esModule",{value:!0});g00.formatNames=g00.fastFormats=g00.fullFormats=void 0;function v5($,Y){return{validate:$,compare:Y}}g00.fullFormats={date:v5(R00,nC),time:v5(bC(!0),cC),"date-time":v5(E00(!0),v00),"iso-time":v5(bC(),C00),"iso-date-time":v5(E00(),h00),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:hl0,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:fl0,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:gl0,int32:{type:"number",validate:xl0},int64:{type:"number",validate:kl0},float:{type:"number",validate:_00},double:{type:"number",validate:_00},password:!0,binary:!0};g00.fastFormats={...g00.fullFormats,date:v5(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,nC),time:v5(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,cC),"date-time":v5(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,v00),"iso-time":v5(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,C00),"iso-date-time":v5(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,h00),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i};g00.formatNames=Object.keys(g00.fullFormats);function jl0($){return $%4===0&&($%100!==0||$%400===0)}var _l0=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Rl0=[0,31,28,31,30,31,30,31,31,30,31,30,31];function R00($){let Y=_l0.exec($);if(!Y)return!1;let q=+Y[1],z=+Y[2],J=+Y[3];return z>=1&&z<=12&&J>=1&&J<=(z===2&&jl0(q)?29:Rl0[z])}function nC($,Y){if(!($&&Y))return;if($>Y)return 1;if($<Y)return-1;return 0}var fC=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function bC($){return function(q){let z=fC.exec(q);if(!z)return!1;let J=+z[1],U=+z[2],I=+z[3],Q=z[4],K=z[5]==="-"?-1:1,G=+(z[6]||0),H=+(z[7]||0);if(G>23||H>59||$&&!Q)return!1;if(J<=23&&U<=59&&I<60)return!0;let Z=U-H*K,V=J-G*K-(Z<0?1:0);return(V===23||V===-1)&&(Z===59||Z===-1)&&I<61}}function cC($,Y){if(!($&&Y))return;let q=new Date("2020-01-01T"+$).valueOf(),z=new Date("2020-01-01T"+Y).valueOf();if(!(q&&z))return;return q-z}function C00($,Y){if(!($&&Y))return;let q=fC.exec($),z=fC.exec(Y);if(!(q&&z))return;if($=q[1]+q[2]+q[3],Y=z[1]+z[2]+z[3],$>Y)return 1;if($<Y)return-1;return 0}var iC=/t|\s/i;function E00($){let Y=bC($);return function(z){let J=z.split(iC);return J.length===2&&R00(J[0])&&Y(J[1])}}function v00($,Y){if(!($&&Y))return;let q=new Date($).valueOf(),z=new Date(Y).valueOf();if(!(q&&z))return;return q-z}function h00($,Y){if(!($&&Y))return;let[q,z]=$.split(iC),[J,U]=Y.split(iC),I=nC(q,J);if(I===void 0)return;return I||cC(z,U)}var Cl0=/\/|:/,vl0=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function hl0($){return Cl0.test($)&&vl0.test($)}var j00=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function gl0($){return j00.lastIndex=0,j00.test($)}var Sl0=-2147483648,yl0=2147483647;function xl0($){return Number.isInteger($)&&$<=yl0&&$>=Sl0}function kl0($){return Number.isInteger($)}function _00(){return!0}var ul0=/[^\\]\\Z/;function fl0($){if(ul0.test($))return!1;try{return new RegExp($),!0}catch(Y){return!1}}});var k00=M((x00)=>{Object.defineProperty(x00,"__esModule",{value:!0});x00.formatLimitDefinition=void 0;var il0=uC(),z5=I1(),c3=z5.operators,HL={formatMaximum:{okStr:"<=",ok:c3.LTE,fail:c3.GT},formatMinimum:{okStr:">=",ok:c3.GTE,fail:c3.LT},formatExclusiveMaximum:{okStr:"<",ok:c3.LT,fail:c3.GTE},formatExclusiveMinimum:{okStr:">",ok:c3.GT,fail:c3.LTE}},nl0={message:({keyword:$,schemaCode:Y})=>z5.str`should be ${HL[$].okStr} ${Y}`,params:({keyword:$,schemaCode:Y})=>z5._`{comparison: ${HL[$].okStr}, limit: ${Y}}`};x00.formatLimitDefinition={keyword:Object.keys(HL),type:"string",schemaType:"string",$data:!0,error:nl0,code($){let{gen:Y,data:q,schemaCode:z,keyword:J,it:U}=$,{opts:I,self:Q}=U;if(!I.validateFormats)return;let K=new il0.KeywordCxt(U,Q.RULES.all.format.definition,"format");if(K.$data)G();else H();function G(){let V=Y.scopeValue("formats",{ref:Q.formats,code:I.code.formats}),X=Y.const("fmt",z5._`${V}[${K.schemaCode}]`);$.fail$data((0,z5.or)(z5._`typeof ${X} != "object"`,z5._`${X} instanceof RegExp`,z5._`typeof ${X}.compare != "function"`,Z(X)))}function H(){let V=K.schema,X=Q.formats[V];if(!X||X===!0)return;if(typeof X!="object"||X instanceof RegExp||typeof X.compare!="function")throw Error(`"${J}": format "${V}" does not define "compare" function`);let L=Y.scopeValue("formats",{key:V,ref:X,code:I.code.formats?z5._`${I.code.formats}${(0,z5.getProperty)(V)}`:void 0});$.fail$data(Z(L))}function Z(V){return z5._`${V}.compare(${q}, ${z}) ${HL[J].fail} 0`}},dependencies:["format"]};var cl0=($)=>{return $.addKeyword(x00.formatLimitDefinition),$};x00.default=cl0});var i00=M((QK,b00)=>{Object.defineProperty(QK,"__esModule",{value:!0});var Tz=y00(),dl0=k00(),mC=I1(),u00=new mC.Name("fullFormats"),ml0=new mC.Name("fastFormats"),lC=($,Y={keywords:!0})=>{if(Array.isArray(Y))return f00($,Y,Tz.fullFormats,u00),$;let[q,z]=Y.mode==="fast"?[Tz.fastFormats,ml0]:[Tz.fullFormats,u00],J=Y.formats||Tz.formatNames;if(f00($,J,q,z),Y.keywords)(0,dl0.default)($);return $};lC.get=($,Y="full")=>{let z=(Y==="fast"?Tz.fastFormats:Tz.fullFormats)[$];if(!z)throw Error(`Unknown format "${$}"`);return z};function f00($,Y,q,z){var J,U;(J=(U=$.opts.code).formats)!==null&&J!==void 0||(U.formats=mC._`require("ajv-formats/dist/formats").${z}`);for(let I of Y)$.addFormat(I,q[I])}b00.exports=QK=lC;Object.defineProperty(QK,"__esModule",{value:!0});QK.default=lC});var E9;var KK=e(()=>{E9=class E9 extends Error{name="KyError";get isKyError(){return!0}}});var L6;var ZL=e(()=>{KK();L6=class L6 extends E9{name="HTTPError";response;request;options;data;constructor($,Y,q){let z=$.status||$.status===0?$.status:"",J=$.statusText??"",U=`${z} ${J}`.trim(),I=U?`status code ${U}`:"an unknown error";super(`Request failed with ${I}: ${Y.method} ${Y.url}`);this.response=$,this.request=Y,this.options=q}}});var GK;var eC=e(()=>{KK();GK=class GK extends E9{name="NetworkError";request;constructor($,Y){super(`Request failed due to a network error: ${$.method} ${$.url}`,Y);this.request=$}}});var HK;var $v=e(()=>{HK=class HK extends Error{name="NonError";value;constructor($){let Y="Non-error value was thrown";try{if(typeof $==="string")Y=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")Y=$.message}catch{}super(Y);this.value=$}}});var Ez;var o00=e(()=>{KK();$v();Ez=class Ez extends E9{name="ForceRetryError";customDelay;code;customRequest;constructor($){let Y=$?.cause?$.cause instanceof Error?$.cause:new HK($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",Y?{cause:Y}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}});var Yv;var r00=e(()=>{Yv=class Yv extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}});var J5;var WL=e(()=>{KK();J5=class J5 extends E9{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}});class wL{options;constructor($){this.options=$}}var qv,s00,XL,t00,a00,VL,rl0=()=>{return},e00,jz=2147483647,$10=40,LL,Y10=($)=>new wL($),q10,z10;var h2=e(()=>{qv=(()=>{let $=!1,Y=!1,q=typeof globalThis.ReadableStream==="function",z=typeof globalThis.Request==="function";if(q&&z)try{Y=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return $=!0,"half"}}).headers.has("Content-Type")}catch(J){if(J instanceof Error&&J.message==="unsupported BodyInit type")return!1;throw J}return $&&!Y})(),s00=typeof globalThis.AbortController==="function",XL=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",t00=typeof globalThis.ReadableStream==="function",a00=typeof globalThis.FormData==="function",VL=["get","post","put","patch","head","delete"];rl0();e00={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},LL=Symbol("stop");q10={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},z10={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0}});var FL,sl0=($)=>{if(!$)return 0;if($ instanceof FormData){let Y=0;for(let[q,z]of $)Y+=$10,Y+=FL.encode(`Content-Disposition: form-data; name="${q}"`).byteLength,Y+=typeof z==="string"?FL.encode(z).byteLength:z.size;return Y}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return FL.encode($).byteLength;if($ instanceof URLSearchParams)return FL.encode($.toString()).byteLength;return 0},J10=($,Y,q)=>{let z,J=0;return $.pipeThrough(new TransformStream({transform(U,I){if(I.enqueue(U),z){J+=z.byteLength;let Q=Y===0?0:J/Y;if(Q>=1)Q=1-Number.EPSILON;q?.({percent:Q,totalBytes:Math.max(Y,J),transferredBytes:J},z)}z=U},flush(){if(z)J+=z.byteLength,q?.({percent:1,totalBytes:Math.max(Y,J),transferredBytes:J},z)}}))},U10=($,Y)=>{if(!$.body)return $;let q={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,q);let z=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(J10($.body,z,Y),q)},I10=($,Y,q)=>{if(!$.body)return $;let z=sl0(q??$.body);return new Request($,{duplex:"half",body:J10($.body,z,Y)})};var Q10=e(()=>{h2();FL=new TextEncoder});var h5=($)=>$!==null&&typeof $==="object";function ZK($,Y,q){return Object.hasOwn(Y,q)&&Y[q]===void 0?[]:Iv($[q]??[],Y[q]??[])}var tl0,zv=($)=>h5($)&&$[tl0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$},WK=(...$)=>{for(let Y of $)if((!h5(Y)||Array.isArray(Y))&&Y!==void 0)throw TypeError("The `options` argument must be an object");return Iv({},...$)},Uv=($={},Y={})=>{let q=new globalThis.Headers($),z=Y instanceof globalThis.Headers,J=new globalThis.Headers(Y);for(let[U,I]of J.entries())if(z&&I==="undefined"||I===void 0)q.delete(U);else q.set(U,I);return q},Jv=($)=>{if(!h5($)||Array.isArray($))return!1;let Y=Object.getPrototypeOf($);return Y===Object.prototype||Y===null},_z=($)=>{if($ instanceof URLSearchParams){let Y=new URLSearchParams($),q=$[p3];if(q)Y[p3]=new Set(q);return Y}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(Jv($))return{...$};return $},al0=($)=>Object.fromEntries(Object.entries($).filter((Y)=>Y[1]!==void 0)),el0=($,Y)=>{if(Jv($)&&Jv(Y))return al0({...$,...Y});return Uv($,Y)},OL=($={},Y={})=>({init:ZK($,Y,"init"),beforeRequest:ZK($,Y,"beforeRequest"),beforeRetry:ZK($,Y,"beforeRetry"),beforeError:ZK($,Y,"beforeError"),afterResponse:ZK($,Y,"afterResponse")}),p3,$o0=($,Y)=>{let q=new URLSearchParams,z=new Set;for(let J of[$,Y]){if(J===void 0)continue;if(J instanceof URLSearchParams){for(let[I,Q]of J.entries())q.append(I,Q),z.delete(I);let U=J[p3];if(U)for(let I of U)q.delete(I),z.add(I)}else if(Array.isArray(J))for(let U of J){if(!Array.isArray(U)||U.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");q.append(String(U[0]),String(U[1])),z.delete(String(U[0]))}else if(h5(J))for(let[U,I]of Object.entries(J))if(I===void 0)q.delete(U),z.add(U);else q.append(U,String(I)),z.delete(U);else{let U=new URLSearchParams(J);for(let[I,Q]of U.entries())q.append(I,Q),z.delete(I)}}if(z.size>0)q[p3]=z;return q},Iv=(...$)=>{let Y={},q={},z={},J,U=[];for(let I of $)if(Array.isArray(I)){if(!Array.isArray(Y))Y=[];Y=[...Y,...I]}else if(h5(I)){for(let[Q,K]of Object.entries(I)){if(Q==="signal"&&K instanceof globalThis.AbortSignal){U.push(K);continue}let G=zv(K),{isReplace:H}=G;if(K=G.value,Q==="context"){if(K!==void 0&&K!==null&&(!h5(K)||Array.isArray(K)))throw TypeError("The `context` option must be an object");Y={...Y,context:K===void 0||K===null?{}:H?{...K}:{...Y.context,...K}};continue}if(Q==="searchParams"){if(K===void 0||K===null)J=void 0;else if(H)J=K;else J=J===void 0?K:$o0(J,K);continue}if(h5(K)&&!H&&Q in Y)K=Iv(Y[Q],K);Y={...Y,[Q]:K}}if(h5(I.hooks)){let{value:Q,isReplace:K}=zv(I.hooks);z=K?OL({},Q):OL(z,Q),Y.hooks=z}if(h5(I.headers)){let{value:Q,isReplace:K}=zv(I.headers);q=K?_z(Q):el0(q,Q),Y.headers=q}}if(J!==void 0)Y.searchParams=J;if(U.length>0)if(U.length===1)Y.signal=U[0];else if(XL)Y.signal=AbortSignal.any(U);else Y.signal=U.at(-1);return Y};var ML=e(()=>{h2();tl0=Symbol("replaceOption");p3=Symbol("deletedParameters")});var G10=($)=>VL.includes($)?$.toUpperCase():$,Yo0,qo0,zo0,K10,H10=($={})=>{if(typeof $==="number")return{...K10,limit:$};if($.methods&&!Array.isArray($.methods))throw Error("retry.methods must be an array");if($.statusCodes&&!Array.isArray($.statusCodes))throw Error("retry.statusCodes must be an array");let Y=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((q)=>q.toLowerCase())}).filter(([,q])=>q!==void 0));return{...K10,...Y}};var Z10=e(()=>{h2();Yo0=["get","put","head","delete","options","trace"],qo0=[408,413,429,500,502,503,504],zo0=[413,429,503],K10={limit:2,methods:Yo0,statusCodes:qo0,afterStatusCodes:zo0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1}});async function Qv($,Y,q,z){return new Promise((J,U)=>{let I=setTimeout(()=>{if(q)q.abort();U(new J5($))},z.timeout);z.fetch($,Y).then(J).catch(U).then(()=>{clearTimeout(I)})})}var W10=e(()=>{WL()});async function NL($,{signal:Y}){return new Promise((q,z)=>{if(Y)Y.throwIfAborted(),Y.addEventListener("abort",J,{once:!0});function J(){clearTimeout(U),z(Y.reason)}let U=setTimeout(()=>{Y?.removeEventListener("abort",J),q()},$)})}var X10=($)=>{let Y={};for(let q in $){if(!Object.hasOwn($,q))continue;if(!(q in z10)&&!(q in q10))Y[q]=$[q]}return Y},V10=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[p3]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var L10=e(()=>{h2();ML()});function Kv($){if(!($&&Uo0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:q,stack:z}=$;if(q==="Load failed")return z===void 0||"__sentry_captured__"in $;if(q.startsWith("error sending request for url"))return!0;if(q==="Failed to fetch"||q.startsWith("Failed to fetch (")&&q.endsWith(")"))return!0;return Io0.has(q)}var Jo0,Uo0=($)=>Jo0.call($)==="[object Error]",Io0;var w10=e(()=>{Jo0=Object.prototype.toString,Io0=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"])});function F10($){return Gv($,L6)}function O10($){return Gv($,GK)}function M10($){return Gv($,J5)}var Gv=($,Y)=>$ instanceof Y||$?.name===Y.name;var N10=e(()=>{ZL();eC();WL()});function Wo0($){let Y={...$,json:_z($.json),context:_z($.context),headers:_z($.headers),searchParams:Zo0($.searchParams)};if($.retry!==void 0)Y.retry=Ho0($.retry);return Y}class Rz{static create($,Y){let q=Y.hooks?.init??[],z=q.length>0?Wo0(Y):Y;for(let Q of q)Q(z);let J=new Rz($,z),U=async()=>{if(typeof J.#$.timeout==="number"&&J.#$.timeout>jz)throw RangeError(`The \`timeout\` option cannot be greater than ${jz}`);if(typeof J.#$.totalTimeout==="number"&&J.#$.totalTimeout>jz)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${jz}`);await Promise.resolve();let Q=await J.#S(),K=Q??await J.#h(async()=>J.#R()),G=Q!==void 0||J.#_();for(;;){if(K===void 0)return K;if(VK(K))try{K=await J.#y(K)}catch(Z){if(!(Z instanceof Ez))throw Z;let V=await J.#j(Z,async()=>J.#R());if(V===void 0)return V;K=V,G=J.#_();continue}let H=K;if(!H.ok&&H.type!=="opaque"&&(typeof J.#$.throwHttpErrors==="function"?J.#$.throwHttpErrors(H.status):J.#$.throwHttpErrors)){let Z=new L6(H,J.#M(H),J.#O()),V=Z;if(Z.data=await J.#L(H),G)throw V;let X=await J.#j(Z,async()=>J.#R());if(X===void 0)return X;K=X,G=J.#_();continue}break}if(!VK(K))return K;if(J.#V(K),J.#$.onDownloadProgress){if(typeof J.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!t00)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let H=K.clone();return J.#Q(K),U10(H,J.#$.onDownloadProgress)}return K},I=(async()=>{try{return await U()}catch(Q){if(!(Q instanceof Error))throw Q;if(J.#Z.has(Q))throw Q;let K=Q;for(let G of J.#$.hooks.beforeError){let H=await G({request:J.request,options:J.#O(),error:K,retryCount:J.#J});if(H instanceof Error)K=H}throw K}finally{let Q=J.#H;if(J.#w(Q?.body??void 0),J.request!==Q)J.#w(J.request.body??void 0)}})();for(let[Q,K]of Object.entries(e00)){if(Q==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;I[Q]=async(G)=>{J.request.headers.set("accept",J.request.headers.get("accept")||K);let H=await I;if(Q!=="json")return H[Q]();let Z=await H.text();if(Z===""){if(G!==void 0)return A10(void 0,G);return JSON.parse(Z)}let V=z.parseJson?await z.parseJson(Z,{request:J.#M(H),response:H}):JSON.parse(Z);return G===void 0?V:A10(V,G)}}return I}static#z($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0));return $}request;#q;#J=0;#Y;#$;#H;#G;#Z=new WeakSet;#U;#I;#W=!1;#N=new WeakMap;constructor($,Y={}){if(this.#Y=$,Object.hasOwn(Y,"prefixUrl"))throw Error(Ko0);if(this.#$={...Y,headers:Uv(this.#Y.headers,Y.headers),hooks:OL({},Y.hooks),method:G10(Y.method??this.#Y.method??"GET"),prefix:String(Y.prefix||""),retry:H10(Y.retry),throwHttpErrors:Y.throwHttpErrors??!0,timeout:Y.timeout??1e4,totalTimeout:Y.totalTimeout??!1,fetch:Y.fetch??globalThis.fetch.bind(globalThis),context:Y.context??{}},typeof this.#Y!=="string"&&!(this.#Y instanceof URL||this.#Y instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#Y==="string"){if(this.#$.prefix){let z=this.#$.prefix.replace(/\/+$/,""),J=this.#Y.replace(/^\/+/,"");this.#Y=`${z}/${J}`}if(this.#$.baseUrl){let z;try{z=new URL(this.#Y)}catch{}if(!z)this.#Y=new URL(this.#Y,new Request(this.#$.baseUrl).url)}}if(s00&&XL)this.#G=this.#$.signal??this.#Y.signal,this.#q=new globalThis.AbortController,this.#$.signal=this.#F();if(qv)this.#$.duplex="half";if(this.#$.json!==void 0)this.#$.body=this.#$.stringifyJson?.(this.#$.json)??JSON.stringify(this.#$.json),this.#$.headers.set("content-type",this.#$.headers.get("content-type")??"application/json");let q=Y.headers&&new globalThis.Headers(Y.headers).has("content-type");if(this.#Y instanceof globalThis.Request&&(a00&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!q)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#Y,this.#$),V10(this.#$.searchParams)){let z=new URL(this.request.url),J=this.#$.searchParams?.[p3];if(J)for(let U of J)z.searchParams.delete(U);if(typeof this.#$.searchParams==="string"){let U=this.#$.searchParams.replace(/^\?/,"");if(U!=="")z.search=z.search?`${z.search}&${U}`:`?${U}`}else{let U=new URLSearchParams(Rz.#z(this.#$.searchParams));for(let[I,Q]of U.entries())z.searchParams.append(I,Q)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[U,I]of Object.entries(this.#$.searchParams))if(I===void 0)z.searchParams.delete(U)}this.request=new globalThis.Request(z,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#I=typeof this.#$.totalTimeout==="number"?this.#g():void 0}#K(){let $=this.#$.retry.delay(this.#J+1),Y=$;if(this.#$.retry.jitter===!0)Y=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(Y=this.#$.retry.jitter($),!Number.isFinite(Y)||Y<0)Y=$}return Math.min(this.#$.retry.backoffLimit,Y)}async#B($){if(this.#J>=this.#$.retry.limit)throw $;let Y=$ instanceof Error?$:new HK($);if(Y instanceof Ez)return Y.customDelay??this.#K();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let q=await this.#$.retry.shouldRetry({error:Y,retryCount:this.#J+1});if(q===!1)throw $;if(q===!0)return this.#K()}if(M10($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#K()}if(F10($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let q=$.response.headers.get("Retry-After")??$.response.headers.get("RateLimit-Reset")??$.response.headers.get("X-RateLimit-Retry-After")??$.response.headers.get("X-RateLimit-Reset")??$.response.headers.get("X-Rate-Limit-Reset");if(q&&this.#$.retry.afterStatusCodes.includes($.response.status)){let z=Number(q)*1000;if(Number.isNaN(z))z=Date.parse(q)-Date.now();else if(z>=Date.parse("2024-01-01"))z-=Date.now();if(!Number.isFinite(z))return Math.min(this.#$.retry.maxRetryAfter,this.#K());return z=Math.max(0,z),Math.min(this.#$.retry.maxRetryAfter,z)}if($.response.status===413)throw $;return this.#K()}if(!O10($))throw $;return this.#K()}#V($){let Y=this.#M($);if(this.#$.parseJson)$.json=async()=>{let q=await $.text();if(q==="")return JSON.parse(q);return this.#$.parseJson(q,{request:Y,response:$})};return $}async#L($){let Y=await this.#T($,this.#D());if(Y===XK){this.#X();return}if(!Y)return;if(!this.#P($.headers.get("content-type")??""))return Y;let q=await this.#E(Y,$,this.#D(),this.#M($));if(q===XK){this.#X();return}return q}#D(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,Y=this.#A();if(Y===void 0)return $;if(Y<=0)throw new J5(this.request);return Math.min($,Y)}#P($){let Y=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(Y)}async#T($,Y){let{body:q}=$;if(!q)try{return await $.text()}catch{return}let z;try{z=q.getReader()}catch{return}let J=Go0($.headers.get("content-type")??""),U=[],I=0,Q=(async()=>{try{for(;;){let{done:H,value:Z}=await z.read();if(H)break;if(I+=Z.byteLength,I>Qo0){z.cancel().catch(()=>{return});return}U.push(J.decode(Z,{stream:!0}))}}catch{return}return U.push(J.decode()),U.join("")})(),K=new Promise((H)=>{let Z=setTimeout(()=>{H(XK)},Y);Q.finally(()=>{clearTimeout(Z)})}),G=await Promise.race([Q,K]);if(G===XK)z.cancel().catch(()=>{return});return G}async#E($,Y,q,z){let J;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:z,response:Y}):JSON.parse($)),new Promise((U)=>{J=setTimeout(()=>{U(XK)},q)})])}catch{return}finally{clearTimeout(J)}}#w($){if(!$)return;$.cancel().catch(()=>{return})}#Q($){this.#w($.body??void 0)}#F(){return this.#G?AbortSignal.any([this.#G,this.#q.signal]):this.#q.signal}#X(){let $=this.#A();if($!==void 0&&$<=0)throw new J5(this.request)}async#S(){for(let $ of this.#$.hooks.beforeRequest){let Y=await $({request:this.request,options:this.#O(),retryCount:0});if(P10(Y))this.#C(Y);else if(VK(Y))return Y}return}async#y($){let Y=this.#M($);for(let q of this.#$.hooks.afterResponse){let z=this.#v($.clone(),Y);this.#V(z);let J;try{J=await q({request:this.request,options:this.#O(),response:z,retryCount:this.#J})}catch(I){if(z!==$)this.#Q(z);throw this.#Q($),I}if(J instanceof wL){if(z!==$)this.#Q(z);throw this.#Q($),new Ez(J.options)}let U=VK(J)?this.#v(J,Y):$;if(z!==$&&z!==U&&z.body!==U.body)this.#Q(z);if($!==U&&$.body!==U.body)this.#Q($);$=U}return $}async#h($){try{return await $()}catch(Y){return this.#j(Y,$)}}async#j($,Y){this.#W=!1;let q=Math.min(await this.#B($),jz),z={signal:this.#G},J=this.#A();if(J!==void 0){if(J<=0)throw new J5(this.request);if(q>=J)throw await NL(J,z),new J5(this.request)}if(await NL(q,z),this.#X(),$ instanceof Ez&&$.customRequest){let U=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#C(U)}for(let U of this.#$.hooks.beforeRetry){let I;try{I=await U({request:this.request,options:this.#O(),error:$,retryCount:this.#J+1})}catch(Q){if(Q instanceof Error&&Q!==$)this.#Z.add(Q);throw Q}if(P10(I)){this.#C(I);break}if(VK(I))return this.#W=!0,this.#J++,I;if(I===LL)return}return this.#X(),this.#J++,this.#h(Y)}#_(){let $=this.#W;return this.#W=!1,$}async#R(){if(this.#q?.signal.aborted)this.#q=new globalThis.AbortController,this.#$.signal=this.#F(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=X10(this.#$),Y=this.#$.retry.limit>0?this.request.clone():void 0,q=this.#x(this.request,this.#$.body??void 0);if(this.#H=q,Y)this.request=Y;try{let z=this.#A();if(z!==void 0&&z<=0)throw new J5(this.request);let J=this.#$.timeout===!1?z:z===void 0?this.#$.timeout:Math.min(this.#$.timeout,z),U=J===void 0?await this.#$.fetch(q,$):await Qv(q,$,this.#q,{timeout:J,fetch:this.#$.fetch});return this.#v(U,q)}catch(z){if(Kv(z))throw new GK(this.request,{cause:z});throw z}}#A(){if(this.#I===void 0)return;let $=this.#g()-this.#I;return Math.max(0,this.#$.totalTimeout-$)}#g(){return globalThis.performance?.now()??Date.now()}#O(){if(!this.#U){let{hooks:$,json:Y,parseJson:q,stringifyJson:z,searchParams:J,timeout:U,totalTimeout:I,throwHttpErrors:Q,fetch:K,...G}=this.#$;this.#U=Object.freeze(G)}return this.#U}#C($){this.#U=void 0,this.request=$}#M($){return this.#N.get($)??this.request}#v($,Y){return this.#N.set($,Y),$}#x($,Y){if(!this.#$.onUploadProgress||!$.body||!qv)return $;return I10($,this.#$.onUploadProgress,Y??this.#$.body??void 0)}}var Qo0=10485760,Ko0="The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl",XK,Go0=($)=>{let Y=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),q=Y?.[1]??Y?.[2];if(q)try{return new TextDecoder(q)}catch{}return new TextDecoder},D10="The `schema` argument must follow the Standard Schema specification",Ho0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},B10,P10=($)=>$ instanceof globalThis.Request||B10.call($)==="[object Request]",VK=($)=>$ instanceof globalThis.Response||B10.call($)==="[object Response]",Zo0=($)=>{if(Array.isArray($))return $.map((Y)=>[...Y]);return _z($)},A10=async($,Y)=>{if(typeof Y!=="object"&&typeof Y!=="function"||Y===null)throw TypeError(D10);let q=Y["~standard"];if(typeof q!=="object"||q===null||typeof q.validate!=="function")throw TypeError(D10);let z=await q.validate($);if(z.issues)throw new Yv(z.issues);return z.value};var T10=e(()=>{ZL();eC();$v();o00();r00();WL();Q10();ML();Z10();W10();L10();w10();N10();h2();XK=Symbol("timedOutResponseData"),B10=Object.prototype.toString});var Hv=($)=>{let Y=(q,z)=>Rz.create(q,WK($,z));for(let q of VL)Y[q]=(z,J)=>Rz.create(z,WK($,J,{method:q}));return Y.create=(q)=>Hv(WK(q)),Y.extend=(q)=>{if(typeof q==="function")q=q($??{});return Hv(WK($,q))},Y.stop=LL,Y.retry=Y10,Y},Xo0,U5;var Cz=e(()=>{T10();h2();ML();ZL();/*! MIT License © Sindre Sorhus */Xo0=Hv(),U5=Xo0});async function E10($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.seal.url??$.source.sealUrl,q=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:q?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:Y,tenantId:q?.tenantId,tenantSlug:$.seal.tenantSlug??q?.tenantSlug,tenantName:q?.tenantName,raw:{sourceType:$.source.type}}}}function Vo0($){let Y=Object.entries($??{}).map(([q,z])=>`${q}=${z}`);return Y.length?Y.join("; "):void 0}function w6($){let Y={...$?.headers??{}},q=Vo0($?.cookies);if(q)Y.Cookie=q;return Y}var I5=e(()=>{AR();AR()});var j10,Lo0,wo0,Fo0,Oo0,_10;var R10=e(()=>{I5();j10=W.object({token:W.string(),expiresAt:W.number(),url:W.string().url().optional()}),Lo0=W.object({provider:W.string(),corpId:W.string().optional(),staffId:W.string(),sealUrl:W.string().url(),tenantId:W.string().optional(),tenantSlug:W.string().optional(),tenantName:W.string().optional(),raw:W.unknown().optional()}),wo0=W.object({token:W.string(),expiresAt:W.number(),enterprise:Lo0}),Fo0=W.object({openapi:j10.optional(),closeapi:j10.optional()}),Oo0=W.object({seal:wo0.optional(),hose:Fo0.optional()}),_10=W.record(W.string(),Oo0)});import{existsSync as Zv,mkdirSync as Mo0,readFileSync as No0,writeFileSync as Do0}from"node:fs";import{dirname as Po0,join as v10}from"node:path";import{homedir as h10}from"node:os";function Ao0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(Zv(DL))return DL;if(Zv(C10))return C10;return DL}function Bo0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return DL}function vz(){let $=Ao0();if(!Zv($))return{};try{return _10.parse(JSON.parse(No0($,"utf-8")))}catch{return{}}}function PL($){let Y=Bo0();Mo0(Po0(Y),{recursive:!0,mode:448}),Do0(Y,JSON.stringify($,null,2),{mode:384})}function g10($){return vz()[$]?.seal}function S10($,Y){let q=vz();PL({...q,[$]:{...q[$],seal:Y}})}function y10($){let Y=vz(),q=Y[$];if(!q)return;PL({...Y,[$]:{...q,seal:void 0}})}function hz($){return vz()[$]?.hose??{}}function Wv($,Y){let q=vz();PL({...q,[$]:{...q[$],hose:Y}})}function AL($){let Y=vz();delete Y[$],PL(Y)}var DL,C10;var LK=e(()=>{R10();DL=v10(h10(),".config","seal-use","seal_tokens.json"),C10=v10(h10(),".config","seal-home","seal_tokens.json")});function A$($){return $.replace(/\/+$/,"")}function u10($){let Y;try{Y=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(Y.protocol!=="https:"||Y.port||!_o0(Y.hostname)||Y.pathname.replace(/\/+$/,"")!==jo0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let q=Y.searchParams.getAll("accessToken").filter(Boolean),z=Y.searchParams.getAll("ekbCorpId").filter(Boolean);if(q.length!==1||z.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let J=z[0].trim().toLowerCase();if(!k10.test(J))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:J,accessToken:q[0],baseUrl:Y.origin}}async function BL($,Y){let q=typeof $==="string"?u10($):f10($),z=`https://${q.corpId}.sealai.cc`,U=await N8(z,void 0,Y?.customHeaders).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:q.accessToken,returnToken:"1"}}).json(),I=U.token??U.accessToken??U.data?.token??U.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let Q=U.expiresIn??U.expires_in??U.data?.expiresIn??U.data?.expires_in??3600;return{corpId:q.corpId,sealUrl:z,token:I,expiresIn:Number.isFinite(Q)&&Q>0?Q:3600}}function TL($,Y){let q=Y.hoseCorpConfig&&typeof Y.hoseCorpConfig==="object"?Y.hoseCorpConfig:void 0,z=[Y.tenantSlug,q?.corporationId].filter((I)=>typeof I==="string"&&Boolean(I)),J=$.trim().toLowerCase(),U=z.map((I)=>I.trim().toLowerCase()).filter(Boolean);if(U.length===0||U.some((I)=>I!==J))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function _o0($){let Y=$.toLowerCase();return Eo0.some((q)=>Y.endsWith(q))}function f10($){let Y=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",q=typeof $?.accessToken==="string"?$.accessToken.trim():"",z=typeof $?.baseUrl==="string"&&$.baseUrl.trim()?$.baseUrl.trim():void 0;if(!k10.test(Y)||!q)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:Y,accessToken:q,...z?{baseUrl:z}:{}}}function Lv($,Y=60){return Boolean($&&Date.now()<$.expiresAt-Y*1000)}function d3($,Y){if($.seal.url)return $.seal.url;if(Y.sealUrl)return Y.sealUrl;return`https://${Y.corpId.toLowerCase()}.sealai.cc`}function Ro0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function b10($){return U5.create({prefix:A$($.domain),timeout:30000,hooks:{beforeError:[async({error:Y})=>{let q=Y instanceof L6?await Y.response.text().catch(()=>""):"";return Y.message=`${Y.message}${q?`: ${q}`:""}`,Y}]}})}async function Co0($){let Y=b10($),q=$.appKey??$.key,z=$.appSecurity??$.password;if(!q||!z)throw Error("Hose source requires appKey/key and appSecurity/password");let J=await Y.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:q,appSecurity:z}}).json(),U=J.value?.accessToken??J.accessToken??J.token;if(!U)throw Error("Hose login did not return an access token");return{token:U,expiresAt:Date.now()+3600000}}async function gz($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=hz($.id);if(Lv(Y.openapi))return Y.openapi.token;let q=Xv.get($.id);if(q)return q;let z=Co0($.source).then((J)=>{return Wv($.id,{...hz($.id),openapi:J}),J.token}).finally(()=>Xv.delete($.id));return Xv.set($.id,z),z}async function EL($,Y,q=7200){let z=b10($),J=Ro0($),I=(await z.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:Y},json:{uid:J,pageType:"home",expireDate:q}}).json()).value?.message;if(!I)throw Error("Hose CloseAPI did not return a provisional auth URL");let Q=new URL(I).searchParams.get("accessToken");if(!Q)throw Error("Hose provisional auth URL did not include accessToken");return{token:Q,url:I,expiresAt:Date.now()+q*1000}}async function wv($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.source,q=hz($.id);if(Lv(q.closeapi)&&q.closeapi.url)return q.closeapi;let z=Vv.get($.id);if(z)return z;let J=gz($).then((U)=>EL(Y,U)).then((U)=>{return Wv($.id,{...hz($.id),closeapi:U}),U}).finally(()=>Vv.delete($.id));return Vv.set($.id,J),J}async function i10($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=(await wv($)).url;if(!Y)throw Error("Hose provisional auth URL was not available");return Y}async function jL($,Y=7200){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let q=hz($.id);if(Lv(q.closeapi)&&q.closeapi.url&&q.closeapi.token){let U=Math.max(60,Math.floor((q.closeapi.expiresAt-Date.now())/1000));return{corpId:$.source.corpId,staffId:$.source.staffId,url:q.closeapi.url,token:q.closeapi.token,expiresIn:Math.min(Y,U)}}let z=await gz($),J=await EL($.source,z,Y);if(!J.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:J.url,token:J.token,expiresIn:Y}}async function n10($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=await wv($),q=d3($,$.source),z=w6($.seal),U=await N8(q,void 0,z).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:Y.token,returnToken:"1"}}).json(),I=U.token??U.accessToken??U.data?.token??U.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let Q=U.expiresIn??U.expires_in??U.data?.expiresIn??U.data?.expires_in??3600,K={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:A$(q),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:A$($.source.domain)}};return{token:I,expiresAt:Date.now()+Q*1000,enterprise:K}}async function Sz($,Y,q){if(q){let I=A$(q),Q=await x10(I,$,Y);if(!Q)throw Error(`Failed to authenticate on specified domain: ${I}. Please verify appKey/appSecurity and domain connectivity.`);return Q}let z=To0.map(async(I)=>{try{return await x10(I,$,Y)}catch{return}}),U=(await Promise.all(z)).filter((I)=>Boolean(I));if(U.length>0&&U[0])return U[0];throw Error("Failed to authenticate with appKey/appSecurity on all 6 standard Hose domains (app.ekuaibao.com, dd2.hosecloud.com, wx2.ekuaibao.com, kdcloud2.ekuaibao.com, ddenterprise.ekuaibao.com, feishu.ekuaibao.com). "+'If your enterprise uses a private cloud or custom domain (such as 美年大健康), please specify the "domain" parameter explicitly.')}async function x10($,Y,q){try{let z=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:Y,appSecurity:q}),signal:AbortSignal.timeout(8000)});if(!z.ok)return;let J=await z.json();if(J.value?.errorCode)return;let U=J.value?.accessToken??J.accessToken,I=J.value?.corporationId??J.value?.corporation?.id;if(!U||!I)return;return{domain:$,corpId:I,corpName:J.value?.corporation?.name,openapiToken:U,expireTime:J.value?.expireTime}}catch{return}}async function _L($,Y){let q=`${A$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(Y)}`,z=await fetch(q,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!z.ok){let I=await z.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${z.status} ${I}`)}return((await z.json()).items??[]).map((I)=>({id:I.id,name:I.name,enName:I.enName,roleDefs:(I.roleDefs??[]).map((Q)=>({id:Q.id,name:Q.name,enName:Q.enName,sourceType:Q.sourceType,sourceTypeValue:Q.sourceTypeValue,groupId:I.id,groupName:I.name}))}))}async function Fv($,Y,q,z="id"){let J=q.startsWith("$")?q.slice(1):q,U=`${A$($)}/api/openapi/v1/roledefs/$${J}?accessToken=${encodeURIComponent(Y)}&staffBy=${encodeURIComponent(z)}&pathType=name`,I=await fetch(U,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!I.ok){let H=await I.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${J}: ${I.status} ${H}`)}let K=(await I.json()).value;if(!K)throw Error(`Hose role staff query returned empty result for ${J}`);let G=[];for(let H of K.contents??[])for(let Z of H.staffs??[])if(Z&&!G.includes(Z))G.push(Z);return{id:K.id??J,name:K.name??"",count:K.count??G.length,staffs:G}}async function Ov($,Y,q){if(q.length===0)return[];let z=`${A$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(Y)}`,J=await fetch(z,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:q.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!J.ok){let I=await J.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${J.status} ${I}`)}return(await J.json()).items??[]}function Mv($){if(!$)return"-";if($.length<=12)return"******";return`${$.slice(0,8)}...${$.slice(-4)}`}async function vo0($){let Y=typeof $==="string"?u10($):f10($),q=Y.baseUrl||"https://app.ekuaibao.com",z,J,U,I,Q,K={accesstoken:Y.accessToken,corpid:Y.corpId};try{let G=await U5.get(`${q}/api/engine/realm/$UNITY/actions/jwt`,{searchParams:{corpId:Y.corpId},headers:K,timeout:1e4}).json(),H=G.id||G.value;if(H){let Z=H.split(".");if(Z.length>=2){let V=Z[1].replace(/-/g,"+").replace(/_/g,"/"),X=JSON.parse(Buffer.from(V,"base64").toString("utf-8"));if(typeof X.staffId==="string")z=X.staffId;if(typeof X.corporationName==="string")J=X.corporationName;if(typeof X.staffName==="string")U=X.staffName;if(typeof X.cellphone==="string")Q=X.cellphone;if(X.isAdmin!==void 0)I=X.isAdmin===!0||X.isAdmin==="true"}}}catch{}if(!z||!J)try{let H=(await U5.get(`${q}/api/account/v2/session`,{headers:{...K,...z?{staffid:z}:{}},timeout:1e4}).json())?.value;if(H){if(!z&&H.loginStaffId)z=H.loginStaffId;if(!J&&H.corporationName)J=H.corporationName;if(!U&&H.privilege)U=H.privilege}}catch{}if(!z)z=`${Y.corpId}:admin`;return{corpId:Y.corpId,baseUrl:q,accessToken:Y.accessToken,staffId:z,corpName:J,staffName:U,isAdmin:I,cellphone:Q}}async function Nv($){let Y=await vo0($),q={accesstoken:Y.accessToken,corpid:Y.corpId,staffid:Y.staffId},z;try{z=await(await U5.get(`${Y.baseUrl}/api/innerapi/v1/key`,{searchParams:{corpId:Y.corpId},headers:q,timeout:15000})).json()}catch(I){let Q=I instanceof Error?I.message:String(I);throw Error(`Failed to query Hose OpenAPI keys from assistance link: ${Q}`)}let J=z.items??[],U=[];for(let I of J)if(typeof I==="object"&&I!==null){let Q=I;if(typeof Q.appKey==="string"&&typeof Q.appSecurity==="string")U.push({id:String(Q.id??Q.appKey),name:typeof Q.name==="string"?Q.name:void 0,appKey:Q.appKey,appSecurity:Q.appSecurity,active:typeof Q.active==="boolean"?Q.active:!0,corporationId:typeof Q.corporationId==="string"?Q.corporationId:Y.corpId,createTime:typeof Q.createTime==="number"?Q.createTime:void 0,updateTime:typeof Q.updateTime==="number"?Q.updateTime:void 0})}return{corpId:Y.corpId,corpName:Y.corpName,baseUrl:Y.baseUrl,staffId:Y.staffId,keys:U}}var To0,Eo0,jo0="/web/thirdparty.html",k10,Xv,Vv;var j9=e(()=>{Cz();b8();LK();To0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],Eo0=[".ekuaibao.com",".hosecloud.com"],k10=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,Xv=new Map,Vv=new Map});function c10($,Y){return Date.now()>=$.expiresAt-Y*1000}async function ho0($){switch($.source.type){case"hose":return n10($);case"direct":case"seal":return E10($)}}async function CL($){let Y=$.auth.refreshTtl,q=RL.get($.id);if(q&&!c10(q,Y))return q;let z=g10($.id);if(z&&!c10(z,Y))return RL.set($.id,z),z;let J=await ho0($);return RL.set($.id,J),S10($.id,J),J}async function p10($){return(await CL($)).enterprise}function d10($){RL.delete($),y10($)}var RL;var Dv=e(()=>{j9();LK();RL=new Map});var l10={};$$(l10,{createSealClientForUrl:()=>N8,createSealClientForToken:()=>Pv,createSealClient:()=>Z1});function go0($){if($===void 0||$===null||$==="")return"";if(typeof $==="string")return $;try{return JSON.stringify($)}catch{return String($)}}function So0($){if(!($ instanceof L6))return $;let Y=go0($.data);if(Y)$.message=`${$.message}: ${Y}`;return $}function m10($){return async({error:Y})=>{if($&&Y instanceof L6&&Y.response.status===401)d10($);return So0(Y)}}async function Z1($){let Y=await CL($);return U5.create({prefix:Y.enterprise.sealUrl,timeout:30000,headers:{...w6($.seal),Authorization:`Bearer ${Y.token}`},hooks:{beforeError:[m10($.id)]}})}async function Pv($,Y){let q=await CL($);return N8(q.enterprise.sealUrl,Y,w6($.seal))}function N8($,Y,q={}){let z={...q};if(Y)z.Authorization=`Bearer ${Y}`;return U5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:z,hooks:{beforeError:[m10()]}})}var b8=e(()=>{Cz();Dv()});function yz($=void 0){return Tv.parse($??{})}function t10($,Y){return yz({...yz($),...Y})}var r10,Bv,s10,Tv,Ev;var xz=e(()=>{I5();r10=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],Bv={minFileSizeBytes:500,allowedExtensions:[...r10]},s10=W.string().trim().min(1).transform(($)=>{let Y=$.toLowerCase();return Y.startsWith(".")?Y:`.${Y}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),Tv=W.object({minFileSizeBytes:W.number().int().min(0).default(Bv.minFileSizeBytes),maxFileSizeBytes:W.number().int().positive().nullable().optional(),allowedExtensions:W.array(s10).min(1).default([...r10]).transform(($)=>[...new Set($)])}).superRefine(($,Y)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)Y.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),Ev=W.object({minFileSizeBytes:W.number().int().min(0).optional(),maxFileSizeBytes:W.number().int().positive().nullable().optional(),allowedExtensions:W.array(s10).min(1).transform(($)=>[...new Set($)])}).optional()});var fo0,bo0,io0,no0,e10,co0,po0,$40,vL,Y40,do0,hL,q40,MK,z40,mo0,lo0,oo0,a10,NK,J40,ro0,so0,gL,jv,U40,I40,Q40,K40,SL,G40,_v,Rv,H40,Z40,to0,W40,ao0,X40,OK,V40,L40,w40,F40,O40,M40,N40,D40,P40,A40,B40,eo0,T40,$r0,Yr0,qr0,Cv,vv,zr0,E40,j40,_40,R40,Jr0,hv,Xa1,Va1,C40,La1;var gv=e(()=>{I5();xz();fo0=W.object({staffId:W.string(),name:W.string().optional(),code:W.string().default(""),bindTime:W.number().optional()}),bo0=W.object({id:W.string(),tenantId:W.string(),name:W.string(),isAdmin:W.boolean().default(!1),permissions:W.array(W.string()).default([]),providerUserId:W.string().optional(),hosecloudStaff:fo0.optional()}),io0=W.object({apiKey:W.string().optional(),corporationId:W.string().optional(),corporationName:W.string().optional()}),no0=W.object({id:W.string(),name:W.string(),tenantSlug:W.string().optional(),isDemo:W.boolean().default(!1),logoUrl:W.string().nullable().optional(),hoseCorpConfig:io0.optional()}),e10=W.object({user:bo0,tenant:no0}),co0=W.object({id:W.string(),name:W.string(),email:W.string().nullable().optional(),emailVerified:W.boolean().optional(),image:W.string().nullable().optional(),tenantId:W.string().optional(),provider:W.string().optional(),providerUserId:W.string().optional(),mobile:W.string().nullable().optional(),status:W.string().optional(),permissions:W.array(W.string()).default([]),isAdmin:W.boolean().default(!1),hosecloudStaff:W.unknown().optional()}).passthrough(),po0=W.object({id:W.string(),token:W.string().optional(),expiresAt:W.string(),createdAt:W.string().optional(),updatedAt:W.string().optional(),ipAddress:W.string().optional(),userAgent:W.string().optional(),userId:W.string(),delegationId:W.string().nullable().optional()}).passthrough(),$40=W.object({user:co0,session:po0}),vL=W.object({id:W.string(),tenantId:W.string().optional(),code:W.number().optional(),description:W.string(),scope:W.string(),strictness:W.string(),status:W.string().optional(),createdAt:W.number().optional(),updatedAt:W.number().optional()}),Y40=W.object({rules:W.array(vL),hasPendingDeletes:W.boolean().default(!1)}),do0=W.object({code:W.string().optional(),description:W.string(),scope:W.string(),strictness:W.string()}),hL=W.object({id:W.string(),tenantId:W.string().optional(),versionNumber:W.number(),versionName:W.string().nullable().optional(),publishedBy:W.string().nullable().optional(),publishedByName:W.string().nullable().optional(),rules:W.array(do0).default([]),publishedAt:W.number().optional(),createdAt:W.number().optional()}),q40=W.object({version:hL,rulesCount:W.number()}),MK=W.object({id:W.string(),tenantId:W.string().optional(),title:W.string(),purpose:W.string().default(""),contentType:W.string().default("policy"),content:W.string(),status:W.string().default("published"),enabled:W.boolean().default(!0),scenarios:W.array(W.string()).default([]),tags:W.array(W.string()).default([]),category:W.string().nullable().optional(),categoryTags:W.array(W.string()).default([]),createdBy:W.string().nullable().optional(),createdByName:W.string().nullable().optional(),createdAt:W.number().optional(),updatedAt:W.number().optional(),updatedBy:W.string().nullable().optional(),updatedByName:W.string().nullable().optional(),isDeleted:W.boolean().default(!1)}),z40=W.object({articles:W.array(MK),total:W.number().optional()}),mo0=W.object({explicitApprove:W.string().default(""),explicitReject:W.string().default(""),exemptApprove:W.string().default(""),review:W.string().default("")}).passthrough(),lo0=W.object({type:W.string(),signKey:W.string().optional(),outboundName:W.string().optional(),mode:W.string().optional(),autoApprovalRate:W.number().optional(),apiKey:W.string().optional(),apiSecret:W.string().optional(),apiOrigin:W.string().optional(),corporationId:W.string().optional(),ebotSignKey:W.string().optional(),completionSignKey:W.string().optional(),outboundMessageId:W.string().optional(),completionMessageId:W.string().optional()}).passthrough(),oo0=W.enum(["assisted","semi_automatic","fully_automatic"]),a10=W.object({id:W.string(),url:W.string().url()}).passthrough(),NK=W.object({type:W.literal("webhook"),id:W.string(),name:W.string(),mode:oo0,incomingDocumentWebhook:a10,outgoingResultWebhook:W.string().url(),incomingManualResultWebhook:a10,secret:W.string().min(1),autoApprovalRate:W.number().int().min(0).max(100).optional(),materialPackFilePolicy:Tv.default(Bv)}).passthrough(),J40=W.object({id:W.string().optional(),tenantId:W.string().optional(),tone:W.string().optional(),language:W.string().optional(),detailLevel:W.string().optional(),outputFormat:W.string().optional(),examples:W.array(W.string()).default([]),prohibitedPhrases:W.array(W.string()).default([]),customInstructions:W.string().optional(),updatedAt:W.number().optional(),decisionPreferences:mo0.optional(),integrationSystem:W.string().optional(),integrations:W.array(lo0).default([])}).passthrough(),ro0=W.object({id:W.string().optional(),sn:W.string().optional(),title:W.string().optional(),name:W.string().optional(),fields:W.array(W.unknown()).optional()}).passthrough(),so0=W.object({_langfuseTraceId:W.string().optional(),simulation_batch_id:W.string().optional()}).passthrough(),gL=W.object({id:W.string(),tenantId:W.string().optional(),agentId:W.string().optional(),status:W.string().optional(),taskMode:W.string().optional(),finalExecutionMode:W.string().optional(),sourceSystem:W.string().optional(),sourceDocumentSN:W.string().optional(),sourceDocumentId:W.string().optional(),documentId:W.string().optional(),document:ro0.optional(),result:W.unknown().optional(),pipelineData:W.unknown().optional(),sourceExtendData:so0.optional(),ruleSetVersionNumber:W.number().optional(),ruleSetPublishedAt:W.number().optional(),ruleSetPublishedByName:W.string().optional(),createdAt:W.union([W.string(),W.number()]).optional(),updatedAt:W.union([W.string(),W.number()]).optional()}).passthrough(),jv=W.object({records:W.array(gL).default([]),total:W.number().optional(),page:W.number().optional(),pageSize:W.number().optional()}).passthrough(),U40=W.object({id:W.string(),expiresAt:W.number().nullable().optional(),revokedAt:W.number().nullable().optional(),createdAt:W.number().nullable().optional(),lastUsedAt:W.number().nullable().optional(),useCount:W.number().default(0),note:W.string().nullable().optional(),link:W.string()}).passthrough(),I40=W.object({id:W.string(),token:W.string(),link:W.string()}).passthrough(),Q40=W.object({userId:W.string(),password:W.string()}).passthrough(),K40=W.object({password:W.string()}).passthrough(),SL=W.object({_id:W.string(),tenantId:W.string().optional(),name:W.string(),mobile:W.string().optional(),email:W.string().optional(),departmentIds:W.array(W.string()).default([]),status:W.string().optional(),permissions:W.array(W.string()).default([]),createdAt:W.string().optional(),updatedAt:W.string().optional()}).passthrough(),G40=W.object({departments:W.array(W.record(W.string(),W.unknown())).default([]),users:W.array(SL).default([])}).passthrough(),_v=W.object({_id:W.string(),tenantId:W.string().optional(),name:W.string().optional(),parentId:W.string().nullable().optional(),ancestors:W.array(W.string()).default([]),provider:W.string().optional(),permissions:W.array(W.string()).default([]),isDeleted:W.boolean().optional(),syncedAt:W.string().optional(),createdAt:W.string().optional(),updatedAt:W.string().optional()}).passthrough(),Rv=W.object({items:W.array(_v).default([])}).passthrough(),H40=W.object({items:W.array(SL).default([])}).passthrough(),Z40=W.object({lastSyncTime:W.union([W.string(),W.number(),W.null()])}).passthrough(),to0=W.object({tagId:W.string().optional(),tagName:W.string().optional(),tagPath:W.string().optional(),count:W.number().default(0),avgConfidence:W.number().default(0),errorCount:W.number().default(0),warningCount:W.number().default(0)}).passthrough(),W40=W.object({tagStats:W.array(to0).default([]),totalRisks:W.number().default(0),analyzedRisks:W.number().default(0),pendingRisks:W.number().default(0)}).passthrough(),ao0=W.object({riskId:W.string().optional(),recordId:W.string().optional(),riskDetails:W.string().default(""),riskLevel:W.string().default("warning"),documentType:W.string().default(""),documentSN:W.string().default(""),sourceSystem:W.string().default(""),sourceDocumentURL:W.string().nullable().optional(),confidence:W.number().default(0),reasoning:W.string().default(""),createdAt:W.union([W.string(),W.number(),W.date()]).optional()}).passthrough(),X40=W.object({tagId:W.string(),tagName:W.string().default(""),tagPath:W.string().default(""),tagDescription:W.string().default(""),risks:W.array(ao0).default([]),total:W.number().default(0)}).passthrough(),OK=W.object({value:W.number().default(0),trend:W.number().default(0)}).passthrough(),V40=W.object({metrics:W.object({approvalCount:OK.optional(),accuracy:OK.optional(),automationRate:OK.optional(),riskCount:OK.optional(),avgDuration:OK.optional()}).passthrough().default({}),sankeyData:W.object({nodes:W.array(W.object({id:W.string()}).passthrough()).default([]),links:W.array(W.object({source:W.string(),target:W.string(),value:W.number().default(0)}).passthrough()).default([])}).passthrough().default({nodes:[],links:[]})}).passthrough(),L40=W.record(W.string(),W.unknown()),w40=W.object({expenses:W.array(L40).default([]),total:W.number().optional()}).passthrough(),F40=W.object({invoices:W.array(L40).default([]),total:W.number().optional(),feishuApprovalAppId:W.string().nullable().optional()}).passthrough(),O40=W.record(W.string(),W.unknown()),M40=W.object({provider:W.string(),config:W.record(W.string(),W.unknown()).default({})}).passthrough(),N40=W.object({id:W.string(),name:W.string(),description:W.string().optional(),available:W.boolean().default(!0),fields:W.array(W.record(W.string(),W.unknown())).default([])}).passthrough(),D40=W.object({permissions:W.array(W.object({key:W.string(),name:W.string(),description:W.string().optional()}).passthrough()).default([])}).passthrough(),P40=W.object({configs:W.array(W.record(W.string(),W.unknown())).default([])}).passthrough(),A40=W.object({subscriptions:W.array(W.record(W.string(),W.unknown())).default([]),features:W.array(W.record(W.string(),W.unknown())).default([])}).passthrough(),B40=W.object({key:W.string(),type:W.string(),label:W.string(),column:W.string(),mask:W.string().optional()}).passthrough(),eo0=W.object({columns:W.array(B40).default([]),fieldKey:W.string().optional(),keyColumn:W.string().optional(),sheetName:W.string().optional(),fieldLabel:W.string().optional()}).passthrough(),T40=W.object({id:W.string().optional(),listSheets:W.array(eo0).default([]),mainColumns:W.array(B40).default([]),workbookName:W.string().optional(),mainKeyColumn:W.string().optional(),mainSheetName:W.string().optional(),titleColumn:W.string().optional(),statusColumn:W.string().optional(),applicationDateColumn:W.string().optional(),updatedDateColumn:W.string().optional(),attachmentFieldKey:W.string().optional(),attachmentFieldLabel:W.string().optional()}).passthrough(),$r0=W.object({approvalCode:W.string(),nodeId:W.string().optional(),flowIds:W.array(W.string()).max(100).optional(),limit:W.number().int().positive().max(100).optional(),dataCollectionMode:W.string().optional(),signKey:W.string().optional(),rejectNodeName:W.string().nullable().optional(),skipInvoiceGeneration:W.boolean().optional(),skipExpenseExtraction:W.boolean().optional(),disableAttachmentCache:W.boolean().optional(),thinkingDepthOverride:W.enum(["default","medium","high"]).optional(),startTime:W.number().optional(),endTime:W.number().optional(),templateId:W.string().optional(),packageIds:W.array(W.string()).optional(),packageLabel:W.string().optional(),runMode:W.string().optional(),schemaConfig:T40.optional()}).passthrough(),Yr0=W.object({mode:W.string().optional(),conditions:W.array(W.object({label:W.string(),value:W.string()}).passthrough()).default([])}).passthrough(),qr0=W.object({kind:W.string().optional(),stage:W.string().optional(),code:W.string().optional(),message:W.string().optional()}).passthrough(),Cv=W.object({id:W.string(),tenantId:W.string().optional(),approvalCode:W.string().optional(),nodeId:W.string().optional(),sourceSystem:W.string().optional(),status:W.string().optional(),totalCount:W.number().default(0),processedCount:W.number().default(0),successCount:W.number().default(0),failedCount:W.number().default(0),createdCount:W.number().default(0),createFailedCount:W.number().default(0),params:$r0.optional(),requestSummary:Yr0.nullable().optional(),resultSummary:qr0.nullable().optional(),createdAt:W.union([W.string(),W.number()]).optional(),updatedAt:W.union([W.string(),W.number()]).optional()}).passthrough(),vv=W.object({batchId:W.string()}).passthrough(),zr0=W.object({dataCollectionMode:W.string().optional(),flowIds:W.array(W.string()).max(100).optional(),rejectNodeName:W.string().nullable().optional(),skipInvoiceGeneration:W.boolean().optional(),skipExpenseExtraction:W.boolean().optional()}).passthrough(),E40=W.object({id:W.string(),tenantId:W.string().optional(),name:W.string().optional(),description:W.string().optional(),approvalSystem:W.string().optional(),hosecloudConfig:zr0.optional(),createdAt:W.union([W.string(),W.number()]).optional(),updatedAt:W.union([W.string(),W.number()]).optional()}).passthrough(),j40=W.object({hasFeishu:W.boolean().default(!1),hasHosecloud:W.boolean().default(!1),hasWeaver:W.boolean().default(!1),hasHelios:W.boolean().default(!1),hasMaycur:W.boolean().default(!1),hasMaycurStandard:W.boolean().default(!1)}).passthrough(),_40=W.object({signKey:W.string().optional(),displayName:W.string().optional(),corporationId:W.string().optional()}).passthrough(),R40=W.object({id:W.string(),tenantId:W.string().optional(),name:W.string().optional(),templateId:W.string().optional(),originalFileName:W.string().optional(),status:W.string().optional(),documentCount:W.number().optional(),attachmentCount:W.number().optional(),uploadedBy:W.string().optional(),schemaConfig:T40.nullable().optional(),createdAt:W.union([W.string(),W.number()]).optional(),updatedAt:W.union([W.string(),W.number()]).optional()}).passthrough(),Jr0=W.object({hitScopes:W.array(W.string()).default([]),hitRuleIds:W.array(W.string()).default([]),notHitScopes:W.array(W.string()).default([]),notHitRuleIds:W.array(W.string()).default([])}).passthrough(),hv=W.object({id:W.string().min(1),name:W.string().min(1),enabled:W.boolean().default(!0),description:W.string().default(""),condition:Jr0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:W.enum(["medium","high"])}).passthrough(),Xa1=W.object({defaultLevel:W.enum(["medium","high"]).default("medium"),routingPolicies:W.array(hv).default([])}).passthrough(),Va1=W.object({dryRun:W.boolean().optional(),signKey:W.string().min(1).optional(),outboundName:W.string().optional(),specificationId:W.string().optional(),specificationName:W.string().optional(),mode:W.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:W.number().min(0).max(100).optional(),rejectResubmitMethod:W.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:W.array(W.string()).optional(),apiKey:W.string().min(1),apiSecret:W.string().min(1),apiOrigin:W.string().default("production"),customApiUrl:W.string().optional()}).passthrough(),C40=W.object({id:W.string().optional(),code:W.string().optional(),name:W.string().optional(),approvalSystem:W.string().optional()}).passthrough(),La1=W.object({total:W.number(),dedupeBy:W.string(),unique:W.number(),byStatus:W.record(W.string(),W.number()),bySourceSystem:W.record(W.string(),W.number())}).passthrough()});import{randomBytes as g40}from"node:crypto";async function q1($,Y){let q=await $.json();return Y.parse(q.data??q)}async function z8($){return q1(await $.get("api/v1/auth/me"),e10)}async function y40($){return q1(await $.get("api/auth/get-session"),$40)}async function b6($){return q1(await $.get("api/v1/rules"),Y40)}async function PK($,Y){return q1(await $.post("api/v1/rules",{json:Y}),vL)}async function Sv($,Y,q){return q1(await $.put(`api/v1/rules/${Y}`,{json:q}),vL)}async function uz($,Y){await $.delete(`api/v1/rules/${Y}`)}async function uL($){let Y=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),q=await Y.json().catch(()=>({}));return W.object({ok:W.boolean(),status:W.number(),body:W.unknown()}).parse({ok:Y.ok,status:Y.status,body:q})}async function B$($){return q1(await $.get("api/v1/rule-set-versions"),W.array(hL))}async function AK($,Y){return q1(await $.get(`api/v1/rule-set-versions/${Y}`),hL)}async function BK($,Y){return q1(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:Y}}),q40)}async function m3($,Y={}){let q=new URLSearchParams;return q.set("offset",String(Y.offset??0)),q.set("limit",String(Y.limit??20)),q.set("sortBy",Y.sortBy??"createdAt"),q.set("sortOrder",Y.sortOrder??"desc"),Y.scenarios?.forEach((z,J)=>{q.set(`filter[scenarios][${J}]`,z)}),q1(await $.get("api/v1/knowledge/articles",{searchParams:q}),z40)}async function x40($,Y){return q1(await $.get(`api/v1/knowledge/articles/${Y}`),MK)}async function fL($,Y){return q1(await $.post("api/v1/knowledge/articles",{json:{...Y,contentType:Y.contentType??"policy",status:Y.status??"published",enabled:Y.enabled??!0,scenarios:Y.scenarios&&Y.scenarios.length>0?Y.scenarios:["audit"],tags:Y.tags??[]}}),MK)}async function bL($,Y,q){let z=Object.fromEntries(Object.entries(q).filter(([,J])=>J!==void 0));return q1(await $.patch(`api/v1/knowledge/articles/${Y}`,{json:{attributes:z}}),MK)}async function iL($,Y){return await $.delete(`api/v1/knowledge/articles/${Y}`),{success:!0,id:Y}}async function x1($,Y="api/v1/agent/ai-approval/config"){return q1(await $.get(Y),J40)}async function g5($,Y,q="api/v1/agent/ai-approval/config"){return await $.post(q,{json:Y}),x1($,q)}async function yv($,Y,q="api/v1/agent/ai-approval/config"){let z=await $.post(q,{json:Y}),J=await z.json().catch(()=>({})),U=kL.safeParse(J.data??J);return U.success?U.data.success??z.ok:z.ok}async function J$($,Y="api/v1/agent/ai-approval/config"){let q=await x1($,Y);return xv(q.integrations)}async function nL($,Y,q,z="api/v1/agent/ai-approval/config"){let J=await x1($,z),U=xv(J.integrations),I=c40(Y,U,q);if(!await yv($,{...J,integrations:[...J.integrations,I]},z))throw Error("Seal did not confirm saving the Webhook integration");return I}async function k40($,Y,q,z="api/v1/agent/ai-approval/config"){let J=await x1($,z),U=xv(J.integrations),I=c40(Y,U,q);return{before:J,after:{...J,integrations:[...J.integrations,I]},integration:I}}async function u40($,Y,q,z="api/v1/agent/ai-approval/config"){let J=await x1($,z),U=cL(J.integrations),I=pL(U,Y),Q=p40(I.integration,q);if(!await yv($,{...J,integrations:J.integrations.map((G,H)=>H===I.index?Q:G)},z))throw Error("Seal did not confirm saving the Webhook integration");return Q}async function f40($,Y,q,z="api/v1/agent/ai-approval/config"){let J=await x1($,z),U=cL(J.integrations),I=pL(U,Y),Q=p40(I.integration,q);return{before:J,after:{...J,integrations:J.integrations.map((K,G)=>G===I.index?Q:K)},integration:Q}}async function b40($,Y,q="api/v1/agent/ai-approval/config"){let z=await x1($,q),J=cL(z.integrations),U=pL(J,Y);if(!await yv($,{...z,integrations:z.integrations.filter((Q,K)=>K!==U.index)},q))throw Error("Seal did not confirm deleting the Webhook integration");return U.integration}async function i40($,Y,q="api/v1/agent/ai-approval/config"){let z=await x1($,q),J=cL(z.integrations),U=pL(J,Y);return{before:z,after:{...z,integrations:z.integrations.filter((I,Q)=>Q!==U.index)},integration:U.integration}}function l3($,Y){let q=Y.trim();if(!q)throw Error("Webhook selector must not be empty");let z=$.find((U)=>U.id===q);if(z)return z;let J=$.filter((U)=>U.name===q);if(J.length===1)return J[0];if(J.length>1)throw Error(`Multiple Webhook integrations match name: ${q}. Use the integration ID.`);throw Error(`Webhook integration not found: ${q}`)}function n40($,Y){let q=Y?.trim().toLowerCase();if(!q)return $;return $.filter((z)=>[z.id,z.name,z.mode,z.outgoingResultWebhook,z.incomingDocumentWebhook.url,z.incomingManualResultWebhook.url].some((J)=>J.toLowerCase().includes(q)))}function xv($){return $.filter((Y)=>Y.type==="webhook").map((Y)=>NK.parse(Y))}function cL($){return $.flatMap((Y,q)=>{if(Y.type!=="webhook")return[];return[{index:q,integration:NK.parse(Y)}]})}function pL($,Y){let q=l3($.map((z)=>z.integration),Y);return $.find((z)=>z.integration.id===q.id)}function c40($,Y,q){let z=DK(q.name,"name"),J=q.mode??"assisted",U=m40(q.outgoingResultWebhook,"outgoingResultWebhook"),I=l40(q.autoApprovalRate??60),Q=Qr0(Y),K=`wh_${Q}_${g40(8).toString("hex").slice(0,7)}`,G=A$($);return NK.parse({type:"webhook",id:`integration-${Q}`,name:z,mode:J,incomingDocumentWebhook:{id:K,url:`${G}/api/v1/integrations/webhook/${K}/document`},outgoingResultWebhook:U,incomingManualResultWebhook:{id:K,url:`${G}/api/v1/integrations/webhook/${K}/manual-result`},secret:q.secret?DK(q.secret,"secret"):d40(),autoApprovalRate:I,materialPackFilePolicy:yz(q.materialPackFilePolicy)})}function p40($,Y){return NK.parse({...$,...Y.name===void 0?{}:{name:DK(Y.name,"name")},...Y.mode===void 0?{}:{mode:Y.mode},...Y.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:m40(Y.outgoingResultWebhook,"outgoingResultWebhook")},...Y.autoApprovalRate===void 0?{}:{autoApprovalRate:l40(Y.autoApprovalRate)},...Y.rotateSecret||Y.secret!==void 0?{secret:Y.rotateSecret?d40():DK(Y.secret??"","secret")}:{},...Y.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:t10($.materialPackFilePolicy,Y.materialPackFilePolicy)}})}function Qr0($){let Y=new Set($.map((z)=>z.id)),q=Date.now();while(Y.has(`integration-${q}`))q+=1;return q}function d40(){return g40(16).toString("hex")}function DK($,Y){let q=$.trim();if(!q)throw Error(`Webhook ${Y} must not be empty`);return q}function m40($,Y){let q=DK($,Y);try{return new URL(q).toString()}catch{throw Error(`Webhook ${Y} must be a valid URL`)}}function l40($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function dL($,Y={}){let[q,z,J]=await Promise.all([b6($),m3($,{limit:Y.documentLimit??50}),x1($,Y.stylePreferencesEndpoint).then((U)=>({ok:!0,data:U}),(U)=>({ok:!1,error:U instanceof Error?U.message:String(U)}))]);return{rules:q,documents:z,stylePreferences:J}}async function x4($,Y={}){let q=new URLSearchParams;return q.set("offset",String(Y.offset??0)),q.set("limit",String(Y.limit??50)),i8(q,"fromTimestamp",Y.fromTimestamp),i8(q,"toTimestamp",Y.toTimestamp),i8(q,"startDate",Y.startDate),i8(q,"endDate",Y.endDate),v40(q,"status",Y.status),i8(q,"sourceSystem",Y.sourceSystem),i8(q,"taskMode",Y.taskMode),i8(q,"search",Y.search),i8(q,"sourceDocumentSN",Y.sourceDocumentSN),i8(q,"sourceDocumentId",Y.sourceDocumentId),v40(q,"manualApprovalStatus",Y.manualApprovalStatus),q1(await $.get("api/v1/approvals",{searchParams:q}),jv)}async function e1($,Y){return q1(await $.get(`api/v1/approvals/${Y}`),gL)}async function kv($,Y){let q=await $.get(`api/v1/simulation/batch/${Y}/records`).json(),z=q.data??q;if(Array.isArray(z))return W.array(gL).parse(z);return jv.parse(z).records}async function o40($,Y){return q1(await $.post("api/v1/simulation/create-batch",{json:Y}),vv)}async function r40($,Y){return q1(await $.post("api/v1/simulation/create-material-pack-batch",{json:Y}),vv)}async function s40($,Y={}){let q=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(Y.limit??50)}}).json(),z=q.data??q;return W.array(Cv).parse(z)}async function mL($,Y){return q1(await $.get(`api/v1/simulation/batch/${Y}`),Cv)}async function t40($){let Y=await $.get("api/v1/simulation/templates").json(),q=Y.data??Y;return W.array(E40).parse(q)}async function uv($){return q1(await $.get("api/v1/simulation/integration-status"),j40)}async function fv($){let Y=await $.get("api/v1/simulation/hosecloud-integrations").json(),q=Y.data??Y;return W.array(_40).parse(q)}async function a40($,Y){let z=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(Y)}/data`)).json().catch(()=>({}));return z.data??z}async function e40($,Y){let q=Y?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",z=Y?new URLSearchParams({signKey:Y}):void 0,J=await $.get(q,{searchParams:z}).json(),U=J.data??J;return W.array(C40).parse(U)}async function $60($,Y){let q=await $.post("api/hosecloud/corporation",{json:Y}).json(),z=q.data??q;return W.object({corporationId:W.string()}).parse(z)}async function Y60($,Y){let z=await(await $.post("api/hosecloud/outbound-config/sync",{json:Y})).json().catch(()=>({}));return z.data??z}async function q60($,Y){let q=new FormData;return q.append("file",new Blob([new Uint8Array(Y.fileBuffer)]),Y.fileName),q1(await $.post("api/v1/material-packages/upload",{body:q}),R40)}function i8($,Y,q){if(q)$.set(Y,q)}function v40($,Y,q){if(!q)return;(Array.isArray(q)?q:[q]).map((J)=>J.trim()).filter(Boolean).forEach((J,U)=>{$.set(`${Y}[${U}]`,J)})}async function z60($){return q1(await $.get("api/v1/delegation/list"),W.array(U40))}async function kz($,Y){return q1(await $.post("api/v1/delegation/create",{json:Y??{}}),I40)}async function J60($,Y){let q=await $.post("api/v1/delegation/revoke",{json:{tokenId:Y}}),z=await q.json(),J=kL.safeParse(z.data??z);return J.success?J.data.success??q.ok:q.ok}async function U60($,Y){let q=Y.departmentIds&&Y.departmentIds.length>0?Y.departmentIds:void 0;if(!q){let z=await $.get("api/v1/contacts/departments/root/children").json(),J=Ur0.safeParse(z.data??z),U=J.success?J.data.items?.[0]?._id:void 0;if(U)q=[U]}return q1(await $.post("api/v1/contacts/local/users",{json:{name:Y.name,phone:Y.phone,permissions:Y.permissions??[],departmentIds:q??[]}}),Q40)}async function bv($,Y){return q1(await $.post(`api/v1/contacts/local/users/${Y}/reset-password`,{json:{}}),K40)}async function yL($,Y){return q1(await $.get(`api/v1/contacts/users/${Y}`),SL)}async function xL($,Y=""){return q1(await $.get("api/v1/contacts/search",{searchParams:{query:Y}}),G40)}async function I60($){return q1(await $.get("api/v1/contacts/departments/root/children"),Rv)}async function Q60($,Y){return q1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}`),_v)}async function K60($,Y){return q1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/children`),Rv)}async function G60($,Y){return q1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/users`),H40)}async function H60($){return q1(await $.get("api/v1/contacts/last-sync-time"),Z40)}async function lL($,Y={}){let q=iv(),z=new URLSearchParams;if(i8(z,"startDate",Y.startDate??q.startDate),i8(z,"endDate",Y.endDate??q.endDate),Y.limit!==void 0)z.set("limit",String(Y.limit));return q1(await $.get("api/v1/insight/stats",{searchParams:z}),W40)}async function oL($,Y){let q=iv(),z=new URLSearchParams;return z.set("tagId",Y.tagId),z.set("startDate",Y.startDate??q.startDate),z.set("endDate",Y.endDate??q.endDate),q1(await $.get("api/v1/insight/risks-by-tag",{searchParams:z}),X40)}async function rL($,Y={}){let q=iv(),z=h40(Y.startDate??q.startDate),J=h40(Y.endDate??q.endDate),U=new URLSearchParams;return U.set("startDate",String(z)),U.set("endDate",String(J)),q1(await $.get("api/v1/insight/performance",{searchParams:U}),V40)}async function Z60($,Y){return await $.post(`api/v1/insight/analyze/${encodeURIComponent(Y)}`),{success:!0,recordId:Y}}function h40($){if(typeof $==="number")return $<100000000000?$*1000:$;let Y=Number($);if(!isNaN(Y)&&$.trim()!=="")return Y<100000000000?Y*1000:Y;let q=new Date($);if(isNaN(q.getTime()))throw Error(`Invalid date format: ${$}`);return q.getTime()}function iv(){let $=new Date,Y=new Date($.getFullYear(),$.getMonth(),1),q=new Date($.getFullYear(),$.getMonth()+1,0,23,59,59,999);return{startDate:Y.toISOString(),endDate:q.toISOString()}}function W60($){let Y=new URLSearchParams;return i8(Y,"filter[startDate]",$.startDate),i8(Y,"filter[endDate]",$.endDate),i8(Y,"filter[search]",$.search),Y.set("offset",String($.offset??0)),Y.set("limit",String($.limit??50)),Y}async function X60($,Y={}){return q1(await $.get("api/v1/expenses/list",{searchParams:W60(Y)}),w40)}async function V60($,Y={}){return q1(await $.get("api/v1/invoice/list",{searchParams:W60(Y)}),F40)}async function L60($){return q1(await $.get("api/v1/integrations/feishu/simulation/approval-definitions"),W.array(O40))}async function w60($,Y){let q=await $.delete(`api/v1/contacts/local/users/${Y}`),z=await q.json(),J=kL.safeParse(z.data??z);return J.success?J.data.success??q.ok:q.ok}async function nv($,Y){let q=await $.post(`api/v1/contacts/local/users/${Y}/activate`,{json:{}}),z=await q.json(),J=kL.safeParse(z.data??z);return J.success?J.data.success??q.ok:q.ok}async function Kr0($,Y){let q=await $.post("api/auth/sms-otp/sign-in-password",{json:Y}),z=q.headers.get("set-auth-token"),J=Ir0.parse(await q.json()),U=z??J.session?.token;if(!U)throw Error("Failed to retrieve authentication token from login response");return{token:U,user:J.user}}async function F60($,Y,q,z){let J;if(Y.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(Y.userIdOrPhone)){let X=await xL($,Y.userIdOrPhone),L=X.users.find((w)=>w.mobile?.includes(Y.userIdOrPhone)||w._id===Y.userIdOrPhone)??X.users[0];if(!L)throw Error(`User not found with phone/ID: ${Y.userIdOrPhone}`);J=L}else J=await yL($,Y.userIdOrPhone).catch(async()=>{let X=await xL($,Y.userIdOrPhone),L=X.users.find((w)=>w.name===Y.userIdOrPhone)??X.users[0];if(!L)throw Error(`User not found: ${Y.userIdOrPhone}`);return L});if(J.status==="resigned")await nv($,J._id),J=await yL($,J._id);let U=J,I=Array.isArray(U.identities)&&U.identities.some((X)=>X.provider&&X.provider!=="local")||!!U.apps?.hosecloud;if(I&&z&&z.source.type==="hose"){let L=(J.mobile||U.identities?.[0]?.providerId||"").replace(/^\+86/,""),w=U.identities?.find((O)=>O.provider==="hosecloud")?.providerId,F=U.apps?.hosecloud?.boundId||w||(L?`${z.source.corpId}:${L}`:void 0);if(F){let O=await gz(z),B=(await EL({...z.source,staffId:F},O)).token,A=d3(z,z.source),E=w6(z.seal),y=N8(A,void 0,E),v;try{v=await y.get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:B,returnToken:"1"}}).json()}catch(C){if(C instanceof L6&&C.response.status===400)throw Error(`Seal AI 用户“${J.name}”未绑定合思账号,无法生成个人协助链接。`);throw C}let k=v.token??v.accessToken??v.data?.token;if(k){let C=await q(k),c=await kz(C,{note:Y.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:c,temporaryPassword:"N/A (Hose SSO)"}}}}let Q;try{Q=await bv($,J._id)}catch(X){if(I)throw Error(`用户 "${J.name}" (${J.mobile||J._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw X}let G=(J.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!G)throw Error(`User ${J.name} has no associated phone number for password login`);let{token:H}=await Kr0($,{phone:G,password:Q.password}),Z=await q(H),V=await kz(Z,{note:Y.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:V,temporaryPassword:Q.password}}async function O60($){return q1(await $.get("api/v1/llm/config"),M40)}async function M60($){return q1(await $.get("api/v1/llm/providers"),W.array(N40))}async function N60($){return q1(await $.get("api/v1/permissions/available"),D40)}async function D60($){return q1(await $.get("api/v1/permissions/configs"),P40)}async function g2($){return q1(await $.get("api/v1/billing/status"),A40)}async function P60($){let q=await(await $.get("api/v1/billing/plans")).json();return S40.parse(q.data??q)}async function A60($){let q=await(await $.get("api/v1/billing/features")).json();return S40.parse(q.data??q)}var kL,Ur0,Ir0,S40;var I6=e(()=>{Cz();I5();xz();j9();b8();gv();kL=W.object({success:W.boolean().optional()}).passthrough(),Ur0=W.object({items:W.array(W.object({_id:W.string()})).optional()}).passthrough(),Ir0=W.object({user:W.unknown().optional(),session:W.object({token:W.string().optional()}).optional()}).passthrough(),S40=W.json()});var l4=M((we1,T60)=>{var{toString:B60}=Object.prototype,Gr0=/["&<>]/,_9={each:function(Y,q){if(Y)if(Array.isArray(Y))Y.forEach(q);else Object.keys(Y).forEach((z)=>{q(Y[z],z)})},some:function(Y,q){if(Y){if(Array.isArray(Y))return Y.some(q);return Object.keys(Y).some((z)=>q(Y[z],z))}return!1},every:function(Y,q){if(Y){if(Array.isArray(Y))return Y.every(q);return Object.keys(Y).every((z)=>q(Y[z],z))}return!0},map:function(Y,q){if(Y){if(Array.isArray(Y))return Y.map(q);return Object.keys(Y).map((z)=>q(Y[z],z))}return[]},keyBy($,Y){return $.reduce((q,z)=>{return q[z[Y]]=z,q},{})},isEqual:function(Y,q){let z=typeof Y,J=typeof q,U=Array.isArray(Y),I=Array.isArray(q),Q;if(z!==J)return!1;switch(typeof Y){case"object":if(U||I){if(U&&I)return Y.length===q.length&&Y.every((K,G)=>{let H=q[G];return _9.isEqual(K,H)});return!1}if(Y===null||q===null)return Y===q;if(Q=Object.keys(Y),Object.keys(q).length!==Q.length)return!1;for(let K of Q)if(!q.hasOwnProperty(K))return!1;return _9.every(Y,(K,G)=>{let H=q[G];return _9.isEqual(K,H)});default:return Y===q}},escapeHtml($){let Y=Gr0.exec($);if(!Y)return $;let q="",z="",J=0,U=Y.index;for(;U<$.length;U++){switch($.charAt(U)){case'"':z="&quot;";break;case"&":z="&amp;";break;case"'":z="&apos;";break;case"<":z="&lt;";break;case">":z="&gt;";break;default:continue}if(J!==U)q+=$.substring(J,U);J=U+1,q+=z}if(J!==U)return q+$.substring(J,U);return q},strcmp($,Y){if($<Y)return-1;if($>Y)return 1;return 0},isUndefined($){return B60.call($)==="[object Undefined]"},isObject($){return B60.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:Y}=arguments,q,z,J;function U(I,Q){if(q=$[Q],J=Array.isArray(I),_9.isObject(I)||J){if(J)J=!1,z=q&&Array.isArray(q)?q:[];else z=q&&_9.isObject(q)?q:{};$[Q]=_9.deepMerge(z,I)}else if(!_9.isUndefined(I))$[Q]=I}for(let I=0;I<Y;I++)_9.each(arguments[I],U);return $}};T60.exports=_9});var k4=M((Fe1,E60)=>{var Hr0=/^[A-Z]+\d+$/,TK={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level($){if($<=26)return 1;if($<=676)return 2;return 3},_fill($){let Y,q,z,J,U,I=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(I<=26)Y=this._dictionary[I-1],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){I=27;while(I<=702)q=I-27,z=q%26,J=Math.floor(q/26),Y=this._dictionary[J]+this._dictionary[z],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){I=703;while(I<=16384)q=I-703,z=q%26,J=Math.floor(q/26)%26,U=Math.floor(q/676),Y=this._dictionary[U]+this._dictionary[J]+this._dictionary[z],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=3}},l2n($){if(!this._l2n[$])this._fill($.length);if(!this._l2n[$])throw Error(`Out of bounds. Invalid column letter: ${$}`);return this._l2n[$]},n2l($){if($<1||$>16384)throw Error(`${$} is out of bounds. Excel supports columns from 1 to 16384`);if(!this._n2l[$])this._fill(this._level($));return this._n2l[$]},_hash:{},validateAddress($){if(!Hr0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let Y=$.length<5&&this._hash[$];if(Y)return Y;let q=!1,z="",J=0,U=!1,I="",Q=0;for(let G=0,H;G<$.length;G++)if(H=$.charCodeAt(G),!U&&H>=65&&H<=90)q=!0,z+=$[G],J=J*26+H-64;else if(H>=48&&H<=57)U=!0,I+=$[G],Q=Q*10+H-48;else if(U&&q&&H!==36)break;if(!q)J=void 0;else if(J>16384)throw Error(`Out of bounds. Invalid column letter: ${z}`);if(!U)Q=void 0;$=z+I;let K={address:$,col:J,row:Q,$col$row:`$${z}$${I}`};if(J<=100&&Q<=100)this._hash[$]=K,this._hash[K.$col$row]=K;return K},getAddress($,Y){if(Y){let q=this.n2l(Y)+$;return this.decodeAddress(q)}return this.decodeAddress($)},decode($){let Y=$.split(":");if(Y.length===2){let q=this.decodeAddress(Y[0]),z=this.decodeAddress(Y[1]),J={top:Math.min(q.row,z.row),left:Math.min(q.col,z.col),bottom:Math.max(q.row,z.row),right:Math.max(q.col,z.col)};return J.tl=this.n2l(J.left)+J.top,J.br=this.n2l(J.right)+J.bottom,J.dimensions=`${J.tl}:${J.br}`,J}return this.decodeAddress($)},decodeEx($){let Y=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),q=Y[1]||Y[2],z=Y[3],J=z.split(":");if(J.length>1){let I=this.decodeAddress(J[0]),Q=this.decodeAddress(J[1]),K=Math.min(I.row,Q.row),G=Math.min(I.col,Q.col),H=Math.max(I.row,Q.row),Z=Math.max(I.col,Q.col);return I=this.n2l(G)+K,Q=this.n2l(Z)+H,{top:K,left:G,bottom:H,right:Z,sheetName:q,tl:{address:I,col:G,row:K,$col$row:`$${this.n2l(G)}$${K}`,sheetName:q},br:{address:Q,col:Z,row:H,$col$row:`$${this.n2l(Z)}$${H}`,sheetName:q},dimensions:`${I}:${Q}`}}if(z.startsWith("#"))return q?{sheetName:q,error:z}:{error:z};let U=this.decodeAddress(z);return q?{sheetName:q,...U}:U},encodeAddress($,Y){return TK.n2l(Y)+$},encode(){switch(arguments.length){case 2:return TK.encodeAddress(arguments[0],arguments[1]);case 4:return`${TK.encodeAddress(arguments[0],arguments[1])}:${TK.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,Y){let[q,z,,J,U]=$,[I,Q]=Y;return I>=q&&I<=J&&Q>=z&&Q<=U}};E60.exports=TK});var R9=M((Oe1,j60)=>{var S5=k4();class cv{constructor(){this.decode(arguments)}setTLBR($,Y,q,z,J){if(arguments.length<4){let U=S5.decodeAddress($),I=S5.decodeAddress(Y);this.model={top:Math.min(U.row,I.row),left:Math.min(U.col,I.col),bottom:Math.max(U.row,I.row),right:Math.max(U.col,I.col),sheetName:q},this.setTLBR(U.row,U.col,I.row,I.col,J)}else this.model={top:Math.min($,q),left:Math.min(Y,z),bottom:Math.max($,q),right:Math.max(Y,z),sheetName:J}}decode($){switch($.length){case 5:this.setTLBR($[0],$[1],$[2],$[3],$[4]);break;case 4:this.setTLBR($[0],$[1],$[2],$[3]);break;case 3:this.setTLBR($[0],$[1],$[2]);break;case 2:this.setTLBR($[0],$[1]);break;case 1:{let Y=$[0];if(Y instanceof cv)this.model={top:Y.model.top,left:Y.model.left,bottom:Y.model.bottom,right:Y.model.right,sheetName:Y.sheetName};else if(Y instanceof Array)this.decode(Y);else if(Y.top&&Y.left&&Y.bottom&&Y.right)this.model={top:Y.top,left:Y.left,bottom:Y.bottom,right:Y.right,sheetName:Y.sheetName};else{let q=S5.decodeEx(Y);if(q.top)this.model={top:q.top,left:q.left,bottom:q.bottom,right:q.right,sheetName:q.sheetName};else this.model={top:q.row,left:q.col,bottom:q.row,right:q.col,sheetName:q.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw Error(`Invalid number of arguments to _getDimensions() - ${$.length}`)}}get top(){return this.model.top||1}set top($){this.model.top=$}get left(){return this.model.left||1}set left($){this.model.left=$}get bottom(){return this.model.bottom||1}set bottom($){this.model.bottom=$}get right(){return this.model.right||1}set right($){this.model.right=$}get sheetName(){return this.model.sheetName}set sheetName($){this.model.sheetName=$}get _serialisedSheetName(){let{sheetName:$}=this.model;if($){if(/^[a-zA-Z0-9]*$/.test($))return`${$}!`;return`'${$}'!`}return""}expand($,Y,q,z){if(!this.model.top||$<this.top)this.top=$;if(!this.model.left||Y<this.left)this.left=Y;if(!this.model.bottom||q>this.bottom)this.bottom=q;if(!this.model.right||z>this.right)this.right=z}expandRow($){if($){let{dimensions:Y,number:q}=$;if(Y)this.expand(q,Y.min,q,Y.max)}}expandToAddress($){let Y=S5.decodeEx($);this.expand(Y.row,Y.col,Y.row,Y.col)}get tl(){return S5.n2l(this.left)+this.top}get $t$l(){return`$${S5.n2l(this.left)}$${this.top}`}get br(){return S5.n2l(this.right)+this.bottom}get $b$r(){return`$${S5.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;if($.bottom<this.top)return!1;if($.top>this.bottom)return!1;if($.right<this.left)return!1;if($.left>this.right)return!1;return!0}contains($){let Y=S5.decodeEx($);return this.containsEx(Y)}containsEx($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;return $.row>=this.top&&$.row<=this.bottom&&$.col>=this.left&&$.col<=this.right}forEachAddress($){for(let Y=this.left;Y<=this.right;Y++)for(let q=this.top;q<=this.bottom;q++)$(S5.encodeAddress(q,Y),q,Y)}}j60.exports=cv});var Q5=M((Me1,_60)=>{_60.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}});var C60=M((Ne1,R60)=>{var sL=k4(),Zr0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,Wr0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function Xr0($,Y,q){let z=sL.decode(Y),J=sL.decode(q);return $.replace(Zr0,(U,I,Q,K,G)=>{if(G)return U;let H=Wr0.exec(K);if(H){let Z=H[1],V=H[2].toUpperCase(),X=H[3],L=H[4];if(V.length>3||V.length===3&&V>"XFD")return U;let w=sL.l2n(V),F=parseInt(L,10);if(!Z)w+=J.col-z.col;if(!X)F+=J.row-z.row;return(I||"")+(Z||"")+sL.n2l(w)+(X||"")+F}return U})}R60.exports={slideFormula:Xr0}});var h60=M((De1,v60)=>{var Vr0=l4();class EK{constructor($){this.note=$}get model(){let $=null;switch(typeof this.note){case"string":$={type:"note",note:{texts:[{text:this.note}]}};break;default:$={type:"note",note:this.note};break}return Vr0.deepMerge({},EK.DEFAULT_CONFIGS,$)}set model($){let{note:Y}=$,{texts:q}=Y;if(q.length===1&&Object.keys(q[0]).length===1)this.note=q[0].text;else this.note=Y}static fromModel($){let Y=new EK;return Y.model=$,Y}}EK.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};v60.exports=EK});var l60=M((Pe1,m60)=>{var Lr0=k4(),wr0=l4(),K5=Q5(),{slideFormula:Fr0}=C60(),g60=h60();class _0{constructor($,Y,q){if(!$||!Y)throw Error("A Cell needs a Row");this._row=$,this._column=Y,Lr0.validateAddress(q),this._address=q,this._value=o3.create(_0.Types.Null,this),this.style=this._mergeStyle($.style,Y.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt($){this.style.numFmt=$}get font(){return this.style.font}set font($){this.style.font=$}get alignment(){return this.style.alignment}set alignment($){this.style.alignment=$}get border(){return this.style.border}set border($){this.style.border=$}get fill(){return this.style.fill}set fill($){this.style.fill=$}get protection(){return this.style.protection}set protection($){this.style.protection=$}_mergeStyle($,Y,q){let z=$&&$.numFmt||Y&&Y.numFmt;if(z)q.numFmt=z;let J=$&&$.font||Y&&Y.font;if(J)q.font=J;let U=$&&$.alignment||Y&&Y.alignment;if(U)q.alignment=U;let I=$&&$.border||Y&&Y.border;if(I)q.border=I;let Q=$&&$.fill||Y&&Y.fill;if(Q)q.fill=Q;let K=$&&$.protection||Y&&Y.protection;if(K)q.protection=K;return q}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===_0.Types.Merge}merge($,Y){if(this._value.release(),this._value=o3.create(_0.Types.Merge,this,$),!Y)this.style=$.style}unmerge(){if(this.type===_0.Types.Merge)this._value.release(),this._value=o3.create(_0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==_0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===_0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===_0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===_0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=o3.create(o3.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new g60($)}get text(){return this._value.toString()}get html(){return wr0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===_0.Types.String)this._value=o3.create(_0.Types.Hyperlink,this,{text:this._value.value,hyperlink:$})}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:$}=this._row;return{sheetName:$.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name($){this.names=[$]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names($){let{definedNames:Y}=this.workbook;Y.removeAllNames(this.fullAddress),$.forEach((q)=>{Y.addEx(this.fullAddress,q)})}addName($){this.workbook.definedNames.addEx(this.fullAddress,$)}removeName($){this.workbook.definedNames.removeEx(this.fullAddress,$)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation($){this._dataValidations.add(this.address,$)}get model(){let{model:$}=this._value;if($.style=this.style,this._comment)$.comment=this._comment.model;return $}set model($){if(this._value.release(),this._value=o3.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=g60.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}_0.Types=K5.ValueType;class S60{constructor($){this.model={address:$.address,type:_0.Types.Null}}get value(){return null}set value($){}get type(){return _0.Types.Null}get effectiveType(){return _0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class y60{constructor($,Y){this.model={address:$.address,type:_0.Types.Number,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return _0.Types.Number}get effectiveType(){return _0.Types.Number}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class x60{constructor($,Y){this.model={address:$.address,type:_0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return _0.Types.String}get effectiveType(){return _0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}class k60{constructor($,Y){this.model={address:$.address,type:_0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return _0.Types.RichText}get effectiveType(){return _0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class u60{constructor($,Y){this.model={address:$.address,type:_0.Types.Date,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return _0.Types.Date}get effectiveType(){return _0.Types.Date}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}class f60{constructor($,Y){if(this.model={address:$.address,type:_0.Types.Hyperlink,text:Y?Y.text:void 0,hyperlink:Y?Y.hyperlink:void 0},Y&&Y.tooltip)this.model.tooltip=Y.tooltip}get value(){let $={text:this.model.text,hyperlink:this.model.hyperlink};if(this.model.tooltip)$.tooltip=this.model.tooltip;return $}set value($){if(this.model={text:$.text,hyperlink:$.hyperlink},$.tooltip)this.model.tooltip=$.tooltip}get text(){return this.model.text}set text($){this.model.text=$}get hyperlink(){return this.model.hyperlink}set hyperlink($){this.model.hyperlink=$}get type(){return _0.Types.Hyperlink}get effectiveType(){return _0.Types.Hyperlink}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}class b60{constructor($,Y){if(this.model={address:$.address,type:_0.Types.Merge,master:Y?Y.address:void 0},this._master=Y,Y)Y.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof _0){if(this._master)this._master.releaseMergeRef();$.addMergeRef(),this._master=$}else this._master.value=$}isMergedTo($){return $===this._master}get master(){return this._master}get type(){return _0.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}class i60{constructor($,Y){this.cell=$,this.model={address:$.address,type:_0.Types.Formula,shareType:Y?Y.shareType:void 0,ref:Y?Y.ref:void 0,formula:Y?Y.formula:void 0,sharedFormula:Y?Y.sharedFormula:void 0,result:Y?Y.result:void 0}}_copyModel($){let Y={},q=(z)=>{let J=$[z];if(J)Y[z]=J};return q("formula"),q("result"),q("ref"),q("shareType"),q("sharedFormula"),Y}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(o3.getType($)){case _0.Types.Null:case _0.Types.String:case _0.Types.Number:case _0.Types.Date:break;case _0.Types.Hyperlink:case _0.Types.Formula:default:throw Error("Cannot process that type of result value")}}get dependencies(){let $=this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),Y=this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g);return{ranges:$,cells:Y}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return K5.FormulaType.Master;if(this.model.sharedFormula)return K5.FormulaType.Shared;return K5.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return _0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return K5.ValueType.Null;if($ instanceof String||typeof $==="string")return K5.ValueType.String;if(typeof $==="number")return K5.ValueType.Number;if($ instanceof Date)return K5.ValueType.Date;if($.text&&$.hyperlink)return K5.ValueType.Hyperlink;if($.formula)return K5.ValueType.Formula;return K5.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,Y=$.findCell(this.model.sharedFormula);this._translatedFormula=Y&&Fr0(Y.formula,Y.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class n60{constructor($,Y){this.model={address:$.address,type:_0.Types.SharedString,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return _0.Types.SharedString}get effectiveType(){return _0.Types.SharedString}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class c60{constructor($,Y){this.model={address:$.address,type:_0.Types.Boolean,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return _0.Types.Boolean}get effectiveType(){return _0.Types.Boolean}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}class p60{constructor($,Y){this.model={address:$.address,type:_0.Types.Error,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return _0.Types.Error}get effectiveType(){return _0.Types.Error}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}class d60{constructor($,Y){this.model={address:$.address,type:_0.Types.String,value:JSON.stringify(Y),rawValue:Y}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return _0.Types.String}get effectiveType(){return _0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}var o3={getType($){if($===null||$===void 0)return _0.Types.Null;if($ instanceof String||typeof $==="string")return _0.Types.String;if(typeof $==="number")return _0.Types.Number;if(typeof $==="boolean")return _0.Types.Boolean;if($ instanceof Date)return _0.Types.Date;if($.text&&$.hyperlink)return _0.Types.Hyperlink;if($.formula||$.sharedFormula)return _0.Types.Formula;if($.richText)return _0.Types.RichText;if($.sharedString)return _0.Types.SharedString;if($.error)return _0.Types.Error;return _0.Types.JSON},types:[{t:_0.Types.Null,f:S60},{t:_0.Types.Number,f:y60},{t:_0.Types.String,f:x60},{t:_0.Types.Date,f:u60},{t:_0.Types.Hyperlink,f:f60},{t:_0.Types.Formula,f:i60},{t:_0.Types.Merge,f:b60},{t:_0.Types.JSON,f:d60},{t:_0.Types.SharedString,f:n60},{t:_0.Types.RichText,f:k60},{t:_0.Types.Boolean,f:c60},{t:_0.Types.Error,f:p60}].reduce(($,Y)=>{return $[Y.t]=Y.f,$},[]),create($,Y,q){let z=this.types[$];if(!z)throw Error(`Could not create Value of type ${$}`);return new z(Y,q)}};m60.exports=_0});var aL=M((Ae1,s60)=>{var Or0=l4(),tL=Q5(),S2=k4(),o60=l60();class r60{constructor($,Y){this._worksheet=$,this._number=Y,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell($){return this._cells[$-1]}getCellEx($){let Y=this._cells[$.col-1];if(!Y){let q=this._worksheet.getColumn($.col);Y=new o60(this,q,$.address),this._cells[$.col-1]=Y}return Y}getCell($){if(typeof $==="string"){let Y=this._worksheet.getColumnKey($);if(Y)$=Y.number;else $=S2.l2n($)}return this._cells[$-1]||this.getCellEx({address:S2.encodeAddress(this._number,$),row:this._number,col:$})}splice($,Y,...q){let z=$+Y,J=q.length-Y,U=this._cells.length,I,Q,K;if(J<0){for(I=$+q.length;I<=U;I++)if(K=this._cells[I-1],Q=this._cells[I-J-1],Q)K=this.getCell(I),K.value=Q.value,K.style=Q.style,K._comment=Q._comment;else if(K)K.value=null,K.style={},K._comment=void 0}else if(J>0)for(I=U;I>=z;I--)if(Q=this._cells[I-1],Q)K=this.getCell(I+J),K.value=Q.value,K.style=Q.style,K._comment=Q._comment;else this._cells[I+J-1]=void 0;for(I=0;I<q.length;I++)K=this.getCell($+I),K.value=q[I],K.style={},K._comment=void 0}eachCell($,Y){if(!Y)Y=$,$=null;if($&&$.includeEmpty){let q=this._cells.length;for(let z=1;z<=q;z++)Y(this.getCell(z),z)}else this._cells.forEach((q,z)=>{if(q&&q.type!==tL.ValueType.Null)Y(q,z+1)})}addPageBreak($,Y){let q=this._worksheet,z=Math.max(0,$-1)||0,J=Math.max(0,Y-1)||16838,U={id:this._number,max:J,man:1};if(z)U.min=z;q.rowBreaks.push(U)}get values(){let $=[];return this._cells.forEach((Y)=>{if(Y&&Y.type!==tL.ValueType.Null)$[Y.col]=Y.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let Y=0;if($.hasOwnProperty("0"))Y=1;$.forEach((q,z)=>{if(q!==void 0)this.getCellEx({address:S2.encodeAddress(this._number,z+Y),row:this._number,col:z+Y}).value=q})}else this._worksheet.eachColumnKey((Y,q)=>{if($[q]!==void 0)this.getCellEx({address:S2.encodeAddress(this._number,Y.number),row:this._number,col:Y.number}).value=$[q]})}get hasValues(){return Or0.some(this._cells,($)=>$&&$.type!==tL.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,Y=0;return this._cells.forEach((q)=>{if(q&&q.type!==tL.ValueType.Null){if(!$||$>q.col)$=q.col;if(Y<q.col)Y=q.col}}),$>0?{min:$,max:Y}:null}_applyStyle($,Y){return this.style[$]=Y,this._cells.forEach((q)=>{if(q)q[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let $=[],Y=0,q=0;return this._cells.forEach((z)=>{if(z){let J=z.model;if(J){if(!Y||Y>z.col)Y=z.col;if(q<z.col)q=z.col;$.push(J)}}}),this.height||$.length?{cells:$,number:this.number,min:Y,max:q,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model($){if($.number!==this._number)throw Error("Invalid row number in model");this._cells=[];let Y;if($.cells.forEach((q)=>{switch(q.type){case o60.Types.Merge:break;default:{let z;if(q.address)z=S2.decodeAddress(q.address);else if(Y){let{row:U}=Y,I=Y.col+1;z={row:U,col:I,address:S2.encodeAddress(U,I),$col$row:`$${S2.n2l(I)}$${U}`}}Y=z;let J=this.getCellEx(z);J.model=q;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}s60.exports=r60});var $w=M((Be1,t60)=>{var Mr0=l4(),Nr0=Q5(),Dr0=k4();class eL{constructor($,Y,q){if(this._worksheet=$,this._number=Y,q!==!1)this.defn=q}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return Dr0.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn($){if($){if(this.key=$.key,this.width=$.width!==void 0?$.width:9,this.outlineLevel=$.outlineLevel,$.style)this.style=$.style;else this.style={};this.header=$.header,this._hidden=!!$.hidden}else delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header($){if($!==void 0)this._header=$,this.headers.forEach((Y,q)=>{this._worksheet.getCell(q+1,this.number).value=Y});else this._header=void 0}get key(){return this._key}set key($){if((this._key&&this._worksheet.getColumnKey(this._key))===this)this._worksheet.deleteColumnKey(this._key);if(this._key=$,$)this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo($){return this.width===$.width&&this.hidden===$.hidden&&this.outlineLevel===$.outlineLevel&&Mr0.isEqual(this.style,$.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;let $=this.style;if($&&($.font||$.numFmt||$.alignment||$.border||$.fill||$.protection))return!1;return!0}get headerCount(){return this.headers.length}eachCell($,Y){let q=this.number;if(!Y)Y=$,$=null;this._worksheet.eachRow($,(z,J)=>{Y(z.getCell(q),J)})}get values(){let $=[];return this.eachCell((Y,q)=>{if(Y&&Y.type!==Nr0.ValueType.Null)$[q]=Y.value}),$}set values($){if(!$)return;let Y=this.number,q=0;if($.hasOwnProperty("0"))q=1;$.forEach((z,J)=>{this._worksheet.getCell(J+q,Y).value=z})}_applyStyle($,Y){return this.style[$]=Y,this.eachCell((q)=>{q[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}static toModel($){let Y=[],q=null;if($)$.forEach((z,J)=>{if(z.isDefault){if(q)q=null}else if(!q||!z.equivalentTo(q))q={min:J+1,max:J+1,width:z.width!==void 0?z.width:9,style:z.style,isCustomWidth:z.isCustomWidth,hidden:z.hidden,outlineLevel:z.outlineLevel,collapsed:z.collapsed},Y.push(q);else q.max=J+1});return Y.length?Y:void 0}static fromModel($,Y){Y=Y||[];let q=[],z=1,J=0;Y=Y.sort(function(U,I){return U.min-I.min});while(J<Y.length){let U=Y[J++];while(z<U.min)q.push(new eL($,z++));while(z<=U.max)q.push(new eL($,z++,U))}return q.length?q:null}}t60.exports=eL});var e60=M((Te1,a60)=>{var Pr0=k4();class Yw{constructor($,Y,q=0){if(this.worksheet=$,!Y)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof Y==="string"){let z=Pr0.decodeAddress(Y);this.nativeCol=z.col+q,this.nativeColOff=0,this.nativeRow=z.row+q,this.nativeRowOff=0}else if(Y.nativeCol!==void 0)this.nativeCol=Y.nativeCol||0,this.nativeColOff=Y.nativeColOff||0,this.nativeRow=Y.nativeRow||0,this.nativeRowOff=Y.nativeRowOff||0;else if(Y.col!==void 0)this.col=Y.col+q,this.row=Y.row+q;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof Yw||$==null?$:new Yw($)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col($){this.nativeCol=Math.floor($),this.nativeColOff=Math.floor(($-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row($){this.nativeRow=Math.floor($),this.nativeRowOff=Math.floor(($-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):640000}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(this.worksheet.getRow(this.nativeRow+1).height*1e4):180000}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model($){this.nativeCol=$.nativeCol,this.nativeColOff=$.nativeColOff,this.nativeRow=$.nativeRow,this.nativeRowOff=$.nativeRowOff}}a60.exports=Yw});var q80=M((Ee1,Y80)=>{var Ar0=k4(),qw=e60();class $80{constructor($,Y){this.worksheet=$,this.model=Y}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw Error("Invalid Image Type")}}set model({type:$,imageId:Y,range:q,hyperlinks:z}){if(this.type=$,this.imageId=Y,$==="image")if(typeof q==="string"){let J=Ar0.decode(q);this.range={tl:new qw(this.worksheet,{col:J.left,row:J.top},-1),br:new qw(this.worksheet,{col:J.right,row:J.bottom},0),editAs:"oneCell"}}else this.range={tl:new qw(this.worksheet,q.tl,0),br:q.br&&new qw(this.worksheet,q.br,0),ext:q.ext,editAs:q.editAs,hyperlinks:z||q.hyperlinks}}}Y80.exports=$80});var I80=M((je1,U80)=>{var zw=k4();class z80{constructor($,Y,q){this.table=$,this.column=Y,this.index=q}_set($,Y){this.table.cacheState(),this.column[$]=Y}get name(){return this.column.name}set name($){this._set("name",$)}get filterButton(){return this.column.filterButton}set filterButton($){this.column.filterButton=$}get style(){return this.column.style}set style($){this.column.style=$}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel($){this._set("totalsRowLabel",$)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction($){this._set("totalsRowFunction",$)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult($){this._set("totalsRowResult",$)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula($){this._set("totalsRowFormula",$)}}class J80{constructor($,Y){if(this.worksheet=$,Y)this.table=Y,this.validate(),this.store()}getFormula($){switch($.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${$.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${$.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${$.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${$.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${$.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${$.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${$.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${$.name}])`;case"custom":return $.totalsRowFormula;default:throw Error(`Invalid Totals Row Function: ${$.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:$}=this,Y=(K,G,H)=>{if(K[G]===void 0)K[G]=H};Y($,"headerRow",!0),Y($,"totalsRow",!1),Y($,"style",{}),Y($.style,"theme","TableStyleMedium2"),Y($.style,"showFirstColumn",!1),Y($.style,"showLastColumn",!1),Y($.style,"showRowStripes",!1),Y($.style,"showColumnStripes",!1);let q=(K,G)=>{if(!K)throw Error(G)};q($.ref,"Table must have ref"),q($.columns,"Table must have column definitions"),q($.rows,"Table must have row definitions"),$.tl=zw.decodeAddress($.ref);let{row:z,col:J}=$.tl;q(z>0,"Table must be on valid row"),q(J>0,"Table must be on valid col");let{width:U,filterHeight:I,tableHeight:Q}=this;$.autoFilterRef=zw.encode(z,J,z+I-1,J+U-1),$.tableRef=zw.encode(z,J,z+Q-1,J+U-1),$.columns.forEach((K,G)=>{if(q(K.name,`Column ${G} must have a name`),G===0)Y(K,"totalsRowLabel","Total");else Y(K,"totalsRowFunction","none"),K.totalsRowFormula=this.getFormula(K)})}store(){let $=(I,Q)=>{if(Q)Object.keys(Q).forEach((K)=>{I[K]=Q[K]})},{worksheet:Y,table:q}=this,{row:z,col:J}=q.tl,U=0;if(q.headerRow){let I=Y.getRow(z+U++);q.columns.forEach((Q,K)=>{let{style:G,name:H}=Q,Z=I.getCell(J+K);Z.value=H,$(Z,G)})}if(q.rows.forEach((I)=>{let Q=Y.getRow(z+U++);I.forEach((K,G)=>{let H=Q.getCell(J+G);H.value=K,$(H,q.columns[G].style)})}),q.totalsRow){let I=Y.getRow(z+U++);q.columns.forEach((Q,K)=>{let G=I.getCell(J+K);if(K===0)G.value=Q.totalsRowLabel;else if(this.getFormula(Q))G.value={formula:Q.totalsRowFormula,result:Q.totalsRowResult};else G.value=null;$(G,Q.style)})}}load($){let{table:Y}=this,{row:q,col:z}=Y.tl,J=0;if(Y.headerRow){let U=$.getRow(q+J++);Y.columns.forEach((I,Q)=>{let K=U.getCell(z+Q);K.value=I.name})}if(Y.rows.forEach((U)=>{let I=$.getRow(q+J++);U.forEach((Q,K)=>{let G=I.getCell(z+K);G.value=Q})}),Y.totalsRow){let U=$.getRow(q+J++);Y.columns.forEach((I,Q)=>{let K=U.getCell(z+Q);if(Q===0)K.value=I.totalsRowLabel;else if(this.getFormula(I))K.value={formula:I.totalsRowFormula,result:I.totalsRowResult}})}}get model(){return this.table}set model($){this.table=$}cacheState(){if(!this._cache)this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let $=zw.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let Y=0;Y<this._cache.tableHeight;Y++){let q=this.worksheet.getRow($.row+Y);for(let z=0;z<this._cache.width;z++){let J=q.getCell($.col+z);J.value=null}}else{for(let Y=this.tableHeight;Y<this._cache.tableHeight;Y++){let q=this.worksheet.getRow($.row+Y);for(let z=0;z<this._cache.width;z++){let J=q.getCell($.col+z);J.value=null}}for(let Y=0;Y<this.tableHeight;Y++){let q=this.worksheet.getRow($.row+Y);for(let z=this.width;z<this._cache.width;z++){let J=q.getCell($.col+z);J.value=null}}}this.store()}addRow($,Y){if(this.cacheState(),Y===void 0)this.table.rows.push($);else this.table.rows.splice(Y,0,$)}removeRows($,Y=1){this.cacheState(),this.table.rows.splice($,Y)}getColumn($){let Y=this.table.columns[$];return new z80(this,Y,$)}addColumn($,Y,q){if(this.cacheState(),q===void 0)this.table.columns.push($),this.table.rows.forEach((z,J)=>{z.push(Y[J])});else this.table.columns.splice(q,0,$),this.table.rows.forEach((z,J)=>{z.splice(q,0,Y[J])})}removeColumns($,Y=1){this.cacheState(),this.table.columns.splice($,Y),this.table.rows.forEach((q)=>{q.splice($,Y)})}_assign($,Y,q){this.cacheState(),$[Y]=q}get ref(){return this.table.ref}set ref($){this._assign(this.table,"ref",$)}get name(){return this.table.name}set name($){this.table.name=$}get displayName(){return this.table.displyName||this.table.name}set displayNamename($){this.table.displayName=$}get headerRow(){return this.table.headerRow}set headerRow($){this._assign(this.table,"headerRow",$)}get totalsRow(){return this.table.totalsRow}set totalsRow($){this._assign(this.table,"totalsRow",$)}get theme(){return this.table.style.name}set theme($){this.table.style.name=$}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn($){this.table.style.showFirstColumn=$}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn($){this.table.style.showLastColumn=$}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes($){this.table.style.showRowStripes=$}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes($){this.table.style.showColumnStripes=$}}U80.exports=J80});var pv=M((_e1,K80)=>{class Q80{constructor($){this.model=$||{}}add($,Y){return this.model[$]=Y}find($){return this.model[$]}remove($){this.model[$]=void 0}}K80.exports=Q80});var mv=M((Re1,G80)=>{var dv=m("crypto"),Br0={hash($,...Y){let q=dv.createHash($);return q.update(Buffer.concat(Y)),q.digest()},convertPasswordToHash($,Y,q,z){if(Y=Y.toLowerCase(),dv.getHashes().indexOf(Y)<0)throw Error(`Hash algorithm '${Y}' not supported!`);let U=Buffer.from($,"utf16le"),I=this.hash(Y,Buffer.from(q,"base64"),U);for(let Q=0;Q<z;Q++){let K=Buffer.alloc(4);K.writeUInt32LE(Q,0),I=this.hash(Y,I,K)}return I.toString("base64")},randomBytes($){return dv.randomBytes($)}};G80.exports=Br0});var Z80=M((jr0)=>{var H80=($,Y)=>({...$,...Y.reduce((q,z)=>{if($[z])q[z]={...$[z]};return q},{})}),y5=($,Y,q,z=[])=>{if($[q])Y[q]=H80($[q],z)},Tr0=($)=>Object.keys($).length===0,Er0=($)=>{if(!$)return $;if(Tr0($))return{};let Y={...$};if(y5($,Y,"font",["color"]),y5($,Y,"alignment"),y5($,Y,"protection"),$.border)y5($,Y,"border"),y5($.border,Y.border,"top",["color"]),y5($.border,Y.border,"left",["color"]),y5($.border,Y.border,"bottom",["color"]),y5($.border,Y.border,"right",["color"]),y5($.border,Y.border,"diagonal",["color"]);if($.fill){if(y5($,Y,"fill",["fgColor","bgColor","center"]),$.fill.stops)Y.fill.stops=$.fill.stops.map((q)=>H80(q,["color"]))}return Y};jr0.copyStyle=Er0});var M80=M((ve1,O80)=>{var jK=l4(),_K=k4(),RK=R9(),W80=aL(),Jw=$w(),Rr0=Q5(),lv=q80(),X80=I80(),V80=pv(),L80=mv(),{copyStyle:w80}=Z80();class F80{constructor($){$=$||{},this._workbook=$.workbook,this.id=$.id,this.orderNo=$.orderNo,this.name=$.name,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.dataValidations=new V80,this.views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name($){if($===void 0)$=`sheet${this.id}`;if(this._name===$)return;if(typeof $!=="string")throw Error("The name has to be a string.");if($==="")throw Error("The name can't be empty.");if($==="History")throw Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test($))throw Error(`Worksheet name ${$} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test($))throw Error(`The first or last character of worksheet name cannot be a single quotation mark: ${$}`);if($&&$.length>31)console.warn(`Worksheet name ${$} exceeds 31 chars. This will be truncated`),$=$.substring(0,31);if(this._workbook._worksheets.find((Y)=>Y&&Y.name.toLowerCase()===$.toLowerCase()))throw Error(`Worksheet name already exists: ${$}`);this._name=$}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let $=new RK;return this._rows.forEach((Y)=>{if(Y){let q=Y.dimensions;if(q)$.expand(Y.number,q.min,Y.number,q.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((z,J)=>{let U=J.header&&1||J.headers&&J.headers.length||0;return Math.max(z,U)},0);let Y=1,q=this._columns=[];$.forEach((z)=>{let J=new Jw(this,Y++,!1);q.push(J),J.defn=z})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){jK.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=_K.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new Jw(this,Y++))}return this._columns[$-1]}spliceColumns($,Y,...q){let J=this._rows.length;if(q.length>0)for(let K=0;K<J;K++){let G=[$,Y];q.forEach((Z)=>{G.push(Z[K]||null)});let H=this.getRow(K+1);H.splice.apply(H,G)}else this._rows.forEach((K)=>{if(K)K.splice($,Y)});let U=q.length-Y,I=$+Y,Q=this._columns.length;if(U<0)for(let K=$+q.length;K<=Q;K++)this.getColumn(K).defn=this.getColumn(K-U).defn;else if(U>0)for(let K=Q;K>=I;K--)this.getColumn(K+U).defn=this.getColumn(K).defn;for(let K=$;K<$+q.length;K++)this.getColumn(K).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,Y,q.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((Y)=>{$=Math.max($,Y.cellCount)}),$}get actualColumnCount(){let $=[],Y=0;return this.eachRow((q)=>{q.eachCell(({col:z})=>{if(!$[z])$[z]=!0,Y++})}),Y}_commitRow(){}get _lastRowNumber(){let $=this._rows,Y=$.length;while(Y>0&&$[Y-1]===void 0)Y--;return Y}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){return this._rows[$-1]}findRows($,Y){return this._rows.slice($-1,$-1+Y)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let Y=this._rows[$-1];if(!Y)Y=this._rows[$-1]=new W80(this,$);return Y}getRows($,Y){if(Y<1)return;let q=[];for(let z=$;z<$+Y;z++)q.push(this.getRow(z));return q}addRow($,Y="n"){let q=this._nextRow,z=this.getRow(q);return z.values=$,this._setStyleOption(q,Y[0]==="i"?Y:"n"),z}addRows($,Y="n"){let q=[];return $.forEach((z)=>{q.push(this.addRow(z,Y))}),q}insertRow($,Y,q="n"){return this.spliceRows($,0,Y),this._setStyleOption($,q),this.getRow($)}insertRows($,Y,q="n"){if(this.spliceRows($,0,...Y),q!=="n"){for(let z=0;z<Y.length;z++)if(q[0]==="o"&&this.findRow(Y.length+$+z)!==void 0)this._copyStyle(Y.length+$+z,$+z,q[1]==="+");else if(q[0]==="i"&&this.findRow($-1)!==void 0)this._copyStyle($-1,$+z,q[1]==="+")}return this.getRows($,Y.length)}_setStyleOption($,Y="n"){if(Y[0]==="o"&&this.findRow($+1)!==void 0)this._copyStyle($+1,$,Y[1]==="+");else if(Y[0]==="i"&&this.findRow($-1)!==void 0)this._copyStyle($-1,$,Y[1]==="+")}_copyStyle($,Y,q=!1){let z=this.getRow($),J=this.getRow(Y);J.style=w80(z.style),z.eachCell({includeEmpty:q},(U,I)=>{J.getCell(I).style=w80(U.style)}),J.height=z.height}duplicateRow($,Y,q=!1){let z=this._rows[$-1],J=Array(Y).fill(z.values);this.spliceRows($+1,q?0:Y,...J);for(let U=0;U<Y;U++){let I=this._rows[$+U];I.style=z.style,I.height=z.height,z.eachCell({includeEmpty:!0},(Q,K)=>{I.getCell(K).style=Q.style})}}spliceRows($,Y,...q){let z=$+Y,J=q.length,U=J-Y,I=this._rows.length,Q,K;if(U<0){if($===I)this._rows[I-1]=void 0;for(Q=z;Q<=I;Q++)if(K=this._rows[Q-1],K){let G=this.getRow(Q+U);G.values=K.values,G.style=K.style,G.height=K.height,K.eachCell({includeEmpty:!0},(H,Z)=>{G.getCell(Z).style=H.style}),this._rows[Q-1]=void 0}else this._rows[Q+U-1]=void 0}else if(U>0)for(Q=I;Q>=z;Q--)if(K=this._rows[Q-1],K){let G=this.getRow(Q+U);G.values=K.values,G.style=K.style,G.height=K.height,K.eachCell({includeEmpty:!0},(H,Z)=>{if(G.getCell(Z).style=H.style,H._value.constructor.name==="MergeValue"){let V=this.getRow(H._row._number+J).getCell(Z),X=H._value._master,L=this.getRow(X._row._number+J).getCell(X._column._number);V.merge(L)}})}else this._rows[Q+U-1]=void 0;for(Q=0;Q<J;Q++){let G=this.getRow($+Q);G.style={},G.values=q[Q]}this.workbook.definedNames.spliceRows(this.name,$,Y,J)}eachRow($,Y){if(!Y)Y=$,$=void 0;if($&&$.includeEmpty){let q=this._rows.length;for(let z=1;z<=q;z++)Y(this.getRow(z),z)}else this._rows.forEach((q)=>{if(q&&q.hasValues)Y(q,q.number)})}getSheetValues(){let $=[];return this._rows.forEach((Y)=>{if(Y)$[Y.number]=Y.values}),$}findCell($,Y){let q=_K.getAddress($,Y),z=this._rows[q.row-1];return z?z.findCell(q.col):void 0}getCell($,Y){let q=_K.getAddress($,Y);return this.getRow(q.row).getCellEx(q)}mergeCells(...$){let Y=new RK($);this._mergeCellsInternal(Y)}mergeCellsWithoutStyle(...$){let Y=new RK($);this._mergeCellsInternal(Y,!0)}_mergeCellsInternal($,Y){jK.each(this._merges,(z)=>{if(z.intersects($))throw Error("Cannot merge already merged cells")});let q=this.getCell($.top,$.left);for(let z=$.top;z<=$.bottom;z++)for(let J=$.left;J<=$.right;J++)if(z>$.top||J>$.left)this.getCell(z,J).merge(q,Y);this._merges[q.address]=$}_unMergeMaster($){let Y=this._merges[$.address];if(Y){for(let q=Y.top;q<=Y.bottom;q++)for(let z=Y.left;z<=Y.right;z++)this.getCell(q,z).unmerge();delete this._merges[$.address]}}get hasMerges(){return jK.some(this._merges,Boolean)}unMergeCells(...$){let Y=new RK($);for(let q=Y.top;q<=Y.bottom;q++)for(let z=Y.left;z<=Y.right;z++){let J=this.findCell(q,z);if(J){if(J.type===Rr0.ValueType.Merge)this._unMergeMaster(J.master);else if(this._merges[J.address])this._unMergeMaster(J)}}}fillFormula($,Y,q,z="shared"){let J=_K.decode($),{top:U,left:I,bottom:Q,right:K}=J,G=K-I+1,H=_K.encodeAddress(U,I),Z=z==="shared",V;if(typeof q==="function")V=q;else if(Array.isArray(q))if(Array.isArray(q[0]))V=(L,w)=>q[L-U][w-I];else V=(L,w)=>q[(L-U)*G+(w-I)];else V=()=>{return};let X=!0;for(let L=U;L<=Q;L++)for(let w=I;w<=K;w++)if(X)this.getCell(L,w).value={shareType:z,formula:Y,ref:$,result:V(L,w)},X=!1;else this.getCell(L,w).value=Z?{sharedFormula:H,result:V(L,w)}:V(L,w)}addImage($,Y){let q={type:"image",imageId:$,range:Y};this._media.push(new lv(this,q))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let Y={type:"background",imageId:$};this._media.push(new lv(this,Y))}getBackgroundImageId(){let $=this._media.find((Y)=>Y.type==="background");return $&&$.imageId}protect($,Y){return new Promise((q)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=L80.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=L80.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}q()})}unprotect(){this.sheetProtection=null}addTable($){let Y=new X80(this,$);return this.tables[$.name]=Y,Y}getTable($){return this.tables[$]}removeTable($){delete this.tables[$]}getTables(){return Object.values(this.tables)}addConditionalFormatting($){this.conditionalFormattings.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormattings.splice($,1);else if($ instanceof Function)this.conditionalFormattings=this.conditionalFormattings.filter($);else this.conditionalFormattings=[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor($){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=$}get model(){let $={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((z)=>z.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((z)=>z.model),conditionalFormattings:this.conditionalFormattings};$.cols=Jw.toModel(this.columns);let Y=$.rows=[],q=$.dimensions=new RK;return this._rows.forEach((z)=>{let J=z&&z.model;if(J)q.expand(J.number,J.min,J.number,J.max),Y.push(J)}),$.merges=[],jK.each(this._merges,(z)=>{$.merges.push(z.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((Y)=>{let q=new W80(this,Y.number);this._rows[q.number-1]=q,q.model=Y})}_parseMergeCells($){jK.each($.mergeCells,(Y)=>{this.mergeCellsWithoutStyle(Y)})}set model($){this.name=$.name,this._columns=Jw.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new V80($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((Y)=>new lv(this,Y)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((Y,q)=>{let z=new X80;return z.model=q,Y[q.name]=z,Y},{}),this.conditionalFormattings=$.conditionalFormattings}}O80.exports=F80});var A80=M((he1,P80)=>{var N80=l4(),Uw=k4();class D80{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(Uw.decodeEx($))}getCell($){return this.findCellEx(Uw.decodeEx($),!0)}findCell($){return this.findCellEx(Uw.decodeEx($),!1)}findCellAt($,Y,q){let z=this.sheets[$],J=z&&z[Y];return J&&J[q]}addCellEx($){if($.top)for(let Y=$.top;Y<=$.bottom;Y++)for(let q=$.left;q<=$.right;q++)this.getCellAt($.sheetName,Y,q);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,Y){let q=this.findSheet($,Y),z=this.findSheetRow(q,$,Y);return this.findRowCell(z,$,Y)}getCellAt($,Y,q){let z=this.sheets[$]||(this.sheets[$]=[]),J=z[Y]||(z[Y]=[]);return J[q]||(J[q]={sheetName:$,address:Uw.n2l(q)+Y,row:Y,col:q})}removeCellEx($){let Y=this.findSheet($);if(!Y)return;let q=this.findSheetRow(Y,$);if(!q)return;delete q[$.col]}forEachInSheet($,Y){let q=this.sheets[$];if(q)q.forEach((z,J)=>{if(z)z.forEach((U,I)=>{if(U)Y(U,J,I)})})}forEach($){N80.each(this.sheets,(Y,q)=>{this.forEachInSheet(q,$)})}map($){let Y=[];return this.forEach((q)=>{Y.push($(q))}),Y}findSheet($,Y){let q=$.sheetName;if(this.sheets[q])return this.sheets[q];if(Y)return this.sheets[q]=[];return}findSheetRow($,Y,q){let{row:z}=Y;if($&&$[z])return $[z];if(q)return $[z]=[];return}findRowCell($,Y,q){let{col:z}=Y;if($&&$[z])return $[z];if(q)return $[z]=this.template?Object.assign(Y,JSON.parse(JSON.stringify(this.template))):Y;return}spliceRows($,Y,q,z){let J=this.sheets[$];if(J){let U=[];for(let I=0;I<z;I++)U.push([]);J.splice(Y,q,...U)}}spliceColumns($,Y,q,z){let J=this.sheets[$];if(J){let U=[];for(let I=0;I<z;I++)U.push(null);N80.each(J,(I)=>{I.splice(Y,q,...U)})}}}P80.exports=D80});var ov=M((ge1,E80)=>{var fz=l4(),CK=k4(),B80=A80(),Cr0=R9(),vr0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class T80{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new B80)}add($,Y){let q=CK.decodeEx($);this.addEx(q,Y)}addEx($,Y){let q=this.getMatrix(Y);if($.top)for(let z=$.left;z<=$.right;z++)for(let J=$.top;J<=$.bottom;J++){let U={sheetName:$.sheetName,address:CK.n2l(z)+J,row:J,col:z};q.addCellEx(U)}else q.addCellEx($)}remove($,Y){let q=CK.decodeEx($);this.removeEx(q,Y)}removeEx($,Y){this.getMatrix(Y).removeCellEx($)}removeAllNames($){fz.each(this.matrixMap,(Y)=>{Y.removeCellEx($)})}forEach($){fz.each(this.matrixMap,(Y,q)=>{Y.forEach((z)=>{$(q,z)})})}getNames($){return this.getNamesEx(CK.decodeEx($))}getNamesEx($){return fz.map(this.matrixMap,(Y,q)=>Y.findCellEx($)&&q).filter(Boolean)}_explore($,Y){Y.mark=!1;let{sheetName:q}=Y,z=new Cr0(Y.row,Y.col,Y.row,Y.col,q),J,U;function I(K,G){let H=$.findCellAt(q,K,Y.col);if(!H||!H.mark)return!1;return z[G]=K,H.mark=!1,!0}for(U=Y.row-1;I(U,"top");U--);for(U=Y.row+1;I(U,"bottom");U++);function Q(K,G){let H=[];for(U=z.top;U<=z.bottom;U++){let Z=$.findCellAt(q,U,K);if(Z&&Z.mark)H.push(Z);else return!1}z[G]=K;for(let Z=0;Z<H.length;Z++)H[Z].mark=!1;return!0}for(J=Y.col-1;Q(J,"left");J--);for(J=Y.col+1;Q(J,"right");J++);return z}getRanges($,Y){if(Y=Y||this.matrixMap[$],!Y)return{name:$,ranges:[]};Y.forEach((z)=>{z.mark=!0});let q=Y.map((z)=>z.mark&&this._explore(Y,z)).filter(Boolean).map((z)=>z.$shortRange);return{name:$,ranges:q}}normaliseMatrix($,Y){$.forEachInSheet(Y,(q,z,J)=>{if(q){if(q.row!==z||q.col!==J)q.row=z,q.col=J,q.address=CK.n2l(J)+z}})}spliceRows($,Y,q,z){fz.each(this.matrixMap,(J)=>{J.spliceRows($,Y,q,z),this.normaliseMatrix(J,$)})}spliceColumns($,Y,q,z){fz.each(this.matrixMap,(J)=>{J.spliceColumns($,Y,q,z),this.normaliseMatrix(J,$)})}get model(){return fz.map(this.matrixMap,($,Y)=>this.getRanges(Y,$)).filter(($)=>$.ranges.length)}set model($){let Y=this.matrixMap={};$.forEach((q)=>{let z=Y[q.name]=new B80;q.ranges.forEach((J)=>{if(vr0.test(J.split("!").pop()||""))z.addCell(J)})})}}E80.exports=T80});var e4=M((Se1,rv)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)rv.exports={nextTick:hr0};else rv.exports=process;function hr0($,Y,q,z){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var J=arguments.length,U,I;switch(J){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,Y)});case 3:return process.nextTick(function(){$.call(null,Y,q)});case 4:return process.nextTick(function(){$.call(null,Y,q,z)});default:U=Array(J-1),I=0;while(I<U.length)U[I++]=arguments[I];return process.nextTick(function(){$.apply(null,U)})}}});var bz=M((ye1,j80)=>{var gr0={}.toString;j80.exports=Array.isArray||function($){return gr0.call($)=="[object Array]"}});var $6=M((sv,R80)=>{var Iw=m("buffer"),C9=Iw.Buffer;function _80($,Y){for(var q in $)Y[q]=$[q]}if(C9.from&&C9.alloc&&C9.allocUnsafe&&C9.allocUnsafeSlow)R80.exports=Iw;else _80(Iw,sv),sv.Buffer=iz;function iz($,Y,q){return C9($,Y,q)}_80(C9,iz);iz.from=function($,Y,q){if(typeof $==="number")throw TypeError("Argument must not be a number");return C9($,Y,q)};iz.alloc=function($,Y,q){if(typeof $!=="number")throw TypeError("Argument must be a number");var z=C9($);if(Y!==void 0)if(typeof q==="string")z.fill(Y,q);else z.fill(Y);else z.fill(0);return z};iz.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return C9($)};iz.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return Iw.SlowBuffer($)}});var W4=M((or0)=>{function Sr0($){if(Array.isArray)return Array.isArray($);return Qw($)==="[object Array]"}or0.isArray=Sr0;function yr0($){return typeof $==="boolean"}or0.isBoolean=yr0;function xr0($){return $===null}or0.isNull=xr0;function kr0($){return $==null}or0.isNullOrUndefined=kr0;function ur0($){return typeof $==="number"}or0.isNumber=ur0;function fr0($){return typeof $==="string"}or0.isString=fr0;function br0($){return typeof $==="symbol"}or0.isSymbol=br0;function ir0($){return $===void 0}or0.isUndefined=ir0;function nr0($){return Qw($)==="[object RegExp]"}or0.isRegExp=nr0;function cr0($){return typeof $==="object"&&$!==null}or0.isObject=cr0;function pr0($){return Qw($)==="[object Date]"}or0.isDate=pr0;function dr0($){return Qw($)==="[object Error]"||$ instanceof Error}or0.isError=dr0;function mr0($){return typeof $==="function"}or0.isFunction=mr0;function lr0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}or0.isPrimitive=lr0;or0.isBuffer=m("buffer").Buffer.isBuffer;function Qw($){return Object.prototype.toString.call($)}});var C80=M((ke1,tv)=>{if(typeof Object.create==="function")tv.exports=function(Y,q){if(q)Y.super_=q,Y.prototype=Object.create(q.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else tv.exports=function(Y,q){if(q){Y.super_=q;var z=function(){};z.prototype=q.prototype,Y.prototype=new z,Y.prototype.constructor=Y}}});var m0=M((ue1,av)=>{try{if(Kw=m("util"),typeof Kw.inherits!=="function")throw"";av.exports=Kw.inherits}catch($){av.exports=C80()}var Kw});var h80=M((fe1,ev)=>{function Hs0($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var v80=$6().Buffer,vK=m("util");function Zs0($,Y,q){$.copy(Y,q)}ev.exports=function(){function $(){Hs0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(q){var z={data:q,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(q){var z={data:q,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,q},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(q){if(this.length===0)return"";var z=this.head,J=""+z.data;while(z=z.next)J+=q+z.data;return J},$.prototype.concat=function(q){if(this.length===0)return v80.alloc(0);var z=v80.allocUnsafe(q>>>0),J=this.head,U=0;while(J)Zs0(J.data,z,U),U+=J.data.length,J=J.next;return z},$}();if(vK&&vK.inspect&&vK.inspect.custom)ev.exports.prototype[vK.inspect.custom]=function(){var $=vK.inspect({length:this.length});return this.constructor.name+" "+$}});var $h=M((be1,g80)=>{var Gw=e4();function Ws0($,Y){var q=this,z=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(z||J){if(Y)Y($);else if($){if(!this._writableState)Gw.nextTick(Hw,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,Gw.nextTick(Hw,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(U){if(!Y&&U){if(!q._writableState)Gw.nextTick(Hw,q,U);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,Gw.nextTick(Hw,q,U)}else if(Y)Y(U)}),this}function Xs0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Hw($,Y){$.emit("error",Y)}g80.exports={destroy:Ws0,undestroy:Xs0}});var r3=M((ie1,S80)=>{S80.exports=m("util").deprecate});var qh=M((ne1,n80)=>{var y2=e4();n80.exports=Q6;function x80($){var Y=this;this.next=null,this.entry=null,this.finish=function(){vs0(Y,$)}}var Vs0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:y2.nextTick,nz;Q6.WritableState=gK;var k80=Object.create(W4());k80.inherits=m0();var Ls0={deprecate:r3()},u80=m("stream"),Ww=$6().Buffer,ws0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Fs0($){return Ww.from($)}function Os0($){return Ww.isBuffer($)||$ instanceof ws0}var f80=$h();k80.inherits(Q6,u80);function Ms0(){}function gK($,Y){nz=nz||x2(),$=$||{};var q=Y instanceof nz;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){Es0(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new x80(this)}gK.prototype.getBuffer=function(){var Y=this.bufferedRequest,q=[];while(Y)q.push(Y),Y=Y.next;return q};(function(){try{Object.defineProperty(gK.prototype,"buffer",{get:Ls0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var Zw;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")Zw=Function.prototype[Symbol.hasInstance],Object.defineProperty(Q6,Symbol.hasInstance,{value:function($){if(Zw.call(this,$))return!0;if(this!==Q6)return!1;return $&&$._writableState instanceof gK}});else Zw=function($){return $ instanceof this};function Q6($){if(nz=nz||x2(),!Zw.call(Q6,this)&&!(this instanceof nz))return new Q6($);if(this._writableState=new gK($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}u80.call(this)}Q6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function Ns0($,Y){var q=Error("write after end");$.emit("error",q),y2.nextTick(Y,q)}function Ds0($,Y,q,z){var J=!0,U=!1;if(q===null)U=TypeError("May not write null values to stream");else if(typeof q!=="string"&&q!==void 0&&!Y.objectMode)U=TypeError("Invalid non-string/buffer chunk");if(U)$.emit("error",U),y2.nextTick(z,U),J=!1;return J}Q6.prototype.write=function($,Y,q){var z=this._writableState,J=!1,U=!z.objectMode&&Os0($);if(U&&!Ww.isBuffer($))$=Fs0($);if(typeof Y==="function")q=Y,Y=null;if(U)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof q!=="function")q=Ms0;if(z.ended)Ns0(this,q);else if(U||Ds0(this,z,$,q))z.pendingcb++,J=As0(this,z,U,$,Y,q);return J};Q6.prototype.cork=function(){var $=this._writableState;$.corked++};Q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)b80(this,$)}};Q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function Ps0($,Y,q){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=Ww.from(Y,q);return Y}Object.defineProperty(Q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function As0($,Y,q,z,J,U){if(!q){var I=Ps0(Y,z,J);if(z!==I)q=!0,J="buffer",z=I}var Q=Y.objectMode?1:z.length;Y.length+=Q;var K=Y.length<Y.highWaterMark;if(!K)Y.needDrain=!0;if(Y.writing||Y.corked){var G=Y.lastBufferedRequest;if(Y.lastBufferedRequest={chunk:z,encoding:J,isBuf:q,callback:U,next:null},G)G.next=Y.lastBufferedRequest;else Y.bufferedRequest=Y.lastBufferedRequest;Y.bufferedRequestCount+=1}else Yh($,Y,!1,Q,z,J,U);return K}function Yh($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function Bs0($,Y,q,z,J){if(--Y.pendingcb,q)y2.nextTick(J,z),y2.nextTick(hK,$,Y),$._writableState.errorEmitted=!0,$.emit("error",z);else J(z),$._writableState.errorEmitted=!0,$.emit("error",z),hK($,Y)}function Ts0($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function Es0($,Y){var q=$._writableState,z=q.sync,J=q.writecb;if(Ts0(q),Y)Bs0($,q,z,Y,J);else{var U=i80(q);if(!U&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest)b80($,q);if(z)Vs0(y80,$,q,U,J);else y80($,q,U,J)}}function y80($,Y,q,z){if(!q)js0($,Y);Y.pendingcb--,z(),hK($,Y)}function js0($,Y){if(Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain")}function b80($,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if($._writev&&q&&q.next){var z=Y.bufferedRequestCount,J=Array(z),U=Y.corkedRequestsFree;U.entry=q;var I=0,Q=!0;while(q){if(J[I]=q,!q.isBuf)Q=!1;q=q.next,I+=1}if(J.allBuffers=Q,Yh($,Y,!0,Y.length,J,"",U.finish),Y.pendingcb++,Y.lastBufferedRequest=null,U.next)Y.corkedRequestsFree=U.next,U.next=null;else Y.corkedRequestsFree=new x80(Y);Y.bufferedRequestCount=0}else{while(q){var{chunk:K,encoding:G,callback:H}=q,Z=Y.objectMode?1:K.length;if(Yh($,Y,!1,Z,K,G,H),q=q.next,Y.bufferedRequestCount--,Y.writing)break}if(q===null)Y.lastBufferedRequest=null}Y.bufferedRequest=q,Y.bufferProcessing=!1}Q6.prototype._write=function($,Y,q){q(Error("_write() is not implemented"))};Q6.prototype._writev=null;Q6.prototype.end=function($,Y,q){var z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;if($!==null&&$!==void 0)this.write($,Y);if(z.corked)z.corked=1,this.uncork();if(!z.ending)Cs0(this,z,q)};function i80($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function _s0($,Y){$._final(function(q){if(Y.pendingcb--,q)$.emit("error",q);Y.prefinished=!0,$.emit("prefinish"),hK($,Y)})}function Rs0($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function")Y.pendingcb++,Y.finalCalled=!0,y2.nextTick(_s0,$,Y);else Y.prefinished=!0,$.emit("prefinish")}function hK($,Y){var q=i80(Y);if(q){if(Rs0($,Y),Y.pendingcb===0)Y.finished=!0,$.emit("finish")}return q}function Cs0($,Y,q){if(Y.ending=!0,hK($,Y),q)if(Y.finished)y2.nextTick(q);else $.once("finish",q);Y.ended=!0,$.writable=!1}function vs0($,Y,q){var z=$.entry;$.entry=null;while(z){var J=z.callback;Y.pendingcb--,J(q),z=z.next}Y.corkedRequestsFree.next=$}Object.defineProperty(Q6.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});Q6.prototype.destroy=f80.destroy;Q6.prototype._undestroy=f80.undestroy;Q6.prototype._destroy=function($,Y){this.end(),Y($)}});var x2=M((ce1,m80)=>{var c80=e4(),hs0=Object.keys||function($){var Y=[];for(var q in $)Y.push(q);return Y};m80.exports=v9;var p80=Object.create(W4());p80.inherits=m0();var d80=Jh(),zh=qh();p80.inherits(v9,d80);{Xw=hs0(zh.prototype);for(SK=0;SK<Xw.length;SK++)if(yK=Xw[SK],!v9.prototype[yK])v9.prototype[yK]=zh.prototype[yK]}var Xw,yK,SK;function v9($){if(!(this instanceof v9))return new v9($);if(d80.call(this,$),zh.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",gs0)}Object.defineProperty(v9.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function gs0(){if(this.allowHalfOpen||this._writableState.ended)return;c80.nextTick(Ss0,this)}function Ss0($){$.end()}Object.defineProperty(v9.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});v9.prototype._destroy=function($,Y){this.push(null),this.end(),c80.nextTick(Y,$)}});var Qh=M((os0)=>{var Ih=$6().Buffer,l80=Ih.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ys0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function xs0($){var Y=ys0($);if(typeof Y!=="string"&&(Ih.isEncoding===l80||!l80($)))throw Error("Unknown encoding: "+$);return Y||$}os0.StringDecoder=xK;function xK($){this.encoding=xs0($);var Y;switch(this.encoding){case"utf16le":this.text=ns0,this.end=cs0,Y=4;break;case"utf8":this.fillLast=fs0,Y=4;break;case"base64":this.text=ps0,this.end=ds0,Y=3;break;default:this.write=ms0,this.end=ls0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ih.allocUnsafe(Y)}xK.prototype.write=function($){if($.length===0)return"";var Y,q;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";q=this.lastNeed,this.lastNeed=0}else q=0;if(q<$.length)return Y?Y+this.text($,q):this.text($,q);return Y||""};xK.prototype.end=is0;xK.prototype.text=bs0;xK.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Uh($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function ks0($,Y,q){var z=Y.length-1;if(z<q)return 0;var J=Uh(Y[z]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--z<q||J===-2)return 0;if(J=Uh(Y[z]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--z<q||J===-2)return 0;if(J=Uh(Y[z]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function us0($,Y,q){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function fs0($){var Y=this.lastTotal-this.lastNeed,q=us0(this,$,Y);if(q!==void 0)return q;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function bs0($,Y){var q=ks0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=q;var z=$.length-(q-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function is0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function ns0($,Y){if(($.length-Y)%2===0){var q=$.toString("utf16le",Y);if(q){var z=q.charCodeAt(q.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],q.slice(0,-1)}return q}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function cs0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var q=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,q)}return Y}function ps0($,Y){var q=($.length-Y)%3;if(q===0)return $.toString("base64",Y);if(this.lastNeed=3-q,this.lastTotal=3,q===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-q)}function ds0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function ms0($){return $.toString(this.encoding)}function ls0($){return $&&$.length?this.write($):""}});var Jh=M((me1,U$0)=>{var pz=e4();U$0.exports=O4;var ss0=bz(),kK;O4.ReadableState=$$0;var de1=m("events").EventEmitter,t80=function($,Y){return $.listeners(Y).length},Wh=m("stream"),uK=$6().Buffer,ts0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function as0($){return uK.from($)}function es0($){return uK.isBuffer($)||$ instanceof ts0}var a80=Object.create(W4());a80.inherits=m0();var Kh=m("util"),i1=void 0;if(Kh&&Kh.debuglog)i1=Kh.debuglog("stream");else i1=function(){};var $t0=h80(),e80=$h(),cz;a80.inherits(O4,Wh);var Gh=["error","close","destroy","pause","resume"];function Yt0($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(ss0($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}function $$0($,Y){kK=kK||x2(),$=$||{};var q=Y instanceof kK;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new $t0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!cz)cz=Qh().StringDecoder;this.decoder=new cz($.encoding),this.encoding=$.encoding}}function O4($){if(kK=kK||x2(),!(this instanceof O4))return new O4($);if(this._readableState=new $$0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Wh.call(this)}Object.defineProperty(O4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});O4.prototype.destroy=e80.destroy;O4.prototype._undestroy=e80.undestroy;O4.prototype._destroy=function($,Y){this.push(null),Y($)};O4.prototype.push=function($,Y){var q=this._readableState,z;if(!q.objectMode){if(typeof $==="string"){if(Y=Y||q.defaultEncoding,Y!==q.encoding)$=uK.from($,Y),Y="";z=!0}}else z=!0;return Y$0(this,$,Y,!1,z)};O4.prototype.unshift=function($){return Y$0(this,$,null,!0,!1)};function Y$0($,Y,q,z,J){var U=$._readableState;if(Y===null)U.reading=!1,Ut0($,U);else{var I;if(!J)I=qt0(U,Y);if(I)$.emit("error",I);else if(U.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==uK.prototype)Y=as0(Y);if(z)if(U.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Hh($,U,Y,!0);else if(U.ended)$.emit("error",Error("stream.push() after EOF"));else if(U.reading=!1,U.decoder&&!q)if(Y=U.decoder.write(Y),U.objectMode||Y.length!==0)Hh($,U,Y,!1);else q$0($,U);else Hh($,U,Y,!1)}else if(!z)U.reading=!1}return zt0(U)}function Hh($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",q),$.read(0);else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if(Y.needReadable)Vw($)}q$0($,Y)}function qt0($,Y){var q;if(!es0(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)q=TypeError("Invalid non-string/buffer chunk");return q}function zt0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}O4.prototype.isPaused=function(){return this._readableState.flowing===!1};O4.prototype.setEncoding=function($){if(!cz)cz=Qh().StringDecoder;return this._readableState.decoder=new cz($),this._readableState.encoding=$,this};var o80=8388608;function Jt0($){if($>=o80)$=o80;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function r80($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=Jt0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}O4.prototype.read=function($){i1("read",$),$=parseInt($,10);var Y=this._readableState,q=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(i1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Zh(this);else Vw(this);return null}if($=r80($,Y),$===0&&Y.ended){if(Y.length===0)Zh(this);return null}var z=Y.needReadable;if(i1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,i1("length less than watermark",z);if(Y.ended||Y.reading)z=!1,i1("reading or ended",z);else if(z){if(i1("do read"),Y.reading=!0,Y.sync=!0,Y.length===0)Y.needReadable=!0;if(this._read(Y.highWaterMark),Y.sync=!1,!Y.reading)$=r80(q,Y)}var J;if($>0)J=z$0($,Y);else J=null;if(J===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)Zh(this)}if(J!==null)this.emit("data",J);return J};function Ut0($,Y){if(Y.ended)return;if(Y.decoder){var q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}Y.ended=!0,Vw($)}function Vw($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(i1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)pz.nextTick(s80,$);else s80($)}function s80($){i1("emit readable"),$.emit("readable"),Xh($)}function q$0($,Y){if(!Y.readingMore)Y.readingMore=!0,pz.nextTick(It0,$,Y)}function It0($,Y){var q=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length<Y.highWaterMark)if(i1("maybeReadMore read 0"),$.read(0),q===Y.length)break;else q=Y.length;Y.readingMore=!1}O4.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};O4.prototype.pipe=function($,Y){var q=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=$;break;case 1:z.pipes=[z.pipes,$];break;default:z.pipes.push($);break}z.pipesCount+=1,i1("pipe count=%d opts=%j",z.pipesCount,Y);var J=(!Y||Y.end!==!1)&&$!==process.stdout&&$!==process.stderr,U=J?Q:F;if(z.endEmitted)pz.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(O,P){if(i1("onunpipe"),O===q){if(P&&P.hasUnpiped===!1)P.hasUnpiped=!0,H()}}function Q(){i1("onend"),$.end()}var K=Qt0(q);$.on("drain",K);var G=!1;function H(){if(i1("cleanup"),$.removeListener("close",L),$.removeListener("finish",w),$.removeListener("drain",K),$.removeListener("error",X),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",F),q.removeListener("data",V),G=!0,z.awaitDrain&&(!$._writableState||$._writableState.needDrain))K()}var Z=!1;q.on("data",V);function V(O){i1("ondata"),Z=!1;var P=$.write(O);if(P===!1&&!Z){if((z.pipesCount===1&&z.pipes===$||z.pipesCount>1&&J$0(z.pipes,$)!==-1)&&!G)i1("false write response, pause",z.awaitDrain),z.awaitDrain++,Z=!0;q.pause()}}function X(O){if(i1("onerror",O),F(),$.removeListener("error",X),t80($,"error")===0)$.emit("error",O)}Yt0($,"error",X);function L(){$.removeListener("finish",w),F()}$.once("close",L);function w(){i1("onfinish"),$.removeListener("close",L),F()}$.once("finish",w);function F(){i1("unpipe"),q.unpipe($)}if($.emit("pipe",q),!z.flowing)i1("pipe resume"),q.resume();return $};function Qt0($){return function(){var Y=$._readableState;if(i1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&t80($,"data"))Y.flowing=!0,Xh($)}}O4.prototype.unpipe=function($){var Y=this._readableState,q={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,q);return this}if(!$){var{pipes:z,pipesCount:J}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<J;U++)z[U].emit("unpipe",this,{hasUnpiped:!1});return this}var I=J$0(Y.pipes,$);if(I===-1)return this;if(Y.pipes.splice(I,1),Y.pipesCount-=1,Y.pipesCount===1)Y.pipes=Y.pipes[0];return $.emit("unpipe",this,q),this};O4.prototype.on=function($,Y){var q=Wh.prototype.on.call(this,$,Y);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var z=this._readableState;if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.emittedReadable=!1,!z.reading)pz.nextTick(Kt0,this);else if(z.length)Vw(this)}}return q};O4.prototype.addListener=O4.prototype.on;function Kt0($){i1("readable nexttick read 0"),$.read(0)}O4.prototype.resume=function(){var $=this._readableState;if(!$.flowing)i1("resume"),$.flowing=!0,Gt0(this,$);return this};function Gt0($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,pz.nextTick(Ht0,$,Y)}function Ht0($,Y){if(!Y.reading)i1("resume read 0"),$.read(0);if(Y.resumeScheduled=!1,Y.awaitDrain=0,$.emit("resume"),Xh($),Y.flowing&&!Y.reading)$.read(0)}O4.prototype.pause=function(){if(i1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)i1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function Xh($){var Y=$._readableState;i1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}O4.prototype.wrap=function($){var Y=this,q=this._readableState,z=!1;$.on("end",function(){if(i1("wrapped end"),q.decoder&&!q.ended){var I=q.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(i1("wrapped data"),q.decoder)I=q.decoder.write(I);if(q.objectMode&&(I===null||I===void 0))return;else if(!q.objectMode&&(!I||!I.length))return;var Q=Y.push(I);if(!Q)z=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(I){return function(){return $[I].apply($,arguments)}}(J);for(var U=0;U<Gh.length;U++)$.on(Gh[U],this.emit.bind(this,Gh[U]));return this._read=function(I){if(i1("wrapped _read",I),z)z=!1,$.resume()},this};Object.defineProperty(O4.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});O4._fromList=z$0;function z$0($,Y){if(Y.length===0)return null;var q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.head.data;else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=Zt0($,Y.buffer,Y.decoder);return q}function Zt0($,Y,q){var z;if($<Y.head.data.length)z=Y.head.data.slice(0,$),Y.head.data=Y.head.data.slice($);else if($===Y.head.data.length)z=Y.shift();else z=q?Wt0($,Y):Xt0($,Y);return z}function Wt0($,Y){var q=Y.head,z=1,J=q.data;$-=J.length;while(q=q.next){var U=q.data,I=$>U.length?U.length:$;if(I===U.length)J+=U;else J+=U.slice(0,$);if($-=I,$===0){if(I===U.length)if(++z,q.next)Y.head=q.next;else Y.head=Y.tail=null;else Y.head=q,q.data=U.slice(I);break}++z}return Y.length-=z,J}function Xt0($,Y){var q=uK.allocUnsafe($),z=Y.head,J=1;z.data.copy(q),$-=z.data.length;while(z=z.next){var U=z.data,I=$>U.length?U.length:$;if(U.copy(q,q.length-$,0,I),$-=I,$===0){if(I===U.length)if(++J,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=U.slice(I);break}++J}return Y.length-=J,q}function Zh($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,pz.nextTick(Vt0,Y,$)}function Vt0($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function J$0($,Y){for(var q=0,z=$.length;q<z;q++)if($[q]===Y)return q;return-1}});var Vh=M((le1,K$0)=>{K$0.exports=h9;var Lw=x2(),Q$0=Object.create(W4());Q$0.inherits=m0();Q$0.inherits(h9,Lw);function Lt0($,Y){var q=this._transformState;q.transforming=!1;var z=q.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(q.writechunk=null,q.writecb=null,Y!=null)this.push(Y);z($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function h9($){if(!(this instanceof h9))return new h9($);if(Lw.call(this,$),this._transformState={afterTransform:Lt0.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",wt0)}function wt0(){var $=this;if(typeof this._flush==="function")this._flush(function(Y,q){I$0($,Y,q)});else I$0(this,null,null)}h9.prototype.push=function($,Y){return this._transformState.needTransform=!1,Lw.prototype.push.call(this,$,Y)};h9.prototype._transform=function($,Y,q){throw Error("_transform() is not implemented")};h9.prototype._write=function($,Y,q){var z=this._transformState;if(z.writecb=q,z.writechunk=$,z.writeencoding=Y,!z.transforming){var J=this._readableState;if(z.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};h9.prototype._read=function($){var Y=this._transformState;if(Y.writechunk!==null&&Y.writecb&&!Y.transforming)Y.transforming=!0,this._transform(Y.writechunk,Y.writeencoding,Y.afterTransform);else Y.needTransform=!0};h9.prototype._destroy=function($,Y){var q=this;Lw.prototype._destroy.call(this,$,function(z){Y(z),q.emit("close")})};function I$0($,Y,q){if(Y)return $.emit("error",Y);if(q!=null)$.push(q);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var W$0=M((oe1,Z$0)=>{Z$0.exports=fK;var G$0=Vh(),H$0=Object.create(W4());H$0.inherits=m0();H$0.inherits(fK,G$0);function fK($){if(!(this instanceof fK))return new fK($);G$0.call(this,$)}fK.prototype._transform=function($,Y,q){q(null,$)}});var Lh=M((i6,ww)=>{var x5=m("stream");if(process.env.READABLE_STREAM==="disable"&&x5)ww.exports=x5,i6=ww.exports=x5.Readable,i6.Readable=x5.Readable,i6.Writable=x5.Writable,i6.Duplex=x5.Duplex,i6.Transform=x5.Transform,i6.PassThrough=x5.PassThrough,i6.Stream=x5;else i6=ww.exports=Jh(),i6.Stream=x5||i6,i6.Readable=i6,i6.Writable=qh(),i6.Duplex=x2(),i6.Transform=Vh(),i6.PassThrough=W$0()});var g9=M((Ot0)=>{Ot0.base64=!0;Ot0.array=!0;Ot0.string=!0;Ot0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";Ot0.nodebuffer=typeof Buffer<"u";Ot0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")Ot0.blob=!1;else{Fw=new ArrayBuffer(0);try{Ot0.blob=new Blob([Fw],{type:"application/zip"}).size===0}catch($){try{Fh=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Ow=new Fh,Ow.append(Fw),Ot0.blob=Ow.getBlob("application/zip").size===0}catch(Y){Ot0.blob=!1}}}var Fw,Fh,Ow;try{Ot0.nodestream=!!Lh().Readable}catch($){Ot0.nodestream=!1}});var Oh=M((jt0)=>{var Tt0=u4(),Et0=g9(),k5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";jt0.encode=function($){var Y=[],q,z,J,U,I,Q,K,G=0,H=$.length,Z=H,V=Tt0.getTypeOf($)!=="string";while(G<$.length){if(Z=H-G,!V)q=$.charCodeAt(G++),z=G<H?$.charCodeAt(G++):0,J=G<H?$.charCodeAt(G++):0;else q=$[G++],z=G<H?$[G++]:0,J=G<H?$[G++]:0;U=q>>2,I=(q&3)<<4|z>>4,Q=Z>1?(z&15)<<2|J>>6:64,K=Z>2?J&63:64,Y.push(k5.charAt(U)+k5.charAt(I)+k5.charAt(Q)+k5.charAt(K))}return Y.join("")};jt0.decode=function($){var Y,q,z,J,U,I,Q,K=0,G=0,H="data:";if($.substr(0,H.length)===H)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var Z=$.length*3/4;if($.charAt($.length-1)===k5.charAt(64))Z--;if($.charAt($.length-2)===k5.charAt(64))Z--;if(Z%1!==0)throw Error("Invalid base64 input, bad content length.");var V;if(Et0.uint8array)V=new Uint8Array(Z|0);else V=Array(Z|0);while(K<$.length){if(J=k5.indexOf($.charAt(K++)),U=k5.indexOf($.charAt(K++)),I=k5.indexOf($.charAt(K++)),Q=k5.indexOf($.charAt(K++)),Y=J<<2|U>>4,q=(U&15)<<4|I>>2,z=(I&3)<<6|Q,V[G++]=Y,I!==64)V[G++]=q;if(Q!==64)V[G++]=z}return V}});var bK=M((te1,X$0)=>{X$0.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,Y){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,Y);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,Y)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var Y=new Buffer($);return Y.fill(0),Y}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var w$0=M((ee1,L$0)=>{var ae1=global.MutationObserver||global.WebKitMutationObserver,V$0;V$0=function(){process.nextTick(St0)};var Ct0,vt0,ht0,gt0,Mh,iK=[];function St0(){Mh=!0;var $,Y,q=iK.length;while(q){Y=iK,iK=[],$=-1;while(++$<q)Y[$]();q=iK.length}Mh=!1}L$0.exports=yt0;function yt0($){if(iK.push($)===1&&!Mh)V$0()}});var A$0=M(($04,P$0)=>{var F$0=w$0();function mz(){}var J8={},O$0=["REJECTED"],Nh=["FULFILLED"],M$0=["PENDING"];dz=["UNHANDLED"];var dz;P$0.exports=s3;function s3($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=M$0,this.queue=[],this.outcome=void 0,this.handled=dz,$!==mz)N$0(this,$)}s3.prototype.finally=function($){if(typeof $!=="function")return this;var Y=this.constructor;return this.then(q,z);function q(J){function U(){return J}return Y.resolve($()).then(U)}function z(J){function U(){throw J}return Y.resolve($()).then(U)}};s3.prototype.catch=function($){return this.then(null,$)};s3.prototype.then=function($,Y){if(typeof $!=="function"&&this.state===Nh||typeof Y!=="function"&&this.state===O$0)return this;var q=new this.constructor(mz);if(this.handled===dz)this.handled=null;if(this.state!==M$0){var z=this.state===Nh?$:Y;Dh(q,z,this.outcome)}else this.queue.push(new nK(q,$,Y));return q};function nK($,Y,q){if(this.promise=$,typeof Y==="function")this.onFulfilled=Y,this.callFulfilled=this.otherCallFulfilled;if(typeof q==="function")this.onRejected=q,this.callRejected=this.otherCallRejected}nK.prototype.callFulfilled=function($){J8.resolve(this.promise,$)};nK.prototype.otherCallFulfilled=function($){Dh(this.promise,this.onFulfilled,$)};nK.prototype.callRejected=function($){J8.reject(this.promise,$)};nK.prototype.otherCallRejected=function($){Dh(this.promise,this.onRejected,$)};function Dh($,Y,q){F$0(function(){var z;try{z=Y(q)}catch(J){return J8.reject($,J)}if(z===$)J8.reject($,TypeError("Cannot resolve promise with itself"));else J8.resolve($,z)})}J8.resolve=function($,Y){var q=D$0(xt0,Y);if(q.status==="error")return J8.reject($,q.value);var z=q.value;if(z)N$0($,z);else{$.state=Nh,$.outcome=Y;var J=-1,U=$.queue.length;while(++J<U)$.queue[J].callFulfilled(Y)}return $};J8.reject=function($,Y){if($.state=O$0,$.outcome=Y,$.handled===dz)F$0(function(){if($.handled===dz)process.emit("unhandledRejection",Y,$)});var q=-1,z=$.queue.length;while(++q<z)$.queue[q].callRejected(Y);return $};function xt0($){var Y=$&&$.then;if($&&(typeof $==="object"||typeof $==="function")&&typeof Y==="function")return function(){Y.apply($,arguments)}}function N$0($,Y){var q=!1;function z(Q){if(q)return;q=!0,J8.reject($,Q)}function J(Q){if(q)return;q=!0,J8.resolve($,Q)}function U(){Y(J,z)}var I=D$0(U);if(I.status==="error")z(I.value)}function D$0($,Y){var q={};try{q.value=$(Y),q.status="success"}catch(z){q.status="error",q.value=z}return q}s3.resolve=kt0;function kt0($){if($ instanceof this)return $;return J8.resolve(new this(mz),$)}s3.reject=ut0;function ut0($){var Y=new this(mz);return J8.reject(Y,$)}s3.all=ft0;function ft0($){var Y=this;if(Object.prototype.toString.call($)!=="[object Array]")return this.reject(TypeError("must be an array"));var q=$.length,z=!1;if(!q)return this.resolve([]);var J=Array(q),U=0,I=-1,Q=new this(mz);while(++I<q)K($[I],I);return Q;function K(G,H){Y.resolve(G).then(Z,function(V){if(!z)z=!0,J8.reject(Q,V)});function Z(V){if(J[H]=V,++U===q&&!z)z=!0,J8.resolve(Q,J)}}}s3.race=bt0;function bt0($){var Y=this;if(Object.prototype.toString.call($)!=="[object Array]")return this.reject(TypeError("must be an array"));var q=$.length,z=!1;if(!q)return this.resolve([]);var J=-1,U=new this(mz);while(++J<q)I($[J]);return U;function I(Q){Y.resolve(Q).then(function(K){if(!z)z=!0,J8.resolve(U,K)},function(K){if(!z)z=!0,J8.reject(U,K)})}}});var lz=M((Y04,B$0)=>{var Ph=null;if(typeof Promise<"u")Ph=Promise;else Ph=A$0();B$0.exports={Promise:Ph}});var Ah=M((T$0)=>{(function($,Y){if($.setImmediate)return;var q=1,z={},J=!1,U=$.document,I;function Q(P){if(typeof P!=="function")P=Function(""+P);var B=Array(arguments.length-1);for(var A=0;A<B.length;A++)B[A]=arguments[A+1];var E={callback:P,args:B};return z[q]=E,I(q),q++}function K(P){delete z[P]}function G(P){var{callback:B,args:A}=P;switch(A.length){case 0:B();break;case 1:B(A[0]);break;case 2:B(A[0],A[1]);break;case 3:B(A[0],A[1],A[2]);break;default:B.apply(Y,A);break}}function H(P){if(J)setTimeout(H,0,P);else{var B=z[P];if(B){J=!0;try{G(B)}finally{K(P),J=!1}}}}function Z(){I=function(P){process.nextTick(function(){H(P)})}}function V(){if($.postMessage&&!$.importScripts){var P=!0,B=$.onmessage;return $.onmessage=function(){P=!1},$.postMessage("","*"),$.onmessage=B,P}}function X(){var P="setImmediate$"+Math.random()+"$",B=function(A){if(A.source===$&&typeof A.data==="string"&&A.data.indexOf(P)===0)H(+A.data.slice(P.length))};if($.addEventListener)$.addEventListener("message",B,!1);else $.attachEvent("onmessage",B);I=function(A){$.postMessage(P+A,"*")}}function L(){var P=new MessageChannel;P.port1.onmessage=function(B){var A=B.data;H(A)},I=function(B){P.port2.postMessage(B)}}function w(){var P=U.documentElement;I=function(B){var A=U.createElement("script");A.onreadystatechange=function(){H(B),A.onreadystatechange=null,P.removeChild(A),A=null},P.appendChild(A)}}function F(){I=function(P){setTimeout(H,0,P)}}var O=Object.getPrototypeOf&&Object.getPrototypeOf($);if(O=O&&O.setTimeout?O:$,{}.toString.call($.process)==="[object process]")Z();else if(V())X();else if($.MessageChannel)L();else if(U&&"onreadystatechange"in U.createElement("script"))w();else F();O.setImmediate=Q,O.clearImmediate=K})(typeof self>"u"?typeof global>"u"?T$0:global:self)});var u4=M((ct0)=>{var t3=g9(),it0=Oh(),oz=bK(),Bh=lz();Ah();function nt0($){var Y=null;if(t3.uint8array)Y=new Uint8Array($.length);else Y=Array($.length);return Nw($,Y)}ct0.newBlob=function($,Y){ct0.checkSupport("blob");try{return new Blob([$],{type:Y})}catch(J){try{var q=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,z=new q;return z.append($),z.getBlob(Y)}catch(U){throw Error("Bug : can't construct the Blob.")}}};function cK($){return $}function Nw($,Y){for(var q=0;q<$.length;++q)Y[q]=$.charCodeAt(q)&255;return Y}var Mw={stringifyByChunk:function($,Y,q){var z=[],J=0,U=$.length;if(U<=q)return String.fromCharCode.apply(null,$);while(J<U){if(Y==="array"||Y==="nodebuffer")z.push(String.fromCharCode.apply(null,$.slice(J,Math.min(J+q,U))));else z.push(String.fromCharCode.apply(null,$.subarray(J,Math.min(J+q,U))));J+=q}return z.join("")},stringifyByChar:function($){var Y="";for(var q=0;q<$.length;q++)Y+=String.fromCharCode($[q]);return Y},applyCanBeUsed:{uint8array:function(){try{return t3.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch($){return!1}}(),nodebuffer:function(){try{return t3.nodebuffer&&String.fromCharCode.apply(null,oz.allocBuffer(1)).length===1}catch($){return!1}}()}};function pK($){var Y=65536,q=ct0.getTypeOf($),z=!0;if(q==="uint8array")z=Mw.applyCanBeUsed.uint8array;else if(q==="nodebuffer")z=Mw.applyCanBeUsed.nodebuffer;if(z)while(Y>1)try{return Mw.stringifyByChunk($,q,Y)}catch(J){Y=Math.floor(Y/2)}return Mw.stringifyByChar($)}ct0.applyFromCharCode=pK;function Dw($,Y){for(var q=0;q<$.length;q++)Y[q]=$[q];return Y}var a3={};a3.string={string:cK,array:function($){return Nw($,Array($.length))},arraybuffer:function($){return a3.string.uint8array($).buffer},uint8array:function($){return Nw($,new Uint8Array($.length))},nodebuffer:function($){return Nw($,oz.allocBuffer($.length))}};a3.array={string:pK,array:cK,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return oz.newBufferFrom($)}};a3.arraybuffer={string:function($){return pK(new Uint8Array($))},array:function($){return Dw(new Uint8Array($),Array($.byteLength))},arraybuffer:cK,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return oz.newBufferFrom(new Uint8Array($))}};a3.uint8array={string:pK,array:function($){return Dw($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:cK,nodebuffer:function($){return oz.newBufferFrom($)}};a3.nodebuffer={string:pK,array:function($){return Dw($,Array($.length))},arraybuffer:function($){return a3.nodebuffer.uint8array($).buffer},uint8array:function($){return Dw($,new Uint8Array($.length))},nodebuffer:cK};ct0.transformTo=function($,Y){if(!Y)Y="";if(!$)return Y;ct0.checkSupport($);var q=ct0.getTypeOf(Y),z=a3[q][$](Y);return z};ct0.resolve=function($){var Y=$.split("/"),q=[];for(var z=0;z<Y.length;z++){var J=Y[z];if(J==="."||J===""&&z!==0&&z!==Y.length-1)continue;else if(J==="..")q.pop();else q.push(J)}return q.join("/")};ct0.getTypeOf=function($){if(typeof $==="string")return"string";if(Object.prototype.toString.call($)==="[object Array]")return"array";if(t3.nodebuffer&&oz.isBuffer($))return"nodebuffer";if(t3.uint8array&&$ instanceof Uint8Array)return"uint8array";if(t3.arraybuffer&&$ instanceof ArrayBuffer)return"arraybuffer"};ct0.checkSupport=function($){var Y=t3[$.toLowerCase()];if(!Y)throw Error($+" is not supported by this platform")};ct0.MAX_VALUE_16BITS=65535;ct0.MAX_VALUE_32BITS=-1;ct0.pretty=function($){var Y="",q,z;for(z=0;z<($||"").length;z++)q=$.charCodeAt(z),Y+="\\x"+(q<16?"0":"")+q.toString(16).toUpperCase();return Y};ct0.delay=function($,Y,q){setImmediate(function(){$.apply(q||null,Y||[])})};ct0.inherits=function($,Y){var q=function(){};q.prototype=Y.prototype,$.prototype=new q};ct0.extend=function(){var $={},Y,q;for(Y=0;Y<arguments.length;Y++)for(q in arguments[Y])if(Object.prototype.hasOwnProperty.call(arguments[Y],q)&&typeof $[q]>"u")$[q]=arguments[Y][q];return $};ct0.prepareContent=function($,Y,q,z,J){var U=Bh.Promise.resolve(Y).then(function(I){var Q=t3.blob&&(I instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(I))!==-1);if(Q&&typeof FileReader<"u")return new Bh.Promise(function(K,G){var H=new FileReader;H.onload=function(Z){K(Z.target.result)},H.onerror=function(Z){G(Z.target.error)},H.readAsArrayBuffer(I)});else return I});return U.then(function(I){var Q=ct0.getTypeOf(I);if(!Q)return Bh.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(Q==="arraybuffer")I=ct0.transformTo("uint8array",I);else if(Q==="string"){if(J)I=it0.decode(I);else if(q){if(z!==!0)I=nt0(I)}}return I})}});var U$=M((J04,R$0)=>{function _$0($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}_$0.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=$;else{if(this.isFinished=!0,this.emit("error",$),this.previous)this.previous.error($);this.cleanUp()}return!0},on:function($,Y){return this._listeners[$].push(Y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,Y){if(this._listeners[$])for(var q=0;q<this._listeners[$].length;q++)this._listeners[$][q].call(this,Y)},pipe:function($){return $.registerPrevious(this)},registerPrevious:function($){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=$.streamInfo,this.mergeStreamInfo(),this.previous=$;var Y=this;return $.on("data",function(q){Y.processChunk(q)}),$.on("end",function(){Y.end()}),$.on("error",function(q){Y.error(q)}),this},pause:function(){if(this.isPaused||this.isFinished)return!1;if(this.isPaused=!0,this.previous)this.previous.pause();return!0},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var $=!1;if(this.generatedError)this.error(this.generatedError),$=!0;if(this.previous)this.previous.resume();return!$},flush:function(){},processChunk:function($){this.push($)},withStreamInfo:function($,Y){return this.extraStreamInfo[$]=Y,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var $ in this.extraStreamInfo){if(!Object.prototype.hasOwnProperty.call(this.extraStreamInfo,$))continue;this.streamInfo[$]=this.extraStreamInfo[$]}},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");if(this.isLocked=!0,this.previous)this.previous.lock()},toString:function(){var $="Worker "+this.name;if(this.previous)return this.previous+" -> "+$;else return $}};R$0.exports=_$0});var sz=M((Ja0)=>{var rz=u4(),k2=g9(),$a0=bK(),Pw=U$(),dK=Array(256);for(u5=0;u5<256;u5++)dK[u5]=u5>=252?6:u5>=248?5:u5>=240?4:u5>=224?3:u5>=192?2:1;var u5;dK[254]=dK[254]=1;var Ya0=function($){var Y,q,z,J,U,I=$.length,Q=0;for(J=0;J<I;J++){if(q=$.charCodeAt(J),(q&64512)===55296&&J+1<I){if(z=$.charCodeAt(J+1),(z&64512)===56320)q=65536+(q-55296<<10)+(z-56320),J++}Q+=q<128?1:q<2048?2:q<65536?3:4}if(k2.uint8array)Y=new Uint8Array(Q);else Y=Array(Q);for(U=0,J=0;U<Q;J++){if(q=$.charCodeAt(J),(q&64512)===55296&&J+1<I){if(z=$.charCodeAt(J+1),(z&64512)===56320)q=65536+(q-55296<<10)+(z-56320),J++}if(q<128)Y[U++]=q;else if(q<2048)Y[U++]=192|q>>>6,Y[U++]=128|q&63;else if(q<65536)Y[U++]=224|q>>>12,Y[U++]=128|q>>>6&63,Y[U++]=128|q&63;else Y[U++]=240|q>>>18,Y[U++]=128|q>>>12&63,Y[U++]=128|q>>>6&63,Y[U++]=128|q&63}return Y},qa0=function($,Y){var q;if(Y=Y||$.length,Y>$.length)Y=$.length;q=Y-1;while(q>=0&&($[q]&192)===128)q--;if(q<0)return Y;if(q===0)return Y;return q+dK[$[q]]>Y?q:Y},za0=function($){var Y,q,z,J,U=$.length,I=Array(U*2);for(q=0,Y=0;Y<U;){if(z=$[Y++],z<128){I[q++]=z;continue}if(J=dK[z],J>4){I[q++]=65533,Y+=J-1;continue}z&=J===2?31:J===3?15:7;while(J>1&&Y<U)z=z<<6|$[Y++]&63,J--;if(J>1){I[q++]=65533;continue}if(z<65536)I[q++]=z;else z-=65536,I[q++]=55296|z>>10&1023,I[q++]=56320|z&1023}if(I.length!==q)if(I.subarray)I=I.subarray(0,q);else I.length=q;return rz.applyFromCharCode(I)};Ja0.utf8encode=function(Y){if(k2.nodebuffer)return $a0.newBufferFrom(Y,"utf-8");return Ya0(Y)};Ja0.utf8decode=function(Y){if(k2.nodebuffer)return rz.transformTo("nodebuffer",Y).toString("utf-8");return Y=rz.transformTo(k2.uint8array?"uint8array":"array",Y),za0(Y)};function Aw(){Pw.call(this,"utf-8 decode"),this.leftOver=null}rz.inherits(Aw,Pw);Aw.prototype.processChunk=function($){var Y=rz.transformTo(k2.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(k2.uint8array){var q=Y;Y=new Uint8Array(q.length+this.leftOver.length),Y.set(this.leftOver,0),Y.set(q,this.leftOver.length)}else Y=this.leftOver.concat(Y);this.leftOver=null}var z=qa0(Y),J=Y;if(z!==Y.length)if(k2.uint8array)J=Y.subarray(0,z),this.leftOver=Y.subarray(z,Y.length);else J=Y.slice(0,z),this.leftOver=Y.slice(z,Y.length);this.push({data:Ja0.utf8decode(J),meta:$.meta})};Aw.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:Ja0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};Ja0.Utf8DecodeWorker=Aw;function Eh(){Pw.call(this,"utf-8 encode")}rz.inherits(Eh,Pw);Eh.prototype.processChunk=function($){this.push({data:Ja0.utf8encode($.data),meta:$.meta})};Ja0.Utf8EncodeWorker=Eh});var S$0=M((I04,g$0)=>{var v$0=U$(),h$0=u4();function _h($){v$0.call(this,"ConvertWorker to "+$),this.destType=$}h$0.inherits(_h,v$0);_h.prototype.processChunk=function($){this.push({data:h$0.transformTo(this.destType,$.data),meta:$.meta})};g$0.exports=_h});var k$0=M((Q04,x$0)=>{var y$0=Lh().Readable,Qa0=u4();Qa0.inherits(Rh,y$0);function Rh($,Y,q){y$0.call(this,Y),this._helper=$;var z=this;$.on("data",function(J,U){if(!z.push(J))z._helper.pause();if(q)q(U)}).on("error",function(J){z.emit("error",J)}).on("end",function(){z.push(null)})}Rh.prototype._read=function(){this._helper.resume()};x$0.exports=Rh});var Ch=M((K04,b$0)=>{var u2=u4(),Ka0=S$0(),Ga0=U$(),Ha0=Oh(),Za0=g9(),Wa0=lz(),u$0=null;if(Za0.nodestream)try{u$0=k$0()}catch($){}function Xa0($,Y,q){switch($){case"blob":return u2.newBlob(u2.transformTo("arraybuffer",Y),q);case"base64":return Ha0.encode(Y);default:return u2.transformTo($,Y)}}function Va0($,Y){var q,z=0,J=null,U=0;for(q=0;q<Y.length;q++)U+=Y[q].length;switch($){case"string":return Y.join("");case"array":return Array.prototype.concat.apply([],Y);case"uint8array":J=new Uint8Array(U);for(q=0;q<Y.length;q++)J.set(Y[q],z),z+=Y[q].length;return J;case"nodebuffer":return Buffer.concat(Y);default:throw Error("concat : unsupported type '"+$+"'")}}function La0($,Y){return new Wa0.Promise(function(q,z){var J=[],U=$._internalType,I=$._outputType,Q=$._mimeType;$.on("data",function(K,G){if(J.push(K),Y)Y(G)}).on("error",function(K){J=[],z(K)}).on("end",function(){try{var K=Xa0(I,Va0(U,J),Q);q(K)}catch(G){z(G)}J=[]}).resume()})}function f$0($,Y,q){var z=Y;switch(Y){case"blob":case"arraybuffer":z="uint8array";break;case"base64":z="string";break}try{this._internalType=z,this._outputType=Y,this._mimeType=q,u2.checkSupport(z),this._worker=$.pipe(new Ka0(z)),$.lock()}catch(J){this._worker=new Ga0("error"),this._worker.error(J)}}f$0.prototype={accumulate:function($){return La0(this,$)},on:function($,Y){var q=this;if($==="data")this._worker.on($,function(z){Y.call(q,z.data,z.meta)});else this._worker.on($,function(){u2.delay(Y,arguments,q)});return this},resume:function(){return u2.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function($){if(u2.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw Error(this._outputType+" is not supported by this method");return new u$0(this,{objectMode:this._outputType!=="nodebuffer"},$)}};b$0.exports=f$0});var vh=M((wa0)=>{wa0.base64=!1;wa0.binary=!1;wa0.dir=!1;wa0.createFolders=!0;wa0.date=null;wa0.compression=null;wa0.compressionOptions=null;wa0.comment=null;wa0.unixPermissions=null;wa0.dosPermissions=null});var hh=M((H04,i$0)=>{var Bw=u4(),Tw=U$(),ja0=16384;function tz($){Tw.call(this,"DataWorker");var Y=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(q){if(Y.dataIsReady=!0,Y.data=q,Y.max=q&&q.length||0,Y.type=Bw.getTypeOf(q),!Y.isPaused)Y._tickAndRepeat()},function(q){Y.error(q)})}Bw.inherits(tz,Tw);tz.prototype.cleanUp=function(){Tw.prototype.cleanUp.call(this),this.data=null};tz.prototype.resume=function(){if(!Tw.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,Bw.delay(this._tickAndRepeat,[],this);return!0};tz.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)Bw.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};tz.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=ja0,Y=null,q=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":Y=this.data.substring(this.index,q);break;case"uint8array":Y=this.data.subarray(this.index,q);break;case"array":case"nodebuffer":Y=this.data.slice(this.index,q);break}return this.index=q,this.push({data:Y,meta:{percent:this.max?this.index/this.max*100:0}})}};i$0.exports=tz});var Ew=M((Z04,c$0)=>{var _a0=u4();function Ra0(){var $,Y=[];for(var q=0;q<256;q++){$=q;for(var z=0;z<8;z++)$=$&1?3988292384^$>>>1:$>>>1;Y[q]=$}return Y}var n$0=Ra0();function Ca0($,Y,q,z){var J=n$0,U=z+q;$=$^-1;for(var I=z;I<U;I++)$=$>>>8^J[($^Y[I])&255];return $^-1}function va0($,Y,q,z){var J=n$0,U=z+q;$=$^-1;for(var I=z;I<U;I++)$=$>>>8^J[($^Y.charCodeAt(I))&255];return $^-1}c$0.exports=function(Y,q){if(typeof Y>"u"||!Y.length)return 0;var z=_a0.getTypeOf(Y)!=="string";if(z)return Ca0(q|0,Y,Y.length,0);else return va0(q|0,Y,Y.length,0)}});var Sh=M((W04,d$0)=>{var p$0=U$(),ha0=Ew(),ga0=u4();function gh(){p$0.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}ga0.inherits(gh,p$0);gh.prototype.processChunk=function($){this.streamInfo.crc32=ha0($.data,this.streamInfo.crc32||0),this.push($)};d$0.exports=gh});var l$0=M((X04,m$0)=>{var Sa0=u4(),yh=U$();function xh($){yh.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}Sa0.inherits(xh,yh);xh.prototype.processChunk=function($){if($){var Y=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=Y+$.data.length}yh.prototype.processChunk.call(this,$)};m$0.exports=xh});var jw=M((V04,s$0)=>{var o$0=lz(),r$0=hh(),ya0=Sh(),kh=l$0();function uh($,Y,q,z,J){this.compressedSize=$,this.uncompressedSize=Y,this.crc32=q,this.compression=z,this.compressedContent=J}uh.prototype={getContentWorker:function(){var $=new r$0(o$0.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new kh("data_length")),Y=this;return $.on("end",function(){if(this.streamInfo.data_length!==Y.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new r$0(o$0.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};uh.createWorkerFrom=function($,Y,q){return $.pipe(new ya0).pipe(new kh("uncompressedSize")).pipe(Y.compressWorker(q)).pipe(new kh("compressedSize")).withStreamInfo("compression",Y)};s$0.exports=uh});var $50=M((L04,e$0)=>{var xa0=Ch(),ka0=hh(),fh=sz(),bh=jw(),t$0=U$(),ih=function($,Y,q){this.name=$,this.dir=q.dir,this.date=q.date,this.comment=q.comment,this.unixPermissions=q.unixPermissions,this.dosPermissions=q.dosPermissions,this._data=Y,this._dataBinary=q.binary,this.options={compression:q.compression,compressionOptions:q.compressionOptions}};ih.prototype={internalStream:function($){var Y=null,q="string";try{if(!$)throw Error("No output type specified.");q=$.toLowerCase();var z=q==="string"||q==="text";if(q==="binarystring"||q==="text")q="string";Y=this._decompressWorker();var J=!this._dataBinary;if(J&&!z)Y=Y.pipe(new fh.Utf8EncodeWorker);if(!J&&z)Y=Y.pipe(new fh.Utf8DecodeWorker)}catch(U){Y=new t$0("error"),Y.error(U)}return new xa0(Y,q,"")},async:function($,Y){return this.internalStream($).accumulate(Y)},nodeStream:function($,Y){return this.internalStream($||"nodebuffer").toNodejsStream(Y)},_compressWorker:function($,Y){if(this._data instanceof bh&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var q=this._decompressWorker();if(!this._dataBinary)q=q.pipe(new fh.Utf8EncodeWorker);return bh.createWorkerFrom(q,$,Y)}},_decompressWorker:function(){if(this._data instanceof bh)return this._data.getContentWorker();else if(this._data instanceof t$0)return this._data;else return new ka0(this._data)}};var a$0=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],ua0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(mK=0;mK<a$0.length;mK++)ih.prototype[a$0[mK]]=ua0;var mK;e$0.exports=ih});var S9=M((nh)=>{var na0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function ca0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}nh.assign=function($){var Y=Array.prototype.slice.call(arguments,1);while(Y.length){var q=Y.shift();if(!q)continue;if(typeof q!=="object")throw TypeError(q+"must be non-object");for(var z in q)if(ca0(q,z))$[z]=q[z]}return $};nh.shrinkBuf=function($,Y){if($.length===Y)return $;if($.subarray)return $.subarray(0,Y);return $.length=Y,$};var pa0={arraySet:function($,Y,q,z,J){if(Y.subarray&&$.subarray){$.set(Y.subarray(q,q+z),J);return}for(var U=0;U<z;U++)$[J+U]=Y[q+U]},flattenChunks:function($){var Y,q,z,J,U,I;z=0;for(Y=0,q=$.length;Y<q;Y++)z+=$[Y].length;I=new Uint8Array(z),J=0;for(Y=0,q=$.length;Y<q;Y++)U=$[Y],I.set(U,J),J+=U.length;return I}},da0={arraySet:function($,Y,q,z,J){for(var U=0;U<z;U++)$[J+U]=Y[q+U]},flattenChunks:function($){return[].concat.apply([],$)}};nh.setTyped=function($){if($)nh.Buf8=Uint8Array,nh.Buf16=Uint16Array,nh.Buf32=Int32Array,nh.assign(nh,pa0);else nh.Buf8=Array,nh.Buf16=Array,nh.Buf32=Array,nh.assign(nh,da0)};nh.setTyped(na0)});var B50=M((Ve0)=>{var la0=S9(),oa0=4,q50=0,z50=1,ra0=2;function ez($){var Y=$.length;while(--Y>=0)$[Y]=0}var sa0=0,G50=1,ta0=2,aa0=3,ea0=258,sh=29,aK=256,oK=aK+1+sh,az=30,th=19,H50=2*oK+1,f2=15,ph=16,$e0=7,ah=256,Z50=16,W50=17,X50=18,oh=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],_w=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ye0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],V50=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],qe0=512,y9=Array((oK+2)*2);ez(y9);var lK=Array(az*2);ez(lK);var rK=Array(qe0);ez(rK);var sK=Array(ea0-aa0+1);ez(sK);var eh=Array(sh);ez(eh);var Rw=Array(az);ez(Rw);function dh($,Y,q,z,J){this.static_tree=$,this.extra_bits=Y,this.extra_base=q,this.elems=z,this.max_length=J,this.has_stree=$&&$.length}var L50,w50,F50;function mh($,Y){this.dyn_tree=$,this.max_code=0,this.stat_desc=Y}function O50($){return $<256?rK[$]:rK[256+($>>>7)]}function tK($,Y){$.pending_buf[$.pending++]=Y&255,$.pending_buf[$.pending++]=Y>>>8&255}function n8($,Y,q){if($.bi_valid>ph-q)$.bi_buf|=Y<<$.bi_valid&65535,tK($,$.bi_buf),$.bi_buf=Y>>ph-$.bi_valid,$.bi_valid+=q-ph;else $.bi_buf|=Y<<$.bi_valid&65535,$.bi_valid+=q}function f5($,Y,q){n8($,q[Y*2],q[Y*2+1])}function M50($,Y){var q=0;do q|=$&1,$>>>=1,q<<=1;while(--Y>0);return q>>>1}function ze0($){if($.bi_valid===16)tK($,$.bi_buf),$.bi_buf=0,$.bi_valid=0;else if($.bi_valid>=8)$.pending_buf[$.pending++]=$.bi_buf&255,$.bi_buf>>=8,$.bi_valid-=8}function Je0($,Y){var{dyn_tree:q,max_code:z}=Y,J=Y.stat_desc.static_tree,U=Y.stat_desc.has_stree,I=Y.stat_desc.extra_bits,Q=Y.stat_desc.extra_base,K=Y.stat_desc.max_length,G,H,Z,V,X,L,w=0;for(V=0;V<=f2;V++)$.bl_count[V]=0;q[$.heap[$.heap_max]*2+1]=0;for(G=$.heap_max+1;G<H50;G++){if(H=$.heap[G],V=q[q[H*2+1]*2+1]+1,V>K)V=K,w++;if(q[H*2+1]=V,H>z)continue;if($.bl_count[V]++,X=0,H>=Q)X=I[H-Q];if(L=q[H*2],$.opt_len+=L*(V+X),U)$.static_len+=L*(J[H*2+1]+X)}if(w===0)return;do{V=K-1;while($.bl_count[V]===0)V--;$.bl_count[V]--,$.bl_count[V+1]+=2,$.bl_count[K]--,w-=2}while(w>0);for(V=K;V!==0;V--){H=$.bl_count[V];while(H!==0){if(Z=$.heap[--G],Z>z)continue;if(q[Z*2+1]!==V)$.opt_len+=(V-q[Z*2+1])*q[Z*2],q[Z*2+1]=V;H--}}}function N50($,Y,q){var z=Array(f2+1),J=0,U,I;for(U=1;U<=f2;U++)z[U]=J=J+q[U-1]<<1;for(I=0;I<=Y;I++){var Q=$[I*2+1];if(Q===0)continue;$[I*2]=M50(z[Q]++,Q)}}function Ue0(){var $,Y,q,z,J,U=Array(f2+1);q=0;for(z=0;z<sh-1;z++){eh[z]=q;for($=0;$<1<<oh[z];$++)sK[q++]=z}sK[q-1]=z,J=0;for(z=0;z<16;z++){Rw[z]=J;for($=0;$<1<<_w[z];$++)rK[J++]=z}J>>=7;for(;z<az;z++){Rw[z]=J<<7;for($=0;$<1<<_w[z]-7;$++)rK[256+J++]=z}for(Y=0;Y<=f2;Y++)U[Y]=0;$=0;while($<=143)y9[$*2+1]=8,$++,U[8]++;while($<=255)y9[$*2+1]=9,$++,U[9]++;while($<=279)y9[$*2+1]=7,$++,U[7]++;while($<=287)y9[$*2+1]=8,$++,U[8]++;N50(y9,oK+1,U);for($=0;$<az;$++)lK[$*2+1]=5,lK[$*2]=M50($,5);L50=new dh(y9,oh,aK+1,oK,f2),w50=new dh(lK,_w,0,az,f2),F50=new dh([],Ye0,0,th,$e0)}function D50($){var Y;for(Y=0;Y<oK;Y++)$.dyn_ltree[Y*2]=0;for(Y=0;Y<az;Y++)$.dyn_dtree[Y*2]=0;for(Y=0;Y<th;Y++)$.bl_tree[Y*2]=0;$.dyn_ltree[ah*2]=1,$.opt_len=$.static_len=0,$.last_lit=$.matches=0}function P50($){if($.bi_valid>8)tK($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function Ie0($,Y,q,z){if(P50($),z)tK($,q),tK($,~q);la0.arraySet($.pending_buf,$.window,Y,q,$.pending),$.pending+=q}function J50($,Y,q,z){var J=Y*2,U=q*2;return $[J]<$[U]||$[J]===$[U]&&z[Y]<=z[q]}function lh($,Y,q){var z=$.heap[q],J=q<<1;while(J<=$.heap_len){if(J<$.heap_len&&J50(Y,$.heap[J+1],$.heap[J],$.depth))J++;if(J50(Y,z,$.heap[J],$.depth))break;$.heap[q]=$.heap[J],q=J,J<<=1}$.heap[q]=z}function U50($,Y,q){var z,J,U=0,I,Q;if($.last_lit!==0)do if(z=$.pending_buf[$.d_buf+U*2]<<8|$.pending_buf[$.d_buf+U*2+1],J=$.pending_buf[$.l_buf+U],U++,z===0)f5($,J,Y);else{if(I=sK[J],f5($,I+aK+1,Y),Q=oh[I],Q!==0)J-=eh[I],n8($,J,Q);if(z--,I=O50(z),f5($,I,q),Q=_w[I],Q!==0)z-=Rw[I],n8($,z,Q)}while(U<$.last_lit);f5($,ah,Y)}function rh($,Y){var q=Y.dyn_tree,z=Y.stat_desc.static_tree,J=Y.stat_desc.has_stree,U=Y.stat_desc.elems,I,Q,K=-1,G;$.heap_len=0,$.heap_max=H50;for(I=0;I<U;I++)if(q[I*2]!==0)$.heap[++$.heap_len]=K=I,$.depth[I]=0;else q[I*2+1]=0;while($.heap_len<2)if(G=$.heap[++$.heap_len]=K<2?++K:0,q[G*2]=1,$.depth[G]=0,$.opt_len--,J)$.static_len-=z[G*2+1];Y.max_code=K;for(I=$.heap_len>>1;I>=1;I--)lh($,q,I);G=U;do I=$.heap[1],$.heap[1]=$.heap[$.heap_len--],lh($,q,1),Q=$.heap[1],$.heap[--$.heap_max]=I,$.heap[--$.heap_max]=Q,q[G*2]=q[I*2]+q[Q*2],$.depth[G]=($.depth[I]>=$.depth[Q]?$.depth[I]:$.depth[Q])+1,q[I*2+1]=q[Q*2+1]=G,$.heap[1]=G++,lh($,q,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],Je0($,Y),N50(q,K,$.bl_count)}function I50($,Y,q){var z,J=-1,U,I=Y[1],Q=0,K=7,G=4;if(I===0)K=138,G=3;Y[(q+1)*2+1]=65535;for(z=0;z<=q;z++){if(U=I,I=Y[(z+1)*2+1],++Q<K&&U===I)continue;else if(Q<G)$.bl_tree[U*2]+=Q;else if(U!==0){if(U!==J)$.bl_tree[U*2]++;$.bl_tree[Z50*2]++}else if(Q<=10)$.bl_tree[W50*2]++;else $.bl_tree[X50*2]++;if(Q=0,J=U,I===0)K=138,G=3;else if(U===I)K=6,G=3;else K=7,G=4}}function Q50($,Y,q){var z,J=-1,U,I=Y[1],Q=0,K=7,G=4;if(I===0)K=138,G=3;for(z=0;z<=q;z++){if(U=I,I=Y[(z+1)*2+1],++Q<K&&U===I)continue;else if(Q<G)do f5($,U,$.bl_tree);while(--Q!==0);else if(U!==0){if(U!==J)f5($,U,$.bl_tree),Q--;f5($,Z50,$.bl_tree),n8($,Q-3,2)}else if(Q<=10)f5($,W50,$.bl_tree),n8($,Q-3,3);else f5($,X50,$.bl_tree),n8($,Q-11,7);if(Q=0,J=U,I===0)K=138,G=3;else if(U===I)K=6,G=3;else K=7,G=4}}function Qe0($){var Y;I50($,$.dyn_ltree,$.l_desc.max_code),I50($,$.dyn_dtree,$.d_desc.max_code),rh($,$.bl_desc);for(Y=th-1;Y>=3;Y--)if($.bl_tree[V50[Y]*2+1]!==0)break;return $.opt_len+=3*(Y+1)+5+5+4,Y}function Ke0($,Y,q,z){var J;n8($,Y-257,5),n8($,q-1,5),n8($,z-4,4);for(J=0;J<z;J++)n8($,$.bl_tree[V50[J]*2+1],3);Q50($,$.dyn_ltree,Y-1),Q50($,$.dyn_dtree,q-1)}function Ge0($){var Y=4093624447,q;for(q=0;q<=31;q++,Y>>>=1)if(Y&1&&$.dyn_ltree[q*2]!==0)return q50;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return z50;for(q=32;q<aK;q++)if($.dyn_ltree[q*2]!==0)return z50;return q50}var K50=!1;function He0($){if(!K50)Ue0(),K50=!0;$.l_desc=new mh($.dyn_ltree,L50),$.d_desc=new mh($.dyn_dtree,w50),$.bl_desc=new mh($.bl_tree,F50),$.bi_buf=0,$.bi_valid=0,D50($)}function A50($,Y,q,z){n8($,(sa0<<1)+(z?1:0),3),Ie0($,Y,q,!0)}function Ze0($){n8($,G50<<1,3),f5($,ah,y9),ze0($)}function We0($,Y,q,z){var J,U,I=0;if($.level>0){if($.strm.data_type===ra0)$.strm.data_type=Ge0($);if(rh($,$.l_desc),rh($,$.d_desc),I=Qe0($),J=$.opt_len+3+7>>>3,U=$.static_len+3+7>>>3,U<=J)J=U}else J=U=q+5;if(q+4<=J&&Y!==-1)A50($,Y,q,z);else if($.strategy===oa0||U===J)n8($,(G50<<1)+(z?1:0),3),U50($,y9,lK);else n8($,(ta0<<1)+(z?1:0),3),Ke0($,$.l_desc.max_code+1,$.d_desc.max_code+1,I+1),U50($,$.dyn_ltree,$.dyn_dtree);if(D50($),z)P50($)}function Xe0($,Y,q){if($.pending_buf[$.d_buf+$.last_lit*2]=Y>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=Y&255,$.pending_buf[$.l_buf+$.last_lit]=q&255,$.last_lit++,Y===0)$.dyn_ltree[q*2]++;else $.matches++,Y--,$.dyn_ltree[(sK[q]+aK+1)*2]++,$.dyn_dtree[O50(Y)*2]++;return $.last_lit===$.lit_bufsize-1}Ve0._tr_init=He0;Ve0._tr_stored_block=A50;Ve0._tr_flush_block=We0;Ve0._tr_tally=Xe0;Ve0._tr_align=Ze0});var $g=M((O04,T50)=>{function Ne0($,Y,q,z){var J=$&65535|0,U=$>>>16&65535|0,I=0;while(q!==0){I=q>2000?2000:q,q-=I;do J=J+Y[z++]|0,U=U+J|0;while(--I);J%=65521,U%=65521}return J|U<<16|0}T50.exports=Ne0});var Yg=M((M04,E50)=>{function De0(){var $,Y=[];for(var q=0;q<256;q++){$=q;for(var z=0;z<8;z++)$=$&1?3988292384^$>>>1:$>>>1;Y[q]=$}return Y}var Pe0=De0();function Ae0($,Y,q,z){var J=Pe0,U=z+q;$^=-1;for(var I=z;I<U;I++)$=$>>>8^J[($^Y[I])&255];return $^-1}E50.exports=Ae0});var Cw=M((N04,j50)=>{j50.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var x50=M((q01)=>{var D8=S9(),E$=B50(),v50=$g(),e3=Yg(),Be0=Cw(),c2=0,Te0=1,Ee0=3,J7=4,_50=5,i5=0,R50=1,j$=-2,je0=-3,qg=-5,_e0=-1,Re0=1,vw=2,Ce0=3,ve0=4,he0=0,ge0=2,yw=8,Se0=9,ye0=15,xe0=8,ke0=29,ue0=256,Jg=ue0+1+ke0,fe0=30,be0=19,ie0=2*Jg+1,ne0=15,B1=3,q7=258,G5=q7+B1+1,ce0=32,xw=42,Ug=69,hw=73,gw=91,Sw=103,b2=113,$G=666,F6=1,YG=2,i2=3,qJ=4,pe0=3;function z7($,Y){return $.msg=Be0[Y],Y}function C50($){return($<<1)-($>4?9:0)}function Y7($){var Y=$.length;while(--Y>=0)$[Y]=0}function $7($){var Y=$.state,q=Y.pending;if(q>$.avail_out)q=$.avail_out;if(q===0)return;if(D8.arraySet($.output,Y.pending_buf,Y.pending_out,q,$.next_out),$.next_out+=q,Y.pending_out+=q,$.total_out+=q,$.avail_out-=q,Y.pending-=q,Y.pending===0)Y.pending_out=0}function n6($,Y){E$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,Y),$.block_start=$.strstart,$7($.strm)}function k1($,Y){$.pending_buf[$.pending++]=Y}function eK($,Y){$.pending_buf[$.pending++]=Y>>>8&255,$.pending_buf[$.pending++]=Y&255}function de0($,Y,q,z){var J=$.avail_in;if(J>z)J=z;if(J===0)return 0;if($.avail_in-=J,D8.arraySet(Y,$.input,$.next_in,J,q),$.state.wrap===1)$.adler=v50($.adler,Y,J,q);else if($.state.wrap===2)$.adler=e3($.adler,Y,J,q);return $.next_in+=J,$.total_in+=J,J}function h50($,Y){var{max_chain_length:q,strstart:z}=$,J,U,I=$.prev_length,Q=$.nice_match,K=$.strstart>$.w_size-G5?$.strstart-($.w_size-G5):0,G=$.window,H=$.w_mask,Z=$.prev,V=$.strstart+q7,X=G[z+I-1],L=G[z+I];if($.prev_length>=$.good_match)q>>=2;if(Q>$.lookahead)Q=$.lookahead;do{if(J=Y,G[J+I]!==L||G[J+I-1]!==X||G[J]!==G[z]||G[++J]!==G[z+1])continue;z+=2,J++;do;while(G[++z]===G[++J]&&G[++z]===G[++J]&&G[++z]===G[++J]&&G[++z]===G[++J]&&G[++z]===G[++J]&&G[++z]===G[++J]&&G[++z]===G[++J]&&G[++z]===G[++J]&&z<V);if(U=q7-(V-z),z=V-q7,U>I){if($.match_start=Y,I=U,U>=Q)break;X=G[z+I-1],L=G[z+I]}}while((Y=Z[Y&H])>K&&--q!==0);if(I<=$.lookahead)return I;return $.lookahead}function n2($){var Y=$.w_size,q,z,J,U,I;do{if(U=$.window_size-$.lookahead-$.strstart,$.strstart>=Y+(Y-G5)){D8.arraySet($.window,$.window,Y,Y,0),$.match_start-=Y,$.strstart-=Y,$.block_start-=Y,z=$.hash_size,q=z;do J=$.head[--q],$.head[q]=J>=Y?J-Y:0;while(--z);z=Y,q=z;do J=$.prev[--q],$.prev[q]=J>=Y?J-Y:0;while(--z);U+=Y}if($.strm.avail_in===0)break;if(z=de0($.strm,$.window,$.strstart+$.lookahead,U),$.lookahead+=z,$.lookahead+$.insert>=B1){I=$.strstart-$.insert,$.ins_h=$.window[I],$.ins_h=($.ins_h<<$.hash_shift^$.window[I+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[I+B1-1])&$.hash_mask,$.prev[I&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=I,I++,$.insert--,$.lookahead+$.insert<B1)break}}while($.lookahead<G5&&$.strm.avail_in!==0)}function me0($,Y){var q=65535;if(q>$.pending_buf_size-5)q=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(n2($),$.lookahead===0&&Y===c2)return F6;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var z=$.block_start+q;if($.strstart===0||$.strstart>=z){if($.lookahead=$.strstart-z,$.strstart=z,n6($,!1),$.strm.avail_out===0)return F6}if($.strstart-$.block_start>=$.w_size-G5){if(n6($,!1),$.strm.avail_out===0)return F6}}if($.insert=0,Y===J7){if(n6($,!0),$.strm.avail_out===0)return i2;return qJ}if($.strstart>$.block_start){if(n6($,!1),$.strm.avail_out===0)return F6}return F6}function zg($,Y){var q,z;for(;;){if($.lookahead<G5){if(n2($),$.lookahead<G5&&Y===c2)return F6;if($.lookahead===0)break}if(q=0,$.lookahead>=B1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+B1-1])&$.hash_mask,q=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(q!==0&&$.strstart-q<=$.w_size-G5)$.match_length=h50($,q);if($.match_length>=B1)if(z=E$._tr_tally($,$.strstart-$.match_start,$.match_length-B1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=B1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+B1-1])&$.hash_mask,q=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.match_length!==0);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else z=E$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(z){if(n6($,!1),$.strm.avail_out===0)return F6}}if($.insert=$.strstart<B1-1?$.strstart:B1-1,Y===J7){if(n6($,!0),$.strm.avail_out===0)return i2;return qJ}if($.last_lit){if(n6($,!1),$.strm.avail_out===0)return F6}return YG}function $J($,Y){var q,z,J;for(;;){if($.lookahead<G5){if(n2($),$.lookahead<G5&&Y===c2)return F6;if($.lookahead===0)break}if(q=0,$.lookahead>=B1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+B1-1])&$.hash_mask,q=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=B1-1,q!==0&&$.prev_length<$.max_lazy_match&&$.strstart-q<=$.w_size-G5){if($.match_length=h50($,q),$.match_length<=5&&($.strategy===Re0||$.match_length===B1&&$.strstart-$.match_start>4096))$.match_length=B1-1}if($.prev_length>=B1&&$.match_length<=$.prev_length){J=$.strstart+$.lookahead-B1,z=E$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-B1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=J)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+B1-1])&$.hash_mask,q=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=B1-1,$.strstart++,z){if(n6($,!1),$.strm.avail_out===0)return F6}}else if($.match_available){if(z=E$._tr_tally($,0,$.window[$.strstart-1]),z)n6($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return F6}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)z=E$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart<B1-1?$.strstart:B1-1,Y===J7){if(n6($,!0),$.strm.avail_out===0)return i2;return qJ}if($.last_lit){if(n6($,!1),$.strm.avail_out===0)return F6}return YG}function le0($,Y){var q,z,J,U,I=$.window;for(;;){if($.lookahead<=q7){if(n2($),$.lookahead<=q7&&Y===c2)return F6;if($.lookahead===0)break}if($.match_length=0,$.lookahead>=B1&&$.strstart>0){if(J=$.strstart-1,z=I[J],z===I[++J]&&z===I[++J]&&z===I[++J]){U=$.strstart+q7;do;while(z===I[++J]&&z===I[++J]&&z===I[++J]&&z===I[++J]&&z===I[++J]&&z===I[++J]&&z===I[++J]&&z===I[++J]&&J<U);if($.match_length=q7-(U-J),$.match_length>$.lookahead)$.match_length=$.lookahead}}if($.match_length>=B1)q=E$._tr_tally($,1,$.match_length-B1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else q=E$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(q){if(n6($,!1),$.strm.avail_out===0)return F6}}if($.insert=0,Y===J7){if(n6($,!0),$.strm.avail_out===0)return i2;return qJ}if($.last_lit){if(n6($,!1),$.strm.avail_out===0)return F6}return YG}function oe0($,Y){var q;for(;;){if($.lookahead===0){if(n2($),$.lookahead===0){if(Y===c2)return F6;break}}if($.match_length=0,q=E$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,q){if(n6($,!1),$.strm.avail_out===0)return F6}}if($.insert=0,Y===J7){if(n6($,!0),$.strm.avail_out===0)return i2;return qJ}if($.last_lit){if(n6($,!1),$.strm.avail_out===0)return F6}return YG}function b5($,Y,q,z,J){this.good_length=$,this.max_lazy=Y,this.nice_length=q,this.max_chain=z,this.func=J}var YJ;YJ=[new b5(0,0,0,0,me0),new b5(4,4,8,4,zg),new b5(4,5,16,8,zg),new b5(4,6,32,32,zg),new b5(4,4,16,16,$J),new b5(8,16,32,32,$J),new b5(8,16,128,128,$J),new b5(8,32,128,256,$J),new b5(32,128,258,1024,$J),new b5(32,258,258,4096,$J)];function re0($){$.window_size=2*$.w_size,Y7($.head),$.max_lazy_match=YJ[$.level].max_lazy,$.good_match=YJ[$.level].good_length,$.nice_match=YJ[$.level].nice_length,$.max_chain_length=YJ[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=B1-1,$.match_available=0,$.ins_h=0}function se0(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=yw,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new D8.Buf16(ie0*2),this.dyn_dtree=new D8.Buf16((2*fe0+1)*2),this.bl_tree=new D8.Buf16((2*be0+1)*2),Y7(this.dyn_ltree),Y7(this.dyn_dtree),Y7(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new D8.Buf16(ne0+1),this.heap=new D8.Buf16(2*Jg+1),Y7(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new D8.Buf16(2*Jg+1),Y7(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function g50($){var Y;if(!$||!$.state)return z7($,j$);if($.total_in=$.total_out=0,$.data_type=ge0,Y=$.state,Y.pending=0,Y.pending_out=0,Y.wrap<0)Y.wrap=-Y.wrap;return Y.status=Y.wrap?xw:b2,$.adler=Y.wrap===2?0:1,Y.last_flush=c2,E$._tr_init(Y),i5}function S50($){var Y=g50($);if(Y===i5)re0($.state);return Y}function te0($,Y){if(!$||!$.state)return j$;if($.state.wrap!==2)return j$;return $.state.gzhead=Y,i5}function y50($,Y,q,z,J,U){if(!$)return j$;var I=1;if(Y===_e0)Y=6;if(z<0)I=0,z=-z;else if(z>15)I=2,z-=16;if(J<1||J>Se0||q!==yw||z<8||z>15||Y<0||Y>9||U<0||U>ve0)return z7($,j$);if(z===8)z=9;var Q=new se0;return $.state=Q,Q.strm=$,Q.wrap=I,Q.gzhead=null,Q.w_bits=z,Q.w_size=1<<Q.w_bits,Q.w_mask=Q.w_size-1,Q.hash_bits=J+7,Q.hash_size=1<<Q.hash_bits,Q.hash_mask=Q.hash_size-1,Q.hash_shift=~~((Q.hash_bits+B1-1)/B1),Q.window=new D8.Buf8(Q.w_size*2),Q.head=new D8.Buf16(Q.hash_size),Q.prev=new D8.Buf16(Q.w_size),Q.lit_bufsize=1<<J+6,Q.pending_buf_size=Q.lit_bufsize*4,Q.pending_buf=new D8.Buf8(Q.pending_buf_size),Q.d_buf=1*Q.lit_bufsize,Q.l_buf=3*Q.lit_bufsize,Q.level=Y,Q.strategy=U,Q.method=q,S50($)}function ae0($,Y){return y50($,Y,yw,ye0,xe0,he0)}function ee0($,Y){var q,z,J,U;if(!$||!$.state||Y>_50||Y<0)return $?z7($,j$):j$;if(z=$.state,!$.output||!$.input&&$.avail_in!==0||z.status===$G&&Y!==J7)return z7($,$.avail_out===0?qg:j$);if(z.strm=$,q=z.last_flush,z.last_flush=Y,z.status===xw)if(z.wrap===2)if($.adler=0,k1(z,31),k1(z,139),k1(z,8),!z.gzhead)k1(z,0),k1(z,0),k1(z,0),k1(z,0),k1(z,0),k1(z,z.level===9?2:z.strategy>=vw||z.level<2?4:0),k1(z,pe0),z.status=b2;else{if(k1(z,(z.gzhead.text?1:0)+(z.gzhead.hcrc?2:0)+(!z.gzhead.extra?0:4)+(!z.gzhead.name?0:8)+(!z.gzhead.comment?0:16)),k1(z,z.gzhead.time&255),k1(z,z.gzhead.time>>8&255),k1(z,z.gzhead.time>>16&255),k1(z,z.gzhead.time>>24&255),k1(z,z.level===9?2:z.strategy>=vw||z.level<2?4:0),k1(z,z.gzhead.os&255),z.gzhead.extra&&z.gzhead.extra.length)k1(z,z.gzhead.extra.length&255),k1(z,z.gzhead.extra.length>>8&255);if(z.gzhead.hcrc)$.adler=e3($.adler,z.pending_buf,z.pending,0);z.gzindex=0,z.status=Ug}else{var I=yw+(z.w_bits-8<<4)<<8,Q=-1;if(z.strategy>=vw||z.level<2)Q=0;else if(z.level<6)Q=1;else if(z.level===6)Q=2;else Q=3;if(I|=Q<<6,z.strstart!==0)I|=ce0;if(I+=31-I%31,z.status=b2,eK(z,I),z.strstart!==0)eK(z,$.adler>>>16),eK(z,$.adler&65535);$.adler=1}if(z.status===Ug)if(z.gzhead.extra){J=z.pending;while(z.gzindex<(z.gzhead.extra.length&65535)){if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>J)$.adler=e3($.adler,z.pending_buf,z.pending-J,J);if($7($),J=z.pending,z.pending===z.pending_buf_size)break}k1(z,z.gzhead.extra[z.gzindex]&255),z.gzindex++}if(z.gzhead.hcrc&&z.pending>J)$.adler=e3($.adler,z.pending_buf,z.pending-J,J);if(z.gzindex===z.gzhead.extra.length)z.gzindex=0,z.status=hw}else z.status=hw;if(z.status===hw)if(z.gzhead.name){J=z.pending;do{if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>J)$.adler=e3($.adler,z.pending_buf,z.pending-J,J);if($7($),J=z.pending,z.pending===z.pending_buf_size){U=1;break}}if(z.gzindex<z.gzhead.name.length)U=z.gzhead.name.charCodeAt(z.gzindex++)&255;else U=0;k1(z,U)}while(U!==0);if(z.gzhead.hcrc&&z.pending>J)$.adler=e3($.adler,z.pending_buf,z.pending-J,J);if(U===0)z.gzindex=0,z.status=gw}else z.status=gw;if(z.status===gw)if(z.gzhead.comment){J=z.pending;do{if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>J)$.adler=e3($.adler,z.pending_buf,z.pending-J,J);if($7($),J=z.pending,z.pending===z.pending_buf_size){U=1;break}}if(z.gzindex<z.gzhead.comment.length)U=z.gzhead.comment.charCodeAt(z.gzindex++)&255;else U=0;k1(z,U)}while(U!==0);if(z.gzhead.hcrc&&z.pending>J)$.adler=e3($.adler,z.pending_buf,z.pending-J,J);if(U===0)z.status=Sw}else z.status=Sw;if(z.status===Sw)if(z.gzhead.hcrc){if(z.pending+2>z.pending_buf_size)$7($);if(z.pending+2<=z.pending_buf_size)k1(z,$.adler&255),k1(z,$.adler>>8&255),$.adler=0,z.status=b2}else z.status=b2;if(z.pending!==0){if($7($),$.avail_out===0)return z.last_flush=-1,i5}else if($.avail_in===0&&C50(Y)<=C50(q)&&Y!==J7)return z7($,qg);if(z.status===$G&&$.avail_in!==0)return z7($,qg);if($.avail_in!==0||z.lookahead!==0||Y!==c2&&z.status!==$G){var K=z.strategy===vw?oe0(z,Y):z.strategy===Ce0?le0(z,Y):YJ[z.level].func(z,Y);if(K===i2||K===qJ)z.status=$G;if(K===F6||K===i2){if($.avail_out===0)z.last_flush=-1;return i5}if(K===YG){if(Y===Te0)E$._tr_align(z);else if(Y!==_50){if(E$._tr_stored_block(z,0,0,!1),Y===Ee0){if(Y7(z.head),z.lookahead===0)z.strstart=0,z.block_start=0,z.insert=0}}if($7($),$.avail_out===0)return z.last_flush=-1,i5}}if(Y!==J7)return i5;if(z.wrap<=0)return R50;if(z.wrap===2)k1(z,$.adler&255),k1(z,$.adler>>8&255),k1(z,$.adler>>16&255),k1(z,$.adler>>24&255),k1(z,$.total_in&255),k1(z,$.total_in>>8&255),k1(z,$.total_in>>16&255),k1(z,$.total_in>>24&255);else eK(z,$.adler>>>16),eK(z,$.adler&65535);if($7($),z.wrap>0)z.wrap=-z.wrap;return z.pending!==0?i5:R50}function $01($){var Y;if(!$||!$.state)return j$;if(Y=$.state.status,Y!==xw&&Y!==Ug&&Y!==hw&&Y!==gw&&Y!==Sw&&Y!==b2&&Y!==$G)return z7($,j$);return $.state=null,Y===b2?z7($,je0):i5}function Y01($,Y){var q=Y.length,z,J,U,I,Q,K,G,H;if(!$||!$.state)return j$;if(z=$.state,I=z.wrap,I===2||I===1&&z.status!==xw||z.lookahead)return j$;if(I===1)$.adler=v50($.adler,Y,q,0);if(z.wrap=0,q>=z.w_size){if(I===0)Y7(z.head),z.strstart=0,z.block_start=0,z.insert=0;H=new D8.Buf8(z.w_size),D8.arraySet(H,Y,q-z.w_size,z.w_size,0),Y=H,q=z.w_size}Q=$.avail_in,K=$.next_in,G=$.input,$.avail_in=q,$.next_in=0,$.input=Y,n2(z);while(z.lookahead>=B1){J=z.strstart,U=z.lookahead-(B1-1);do z.ins_h=(z.ins_h<<z.hash_shift^z.window[J+B1-1])&z.hash_mask,z.prev[J&z.w_mask]=z.head[z.ins_h],z.head[z.ins_h]=J,J++;while(--U);z.strstart=J,z.lookahead=B1-1,n2(z)}return z.strstart+=z.lookahead,z.block_start=z.strstart,z.insert=z.lookahead,z.lookahead=0,z.match_length=z.prev_length=B1-1,z.match_available=0,$.next_in=K,$.input=G,$.avail_in=Q,z.wrap=I,i5}q01.deflateInit=ae0;q01.deflateInit2=y50;q01.deflateReset=S50;q01.deflateResetKeep=g50;q01.deflateSetHeader=te0;q01.deflate=ee0;q01.deflateEnd=$01;q01.deflateSetDictionary=Y01;q01.deflateInfo="pako deflate (from Nodeca project)"});var Ig=M((W01)=>{var kw=S9(),k50=!0,u50=!0;try{String.fromCharCode.apply(null,[0])}catch($){k50=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){u50=!1}var qG=new kw.Buf8(256);for(n5=0;n5<256;n5++)qG[n5]=n5>=252?6:n5>=248?5:n5>=240?4:n5>=224?3:n5>=192?2:1;var n5;qG[254]=qG[254]=1;W01.string2buf=function($){var Y,q,z,J,U,I=$.length,Q=0;for(J=0;J<I;J++){if(q=$.charCodeAt(J),(q&64512)===55296&&J+1<I){if(z=$.charCodeAt(J+1),(z&64512)===56320)q=65536+(q-55296<<10)+(z-56320),J++}Q+=q<128?1:q<2048?2:q<65536?3:4}Y=new kw.Buf8(Q);for(U=0,J=0;U<Q;J++){if(q=$.charCodeAt(J),(q&64512)===55296&&J+1<I){if(z=$.charCodeAt(J+1),(z&64512)===56320)q=65536+(q-55296<<10)+(z-56320),J++}if(q<128)Y[U++]=q;else if(q<2048)Y[U++]=192|q>>>6,Y[U++]=128|q&63;else if(q<65536)Y[U++]=224|q>>>12,Y[U++]=128|q>>>6&63,Y[U++]=128|q&63;else Y[U++]=240|q>>>18,Y[U++]=128|q>>>12&63,Y[U++]=128|q>>>6&63,Y[U++]=128|q&63}return Y};function f50($,Y){if(Y<65534){if($.subarray&&u50||!$.subarray&&k50)return String.fromCharCode.apply(null,kw.shrinkBuf($,Y))}var q="";for(var z=0;z<Y;z++)q+=String.fromCharCode($[z]);return q}W01.buf2binstring=function($){return f50($,$.length)};W01.binstring2buf=function($){var Y=new kw.Buf8($.length);for(var q=0,z=Y.length;q<z;q++)Y[q]=$.charCodeAt(q);return Y};W01.buf2string=function($,Y){var q,z,J,U,I=Y||$.length,Q=Array(I*2);for(z=0,q=0;q<I;){if(J=$[q++],J<128){Q[z++]=J;continue}if(U=qG[J],U>4){Q[z++]=65533,q+=U-1;continue}J&=U===2?31:U===3?15:7;while(U>1&&q<I)J=J<<6|$[q++]&63,U--;if(U>1){Q[z++]=65533;continue}if(J<65536)Q[z++]=J;else J-=65536,Q[z++]=55296|J>>10&1023,Q[z++]=56320|J&1023}return f50(Q,z)};W01.utf8border=function($,Y){var q;if(Y=Y||$.length,Y>$.length)Y=$.length;q=Y-1;while(q>=0&&($[q]&192)===128)q--;if(q<0)return Y;if(q===0)return Y;return q+qG[$[q]]>Y?q:Y}});var Qg=M((A04,b50)=>{function O01(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}b50.exports=O01});var p50=M((E01)=>{var zG=x50(),JG=S9(),Gg=Ig(),Hg=Cw(),M01=Qg(),c50=Object.prototype.toString,N01=0,Kg=4,zJ=0,i50=1,n50=2,D01=-1,P01=0,A01=8;function p2($){if(!(this instanceof p2))return new p2($);this.options=JG.assign({level:D01,method:A01,chunkSize:16384,windowBits:15,memLevel:8,strategy:P01,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>0)Y.windowBits=-Y.windowBits;else if(Y.gzip&&Y.windowBits>0&&Y.windowBits<16)Y.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new M01,this.strm.avail_out=0;var q=zG.deflateInit2(this.strm,Y.level,Y.method,Y.windowBits,Y.memLevel,Y.strategy);if(q!==zJ)throw Error(Hg[q]);if(Y.header)zG.deflateSetHeader(this.strm,Y.header);if(Y.dictionary){var z;if(typeof Y.dictionary==="string")z=Gg.string2buf(Y.dictionary);else if(c50.call(Y.dictionary)==="[object ArrayBuffer]")z=new Uint8Array(Y.dictionary);else z=Y.dictionary;if(q=zG.deflateSetDictionary(this.strm,z),q!==zJ)throw Error(Hg[q]);this._dict_set=!0}}p2.prototype.push=function($,Y){var q=this.strm,z=this.options.chunkSize,J,U;if(this.ended)return!1;if(U=Y===~~Y?Y:Y===!0?Kg:N01,typeof $==="string")q.input=Gg.string2buf($);else if(c50.call($)==="[object ArrayBuffer]")q.input=new Uint8Array($);else q.input=$;q.next_in=0,q.avail_in=q.input.length;do{if(q.avail_out===0)q.output=new JG.Buf8(z),q.next_out=0,q.avail_out=z;if(J=zG.deflate(q,U),J!==i50&&J!==zJ)return this.onEnd(J),this.ended=!0,!1;if(q.avail_out===0||q.avail_in===0&&(U===Kg||U===n50))if(this.options.to==="string")this.onData(Gg.buf2binstring(JG.shrinkBuf(q.output,q.next_out)));else this.onData(JG.shrinkBuf(q.output,q.next_out))}while((q.avail_in>0||q.avail_out===0)&&J!==i50);if(U===Kg)return J=zG.deflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===zJ;if(U===n50)return this.onEnd(zJ),q.avail_out=0,!0;return!0};p2.prototype.onData=function($){this.chunks.push($)};p2.prototype.onEnd=function($){if($===zJ)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=JG.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function Zg($,Y){var q=new p2(Y);if(q.push($,!0),q.err)throw q.msg||Hg[q.err];return q.result}function B01($,Y){return Y=Y||{},Y.raw=!0,Zg($,Y)}function T01($,Y){return Y=Y||{},Y.gzip=!0,Zg($,Y)}E01.Deflate=p2;E01.deflate=Zg;E01.deflateRaw=B01;E01.gzip=T01});var m50=M((T04,d50)=>{var uw=30,v01=12;d50.exports=function(Y,q){var z,J,U,I,Q,K,G,H,Z,V,X,L,w,F,O,P,B,A,E,y,v,k,C,c,n;z=Y.state,J=Y.next_in,c=Y.input,U=J+(Y.avail_in-5),I=Y.next_out,n=Y.output,Q=I-(q-Y.avail_out),K=I+(Y.avail_out-257),G=z.dmax,H=z.wsize,Z=z.whave,V=z.wnext,X=z.window,L=z.hold,w=z.bits,F=z.lencode,O=z.distcode,P=(1<<z.lenbits)-1,B=(1<<z.distbits)-1;$:do{if(w<15)L+=c[J++]<<w,w+=8,L+=c[J++]<<w,w+=8;A=F[L&P];Y:for(;;){if(E=A>>>24,L>>>=E,w-=E,E=A>>>16&255,E===0)n[I++]=A&65535;else if(E&16){if(y=A&65535,E&=15,E){if(w<E)L+=c[J++]<<w,w+=8;y+=L&(1<<E)-1,L>>>=E,w-=E}if(w<15)L+=c[J++]<<w,w+=8,L+=c[J++]<<w,w+=8;A=O[L&B];q:for(;;){if(E=A>>>24,L>>>=E,w-=E,E=A>>>16&255,E&16){if(v=A&65535,E&=15,w<E){if(L+=c[J++]<<w,w+=8,w<E)L+=c[J++]<<w,w+=8}if(v+=L&(1<<E)-1,v>G){Y.msg="invalid distance too far back",z.mode=uw;break $}if(L>>>=E,w-=E,E=I-Q,v>E){if(E=v-E,E>Z){if(z.sane){Y.msg="invalid distance too far back",z.mode=uw;break $}}if(k=0,C=X,V===0){if(k+=H-E,E<y){y-=E;do n[I++]=X[k++];while(--E);k=I-v,C=n}}else if(V<E){if(k+=H+V-E,E-=V,E<y){y-=E;do n[I++]=X[k++];while(--E);if(k=0,V<y){E=V,y-=E;do n[I++]=X[k++];while(--E);k=I-v,C=n}}}else if(k+=V-E,E<y){y-=E;do n[I++]=X[k++];while(--E);k=I-v,C=n}while(y>2)n[I++]=C[k++],n[I++]=C[k++],n[I++]=C[k++],y-=3;if(y){if(n[I++]=C[k++],y>1)n[I++]=C[k++]}}else{k=I-v;do n[I++]=n[k++],n[I++]=n[k++],n[I++]=n[k++],y-=3;while(y>2);if(y){if(n[I++]=n[k++],y>1)n[I++]=n[k++]}}}else if((E&64)===0){A=O[(A&65535)+(L&(1<<E)-1)];continue q}else{Y.msg="invalid distance code",z.mode=uw;break $}break}}else if((E&64)===0){A=F[(A&65535)+(L&(1<<E)-1)];continue Y}else if(E&32){z.mode=v01;break $}else{Y.msg="invalid literal/length code",z.mode=uw;break $}break}}while(J<U&&I<K);y=w>>3,J-=y,w-=y<<3,L&=(1<<w)-1,Y.next_in=J,Y.next_out=I,Y.avail_in=J<U?5+(U-J):5-(J-U),Y.avail_out=I<K?257+(K-I):257-(I-K),z.hold=L,z.bits=w;return}});var e50=M((E04,a50)=>{var l50=S9(),JJ=15,o50=852,r50=592,s50=0,Wg=1,t50=2,h01=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],g01=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],S01=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],y01=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];a50.exports=function(Y,q,z,J,U,I,Q,K){var G=K.bits,H=0,Z=0,V=0,X=0,L=0,w=0,F=0,O=0,P=0,B=0,A,E,y,v,k,C=null,c=0,n,g=new l50.Buf16(JJ+1),b=new l50.Buf16(JJ+1),i=null,$0=0,j,u,p;for(H=0;H<=JJ;H++)g[H]=0;for(Z=0;Z<J;Z++)g[q[z+Z]]++;L=G;for(X=JJ;X>=1;X--)if(g[X]!==0)break;if(L>X)L=X;if(X===0)return U[I++]=20971520,U[I++]=20971520,K.bits=1,0;for(V=1;V<X;V++)if(g[V]!==0)break;if(L<V)L=V;O=1;for(H=1;H<=JJ;H++)if(O<<=1,O-=g[H],O<0)return-1;if(O>0&&(Y===s50||X!==1))return-1;b[1]=0;for(H=1;H<JJ;H++)b[H+1]=b[H]+g[H];for(Z=0;Z<J;Z++)if(q[z+Z]!==0)Q[b[q[z+Z]]++]=Z;if(Y===s50)C=i=Q,n=19;else if(Y===Wg)C=h01,c-=257,i=g01,$0-=257,n=256;else C=S01,i=y01,n=-1;if(B=0,Z=0,H=V,k=I,w=L,F=0,y=-1,P=1<<L,v=P-1,Y===Wg&&P>o50||Y===t50&&P>r50)return 1;for(;;){if(j=H-F,Q[Z]<n)u=0,p=Q[Z];else if(Q[Z]>n)u=i[$0+Q[Z]],p=C[c+Q[Z]];else u=96,p=0;A=1<<H-F,E=1<<w,V=E;do E-=A,U[k+(B>>F)+E]=j<<24|u<<16|p|0;while(E!==0);A=1<<H-1;while(B&A)A>>=1;if(A!==0)B&=A-1,B+=A;else B=0;if(Z++,--g[H]===0){if(H===X)break;H=q[z+Q[Z]]}if(H>L&&(B&v)!==y){if(F===0)F=L;k+=V,w=H-F,O=1<<w;while(w+F<X){if(O-=g[w+F],O<=0)break;w++,O<<=1}if(P+=1<<w,Y===Wg&&P>o50||Y===t50&&P>r50)return 1;y=B&v,U[y]=L<<24|w<<16|k-I|0}}if(B!==0)U[k+B]=H-F<<24|4194304|0;return K.bits=L,0}});var S90=M(($11)=>{var I$=S9(),Og=$g(),c5=Yg(),x01=m50(),UG=e50(),k01=0,T90=1,E90=2,$90=4,u01=5,fw=6,d2=0,f01=1,b01=2,_$=-2,j90=-3,Mg=-4,i01=-5,Y90=8,_90=1,q90=2,z90=3,J90=4,U90=5,I90=6,Q90=7,K90=8,G90=9,H90=10,nw=11,x9=12,Xg=13,Z90=14,Vg=15,W90=16,X90=17,V90=18,L90=19,bw=20,iw=21,w90=22,F90=23,O90=24,M90=25,N90=26,Lg=27,D90=28,P90=29,v4=30,Ng=31,n01=32,c01=852,p01=592,d01=15,m01=d01;function A90($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function l01(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new I$.Buf16(320),this.work=new I$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function R90($){var Y;if(!$||!$.state)return _$;if(Y=$.state,$.total_in=$.total_out=Y.total=0,$.msg="",Y.wrap)$.adler=Y.wrap&1;return Y.mode=_90,Y.last=0,Y.havedict=0,Y.dmax=32768,Y.head=null,Y.hold=0,Y.bits=0,Y.lencode=Y.lendyn=new I$.Buf32(c01),Y.distcode=Y.distdyn=new I$.Buf32(p01),Y.sane=1,Y.back=-1,d2}function C90($){var Y;if(!$||!$.state)return _$;return Y=$.state,Y.wsize=0,Y.whave=0,Y.wnext=0,R90($)}function v90($,Y){var q,z;if(!$||!$.state)return _$;if(z=$.state,Y<0)q=0,Y=-Y;else if(q=(Y>>4)+1,Y<48)Y&=15;if(Y&&(Y<8||Y>15))return _$;if(z.window!==null&&z.wbits!==Y)z.window=null;return z.wrap=q,z.wbits=Y,C90($)}function h90($,Y){var q,z;if(!$)return _$;if(z=new l01,$.state=z,z.window=null,q=v90($,Y),q!==d2)$.state=null;return q}function o01($){return h90($,m01)}var B90=!0,wg,Fg;function r01($){if(B90){var Y;wg=new I$.Buf32(512),Fg=new I$.Buf32(32),Y=0;while(Y<144)$.lens[Y++]=8;while(Y<256)$.lens[Y++]=9;while(Y<280)$.lens[Y++]=7;while(Y<288)$.lens[Y++]=8;UG(T90,$.lens,0,288,wg,0,$.work,{bits:9}),Y=0;while(Y<32)$.lens[Y++]=5;UG(E90,$.lens,0,32,Fg,0,$.work,{bits:5}),B90=!1}$.lencode=wg,$.lenbits=9,$.distcode=Fg,$.distbits=5}function g90($,Y,q,z){var J,U=$.state;if(U.window===null)U.wsize=1<<U.wbits,U.wnext=0,U.whave=0,U.window=new I$.Buf8(U.wsize);if(z>=U.wsize)I$.arraySet(U.window,Y,q-U.wsize,U.wsize,0),U.wnext=0,U.whave=U.wsize;else{if(J=U.wsize-U.wnext,J>z)J=z;if(I$.arraySet(U.window,Y,q-z,J,U.wnext),z-=J,z)I$.arraySet(U.window,Y,q-z,z,0),U.wnext=z,U.whave=U.wsize;else{if(U.wnext+=J,U.wnext===U.wsize)U.wnext=0;if(U.whave<U.wsize)U.whave+=J}}return 0}function s01($,Y){var q,z,J,U,I,Q,K,G,H,Z,V,X,L,w,F=0,O,P,B,A,E,y,v,k,C=new I$.Buf8(4),c,n,g=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!$||!$.state||!$.output||!$.input&&$.avail_in!==0)return _$;if(q=$.state,q.mode===x9)q.mode=Xg;I=$.next_out,J=$.output,K=$.avail_out,U=$.next_in,z=$.input,Q=$.avail_in,G=q.hold,H=q.bits,Z=Q,V=K,k=d2;$:for(;;)switch(q.mode){case _90:if(q.wrap===0){q.mode=Xg;break}while(H<16){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(q.wrap&2&&G===35615){q.check=0,C[0]=G&255,C[1]=G>>>8&255,q.check=c5(q.check,C,2,0),G=0,H=0,q.mode=q90;break}if(q.flags=0,q.head)q.head.done=!1;if(!(q.wrap&1)||(((G&255)<<8)+(G>>8))%31){$.msg="incorrect header check",q.mode=v4;break}if((G&15)!==Y90){$.msg="unknown compression method",q.mode=v4;break}if(G>>>=4,H-=4,v=(G&15)+8,q.wbits===0)q.wbits=v;else if(v>q.wbits){$.msg="invalid window size",q.mode=v4;break}q.dmax=1<<v,$.adler=q.check=1,q.mode=G&512?H90:x9,G=0,H=0;break;case q90:while(H<16){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(q.flags=G,(q.flags&255)!==Y90){$.msg="unknown compression method",q.mode=v4;break}if(q.flags&57344){$.msg="unknown header flags set",q.mode=v4;break}if(q.head)q.head.text=G>>8&1;if(q.flags&512)C[0]=G&255,C[1]=G>>>8&255,q.check=c5(q.check,C,2,0);G=0,H=0,q.mode=z90;case z90:while(H<32){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(q.head)q.head.time=G;if(q.flags&512)C[0]=G&255,C[1]=G>>>8&255,C[2]=G>>>16&255,C[3]=G>>>24&255,q.check=c5(q.check,C,4,0);G=0,H=0,q.mode=J90;case J90:while(H<16){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(q.head)q.head.xflags=G&255,q.head.os=G>>8;if(q.flags&512)C[0]=G&255,C[1]=G>>>8&255,q.check=c5(q.check,C,2,0);G=0,H=0,q.mode=U90;case U90:if(q.flags&1024){while(H<16){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(q.length=G,q.head)q.head.extra_len=G;if(q.flags&512)C[0]=G&255,C[1]=G>>>8&255,q.check=c5(q.check,C,2,0);G=0,H=0}else if(q.head)q.head.extra=null;q.mode=I90;case I90:if(q.flags&1024){if(X=q.length,X>Q)X=Q;if(X){if(q.head){if(v=q.head.extra_len-q.length,!q.head.extra)q.head.extra=Array(q.head.extra_len);I$.arraySet(q.head.extra,z,U,X,v)}if(q.flags&512)q.check=c5(q.check,z,X,U);Q-=X,U+=X,q.length-=X}if(q.length)break $}q.length=0,q.mode=Q90;case Q90:if(q.flags&2048){if(Q===0)break $;X=0;do if(v=z[U+X++],q.head&&v&&q.length<65536)q.head.name+=String.fromCharCode(v);while(v&&X<Q);if(q.flags&512)q.check=c5(q.check,z,X,U);if(Q-=X,U+=X,v)break $}else if(q.head)q.head.name=null;q.length=0,q.mode=K90;case K90:if(q.flags&4096){if(Q===0)break $;X=0;do if(v=z[U+X++],q.head&&v&&q.length<65536)q.head.comment+=String.fromCharCode(v);while(v&&X<Q);if(q.flags&512)q.check=c5(q.check,z,X,U);if(Q-=X,U+=X,v)break $}else if(q.head)q.head.comment=null;q.mode=G90;case G90:if(q.flags&512){while(H<16){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(G!==(q.check&65535)){$.msg="header crc mismatch",q.mode=v4;break}G=0,H=0}if(q.head)q.head.hcrc=q.flags>>9&1,q.head.done=!0;$.adler=q.check=0,q.mode=x9;break;case H90:while(H<32){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}$.adler=q.check=A90(G),G=0,H=0,q.mode=nw;case nw:if(q.havedict===0)return $.next_out=I,$.avail_out=K,$.next_in=U,$.avail_in=Q,q.hold=G,q.bits=H,b01;$.adler=q.check=1,q.mode=x9;case x9:if(Y===u01||Y===fw)break $;case Xg:if(q.last){G>>>=H&7,H-=H&7,q.mode=Lg;break}while(H<3){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}switch(q.last=G&1,G>>>=1,H-=1,G&3){case 0:q.mode=Z90;break;case 1:if(r01(q),q.mode=bw,Y===fw){G>>>=2,H-=2;break $}break;case 2:q.mode=X90;break;case 3:$.msg="invalid block type",q.mode=v4}G>>>=2,H-=2;break;case Z90:G>>>=H&7,H-=H&7;while(H<32){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if((G&65535)!==(G>>>16^65535)){$.msg="invalid stored block lengths",q.mode=v4;break}if(q.length=G&65535,G=0,H=0,q.mode=Vg,Y===fw)break $;case Vg:q.mode=W90;case W90:if(X=q.length,X){if(X>Q)X=Q;if(X>K)X=K;if(X===0)break $;I$.arraySet(J,z,U,X,I),Q-=X,U+=X,K-=X,I+=X,q.length-=X;break}q.mode=x9;break;case X90:while(H<14){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(q.nlen=(G&31)+257,G>>>=5,H-=5,q.ndist=(G&31)+1,G>>>=5,H-=5,q.ncode=(G&15)+4,G>>>=4,H-=4,q.nlen>286||q.ndist>30){$.msg="too many length or distance symbols",q.mode=v4;break}q.have=0,q.mode=V90;case V90:while(q.have<q.ncode){while(H<3){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}q.lens[g[q.have++]]=G&7,G>>>=3,H-=3}while(q.have<19)q.lens[g[q.have++]]=0;if(q.lencode=q.lendyn,q.lenbits=7,c={bits:q.lenbits},k=UG(k01,q.lens,0,19,q.lencode,0,q.work,c),q.lenbits=c.bits,k){$.msg="invalid code lengths set",q.mode=v4;break}q.have=0,q.mode=L90;case L90:while(q.have<q.nlen+q.ndist){for(;;){if(F=q.lencode[G&(1<<q.lenbits)-1],O=F>>>24,P=F>>>16&255,B=F&65535,O<=H)break;if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(B<16)G>>>=O,H-=O,q.lens[q.have++]=B;else{if(B===16){n=O+2;while(H<n){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(G>>>=O,H-=O,q.have===0){$.msg="invalid bit length repeat",q.mode=v4;break}v=q.lens[q.have-1],X=3+(G&3),G>>>=2,H-=2}else if(B===17){n=O+3;while(H<n){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}G>>>=O,H-=O,v=0,X=3+(G&7),G>>>=3,H-=3}else{n=O+7;while(H<n){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}G>>>=O,H-=O,v=0,X=11+(G&127),G>>>=7,H-=7}if(q.have+X>q.nlen+q.ndist){$.msg="invalid bit length repeat",q.mode=v4;break}while(X--)q.lens[q.have++]=v}}if(q.mode===v4)break;if(q.lens[256]===0){$.msg="invalid code -- missing end-of-block",q.mode=v4;break}if(q.lenbits=9,c={bits:q.lenbits},k=UG(T90,q.lens,0,q.nlen,q.lencode,0,q.work,c),q.lenbits=c.bits,k){$.msg="invalid literal/lengths set",q.mode=v4;break}if(q.distbits=6,q.distcode=q.distdyn,c={bits:q.distbits},k=UG(E90,q.lens,q.nlen,q.ndist,q.distcode,0,q.work,c),q.distbits=c.bits,k){$.msg="invalid distances set",q.mode=v4;break}if(q.mode=bw,Y===fw)break $;case bw:q.mode=iw;case iw:if(Q>=6&&K>=258){if($.next_out=I,$.avail_out=K,$.next_in=U,$.avail_in=Q,q.hold=G,q.bits=H,x01($,V),I=$.next_out,J=$.output,K=$.avail_out,U=$.next_in,z=$.input,Q=$.avail_in,G=q.hold,H=q.bits,q.mode===x9)q.back=-1;break}q.back=0;for(;;){if(F=q.lencode[G&(1<<q.lenbits)-1],O=F>>>24,P=F>>>16&255,B=F&65535,O<=H)break;if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(P&&(P&240)===0){A=O,E=P,y=B;for(;;){if(F=q.lencode[y+((G&(1<<A+E)-1)>>A)],O=F>>>24,P=F>>>16&255,B=F&65535,A+O<=H)break;if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}G>>>=A,H-=A,q.back+=A}if(G>>>=O,H-=O,q.back+=O,q.length=B,P===0){q.mode=N90;break}if(P&32){q.back=-1,q.mode=x9;break}if(P&64){$.msg="invalid literal/length code",q.mode=v4;break}q.extra=P&15,q.mode=w90;case w90:if(q.extra){n=q.extra;while(H<n){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}q.length+=G&(1<<q.extra)-1,G>>>=q.extra,H-=q.extra,q.back+=q.extra}q.was=q.length,q.mode=F90;case F90:for(;;){if(F=q.distcode[G&(1<<q.distbits)-1],O=F>>>24,P=F>>>16&255,B=F&65535,O<=H)break;if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if((P&240)===0){A=O,E=P,y=B;for(;;){if(F=q.distcode[y+((G&(1<<A+E)-1)>>A)],O=F>>>24,P=F>>>16&255,B=F&65535,A+O<=H)break;if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}G>>>=A,H-=A,q.back+=A}if(G>>>=O,H-=O,q.back+=O,P&64){$.msg="invalid distance code",q.mode=v4;break}q.offset=B,q.extra=P&15,q.mode=O90;case O90:if(q.extra){n=q.extra;while(H<n){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}q.offset+=G&(1<<q.extra)-1,G>>>=q.extra,H-=q.extra,q.back+=q.extra}if(q.offset>q.dmax){$.msg="invalid distance too far back",q.mode=v4;break}q.mode=M90;case M90:if(K===0)break $;if(X=V-K,q.offset>X){if(X=q.offset-X,X>q.whave){if(q.sane){$.msg="invalid distance too far back",q.mode=v4;break}}if(X>q.wnext)X-=q.wnext,L=q.wsize-X;else L=q.wnext-X;if(X>q.length)X=q.length;w=q.window}else w=J,L=I-q.offset,X=q.length;if(X>K)X=K;K-=X,q.length-=X;do J[I++]=w[L++];while(--X);if(q.length===0)q.mode=iw;break;case N90:if(K===0)break $;J[I++]=q.length,K--,q.mode=iw;break;case Lg:if(q.wrap){while(H<32){if(Q===0)break $;Q--,G|=z[U++]<<H,H+=8}if(V-=K,$.total_out+=V,q.total+=V,V)$.adler=q.check=q.flags?c5(q.check,J,V,I-V):Og(q.check,J,V,I-V);if(V=K,(q.flags?G:A90(G))!==q.check){$.msg="incorrect data check",q.mode=v4;break}G=0,H=0}q.mode=D90;case D90:if(q.wrap&&q.flags){while(H<32){if(Q===0)break $;Q--,G+=z[U++]<<H,H+=8}if(G!==(q.total&4294967295)){$.msg="incorrect length check",q.mode=v4;break}G=0,H=0}q.mode=P90;case P90:k=f01;break $;case v4:k=j90;break $;case Ng:return Mg;case n01:default:return _$}if($.next_out=I,$.avail_out=K,$.next_in=U,$.avail_in=Q,q.hold=G,q.bits=H,q.wsize||V!==$.avail_out&&q.mode<v4&&(q.mode<Lg||Y!==$90)){if(g90($,$.output,$.next_out,V-$.avail_out))return q.mode=Ng,Mg}if(Z-=$.avail_in,V-=$.avail_out,$.total_in+=Z,$.total_out+=V,q.total+=V,q.wrap&&V)$.adler=q.check=q.flags?c5(q.check,J,V,$.next_out-V):Og(q.check,J,V,$.next_out-V);if($.data_type=q.bits+(q.last?64:0)+(q.mode===x9?128:0)+(q.mode===bw||q.mode===Vg?256:0),(Z===0&&V===0||Y===$90)&&k===d2)k=i01;return k}function t01($){if(!$||!$.state)return _$;var Y=$.state;if(Y.window)Y.window=null;return $.state=null,d2}function a01($,Y){var q;if(!$||!$.state)return _$;if(q=$.state,(q.wrap&2)===0)return _$;return q.head=Y,Y.done=!1,d2}function e01($,Y){var q=Y.length,z,J,U;if(!$||!$.state)return _$;if(z=$.state,z.wrap!==0&&z.mode!==nw)return _$;if(z.mode===nw){if(J=1,J=Og(J,Y,q,0),J!==z.check)return j90}if(U=g90($,Y,q,q),U)return z.mode=Ng,Mg;return z.havedict=1,d2}$11.inflateReset=C90;$11.inflateReset2=v90;$11.inflateResetKeep=R90;$11.inflateInit=o01;$11.inflateInit2=h90;$11.inflate=s01;$11.inflateEnd=t01;$11.inflateGetHeader=a01;$11.inflateSetDictionary=e01;$11.inflateInfo="pako inflate (from Nodeca project)"});var Dg=M((_04,y90)=>{y90.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var k90=M((R04,x90)=>{function Z11(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}x90.exports=Z11});var f90=M((L11)=>{var UJ=S90(),IG=S9(),cw=Ig(),Y6=Dg(),Pg=Cw(),W11=Qg(),X11=k90(),u90=Object.prototype.toString;function m2($){if(!(this instanceof m2))return new m2($);this.options=IG.assign({chunkSize:16384,windowBits:0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>=0&&Y.windowBits<16){if(Y.windowBits=-Y.windowBits,Y.windowBits===0)Y.windowBits=-15}if(Y.windowBits>=0&&Y.windowBits<16&&!($&&$.windowBits))Y.windowBits+=32;if(Y.windowBits>15&&Y.windowBits<48){if((Y.windowBits&15)===0)Y.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new W11,this.strm.avail_out=0;var q=UJ.inflateInit2(this.strm,Y.windowBits);if(q!==Y6.Z_OK)throw Error(Pg[q]);if(this.header=new X11,UJ.inflateGetHeader(this.strm,this.header),Y.dictionary){if(typeof Y.dictionary==="string")Y.dictionary=cw.string2buf(Y.dictionary);else if(u90.call(Y.dictionary)==="[object ArrayBuffer]")Y.dictionary=new Uint8Array(Y.dictionary);if(Y.raw){if(q=UJ.inflateSetDictionary(this.strm,Y.dictionary),q!==Y6.Z_OK)throw Error(Pg[q])}}}m2.prototype.push=function($,Y){var q=this.strm,z=this.options.chunkSize,J=this.options.dictionary,U,I,Q,K,G,H=!1;if(this.ended)return!1;if(I=Y===~~Y?Y:Y===!0?Y6.Z_FINISH:Y6.Z_NO_FLUSH,typeof $==="string")q.input=cw.binstring2buf($);else if(u90.call($)==="[object ArrayBuffer]")q.input=new Uint8Array($);else q.input=$;q.next_in=0,q.avail_in=q.input.length;do{if(q.avail_out===0)q.output=new IG.Buf8(z),q.next_out=0,q.avail_out=z;if(U=UJ.inflate(q,Y6.Z_NO_FLUSH),U===Y6.Z_NEED_DICT&&J)U=UJ.inflateSetDictionary(this.strm,J);if(U===Y6.Z_BUF_ERROR&&H===!0)U=Y6.Z_OK,H=!1;if(U!==Y6.Z_STREAM_END&&U!==Y6.Z_OK)return this.onEnd(U),this.ended=!0,!1;if(q.next_out){if(q.avail_out===0||U===Y6.Z_STREAM_END||q.avail_in===0&&(I===Y6.Z_FINISH||I===Y6.Z_SYNC_FLUSH))if(this.options.to==="string"){if(Q=cw.utf8border(q.output,q.next_out),K=q.next_out-Q,G=cw.buf2string(q.output,Q),q.next_out=K,q.avail_out=z-K,K)IG.arraySet(q.output,q.output,Q,K,0);this.onData(G)}else this.onData(IG.shrinkBuf(q.output,q.next_out))}if(q.avail_in===0&&q.avail_out===0)H=!0}while((q.avail_in>0||q.avail_out===0)&&U!==Y6.Z_STREAM_END);if(U===Y6.Z_STREAM_END)I=Y6.Z_FINISH;if(I===Y6.Z_FINISH)return U=UJ.inflateEnd(this.strm),this.onEnd(U),this.ended=!0,U===Y6.Z_OK;if(I===Y6.Z_SYNC_FLUSH)return this.onEnd(Y6.Z_OK),q.avail_out=0,!0;return!0};m2.prototype.onData=function($){this.chunks.push($)};m2.prototype.onEnd=function($){if($===Y6.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=IG.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function Ag($,Y){var q=new m2(Y);if(q.push($,!0),q.err)throw q.msg||Pg[q.err];return q.result}function V11($,Y){return Y=Y||{},Y.raw=!0,Ag($,Y)}L11.Inflate=m2;L11.inflate=Ag;L11.inflateRaw=V11;L11.ungzip=Ag});var n90=M((v04,i90)=>{var N11=S9().assign,D11=p50(),P11=f90(),A11=Dg(),b90={};N11(b90,D11,P11,A11);i90.exports=b90});var p90=M((j11)=>{var B11=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",T11=n90(),c90=u4(),pw=U$(),E11=B11?"uint8array":"array";j11.magic="\b\x00";function l2($,Y){pw.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=Y,this.meta={}}c90.inherits(l2,pw);l2.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(c90.transformTo(E11,$.data),!1)};l2.prototype.flush=function(){if(pw.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};l2.prototype.cleanUp=function(){pw.prototype.cleanUp.call(this),this._pako=null};l2.prototype._createPako=function(){this._pako=new T11[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(Y){$.push({data:Y,meta:$.meta})}};j11.compressWorker=function($){return new l2("Deflate",$)};j11.uncompressWorker=function(){return new l2("Inflate",{})}});var Bg=M((v11)=>{var d90=U$();v11.STORE={magic:"\x00\x00",compressWorker:function(){return new d90("STORE compression")},uncompressWorker:function(){return new d90("STORE decompression")}};v11.DEFLATE=p90()});var Tg=M((S11)=>{S11.LOCAL_FILE_HEADER="PK\x03\x04";S11.CENTRAL_FILE_HEADER="PK\x01\x02";S11.CENTRAL_DIRECTORY_END="PK\x05\x06";S11.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";S11.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";S11.DATA_DESCRIPTOR="PK\x07\b"});var r90=M((y04,o90)=>{var IJ=u4(),QJ=U$(),Eg=sz(),m90=Ew(),dw=Tg(),X4=function($,Y){var q="",z;for(z=0;z<Y;z++)q+=String.fromCharCode($&255),$=$>>>8;return q},i11=function($,Y){var q=$;if(!$)q=Y?16893:33204;return(q&65535)<<16},n11=function($){return($||0)&63},l90=function($,Y,q,z,J,U){var{file:I,compression:Q}=$,K=U!==Eg.utf8encode,G=IJ.transformTo("string",U(I.name)),H=IJ.transformTo("string",Eg.utf8encode(I.name)),Z=I.comment,V=IJ.transformTo("string",U(Z)),X=IJ.transformTo("string",Eg.utf8encode(Z)),L=H.length!==I.name.length,w=X.length!==Z.length,F,O,P="",B="",A="",E=I.dir,y=I.date,v={crc32:0,compressedSize:0,uncompressedSize:0};if(!Y||q)v.crc32=$.crc32,v.compressedSize=$.compressedSize,v.uncompressedSize=$.uncompressedSize;var k=0;if(Y)k|=8;if(!K&&(L||w))k|=2048;var C=0,c=0;if(E)C|=16;if(J==="UNIX")c=798,C|=i11(I.unixPermissions,E);else c=20,C|=n11(I.dosPermissions,E);if(F=y.getUTCHours(),F=F<<6,F=F|y.getUTCMinutes(),F=F<<5,F=F|y.getUTCSeconds()/2,O=y.getUTCFullYear()-1980,O=O<<4,O=O|y.getUTCMonth()+1,O=O<<5,O=O|y.getUTCDate(),L)B=X4(1,1)+X4(m90(G),4)+H,P+="up"+X4(B.length,2)+B;if(w)A=X4(1,1)+X4(m90(V),4)+X,P+="uc"+X4(A.length,2)+A;var n="";n+=`
\x00`,n+=X4(k,2),n+=Q.magic,n+=X4(F,2),n+=X4(O,2),n+=X4(v.crc32,4),n+=X4(v.compressedSize,4),n+=X4(v.uncompressedSize,4),n+=X4(G.length,2),n+=X4(P.length,2);var g=dw.LOCAL_FILE_HEADER+n+G+P,b=dw.CENTRAL_FILE_HEADER+X4(c,2)+n+X4(V.length,2)+"\x00\x00\x00\x00"+X4(C,4)+X4(z,4)+G+P+V;return{fileRecord:g,dirRecord:b}},c11=function($,Y,q,z,J){var U="",I=IJ.transformTo("string",J(z));return U=dw.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+X4($,2)+X4($,2)+X4(Y,4)+X4(q,4)+X4(I.length,2)+I,U},p11=function($){var Y="";return Y=dw.DATA_DESCRIPTOR+X4($.crc32,4)+X4($.compressedSize,4)+X4($.uncompressedSize,4),Y};function H5($,Y,q,z){QJ.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Y,this.zipPlatform=q,this.encodeFileName=z,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}IJ.inherits(H5,QJ);H5.prototype.push=function($){var Y=$.meta.percent||0,q=this.entriesCount,z=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,QJ.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:q?(Y+100*(q-z-1))/q:100}})};H5.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var Y=this.streamFiles&&!$.file.dir;if(Y){var q=l90($,Y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:q.fileRecord,meta:{percent:0}})}else this.accumulate=!0};H5.prototype.closedSource=function($){this.accumulate=!1;var Y=this.streamFiles&&!$.file.dir,q=l90($,Y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(q.dirRecord),Y)this.push({data:p11($),meta:{percent:100}});else{this.push({data:q.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};H5.prototype.flush=function(){var $=this.bytesWritten;for(var Y=0;Y<this.dirRecords.length;Y++)this.push({data:this.dirRecords[Y],meta:{percent:100}});var q=this.bytesWritten-$,z=c11(this.dirRecords.length,q,$,this.zipComment,this.encodeFileName);this.push({data:z,meta:{percent:100}})};H5.prototype.prepareNextSource=function(){if(this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused)this.previous.pause();else this.previous.resume()};H5.prototype.registerPrevious=function($){this._sources.push($);var Y=this;return $.on("data",function(q){Y.processChunk(q)}),$.on("end",function(){if(Y.closedSource(Y.previous.streamInfo),Y._sources.length)Y.prepareNextSource();else Y.end()}),$.on("error",function(q){Y.error(q)}),this};H5.prototype.resume=function(){if(!QJ.prototype.resume.call(this))return!1;if(!this.previous&&this._sources.length)return this.prepareNextSource(),!0;if(!this.previous&&!this._sources.length&&!this.generatedError)return this.end(),!0};H5.prototype.error=function($){var Y=this._sources;if(!QJ.prototype.error.call(this,$))return!1;for(var q=0;q<Y.length;q++)try{Y[q].error($)}catch(z){}return!0};H5.prototype.lock=function(){QJ.prototype.lock.call(this);var $=this._sources;for(var Y=0;Y<$.length;Y++)$[Y].lock()};o90.exports=H5});var s90=M((o11)=>{var d11=Bg(),m11=r90(),l11=function($,Y){var q=$||Y,z=d11[q];if(!z)throw Error(q+" is not a valid compression method !");return z};o11.generateWorker=function($,Y,q){var z=new m11(Y.streamFiles,q,Y.platform,Y.encodeFileName),J=0;try{$.forEach(function(U,I){J++;var Q=l11(I.options.compression,Y.compression),K=I.options.compressionOptions||Y.compressionOptions||{},G=I.dir,H=I.date;I._compressWorker(Q,K).withStreamInfo("file",{name:U,dir:G,date:H,comment:I.comment||"",unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions}).pipe(z)}),z.entriesCount=J}catch(U){z.error(U)}return z}});var a90=M((k04,t90)=>{var s11=u4(),mw=U$();function QG($,Y){mw.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(Y)}s11.inherits(QG,mw);QG.prototype._bindStream=function($){var Y=this;this._stream=$,$.pause(),$.on("data",function(q){Y.push({data:q,meta:{percent:0}})}).on("error",function(q){if(Y.isPaused)this.generatedError=q;else Y.error(q)}).on("end",function(){if(Y.isPaused)Y._upstreamEnded=!0;else Y.end()})};QG.prototype.pause=function(){if(!mw.prototype.pause.call(this))return!1;return this._stream.pause(),!0};QG.prototype.resume=function(){if(!mw.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};t90.exports=QG});var K30=M((u04,Q30)=>{var t11=sz(),KG=u4(),q30=U$(),a11=Ch(),z30=vh(),e90=jw(),e11=$50(),$41=s90(),$30=bK(),Y41=a90(),J30=function($,Y,q){var z=KG.getTypeOf(Y),J,U=KG.extend(q||{},z30);if(U.date=U.date||new Date,U.compression!==null)U.compression=U.compression.toUpperCase();if(typeof U.unixPermissions==="string")U.unixPermissions=parseInt(U.unixPermissions,8);if(U.unixPermissions&&U.unixPermissions&16384)U.dir=!0;if(U.dosPermissions&&U.dosPermissions&16)U.dir=!0;if(U.dir)$=U30($);if(U.createFolders&&(J=q41($)))I30.call(this,J,!0);var I=z==="string"&&U.binary===!1&&U.base64===!1;if(!q||typeof q.binary>"u")U.binary=!I;var Q=Y instanceof e90&&Y.uncompressedSize===0;if(Q||U.dir||!Y||Y.length===0)U.base64=!1,U.binary=!0,Y="",U.compression="STORE",z="string";var K=null;if(Y instanceof e90||Y instanceof q30)K=Y;else if($30.isNode&&$30.isStream(Y))K=new Y41($,Y);else K=KG.prepareContent($,Y,U.binary,U.optimizedBinaryString,U.base64);var G=new e11($,K,U);this.files[$]=G},q41=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var Y=$.lastIndexOf("/");return Y>0?$.substring(0,Y):""},U30=function($){if($.slice(-1)!=="/")$+="/";return $},I30=function($,Y){if(Y=typeof Y<"u"?Y:z30.createFolders,$=U30($),!this.files[$])J30.call(this,$,null,{dir:!0,createFolders:Y});return this.files[$]};function Y30($){return Object.prototype.toString.call($)==="[object RegExp]"}var z41={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var Y,q,z;for(Y in this.files)if(z=this.files[Y],q=Y.slice(this.root.length,Y.length),q&&Y.slice(0,this.root.length)===this.root)$(q,z)},filter:function($){var Y=[];return this.forEach(function(q,z){if($(q,z))Y.push(z)}),Y},file:function($,Y,q){if(arguments.length===1)if(Y30($)){var z=$;return this.filter(function(U,I){return!I.dir&&z.test(U)})}else{var J=this.files[this.root+$];if(J&&!J.dir)return J;else return null}else $=this.root+$,J30.call(this,$,Y,q);return this},folder:function($){if(!$)return this;if(Y30($))return this.filter(function(J,U){return U.dir&&$.test(J)});var Y=this.root+$,q=I30.call(this,Y),z=this.clone();return z.root=q.name,z},remove:function($){$=this.root+$;var Y=this.files[$];if(!Y){if($.slice(-1)!=="/")$+="/";Y=this.files[$]}if(Y&&!Y.dir)delete this.files[$];else{var q=this.filter(function(J,U){return U.name.slice(0,$.length)===$});for(var z=0;z<q.length;z++)delete this.files[q[z].name]}return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function($){var Y,q={};try{if(q=KG.extend($||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:t11.utf8encode}),q.type=q.type.toLowerCase(),q.compression=q.compression.toUpperCase(),q.type==="binarystring")q.type="string";if(!q.type)throw Error("No output type specified.");if(KG.checkSupport(q.type),q.platform==="darwin"||q.platform==="freebsd"||q.platform==="linux"||q.platform==="sunos")q.platform="UNIX";if(q.platform==="win32")q.platform="DOS";var z=q.comment||this.comment||"";Y=$41.generateWorker(this,q,z)}catch(J){Y=new q30("error"),Y.error(J)}return new a11(Y,q.type||"string",q.mimeType)},generateAsync:function($,Y){return this.generateInternalStream($).accumulate(Y)},generateNodeStream:function($,Y){if($=$||{},!$.type)$.type="nodebuffer";return this.generateInternalStream($).toNodejsStream(Y)}};Q30.exports=z41});var jg=M((f04,H30)=>{var J41=u4();function G30($){this.data=$,this.length=$.length,this.index=0,this.zero=0}G30.prototype={checkOffset:function($){this.checkIndex(this.index+$)},checkIndex:function($){if(this.length<this.zero+$||$<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+$+"). Corrupted zip ?")},setIndex:function($){this.checkIndex($),this.index=$},skip:function($){this.setIndex(this.index+$)},byteAt:function(){},readInt:function($){var Y=0,q;this.checkOffset($);for(q=this.index+$-1;q>=this.index;q--)Y=(Y<<8)+this.byteAt(q);return this.index+=$,Y},readString:function($){return J41.transformTo("string",this.readData($))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var $=this.readInt(4);return new Date(Date.UTC(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1))}};H30.exports=G30});var _g=M((b04,W30)=>{var Z30=jg(),U41=u4();function KJ($){Z30.call(this,$);for(var Y=0;Y<this.data.length;Y++)$[Y]=$[Y]&255}U41.inherits(KJ,Z30);KJ.prototype.byteAt=function($){return this.data[this.zero+$]};KJ.prototype.lastIndexOfSignature=function($){var Y=$.charCodeAt(0),q=$.charCodeAt(1),z=$.charCodeAt(2),J=$.charCodeAt(3);for(var U=this.length-4;U>=0;--U)if(this.data[U]===Y&&this.data[U+1]===q&&this.data[U+2]===z&&this.data[U+3]===J)return U-this.zero;return-1};KJ.prototype.readAndCheckSignature=function($){var Y=$.charCodeAt(0),q=$.charCodeAt(1),z=$.charCodeAt(2),J=$.charCodeAt(3),U=this.readData(4);return Y===U[0]&&q===U[1]&&z===U[2]&&J===U[3]};KJ.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};W30.exports=KJ});var L30=M((i04,V30)=>{var X30=jg(),I41=u4();function GJ($){X30.call(this,$)}I41.inherits(GJ,X30);GJ.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};GJ.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};GJ.prototype.readAndCheckSignature=function($){var Y=this.readData(4);return $===Y};GJ.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};V30.exports=GJ});var Cg=M((n04,F30)=>{var w30=_g(),Q41=u4();function Rg($){w30.call(this,$)}Q41.inherits(Rg,w30);Rg.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var Y=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};F30.exports=Rg});var N30=M((c04,M30)=>{var O30=Cg(),K41=u4();function vg($){O30.call(this,$)}K41.inherits(vg,O30);vg.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};M30.exports=vg});var hg=M((p04,P30)=>{var lw=u4(),D30=g9(),G41=_g(),H41=L30(),Z41=N30(),W41=Cg();P30.exports=function($){var Y=lw.getTypeOf($);if(lw.checkSupport(Y),Y==="string"&&!D30.uint8array)return new H41($);if(Y==="nodebuffer")return new Z41($);if(D30.uint8array)return new W41(lw.transformTo("uint8array",$));return new G41(lw.transformTo("array",$))}});var E30=M((d04,T30)=>{var gg=hg(),U7=u4(),X41=jw(),A30=Ew(),ow=sz(),rw=Bg(),V41=g9(),L41=0,w41=3,F41=function($){for(var Y in rw){if(!Object.prototype.hasOwnProperty.call(rw,Y))continue;if(rw[Y].magic===$)return rw[Y]}return null};function B30($,Y){this.options=$,this.loadOptions=Y}B30.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var Y,q;if($.skip(22),this.fileNameLength=$.readInt(2),q=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(q),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(Y=F41(this.compressionMethod),Y===null)throw Error("Corrupted zip : compression "+U7.pretty(this.compressionMethod)+" unknown (inner file : "+U7.transformTo("string",this.fileName)+")");this.decompressed=new X41(this.compressedSize,this.uncompressedSize,this.crc32,Y,$.readData(this.compressedSize))},readCentralPart:function($){this.versionMadeBy=$.readInt(2),$.skip(2),this.bitFlag=$.readInt(2),this.compressionMethod=$.readString(2),this.date=$.readDate(),this.crc32=$.readInt(4),this.compressedSize=$.readInt(4),this.uncompressedSize=$.readInt(4);var Y=$.readInt(2);if(this.extraFieldsLength=$.readInt(2),this.fileCommentLength=$.readInt(2),this.diskNumberStart=$.readInt(2),this.internalFileAttributes=$.readInt(2),this.externalFileAttributes=$.readInt(4),this.localHeaderOffset=$.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");$.skip(Y),this.readExtraFields($),this.parseZIP64ExtraField($),this.fileComment=$.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var $=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,$===L41)this.dosPermissions=this.externalFileAttributes&63;if($===w41)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=gg(this.extraFields[1].value);if(this.uncompressedSize===U7.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===U7.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===U7.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===U7.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var Y=$.index+this.extraFieldsLength,q,z,J;if(!this.extraFields)this.extraFields={};while($.index+4<Y)q=$.readInt(2),z=$.readInt(2),J=$.readData(z),this.extraFields[q]={id:q,length:z,value:J};$.setIndex(Y)},handleUTF8:function(){var $=V41.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=ow.utf8decode(this.fileName),this.fileCommentStr=ow.utf8decode(this.fileComment);else{var Y=this.findExtraFieldUnicodePath();if(Y!==null)this.fileNameStr=Y;else{var q=U7.transformTo($,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(q)}var z=this.findExtraFieldUnicodeComment();if(z!==null)this.fileCommentStr=z;else{var J=U7.transformTo($,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(J)}}},findExtraFieldUnicodePath:function(){var $=this.extraFields[28789];if($){var Y=gg($.value);if(Y.readInt(1)!==1)return null;if(A30(this.fileName)!==Y.readInt(4))return null;return ow.utf8decode(Y.readData($.length-5))}return null},findExtraFieldUnicodeComment:function(){var $=this.extraFields[25461];if($){var Y=gg($.value);if(Y.readInt(1)!==1)return null;if(A30(this.fileComment)!==Y.readInt(4))return null;return ow.utf8decode(Y.readData($.length-5))}return null}};T30.exports=B30});var R30=M((m04,_30)=>{var O41=hg(),k9=u4(),Z5=Tg(),M41=E30(),N41=g9();function j30($){this.files=[],this.loadOptions=$}j30.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var Y=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+k9.pretty(Y)+", expected "+k9.pretty($)+")")}},isSignature:function($,Y){var q=this.reader.index;this.reader.setIndex($);var z=this.reader.readString(4),J=z===Y;return this.reader.setIndex(q),J},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var $=this.reader.readData(this.zipCommentLength),Y=N41.uint8array?"uint8array":"array",q=k9.transformTo(Y,$);this.zipComment=this.loadOptions.decodeFileName(q)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var $=this.zip64EndOfCentralSize-44,Y=0,q,z,J;while(Y<$)q=this.reader.readInt(2),z=this.reader.readInt(4),J=this.reader.readData(z),this.zip64ExtensibleData[q]={id:q,length:z,value:J}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var $,Y;for($=0;$<this.files.length;$++)Y=this.files[$],this.reader.setIndex(Y.localHeaderOffset),this.checkSignature(Z5.LOCAL_FILE_HEADER),Y.readLocalPart(this.reader),Y.handleUTF8(),Y.processAttributes()},readCentralDir:function(){var $;this.reader.setIndex(this.centralDirOffset);while(this.reader.readAndCheckSignature(Z5.CENTRAL_FILE_HEADER))$=new M41({zip64:this.zip64},this.loadOptions),$.readCentralPart(this.reader),this.files.push($);if(this.centralDirRecords!==this.files.length){if(this.centralDirRecords!==0&&this.files.length===0)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)}},readEndOfCentral:function(){var $=this.reader.lastIndexOfSignature(Z5.CENTRAL_DIRECTORY_END);if($<0){var Y=!this.isSignature(0,Z5.LOCAL_FILE_HEADER);if(Y)throw Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");else throw Error("Corrupted zip: can't find end of central directory")}this.reader.setIndex($);var q=$;if(this.checkSignature(Z5.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===k9.MAX_VALUE_16BITS||this.diskWithCentralDirStart===k9.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===k9.MAX_VALUE_16BITS||this.centralDirRecords===k9.MAX_VALUE_16BITS||this.centralDirSize===k9.MAX_VALUE_32BITS||this.centralDirOffset===k9.MAX_VALUE_32BITS){if(this.zip64=!0,$=this.reader.lastIndexOfSignature(Z5.ZIP64_CENTRAL_DIRECTORY_LOCATOR),$<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex($),this.checkSignature(Z5.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,Z5.ZIP64_CENTRAL_DIRECTORY_END)){if(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(Z5.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory")}this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(Z5.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var z=this.centralDirOffset+this.centralDirSize;if(this.zip64)z+=20,z+=12+this.zip64EndOfCentralSize;var J=q-z;if(J>0)if(this.isSignature(q,Z5.CENTRAL_FILE_HEADER));else this.reader.zero=J;else if(J<0)throw Error("Corrupted zip: missing "+Math.abs(J)+" bytes.")},prepareReader:function($){this.reader=O41($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};_30.exports=j30});var h30=M((l04,v30)=>{var Sg=u4(),sw=lz(),D41=sz(),P41=R30(),A41=Sh(),C30=bK();function B41($){return new sw.Promise(function(Y,q){var z=$.decompressed.getContentWorker().pipe(new A41);z.on("error",function(J){q(J)}).on("end",function(){if(z.streamInfo.crc32!==$.decompressed.crc32)q(Error("Corrupted zip : CRC32 mismatch"));else Y()}).resume()})}v30.exports=function($,Y){var q=this;if(Y=Sg.extend(Y||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:D41.utf8decode}),C30.isNode&&C30.isStream($))return sw.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return Sg.prepareContent("the loaded zip file",$,!0,Y.optimizedBinaryString,Y.base64).then(function(z){var J=new P41(Y);return J.load(z),J}).then(function(J){var U=[sw.Promise.resolve(J)],I=J.files;if(Y.checkCRC32)for(var Q=0;Q<I.length;Q++)U.push(B41(I[Q]));return sw.Promise.all(U)}).then(function(J){var U=J.shift(),I=U.files;for(var Q=0;Q<I.length;Q++){var K=I[Q],G=K.fileNameStr,H=Sg.resolve(K.fileNameStr);if(q.file(H,K.decompressed,{binary:!0,optimizedBinaryString:!0,date:K.date,dir:K.dir,comment:K.fileCommentStr.length?K.fileCommentStr:null,unixPermissions:K.unixPermissions,dosPermissions:K.dosPermissions,createFolders:Y.createFolders}),!K.dir)q.file(H).unsafeOriginalName=G}if(U.zipComment.length)q.comment=U.zipComment;return q})}});var yg=M((o04,g30)=>{function R$(){if(!(this instanceof R$))return new R$;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var $=new R$;for(var Y in this)if(typeof this[Y]!=="function")$[Y]=this[Y];return $}}R$.prototype=K30();R$.prototype.loadAsync=h30();R$.support=g9();R$.defaults=vh();R$.version="3.10.1";R$.loadAsync=function($,Y){return new R$().loadAsync($,Y)};R$.external=lz();g30.exports=R$});var f30=M((r04,u30)=>{function S30($,Y){var q=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),q.push.apply(q,z)}return q}function y30($){for(var Y=1;Y<arguments.length;Y++){var q=arguments[Y]!=null?arguments[Y]:{};Y%2?S30(Object(q),!0).forEach(function(z){T41($,z,q[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(q)):S30(Object(q)).forEach(function(z){Object.defineProperty($,z,Object.getOwnPropertyDescriptor(q,z))})}return $}function T41($,Y,q){if(Y=k30(Y),Y in $)Object.defineProperty($,Y,{value:q,enumerable:!0,configurable:!0,writable:!0});else $[Y]=q;return $}function E41($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}function x30($,Y){for(var q=0;q<Y.length;q++){var z=Y[q];if(z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z)z.writable=!0;Object.defineProperty($,k30(z.key),z)}}function j41($,Y,q){if(Y)x30($.prototype,Y);if(q)x30($,q);return Object.defineProperty($,"prototype",{writable:!1}),$}function k30($){var Y=_41($,"string");return typeof Y==="symbol"?Y:String(Y)}function _41($,Y){if(typeof $!=="object"||$===null)return $;var q=$[Symbol.toPrimitive];if(q!==void 0){var z=q.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var R41=m("buffer"),tw=R41.Buffer,C41=m("util"),xg=C41.inspect,v41=xg&&xg.custom||"inspect";function h41($,Y,q){tw.prototype.copy.call($,Y,q)}u30.exports=function(){function $(){E41(this,$),this.head=null,this.tail=null,this.length=0}return j41($,[{key:"push",value:function(q){var z={data:q,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}},{key:"unshift",value:function(q){var z={data:q,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,q}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(q){if(this.length===0)return"";var z=this.head,J=""+z.data;while(z=z.next)J+=q+z.data;return J}},{key:"concat",value:function(q){if(this.length===0)return tw.alloc(0);var z=tw.allocUnsafe(q>>>0),J=this.head,U=0;while(J)h41(J.data,z,U),U+=J.data.length,J=J.next;return z}},{key:"consume",value:function(q,z){var J;if(q<this.head.data.length)J=this.head.data.slice(0,q),this.head.data=this.head.data.slice(q);else if(q===this.head.data.length)J=this.shift();else J=z?this._getString(q):this._getBuffer(q);return J}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(q){var z=this.head,J=1,U=z.data;q-=U.length;while(z=z.next){var I=z.data,Q=q>I.length?I.length:q;if(Q===I.length)U+=I;else U+=I.slice(0,q);if(q-=Q,q===0){if(Q===I.length)if(++J,z.next)this.head=z.next;else this.head=this.tail=null;else this.head=z,z.data=I.slice(Q);break}++J}return this.length-=J,U}},{key:"_getBuffer",value:function(q){var z=tw.allocUnsafe(q),J=this.head,U=1;J.data.copy(z),q-=J.data.length;while(J=J.next){var I=J.data,Q=q>I.length?I.length:q;if(I.copy(z,z.length-q,0,Q),q-=Q,q===0){if(Q===I.length)if(++U,J.next)this.head=J.next;else this.head=this.tail=null;else this.head=J,J.data=I.slice(Q);break}++U}return this.length-=U,z}},{key:v41,value:function(q,z){return xg(this,y30(y30({},z),{},{depth:0,customInspect:!1}))}}]),$}()});var ug=M((s04,i30)=>{function g41($,Y){var q=this,z=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(z||J){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(kg,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(kg,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(U){if(!Y&&U)if(!q._writableState)process.nextTick(b30,q,U);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,process.nextTick(b30,q,U);else process.nextTick(aw,q);else if(Y)process.nextTick(aw,q),Y(U);else process.nextTick(aw,q)}),this}function b30($,Y){kg($,Y),aw($)}function aw($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function S41(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function kg($,Y){$.emit("error",Y)}function y41($,Y){var{_readableState:q,_writableState:z}=$;if(q&&q.autoDestroy||z&&z.autoDestroy)$.destroy(Y);else $.emit("error",Y)}i30.exports={destroy:g41,undestroy:S41,errorOrDestroy:y41}});var I7=M((f41,p30)=>{var c30={};function C$($,Y,q){if(!q)q=Error;function z(U,I,Q){if(typeof Y==="string")return Y;else return Y(U,I,Q)}class J extends q{constructor(U,I,Q){super(z(U,I,Q))}}J.prototype.name=q.name,J.prototype.code=$,c30[$]=J}function n30($,Y){if(Array.isArray($)){let q=$.length;if($=$.map((z)=>String(z)),q>2)return`one of ${Y} ${$.slice(0,q-1).join(", ")}, or `+$[q-1];else if(q===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function x41($,Y,q){return $.substr(!q||q<0?0:+q,Y.length)===Y}function k41($,Y,q){if(q===void 0||q>$.length)q=$.length;return $.substring(q-Y.length,q)===Y}function u41($,Y,q){if(typeof q!=="number")q=0;if(q+Y.length>$.length)return!1;else return $.indexOf(Y,q)!==-1}C$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);C$("ERR_INVALID_ARG_TYPE",function($,Y,q){let z;if(typeof Y==="string"&&x41(Y,"not "))z="must not be",Y=Y.replace(/^not /,"");else z="must be";let J;if(k41($," argument"))J=`The ${$} ${z} ${n30(Y,"type")}`;else{let U=u41($,".")?"property":"argument";J=`The "${$}" ${U} ${z} ${n30(Y,"type")}`}return J+=`. Received type ${typeof q}`,J},TypeError);C$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");C$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});C$("ERR_STREAM_PREMATURE_CLOSE","Premature close");C$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});C$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");C$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");C$("ERR_STREAM_WRITE_AFTER_END","write after end");C$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);C$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);C$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");f41.codes=c30});var fg=M((t04,d30)=>{var i41=I7().codes.ERR_INVALID_OPT_VALUE;function n41($,Y,q){return $.highWaterMark!=null?$.highWaterMark:Y?$[q]:null}function c41($,Y,q,z){var J=n41(Y,z,q);if(J!=null){if(!(isFinite(J)&&Math.floor(J)===J)||J<0){var U=z?q:"highWaterMark";throw new i41(U,J)}return Math.floor(J)}return $.objectMode?16:16384}d30.exports={getHighWaterMark:c41}});var ng=M((a04,t30)=>{t30.exports=o4;function l30($){var Y=this;this.next=null,this.entry=null,this.finish=function(){w61(Y,$)}}var HJ;o4.WritableState=HG;var p41={deprecate:r3()},o30=m("stream"),$F=m("buffer").Buffer,d41=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function m41($){return $F.from($)}function l41($){return $F.isBuffer($)||$ instanceof d41}var ig=ug(),o41=fg(),r41=o41.getHighWaterMark,Q7=I7().codes,s41=Q7.ERR_INVALID_ARG_TYPE,t41=Q7.ERR_METHOD_NOT_IMPLEMENTED,a41=Q7.ERR_MULTIPLE_CALLBACK,e41=Q7.ERR_STREAM_CANNOT_PIPE,$61=Q7.ERR_STREAM_DESTROYED,Y61=Q7.ERR_STREAM_NULL_VALUES,q61=Q7.ERR_STREAM_WRITE_AFTER_END,z61=Q7.ERR_UNKNOWN_ENCODING,ZJ=ig.errorOrDestroy;m0()(o4,o30);function J61(){}function HG($,Y,q){if(HJ=HJ||o2(),$=$||{},typeof q!=="boolean")q=Y instanceof HJ;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=r41(this,$,"writableHighWaterMark",q),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var z=$.decodeStrings===!1;this.decodeStrings=!z,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(J){Z61(Y,J)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new l30(this)}HG.prototype.getBuffer=function(){var Y=this.bufferedRequest,q=[];while(Y)q.push(Y),Y=Y.next;return q};(function(){try{Object.defineProperty(HG.prototype,"buffer",{get:p41.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var ew;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")ew=Function.prototype[Symbol.hasInstance],Object.defineProperty(o4,Symbol.hasInstance,{value:function(Y){if(ew.call(this,Y))return!0;if(this!==o4)return!1;return Y&&Y._writableState instanceof HG}});else ew=function(Y){return Y instanceof this};function o4($){HJ=HJ||o2();var Y=this instanceof HJ;if(!Y&&!ew.call(o4,this))return new o4($);if(this._writableState=new HG($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}o30.call(this)}o4.prototype.pipe=function(){ZJ(this,new e41)};function U61($,Y){var q=new q61;ZJ($,q),process.nextTick(Y,q)}function I61($,Y,q,z){var J;if(q===null)J=new Y61;else if(typeof q!=="string"&&!Y.objectMode)J=new s41("chunk",["string","Buffer"],q);if(J)return ZJ($,J),process.nextTick(z,J),!1;return!0}o4.prototype.write=function($,Y,q){var z=this._writableState,J=!1,U=!z.objectMode&&l41($);if(U&&!$F.isBuffer($))$=m41($);if(typeof Y==="function")q=Y,Y=null;if(U)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof q!=="function")q=J61;if(z.ending)U61(this,q);else if(U||I61(this,z,$,q))z.pendingcb++,J=K61(this,z,U,$,Y,q);return J};o4.prototype.cork=function(){this._writableState.corked++};o4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)r30(this,$)}};o4.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new z61(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(o4.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Q61($,Y,q){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=$F.from(Y,q);return Y}Object.defineProperty(o4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K61($,Y,q,z,J,U){if(!q){var I=Q61(Y,z,J);if(z!==I)q=!0,J="buffer",z=I}var Q=Y.objectMode?1:z.length;Y.length+=Q;var K=Y.length<Y.highWaterMark;if(!K)Y.needDrain=!0;if(Y.writing||Y.corked){var G=Y.lastBufferedRequest;if(Y.lastBufferedRequest={chunk:z,encoding:J,isBuf:q,callback:U,next:null},G)G.next=Y.lastBufferedRequest;else Y.bufferedRequest=Y.lastBufferedRequest;Y.bufferedRequestCount+=1}else bg($,Y,!1,Q,z,J,U);return K}function bg($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,Y.destroyed)Y.onwrite(new $61("write"));else if(q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function G61($,Y,q,z,J){if(--Y.pendingcb,q)process.nextTick(J,z),process.nextTick(GG,$,Y),$._writableState.errorEmitted=!0,ZJ($,z);else J(z),$._writableState.errorEmitted=!0,ZJ($,z),GG($,Y)}function H61($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function Z61($,Y){var q=$._writableState,z=q.sync,J=q.writecb;if(typeof J!=="function")throw new a41;if(H61(q),Y)G61($,q,z,Y,J);else{var U=s30(q)||$.destroyed;if(!U&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest)r30($,q);if(z)process.nextTick(m30,$,q,U,J);else m30($,q,U,J)}}function m30($,Y,q,z){if(!q)W61($,Y);Y.pendingcb--,z(),GG($,Y)}function W61($,Y){if(Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain")}function r30($,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if($._writev&&q&&q.next){var z=Y.bufferedRequestCount,J=Array(z),U=Y.corkedRequestsFree;U.entry=q;var I=0,Q=!0;while(q){if(J[I]=q,!q.isBuf)Q=!1;q=q.next,I+=1}if(J.allBuffers=Q,bg($,Y,!0,Y.length,J,"",U.finish),Y.pendingcb++,Y.lastBufferedRequest=null,U.next)Y.corkedRequestsFree=U.next,U.next=null;else Y.corkedRequestsFree=new l30(Y);Y.bufferedRequestCount=0}else{while(q){var{chunk:K,encoding:G,callback:H}=q,Z=Y.objectMode?1:K.length;if(bg($,Y,!1,Z,K,G,H),q=q.next,Y.bufferedRequestCount--,Y.writing)break}if(q===null)Y.lastBufferedRequest=null}Y.bufferedRequest=q,Y.bufferProcessing=!1}o4.prototype._write=function($,Y,q){q(new t41("_write()"))};o4.prototype._writev=null;o4.prototype.end=function($,Y,q){var z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;if($!==null&&$!==void 0)this.write($,Y);if(z.corked)z.corked=1,this.uncork();if(!z.ending)L61(this,z,q);return this};Object.defineProperty(o4.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function s30($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function X61($,Y){$._final(function(q){if(Y.pendingcb--,q)ZJ($,q);Y.prefinished=!0,$.emit("prefinish"),GG($,Y)})}function V61($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function"&&!Y.destroyed)Y.pendingcb++,Y.finalCalled=!0,process.nextTick(X61,$,Y);else Y.prefinished=!0,$.emit("prefinish")}function GG($,Y){var q=s30(Y);if(q){if(V61($,Y),Y.pendingcb===0){if(Y.finished=!0,$.emit("finish"),Y.autoDestroy){var z=$._readableState;if(!z||z.autoDestroy&&z.endEmitted)$.destroy()}}}return q}function L61($,Y,q){if(Y.ending=!0,GG($,Y),q)if(Y.finished)process.nextTick(q);else $.once("finish",q);Y.ended=!0,$.writable=!1}function w61($,Y,q){var z=$.entry;$.entry=null;while(z){var J=z.callback;Y.pendingcb--,J(q),z=z.next}Y.corkedRequestsFree.next=$}Object.defineProperty(o4.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(Y){if(!this._writableState)return;this._writableState.destroyed=Y}});o4.prototype.destroy=ig.destroy;o4.prototype._undestroy=ig.undestroy;o4.prototype._destroy=function($,Y){Y($)}});var o2=M((e04,e30)=>{var F61=Object.keys||function($){var Y=[];for(var q in $)Y.push(q);return Y};e30.exports=p5;var a30=pg(),cg=ng();m0()(p5,a30);{YF=F61(cg.prototype);for(ZG=0;ZG<YF.length;ZG++)if(WG=YF[ZG],!p5.prototype[WG])p5.prototype[WG]=cg.prototype[WG]}var YF,WG,ZG;function p5($){if(!(this instanceof p5))return new p5($);if(a30.call(this,$),cg.call(this,$),this.allowHalfOpen=!0,$){if($.readable===!1)this.readable=!1;if($.writable===!1)this.writable=!1;if($.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",O61)}}Object.defineProperty(p5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(p5.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(p5.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function O61(){if(this._writableState.ended)return;process.nextTick(M61,this)}function M61($){$.end()}Object.defineProperty(p5.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(Y){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=Y,this._writableState.destroyed=Y}})});var q70=M((dg,Y70)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var qF=m("buffer"),d5=qF.Buffer;function $70($,Y){for(var q in $)Y[q]=$[q]}if(d5.from&&d5.alloc&&d5.allocUnsafe&&d5.allocUnsafeSlow)Y70.exports=qF;else $70(qF,dg),dg.Buffer=r2;function r2($,Y,q){return d5($,Y,q)}r2.prototype=Object.create(d5.prototype);$70(d5,r2);r2.from=function($,Y,q){if(typeof $==="number")throw TypeError("Argument must not be a number");return d5($,Y,q)};r2.alloc=function($,Y,q){if(typeof $!=="number")throw TypeError("Argument must be a number");var z=d5($);if(Y!==void 0)if(typeof q==="string")z.fill(Y,q);else z.fill(Y);else z.fill(0);return z};r2.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return d5($)};r2.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return qF.SlowBuffer($)}});var WJ=M((g61)=>{var lg=q70().Buffer,z70=lg.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function N61($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function D61($){var Y=N61($);if(typeof Y!=="string"&&(lg.isEncoding===z70||!z70($)))throw Error("Unknown encoding: "+$);return Y||$}g61.StringDecoder=XG;function XG($){this.encoding=D61($);var Y;switch(this.encoding){case"utf16le":this.text=j61,this.end=_61,Y=4;break;case"utf8":this.fillLast=B61,Y=4;break;case"base64":this.text=R61,this.end=C61,Y=3;break;default:this.write=v61,this.end=h61;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=lg.allocUnsafe(Y)}XG.prototype.write=function($){if($.length===0)return"";var Y,q;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";q=this.lastNeed,this.lastNeed=0}else q=0;if(q<$.length)return Y?Y+this.text($,q):this.text($,q);return Y||""};XG.prototype.end=E61;XG.prototype.text=T61;XG.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function mg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function P61($,Y,q){var z=Y.length-1;if(z<q)return 0;var J=mg(Y[z]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--z<q||J===-2)return 0;if(J=mg(Y[z]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--z<q||J===-2)return 0;if(J=mg(Y[z]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function A61($,Y,q){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function B61($){var Y=this.lastTotal-this.lastNeed,q=A61(this,$,Y);if(q!==void 0)return q;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function T61($,Y){var q=P61(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=q;var z=$.length-(q-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function E61($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function j61($,Y){if(($.length-Y)%2===0){var q=$.toString("utf16le",Y);if(q){var z=q.charCodeAt(q.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],q.slice(0,-1)}return q}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function _61($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var q=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,q)}return Y}function R61($,Y){var q=($.length-Y)%3;if(q===0)return $.toString("base64",Y);if(this.lastNeed=3-q,this.lastTotal=3,q===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-q)}function C61($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function v61($){return $.toString(this.encoding)}function h61($){return $&&$.length?this.write($):""}});var zF=M((Y14,I70)=>{var J70=I7().codes.ERR_STREAM_PREMATURE_CLOSE;function y61($){var Y=!1;return function(){if(Y)return;Y=!0;for(var q=arguments.length,z=Array(q),J=0;J<q;J++)z[J]=arguments[J];$.apply(this,z)}}function x61(){}function k61($){return $.setHeader&&typeof $.abort==="function"}function U70($,Y,q){if(typeof Y==="function")return U70($,null,Y);if(!Y)Y={};q=y61(q||x61);var z=Y.readable||Y.readable!==!1&&$.readable,J=Y.writable||Y.writable!==!1&&$.writable,U=function(){if(!$.writable)Q()},I=$._writableState&&$._writableState.finished,Q=function(){if(J=!1,I=!0,!z)q.call($)},K=$._readableState&&$._readableState.endEmitted,G=function(){if(z=!1,K=!0,!J)q.call($)},H=function(L){q.call($,L)},Z=function(){var L;if(z&&!K){if(!$._readableState||!$._readableState.ended)L=new J70;return q.call($,L)}if(J&&!I){if(!$._writableState||!$._writableState.ended)L=new J70;return q.call($,L)}},V=function(){$.req.on("finish",Q)};if(k61($))if($.on("complete",Q),$.on("abort",Z),$.req)V();else $.on("request",V);else if(J&&!$._writableState)$.on("end",U),$.on("close",U);if($.on("end",G),$.on("finish",Q),Y.error!==!1)$.on("error",H);return $.on("close",Z),function(){if($.removeListener("complete",Q),$.removeListener("abort",Z),$.removeListener("request",V),$.req)$.req.removeListener("finish",Q);$.removeListener("end",U),$.removeListener("close",U),$.removeListener("finish",Q),$.removeListener("end",G),$.removeListener("error",H),$.removeListener("close",Z)}}I70.exports=U70});var K70=M((q14,Q70)=>{var JF;function K7($,Y,q){if(Y=u61(Y),Y in $)Object.defineProperty($,Y,{value:q,enumerable:!0,configurable:!0,writable:!0});else $[Y]=q;return $}function u61($){var Y=f61($,"string");return typeof Y==="symbol"?Y:String(Y)}function f61($,Y){if(typeof $!=="object"||$===null)return $;var q=$[Symbol.toPrimitive];if(q!==void 0){var z=q.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var b61=zF(),G7=Symbol("lastResolve"),s2=Symbol("lastReject"),VG=Symbol("error"),UF=Symbol("ended"),t2=Symbol("lastPromise"),og=Symbol("handlePromise"),a2=Symbol("stream");function H7($,Y){return{value:$,done:Y}}function i61($){var Y=$[G7];if(Y!==null){var q=$[a2].read();if(q!==null)$[t2]=null,$[G7]=null,$[s2]=null,Y(H7(q,!1))}}function n61($){process.nextTick(i61,$)}function c61($,Y){return function(q,z){$.then(function(){if(Y[UF]){q(H7(void 0,!0));return}Y[og](q,z)},z)}}var p61=Object.getPrototypeOf(function(){}),d61=Object.setPrototypeOf((JF={get stream(){return this[a2]},next:function(){var Y=this,q=this[VG];if(q!==null)return Promise.reject(q);if(this[UF])return Promise.resolve(H7(void 0,!0));if(this[a2].destroyed)return new Promise(function(I,Q){process.nextTick(function(){if(Y[VG])Q(Y[VG]);else I(H7(void 0,!0))})});var z=this[t2],J;if(z)J=new Promise(c61(z,this));else{var U=this[a2].read();if(U!==null)return Promise.resolve(H7(U,!1));J=new Promise(this[og])}return this[t2]=J,J}},K7(JF,Symbol.asyncIterator,function(){return this}),K7(JF,"return",function(){var Y=this;return new Promise(function(q,z){Y[a2].destroy(null,function(J){if(J){z(J);return}q(H7(void 0,!0))})})}),JF),p61),m61=function(Y){var q,z=Object.create(d61,(q={},K7(q,a2,{value:Y,writable:!0}),K7(q,G7,{value:null,writable:!0}),K7(q,s2,{value:null,writable:!0}),K7(q,VG,{value:null,writable:!0}),K7(q,UF,{value:Y._readableState.endEmitted,writable:!0}),K7(q,og,{value:function(U,I){var Q=z[a2].read();if(Q)z[t2]=null,z[G7]=null,z[s2]=null,U(H7(Q,!1));else z[G7]=U,z[s2]=I},writable:!0}),q));return z[t2]=null,b61(Y,function(J){if(J&&J.code!=="ERR_STREAM_PREMATURE_CLOSE"){var U=z[s2];if(U!==null)z[t2]=null,z[G7]=null,z[s2]=null,U(J);z[VG]=J;return}var I=z[G7];if(I!==null)z[t2]=null,z[G7]=null,z[s2]=null,I(H7(void 0,!0));z[UF]=!0}),Y.on("readable",n61.bind(null,z)),z};Q70.exports=m61});var W70=M((z14,Z70)=>{function G70($,Y,q,z,J,U,I){try{var Q=$[U](I),K=Q.value}catch(G){q(G);return}if(Q.done)Y(K);else Promise.resolve(K).then(z,J)}function l61($){return function(){var Y=this,q=arguments;return new Promise(function(z,J){var U=$.apply(Y,q);function I(K){G70(U,z,J,I,Q,"next",K)}function Q(K){G70(U,z,J,I,Q,"throw",K)}I(void 0)})}}function H70($,Y){var q=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),q.push.apply(q,z)}return q}function o61($){for(var Y=1;Y<arguments.length;Y++){var q=arguments[Y]!=null?arguments[Y]:{};Y%2?H70(Object(q),!0).forEach(function(z){r61($,z,q[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(q)):H70(Object(q)).forEach(function(z){Object.defineProperty($,z,Object.getOwnPropertyDescriptor(q,z))})}return $}function r61($,Y,q){if(Y=s61(Y),Y in $)Object.defineProperty($,Y,{value:q,enumerable:!0,configurable:!0,writable:!0});else $[Y]=q;return $}function s61($){var Y=t61($,"string");return typeof Y==="symbol"?Y:String(Y)}function t61($,Y){if(typeof $!=="object"||$===null)return $;var q=$[Symbol.toPrimitive];if(q!==void 0){var z=q.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var a61=I7().codes.ERR_INVALID_ARG_TYPE;function e61($,Y,q){var z;if(Y&&typeof Y.next==="function")z=Y;else if(Y&&Y[Symbol.asyncIterator])z=Y[Symbol.asyncIterator]();else if(Y&&Y[Symbol.iterator])z=Y[Symbol.iterator]();else throw new a61("iterable",["Iterable"],Y);var J=new $(o61({objectMode:!0},q)),U=!1;J._read=function(){if(!U)U=!0,I()};function I(){return Q.apply(this,arguments)}function Q(){return Q=l61(function*(){try{var K=yield z.next(),G=K.value,H=K.done;if(H)J.push(null);else if(J.push(yield G))I();else U=!1}catch(Z){J.destroy(Z)}}),Q.apply(this,arguments)}return J}Z70.exports=e61});var pg=M((U14,P70)=>{P70.exports=h1;var XJ;h1.ReadableState=w70;var J14=m("events").EventEmitter,L70=function(Y,q){return Y.listeners(q).length},wG=m("stream"),IF=m("buffer").Buffer,$81=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Y81($){return IF.from($)}function q81($){return IF.isBuffer($)||$ instanceof $81}var rg=m("util"),X1;if(rg&&rg.debuglog)X1=rg.debuglog("stream");else X1=function(){};var z81=f30(),qS=ug(),J81=fg(),U81=J81.getHighWaterMark,QF=I7().codes,I81=QF.ERR_INVALID_ARG_TYPE,Q81=QF.ERR_STREAM_PUSH_AFTER_EOF,K81=QF.ERR_METHOD_NOT_IMPLEMENTED,G81=QF.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,VJ,sg,tg;m0()(h1,wG);var LG=qS.errorOrDestroy,ag=["error","close","destroy","pause","resume"];function H81($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(Array.isArray($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}function w70($,Y,q){if(XJ=XJ||o2(),$=$||{},typeof q!=="boolean")q=Y instanceof XJ;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=U81(this,$,"readableHighWaterMark",q),this.buffer=new z81,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!VJ)VJ=WJ().StringDecoder;this.decoder=new VJ($.encoding),this.encoding=$.encoding}}function h1($){if(XJ=XJ||o2(),!(this instanceof h1))return new h1($);var Y=this instanceof XJ;if(this._readableState=new w70($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}wG.call(this)}Object.defineProperty(h1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});h1.prototype.destroy=qS.destroy;h1.prototype._undestroy=qS.undestroy;h1.prototype._destroy=function($,Y){Y($)};h1.prototype.push=function($,Y){var q=this._readableState,z;if(!q.objectMode){if(typeof $==="string"){if(Y=Y||q.defaultEncoding,Y!==q.encoding)$=IF.from($,Y),Y="";z=!0}}else z=!0;return F70(this,$,Y,!1,z)};h1.prototype.unshift=function($){return F70(this,$,null,!0,!1)};function F70($,Y,q,z,J){X1("readableAddChunk",Y);var U=$._readableState;if(Y===null)U.reading=!1,X81($,U);else{var I;if(!J)I=Z81(U,Y);if(I)LG($,I);else if(U.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==IF.prototype)Y=Y81(Y);if(z)if(U.endEmitted)LG($,new G81);else eg($,U,Y,!0);else if(U.ended)LG($,new Q81);else if(U.destroyed)return!1;else if(U.reading=!1,U.decoder&&!q)if(Y=U.decoder.write(Y),U.objectMode||Y.length!==0)eg($,U,Y,!1);else YS($,U);else eg($,U,Y,!1)}else if(!z)U.reading=!1,YS($,U)}return!U.ended&&(U.length<U.highWaterMark||U.length===0)}function eg($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync)Y.awaitDrain=0,$.emit("data",q);else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if(Y.needReadable)KF($)}YS($,Y)}function Z81($,Y){var q;if(!q81(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)q=new I81("chunk",["string","Buffer","Uint8Array"],Y);return q}h1.prototype.isPaused=function(){return this._readableState.flowing===!1};h1.prototype.setEncoding=function($){if(!VJ)VJ=WJ().StringDecoder;var Y=new VJ($);this._readableState.decoder=Y,this._readableState.encoding=this._readableState.decoder.encoding;var q=this._readableState.buffer.head,z="";while(q!==null)z+=Y.write(q.data),q=q.next;if(this._readableState.buffer.clear(),z!=="")this._readableState.buffer.push(z);return this._readableState.length=z.length,this};var X70=1073741824;function W81($){if($>=X70)$=X70;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function V70($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=W81($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}h1.prototype.read=function($){X1("read",$),$=parseInt($,10);var Y=this._readableState,q=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(X1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)$S(this);else KF(this);return null}if($=V70($,Y),$===0&&Y.ended){if(Y.length===0)$S(this);return null}var z=Y.needReadable;if(X1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,X1("length less than watermark",z);if(Y.ended||Y.reading)z=!1,X1("reading or ended",z);else if(z){if(X1("do read"),Y.reading=!0,Y.sync=!0,Y.length===0)Y.needReadable=!0;if(this._read(Y.highWaterMark),Y.sync=!1,!Y.reading)$=V70(q,Y)}var J;if($>0)J=N70($,Y);else J=null;if(J===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)$S(this)}if(J!==null)this.emit("data",J);return J};function X81($,Y){if(X1("onEofChunk"),Y.ended)return;if(Y.decoder){var q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}if(Y.ended=!0,Y.sync)KF($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,O70($)}function KF($){var Y=$._readableState;if(X1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)X1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(O70,$)}function O70($){var Y=$._readableState;if(X1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,zS($)}function YS($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(V81,$,Y)}function V81($,Y){while(!Y.reading&&!Y.ended&&(Y.length<Y.highWaterMark||Y.flowing&&Y.length===0)){var q=Y.length;if(X1("maybeReadMore read 0"),$.read(0),q===Y.length)break}Y.readingMore=!1}h1.prototype._read=function($){LG(this,new K81("_read()"))};h1.prototype.pipe=function($,Y){var q=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=$;break;case 1:z.pipes=[z.pipes,$];break;default:z.pipes.push($);break}z.pipesCount+=1,X1("pipe count=%d opts=%j",z.pipesCount,Y);var J=(!Y||Y.end!==!1)&&$!==process.stdout&&$!==process.stderr,U=J?Q:w;if(z.endEmitted)process.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(F,O){if(X1("onunpipe"),F===q){if(O&&O.hasUnpiped===!1)O.hasUnpiped=!0,H()}}function Q(){X1("onend"),$.end()}var K=L81(q);$.on("drain",K);var G=!1;function H(){if(X1("cleanup"),$.removeListener("close",X),$.removeListener("finish",L),$.removeListener("drain",K),$.removeListener("error",V),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",w),q.removeListener("data",Z),G=!0,z.awaitDrain&&(!$._writableState||$._writableState.needDrain))K()}q.on("data",Z);function Z(F){X1("ondata");var O=$.write(F);if(X1("dest.write",O),O===!1){if((z.pipesCount===1&&z.pipes===$||z.pipesCount>1&&D70(z.pipes,$)!==-1)&&!G)X1("false write response, pause",z.awaitDrain),z.awaitDrain++;q.pause()}}function V(F){if(X1("onerror",F),w(),$.removeListener("error",V),L70($,"error")===0)LG($,F)}H81($,"error",V);function X(){$.removeListener("finish",L),w()}$.once("close",X);function L(){X1("onfinish"),$.removeListener("close",X),w()}$.once("finish",L);function w(){X1("unpipe"),q.unpipe($)}if($.emit("pipe",q),!z.flowing)X1("pipe resume"),q.resume();return $};function L81($){return function(){var q=$._readableState;if(X1("pipeOnDrain",q.awaitDrain),q.awaitDrain)q.awaitDrain--;if(q.awaitDrain===0&&L70($,"data"))q.flowing=!0,zS($)}}h1.prototype.unpipe=function($){var Y=this._readableState,q={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,q);return this}if(!$){var{pipes:z,pipesCount:J}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<J;U++)z[U].emit("unpipe",this,{hasUnpiped:!1});return this}var I=D70(Y.pipes,$);if(I===-1)return this;if(Y.pipes.splice(I,1),Y.pipesCount-=1,Y.pipesCount===1)Y.pipes=Y.pipes[0];return $.emit("unpipe",this,q),this};h1.prototype.on=function($,Y){var q=wG.prototype.on.call(this,$,Y),z=this._readableState;if($==="data"){if(z.readableListening=this.listenerCount("readable")>0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,X1("on readable",z.length,z.reading),z.length)KF(this);else if(!z.reading)process.nextTick(w81,this)}}return q};h1.prototype.addListener=h1.prototype.on;h1.prototype.removeListener=function($,Y){var q=wG.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(M70,this);return q};h1.prototype.removeAllListeners=function($){var Y=wG.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(M70,this);return Y};function M70($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function w81($){X1("readable nexttick read 0"),$.read(0)}h1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)X1("resume"),$.flowing=!$.readableListening,F81(this,$);return $.paused=!1,this};function F81($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(O81,$,Y)}function O81($,Y){if(X1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),zS($),Y.flowing&&!Y.reading)$.read(0)}h1.prototype.pause=function(){if(X1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)X1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function zS($){var Y=$._readableState;X1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}h1.prototype.wrap=function($){var Y=this,q=this._readableState,z=!1;$.on("end",function(){if(X1("wrapped end"),q.decoder&&!q.ended){var I=q.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(X1("wrapped data"),q.decoder)I=q.decoder.write(I);if(q.objectMode&&(I===null||I===void 0))return;else if(!q.objectMode&&(!I||!I.length))return;var Q=Y.push(I);if(!Q)z=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(Q){return function(){return $[Q].apply($,arguments)}}(J);for(var U=0;U<ag.length;U++)$.on(ag[U],this.emit.bind(this,ag[U]));return this._read=function(I){if(X1("wrapped _read",I),z)z=!1,$.resume()},this};if(typeof Symbol==="function")h1.prototype[Symbol.asyncIterator]=function(){if(sg===void 0)sg=K70();return sg(this)};Object.defineProperty(h1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(h1.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(h1.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Y){if(this._readableState)this._readableState.flowing=Y}});h1._fromList=N70;Object.defineProperty(h1.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function N70($,Y){if(Y.length===0)return null;var q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.first();else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=Y.buffer.consume($,Y.decoder);return q}function $S($){var Y=$._readableState;if(X1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(M81,Y,$)}function M81($,Y){if(X1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var q=Y._writableState;if(!q||q.autoDestroy&&q.finished)Y.destroy()}}}if(typeof Symbol==="function")h1.from=function($,Y){if(tg===void 0)tg=W70();return tg(h1,$,Y)};function D70($,Y){for(var q=0,z=$.length;q<z;q++)if($[q]===Y)return q;return-1}});var JS=M((I14,B70)=>{B70.exports=u9;var GF=I7().codes,N81=GF.ERR_METHOD_NOT_IMPLEMENTED,D81=GF.ERR_MULTIPLE_CALLBACK,P81=GF.ERR_TRANSFORM_ALREADY_TRANSFORMING,A81=GF.ERR_TRANSFORM_WITH_LENGTH_0,HF=o2();m0()(u9,HF);function B81($,Y){var q=this._transformState;q.transforming=!1;var z=q.writecb;if(z===null)return this.emit("error",new D81);if(q.writechunk=null,q.writecb=null,Y!=null)this.push(Y);z($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function u9($){if(!(this instanceof u9))return new u9($);if(HF.call(this,$),this._transformState={afterTransform:B81.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",T81)}function T81(){var $=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(Y,q){A70($,Y,q)});else A70(this,null,null)}u9.prototype.push=function($,Y){return this._transformState.needTransform=!1,HF.prototype.push.call(this,$,Y)};u9.prototype._transform=function($,Y,q){q(new N81("_transform()"))};u9.prototype._write=function($,Y,q){var z=this._transformState;if(z.writecb=q,z.writechunk=$,z.writeencoding=Y,!z.transforming){var J=this._readableState;if(z.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};u9.prototype._read=function($){var Y=this._transformState;if(Y.writechunk!==null&&!Y.transforming)Y.transforming=!0,this._transform(Y.writechunk,Y.writeencoding,Y.afterTransform);else Y.needTransform=!0};u9.prototype._destroy=function($,Y){HF.prototype._destroy.call(this,$,function(q){Y(q)})};function A70($,Y,q){if(Y)return $.emit("error",Y);if(q!=null)$.push(q);if($._writableState.length)throw new A81;if($._transformState.transforming)throw new P81;return $.push(null)}});var j70=M((Q14,E70)=>{E70.exports=FG;var T70=JS();m0()(FG,T70);function FG($){if(!(this instanceof FG))return new FG($);T70.call(this,$)}FG.prototype._transform=function($,Y,q){q(null,$)}});var h70=M((K14,v70)=>{var US;function E81($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var C70=I7().codes,j81=C70.ERR_MISSING_ARGS,_81=C70.ERR_STREAM_DESTROYED;function _70($){if($)throw $}function R81($){return $.setHeader&&typeof $.abort==="function"}function C81($,Y,q,z){z=E81(z);var J=!1;if($.on("close",function(){J=!0}),US===void 0)US=zF();US($,{readable:Y,writable:q},function(I){if(I)return z(I);J=!0,z()});var U=!1;return function(I){if(J)return;if(U)return;if(U=!0,R81($))return $.abort();if(typeof $.destroy==="function")return $.destroy();z(I||new _81("pipe"))}}function R70($){$()}function v81($,Y){return $.pipe(Y)}function h81($){if(!$.length)return _70;if(typeof $[$.length-1]!=="function")return _70;return $.pop()}function g81(){for(var $=arguments.length,Y=Array($),q=0;q<$;q++)Y[q]=arguments[q];var z=h81(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new j81("streams");var J,U=Y.map(function(I,Q){var K=Q<Y.length-1,G=Q>0;return C81(I,K,G,function(H){if(!J)J=H;if(H)U.forEach(R70);if(K)return;U.forEach(R70),z(J)})});return Y.reduce(v81)}v70.exports=g81});var P8=M((v$,MG)=>{var OG=m("stream");if(process.env.READABLE_STREAM==="disable"&&OG)MG.exports=OG.Readable,Object.assign(MG.exports,OG),MG.exports.Stream=OG;else v$=MG.exports=pg(),v$.Stream=OG||v$,v$.Readable=v$,v$.Writable=ng(),v$.Duplex=o2(),v$.Transform=JS(),v$.PassThrough=j70(),v$.finished=zF(),v$.pipeline=h70()});var U8=M((G14,y70)=>{var g70=m("fs"),S81=function($,Y,q,z){if($.super_=Y,!z)z=q,q=null;if(q)Object.keys(q).forEach((U)=>{Object.defineProperty($,U,Object.getOwnPropertyDescriptor(q,U))});let J={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(z)Object.keys(z).forEach((U)=>{J[U]=Object.getOwnPropertyDescriptor(z,U)});$.prototype=Object.create(Y.prototype,J)},y81=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,S70={nop(){},promiseImmediate($){return new Promise((Y)=>{if(global.setImmediate)setImmediate(()=>{Y($)});else setTimeout(()=>{Y($)},1)})},inherits:S81,dateToExcel($,Y){return 25569+$.getTime()/86400000-(Y?1462:0)},excelToDate($,Y){let q=Math.round(($-25569+(Y?1462:0))*24*3600*1000);return new Date(q)},parsePath($){let Y=$.lastIndexOf("/");return{path:$.substring(0,Y),name:$.substring(Y+1)}},getRelsPath($){let Y=S70.parsePath($);return`${Y.path}/_rels/${Y.name}.rels`},xmlEncode($){let Y=y81.exec($);if(!Y)return $;let q="",z="",J=0,U=Y.index;for(;U<$.length;U++){let I=$.charCodeAt(U);switch(I){case 34:z="&quot;";break;case 38:z="&amp;";break;case 39:z="&apos;";break;case 60:z="&lt;";break;case 62:z="&gt;";break;case 127:z="";break;default:{if(I<=31&&(I<=8||I>=11&&I!==13)){z="";break}continue}}if(J!==U)q+=$.substring(J,U);if(J=U+1,z)q+=z}if(J!==U)return q+$.substring(J,U);return q},xmlDecode($){return $.replace(/&([a-z]*);/g,(Y)=>{switch(Y){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return Y}})},validInt($){let Y=parseInt($,10);return!Number.isNaN(Y)?Y:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((Y)=>{g70.access($,g70.constants.F_OK,(q)=>{Y(!q)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};y70.exports=S70});var IS=M((H14,k70)=>{class x70{constructor($){this._buf=Buffer.alloc($&&$.size||16384),this._encoding=$&&$.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){if(!this._buffer)this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length);return this._buffer}reset($){$=$||0,this._buffer=void 0,this._inPos=$}_grow($){let Y=this._buf.length*2;while(Y<$)Y*=2;let q=Buffer.alloc(Y);this._buf.copy(q,0),this._buf=q}addText($){this._buffer=void 0;let Y=this._inPos+this._buf.write($,this._inPos,this._encoding);while(Y>=this._buf.length-4)this._grow(this._inPos+$.length),Y=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=Y}addStringBuf($){if($.length){if(this._buffer=void 0,this.length+$.length>this.capacity)this._grow(this.length+$.length);$._buf.copy(this._buf,this._inPos,0,$.length),this._inPos+=$.length}}}k70.exports=x70});var NG=M((Z14,p70)=>{var x81=P8(),u70=U8(),k81=IS();class f70{constructor($,Y){this._data=$,this._encoding=Y}get length(){return this.toBuffer().length}copy($,Y,q,z){return this.toBuffer().copy($,Y,q,z)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class b70{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,q,z){return this._data._buf.copy($,Y,q,z)}toBuffer(){return this._data.toBuffer()}}class i70{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,q,z){this._data.copy($,Y,q,z)}toBuffer(){return this._data}}class n70{constructor($){this.size=$,this.buffer=Buffer.alloc($),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let $=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy($,0,this.iRead,this.iWrite),$}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read($){let Y;if($===0)return null;if($===void 0||$>=this.length)return Y=this.toBuffer(),this.iRead=this.iWrite,Y;return Y=Buffer.alloc($),this.buffer.copy(Y,0,this.iRead,$),this.iRead+=$,Y}write($,Y,q){let z=Math.min(q,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,Y,Y+z),this.iWrite+=z,z}}var c70=function($){$=$||{},this.bufSize=$.bufSize||1048576,this.buffers=[],this.batch=$.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};u70.inherits(c70,x81.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map(($)=>$.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let Y=this.buffers[this.buffers.length-1];if(!Y.full)return Y}let $=new n70(this.bufSize);return this.buffers.push($),$},async _pipe($){let Y=function(q){return new Promise((z)=>{q.write($.toBuffer(),()=>{z()})})};await Promise.all(this.pipes.map(Y))},_writeToBuffers($){let Y=0,q=$.length;while(Y<q){let z=this._getWritableBuffer();Y+=z.write($,Y,q-Y)}},async write($,Y,q){if(Y instanceof Function)q=Y,Y="utf8";q=q||u70.nop;let z;if($ instanceof k81)z=new b70($);else if($ instanceof Buffer)z=new i70($);else if(typeof $==="string"||$ instanceof String||$ instanceof ArrayBuffer)z=new f70($,Y);else throw Error("Chunk must be one of type String, Buffer or StringBuf.");if(this.pipes.length)if(this.batch){this._writeToBuffers(z);while(!this.corked&&this.buffers.length>1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(z),q();else this._writeToBuffers(z),process.nextTick(q);else{if(!this.paused)this.emit("data",z.toBuffer());this._writeToBuffers(z),this.emit("readable")}return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)while(this.buffers.length)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end($,Y,q){let z=(J)=>{if(J)q(J);else this._flush(),this.pipes.forEach((U)=>{U.end()}),this.emit("finish")};if($)this.write($,Y,z);else z()},read($){let Y;if($){Y=[];while($&&this.buffers.length&&!this.buffers[0].eod){let q=this.buffers[0],z=q.read($);if($-=z.length,Y.push(z),q.eod&&q.full)this.buffers.shift()}return Buffer.concat(Y)}return Y=this.buffers.map((q)=>q.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(Y)},setEncoding($){this.encoding=$},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe($){if(this.pipes.push($),!this.paused&&this.buffers.length)this.end()},unpipe($){this.pipes=this.pipes.filter((Y)=>Y!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});p70.exports=c70});var l70=M((f81)=>{var d70=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:m70}=m("buffer");function u81($){if(typeof $!=="string")return $;if(d70)return m70.from(d70.encode($).buffer);return m70.from($)}f81.stringToBuffer=u81});var s70=M((V14,r70)=>{var i81=m("events"),n81=yg(),c81=NG(),{stringToBuffer:X14}=l70();class o70 extends i81.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new n81,this.stream=new c81}append($,Y){if(Y.hasOwnProperty("base64")&&Y.base64)this.zip.file(Y.name,$,{base64:!0});else this.zip.file(Y.name,$)}async finalize(){let $=await this.zip.generateAsync(this.options);this.stream.end($),this.emit("finish")}read($){return this.stream.read($)}setEncoding($){return this.stream.setEncoding($)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe($,Y){return this.stream.pipe($,Y)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}r70.exports={ZipWriter:o70}});var c6=M((L14,e70)=>{var p81=l4(),t70=U8();function a70($,Y,q){$.push(` ${Y}="${t70.xmlEncode(q.toString())}"`)}function QS($,Y){if(Y){let q=[];p81.each(Y,(z,J)=>{if(z!==void 0)a70(q,J,z)}),$.push(q.join(""))}}class KS{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml($){let Y=this._xml;Y.push("<?xml"),QS(Y,$),Y.push(`?>
`)}openNode($,Y){let q=this.tos,z=this._xml;if(q&&this.open)z.push(">");this._stack.push($),z.push("<"),z.push($),QS(z,Y),this.leaf=!0,this.open=!0}addAttribute($,Y){if(!this.open)throw Error("Cannot write attributes to node if it is not open");if(Y!==void 0)a70(this._xml,$,Y)}addAttributes($){if(!this.open)throw Error("Cannot write attributes to node if it is not open");QS(this._xml,$)}writeText($){let Y=this._xml;if(this.open)Y.push(">"),this.open=!1;this.leaf=!1,Y.push(t70.xmlEncode($.toString()))}writeXml($){if(this.open)this._xml.push(">"),this.open=!1;this.leaf=!1,this._xml.push($)}closeNode(){let $=this._stack.pop(),Y=this._xml;if(this.leaf)Y.push("/>");else Y.push("</"),Y.push($),Y.push(">");this.open=!1,this.leaf=!1}leafNode($,Y,q){if(this.openNode($,Y),q!==void 0)this.writeText(q);this.closeNode()}closeAll(){while(this._stack.length)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let $=this._rollbacks.pop();if(this._xml.length>$.xml)this._xml.splice($.xml,this._xml.length-$.xml);if(this._stack.length>$.stack)this._stack.splice($.stack,this._stack.length-$.stack);this.leaf=$.leaf,this.open=$.open}get xml(){return this.closeAll(),this._xml.join("")}}KS.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"};e70.exports=KS});var GS=M((m81)=>{var $20=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function d81($){if(typeof $==="string")return $;if($20)return $20.decode($);return $.toString()}m81.bufferToString=d81});var U20=M((q20)=>{Object.defineProperty(q20,"__esModule",{value:!0});q20.CHAR=`
\r -퟿-�\uD800\uDC00-\uDBFF\uDFFF`;q20.S=` \r
`;q20.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";q20.NAME_CHAR="-"+q20.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";q20.CHAR_RE=new RegExp("^["+q20.CHAR+"]$","u");q20.S_RE=new RegExp("^["+q20.S+"]+$","u");q20.NAME_START_CHAR_RE=new RegExp("^["+q20.NAME_START_CHAR+"]$","u");q20.NAME_CHAR_RE=new RegExp("^["+q20.NAME_CHAR+"]$","u");q20.NAME_RE=new RegExp("^["+q20.NAME_START_CHAR+"]["+q20.NAME_CHAR+"]*$","u");q20.NMTOKEN_RE=new RegExp("^["+q20.NAME_CHAR+"]+$","u");var HS=9,ZS=10,WS=13,XS=32;q20.S_LIST=[XS,ZS,WS,HS];function o81($){return $>=XS&&$<=55295||$===ZS||$===WS||$===HS||$>=57344&&$<=65533||$>=65536&&$<=1114111}q20.isChar=o81;function r81($){return $===XS||$===ZS||$===WS||$===HS}q20.isS=r81;function Y20($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}q20.isNameStartChar=Y20;function s81($){return Y20($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}q20.isNameChar=s81});var L20=M((Z20)=>{Object.defineProperty(Z20,"__esModule",{value:!0});Z20.CHAR="\x01-퟿-�\uD800\uDC00-\uDBFF\uDFFF";Z20.RESTRICTED_CHAR="\x01-\b\v\f\x0E-\x1F-„†-Ÿ";Z20.S=` \r
`;Z20.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";Z20.NAME_CHAR="-"+Z20.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";Z20.CHAR_RE=new RegExp("^["+Z20.CHAR+"]$","u");Z20.RESTRICTED_CHAR_RE=new RegExp("^["+Z20.RESTRICTED_CHAR+"]$","u");Z20.S_RE=new RegExp("^["+Z20.S+"]+$","u");Z20.NAME_START_CHAR_RE=new RegExp("^["+Z20.NAME_START_CHAR+"]$","u");Z20.NAME_CHAR_RE=new RegExp("^["+Z20.NAME_CHAR+"]$","u");Z20.NAME_RE=new RegExp("^["+Z20.NAME_START_CHAR+"]["+Z20.NAME_CHAR+"]*$","u");Z20.NMTOKEN_RE=new RegExp("^["+Z20.NAME_CHAR+"]+$","u");var I20=9,Q20=10,K20=13,G20=32;Z20.S_LIST=[G20,Q20,K20,I20];function K$1($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}Z20.isChar=K$1;function G$1($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}Z20.isRestrictedChar=G$1;function H$1($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}Z20.isCharAndNotRestricted=H$1;function Z$1($){return $===G20||$===Q20||$===K20||$===I20}Z20.isS=Z$1;function H20($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}Z20.isNameStartChar=H20;function W$1($){return H20($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}Z20.isNameChar=W$1});var O20=M((F20)=>{Object.defineProperty(F20,"__esModule",{value:!0});F20.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";F20.NC_NAME_CHAR="-"+F20.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";F20.NC_NAME_START_CHAR_RE=new RegExp("^["+F20.NC_NAME_START_CHAR+"]$","u");F20.NC_NAME_CHAR_RE=new RegExp("^["+F20.NC_NAME_CHAR+"]$","u");F20.NC_NAME_RE=new RegExp("^["+F20.NC_NAME_START_CHAR+"]["+F20.NC_NAME_CHAR+"]*$","u");function w20($){return $>=65&&$<=90||$===95||$>=97&&$<=122||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8204&&$<=8205||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}F20.isNCNameStartChar=w20;function j$1($){return w20($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}F20.isNCNameChar=j$1});var b20=M((f20)=>{Object.defineProperty(f20,"__esModule",{value:!0});var MJ=U20(),g$1=L20(),jS=O20(),c8=MJ.isS,S$1=MJ.isChar,DG=MJ.isNameStartChar,M20=MJ.isNameChar,g20=MJ.S_LIST,y$1=MJ.NAME_RE,x$1=g$1.isChar,k$1=jS.isNCNameStartChar,u$1=jS.isNCNameChar,f$1=jS.NC_NAME_RE,DF="http://www.w3.org/XML/1998/namespace",OJ="http://www.w3.org/2000/xmlns/",b$1={__proto__:null,xml:DF,xmlns:OJ},i$1={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},h4=-1,m5=-2,N20=0,n$1=1,LS=2,c$1=3,LJ=4,p$1=5,d$1=6,m$1=7,wS=8,l$1=9,o$1=10,r$1=11,s$1=12,A8=13,wF=14,FS=15,t$1=16,OS=17,a$1=18,e$1=19,MS=20,$51=21,Y51=22,q51=23,D20=24,NS=25,FF=26,P20=27,z51=28,J51=29,A20=30,U51=31,I51=32,e2=33,Q51=34,DS=35,PG=36,PS=37,K51=38,B20=39,T20=40,G51=41,E20=42,H51=43,Z51=44,AS=9,W5=10,BS=13,j20=32,_20=33,S20=34,AG=38,y20=39,OF=45,MF=47,W51=59,Z7=60,wJ=61,O6=62,p6=63,x20=91,FJ=93,R20=133,C20=8232,NF=($)=>$===S20||$===y20,k20=[S20,y20],X51=[...k20,x20,O6],V51=[...k20,Z7,FJ],L51=[wJ,p6,...g20],w51=[...g20,O6,AG,Z7];function ES($,Y,q){switch(Y){case"xml":if(q!==DF)$.fail(`xml prefix must be bound to ${DF}.`);break;case"xmlns":if(q!==OJ)$.fail(`xmlns prefix must be bound to ${OJ}.`);break;default:}switch(q){case OJ:$.fail(Y===""?`the default namespace may not be set to ${q}.`:`may not assign a prefix (even "xmlns") to the URI ${OJ}.`);break;case DF:switch(Y){case"xml":break;case"":$.fail(`the default namespace may not be set to ${q}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function F51($,Y){for(let q of Object.keys(Y))ES($,q,Y[q])}var O51=($)=>f$1.test($),M51=($)=>y$1.test($),$Y=0,v20=1,TS=2;f20.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var h20={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class u20{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let Y=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,Y){this.nameStartCheck=k$1,this.nameCheck=u$1,this.isName=O51,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},b$1);let q=this.opt.additionalNamespaces;if(q!=null)F51(this,q),Object.assign(this.ns,q)}else this.nameStartCheck=DG,this.nameCheck=M20,this.isName=M51,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var $;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=$Y,this.attribList=[];let{fragmentOpt:Y}=this;this.state=Y?A8:N20,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=Y,this.xmlDeclPossible=!Y,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:q}=this.opt;if(q===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");q="1.0"}this.setXMLVersion(q),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(i$1),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,Y){this[h20[$]]=Y}off($){this[h20[$]]=void 0}makeError($){var Y;let q=(Y=this.fileName)!==null&&Y!==void 0?Y:"";if(this.trackPosition){if(q.length>0)q+=":";q+=`${this.line}:${this.column}`}if(q.length>0)q+=": ";return Error(q+$)}fail($){let Y=this.makeError($),q=this.errorHandler;if(q===void 0)throw Y;else q(Y);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let Y=!1;if($===null)Y=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let q=$.length,z=$.charCodeAt(q-1);if(!Y&&(z===BS||z>=55296&&z<=56319))this.carriedFromPrevious=$[q-1],q--,$=$.slice(0,q);let{stateTable:J}=this;this.chunk=$,this.i=0;while(this.i<q)J[this.state].call(this);return this.chunkPosition+=q,Y?this.end():this}close(){return this.write(null)}getCode10(){let{chunk:$,i:Y}=this;if(this.prevI=Y,this.i=Y+1,Y>=$.length)return h4;let q=$.charCodeAt(Y);if(this.column++,q<55296){if(q>=j20||q===AS)return q;switch(q){case W5:return this.line++,this.column=0,this.positionAtNewLine=this.position,W5;case BS:if($.charCodeAt(Y+1)===W5)this.i=Y+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,m5;default:return this.fail("disallowed character."),q}}if(q>56319){if(!(q>=57344&&q<=65533))this.fail("disallowed character.");return q}let z=65536+(q-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,z>1114111)this.fail("disallowed character.");return z}getCode11(){let{chunk:$,i:Y}=this;if(this.prevI=Y,this.i=Y+1,Y>=$.length)return h4;let q=$.charCodeAt(Y);if(this.column++,q<55296){if(q>31&&q<127||q>159&&q!==C20||q===AS)return q;switch(q){case W5:return this.line++,this.column=0,this.positionAtNewLine=this.position,W5;case BS:{let J=$.charCodeAt(Y+1);if(J===W5||J===R20)this.i=Y+2}case R20:case C20:return this.line++,this.column=0,this.positionAtNewLine=this.position,m5;default:return this.fail("disallowed character."),q}}if(q>56319){if(!(q>=57344&&q<=65533))this.fail("disallowed character.");return q}let z=65536+(q-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,z>1114111)this.fail("disallowed character.");return z}getCodeNorm(){let $=this.getCode();return $===m5?W5:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:Y}=this,{chunk:q}=this;while(!0){let z=this.getCode(),J=z===m5,U=J?W5:z;if(U===h4||$.includes(U))return this.text+=q.slice(Y,this.prevI),U;if(J)this.text+=`${q.slice(Y,this.prevI)}
`,Y=this.i}}captureToChar($){let{i:Y}=this,{chunk:q}=this;while(!0){let z=this.getCode();switch(z){case m5:this.text+=`${q.slice(Y,this.prevI)}
`,Y=this.i,z=W5;break;case h4:return this.text+=q.slice(Y),!1;default:}if(z===$)return this.text+=q.slice(Y,this.prevI),!0}}captureNameChars(){let{chunk:$,i:Y}=this;while(!0){let q=this.getCode();if(q===h4)return this.name+=$.slice(Y),h4;if(!M20(q))return this.name+=$.slice(Y,this.prevI),q===m5?W5:q}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===h4||!c8($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=S$1,this.getCode=this.getCode10;else this.isChar=x$1,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=n$1}sBeginWhitespace(){let $=this.i,Y=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(Y){case Z7:if(this.state=FS,this.text.length!==0)throw Error("no-empty text at start");break;case h4:break;default:this.unget(),this.state=A8,this.xmlDeclPossible=!1}}sDoctype(){var $;let Y=this.captureTo(X51);switch(Y){case O6:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=A8,this.doctype=!0;break}case h4:break;default:if(this.text+=String.fromCodePoint(Y),Y===x20)this.state=LJ;else if(NF(Y))this.state=c$1,this.q=Y}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=LS}sDTD(){let $=this.captureTo(V51);if($===h4)return;if(this.text+=String.fromCodePoint($),$===FJ)this.state=LS;else if($===Z7)this.state=d$1;else if(NF($))this.state=p$1,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=LJ,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case _20:this.state=m$1,this.openWakaBang="";break;case p6:this.state=r$1;break;default:this.state=LJ}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),Y=this.openWakaBang+=$;if(this.text+=$,Y!=="-")this.state=Y==="--"?wS:LJ,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(OF))this.text+="-",this.state=l$1}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===OF?o$1:wS}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===O6)this.state=LJ;else this.fail("malformed comment."),this.state=wS}sDTDPI(){if(this.captureToChar(p6))this.text+="?",this.state=s$1}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===O6)this.state=LJ}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:Y}=this;$:while(!0)switch(this.getCode()){case m5:this.entity+=`${Y.slice($,this.prevI)}
`,$=this.i;break;case W51:{let{entityReturnState:q}=this,z=this.entity+Y.slice($,this.prevI);this.state=q;let J;if(z==="")this.fail("empty entity name."),J="&;";else J=this.parseEntity(z),this.entity="";if(q!==A8||this.textHandler!==void 0)this.text+=J;break $}case h4:this.entity+=Y.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(DG($))this.state=Q51,this.unget(),this.xmlDeclPossible=!1;else switch($){case MF:this.state=H51,this.xmlDeclPossible=!1;break;case _20:this.state=t$1,this.openWakaBang="",this.xmlDeclPossible=!1;break;case p6:this.state=q51;break;default:this.fail("disallowed character in tag name"),this.state=A8,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0;this.state=MS,this.openWakaBang="";break;case"--":this.state=OS,this.openWakaBang="";break;case"DOCTYPE":if(this.state=LS,this.doctype||this.sawRoot)this.fail("inappropriately located doctype declaration.");this.openWakaBang="";break;default:if(this.openWakaBang.length>=7)this.fail("incorrect syntax.")}}sComment(){if(this.captureToChar(OF))this.state=a$1}sCommentEnding(){var $;let Y=this.getCodeNorm();if(Y===OF)this.state=e$1,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(Y)}`,this.state=OS}sCommentEnded(){let $=this.getCodeNorm();if($!==O6)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=OS;else this.state=A8}sCData(){if(this.captureToChar(FJ))this.state=$51}sCDataEnding(){let $=this.getCodeNorm();if($===FJ)this.state=Y51;else this.text+=`]${String.fromCodePoint($)}`,this.state=MS}sCDataEnding2(){var $;let Y=this.getCodeNorm();switch(Y){case O6:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=A8;break}case FJ:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(Y)}`,this.state=MS}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=D20;else if($===p6||c8($))this.fail("processing instruction without a target."),this.state=$===p6?FF:NS;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=D20}sPIRest(){let{chunk:$,i:Y}=this;while(!0){let q=this.getCodeNorm();if(q===h4){this.piTarget+=$.slice(Y);return}if(!this.nameCheck(q)){this.piTarget+=$.slice(Y,this.prevI);let z=q===p6;if(z||c8(q))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=z?e2:P20}else this.state=z?FF:NS;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(q);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===p6)this.state=FF;else if(!c8($))this.text=String.fromCodePoint($)}else if(this.captureToChar(p6))this.state=FF}sPIEnding(){var $;let Y=this.getCodeNorm();if(Y===O6){let{piTarget:q}=this;if(q.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:q,body:this.text}),this.piTarget=this.text="",this.state=A8}else if(Y===p6)this.text+="?";else this.text+=`?${String.fromCodePoint(Y)}`,this.state=NS;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===p6){this.state=e2;return}if($!==h4)this.state=z51,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(L51);if($===p6){this.state=e2,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(c8($)||$===wJ))return;if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=$===wJ?A20:J51}sXMLDeclEq(){let $=this.getCodeNorm();if($===p6){this.state=e2,this.fail("XML declaration is incomplete.");return}if(c8($))return;if($!==wJ)this.fail("value required.");this.state=A20}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===p6){this.state=e2,this.fail("XML declaration is incomplete.");return}if(c8($))return;if(!NF($))this.fail("value must be quoted."),this.q=j20;else this.q=$;this.state=U51}sXMLDeclValue(){let $=this.captureTo([this.q,p6]);if($===p6){this.state=e2,this.text="",this.fail("XML declaration is incomplete.");return}if($===h4)return;let Y=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let q=Y;if(this.xmlDecl.version=q,!/^1\.[0-9]+$/.test(q))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(q);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(Y))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=Y;break;case"standalone":if(Y!=="yes"&&Y!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=Y;break;default:}this.name="",this.state=I51}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===p6){this.state=e2;return}if(!c8($))this.fail("whitespace required."),this.unget();this.state=P20}sXMLDeclEnding(){var $;if(this.getCodeNorm()===O6){if(this.piTarget!=="xml")this.fail("processing instructions are not allowed before root.");else if(this.name!=="version"&&this.xmlDeclExpects.includes("version"))this.fail("XML declaration must contain a version.");($=this.xmldeclHandler)===null||$===void 0||$.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=A8}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let Y=this.captureNameChars();if(Y===h4)return;let q=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=q.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,q),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(Y){case O6:this.openTag();break;case MF:this.state=DS;break;default:if(!c8(Y))this.fail("disallowed character in tag name.");this.state=PG}}sOpenTagSlash(){if(this.getCode()===O6)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=PG}sAttrib(){let $=this.skipSpaces();if($===h4)return;if(DG($))this.unget(),this.state=PS;else if($===O6)this.openTag();else if($===MF)this.state=DS;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===wJ)this.state=B20;else if(c8($))this.state=K51;else if($===O6)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==h4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case h4:return;case wJ:this.state=B20;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===O6)this.openTag();else if(DG($))this.unget(),this.state=PS;else this.fail("disallowed character in attribute name."),this.state=PG}}sAttribValue(){let $=this.getCodeNorm();if(NF($))this.q=$,this.state=T20;else if(!c8($))this.fail("unquoted attribute value."),this.state=E20,this.unget()}sAttribValueQuoted(){let{q:$,chunk:Y}=this,{i:q}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+Y.slice(q,this.prevI)),this.name=this.text="",this.q=null,this.state=G51;return;case AG:this.text+=Y.slice(q,this.prevI),this.state=wF,this.entityReturnState=T20;return;case W5:case m5:case AS:this.text+=`${Y.slice(q,this.prevI)} `,q=this.i;break;case Z7:this.text+=Y.slice(q,this.prevI),this.fail("disallowed character.");return;case h4:this.text+=Y.slice(q);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(c8($))this.state=PG;else if($===O6)this.openTag();else if($===MF)this.state=DS;else if(DG($))this.fail("no whitespace between attributes."),this.unget(),this.state=PS;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(w51);switch($){case AG:this.state=wF,this.entityReturnState=E20;break;case Z7:this.fail("disallowed character.");break;case h4:break;default:if(this.text.includes("]]>"))this.fail('the string "]]>" is disallowed in char data.');if(this.pushAttrib(this.name,this.text),this.name=this.text="",$===O6)this.openTag();else this.state=PG}}sCloseTag(){let $=this.captureNameChars();if($===O6)this.closeTag();else if(c8($))this.state=Z51;else if($!==h4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case O6:this.closeTag();break;case h4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:Y}=this,{chunk:q,textHandler:z}=this;$:while(!0)switch(this.getCode()){case Z7:{if(this.state=FS,z!==void 0){let{text:J}=this,U=q.slice($,this.prevI);if(J.length!==0)z(J+U),this.text="";else if(U.length!==0)z(U)}Y=$Y;break $}case AG:if(this.state=wF,this.entityReturnState=A8,z!==void 0)this.text+=q.slice($,this.prevI);Y=$Y;break $;case FJ:switch(Y){case $Y:Y=v20;break;case v20:Y=TS;break;case TS:break;default:throw Error("impossible state")}break;case O6:if(Y===TS)this.fail('the string "]]>" is disallowed in char data.');Y=$Y;break;case m5:if(z!==void 0)this.text+=`${q.slice($,this.prevI)}
`;$=this.i,Y=$Y;break;case h4:if(z!==void 0)this.text+=q.slice($);break $;default:Y=$Y}this.forbiddenState=Y}handleTextOutsideRoot(){let{i:$}=this,{chunk:Y,textHandler:q}=this,z=!1;$:while(!0){let J=this.getCode();switch(J){case Z7:{if(this.state=FS,q!==void 0){let{text:U}=this,I=Y.slice($,this.prevI);if(U.length!==0)q(U+I),this.text="";else if(I.length!==0)q(I)}break $}case AG:if(this.state=wF,this.entityReturnState=A8,q!==void 0)this.text+=Y.slice($,this.prevI);z=!0;break $;case m5:if(q!==void 0)this.text+=`${Y.slice($,this.prevI)}
`;$=this.i;break;case h4:if(q!==void 0)this.text+=Y.slice($);break $;default:if(!c8(J))z=!0}}if(!z)return;if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0}pushAttribNS($,Y){var q;let{prefix:z,local:J}=this.qname($),U={name:$,prefix:z,local:J,value:Y};if(this.attribList.push(U),(q=this.attributeHandler)===null||q===void 0||q.call(this,U),z==="xmlns"){let I=Y.trim();if(this.currentXMLVersion==="1.0"&&I==="")this.fail("invalid attempt to undefine prefix in XML 1.0");this.topNS[J]=I,ES(this,J,I)}else if($==="xmlns"){let I=Y.trim();this.topNS[""]=I,ES(this,"",I)}}pushAttribPlain($,Y){var q;let z={name:$,value:Y};this.attribList.push(z),(q=this.attributeHandler)===null||q===void 0||q.call(this,z)}end(){var $,Y;if(!this.sawRoot)this.fail("document must contain a root element.");let{tags:q}=this;while(q.length>0){let J=q.pop();this.fail(`unclosed tag: ${J.name}`)}if(this.state!==N20&&this.state!==A8)this.fail("unexpected end.");let{text:z}=this;if(z.length!==0)($=this.textHandler)===null||$===void 0||$.call(this,z),this.text="";return this._closed=!0,(Y=this.endHandler)===null||Y===void 0||Y.call(this),this._init(),this}resolve($){var Y,q;let z=this.topNS[$];if(z!==void 0)return z;let{tags:J}=this;for(let U=J.length-1;U>=0;U--)if(z=J[U].ns[$],z!==void 0)return z;if(z=this.ns[$],z!==void 0)return z;return(q=(Y=this.opt).resolvePrefix)===null||q===void 0?void 0:q.call(Y,$)}qname($){let Y=$.indexOf(":");if(Y===-1)return{prefix:"",local:$};let q=$.slice(Y+1),z=$.slice(0,Y);if(z===""||q===""||q.includes(":"))this.fail(`malformed name: ${$}.`);return{prefix:z,local:q}}processAttribsNS(){var $;let{attribList:Y}=this,q=this.tag;{let{prefix:U,local:I}=this.qname(q.name);q.prefix=U,q.local=I;let Q=q.uri=($=this.resolve(U))!==null&&$!==void 0?$:"";if(U!==""){if(U==="xmlns")this.fail('tags may not have "xmlns" as prefix.');if(Q==="")this.fail(`unbound namespace prefix: ${JSON.stringify(U)}.`),q.uri=U}}if(Y.length===0)return;let{attributes:z}=q,J=new Set;for(let U of Y){let{name:I,prefix:Q,local:K}=U,G,H;if(Q==="")G=I==="xmlns"?OJ:"",H=I;else{if(G=this.resolve(Q),G===void 0)this.fail(`unbound namespace prefix: ${JSON.stringify(Q)}.`),G=Q;H=`{${G}}${K}`}if(J.has(H))this.fail(`duplicate attribute: ${H}.`);J.add(H),U.uri=G,z[I]=U}this.attribList=[]}processAttribsPlain(){let{attribList:$}=this,Y=this.tag.attributes;for(let{name:q,value:z}of $){if(Y[q]!==void 0)this.fail(`duplicate attribute: ${q}.`);Y[q]=z}this.attribList=[]}openTag(){var $;this.processAttribs();let{tags:Y}=this,q=this.tag;q.isSelfClosing=!1,($=this.openTagHandler)===null||$===void 0||$.call(this,q),Y.push(q),this.state=A8,this.name=""}openSelfClosingTag(){var $,Y,q;this.processAttribs();let{tags:z}=this,J=this.tag;if(J.isSelfClosing=!0,($=this.openTagHandler)===null||$===void 0||$.call(this,J),(Y=this.closeTagHandler)===null||Y===void 0||Y.call(this,J),(this.tag=(q=z[z.length-1])!==null&&q!==void 0?q:null)===null)this.closedRoot=!0;this.state=A8,this.name=""}closeTag(){let{tags:$,name:Y}=this;if(this.state=A8,this.name="",Y===""){this.fail("weird empty close tag."),this.text+="</>";return}let q=this.closeTagHandler,z=$.length;while(z-- >0){let J=this.tag=$.pop();if(this.topNS=J.ns,q===null||q===void 0||q(J),J.name===Y)break;this.fail("unexpected close tag.")}if(z===0)this.closedRoot=!0;else if(z<0)this.fail(`unmatched closing tag: ${Y}.`),this.text+=`</${Y}>`}parseEntity($){if($[0]!=="#"){let q=this.ENTITIES[$];if(q!==void 0)return q;return this.fail(this.isName($)?"undefined entity.":"disallowed character in entity name."),`&${$};`}let Y=NaN;if($[1]==="x"&&/^#x[0-9a-f]+$/i.test($))Y=parseInt($.slice(2),16);else if(/^#[0-9]+$/.test($))Y=parseInt($.slice(1),10);if(!this.isChar(Y))return this.fail("malformed character entity."),`&${$};`;return String.fromCodePoint(Y)}}f20.SaxesParser=u20});var BG=M((D14,i20)=>{var{SaxesParser:P51}=b20(),{PassThrough:A51}=P8(),{bufferToString:B51}=GS();i20.exports=async function*($){if($.pipe&&!$[Symbol.asyncIterator])$=$.pipe(new A51);let Y=new P51,q;Y.on("error",(J)=>{q=J});let z=[];Y.on("opentag",(J)=>z.push({eventType:"opentag",value:J})),Y.on("text",(J)=>z.push({eventType:"text",value:J})),Y.on("closetag",(J)=>z.push({eventType:"closetag",value:J}));for await(let J of $){if(Y.write(B51(J)),q)throw q;yield z,z=[]}}});var D0=M((P14,n20)=>{var T51=BG(),E51=c6();class NJ{prepare(){}render(){}parseOpen($){}parseText($){}parseClose($){}reconcile($,Y){}reset(){if(this.model=null,this.map)Object.values(this.map).forEach(($)=>{if($ instanceof NJ)$.reset();else if($.xform)$.xform.reset()})}mergeModel($){this.model=Object.assign(this.model||{},$)}async parse($){for await(let Y of $)for(let{eventType:q,value:z}of Y)if(q==="opentag")this.parseOpen(z);else if(q==="text")this.parseText(z);else if(q==="closetag"){if(!this.parseClose(z.name))return this.model}return this.model}async parseStream($){return this.parse(T51($))}get xml(){return this.toXml(this.model)}toXml($){let Y=new E51;return this.render(Y,$),Y.xml}static toAttribute($,Y,q=!1){if($===void 0){if(q)return Y}else if(q||$!==Y)return $.toString();return}static toStringAttribute($,Y,q=!1){return NJ.toAttribute($,Y,q)}static toStringValue($,Y){return $===void 0?Y:$}static toBoolAttribute($,Y,q=!1){if($===void 0){if(q)return Y}else if(q||$!==Y)return $?"1":"0";return}static toBoolValue($,Y){return $===void 0?Y:$==="1"}static toIntAttribute($,Y,q=!1){return NJ.toAttribute($,Y,q)}static toIntValue($,Y){return $===void 0?Y:parseInt($,10)}static toFloatAttribute($,Y,q=!1){return NJ.toAttribute($,Y,q)}static toFloatValue($,Y){return $===void 0?Y:parseFloat($)}}n20.exports=NJ});var DJ=M((A14,d20)=>{var j51=D0(),_51=c6();function c20($,Y){if($.openNode(Y.tag,Y.$),Y.c)Y.c.forEach((q)=>{c20($,q)});if(Y.t)$.writeText(Y.t);$.closeNode()}class p20 extends j51{constructor($){super();this._model=$}render($){if(!this._xml){let Y=new _51;c20(Y,this._model),this._xml=Y.xml}$.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose($){switch($){case this._model.tag:return!1;default:return!0}}}d20.exports=p20});var W7=M((B14,l20)=>{var R51=D0();class m20 extends R51{constructor($){super();this.tag=$.tag,this.always=!!$.always,this.count=$.count,this.empty=$.empty,this.$count=$.$count||"count",this.$=$.$,this.childXform=$.childXform,this.maxItems=$.maxItems}prepare($,Y){let{childXform:q}=this;if($)$.forEach((z,J)=>{Y.index=J,q.prepare(z,Y)})}render($,Y){if(this.always||Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y&&Y.length||0);let{childXform:q}=this;(Y||[]).forEach((z,J)=>{q.render($,z,J)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model=[],!0;default:if(this.childXform.parseOpen($))return this.parser=this.childXform,!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems)throw Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`)}return!0}return!1}reconcile($,Y){if($){let{childXform:q}=this;$.forEach((z)=>{q.reconcile(z,Y)})}}}l20.exports=m20});var X7=M((T14,r20)=>{var C51=D0();class o20 extends C51{constructor($){super();this.name=$||"color"}get tag(){return this.name}render($,Y){if(Y){if($.openNode(this.name),Y.argb)$.addAttribute("rgb",Y.argb);else if(Y.theme!==void 0){if($.addAttribute("theme",Y.theme),Y.tint!==void 0)$.addAttribute("tint",Y.tint)}else if(Y.indexed!==void 0)$.addAttribute("indexed",Y.indexed);else $.addAttribute("auto","1");return $.closeNode(),!0}return!1}parseOpen($){if($.name===this.name){if($.attributes.rgb)this.model={argb:$.attributes.rgb};else if($.attributes.theme){if(this.model={theme:parseInt($.attributes.theme,10)},$.attributes.tint)this.model.tint=parseFloat($.attributes.tint)}else if($.attributes.indexed)this.model={indexed:parseInt($.attributes.indexed,10)};else this.model=void 0;return!0}return!1}parseText(){}parseClose(){return!1}}r20.exports=o20});var a20=M((E14,t20)=>{var v51=D0();class s20 extends v51{constructor($){super();this.tag=$.tag,this.attr=$.attr}render($,Y){if(Y)$.openNode(this.tag),$.closeNode()}parseOpen($){if($.name===this.tag)this.model=!0}parseText(){}parseClose(){return!1}}t20.exports=s20});var PF=M((j14,$Y0)=>{var h51=D0();class e20 extends h51{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this.zero=$.zero}render($,Y){if(Y||this.zero){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag){if(this.attr)this.model=parseInt($.attributes[this.attr],10);else this.text=[];return!0}return!1}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=parseInt(this.text.join("")||0,10);return!1}}$Y0.exports=e20});var AF=M((_14,qY0)=>{var g51=D0();class YY0 extends g51{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs}render($,Y){if(Y!==void 0){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=$.attributes[this.attr];else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this.text.join("");return!1}}qY0.exports=YY0});var JY0=M((R14,zY0)=>{var S51=D0();class BF extends S51{constructor($){super();this.model=$}get tag(){return"u"}render($,Y){if(Y=Y||this.model,Y===!0)$.leafNode("u");else{let q=BF.Attributes[Y];if(q)$.leafNode("u",q)}}parseOpen($){if($.name==="u")this.model=$.attributes.val||!0}parseText(){}parseClose(){return!1}}BF.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}};zY0.exports=BF});var EF=M((C14,UY0)=>{var y51=X7(),YY=a20(),_S=PF(),RS=AF(),x51=JY0(),k51=l4(),u51=D0();class TF extends u51{constructor($){super();this.options=$||TF.OPTIONS,this.map={b:{prop:"bold",xform:new YY({tag:"b",attr:"val"})},i:{prop:"italic",xform:new YY({tag:"i",attr:"val"})},u:{prop:"underline",xform:new x51},charset:{prop:"charset",xform:new _S({tag:"charset",attr:"val"})},color:{prop:"color",xform:new y51},condense:{prop:"condense",xform:new YY({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new YY({tag:"extend",attr:"val"})},family:{prop:"family",xform:new _S({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new YY({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new RS({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new RS({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new YY({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new YY({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new _S({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new RS({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render($,Y){let{map:q}=this;$.openNode(this.options.tagName),k51.each(this.map,(z,J)=>{q[J].xform.render($,Y[z.prop])}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if(this.map[$.name])return this.parser=this.map[$.name].xform,this.parser.parseOpen($);switch($.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser&&!this.parser.parseClose($)){let Y=this.map[$];if(this.parser.model)this.model[Y.prop]=this.parser.model;return this.parser=void 0,!0}switch($){case this.options.tagName:return!1;default:return!0}}}TF.OPTIONS={tagName:"font",fontNameTag:"name"};UY0.exports=TF});var SS=M((v14,IY0)=>{var jF=D0(),CS=X7();class vS extends jF{constructor(){super();this.map={color:new CS}}get tag(){return"stop"}render($,Y){$.openNode("stop"),$.addAttribute("position",Y.position),this.map.color.render($,Y.color),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"stop":return this.model={position:parseFloat($.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.color=this.parser.model,this.parser=void 0;return!0}return!1}}class hS extends jF{constructor(){super();this.map={fgColor:new CS("fgColor"),bgColor:new CS("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render($,Y){if($.openNode("patternFill"),$.addAttribute("patternType",Y.pattern),Y.fgColor)this.map.fgColor.render($,Y.fgColor);if(Y.bgColor)this.map.bgColor.render($,Y.bgColor);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"patternFill":return this.model={type:"pattern",pattern:$.attributes.patternType},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.parser.model)this.model[$]=this.parser.model;this.parser=void 0}return!0}return!1}}class gS extends jF{constructor(){super();this.map={stop:new vS}}get name(){return"gradient"}get tag(){return"gradientFill"}render($,Y){switch($.openNode("gradientFill"),Y.gradient){case"angle":$.addAttribute("degree",Y.degree);break;case"path":if($.addAttribute("type","path"),Y.center.left){if($.addAttribute("left",Y.center.left),Y.center.right===void 0)$.addAttribute("right",Y.center.left)}if(Y.center.right)$.addAttribute("right",Y.center.right);if(Y.center.top){if($.addAttribute("top",Y.center.top),Y.center.bottom===void 0)$.addAttribute("bottom",Y.center.top)}if(Y.center.bottom)$.addAttribute("bottom",Y.center.bottom);break;default:break}let q=this.map.stop;Y.stops.forEach((z)=>{q.render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"gradientFill":{let Y=this.model={stops:[]};if($.attributes.degree)Y.gradient="angle",Y.degree=parseInt($.attributes.degree,10);else if($.attributes.type==="path"){if(Y.gradient="path",Y.center={left:$.attributes.left?parseFloat($.attributes.left):0,top:$.attributes.top?parseFloat($.attributes.top):0},$.attributes.right!==$.attributes.left)Y.center.right=$.attributes.right?parseFloat($.attributes.right):0;if($.attributes.bottom!==$.attributes.top)Y.center.bottom=$.attributes.bottom?parseFloat($.attributes.bottom):0}return!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.stops.push(this.parser.model),this.parser=void 0;return!0}return!1}}class qY extends jF{constructor(){super();this.map={patternFill:new hS,gradientFill:new gS}}get tag(){return"fill"}render($,Y){switch($.addRollback(),$.openNode("fill"),Y.type){case"pattern":this.map.patternFill.render($,Y);break;case"gradient":this.map.gradientFill.render($,Y);break;default:$.rollback();return}$.closeNode(),$.commit()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"fill":return this.model={},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0;return!0}return!1}validStyle($){return qY.validPatternValues[$]}}qY.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(($,Y)=>{return $[Y]=!0,$},{});qY.StopXform=vS;qY.PatternFillXform=hS;qY.GradientFillXform=gS;IY0.exports=qY});var yS=M((h14,HY0)=>{var KY0=D0(),QY0=U8(),f51=X7();class V7 extends KY0{constructor($){super();this.name=$,this.map={color:new f51}}get tag(){return this.name}render($,Y,q){let z=Y&&Y.color||q||this.defaultColor;if($.openNode(this.name),Y&&Y.style){if($.addAttribute("style",Y.style),z)this.map.color.render($,z)}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.name:{let{style:Y}=$.attributes;if(Y)this.model={style:Y};else this.model=void 0;return!0}case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.name){if(this.map.color.model){if(!this.model)this.model={};this.model.color=this.map.color.model}}return!1}validStyle($){return V7.validStyleValues[$]}}V7.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(($,Y)=>{return $[Y]=!0,$},{});class GY0 extends KY0{constructor(){super();this.map={top:new V7("top"),left:new V7("left"),bottom:new V7("bottom"),right:new V7("right"),diagonal:new V7("diagonal")}}render($,Y){let{color:q}=Y;if($.openNode("border"),Y.diagonal&&Y.diagonal.style){if(Y.diagonal.up)$.addAttribute("diagonalUp","1");if(Y.diagonal.down)$.addAttribute("diagonalDown","1")}function z(J,U){if(J&&!J.color&&Y.color)J={...J,color:Y.color};U.render($,J,q)}z(Y.left,this.map.left),z(Y.right,this.map.right),z(Y.top,this.map.top),z(Y.bottom,this.map.bottom),z(Y.diagonal,this.map.diagonal),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"border":return this.reset(),this.diagonalUp=QY0.parseBoolean($.attributes.diagonalUp),this.diagonalDown=QY0.parseBoolean($.attributes.diagonalDown),!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($==="border"){let Y=this.model={},q=function(z,J,U){if(J){if(U)Object.assign(J,U);Y[z]=J}};q("left",this.map.left.model),q("right",this.map.right.model),q("top",this.map.top.model),q("bottom",this.map.bottom.model),q("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}HY0.exports=GY0});var WY0=M((g14,ZY0)=>{ZY0.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}});var kS=M((S14,XY0)=>{var b51=l4(),xS=WY0(),i51=D0();function n51(){let $={};return b51.each(xS,(Y,q)=>{if(Y.f)$[Y.f]=parseInt(q,10)}),$}var c51=n51();class _F extends i51{constructor($,Y){super();this.id=$,this.formatCode=Y}get tag(){return"numFmt"}render($,Y){$.leafNode("numFmt",{numFmtId:Y.id,formatCode:Y.formatCode})}parseOpen($){switch($.name){case"numFmt":return this.model={id:parseInt($.attributes.numFmtId,10),formatCode:$.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}_F.getDefaultFmtId=function(Y){return c51[Y]};_F.getDefaultFmtCode=function(Y){return xS[Y]&&xS[Y].f};XY0.exports=_F});var uS=M((y14,FY0)=>{var VY0=Q5(),TG=U8(),p51=D0(),zY={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),horizontal($){return this.horizontalValues[$]?$:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),vertical($){if($==="middle")return"center";return this.verticalValues[$]?$:void 0},wrapText($){return $?!0:void 0},shrinkToFit($){return $?!0:void 0},textRotation($){switch($){case"vertical":return $;default:return $=TG.validInt($),$>=-90&&$<=90?$:void 0}},indent($){return $=TG.validInt($),Math.max(0,$)},readingOrder($){switch($){case"ltr":return VY0.ReadingOrder.LeftToRight;case"rtl":return VY0.ReadingOrder.RightToLeft;default:return}}},LY0={toXml($){if($=zY.textRotation($),$){if($==="vertical")return 255;let Y=Math.round($);if(Y>=0&&Y<=90)return Y;if(Y<0&&Y>=-90)return 90-Y}return},toModel($){let Y=TG.validInt($);if(Y!==void 0){if(Y===255)return"vertical";if(Y>=0&&Y<=90)return Y;if(Y>90&&Y<=180)return 90-Y}return}};class wY0 extends p51{get tag(){return"alignment"}render($,Y){$.addRollback(),$.openNode("alignment");let q=!1;function z(J,U){if(U)$.addAttribute(J,U),q=!0}if(z("horizontal",zY.horizontal(Y.horizontal)),z("vertical",zY.vertical(Y.vertical)),z("wrapText",zY.wrapText(Y.wrapText)?"1":!1),z("shrinkToFit",zY.shrinkToFit(Y.shrinkToFit)?"1":!1),z("indent",zY.indent(Y.indent)),z("textRotation",LY0.toXml(Y.textRotation)),z("readingOrder",zY.readingOrder(Y.readingOrder)),$.closeNode(),q)$.commit();else $.rollback()}parseOpen($){let Y={},q=!1;function z(J,U,I){if(J)Y[U]=I,q=!0}z($.attributes.horizontal,"horizontal",$.attributes.horizontal),z($.attributes.vertical,"vertical",$.attributes.vertical==="center"?"middle":$.attributes.vertical),z($.attributes.wrapText,"wrapText",TG.parseBoolean($.attributes.wrapText)),z($.attributes.shrinkToFit,"shrinkToFit",TG.parseBoolean($.attributes.shrinkToFit)),z($.attributes.indent,"indent",parseInt($.attributes.indent,10)),z($.attributes.textRotation,"textRotation",LY0.toModel($.attributes.textRotation)),z($.attributes.readingOrder,"readingOrder",$.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=q?Y:null}parseText(){}parseClose(){return!1}}FY0.exports=wY0});var fS=M((x14,NY0)=>{var d51=D0(),OY0={boolean($,Y){if($===void 0)return Y;return $}};class MY0 extends d51{get tag(){return"protection"}render($,Y){$.addRollback(),$.openNode("protection");let q=!1;function z(J,U){if(U!==void 0)$.addAttribute(J,U),q=!0}if(z("locked",OY0.boolean(Y.locked,!0)?void 0:"0"),z("hidden",OY0.boolean(Y.hidden,!1)?"1":void 0),$.closeNode(),q)$.commit();else $.rollback()}parseOpen($){let Y={locked:$.attributes.locked!=="0",hidden:$.attributes.hidden==="1"},q=!Y.locked||Y.hidden;this.model=q?Y:null}parseText(){}parseClose(){return!1}}NY0.exports=MY0});var AY0=M((k14,PY0)=>{var m51=D0(),l51=uS(),o51=fS();class DY0 extends m51{constructor($){super();this.xfId=!!($&&$.xfId),this.map={alignment:new l51,protection:new o51}}get tag(){return"xf"}render($,Y){if($.openNode("xf",{numFmtId:Y.numFmtId||0,fontId:Y.fontId||0,fillId:Y.fillId||0,borderId:Y.borderId||0}),this.xfId)$.addAttribute("xfId",Y.xfId||0);if(Y.numFmtId)$.addAttribute("applyNumberFormat","1");if(Y.fontId)$.addAttribute("applyFont","1");if(Y.fillId)$.addAttribute("applyFill","1");if(Y.borderId)$.addAttribute("applyBorder","1");if(Y.alignment)$.addAttribute("applyAlignment","1");if(Y.protection)$.addAttribute("applyProtection","1");if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"xf":if(this.model={numFmtId:parseInt($.attributes.numFmtId,10),fontId:parseInt($.attributes.fontId,10),fillId:parseInt($.attributes.fillId,10),borderId:parseInt($.attributes.borderId,10)},this.xfId)this.model.xfId=parseInt($.attributes.xfId,10);return!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen($),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.map.protection===this.parser)this.model.protection=this.parser.model;else this.model.alignment=this.parser.model;this.parser=void 0}return!0}return $!=="xf"}}PY0.exports=DY0});var EY0=M((u14,TY0)=>{var r51=D0(),s51=uS(),t51=yS(),a51=SS(),e51=EF(),$91=kS(),Y91=fS();class BY0 extends r51{constructor(){super();this.map={alignment:new s51,border:new t51,fill:new a51,font:new e51,numFmt:new $91,protection:new Y91}}get tag(){return"dxf"}render($,Y){if($.openNode(this.tag),Y.font)this.map.font.render($,Y.font);if(Y.numFmt&&Y.numFmtId){let q={id:Y.numFmtId,formatCode:Y.numFmt};this.map.numFmt.render($,q)}if(Y.fill)this.map.fill.render($,Y.fill);if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.border)this.map.border.render($,Y.border);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.reset(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.tag)return this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1;return!0}}TY0.exports=BY0});var vF=M((f14,vY0)=>{var CF=Q5(),q91=c6(),z91=D0(),RF=DJ(),JY=W7(),jY0=EF(),_Y0=SS(),RY0=yS(),EG=kS(),bS=AY0(),J91=EY0();class Q$ extends z91{constructor($){super();if(this.map={numFmts:new JY({tag:"numFmts",count:!0,childXform:new EG}),fonts:new JY({tag:"fonts",count:!0,childXform:new jY0,$:{"x14ac:knownFonts":1}}),fills:new JY({tag:"fills",count:!0,childXform:new _Y0}),borders:new JY({tag:"borders",count:!0,childXform:new RY0}),cellStyleXfs:new JY({tag:"cellStyleXfs",count:!0,childXform:new bS}),cellXfs:new JY({tag:"cellXfs",count:!0,childXform:new bS({xfId:!0})}),dxfs:new JY({tag:"dxfs",always:!0,count:!0,childXform:new J91}),numFmt:new EG,font:new jY0,fill:new _Y0,border:new RY0,style:new bS({xfId:!0}),cellStyles:Q$.STATIC_XFORMS.cellStyles,tableStyles:Q$.STATIC_XFORMS.tableStyles,extLst:Q$.STATIC_XFORMS.extLst},$)this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render($,Y){if(Y=Y||this.model,$.openXml(q91.StdDocAttributes),$.openNode("styleSheet",Q$.STYLESHEET_ATTRIBUTES),this.index){if(Y.numFmts&&Y.numFmts.length)$.openNode("numFmts",{count:Y.numFmts.length}),Y.numFmts.forEach((q)=>{$.writeXml(q)}),$.closeNode();if(!Y.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});$.openNode("fonts",{count:Y.fonts.length,"x14ac:knownFonts":1}),Y.fonts.forEach((q)=>{$.writeXml(q)}),$.closeNode(),$.openNode("fills",{count:Y.fills.length}),Y.fills.forEach((q)=>{$.writeXml(q)}),$.closeNode(),$.openNode("borders",{count:Y.borders.length}),Y.borders.forEach((q)=>{$.writeXml(q)}),$.closeNode(),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),$.openNode("cellXfs",{count:Y.styles.length}),Y.styles.forEach((q)=>{$.writeXml(q)}),$.closeNode()}else this.map.numFmts.render($,Y.numFmts),this.map.fonts.render($,Y.fonts),this.map.fills.render($,Y.fills),this.map.borders.render($,Y.borders),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render($,Y.styles);Q$.STATIC_XFORMS.cellStyles.render($),this.map.dxfs.render($,Y.dxfs),Q$.STATIC_XFORMS.tableStyles.render($),Q$.STATIC_XFORMS.extLst.render($),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"styleSheet":return this.initIndex(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"styleSheet":{this.model={};let Y=(q,z)=>{if(z.model&&z.model.length)this.model[q]=z.model};if(Y("numFmts",this.map.numFmts),Y("fonts",this.map.fonts),Y("fills",this.map.fills),Y("borders",this.map.borders),Y("styles",this.map.cellXfs),Y("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let q=this.index.numFmt;this.model.numFmts.forEach((z)=>{q[z.id]=z.formatCode})}return!1}default:return!0}}addStyleModel($,Y){if(!$)return 0;if(!this.model.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});if(this.weakMap&&this.weakMap.has($))return this.weakMap.get($);let q={};if(Y=Y||CF.ValueType.Number,$.numFmt)q.numFmtId=this._addNumFmtStr($.numFmt);else switch(Y){case CF.ValueType.Number:q.numFmtId=this._addNumFmtStr("General");break;case CF.ValueType.Date:q.numFmtId=this._addNumFmtStr("mm-dd-yy");break;default:break}if($.font)q.fontId=this._addFont($.font);if($.border)q.borderId=this._addBorder($.border);if($.fill)q.fillId=this._addFill($.fill);if($.alignment)q.alignment=$.alignment;if($.protection)q.protection=$.protection;let z=this._addStyle(q);if(this.weakMap)this.weakMap.set($,z);return z}getStyleModel($){let Y=this.model.styles[$];if(!Y)return null;let q=this.index.model[$];if(q)return q;if(q=this.index.model[$]={},Y.numFmtId){let J=this.index.numFmt[Y.numFmtId]||EG.getDefaultFmtCode(Y.numFmtId);if(J)q.numFmt=J}function z(J,U,I){if(I||I===0){let Q=U[I];if(Q)q[J]=Q}}if(z("font",this.model.fonts,Y.fontId),z("border",this.model.borders,Y.borderId),z("fill",this.model.fills,Y.fillId),Y.alignment)q.alignment=Y.alignment;if(Y.protection)q.protection=Y.protection;return q}addDxfStyle($){if($.numFmt)$.numFmtId=this._addNumFmtStr($.numFmt);return this.model.dxfs.push($),this.model.dxfs.length-1}getDxfStyle($){return this.model.dxfs[$]}_addStyle($){let Y=this.map.style.toXml($),q=this.index.style[Y];if(q===void 0)q=this.index.style[Y]=this.model.styles.length,this.model.styles.push(Y);return q}_addNumFmtStr($){let Y=EG.getDefaultFmtId($);if(Y!==void 0)return Y;if(Y=this.index.numFmt[$],Y!==void 0)return Y;Y=this.index.numFmt[$]=164+this.model.numFmts.length;let q=this.map.numFmt.toXml({id:Y,formatCode:$});return this.model.numFmts.push(q),Y}_addFont($){let Y=this.map.font.toXml($),q=this.index.font[Y];if(q===void 0)q=this.index.font[Y]=this.model.fonts.length,this.model.fonts.push(Y);return q}_addBorder($){let Y=this.map.border.toXml($),q=this.index.border[Y];if(q===void 0)q=this.index.border[Y]=this.model.borders.length,this.model.borders.push(Y);return q}_addFill($){let Y=this.map.fill.toXml($),q=this.index.fill[Y];if(q===void 0)q=this.index.fill[Y]=this.model.fills.length,this.model.fills.push(Y);return q}}Q$.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"};Q$.STATIC_XFORMS={cellStyles:new RF({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new RF({tag:"dxfs",$:{count:0}}),tableStyles:new RF({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new RF({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};class CY0 extends Q${constructor(){super();this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream($){return $.autodrain(),Promise.resolve()}addStyleModel($,Y){switch(Y){case CF.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let $={numFmtId:EG.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push($)}return this._dateStyleId}getStyleModel(){return{}}}Q$.Mock=CY0;vY0.exports=Q$});var SY0=M((b14,gY0)=>{var U91=D0();class hY0 extends U91{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this._format=$.format||function(Y){try{if(Number.isNaN(Y.getTime()))return"";return Y.toISOString()}catch(q){return""}},this._parse=$.parse||function(Y){return new Date(Y)}}render($,Y){if(Y){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,this._format(Y));else $.writeText(this._format(Y));$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=this._parse($.attributes[this.attr]);else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this._parse(this.text.join(""));return!1}}gY0.exports=hY0});var nS=M((i14,yY0)=>{var I91=c6(),Q91=D0(),iS=SY0(),h$=AF(),K91=PF();class X5 extends Q91{constructor(){super();this.map={"dc:creator":new h$({tag:"dc:creator"}),"dc:title":new h$({tag:"dc:title"}),"dc:subject":new h$({tag:"dc:subject"}),"dc:description":new h$({tag:"dc:description"}),"dc:identifier":new h$({tag:"dc:identifier"}),"dc:language":new h$({tag:"dc:language"}),"cp:keywords":new h$({tag:"cp:keywords"}),"cp:category":new h$({tag:"cp:category"}),"cp:lastModifiedBy":new h$({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new iS({tag:"cp:lastPrinted",format:X5.DateFormat}),"cp:revision":new K91({tag:"cp:revision"}),"cp:version":new h$({tag:"cp:version"}),"cp:contentStatus":new h$({tag:"cp:contentStatus"}),"cp:contentType":new h$({tag:"cp:contentType"}),"dcterms:created":new iS({tag:"dcterms:created",attrs:X5.DateAttrs,format:X5.DateFormat}),"dcterms:modified":new iS({tag:"dcterms:modified",attrs:X5.DateAttrs,format:X5.DateFormat})}}render($,Y){$.openXml(I91.StdDocAttributes),$.openNode("cp:coreProperties",X5.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render($,Y.creator),this.map["dc:title"].render($,Y.title),this.map["dc:subject"].render($,Y.subject),this.map["dc:description"].render($,Y.description),this.map["dc:identifier"].render($,Y.identifier),this.map["dc:language"].render($,Y.language),this.map["cp:keywords"].render($,Y.keywords),this.map["cp:category"].render($,Y.category),this.map["cp:lastModifiedBy"].render($,Y.lastModifiedBy),this.map["cp:lastPrinted"].render($,Y.lastPrinted),this.map["cp:revision"].render($,Y.revision),this.map["cp:version"].render($,Y.version),this.map["cp:contentStatus"].render($,Y.contentStatus),this.map["cp:contentType"].render($,Y.contentType),this.map["dcterms:created"].render($,Y.created),this.map["dcterms:modified"].render($,Y.modified),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}X5.DateFormat=function($){return $.toISOString().replace(/[.]\d{3}/,"")};X5.DateAttrs={"xsi:type":"dcterms:W3CDTF"};X5.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"};yY0.exports=X5});var hF=M((n14,kY0)=>{var G91=D0();class xY0 extends G91{get tag(){return"t"}render($,Y){if($.openNode("t"),/^\s|\n|\s$/.test(Y))$.addAttribute("xml:space","preserve");$.writeText(Y),$.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,($,Y)=>String.fromCharCode(parseInt(Y,16)))}parseOpen($){switch($.name){case"t":return this._text=[],!0;default:return!1}}parseText($){this._text.push($)}parseClose(){return!1}}kY0.exports=xY0});var jG=M((c14,uY0)=>{var H91=hF(),Z91=EF(),W91=D0();class gF extends W91{constructor($){super();this.model=$}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new H91)}get fontXform(){return this._fontXform||(this._fontXform=new Z91(gF.FONT_OPTIONS))}render($,Y){if(Y=Y||this.model,$.openNode("r"),Y.font)this.fontXform.render($,Y.font);this.textXform.render($,Y.text),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen($),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){switch($){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}}gF.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"};uY0.exports=gF});var iY0=M((p14,bY0)=>{var X91=hF(),V91=jG(),L91=D0();class fY0 extends L91{constructor(){super();this.map={r:new V91,t:new X91}}get tag(){return"rPh"}render($,Y){if($.openNode(this.tag,{sb:Y.sb||0,eb:Y.eb||0}),Y&&Y.hasOwnProperty("richText")&&Y.richText){let{r:q}=this.map;Y.richText.forEach((z)=>{q.render($,z)})}else if(Y)this.map.t.render($,Y.text);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={sb:parseInt($.attributes.sb,10),eb:parseInt($.attributes.eb,10)},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}bY0.exports=fY0});var pY0=M((d14,cY0)=>{var w91=hF(),F91=jG(),O91=iY0(),M91=D0();class nY0 extends M91{constructor($){super();this.model=$,this.map={r:new F91,t:new w91,rPh:new O91}}get tag(){return"si"}render($,Y){if($.openNode(this.tag),Y&&Y.hasOwnProperty("richText")&&Y.richText)if(Y.richText.length)Y.richText.forEach((q)=>{this.map.r.render($,q)});else this.map.t.render($,"");else if(Y!==void 0&&Y!==null)this.map.t.render($,Y);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}cY0.exports=nY0});var cS=M((m14,mY0)=>{var N91=c6(),D91=D0(),P91=pY0();class dY0 extends D91{constructor($){super();this.model=$||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new P91)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString($){return this.model.values[$]}add($){return $.richText?this.addRichText($):this.addText($)}addText($){let Y=this.hash[$];if(Y===void 0)Y=this.hash[$]=this.model.values.length,this.model.values.push($);return this.model.count++,Y}addRichText($){let Y=this.sharedStringXform.toXml($),q=this.rich[Y];if(q===void 0)q=this.rich[Y]=this.model.values.length,this.model.values.push($);return this.model.count++,q}render($,Y){Y=Y||this._values,$.openXml(N91.StdDocAttributes),$.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:Y.count,uniqueCount:Y.values.length});let q=this.sharedStringXform;Y.values.forEach((z)=>{q.render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen($),!0;default:throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0;return!0}switch($){case"sst":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}mY0.exports=dY0});var rY0=M((l14,oY0)=>{var A91=D0();class lY0 extends A91{render($,Y){$.leafNode("Relationship",Y)}parseOpen($){switch($.name){case"Relationship":return this.model=$.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}oY0.exports=lY0});var yF=M((o14,sY0)=>{var B91=c6(),T91=D0(),E91=rY0();class SF extends T91{constructor(){super();this.map={Relationship:new E91}}render($,Y){Y=Y||this._values,$.openXml(B91.StdDocAttributes),$.openNode("Relationships",SF.RELATIONSHIPS_ATTRIBUTES),Y.forEach((q)=>{this.map.Relationship.render($,q)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.push(this.parser.model),this.parser=void 0;return!0}switch($){case"Relationships":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}SF.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"};sY0.exports=SF});var pS=M((r14,tY0)=>{var j91=c6(),_91=D0();class xF extends _91{render($,Y){$.openXml(j91.StdDocAttributes),$.openNode("Types",xF.PROPERTY_ATTRIBUTES);let q={};if((Y.media||[]).forEach((J)=>{if(J.type==="image"){let U=J.extension;if(!q[U])q[U]=!0,$.leafNode("Default",{Extension:U,ContentType:`image/${U}`})}}),$.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),$.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),$.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),Y.worksheets.forEach((J)=>{let U=`/xl/worksheets/sheet${J.id}.xml`;$.leafNode("Override",{PartName:U,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),$.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),$.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),Y.sharedStrings&&Y.sharedStrings.count)$.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"});if(Y.tables)Y.tables.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/tables/${J.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})});if(Y.drawings)Y.drawings.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/drawings/${J.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})});if(Y.commentRefs)$.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),Y.commentRefs.forEach(({commentName:J})=>{$.leafNode("Override",{PartName:`/xl/${J}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})});$.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),$.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),$.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}xF.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"};tY0.exports=xF});var $q0=M((s14,eY0)=>{var R91=D0();class aY0 extends R91{render($,Y){$.openNode("HeadingPairs"),$.openNode("vt:vector",{size:2,baseType:"variant"}),$.openNode("vt:variant"),$.leafNode("vt:lpstr",void 0,"Worksheets"),$.closeNode(),$.openNode("vt:variant"),$.leafNode("vt:i4",void 0,Y.length),$.closeNode(),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="HeadingPairs"}parseText(){}parseClose($){return $!=="HeadingPairs"}}eY0.exports=aY0});var zq0=M((t14,qq0)=>{var C91=D0();class Yq0 extends C91{render($,Y){$.openNode("TitlesOfParts"),$.openNode("vt:vector",{size:Y.length,baseType:"lpstr"}),Y.forEach((q)=>{$.leafNode("vt:lpstr",void 0,q.name)}),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="TitlesOfParts"}parseText(){}parseClose($){return $!=="TitlesOfParts"}}qq0.exports=Yq0});var dS=M((a14,Uq0)=>{var v91=c6(),h91=D0(),Jq0=AF(),g91=$q0(),S91=zq0();class PJ extends h91{constructor(){super();this.map={Company:new Jq0({tag:"Company"}),Manager:new Jq0({tag:"Manager"}),HeadingPairs:new g91,TitleOfParts:new S91}}render($,Y){$.openXml(v91.StdDocAttributes),$.openNode("Properties",PJ.PROPERTY_ATTRIBUTES),$.leafNode("Application",void 0,"Microsoft Excel"),$.leafNode("DocSecurity",void 0,"0"),$.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render($,Y.worksheets),this.map.TitleOfParts.render($,Y.worksheets),this.map.Company.render($,Y.company||""),this.map.Manager.render($,Y.manager),$.leafNode("LinksUpToDate",void 0,"false"),$.leafNode("SharedDoc",void 0,"false"),$.leafNode("HyperlinksChanged",void 0,"false"),$.leafNode("AppVersion",void 0,"16.0300"),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Properties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}PJ.DateFormat=function($){return $.toISOString().replace(/[.]\d{3,6}/,"")};PJ.DateAttrs={"xsi:type":"dcterms:W3CDTF"};PJ.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"};Uq0.exports=PJ});var Kq0=M((e14,Qq0)=>{var y91=D0(),x91=k4();class Iq0 extends y91{render($,Y){$.openNode("definedName",{name:Y.name,localSheetId:Y.localSheetId}),$.writeText(Y.ranges.join(",")),$.closeNode()}parseOpen($){switch($.name){case"definedName":return this._parsedName=$.attributes.name,this._parsedLocalSheetId=$.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText($){this._parsedText.push($)}parseClose(){if(this.model={name:this._parsedName,ranges:k91(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0)this.model.localSheetId=parseInt(this._parsedLocalSheetId,10);return!1}}function mS($){try{return x91.decodeEx($),!0}catch(Y){return!1}}function k91($){let Y=[],q=!1,z="";return $.split(",").forEach((J)=>{if(!J)return;let U=(J.match(/'/g)||[]).length;if(!U){if(q)z+=`${J},`;else if(mS(J))Y.push(J);return}let I=U%2===0;if(!q&&I&&mS(J))Y.push(J);else if(q&&!I){if(q=!1,mS(z+J))Y.push(z+J);z=""}else q=!0,z+=`${J},`}),Y}Qq0.exports=Iq0});var Zq0=M(($44,Hq0)=>{var u91=U8(),f91=D0();class Gq0 extends f91{render($,Y){$.leafNode("sheet",{sheetId:Y.id,name:Y.name,state:Y.state,"r:id":Y.rId})}parseOpen($){if($.name==="sheet")return this.model={name:u91.xmlDecode($.attributes.name),id:parseInt($.attributes.sheetId,10),state:$.attributes.state,rId:$.attributes["r:id"]},!0;return!1}parseText(){}parseClose(){return!1}}Hq0.exports=Gq0});var Vq0=M((Y44,Xq0)=>{var b91=D0();class Wq0 extends b91{render($,Y){let q={xWindow:Y.x||0,yWindow:Y.y||0,windowWidth:Y.width||12000,windowHeight:Y.height||24000,firstSheet:Y.firstSheet,activeTab:Y.activeTab};if(Y.visibility&&Y.visibility!=="visible")q.visibility=Y.visibility;$.leafNode("workbookView",q)}parseOpen($){if($.name==="workbookView"){let Y=this.model={},q=function(J,U,I){let Q=U!==void 0?Y[J]=U:I;if(Q!==void 0)Y[J]=Q},z=function(J,U,I){let Q=U!==void 0?Y[J]=parseInt(U,10):I;if(Q!==void 0)Y[J]=Q};return z("x",$.attributes.xWindow,0),z("y",$.attributes.yWindow,0),z("width",$.attributes.windowWidth,25000),z("height",$.attributes.windowHeight,1e4),q("visibility",$.attributes.visibility,"visible"),z("activeTab",$.attributes.activeTab,void 0),z("firstSheet",$.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}Xq0.exports=Wq0});var Fq0=M((q44,wq0)=>{var i91=D0();class Lq0 extends i91{render($,Y){$.leafNode("workbookPr",{date1904:Y.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen($){if($.name==="workbookPr")return this.model={date1904:$.attributes.date1904==="1"},!0;return!1}parseText(){}parseClose(){return!1}}wq0.exports=Lq0});var Nq0=M((z44,Mq0)=>{var n91=D0();class Oq0 extends n91{render($,Y){$.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:Y.fullCalcOnLoad?1:void 0})}parseOpen($){if($.name==="calcPr")return this.model={},!0;return!1}parseText(){}parseClose(){return!1}}Mq0.exports=Oq0});var kF=M((J44,Dq0)=>{var c91=l4(),p91=k4(),d91=c6(),m91=D0(),l91=DJ(),lS=W7(),o91=Kq0(),r91=Zq0(),s91=Vq0(),t91=Fq0(),a91=Nq0();class AJ extends m91{constructor(){super();this.map={fileVersion:AJ.STATIC_XFORMS.fileVersion,workbookPr:new t91,bookViews:new lS({tag:"bookViews",count:!1,childXform:new s91}),sheets:new lS({tag:"sheets",count:!1,childXform:new r91}),definedNames:new lS({tag:"definedNames",count:!1,childXform:new o91}),calcPr:new a91}}prepare($){$.sheets=$.worksheets;let Y=[],q=0;if($.sheets.forEach((z)=>{if(z.pageSetup&&z.pageSetup.printArea)z.pageSetup.printArea.split("&&").forEach((J)=>{let U=J.split(":"),I={name:"_xlnm.Print_Area",ranges:[`'${z.name}'!$${U[0]}:$${U[1]}`],localSheetId:q};Y.push(I)});if(z.pageSetup&&(z.pageSetup.printTitlesRow||z.pageSetup.printTitlesColumn)){let J=[];if(z.pageSetup.printTitlesColumn){let I=z.pageSetup.printTitlesColumn.split(":");J.push(`'${z.name}'!$${I[0]}:$${I[1]}`)}if(z.pageSetup.printTitlesRow){let I=z.pageSetup.printTitlesRow.split(":");J.push(`'${z.name}'!$${I[0]}:$${I[1]}`)}let U={name:"_xlnm.Print_Titles",ranges:J,localSheetId:q};Y.push(U)}q++}),Y.length)$.definedNames=$.definedNames.concat(Y);($.media||[]).forEach((z,J)=>{z.name=z.type+(J+1)})}render($,Y){$.openXml(d91.StdDocAttributes),$.openNode("workbook",AJ.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render($),this.map.workbookPr.render($,Y.properties),this.map.bookViews.render($,Y.views),this.map.sheets.render($,Y.sheets),this.map.definedNames.render($,Y.definedNames),this.map.calcPr.render($,Y.calcProperties),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"workbook":return!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"workbook":if(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model)this.model.definedNames=this.map.definedNames.model;return!1;default:return!0}}reconcile($){let Y=($.workbookRels||[]).reduce((I,Q)=>{return I[Q.Id]=Q,I},{}),q=[],z,J=0;($.sheets||[]).forEach((I)=>{let Q=Y[I.rId];if(!Q)return;if(z=$.worksheetHash[`xl/${Q.Target.replace(/^(\s|\/xl\/)+/,"")}`],z)z.name=I.name,z.id=I.id,z.state=I.state,q[J++]=z});let U=[];c91.each($.definedNames,(I)=>{if(I.name==="_xlnm.Print_Area"){if(z=q[I.localSheetId],z){if(!z.pageSetup)z.pageSetup={};let Q=p91.decodeEx(I.ranges[0]);z.pageSetup.printArea=z.pageSetup.printArea?`${z.pageSetup.printArea}&&${Q.dimensions}`:Q.dimensions}}else if(I.name==="_xlnm.Print_Titles"){if(z=q[I.localSheetId],z){if(!z.pageSetup)z.pageSetup={};let Q=I.ranges.join(","),K=/\$/g,G=/\$\d+:\$\d+/,H=Q.match(G);if(H&&H.length){let X=H[0];z.pageSetup.printTitlesRow=X.replace(K,"")}let Z=/\$[A-Z]+:\$[A-Z]+/,V=Q.match(Z);if(V&&V.length){let X=V[0];z.pageSetup.printTitlesColumn=X.replace(K,"")}}}else U.push(I)}),$.definedNames=U,$.media.forEach((I,Q)=>{I.index=Q})}}AJ.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"};AJ.STATIC_XFORMS={fileVersion:new l91({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})};Dq0.exports=AJ});var L7=M((U44,Pq0)=>{Pq0.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}});var _q0=M((I44,jq0)=>{var Aq0=l4(),e91=R9(),Bq0=k4(),Tq0=Q5();class Eq0{constructor(){this.merges={}}add($){if(this.merges[$.master])this.merges[$.master].expandToAddress($.address);else{let Y=`${$.master}:${$.address}`;this.merges[$.master]=new e91(Y)}}get mergeCells(){return Aq0.map(this.merges,($)=>$.range)}reconcile($,Y){Aq0.each($,(q)=>{let z=Bq0.decode(q);for(let J=z.top;J<=z.bottom;J++){let U=Y[J-1];for(let I=z.left;I<=z.right;I++){let Q=U.cells[I-1];if(!Q)U.cells[I]={type:Tq0.ValueType.Null,address:Bq0.encodeAddress(J,I)};else if(Q.type===Tq0.ValueType.Merge)Q.master=z.tl}}})}getMasterAddress($){let Y=this.hash[$];return Y&&Y.tl}}jq0.exports=Eq0});var hq0=M((Q44,vq0)=>{var w7=U8(),$31=D0(),Y31=R9(),o0=Q5(),q31=jG();function Rq0($){if($===null||$===void 0)return o0.ValueType.Null;if($ instanceof String||typeof $==="string")return o0.ValueType.String;if(typeof $==="number")return o0.ValueType.Number;if(typeof $==="boolean")return o0.ValueType.Boolean;if($ instanceof Date)return o0.ValueType.Date;if($.text&&$.hyperlink)return o0.ValueType.Hyperlink;if($.formula)return o0.ValueType.Formula;if($.error)return o0.ValueType.Error;throw Error("I could not understand type of value")}function z31($){switch($.type){case o0.ValueType.Formula:return Rq0($.result);default:return $.type}}class Cq0 extends $31{constructor(){super();this.richTextXForm=new q31}get tag(){return"c"}prepare($,Y){let q=Y.styles.addStyleModel($.style||{},z31($));if(q)$.styleId=q;if($.comment)Y.comments.push({...$.comment,ref:$.address});switch($.type){case o0.ValueType.String:case o0.ValueType.RichText:if(Y.sharedStrings)$.ssId=Y.sharedStrings.add($.value);break;case o0.ValueType.Date:if(Y.date1904)$.date1904=!0;break;case o0.ValueType.Hyperlink:if(Y.sharedStrings&&$.text!==void 0&&$.text!==null)$.ssId=Y.sharedStrings.add($.text);Y.hyperlinks.push({address:$.address,target:$.hyperlink,tooltip:$.tooltip});break;case o0.ValueType.Merge:Y.merges.add($);break;case o0.ValueType.Formula:if(Y.date1904)$.date1904=!0;if($.shareType==="shared")$.si=Y.siFormulae++;if($.formula)Y.formulae[$.address]=$;else if($.sharedFormula){let z=Y.formulae[$.sharedFormula];if(!z)throw Error(`Shared Formula master must exist above and or left of clone for cell ${$.address}`);if(z.si===void 0)z.shareType="shared",z.si=Y.siFormulae++,z.range=new Y31(z.address,$.address);else if(z.range)z.range.expandToAddress($.address);$.si=z.si}break;default:break}}renderFormula($,Y){let q=null;switch(Y.shareType){case"shared":q={t:"shared",ref:Y.ref||Y.range.range,si:Y.si};break;case"array":q={t:"array",ref:Y.ref};break;default:if(Y.si!==void 0)q={t:"shared",si:Y.si};break}switch(Rq0(Y.result)){case o0.ValueType.Null:$.leafNode("f",q,Y.formula);break;case o0.ValueType.String:$.addAttribute("t","str"),$.leafNode("f",q,Y.formula),$.leafNode("v",null,Y.result);break;case o0.ValueType.Number:$.leafNode("f",q,Y.formula),$.leafNode("v",null,Y.result);break;case o0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("f",q,Y.formula),$.leafNode("v",null,Y.result?1:0);break;case o0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("f",q,Y.formula),$.leafNode("v",null,Y.result.error);break;case o0.ValueType.Date:$.leafNode("f",q,Y.formula),$.leafNode("v",null,w7.dateToExcel(Y.result,Y.date1904));break;default:throw Error("I could not understand type of value")}}render($,Y){if(Y.type===o0.ValueType.Null&&!Y.styleId)return;if($.openNode("c"),$.addAttribute("r",Y.address),Y.styleId)$.addAttribute("s",Y.styleId);switch(Y.type){case o0.ValueType.Null:break;case o0.ValueType.Number:$.leafNode("v",null,Y.value);break;case o0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("v",null,Y.value?"1":"0");break;case o0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("v",null,Y.value.error);break;case o0.ValueType.String:case o0.ValueType.RichText:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else if(Y.value&&Y.value.richText)$.addAttribute("t","inlineStr"),$.openNode("is"),Y.value.richText.forEach((q)=>{this.richTextXForm.render($,q)}),$.closeNode("is");else $.addAttribute("t","str"),$.leafNode("v",null,Y.value);break;case o0.ValueType.Date:$.leafNode("v",null,w7.dateToExcel(Y.value,Y.date1904));break;case o0.ValueType.Hyperlink:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else $.addAttribute("t","str"),$.leafNode("v",null,Y.text);break;case o0.ValueType.Formula:this.renderFormula($,Y);break;case o0.ValueType.Merge:break;default:break}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"c":if(this.model={address:$.attributes.r},this.t=$.attributes.t,$.attributes.s)this.model.styleId=parseInt($.attributes.s,10);return!0;case"f":return this.currentNode="f",this.model.si=$.attributes.si,this.model.shareType=$.attributes.t,this.model.ref=$.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser){this.parser.parseText($);return}switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+$:$;break;case"v":case"t":if(this.model.value&&this.model.value.richText)this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+$:$;else this.model.value=this.model.value?this.model.value+$:$;break;default:break}}parseClose($){switch($){case"c":{let{model:Y}=this;if(Y.formula||Y.shareType){if(Y.type=o0.ValueType.Formula,Y.value){if(this.t==="str")Y.result=w7.xmlDecode(Y.value);else if(this.t==="b")Y.result=parseInt(Y.value,10)!==0;else if(this.t==="e")Y.result={error:Y.value};else Y.result=parseFloat(Y.value);Y.value=void 0}}else if(Y.value!==void 0)switch(this.t){case"s":Y.type=o0.ValueType.String,Y.value=parseInt(Y.value,10);break;case"str":Y.type=o0.ValueType.String,Y.value=w7.xmlDecode(Y.value);break;case"inlineStr":Y.type=o0.ValueType.String;break;case"b":Y.type=o0.ValueType.Boolean,Y.value=parseInt(Y.value,10)!==0;break;case"e":Y.type=o0.ValueType.Error,Y.value={error:Y.value};break;default:Y.type=o0.ValueType.Number,Y.value=parseFloat(Y.value);break}else if(Y.styleId)Y.type=o0.ValueType.Null;else Y.type=o0.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":if(this.parser)return this.parser.parseClose($),!0;return this.currentNode=void 0,!0;case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:if(this.parser)return this.parser.parseClose($),!0;return!1}}reconcile($,Y){let q=$.styleId&&Y.styles&&Y.styles.getStyleModel($.styleId);if(q)$.style=q;if($.styleId!==void 0)$.styleId=void 0;switch($.type){case o0.ValueType.String:if(typeof $.value==="number"){if(Y.sharedStrings)$.value=Y.sharedStrings.getString($.value)}if($.value.richText)$.type=o0.ValueType.RichText;break;case o0.ValueType.Number:if(q&&w7.isDateFmt(q.numFmt))$.type=o0.ValueType.Date,$.value=w7.excelToDate($.value,Y.date1904);break;case o0.ValueType.Formula:if($.result!==void 0&&q&&w7.isDateFmt(q.numFmt))$.result=w7.excelToDate($.result,Y.date1904);if($.shareType==="shared"){if($.ref)Y.formulae[$.si]=$.address;else $.sharedFormula=Y.formulae[$.si],delete $.shareType;delete $.si}break;default:break}let z=Y.hyperlinkMap[$.address];if(z){if($.type===o0.ValueType.Formula)$.text=$.result,$.result=void 0;else $.text=$.value,$.value=void 0;$.type=o0.ValueType.Hyperlink,$.hyperlink=z}let J=Y.commentsMap&&Y.commentsMap[$.address];if(J)$.comment=J}}vq0.exports=Cq0});var rS=M((K44,Sq0)=>{var J31=D0(),oS=U8(),U31=hq0();class gq0 extends J31{constructor($){super();this.maxItems=$&&$.maxItems,this.map={c:new U31}}get tag(){return"row"}prepare($,Y){let q=Y.styles.addStyleModel($.style);if(q)$.styleId=q;let z=this.map.c;$.cells.forEach((J)=>{z.prepare(J,Y)})}render($,Y,q){if($.openNode("row"),$.addAttribute("r",Y.number),Y.height)$.addAttribute("ht",Y.height),$.addAttribute("customHeight","1");if(Y.hidden)$.addAttribute("hidden","1");if(Y.min>0&&Y.max>0&&Y.min<=Y.max)$.addAttribute("spans",`${Y.min}:${Y.max}`);if(Y.styleId)$.addAttribute("s",Y.styleId),$.addAttribute("customFormat","1");if($.addAttribute("x14ac:dyDescent","0.25"),Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");let z=this.map.c;Y.cells.forEach((J)=>{z.render($,J,q)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="row"){this.numRowsSeen+=1;let Y=$.attributes.spans?$.attributes.spans.split(":").map((z)=>parseInt(z,10)):[void 0,void 0],q=this.model={number:parseInt($.attributes.r,10),min:Y[0],max:Y[1],cells:[]};if($.attributes.s)q.styleId=parseInt($.attributes.s,10);if(oS.parseBoolean($.attributes.hidden))q.hidden=!0;if(oS.parseBoolean($.attributes.bestFit))q.bestFit=!0;if($.attributes.ht)q.height=parseFloat($.attributes.ht);if($.attributes.outlineLevel)q.outlineLevel=parseInt($.attributes.outlineLevel,10);if(oS.parseBoolean($.attributes.collapsed))q.collapsed=!0;return!0}if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile($,Y){if($.style=$.styleId?Y.styles.getStyleModel($.styleId):{},$.styleId!==void 0)$.styleId=void 0;let q=this.map.c;$.cells.forEach((z)=>{q.reconcile(z,Y)})}}Sq0.exports=gq0});var tS=M((G44,xq0)=>{var sS=U8(),I31=D0();class yq0 extends I31{get tag(){return"col"}prepare($,Y){let q=Y.styles.addStyleModel($.style||{});if(q)$.styleId=q}render($,Y){if($.openNode("col"),$.addAttribute("min",Y.min),$.addAttribute("max",Y.max),Y.width)$.addAttribute("width",Y.width);if(Y.styleId)$.addAttribute("style",Y.styleId);if(Y.hidden)$.addAttribute("hidden","1");if(Y.bestFit)$.addAttribute("bestFit","1");if(Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");$.addAttribute("customWidth","1"),$.closeNode()}parseOpen($){if($.name==="col"){let Y=this.model={min:parseInt($.attributes.min||"0",10),max:parseInt($.attributes.max||"0",10),width:$.attributes.width===void 0?void 0:parseFloat($.attributes.width||"0")};if($.attributes.style)Y.styleId=parseInt($.attributes.style,10);if(sS.parseBoolean($.attributes.hidden))Y.hidden=!0;if(sS.parseBoolean($.attributes.bestFit))Y.bestFit=!0;if($.attributes.outlineLevel)Y.outlineLevel=parseInt($.attributes.outlineLevel,10);if(sS.parseBoolean($.attributes.collapsed))Y.collapsed=!0;return!0}return!1}parseText(){}parseClose(){return!1}reconcile($,Y){if($.styleId)$.style=Y.styles.getStyleModel($.styleId)}}xq0.exports=yq0});var fq0=M((H44,uq0)=>{var Q31=D0();class kq0 extends Q31{get tag(){return"dimension"}render($,Y){if(Y)$.leafNode("dimension",{ref:Y})}parseOpen($){if($.name==="dimension")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}uq0.exports=kq0});var aS=M((Z44,iq0)=>{var K31=D0();class bq0 extends K31{get tag(){return"hyperlink"}render($,Y){if(this.isInternalLink(Y))$.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip,location:Y.target});else $.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip})}parseOpen($){if($.name==="hyperlink"){if(this.model={address:$.attributes.ref,rId:$.attributes["r:id"],tooltip:$.attributes.tooltip},$.attributes.location)this.model.target=$.attributes.location;return!0}return!1}parseText(){}parseClose(){return!1}isInternalLink($){return $.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test($.target)}}iq0.exports=bq0});var pq0=M((W44,cq0)=>{var G31=D0();class nq0 extends G31{get tag(){return"mergeCell"}render($,Y){$.leafNode("mergeCell",{ref:Y})}parseOpen($){if($.name==="mergeCell")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}cq0.exports=nq0});var Yy=M((X44,mq0)=>{var _G=l4(),$y=U8(),BJ=k4(),H31=D0(),Z31=R9();function TJ($,Y,q,z){let J=Y[q];if(J!==void 0)$[q]=J;else if(z!==void 0)$[q]=z}function eS($,Y,q,z){let J=Y[q];if(J!==void 0)$[q]=$y.parseBoolean(J);else if(z!==void 0)$[q]=z}function W31($){let Y=_G.map($,(J,U)=>({address:U,dataValidation:J,marked:!1})).sort((J,U)=>_G.strcmp(J.address,U.address)),q=_G.keyBy(Y,"address"),z=(J,U,I)=>{for(let Q=0;Q<U;Q++){let K=BJ.encodeAddress(J.row+Q,I);if(!$[K]||!_G.isEqual($[J.address],$[K]))return!1}return!0};return Y.map((J)=>{if(!J.marked){let U=BJ.decodeEx(J.address);if(U.dimensions)return q[U.dimensions].marked=!0,{...J.dataValidation,sqref:J.address};let I=1,Q=BJ.encodeAddress(U.row+I,U.col);while($[Q]&&_G.isEqual(J.dataValidation,$[Q]))I++,Q=BJ.encodeAddress(U.row+I,U.col);let K=1;while(z(U,I,U.col+K))K++;for(let G=0;G<I;G++)for(let H=0;H<K;H++)Q=BJ.encodeAddress(U.row+G,U.col+H),q[Q].marked=!0;if(I>1||K>1){let G=U.row+(I-1),H=U.col+(K-1);return{...J.dataValidation,sqref:`${J.address}:${BJ.encodeAddress(G,H)}`}}return{...J.dataValidation,sqref:J.address}}return null}).filter(Boolean)}class dq0 extends H31{get tag(){return"dataValidations"}render($,Y){let q=W31(Y);if(q.length)$.openNode("dataValidations",{count:q.length}),q.forEach((z)=>{if($.openNode("dataValidation"),z.type!=="any"){if($.addAttribute("type",z.type),z.operator&&z.type!=="list"&&z.operator!=="between")$.addAttribute("operator",z.operator);if(z.allowBlank)$.addAttribute("allowBlank","1")}if(z.showInputMessage)$.addAttribute("showInputMessage","1");if(z.promptTitle)$.addAttribute("promptTitle",z.promptTitle);if(z.prompt)$.addAttribute("prompt",z.prompt);if(z.showErrorMessage)$.addAttribute("showErrorMessage","1");if(z.errorStyle)$.addAttribute("errorStyle",z.errorStyle);if(z.errorTitle)$.addAttribute("errorTitle",z.errorTitle);if(z.error)$.addAttribute("error",z.error);$.addAttribute("sqref",z.sqref),(z.formulae||[]).forEach((J,U)=>{if($.openNode(`formula${U+1}`),z.type==="date")$.writeText($y.dateToExcel(new Date(J)));else $.writeText(J);$.closeNode()}),$.closeNode()}),$.closeNode()}parseOpen($){switch($.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=$.attributes.sqref;let Y={type:$.attributes.type||"any",formulae:[]};if($.attributes.type)eS(Y,$.attributes,"allowBlank");switch(eS(Y,$.attributes,"showInputMessage"),eS(Y,$.attributes,"showErrorMessage"),Y.type){case"any":case"list":case"custom":break;default:TJ(Y,$.attributes,"operator","between");break}return TJ(Y,$.attributes,"promptTitle"),TJ(Y,$.attributes,"prompt"),TJ(Y,$.attributes,"errorStyle"),TJ(Y,$.attributes,"errorTitle"),TJ(Y,$.attributes,"error"),this._dataValidation=Y,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText($){if(this._formula)this._formula.push($)}parseClose($){switch($){case"dataValidations":return!1;case"dataValidation":{if(!this._dataValidation.formulae||!this._dataValidation.formulae.length)delete this._dataValidation.formulae,delete this._dataValidation.operator;return(this._address.split(/\s+/g)||[]).forEach((q)=>{if(q.includes(":"))new Z31(q).forEachAddress((J)=>{this.model[J]=this._dataValidation});else this.model[q]=this._dataValidation}),!0}case"formula1":case"formula2":{let Y=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":Y=parseInt(Y,10);break;case"decimal":Y=parseFloat(Y);break;case"date":Y=$y.excelToDate(parseFloat(Y));break;default:break}return this._dataValidation.formulae.push(Y),this._formula=void 0,!0}default:return!0}}}mq0.exports=dq0});var rq0=M((V44,oq0)=>{var X31=D0();class lq0 extends X31{get tag(){return"pageSetUpPr"}render($,Y){if(Y&&Y.fitToPage)return $.leafNode(this.tag,{fitToPage:Y.fitToPage?"1":void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={fitToPage:$.attributes.fitToPage==="1"},!0;return!1}parseText(){}parseClose(){return!1}}oq0.exports=lq0});var aq0=M((L44,tq0)=>{var V31=D0(),EJ=($)=>typeof $<"u";class sq0 extends V31{get tag(){return"outlinePr"}render($,Y){if(Y&&(EJ(Y.summaryBelow)||EJ(Y.summaryRight)))return $.leafNode(this.tag,{summaryBelow:EJ(Y.summaryBelow)?Number(Y.summaryBelow):void 0,summaryRight:EJ(Y.summaryRight)?Number(Y.summaryRight):void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={summaryBelow:EJ($.attributes.summaryBelow)?Boolean(Number($.attributes.summaryBelow)):void 0,summaryRight:EJ($.attributes.summaryRight)?Boolean(Number($.attributes.summaryRight)):void 0},!0;return!1}parseText(){}parseClose(){return!1}}tq0.exports=sq0});var qy=M((w44,$z0)=>{var L31=D0(),w31=X7(),F31=rq0(),O31=aq0();class eq0 extends L31{constructor(){super();this.map={tabColor:new w31("tabColor"),pageSetUpPr:new F31,outlinePr:new O31}}get tag(){return"sheetPr"}render($,Y){if(Y){$.addRollback(),$.openNode("sheetPr");let q=!1;if(q=this.map.tabColor.render($,Y.tabColor)||q,q=this.map.pageSetUpPr.render($,Y.pageSetup)||q,q=this.map.outlinePr.render($,Y.outlineProperties)||q,q)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.reset(),!0;if(this.map[$.name])return this.parser=this.map[$.name],this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)return this.parser.parseText($),!0;return!1}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model){if(this.model={},this.map.tabColor.model)this.model.tabColor=this.map.tabColor.model;if(this.map.pageSetUpPr.model)this.model.pageSetup=this.map.pageSetUpPr.model;if(this.map.outlinePr.model)this.model.outlineProperties=this.map.outlinePr.model}else this.model=null;return!1}}$z0.exports=eq0});var zy=M((F44,qz0)=>{var M31=l4(),N31=D0();class Yz0 extends N31{get tag(){return"sheetFormatPr"}render($,Y){if(Y){let q={defaultRowHeight:Y.defaultRowHeight,outlineLevelRow:Y.outlineLevelRow,outlineLevelCol:Y.outlineLevelCol,"x14ac:dyDescent":Y.dyDescent};if(Y.defaultColWidth)q.defaultColWidth=Y.defaultColWidth;if(!Y.defaultRowHeight||Y.defaultRowHeight!==15)q.customHeight="1";if(M31.some(q,(z)=>z!==void 0))$.leafNode("sheetFormatPr",q)}}parseOpen($){if($.name==="sheetFormatPr"){if(this.model={defaultRowHeight:parseFloat($.attributes.defaultRowHeight||"0"),dyDescent:parseFloat($.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt($.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt($.attributes.outlineLevelCol||"0",10)},$.attributes.defaultColWidth)this.model.defaultColWidth=parseFloat($.attributes.defaultColWidth);return!0}return!1}parseText(){}parseClose(){return!1}}qz0.exports=Yz0});var Jy=M((O44,Jz0)=>{var D31=k4(),P31=D0(),A31={frozen:"frozen",frozenSplit:"frozen",split:"split"};class zz0 extends P31{get tag(){return"sheetView"}prepare($){switch($.state){case"frozen":case"split":break;default:$.state="normal";break}}render($,Y){$.openNode("sheetView",{workbookViewId:Y.workbookViewId||0});let q=function(Q,K,G){if(G)$.addAttribute(Q,K)};q("rightToLeft","1",Y.rightToLeft===!0),q("tabSelected","1",Y.tabSelected),q("showRuler","0",Y.showRuler===!1),q("showRowColHeaders","0",Y.showRowColHeaders===!1),q("showGridLines","0",Y.showGridLines===!1),q("zoomScale",Y.zoomScale,Y.zoomScale),q("zoomScaleNormal",Y.zoomScaleNormal,Y.zoomScaleNormal),q("view",Y.style,Y.style);let z,J,U,I;switch(Y.state){case"frozen":J=Y.xSplit||0,U=Y.ySplit||0,z=Y.topLeftCell||D31.getAddress(U+1,J+1).address,I=Y.xSplit&&Y.ySplit&&"bottomRight"||Y.xSplit&&"topRight"||"bottomLeft",$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:z,activePane:I,state:"frozen"}),$.leafNode("selection",{pane:I,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"split":if(Y.activePane==="topLeft")Y.activePane=void 0;$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:Y.topLeftCell,activePane:Y.activePane}),$.leafNode("selection",{pane:Y.activePane,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"normal":if(Y.activeCell)$.leafNode("selection",{activeCell:Y.activeCell,sqref:Y.activeCell});break;default:break}$.closeNode()}parseOpen($){switch($.name){case"sheetView":return this.sheetView={workbookViewId:parseInt($.attributes.workbookViewId,10),rightToLeft:$.attributes.rightToLeft==="1",tabSelected:$.attributes.tabSelected==="1",showRuler:$.attributes.showRuler!=="0",showRowColHeaders:$.attributes.showRowColHeaders!=="0",showGridLines:$.attributes.showGridLines!=="0",zoomScale:parseInt($.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt($.attributes.zoomScaleNormal||"100",10),style:$.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt($.attributes.xSplit||"0",10),ySplit:parseInt($.attributes.ySplit||"0",10),topLeftCell:$.attributes.topLeftCell,activePane:$.attributes.activePane||"topLeft",state:$.attributes.state},!0;case"selection":{let Y=$.attributes.pane||"topLeft";return this.selections[Y]={pane:Y,activeCell:$.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose($){let Y,q;switch($){case"sheetView":if(this.sheetView&&this.pane){if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:A31[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split")Y.activePane=this.pane.activePane;if(q=this.selections[this.pane.activePane],q&&q.activeCell)Y.activeCell=q.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}else{if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},q=this.selections.topLeft,q&&q.activeCell)Y.activeCell=q.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}return!1;default:return!0}}reconcile(){}}Jz0.exports=zz0});var Uy=M((M44,Iz0)=>{var B31=l4(),T31=D0();function p8($,Y){return $?Y:void 0}function g$($,Y){return $===Y?!0:void 0}class Uz0 extends T31{get tag(){return"sheetProtection"}render($,Y){if(Y){let q={sheet:p8(Y.sheet,"1"),selectLockedCells:Y.selectLockedCells===!1?"1":void 0,selectUnlockedCells:Y.selectUnlockedCells===!1?"1":void 0,formatCells:p8(Y.formatCells,"0"),formatColumns:p8(Y.formatColumns,"0"),formatRows:p8(Y.formatRows,"0"),insertColumns:p8(Y.insertColumns,"0"),insertRows:p8(Y.insertRows,"0"),insertHyperlinks:p8(Y.insertHyperlinks,"0"),deleteColumns:p8(Y.deleteColumns,"0"),deleteRows:p8(Y.deleteRows,"0"),sort:p8(Y.sort,"0"),autoFilter:p8(Y.autoFilter,"0"),pivotTables:p8(Y.pivotTables,"0")};if(Y.sheet)q.algorithmName=Y.algorithmName,q.hashValue=Y.hashValue,q.saltValue=Y.saltValue,q.spinCount=Y.spinCount,q.objects=p8(Y.objects===!1,"1"),q.scenarios=p8(Y.scenarios===!1,"1");if(B31.some(q,(z)=>z!==void 0))$.leafNode(this.tag,q)}}parseOpen($){switch($.name){case this.tag:if(this.model={sheet:g$($.attributes.sheet,"1"),objects:$.attributes.objects==="1"?!1:void 0,scenarios:$.attributes.scenarios==="1"?!1:void 0,selectLockedCells:$.attributes.selectLockedCells==="1"?!1:void 0,selectUnlockedCells:$.attributes.selectUnlockedCells==="1"?!1:void 0,formatCells:g$($.attributes.formatCells,"0"),formatColumns:g$($.attributes.formatColumns,"0"),formatRows:g$($.attributes.formatRows,"0"),insertColumns:g$($.attributes.insertColumns,"0"),insertRows:g$($.attributes.insertRows,"0"),insertHyperlinks:g$($.attributes.insertHyperlinks,"0"),deleteColumns:g$($.attributes.deleteColumns,"0"),deleteRows:g$($.attributes.deleteRows,"0"),sort:g$($.attributes.sort,"0"),autoFilter:g$($.attributes.autoFilter,"0"),pivotTables:g$($.attributes.pivotTables,"0")},$.attributes.algorithmName)this.model.algorithmName=$.attributes.algorithmName,this.model.hashValue=$.attributes.hashValue,this.model.saltValue=$.attributes.saltValue,this.model.spinCount=parseInt($.attributes.spinCount,10);return!0;default:return!1}}parseText(){}parseClose(){return!1}}Iz0.exports=Uz0});var Iy=M((N44,Kz0)=>{var E31=l4(),j31=D0();class Qz0 extends j31{get tag(){return"pageMargins"}render($,Y){if(Y){let q={left:Y.left,right:Y.right,top:Y.top,bottom:Y.bottom,header:Y.header,footer:Y.footer};if(E31.some(q,(z)=>z!==void 0))$.leafNode(this.tag,q)}}parseOpen($){switch($.name){case this.tag:return this.model={left:parseFloat($.attributes.left||0.7),right:parseFloat($.attributes.right||0.7),top:parseFloat($.attributes.top||0.75),bottom:parseFloat($.attributes.bottom||0.75),header:parseFloat($.attributes.header||0.3),footer:parseFloat($.attributes.footer||0.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}Kz0.exports=Qz0});var Qy=M((D44,Hz0)=>{var _31=l4(),R31=D0();function uF($){return $?"1":void 0}function C31($){switch($){case"overThenDown":return $;default:return}}function v31($){switch($){case"atEnd":case"asDisplyed":return $;default:return}}function h31($){switch($){case"dash":case"blank":case"NA":return $;default:return}}function g31($){return $!==void 0?parseInt($,10):void 0}class Gz0 extends R31{get tag(){return"pageSetup"}render($,Y){if(Y){let q={paperSize:Y.paperSize,orientation:Y.orientation,horizontalDpi:Y.horizontalDpi,verticalDpi:Y.verticalDpi,pageOrder:C31(Y.pageOrder),blackAndWhite:uF(Y.blackAndWhite),draft:uF(Y.draft),cellComments:v31(Y.cellComments),errors:h31(Y.errors),scale:Y.scale,fitToWidth:Y.fitToWidth,fitToHeight:Y.fitToHeight,firstPageNumber:Y.firstPageNumber,useFirstPageNumber:uF(Y.firstPageNumber),usePrinterDefaults:uF(Y.usePrinterDefaults),copies:Y.copies};if(_31.some(q,(z)=>z!==void 0))$.leafNode(this.tag,q)}}parseOpen($){switch($.name){case this.tag:return this.model={paperSize:g31($.attributes.paperSize),orientation:$.attributes.orientation||"portrait",horizontalDpi:parseInt($.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt($.attributes.verticalDpi||"4294967295",10),pageOrder:$.attributes.pageOrder||"downThenOver",blackAndWhite:$.attributes.blackAndWhite==="1",draft:$.attributes.draft==="1",cellComments:$.attributes.cellComments||"None",errors:$.attributes.errors||"displayed",scale:parseInt($.attributes.scale||"100",10),fitToWidth:parseInt($.attributes.fitToWidth||"1",10),fitToHeight:parseInt($.attributes.fitToHeight||"1",10),firstPageNumber:parseInt($.attributes.firstPageNumber||"1",10),useFirstPageNumber:$.attributes.useFirstPageNumber==="1",usePrinterDefaults:$.attributes.usePrinterDefaults==="1",copies:parseInt($.attributes.copies||"1",10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}Hz0.exports=Gz0});var Xz0=M((P44,Wz0)=>{var S31=l4(),y31=D0();function fF($){return $?"1":void 0}class Zz0 extends y31{get tag(){return"printOptions"}render($,Y){if(Y){let q={headings:fF(Y.showRowColHeaders),gridLines:fF(Y.showGridLines),horizontalCentered:fF(Y.horizontalCentered),verticalCentered:fF(Y.verticalCentered)};if(S31.some(q,(z)=>z!==void 0))$.leafNode(this.tag,q)}}parseOpen($){switch($.name){case this.tag:return this.model={showRowColHeaders:$.attributes.headings==="1",showGridLines:$.attributes.gridLines==="1",horizontalCentered:$.attributes.horizontalCentered==="1",verticalCentered:$.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}Wz0.exports=Zz0});var Ky=M((A44,Lz0)=>{var x31=k4(),k31=D0();class Vz0 extends k31{get tag(){return"autoFilter"}render($,Y){if(Y)if(typeof Y==="string")$.leafNode("autoFilter",{ref:Y});else{let q=function(U){if(typeof U==="string")return U;return x31.getAddress(U.row,U.column).address},z=q(Y.from),J=q(Y.to);if(z&&J)$.leafNode("autoFilter",{ref:`${z}:${J}`})}}parseOpen($){if($.name==="autoFilter")this.model=$.attributes.ref}}Lz0.exports=Vz0});var Gy=M((B44,Fz0)=>{var u31=D0();class wz0 extends u31{get tag(){return"picture"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}Fz0.exports=wz0});var Nz0=M((T44,Mz0)=>{var f31=D0();class Oz0 extends f31{get tag(){return"drawing"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}Mz0.exports=Oz0});var Az0=M((E44,Pz0)=>{var b31=D0();class Dz0 extends b31{get tag(){return"tablePart"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}Pz0.exports=Dz0});var Ez0=M((j44,Tz0)=>{var i31=D0();class Bz0 extends i31{get tag(){return"brk"}render($,Y){$.leafNode("brk",Y)}parseOpen($){if($.name==="brk")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}Tz0.exports=Bz0});var Hy=M((_44,_z0)=>{var n31=Ez0(),c31=W7();class jz0 extends c31{constructor(){let $={tag:"rowBreaks",count:!0,childXform:new n31};super($)}render($,Y){if(Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y.length),$.addAttribute("manualBreakCount",Y.length);let{childXform:q}=this;Y.forEach((z)=>{q.render($,z)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}}_z0.exports=jz0});var Zy=M((R44,Cz0)=>{var p31=D0();class Rz0 extends p31{get tag(){return"headerFooter"}render($,Y){if(Y){$.addRollback();let q=!1;if($.openNode("headerFooter"),Y.differentFirst)$.addAttribute("differentFirst","1"),q=!0;if(Y.differentOddEven)$.addAttribute("differentOddEven","1"),q=!0;if(Y.oddHeader&&typeof Y.oddHeader==="string")$.leafNode("oddHeader",null,Y.oddHeader),q=!0;if(Y.oddFooter&&typeof Y.oddFooter==="string")$.leafNode("oddFooter",null,Y.oddFooter),q=!0;if(Y.evenHeader&&typeof Y.evenHeader==="string")$.leafNode("evenHeader",null,Y.evenHeader),q=!0;if(Y.evenFooter&&typeof Y.evenFooter==="string")$.leafNode("evenFooter",null,Y.evenFooter),q=!0;if(Y.firstHeader&&typeof Y.firstHeader==="string")$.leafNode("firstHeader",null,Y.firstHeader),q=!0;if(Y.firstFooter&&typeof Y.firstFooter==="string")$.leafNode("firstFooter",null,Y.firstFooter),q=!0;if(q)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){switch($.name){case"headerFooter":if(this.model={},$.attributes.differentFirst)this.model.differentFirst=parseInt($.attributes.differentFirst,0)===1;if($.attributes.differentOddEven)this.model.differentOddEven=parseInt($.attributes.differentOddEven,0)===1;return!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText($){switch(this.currentNode){case"oddHeader":this.model.oddHeader=$;break;case"oddFooter":this.model.oddFooter=$;break;case"evenHeader":this.model.evenHeader=$;break;case"evenFooter":this.model.evenFooter=$;break;case"firstHeader":this.model.firstHeader=$;break;case"firstFooter":this.model.firstFooter=$;break;default:break}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}Cz0.exports=Rz0});var d8=M((C44,hz0)=>{var d31=D0();class vz0 extends d31{createNewModel($){return{}}parseOpen($){if(this.parser=this.parser||this.map[$.name],this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.model=this.createNewModel($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}onParserClose($,Y){this.model[$]=Y.model}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.onParserClose($,this.parser),this.parser=void 0;return!0}return $!==this.tag}}hz0.exports=vz0});var bF=M((v44,yz0)=>{var gz0=D0();class Sz0 extends gz0{get tag(){return"cfvo"}render($,Y){$.leafNode(this.tag,{type:Y.type,val:Y.value})}parseOpen($){this.model={type:$.attributes.type,value:gz0.toFloatValue($.attributes.val)}}parseClose($){return $!==this.tag}}yz0.exports=Sz0});var uz0=M((h44,kz0)=>{var m31=d8(),l31=X7(),o31=bF();class xz0 extends m31{constructor(){super();this.map={cfvo:this.cfvoXform=new o31,color:this.colorXform=new l31}}get tag(){return"dataBar"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((q)=>{this.cfvoXform.render($,q)}),this.colorXform.render($,Y.color),$.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose($,Y){switch($){case"cfvo":this.model.cfvo.push(Y.model);break;case"color":this.model.color=Y.model;break}}}kz0.exports=xz0});var pz0=M((g44,cz0)=>{var r31=D0(),fz0=d8();class bz0 extends r31{get tag(){return"x14:id"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}class iz0 extends fz0{constructor(){super();this.map={"x14:id":this.idXform=new bz0}}get tag(){return"ext"}render($,Y){$.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render($,Y.x14Id),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model.x14Id=Y.model}}class nz0 extends fz0{constructor(){super();this.map={ext:new iz0}}get tag(){return"extLst"}render($,Y){$.openNode(this.tag),this.map.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}cz0.exports=nz0});var lz0=M((S44,mz0)=>{var s31=D0();class dz0 extends s31{get tag(){return"formula"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}mz0.exports=dz0});var sz0=M((y44,rz0)=>{var t31=d8(),a31=X7(),e31=bF();class oz0 extends t31{constructor(){super();this.map={cfvo:this.cfvoXform=new e31,color:this.colorXform=new a31}}get tag(){return"colorScale"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((q)=>{this.cfvoXform.render($,q)}),Y.color.forEach((q)=>{this.colorXform.render($,q)}),$.closeNode()}createNewModel($){return{cfvo:[],color:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}rz0.exports=oz0});var ez0=M((x44,az0)=>{var jJ=D0(),$71=d8(),Y71=bF();class tz0 extends $71{constructor(){super();this.map={cfvo:this.cfvoXform=new Y71}}get tag(){return"iconSet"}render($,Y){$.openNode(this.tag,{iconSet:jJ.toStringAttribute(Y.iconSet,"3TrafficLights"),reverse:jJ.toBoolAttribute(Y.reverse,!1),showValue:jJ.toBoolAttribute(Y.showValue,!0)}),Y.cfvo.forEach((q)=>{this.cfvoXform.render($,q)}),$.closeNode()}createNewModel({attributes:$}){return{iconSet:jJ.toStringValue($.iconSet,"3TrafficLights"),reverse:jJ.toBoolValue($.reverse),showValue:jJ.toBoolValue($.showValue),cfvo:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}az0.exports=tz0});var qJ0=M((k44,YJ0)=>{var V5=D0(),q71=d8(),$J0=R9(),z71=uz0(),J71=pz0(),U71=lz0(),I71=sz0(),Q71=ez0(),K71={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},G71=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new $J0($.ref),{tl:q}=Y;switch($.operator){case"containsText":return`NOT(ISERROR(SEARCH("${$.text}",${q})))`;case"containsBlanks":return`LEN(TRIM(${q}))=0`;case"notContainsBlanks":return`LEN(TRIM(${q}))>0`;case"containsErrors":return`ISERROR(${q})`;case"notContainsErrors":return`NOT(ISERROR(${q}))`;default:return}},H71=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new $J0($.ref),{tl:q}=Y;switch($.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${q},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${q},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${q},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${q},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${q},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${q},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${q},1)=TODAY()-1`;case"today":return`FLOOR(${q},1)=TODAY()`;case"tomorrow":return`FLOOR(${q},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${q},1)<=6,FLOOR(${q},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${q})=MONTH(EDATE(TODAY(),0-1)),YEAR(${q})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${q})=MONTH(TODAY()),YEAR(${q})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${q})=MONTH(EDATE(TODAY(),0+1)),YEAR(${q})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},Z71=($)=>{let{type:Y,operator:q}=$;switch(Y){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:Y};default:return{type:Y,operator:q}}};class Wy extends q71{constructor(){super();this.map={dataBar:this.databarXform=new z71,extLst:this.extLstRefXform=new J71,formula:this.formulaXform=new U71,colorScale:this.colorScaleXform=new I71,iconSet:this.iconSetXform=new Q71}}get tag(){return"cfRule"}static isPrimitive($){if($.type==="iconSet"){if($.custom||K71[$.iconSet])return!1}return!0}render($,Y){switch(Y.type){case"expression":this.renderExpression($,Y);break;case"cellIs":this.renderCellIs($,Y);break;case"top10":this.renderTop10($,Y);break;case"aboveAverage":this.renderAboveAverage($,Y);break;case"dataBar":this.renderDataBar($,Y);break;case"colorScale":this.renderColorScale($,Y);break;case"iconSet":this.renderIconSet($,Y);break;case"containsText":this.renderText($,Y);break;case"timePeriod":this.renderTimePeriod($,Y);break}}renderExpression($,Y){$.openNode(this.tag,{type:"expression",dxfId:Y.dxfId,priority:Y.priority}),this.formulaXform.render($,Y.formulae[0]),$.closeNode()}renderCellIs($,Y){$.openNode(this.tag,{type:"cellIs",dxfId:Y.dxfId,priority:Y.priority,operator:Y.operator}),Y.formulae.forEach((q)=>{this.formulaXform.render($,q)}),$.closeNode()}renderTop10($,Y){$.leafNode(this.tag,{type:"top10",dxfId:Y.dxfId,priority:Y.priority,percent:V5.toBoolAttribute(Y.percent,!1),bottom:V5.toBoolAttribute(Y.bottom,!1),rank:V5.toIntValue(Y.rank,10,!0)})}renderAboveAverage($,Y){$.leafNode(this.tag,{type:"aboveAverage",dxfId:Y.dxfId,priority:Y.priority,aboveAverage:V5.toBoolAttribute(Y.aboveAverage,!0)})}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",priority:Y.priority}),this.databarXform.render($,Y),this.extLstRefXform.render($,Y),$.closeNode()}renderColorScale($,Y){$.openNode(this.tag,{type:"colorScale",priority:Y.priority}),this.colorScaleXform.render($,Y),$.closeNode()}renderIconSet($,Y){if(!Wy.isPrimitive(Y))return;$.openNode(this.tag,{type:"iconSet",priority:Y.priority}),this.iconSetXform.render($,Y),$.closeNode()}renderText($,Y){$.openNode(this.tag,{type:Y.operator,dxfId:Y.dxfId,priority:Y.priority,operator:V5.toStringAttribute(Y.operator,"containsText")});let q=G71(Y);if(q)this.formulaXform.render($,q);$.closeNode()}renderTimePeriod($,Y){$.openNode(this.tag,{type:"timePeriod",dxfId:Y.dxfId,priority:Y.priority,timePeriod:Y.timePeriod});let q=H71(Y);if(q)this.formulaXform.render($,q);$.closeNode()}createNewModel({attributes:$}){return{...Z71($),dxfId:V5.toIntValue($.dxfId),priority:V5.toIntValue($.priority),timePeriod:$.timePeriod,percent:V5.toBoolValue($.percent),bottom:V5.toBoolValue($.bottom),rank:V5.toIntValue($.rank),aboveAverage:V5.toBoolValue($.aboveAverage)}}onParserClose($,Y){switch($){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,Y.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(Y.model);break}}}YJ0.exports=Wy});var UJ0=M((u44,JJ0)=>{var W71=d8(),Xy=qJ0();class zJ0 extends W71{constructor(){super();this.map={cfRule:new Xy}}get tag(){return"conditionalFormatting"}render($,Y){if(!Y.rules.some(Xy.isPrimitive))return;$.openNode(this.tag,{sqref:Y.ref}),Y.rules.forEach((q)=>{if(Xy.isPrimitive(q))q.ref=Y.ref,this.map.cfRule.render($,q)}),$.closeNode()}createNewModel({attributes:$}){return{ref:$.sqref,rules:[]}}onParserClose($,Y){this.model.rules.push(Y.model)}}JJ0.exports=zJ0});var Vy=M((f44,QJ0)=>{var X71=D0(),V71=UJ0();class IJ0 extends X71{constructor(){super();this.cfXform=new V71}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare($,Y){let q=$.reduce((z,J)=>Math.max(z,...J.rules.map((U)=>U.priority||0)),1);$.forEach((z)=>{z.rules.forEach((J)=>{if(!J.priority)J.priority=q++;if(J.style)J.dxfId=Y.styles.addDxfStyle(J.style)})})}render($,Y){Y.forEach((q)=>{this.cfXform.render($,q)})}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))return this.model.push(this.parser.model),this.parser=void 0,!1;return!0}return!1}reconcile($,Y){$.forEach((q)=>{q.rules.forEach((z)=>{if(z.dxfId!==void 0)z.style=Y.styles.getDxfStyle(z.dxfId),delete z.dxfId})})}}QJ0.exports=IJ0});var Ly=M((KJ0)=>{Object.defineProperty(KJ0,"__esModule",{value:!0});KJ0.default=F71;var L71=w71(m("crypto"));function w71($){return $&&$.__esModule?$:{default:$}}var nF=new Uint8Array(256),iF=nF.length;function F71(){if(iF>nF.length-16)L71.default.randomFillSync(nF),iF=0;return nF.slice(iF,iF+=16)}});var ZJ0=M((GJ0)=>{Object.defineProperty(GJ0,"__esModule",{value:!0});GJ0.default=void 0;var M71=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;GJ0.default=M71});var RG=M((WJ0)=>{Object.defineProperty(WJ0,"__esModule",{value:!0});WJ0.default=void 0;var N71=D71(ZJ0());function D71($){return $&&$.__esModule?$:{default:$}}function P71($){return typeof $==="string"&&N71.default.test($)}var A71=P71;WJ0.default=A71});var CG=M((VJ0)=>{Object.defineProperty(VJ0,"__esModule",{value:!0});VJ0.default=void 0;var B71=T71(RG());function T71($){return $&&$.__esModule?$:{default:$}}var d6=[];for(let $=0;$<256;++$)d6.push(($+256).toString(16).substr(1));function E71($,Y=0){let q=(d6[$[Y+0]]+d6[$[Y+1]]+d6[$[Y+2]]+d6[$[Y+3]]+"-"+d6[$[Y+4]]+d6[$[Y+5]]+"-"+d6[$[Y+6]]+d6[$[Y+7]]+"-"+d6[$[Y+8]]+d6[$[Y+9]]+"-"+d6[$[Y+10]]+d6[$[Y+11]]+d6[$[Y+12]]+d6[$[Y+13]]+d6[$[Y+14]]+d6[$[Y+15]]).toLowerCase();if(!(0,B71.default)(q))throw TypeError("Stringified UUID is invalid");return q}var j71=E71;VJ0.default=j71});var NJ0=M((OJ0)=>{Object.defineProperty(OJ0,"__esModule",{value:!0});OJ0.default=void 0;var _71=FJ0(Ly()),R71=FJ0(CG());function FJ0($){return $&&$.__esModule?$:{default:$}}var wJ0,wy,Fy=0,Oy=0;function C71($,Y,q){let z=Y&&q||0,J=Y||Array(16);$=$||{};let U=$.node||wJ0,I=$.clockseq!==void 0?$.clockseq:wy;if(U==null||I==null){let V=$.random||($.rng||_71.default)();if(U==null)U=wJ0=[V[0]|1,V[1],V[2],V[3],V[4],V[5]];if(I==null)I=wy=(V[6]<<8|V[7])&16383}let Q=$.msecs!==void 0?$.msecs:Date.now(),K=$.nsecs!==void 0?$.nsecs:Oy+1,G=Q-Fy+(K-Oy)/1e4;if(G<0&&$.clockseq===void 0)I=I+1&16383;if((G<0||Q>Fy)&&$.nsecs===void 0)K=0;if(K>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Fy=Q,Oy=K,wy=I,Q+=12219292800000;let H=((Q&268435455)*1e4+K)%4294967296;J[z++]=H>>>24&255,J[z++]=H>>>16&255,J[z++]=H>>>8&255,J[z++]=H&255;let Z=Q/4294967296*1e4&268435455;J[z++]=Z>>>8&255,J[z++]=Z&255,J[z++]=Z>>>24&15|16,J[z++]=Z>>>16&255,J[z++]=I>>>8|128,J[z++]=I&255;for(let V=0;V<6;++V)J[z+V]=U[V];return Y||(0,R71.default)(J)}var v71=C71;OJ0.default=v71});var My=M((DJ0)=>{Object.defineProperty(DJ0,"__esModule",{value:!0});DJ0.default=void 0;var h71=g71(RG());function g71($){return $&&$.__esModule?$:{default:$}}function S71($){if(!(0,h71.default)($))throw TypeError("Invalid UUID");let Y,q=new Uint8Array(16);return q[0]=(Y=parseInt($.slice(0,8),16))>>>24,q[1]=Y>>>16&255,q[2]=Y>>>8&255,q[3]=Y&255,q[4]=(Y=parseInt($.slice(9,13),16))>>>8,q[5]=Y&255,q[6]=(Y=parseInt($.slice(14,18),16))>>>8,q[7]=Y&255,q[8]=(Y=parseInt($.slice(19,23),16))>>>8,q[9]=Y&255,q[10]=(Y=parseInt($.slice(24,36),16))/1099511627776&255,q[11]=Y/4294967296&255,q[12]=Y>>>24&255,q[13]=Y>>>16&255,q[14]=Y>>>8&255,q[15]=Y&255,q}var y71=S71;DJ0.default=y71});var Ny=M((EJ0)=>{Object.defineProperty(EJ0,"__esModule",{value:!0});EJ0.default=f71;EJ0.URL=EJ0.DNS=void 0;var x71=AJ0(CG()),k71=AJ0(My());function AJ0($){return $&&$.__esModule?$:{default:$}}function u71($){$=unescape(encodeURIComponent($));let Y=[];for(let q=0;q<$.length;++q)Y.push($.charCodeAt(q));return Y}var BJ0="6ba7b810-9dad-11d1-80b4-00c04fd430c8";EJ0.DNS=BJ0;var TJ0="6ba7b811-9dad-11d1-80b4-00c04fd430c8";EJ0.URL=TJ0;function f71($,Y,q){function z(J,U,I,Q){if(typeof J==="string")J=u71(J);if(typeof U==="string")U=(0,k71.default)(U);if(U.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let K=new Uint8Array(16+J.length);if(K.set(U),K.set(J,U.length),K=q(K),K[6]=K[6]&15|Y,K[8]=K[8]&63|128,I){Q=Q||0;for(let G=0;G<16;++G)I[Q+G]=K[G];return I}return(0,x71.default)(K)}try{z.name=$}catch(J){}return z.DNS=BJ0,z.URL=TJ0,z}});var CJ0=M((_J0)=>{Object.defineProperty(_J0,"__esModule",{value:!0});_J0.default=void 0;var n71=c71(m("crypto"));function c71($){return $&&$.__esModule?$:{default:$}}function p71($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return n71.default.createHash("md5").update($).digest()}var d71=p71;_J0.default=d71});var SJ0=M((hJ0)=>{Object.defineProperty(hJ0,"__esModule",{value:!0});hJ0.default=void 0;var m71=vJ0(Ny()),l71=vJ0(CJ0());function vJ0($){return $&&$.__esModule?$:{default:$}}var o71=(0,m71.default)("v3",48,l71.default),r71=o71;hJ0.default=r71});var uJ0=M((xJ0)=>{Object.defineProperty(xJ0,"__esModule",{value:!0});xJ0.default=void 0;var s71=yJ0(Ly()),t71=yJ0(CG());function yJ0($){return $&&$.__esModule?$:{default:$}}function a71($,Y,q){$=$||{};let z=$.random||($.rng||s71.default)();if(z[6]=z[6]&15|64,z[8]=z[8]&63|128,Y){q=q||0;for(let J=0;J<16;++J)Y[q+J]=z[J];return Y}return(0,t71.default)(z)}var e71=a71;xJ0.default=e71});var iJ0=M((fJ0)=>{Object.defineProperty(fJ0,"__esModule",{value:!0});fJ0.default=void 0;var $21=Y21(m("crypto"));function Y21($){return $&&$.__esModule?$:{default:$}}function q21($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return $21.default.createHash("sha1").update($).digest()}var z21=q21;fJ0.default=z21});var dJ0=M((cJ0)=>{Object.defineProperty(cJ0,"__esModule",{value:!0});cJ0.default=void 0;var J21=nJ0(Ny()),U21=nJ0(iJ0());function nJ0($){return $&&$.__esModule?$:{default:$}}var I21=(0,J21.default)("v5",80,U21.default),Q21=I21;cJ0.default=Q21});var oJ0=M((mJ0)=>{Object.defineProperty(mJ0,"__esModule",{value:!0});mJ0.default=void 0;var K21="00000000-0000-0000-0000-000000000000";mJ0.default=K21});var tJ0=M((rJ0)=>{Object.defineProperty(rJ0,"__esModule",{value:!0});rJ0.default=void 0;var G21=H21(RG());function H21($){return $&&$.__esModule?$:{default:$}}function Z21($){if(!(0,G21.default)($))throw TypeError("Invalid UUID");return parseInt($.substr(14,1),16)}var W21=Z21;rJ0.default=W21});var aJ0=M((L5)=>{Object.defineProperty(L5,"__esModule",{value:!0});Object.defineProperty(L5,"v1",{enumerable:!0,get:function(){return X21.default}});Object.defineProperty(L5,"v3",{enumerable:!0,get:function(){return V21.default}});Object.defineProperty(L5,"v4",{enumerable:!0,get:function(){return L21.default}});Object.defineProperty(L5,"v5",{enumerable:!0,get:function(){return w21.default}});Object.defineProperty(L5,"NIL",{enumerable:!0,get:function(){return F21.default}});Object.defineProperty(L5,"version",{enumerable:!0,get:function(){return O21.default}});Object.defineProperty(L5,"validate",{enumerable:!0,get:function(){return M21.default}});Object.defineProperty(L5,"stringify",{enumerable:!0,get:function(){return N21.default}});Object.defineProperty(L5,"parse",{enumerable:!0,get:function(){return D21.default}});var X21=f9(NJ0()),V21=f9(SJ0()),L21=f9(uJ0()),w21=f9(dJ0()),F21=f9(oJ0()),O21=f9(tJ0()),M21=f9(RG()),N21=f9(CG()),D21=f9(My());function f9($){return $&&$.__esModule?$:{default:$}}});var YU0=M((Y64,$U0)=>{var P21=D0();class eJ0 extends P21{get tag(){return"xm:f"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}$U0.exports=eJ0});var Dy=M((q64,zU0)=>{var A21=d8(),B21=YU0();class qU0 extends A21{constructor(){super();this.map={"xm:f":this.fExtXform=new B21}}get tag(){return"x14:cfvo"}render($,Y){if($.openNode(this.tag,{type:Y.type}),Y.value!==void 0)this.fExtXform.render($,Y.value);$.closeNode()}createNewModel($){return{type:$.attributes.type}}onParserClose($,Y){switch($){case"xm:f":this.model.value=Y.model?parseFloat(Y.model):0;break}}}zU0.exports=qU0});var IU0=M((z64,UU0)=>{var I8=D0(),T21=d8(),cF=X7(),E21=Dy();class JU0 extends T21{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new E21,"x14:borderColor":this.borderColorXform=new cF("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new cF("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new cF("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new cF("x14:axisColor")}}static isExt($){return!$.gradient}get tag(){return"x14:dataBar"}render($,Y){$.openNode(this.tag,{minLength:I8.toIntAttribute(Y.minLength,0,!0),maxLength:I8.toIntAttribute(Y.maxLength,100,!0),border:I8.toBoolAttribute(Y.border,!1),gradient:I8.toBoolAttribute(Y.gradient,!0),negativeBarColorSameAsPositive:I8.toBoolAttribute(Y.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:I8.toBoolAttribute(Y.negativeBarBorderColorSameAsPositive,!0),axisPosition:I8.toAttribute(Y.axisPosition,"auto"),direction:I8.toAttribute(Y.direction,"leftToRight")}),Y.cfvo.forEach((q)=>{this.cfvoXform.render($,q)}),this.borderColorXform.render($,Y.borderColor),this.negativeBorderColorXform.render($,Y.negativeBorderColor),this.negativeFillColorXform.render($,Y.negativeFillColor),this.axisColorXform.render($,Y.axisColor),$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],minLength:I8.toIntValue($.minLength,0),maxLength:I8.toIntValue($.maxLength,100),border:I8.toBoolValue($.border,!1),gradient:I8.toBoolValue($.gradient,!0),negativeBarColorSameAsPositive:I8.toBoolValue($.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:I8.toBoolValue($.negativeBarBorderColorSameAsPositive,!0),axisPosition:I8.toStringValue($.axisPosition,"auto"),direction:I8.toStringValue($.direction,"leftToRight")}}onParserClose($,Y){let[,q]=$.split(":");switch(q){case"cfvo":this.model.cfvo.push(Y.model);break;default:this.model[q]=Y.model;break}}}UU0.exports=JU0});var HU0=M((J64,GU0)=>{var QU0=D0();class KU0 extends QU0{get tag(){return"x14:cfIcon"}render($,Y){$.leafNode(this.tag,{iconSet:Y.iconSet,iconId:Y.iconId})}parseOpen({attributes:$}){this.model={iconSet:$.iconSet,iconId:QU0.toIntValue($.iconId)}}parseClose($){return $!==this.tag}}GU0.exports=KU0});var XU0=M((U64,WU0)=>{var UY=D0(),j21=d8(),_21=Dy(),R21=HU0();class ZU0 extends j21{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new _21,"x14:cfIcon":this.cfIconXform=new R21}}get tag(){return"x14:iconSet"}render($,Y){if($.openNode(this.tag,{iconSet:UY.toStringAttribute(Y.iconSet),reverse:UY.toBoolAttribute(Y.reverse,!1),showValue:UY.toBoolAttribute(Y.showValue,!0),custom:UY.toBoolAttribute(Y.icons,!1)}),Y.cfvo.forEach((q)=>{this.cfvoXform.render($,q)}),Y.icons)Y.icons.forEach((q,z)=>{q.iconId=z,this.cfIconXform.render($,q)});$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],iconSet:UY.toStringValue($.iconSet,"3TrafficLights"),reverse:UY.toBoolValue($.reverse,!1),showValue:UY.toBoolValue($.showValue,!0)}}onParserClose($,Y){let[,q]=$.split(":");switch(q){case"cfvo":this.model.cfvo.push(Y.model);break;case"cfIcon":if(!this.model.icons)this.model.icons=[];this.model.icons.push(Y.model);break;default:this.model[q]=Y.model;break}}}WU0.exports=ZU0});var Py=M((I64,wU0)=>{var{v4:VU0}=aJ0(),C21=D0(),v21=d8(),LU0=IU0(),h21=XU0(),g21={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class pF extends v21{constructor(){super();this.map={"x14:dataBar":this.databarXform=new LU0,"x14:iconSet":this.iconSetXform=new h21}}get tag(){return"x14:cfRule"}static isExt($){if($.type==="dataBar")return LU0.isExt($);if($.type==="iconSet"){if($.custom||g21[$.iconSet])return!0}return!1}prepare($){if(pF.isExt($))$.x14Id=`{${VU0()}}`.toUpperCase()}render($,Y){if(!pF.isExt(Y))return;switch(Y.type){case"dataBar":this.renderDataBar($,Y);break;case"iconSet":this.renderIconSet($,Y);break}}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",id:Y.x14Id}),this.databarXform.render($,Y),$.closeNode()}renderIconSet($,Y){$.openNode(this.tag,{type:"iconSet",priority:Y.priority,id:Y.x14Id||`{${VU0()}}`}),this.iconSetXform.render($,Y),$.closeNode()}createNewModel({attributes:$}){return{type:$.type,x14Id:$.id,priority:C21.toIntValue($.priority)}}onParserClose($,Y){Object.assign(this.model,Y.model)}}wU0.exports=pF});var MU0=M((Q64,OU0)=>{var S21=D0();class FU0 extends S21{get tag(){return"xm:sqref"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}OU0.exports=FU0});var PU0=M((K64,DU0)=>{var y21=d8(),x21=MU0(),Ay=Py();class NU0 extends y21{constructor(){super();this.map={"xm:sqref":this.sqRef=new x21,"x14:cfRule":this.cfRule=new Ay}}get tag(){return"x14:conditionalFormatting"}prepare($,Y){$.rules.forEach((q)=>{this.cfRule.prepare(q,Y)})}render($,Y){if(!Y.rules.some(Ay.isExt))return;$.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),Y.rules.filter(Ay.isExt).forEach((q)=>this.cfRule.render($,q)),this.sqRef.render($,Y.ref),$.closeNode()}createNewModel(){return{rules:[]}}onParserClose($,Y){switch($){case"xm:sqref":this.model.ref=Y.model;break;case"x14:cfRule":this.model.rules.push(Y.model);break}}}DU0.exports=NU0});var TU0=M((G64,BU0)=>{var k21=d8(),u21=Py(),f21=PU0();class AU0 extends k21{constructor(){super();this.map={"x14:conditionalFormatting":this.cfXform=new f21}}get tag(){return"x14:conditionalFormattings"}hasContent($){if($.hasExtContent===void 0)$.hasExtContent=$.some((Y)=>Y.rules.some(u21.isExt));return $.hasExtContent}prepare($,Y){$.forEach((q)=>{this.cfXform.prepare(q,Y)})}render($,Y){if(this.hasContent(Y))$.openNode(this.tag),Y.forEach((q)=>this.cfXform.render($,q)),$.closeNode()}createNewModel(){return[]}onParserClose($,Y){this.model.push(Y.model)}}BU0.exports=AU0});var CU0=M((H64,RU0)=>{var EU0=d8(),b21=TU0();class jU0 extends EU0{constructor(){super();this.map={"x14:conditionalFormattings":this.conditionalFormattings=new b21}}get tag(){return"ext"}hasContent($){return this.conditionalFormattings.hasContent($.conditionalFormattings)}prepare($,Y){this.conditionalFormattings.prepare($.conditionalFormattings,Y)}render($,Y){$.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render($,Y.conditionalFormattings),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model[$]=Y.model}}class _U0 extends EU0{constructor(){super();this.map={ext:this.ext=new jU0}}get tag(){return"extLst"}prepare($,Y){this.ext.prepare($,Y)}hasContent($){return this.ext.hasContent($)}render($,Y){if(!this.hasContent(Y))return;$.openNode("extLst"),this.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}RU0.exports=_U0});var hU0=M((Z64,vU0)=>{var i21=l4(),n21=k4(),c21=c6(),b9=L7(),p21=_q0(),d21=D0(),_J=W7(),m21=rS(),l21=tS(),o21=fq0(),r21=aS(),s21=pq0(),t21=Yy(),a21=qy(),e21=zy(),$Y1=Jy(),YY1=Uy(),qY1=Iy(),zY1=Qy(),JY1=Xz0(),UY1=Ky(),IY1=Gy(),QY1=Nz0(),KY1=Az0(),GY1=Hy(),HY1=Zy(),ZY1=Vy(),WY1=CU0(),XY1=($,Y)=>{Object.keys(Y).forEach((q)=>{let z=$[q],J=Y[q];if(z===void 0&&J!==void 0)$[q]=J})},VY1=($,Y)=>{if(!Y||!Y.length)return $;if(!$||!$.length)return Y;let q={},z={};return $.forEach((J)=>{q[J.ref]=J,J.rules.forEach((U)=>{let{x14Id:I}=U;if(I)z[I]=U})}),Y.forEach((J)=>{J.rules.forEach((U)=>{let I=z[U.x14Id];if(I)XY1(I,U);else if(q[J.ref])q[J.ref].rules.push(U);else $.push({ref:J.ref,rules:[U]})})}),$};class dF extends d21{constructor($){super();let{maxRows:Y,maxCols:q,ignoreNodes:z}=$||{};this.ignoreNodes=z||[],this.map={sheetPr:new a21,dimension:new o21,sheetViews:new _J({tag:"sheetViews",count:!1,childXform:new $Y1}),sheetFormatPr:new e21,cols:new _J({tag:"cols",count:!1,childXform:new l21}),sheetData:new _J({tag:"sheetData",count:!1,empty:!0,childXform:new m21({maxItems:q}),maxItems:Y}),autoFilter:new UY1,mergeCells:new _J({tag:"mergeCells",count:!0,childXform:new s21}),rowBreaks:new GY1,hyperlinks:new _J({tag:"hyperlinks",count:!1,childXform:new r21}),pageMargins:new qY1,dataValidations:new t21,pageSetup:new zY1,headerFooter:new HY1,printOptions:new JY1,picture:new IY1,drawing:new QY1,sheetProtection:new YY1,tableParts:new _J({tag:"tableParts",count:!0,childXform:new KY1}),conditionalFormatting:new ZY1,extLst:new WY1}}prepare($,Y){Y.merges=new p21,$.hyperlinks=Y.hyperlinks=[],$.comments=Y.comments=[],Y.formulae={},Y.siFormulae=0,this.map.cols.prepare($.cols,Y),this.map.sheetData.prepare($.rows,Y),this.map.conditionalFormatting.prepare($.conditionalFormattings,Y),$.mergeCells=Y.merges.mergeCells;let q=$.rels=[];function z(I){return`rId${I.length+1}`}if($.hyperlinks.forEach((I)=>{let Q=z(q);I.rId=Q,q.push({Id:Q,Type:b9.Hyperlink,Target:I.target,TargetMode:"External"})}),$.comments.length>0){let I={Id:z(q),Type:b9.Comments,Target:`../comments${$.id}.xml`};q.push(I);let Q={Id:z(q),Type:b9.VmlDrawing,Target:`../drawings/vmlDrawing${$.id}.vml`};q.push(Q),$.comments.forEach((K)=>{K.refAddress=n21.decodeAddress(K.ref)}),Y.commentRefs.push({commentName:`comments${$.id}`,vmlDrawing:`vmlDrawing${$.id}`})}let J=[],U;$.media.forEach((I)=>{if(I.type==="background"){let Q=z(q);U=Y.media[I.imageId],q.push({Id:Q,Type:b9.Image,Target:`../media/${U.name}.${U.extension}`}),$.background={rId:Q},$.image=Y.media[I.imageId]}else if(I.type==="image"){let{drawing:Q}=$;if(U=Y.media[I.imageId],!Q)Q=$.drawing={rId:z(q),name:`drawing${++Y.drawingsCount}`,anchors:[],rels:[]},Y.drawings.push(Q),q.push({Id:Q.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${Q.name}.xml`});let K=this.preImageId===I.imageId?J[I.imageId]:J[Q.rels.length];if(!K)K=z(Q.rels),J[Q.rels.length]=K,Q.rels.push({Id:K,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${U.name}.${U.extension}`});let G={picture:{rId:K},range:I.range};if(I.hyperlinks&&I.hyperlinks.hyperlink){let H=z(Q.rels);J[Q.rels.length]=H,G.picture.hyperlinks={tooltip:I.hyperlinks.tooltip,rId:H},Q.rels.push({Id:H,Type:b9.Hyperlink,Target:I.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=I.imageId,Q.anchors.push(G)}}),$.tables.forEach((I)=>{let Q=z(q);I.rId=Q,q.push({Id:Q,Type:b9.Table,Target:`../tables/${I.target}`}),I.columns.forEach((K)=>{let{style:G}=K;if(G)K.dxfId=Y.styles.addDxfStyle(G)})}),this.map.extLst.prepare($,Y)}render($,Y){$.openXml(c21.StdDocAttributes),$.openNode("worksheet",dF.WORKSHEET_ATTRIBUTES);let q=Y.properties?{defaultRowHeight:Y.properties.defaultRowHeight,dyDescent:Y.properties.dyDescent,outlineLevelCol:Y.properties.outlineLevelCol,outlineLevelRow:Y.properties.outlineLevelRow}:void 0;if(Y.properties&&Y.properties.defaultColWidth)q.defaultColWidth=Y.properties.defaultColWidth;let z={outlineProperties:Y.properties&&Y.properties.outlineProperties,tabColor:Y.properties&&Y.properties.tabColor,pageSetup:Y.pageSetup&&Y.pageSetup.fitToPage?{fitToPage:Y.pageSetup.fitToPage}:void 0},J=Y.pageSetup&&Y.pageSetup.margins,U={showRowColHeaders:Y.pageSetup&&Y.pageSetup.showRowColHeaders,showGridLines:Y.pageSetup&&Y.pageSetup.showGridLines,horizontalCentered:Y.pageSetup&&Y.pageSetup.horizontalCentered,verticalCentered:Y.pageSetup&&Y.pageSetup.verticalCentered},I=Y.sheetProtection;if(this.map.sheetPr.render($,z),this.map.dimension.render($,Y.dimensions),this.map.sheetViews.render($,Y.views),this.map.sheetFormatPr.render($,q),this.map.cols.render($,Y.cols),this.map.sheetData.render($,Y.rows),this.map.sheetProtection.render($,I),this.map.autoFilter.render($,Y.autoFilter),this.map.mergeCells.render($,Y.mergeCells),this.map.conditionalFormatting.render($,Y.conditionalFormattings),this.map.dataValidations.render($,Y.dataValidations),this.map.hyperlinks.render($,Y.hyperlinks),this.map.printOptions.render($,U),this.map.pageMargins.render($,J),this.map.pageSetup.render($,Y.pageSetup),this.map.headerFooter.render($,Y.headerFooter),this.map.rowBreaks.render($,Y.rowBreaks),this.map.drawing.render($,Y.drawing),this.map.picture.render($,Y.background),this.map.tableParts.render($,Y.tables),this.map.extLst.render($,Y),Y.rels)Y.rels.forEach((Q)=>{if(Q.Type===b9.VmlDrawing)$.leafNode("legacyDrawing",{"r:id":Q.Id})});$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="worksheet")return i21.each(this.map,(Y)=>{Y.reset()}),!0;if(this.map[$.name]&&!this.ignoreNodes.includes($.name))this.parser=this.map[$.name],this.parser.parseOpen($);return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"worksheet":{let Y=this.map.sheetFormatPr.model||{};if(this.map.sheetPr.model&&this.map.sheetPr.model.tabColor)Y.tabColor=this.map.sheetPr.model.tabColor;if(this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties)Y.outlineProperties=this.map.sheetPr.model.outlineProperties;let q={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},z=Object.assign(q,this.map.pageSetup.model,this.map.printOptions.model),J=VY1(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);if(this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:Y,views:this.map.sheetViews.model,pageSetup:z,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:J},this.map.autoFilter.model)this.model.autoFilter=this.map.autoFilter.model;if(this.map.sheetProtection.model)this.model.sheetProtection=this.map.sheetProtection.model;return!1}default:return!0}}reconcile($,Y){let q=($.relationships||[]).reduce((J,U)=>{if(J[U.Id]=U,U.Type===b9.Comments)$.comments=Y.comments[U.Target].comments;if(U.Type===b9.VmlDrawing&&$.comments&&$.comments.length){let I=Y.vmlDrawings[U.Target].comments;$.comments.forEach((Q,K)=>{Q.note=Object.assign({},Q.note,I[K])})}return J},{});if(Y.commentsMap=($.comments||[]).reduce((J,U)=>{if(U.ref)J[U.ref]=U;return J},{}),Y.hyperlinkMap=($.hyperlinks||[]).reduce((J,U)=>{if(U.rId)J[U.address]=q[U.rId].Target;return J},{}),Y.formulae={},$.rows=$.rows&&$.rows.filter(Boolean)||[],$.rows.forEach((J)=>{J.cells=J.cells&&J.cells.filter(Boolean)||[]}),this.map.cols.reconcile($.cols,Y),this.map.sheetData.reconcile($.rows,Y),this.map.conditionalFormatting.reconcile($.conditionalFormattings,Y),$.media=[],$.drawing){let U=q[$.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(U){let I=U[1];Y.drawings[I].anchors.forEach((K)=>{if(K.medium){let G={type:"image",imageId:K.medium.index,range:K.range,hyperlinks:K.picture.hyperlinks};$.media.push(G)}})}}let z=$.background&&q[$.background.rId];if(z){let J=z.Target.split("/media/")[1],U=Y.mediaIndex&&Y.mediaIndex[J];if(U!==void 0)$.media.push({type:"background",imageId:U})}$.tables=($.tables||[]).map((J)=>{let U=q[J.rId];return Y.tables[U.Target]}),delete $.relationships,delete $.hyperlinks,delete $.comments}}dF.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"};vU0.exports=dF});var By=M((W64,SU0)=>{var LY1=D0();class gU0 extends LY1{parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={range:{editAs:$.attributes.editAs||"oneCell"}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}reconcilePicture($,Y){if($&&$.rId){let z=Y.rels[$.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(z){let J=z[1],U=Y.mediaIndex[J];return Y.media[U]}}return}}SU0.exports=gU0});var Ty=M((X64,xU0)=>{var wY1=D0(),mF=PF();class yU0 extends wY1{constructor($){super();this.tag=$.tag,this.map={"xdr:col":new mF({tag:"xdr:col",zero:!0}),"xdr:colOff":new mF({tag:"xdr:colOff",zero:!0}),"xdr:row":new mF({tag:"xdr:row",zero:!0}),"xdr:rowOff":new mF({tag:"xdr:rowOff",zero:!0})}}render($,Y){$.openNode(this.tag),this.map["xdr:col"].render($,Y.nativeCol),this.map["xdr:colOff"].render($,Y.nativeColOff),this.map["xdr:row"].render($,Y.nativeRow),this.map["xdr:rowOff"].render($,Y.nativeRowOff),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}xU0.exports=yU0});var fU0=M((V64,uU0)=>{var FY1=D0();class kU0 extends FY1{get tag(){return"a:blip"}render($,Y){$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":Y.rId,cstate:"print"})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}uU0.exports=kU0});var nU0=M((L64,iU0)=>{var OY1=D0(),MY1=fU0();class bU0 extends OY1{constructor(){super();this.map={"a:blip":new MY1}}get tag(){return"xdr:blipFill"}render($,Y){$.openNode(this.tag),this.map["a:blip"].render($,Y),$.openNode("a:stretch"),$.leafNode("a:fillRect"),$.closeNode(),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}iU0.exports=bU0});var dU0=M((w64,pU0)=>{var NY1=D0();class cU0 extends NY1{get tag(){return"a:hlinkClick"}render($,Y){if(!(Y.hyperlinks&&Y.hyperlinks.rId))return;$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":Y.hyperlinks.rId,tooltip:Y.hyperlinks.tooltip})}parseOpen($){switch($.name){case this.tag:return this.model={hyperlinks:{rId:$.attributes["r:id"],tooltip:$.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}pU0.exports=cU0});var oU0=M((F64,lU0)=>{var DY1=D0();class mU0 extends DY1{get tag(){return"a:extLst"}render($){$.openNode(this.tag),$.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),$.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),$.closeNode(),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}lU0.exports=mU0});var tU0=M((O64,sU0)=>{var PY1=D0(),AY1=dU0(),BY1=oU0();class rU0 extends PY1{constructor(){super();this.map={"a:hlinkClick":new AY1,"a:extLst":new BY1}}get tag(){return"xdr:cNvPr"}render($,Y){$.openNode(this.tag,{id:Y.index,name:`Picture ${Y.index}`}),this.map["a:hlinkClick"].render($,Y),this.map["a:extLst"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}sU0.exports=rU0});var $I0=M((M64,eU0)=>{var TY1=D0();class aU0 extends TY1{get tag(){return"xdr:cNvPicPr"}render($){$.openNode(this.tag),$.leafNode("a:picLocks",{noChangeAspect:"1"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}eU0.exports=aU0});var zI0=M((N64,qI0)=>{var EY1=D0(),jY1=tU0(),_Y1=$I0();class YI0 extends EY1{constructor(){super();this.map={"xdr:cNvPr":new jY1,"xdr:cNvPicPr":new _Y1}}get tag(){return"xdr:nvPicPr"}render($,Y){$.openNode(this.tag),this.map["xdr:cNvPr"].render($,Y),this.map["xdr:cNvPicPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}qI0.exports=YI0});var UI0=M((D64,JI0)=>{JI0.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}});var Ey=M((P64,QI0)=>{var RY1=D0(),CY1=DJ(),vY1=nU0(),hY1=zI0(),gY1=UI0();class II0 extends RY1{constructor(){super();this.map={"xdr:nvPicPr":new hY1,"xdr:blipFill":new vY1,"xdr:spPr":new CY1(gY1)}}get tag(){return"xdr:pic"}prepare($,Y){$.index=Y.index+1}render($,Y){$.openNode(this.tag),this.map["xdr:nvPicPr"].render($,Y),this.map["xdr:blipFill"].render($,Y),this.map["xdr:spPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.mergeModel(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}}QI0.exports=II0});var ZI0=M((A64,HI0)=>{var SY1=By(),yY1=DJ(),KI0=Ty(),xY1=Ey();class GI0 extends SY1{constructor(){super();this.map={"xdr:from":new KI0({tag:"xdr:from"}),"xdr:to":new KI0({tag:"xdr:to"}),"xdr:pic":new xY1,"xdr:clientData":new yY1({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:to"].render($,Y.range.br),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}HI0.exports=GI0});var VI0=M((B64,XI0)=>{var kY1=D0();class WI0 extends kY1{constructor($){super();this.tag=$.tag,this.map={}}render($,Y){$.openNode(this.tag);let q=Math.floor(Y.width*9525),z=Math.floor(Y.height*9525);$.addAttribute("cx",q),$.addAttribute("cy",z),$.closeNode()}parseOpen($){if($.name===this.tag)return this.model={width:parseInt($.attributes.cx||"0",10)/9525,height:parseInt($.attributes.cy||"0",10)/9525},!0;return!1}parseText(){}parseClose(){return!1}}XI0.exports=WI0});var FI0=M((T64,wI0)=>{var uY1=By(),fY1=DJ(),bY1=Ty(),iY1=VI0(),nY1=Ey();class LI0 extends uY1{constructor(){super();this.map={"xdr:from":new bY1({tag:"xdr:from"}),"xdr:ext":new iY1({tag:"xdr:ext"}),"xdr:pic":new nY1,"xdr:clientData":new fY1({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:ext"].render($,Y.range.ext),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}wI0.exports=LI0});var MI0=M((E64,OI0)=>{var cY1=k4(),pY1=c6(),dY1=D0(),mY1=ZI0(),lY1=FI0();function oY1($){return(typeof $.range==="string"?cY1.decode($.range):$.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}class lF extends dY1{constructor(){super();this.map={"xdr:twoCellAnchor":new mY1,"xdr:oneCellAnchor":new lY1}}prepare($){$.anchors.forEach((Y,q)=>{Y.anchorType=oY1(Y),this.map[Y.anchorType].prepare(Y,{index:q})})}get tag(){return"xdr:wsDr"}render($,Y){$.openXml(pY1.StdDocAttributes),$.openNode(this.tag,lF.DRAWING_ATTRIBUTES),Y.anchors.forEach((q)=>{this.map[q.anchorType].render($,q)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.anchors.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((q)=>{if(q.br)this.map["xdr:twoCellAnchor"].reconcile(q,Y);else this.map["xdr:oneCellAnchor"].reconcile(q,Y)})}}lF.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"};OI0.exports=lF});var PI0=M((j64,DI0)=>{var rY1=D0();class NI0 extends rY1{get tag(){return"customFilter"}render($,Y){$.leafNode(this.tag,{val:Y.val,operator:Y.operator})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val,operator:$.attributes.operator},!0;return!1}parseText(){}parseClose(){return!1}}DI0.exports=NI0});var TI0=M((_64,BI0)=>{var sY1=D0();class AI0 extends sY1{get tag(){return"filter"}render($,Y){$.leafNode(this.tag,{val:Y.val})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val},!0;return!1}parseText(){}parseClose(){return!1}}BI0.exports=AI0});var RI0=M((R64,_I0)=>{var tY1=D0(),EI0=W7(),aY1=PI0(),eY1=TI0();class jI0 extends tY1{constructor(){super();this.map={customFilters:new EI0({tag:"customFilters",count:!1,empty:!0,childXform:new aY1}),filters:new EI0({tag:"filters",count:!1,empty:!0,childXform:new eY1})}}get tag(){return"filterColumn"}prepare($,Y){$.colId=Y.index.toString()}render($,Y){if(Y.customFilters)return $.openNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),this.map.customFilters.render($,Y.customFilters),$.closeNode(),!0;return $.leafNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{attributes:Y}=$;switch($.name){case this.tag:return this.model={filterButton:Y.hiddenButton==="0"},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}_I0.exports=jI0});var hI0=M((C64,vI0)=>{var $q1=D0(),Yq1=RI0();class CI0 extends $q1{constructor(){super();this.map={filterColumn:new Yq1}}get tag(){return"autoFilter"}prepare($){$.columns.forEach((Y,q)=>{this.map.filterColumn.prepare(Y,{index:q})})}render($,Y){return $.openNode(this.tag,{ref:Y.autoFilterRef}),Y.columns.forEach((q)=>{this.map.filterColumn.render($,q)}),$.closeNode(),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model={autoFilterRef:$.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.columns.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}vI0.exports=CI0});var yI0=M((v64,SI0)=>{var qq1=D0();class gI0 extends qq1{get tag(){return"tableColumn"}prepare($,Y){$.id=Y.index+1}render($,Y){return $.leafNode(this.tag,{id:Y.id.toString(),name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}SI0.exports=gI0});var uI0=M((h64,kI0)=>{var zq1=D0();class xI0 extends zq1{get tag(){return"tableStyleInfo"}render($,Y){return $.leafNode(this.tag,{name:Y.theme?Y.theme:void 0,showFirstColumn:Y.showFirstColumn?"1":"0",showLastColumn:Y.showLastColumn?"1":"0",showRowStripes:Y.showRowStripes?"1":"0",showColumnStripes:Y.showColumnStripes?"1":"0"}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={theme:Y.name?Y.name:null,showFirstColumn:Y.showFirstColumn==="1",showLastColumn:Y.showLastColumn==="1",showRowStripes:Y.showRowStripes==="1",showColumnStripes:Y.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}kI0.exports=xI0});var bI0=M((g64,fI0)=>{var Jq1=c6(),Uq1=D0(),Iq1=W7(),Qq1=hI0(),Kq1=yI0(),Gq1=uI0();class oF extends Uq1{constructor(){super();this.map={autoFilter:new Qq1,tableColumns:new Iq1({tag:"tableColumns",count:!0,empty:!0,childXform:new Kq1}),tableStyleInfo:new Gq1}}prepare($,Y){this.map.autoFilter.prepare($),this.map.tableColumns.prepare($.columns,Y)}get tag(){return"table"}render($,Y){$.openXml(Jq1.StdDocAttributes),$.openNode(this.tag,{...oF.TABLE_ATTRIBUTES,id:Y.id,name:Y.name,displayName:Y.displayName||Y.name,ref:Y.tableRef,totalsRowCount:Y.totalsRow?"1":void 0,totalsRowShown:Y.totalsRow?void 0:"1",headerRowCount:Y.headerRow?"1":"0"}),this.map.autoFilter.render($,Y),this.map.tableColumns.render($,Y.columns),this.map.tableStyleInfo.render($,Y.style),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{name:Y,attributes:q}=$;switch(Y){case this.tag:this.reset(),this.model={name:q.name,displayName:q.displayName||q.name,tableRef:q.ref,totalsRow:q.totalsRowCount==="1",headerRow:q.headerRowCount==="1"};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:if(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model)this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((Y,q)=>{this.model.columns[q].filterButton=Y.filterButton});return this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile($,Y){$.columns.forEach((q)=>{if(q.dxfId!==void 0)q.style=Y.styles.getDxfStyle(q.dxfId)})}}oF.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"};fI0.exports=oF});var jy=M((S64,iI0)=>{var Hq1=jG(),Zq1=U8(),Wq1=D0(),Xq1=iI0.exports=function($){this.model=$};Zq1.inherits(Xq1,Wq1,{get tag(){return"r"},get richTextXform(){if(!this._richTextXform)this._richTextXform=new Hq1;return this._richTextXform},render($,Y){if(Y=Y||this.model,$.openNode("comment",{ref:Y.ref,authorId:0}),$.openNode("text"),Y&&Y.note&&Y.note.texts)Y.note.texts.forEach((q)=>{this.richTextXform.render($,q)});$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"comment":return this.model={type:"note",note:{texts:[]},...$.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var pI0=M((y64,cI0)=>{var Vq1=c6(),Lq1=U8(),wq1=D0(),Fq1=jy(),nI0=cI0.exports=function(){this.map={comment:new Fq1}};Lq1.inherits(nI0,wq1,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render($,Y){Y=Y||this.model,$.openXml(Vq1.StdDocAttributes),$.openNode("comments",nI0.COMMENTS_ATTRIBUTES),$.openNode("authors"),$.leafNode("author",null,"Author"),$.closeNode(),$.openNode("commentList"),Y.comments.forEach((q)=>{this.map.comment.render($,q)}),$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var lI0=M((x64,mI0)=>{var Oq1=D0();class dI0 extends Oq1{get tag(){return"v:textbox"}conversionUnit($,Y,q){return`${parseFloat($)*Y.toFixed(2)}${q}`}reverseConversionUnit($){return($||"").split(",").map((Y)=>{return Number(parseFloat(this.conversionUnit(parseFloat(Y),0.1,"")).toFixed(2))})}render($,Y){let q={style:"mso-direction-alt:auto"};if(Y&&Y.note){let{inset:z}=Y.note&&Y.note.margins;if(Array.isArray(z))z=z.map((J)=>{return this.conversionUnit(J,10,"mm")}).join(",");if(z)q.inset=z}$.openNode("v:textbox",q),$.leafNode("div",{style:"text-align:left"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return this.model={inset:this.reverseConversionUnit($.attributes.inset)},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}mI0.exports=dI0});var sI0=M((k64,rI0)=>{var Mq1=D0();class oI0 extends Mq1{get tag(){return"x:Anchor"}getAnchorRect($){let Y=Math.floor($.left),q=Math.floor(($.left-Y)*68),z=Math.floor($.top),J=Math.floor(($.top-z)*18),U=Math.floor($.right),I=Math.floor(($.right-U)*68),Q=Math.floor($.bottom),K=Math.floor(($.bottom-Q)*18);return[Y,q,z,J,U,I,Q,K]}getDefaultRect($){let Y=$.col,q=6,z=Math.max($.row-2,0),J=14,U=Y+2,I=2,Q=z+4,K=16;return[Y,6,z,14,U,2,Q,16]}render($,Y){let q=Y.anchor?this.getAnchorRect(Y.anchor):this.getDefaultRect(Y.refAddress);$.leafNode("x:Anchor",null,q.join(", "))}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}rI0.exports=oI0});var eI0=M((u64,aI0)=>{var Nq1=D0();class tI0 extends Nq1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}aI0.exports=tI0});var qQ0=M((f64,YQ0)=>{var Dq1=D0();class $Q0 extends Dq1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y,q){if(Y===q[2])$.leafNode(this.tag);else if(this.tag==="x:SizeWithCells"&&Y===q[1])$.leafNode(this.tag)}parseOpen($){switch($.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}YQ0.exports=$Q0});var QQ0=M((b64,IQ0)=>{var Pq1=D0(),Aq1=sI0(),zQ0=eI0(),JQ0=qQ0(),_y=["twoCells","oneCells","absolute"];class UQ0 extends Pq1{constructor(){super();this.map={"x:Anchor":new Aq1,"x:Locked":new zQ0({tag:"x:Locked"}),"x:LockText":new zQ0({tag:"x:LockText"}),"x:SizeWithCells":new JQ0({tag:"x:SizeWithCells"}),"x:MoveWithCells":new JQ0({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render($,Y){let{protection:q,editAs:z}=Y.note;$.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render($,z,_y),this.map["x:SizeWithCells"].render($,z,_y),this.map["x:Anchor"].render($,Y),this.map["x:Locked"].render($,q.locked),$.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render($,q.lockText),$.leafNode("x:Row",null,Y.refAddress.row-1),$.leafNode("x:Column",null,Y.refAddress.col-1),$.closeNode()}parseOpen($){switch($.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let $=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),Y=Object.keys($).length;this.model.editAs=_y[Y],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}IQ0.exports=UQ0});var Ry=M((i64,KQ0)=>{var Bq1=D0(),Tq1=lI0(),Eq1=QQ0();class rF extends Bq1{constructor(){super();this.map={"v:textbox":new Tq1,"x:ClientData":new Eq1}}get tag(){return"v:shape"}render($,Y,q){$.openNode("v:shape",rF.V_SHAPE_ATTRIBUTES(Y,q)),$.leafNode("v:fill",{color2:"infoBackground [80]"}),$.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),$.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render($,Y),this.map["x:ClientData"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={margins:{insetmode:$.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}rF.V_SHAPE_ATTRIBUTES=($,Y)=>({id:`_x0000_s${1025+Y}`,type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":$.note.margins&&$.note.margins.insetmode});KQ0.exports=rF});var HQ0=M((n64,GQ0)=>{var jq1=c6(),_q1=D0(),Rq1=Ry();class sF extends _q1{constructor(){super();this.map={"v:shape":new Rq1}}get tag(){return"xml"}render($,Y){$.openXml(jq1.StdDocAttributes),$.openNode(this.tag,sF.DRAWING_ATTRIBUTES),$.openNode("o:shapelayout",{"v:ext":"edit"}),$.leafNode("o:idmap",{"v:ext":"edit",data:1}),$.closeNode(),$.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),$.leafNode("v:stroke",{joinstyle:"miter"}),$.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),$.closeNode(),Y.comments.forEach((q,z)=>{this.map["v:shape"].render($,q,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={comments:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.comments.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((q)=>{if(q.br)this.map["xdr:twoCellAnchor"].reconcile(q,Y);else this.map["xdr:oneCellAnchor"].reconcile(q,Y)})}}sF.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"};GQ0.exports=sF});var Cy=M((c64,ZQ0)=>{ZQ0.exports=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`});var uy=M((d64,wQ0)=>{var ky=m("fs"),Cq1=yg(),{PassThrough:vy}=P8(),vq1=s70(),hy=NG(),hq1=U8(),tF=c6(),{bufferToString:p64}=GS(),gy=vF(),WQ0=nS(),Sy=cS(),IY=yF(),gq1=pS(),XQ0=dS(),aF=kF(),eF=hU0(),yy=MI0(),xy=bI0(),VQ0=pI0(),LQ0=HQ0(),Sq1=Cy();function yq1($,Y){return new Promise((q,z)=>{ky.readFile($,Y,(J,U)=>{if(J)z(J);else q(U)})})}class l5{constructor($){this.workbook=$}async readFile($,Y){if(!await hq1.fs.exists($))throw Error(`File not found: ${$}`);let q=ky.createReadStream($);try{let z=await this.read(q,Y);return q.close(),z}catch(z){throw q.close(),z}}parseRels($){return new IY().parseStream($)}parseWorkbook($){return new aF().parseStream($)}parseSharedStrings($){return new Sy().parseStream($)}reconcile($,Y){let q=new aF,z=new eF(Y),J=new yy,U=new xy;q.reconcile($);let I={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((G)=>{let H=$.drawings[G],Z=$.drawingRels[G];if(Z)I.rels=Z.reduce((V,X)=>{return V[X.Id]=X,V},{}),(H.anchors||[]).forEach((V)=>{let X=V.picture&&V.picture.hyperlinks;if(X&&I.rels[X.rId])X.hyperlink=I.rels[X.rId].Target,delete X.rId}),J.reconcile(H,I)});let Q={styles:$.styles};Object.values($.tables).forEach((G)=>{U.reconcile(G,Q)});let K={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((G)=>{G.relationships=$.worksheetRels[G.sheetNo],z.reconcile(G,K)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,Y,q,z,J){let I=await new eF(z).parseStream($);I.sheetNo=q,Y.worksheetHash[J]=I,Y.worksheets.push(I)}async _processCommentEntry($,Y,q){let J=await new VQ0().parseStream($);Y.comments[`../${q}.xml`]=J}async _processTableEntry($,Y,q){let J=await new xy().parseStream($);Y.tables[`../tables/${q}.xml`]=J}async _processWorksheetRelsEntry($,Y,q){let J=await new IY().parseStream($);Y.worksheetRels[q]=J}async _processMediaEntry($,Y,q){let z=q.lastIndexOf(".");if(z>=1){let J=q.substr(z+1),U=q.substr(0,z);await new Promise((I,Q)=>{let K=new hy;K.on("finish",()=>{Y.mediaIndex[q]=Y.media.length,Y.mediaIndex[U]=Y.media.length;let G={type:"image",name:U,extension:J,buffer:K.toBuffer()};Y.media.push(G),I()}),$.on("error",(G)=>{Q(G)}),$.pipe(K)})}}async _processDrawingEntry($,Y,q){let J=await new yy().parseStream($);Y.drawings[q]=J}async _processDrawingRelsEntry($,Y,q){let J=await new IY().parseStream($);Y.drawingRels[q]=J}async _processVmlDrawingEntry($,Y,q){let J=await new LQ0().parseStream($);Y.vmlDrawings[`../drawings/${q}.vml`]=J}async _processThemeEntry($,Y,q){await new Promise((z,J)=>{let U=new hy;$.on("error",J),U.on("error",J),U.on("finish",()=>{Y.themes[q]=U.read().toString(),z()}),$.pipe(U)})}createInputStream(){throw Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read($,Y){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new vy);let q=[];for await(let z of $)q.push(z);return this.load(Buffer.concat(q),Y)}async load($,Y){let q;if(Y&&Y.base64)q=Buffer.from($.toString(),"base64");else q=$;let z={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},J=await Cq1.loadAsync(q);for(let U of Object.values(J.files))if(!U.dir){let I=U.name;if(I[0]==="/")I=I.substr(1);let Q;if(I.match(/xl\/media\//)||I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))Q=new vy,Q.write(await U.async("nodebuffer"));else{Q=new vy({writableObjectMode:!0,readableObjectMode:!0});let K;K=await U.async("string");let G=16384;for(let H=0;H<K.length;H+=G)Q.write(K.substring(H,H+G))}switch(Q.end(),I){case"_rels/.rels":z.globalRels=await this.parseRels(Q);break;case"xl/workbook.xml":{let K=await this.parseWorkbook(Q);z.sheets=K.sheets,z.definedNames=K.definedNames,z.views=K.views,z.properties=K.properties,z.calcProperties=K.calcProperties;break}case"xl/_rels/workbook.xml.rels":z.workbookRels=await this.parseRels(Q);break;case"xl/sharedStrings.xml":z.sharedStrings=new Sy,await z.sharedStrings.parseStream(Q);break;case"xl/styles.xml":z.styles=new gy,await z.styles.parseStream(Q);break;case"docProps/app.xml":{let G=await new XQ0().parseStream(Q);z.company=G.company,z.manager=G.manager;break}case"docProps/core.xml":{let G=await new WQ0().parseStream(Q);Object.assign(z,G);break}default:{let K=I.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(K){await this._processWorksheetEntry(Q,z,K[1],Y,I);break}if(K=I.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),K){await this._processWorksheetRelsEntry(Q,z,K[1]);break}if(K=I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),K){await this._processThemeEntry(Q,z,K[1]);break}if(K=I.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),K){await this._processMediaEntry(Q,z,K[1]);break}if(K=I.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),K){await this._processDrawingEntry(Q,z,K[1]);break}if(K=I.match(/xl\/(comments\d+)[.]xml/),K){await this._processCommentEntry(Q,z,K[1]);break}if(K=I.match(/xl\/tables\/(table\d+)[.]xml/),K){await this._processTableEntry(Q,z,K[1]);break}if(K=I.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),K){await this._processDrawingRelsEntry(Q,z,K[1]);break}if(K=I.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),K){await this._processVmlDrawingEntry(Q,z,K[1]);break}}}}return this.reconcile(z,Y),this.workbook.model=z,this.workbook}async addMedia($,Y){await Promise.all(Y.media.map(async(q)=>{if(q.type==="image"){let z=`xl/media/${q.name}.${q.extension}`;if(q.filename){let J=await yq1(q.filename);return $.append(J,{name:z})}if(q.buffer)return $.append(q.buffer,{name:z});if(q.base64){let J=q.base64,U=J.substring(J.indexOf(",")+1);return $.append(U,{name:z,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,Y){let q=new yy,z=new IY;Y.worksheets.forEach((J)=>{let{drawing:U}=J;if(U){q.prepare(U,{});let I=q.toXml(U);$.append(I,{name:`xl/drawings/${U.name}.xml`}),I=z.toXml(U.rels),$.append(I,{name:`xl/drawings/_rels/${U.name}.xml.rels`})}})}addTables($,Y){let q=new xy;Y.worksheets.forEach((z)=>{let{tables:J}=z;J.forEach((U)=>{q.prepare(U,{});let I=q.toXml(U);$.append(I,{name:`xl/tables/${U.target}`})})})}async addContentTypes($,Y){let z=new gq1().toXml(Y);$.append(z,{name:"[Content_Types].xml"})}async addApp($,Y){let z=new XQ0().toXml(Y);$.append(z,{name:"docProps/app.xml"})}async addCore($,Y){let q=new WQ0;$.append(q.toXml(Y),{name:"docProps/core.xml"})}async addThemes($,Y){let q=Y.themes||{theme1:Sq1};Object.keys(q).forEach((z)=>{let J=q[z],U=`xl/theme/${z}.xml`;$.append(J,{name:U})})}async addOfficeRels($){let q=new IY().toXml([{Id:"rId1",Type:l5.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:l5.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:l5.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(q,{name:"_rels/.rels"})}async addWorkbookRels($,Y){let q=1,z=[{Id:`rId${q++}`,Type:l5.RelType.Styles,Target:"styles.xml"},{Id:`rId${q++}`,Type:l5.RelType.Theme,Target:"theme/theme1.xml"}];if(Y.sharedStrings.count)z.push({Id:`rId${q++}`,Type:l5.RelType.SharedStrings,Target:"sharedStrings.xml"});Y.worksheets.forEach((I)=>{I.rId=`rId${q++}`,z.push({Id:I.rId,Type:l5.RelType.Worksheet,Target:`worksheets/sheet${I.id}.xml`})});let U=new IY().toXml(z);$.append(U,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,Y){if(Y.sharedStrings&&Y.sharedStrings.count)$.append(Y.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,Y){let{xml:q}=Y.styles;if(q)$.append(q,{name:"xl/styles.xml"})}async addWorkbook($,Y){let q=new aF;$.append(q.toXml(Y),{name:"xl/workbook.xml"})}async addWorksheets($,Y){let q=new eF,z=new IY,J=new VQ0,U=new LQ0;Y.worksheets.forEach((I)=>{let Q=new tF;if(q.render(Q,I),$.append(Q.xml,{name:`xl/worksheets/sheet${I.id}.xml`}),I.rels&&I.rels.length)Q=new tF,z.render(Q,I.rels),$.append(Q.xml,{name:`xl/worksheets/_rels/sheet${I.id}.xml.rels`});if(I.comments.length>0)Q=new tF,J.render(Q,I),$.append(Q.xml,{name:`xl/comments${I.id}.xml`}),Q=new tF,U.render(Q,I),$.append(Q.xml,{name:`xl/drawings/vmlDrawing${I.id}.vml`})})}_finalize($){return new Promise((Y,q)=>{$.on("finish",()=>{Y(this)}),$.on("error",q),$.finalize()})}prepareModel($,Y){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=Y.useSharedStrings!==void 0?Y.useSharedStrings:!0,$.useStyles=Y.useStyles!==void 0?Y.useStyles:!0,$.sharedStrings=new Sy,$.styles=$.useStyles?new gy(!0):new gy.Mock;let q=new aF,z=new eF;q.prepare($);let J={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};J.drawings=$.drawings=[],J.commentRefs=$.commentRefs=[];let U=0;$.tables=[],$.worksheets.forEach((I)=>{I.tables.forEach((Q)=>{U++,Q.target=`table${U}.xml`,Q.id=U,$.tables.push(Q)}),z.prepare(I,J)})}async write($,Y){Y=Y||{};let{model:q}=this.workbook,z=new vq1.ZipWriter(Y.zip);return z.pipe($),this.prepareModel(q,Y),await this.addContentTypes(z,q),await this.addOfficeRels(z,q),await this.addWorkbookRels(z,q),await this.addWorksheets(z,q),await this.addSharedStrings(z,q),await this.addDrawings(z,q),await this.addTables(z,q),await Promise.all([this.addThemes(z,q),this.addStyles(z,q)]),await this.addMedia(z,q),await Promise.all([this.addApp(z,q),this.addCore(z,q)]),await this.addWorkbook(z,q),this._finalize(z)}writeFile($,Y){let q=ky.createWriteStream($);return new Promise((z,J)=>{q.on("finish",()=>{z()}),q.on("error",(U)=>{J(U)}),this.write(q,Y).then(()=>{q.end()}).catch((U)=>{J(U)})})}async writeBuffer($){let Y=new hy;return await this.write(Y,$),Y.read()}}l5.RelType=L7();wQ0.exports=l5});var fy=M((OQ0)=>{Object.defineProperty(OQ0,"__esModule",{value:!0});OQ0.FormatterOptions=void 0;class FQ0{constructor($={}){var Y;if(this.objectMode=!0,this.delimiter=",",this.rowDelimiter=`
`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,$||{}),typeof($===null||$===void 0?void 0:$.quoteHeaders)>"u")this.quoteHeaders=this.quoteColumns;if(($===null||$===void 0?void 0:$.quote)===!0)this.quote='"';else if(($===null||$===void 0?void 0:$.quote)===!1)this.quote="";if(typeof($===null||$===void 0?void 0:$.escape)!=="string")this.escape=this.quote;this.shouldWriteHeaders=!!this.headers&&((Y=$.writeHeaders)!==null&&Y!==void 0?Y:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}OQ0.FormatterOptions=FQ0});var $O=M((l64,AQ0)=>{var xq1="[object AsyncFunction]",kq1="[object Function]",uq1="[object GeneratorFunction]",fq1="[object Null]",bq1="[object Proxy]",iq1="[object Undefined]",nq1=typeof global=="object"&&global&&global.Object===Object&&global,cq1=typeof self=="object"&&self&&self.Object===Object&&self,pq1=nq1||cq1||Function("return this")(),DQ0=Object.prototype,dq1=DQ0.hasOwnProperty,PQ0=DQ0.toString,NQ0=pq1.Symbol,QY=NQ0?NQ0.toStringTag:void 0;function mq1($){if($==null)return $===void 0?iq1:fq1;return QY&&QY in Object($)?lq1($):oq1($)}function lq1($){var Y=dq1.call($,QY),q=$[QY];try{$[QY]=void 0;var z=!0}catch(U){}var J=PQ0.call($);if(z)if(Y)$[QY]=q;else delete $[QY];return J}function oq1($){return PQ0.call($)}function rq1($){if(!sq1($))return!1;var Y=mq1($);return Y==kq1||Y==uq1||Y==xq1||Y==bq1}function sq1($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}AQ0.exports=rq1});var JK0=M((YO,CJ)=>{var tq1=200,sy="__lodash_hash_undefined__",GO=1,yQ0=2,xQ0=9007199254740991,qO="[object Arguments]",cy="[object Array]",aq1="[object AsyncFunction]",kQ0="[object Boolean]",uQ0="[object Date]",fQ0="[object Error]",bQ0="[object Function]",eq1="[object GeneratorFunction]",zO="[object Map]",iQ0="[object Number]",$z1="[object Null]",RJ="[object Object]",BQ0="[object Promise]",Yz1="[object Proxy]",nQ0="[object RegExp]",JO="[object Set]",cQ0="[object String]",qz1="[object Symbol]",zz1="[object Undefined]",py="[object WeakMap]",pQ0="[object ArrayBuffer]",UO="[object DataView]",Jz1="[object Float32Array]",Uz1="[object Float64Array]",Iz1="[object Int8Array]",Qz1="[object Int16Array]",Kz1="[object Int32Array]",Gz1="[object Uint8Array]",Hz1="[object Uint8ClampedArray]",Zz1="[object Uint16Array]",Wz1="[object Uint32Array]",Xz1=/[\\^$.*+?()[\]{}|]/g,Vz1=/^\[object .+?Constructor\]$/,Lz1=/^(?:0|[1-9]\d*)$/,M4={};M4[Jz1]=M4[Uz1]=M4[Iz1]=M4[Qz1]=M4[Kz1]=M4[Gz1]=M4[Hz1]=M4[Zz1]=M4[Wz1]=!0;M4[qO]=M4[cy]=M4[pQ0]=M4[kQ0]=M4[UO]=M4[uQ0]=M4[fQ0]=M4[bQ0]=M4[zO]=M4[iQ0]=M4[RJ]=M4[nQ0]=M4[JO]=M4[cQ0]=M4[py]=!1;var dQ0=typeof global=="object"&&global&&global.Object===Object&&global,wz1=typeof self=="object"&&self&&self.Object===Object&&self,i9=dQ0||wz1||Function("return this")(),mQ0=typeof YO=="object"&&YO&&!YO.nodeType&&YO,TQ0=mQ0&&typeof CJ=="object"&&CJ&&!CJ.nodeType&&CJ,lQ0=TQ0&&TQ0.exports===mQ0,by=lQ0&&dQ0.process,EQ0=function(){try{return by&&by.binding&&by.binding("util")}catch($){}}(),jQ0=EQ0&&EQ0.isTypedArray;function Fz1($,Y){var q=-1,z=$==null?0:$.length,J=0,U=[];while(++q<z){var I=$[q];if(Y(I,q,$))U[J++]=I}return U}function Oz1($,Y){var q=-1,z=Y.length,J=$.length;while(++q<z)$[J+q]=Y[q];return $}function Mz1($,Y){var q=-1,z=$==null?0:$.length;while(++q<z)if(Y($[q],q,$))return!0;return!1}function Nz1($,Y){var q=-1,z=Array($);while(++q<$)z[q]=Y(q);return z}function Dz1($){return function(Y){return $(Y)}}function Pz1($,Y){return $.has(Y)}function Az1($,Y){return $==null?void 0:$[Y]}function Bz1($){var Y=-1,q=Array($.size);return $.forEach(function(z,J){q[++Y]=[J,z]}),q}function Tz1($,Y){return function(q){return $(Y(q))}}function Ez1($){var Y=-1,q=Array($.size);return $.forEach(function(z){q[++Y]=z}),q}var jz1=Array.prototype,_z1=Function.prototype,HO=Object.prototype,iy=i9["__core-js_shared__"],oQ0=_z1.toString,o5=HO.hasOwnProperty,_Q0=function(){var $=/[^.]+$/.exec(iy&&iy.keys&&iy.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),rQ0=HO.toString,Rz1=RegExp("^"+oQ0.call(o5).replace(Xz1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),RQ0=lQ0?i9.Buffer:void 0,IO=i9.Symbol,CQ0=i9.Uint8Array,sQ0=HO.propertyIsEnumerable,Cz1=jz1.splice,KY=IO?IO.toStringTag:void 0,vQ0=Object.getOwnPropertySymbols,vz1=RQ0?RQ0.isBuffer:void 0,hz1=Tz1(Object.keys,Object),dy=vJ(i9,"DataView"),vG=vJ(i9,"Map"),my=vJ(i9,"Promise"),ly=vJ(i9,"Set"),oy=vJ(i9,"WeakMap"),hG=vJ(Object,"create"),gz1=ZY(dy),Sz1=ZY(vG),yz1=ZY(my),xz1=ZY(ly),kz1=ZY(oy),hQ0=IO?IO.prototype:void 0,ny=hQ0?hQ0.valueOf:void 0;function GY($){var Y=-1,q=$==null?0:$.length;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function uz1(){this.__data__=hG?hG(null):{},this.size=0}function fz1($){var Y=this.has($)&&delete this.__data__[$];return this.size-=Y?1:0,Y}function bz1($){var Y=this.__data__;if(hG){var q=Y[$];return q===sy?void 0:q}return o5.call(Y,$)?Y[$]:void 0}function iz1($){var Y=this.__data__;return hG?Y[$]!==void 0:o5.call(Y,$)}function nz1($,Y){var q=this.__data__;return this.size+=this.has($)?0:1,q[$]=hG&&Y===void 0?sy:Y,this}GY.prototype.clear=uz1;GY.prototype.delete=fz1;GY.prototype.get=bz1;GY.prototype.has=iz1;GY.prototype.set=nz1;function n9($){var Y=-1,q=$==null?0:$.length;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function cz1(){this.__data__=[],this.size=0}function pz1($){var Y=this.__data__,q=ZO(Y,$);if(q<0)return!1;var z=Y.length-1;if(q==z)Y.pop();else Cz1.call(Y,q,1);return--this.size,!0}function dz1($){var Y=this.__data__,q=ZO(Y,$);return q<0?void 0:Y[q][1]}function mz1($){return ZO(this.__data__,$)>-1}function lz1($,Y){var q=this.__data__,z=ZO(q,$);if(z<0)++this.size,q.push([$,Y]);else q[z][1]=Y;return this}n9.prototype.clear=cz1;n9.prototype.delete=pz1;n9.prototype.get=dz1;n9.prototype.has=mz1;n9.prototype.set=lz1;function HY($){var Y=-1,q=$==null?0:$.length;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function oz1(){this.size=0,this.__data__={hash:new GY,map:new(vG||n9),string:new GY}}function rz1($){var Y=WO(this,$).delete($);return this.size-=Y?1:0,Y}function sz1($){return WO(this,$).get($)}function tz1($){return WO(this,$).has($)}function az1($,Y){var q=WO(this,$),z=q.size;return q.set($,Y),this.size+=q.size==z?0:1,this}HY.prototype.clear=oz1;HY.prototype.delete=rz1;HY.prototype.get=sz1;HY.prototype.has=tz1;HY.prototype.set=az1;function QO($){var Y=-1,q=$==null?0:$.length;this.__data__=new HY;while(++Y<q)this.add($[Y])}function ez1($){return this.__data__.set($,sy),this}function $J1($){return this.__data__.has($)}QO.prototype.add=QO.prototype.push=ez1;QO.prototype.has=$J1;function O7($){var Y=this.__data__=new n9($);this.size=Y.size}function YJ1(){this.__data__=new n9,this.size=0}function qJ1($){var Y=this.__data__,q=Y.delete($);return this.size=Y.size,q}function zJ1($){return this.__data__.get($)}function JJ1($){return this.__data__.has($)}function UJ1($,Y){var q=this.__data__;if(q instanceof n9){var z=q.__data__;if(!vG||z.length<tq1-1)return z.push([$,Y]),this.size=++q.size,this;q=this.__data__=new HY(z)}return q.set($,Y),this.size=q.size,this}O7.prototype.clear=YJ1;O7.prototype.delete=qJ1;O7.prototype.get=zJ1;O7.prototype.has=JJ1;O7.prototype.set=UJ1;function IJ1($,Y){var q=KO($),z=!q&&DJ1($),J=!q&&!z&&ry($),U=!q&&!z&&!J&&zK0($),I=q||z||J||U,Q=I?Nz1($.length,String):[],K=Q.length;for(var G in $)if((Y||o5.call($,G))&&!(I&&(G=="length"||J&&(G=="offset"||G=="parent")||U&&(G=="buffer"||G=="byteLength"||G=="byteOffset")||wJ1(G,K))))Q.push(G);return Q}function ZO($,Y){var q=$.length;while(q--)if(eQ0($[q][0],Y))return q;return-1}function QJ1($,Y,q){var z=Y($);return KO($)?z:Oz1(z,q($))}function SG($){if($==null)return $===void 0?zz1:$z1;return KY&&KY in Object($)?VJ1($):NJ1($)}function gQ0($){return gG($)&&SG($)==qO}function tQ0($,Y,q,z,J){if($===Y)return!0;if($==null||Y==null||!gG($)&&!gG(Y))return $!==$&&Y!==Y;return KJ1($,Y,q,z,tQ0,J)}function KJ1($,Y,q,z,J,U){var I=KO($),Q=KO(Y),K=I?cy:F7($),G=Q?cy:F7(Y);K=K==qO?RJ:K,G=G==qO?RJ:G;var H=K==RJ,Z=G==RJ,V=K==G;if(V&&ry($)){if(!ry(Y))return!1;I=!0,H=!1}if(V&&!H)return U||(U=new O7),I||zK0($)?aQ0($,Y,q,z,J,U):WJ1($,Y,K,q,z,J,U);if(!(q&GO)){var X=H&&o5.call($,"__wrapped__"),L=Z&&o5.call(Y,"__wrapped__");if(X||L){var w=X?$.value():$,F=L?Y.value():Y;return U||(U=new O7),J(w,F,q,z,U)}}if(!V)return!1;return U||(U=new O7),XJ1($,Y,q,z,J,U)}function GJ1($){if(!qK0($)||OJ1($))return!1;var Y=$K0($)?Rz1:Vz1;return Y.test(ZY($))}function HJ1($){return gG($)&&YK0($.length)&&!!M4[SG($)]}function ZJ1($){if(!MJ1($))return hz1($);var Y=[];for(var q in Object($))if(o5.call($,q)&&q!="constructor")Y.push(q);return Y}function aQ0($,Y,q,z,J,U){var I=q&GO,Q=$.length,K=Y.length;if(Q!=K&&!(I&&K>Q))return!1;var G=U.get($);if(G&&U.get(Y))return G==Y;var H=-1,Z=!0,V=q&yQ0?new QO:void 0;U.set($,Y),U.set(Y,$);while(++H<Q){var X=$[H],L=Y[H];if(z)var w=I?z(L,X,H,Y,$,U):z(X,L,H,$,Y,U);if(w!==void 0){if(w)continue;Z=!1;break}if(V){if(!Mz1(Y,function(F,O){if(!Pz1(V,O)&&(X===F||J(X,F,q,z,U)))return V.push(O)})){Z=!1;break}}else if(!(X===L||J(X,L,q,z,U))){Z=!1;break}}return U.delete($),U.delete(Y),Z}function WJ1($,Y,q,z,J,U,I){switch(q){case UO:if($.byteLength!=Y.byteLength||$.byteOffset!=Y.byteOffset)return!1;$=$.buffer,Y=Y.buffer;case pQ0:if($.byteLength!=Y.byteLength||!U(new CQ0($),new CQ0(Y)))return!1;return!0;case kQ0:case uQ0:case iQ0:return eQ0(+$,+Y);case fQ0:return $.name==Y.name&&$.message==Y.message;case nQ0:case cQ0:return $==Y+"";case zO:var Q=Bz1;case JO:var K=z&GO;if(Q||(Q=Ez1),$.size!=Y.size&&!K)return!1;var G=I.get($);if(G)return G==Y;z|=yQ0,I.set($,Y);var H=aQ0(Q($),Q(Y),z,J,U,I);return I.delete($),H;case qz1:if(ny)return ny.call($)==ny.call(Y)}return!1}function XJ1($,Y,q,z,J,U){var I=q&GO,Q=SQ0($),K=Q.length,G=SQ0(Y),H=G.length;if(K!=H&&!I)return!1;var Z=K;while(Z--){var V=Q[Z];if(!(I?V in Y:o5.call(Y,V)))return!1}var X=U.get($);if(X&&U.get(Y))return X==Y;var L=!0;U.set($,Y),U.set(Y,$);var w=I;while(++Z<K){V=Q[Z];var F=$[V],O=Y[V];if(z)var P=I?z(O,F,V,Y,$,U):z(F,O,V,$,Y,U);if(!(P===void 0?F===O||J(F,O,q,z,U):P)){L=!1;break}w||(w=V=="constructor")}if(L&&!w){var B=$.constructor,A=Y.constructor;if(B!=A&&(("constructor"in $)&&("constructor"in Y))&&!(typeof B=="function"&&B instanceof B&&typeof A=="function"&&A instanceof A))L=!1}return U.delete($),U.delete(Y),L}function SQ0($){return QJ1($,BJ1,LJ1)}function WO($,Y){var q=$.__data__;return FJ1(Y)?q[typeof Y=="string"?"string":"hash"]:q.map}function vJ($,Y){var q=Az1($,Y);return GJ1(q)?q:void 0}function VJ1($){var Y=o5.call($,KY),q=$[KY];try{$[KY]=void 0;var z=!0}catch(U){}var J=rQ0.call($);if(z)if(Y)$[KY]=q;else delete $[KY];return J}var LJ1=!vQ0?TJ1:function($){if($==null)return[];return $=Object($),Fz1(vQ0($),function(Y){return sQ0.call($,Y)})},F7=SG;if(dy&&F7(new dy(new ArrayBuffer(1)))!=UO||vG&&F7(new vG)!=zO||my&&F7(my.resolve())!=BQ0||ly&&F7(new ly)!=JO||oy&&F7(new oy)!=py)F7=function($){var Y=SG($),q=Y==RJ?$.constructor:void 0,z=q?ZY(q):"";if(z)switch(z){case gz1:return UO;case Sz1:return zO;case yz1:return BQ0;case xz1:return JO;case kz1:return py}return Y};function wJ1($,Y){return Y=Y==null?xQ0:Y,!!Y&&(typeof $=="number"||Lz1.test($))&&($>-1&&$%1==0&&$<Y)}function FJ1($){var Y=typeof $;return Y=="string"||Y=="number"||Y=="symbol"||Y=="boolean"?$!=="__proto__":$===null}function OJ1($){return!!_Q0&&_Q0 in $}function MJ1($){var Y=$&&$.constructor,q=typeof Y=="function"&&Y.prototype||HO;return $===q}function NJ1($){return rQ0.call($)}function ZY($){if($!=null){try{return oQ0.call($)}catch(Y){}try{return $+""}catch(Y){}}return""}function eQ0($,Y){return $===Y||$!==$&&Y!==Y}var DJ1=gQ0(function(){return arguments}())?gQ0:function($){return gG($)&&o5.call($,"callee")&&!sQ0.call($,"callee")},KO=Array.isArray;function PJ1($){return $!=null&&YK0($.length)&&!$K0($)}var ry=vz1||EJ1;function AJ1($,Y){return tQ0($,Y)}function $K0($){if(!qK0($))return!1;var Y=SG($);return Y==bQ0||Y==eq1||Y==aq1||Y==Yz1}function YK0($){return typeof $=="number"&&$>-1&&$%1==0&&$<=xQ0}function qK0($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}function gG($){return $!=null&&typeof $=="object"}var zK0=jQ0?Dz1(jQ0):HJ1;function BJ1($){return PJ1($)?IJ1($):ZJ1($)}function TJ1(){return[]}function EJ1(){return!1}CJ.exports=AJ1});var IK0=M((r64,UK0)=>{var jJ1="[object Boolean]",_J1=Object.prototype,RJ1=_J1.toString;function CJ1($){return $===!0||$===!1||vJ1($)&&RJ1.call($)==jJ1}function vJ1($){return!!$&&typeof $=="object"}UK0.exports=CJ1});var ty=M((s64,QK0)=>{function hJ1($){return $==null}QK0.exports=hJ1});var ay=M((t64,WK0)=>{var gJ1=1/0,SJ1="[object Symbol]",ZK0=/[\\^$.*+?()[\]{}|]/g,yJ1=RegExp(ZK0.source),xJ1=typeof global=="object"&&global&&global.Object===Object&&global,kJ1=typeof self=="object"&&self&&self.Object===Object&&self,uJ1=xJ1||kJ1||Function("return this")(),fJ1=Object.prototype,bJ1=fJ1.toString,KK0=uJ1.Symbol,GK0=KK0?KK0.prototype:void 0,HK0=GK0?GK0.toString:void 0;function iJ1($){if(typeof $=="string")return $;if(cJ1($))return HK0?HK0.call($):"";var Y=$+"";return Y=="0"&&1/$==-gJ1?"-0":Y}function nJ1($){return!!$&&typeof $=="object"}function cJ1($){return typeof $=="symbol"||nJ1($)&&bJ1.call($)==SJ1}function pJ1($){return $==null?"":iJ1($)}function dJ1($){return $=pJ1($),$&&yJ1.test($)?$.replace(ZK0,"\\$&"):$}WK0.exports=dJ1});var $x=M((hJ)=>{var ey=hJ&&hJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(hJ,"__esModule",{value:!0});hJ.FieldFormatter=void 0;var mJ1=ey(IK0()),lJ1=ey(ty()),oJ1=ey(ay());class XK0{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let Y=`[${$.delimiter}${oJ1.default($.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(Y)}set headers($){this._headers=$}shouldQuote($,Y){let q=Y?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(mJ1.default(q))return q;if(Array.isArray(q))return q[$];if(this._headers!==null)return q[this._headers[$]];return!1}format($,Y,q){let z=`${lJ1.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:J}=this;if(J.quote!==""){if(z.indexOf(J.quote)!==-1)return this.quoteField(z.replace(this.REPLACE_REGEXP,J.escapedQuote))}if(z.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(Y,q))return this.quoteField(z);return z}quoteField($){let{quote:Y}=this.formatterOptions;return`${Y}${$}${Y}`}}hJ.FieldFormatter=XK0});var Yx=M((VK0)=>{Object.defineProperty(VK0,"__esModule",{value:!0});VK0.isSyncTransform=void 0;VK0.isSyncTransform=($)=>$.length===1});var FK0=M((gJ)=>{var wK0=gJ&&gJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(gJ,"__esModule",{value:!0});gJ.RowFormatter=void 0;var rJ1=wK0($O()),sJ1=wK0(JK0()),tJ1=$x(),aJ1=Yx();class WY{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new tJ1.FieldFormatter($),this.headers=$.headers,this.shouldWriteHeaders=$.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null)this.fieldFormatter.headers=this.headers;if($.transform)this.rowTransform=$.transform}static isRowHashArray($){if(Array.isArray($))return Array.isArray($[0])&&$[0].length===2;return!1}static isRowArray($){return Array.isArray($)&&!this.isRowHashArray($)}static gatherHeaders($){if(WY.isRowHashArray($))return $.map((Y)=>Y[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(aJ1.isSyncTransform($))return(Y,q)=>{let z=null;try{z=$(Y)}catch(J){return q(J)}return q(null,z)};return(Y,q)=>{$(Y,q)}}set rowTransform($){if(!rJ1.default($))throw TypeError("The transform should be a function");this._rowTransform=WY.createTransform($)}format($,Y){this.callTransformer($,(q,z)=>{if(q)return Y(q);if(!$)return Y(null);let J=[];if(z){let{shouldFormatColumns:U,headers:I}=this.checkHeaders(z);if(this.shouldWriteHeaders&&I&&!this.hasWrittenHeaders)J.push(this.formatColumns(I,!0)),this.hasWrittenHeaders=!0;if(U){let Q=this.gatherColumns(z);J.push(this.formatColumns(Q,!1))}}return Y(null,J)})}finish($){let Y=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));Y.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)Y.push(this.formatterOptions.rowDelimiter);return $(null,Y)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let Y=WY.gatherHeaders($);if(this.headers=Y,this.fieldFormatter.headers=Y,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!sJ1.default(Y,$),headers:Y}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((Y)=>$[Y]);if(WY.isRowHashArray($))return this.headers.map((Y,q)=>{let z=$[q];if(z)return z[1];return""});if(WY.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((Y,q)=>$[q])}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}formatColumns($,Y){let q=$.map((J,U)=>this.fieldFormatter.format(J,U,Y)).join(this.formatterOptions.delimiter),{rowCount:z}=this;if(this.rowCount+=1,z)return[this.formatterOptions.rowDelimiter,q].join("");return q}}gJ.RowFormatter=WY});var OK0=M((XO)=>{Object.defineProperty(XO,"__esModule",{value:!0});XO.FieldFormatter=XO.RowFormatter=void 0;var eJ1=FK0();Object.defineProperty(XO,"RowFormatter",{enumerable:!0,get:function(){return eJ1.RowFormatter}});var $U1=$x();Object.defineProperty(XO,"FieldFormatter",{enumerable:!0,get:function(){return $U1.FieldFormatter}})});var qx=M((NK0)=>{Object.defineProperty(NK0,"__esModule",{value:!0});NK0.CsvFormatterStream=void 0;var qU1=m("stream"),zU1=OK0();class MK0 extends qU1.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new zU1.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,Y,q){let z=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(J,U)=>{if(J)return z=!0,q(J);if(U)U.forEach((I)=>{this.push(Buffer.from(I,"utf8"))});return z=!0,q()})}catch(J){if(z)throw J;q(J)}}_flush($){this.rowFormatter.finish((Y,q)=>{if(Y)return $(Y);if(q)q.forEach((z)=>{this.push(Buffer.from(z,"utf8"))});return $()})}}NK0.CsvFormatterStream=MK0});var AK0=M((u1)=>{var PK0=u1&&u1.__createBinding||(Object.create?function($,Y,q,z){if(z===void 0)z=q;Object.defineProperty($,z,{enumerable:!0,get:function(){return Y[q]}})}:function($,Y,q,z){if(z===void 0)z=q;$[z]=Y[q]}),JU1=u1&&u1.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),UU1=u1&&u1.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var q in $)if(q!=="default"&&Object.prototype.hasOwnProperty.call($,q))PK0(Y,$,q)}return JU1(Y,$),Y},IU1=u1&&u1.__exportStar||function($,Y){for(var q in $)if(q!=="default"&&!Object.prototype.hasOwnProperty.call(Y,q))PK0(Y,$,q)};Object.defineProperty(u1,"__esModule",{value:!0});u1.writeToPath=u1.writeToString=u1.writeToBuffer=u1.writeToStream=u1.write=u1.format=u1.FormatterOptions=u1.CsvFormatterStream=void 0;var QU1=m("util"),KU1=m("stream"),GU1=UU1(m("fs")),HU1=fy(),ZU1=qx();IU1(Yx(),u1);var WU1=qx();Object.defineProperty(u1,"CsvFormatterStream",{enumerable:!0,get:function(){return WU1.CsvFormatterStream}});var XU1=fy();Object.defineProperty(u1,"FormatterOptions",{enumerable:!0,get:function(){return XU1.FormatterOptions}});u1.format=($)=>new ZU1.CsvFormatterStream(new HU1.FormatterOptions($));u1.write=($,Y)=>{let q=u1.format(Y),z=QU1.promisify((J,U)=>{q.write(J,void 0,U)});return $.reduce((J,U)=>J.then(()=>z(U)),Promise.resolve()).then(()=>q.end()).catch((J)=>{q.emit("error",J)}),q};u1.writeToStream=($,Y,q)=>u1.write(Y,q).pipe($);u1.writeToBuffer=($,Y={})=>{let q=[],z=new KU1.Writable({write(J,U,I){q.push(J),I()}});return new Promise((J,U)=>{z.on("error",U).on("finish",()=>J(Buffer.concat(q))),u1.write($,Y).pipe(z)})};u1.writeToString=($,Y)=>u1.writeToBuffer($,Y).then((q)=>q.toString());u1.writeToPath=($,Y,q)=>{let z=GU1.createWriteStream($,{encoding:"utf8"});return u1.write(Y,q).pipe(z)}});var zx=M((SJ)=>{var BK0=SJ&&SJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(SJ,"__esModule",{value:!0});SJ.ParserOptions=void 0;var VU1=BK0(ay()),LU1=BK0(ty());class TK0{constructor($){var Y;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,$||{}),this.delimiter.length>1)throw Error("delimiter option must be one character long");if(this.escapedDelimiter=VU1.default(this.delimiter),this.escapeChar=(Y=this.escape)!==null&&Y!==void 0?Y:this.quote,this.supportsComments=!LU1.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}SJ.ParserOptions=TK0});var Jx=M((EK0)=>{Object.defineProperty(EK0,"__esModule",{value:!0});EK0.isSyncValidate=EK0.isSyncTransform=void 0;EK0.isSyncTransform=($)=>$.length===1;EK0.isSyncValidate=($)=>$.length===1});var CK0=M((yJ)=>{var FU1=yJ&&yJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(yJ,"__esModule",{value:!0});yJ.RowTransformerValidator=void 0;var _K0=FU1($O()),RK0=Jx();class VO{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(RK0.isSyncTransform($))return(Y,q)=>{let z=null;try{z=$(Y)}catch(J){return q(J)}return q(null,z)};return $}static createValidator($){if(RK0.isSyncValidate($))return(Y,q)=>{q(null,{row:Y,isValid:$(Y)})};return(Y,q)=>{$(Y,(z,J,U)=>{if(z)return q(z);if(J)return q(null,{row:Y,isValid:J,reason:U});return q(null,{row:Y,isValid:!1,reason:U})})}}set rowTransform($){if(!_K0.default($))throw TypeError("The transform should be a function");this._rowTransform=VO.createTransform($)}set rowValidator($){if(!_K0.default($))throw TypeError("The validate should be a function");this._rowValidator=VO.createValidator($)}transformAndValidate($,Y){return this.callTransformer($,(q,z)=>{if(q)return Y(q);if(!z)return Y(null,{row:null,isValid:!0});return this.callValidator(z,(J,U)=>{if(J)return Y(J);if(U&&!U.isValid)return Y(null,{row:z,isValid:!1,reason:U.reason});return Y(null,{row:z,isValid:!0})})})}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}callValidator($,Y){if(!this._rowValidator)return Y(null,{row:$,isValid:!0});return this._rowValidator($,Y)}}yJ.RowTransformerValidator=VO});var hK0=M((K84,vK0)=>{function OU1($){return $===void 0}vK0.exports=OU1});var fK0=M((G84,uK0)=>{var MU1=200,Qx="__lodash_hash_undefined__",NU1=1/0,DU1="[object Function]",PU1="[object GeneratorFunction]",AU1=/[\\^$.*+?()[\]{}|]/g,BU1=/^\[object .+?Constructor\]$/,TU1=typeof global=="object"&&global&&global.Object===Object&&global,EU1=typeof self=="object"&&self&&self.Object===Object&&self,Kx=TU1||EU1||Function("return this")();function jU1($,Y){var q=$?$.length:0;return!!q&&CU1($,Y,0)>-1}function _U1($,Y,q){var z=-1,J=$?$.length:0;while(++z<J)if(q(Y,$[z]))return!0;return!1}function RU1($,Y,q,z){var J=$.length,U=q+(z?1:-1);while(z?U--:++U<J)if(Y($[U],U,$))return U;return-1}function CU1($,Y,q){if(Y!==Y)return RU1($,vU1,q);var z=q-1,J=$.length;while(++z<J)if($[z]===Y)return z;return-1}function vU1($){return $!==$}function hU1($,Y){return $.has(Y)}function gU1($,Y){return $==null?void 0:$[Y]}function SU1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(q){}return Y}function SK0($){var Y=-1,q=Array($.size);return $.forEach(function(z){q[++Y]=z}),q}var yU1=Array.prototype,xU1=Function.prototype,yK0=Object.prototype,Ux=Kx["__core-js_shared__"],gK0=function(){var $=/[^.]+$/.exec(Ux&&Ux.keys&&Ux.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),xK0=xU1.toString,Gx=yK0.hasOwnProperty,kU1=yK0.toString,uU1=RegExp("^"+xK0.call(Gx).replace(AU1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),fU1=yU1.splice,bU1=Hx(Kx,"Map"),Ix=Hx(Kx,"Set"),yG=Hx(Object,"create");function XY($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function iU1(){this.__data__=yG?yG(null):{}}function nU1($){return this.has($)&&delete this.__data__[$]}function cU1($){var Y=this.__data__;if(yG){var q=Y[$];return q===Qx?void 0:q}return Gx.call(Y,$)?Y[$]:void 0}function pU1($){var Y=this.__data__;return yG?Y[$]!==void 0:Gx.call(Y,$)}function dU1($,Y){var q=this.__data__;return q[$]=yG&&Y===void 0?Qx:Y,this}XY.prototype.clear=iU1;XY.prototype.delete=nU1;XY.prototype.get=cU1;XY.prototype.has=pU1;XY.prototype.set=dU1;function xJ($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function mU1(){this.__data__=[]}function lU1($){var Y=this.__data__,q=wO(Y,$);if(q<0)return!1;var z=Y.length-1;if(q==z)Y.pop();else fU1.call(Y,q,1);return!0}function oU1($){var Y=this.__data__,q=wO(Y,$);return q<0?void 0:Y[q][1]}function rU1($){return wO(this.__data__,$)>-1}function sU1($,Y){var q=this.__data__,z=wO(q,$);if(z<0)q.push([$,Y]);else q[z][1]=Y;return this}xJ.prototype.clear=mU1;xJ.prototype.delete=lU1;xJ.prototype.get=oU1;xJ.prototype.has=rU1;xJ.prototype.set=sU1;function kJ($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function tU1(){this.__data__={hash:new XY,map:new(bU1||xJ),string:new XY}}function aU1($){return FO(this,$).delete($)}function eU1($){return FO(this,$).get($)}function $I1($){return FO(this,$).has($)}function YI1($,Y){return FO(this,$).set($,Y),this}kJ.prototype.clear=tU1;kJ.prototype.delete=aU1;kJ.prototype.get=eU1;kJ.prototype.has=$I1;kJ.prototype.set=YI1;function LO($){var Y=-1,q=$?$.length:0;this.__data__=new kJ;while(++Y<q)this.add($[Y])}function qI1($){return this.__data__.set($,Qx),this}function zI1($){return this.__data__.has($)}LO.prototype.add=LO.prototype.push=qI1;LO.prototype.has=zI1;function wO($,Y){var q=$.length;while(q--)if(ZI1($[q][0],Y))return q;return-1}function JI1($){if(!kK0($)||KI1($))return!1;var Y=WI1($)||SU1($)?uU1:BU1;return Y.test(GI1($))}function UI1($,Y,q){var z=-1,J=jU1,U=$.length,I=!0,Q=[],K=Q;if(q)I=!1,J=_U1;else if(U>=MU1){var G=Y?null:II1($);if(G)return SK0(G);I=!1,J=hU1,K=new LO}else K=Y?[]:Q;$:while(++z<U){var H=$[z],Z=Y?Y(H):H;if(H=q||H!==0?H:0,I&&Z===Z){var V=K.length;while(V--)if(K[V]===Z)continue $;if(Y)K.push(Z);Q.push(H)}else if(!J(K,Z,q)){if(K!==Q)K.push(Z);Q.push(H)}}return Q}var II1=!(Ix&&1/SK0(new Ix([,-0]))[1]==NU1)?XI1:function($){return new Ix($)};function FO($,Y){var q=$.__data__;return QI1(Y)?q[typeof Y=="string"?"string":"hash"]:q.map}function Hx($,Y){var q=gU1($,Y);return JI1(q)?q:void 0}function QI1($){var Y=typeof $;return Y=="string"||Y=="number"||Y=="symbol"||Y=="boolean"?$!=="__proto__":$===null}function KI1($){return!!gK0&&gK0 in $}function GI1($){if($!=null){try{return xK0.call($)}catch(Y){}try{return $+""}catch(Y){}}return""}function HI1($){return $&&$.length?UI1($):[]}function ZI1($,Y){return $===Y||$!==$&&Y!==Y}function WI1($){var Y=kK0($)?kU1.call($):"";return Y==DU1||Y==PU1}function kK0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function XI1(){}uK0.exports=HI1});var OG0=M((OO,fJ)=>{var VI1=200,LI1="Expected a function",Nx="__lodash_hash_undefined__",EO=1,bJ=2,rK0=1/0,sK0=9007199254740991,MO="[object Arguments]",Xx="[object Array]",tK0="[object Boolean]",aK0="[object Date]",eK0="[object Error]",$G0="[object Function]",wI1="[object GeneratorFunction]",NO="[object Map]",YG0="[object Number]",uJ="[object Object]",bK0="[object Promise]",qG0="[object RegExp]",DO="[object Set]",zG0="[object String]",JG0="[object Symbol]",Vx="[object WeakMap]",UG0="[object ArrayBuffer]",PO="[object DataView]",FI1="[object Float32Array]",OI1="[object Float64Array]",MI1="[object Int8Array]",NI1="[object Int16Array]",DI1="[object Int32Array]",PI1="[object Uint8Array]",AI1="[object Uint8ClampedArray]",BI1="[object Uint16Array]",TI1="[object Uint32Array]",EI1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jI1=/^\w*$/,_I1=/^\./,RI1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,CI1=/[\\^$.*+?()[\]{}|]/g,vI1=/\\(\\)?/g,hI1=/^\[object .+?Constructor\]$/,gI1=/^(?:0|[1-9]\d*)$/,N4={};N4[FI1]=N4[OI1]=N4[MI1]=N4[NI1]=N4[DI1]=N4[PI1]=N4[AI1]=N4[BI1]=N4[TI1]=!0;N4[MO]=N4[Xx]=N4[UG0]=N4[tK0]=N4[PO]=N4[aK0]=N4[eK0]=N4[$G0]=N4[NO]=N4[YG0]=N4[uJ]=N4[qG0]=N4[DO]=N4[zG0]=N4[Vx]=!1;var IG0=typeof global=="object"&&global&&global.Object===Object&&global,SI1=typeof self=="object"&&self&&self.Object===Object&&self,D7=IG0||SI1||Function("return this")(),QG0=typeof OO=="object"&&OO&&!OO.nodeType&&OO,iK0=QG0&&typeof fJ=="object"&&fJ&&!fJ.nodeType&&fJ,yI1=iK0&&iK0.exports===QG0,nK0=yI1&&IG0.process,cK0=function(){try{return nK0&&nK0.binding("util")}catch($){}}(),pK0=cK0&&cK0.isTypedArray;function xI1($,Y,q,z){var J=-1,U=$?$.length:0;while(++J<U){var I=$[J];Y(z,I,q(I),$)}return z}function kI1($,Y){var q=-1,z=$?$.length:0;while(++q<z)if(Y($[q],q,$))return!0;return!1}function uI1($){return function(Y){return Y==null?void 0:Y[$]}}function fI1($,Y){var q=-1,z=Array($);while(++q<$)z[q]=Y(q);return z}function bI1($){return function(Y){return $(Y)}}function iI1($,Y){return $==null?void 0:$[Y]}function Lx($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(q){}return Y}function nI1($){var Y=-1,q=Array($.size);return $.forEach(function(z,J){q[++Y]=[J,z]}),q}function cI1($,Y){return function(q){return $(Y(q))}}function pI1($){var Y=-1,q=Array($.size);return $.forEach(function(z){q[++Y]=z}),q}var dI1=Array.prototype,mI1=Function.prototype,jO=Object.prototype,Zx=D7["__core-js_shared__"],dK0=function(){var $=/[^.]+$/.exec(Zx&&Zx.keys&&Zx.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),KG0=mI1.toString,r5=jO.hasOwnProperty,iJ=jO.toString,lI1=RegExp("^"+KG0.call(r5).replace(CI1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mK0=D7.Symbol,lK0=D7.Uint8Array,oI1=jO.propertyIsEnumerable,rI1=dI1.splice,sI1=cI1(Object.keys,Object),wx=nJ(D7,"DataView"),xG=nJ(D7,"Map"),Fx=nJ(D7,"Promise"),Ox=nJ(D7,"Set"),Mx=nJ(D7,"WeakMap"),kG=nJ(Object,"create"),tI1=LY(wx),aI1=LY(xG),eI1=LY(Fx),$Q1=LY(Ox),YQ1=LY(Mx),AO=mK0?mK0.prototype:void 0,Wx=AO?AO.valueOf:void 0,oK0=AO?AO.toString:void 0;function VY($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function qQ1(){this.__data__=kG?kG(null):{}}function zQ1($){return this.has($)&&delete this.__data__[$]}function JQ1($){var Y=this.__data__;if(kG){var q=Y[$];return q===Nx?void 0:q}return r5.call(Y,$)?Y[$]:void 0}function UQ1($){var Y=this.__data__;return kG?Y[$]!==void 0:r5.call(Y,$)}function IQ1($,Y){var q=this.__data__;return q[$]=kG&&Y===void 0?Nx:Y,this}VY.prototype.clear=qQ1;VY.prototype.delete=zQ1;VY.prototype.get=JQ1;VY.prototype.has=UQ1;VY.prototype.set=IQ1;function p9($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function QQ1(){this.__data__=[]}function KQ1($){var Y=this.__data__,q=_O(Y,$);if(q<0)return!1;var z=Y.length-1;if(q==z)Y.pop();else rI1.call(Y,q,1);return!0}function GQ1($){var Y=this.__data__,q=_O(Y,$);return q<0?void 0:Y[q][1]}function HQ1($){return _O(this.__data__,$)>-1}function ZQ1($,Y){var q=this.__data__,z=_O(q,$);if(z<0)q.push([$,Y]);else q[z][1]=Y;return this}p9.prototype.clear=QQ1;p9.prototype.delete=KQ1;p9.prototype.get=GQ1;p9.prototype.has=HQ1;p9.prototype.set=ZQ1;function d9($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function WQ1(){this.__data__={hash:new VY,map:new(xG||p9),string:new VY}}function XQ1($){return RO(this,$).delete($)}function VQ1($){return RO(this,$).get($)}function LQ1($){return RO(this,$).has($)}function wQ1($,Y){return RO(this,$).set($,Y),this}d9.prototype.clear=WQ1;d9.prototype.delete=XQ1;d9.prototype.get=VQ1;d9.prototype.has=LQ1;d9.prototype.set=wQ1;function BO($){var Y=-1,q=$?$.length:0;this.__data__=new d9;while(++Y<q)this.add($[Y])}function FQ1($){return this.__data__.set($,Nx),this}function OQ1($){return this.__data__.has($)}BO.prototype.add=BO.prototype.push=FQ1;BO.prototype.has=OQ1;function c9($){this.__data__=new p9($)}function MQ1(){this.__data__=new p9}function NQ1($){return this.__data__.delete($)}function DQ1($){return this.__data__.get($)}function PQ1($){return this.__data__.has($)}function AQ1($,Y){var q=this.__data__;if(q instanceof p9){var z=q.__data__;if(!xG||z.length<VI1-1)return z.push([$,Y]),this;q=this.__data__=new d9(z)}return q.set($,Y),this}c9.prototype.clear=MQ1;c9.prototype.delete=NQ1;c9.prototype.get=DQ1;c9.prototype.has=PQ1;c9.prototype.set=AQ1;function BQ1($,Y){var q=N7($)||wG0($)?fI1($.length,String):[],z=q.length,J=!!z;for(var U in $)if((Y||r5.call($,U))&&!(J&&(U=="length"||WG0(U,z))))q.push(U);return q}function _O($,Y){var q=$.length;while(q--)if(LG0($[q][0],Y))return q;return-1}function TQ1($,Y,q,z){return EQ1($,function(J,U,I){Y(z,J,q(J),I)}),z}var EQ1=nQ1(_Q1),jQ1=cQ1();function _Q1($,Y){return $&&jQ1($,Y,TO)}function GG0($,Y){Y=CO(Y,$)?[Y]:HG0(Y);var q=0,z=Y.length;while($!=null&&q<z)$=$[vO(Y[q++])];return q&&q==z?$:void 0}function RQ1($){return iJ.call($)}function CQ1($,Y){return $!=null&&Y in Object($)}function Dx($,Y,q,z,J){if($===Y)return!0;if($==null||Y==null||!hO($)&&!gO(Y))return $!==$&&Y!==Y;return vQ1($,Y,Dx,q,z,J)}function vQ1($,Y,q,z,J,U){var I=N7($),Q=N7(Y),K=Xx,G=Xx;if(!I)K=M7($),K=K==MO?uJ:K;if(!Q)G=M7(Y),G=G==MO?uJ:G;var H=K==uJ&&!Lx($),Z=G==uJ&&!Lx(Y),V=K==G;if(V&&!H)return U||(U=new c9),I||$K1($)?ZG0($,Y,q,z,J,U):pQ1($,Y,K,q,z,J,U);if(!(J&bJ)){var X=H&&r5.call($,"__wrapped__"),L=Z&&r5.call(Y,"__wrapped__");if(X||L){var w=X?$.value():$,F=L?Y.value():Y;return U||(U=new c9),q(w,F,z,J,U)}}if(!V)return!1;return U||(U=new c9),dQ1($,Y,q,z,J,U)}function hQ1($,Y,q,z){var J=q.length,U=J,I=!z;if($==null)return!U;$=Object($);while(J--){var Q=q[J];if(I&&Q[2]?Q[1]!==$[Q[0]]:!(Q[0]in $))return!1}while(++J<U){Q=q[J];var K=Q[0],G=$[K],H=Q[1];if(I&&Q[2]){if(G===void 0&&!(K in $))return!1}else{var Z=new c9;if(z)var V=z(G,H,K,$,Y,Z);if(!(V===void 0?Dx(H,G,z,EO|bJ,Z):V))return!1}}return!0}function gQ1($){if(!hO($)||rQ1($))return!1;var Y=FG0($)||Lx($)?lI1:hI1;return Y.test(LY($))}function SQ1($){return gO($)&&Bx($.length)&&!!N4[iJ.call($)]}function yQ1($){if(typeof $=="function")return $;if($==null)return JK1;if(typeof $=="object")return N7($)?uQ1($[0],$[1]):kQ1($);return UK1($)}function xQ1($){if(!sQ1($))return sI1($);var Y=[];for(var q in Object($))if(r5.call($,q)&&q!="constructor")Y.push(q);return Y}function kQ1($){var Y=mQ1($);if(Y.length==1&&Y[0][2])return VG0(Y[0][0],Y[0][1]);return function(q){return q===$||hQ1(q,$,Y)}}function uQ1($,Y){if(CO($)&&XG0(Y))return VG0(vO($),Y);return function(q){var z=qK1(q,$);return z===void 0&&z===Y?zK1(q,$):Dx(Y,z,void 0,EO|bJ)}}function fQ1($){return function(Y){return GG0(Y,$)}}function bQ1($){if(typeof $=="string")return $;if(Tx($))return oK0?oK0.call($):"";var Y=$+"";return Y=="0"&&1/$==-rK0?"-0":Y}function HG0($){return N7($)?$:tQ1($)}function iQ1($,Y){return function(q,z){var J=N7(q)?xI1:TQ1,U=Y?Y():{};return J(q,$,yQ1(z,2),U)}}function nQ1($,Y){return function(q,z){if(q==null)return q;if(!Ax(q))return $(q,z);var J=q.length,U=Y?J:-1,I=Object(q);while(Y?U--:++U<J)if(z(I[U],U,I)===!1)break;return q}}function cQ1($){return function(Y,q,z){var J=-1,U=Object(Y),I=z(Y),Q=I.length;while(Q--){var K=I[$?Q:++J];if(q(U[K],K,U)===!1)break}return Y}}function ZG0($,Y,q,z,J,U){var I=J&bJ,Q=$.length,K=Y.length;if(Q!=K&&!(I&&K>Q))return!1;var G=U.get($);if(G&&U.get(Y))return G==Y;var H=-1,Z=!0,V=J&EO?new BO:void 0;U.set($,Y),U.set(Y,$);while(++H<Q){var X=$[H],L=Y[H];if(z)var w=I?z(L,X,H,Y,$,U):z(X,L,H,$,Y,U);if(w!==void 0){if(w)continue;Z=!1;break}if(V){if(!kI1(Y,function(F,O){if(!V.has(O)&&(X===F||q(X,F,z,J,U)))return V.add(O)})){Z=!1;break}}else if(!(X===L||q(X,L,z,J,U))){Z=!1;break}}return U.delete($),U.delete(Y),Z}function pQ1($,Y,q,z,J,U,I){switch(q){case PO:if($.byteLength!=Y.byteLength||$.byteOffset!=Y.byteOffset)return!1;$=$.buffer,Y=Y.buffer;case UG0:if($.byteLength!=Y.byteLength||!z(new lK0($),new lK0(Y)))return!1;return!0;case tK0:case aK0:case YG0:return LG0(+$,+Y);case eK0:return $.name==Y.name&&$.message==Y.message;case qG0:case zG0:return $==Y+"";case NO:var Q=nI1;case DO:var K=U&bJ;if(Q||(Q=pI1),$.size!=Y.size&&!K)return!1;var G=I.get($);if(G)return G==Y;U|=EO,I.set($,Y);var H=ZG0(Q($),Q(Y),z,J,U,I);return I.delete($),H;case JG0:if(Wx)return Wx.call($)==Wx.call(Y)}return!1}function dQ1($,Y,q,z,J,U){var I=J&bJ,Q=TO($),K=Q.length,G=TO(Y),H=G.length;if(K!=H&&!I)return!1;var Z=K;while(Z--){var V=Q[Z];if(!(I?V in Y:r5.call(Y,V)))return!1}var X=U.get($);if(X&&U.get(Y))return X==Y;var L=!0;U.set($,Y),U.set(Y,$);var w=I;while(++Z<K){V=Q[Z];var F=$[V],O=Y[V];if(z)var P=I?z(O,F,V,Y,$,U):z(F,O,V,$,Y,U);if(!(P===void 0?F===O||q(F,O,z,J,U):P)){L=!1;break}w||(w=V=="constructor")}if(L&&!w){var B=$.constructor,A=Y.constructor;if(B!=A&&(("constructor"in $)&&("constructor"in Y))&&!(typeof B=="function"&&B instanceof B&&typeof A=="function"&&A instanceof A))L=!1}return U.delete($),U.delete(Y),L}function RO($,Y){var q=$.__data__;return oQ1(Y)?q[typeof Y=="string"?"string":"hash"]:q.map}function mQ1($){var Y=TO($),q=Y.length;while(q--){var z=Y[q],J=$[z];Y[q]=[z,J,XG0(J)]}return Y}function nJ($,Y){var q=iI1($,Y);return gQ1(q)?q:void 0}var M7=RQ1;if(wx&&M7(new wx(new ArrayBuffer(1)))!=PO||xG&&M7(new xG)!=NO||Fx&&M7(Fx.resolve())!=bK0||Ox&&M7(new Ox)!=DO||Mx&&M7(new Mx)!=Vx)M7=function($){var Y=iJ.call($),q=Y==uJ?$.constructor:void 0,z=q?LY(q):void 0;if(z)switch(z){case tI1:return PO;case aI1:return NO;case eI1:return bK0;case $Q1:return DO;case YQ1:return Vx}return Y};function lQ1($,Y,q){Y=CO(Y,$)?[Y]:HG0(Y);var z,J=-1,I=Y.length;while(++J<I){var U=vO(Y[J]);if(!(z=$!=null&&q($,U)))break;$=$[U]}if(z)return z;var I=$?$.length:0;return!!I&&Bx(I)&&WG0(U,I)&&(N7($)||wG0($))}function WG0($,Y){return Y=Y==null?sK0:Y,!!Y&&(typeof $=="number"||gI1.test($))&&($>-1&&$%1==0&&$<Y)}function CO($,Y){if(N7($))return!1;var q=typeof $;if(q=="number"||q=="symbol"||q=="boolean"||$==null||Tx($))return!0;return jI1.test($)||!EI1.test($)||Y!=null&&$ in Object(Y)}function oQ1($){var Y=typeof $;return Y=="string"||Y=="number"||Y=="symbol"||Y=="boolean"?$!=="__proto__":$===null}function rQ1($){return!!dK0&&dK0 in $}function sQ1($){var Y=$&&$.constructor,q=typeof Y=="function"&&Y.prototype||jO;return $===q}function XG0($){return $===$&&!hO($)}function VG0($,Y){return function(q){if(q==null)return!1;return q[$]===Y&&(Y!==void 0||($ in Object(q)))}}var tQ1=Px(function($){$=YK1($);var Y=[];if(_I1.test($))Y.push("");return $.replace(RI1,function(q,z,J,U){Y.push(J?U.replace(vI1,"$1"):z||q)}),Y});function vO($){if(typeof $=="string"||Tx($))return $;var Y=$+"";return Y=="0"&&1/$==-rK0?"-0":Y}function LY($){if($!=null){try{return KG0.call($)}catch(Y){}try{return $+""}catch(Y){}}return""}var aQ1=iQ1(function($,Y,q){if(r5.call($,q))$[q].push(Y);else $[q]=[Y]});function Px($,Y){if(typeof $!="function"||Y&&typeof Y!="function")throw TypeError(LI1);var q=function(){var z=arguments,J=Y?Y.apply(this,z):z[0],U=q.cache;if(U.has(J))return U.get(J);var I=$.apply(this,z);return q.cache=U.set(J,I),I};return q.cache=new(Px.Cache||d9),q}Px.Cache=d9;function LG0($,Y){return $===Y||$!==$&&Y!==Y}function wG0($){return eQ1($)&&r5.call($,"callee")&&(!oI1.call($,"callee")||iJ.call($)==MO)}var N7=Array.isArray;function Ax($){return $!=null&&Bx($.length)&&!FG0($)}function eQ1($){return gO($)&&Ax($)}function FG0($){var Y=hO($)?iJ.call($):"";return Y==$G0||Y==wI1}function Bx($){return typeof $=="number"&&$>-1&&$%1==0&&$<=sK0}function hO($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function gO($){return!!$&&typeof $=="object"}function Tx($){return typeof $=="symbol"||gO($)&&iJ.call($)==JG0}var $K1=pK0?bI1(pK0):SQ1;function YK1($){return $==null?"":bQ1($)}function qK1($,Y,q){var z=$==null?void 0:GG0($,Y);return z===void 0?q:z}function zK1($,Y){return $!=null&&lQ1($,Y,CQ1)}function TO($){return Ax($)?BQ1($):xQ1($)}function JK1($){return $}function UK1($){return CO($)?uI1(vO($)):fQ1($)}fJ.exports=aQ1});var DG0=M((cJ)=>{var SO=cJ&&cJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(cJ,"__esModule",{value:!0});cJ.HeaderTransformer=void 0;var MG0=SO(hK0()),IK1=SO($O()),QK1=SO(fK0()),KK1=SO(OG0());class NG0{constructor($){if(this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=$,$.headers===!0)this.shouldUseFirstRow=!0;else if(Array.isArray($.headers))this.setHeaders($.headers);else if(IK1.default($.headers))this.headersTransform=$.headers}transform($,Y){if(!this.shouldMapRow($))return Y(null,{row:null,isValid:!0});return Y(null,this.processRow($))}shouldMapRow($){let{parserOptions:Y}=this;if(!this.headersTransform&&Y.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray($)){if(this.headersTransform)this.setHeaders(this.headersTransform($));else if(this.shouldUseFirstRow)this.setHeaders($);else return!0;return!1}return!0}processRow($){if(!this.headers)return{row:$,isValid:!0};let{parserOptions:Y}=this;if(!Y.discardUnmappedColumns&&$.length>this.headersLength){if(!Y.strictColumnHandling)throw Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${$.length}`);return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`}}if(Y.strictColumnHandling&&$.length<this.headersLength)return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`};return{row:this.mapHeaders($),isValid:!0}}mapHeaders($){let Y={},{headers:q,headersLength:z}=this;for(let J=0;J<z;J+=1){let U=q[J];if(!MG0.default(U)){let I=$[J];if(MG0.default(I))Y[U]="";else Y[U]=I}}return Y}setHeaders($){var Y;let q=$.filter((z)=>!!z);if(QK1.default(q).length!==q.length){let z=KK1.default(q),J=Object.keys(z).filter((U)=>z[U].length>1);throw Error(`Duplicate headers found ${JSON.stringify(J)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((Y=this.headers)===null||Y===void 0?void 0:Y.length)||0}}cJ.HeaderTransformer=NG0});var PG0=M((yO)=>{Object.defineProperty(yO,"__esModule",{value:!0});yO.HeaderTransformer=yO.RowTransformerValidator=void 0;var GK1=CK0();Object.defineProperty(yO,"RowTransformerValidator",{enumerable:!0,get:function(){return GK1.RowTransformerValidator}});var HK1=DG0();Object.defineProperty(yO,"HeaderTransformer",{enumerable:!0,get:function(){return HK1.HeaderTransformer}})});var P7=M((BG0)=>{Object.defineProperty(BG0,"__esModule",{value:!0});BG0.Token=void 0;class AG0{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let Y=$.token;return Y==="\r"||Y===`
`||Y===`\r
`}static isTokenCarriageReturn($,Y){return $.token===Y.carriageReturn}static isTokenComment($,Y){return Y.supportsComments&&!!$&&$.token===Y.comment}static isTokenEscapeCharacter($,Y){return $.token===Y.escapeChar}static isTokenQuote($,Y){return $.token===Y.quote}static isTokenDelimiter($,Y){return $.token===Y.delimiter}}BG0.Token=AG0});var Ex=M((_G0)=>{Object.defineProperty(_G0,"__esModule",{value:!0});_G0.Scanner=void 0;var EG0=P7(),WK1=/((?:\r\n)|\n|\r)/;class jG0{constructor($){this.cursor=0,this.line=$.line,this.lineLength=this.line.length,this.parserOptions=$.parserOptions,this.hasMoreData=$.hasMoreData,this.cursor=$.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:$}=this,Y=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(Y)===-1)return null;let q=Y.exec($);if(q==null)return null;let z=q[1],J=this.cursor+(q.index||0);return new EG0.Token({token:z,startCursor:J,endCursor:J+z.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:Y}=this;if(Y<=$)return null;return new EG0.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=WK1.exec(this.lineFromCursor);if(!$){if(this.hasMoreData)return null;return this.cursor=this.lineLength,this}return this.cursor+=($.index||0)+$[0].length,this}advanceTo($){return this.cursor=$,this}advanceToToken($){return this.cursor=$.startCursor,this}advancePastToken($){return this.cursor=$.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}_G0.Scanner=jG0});var xO=M((vG0)=>{Object.defineProperty(vG0,"__esModule",{value:!0});vG0.ColumnFormatter=void 0;class CG0{constructor($){if($.trim)this.format=(Y)=>Y.trim();else if($.ltrim)this.format=(Y)=>Y.trimLeft();else if($.rtrim)this.format=(Y)=>Y.trimRight();else this.format=(Y)=>Y}}vG0.ColumnFormatter=CG0});var jx=M((yG0)=>{Object.defineProperty(yG0,"__esModule",{value:!0});yG0.NonQuotedColumnParser=void 0;var XK1=xO(),gG0=P7();class SG0{constructor($){this.parserOptions=$,this.columnFormatter=new XK1.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:Y}=this,q=[],z=$.nextCharacterToken;for(;z;z=$.nextCharacterToken){if(gG0.Token.isTokenDelimiter(z,Y)||gG0.Token.isTokenRowDelimiter(z))break;q.push(z.token),$.advancePastToken(z)}return this.columnFormatter.format(q.join(""))}}yG0.NonQuotedColumnParser=SG0});var _x=M((uG0)=>{Object.defineProperty(uG0,"__esModule",{value:!0});uG0.QuotedColumnParser=void 0;var VK1=xO(),pJ=P7();class kG0{constructor($){this.parserOptions=$,this.columnFormatter=new VK1.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let Y=$.cursor,{foundClosingQuote:q,col:z}=this.gatherDataBetweenQuotes($);if(!q){if($.advanceTo(Y),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),z}gatherDataBetweenQuotes($){let{parserOptions:Y}=this,q=!1,z=!1,J=[],U=$.nextCharacterToken;for(;!z&&U!==null;U=$.nextCharacterToken){let I=pJ.Token.isTokenQuote(U,Y);if(!q&&I)q=!0;else if(q)if(pJ.Token.isTokenEscapeCharacter(U,Y)){$.advancePastToken(U);let Q=$.nextCharacterToken;if(Q!==null&&(pJ.Token.isTokenQuote(Q,Y)||pJ.Token.isTokenEscapeCharacter(Q,Y)))J.push(Q.token),U=Q;else if(I)z=!0;else J.push(U.token)}else if(I)z=!0;else J.push(U.token);$.advancePastToken(U)}return{col:this.columnFormatter.format(J.join("")),foundClosingQuote:z}}checkForMalformedColumn($){let{parserOptions:Y}=this,{nextNonSpaceToken:q}=$;if(q){let z=pJ.Token.isTokenDelimiter(q,Y),J=pJ.Token.isTokenRowDelimiter(q);if(!(z||J)){let U=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${Y.escapedDelimiter}' OR new line got: '${q.token}'. at '${U}`)}$.advanceToToken(q)}else if(!$.hasMoreData)$.advancePastLine()}}uG0.QuotedColumnParser=kG0});var cG0=M((iG0)=>{Object.defineProperty(iG0,"__esModule",{value:!0});iG0.ColumnParser=void 0;var LK1=jx(),wK1=_x(),FK1=P7();class bG0{constructor($){this.parserOptions=$,this.quotedColumnParser=new wK1.QuotedColumnParser($),this.nonQuotedColumnParser=new LK1.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:Y}=$;if(Y!==null&&FK1.Token.isTokenQuote(Y,this.parserOptions))return $.advanceToToken(Y),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}iG0.ColumnParser=bG0});var Rx=M((dJ)=>{Object.defineProperty(dJ,"__esModule",{value:!0});dJ.ColumnFormatter=dJ.QuotedColumnParser=dJ.NonQuotedColumnParser=dJ.ColumnParser=void 0;var OK1=cG0();Object.defineProperty(dJ,"ColumnParser",{enumerable:!0,get:function(){return OK1.ColumnParser}});var MK1=jx();Object.defineProperty(dJ,"NonQuotedColumnParser",{enumerable:!0,get:function(){return MK1.NonQuotedColumnParser}});var NK1=_x();Object.defineProperty(dJ,"QuotedColumnParser",{enumerable:!0,get:function(){return NK1.QuotedColumnParser}});var DK1=xO();Object.defineProperty(dJ,"ColumnFormatter",{enumerable:!0,get:function(){return DK1.ColumnFormatter}})});var vx=M((dG0)=>{Object.defineProperty(dG0,"__esModule",{value:!0});dG0.RowParser=void 0;var AK1=Rx(),mJ=P7(),Cx="";class pG0{constructor($){this.parserOptions=$,this.columnParser=new AK1.ColumnParser($)}static isEmptyRow($){return $.join(Cx).replace(/\s+/g,Cx)===Cx}parse($){let{parserOptions:Y}=this,{hasMoreData:q}=$,z=$,J=[],U=this.getStartToken(z,J);while(U){if(mJ.Token.isTokenRowDelimiter(U)){if(z.advancePastToken(U),!z.hasMoreCharacters&&mJ.Token.isTokenCarriageReturn(U,Y)&&q)return null;return z.truncateToCursor(),J}if(!this.shouldSkipColumnParse(z,U,J)){let I=this.columnParser.parse(z);if(I===null)return null;J.push(I)}U=z.nextNonSpaceToken}if(!q)return z.truncateToCursor(),J;return null}getStartToken($,Y){let q=$.nextNonSpaceToken;if(q!==null&&mJ.Token.isTokenDelimiter(q,this.parserOptions))return Y.push(""),$.nextNonSpaceToken;return q}shouldSkipColumnParse($,Y,q){let{parserOptions:z}=this;if(mJ.Token.isTokenDelimiter(Y,z)){$.advancePastToken(Y);let J=$.nextCharacterToken;if(!$.hasMoreCharacters||J!==null&&mJ.Token.isTokenRowDelimiter(J))return q.push(""),!0;if(J!==null&&mJ.Token.isTokenDelimiter(J,z))return q.push(""),!0}return!1}}dG0.RowParser=pG0});var sG0=M((oG0)=>{Object.defineProperty(oG0,"__esModule",{value:!0});oG0.Parser=void 0;var BK1=Ex(),lG0=vx(),TK1=P7();class hx{constructor($){this.parserOptions=$,this.rowParser=new lG0.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,Y){let q=new BK1.Scanner({line:hx.removeBOM($),parserOptions:this.parserOptions,hasMoreData:Y});if(this.parserOptions.supportsComments)return this.parseWithComments(q);return this.parseWithoutComments(q)}parseWithoutComments($){let Y=[],q=!0;while(q)q=this.parseRow($,Y);return{line:$.line,rows:Y}}parseWithComments($){let{parserOptions:Y}=this,q=[];for(let z=$.nextCharacterToken;z!==null;z=$.nextCharacterToken)if(TK1.Token.isTokenComment(z,Y)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:q};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:q};$.truncateToCursor()}else if(!this.parseRow($,q))break;return{line:$.line,rows:q}}parseRow($,Y){if(!$.nextNonSpaceToken)return!1;let z=this.rowParser.parse($);if(z===null)return!1;if(this.parserOptions.ignoreEmpty&&lG0.RowParser.isEmptyRow(z))return!0;return Y.push(z),!0}}oG0.Parser=hx});var tG0=M((m9)=>{Object.defineProperty(m9,"__esModule",{value:!0});m9.QuotedColumnParser=m9.NonQuotedColumnParser=m9.ColumnParser=m9.Token=m9.Scanner=m9.RowParser=m9.Parser=void 0;var EK1=sG0();Object.defineProperty(m9,"Parser",{enumerable:!0,get:function(){return EK1.Parser}});var jK1=vx();Object.defineProperty(m9,"RowParser",{enumerable:!0,get:function(){return jK1.RowParser}});var _K1=Ex();Object.defineProperty(m9,"Scanner",{enumerable:!0,get:function(){return _K1.Scanner}});var RK1=P7();Object.defineProperty(m9,"Token",{enumerable:!0,get:function(){return RK1.Token}});var gx=Rx();Object.defineProperty(m9,"ColumnParser",{enumerable:!0,get:function(){return gx.ColumnParser}});Object.defineProperty(m9,"NonQuotedColumnParser",{enumerable:!0,get:function(){return gx.NonQuotedColumnParser}});Object.defineProperty(m9,"QuotedColumnParser",{enumerable:!0,get:function(){return gx.QuotedColumnParser}})});var Sx=M((eG0)=>{Object.defineProperty(eG0,"__esModule",{value:!0});eG0.CsvParserStream=void 0;var vK1=m("string_decoder"),hK1=m("stream"),aG0=PG0(),gK1=tG0();class kO extends hK1.Transform{constructor($){super({objectMode:$.objectMode});this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=$,this.parser=new gK1.Parser($),this.headerTransformer=new aG0.HeaderTransformer($),this.decoder=new vK1.StringDecoder($.encoding),this.rowTransformerValidator=new aG0.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform($){return this.rowTransformerValidator.rowTransform=$,this}validate($){return this.rowTransformerValidator.rowValidator=$,this}emit($,...Y){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...Y)}_transform($,Y,q){if(this.hasHitRowLimit)return q();let z=kO.wrapDoneCallback(q);try{let{lines:J}=this,U=J+this.decoder.write($),I=this.parse(U,!0);return this.processRows(I,z)}catch(J){return z(J)}}_flush($){let Y=kO.wrapDoneCallback($);if(this.hasHitRowLimit)return Y();try{let q=this.lines+this.decoder.end(),z=this.parse(q,!1);return this.processRows(z,Y)}catch(q){return Y(q)}}parse($,Y){if(!$)return[];let{line:q,rows:z}=this.parser.parse($,Y);return this.lines=q,z}processRows($,Y){let q=$.length,z=(J)=>{let U=(K)=>{if(K)return Y(K);if(J%100===0){setImmediate(()=>z(J+1));return}return z(J+1)};if(this.checkAndEmitHeaders(),J>=q||this.hasHitRowLimit)return Y();if(this.parsedLineCount+=1,this.shouldSkipLine)return U();let I=$[J];this.rowCount+=1,this.parsedRowCount+=1;let Q=this.rowCount;return this.transformRow(I,(K,G)=>{if(K)return this.rowCount-=1,U(K);if(!G)return U(Error("expected transform result"));if(!G.isValid)this.emit("data-invalid",G.row,Q,G.reason);else if(G.row)return this.pushRow(G.row,U);return U()})};z(0)}transformRow($,Y){try{this.headerTransformer.transform($,(q,z)=>{if(q)return Y(q);if(!z)return Y(Error("Expected result from header transform"));if(!z.isValid){if(this.shouldEmitRows)return Y(null,{isValid:!1,row:$});return this.skipRow(Y)}if(z.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(z.row,Y);return this.skipRow(Y)}return this.rowCount-=1,this.parsedRowCount-=1,Y(null,{row:null,isValid:!0})})}catch(q){Y(q)}}checkAndEmitHeaders(){if(!this.headersEmitted&&this.headerTransformer.headers)this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers)}skipRow($){return this.rowCount-=1,$(null,{row:null,isValid:!0})}pushRow($,Y){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);Y()}catch(q){Y(q)}}static wrapDoneCallback($){let Y=!1;return(q,...z)=>{if(q){if(Y)throw q;Y=!0,$(q);return}$(...z)}}}eG0.CsvParserStream=kO});var qH0=M((f4)=>{var YH0=f4&&f4.__createBinding||(Object.create?function($,Y,q,z){if(z===void 0)z=q;Object.defineProperty($,z,{enumerable:!0,get:function(){return Y[q]}})}:function($,Y,q,z){if(z===void 0)z=q;$[z]=Y[q]}),SK1=f4&&f4.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),yK1=f4&&f4.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var q in $)if(q!=="default"&&Object.prototype.hasOwnProperty.call($,q))YH0(Y,$,q)}return SK1(Y,$),Y},xK1=f4&&f4.__exportStar||function($,Y){for(var q in $)if(q!=="default"&&!Object.prototype.hasOwnProperty.call(Y,q))YH0(Y,$,q)};Object.defineProperty(f4,"__esModule",{value:!0});f4.parseString=f4.parseFile=f4.parseStream=f4.parse=f4.ParserOptions=f4.CsvParserStream=void 0;var kK1=yK1(m("fs")),uK1=m("stream"),uO=zx(),fO=Sx();xK1(Jx(),f4);var fK1=Sx();Object.defineProperty(f4,"CsvParserStream",{enumerable:!0,get:function(){return fK1.CsvParserStream}});var bK1=zx();Object.defineProperty(f4,"ParserOptions",{enumerable:!0,get:function(){return bK1.ParserOptions}});f4.parse=($)=>new fO.CsvParserStream(new uO.ParserOptions($));f4.parseStream=($,Y)=>$.pipe(new fO.CsvParserStream(new uO.ParserOptions(Y)));f4.parseFile=($,Y={})=>kK1.createReadStream($).pipe(new fO.CsvParserStream(new uO.ParserOptions(Y)));f4.parseString=($,Y)=>{let q=new uK1.Readable;return q.push($),q.push(null),q.pipe(new fO.CsvParserStream(new uO.ParserOptions(Y)))}});var zH0=M((Q8)=>{Object.defineProperty(Q8,"__esModule",{value:!0});Q8.CsvParserStream=Q8.ParserOptions=Q8.parseFile=Q8.parseStream=Q8.parseString=Q8.parse=Q8.FormatterOptions=Q8.CsvFormatterStream=Q8.writeToPath=Q8.writeToString=Q8.writeToBuffer=Q8.writeToStream=Q8.write=Q8.format=void 0;var A7=AK0();Object.defineProperty(Q8,"format",{enumerable:!0,get:function(){return A7.format}});Object.defineProperty(Q8,"write",{enumerable:!0,get:function(){return A7.write}});Object.defineProperty(Q8,"writeToStream",{enumerable:!0,get:function(){return A7.writeToStream}});Object.defineProperty(Q8,"writeToBuffer",{enumerable:!0,get:function(){return A7.writeToBuffer}});Object.defineProperty(Q8,"writeToString",{enumerable:!0,get:function(){return A7.writeToString}});Object.defineProperty(Q8,"writeToPath",{enumerable:!0,get:function(){return A7.writeToPath}});Object.defineProperty(Q8,"CsvFormatterStream",{enumerable:!0,get:function(){return A7.CsvFormatterStream}});Object.defineProperty(Q8,"FormatterOptions",{enumerable:!0,get:function(){return A7.FormatterOptions}});var lJ=qH0();Object.defineProperty(Q8,"parse",{enumerable:!0,get:function(){return lJ.parse}});Object.defineProperty(Q8,"parseString",{enumerable:!0,get:function(){return lJ.parseString}});Object.defineProperty(Q8,"parseStream",{enumerable:!0,get:function(){return lJ.parseStream}});Object.defineProperty(Q8,"parseFile",{enumerable:!0,get:function(){return lJ.parseFile}});Object.defineProperty(Q8,"ParserOptions",{enumerable:!0,get:function(){return lJ.ParserOptions}});Object.defineProperty(Q8,"CsvParserStream",{enumerable:!0,get:function(){return lJ.CsvParserStream}})});var JH0=M((yx,xx)=>{(function($,Y){typeof yx=="object"&&typeof xx<"u"?xx.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=Y()})(yx,function(){var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Y=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,q=/\d/,z=/\d\d/,J=/\d\d?/,U=/\d*[^-_:/,()\s\d]+/,I={},Q=function(L){return(L=+L)+(L>68?1900:2000)},K=function(L){return function(w){this[L]=+w}},G=[/[+-]\d\d:?(\d\d)?|Z/,function(L){(this.zone||(this.zone={})).offset=function(w){if(!w)return 0;if(w==="Z")return 0;var F=w.match(/([+-]|\d\d)/g),O=60*F[1]+(+F[2]||0);return O===0?0:F[0]==="+"?-O:O}(L)}],H=function(L){var w=I[L];return w&&(w.indexOf?w:w.s.concat(w.f))},Z=function(L,w){var F,O=I.meridiem;if(O){for(var P=1;P<=24;P+=1)if(L.indexOf(O(P,0,w))>-1){F=P>12;break}}else F=L===(w?"pm":"PM");return F},V={A:[U,function(L){this.afternoon=Z(L,!1)}],a:[U,function(L){this.afternoon=Z(L,!0)}],Q:[q,function(L){this.month=3*(L-1)+1}],S:[q,function(L){this.milliseconds=100*+L}],SS:[z,function(L){this.milliseconds=10*+L}],SSS:[/\d{3}/,function(L){this.milliseconds=+L}],s:[J,K("seconds")],ss:[J,K("seconds")],m:[J,K("minutes")],mm:[J,K("minutes")],H:[J,K("hours")],h:[J,K("hours")],HH:[J,K("hours")],hh:[J,K("hours")],D:[J,K("day")],DD:[z,K("day")],Do:[U,function(L){var w=I.ordinal,F=L.match(/\d+/);if(this.day=F[0],w)for(var O=1;O<=31;O+=1)w(O).replace(/\[|\]/g,"")===L&&(this.day=O)}],w:[J,K("week")],ww:[z,K("week")],M:[J,K("month")],MM:[z,K("month")],MMM:[U,function(L){var w=H("months"),F=(H("monthsShort")||w.map(function(O){return O.slice(0,3)})).indexOf(L)+1;if(F<1)throw Error();this.month=F%12||F}],MMMM:[U,function(L){var w=H("months").indexOf(L)+1;if(w<1)throw Error();this.month=w%12||w}],Y:[/[+-]?\d+/,K("year")],YY:[z,function(L){this.year=Q(L)}],YYYY:[/\d{4}/,K("year")],Z:G,ZZ:G};function X(L){var w,F;w=L,F=I&&I.formats;for(var O=(L=w.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(k,C,c){var n=c&&c.toUpperCase();return C||F[c]||$[c]||F[n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(g,b,i){return b||i.slice(1)})})).match(Y),P=O.length,B=0;B<P;B+=1){var A=O[B],E=V[A],y=E&&E[0],v=E&&E[1];O[B]=v?{regex:y,parser:v}:A.replace(/^\[|\]$/g,"")}return function(k){for(var C={},c=0,n=0;c<P;c+=1){var g=O[c];if(typeof g=="string")n+=g.length;else{var{regex:b,parser:i}=g,$0=k.slice(n),j=b.exec($0)[0];i.call(C,j),k=k.replace(j,"")}}return function(u){var p=u.afternoon;if(p!==void 0){var d=u.hours;p?d<12&&(u.hours+=12):d===12&&(u.hours=0),delete u.afternoon}}(C),C}}return function(L,w,F){F.p.customParseFormat=!0,L&&L.parseTwoDigitYear&&(Q=L.parseTwoDigitYear);var O=w.prototype,P=O.parse;O.parse=function(B){var{date:A,utc:E,args:y}=B;this.$u=E;var v=y[1];if(typeof v=="string"){var k=y[2]===!0,C=y[3]===!0,c=k||C,n=y[2];C&&(n=y[2]),I=this.$locale(),!k&&n&&(I=F.Ls[n]),this.$d=function($0,j,u,p){try{if(["x","X"].indexOf(j)>-1)return new Date((j==="X"?1000:1)*$0);var d=X(j)($0),q0=d.year,t=d.month,H0=d.day,L0=d.hours,T0=d.minutes,C0=d.seconds,j0=d.milliseconds,i0=d.zone,K0=d.week,v0=new Date,f0=H0||(q0||t?1:v0.getDate()),c0=q0||v0.getFullYear(),C1=0;q0&&!t||(C1=t>0?t-1:v0.getMonth());var a0,r1=L0||0,F1=T0||0,b1=C0||0,$1=j0||0;return i0?new Date(Date.UTC(c0,C1,f0,r1,F1,b1,$1+60*i0.offset*1000)):u?new Date(Date.UTC(c0,C1,f0,r1,F1,b1,$1)):(a0=new Date(c0,C1,f0,r1,F1,b1,$1),K0&&(a0=p(a0).week(K0).toDate()),a0)}catch(J6){return new Date("")}}(A,v,E,F),this.init(),n&&n!==!0&&(this.$L=this.locale(n).$L),c&&A!=this.format(v)&&(this.$d=new Date("")),I={}}else if(v instanceof Array)for(var g=v.length,b=1;b<=g;b+=1){y[1]=v[b-1];var i=F.apply(this,y);if(i.isValid()){this.$d=i.$d,this.$L=i.$L,this.init();break}b===g&&(this.$d=new Date(""))}else P.call(this,B)}}})});var UH0=M((kx,ux)=>{(function($,Y){typeof kx=="object"&&typeof ux<"u"?ux.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=Y()})(kx,function(){var $="minute",Y=/[+-]\d\d(?::?\d\d)?/g,q=/([+-]|\d\d)/g;return function(z,J,U){var I=J.prototype;U.utc=function(X){var L={date:X,utc:!0,args:arguments};return new J(L)},I.utc=function(X){var L=U(this.toDate(),{locale:this.$L,utc:!0});return X?L.add(this.utcOffset(),$):L},I.local=function(){return U(this.toDate(),{locale:this.$L,utc:!1})};var Q=I.parse;I.parse=function(X){X.utc&&(this.$u=!0),this.$utils().u(X.$offset)||(this.$offset=X.$offset),Q.call(this,X)};var K=I.init;I.init=function(){if(this.$u){var X=this.$d;this.$y=X.getUTCFullYear(),this.$M=X.getUTCMonth(),this.$D=X.getUTCDate(),this.$W=X.getUTCDay(),this.$H=X.getUTCHours(),this.$m=X.getUTCMinutes(),this.$s=X.getUTCSeconds(),this.$ms=X.getUTCMilliseconds()}else K.call(this)};var G=I.utcOffset;I.utcOffset=function(X,L){var w=this.$utils().u;if(w(X))return this.$u?0:w(this.$offset)?G.call(this):this.$offset;if(typeof X=="string"&&(X=function(B){B===void 0&&(B="");var A=B.match(Y);if(!A)return null;var E=(""+A[0]).match(q)||["-",0,0],y=E[0],v=60*+E[1]+ +E[2];return v===0?0:y==="+"?v:-v}(X),X===null))return this;var F=Math.abs(X)<=16?60*X:X;if(F===0)return this.utc(L);var O=this.clone();if(L)return O.$offset=F,O.$u=!1,O;var P=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(O=this.local().add(F+P,$)).$offset=F,O.$x.$localOffset=P,O};var H=I.format;I.format=function(X){var L=X||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return H.call(this,L)},I.valueOf=function(){var X=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*X},I.isUTC=function(){return!!this.$u},I.toISOString=function(){return this.toDate().toISOString()},I.toString=function(){return this.toDate().toUTCString()};var Z=I.toDate;I.toDate=function(X){return X==="s"&&this.$offset?U(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():Z.call(this)};var V=I.diff;I.diff=function(X,L,w){if(X&&this.$u===X.$u)return V.call(this,X,L,w);var F=this.local(),O=U(X).local();return V.call(F,O,L,w)}}})});var IH0=M((fx,bx)=>{(function($,Y){typeof fx=="object"&&typeof bx<"u"?bx.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs=Y()})(fx,function(){var $=1000,Y=60000,q=3600000,z="millisecond",J="second",U="minute",I="hour",Q="day",K="week",G="month",H="quarter",Z="year",V="date",X="Invalid Date",L=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var b=["th","st","nd","rd"],i=g%100;return"["+g+(b[(i-20)%10]||b[i]||b[0])+"]"}},O=function(g,b,i){var $0=String(g);return!$0||$0.length>=b?g:""+Array(b+1-$0.length).join(i)+g},P={s:O,z:function(g){var b=-g.utcOffset(),i=Math.abs(b),$0=Math.floor(i/60),j=i%60;return(b<=0?"+":"-")+O($0,2,"0")+":"+O(j,2,"0")},m:function g(b,i){if(b.date()<i.date())return-g(i,b);var $0=12*(i.year()-b.year())+(i.month()-b.month()),j=b.clone().add($0,G),u=i-j<0,p=b.clone().add($0+(u?-1:1),G);return+(-($0+(i-j)/(u?j-p:p-j))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:G,y:Z,w:K,d:Q,D:V,h:I,m:U,s:J,ms:z,Q:H}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},B="en",A={};A[B]=F;var E="$isDayjsObject",y=function(g){return g instanceof c||!(!g||!g[E])},v=function g(b,i,$0){var j;if(!b)return B;if(typeof b=="string"){var u=b.toLowerCase();A[u]&&(j=u),i&&(A[u]=i,j=u);var p=b.split("-");if(!j&&p.length>1)return g(p[0])}else{var d=b.name;A[d]=b,j=d}return!$0&&j&&(B=j),j||!$0&&B},k=function(g,b){if(y(g))return g.clone();var i=typeof b=="object"?b:{};return i.date=g,i.args=arguments,new c(i)},C=P;C.l=v,C.i=y,C.w=function(g,b){return k(g,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var c=function(){function g(i){this.$L=v(i.locale,null,!0),this.parse(i),this.$x=this.$x||i.x||{},this[E]=!0}var b=g.prototype;return b.parse=function(i){this.$d=function($0){var{date:j,utc:u}=$0;if(j===null)return new Date(NaN);if(C.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var p=j.match(L);if(p){var d=p[2]-1||0,q0=(p[7]||"0").substring(0,3);return u?new Date(Date.UTC(p[1],d,p[3]||1,p[4]||0,p[5]||0,p[6]||0,q0)):new Date(p[1],d,p[3]||1,p[4]||0,p[5]||0,p[6]||0,q0)}}return new Date(j)}(i),this.init()},b.init=function(){var i=this.$d;this.$y=i.getFullYear(),this.$M=i.getMonth(),this.$D=i.getDate(),this.$W=i.getDay(),this.$H=i.getHours(),this.$m=i.getMinutes(),this.$s=i.getSeconds(),this.$ms=i.getMilliseconds()},b.$utils=function(){return C},b.isValid=function(){return this.$d.toString()!==X},b.isSame=function(i,$0){var j=k(i);return this.startOf($0)<=j&&j<=this.endOf($0)},b.isAfter=function(i,$0){return k(i)<this.startOf($0)},b.isBefore=function(i,$0){return this.endOf($0)<k(i)},b.$g=function(i,$0,j){return C.u(i)?this[$0]:this.set(j,i)},b.unix=function(){return Math.floor(this.valueOf()/1000)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(i,$0){var j=this,u=!!C.u($0)||$0,p=C.p(i),d=function(i0,K0){var v0=C.w(j.$u?Date.UTC(j.$y,K0,i0):new Date(j.$y,K0,i0),j);return u?v0:v0.endOf(Q)},q0=function(i0,K0){return C.w(j.toDate()[i0].apply(j.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(K0)),j)},t=this.$W,H0=this.$M,L0=this.$D,T0="set"+(this.$u?"UTC":"");switch(p){case Z:return u?d(1,0):d(31,11);case G:return u?d(1,H0):d(0,H0+1);case K:var C0=this.$locale().weekStart||0,j0=(t<C0?t+7:t)-C0;return d(u?L0-j0:L0+(6-j0),H0);case Q:case V:return q0(T0+"Hours",0);case I:return q0(T0+"Minutes",1);case U:return q0(T0+"Seconds",2);case J:return q0(T0+"Milliseconds",3);default:return this.clone()}},b.endOf=function(i){return this.startOf(i,!1)},b.$set=function(i,$0){var j,u=C.p(i),p="set"+(this.$u?"UTC":""),d=(j={},j[Q]=p+"Date",j[V]=p+"Date",j[G]=p+"Month",j[Z]=p+"FullYear",j[I]=p+"Hours",j[U]=p+"Minutes",j[J]=p+"Seconds",j[z]=p+"Milliseconds",j)[u],q0=u===Q?this.$D+($0-this.$W):$0;if(u===G||u===Z){var t=this.clone().set(V,1);t.$d[d](q0),t.init(),this.$d=t.set(V,Math.min(this.$D,t.daysInMonth())).$d}else d&&this.$d[d](q0);return this.init(),this},b.set=function(i,$0){return this.clone().$set(i,$0)},b.get=function(i){return this[C.p(i)]()},b.add=function(i,$0){var j,u=this;i=Number(i);var p=C.p($0),d=function(H0){var L0=k(u);return C.w(L0.date(L0.date()+Math.round(H0*i)),u)};if(p===G)return this.set(G,this.$M+i);if(p===Z)return this.set(Z,this.$y+i);if(p===Q)return d(1);if(p===K)return d(7);var q0=(j={},j[U]=Y,j[I]=q,j[J]=$,j)[p]||1,t=this.$d.getTime()+i*q0;return C.w(t,this)},b.subtract=function(i,$0){return this.add(-1*i,$0)},b.format=function(i){var $0=this,j=this.$locale();if(!this.isValid())return j.invalidDate||X;var u=i||"YYYY-MM-DDTHH:mm:ssZ",p=C.z(this),d=this.$H,q0=this.$m,t=this.$M,H0=j.weekdays,L0=j.months,T0=j.meridiem,C0=function(K0,v0,f0,c0){return K0&&(K0[v0]||K0($0,u))||f0[v0].slice(0,c0)},j0=function(K0){return C.s(d%12||12,K0,"0")},i0=T0||function(K0,v0,f0){var c0=K0<12?"AM":"PM";return f0?c0.toLowerCase():c0};return u.replace(w,function(K0,v0){return v0||function(f0){switch(f0){case"YY":return String($0.$y).slice(-2);case"YYYY":return C.s($0.$y,4,"0");case"M":return t+1;case"MM":return C.s(t+1,2,"0");case"MMM":return C0(j.monthsShort,t,L0,3);case"MMMM":return C0(L0,t);case"D":return $0.$D;case"DD":return C.s($0.$D,2,"0");case"d":return String($0.$W);case"dd":return C0(j.weekdaysMin,$0.$W,H0,2);case"ddd":return C0(j.weekdaysShort,$0.$W,H0,3);case"dddd":return H0[$0.$W];case"H":return String(d);case"HH":return C.s(d,2,"0");case"h":return j0(1);case"hh":return j0(2);case"a":return i0(d,q0,!0);case"A":return i0(d,q0,!1);case"m":return String(q0);case"mm":return C.s(q0,2,"0");case"s":return String($0.$s);case"ss":return C.s($0.$s,2,"0");case"SSS":return C.s($0.$ms,3,"0");case"Z":return p}return null}(K0)||p.replace(":","")})},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(i,$0,j){var u,p=this,d=C.p($0),q0=k(i),t=(q0.utcOffset()-this.utcOffset())*Y,H0=this-q0,L0=function(){return C.m(p,q0)};switch(d){case Z:u=L0()/12;break;case G:u=L0();break;case H:u=L0()/3;break;case K:u=(H0-t)/604800000;break;case Q:u=(H0-t)/86400000;break;case I:u=H0/q;break;case U:u=H0/Y;break;case J:u=H0/$;break;default:u=H0}return j?u:C.a(u)},b.daysInMonth=function(){return this.endOf(G).$D},b.$locale=function(){return A[this.$L]},b.locale=function(i,$0){if(!i)return this.$L;var j=this.clone(),u=v(i,$0,!0);return u&&(j.$L=u),j},b.clone=function(){return C.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},g}(),n=c.prototype;return k.prototype=n,[["$ms",z],["$s",J],["$m",U],["$H",I],["$W",Q],["$M",G],["$y",Z],["$D",V]].forEach(function(g){n[g[1]]=function(b){return this.$g(b,g[0],g[1])}}),k.extend=function(g,b){return g.$i||(g(b,c,k),g.$i=!0),k},k.locale=v,k.isDayjs=y,k.unix=function(g){return k(1000*g)},k.en=A[B],k.Ls=A,k.p={},k})});var ZH0=M((r84,HH0)=>{var QH0=m("fs"),KH0=zH0(),nK1=JH0(),cK1=UH0(),uG=IH0().extend(nK1).extend(cK1),pK1=NG(),{fs:{exists:dK1}}=U8(),mK1={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};class GH0{constructor($){this.workbook=$,this.worksheet=null}async readFile($,Y){if(Y=Y||{},!await dK1($))throw Error(`File not found: ${$}`);let q=QH0.createReadStream($),z=await this.read(q,Y);return q.close(),z}read($,Y){return Y=Y||{},new Promise((q,z)=>{let J=this.workbook.addWorksheet(Y.sheetName),U=Y.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],I=Y.map||function(K){if(K==="")return null;let G=Number(K);if(!Number.isNaN(G)&&G!==1/0)return G;let H=U.reduce((V,X)=>{if(V)return V;let L=uG(K,X,!0);if(L.isValid())return L;return null},null);if(H)return new Date(H.valueOf());let Z=mK1[K];if(Z!==void 0)return Z;return K},Q=KH0.parse(Y.parserOptions).on("data",(K)=>{J.addRow(K.map(I))}).on("end",()=>{Q.emit("worksheet",J)});Q.on("worksheet",q).on("error",z),$.pipe(Q)})}createInputStream(){throw Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write($,Y){return new Promise((q,z)=>{Y=Y||{};let J=this.workbook.getWorksheet(Y.sheetName||Y.sheetId),U=KH0.format(Y.formatterOptions);$.on("finish",()=>{q()}),U.on("error",z),U.pipe($);let{dateFormat:I,dateUTC:Q}=Y,K=Y.map||((Z)=>{if(Z){if(Z.text||Z.hyperlink)return Z.hyperlink||Z.text||"";if(Z.formula||Z.result)return Z.result||"";if(Z instanceof Date){if(I)return Q?uG.utc(Z).format(I):uG(Z).format(I);return Q?uG.utc(Z).format():uG(Z).format()}if(Z.error)return Z.error;if(typeof Z==="object")return JSON.stringify(Z)}return Z}),G=Y.includeEmptyRows===void 0||Y.includeEmptyRows,H=1;if(J)J.eachRow((Z,V)=>{if(G)while(H++<V-1)U.write([]);let{values:X}=Z;X.shift(),U.write(X.map(K)),H=V});U.end()})}writeFile($,Y){Y=Y||{};let q={encoding:Y.encoding||"utf8"},z=QH0.createWriteStream($,q);return this.write(z,Y)}async writeBuffer($){let Y=new pK1;return await this.write(Y,$),Y.read()}}HH0.exports=GH0});var LH0=M((s84,VH0)=>{var WH0=M80(),lK1=ov(),oK1=uy(),rK1=ZH0();class XH0{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new lK1}get xlsx(){if(!this._xlsx)this._xlsx=new oK1(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new rK1(this);return this._csv}get nextId(){for(let $=1;$<this._worksheets.length;$++)if(!this._worksheets[$])return $;return this._worksheets.length||1}addWorksheet($,Y){let q=this.nextId;if(Y){if(typeof Y==="string")console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),Y={properties:{tabColor:{argb:Y}}};else if(Y.argb||Y.theme||Y.indexed)console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),Y={properties:{tabColor:Y}}}let z=this._worksheets.reduce((I,Q)=>(Q&&Q.orderNo)>I?Q.orderNo:I,0),J=Object.assign({},Y,{id:q,name:$,orderNo:z+1,workbook:this}),U=new WH0(J);return this._worksheets[q]=U,U}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let Y=this.getWorksheet($);if(Y)Y.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,Y)=>$.orderNo-Y.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((Y)=>{$(Y,Y.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let Y=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),Y}getImage($){return this.media[$]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(($)=>$.model),sheets:this.worksheets.map(($)=>$.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model($){this.creator=$.creator,this.lastModifiedBy=$.lastModifiedBy,this.lastPrinted=$.lastPrinted,this.created=$.created,this.modified=$.modified,this.company=$.company,this.manager=$.manager,this.title=$.title,this.subject=$.subject,this.keywords=$.keywords,this.category=$.category,this.description=$.description,this.language=$.language,this.revision=$.revision,this.contentStatus=$.contentStatus,this.properties=$.properties,this.calcProperties=$.calcProperties,this._worksheets=[],$.worksheets.forEach((Y)=>{let{id:q,name:z,state:J}=Y,U=$.sheets&&$.sheets.findIndex((Q)=>Q.id===q),I=this._worksheets[q]=new WH0({id:q,name:z,orderNo:U,state:J,workbook:this});I.model=Y}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}VH0.exports=XH0});var OH0=M((t84,FH0)=>{var sK1=uy();class wH0{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new sK1(this);return this._xlsx}}FH0.exports=wH0});var NH0=M((a84,MH0)=>{var tK1=typeof process==="object"&&process&&process.platform==="win32";MH0.exports=tK1?{sep:"\\"}:{sep:"/"}});var TH0=M((e84,BH0)=>{BH0.exports=PH0;function PH0($,Y,q){if($ instanceof RegExp)$=DH0($,q);if(Y instanceof RegExp)Y=DH0(Y,q);var z=AH0($,Y,q);return z&&{start:z[0],end:z[1],pre:q.slice(0,z[0]),body:q.slice(z[0]+$.length,z[1]),post:q.slice(z[1]+Y.length)}}function DH0($,Y){var q=Y.match($);return q?q[0]:null}PH0.range=AH0;function AH0($,Y,q){var z,J,U,I,Q,K=q.indexOf($),G=q.indexOf(Y,K+1),H=K;if(K>=0&&G>0){if($===Y)return[K,G];z=[],U=q.length;while(H>=0&&!Q){if(H==K)z.push(H),K=q.indexOf($,H+1);else if(z.length==1)Q=[z.pop(),G];else{if(J=z.pop(),J<U)U=J,I=G;G=q.indexOf(Y,H+1)}H=K<G&&K>=0?K:G}if(z.length)Q=[U,I]}return Q}});var gH0=M(($$4,hH0)=>{var EH0=TH0();hH0.exports=qG1;var jH0="\x00SLASH"+Math.random()+"\x00",_H0="\x00OPEN"+Math.random()+"\x00",cx="\x00CLOSE"+Math.random()+"\x00",RH0="\x00COMMA"+Math.random()+"\x00",CH0="\x00PERIOD"+Math.random()+"\x00",aK1=1e5,eK1=4000000;function ix($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function $G1($){return $.split("\\\\").join(jH0).split("\\{").join(_H0).split("\\}").join(cx).split("\\,").join(RH0).split("\\.").join(CH0)}function YG1($){return $.split(jH0).join("\\").split(_H0).join("{").split(cx).join("}").split(RH0).join(",").split(CH0).join(".")}function vH0($){if(!$)return[""];var Y=[],q=EH0("{","}",$);if(!q)return $.split(",");var{pre:z,body:J,post:U}=q,I=z.split(",");I[I.length-1]+="{"+J+"}";var Q=vH0(U);if(U.length)I[I.length-1]+=Q.shift(),I.push.apply(I,Q);return Y.push.apply(Y,I),Y}function qG1($,Y){if(!$)return[];Y=Y||{};var q=Y.max==null?aK1:Y.max,z=Y.maxLength==null?eK1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return nx($G1($),q,z,!0).map(YG1)}function zG1($){return"{"+$+"}"}function JG1($){return/^-?0\d/.test($)}function UG1($,Y){return $<=Y}function IG1($,Y){return $>=Y}function fG($,Y,q,z,J,U){var I=[],Q=0;for(var K=0;K<$.length;K++)for(var G=0;G<q.length;G++){if(I.length>=z)return I;var H=$[K]+Y+q[G];if(U&&!H)continue;if(Q+H.length>J)return I;I.push(H),Q+=H.length}return I}function QG1($,Y,q,z){var J=$.split(/\.\./),U=[];if(J[0]===void 0||J[1]===void 0)return U;var I=ix(J[0]),Q=ix(J[1]),K=Math.max(J[0].length,J[1].length),G=J.length===3&&J[2]!==void 0?Math.max(Math.abs(ix(J[2])),1):1,H=UG1,Z=Q<I;if(Z)G*=-1,H=IG1;var V=J.some(JG1),X=0;for(var L=I;H(L,Q)&&U.length<q;L+=G){var w;if(Y){if(w=String.fromCharCode(L),w==="\\")w=""}else if(w=String(L),V){var F=K-w.length;if(F>0){var O=Array(F+1).join("0");if(L<0)w="-"+O+w.slice(1);else w=O+w}}if(X+w.length>z)break;U.push(w),X+=w.length}return U}function nx($,Y,q,z){var J=[""],U=!1,I=!0;for(;;){let A=EH0("{","}",$);if(!A)return fG(J,$,[""],Y,q,U);let E=A.pre;if(/\$$/.test(E)){if(J=fG(J,E+"{"+A.body+"}",[""],Y,q,U&&!A.post.length),I=!1,!A.post.length)break;$=A.post;continue}var Q=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),K=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),G=Q||K,H=A.body.indexOf(",")>=0;if(!G&&!H){if(A.post.match(/,(?!,).*\}/)){$=A.pre+"{"+A.body+cx+A.post,z=!0;continue}return fG(J,E+"{"+A.body+"}"+A.post,[""],Y,q,U)}if(I)U=z&&!G,I=!1;var Z;if(G)Z=QG1(A.body,K,Y,q);else{var V=vH0(A.body);if(V.length===1&&V[0]!==void 0){if(V=nx(V[0],Y,q,!1).map(zG1),V.length===1){if(J=fG(J,E+V[0],[""],Y,q,U&&!A.post.length),!A.post.length)break;$=A.post;continue}}var X=U&&!A.post.length&&!E;for(var L=0;X&&L<J.length;L++)if(J[L])X=!1;Z=[];var w=0;$:for(var F=0;F<V.length;F++){var O=nx(V[F],Y,q,!1);for(var P=0;P<O.length;P++){var B=O[P];if(X&&!B)continue;if(Z.length>=Y||w+B.length>q)break $;Z.push(B),w+=B.length}}}if(J=fG(J,E,Z,Y,q,U&&!A.post.length),!A.post.length)break;$=A.post}return J}});var fH0=M((Y$4,ox)=>{var K$=ox.exports=($,Y,q={})=>{if(bO(Y),!q.nocomment&&Y.charAt(0)==="#")return!1;return new bG(Y,q).match($)};ox.exports=K$;var mx=NH0();K$.sep=mx.sep;var B8=Symbol("globstar **");K$.GLOBSTAR=B8;var KG1=gH0(),SH0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},lx="[^/]",px=lx+"*?",GG1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",HG1="(?:(?!(?:\\/|^)\\.).)*?",kH0=($)=>$.split("").reduce((Y,q)=>{return Y[q]=!0,Y},{}),yH0=kH0("().*{}+?[]^$\\!"),ZG1=kH0("[.("),xH0=/\/+/;K$.filter=($,Y={})=>(q,z,J)=>K$(q,$,Y);var B7=($,Y={})=>{let q={};return Object.keys($).forEach((z)=>q[z]=$[z]),Object.keys(Y).forEach((z)=>q[z]=Y[z]),q};K$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return K$;let Y=K$,q=(z,J,U)=>Y(z,J,B7($,U));return q.Minimatch=class extends Y.Minimatch{constructor(J,U){super(J,B7($,U))}},q.Minimatch.defaults=(z)=>Y.defaults(B7($,z)).Minimatch,q.filter=(z,J)=>Y.filter(z,B7($,J)),q.defaults=(z)=>Y.defaults(B7($,z)),q.makeRe=(z,J)=>Y.makeRe(z,B7($,J)),q.braceExpand=(z,J)=>Y.braceExpand(z,B7($,J)),q.match=(z,J,U)=>Y.match(z,J,B7($,U)),q};K$.braceExpand=($,Y)=>uH0($,Y);var uH0=($,Y={})=>{if(bO($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return KG1($)},WG1=65536,bO=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>WG1)throw TypeError("pattern is too long")},dx=Symbol("subparse");K$.makeRe=($,Y)=>new bG($,Y||{}).makeRe();K$.match=($,Y,q={})=>{let z=new bG(Y,q);if($=$.filter((J)=>z.match(J)),z.options.nonull&&!$.length)$.push(Y);return $};var XG1=($)=>$.replace(/\\(.)/g,"$1"),VG1=($)=>$.replace(/\\([^-\]])/g,"$1"),LG1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),wG1=($)=>$.replace(/[[\]\\]/g,"\\$&");class bG{constructor($,Y){if(bO($),!Y)Y={};if(this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}debug(){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let q=this.globSet=this.braceExpand();if(Y.debug)this.debug=(...z)=>console.error(...z);this.debug(this.pattern,q),q=this.globParts=q.map((z)=>z.split(xH0)),this.debug(this.pattern,q),q=q.map((z,J,U)=>z.map(this.parse,this)),this.debug(this.pattern,q),q=q.filter((z)=>z.indexOf(!1)===-1),this.debug(this.pattern,q),this.set=q}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,Y=!1,q=0;for(let z=0;z<$.length&&$.charAt(z)==="!";z++)Y=!Y,q++;if(q)this.pattern=$.slice(q);this.negate=Y}matchOne($,Y,q){if(Y.indexOf(B8)!==-1)return this._matchGlobstar($,Y,q,0,0);return this._matchOne($,Y,q,0,0)}_matchGlobstar($,Y,q,z,J){let U=-1;for(let O=J;O<Y.length;O++)if(Y[O]===B8){U=O;break}let I=-1;for(let O=Y.length-1;O>=0;O--)if(Y[O]===B8){I=O;break}let Q=Y.slice(J,U),K=q?Y.slice(U+1):Y.slice(U+1,I),G=q?[]:Y.slice(I+1);if(Q.length){let O=$.slice(z,z+Q.length);if(!this._matchOne(O,Q,q,0,0))return!1;z+=Q.length}let H=0;if(G.length){if(G.length+z>$.length)return!1;let O=$.length-G.length;if(this._matchOne($,G,q,O,0))H=G.length;else{if($[$.length-1]!==""||z+G.length===$.length)return!1;if(!this._matchOne($,G,q,O-1,0))return!1;H=G.length+1}}if(!K.length){let O=!!H;for(let P=z;P<$.length-H;P++){let B=String($[P]);if(O=!0,B==="."||B===".."||!this.options.dot&&B.charAt(0)===".")return!1}return q||O}let Z=[[[],0]],V=Z[0],X=0,L=[0];for(let O of K)if(O===B8)L.push(X),V=[[],0],Z.push(V);else V[0].push(O),X++;let w=Z.length-1,F=$.length-H;for(let O of Z)O[1]=F-(L[w--]+O[0].length);return!!this._matchGlobStarBodySections($,Z,z,0,q,0,!!H)}_matchGlobStarBodySections($,Y,q,z,J,U,I){let Q=Y[z];if(!Q){for(let H=q;H<$.length;H++){I=!0;let Z=$[H];if(Z==="."||Z===".."||!this.options.dot&&Z.charAt(0)===".")return!1}return I}let[K,G]=Q;while(q<=G){if(this._matchOne($.slice(0,q+K.length),K,J,q,0)&&U<this.maxGlobstarRecursion){let V=this._matchGlobStarBodySections($,Y,q+K.length,z+1,J,U+1,I);if(V!==!1)return V}let Z=$[q];if(Z==="."||Z===".."||!this.options.dot&&Z.charAt(0)===".")return!1;q++}return J||null}_matchOne($,Y,q,z,J){let U,I,Q,K;for(U=z,I=J,Q=$.length,K=Y.length;U<Q&&I<K;U++,I++){this.debug("matchOne loop");let G=Y[I],H=$[U];if(this.debug(Y,G,H),G===!1||G===B8)return!1;let Z;if(typeof G==="string")Z=H===G,this.debug("string match",G,H,Z);else Z=H.match(G),this.debug("pattern match",G,H,Z);if(!Z)return!1}if(U===Q&&I===K)return!0;else if(U===Q)return q;else if(I===K)return U===Q-1&&$[U]==="";throw Error("wtf?")}braceExpand(){return uH0(this.pattern,this.options)}parse($,Y){bO($);let q=this.options;if($==="**")if(!q.noglobstar)return B8;else $="*";if($==="")return"";let z="",J=!1,U=!1,I=[],Q=[],K,G=!1,H=-1,Z=-1,V,X,L,w=$.charAt(0)===".",F=q.dot||w,O=()=>w?"":F?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",P=(y)=>y.charAt(0)==="."?"":q.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",B=()=>{if(K){switch(K){case"*":z+=px,J=!0;break;case"?":z+=lx,J=!0;break;default:z+="\\"+K;break}this.debug("clearStateChar %j %j",K,z),K=!1}};for(let y=0,v;y<$.length&&(v=$.charAt(y));y++){if(this.debug("%s\t%s %s %j",$,y,z,v),U){if(v==="/")return!1;if(yH0[v])z+="\\";z+=v,U=!1;continue}switch(v){case"/":return!1;case"\\":if(G&&$.charAt(y+1)==="-"){z+=v;continue}B(),U=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,y,z,v),G){if(this.debug(" in class"),v==="!"&&y===Z+1)v="^";z+=v;continue}if(v==="*"&&K==="*")continue;if(this.debug("call clearStateChar %j",K),B(),K=v,q.noext)B();continue;case"(":{if(G){z+="(";continue}if(!K){z+="\\(";continue}let k={type:K,start:y-1,reStart:z.length,open:SH0[K].open,close:SH0[K].close};if(this.debug(this.pattern,"\t",k),I.push(k),z+=k.open,k.start===0&&k.type!=="!")w=!0,z+=P($.slice(y+1));this.debug("plType %j %j",K,z),K=!1;continue}case")":{let k=I[I.length-1];if(G||!k){z+="\\)";continue}if(I.pop(),B(),J=!0,X=k,z+=X.close,X.type==="!")Q.push(Object.assign(X,{reEnd:z.length}));continue}case"|":{let k=I[I.length-1];if(G||!k){z+="\\|";continue}if(B(),z+="|",k.start===0&&k.type!=="!")w=!0,z+=P($.slice(y+1));continue}case"[":if(B(),G){z+="\\"+v;continue}G=!0,Z=y,H=z.length,z+=v;continue;case"]":if(y===Z+1||!G){z+="\\"+v;continue}V=$.substring(Z+1,y);try{RegExp("["+wG1(VG1(V))+"]"),z+=v}catch(k){z=z.substring(0,H)+"(?:$.)"}J=!0,G=!1;continue;default:if(B(),yH0[v]&&!(v==="^"&&G))z+="\\";z+=v;break}}if(G)V=$.slice(Z+1),L=this.parse(V,dx),z=z.substring(0,H)+"\\["+L[0],J=J||L[1];for(X=I.pop();X;X=I.pop()){let y;y=z.slice(X.reStart+X.open.length),this.debug("setting tail",z,X),y=y.replace(/((?:\\{2}){0,64})(\\?)\|/g,(k,C,c)=>{if(!c)c="\\";return C+C+c+"|"}),this.debug(`tail=%j
%s`,y,y,X,z);let v=X.type==="*"?px:X.type==="?"?lx:"\\"+X.type;J=!0,z=z.slice(0,X.reStart)+v+"\\("+y}if(B(),U)z+="\\\\";let A=ZG1[z.charAt(0)];for(let y=Q.length-1;y>-1;y--){let v=Q[y],k=z.slice(0,v.reStart),C=z.slice(v.reStart,v.reEnd-8),c=z.slice(v.reEnd),n=z.slice(v.reEnd-8,v.reEnd)+c,g=k.split(")").length,b=k.split("(").length-g,i=c;for(let j=0;j<b;j++)i=i.replace(/\)[+*?]?/,"");c=i;let $0=c===""&&Y!==dx?"(?:$|\\/)":"";z=k+C+c+$0+n}if(z!==""&&J)z="(?=.)"+z;if(A)z=O()+z;if(Y===dx)return[z,J];if(q.nocase&&!J)J=$.toUpperCase()!==$.toLowerCase();if(!J)return XG1($);let E=q.nocase?"i":"";try{return Object.assign(new RegExp("^"+z+"$",E),{_glob:$,_src:z})}catch(y){return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let $=this.set;if(!$.length)return this.regexp=!1,this.regexp;let Y=this.options,q=Y.noglobstar?px:Y.dot?GG1:HG1,z=Y.nocase?"i":"",J=$.map((U)=>{return U=U.map((I)=>typeof I==="string"?LG1(I):I===B8?B8:I._src).reduce((I,Q)=>{if(!(I[I.length-1]===B8&&Q===B8))I.push(Q);return I},[]),U.forEach((I,Q)=>{if(I!==B8||U[Q-1]===B8)return;if(Q===0)if(U.length>1)U[Q+1]="(?:\\/|"+q+"\\/)?"+U[Q+1];else U[Q]=q;else if(Q===U.length-1)U[Q-1]+="(?:\\/|"+q+")?";else U[Q-1]+="(?:\\/|\\/"+q+"\\/)"+U[Q+1],U[Q+1]=B8}),U.filter((I)=>I!==B8).join("/")}).join("|");if(J="^(?:"+J+")$",this.negate)J="^(?!"+J+").*$";try{this.regexp=new RegExp(J,z)}catch(U){this.regexp=!1}return this.regexp}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let q=this.options;if(mx.sep!=="/")$=$.split(mx.sep).join("/");$=$.split(xH0),this.debug(this.pattern,"split",$);let z=this.set;this.debug(this.pattern,"set",z);let J;for(let U=$.length-1;U>=0;U--)if(J=$[U],J)break;for(let U=0;U<z.length;U++){let I=z[U],Q=$;if(q.matchBase&&I.length===1)Q=[J];if(this.matchOne(Q,I,Y)){if(q.flipNegate)return!0;return!this.negate}}if(q.flipNegate)return!1;return this.negate}static defaults($){return K$.defaults($).Minimatch}}K$.Minimatch=bG});var pH0=M((q$4,cH0)=>{cH0.exports=nH0;var sx=m("fs"),{EventEmitter:FG1}=m("events"),{Minimatch:rx}=fH0(),{resolve:OG1}=m("path");function MG1($,Y){return new Promise((q,z)=>{sx.readdir($,{withFileTypes:!0},(J,U)=>{if(J)switch(J.code){case"ENOTDIR":if(Y)z(J);else q([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":q([]);break;case"ELOOP":default:z(J);break}else q(U)})})}function bH0($,Y){return new Promise((q,z)=>{(Y?sx.stat:sx.lstat)($,(U,I)=>{if(U)switch(U.code){case"ENOENT":if(Y)q(bH0($,!1));else q(null);break;default:q(null);break}else q(I)})})}async function*iH0($,Y,q,z,J,U){let I=await MG1(Y+$,U);for(let Q of I){let K=Q.name;if(K===void 0)K=Q,z=!0;let G=$+"/"+K,H=G.slice(1),Z=Y+"/"+H,V=null;if(z||q)V=await bH0(Z,q);if(!V&&Q.name!==void 0)V=Q;if(V===null)V={isDirectory:()=>!1};if(V.isDirectory()){if(!J(H))yield{relative:H,absolute:Z,stats:V},yield*iH0(G,Y,q,z,J,!1)}else yield{relative:H,absolute:Z,stats:V}}}async function*NG1($,Y,q,z){yield*iH0("",$,Y,q,z,!0)}function DG1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}class tx extends FG1{constructor($,Y,q){super();if(typeof Y==="function")q=Y,Y=null;if(this.options=DG1(Y||{}),this.matchers=[],this.options.pattern){let z=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=z.map((J)=>new rx(J,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let z=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=z.map((J)=>new rx(J,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let z=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=z.map((J)=>new rx(J,{dot:!0}))}if(this.iterator=NG1(OG1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,q)this._matches=[],this.on("match",(z)=>this._matches.push(this.options.absolute?z.absolute:z.relative)),this.on("error",(z)=>q(z)),this.on("end",()=>q(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let q=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((z)=>z.match(q)))&&!this.ignoreMatchers.some((z)=>z.match(q))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,Y)){let q=$.value.relative,z=$.value.absolute;if(this.options.mark&&Y)q+="/",z+="/";if(this.options.stat)this.emit("match",{relative:q,absolute:z,stat:$.value.stats});else this.emit("match",{relative:q,absolute:z})}this._next(this.iterator)}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function nH0($,Y,q){return new tx($,Y,q)}nH0.ReaddirGlob=tx});var ax=M((iO,dH0)=>{(function($,Y){typeof iO==="object"&&typeof dH0<"u"?Y(iO):typeof define==="function"&&define.amd?define(["exports"],Y):($=typeof globalThis<"u"?globalThis:$||self,Y($.async={}))})(iO,function($){function Y(R,...S){return(...f)=>R(...S,...f)}function q(R){return function(...S){var f=S.pop();return R.call(this,S,f)}}var z=typeof queueMicrotask==="function"&&queueMicrotask,J=typeof setImmediate==="function"&&setImmediate,U=typeof process==="object"&&typeof process.nextTick==="function";function I(R){setTimeout(R,0)}function Q(R){return(S,...f)=>R(()=>S(...f))}var K;if(z)K=queueMicrotask;else if(J)K=setImmediate;else if(U)K=process.nextTick;else K=I;var G=Q(K);function H(R){if(X(R))return function(...S){let f=S.pop(),s=R.apply(this,S);return Z(s,f)};return q(function(S,f){var s;try{s=R.apply(this,S)}catch(U0){return f(U0)}if(s&&typeof s.then==="function")return Z(s,f);else f(null,s)})}function Z(R,S){return R.then((f)=>{V(S,null,f)},(f)=>{V(S,f&&(f instanceof Error||f.message)?f:Error(f))})}function V(R,S,f){try{R(S,f)}catch(s){G((U0)=>{throw U0},s)}}function X(R){return R[Symbol.toStringTag]==="AsyncFunction"}function L(R){return R[Symbol.toStringTag]==="AsyncGenerator"}function w(R){return typeof R[Symbol.asyncIterator]==="function"}function F(R){if(typeof R!=="function")throw Error("expected a function");return X(R)?H(R):R}function O(R,S){if(!S)S=R.length;if(!S)throw Error("arity is undefined");function f(...s){if(typeof s[S-1]==="function")return R.apply(this,s);return new Promise((U0,Q0)=>{s[S-1]=(W0,...X0)=>{if(W0)return Q0(W0);U0(X0.length>1?X0:X0[0])},R.apply(this,s)})}return f}function P(R){return function(f,...s){return O(function(Q0){var W0=this;return R(f,(X0,M0)=>{F(X0).apply(W0,s.concat(M0))},Q0)})}}function B(R,S,f,s){S=S||[];var U0=[],Q0=0,W0=F(f);return R(S,(X0,M0,k0)=>{var P1=Q0++;W0(X0,(S1,T1)=>{U0[P1]=T1,k0(S1)})},(X0)=>{s(X0,U0)})}function A(R){return R&&typeof R.length==="number"&&R.length>=0&&R.length%1===0}let E={};function y(R){function S(...f){if(R===null)return;var s=R;R=null,s.apply(this,f)}return Object.assign(S,R),S}function v(R){return R[Symbol.iterator]&&R[Symbol.iterator]()}function k(R){var S=-1,f=R.length;return function(){return++S<f?{value:R[S],key:S}:null}}function C(R){var S=-1;return function(){var s=R.next();if(s.done)return null;return S++,{value:s.value,key:S}}}function c(R){var S=R?Object.keys(R):[],f=-1,s=S.length;return function U0(){var Q0=S[++f];if(Q0==="__proto__")return U0();return f<s?{value:R[Q0],key:Q0}:null}}function n(R){if(A(R))return k(R);var S=v(R);return S?C(S):c(R)}function g(R){return function(...S){if(R===null)throw Error("Callback was already called.");var f=R;R=null,f.apply(this,S)}}function b(R,S,f,s){let U0=!1,Q0=!1,W0=!1,X0=0,M0=0;function k0(){if(X0>=S||W0||U0)return;W0=!0,R.next().then(({value:T1,done:w$})=>{if(Q0||U0)return;if(W0=!1,w$){if(U0=!0,X0<=0)s(null);return}X0++,f(T1,M0,P1),M0++,k0()}).catch(S1)}function P1(T1,w$){if(X0-=1,Q0)return;if(T1)return S1(T1);if(T1===!1){U0=!0,Q0=!0;return}if(w$===E||U0&&X0<=0)return U0=!0,s(null);k0()}function S1(T1){if(Q0)return;W0=!1,U0=!0,s(T1)}k0()}var i=(R)=>{return(S,f,s)=>{if(s=y(s),R<=0)throw RangeError("concurrency limit cannot be less than 1");if(!S)return s(null);if(L(S))return b(S,R,f,s);if(w(S))return b(S[Symbol.asyncIterator](),R,f,s);var U0=n(S),Q0=!1,W0=!1,X0=0,M0=!1;function k0(S1,T1){if(W0)return;if(X0-=1,S1)Q0=!0,s(S1);else if(S1===!1)Q0=!0,W0=!0;else if(T1===E||Q0&&X0<=0)return Q0=!0,s(null);else if(!M0)P1()}function P1(){M0=!0;while(X0<R&&!Q0){var S1=U0();if(S1===null){if(Q0=!0,X0<=0)s(null);return}X0+=1,f(S1.value,S1.key,g(k0))}M0=!1}P1()}};function $0(R,S,f,s){return i(S)(R,F(f),s)}var j=O($0,4);function u(R,S,f){f=y(f);var s=0,U0=0,{length:Q0}=R,W0=!1;if(Q0===0)f(null);function X0(M0,k0){if(M0===!1)W0=!0;if(W0===!0)return;if(M0)f(M0);else if(++U0===Q0||k0===E)f(null)}for(;s<Q0;s++)S(R[s],s,g(X0))}function p(R,S,f){return j(R,1/0,S,f)}function d(R,S,f){var s=A(R)?u:p;return s(R,F(S),f)}var q0=O(d,3);function t(R,S,f){return B(q0,R,S,f)}var H0=O(t,3),L0=P(H0);function T0(R,S,f){return j(R,1,S,f)}var C0=O(T0,3);function j0(R,S,f){return B(C0,R,S,f)}var i0=O(j0,3),K0=P(i0);let v0=Symbol("promiseCallback");function f0(){let R,S;function f(s,...U0){if(s)return S(s);R(U0.length>1?U0:U0[0])}return f[v0]=new Promise((s,U0)=>{R=s,S=U0}),f}function c0(R,S,f){if(typeof S!=="number")f=S,S=null;f=y(f||f0());var s=Object.keys(R).length;if(!s)return f(null);if(!S)S=s;var U0={},Q0=0,W0=!1,X0=!1,M0=Object.create(null),k0=[],P1=[],S1={};Object.keys(R).forEach((S0)=>{var d0=R[S0];if(!Array.isArray(d0)){T1(S0,[d0]),P1.push(S0);return}var E1=d0.slice(0,d0.length-1),C4=E1.length;if(C4===0){T1(S0,d0),P1.push(S0);return}S1[S0]=C4,E1.forEach((T6)=>{if(!R[T6])throw Error("async.auto task `"+S0+"` has a non-existent dependency `"+T6+"` in "+E1.join(", "));_q(T6,()=>{if(C4--,C4===0)T1(S0,d0)})})}),y1(),w$();function T1(S0,d0){k0.push(()=>yI(S0,d0))}function w$(){if(W0)return;if(k0.length===0&&Q0===0)return f(null,U0);while(k0.length&&Q0<S){var S0=k0.shift();S0()}}function _q(S0,d0){var E1=M0[S0];if(!E1)E1=M0[S0]=[];E1.push(d0)}function X2(S0){var d0=M0[S0]||[];d0.forEach((E1)=>E1()),w$()}function yI(S0,d0){if(X0)return;var E1=g((T6,...F$)=>{if(Q0--,T6===!1){W0=!0;return}if(F$.length<2)[F$]=F$;if(T6){var Rq={};if(Object.keys(U0).forEach((V2)=>{Rq[V2]=U0[V2]}),Rq[S0]=F$,X0=!0,M0=Object.create(null),W0)return;f(T6,Rq)}else U0[S0]=F$,X2(S0)});Q0++;var C4=F(d0[d0.length-1]);if(d0.length>1)C4(U0,E1);else C4(E1)}function y1(){var S0,d0=0;while(P1.length)S0=P1.pop(),d0++,p0(S0).forEach((E1)=>{if(--S1[E1]===0)P1.push(E1)});if(d0!==s)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function p0(S0){var d0=[];return Object.keys(R).forEach((E1)=>{let C4=R[E1];if(Array.isArray(C4)&&C4.indexOf(S0)>=0)d0.push(E1)}),d0}return f[v0]}var C1=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,a0=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,r1=/,/,F1=/(=.+)?(\s*)$/;function b1(R){let S="",f=0,s=R.indexOf("*/");while(f<R.length)if(R[f]==="/"&&R[f+1]==="/"){let U0=R.indexOf(`
`,f);f=U0===-1?R.length:U0}else if(s!==-1&&R[f]==="/"&&R[f+1]==="*"){let U0=R.indexOf("*/",f);if(U0!==-1)f=U0+2,s=R.indexOf("*/",f);else S+=R[f],f++}else S+=R[f],f++;return S}function $1(R){let S=b1(R.toString()),f=S.match(C1);if(!f)f=S.match(a0);if(!f)throw Error(`could not parse args in autoInject
Source:
`+S);let[,s]=f;return s.replace(/\s/g,"").split(r1).map((U0)=>U0.replace(F1,"").trim())}function J6(R,S){var f={};return Object.keys(R).forEach((s)=>{var U0=R[s],Q0,W0=X(U0),X0=!W0&&U0.length===1||W0&&U0.length===0;if(Array.isArray(U0))Q0=[...U0],U0=Q0.pop(),f[s]=Q0.concat(Q0.length>0?M0:U0);else if(X0)f[s]=U0;else{if(Q0=$1(U0),U0.length===0&&!W0&&Q0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!W0)Q0.pop();f[s]=Q0.concat(M0)}function M0(k0,P1){var S1=Q0.map((T1)=>k0[T1]);S1.push(P1),F(U0)(...S1)}}),c0(f,S)}class a8{constructor(){this.head=this.tail=null,this.length=0}removeLink(R){if(R.prev)R.prev.next=R.next;else this.head=R.next;if(R.next)R.next.prev=R.prev;else this.tail=R.prev;return R.prev=R.next=null,this.length-=1,R}empty(){while(this.head)this.shift();return this}insertAfter(R,S){if(S.prev=R,S.next=R.next,R.next)R.next.prev=S;else this.tail=S;R.next=S,this.length+=1}insertBefore(R,S){if(S.prev=R.prev,S.next=R,R.prev)R.prev.next=S;else this.head=S;R.prev=S,this.length+=1}unshift(R){if(this.head)this.insertBefore(this.head,R);else U6(this,R)}push(R){if(this.tail)this.insertAfter(this.tail,R);else U6(this,R)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var R=this.head;while(R)yield R.data,R=R.next}remove(R){var S=this.head;while(S){var{next:f}=S;if(R(S))this.removeLink(S);S=f}return this}}function U6(R,S){R.length=1,R.head=R.tail=S}function e8(R,S,f){if(S==null)S=1;else if(S===0)throw RangeError("Concurrency must not be zero");var s=F(R),U0=0,Q0=[];let W0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function X0(p0,S0){W0[p0].push(S0)}function M0(p0,S0){let d0=(...E1)=>{k0(p0,d0),S0(...E1)};W0[p0].push(d0)}function k0(p0,S0){if(!p0)return Object.keys(W0).forEach((d0)=>W0[d0]=[]);if(!S0)return W0[p0]=[];W0[p0]=W0[p0].filter((d0)=>d0!==S0)}function P1(p0,...S0){W0[p0].forEach((d0)=>d0(...S0))}var S1=!1;function T1(p0,S0,d0,E1){if(E1!=null&&typeof E1!=="function")throw Error("task callback must be a function");y1.started=!0;var C4,T6;function F$(V2,...xI){if(V2)return d0?T6(V2):C4();if(xI.length<=1)return C4(xI[0]);C4(xI)}var Rq=y1._createTaskItem(p0,d0?F$:E1||F$);if(S0)y1._tasks.unshift(Rq);else y1._tasks.push(Rq);if(!S1)S1=!0,G(()=>{S1=!1,y1.process()});if(d0||!E1)return new Promise((V2,xI)=>{C4=V2,T6=xI})}function w$(p0){return function(S0,...d0){U0-=1;for(var E1=0,C4=p0.length;E1<C4;E1++){var T6=p0[E1],F$=Q0.indexOf(T6);if(F$===0)Q0.shift();else if(F$>0)Q0.splice(F$,1);if(T6.callback(S0,...d0),S0!=null)P1("error",S0,T6.data)}if(U0<=y1.concurrency-y1.buffer)P1("unsaturated");if(y1.idle())P1("drain");y1.process()}}function _q(p0){if(p0.length===0&&y1.idle())return G(()=>P1("drain")),!0;return!1}let X2=(p0)=>(S0)=>{if(!S0)return new Promise((d0,E1)=>{M0(p0,(C4,T6)=>{if(C4)return E1(C4);d0(T6)})});k0(p0),X0(p0,S0)};var yI=!1,y1={_tasks:new a8,_createTaskItem(p0,S0){return{data:p0,callback:S0}},*[Symbol.iterator](){yield*y1._tasks[Symbol.iterator]()},concurrency:S,payload:f,buffer:S/4,started:!1,paused:!1,push(p0,S0){if(Array.isArray(p0)){if(_q(p0))return;return p0.map((d0)=>T1(d0,!1,!1,S0))}return T1(p0,!1,!1,S0)},pushAsync(p0,S0){if(Array.isArray(p0)){if(_q(p0))return;return p0.map((d0)=>T1(d0,!1,!0,S0))}return T1(p0,!1,!0,S0)},kill(){k0(),y1._tasks.empty()},unshift(p0,S0){if(Array.isArray(p0)){if(_q(p0))return;return p0.map((d0)=>T1(d0,!0,!1,S0))}return T1(p0,!0,!1,S0)},unshiftAsync(p0,S0){if(Array.isArray(p0)){if(_q(p0))return;return p0.map((d0)=>T1(d0,!0,!0,S0))}return T1(p0,!0,!0,S0)},remove(p0){y1._tasks.remove(p0)},process(){if(yI)return;yI=!0;while(!y1.paused&&U0<y1.concurrency&&y1._tasks.length){var p0=[],S0=[],d0=y1._tasks.length;if(y1.payload)d0=Math.min(d0,y1.payload);for(var E1=0;E1<d0;E1++){var C4=y1._tasks.shift();p0.push(C4),Q0.push(C4),S0.push(C4.data)}if(U0+=1,y1._tasks.length===0)P1("empty");if(U0===y1.concurrency)P1("saturated");var T6=g(w$(p0));s(S0,T6)}yI=!1},length(){return y1._tasks.length},running(){return U0},workersList(){return Q0},idle(){return y1._tasks.length+U0===0},pause(){y1.paused=!0},resume(){if(y1.paused===!1)return;y1.paused=!1,G(y1.process)}};return Object.defineProperties(y1,{saturated:{writable:!1,value:X2("saturated")},unsaturated:{writable:!1,value:X2("unsaturated")},empty:{writable:!1,value:X2("empty")},drain:{writable:!1,value:X2("drain")},error:{writable:!1,value:X2("error")}}),y1}function w0(R,S){return e8(R,1,S)}function o(R,S,f){return e8(R,S,f)}function N(R,S,f,s){s=y(s);var U0=F(f);return C0(R,(Q0,W0,X0)=>{U0(S,Q0,(M0,k0)=>{S=k0,X0(M0)})},(Q0)=>s(Q0,S))}var D=O(N,4);function h(...R){var S=R.map(F);return function(...f){var s=this,U0=f[f.length-1];if(typeof U0=="function")f.pop();else U0=f0();return D(S,f,(Q0,W0,X0)=>{W0.apply(s,Q0.concat((M0,...k0)=>{X0(M0,k0)}))},(Q0,W0)=>U0(Q0,...W0)),U0[v0]}}function x(...R){return h(...R.reverse())}function Y0(R,S,f,s){return B(i(S),R,f,s)}var r=O(Y0,4);function z0(R,S,f,s){var U0=F(f);return r(R,S,(Q0,W0)=>{U0(Q0,(X0,...M0)=>{if(X0)return W0(X0);return W0(X0,M0)})},(Q0,W0)=>{var X0=[];for(var M0=0;M0<W0.length;M0++)if(W0[M0])X0=X0.concat(...W0[M0]);return s(Q0,X0)})}var G0=O(z0,4);function V0(R,S,f){return G0(R,1/0,S,f)}var x0=O(V0,3);function r0(R,S,f){return G0(R,1,S,f)}var l0=O(r0,3);function D1(...R){return function(...S){var f=S.pop();return f(null,...R)}}function S4(R,S){return(f,s,U0,Q0)=>{var W0=!1,X0;let M0=F(U0);f(s,(k0,P1,S1)=>{M0(k0,(T1,w$)=>{if(T1||T1===!1)return S1(T1);if(R(w$)&&!X0)return W0=!0,X0=S(!0,k0),S1(null,E);S1()})},(k0)=>{if(k0)return Q0(k0);Q0(null,W0?X0:S(!1))})}}function $8(R,S,f){return S4((s)=>s,(s,U0)=>U0)(q0,R,S,f)}var A3=O($8,3);function CI(R,S,f,s){return S4((U0)=>U0,(U0,Q0)=>Q0)(i(S),R,f,s)}var wW=O(CI,4);function MS0(R,S,f){return S4((s)=>s,(s,U0)=>U0)(i(1),R,S,f)}var FW=O(MS0,3);function ad(R){return(S,...f)=>F(S)(...f,(s,...U0)=>{if(typeof console==="object"){if(s){if(console.error)console.error(s)}else if(console[R])U0.forEach((Q0)=>console[R](Q0))}})}var ed=ad("dir");function NS0(R,S,f){f=g(f);var s=F(R),U0=F(S),Q0;function W0(M0,...k0){if(M0)return f(M0);if(M0===!1)return;Q0=k0,U0(...k0,X0)}function X0(M0,k0){if(M0)return f(M0);if(M0===!1)return;if(!k0)return f(null,...Q0);s(W0)}return X0(null,!0)}var vI=O(NS0,3);function $m(R,S,f){let s=F(S);return vI(R,(...U0)=>{let Q0=U0.pop();s(...U0,(W0,X0)=>Q0(W0,!X0))},f)}function Ym(R){return(S,f,s)=>R(S,s)}function DS0(R,S,f){return q0(R,Ym(F(S)),f)}var OW=O(DS0,3);function PS0(R,S,f,s){return i(S)(R,Ym(F(f)),s)}var hI=O(PS0,4);function AS0(R,S,f){return hI(R,1,S,f)}var gI=O(AS0,3);function LA(R){if(X(R))return R;return function(...S){var f=S.pop(),s=!0;S.push((...U0)=>{if(s)G(()=>f(...U0));else f(...U0)}),R.apply(this,S),s=!1}}function BS0(R,S,f){return S4((s)=>!s,(s)=>!s)(q0,R,S,f)}var MW=O(BS0,3);function TS0(R,S,f,s){return S4((U0)=>!U0,(U0)=>!U0)(i(S),R,f,s)}var NW=O(TS0,4);function ES0(R,S,f){return S4((s)=>!s,(s)=>!s)(C0,R,S,f)}var DW=O(ES0,3);function jS0(R,S,f,s){var U0=Array(S.length);R(S,(Q0,W0,X0)=>{f(Q0,(M0,k0)=>{U0[W0]=!!k0,X0(M0)})},(Q0)=>{if(Q0)return s(Q0);var W0=[];for(var X0=0;X0<S.length;X0++)if(U0[X0])W0.push(S[X0]);s(null,W0)})}function _S0(R,S,f,s){var U0=[];R(S,(Q0,W0,X0)=>{f(Q0,(M0,k0)=>{if(M0)return X0(M0);if(k0)U0.push({index:W0,value:Q0});X0(M0)})},(Q0)=>{if(Q0)return s(Q0);s(null,U0.sort((W0,X0)=>W0.index-X0.index).map((W0)=>W0.value))})}function PW(R,S,f,s){var U0=A(S)?jS0:_S0;return U0(R,S,F(f),s)}function RS0(R,S,f){return PW(q0,R,S,f)}var AW=O(RS0,3);function CS0(R,S,f,s){return PW(i(S),R,f,s)}var BW=O(CS0,4);function vS0(R,S,f){return PW(C0,R,S,f)}var TW=O(vS0,3);function hS0(R,S){var f=g(S),s=F(LA(R));function U0(Q0){if(Q0)return f(Q0);if(Q0===!1)return;s(U0)}return U0()}var qm=O(hS0,2);function gS0(R,S,f,s){var U0=F(f);return r(R,S,(Q0,W0)=>{U0(Q0,(X0,M0)=>{if(X0)return W0(X0);return W0(X0,{key:M0,val:Q0})})},(Q0,W0)=>{var X0={},{hasOwnProperty:M0}=Object.prototype;for(var k0=0;k0<W0.length;k0++)if(W0[k0]){var{key:P1}=W0[k0],{val:S1}=W0[k0];if(M0.call(X0,P1))X0[P1].push(S1);else X0[P1]=[S1]}return s(Q0,X0)})}var EW=O(gS0,4);function zm(R,S,f){return EW(R,1/0,S,f)}function Jm(R,S,f){return EW(R,1,S,f)}var Um=ad("log");function SS0(R,S,f,s){s=y(s);var U0={},Q0=F(f);return i(S)(R,(W0,X0,M0)=>{Q0(W0,X0,(k0,P1)=>{if(k0)return M0(k0);U0[X0]=P1,M0(k0)})},(W0)=>s(W0,U0))}var jW=O(SS0,4);function Im(R,S,f){return jW(R,1/0,S,f)}function Qm(R,S,f){return jW(R,1,S,f)}function Km(R,S=(f)=>f){var f=Object.create(null),s=Object.create(null),U0=F(R),Q0=q((W0,X0)=>{var M0=S(...W0);if(M0 in f)G(()=>X0(null,...f[M0]));else if(M0 in s)s[M0].push(X0);else s[M0]=[X0],U0(...W0,(k0,...P1)=>{if(!k0)f[M0]=P1;var S1=s[M0];delete s[M0];for(var T1=0,w$=S1.length;T1<w$;T1++)S1[T1](k0,...P1)})});return Q0.memo=f,Q0.unmemoized=R,Q0}var _W;if(U)_W=process.nextTick;else if(J)_W=setImmediate;else _W=I;var Gm=Q(_W),wA=O((R,S,f)=>{var s=A(S)?[]:{};R(S,(U0,Q0,W0)=>{F(U0)((X0,...M0)=>{if(M0.length<2)[M0]=M0;s[Q0]=M0,W0(X0)})},(U0)=>f(U0,s))},3);function Hm(R,S){return wA(q0,R,S)}function Zm(R,S,f){return wA(i(S),R,f)}function FA(R,S){var f=F(R);return e8((s,U0)=>{f(s[0],U0)},S,1)}class Wm{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(R){let S;while(R>0&&OA(this.heap[R],this.heap[S=Xm(R)])){let f=this.heap[R];this.heap[R]=this.heap[S],this.heap[S]=f,R=S}}percDown(R){let S;while((S=yS0(R))<this.heap.length){if(S+1<this.heap.length&&OA(this.heap[S+1],this.heap[S]))S=S+1;if(OA(this.heap[R],this.heap[S]))break;let f=this.heap[R];this.heap[R]=this.heap[S],this.heap[S]=f,R=S}}push(R){R.pushCount=++this.pushCount,this.heap.push(R),this.percUp(this.heap.length-1)}unshift(R){return this.heap.push(R)}shift(){let[R]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),R}toArray(){return[...this]}*[Symbol.iterator](){for(let R=0;R<this.heap.length;R++)yield this.heap[R].data}remove(R){let S=0;for(let f=0;f<this.heap.length;f++)if(!R(this.heap[f]))this.heap[S]=this.heap[f],S++;this.heap.splice(S);for(let f=Xm(this.heap.length-1);f>=0;f--)this.percDown(f);return this}}function yS0(R){return(R<<1)+1}function Xm(R){return(R+1>>1)-1}function OA(R,S){if(R.priority!==S.priority)return R.priority<S.priority;else return R.pushCount<S.pushCount}function Vm(R,S){var f=FA(R,S),{push:s,pushAsync:U0}=f;f._tasks=new Wm,f._createTaskItem=({data:W0,priority:X0},M0)=>{return{data:W0,priority:X0,callback:M0}};function Q0(W0,X0){if(!Array.isArray(W0))return{data:W0,priority:X0};return W0.map((M0)=>{return{data:M0,priority:X0}})}return f.push=function(W0,X0=0,M0){return s(Q0(W0,X0),M0)},f.pushAsync=function(W0,X0=0,M0){return U0(Q0(W0,X0),M0)},delete f.unshift,delete f.unshiftAsync,f}function xS0(R,S){if(S=y(S),!Array.isArray(R))return S(TypeError("First argument to race must be an array of functions"));if(!R.length)return S();for(var f=0,s=R.length;f<s;f++)F(R[f])(S)}var Lm=O(xS0,2);function RW(R,S,f,s){var U0=[...R].reverse();return D(U0,S,f,s)}function CW(R){var S=F(R);return q(function(s,U0){return s.push((Q0,...W0)=>{let X0={};if(Q0)X0.error=Q0;if(W0.length>0){var M0=W0;if(W0.length<=1)[M0]=W0;X0.value=M0}U0(null,X0)}),S.apply(this,s)})}function wm(R){var S;if(Array.isArray(R))S=R.map(CW);else S={},Object.keys(R).forEach((f)=>{S[f]=CW.call(this,R[f])});return S}function MA(R,S,f,s){let U0=F(f);return PW(R,S,(Q0,W0)=>{U0(Q0,(X0,M0)=>{W0(X0,!M0)})},s)}function kS0(R,S,f){return MA(q0,R,S,f)}var Fm=O(kS0,3);function uS0(R,S,f,s){return MA(i(S),R,f,s)}var Om=O(uS0,4);function fS0(R,S,f){return MA(C0,R,S,f)}var Mm=O(fS0,3);function Nm(R){return function(){return R}}let NA=5,Dm=0;function vW(R,S,f){var s={times:NA,intervalFunc:Nm(Dm)};if(arguments.length<3&&typeof R==="function")f=S||f0(),S=R;else bS0(s,R),f=f||f0();if(typeof S!=="function")throw Error("Invalid arguments for async.retry");var U0=F(S),Q0=1;function W0(){U0((X0,...M0)=>{if(X0===!1)return;if(X0&&Q0++<s.times&&(typeof s.errorFilter!="function"||s.errorFilter(X0)))setTimeout(W0,s.intervalFunc(Q0-1));else f(X0,...M0)})}return W0(),f[v0]}function bS0(R,S){if(typeof S==="object")R.times=+S.times||NA,R.intervalFunc=typeof S.interval==="function"?S.interval:Nm(+S.interval||Dm),R.errorFilter=S.errorFilter;else if(typeof S==="number"||typeof S==="string")R.times=+S||NA;else throw Error("Invalid arguments for async.retry")}function Pm(R,S){if(!S)S=R,R=null;let f=R&&R.arity||S.length;if(X(S))f+=1;var s=F(S);return q((U0,Q0)=>{if(U0.length<f-1||Q0==null)U0.push(Q0),Q0=f0();function W0(X0){s(...U0,X0)}if(R)vW(R,W0,Q0);else vW(W0,Q0);return Q0[v0]})}function Am(R,S){return wA(C0,R,S)}function iS0(R,S,f){return S4(Boolean,(s)=>s)(q0,R,S,f)}var hW=O(iS0,3);function nS0(R,S,f,s){return S4(Boolean,(U0)=>U0)(i(S),R,f,s)}var gW=O(nS0,4);function cS0(R,S,f){return S4(Boolean,(s)=>s)(C0,R,S,f)}var SW=O(cS0,3);function pS0(R,S,f){var s=F(S);return H0(R,(Q0,W0)=>{s(Q0,(X0,M0)=>{if(X0)return W0(X0);W0(X0,{value:Q0,criteria:M0})})},(Q0,W0)=>{if(Q0)return f(Q0);f(null,W0.sort(U0).map((X0)=>X0.value))});function U0(Q0,W0){var X0=Q0.criteria,M0=W0.criteria;return X0<M0?-1:X0>M0?1:0}}var Bm=O(pS0,3);function Tm(R,S,f){var s=F(R);return q((U0,Q0)=>{var W0=!1,X0;function M0(){var k0=R.name||"anonymous",P1=Error('Callback function "'+k0+'" timed out.');if(P1.code="ETIMEDOUT",f)P1.info=f;W0=!0,Q0(P1)}U0.push((...k0)=>{if(!W0)Q0(...k0),clearTimeout(X0)}),X0=setTimeout(M0,S),s(...U0)})}function dS0(R){var S=Array(R);while(R--)S[R]=R;return S}function yW(R,S,f,s){var U0=F(f);return r(dS0(R),S,U0,s)}function Em(R,S,f){return yW(R,1/0,S,f)}function jm(R,S,f){return yW(R,1,S,f)}function _m(R,S,f,s){if(arguments.length<=3&&typeof S==="function")s=f,f=S,S=Array.isArray(R)?[]:{};s=y(s||f0());var U0=F(f);return q0(R,(Q0,W0,X0)=>{U0(S,Q0,W0,X0)},(Q0)=>s(Q0,S)),s[v0]}function mS0(R,S){var f=null,s;return gI(R,(U0,Q0)=>{F(U0)((W0,...X0)=>{if(W0===!1)return Q0(W0);if(X0.length<2)[s]=X0;else s=X0;f=W0,Q0(W0?null:{})})},()=>S(f,s))}var Rm=O(mS0);function Cm(R){return(...S)=>{return(R.unmemoized||R)(...S)}}function lS0(R,S,f){f=g(f);var s=F(S),U0=F(R),Q0=[];function W0(M0,...k0){if(M0)return f(M0);if(Q0=k0,M0===!1)return;U0(X0)}function X0(M0,k0){if(M0)return f(M0);if(M0===!1)return;if(!k0)return f(null,...Q0);s(W0)}return U0(X0)}var SI=O(lS0,3);function vm(R,S,f){let s=F(R);return SI((U0)=>s((Q0,W0)=>U0(Q0,!W0)),S,f)}function oS0(R,S){if(S=y(S),!Array.isArray(R))return S(Error("First argument to waterfall must be an array of functions"));if(!R.length)return S();var f=0;function s(Q0){var W0=F(R[f++]);W0(...Q0,g(U0))}function U0(Q0,...W0){if(Q0===!1)return;if(Q0||f===R.length)return S(Q0,...W0);s(W0)}s([])}var hm=O(oS0),rS0={apply:Y,applyEach:L0,applyEachSeries:K0,asyncify:H,auto:c0,autoInject:J6,cargo:w0,cargoQueue:o,compose:x,concat:x0,concatLimit:G0,concatSeries:l0,constant:D1,detect:A3,detectLimit:wW,detectSeries:FW,dir:ed,doUntil:$m,doWhilst:vI,each:OW,eachLimit:hI,eachOf:q0,eachOfLimit:j,eachOfSeries:C0,eachSeries:gI,ensureAsync:LA,every:MW,everyLimit:NW,everySeries:DW,filter:AW,filterLimit:BW,filterSeries:TW,forever:qm,groupBy:zm,groupByLimit:EW,groupBySeries:Jm,log:Um,map:H0,mapLimit:r,mapSeries:i0,mapValues:Im,mapValuesLimit:jW,mapValuesSeries:Qm,memoize:Km,nextTick:Gm,parallel:Hm,parallelLimit:Zm,priorityQueue:Vm,queue:FA,race:Lm,reduce:D,reduceRight:RW,reflect:CW,reflectAll:wm,reject:Fm,rejectLimit:Om,rejectSeries:Mm,retry:vW,retryable:Pm,seq:h,series:Am,setImmediate:G,some:hW,someLimit:gW,someSeries:SW,sortBy:Bm,timeout:Tm,times:Em,timesLimit:yW,timesSeries:jm,transform:_m,tryEach:Rm,unmemoize:Cm,until:vm,waterfall:hm,whilst:SI,all:MW,allLimit:NW,allSeries:DW,any:hW,anyLimit:gW,anySeries:SW,find:A3,findLimit:wW,findSeries:FW,flatMap:x0,flatMapLimit:G0,flatMapSeries:l0,forEach:OW,forEachSeries:gI,forEachLimit:hI,forEachOf:q0,forEachOfSeries:C0,forEachOfLimit:j,inject:D,foldl:D,foldr:RW,select:AW,selectLimit:BW,selectSeries:TW,wrapSync:H,during:SI,doDuring:vI};$.all=MW,$.allLimit=NW,$.allSeries=DW,$.any=hW,$.anyLimit=gW,$.anySeries=SW,$.apply=Y,$.applyEach=L0,$.applyEachSeries=K0,$.asyncify=H,$.auto=c0,$.autoInject=J6,$.cargo=w0,$.cargoQueue=o,$.compose=x,$.concat=x0,$.concatLimit=G0,$.concatSeries=l0,$.constant=D1,$.default=rS0,$.detect=A3,$.detectLimit=wW,$.detectSeries=FW,$.dir=ed,$.doDuring=vI,$.doUntil=$m,$.doWhilst=vI,$.during=SI,$.each=OW,$.eachLimit=hI,$.eachOf=q0,$.eachOfLimit=j,$.eachOfSeries=C0,$.eachSeries=gI,$.ensureAsync=LA,$.every=MW,$.everyLimit=NW,$.everySeries=DW,$.filter=AW,$.filterLimit=BW,$.filterSeries=TW,$.find=A3,$.findLimit=wW,$.findSeries=FW,$.flatMap=x0,$.flatMapLimit=G0,$.flatMapSeries=l0,$.foldl=D,$.foldr=RW,$.forEach=OW,$.forEachLimit=hI,$.forEachOf=q0,$.forEachOfLimit=j,$.forEachOfSeries=C0,$.forEachSeries=gI,$.forever=qm,$.groupBy=zm,$.groupByLimit=EW,$.groupBySeries=Jm,$.inject=D,$.log=Um,$.map=H0,$.mapLimit=r,$.mapSeries=i0,$.mapValues=Im,$.mapValuesLimit=jW,$.mapValuesSeries=Qm,$.memoize=Km,$.nextTick=Gm,$.parallel=Hm,$.parallelLimit=Zm,$.priorityQueue=Vm,$.queue=FA,$.race=Lm,$.reduce=D,$.reduceRight=RW,$.reflect=CW,$.reflectAll=wm,$.reject=Fm,$.rejectLimit=Om,$.rejectSeries=Mm,$.retry=vW,$.retryable=Pm,$.select=AW,$.selectLimit=BW,$.selectSeries=TW,$.seq=h,$.series=Am,$.setImmediate=G,$.some=hW,$.someLimit=gW,$.someSeries=SW,$.sortBy=Bm,$.timeout=Tm,$.times=Em,$.timesLimit=yW,$.timesSeries=jm,$.transform=_m,$.tryEach=Rm,$.unmemoize=Cm,$.until=vm,$.waterfall=hm,$.whilst=SI,$.wrapSync=H,Object.defineProperty($,"__esModule",{value:!0})})});var lH0=M((z$4,mH0)=>{var T7=m("constants"),PG1=process.cwd,nO=null,AG1=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!nO)nO=PG1.call(process);return nO};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(cO=process.chdir,process.chdir=function($){nO=null,cO.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,cO)}var cO;mH0.exports=BG1;function BG1($){if(T7.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))Y($);if(!$.lutimes)q($);if($.chown=U($.chown),$.fchown=U($.fchown),$.lchown=U($.lchown),$.chmod=z($.chmod),$.fchmod=z($.fchmod),$.lchmod=z($.lchmod),$.chownSync=I($.chownSync),$.fchownSync=I($.fchownSync),$.lchownSync=I($.lchownSync),$.chmodSync=J($.chmodSync),$.fchmodSync=J($.fchmodSync),$.lchmodSync=J($.lchmodSync),$.stat=Q($.stat),$.fstat=Q($.fstat),$.lstat=Q($.lstat),$.statSync=K($.statSync),$.fstatSync=K($.fstatSync),$.lstatSync=K($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(H,Z,V){if(V)process.nextTick(V)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(H,Z,V,X){if(X)process.nextTick(X)},$.lchownSync=function(){};if(AG1==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(H){function Z(V,X,L){var w=Date.now(),F=0;H(V,X,function O(P){if(P&&(P.code==="EACCES"||P.code==="EPERM"||P.code==="EBUSY")&&Date.now()-w<60000){if(setTimeout(function(){$.stat(X,function(B,A){if(B&&B.code==="ENOENT")H(V,X,O);else L(P)})},F),F<100)F+=10;return}if(L)L(P)})}if(Object.setPrototypeOf)Object.setPrototypeOf(Z,H);return Z}($.rename);$.read=typeof $.read!=="function"?$.read:function(H){function Z(V,X,L,w,F,O){var P;if(O&&typeof O==="function"){var B=0;P=function(A,E,y){if(A&&A.code==="EAGAIN"&&B<10)return B++,H.call($,V,X,L,w,F,P);O.apply(this,arguments)}}return H.call($,V,X,L,w,F,P)}if(Object.setPrototypeOf)Object.setPrototypeOf(Z,H);return Z}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(H){return function(Z,V,X,L,w){var F=0;while(!0)try{return H.call($,Z,V,X,L,w)}catch(O){if(O.code==="EAGAIN"&&F<10){F++;continue}throw O}}}($.readSync);function Y(H){H.lchmod=function(Z,V,X){H.open(Z,T7.O_WRONLY|T7.O_SYMLINK,V,function(L,w){if(L){if(X)X(L);return}H.fchmod(w,V,function(F){H.close(w,function(O){if(X)X(F||O)})})})},H.lchmodSync=function(Z,V){var X=H.openSync(Z,T7.O_WRONLY|T7.O_SYMLINK,V),L=!0,w;try{w=H.fchmodSync(X,V),L=!1}finally{if(L)try{H.closeSync(X)}catch(F){}else H.closeSync(X)}return w}}function q(H){if(T7.hasOwnProperty("O_SYMLINK")&&H.futimes)H.lutimes=function(Z,V,X,L){H.open(Z,T7.O_SYMLINK,function(w,F){if(w){if(L)L(w);return}H.futimes(F,V,X,function(O){H.close(F,function(P){if(L)L(O||P)})})})},H.lutimesSync=function(Z,V,X){var L=H.openSync(Z,T7.O_SYMLINK),w,F=!0;try{w=H.futimesSync(L,V,X),F=!1}finally{if(F)try{H.closeSync(L)}catch(O){}else H.closeSync(L)}return w};else if(H.futimes)H.lutimes=function(Z,V,X,L){if(L)process.nextTick(L)},H.lutimesSync=function(){}}function z(H){if(!H)return H;return function(Z,V,X){return H.call($,Z,V,function(L){if(G(L))L=null;if(X)X.apply(this,arguments)})}}function J(H){if(!H)return H;return function(Z,V){try{return H.call($,Z,V)}catch(X){if(!G(X))throw X}}}function U(H){if(!H)return H;return function(Z,V,X,L){return H.call($,Z,V,X,function(w){if(G(w))w=null;if(L)L.apply(this,arguments)})}}function I(H){if(!H)return H;return function(Z,V,X){try{return H.call($,Z,V,X)}catch(L){if(!G(L))throw L}}}function Q(H){if(!H)return H;return function(Z,V,X){if(typeof V==="function")X=V,V=null;function L(w,F){if(F){if(F.uid<0)F.uid+=4294967296;if(F.gid<0)F.gid+=4294967296}if(X)X.apply(this,arguments)}return V?H.call($,Z,V,L):H.call($,Z,L)}}function K(H){if(!H)return H;return function(Z,V){var X=V?H.call($,Z,V):H.call($,Z);if(X){if(X.uid<0)X.uid+=4294967296;if(X.gid<0)X.gid+=4294967296}return X}}function G(H){if(!H)return!0;if(H.code==="ENOSYS")return!0;var Z=!process.getuid||process.getuid()!==0;if(Z){if(H.code==="EINVAL"||H.code==="EPERM")return!0}return!1}}});var sH0=M((J$4,rH0)=>{var oH0=m("stream").Stream;rH0.exports=TG1;function TG1($){return{ReadStream:Y,WriteStream:q};function Y(z,J){if(!(this instanceof Y))return new Y(z,J);oH0.call(this);var U=this;this.path=z,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,J=J||{};var I=Object.keys(J);for(var Q=0,K=I.length;Q<K;Q++){var G=I[Q];this[G]=J[G]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!=="number")throw TypeError("end must be a Number");if(this.start>this.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){U._read()});return}$.open(this.path,this.flags,this.mode,function(H,Z){if(H){U.emit("error",H),U.readable=!1;return}U.fd=Z,U.emit("open",Z),U._read()})}function q(z,J){if(!(this instanceof q))return new q(z,J);oH0.call(this),this.path=z,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,J=J||{};var U=Object.keys(J);for(var I=0,Q=U.length;I<Q;I++){var K=U[I];this[K]=J[K]}if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.start<0)throw Error("start must be >= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=$.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var aH0=M((U$4,tH0)=>{tH0.exports=jG1;var EG1=Object.getPrototypeOf||function($){return $.__proto__};function jG1($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var Y={__proto__:EG1($)};else var Y=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(q){Object.defineProperty(Y,q,Object.getOwnPropertyDescriptor($,q))}),Y}});var m8=M((I$4,qk)=>{var b4=m("fs"),_G1=lH0(),RG1=sH0(),CG1=aH0(),pO=m("util"),m6,mO;if(typeof Symbol==="function"&&typeof Symbol.for==="function")m6=Symbol.for("graceful-fs.queue"),mO=Symbol.for("graceful-fs.previous");else m6="___graceful-fs.queue",mO="___graceful-fs.previous";function vG1(){}function $Z0($,Y){Object.defineProperty($,m6,{get:function(){return Y}})}var wY=vG1;if(pO.debuglog)wY=pO.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))wY=function(){var $=pO.format.apply(pO,arguments);$="GFS4: "+$.split(/\n/).join(`
GFS4: `),console.error($)};if(!b4[m6]){if(ex=global[m6]||[],$Z0(b4,ex),b4.close=function($){function Y(q,z){return $.call(b4,q,function(J){if(!J)eH0();if(typeof z==="function")z.apply(this,arguments)})}return Object.defineProperty(Y,mO,{value:$}),Y}(b4.close),b4.closeSync=function($){function Y(q){$.apply(b4,arguments),eH0()}return Object.defineProperty(Y,mO,{value:$}),Y}(b4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){wY(b4[m6]),m("assert").equal(b4[m6].length,0)})}var ex;if(!global[m6])$Z0(global,b4[m6]);qk.exports=$k(CG1(b4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!b4.__patched)qk.exports=$k(b4),b4.__patched=!0;function $k($){_G1($),$.gracefulify=$k,$.createReadStream=E,$.createWriteStream=y;var Y=$.readFile;$.readFile=q;function q(C,c,n){if(typeof c==="function")n=c,c=null;return g(C,c,n);function g(b,i,$0,j){return Y(b,i,function(u){if(u&&(u.code==="EMFILE"||u.code==="ENFILE"))oJ([g,[b,i,$0],u,j||Date.now(),Date.now()]);else if(typeof $0==="function")$0.apply(this,arguments)})}}var z=$.writeFile;$.writeFile=J;function J(C,c,n,g){if(typeof n==="function")g=n,n=null;return b(C,c,n,g);function b(i,$0,j,u,p){return z(i,$0,j,function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))oJ([b,[i,$0,j,u],d,p||Date.now(),Date.now()]);else if(typeof u==="function")u.apply(this,arguments)})}}var U=$.appendFile;if(U)$.appendFile=I;function I(C,c,n,g){if(typeof n==="function")g=n,n=null;return b(C,c,n,g);function b(i,$0,j,u,p){return U(i,$0,j,function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))oJ([b,[i,$0,j,u],d,p||Date.now(),Date.now()]);else if(typeof u==="function")u.apply(this,arguments)})}}var Q=$.copyFile;if(Q)$.copyFile=K;function K(C,c,n,g){if(typeof n==="function")g=n,n=0;return b(C,c,n,g);function b(i,$0,j,u,p){return Q(i,$0,j,function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))oJ([b,[i,$0,j,u],d,p||Date.now(),Date.now()]);else if(typeof u==="function")u.apply(this,arguments)})}}var G=$.readdir;$.readdir=Z;var H=/^v[0-5]\./;function Z(C,c,n){if(typeof c==="function")n=c,c=null;var g=H.test(process.version)?function($0,j,u,p){return G($0,b($0,j,u,p))}:function($0,j,u,p){return G($0,j,b($0,j,u,p))};return g(C,c,n);function b(i,$0,j,u){return function(p,d){if(p&&(p.code==="EMFILE"||p.code==="ENFILE"))oJ([g,[i,$0,j],p,u||Date.now(),Date.now()]);else{if(d&&d.sort)d.sort();if(typeof j==="function")j.call(this,p,d)}}}}if(process.version.substr(0,4)==="v0.8"){var V=RG1($);O=V.ReadStream,B=V.WriteStream}var X=$.ReadStream;if(X)O.prototype=Object.create(X.prototype),O.prototype.open=P;var L=$.WriteStream;if(L)B.prototype=Object.create(L.prototype),B.prototype.open=A;Object.defineProperty($,"ReadStream",{get:function(){return O},set:function(C){O=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return B},set:function(C){B=C},enumerable:!0,configurable:!0});var w=O;Object.defineProperty($,"FileReadStream",{get:function(){return w},set:function(C){w=C},enumerable:!0,configurable:!0});var F=B;Object.defineProperty($,"FileWriteStream",{get:function(){return F},set:function(C){F=C},enumerable:!0,configurable:!0});function O(C,c){if(this instanceof O)return X.apply(this,arguments),this;else return O.apply(Object.create(O.prototype),arguments)}function P(){var C=this;k(C.path,C.flags,C.mode,function(c,n){if(c){if(C.autoClose)C.destroy();C.emit("error",c)}else C.fd=n,C.emit("open",n),C.read()})}function B(C,c){if(this instanceof B)return L.apply(this,arguments),this;else return B.apply(Object.create(B.prototype),arguments)}function A(){var C=this;k(C.path,C.flags,C.mode,function(c,n){if(c)C.destroy(),C.emit("error",c);else C.fd=n,C.emit("open",n)})}function E(C,c){return new $.ReadStream(C,c)}function y(C,c){return new $.WriteStream(C,c)}var v=$.open;$.open=k;function k(C,c,n,g){if(typeof n==="function")g=n,n=null;return b(C,c,n,g);function b(i,$0,j,u,p){return v(i,$0,j,function(d,q0){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))oJ([b,[i,$0,j,u],d,p||Date.now(),Date.now()]);else if(typeof u==="function")u.apply(this,arguments)})}}return $}function oJ($){wY("ENQUEUE",$[0].name,$[1]),b4[m6].push($),Yk()}var dO;function eH0(){var $=Date.now();for(var Y=0;Y<b4[m6].length;++Y)if(b4[m6][Y].length>2)b4[m6][Y][3]=$,b4[m6][Y][4]=$;Yk()}function Yk(){if(clearTimeout(dO),dO=void 0,b4[m6].length===0)return;var $=b4[m6].shift(),Y=$[0],q=$[1],z=$[2],J=$[3],U=$[4];if(J===void 0)wY("RETRY",Y.name,q),Y.apply(null,q);else if(Date.now()-J>=60000){wY("TIMEOUT",Y.name,q);var I=q.pop();if(typeof I==="function")I.call(null,z)}else{var Q=Date.now()-U,K=Math.max(U-J,1),G=Math.min(K*1.2,100);if(Q>=G)wY("RETRY",Y.name,q),Y.apply(null,q.concat([J]));else b4[m6].push($)}if(dO===void 0)dO=setTimeout(Yk,0)}});var qZ0=M((Q$4,zk)=>{function hG1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var YZ0=$6().Buffer,iG=m("util");function gG1($,Y,q){$.copy(Y,q)}zk.exports=function(){function $(){hG1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(q){var z={data:q,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(q){var z={data:q,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,q},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(q){if(this.length===0)return"";var z=this.head,J=""+z.data;while(z=z.next)J+=q+z.data;return J},$.prototype.concat=function(q){if(this.length===0)return YZ0.alloc(0);var z=YZ0.allocUnsafe(q>>>0),J=this.head,U=0;while(J)gG1(J.data,z,U),U+=J.data.length,J=J.next;return z},$}();if(iG&&iG.inspect&&iG.inspect.custom)zk.exports.prototype[iG.inspect.custom]=function(){var $=iG.inspect({length:this.length});return this.constructor.name+" "+$}});var Jk=M((K$4,zZ0)=>{var lO=e4();function SG1($,Y){var q=this,z=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(z||J){if(Y)Y($);else if($){if(!this._writableState)lO.nextTick(oO,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,lO.nextTick(oO,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(U){if(!Y&&U){if(!q._writableState)lO.nextTick(oO,q,U);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,lO.nextTick(oO,q,U)}else if(Y)Y(U)}),this}function yG1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function oO($,Y){$.emit("error",Y)}zZ0.exports={destroy:SG1,undestroy:yG1}});var Ik=M((G$4,ZZ0)=>{var FY=e4();ZZ0.exports=K6;function UZ0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){eG1(Y,$)}}var xG1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:FY.nextTick,rJ;K6.WritableState=cG;var IZ0=Object.create(W4());IZ0.inherits=m0();var kG1={deprecate:r3()},QZ0=m("stream"),sO=$6().Buffer,uG1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function fG1($){return sO.from($)}function bG1($){return sO.isBuffer($)||$ instanceof uG1}var KZ0=Jk();IZ0.inherits(K6,QZ0);function iG1(){}function cG($,Y){rJ=rJ||OY(),$=$||{};var q=Y instanceof rJ;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){oG1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new UZ0(this)}cG.prototype.getBuffer=function(){var Y=this.bufferedRequest,q=[];while(Y)q.push(Y),Y=Y.next;return q};(function(){try{Object.defineProperty(cG.prototype,"buffer",{get:kG1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var rO;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")rO=Function.prototype[Symbol.hasInstance],Object.defineProperty(K6,Symbol.hasInstance,{value:function($){if(rO.call(this,$))return!0;if(this!==K6)return!1;return $&&$._writableState instanceof cG}});else rO=function($){return $ instanceof this};function K6($){if(rJ=rJ||OY(),!rO.call(K6,this)&&!(this instanceof rJ))return new K6($);if(this._writableState=new cG($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}QZ0.call(this)}K6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function nG1($,Y){var q=Error("write after end");$.emit("error",q),FY.nextTick(Y,q)}function cG1($,Y,q,z){var J=!0,U=!1;if(q===null)U=TypeError("May not write null values to stream");else if(typeof q!=="string"&&q!==void 0&&!Y.objectMode)U=TypeError("Invalid non-string/buffer chunk");if(U)$.emit("error",U),FY.nextTick(z,U),J=!1;return J}K6.prototype.write=function($,Y,q){var z=this._writableState,J=!1,U=!z.objectMode&&bG1($);if(U&&!sO.isBuffer($))$=fG1($);if(typeof Y==="function")q=Y,Y=null;if(U)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof q!=="function")q=iG1;if(z.ended)nG1(this,q);else if(U||cG1(this,z,$,q))z.pendingcb++,J=dG1(this,z,U,$,Y,q);return J};K6.prototype.cork=function(){var $=this._writableState;$.corked++};K6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)GZ0(this,$)}};K6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function pG1($,Y,q){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=sO.from(Y,q);return Y}Object.defineProperty(K6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function dG1($,Y,q,z,J,U){if(!q){var I=pG1(Y,z,J);if(z!==I)q=!0,J="buffer",z=I}var Q=Y.objectMode?1:z.length;Y.length+=Q;var K=Y.length<Y.highWaterMark;if(!K)Y.needDrain=!0;if(Y.writing||Y.corked){var G=Y.lastBufferedRequest;if(Y.lastBufferedRequest={chunk:z,encoding:J,isBuf:q,callback:U,next:null},G)G.next=Y.lastBufferedRequest;else Y.bufferedRequest=Y.lastBufferedRequest;Y.bufferedRequestCount+=1}else Uk($,Y,!1,Q,z,J,U);return K}function Uk($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function mG1($,Y,q,z,J){if(--Y.pendingcb,q)FY.nextTick(J,z),FY.nextTick(nG,$,Y),$._writableState.errorEmitted=!0,$.emit("error",z);else J(z),$._writableState.errorEmitted=!0,$.emit("error",z),nG($,Y)}function lG1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function oG1($,Y){var q=$._writableState,z=q.sync,J=q.writecb;if(lG1(q),Y)mG1($,q,z,Y,J);else{var U=HZ0(q);if(!U&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest)GZ0($,q);if(z)xG1(JZ0,$,q,U,J);else JZ0($,q,U,J)}}function JZ0($,Y,q,z){if(!q)rG1($,Y);Y.pendingcb--,z(),nG($,Y)}function rG1($,Y){if(Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain")}function GZ0($,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if($._writev&&q&&q.next){var z=Y.bufferedRequestCount,J=Array(z),U=Y.corkedRequestsFree;U.entry=q;var I=0,Q=!0;while(q){if(J[I]=q,!q.isBuf)Q=!1;q=q.next,I+=1}if(J.allBuffers=Q,Uk($,Y,!0,Y.length,J,"",U.finish),Y.pendingcb++,Y.lastBufferedRequest=null,U.next)Y.corkedRequestsFree=U.next,U.next=null;else Y.corkedRequestsFree=new UZ0(Y);Y.bufferedRequestCount=0}else{while(q){var{chunk:K,encoding:G,callback:H}=q,Z=Y.objectMode?1:K.length;if(Uk($,Y,!1,Z,K,G,H),q=q.next,Y.bufferedRequestCount--,Y.writing)break}if(q===null)Y.lastBufferedRequest=null}Y.bufferedRequest=q,Y.bufferProcessing=!1}K6.prototype._write=function($,Y,q){q(Error("_write() is not implemented"))};K6.prototype._writev=null;K6.prototype.end=function($,Y,q){var z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;if($!==null&&$!==void 0)this.write($,Y);if(z.corked)z.corked=1,this.uncork();if(!z.ending)aG1(this,z,q)};function HZ0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function sG1($,Y){$._final(function(q){if(Y.pendingcb--,q)$.emit("error",q);Y.prefinished=!0,$.emit("prefinish"),nG($,Y)})}function tG1($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function")Y.pendingcb++,Y.finalCalled=!0,FY.nextTick(sG1,$,Y);else Y.prefinished=!0,$.emit("prefinish")}function nG($,Y){var q=HZ0(Y);if(q){if(tG1($,Y),Y.pendingcb===0)Y.finished=!0,$.emit("finish")}return q}function aG1($,Y,q){if(Y.ending=!0,nG($,Y),q)if(Y.finished)FY.nextTick(q);else $.once("finish",q);Y.ended=!0,$.writable=!1}function eG1($,Y,q){var z=$.entry;$.entry=null;while(z){var J=z.callback;Y.pendingcb--,J(q),z=z.next}Y.corkedRequestsFree.next=$}Object.defineProperty(K6.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});K6.prototype.destroy=KZ0.destroy;K6.prototype._undestroy=KZ0.undestroy;K6.prototype._destroy=function($,Y){this.end(),Y($)}});var OY=M((H$4,LZ0)=>{var WZ0=e4(),$H1=Object.keys||function($){var Y=[];for(var q in $)Y.push(q);return Y};LZ0.exports=l9;var XZ0=Object.create(W4());XZ0.inherits=m0();var VZ0=Kk(),Qk=Ik();XZ0.inherits(l9,VZ0);{tO=$H1(Qk.prototype);for(pG=0;pG<tO.length;pG++)if(dG=tO[pG],!l9.prototype[dG])l9.prototype[dG]=Qk.prototype[dG]}var tO,dG,pG;function l9($){if(!(this instanceof l9))return new l9($);if(VZ0.call(this,$),Qk.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",YH1)}Object.defineProperty(l9.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function YH1(){if(this.allowHalfOpen||this._writableState.ended)return;WZ0.nextTick(qH1,this)}function qH1($){$.end()}Object.defineProperty(l9.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});l9.prototype._destroy=function($,Y){this.push(null),this.end(),WZ0.nextTick(Y,$)}});var Zk=M((wH1)=>{var Hk=$6().Buffer,wZ0=Hk.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function zH1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function JH1($){var Y=zH1($);if(typeof Y!=="string"&&(Hk.isEncoding===wZ0||!wZ0($)))throw Error("Unknown encoding: "+$);return Y||$}wH1.StringDecoder=mG;function mG($){this.encoding=JH1($);var Y;switch(this.encoding){case"utf16le":this.text=HH1,this.end=ZH1,Y=4;break;case"utf8":this.fillLast=QH1,Y=4;break;case"base64":this.text=WH1,this.end=XH1,Y=3;break;default:this.write=VH1,this.end=LH1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Hk.allocUnsafe(Y)}mG.prototype.write=function($){if($.length===0)return"";var Y,q;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";q=this.lastNeed,this.lastNeed=0}else q=0;if(q<$.length)return Y?Y+this.text($,q):this.text($,q);return Y||""};mG.prototype.end=GH1;mG.prototype.text=KH1;mG.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Gk($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function UH1($,Y,q){var z=Y.length-1;if(z<q)return 0;var J=Gk(Y[z]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--z<q||J===-2)return 0;if(J=Gk(Y[z]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--z<q||J===-2)return 0;if(J=Gk(Y[z]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function IH1($,Y,q){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function QH1($){var Y=this.lastTotal-this.lastNeed,q=IH1(this,$,Y);if(q!==void 0)return q;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function KH1($,Y){var q=UH1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=q;var z=$.length-(q-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function GH1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function HH1($,Y){if(($.length-Y)%2===0){var q=$.toString("utf16le",Y);if(q){var z=q.charCodeAt(q.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],q.slice(0,-1)}return q}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function ZH1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var q=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,q)}return Y}function WH1($,Y){var q=($.length-Y)%3;if(q===0)return $.toString("base64",Y);if(this.lastNeed=3-q,this.lastTotal=3,q===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-q)}function XH1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function VH1($){return $.toString(this.encoding)}function LH1($){return $&&$.length?this.write($):""}});var Kk=M((X$4,_Z0)=>{var tJ=e4();_Z0.exports=D4;var OH1=bz(),lG;D4.ReadableState=AZ0;var W$4=m("events").EventEmitter,NZ0=function($,Y){return $.listeners(Y).length},wk=m("stream"),oG=$6().Buffer,MH1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function NH1($){return oG.from($)}function DH1($){return oG.isBuffer($)||$ instanceof MH1}var DZ0=Object.create(W4());DZ0.inherits=m0();var Wk=m("util"),n1=void 0;if(Wk&&Wk.debuglog)n1=Wk.debuglog("stream");else n1=function(){};var PH1=qZ0(),PZ0=Jk(),sJ;DZ0.inherits(D4,wk);var Xk=["error","close","destroy","pause","resume"];function AH1($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(OH1($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}function AZ0($,Y){lG=lG||OY(),$=$||{};var q=Y instanceof lG;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new PH1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!sJ)sJ=Zk().StringDecoder;this.decoder=new sJ($.encoding),this.encoding=$.encoding}}function D4($){if(lG=lG||OY(),!(this instanceof D4))return new D4($);if(this._readableState=new AZ0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}wk.call(this)}Object.defineProperty(D4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});D4.prototype.destroy=PZ0.destroy;D4.prototype._undestroy=PZ0.undestroy;D4.prototype._destroy=function($,Y){this.push(null),Y($)};D4.prototype.push=function($,Y){var q=this._readableState,z;if(!q.objectMode){if(typeof $==="string"){if(Y=Y||q.defaultEncoding,Y!==q.encoding)$=oG.from($,Y),Y="";z=!0}}else z=!0;return BZ0(this,$,Y,!1,z)};D4.prototype.unshift=function($){return BZ0(this,$,null,!0,!1)};function BZ0($,Y,q,z,J){var U=$._readableState;if(Y===null)U.reading=!1,jH1($,U);else{var I;if(!J)I=BH1(U,Y);if(I)$.emit("error",I);else if(U.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==oG.prototype)Y=NH1(Y);if(z)if(U.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Vk($,U,Y,!0);else if(U.ended)$.emit("error",Error("stream.push() after EOF"));else if(U.reading=!1,U.decoder&&!q)if(Y=U.decoder.write(Y),U.objectMode||Y.length!==0)Vk($,U,Y,!1);else TZ0($,U);else Vk($,U,Y,!1)}else if(!z)U.reading=!1}return TH1(U)}function Vk($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",q),$.read(0);else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if(Y.needReadable)aO($)}TZ0($,Y)}function BH1($,Y){var q;if(!DH1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)q=TypeError("Invalid non-string/buffer chunk");return q}function TH1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}D4.prototype.isPaused=function(){return this._readableState.flowing===!1};D4.prototype.setEncoding=function($){if(!sJ)sJ=Zk().StringDecoder;return this._readableState.decoder=new sJ($),this._readableState.encoding=$,this};var FZ0=8388608;function EH1($){if($>=FZ0)$=FZ0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function OZ0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=EH1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}D4.prototype.read=function($){n1("read",$),$=parseInt($,10);var Y=this._readableState,q=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(n1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Lk(this);else aO(this);return null}if($=OZ0($,Y),$===0&&Y.ended){if(Y.length===0)Lk(this);return null}var z=Y.needReadable;if(n1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,n1("length less than watermark",z);if(Y.ended||Y.reading)z=!1,n1("reading or ended",z);else if(z){if(n1("do read"),Y.reading=!0,Y.sync=!0,Y.length===0)Y.needReadable=!0;if(this._read(Y.highWaterMark),Y.sync=!1,!Y.reading)$=OZ0(q,Y)}var J;if($>0)J=EZ0($,Y);else J=null;if(J===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)Lk(this)}if(J!==null)this.emit("data",J);return J};function jH1($,Y){if(Y.ended)return;if(Y.decoder){var q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}Y.ended=!0,aO($)}function aO($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(n1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)tJ.nextTick(MZ0,$);else MZ0($)}function MZ0($){n1("emit readable"),$.emit("readable"),Fk($)}function TZ0($,Y){if(!Y.readingMore)Y.readingMore=!0,tJ.nextTick(_H1,$,Y)}function _H1($,Y){var q=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length<Y.highWaterMark)if(n1("maybeReadMore read 0"),$.read(0),q===Y.length)break;else q=Y.length;Y.readingMore=!1}D4.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};D4.prototype.pipe=function($,Y){var q=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=$;break;case 1:z.pipes=[z.pipes,$];break;default:z.pipes.push($);break}z.pipesCount+=1,n1("pipe count=%d opts=%j",z.pipesCount,Y);var J=(!Y||Y.end!==!1)&&$!==process.stdout&&$!==process.stderr,U=J?Q:F;if(z.endEmitted)tJ.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(O,P){if(n1("onunpipe"),O===q){if(P&&P.hasUnpiped===!1)P.hasUnpiped=!0,H()}}function Q(){n1("onend"),$.end()}var K=RH1(q);$.on("drain",K);var G=!1;function H(){if(n1("cleanup"),$.removeListener("close",L),$.removeListener("finish",w),$.removeListener("drain",K),$.removeListener("error",X),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",F),q.removeListener("data",V),G=!0,z.awaitDrain&&(!$._writableState||$._writableState.needDrain))K()}var Z=!1;q.on("data",V);function V(O){n1("ondata"),Z=!1;var P=$.write(O);if(P===!1&&!Z){if((z.pipesCount===1&&z.pipes===$||z.pipesCount>1&&jZ0(z.pipes,$)!==-1)&&!G)n1("false write response, pause",z.awaitDrain),z.awaitDrain++,Z=!0;q.pause()}}function X(O){if(n1("onerror",O),F(),$.removeListener("error",X),NZ0($,"error")===0)$.emit("error",O)}AH1($,"error",X);function L(){$.removeListener("finish",w),F()}$.once("close",L);function w(){n1("onfinish"),$.removeListener("close",L),F()}$.once("finish",w);function F(){n1("unpipe"),q.unpipe($)}if($.emit("pipe",q),!z.flowing)n1("pipe resume"),q.resume();return $};function RH1($){return function(){var Y=$._readableState;if(n1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&NZ0($,"data"))Y.flowing=!0,Fk($)}}D4.prototype.unpipe=function($){var Y=this._readableState,q={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,q);return this}if(!$){var{pipes:z,pipesCount:J}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<J;U++)z[U].emit("unpipe",this,{hasUnpiped:!1});return this}var I=jZ0(Y.pipes,$);if(I===-1)return this;if(Y.pipes.splice(I,1),Y.pipesCount-=1,Y.pipesCount===1)Y.pipes=Y.pipes[0];return $.emit("unpipe",this,q),this};D4.prototype.on=function($,Y){var q=wk.prototype.on.call(this,$,Y);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var z=this._readableState;if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.emittedReadable=!1,!z.reading)tJ.nextTick(CH1,this);else if(z.length)aO(this)}}return q};D4.prototype.addListener=D4.prototype.on;function CH1($){n1("readable nexttick read 0"),$.read(0)}D4.prototype.resume=function(){var $=this._readableState;if(!$.flowing)n1("resume"),$.flowing=!0,vH1(this,$);return this};function vH1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,tJ.nextTick(hH1,$,Y)}function hH1($,Y){if(!Y.reading)n1("resume read 0"),$.read(0);if(Y.resumeScheduled=!1,Y.awaitDrain=0,$.emit("resume"),Fk($),Y.flowing&&!Y.reading)$.read(0)}D4.prototype.pause=function(){if(n1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)n1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function Fk($){var Y=$._readableState;n1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}D4.prototype.wrap=function($){var Y=this,q=this._readableState,z=!1;$.on("end",function(){if(n1("wrapped end"),q.decoder&&!q.ended){var I=q.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(n1("wrapped data"),q.decoder)I=q.decoder.write(I);if(q.objectMode&&(I===null||I===void 0))return;else if(!q.objectMode&&(!I||!I.length))return;var Q=Y.push(I);if(!Q)z=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(I){return function(){return $[I].apply($,arguments)}}(J);for(var U=0;U<Xk.length;U++)$.on(Xk[U],this.emit.bind(this,Xk[U]));return this._read=function(I){if(n1("wrapped _read",I),z)z=!1,$.resume()},this};Object.defineProperty(D4.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});D4._fromList=EZ0;function EZ0($,Y){if(Y.length===0)return null;var q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.head.data;else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=gH1($,Y.buffer,Y.decoder);return q}function gH1($,Y,q){var z;if($<Y.head.data.length)z=Y.head.data.slice(0,$),Y.head.data=Y.head.data.slice($);else if($===Y.head.data.length)z=Y.shift();else z=q?SH1($,Y):yH1($,Y);return z}function SH1($,Y){var q=Y.head,z=1,J=q.data;$-=J.length;while(q=q.next){var U=q.data,I=$>U.length?U.length:$;if(I===U.length)J+=U;else J+=U.slice(0,$);if($-=I,$===0){if(I===U.length)if(++z,q.next)Y.head=q.next;else Y.head=Y.tail=null;else Y.head=q,q.data=U.slice(I);break}++z}return Y.length-=z,J}function yH1($,Y){var q=oG.allocUnsafe($),z=Y.head,J=1;z.data.copy(q),$-=z.data.length;while(z=z.next){var U=z.data,I=$>U.length?U.length:$;if(U.copy(q,q.length-$,0,I),$-=I,$===0){if(I===U.length)if(++J,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=U.slice(I);break}++J}return Y.length-=J,q}function Lk($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,tJ.nextTick(xH1,Y,$)}function xH1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function jZ0($,Y){for(var q=0,z=$.length;q<z;q++)if($[q]===Y)return q;return-1}});var Ok=M((V$4,vZ0)=>{vZ0.exports=o9;var eO=OY(),CZ0=Object.create(W4());CZ0.inherits=m0();CZ0.inherits(o9,eO);function kH1($,Y){var q=this._transformState;q.transforming=!1;var z=q.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(q.writechunk=null,q.writecb=null,Y!=null)this.push(Y);z($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function o9($){if(!(this instanceof o9))return new o9($);if(eO.call(this,$),this._transformState={afterTransform:kH1.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",uH1)}function uH1(){var $=this;if(typeof this._flush==="function")this._flush(function(Y,q){RZ0($,Y,q)});else RZ0(this,null,null)}o9.prototype.push=function($,Y){return this._transformState.needTransform=!1,eO.prototype.push.call(this,$,Y)};o9.prototype._transform=function($,Y,q){throw Error("_transform() is not implemented")};o9.prototype._write=function($,Y,q){var z=this._transformState;if(z.writecb=q,z.writechunk=$,z.writeencoding=Y,!z.transforming){var J=this._readableState;if(z.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};o9.prototype._read=function($){var Y=this._transformState;if(Y.writechunk!==null&&Y.writecb&&!Y.transforming)Y.transforming=!0,this._transform(Y.writechunk,Y.writeencoding,Y.afterTransform);else Y.needTransform=!0};o9.prototype._destroy=function($,Y){var q=this;eO.prototype._destroy.call(this,$,function(z){Y(z),q.emit("close")})};function RZ0($,Y,q){if(Y)return $.emit("error",Y);if(q!=null)$.push(q);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var yZ0=M((L$4,SZ0)=>{SZ0.exports=rG;var hZ0=Ok(),gZ0=Object.create(W4());gZ0.inherits=m0();gZ0.inherits(rG,hZ0);function rG($){if(!(this instanceof rG))return new rG($);hZ0.call(this,$)}rG.prototype._transform=function($,Y,q){q(null,$)}});var xZ0=M((l6,$M)=>{var s5=m("stream");if(process.env.READABLE_STREAM==="disable"&&s5)$M.exports=s5,l6=$M.exports=s5.Readable,l6.Readable=s5.Readable,l6.Writable=s5.Writable,l6.Duplex=s5.Duplex,l6.Transform=s5.Transform,l6.PassThrough=s5.PassThrough,l6.Stream=s5;else l6=$M.exports=Kk(),l6.Stream=s5||l6,l6.Readable=l6,l6.Writable=Ik(),l6.Duplex=OY(),l6.Transform=Ok(),l6.PassThrough=yZ0()});var uZ0=M((w$4,kZ0)=>{kZ0.exports=xZ0().PassThrough});var JM=M((F$4,iZ0)=>{var fZ0=m("util"),zM=uZ0();iZ0.exports={Readable:YM,Writable:qM};fZ0.inherits(YM,zM);fZ0.inherits(qM,zM);function bZ0($,Y,q){$[Y]=function(){return delete $[Y],q.apply(this,arguments),this[Y].apply(this,arguments)}}function YM($,Y){if(!(this instanceof YM))return new YM($,Y);zM.call(this,Y),bZ0(this,"_read",function(){var q=$.call(this,Y),z=this.emit.bind(this,"error");q.on("error",z),q.pipe(this)}),this.emit("readable")}function qM($,Y){if(!(this instanceof qM))return new qM($,Y);zM.call(this,Y),bZ0(this,"_write",function(){var q=$.call(this,Y),z=this.emit.bind(this,"error");q.on("error",z),this.pipe(q)}),this.emit("writable")}});var MY=M((O$4,nZ0)=>{/*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*/nZ0.exports=function($,Y){if(typeof $!=="string")throw TypeError("expected path to be a string");if($==="\\"||$==="/")return"/";var q=$.length;if(q<=1)return $;var z="";if(q>4&&$[3]==="\\"){var J=$[2];if((J==="?"||J===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),z="//"}var U=$.split(/[/\\]+/);if(Y!==!1&&U[U.length-1]==="")U.pop();return z+U.join("/")}});var Pk=M((M$4,rZ0)=>{var pZ0=9007199254740991,fH1="[object Arguments]",bH1="[object Function]",iH1="[object GeneratorFunction]",nH1=/^(?:0|[1-9]\d*)$/;function dZ0($,Y,q){switch(q.length){case 0:return $.call(Y);case 1:return $.call(Y,q[0]);case 2:return $.call(Y,q[0],q[1]);case 3:return $.call(Y,q[0],q[1],q[2])}return $.apply(Y,q)}function cH1($,Y){var q=-1,z=Array($);while(++q<$)z[q]=Y(q);return z}var sG=Object.prototype,tG=sG.hasOwnProperty,mZ0=sG.toString,pH1=sG.propertyIsEnumerable,cZ0=Math.max;function dH1($,Y){var q=YZ1($)||$Z1($)?cH1($.length,String):[],z=q.length,J=!!z;for(var U in $)if((Y||tG.call($,U))&&!(J&&(U=="length"||oZ0(U,z))))q.push(U);return q}function mH1($,Y,q,z){if($===void 0||Mk($,sG[q])&&!tG.call(z,q))return Y;return $}function lH1($,Y,q){var z=$[Y];if(!(tG.call($,Y)&&Mk(z,q))||q===void 0&&!(Y in $))$[Y]=q}function oH1($){if(!Dk($))return eH1($);var Y=aH1($),q=[];for(var z in $)if(!(z=="constructor"&&(Y||!tG.call($,z))))q.push(z);return q}function lZ0($,Y){return Y=cZ0(Y===void 0?$.length-1:Y,0),function(){var q=arguments,z=-1,J=cZ0(q.length-Y,0),U=Array(J);while(++z<J)U[z]=q[Y+z];z=-1;var I=Array(Y+1);while(++z<Y)I[z]=q[z];return I[Y]=U,dZ0($,this,I)}}function rH1($,Y,q,z){q||(q={});var J=-1,U=Y.length;while(++J<U){var I=Y[J],Q=z?z(q[I],$[I],I,q,$):void 0;lH1(q,I,Q===void 0?$[I]:Q)}return q}function sH1($){return lZ0(function(Y,q){var z=-1,J=q.length,U=J>1?q[J-1]:void 0,I=J>2?q[2]:void 0;if(U=$.length>3&&typeof U=="function"?(J--,U):void 0,I&&tH1(q[0],q[1],I))U=J<3?void 0:U,J=1;Y=Object(Y);while(++z<J){var Q=q[z];if(Q)$(Y,Q,z,U)}return Y})}function oZ0($,Y){return Y=Y==null?pZ0:Y,!!Y&&(typeof $=="number"||nH1.test($))&&($>-1&&$%1==0&&$<Y)}function tH1($,Y,q){if(!Dk(q))return!1;var z=typeof Y;if(z=="number"?Nk(q)&&oZ0(Y,q.length):z=="string"&&(Y in q))return Mk(q[Y],$);return!1}function aH1($){var Y=$&&$.constructor,q=typeof Y=="function"&&Y.prototype||sG;return $===q}function eH1($){var Y=[];if($!=null)for(var q in Object($))Y.push(q);return Y}function Mk($,Y){return $===Y||$!==$&&Y!==Y}function $Z1($){return qZ1($)&&tG.call($,"callee")&&(!pH1.call($,"callee")||mZ0.call($)==fH1)}var YZ1=Array.isArray;function Nk($){return $!=null&&JZ1($.length)&&!zZ1($)}function qZ1($){return UZ1($)&&Nk($)}function zZ1($){var Y=Dk($)?mZ0.call($):"";return Y==bH1||Y==iH1}function JZ1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=pZ0}function Dk($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function UZ1($){return!!$&&typeof $=="object"}var IZ1=sH1(function($,Y,q,z){rH1(Y,KZ1(Y),$,z)}),QZ1=lZ0(function($){return $.push(void 0,mH1),dZ0(IZ1,void 0,$)});function KZ1($){return Nk($)?dH1($,!0):oH1($)}rZ0.exports=QZ1});var tZ0=M((N$4,Ak)=>{function GZ1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var sZ0=$6().Buffer,aG=m("util");function HZ1($,Y,q){$.copy(Y,q)}Ak.exports=function(){function $(){GZ1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(q){var z={data:q,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(q){var z={data:q,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,q},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(q){if(this.length===0)return"";var z=this.head,J=""+z.data;while(z=z.next)J+=q+z.data;return J},$.prototype.concat=function(q){if(this.length===0)return sZ0.alloc(0);var z=sZ0.allocUnsafe(q>>>0),J=this.head,U=0;while(J)HZ1(J.data,z,U),U+=J.data.length,J=J.next;return z},$}();if(aG&&aG.inspect&&aG.inspect.custom)Ak.exports.prototype[aG.inspect.custom]=function(){var $=aG.inspect({length:this.length});return this.constructor.name+" "+$}});var Bk=M((D$4,aZ0)=>{var UM=e4();function ZZ1($,Y){var q=this,z=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(z||J){if(Y)Y($);else if($){if(!this._writableState)UM.nextTick(IM,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,UM.nextTick(IM,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(U){if(!Y&&U){if(!q._writableState)UM.nextTick(IM,q,U);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,UM.nextTick(IM,q,U)}else if(Y)Y(U)}),this}function WZ1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function IM($,Y){$.emit("error",Y)}aZ0.exports={destroy:ZZ1,undestroy:WZ1}});var Ek=M((P$4,IW0)=>{var NY=e4();IW0.exports=G6;function $W0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){CZ1(Y,$)}}var XZ1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:NY.nextTick,aJ;G6.WritableState=$H;var YW0=Object.create(W4());YW0.inherits=m0();var VZ1={deprecate:r3()},qW0=m("stream"),KM=$6().Buffer,LZ1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function wZ1($){return KM.from($)}function FZ1($){return KM.isBuffer($)||$ instanceof LZ1}var zW0=Bk();YW0.inherits(G6,qW0);function OZ1(){}function $H($,Y){aJ=aJ||DY(),$=$||{};var q=Y instanceof aJ;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){TZ1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new $W0(this)}$H.prototype.getBuffer=function(){var Y=this.bufferedRequest,q=[];while(Y)q.push(Y),Y=Y.next;return q};(function(){try{Object.defineProperty($H.prototype,"buffer",{get:VZ1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var QM;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")QM=Function.prototype[Symbol.hasInstance],Object.defineProperty(G6,Symbol.hasInstance,{value:function($){if(QM.call(this,$))return!0;if(this!==G6)return!1;return $&&$._writableState instanceof $H}});else QM=function($){return $ instanceof this};function G6($){if(aJ=aJ||DY(),!QM.call(G6,this)&&!(this instanceof aJ))return new G6($);if(this._writableState=new $H($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}qW0.call(this)}G6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function MZ1($,Y){var q=Error("write after end");$.emit("error",q),NY.nextTick(Y,q)}function NZ1($,Y,q,z){var J=!0,U=!1;if(q===null)U=TypeError("May not write null values to stream");else if(typeof q!=="string"&&q!==void 0&&!Y.objectMode)U=TypeError("Invalid non-string/buffer chunk");if(U)$.emit("error",U),NY.nextTick(z,U),J=!1;return J}G6.prototype.write=function($,Y,q){var z=this._writableState,J=!1,U=!z.objectMode&&FZ1($);if(U&&!KM.isBuffer($))$=wZ1($);if(typeof Y==="function")q=Y,Y=null;if(U)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof q!=="function")q=OZ1;if(z.ended)MZ1(this,q);else if(U||NZ1(this,z,$,q))z.pendingcb++,J=PZ1(this,z,U,$,Y,q);return J};G6.prototype.cork=function(){var $=this._writableState;$.corked++};G6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)JW0(this,$)}};G6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function DZ1($,Y,q){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=KM.from(Y,q);return Y}Object.defineProperty(G6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function PZ1($,Y,q,z,J,U){if(!q){var I=DZ1(Y,z,J);if(z!==I)q=!0,J="buffer",z=I}var Q=Y.objectMode?1:z.length;Y.length+=Q;var K=Y.length<Y.highWaterMark;if(!K)Y.needDrain=!0;if(Y.writing||Y.corked){var G=Y.lastBufferedRequest;if(Y.lastBufferedRequest={chunk:z,encoding:J,isBuf:q,callback:U,next:null},G)G.next=Y.lastBufferedRequest;else Y.bufferedRequest=Y.lastBufferedRequest;Y.bufferedRequestCount+=1}else Tk($,Y,!1,Q,z,J,U);return K}function Tk($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function AZ1($,Y,q,z,J){if(--Y.pendingcb,q)NY.nextTick(J,z),NY.nextTick(eG,$,Y),$._writableState.errorEmitted=!0,$.emit("error",z);else J(z),$._writableState.errorEmitted=!0,$.emit("error",z),eG($,Y)}function BZ1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function TZ1($,Y){var q=$._writableState,z=q.sync,J=q.writecb;if(BZ1(q),Y)AZ1($,q,z,Y,J);else{var U=UW0(q);if(!U&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest)JW0($,q);if(z)XZ1(eZ0,$,q,U,J);else eZ0($,q,U,J)}}function eZ0($,Y,q,z){if(!q)EZ1($,Y);Y.pendingcb--,z(),eG($,Y)}function EZ1($,Y){if(Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain")}function JW0($,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if($._writev&&q&&q.next){var z=Y.bufferedRequestCount,J=Array(z),U=Y.corkedRequestsFree;U.entry=q;var I=0,Q=!0;while(q){if(J[I]=q,!q.isBuf)Q=!1;q=q.next,I+=1}if(J.allBuffers=Q,Tk($,Y,!0,Y.length,J,"",U.finish),Y.pendingcb++,Y.lastBufferedRequest=null,U.next)Y.corkedRequestsFree=U.next,U.next=null;else Y.corkedRequestsFree=new $W0(Y);Y.bufferedRequestCount=0}else{while(q){var{chunk:K,encoding:G,callback:H}=q,Z=Y.objectMode?1:K.length;if(Tk($,Y,!1,Z,K,G,H),q=q.next,Y.bufferedRequestCount--,Y.writing)break}if(q===null)Y.lastBufferedRequest=null}Y.bufferedRequest=q,Y.bufferProcessing=!1}G6.prototype._write=function($,Y,q){q(Error("_write() is not implemented"))};G6.prototype._writev=null;G6.prototype.end=function($,Y,q){var z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;if($!==null&&$!==void 0)this.write($,Y);if(z.corked)z.corked=1,this.uncork();if(!z.ending)RZ1(this,z,q)};function UW0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function jZ1($,Y){$._final(function(q){if(Y.pendingcb--,q)$.emit("error",q);Y.prefinished=!0,$.emit("prefinish"),eG($,Y)})}function _Z1($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function")Y.pendingcb++,Y.finalCalled=!0,NY.nextTick(jZ1,$,Y);else Y.prefinished=!0,$.emit("prefinish")}function eG($,Y){var q=UW0(Y);if(q){if(_Z1($,Y),Y.pendingcb===0)Y.finished=!0,$.emit("finish")}return q}function RZ1($,Y,q){if(Y.ending=!0,eG($,Y),q)if(Y.finished)NY.nextTick(q);else $.once("finish",q);Y.ended=!0,$.writable=!1}function CZ1($,Y,q){var z=$.entry;$.entry=null;while(z){var J=z.callback;Y.pendingcb--,J(q),z=z.next}Y.corkedRequestsFree.next=$}Object.defineProperty(G6.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});G6.prototype.destroy=zW0.destroy;G6.prototype._undestroy=zW0.undestroy;G6.prototype._destroy=function($,Y){this.end(),Y($)}});var DY=M((A$4,HW0)=>{var QW0=e4(),vZ1=Object.keys||function($){var Y=[];for(var q in $)Y.push(q);return Y};HW0.exports=r9;var KW0=Object.create(W4());KW0.inherits=m0();var GW0=_k(),jk=Ek();KW0.inherits(r9,GW0);{GM=vZ1(jk.prototype);for(YH=0;YH<GM.length;YH++)if(qH=GM[YH],!r9.prototype[qH])r9.prototype[qH]=jk.prototype[qH]}var GM,qH,YH;function r9($){if(!(this instanceof r9))return new r9($);if(GW0.call(this,$),jk.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",hZ1)}Object.defineProperty(r9.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function hZ1(){if(this.allowHalfOpen||this._writableState.ended)return;QW0.nextTick(gZ1,this)}function gZ1($){$.end()}Object.defineProperty(r9.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});r9.prototype._destroy=function($,Y){this.push(null),this.end(),QW0.nextTick(Y,$)}});var vk=M((lZ1)=>{var Ck=$6().Buffer,ZW0=Ck.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function SZ1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function yZ1($){var Y=SZ1($);if(typeof Y!=="string"&&(Ck.isEncoding===ZW0||!ZW0($)))throw Error("Unknown encoding: "+$);return Y||$}lZ1.StringDecoder=zH;function zH($){this.encoding=yZ1($);var Y;switch(this.encoding){case"utf16le":this.text=iZ1,this.end=nZ1,Y=4;break;case"utf8":this.fillLast=uZ1,Y=4;break;case"base64":this.text=cZ1,this.end=pZ1,Y=3;break;default:this.write=dZ1,this.end=mZ1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ck.allocUnsafe(Y)}zH.prototype.write=function($){if($.length===0)return"";var Y,q;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";q=this.lastNeed,this.lastNeed=0}else q=0;if(q<$.length)return Y?Y+this.text($,q):this.text($,q);return Y||""};zH.prototype.end=bZ1;zH.prototype.text=fZ1;zH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Rk($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function xZ1($,Y,q){var z=Y.length-1;if(z<q)return 0;var J=Rk(Y[z]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--z<q||J===-2)return 0;if(J=Rk(Y[z]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--z<q||J===-2)return 0;if(J=Rk(Y[z]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function kZ1($,Y,q){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function uZ1($){var Y=this.lastTotal-this.lastNeed,q=kZ1(this,$,Y);if(q!==void 0)return q;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function fZ1($,Y){var q=xZ1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=q;var z=$.length-(q-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function bZ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function iZ1($,Y){if(($.length-Y)%2===0){var q=$.toString("utf16le",Y);if(q){var z=q.charCodeAt(q.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],q.slice(0,-1)}return q}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function nZ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var q=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,q)}return Y}function cZ1($,Y){var q=($.length-Y)%3;if(q===0)return $.toString("base64",Y);if(this.lastNeed=3-q,this.lastTotal=3,q===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-q)}function pZ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function dZ1($){return $.toString(this.encoding)}function mZ1($){return $&&$.length?this.write($):""}});var _k=M((E$4,AW0)=>{var $U=e4();AW0.exports=P4;var rZ1=bz(),JH;P4.ReadableState=OW0;var T$4=m("events").EventEmitter,LW0=function($,Y){return $.listeners(Y).length},xk=m("stream"),UH=$6().Buffer,sZ1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tZ1($){return UH.from($)}function aZ1($){return UH.isBuffer($)||$ instanceof sZ1}var wW0=Object.create(W4());wW0.inherits=m0();var hk=m("util"),c1=void 0;if(hk&&hk.debuglog)c1=hk.debuglog("stream");else c1=function(){};var eZ1=tZ0(),FW0=Bk(),eJ;wW0.inherits(P4,xk);var gk=["error","close","destroy","pause","resume"];function $W1($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(rZ1($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}function OW0($,Y){JH=JH||DY(),$=$||{};var q=Y instanceof JH;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new eZ1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!eJ)eJ=vk().StringDecoder;this.decoder=new eJ($.encoding),this.encoding=$.encoding}}function P4($){if(JH=JH||DY(),!(this instanceof P4))return new P4($);if(this._readableState=new OW0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}xk.call(this)}Object.defineProperty(P4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});P4.prototype.destroy=FW0.destroy;P4.prototype._undestroy=FW0.undestroy;P4.prototype._destroy=function($,Y){this.push(null),Y($)};P4.prototype.push=function($,Y){var q=this._readableState,z;if(!q.objectMode){if(typeof $==="string"){if(Y=Y||q.defaultEncoding,Y!==q.encoding)$=UH.from($,Y),Y="";z=!0}}else z=!0;return MW0(this,$,Y,!1,z)};P4.prototype.unshift=function($){return MW0(this,$,null,!0,!1)};function MW0($,Y,q,z,J){var U=$._readableState;if(Y===null)U.reading=!1,JW1($,U);else{var I;if(!J)I=YW1(U,Y);if(I)$.emit("error",I);else if(U.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==UH.prototype)Y=tZ1(Y);if(z)if(U.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Sk($,U,Y,!0);else if(U.ended)$.emit("error",Error("stream.push() after EOF"));else if(U.reading=!1,U.decoder&&!q)if(Y=U.decoder.write(Y),U.objectMode||Y.length!==0)Sk($,U,Y,!1);else NW0($,U);else Sk($,U,Y,!1)}else if(!z)U.reading=!1}return qW1(U)}function Sk($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",q),$.read(0);else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if(Y.needReadable)HM($)}NW0($,Y)}function YW1($,Y){var q;if(!aZ1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)q=TypeError("Invalid non-string/buffer chunk");return q}function qW1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}P4.prototype.isPaused=function(){return this._readableState.flowing===!1};P4.prototype.setEncoding=function($){if(!eJ)eJ=vk().StringDecoder;return this._readableState.decoder=new eJ($),this._readableState.encoding=$,this};var WW0=8388608;function zW1($){if($>=WW0)$=WW0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function XW0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=zW1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}P4.prototype.read=function($){c1("read",$),$=parseInt($,10);var Y=this._readableState,q=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(c1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)yk(this);else HM(this);return null}if($=XW0($,Y),$===0&&Y.ended){if(Y.length===0)yk(this);return null}var z=Y.needReadable;if(c1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,c1("length less than watermark",z);if(Y.ended||Y.reading)z=!1,c1("reading or ended",z);else if(z){if(c1("do read"),Y.reading=!0,Y.sync=!0,Y.length===0)Y.needReadable=!0;if(this._read(Y.highWaterMark),Y.sync=!1,!Y.reading)$=XW0(q,Y)}var J;if($>0)J=DW0($,Y);else J=null;if(J===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)yk(this)}if(J!==null)this.emit("data",J);return J};function JW1($,Y){if(Y.ended)return;if(Y.decoder){var q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}Y.ended=!0,HM($)}function HM($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(c1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)$U.nextTick(VW0,$);else VW0($)}function VW0($){c1("emit readable"),$.emit("readable"),kk($)}function NW0($,Y){if(!Y.readingMore)Y.readingMore=!0,$U.nextTick(UW1,$,Y)}function UW1($,Y){var q=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length<Y.highWaterMark)if(c1("maybeReadMore read 0"),$.read(0),q===Y.length)break;else q=Y.length;Y.readingMore=!1}P4.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};P4.prototype.pipe=function($,Y){var q=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=$;break;case 1:z.pipes=[z.pipes,$];break;default:z.pipes.push($);break}z.pipesCount+=1,c1("pipe count=%d opts=%j",z.pipesCount,Y);var J=(!Y||Y.end!==!1)&&$!==process.stdout&&$!==process.stderr,U=J?Q:F;if(z.endEmitted)$U.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(O,P){if(c1("onunpipe"),O===q){if(P&&P.hasUnpiped===!1)P.hasUnpiped=!0,H()}}function Q(){c1("onend"),$.end()}var K=IW1(q);$.on("drain",K);var G=!1;function H(){if(c1("cleanup"),$.removeListener("close",L),$.removeListener("finish",w),$.removeListener("drain",K),$.removeListener("error",X),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",F),q.removeListener("data",V),G=!0,z.awaitDrain&&(!$._writableState||$._writableState.needDrain))K()}var Z=!1;q.on("data",V);function V(O){c1("ondata"),Z=!1;var P=$.write(O);if(P===!1&&!Z){if((z.pipesCount===1&&z.pipes===$||z.pipesCount>1&&PW0(z.pipes,$)!==-1)&&!G)c1("false write response, pause",z.awaitDrain),z.awaitDrain++,Z=!0;q.pause()}}function X(O){if(c1("onerror",O),F(),$.removeListener("error",X),LW0($,"error")===0)$.emit("error",O)}$W1($,"error",X);function L(){$.removeListener("finish",w),F()}$.once("close",L);function w(){c1("onfinish"),$.removeListener("close",L),F()}$.once("finish",w);function F(){c1("unpipe"),q.unpipe($)}if($.emit("pipe",q),!z.flowing)c1("pipe resume"),q.resume();return $};function IW1($){return function(){var Y=$._readableState;if(c1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&LW0($,"data"))Y.flowing=!0,kk($)}}P4.prototype.unpipe=function($){var Y=this._readableState,q={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,q);return this}if(!$){var{pipes:z,pipesCount:J}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<J;U++)z[U].emit("unpipe",this,{hasUnpiped:!1});return this}var I=PW0(Y.pipes,$);if(I===-1)return this;if(Y.pipes.splice(I,1),Y.pipesCount-=1,Y.pipesCount===1)Y.pipes=Y.pipes[0];return $.emit("unpipe",this,q),this};P4.prototype.on=function($,Y){var q=xk.prototype.on.call(this,$,Y);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var z=this._readableState;if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.emittedReadable=!1,!z.reading)$U.nextTick(QW1,this);else if(z.length)HM(this)}}return q};P4.prototype.addListener=P4.prototype.on;function QW1($){c1("readable nexttick read 0"),$.read(0)}P4.prototype.resume=function(){var $=this._readableState;if(!$.flowing)c1("resume"),$.flowing=!0,KW1(this,$);return this};function KW1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,$U.nextTick(GW1,$,Y)}function GW1($,Y){if(!Y.reading)c1("resume read 0"),$.read(0);if(Y.resumeScheduled=!1,Y.awaitDrain=0,$.emit("resume"),kk($),Y.flowing&&!Y.reading)$.read(0)}P4.prototype.pause=function(){if(c1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)c1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function kk($){var Y=$._readableState;c1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}P4.prototype.wrap=function($){var Y=this,q=this._readableState,z=!1;$.on("end",function(){if(c1("wrapped end"),q.decoder&&!q.ended){var I=q.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(c1("wrapped data"),q.decoder)I=q.decoder.write(I);if(q.objectMode&&(I===null||I===void 0))return;else if(!q.objectMode&&(!I||!I.length))return;var Q=Y.push(I);if(!Q)z=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(I){return function(){return $[I].apply($,arguments)}}(J);for(var U=0;U<gk.length;U++)$.on(gk[U],this.emit.bind(this,gk[U]));return this._read=function(I){if(c1("wrapped _read",I),z)z=!1,$.resume()},this};Object.defineProperty(P4.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});P4._fromList=DW0;function DW0($,Y){if(Y.length===0)return null;var q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.head.data;else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=HW1($,Y.buffer,Y.decoder);return q}function HW1($,Y,q){var z;if($<Y.head.data.length)z=Y.head.data.slice(0,$),Y.head.data=Y.head.data.slice($);else if($===Y.head.data.length)z=Y.shift();else z=q?ZW1($,Y):WW1($,Y);return z}function ZW1($,Y){var q=Y.head,z=1,J=q.data;$-=J.length;while(q=q.next){var U=q.data,I=$>U.length?U.length:$;if(I===U.length)J+=U;else J+=U.slice(0,$);if($-=I,$===0){if(I===U.length)if(++z,q.next)Y.head=q.next;else Y.head=Y.tail=null;else Y.head=q,q.data=U.slice(I);break}++z}return Y.length-=z,J}function WW1($,Y){var q=UH.allocUnsafe($),z=Y.head,J=1;z.data.copy(q),$-=z.data.length;while(z=z.next){var U=z.data,I=$>U.length?U.length:$;if(U.copy(q,q.length-$,0,I),$-=I,$===0){if(I===U.length)if(++J,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=U.slice(I);break}++J}return Y.length-=J,q}function yk($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,$U.nextTick(XW1,Y,$)}function XW1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function PW0($,Y){for(var q=0,z=$.length;q<z;q++)if($[q]===Y)return q;return-1}});var uk=M((j$4,EW0)=>{EW0.exports=s9;var ZM=DY(),TW0=Object.create(W4());TW0.inherits=m0();TW0.inherits(s9,ZM);function VW1($,Y){var q=this._transformState;q.transforming=!1;var z=q.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(q.writechunk=null,q.writecb=null,Y!=null)this.push(Y);z($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function s9($){if(!(this instanceof s9))return new s9($);if(ZM.call(this,$),this._transformState={afterTransform:VW1.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",LW1)}function LW1(){var $=this;if(typeof this._flush==="function")this._flush(function(Y,q){BW0($,Y,q)});else BW0(this,null,null)}s9.prototype.push=function($,Y){return this._transformState.needTransform=!1,ZM.prototype.push.call(this,$,Y)};s9.prototype._transform=function($,Y,q){throw Error("_transform() is not implemented")};s9.prototype._write=function($,Y,q){var z=this._transformState;if(z.writecb=q,z.writechunk=$,z.writeencoding=Y,!z.transforming){var J=this._readableState;if(z.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};s9.prototype._read=function($){var Y=this._transformState;if(Y.writechunk!==null&&Y.writecb&&!Y.transforming)Y.transforming=!0,this._transform(Y.writechunk,Y.writeencoding,Y.afterTransform);else Y.needTransform=!0};s9.prototype._destroy=function($,Y){var q=this;ZM.prototype._destroy.call(this,$,function(z){Y(z),q.emit("close")})};function BW0($,Y,q){if(Y)return $.emit("error",Y);if(q!=null)$.push(q);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var CW0=M((_$4,RW0)=>{RW0.exports=IH;var jW0=uk(),_W0=Object.create(W4());_W0.inherits=m0();_W0.inherits(IH,jW0);function IH($){if(!(this instanceof IH))return new IH($);jW0.call(this,$)}IH.prototype._transform=function($,Y,q){q(null,$)}});var vW0=M((o6,WM)=>{var t5=m("stream");if(process.env.READABLE_STREAM==="disable"&&t5)WM.exports=t5,o6=WM.exports=t5.Readable,o6.Readable=t5.Readable,o6.Writable=t5.Writable,o6.Duplex=t5.Duplex,o6.Transform=t5.Transform,o6.PassThrough=t5.PassThrough,o6.Stream=t5;else o6=WM.exports=_k(),o6.Stream=t5||o6,o6.Readable=o6,o6.Writable=Ek(),o6.Duplex=DY(),o6.Transform=uk(),o6.PassThrough=CW0()});var bk=M((R$4,xW0)=>{var wW1=9007199254740991,FW1="[object Arguments]",OW1="[object Function]",MW1="[object GeneratorFunction]",NW1=typeof global=="object"&&global&&global.Object===Object&&global,DW1=typeof self=="object"&&self&&self.Object===Object&&self,PW1=NW1||DW1||Function("return this")();function AW1($,Y){var q=-1,z=Y.length,J=$.length;while(++q<z)$[J+q]=Y[q];return $}var fk=Object.prototype,BW1=fk.hasOwnProperty,SW0=fk.toString,hW0=PW1.Symbol,TW1=fk.propertyIsEnumerable,gW0=hW0?hW0.isConcatSpreadable:void 0;function yW0($,Y,q,z,J){var U=-1,I=$.length;q||(q=EW1),J||(J=[]);while(++U<I){var Q=$[U];if(Y>0&&q(Q))if(Y>1)yW0(Q,Y-1,q,z,J);else AW1(J,Q);else if(!z)J[J.length]=Q}return J}function EW1($){return RW1($)||_W1($)||!!(gW0&&$&&$[gW0])}function jW1($){var Y=$?$.length:0;return Y?yW0($,1):[]}function _W1($){return vW1($)&&BW1.call($,"callee")&&(!TW1.call($,"callee")||SW0.call($)==FW1)}var RW1=Array.isArray;function CW1($){return $!=null&&gW1($.length)&&!hW1($)}function vW1($){return yW1($)&&CW1($)}function hW1($){var Y=SW1($)?SW0.call($):"";return Y==OW1||Y==MW1}function gW1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=wW1}function SW1($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function yW1($){return!!$&&typeof $=="object"}xW0.exports=jW1});var mk=M((C$4,lW0)=>{var xW1=200,ck="__lodash_hash_undefined__",kW1=9007199254740991,uW1="[object Arguments]",fW1="[object Function]",bW1="[object GeneratorFunction]",iW1=/[\\^$.*+?()[\]{}|]/g,nW1=/^\[object .+?Constructor\]$/,cW1=typeof global=="object"&&global&&global.Object===Object&&global,pW1=typeof self=="object"&&self&&self.Object===Object&&self,pk=cW1||pW1||Function("return this")();function dW1($,Y,q){switch(q.length){case 0:return $.call(Y);case 1:return $.call(Y,q[0]);case 2:return $.call(Y,q[0],q[1]);case 3:return $.call(Y,q[0],q[1],q[2])}return $.apply(Y,q)}function mW1($,Y){var q=$?$.length:0;return!!q&&tW1($,Y,0)>-1}function lW1($,Y,q){var z=-1,J=$?$.length:0;while(++z<J)if(q(Y,$[z]))return!0;return!1}function oW1($,Y){var q=-1,z=$?$.length:0,J=Array(z);while(++q<z)J[q]=Y($[q],q,$);return J}function rW1($,Y){var q=-1,z=Y.length,J=$.length;while(++q<z)$[J+q]=Y[q];return $}function sW1($,Y,q,z){var J=$.length,U=q+(z?1:-1);while(z?U--:++U<J)if(Y($[U],U,$))return U;return-1}function tW1($,Y,q){if(Y!==Y)return sW1($,aW1,q);var z=q-1,J=$.length;while(++z<J)if($[z]===Y)return z;return-1}function aW1($){return $!==$}function eW1($){return function(Y){return $(Y)}}function $X1($,Y){return $.has(Y)}function YX1($,Y){return $==null?void 0:$[Y]}function qX1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(q){}return Y}var zX1=Array.prototype,JX1=Function.prototype,dk=Object.prototype,ik=pk["__core-js_shared__"],kW0=function(){var $=/[^.]+$/.exec(ik&&ik.keys&&ik.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),iW0=JX1.toString,VM=dk.hasOwnProperty,nW0=dk.toString,UX1=RegExp("^"+iW0.call(VM).replace(iW1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),uW0=pk.Symbol,IX1=dk.propertyIsEnumerable,QX1=zX1.splice,fW0=uW0?uW0.isConcatSpreadable:void 0,bW0=Math.max,KX1=pW0(pk,"Map"),QH=pW0(Object,"create");function PY($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function GX1(){this.__data__=QH?QH(null):{}}function HX1($){return this.has($)&&delete this.__data__[$]}function ZX1($){var Y=this.__data__;if(QH){var q=Y[$];return q===ck?void 0:q}return VM.call(Y,$)?Y[$]:void 0}function WX1($){var Y=this.__data__;return QH?Y[$]!==void 0:VM.call(Y,$)}function XX1($,Y){var q=this.__data__;return q[$]=QH&&Y===void 0?ck:Y,this}PY.prototype.clear=GX1;PY.prototype.delete=HX1;PY.prototype.get=ZX1;PY.prototype.has=WX1;PY.prototype.set=XX1;function YU($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function VX1(){this.__data__=[]}function LX1($){var Y=this.__data__,q=LM(Y,$);if(q<0)return!1;var z=Y.length-1;if(q==z)Y.pop();else QX1.call(Y,q,1);return!0}function wX1($){var Y=this.__data__,q=LM(Y,$);return q<0?void 0:Y[q][1]}function FX1($){return LM(this.__data__,$)>-1}function OX1($,Y){var q=this.__data__,z=LM(q,$);if(z<0)q.push([$,Y]);else q[z][1]=Y;return this}YU.prototype.clear=VX1;YU.prototype.delete=LX1;YU.prototype.get=wX1;YU.prototype.has=FX1;YU.prototype.set=OX1;function qU($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function MX1(){this.__data__={hash:new PY,map:new(KX1||YU),string:new PY}}function NX1($){return wM(this,$).delete($)}function DX1($){return wM(this,$).get($)}function PX1($){return wM(this,$).has($)}function AX1($,Y){return wM(this,$).set($,Y),this}qU.prototype.clear=MX1;qU.prototype.delete=NX1;qU.prototype.get=DX1;qU.prototype.has=PX1;qU.prototype.set=AX1;function XM($){var Y=-1,q=$?$.length:0;this.__data__=new qU;while(++Y<q)this.add($[Y])}function BX1($){return this.__data__.set($,ck),this}function TX1($){return this.__data__.has($)}XM.prototype.add=XM.prototype.push=BX1;XM.prototype.has=TX1;function LM($,Y){var q=$.length;while(q--)if(SX1($[q][0],Y))return q;return-1}function EX1($,Y,q,z){var J=-1,U=mW1,I=!0,Q=$.length,K=[],G=Y.length;if(!Q)return K;if(q)Y=oW1(Y,eW1(q));if(z)U=lW1,I=!1;else if(Y.length>=xW1)U=$X1,I=!1,Y=new XM(Y);$:while(++J<Q){var H=$[J],Z=q?q(H):H;if(H=z||H!==0?H:0,I&&Z===Z){var V=G;while(V--)if(Y[V]===Z)continue $;K.push(H)}else if(!U(Y,Z,z))K.push(H)}return K}function cW0($,Y,q,z,J){var U=-1,I=$.length;q||(q=RX1),J||(J=[]);while(++U<I){var Q=$[U];if(Y>0&&q(Q))if(Y>1)cW0(Q,Y-1,q,z,J);else rW1(J,Q);else if(!z)J[J.length]=Q}return J}function jX1($){if(!mW0($)||vX1($))return!1;var Y=dW0($)||qX1($)?UX1:nW1;return Y.test(hX1($))}function _X1($,Y){return Y=bW0(Y===void 0?$.length-1:Y,0),function(){var q=arguments,z=-1,J=bW0(q.length-Y,0),U=Array(J);while(++z<J)U[z]=q[Y+z];z=-1;var I=Array(Y+1);while(++z<Y)I[z]=q[z];return I[Y]=U,dW1($,this,I)}}function wM($,Y){var q=$.__data__;return CX1(Y)?q[typeof Y=="string"?"string":"hash"]:q.map}function pW0($,Y){var q=YX1($,Y);return jX1(q)?q:void 0}function RX1($){return xX1($)||yX1($)||!!(fW0&&$&&$[fW0])}function CX1($){var Y=typeof $;return Y=="string"||Y=="number"||Y=="symbol"||Y=="boolean"?$!=="__proto__":$===null}function vX1($){return!!kW0&&kW0 in $}function hX1($){if($!=null){try{return iW0.call($)}catch(Y){}try{return $+""}catch(Y){}}return""}var gX1=_X1(function($,Y){return nk($)?EX1($,cW0(Y,1,nk,!0)):[]});function SX1($,Y){return $===Y||$!==$&&Y!==Y}function yX1($){return nk($)&&VM.call($,"callee")&&(!IX1.call($,"callee")||nW0.call($)==uW1)}var xX1=Array.isArray;function kX1($){return $!=null&&uX1($.length)&&!dW0($)}function nk($){return fX1($)&&kX1($)}function dW0($){var Y=mW0($)?nW0.call($):"";return Y==fW1||Y==bW1}function uX1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=kW1}function mW0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function fX1($){return!!$&&typeof $=="object"}lW0.exports=gX1});var ak=M((v$4,UX0)=>{var bX1=200,rk="__lodash_hash_undefined__",iX1=1/0,nX1=9007199254740991,cX1="[object Arguments]",pX1="[object Function]",dX1="[object GeneratorFunction]",mX1=/[\\^$.*+?()[\]{}|]/g,lX1=/^\[object .+?Constructor\]$/,oX1=typeof global=="object"&&global&&global.Object===Object&&global,rX1=typeof self=="object"&&self&&self.Object===Object&&self,OM=oX1||rX1||Function("return this")();function sX1($,Y,q){switch(q.length){case 0:return $.call(Y);case 1:return $.call(Y,q[0]);case 2:return $.call(Y,q[0],q[1]);case 3:return $.call(Y,q[0],q[1],q[2])}return $.apply(Y,q)}function tX1($,Y){var q=$?$.length:0;return!!q&&YV1($,Y,0)>-1}function aX1($,Y,q){var z=-1,J=$?$.length:0;while(++z<J)if(q(Y,$[z]))return!0;return!1}function eX1($,Y){var q=-1,z=Y.length,J=$.length;while(++q<z)$[J+q]=Y[q];return $}function $V1($,Y,q,z){var J=$.length,U=q+(z?1:-1);while(z?U--:++U<J)if(Y($[U],U,$))return U;return-1}function YV1($,Y,q){if(Y!==Y)return $V1($,qV1,q);var z=q-1,J=$.length;while(++z<J)if($[z]===Y)return z;return-1}function qV1($){return $!==$}function zV1($,Y){return $.has(Y)}function JV1($,Y){return $==null?void 0:$[Y]}function UV1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(q){}return Y}function aW0($){var Y=-1,q=Array($.size);return $.forEach(function(z){q[++Y]=z}),q}var IV1=Array.prototype,QV1=Function.prototype,sk=Object.prototype,lk=OM["__core-js_shared__"],oW0=function(){var $=/[^.]+$/.exec(lk&&lk.keys&&lk.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),eW0=QV1.toString,MM=sk.hasOwnProperty,$X0=sk.toString,KV1=RegExp("^"+eW0.call(MM).replace(mX1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rW0=OM.Symbol,GV1=sk.propertyIsEnumerable,HV1=IV1.splice,sW0=rW0?rW0.isConcatSpreadable:void 0,tW0=Math.max,ZV1=tk(OM,"Map"),ok=tk(OM,"Set"),KH=tk(Object,"create");function AY($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function WV1(){this.__data__=KH?KH(null):{}}function XV1($){return this.has($)&&delete this.__data__[$]}function VV1($){var Y=this.__data__;if(KH){var q=Y[$];return q===rk?void 0:q}return MM.call(Y,$)?Y[$]:void 0}function LV1($){var Y=this.__data__;return KH?Y[$]!==void 0:MM.call(Y,$)}function wV1($,Y){var q=this.__data__;return q[$]=KH&&Y===void 0?rk:Y,this}AY.prototype.clear=WV1;AY.prototype.delete=XV1;AY.prototype.get=VV1;AY.prototype.has=LV1;AY.prototype.set=wV1;function zU($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function FV1(){this.__data__=[]}function OV1($){var Y=this.__data__,q=NM(Y,$);if(q<0)return!1;var z=Y.length-1;if(q==z)Y.pop();else HV1.call(Y,q,1);return!0}function MV1($){var Y=this.__data__,q=NM(Y,$);return q<0?void 0:Y[q][1]}function NV1($){return NM(this.__data__,$)>-1}function DV1($,Y){var q=this.__data__,z=NM(q,$);if(z<0)q.push([$,Y]);else q[z][1]=Y;return this}zU.prototype.clear=FV1;zU.prototype.delete=OV1;zU.prototype.get=MV1;zU.prototype.has=NV1;zU.prototype.set=DV1;function JU($){var Y=-1,q=$?$.length:0;this.clear();while(++Y<q){var z=$[Y];this.set(z[0],z[1])}}function PV1(){this.__data__={hash:new AY,map:new(ZV1||zU),string:new AY}}function AV1($){return DM(this,$).delete($)}function BV1($){return DM(this,$).get($)}function TV1($){return DM(this,$).has($)}function EV1($,Y){return DM(this,$).set($,Y),this}JU.prototype.clear=PV1;JU.prototype.delete=AV1;JU.prototype.get=BV1;JU.prototype.has=TV1;JU.prototype.set=EV1;function FM($){var Y=-1,q=$?$.length:0;this.__data__=new JU;while(++Y<q)this.add($[Y])}function jV1($){return this.__data__.set($,rk),this}function _V1($){return this.__data__.has($)}FM.prototype.add=FM.prototype.push=jV1;FM.prototype.has=_V1;function NM($,Y){var q=$.length;while(q--)if(uV1($[q][0],Y))return q;return-1}function YX0($,Y,q,z,J){var U=-1,I=$.length;q||(q=gV1),J||(J=[]);while(++U<I){var Q=$[U];if(Y>0&&q(Q))if(Y>1)YX0(Q,Y-1,q,z,J);else eX1(J,Q);else if(!z)J[J.length]=Q}return J}function RV1($){if(!JX0($)||yV1($))return!1;var Y=zX0($)||UV1($)?KV1:lX1;return Y.test(xV1($))}function CV1($,Y){return Y=tW0(Y===void 0?$.length-1:Y,0),function(){var q=arguments,z=-1,J=tW0(q.length-Y,0),U=Array(J);while(++z<J)U[z]=q[Y+z];z=-1;var I=Array(Y+1);while(++z<Y)I[z]=q[z];return I[Y]=U,sX1($,this,I)}}function vV1($,Y,q){var z=-1,J=tX1,U=$.length,I=!0,Q=[],K=Q;if(q)I=!1,J=aX1;else if(U>=bX1){var G=Y?null:hV1($);if(G)return aW0(G);I=!1,J=zV1,K=new FM}else K=Y?[]:Q;$:while(++z<U){var H=$[z],Z=Y?Y(H):H;if(H=q||H!==0?H:0,I&&Z===Z){var V=K.length;while(V--)if(K[V]===Z)continue $;if(Y)K.push(Z);Q.push(H)}else if(!J(K,Z,q)){if(K!==Q)K.push(Z);Q.push(H)}}return Q}var hV1=!(ok&&1/aW0(new ok([,-0]))[1]==iX1)?pV1:function($){return new ok($)};function DM($,Y){var q=$.__data__;return SV1(Y)?q[typeof Y=="string"?"string":"hash"]:q.map}function tk($,Y){var q=JV1($,Y);return RV1(q)?q:void 0}function gV1($){return bV1($)||fV1($)||!!(sW0&&$&&$[sW0])}function SV1($){var Y=typeof $;return Y=="string"||Y=="number"||Y=="symbol"||Y=="boolean"?$!=="__proto__":$===null}function yV1($){return!!oW0&&oW0 in $}function xV1($){if($!=null){try{return eW0.call($)}catch(Y){}try{return $+""}catch(Y){}}return""}var kV1=CV1(function($){return vV1(YX0($,1,qX0,!0))});function uV1($,Y){return $===Y||$!==$&&Y!==Y}function fV1($){return qX0($)&&MM.call($,"callee")&&(!GV1.call($,"callee")||$X0.call($)==cX1)}var bV1=Array.isArray;function iV1($){return $!=null&&nV1($.length)&&!zX0($)}function qX0($){return cV1($)&&iV1($)}function zX0($){var Y=JX0($)?$X0.call($):"";return Y==pX1||Y==dX1}function nV1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=nX1}function JX0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function cV1($){return!!$&&typeof $=="object"}function pV1(){}UX0.exports=kV1});var ek=M((h$4,KX0)=>{var dV1="[object Object]";function mV1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(q){}return Y}function lV1($,Y){return function(q){return $(Y(q))}}var oV1=Function.prototype,IX0=Object.prototype,QX0=oV1.toString,rV1=IX0.hasOwnProperty,sV1=QX0.call(Object),tV1=IX0.toString,aV1=lV1(Object.getPrototypeOf,Object);function eV1($){return!!$&&typeof $=="object"}function $L1($){if(!eV1($)||tV1.call($)!=dV1||mV1($))return!1;var Y=aV1($);if(Y===null)return!0;var q=rV1.call(Y,"constructor")&&Y.constructor;return typeof q=="function"&&q instanceof q&&QX0.call(q)==sV1}KX0.exports=$L1});var GX0=M((JL1)=>{var BY=m("path"),j7=process.platform==="win32",E7=m("fs"),YL1=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function qL1(){var $;if(YL1){var Y=Error();$=q}else $=z;return $;function q(J){if(J)Y.message=J.message,J=Y,z(J)}function z(J){if(J){if(process.throwDeprecation)throw J;else if(!process.noDeprecation){var U="fs: missing callback "+(J.stack||J.message);if(process.traceDeprecation)console.trace(U);else console.error(U)}}}}function zL1($){return typeof $==="function"?$:qL1()}var g$4=BY.normalize;if(j7)a5=/(.*?)(?:[\/\\]+|$)/g;else a5=/(.*?)(?:[\/]+|$)/g;var a5;if(j7)UU=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else UU=/^[\/]*/;var UU;JL1.realpathSync=function(Y,q){if(Y=BY.resolve(Y),q&&Object.prototype.hasOwnProperty.call(q,Y))return q[Y];var z=Y,J={},U={},I,Q,K,G;H();function H(){var F=UU.exec(Y);if(I=F[0].length,Q=F[0],K=F[0],G="",j7&&!U[K])E7.lstatSync(K),U[K]=!0}while(I<Y.length){a5.lastIndex=I;var Z=a5.exec(Y);if(G=Q,Q+=Z[0],K=G+Z[1],I=a5.lastIndex,U[K]||q&&q[K]===K)continue;var V;if(q&&Object.prototype.hasOwnProperty.call(q,K))V=q[K];else{var X=E7.lstatSync(K);if(!X.isSymbolicLink()){if(U[K]=!0,q)q[K]=K;continue}var L=null;if(!j7){var w=X.dev.toString(32)+":"+X.ino.toString(32);if(J.hasOwnProperty(w))L=J[w]}if(L===null)E7.statSync(K),L=E7.readlinkSync(K);if(V=BY.resolve(G,L),q)q[K]=V;if(!j7)J[w]=L}Y=BY.resolve(V,Y.slice(I)),H()}if(q)q[z]=Y;return Y};JL1.realpath=function(Y,q,z){if(typeof z!=="function")z=zL1(q),q=null;if(Y=BY.resolve(Y),q&&Object.prototype.hasOwnProperty.call(q,Y))return process.nextTick(z.bind(null,null,q[Y]));var J=Y,U={},I={},Q,K,G,H;Z();function Z(){var F=UU.exec(Y);if(Q=F[0].length,K=F[0],G=F[0],H="",j7&&!I[G])E7.lstat(G,function(O){if(O)return z(O);I[G]=!0,V()});else process.nextTick(V)}function V(){if(Q>=Y.length){if(q)q[J]=Y;return z(null,Y)}a5.lastIndex=Q;var F=a5.exec(Y);if(H=K,K+=F[0],G=H+F[1],Q=a5.lastIndex,I[G]||q&&q[G]===G)return process.nextTick(V);if(q&&Object.prototype.hasOwnProperty.call(q,G))return w(q[G]);return E7.lstat(G,X)}function X(F,O){if(F)return z(F);if(!O.isSymbolicLink()){if(I[G]=!0,q)q[G]=G;return process.nextTick(V)}if(!j7){var P=O.dev.toString(32)+":"+O.ino.toString(32);if(U.hasOwnProperty(P))return L(null,U[P],G)}E7.stat(G,function(B){if(B)return z(B);E7.readlink(G,function(A,E){if(!j7)U[P]=E;L(A,E)})})}function L(F,O,P){if(F)return z(F);var B=BY.resolve(H,O);if(q)q[P]=B;w(B)}function w(F){Y=BY.resolve(F,Y.slice(Q)),Z()}}});var zu=M((y$4,XX0)=>{XX0.exports=_7;_7.realpath=_7;_7.sync=qu;_7.realpathSync=qu;_7.monkeypatch=KL1;_7.unmonkeypatch=GL1;var IU=m("fs"),$u=IU.realpath,Yu=IU.realpathSync,QL1=process.version,HX0=/^v[0-5]\./.test(QL1),ZX0=GX0();function WX0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function _7($,Y,q){if(HX0)return $u($,Y,q);if(typeof Y==="function")q=Y,Y=null;$u($,Y,function(z,J){if(WX0(z))ZX0.realpath($,Y,q);else q(z,J)})}function qu($,Y){if(HX0)return Yu($,Y);try{return Yu($,Y)}catch(q){if(WX0(q))return ZX0.realpathSync($,Y);else throw q}}function KL1(){IU.realpath=_7,IU.realpathSync=qu}function GL1(){IU.realpath=$u,IU.realpathSync=Yu}});var LX0=M((x$4,VX0)=>{VX0.exports=function($,Y){var q=[];for(var z=0;z<$.length;z++){var J=Y($[z],z);if(HL1(J))q.push.apply(q,J);else q.push(J)}return q};var HL1=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var NX0=M((k$4,MX0)=>{MX0.exports=FX0;function FX0($,Y,q){if($ instanceof RegExp)$=wX0($,q);if(Y instanceof RegExp)Y=wX0(Y,q);var z=OX0($,Y,q);return z&&{start:z[0],end:z[1],pre:q.slice(0,z[0]),body:q.slice(z[0]+$.length,z[1]),post:q.slice(z[1]+Y.length)}}function wX0($,Y){var q=Y.match($);return q?q[0]:null}FX0.range=OX0;function OX0($,Y,q){var z,J,U,I,Q,K=q.indexOf($),G=q.indexOf(Y,K+1),H=K;if(K>=0&&G>0){if($===Y)return[K,G];z=[],U=q.length;while(H>=0&&!Q){if(H==K)z.push(H),K=q.indexOf($,H+1);else if(z.length==1)Q=[z.pop(),G];else{if(J=z.pop(),J<U)U=J,I=G;G=q.indexOf(Y,H+1)}H=K<G&&K>=0?K:G}if(z.length)Q=[U,I]}return Q}});var _X0=M((f$4,jX0)=>{var u$4=LX0(),DX0=NX0();jX0.exports=LL1;var PX0="\x00SLASH"+Math.random()+"\x00",AX0="\x00OPEN"+Math.random()+"\x00",Iu="\x00CLOSE"+Math.random()+"\x00",BX0="\x00COMMA"+Math.random()+"\x00",TX0="\x00PERIOD"+Math.random()+"\x00",ZL1=1e5,WL1=4000000;function Ju($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function XL1($){return $.split("\\\\").join(PX0).split("\\{").join(AX0).split("\\}").join(Iu).split("\\,").join(BX0).split("\\.").join(TX0)}function VL1($){return $.split(PX0).join("\\").split(AX0).join("{").split(Iu).join("}").split(BX0).join(",").split(TX0).join(".")}function EX0($){if(!$)return[""];var Y=[],q=DX0("{","}",$);if(!q)return $.split(",");var{pre:z,body:J,post:U}=q,I=z.split(",");I[I.length-1]+="{"+J+"}";var Q=EX0(U);if(U.length)I[I.length-1]+=Q.shift(),I.push.apply(I,Q);return Y.push.apply(Y,I),Y}function LL1($,Y){if(!$)return[];Y=Y||{};var q=Y.max==null?ZL1:Y.max,z=Y.maxLength==null?WL1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return Uu(XL1($),q,z,!0).map(VL1)}function wL1($){return"{"+$+"}"}function FL1($){return/^-?0\d/.test($)}function OL1($,Y){return $<=Y}function ML1($,Y){return $>=Y}function GH($,Y,q,z,J,U,I,Q){var K=[],G=0;for(var H=0;H<$.length;H++)for(var Z=0;Z<z.length;Z++){if(K.length>=J)return K;var V=$[H]+q+z[Z];if(I&&V.length===Y[H])continue;if(G+V.length>U)return K;K.push(V),Q.push(Y[H]),G+=V.length}return K}function NL1($,Y,q,z){var J=$.split(/\.\./),U=[];if(J[0]===void 0||J[1]===void 0)return U;var I=Ju(J[0]),Q=Ju(J[1]),K=Math.max(J[0].length,J[1].length),G=J.length===3&&J[2]!==void 0?Math.max(Math.abs(Ju(J[2])),1):1,H=OL1,Z=Q<I;if(Z)G*=-1,H=ML1;var V=J.some(FL1),X=0;for(var L=I;H(L,Q)&&U.length<q;L+=G){var w;if(Y){if(w=String.fromCharCode(L),w==="\\")w=""}else if(w=String(L),V){var F=K-w.length;if(F>0){var O=Array(F+1).join("0");if(L<0)w="-"+O+w.slice(1);else w=O+w}}if(X+w.length>z)break;U.push(w),X+=w.length}return U}function Uu($,Y,q,z){var J=[""],U=[0],I=!1,Q=!0,K;for(;;){var G=DX0("{","}",$);if(!G)return GH(J,U,$,[""],Y,q,I,[]);var H=G.pre;if(/\$$/.test(H))return GH(J,U,$,[""],Y,q,I,[]);var Z=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(G.body),V=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(G.body),X=Z||V,L=G.body.indexOf(",")>=0;if(!X&&!L){if(G.post.match(/,(?!,).*\}/)){$=G.pre+"{"+G.body+Iu+G.post,z=!0,Q=!0,I=!1,U=[];for(var w=0;w<J.length;w++)U.push(J[w].length);continue}return GH(J,U,H+"{"+G.body+"}"+G.post,[""],Y,q,I,[])}if(Q)I=z&&!X,Q=!1;var F;if(X)F=NL1(G.body,V,Y,q);else{var O=EX0(G.body);if(O.length===1&&O[0]!==void 0){if(O=Uu(O[0],Y,q,!1).map(wL1),O.length===1){if(K=[],J=GH(J,U,H+O[0],[""],Y,q,I&&!G.post.length,K),U=K,!G.post.length)break;$=G.post;continue}}var P=I&&!G.post.length&&!H;for(var B=0;P&&B<J.length;B++)if(J[B].length!==U[B])P=!1;F=[];var A=0;$:for(var E=0;E<O.length;E++){var y=Uu(O[E],Y,q,!1);for(var v=0;v<y.length;v++){var k=y[v];if(P&&!k)continue;if(F.length>=Y||A+k.length>q)break $;F.push(k),A+=k.length}}}if(K=[],J=GH(J,U,H,F,Y,q,I&&!G.post.length,K),U=K,!G.post.length)break;$=G.post}return J}});var BM=M((b$4,gX0)=>{gX0.exports=G$;G$.Minimatch=H6;var HH=function(){try{return m("path")}catch($){}}()||{sep:"/"};G$.sep=HH.sep;var TY=G$.GLOBSTAR=H6.GLOBSTAR={},DL1=_X0(),RX0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Qu="[^/]",Ku=Qu+"*?",PL1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",AL1="(?:(?!(?:\\/|^)\\.).)*?",CX0=BL1("().*{}+?[]^$\\!");function BL1($){return $.split("").reduce(function(Y,q){return Y[q]=!0,Y},{})}var vX0=/\/+/;G$.filter=TL1;function TL1($,Y){return Y=Y||{},function(q,z,J){return G$(q,$,Y)}}function R7($,Y){Y=Y||{};var q={};return Object.keys($).forEach(function(z){q[z]=$[z]}),Object.keys(Y).forEach(function(z){q[z]=Y[z]}),q}G$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return G$;var Y=G$,q=function(J,U,I){return Y(J,U,R7($,I))};return q.Minimatch=function(J,U){return new Y.Minimatch(J,R7($,U))},q.Minimatch.defaults=function(J){return Y.defaults(R7($,J)).Minimatch},q.filter=function(J,U){return Y.filter(J,R7($,U))},q.defaults=function(J){return Y.defaults(R7($,J))},q.makeRe=function(J,U){return Y.makeRe(J,R7($,U))},q.braceExpand=function(J,U){return Y.braceExpand(J,R7($,U))},q.match=function(z,J,U){return Y.match(z,J,R7($,U))},q};H6.defaults=function($){return G$.defaults($).Minimatch};function G$($,Y,q){if(AM(Y),!q)q={};if(!q.nocomment&&Y.charAt(0)==="#")return!1;return new H6(Y,q).match($)}function H6($,Y){if(!(this instanceof H6))return new H6($,Y);if(AM($),!Y)Y={};if($=$.trim(),!Y.allowWindowsEscape&&HH.sep!=="/")$=$.split(HH.sep).join("/");this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}H6.prototype.debug=function(){};H6.prototype.make=EL1;function EL1(){var $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var q=this.globSet=this.braceExpand();if(Y.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,q),q=this.globParts=q.map(function(z){return z.split(vX0)}),this.debug(this.pattern,q),q=q.map(function(z,J,U){return z.map(this.parse,this)},this),this.debug(this.pattern,q),q=q.filter(function(z){return z.indexOf(!1)===-1}),this.debug(this.pattern,q),this.set=q}H6.prototype.parseNegate=jL1;function jL1(){var $=this.pattern,Y=!1,q=this.options,z=0;if(q.nonegate)return;for(var J=0,U=$.length;J<U&&$.charAt(J)==="!";J++)Y=!Y,z++;if(z)this.pattern=$.substr(z);this.negate=Y}G$.braceExpand=function($,Y){return hX0($,Y)};H6.prototype.braceExpand=hX0;function hX0($,Y){if(!Y)if(this instanceof H6)Y=this.options;else Y={};if($=typeof $>"u"?this.pattern:$,AM($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return DL1($)}var _L1=65536,AM=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>_L1)throw TypeError("pattern is too long")};H6.prototype.parse=RL1;var PM={};function RL1($,Y){AM($);var q=this.options;if($==="**")if(!q.noglobstar)return TY;else $="*";if($==="")return"";var z="",J=!!q.nocase,U=!1,I=[],Q=[],K,G=!1,H=-1,Z=-1,V=$.charAt(0)==="."?"":q.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",X=this;function L(){if(K){switch(K){case"*":z+=Ku,J=!0;break;case"?":z+=Qu,J=!0;break;default:z+="\\"+K;break}X.debug("clearStateChar %j %j",K,z),K=!1}}for(var w=0,F=$.length,O;w<F&&(O=$.charAt(w));w++){if(this.debug("%s\t%s %s %j",$,w,z,O),U&&CX0[O]){z+="\\"+O,U=!1;continue}switch(O){case"/":return!1;case"\\":L(),U=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,w,z,O),G){if(this.debug(" in class"),O==="!"&&w===Z+1)O="^";z+=O;continue}if(O==="*"&&K==="*")continue;if(X.debug("call clearStateChar %j",K),L(),K=O,q.noext)L();continue;case"(":if(G){z+="(";continue}if(!K){z+="\\(";continue}I.push({type:K,start:w-1,reStart:z.length,open:RX0[K].open,close:RX0[K].close}),z+=K==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",K,z),K=!1;continue;case")":if(G||!I.length){z+="\\)";continue}L(),J=!0;var P=I.pop();if(z+=P.close,P.type==="!")Q.push(P);P.reEnd=z.length;continue;case"|":if(G||!I.length||U){z+="\\|",U=!1;continue}L(),z+="|";continue;case"[":if(L(),G){z+="\\"+O;continue}G=!0,Z=w,H=z.length,z+=O;continue;case"]":if(w===Z+1||!G){z+="\\"+O,U=!1;continue}var B=$.substring(Z+1,w);try{RegExp("["+B+"]")}catch(q0){var A=this.parse(B,PM);z=z.substr(0,H)+"\\["+A[0]+"\\]",J=J||A[1],G=!1;continue}J=!0,G=!1,z+=O;continue;default:if(L(),U)U=!1;else if(CX0[O]&&!(O==="^"&&G))z+="\\";z+=O}}if(G)B=$.substr(Z+1),A=this.parse(B,PM),z=z.substr(0,H)+"\\["+A[0],J=J||A[1];for(P=I.pop();P;P=I.pop()){var E=z.slice(P.reStart+P.open.length);this.debug("setting tail",z,P),E=E.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(q0,t,H0){if(!H0)H0="\\";return t+t+H0+"|"}),this.debug(`tail=%j
%s`,E,E,P,z);var y=P.type==="*"?Ku:P.type==="?"?Qu:"\\"+P.type;J=!0,z=z.slice(0,P.reStart)+y+"\\("+E}if(L(),U)z+="\\\\";var v=!1;switch(z.charAt(0)){case"[":case".":case"(":v=!0}for(var k=Q.length-1;k>-1;k--){var C=Q[k],c=z.slice(0,C.reStart),n=z.slice(C.reStart,C.reEnd-8),g=z.slice(C.reEnd-8,C.reEnd),b=z.slice(C.reEnd);g+=b;var i=c.split("(").length-1,$0=b;for(w=0;w<i;w++)$0=$0.replace(/\)[+*?]?/,"");b=$0;var j="";if(b===""&&Y!==PM)j="$";var u=c+n+b+j+g;z=u}if(z!==""&&J)z="(?=.)"+z;if(v)z=V+z;if(Y===PM)return[z,J];if(!J)return vL1($);var p=q.nocase?"i":"";try{var d=new RegExp("^"+z+"$",p)}catch(q0){return new RegExp("$.")}return d._glob=$,d._src=z,d}G$.makeRe=function($,Y){return new H6($,Y||{}).makeRe()};H6.prototype.makeRe=CL1;function CL1(){if(this.regexp||this.regexp===!1)return this.regexp;var $=this.set;if(!$.length)return this.regexp=!1,this.regexp;var Y=this.options,q=Y.noglobstar?Ku:Y.dot?PL1:AL1,z=Y.nocase?"i":"",J=$.map(function(U){return U.map(function(I){return I===TY?q:typeof I==="string"?hL1(I):I._src}).join("\\/")}).join("|");if(J="^(?:"+J+")$",this.negate)J="^(?!"+J+").*$";try{this.regexp=new RegExp(J,z)}catch(U){this.regexp=!1}return this.regexp}G$.match=function($,Y,q){q=q||{};var z=new H6(Y,q);if($=$.filter(function(J){return z.match(J)}),z.options.nonull&&!$.length)$.push(Y);return $};H6.prototype.match=function(Y,q){if(typeof q>"u")q=this.partial;if(this.debug("match",Y,this.pattern),this.comment)return!1;if(this.empty)return Y==="";if(Y==="/"&&q)return!0;var z=this.options;if(HH.sep!=="/")Y=Y.split(HH.sep).join("/");Y=Y.split(vX0),this.debug(this.pattern,"split",Y);var J=this.set;this.debug(this.pattern,"set",J);var U,I;for(I=Y.length-1;I>=0;I--)if(U=Y[I],U)break;for(I=0;I<J.length;I++){var Q=J[I],K=Y;if(z.matchBase&&Q.length===1)K=[U];var G=this.matchOne(K,Q,q);if(G){if(z.flipNegate)return!0;return!this.negate}}if(z.flipNegate)return!1;return this.negate};H6.prototype.matchOne=function($,Y,q){if(Y.indexOf(TY)!==-1)return this._matchGlobstar($,Y,q,0,0);return this._matchOne($,Y,q,0,0)};H6.prototype._matchGlobstar=function($,Y,q,z,J){var U,I=-1;for(U=J;U<Y.length;U++)if(Y[U]===TY){I=U;break}var Q=-1;for(U=Y.length-1;U>=0;U--)if(Y[U]===TY){Q=U;break}var K=Y.slice(J,I),G=q?Y.slice(I+1):Y.slice(I+1,Q),H=q?[]:Y.slice(Q+1);if(K.length){var Z=$.slice(z,z+K.length);if(!this._matchOne(Z,K,q,0,0))return!1;z+=K.length}var V=0;if(H.length){if(H.length+z>$.length)return!1;var X=$.length-H.length;if(this._matchOne($,H,q,X,0))V=H.length;else{if($[$.length-1]!==""||z+H.length===$.length)return!1;if(X--,!this._matchOne($,H,q,X,0))return!1;V=H.length+1}}if(!G.length){var L=!!V;for(U=z;U<$.length-V;U++){var w=String($[U]);if(L=!0,w==="."||w===".."||!this.options.dot&&w.charAt(0)===".")return!1}return q||L}var F=[[[],0]],O=F[0],P=0,B=[0];for(var A=0;A<G.length;A++){var E=G[A];if(E===TY)B.push(P),O=[[],0],F.push(O);else O[0].push(E),P++}var y=F.length-1,v=$.length-V;for(var k=0;k<F.length;k++)F[k][1]=v-(B[y--]+F[k][0].length);return!!this._matchGlobStarBodySections($,F,z,0,q,0,!!V)};H6.prototype._matchGlobStarBodySections=function($,Y,q,z,J,U,I){var Q=Y[z];if(!Q){for(var K=q;K<$.length;K++){I=!0;var G=$[K];if(G==="."||G===".."||!this.options.dot&&G.charAt(0)===".")return!1}return I}var H=Q[0],Z=Q[1];while(q<=Z){var V=this._matchOne($.slice(0,q+H.length),H,J,q,0);if(V&&U<this.maxGlobstarRecursion){var X=this._matchGlobStarBodySections($,Y,q+H.length,z+1,J,U+1,I);if(X!==!1)return X}var G=$[q];if(G==="."||G===".."||!this.options.dot&&G.charAt(0)===".")return!1;q++}return J||null};H6.prototype._matchOne=function($,Y,q,z,J){var U,I,Q,K;for(U=z,I=J,Q=$.length,K=Y.length;U<Q&&I<K;U++,I++){this.debug("matchOne loop");var G=Y[I],H=$[U];if(this.debug(Y,G,H),G===!1||G===TY)return!1;var Z;if(typeof G==="string")Z=H===G,this.debug("string match",G,H,Z);else Z=H.match(G),this.debug("pattern match",G,H,Z);if(!Z)return!1}if(U===Q&&I===K)return!0;else if(U===Q)return q;else if(I===K)return U===Q-1&&$[U]==="";throw Error("wtf?")};function vL1($){return $.replace(/\\(.)/g,"$1")}function hL1($){return $.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var EM=M((i$4,TM)=>{function SX0($){return $.charAt(0)==="/"}function yX0($){var Y=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,q=Y.exec($),z=q[1]||"",J=Boolean(z&&z.charAt(1)!==":");return Boolean(q[2]||J)}TM.exports=process.platform==="win32"?yX0:SX0;TM.exports.posix=SX0;TM.exports.win32=yX0});var Hu=M((nL1)=>{nL1.setopts=uL1;nL1.ownProp=xX0;nL1.makeAbs=ZH;nL1.finish=fL1;nL1.mark=bL1;nL1.isIgnored=uX0;nL1.childrenIgnored=iL1;function xX0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}var gL1=m("fs"),QU=m("path"),SL1=BM(),kX0=EM(),Gu=SL1.Minimatch;function yL1($,Y){return $.localeCompare(Y,"en")}function xL1($,Y){if($.ignore=Y.ignore||[],!Array.isArray($.ignore))$.ignore=[$.ignore];if($.ignore.length)$.ignore=$.ignore.map(kL1)}function kL1($){var Y=null;if($.slice(-3)==="/**"){var q=$.replace(/(\/\*\*)+$/,"");Y=new Gu(q,{dot:!0})}return{matcher:new Gu($,{dot:!0}),gmatcher:Y}}function uL1($,Y,q){if(!q)q={};if(q.matchBase&&Y.indexOf("/")===-1){if(q.noglobstar)throw Error("base matching requires globstar");Y="**/"+Y}if($.silent=!!q.silent,$.pattern=Y,$.strict=q.strict!==!1,$.realpath=!!q.realpath,$.realpathCache=q.realpathCache||Object.create(null),$.follow=!!q.follow,$.dot=!!q.dot,$.mark=!!q.mark,$.nodir=!!q.nodir,$.nodir)$.mark=!0;$.sync=!!q.sync,$.nounique=!!q.nounique,$.nonull=!!q.nonull,$.nosort=!!q.nosort,$.nocase=!!q.nocase,$.stat=!!q.stat,$.noprocess=!!q.noprocess,$.absolute=!!q.absolute,$.fs=q.fs||gL1,$.maxLength=q.maxLength||1/0,$.cache=q.cache||Object.create(null),$.statCache=q.statCache||Object.create(null),$.symlinks=q.symlinks||Object.create(null),xL1($,q),$.changedCwd=!1;var z=process.cwd();if(!xX0(q,"cwd"))$.cwd=z;else $.cwd=QU.resolve(q.cwd),$.changedCwd=$.cwd!==z;if($.root=q.root||QU.resolve($.cwd,"/"),$.root=QU.resolve($.root),process.platform==="win32")$.root=$.root.replace(/\\/g,"/");if($.cwdAbs=kX0($.cwd)?$.cwd:ZH($,$.cwd),process.platform==="win32")$.cwdAbs=$.cwdAbs.replace(/\\/g,"/");$.nomount=!!q.nomount,q.nonegate=!0,q.nocomment=!0,q.allowWindowsEscape=!1,$.minimatch=new Gu(Y,q),$.options=$.minimatch.options}function fL1($){var Y=$.nounique,q=Y?[]:Object.create(null);for(var z=0,J=$.matches.length;z<J;z++){var U=$.matches[z];if(!U||Object.keys(U).length===0){if($.nonull){var I=$.minimatch.globSet[z];if(Y)q.push(I);else q[I]=!0}}else{var Q=Object.keys(U);if(Y)q.push.apply(q,Q);else Q.forEach(function(K){q[K]=!0})}}if(!Y)q=Object.keys(q);if(!$.nosort)q=q.sort(yL1);if($.mark){for(var z=0;z<q.length;z++)q[z]=$._mark(q[z]);if($.nodir)q=q.filter(function(K){var G=!/\/$/.test(K),H=$.cache[K]||$.cache[ZH($,K)];if(G&&H)G=H!=="DIR"&&!Array.isArray(H);return G})}if($.ignore.length)q=q.filter(function(K){return!uX0($,K)});$.found=q}function bL1($,Y){var q=ZH($,Y),z=$.cache[q],J=Y;if(z){var U=z==="DIR"||Array.isArray(z),I=Y.slice(-1)==="/";if(U&&!I)J+="/";else if(!U&&I)J=J.slice(0,-1);if(J!==Y){var Q=ZH($,J);$.statCache[Q]=$.statCache[q],$.cache[Q]=$.cache[q]}}return J}function ZH($,Y){var q=Y;if(Y.charAt(0)==="/")q=QU.join($.root,Y);else if(kX0(Y)||Y==="")q=Y;else if($.changedCwd)q=QU.resolve($.cwd,Y);else q=QU.resolve(Y);if(process.platform==="win32")q=q.replace(/\\/g,"/");return q}function uX0($,Y){if(!$.ignore.length)return!1;return $.ignore.some(function(q){return q.matcher.match(Y)||!!(q.gmatcher&&q.gmatcher.match(Y))})}function iL1($,Y){if(!$.ignore.length)return!1;return $.ignore.some(function(q){return!!(q.gmatcher&&q.gmatcher.match(Y))})}});var cX0=M((m$4,nX0)=>{nX0.exports=iX0;iX0.GlobSync=M6;var sL1=zu(),fX0=BM(),c$4=fX0.Minimatch,p$4=WH().Glob,d$4=m("util"),Zu=m("path"),bX0=m("assert"),jM=EM(),EY=Hu(),tL1=EY.setopts,Wu=EY.ownProp,aL1=EY.childrenIgnored,eL1=EY.isIgnored;function iX0($,Y){if(typeof Y==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob
See: https://github.com/isaacs/node-glob/issues/167`);return new M6($,Y).found}function M6($,Y){if(!$)throw Error("must provide pattern");if(typeof Y==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof M6))return new M6($,Y);if(tL1(this,$,Y),this.noprocess)return this;var q=this.minimatch.set.length;this.matches=Array(q);for(var z=0;z<q;z++)this._process(this.minimatch.set[z],z,!1);this._finish()}M6.prototype._finish=function(){if(bX0.ok(this instanceof M6),this.realpath){var $=this;this.matches.forEach(function(Y,q){var z=$.matches[q]=Object.create(null);for(var J in Y)try{J=$._makeAbs(J);var U=sL1.realpathSync(J,$.realpathCache);z[U]=!0}catch(I){if(I.syscall==="stat")z[$._makeAbs(J)]=!0;else throw I}})}EY.finish(this)};M6.prototype._process=function($,Y,q){bX0.ok(this instanceof M6);var z=0;while(typeof $[z]==="string")z++;var J;switch(z){case $.length:this._processSimple($.join("/"),Y);return;case 0:J=null;break;default:J=$.slice(0,z).join("/");break}var U=$.slice(z),I;if(J===null)I=".";else if(jM(J)||jM($.map(function(G){return typeof G==="string"?G:"[*]"}).join("/"))){if(!J||!jM(J))J="/"+J;I=J}else I=J;var Q=this._makeAbs(I);if(aL1(this,I))return;var K=U[0]===fX0.GLOBSTAR;if(K)this._processGlobStar(J,I,Q,U,Y,q);else this._processReaddir(J,I,Q,U,Y,q)};M6.prototype._processReaddir=function($,Y,q,z,J,U){var I=this._readdir(q,U);if(!I)return;var Q=z[0],K=!!this.minimatch.negate,G=Q._glob,H=this.dot||G.charAt(0)===".",Z=[];for(var V=0;V<I.length;V++){var X=I[V];if(X.charAt(0)!=="."||H){var L;if(K&&!$)L=!X.match(Q);else L=X.match(Q);if(L)Z.push(X)}}var w=Z.length;if(w===0)return;if(z.length===1&&!this.mark&&!this.stat){if(!this.matches[J])this.matches[J]=Object.create(null);for(var V=0;V<w;V++){var X=Z[V];if($)if($.slice(-1)!=="/")X=$+"/"+X;else X=$+X;if(X.charAt(0)==="/"&&!this.nomount)X=Zu.join(this.root,X);this._emitMatch(J,X)}return}z.shift();for(var V=0;V<w;V++){var X=Z[V],F;if($)F=[$,X];else F=[X];this._process(F.concat(z),J,U)}};M6.prototype._emitMatch=function($,Y){if(eL1(this,Y))return;var q=this._makeAbs(Y);if(this.mark)Y=this._mark(Y);if(this.absolute)Y=q;if(this.matches[$][Y])return;if(this.nodir){var z=this.cache[q];if(z==="DIR"||Array.isArray(z))return}if(this.matches[$][Y]=!0,this.stat)this._stat(Y)};M6.prototype._readdirInGlobStar=function($){if(this.follow)return this._readdir($,!1);var Y,q,z;try{q=this.fs.lstatSync($)}catch(U){if(U.code==="ENOENT")return null}var J=q&&q.isSymbolicLink();if(this.symlinks[$]=J,!J&&q&&!q.isDirectory())this.cache[$]="FILE";else Y=this._readdir($,!1);return Y};M6.prototype._readdir=function($,Y){var q;if(Y&&!Wu(this.symlinks,$))return this._readdirInGlobStar($);if(Wu(this.cache,$)){var z=this.cache[$];if(!z||z==="FILE")return null;if(Array.isArray(z))return z}try{return this._readdirEntries($,this.fs.readdirSync($))}catch(J){return this._readdirError($,J),null}};M6.prototype._readdirEntries=function($,Y){if(!this.mark&&!this.stat)for(var q=0;q<Y.length;q++){var z=Y[q];if($==="/")z=$+z;else z=$+"/"+z;this.cache[z]=!0}return this.cache[$]=Y,Y};M6.prototype._readdirError=function($,Y){switch(Y.code){case"ENOTSUP":case"ENOTDIR":var q=this._makeAbs($);if(this.cache[q]="FILE",q===this.cwdAbs){var z=Error(Y.code+" invalid cwd "+this.cwd);throw z.path=this.cwd,z.code=Y.code,z}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs($)]=!1;break;default:if(this.cache[this._makeAbs($)]=!1,this.strict)throw Y;if(!this.silent)console.error("glob error",Y);break}};M6.prototype._processGlobStar=function($,Y,q,z,J,U){var I=this._readdir(q,U);if(!I)return;var Q=z.slice(1),K=$?[$]:[],G=K.concat(Q);this._process(G,J,!1);var H=I.length,Z=this.symlinks[q];if(Z&&U)return;for(var V=0;V<H;V++){var X=I[V];if(X.charAt(0)==="."&&!this.dot)continue;var L=K.concat(I[V],Q);this._process(L,J,!0);var w=K.concat(I[V],z);this._process(w,J,!0)}};M6.prototype._processSimple=function($,Y){var q=this._stat($);if(!this.matches[Y])this.matches[Y]=Object.create(null);if(!q)return;if($&&jM($)&&!this.nomount){var z=/[\/\\]$/.test($);if($.charAt(0)==="/")$=Zu.join(this.root,$);else if($=Zu.resolve(this.root,$),z)$+="/"}if(process.platform==="win32")$=$.replace(/\\/g,"/");this._emitMatch(Y,$)};M6.prototype._stat=function($){var Y=this._makeAbs($),q=$.slice(-1)==="/";if($.length>this.maxLength)return!1;if(!this.stat&&Wu(this.cache,Y)){var I=this.cache[Y];if(Array.isArray(I))I="DIR";if(!q||I==="DIR")return I;if(q&&I==="FILE")return!1}var z,J=this.statCache[Y];if(!J){var U;try{U=this.fs.lstatSync(Y)}catch(Q){if(Q&&(Q.code==="ENOENT"||Q.code==="ENOTDIR"))return this.statCache[Y]=!1,!1}if(U&&U.isSymbolicLink())try{J=this.fs.statSync(Y)}catch(Q){J=U}else J=U}this.statCache[Y]=J;var I=!0;if(J)I=J.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,q&&I==="FILE")return!1;return I};M6.prototype._mark=function($){return EY.mark(this,$)};M6.prototype._makeAbs=function($){return EY.makeAbs(this,$)}});var Xu=M((l$4,dX0)=>{dX0.exports=pX0;function pX0($,Y){if($&&Y)return pX0($)(Y);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(z){q[z]=$[z]}),q;function q(){var z=Array(arguments.length);for(var J=0;J<z.length;J++)z[J]=arguments[J];var U=$.apply(this,z),I=z[z.length-1];if(typeof U==="function"&&U!==I)Object.keys(I).forEach(function(Q){U[Q]=I[Q]});return U}}});var RM=M((o$4,Vu)=>{var mX0=Xu();Vu.exports=mX0(_M);Vu.exports.strict=mX0(lX0);_M.proto=_M(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return _M(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return lX0(this)},configurable:!0})});function _M($){var Y=function(){if(Y.called)return Y.value;return Y.called=!0,Y.value=$.apply(this,arguments)};return Y.called=!1,Y}function lX0($){var Y=function(){if(Y.called)throw Error(Y.onceError);return Y.called=!0,Y.value=$.apply(this,arguments)},q=$.name||"Function wrapped with `once`";return Y.onceError=q+" shouldn't be called more than once",Y.called=!1,Y}});var rX0=M((r$4,oX0)=>{var $w1=Xu(),XH=Object.create(null),Yw1=RM();oX0.exports=$w1(qw1);function qw1($,Y){if(XH[$])return XH[$].push(Y),null;else return XH[$]=[Y],zw1($)}function zw1($){return Yw1(function Y(){var q=XH[$],z=q.length,J=Jw1(arguments);try{for(var U=0;U<z;U++)q[U].apply(null,J)}finally{if(q.length>z)q.splice(0,z),process.nextTick(function(){Y.apply(null,J)});else delete XH[$]}})}function Jw1($){var Y=$.length,q=[];for(var z=0;z<Y;z++)q[z]=$[z];return q}});var WH=M((a$4,tX0)=>{tX0.exports=jY;var Uw1=zu(),sX0=BM(),s$4=sX0.Minimatch,Iw1=m0(),Qw1=m("events").EventEmitter,Lu=m("path"),wu=m("assert"),VH=EM(),Ou=cX0(),_Y=Hu(),Kw1=_Y.setopts,Fu=_Y.ownProp,Mu=rX0(),t$4=m("util"),Gw1=_Y.childrenIgnored,Hw1=_Y.isIgnored,Zw1=RM();function jY($,Y,q){if(typeof Y==="function")q=Y,Y={};if(!Y)Y={};if(Y.sync){if(q)throw TypeError("callback provided to sync glob");return Ou($,Y)}return new t1($,Y,q)}jY.sync=Ou;var Ww1=jY.GlobSync=Ou.GlobSync;jY.glob=jY;function Xw1($,Y){if(Y===null||typeof Y!=="object")return $;var q=Object.keys(Y),z=q.length;while(z--)$[q[z]]=Y[q[z]];return $}jY.hasMagic=function($,Y){var q=Xw1({},Y);q.noprocess=!0;var z=new t1($,q),J=z.minimatch.set;if(!$)return!1;if(J.length>1)return!0;for(var U=0;U<J[0].length;U++)if(typeof J[0][U]!=="string")return!0;return!1};jY.Glob=t1;Iw1(t1,Qw1);function t1($,Y,q){if(typeof Y==="function")q=Y,Y=null;if(Y&&Y.sync){if(q)throw TypeError("callback provided to sync glob");return new Ww1($,Y)}if(!(this instanceof t1))return new t1($,Y,q);Kw1(this,$,Y),this._didRealPath=!1;var z=this.minimatch.set.length;if(this.matches=Array(z),typeof q==="function")q=Zw1(q),this.on("error",q),this.on("end",function(K){q(null,K)});var J=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(z===0)return Q();var U=!0;for(var I=0;I<z;I++)this._process(this.minimatch.set[I],I,!1,Q);U=!1;function Q(){if(--J._processing,J._processing<=0)if(U)process.nextTick(function(){J._finish()});else J._finish()}}t1.prototype._finish=function(){if(wu(this instanceof t1),this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();_Y.finish(this),this.emit("end",this.found)};t1.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var $=this.matches.length;if($===0)return this._finish();var Y=this;for(var q=0;q<this.matches.length;q++)this._realpathSet(q,z);function z(){if(--$===0)Y._finish()}};t1.prototype._realpathSet=function($,Y){var q=this.matches[$];if(!q)return Y();var z=Object.keys(q),J=this,U=z.length;if(U===0)return Y();var I=this.matches[$]=Object.create(null);z.forEach(function(Q,K){Q=J._makeAbs(Q),Uw1.realpath(Q,J.realpathCache,function(G,H){if(!G)I[H]=!0;else if(G.syscall==="stat")I[Q]=!0;else J.emit("error",G);if(--U===0)J.matches[$]=I,Y()})})};t1.prototype._mark=function($){return _Y.mark(this,$)};t1.prototype._makeAbs=function($){return _Y.makeAbs(this,$)};t1.prototype.abort=function(){this.aborted=!0,this.emit("abort")};t1.prototype.pause=function(){if(!this.paused)this.paused=!0,this.emit("pause")};t1.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var $=this._emitQueue.slice(0);this._emitQueue.length=0;for(var Y=0;Y<$.length;Y++){var q=$[Y];this._emitMatch(q[0],q[1])}}if(this._processQueue.length){var z=this._processQueue.slice(0);this._processQueue.length=0;for(var Y=0;Y<z.length;Y++){var J=z[Y];this._processing--,this._process(J[0],J[1],J[2],J[3])}}}};t1.prototype._process=function($,Y,q,z){if(wu(this instanceof t1),wu(typeof z==="function"),this.aborted)return;if(this._processing++,this.paused){this._processQueue.push([$,Y,q,z]);return}var J=0;while(typeof $[J]==="string")J++;var U;switch(J){case $.length:this._processSimple($.join("/"),Y,z);return;case 0:U=null;break;default:U=$.slice(0,J).join("/");break}var I=$.slice(J),Q;if(U===null)Q=".";else if(VH(U)||VH($.map(function(H){return typeof H==="string"?H:"[*]"}).join("/"))){if(!U||!VH(U))U="/"+U;Q=U}else Q=U;var K=this._makeAbs(Q);if(Gw1(this,Q))return z();var G=I[0]===sX0.GLOBSTAR;if(G)this._processGlobStar(U,Q,K,I,Y,q,z);else this._processReaddir(U,Q,K,I,Y,q,z)};t1.prototype._processReaddir=function($,Y,q,z,J,U,I){var Q=this;this._readdir(q,U,function(K,G){return Q._processReaddir2($,Y,q,z,J,U,G,I)})};t1.prototype._processReaddir2=function($,Y,q,z,J,U,I,Q){if(!I)return Q();var K=z[0],G=!!this.minimatch.negate,H=K._glob,Z=this.dot||H.charAt(0)===".",V=[];for(var X=0;X<I.length;X++){var L=I[X];if(L.charAt(0)!=="."||Z){var w;if(G&&!$)w=!L.match(K);else w=L.match(K);if(w)V.push(L)}}var F=V.length;if(F===0)return Q();if(z.length===1&&!this.mark&&!this.stat){if(!this.matches[J])this.matches[J]=Object.create(null);for(var X=0;X<F;X++){var L=V[X];if($)if($!=="/")L=$+"/"+L;else L=$+L;if(L.charAt(0)==="/"&&!this.nomount)L=Lu.join(this.root,L);this._emitMatch(J,L)}return Q()}z.shift();for(var X=0;X<F;X++){var L=V[X],O;if($)if($!=="/")L=$+"/"+L;else L=$+L;this._process([L].concat(z),J,U,Q)}Q()};t1.prototype._emitMatch=function($,Y){if(this.aborted)return;if(Hw1(this,Y))return;if(this.paused){this._emitQueue.push([$,Y]);return}var q=VH(Y)?Y:this._makeAbs(Y);if(this.mark)Y=this._mark(Y);if(this.absolute)Y=q;if(this.matches[$][Y])return;if(this.nodir){var z=this.cache[q];if(z==="DIR"||Array.isArray(z))return}this.matches[$][Y]=!0;var J=this.statCache[q];if(J)this.emit("stat",Y,J);this.emit("match",Y)};t1.prototype._readdirInGlobStar=function($,Y){if(this.aborted)return;if(this.follow)return this._readdir($,!1,Y);var q="lstat\x00"+$,z=this,J=Mu(q,U);if(J)z.fs.lstat($,J);function U(I,Q){if(I&&I.code==="ENOENT")return Y();var K=Q&&Q.isSymbolicLink();if(z.symlinks[$]=K,!K&&Q&&!Q.isDirectory())z.cache[$]="FILE",Y();else z._readdir($,!1,Y)}};t1.prototype._readdir=function($,Y,q){if(this.aborted)return;if(q=Mu("readdir\x00"+$+"\x00"+Y,q),!q)return;if(Y&&!Fu(this.symlinks,$))return this._readdirInGlobStar($,q);if(Fu(this.cache,$)){var z=this.cache[$];if(!z||z==="FILE")return q();if(Array.isArray(z))return q(null,z)}var J=this;J.fs.readdir($,Vw1(this,$,q))};function Vw1($,Y,q){return function(z,J){if(z)$._readdirError(Y,z,q);else $._readdirEntries(Y,J,q)}}t1.prototype._readdirEntries=function($,Y,q){if(this.aborted)return;if(!this.mark&&!this.stat)for(var z=0;z<Y.length;z++){var J=Y[z];if($==="/")J=$+J;else J=$+"/"+J;this.cache[J]=!0}return this.cache[$]=Y,q(null,Y)};t1.prototype._readdirError=function($,Y,q){if(this.aborted)return;switch(Y.code){case"ENOTSUP":case"ENOTDIR":var z=this._makeAbs($);if(this.cache[z]="FILE",z===this.cwdAbs){var J=Error(Y.code+" invalid cwd "+this.cwd);J.path=this.cwd,J.code=Y.code,this.emit("error",J),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs($)]=!1;break;default:if(this.cache[this._makeAbs($)]=!1,this.strict)this.emit("error",Y),this.abort();if(!this.silent)console.error("glob error",Y);break}return q()};t1.prototype._processGlobStar=function($,Y,q,z,J,U,I){var Q=this;this._readdir(q,U,function(K,G){Q._processGlobStar2($,Y,q,z,J,U,G,I)})};t1.prototype._processGlobStar2=function($,Y,q,z,J,U,I,Q){if(!I)return Q();var K=z.slice(1),G=$?[$]:[],H=G.concat(K);this._process(H,J,!1,Q);var Z=this.symlinks[q],V=I.length;if(Z&&U)return Q();for(var X=0;X<V;X++){var L=I[X];if(L.charAt(0)==="."&&!this.dot)continue;var w=G.concat(I[X],K);this._process(w,J,!0,Q);var F=G.concat(I[X],z);this._process(F,J,!0,Q)}Q()};t1.prototype._processSimple=function($,Y,q){var z=this;this._stat($,function(J,U){z._processSimple2($,Y,J,U,q)})};t1.prototype._processSimple2=function($,Y,q,z,J){if(!this.matches[Y])this.matches[Y]=Object.create(null);if(!z)return J();if($&&VH($)&&!this.nomount){var U=/[\/\\]$/.test($);if($.charAt(0)==="/")$=Lu.join(this.root,$);else if($=Lu.resolve(this.root,$),U)$+="/"}if(process.platform==="win32")$=$.replace(/\\/g,"/");this._emitMatch(Y,$),J()};t1.prototype._stat=function($,Y){var q=this._makeAbs($),z=$.slice(-1)==="/";if($.length>this.maxLength)return Y();if(!this.stat&&Fu(this.cache,q)){var J=this.cache[q];if(Array.isArray(J))J="DIR";if(!z||J==="DIR")return Y(null,J);if(z&&J==="FILE")return Y()}var U,I=this.statCache[q];if(I!==void 0)if(I===!1)return Y(null,I);else{var Q=I.isDirectory()?"DIR":"FILE";if(z&&Q==="FILE")return Y();else return Y(null,Q,I)}var K=this,G=Mu("stat\x00"+q,H);if(G)K.fs.lstat(q,G);function H(Z,V){if(V&&V.isSymbolicLink())return K.fs.stat(q,function(X,L){if(X)K._stat2($,q,null,V,Y);else K._stat2($,q,X,L,Y)});else K._stat2($,q,Z,V,Y)}};t1.prototype._stat2=function($,Y,q,z,J){if(q&&(q.code==="ENOENT"||q.code==="ENOTDIR"))return this.statCache[Y]=!1,J();var U=$.slice(-1)==="/";if(this.statCache[Y]=z,Y.slice(-1)==="/"&&z&&!z.isDirectory())return J(null,!1,z);var I=!0;if(z)I=z.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,U&&I==="FILE")return J();return J(null,I,z)}});var YV0=M((e$4,$V0)=>{var eX0=m8(),KU=m("path"),Nu=bk(),Lw1=mk(),ww1=ak(),Fw1=ek(),Ow1=WH(),RY=$V0.exports={},aX0=/[\/\\]/g,Mw1=function($,Y){var q=[];return Nu($).forEach(function(z){var J=z.indexOf("!")===0;if(J)z=z.slice(1);var U=Y(z);if(J)q=Lw1(q,U);else q=ww1(q,U)}),q};RY.exists=function(){var $=KU.join.apply(KU,arguments);return eX0.existsSync($)};RY.expand=function(...$){var Y=Fw1($[0])?$.shift():{},q=Array.isArray($[0])?$[0]:$;if(q.length===0)return[];var z=Mw1(q,function(J){return Ow1.sync(J,Y)});if(Y.filter)z=z.filter(function(J){J=KU.join(Y.cwd||"",J);try{if(typeof Y.filter==="function")return Y.filter(J);else return eX0.statSync(J)[Y.filter]()}catch(U){return!1}});return z};RY.expandMapping=function($,Y,q){q=Object.assign({rename:function(U,I){return KU.join(U||"",I)}},q);var z=[],J={};return RY.expand(q,$).forEach(function(U){var I=U;if(q.flatten)I=KU.basename(I);if(q.ext)I=I.replace(/(\.[^\/]*)?$/,q.ext);var Q=q.rename(Y,I,q);if(q.cwd)U=KU.join(q.cwd,U);if(Q=Q.replace(aX0,"/"),U=U.replace(aX0,"/"),J[Q])J[Q].src.push(U);else z.push({src:[U],dest:Q}),J[Q]=z[z.length-1]}),z};RY.normalizeFilesArray=function($){var Y=[];if($.forEach(function(q){var z;if("src"in q||"dest"in q)Y.push(q)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(q){if(!("src"in q)||!q.src)return;if(Array.isArray(q.src))q.src=Nu(q.src);else q.src=[q.src]}).map(function(q){var z=Object.assign({},q);if(delete z.src,delete z.dest,q.expand)return RY.expandMapping(q.src,q.dest,z).map(function(U){var I=Object.assign({},q);return I.orig=Object.assign({},q),I.src=U.src,I.dest=U.dest,["expand","cwd","flatten","rename","ext"].forEach(function(Q){delete I[Q]}),I});var J=Object.assign({},q);if(J.orig=Object.assign({},q),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function U(){var I;if(!("result"in U))I=q.src,I=Array.isArray(I)?Nu(I):[I],U.result=RY.expand(z,I);return U.result}});if("dest"in J)J.dest=q.dest;return J}).flatten().value(),Y}});var LH=M((Y54,JV0)=>{var Du=m8(),qV0=m("path"),$54=m("util"),Nw1=JM(),zV0=MY(),Dw1=Pk(),Pw1=m("stream").Stream,Aw1=vW0().PassThrough,H$=JV0.exports={};H$.file=YV0();H$.collectStream=function($,Y){var q=[],z=0;$.on("error",Y),$.on("data",function(J){q.push(J),z+=J.length}),$.on("end",function(){var J=new Buffer(z),U=0;q.forEach(function(I){I.copy(J,U),U+=I.length}),Y(null,J)})};H$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};H$.defaults=function($,Y,q){var z=arguments;return z[0]=z[0]||{},Dw1(...z)};H$.isStream=function($){return $ instanceof Pw1};H$.lazyReadStream=function($){return new Nw1.Readable(function(){return Du.createReadStream($)})};H$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(H$.isStream($)&&!$._readableState){var Y=new Aw1;return $.pipe(Y),Y}return $};H$.sanitizePath=function($){return zV0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};H$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};H$.unixifyPath=function($){return zV0($,!1).replace(/^\w+:/,"")};H$.walkdir=function($,Y,q){var z=[];if(typeof Y==="function")q=Y,Y=$;Du.readdir($,function(J,U){var I=0,Q,K;if(J)return q(J);(function G(){if(Q=U[I++],!Q)return q(null,z);K=qV0.join($,Q),Du.stat(K,function(H,Z){if(z.push({path:K,relative:qV0.relative(Y,K).replace(/\\/g,"/"),stats:Z}),Z&&Z.isDirectory())H$.walkdir(K,Y,function(V,X){X.forEach(function(L){z.push(L)}),G()});else G()})})()})}});var KV0=M((IV0,QV0)=>{var Bw1=m("util"),Tw1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function UV0($,Y){Error.captureStackTrace(this,this.constructor),this.message=Tw1[$]||$,this.code=$,this.data=Y}Bw1.inherits(UV0,Error);IV0=QV0.exports=UV0});var XV0=M((q54,WV0)=>{var Bu=m("fs"),HV0=pH0(),GV0=ax(),Pu=m("path"),e5=LH(),Ew1=m("util").inherits,r4=KV0(),ZV0=P8().Transform,Au=process.platform==="win32",f1=function($,Y){if(!(this instanceof f1))return new f1($,Y);if(typeof $!=="string")Y=$,$="zip";Y=this.options=e5.defaults(Y,{highWaterMark:1048576,statConcurrency:4}),ZV0.call(this,Y),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=GV0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=GV0.queue(this._onStatQueueTask.bind(this),Y.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};Ew1(f1,ZV0);f1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};f1.prototype._append=function($,Y){Y=Y||{};var q={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,q.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof Bu.Stats){if(q=this._updateQueueTaskWithStats(q,Y.stats),q){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(q)}}else this._statQueue.push(q)};f1.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};f1.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};f1.prototype._moduleAppend=function($,Y,q){if(this._state.aborted){q();return}this._module.append($,Y,function(z){if(this._task=null,this._state.aborted){this._shutdown();return}if(z){this.emit("error",z),setImmediate(q);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(q)}.bind(this))};f1.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new r4("NOENDMETHOD"))};f1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};f1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};f1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};f1.prototype._normalizeEntryData=function($,Y){if($=e5.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),Y&&$.stats===!1)$.stats=Y;var q=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=e5.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")q=!0,$.type="directory";else if(q)$.name+="/"}if(typeof $.mode==="number")if(Au)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(Au)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(Au&&q)$.mode=493}else if($.mode===null)$.mode=q?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=e5.dateify($.date);return $};f1.prototype._onModuleError=function($){this.emit("error",$)};f1.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};f1.prototype._onQueueTask=function($,Y){var q=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){q();return}this._task=$,this._moduleAppend($.source,$.data,q)};f1.prototype._onStatQueueTask=function($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}Bu.lstat($.filepath,function(q,z){if(this._state.aborted){setImmediate(Y);return}if(q){this._entriesCount--,this.emit("warning",q),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,z),$){if(z.size)this._fsEntriesTotalBytes+=z.size;this._queue.push($)}setImmediate(Y)}.bind(this))};f1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};f1.prototype._transform=function($,Y,q){if($)this._pointer+=$.length;q(null,$)};f1.prototype._updateQueueTaskWithStats=function($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=e5.lazyReadStream($.filepath);else if(Y.isDirectory()&&this._moduleSupports("directory"))$.data.name=e5.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=e5.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._moduleSupports("symlink")){var q=Bu.readlinkSync($.filepath),z=Pu.dirname($.filepath);$.data.type="symlink",$.data.linkname=Pu.relative(z,Pu.resolve(z,q)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new r4("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new r4("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new r4("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$};f1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};f1.prototype.append=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new r4("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new r4("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new r4("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=e5.normalizeInputSource($),Buffer.isBuffer($))Y.sourceType="buffer";else if(e5.isStream($))Y.sourceType="stream";else return this.emit("error",new r4("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this};f1.prototype.directory=function($,Y,q){if(this._state.finalize||this._state.aborted)return this.emit("error",new r4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new r4("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var z=!1;if(typeof q==="function")z=q,q={};else if(typeof q!=="object")q={};var J={stat:!0,dot:!0};function U(){this._pending--,this._maybeFinalize()}function I(G){this.emit("error",G)}function Q(G){K.pause();var H=!1,Z=Object.assign({},q);Z.name=G.relative,Z.prefix=Y,Z.stats=G.stat,Z.callback=K.resume.bind(K);try{if(z){if(Z=z(Z),Z===!1)H=!0;else if(typeof Z!=="object")throw new r4("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(V){this.emit("error",V);return}if(H){K.resume();return}this._append(G.absolute,Z)}var K=HV0($,J);return K.on("error",I.bind(this)),K.on("match",Q.bind(this)),K.on("end",U.bind(this)),this};f1.prototype.file=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new r4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new r4("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this};f1.prototype.glob=function($,Y,q){this._pending++,Y=e5.defaults(Y,{stat:!0,pattern:$});function z(){this._pending--,this._maybeFinalize()}function J(Q){this.emit("error",Q)}function U(Q){I.pause();var K=Object.assign({},q);K.callback=I.resume.bind(I),K.stats=Q.stat,K.name=Q.relative,this._append(Q.absolute,K)}var I=HV0(Y.cwd||".",Y);return I.on("error",J.bind(this)),I.on("match",U.bind(this)),I.on("end",z.bind(this)),this};f1.prototype.finalize=function(){if(this._state.aborted){var $=new r4("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new r4("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var q=this;return new Promise(function(z,J){var U;q._module.on("end",function(){if(!U)z()}),q._module.on("error",function(I){U=!0,J(I)})})};f1.prototype.setFormat=function($){if(this._format)return this.emit("error",new r4("FORMATSET")),this;return this._format=$,this};f1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new r4("ABORTED")),this;if(this._state.module)return this.emit("error",new r4("MODULESET")),this;return this._module=$,this._modulePipe(),this};f1.prototype.symlink=function($,Y,q){if(this._state.finalize||this._state.aborted)return this.emit("error",new r4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new r4("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new r4("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new r4("SYMLINKNOTSUPPORTED",{filepath:$})),this;var z={};if(z.type="symlink",z.name=$.replace(/\\/g,"/"),z.linkname=Y.replace(/\\/g,"/"),z.sourceType="buffer",typeof q==="number")z.mode=q;return this._entriesCount++,this._queue.push({data:z,source:Buffer.concat([])}),this};f1.prototype.pointer=function(){return this._pointer};f1.prototype.use=function($){return this._streams.push($),this};WV0.exports=f1});var vM=M((z54,VV0)=>{var CM=VV0.exports=function(){};CM.prototype.getName=function(){};CM.prototype.getSize=function(){};CM.prototype.getLastModifiedDate=function(){};CM.prototype.isDirectory=function(){}});var hM=M((J54,LV0)=>{var S$=LV0.exports={};S$.dateToDos=function($,Y){Y=Y||!1;var q=Y?$.getFullYear():$.getUTCFullYear();if(q<1980)return 2162688;else if(q>=2044)return 2141175677;var z={year:q,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return z.year-1980<<25|z.month+1<<21|z.date<<16|z.hours<<11|z.minutes<<5|z.seconds/2};S$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};S$.fromDosTime=function($){return S$.dosToDate($.readUInt32LE(0))};S$.getEightBytes=function($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y};S$.getShortBytes=function($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y};S$.getShortBytesValue=function($,Y){return $.readUInt16LE(Y)};S$.getLongBytes=function($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y};S$.getLongBytesValue=function($,Y){return $.readUInt32LE(Y)};S$.toDosTime=function($){return S$.getLongBytes(S$.dateToDos($))}});var Tu=M((U54,DV0)=>{var wV0=hM(),FV0=8,OV0=1,jw1=4,_w1=2,MV0=64,NV0=2048,r6=DV0.exports=function(){if(!(this instanceof r6))return new r6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};r6.prototype.encode=function(){return wV0.getShortBytes((this.descriptor?FV0:0)|(this.utf8?NV0:0)|(this.encryption?OV0:0)|(this.strongEncryption?MV0:0))};r6.prototype.parse=function($,Y){var q=wV0.getShortBytesValue($,Y),z=new r6;return z.useDataDescriptor((q&FV0)!==0),z.useUTF8ForNames((q&NV0)!==0),z.useStrongEncryption((q&MV0)!==0),z.useEncryption((q&OV0)!==0),z.setSlidingDictionarySize((q&_w1)!==0?8192:4096),z.setNumberOfShannonFanoTrees((q&jw1)!==0?3:2),z};r6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};r6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};r6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};r6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};r6.prototype.useDataDescriptor=function($){this.descriptor=$};r6.prototype.usesDataDescriptor=function(){return this.descriptor};r6.prototype.useEncryption=function($){this.encryption=$};r6.prototype.usesEncryption=function(){return this.encryption};r6.prototype.useStrongEncryption=function($){this.strongEncryption=$};r6.prototype.usesStrongEncryption=function(){return this.strongEncryption};r6.prototype.useUTF8ForNames=function($){this.utf8=$};r6.prototype.usesUTF8ForNames=function(){return this.utf8}});var AV0=M((I54,PV0)=>{PV0.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var Eu=M((Q54,BV0)=>{BV0.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var ju=M((K54,RV0)=>{var Rw1=m("util").inherits,Cw1=MY(),EV0=vM(),jV0=Tu(),TV0=AV0(),T8=Eu(),_V0=hM(),V1=RV0.exports=function($){if(!(this instanceof V1))return new V1($);if(EV0.call(this),this.platform=T8.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new jV0,this.crc=0,this.time=-1,this.minver=T8.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};Rw1(V1,EV0);V1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};V1.prototype.getComment=function(){return this.comment!==null?this.comment:""};V1.prototype.getCompressedSize=function(){return this.csize};V1.prototype.getCrc=function(){return this.crc};V1.prototype.getExternalAttributes=function(){return this.exattr};V1.prototype.getExtra=function(){return this.extra!==null?this.extra:T8.EMPTY};V1.prototype.getGeneralPurposeBit=function(){return this.gpb};V1.prototype.getInternalAttributes=function(){return this.inattr};V1.prototype.getLastModifiedDate=function(){return this.getTime()};V1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};V1.prototype.getMethod=function(){return this.method};V1.prototype.getName=function(){return this.name};V1.prototype.getPlatform=function(){return this.platform};V1.prototype.getSize=function(){return this.size};V1.prototype.getTime=function(){return this.time!==-1?_V0.dosToDate(this.time):-1};V1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};V1.prototype.getUnixMode=function(){return this.platform!==T8.PLATFORM_UNIX?0:this.getExternalAttributes()>>T8.SHORT_SHIFT&T8.SHORT_MASK};V1.prototype.getVersionNeededToExtract=function(){return this.minver};V1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};V1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};V1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};V1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};V1.prototype.setExtra=function($){this.extra=$};V1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof jV0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};V1.prototype.setInternalAttributes=function($){this.inattr=$};V1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};V1.prototype.setName=function($,Y=!1){if($=Cw1($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};V1.prototype.setPlatform=function($){this.platform=$};V1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};V1.prototype.setTime=function($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=_V0.dateToDos($,Y)};V1.prototype.setUnixMode=function($){$|=this.isDirectory()?T8.S_IFDIR:T8.S_IFREG;var Y=0;Y|=$<<T8.SHORT_SHIFT|(this.isDirectory()?T8.S_DOS_D:T8.S_DOS_A),this.setExternalAttributes(Y),this.mode=$&T8.MODE_MASK,this.platform=T8.PLATFORM_UNIX};V1.prototype.setVersionNeededToExtract=function($){this.minver=$};V1.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};V1.prototype.isUnixSymlink=function(){return(this.getUnixMode()&TV0.FILE_TYPE_FLAG)===TV0.LINK_FLAG};V1.prototype.isZip64=function(){return this.csize>T8.ZIP64_MAGIC||this.size>T8.ZIP64_MAGIC}});var Ru=M((G54,CV0)=>{var vw1=m("stream").Stream,hw1=P8().PassThrough,_u=CV0.exports={};_u.isStream=function($){return $ instanceof vw1};_u.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(_u.isStream($)&&!$._readableState){var Y=new hw1;return $.pipe(Y),Y}return $}});var vu=M((H54,hV0)=>{var gw1=m("util").inherits,Cu=P8().Transform,Sw1=vM(),vV0=Ru(),Z$=hV0.exports=function($){if(!(this instanceof Z$))return new Z$($);Cu.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};gw1(Z$,Cu);Z$.prototype._appendBuffer=function($,Y,q){};Z$.prototype._appendStream=function($,Y,q){};Z$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};Z$.prototype._finish=function($){};Z$.prototype._normalizeEntry=function($){};Z$.prototype._transform=function($,Y,q){q(null,$)};Z$.prototype.entry=function($,Y,q){if(Y=Y||null,typeof q!=="function")q=this._emitErrorCallback.bind(this);if(!($ instanceof Sw1)){q(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){q(Error("unacceptable entry after finish"));return}if(this._archive.processing){q(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=vV0.normalizeInputSource(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,q);else if(vV0.isStream(Y))this._appendStream($,Y,q);else{this._archive.processing=!1,q(Error("input source must be valid Stream or Buffer instance"));return}return this};Z$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Z$.prototype.getBytesWritten=function(){return this.offset};Z$.prototype.write=function($,Y){if($)this.offset+=$.length;return Cu.prototype.write.call(this,$,Y)}});var yu=M((Z54,SV0)=>{var C7=m("buffer").Buffer,hu=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array<"u")hu=new Int32Array(hu);function gV0($){if(C7.isBuffer($))return $;var Y=typeof C7.alloc==="function"&&typeof C7.from==="function";if(typeof $==="number")return Y?C7.alloc($):new C7($);else if(typeof $==="string")return Y?C7.from($):new C7($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function yw1($){var Y=gV0(4);return Y.writeInt32BE($,0),Y}function gu($,Y){if($=gV0($),C7.isBuffer(Y))Y=Y.readUInt32BE(0);var q=~~Y^-1;for(var z=0;z<$.length;z++)q=hu[(q^$[z])&255]^q>>>8;return q^-1}function Su(){return yw1(gu.apply(null,arguments))}Su.signed=function(){return gu.apply(null,arguments)};Su.unsigned=function(){return gu.apply(null,arguments)>>>0};SV0.exports=Su});var GU=M((xu)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var yV0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof xu==="object")$(xu);else if(typeof define==="function"&&define.amd)define(function(){var Y={};return $(Y),Y});else $(yV0={});else $(yV0={})})(function($){$.version="1.2.2";function Y(){var v=0,k=Array(256);for(var C=0;C!=256;++C)v=C,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,v=v&1?-306674912^v>>>1:v>>>1,k[C]=v;return typeof Int32Array<"u"?new Int32Array(k):k}var q=Y();function z(v){var k=0,C=0,c=0,n=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(c=0;c!=256;++c)n[c]=v[c];for(c=0;c!=256;++c){C=v[c];for(k=256+c;k<4096;k+=256)C=n[k]=C>>>8^v[C&255]}var g=[];for(c=1;c!=16;++c)g[c-1]=typeof Int32Array<"u"?n.subarray(c*256,c*256+256):n.slice(c*256,c*256+256);return g}var J=z(q),U=J[0],I=J[1],Q=J[2],K=J[3],G=J[4],H=J[5],Z=J[6],V=J[7],X=J[8],L=J[9],w=J[10],F=J[11],O=J[12],P=J[13],B=J[14];function A(v,k){var C=k^-1;for(var c=0,n=v.length;c<n;)C=C>>>8^q[(C^v.charCodeAt(c++))&255];return~C}function E(v,k){var C=k^-1,c=v.length-15,n=0;for(;n<c;)C=B[v[n++]^C&255]^P[v[n++]^C>>8&255]^O[v[n++]^C>>16&255]^F[v[n++]^C>>>24]^w[v[n++]]^L[v[n++]]^X[v[n++]]^V[v[n++]]^Z[v[n++]]^H[v[n++]]^G[v[n++]]^K[v[n++]]^Q[v[n++]]^I[v[n++]]^U[v[n++]]^q[v[n++]];c+=15;while(n<c)C=C>>>8^q[(C^v[n++])&255];return~C}function y(v,k){var C=k^-1;for(var c=0,n=v.length,g=0,b=0;c<n;)if(g=v.charCodeAt(c++),g<128)C=C>>>8^q[(C^g)&255];else if(g<2048)C=C>>>8^q[(C^(192|g>>6&31))&255],C=C>>>8^q[(C^(128|g&63))&255];else if(g>=55296&&g<57344)g=(g&1023)+64,b=v.charCodeAt(c++)&1023,C=C>>>8^q[(C^(240|g>>8&7))&255],C=C>>>8^q[(C^(128|g>>2&63))&255],C=C>>>8^q[(C^(128|b>>6&15|(g&3)<<4))&255],C=C>>>8^q[(C^(128|b&63))&255];else C=C>>>8^q[(C^(224|g>>12&15))&255],C=C>>>8^q[(C^(128|g>>6&63))&255],C=C>>>8^q[(C^(128|g&63))&255];return~C}$.table=q,$.bstr=A,$.buf=E,$.str=y})});var uV0=M((X54,kV0)=>{var{Transform:xw1}=P8(),kw1=GU();class xV0 extends xw1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,q){if($)this.checksum=kw1.buf($,this.checksum)>>>0,this.rawSize+=$.length;q(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}kV0.exports=xV0});var iV0=M((V54,bV0)=>{var{DeflateRaw:uw1}=m("zlib"),fw1=GU();class fV0 extends uw1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,q){if($)this.checksum=fw1.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,q)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}bV0.exports=fV0});var ku=M((L54,nV0)=>{nV0.exports={CRC32Stream:uV0(),DeflateCRC32Stream:iV0()}});var dV0=M((M54,pV0)=>{var bw1=m("util").inherits,iw1=yu(),{CRC32Stream:nw1}=ku(),{DeflateCRC32Stream:cw1}=ku(),cV0=vu(),w54=ju(),F54=Tu(),z1=Eu(),O54=Ru(),n0=hM(),E6=pV0.exports=function($){if(!(this instanceof E6))return new E6($);$=this.options=this._defaults($),cV0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};bw1(E6,cV0);E6.prototype._afterAppend=function($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};E6.prototype._appendBuffer=function($,Y,q){if(Y.length===0)$.setMethod(z1.METHOD_STORED);var z=$.getMethod();if(z===z1.METHOD_STORED)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(iw1.unsigned(Y));if(this._writeLocalFileHeader($),z===z1.METHOD_STORED){this.write(Y),this._afterAppend($),q(null,$);return}else if(z===z1.METHOD_DEFLATED){this._smartStream($,q).end(Y);return}else{q(Error("compression method "+z+" not implemented"));return}};E6.prototype._appendStream=function($,Y,q){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(z1.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var z=this._smartStream($,q);Y.once("error",function(J){z.emit("error",J),z.end()}),Y.pipe(z)};E6.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=z1.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};E6.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};E6.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(z1.METHOD_DEFLATED);if($.getMethod()===z1.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(z1.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};E6.prototype._smartStream=function($,Y){var q=$.getMethod()===z1.METHOD_DEFLATED,z=q?new cw1(this.options.zlib):new nw1,J=null;function U(){var I=z.digest().readUInt32BE(0);$.setCrc(I),$.setSize(z.size()),$.setCompressedSize(z.size(!0)),this._afterAppend($),Y(J,$)}return z.once("end",U.bind(this)),z.once("error",function(I){J=I}),z.pipe(this,{end:!1}),z};E6.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,Y=this._archive.centralLength,q=this._archive.centralOffset;if(this.isZip64())$=z1.ZIP64_MAGIC_SHORT,Y=z1.ZIP64_MAGIC,q=z1.ZIP64_MAGIC;this.write(n0.getLongBytes(z1.SIG_EOCD)),this.write(z1.SHORT_ZERO),this.write(z1.SHORT_ZERO),this.write(n0.getShortBytes($)),this.write(n0.getShortBytes($)),this.write(n0.getLongBytes(Y)),this.write(n0.getLongBytes(q));var z=this.getComment(),J=Buffer.byteLength(z);this.write(n0.getShortBytes(J)),this.write(z)};E6.prototype._writeCentralDirectoryZip64=function(){this.write(n0.getLongBytes(z1.SIG_ZIP64_EOCD)),this.write(n0.getEightBytes(44)),this.write(n0.getShortBytes(z1.MIN_VERSION_ZIP64)),this.write(n0.getShortBytes(z1.MIN_VERSION_ZIP64)),this.write(z1.LONG_ZERO),this.write(z1.LONG_ZERO),this.write(n0.getEightBytes(this._entries.length)),this.write(n0.getEightBytes(this._entries.length)),this.write(n0.getEightBytes(this._archive.centralLength)),this.write(n0.getEightBytes(this._archive.centralOffset)),this.write(n0.getLongBytes(z1.SIG_ZIP64_EOCD_LOC)),this.write(z1.LONG_ZERO),this.write(n0.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(n0.getLongBytes(1))};E6.prototype._writeCentralFileHeader=function($){var Y=$.getGeneralPurposeBit(),q=$.getMethod(),z=$._offsets,J=$.getSize(),U=$.getCompressedSize();if($.isZip64()||z.file>z1.ZIP64_MAGIC){J=z1.ZIP64_MAGIC,U=z1.ZIP64_MAGIC,$.setVersionNeededToExtract(z1.MIN_VERSION_ZIP64);var I=Buffer.concat([n0.getShortBytes(z1.ZIP64_EXTRA_ID),n0.getShortBytes(24),n0.getEightBytes($.getSize()),n0.getEightBytes($.getCompressedSize()),n0.getEightBytes(z.file)],28);$.setExtra(I)}this.write(n0.getLongBytes(z1.SIG_CFH)),this.write(n0.getShortBytes($.getPlatform()<<8|z1.VERSION_MADEBY)),this.write(n0.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(n0.getShortBytes(q)),this.write(n0.getLongBytes($.getTimeDos())),this.write(n0.getLongBytes($.getCrc())),this.write(n0.getLongBytes(U)),this.write(n0.getLongBytes(J));var Q=$.getName(),K=$.getComment(),G=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())Q=Buffer.from(Q),K=Buffer.from(K);if(this.write(n0.getShortBytes(Q.length)),this.write(n0.getShortBytes(G.length)),this.write(n0.getShortBytes(K.length)),this.write(z1.SHORT_ZERO),this.write(n0.getShortBytes($.getInternalAttributes())),this.write(n0.getLongBytes($.getExternalAttributes())),z.file>z1.ZIP64_MAGIC)this.write(n0.getLongBytes(z1.ZIP64_MAGIC));else this.write(n0.getLongBytes(z.file));this.write(Q),this.write(G),this.write(K)};E6.prototype._writeDataDescriptor=function($){if(this.write(n0.getLongBytes(z1.SIG_DD)),this.write(n0.getLongBytes($.getCrc())),$.isZip64())this.write(n0.getEightBytes($.getCompressedSize())),this.write(n0.getEightBytes($.getSize()));else this.write(n0.getLongBytes($.getCompressedSize())),this.write(n0.getLongBytes($.getSize()))};E6.prototype._writeLocalFileHeader=function($){var Y=$.getGeneralPurposeBit(),q=$.getMethod(),z=$.getName(),J=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(z1.MIN_VERSION_ZIP64);if(Y.usesUTF8ForNames())z=Buffer.from(z);if($._offsets.file=this.offset,this.write(n0.getLongBytes(z1.SIG_LFH)),this.write(n0.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(n0.getShortBytes(q)),this.write(n0.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(z1.LONG_ZERO),this.write(z1.LONG_ZERO),this.write(z1.LONG_ZERO);else this.write(n0.getLongBytes($.getCrc())),this.write(n0.getLongBytes($.getCompressedSize())),this.write(n0.getLongBytes($.getSize()));this.write(n0.getShortBytes(z.length)),this.write(n0.getShortBytes(J.length)),this.write(z),this.write(J),$._offsets.contents=this.offset};E6.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};E6.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>z1.ZIP64_MAGIC_SHORT||this._archive.centralLength>z1.ZIP64_MAGIC||this._archive.centralOffset>z1.ZIP64_MAGIC};E6.prototype.setComment=function($){this._archive.comment=$}});var uu=M((N54,mV0)=>{mV0.exports={ArchiveEntry:vM(),ZipArchiveEntry:ju(),ArchiveOutputStream:vu(),ZipArchiveOutputStream:dV0()}});var sV0=M((D54,rV0)=>{var oV0=m8(),HU=m("path"),fu=bk(),pw1=mk(),dw1=ak(),mw1=ek(),lw1=WH(),CY=rV0.exports={},lV0=/[\/\\]/g,ow1=function($,Y){var q=[];return fu($).forEach(function(z){var J=z.indexOf("!")===0;if(J)z=z.slice(1);var U=Y(z);if(J)q=pw1(q,U);else q=dw1(q,U)}),q};CY.exists=function(){var $=HU.join.apply(HU,arguments);return oV0.existsSync($)};CY.expand=function(...$){var Y=mw1($[0])?$.shift():{},q=Array.isArray($[0])?$[0]:$;if(q.length===0)return[];var z=ow1(q,function(J){return lw1.sync(J,Y)});if(Y.filter)z=z.filter(function(J){J=HU.join(Y.cwd||"",J);try{if(typeof Y.filter==="function")return Y.filter(J);else return oV0.statSync(J)[Y.filter]()}catch(U){return!1}});return z};CY.expandMapping=function($,Y,q){q=Object.assign({rename:function(U,I){return HU.join(U||"",I)}},q);var z=[],J={};return CY.expand(q,$).forEach(function(U){var I=U;if(q.flatten)I=HU.basename(I);if(q.ext)I=I.replace(/(\.[^\/]*)?$/,q.ext);var Q=q.rename(Y,I,q);if(q.cwd)U=HU.join(q.cwd,U);if(Q=Q.replace(lV0,"/"),U=U.replace(lV0,"/"),J[Q])J[Q].src.push(U);else z.push({src:[U],dest:Q}),J[Q]=z[z.length-1]}),z};CY.normalizeFilesArray=function($){var Y=[];if($.forEach(function(q){var z;if("src"in q||"dest"in q)Y.push(q)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(q){if(!("src"in q)||!q.src)return;if(Array.isArray(q.src))q.src=fu(q.src);else q.src=[q.src]}).map(function(q){var z=Object.assign({},q);if(delete z.src,delete z.dest,q.expand)return CY.expandMapping(q.src,q.dest,z).map(function(U){var I=Object.assign({},q);return I.orig=Object.assign({},q),I.src=U.src,I.dest=U.dest,["expand","cwd","flatten","rename","ext"].forEach(function(Q){delete I[Q]}),I});var J=Object.assign({},q);if(J.orig=Object.assign({},q),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function U(){var I;if(!("result"in U))I=q.src,I=Array.isArray(I)?fu(I):[I],U.result=CY.expand(z,I);return U.result}});if("dest"in J)J.dest=q.dest;return J}).flatten().value(),Y}});var $L0=M((P54,eV0)=>{var bu=m8(),tV0=m("path"),rw1=JM(),aV0=MY(),sw1=Pk(),tw1=m("stream").Stream,aw1=P8().PassThrough,W$=eV0.exports={};W$.file=sV0();W$.collectStream=function($,Y){var q=[],z=0;$.on("error",Y),$.on("data",function(J){q.push(J),z+=J.length}),$.on("end",function(){var J=Buffer.alloc(z),U=0;q.forEach(function(I){I.copy(J,U),U+=I.length}),Y(null,J)})};W$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};W$.defaults=function($,Y,q){var z=arguments;return z[0]=z[0]||{},sw1(...z)};W$.isStream=function($){return $ instanceof tw1};W$.lazyReadStream=function($){return new rw1.Readable(function(){return bu.createReadStream($)})};W$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(W$.isStream($))return $.pipe(new aw1);return $};W$.sanitizePath=function($){return aV0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};W$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};W$.unixifyPath=function($){return aV0($,!1).replace(/^\w+:/,"")};W$.walkdir=function($,Y,q){var z=[];if(typeof Y==="function")q=Y,Y=$;bu.readdir($,function(J,U){var I=0,Q,K;if(J)return q(J);(function G(){if(Q=U[I++],!Q)return q(null,z);K=tV0.join($,Q),bu.stat(K,function(H,Z){if(z.push({path:K,relative:tV0.relative(Y,K).replace(/\\/g,"/"),stats:Z}),Z&&Z.isDirectory())W$.walkdir(K,Y,function(V,X){X.forEach(function(L){z.push(L)}),G()});else G()})})()})}});var qL0=M((A54,YL0)=>{var ew1=m("util").inherits,nu=uu().ZipArchiveOutputStream,$F1=uu().ZipArchiveEntry,iu=$L0(),ZU=YL0.exports=function($){if(!(this instanceof ZU))return new ZU($);if($=this.options=$||{},$.zlib=$.zlib||{},nu.call(this,$),typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;if($.namePrependSlash=$.namePrependSlash||!1,$.comment&&$.comment.length>0)this.setComment($.comment)};ew1(ZU,nu);ZU.prototype._normalizeFileData=function($){$=iu.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var Y=$.type==="directory",q=$.type==="symlink";if($.name){if($.name=iu.sanitizePath($.name),!q&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||q)$.store=!0;return $.date=iu.dateify($.date),$};ZU.prototype.entry=function($,Y,q){if(typeof q!=="function")q=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){q(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){q(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){q(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var z=new $F1(Y.name);if(z.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)z.setName(Y.name,!0);if(Y.store)z.setMethod(0);if(Y.comment.length>0)z.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;z.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return nu.prototype.entry.call(this,z,$,q)};ZU.prototype.finalize=function(){this.finish()}});var JL0=M((B54,zL0)=>{var YF1=qL0(),qF1=LH(),v7=function($){if(!(this instanceof v7))return new v7($);$=this.options=qF1.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new YF1($)};v7.prototype.append=function($,Y,q){this.engine.entry($,Y,q)};v7.prototype.finalize=function(){this.engine.finalize()};v7.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};v7.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};v7.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};zL0.exports=v7});var HL0=M((T54,GL0)=>{function UL0($,Y){var q=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),q.push.apply(q,z)}return q}function IL0($){for(var Y=1;Y<arguments.length;Y++){var q=arguments[Y]!=null?arguments[Y]:{};Y%2?UL0(Object(q),!0).forEach(function(z){zF1($,z,q[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(q)):UL0(Object(q)).forEach(function(z){Object.defineProperty($,z,Object.getOwnPropertyDescriptor(q,z))})}return $}function zF1($,Y,q){if(Y=KL0(Y),Y in $)Object.defineProperty($,Y,{value:q,enumerable:!0,configurable:!0,writable:!0});else $[Y]=q;return $}function JF1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}function QL0($,Y){for(var q=0;q<Y.length;q++){var z=Y[q];if(z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z)z.writable=!0;Object.defineProperty($,KL0(z.key),z)}}function UF1($,Y,q){if(Y)QL0($.prototype,Y);if(q)QL0($,q);return Object.defineProperty($,"prototype",{writable:!1}),$}function KL0($){var Y=IF1($,"string");return typeof Y==="symbol"?Y:String(Y)}function IF1($,Y){if(typeof $!=="object"||$===null)return $;var q=$[Symbol.toPrimitive];if(q!==void 0){var z=q.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var QF1=m("buffer"),gM=QF1.Buffer,KF1=m("util"),cu=KF1.inspect,GF1=cu&&cu.custom||"inspect";function HF1($,Y,q){gM.prototype.copy.call($,Y,q)}GL0.exports=function(){function $(){JF1(this,$),this.head=null,this.tail=null,this.length=0}return UF1($,[{key:"push",value:function(q){var z={data:q,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}},{key:"unshift",value:function(q){var z={data:q,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,q}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(q){if(this.length===0)return"";var z=this.head,J=""+z.data;while(z=z.next)J+=q+z.data;return J}},{key:"concat",value:function(q){if(this.length===0)return gM.alloc(0);var z=gM.allocUnsafe(q>>>0),J=this.head,U=0;while(J)HF1(J.data,z,U),U+=J.data.length,J=J.next;return z}},{key:"consume",value:function(q,z){var J;if(q<this.head.data.length)J=this.head.data.slice(0,q),this.head.data=this.head.data.slice(q);else if(q===this.head.data.length)J=this.shift();else J=z?this._getString(q):this._getBuffer(q);return J}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(q){var z=this.head,J=1,U=z.data;q-=U.length;while(z=z.next){var I=z.data,Q=q>I.length?I.length:q;if(Q===I.length)U+=I;else U+=I.slice(0,q);if(q-=Q,q===0){if(Q===I.length)if(++J,z.next)this.head=z.next;else this.head=this.tail=null;else this.head=z,z.data=I.slice(Q);break}++J}return this.length-=J,U}},{key:"_getBuffer",value:function(q){var z=gM.allocUnsafe(q),J=this.head,U=1;J.data.copy(z),q-=J.data.length;while(J=J.next){var I=J.data,Q=q>I.length?I.length:q;if(I.copy(z,z.length-q,0,Q),q-=Q,q===0){if(Q===I.length)if(++U,J.next)this.head=J.next;else this.head=this.tail=null;else this.head=J,J.data=I.slice(Q);break}++U}return this.length-=U,z}},{key:GF1,value:function(q,z){return cu(this,IL0(IL0({},z),{},{depth:0,customInspect:!1}))}}]),$}()});var du=M((E54,WL0)=>{function ZF1($,Y){var q=this,z=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(z||J){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(pu,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(pu,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(U){if(!Y&&U)if(!q._writableState)process.nextTick(ZL0,q,U);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,process.nextTick(ZL0,q,U);else process.nextTick(SM,q);else if(Y)process.nextTick(SM,q),Y(U);else process.nextTick(SM,q)}),this}function ZL0($,Y){pu($,Y),SM($)}function SM($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function WF1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function pu($,Y){$.emit("error",Y)}function XF1($,Y){var{_readableState:q,_writableState:z}=$;if(q&&q.autoDestroy||z&&z.autoDestroy)$.destroy(Y);else $.emit("error",Y)}WL0.exports={destroy:ZF1,undestroy:WF1,errorOrDestroy:XF1}});var h7=M((FF1,LL0)=>{var VL0={};function y$($,Y,q){if(!q)q=Error;function z(U,I,Q){if(typeof Y==="string")return Y;else return Y(U,I,Q)}class J extends q{constructor(U,I,Q){super(z(U,I,Q))}}J.prototype.name=q.name,J.prototype.code=$,VL0[$]=J}function XL0($,Y){if(Array.isArray($)){let q=$.length;if($=$.map((z)=>String(z)),q>2)return`one of ${Y} ${$.slice(0,q-1).join(", ")}, or `+$[q-1];else if(q===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function VF1($,Y,q){return $.substr(!q||q<0?0:+q,Y.length)===Y}function LF1($,Y,q){if(q===void 0||q>$.length)q=$.length;return $.substring(q-Y.length,q)===Y}function wF1($,Y,q){if(typeof q!=="number")q=0;if(q+Y.length>$.length)return!1;else return $.indexOf(Y,q)!==-1}y$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);y$("ERR_INVALID_ARG_TYPE",function($,Y,q){let z;if(typeof Y==="string"&&VF1(Y,"not "))z="must not be",Y=Y.replace(/^not /,"");else z="must be";let J;if(LF1($," argument"))J=`The ${$} ${z} ${XL0(Y,"type")}`;else{let U=wF1($,".")?"property":"argument";J=`The "${$}" ${U} ${z} ${XL0(Y,"type")}`}return J+=`. Received type ${typeof q}`,J},TypeError);y$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");y$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});y$("ERR_STREAM_PREMATURE_CLOSE","Premature close");y$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});y$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");y$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");y$("ERR_STREAM_WRITE_AFTER_END","write after end");y$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);y$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);y$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");FF1.codes=VL0});var mu=M((j54,wL0)=>{var MF1=h7().codes.ERR_INVALID_OPT_VALUE;function NF1($,Y,q){return $.highWaterMark!=null?$.highWaterMark:Y?$[q]:null}function DF1($,Y,q,z){var J=NF1(Y,z,q);if(J!=null){if(!(isFinite(J)&&Math.floor(J)===J)||J<0){var U=z?q:"highWaterMark";throw new MF1(U,J)}return Math.floor(J)}return $.objectMode?16:16384}wL0.exports={getHighWaterMark:DF1}});var ru=M((_54,PL0)=>{PL0.exports=s4;function OL0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){oF1(Y,$)}}var WU;s4.WritableState=FH;var PF1={deprecate:r3()},ML0=m("stream"),xM=m("buffer").Buffer,AF1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function BF1($){return xM.from($)}function TF1($){return xM.isBuffer($)||$ instanceof AF1}var ou=du(),EF1=mu(),jF1=EF1.getHighWaterMark,g7=h7().codes,_F1=g7.ERR_INVALID_ARG_TYPE,RF1=g7.ERR_METHOD_NOT_IMPLEMENTED,CF1=g7.ERR_MULTIPLE_CALLBACK,vF1=g7.ERR_STREAM_CANNOT_PIPE,hF1=g7.ERR_STREAM_DESTROYED,gF1=g7.ERR_STREAM_NULL_VALUES,SF1=g7.ERR_STREAM_WRITE_AFTER_END,yF1=g7.ERR_UNKNOWN_ENCODING,XU=ou.errorOrDestroy;m0()(s4,ML0);function xF1(){}function FH($,Y,q){if(WU=WU||vY(),$=$||{},typeof q!=="boolean")q=Y instanceof WU;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=jF1(this,$,"writableHighWaterMark",q),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var z=$.decodeStrings===!1;this.decodeStrings=!z,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(J){cF1(Y,J)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new OL0(this)}FH.prototype.getBuffer=function(){var Y=this.bufferedRequest,q=[];while(Y)q.push(Y),Y=Y.next;return q};(function(){try{Object.defineProperty(FH.prototype,"buffer",{get:PF1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var yM;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")yM=Function.prototype[Symbol.hasInstance],Object.defineProperty(s4,Symbol.hasInstance,{value:function(Y){if(yM.call(this,Y))return!0;if(this!==s4)return!1;return Y&&Y._writableState instanceof FH}});else yM=function(Y){return Y instanceof this};function s4($){WU=WU||vY();var Y=this instanceof WU;if(!Y&&!yM.call(s4,this))return new s4($);if(this._writableState=new FH($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}ML0.call(this)}s4.prototype.pipe=function(){XU(this,new vF1)};function kF1($,Y){var q=new SF1;XU($,q),process.nextTick(Y,q)}function uF1($,Y,q,z){var J;if(q===null)J=new gF1;else if(typeof q!=="string"&&!Y.objectMode)J=new _F1("chunk",["string","Buffer"],q);if(J)return XU($,J),process.nextTick(z,J),!1;return!0}s4.prototype.write=function($,Y,q){var z=this._writableState,J=!1,U=!z.objectMode&&TF1($);if(U&&!xM.isBuffer($))$=BF1($);if(typeof Y==="function")q=Y,Y=null;if(U)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof q!=="function")q=xF1;if(z.ending)kF1(this,q);else if(U||uF1(this,z,$,q))z.pendingcb++,J=bF1(this,z,U,$,Y,q);return J};s4.prototype.cork=function(){this._writableState.corked++};s4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)NL0(this,$)}};s4.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new yF1(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(s4.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function fF1($,Y,q){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=xM.from(Y,q);return Y}Object.defineProperty(s4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function bF1($,Y,q,z,J,U){if(!q){var I=fF1(Y,z,J);if(z!==I)q=!0,J="buffer",z=I}var Q=Y.objectMode?1:z.length;Y.length+=Q;var K=Y.length<Y.highWaterMark;if(!K)Y.needDrain=!0;if(Y.writing||Y.corked){var G=Y.lastBufferedRequest;if(Y.lastBufferedRequest={chunk:z,encoding:J,isBuf:q,callback:U,next:null},G)G.next=Y.lastBufferedRequest;else Y.bufferedRequest=Y.lastBufferedRequest;Y.bufferedRequestCount+=1}else lu($,Y,!1,Q,z,J,U);return K}function lu($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,Y.destroyed)Y.onwrite(new hF1("write"));else if(q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function iF1($,Y,q,z,J){if(--Y.pendingcb,q)process.nextTick(J,z),process.nextTick(wH,$,Y),$._writableState.errorEmitted=!0,XU($,z);else J(z),$._writableState.errorEmitted=!0,XU($,z),wH($,Y)}function nF1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function cF1($,Y){var q=$._writableState,z=q.sync,J=q.writecb;if(typeof J!=="function")throw new CF1;if(nF1(q),Y)iF1($,q,z,Y,J);else{var U=DL0(q)||$.destroyed;if(!U&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest)NL0($,q);if(z)process.nextTick(FL0,$,q,U,J);else FL0($,q,U,J)}}function FL0($,Y,q,z){if(!q)pF1($,Y);Y.pendingcb--,z(),wH($,Y)}function pF1($,Y){if(Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain")}function NL0($,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if($._writev&&q&&q.next){var z=Y.bufferedRequestCount,J=Array(z),U=Y.corkedRequestsFree;U.entry=q;var I=0,Q=!0;while(q){if(J[I]=q,!q.isBuf)Q=!1;q=q.next,I+=1}if(J.allBuffers=Q,lu($,Y,!0,Y.length,J,"",U.finish),Y.pendingcb++,Y.lastBufferedRequest=null,U.next)Y.corkedRequestsFree=U.next,U.next=null;else Y.corkedRequestsFree=new OL0(Y);Y.bufferedRequestCount=0}else{while(q){var{chunk:K,encoding:G,callback:H}=q,Z=Y.objectMode?1:K.length;if(lu($,Y,!1,Z,K,G,H),q=q.next,Y.bufferedRequestCount--,Y.writing)break}if(q===null)Y.lastBufferedRequest=null}Y.bufferedRequest=q,Y.bufferProcessing=!1}s4.prototype._write=function($,Y,q){q(new RF1("_write()"))};s4.prototype._writev=null;s4.prototype.end=function($,Y,q){var z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;if($!==null&&$!==void 0)this.write($,Y);if(z.corked)z.corked=1,this.uncork();if(!z.ending)lF1(this,z,q);return this};Object.defineProperty(s4.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function DL0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function dF1($,Y){$._final(function(q){if(Y.pendingcb--,q)XU($,q);Y.prefinished=!0,$.emit("prefinish"),wH($,Y)})}function mF1($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function"&&!Y.destroyed)Y.pendingcb++,Y.finalCalled=!0,process.nextTick(dF1,$,Y);else Y.prefinished=!0,$.emit("prefinish")}function wH($,Y){var q=DL0(Y);if(q){if(mF1($,Y),Y.pendingcb===0){if(Y.finished=!0,$.emit("finish"),Y.autoDestroy){var z=$._readableState;if(!z||z.autoDestroy&&z.endEmitted)$.destroy()}}}return q}function lF1($,Y,q){if(Y.ending=!0,wH($,Y),q)if(Y.finished)process.nextTick(q);else $.once("finish",q);Y.ended=!0,$.writable=!1}function oF1($,Y,q){var z=$.entry;$.entry=null;while(z){var J=z.callback;Y.pendingcb--,J(q),z=z.next}Y.corkedRequestsFree.next=$}Object.defineProperty(s4.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(Y){if(!this._writableState)return;this._writableState.destroyed=Y}});s4.prototype.destroy=ou.destroy;s4.prototype._undestroy=ou.undestroy;s4.prototype._destroy=function($,Y){Y($)}});var vY=M((R54,BL0)=>{var rF1=Object.keys||function($){var Y=[];for(var q in $)Y.push(q);return Y};BL0.exports=$9;var AL0=tu(),su=ru();m0()($9,AL0);{kM=rF1(su.prototype);for(OH=0;OH<kM.length;OH++)if(MH=kM[OH],!$9.prototype[MH])$9.prototype[MH]=su.prototype[MH]}var kM,MH,OH;function $9($){if(!(this instanceof $9))return new $9($);if(AL0.call(this,$),su.call(this,$),this.allowHalfOpen=!0,$){if($.readable===!1)this.readable=!1;if($.writable===!1)this.writable=!1;if($.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",sF1)}}Object.defineProperty($9.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty($9.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty($9.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function sF1(){if(this._writableState.ended)return;process.nextTick(tF1,this)}function tF1($){$.end()}Object.defineProperty($9.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(Y){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=Y,this._writableState.destroyed=Y}})});var uM=M((C54,jL0)=>{var TL0=h7().codes.ERR_STREAM_PREMATURE_CLOSE;function aF1($){var Y=!1;return function(){if(Y)return;Y=!0;for(var q=arguments.length,z=Array(q),J=0;J<q;J++)z[J]=arguments[J];$.apply(this,z)}}function eF1(){}function $O1($){return $.setHeader&&typeof $.abort==="function"}function EL0($,Y,q){if(typeof Y==="function")return EL0($,null,Y);if(!Y)Y={};q=aF1(q||eF1);var z=Y.readable||Y.readable!==!1&&$.readable,J=Y.writable||Y.writable!==!1&&$.writable,U=function(){if(!$.writable)Q()},I=$._writableState&&$._writableState.finished,Q=function(){if(J=!1,I=!0,!z)q.call($)},K=$._readableState&&$._readableState.endEmitted,G=function(){if(z=!1,K=!0,!J)q.call($)},H=function(L){q.call($,L)},Z=function(){var L;if(z&&!K){if(!$._readableState||!$._readableState.ended)L=new TL0;return q.call($,L)}if(J&&!I){if(!$._writableState||!$._writableState.ended)L=new TL0;return q.call($,L)}},V=function(){$.req.on("finish",Q)};if($O1($))if($.on("complete",Q),$.on("abort",Z),$.req)V();else $.on("request",V);else if(J&&!$._writableState)$.on("end",U),$.on("close",U);if($.on("end",G),$.on("finish",Q),Y.error!==!1)$.on("error",H);return $.on("close",Z),function(){if($.removeListener("complete",Q),$.removeListener("abort",Z),$.removeListener("request",V),$.req)$.req.removeListener("finish",Q);$.removeListener("end",U),$.removeListener("close",U),$.removeListener("finish",Q),$.removeListener("end",G),$.removeListener("error",H),$.removeListener("close",Z)}}jL0.exports=EL0});var RL0=M((v54,_L0)=>{var fM;function S7($,Y,q){if(Y=YO1(Y),Y in $)Object.defineProperty($,Y,{value:q,enumerable:!0,configurable:!0,writable:!0});else $[Y]=q;return $}function YO1($){var Y=qO1($,"string");return typeof Y==="symbol"?Y:String(Y)}function qO1($,Y){if(typeof $!=="object"||$===null)return $;var q=$[Symbol.toPrimitive];if(q!==void 0){var z=q.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var zO1=uM(),y7=Symbol("lastResolve"),hY=Symbol("lastReject"),NH=Symbol("error"),bM=Symbol("ended"),gY=Symbol("lastPromise"),au=Symbol("handlePromise"),SY=Symbol("stream");function x7($,Y){return{value:$,done:Y}}function JO1($){var Y=$[y7];if(Y!==null){var q=$[SY].read();if(q!==null)$[gY]=null,$[y7]=null,$[hY]=null,Y(x7(q,!1))}}function UO1($){process.nextTick(JO1,$)}function IO1($,Y){return function(q,z){$.then(function(){if(Y[bM]){q(x7(void 0,!0));return}Y[au](q,z)},z)}}var QO1=Object.getPrototypeOf(function(){}),KO1=Object.setPrototypeOf((fM={get stream(){return this[SY]},next:function(){var Y=this,q=this[NH];if(q!==null)return Promise.reject(q);if(this[bM])return Promise.resolve(x7(void 0,!0));if(this[SY].destroyed)return new Promise(function(I,Q){process.nextTick(function(){if(Y[NH])Q(Y[NH]);else I(x7(void 0,!0))})});var z=this[gY],J;if(z)J=new Promise(IO1(z,this));else{var U=this[SY].read();if(U!==null)return Promise.resolve(x7(U,!1));J=new Promise(this[au])}return this[gY]=J,J}},S7(fM,Symbol.asyncIterator,function(){return this}),S7(fM,"return",function(){var Y=this;return new Promise(function(q,z){Y[SY].destroy(null,function(J){if(J){z(J);return}q(x7(void 0,!0))})})}),fM),QO1),GO1=function(Y){var q,z=Object.create(KO1,(q={},S7(q,SY,{value:Y,writable:!0}),S7(q,y7,{value:null,writable:!0}),S7(q,hY,{value:null,writable:!0}),S7(q,NH,{value:null,writable:!0}),S7(q,bM,{value:Y._readableState.endEmitted,writable:!0}),S7(q,au,{value:function(U,I){var Q=z[SY].read();if(Q)z[gY]=null,z[y7]=null,z[hY]=null,U(x7(Q,!1));else z[y7]=U,z[hY]=I},writable:!0}),q));return z[gY]=null,zO1(Y,function(J){if(J&&J.code!=="ERR_STREAM_PREMATURE_CLOSE"){var U=z[hY];if(U!==null)z[gY]=null,z[y7]=null,z[hY]=null,U(J);z[NH]=J;return}var I=z[y7];if(I!==null)z[gY]=null,z[y7]=null,z[hY]=null,I(x7(void 0,!0));z[bM]=!0}),Y.on("readable",UO1.bind(null,z)),z};_L0.exports=GO1});var gL0=M((h54,hL0)=>{function CL0($,Y,q,z,J,U,I){try{var Q=$[U](I),K=Q.value}catch(G){q(G);return}if(Q.done)Y(K);else Promise.resolve(K).then(z,J)}function HO1($){return function(){var Y=this,q=arguments;return new Promise(function(z,J){var U=$.apply(Y,q);function I(K){CL0(U,z,J,I,Q,"next",K)}function Q(K){CL0(U,z,J,I,Q,"throw",K)}I(void 0)})}}function vL0($,Y){var q=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),q.push.apply(q,z)}return q}function ZO1($){for(var Y=1;Y<arguments.length;Y++){var q=arguments[Y]!=null?arguments[Y]:{};Y%2?vL0(Object(q),!0).forEach(function(z){WO1($,z,q[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(q)):vL0(Object(q)).forEach(function(z){Object.defineProperty($,z,Object.getOwnPropertyDescriptor(q,z))})}return $}function WO1($,Y,q){if(Y=XO1(Y),Y in $)Object.defineProperty($,Y,{value:q,enumerable:!0,configurable:!0,writable:!0});else $[Y]=q;return $}function XO1($){var Y=VO1($,"string");return typeof Y==="symbol"?Y:String(Y)}function VO1($,Y){if(typeof $!=="object"||$===null)return $;var q=$[Symbol.toPrimitive];if(q!==void 0){var z=q.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var LO1=h7().codes.ERR_INVALID_ARG_TYPE;function wO1($,Y,q){var z;if(Y&&typeof Y.next==="function")z=Y;else if(Y&&Y[Symbol.asyncIterator])z=Y[Symbol.asyncIterator]();else if(Y&&Y[Symbol.iterator])z=Y[Symbol.iterator]();else throw new LO1("iterable",["Iterable"],Y);var J=new $(ZO1({objectMode:!0},q)),U=!1;J._read=function(){if(!U)U=!0,I()};function I(){return Q.apply(this,arguments)}function Q(){return Q=HO1(function*(){try{var K=yield z.next(),G=K.value,H=K.done;if(H)J.push(null);else if(J.push(yield G))I();else U=!1}catch(Z){J.destroy(Z)}}),Q.apply(this,arguments)}return J}hL0.exports=wO1});var tu=M((S54,cL0)=>{cL0.exports=g1;var VU;g1.ReadableState=kL0;var g54=m("events").EventEmitter,xL0=function(Y,q){return Y.listeners(q).length},PH=m("stream"),iM=m("buffer").Buffer,FO1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function OO1($){return iM.from($)}function MO1($){return iM.isBuffer($)||$ instanceof FO1}var eu=m("util"),L1;if(eu&&eu.debuglog)L1=eu.debuglog("stream");else L1=function(){};var NO1=HL0(),If=du(),DO1=mu(),PO1=DO1.getHighWaterMark,nM=h7().codes,AO1=nM.ERR_INVALID_ARG_TYPE,BO1=nM.ERR_STREAM_PUSH_AFTER_EOF,TO1=nM.ERR_METHOD_NOT_IMPLEMENTED,EO1=nM.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,LU,$f,Yf;m0()(g1,PH);var DH=If.errorOrDestroy,qf=["error","close","destroy","pause","resume"];function jO1($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(Array.isArray($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}function kL0($,Y,q){if(VU=VU||vY(),$=$||{},typeof q!=="boolean")q=Y instanceof VU;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=PO1(this,$,"readableHighWaterMark",q),this.buffer=new NO1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!LU)LU=WJ().StringDecoder;this.decoder=new LU($.encoding),this.encoding=$.encoding}}function g1($){if(VU=VU||vY(),!(this instanceof g1))return new g1($);var Y=this instanceof VU;if(this._readableState=new kL0($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}PH.call(this)}Object.defineProperty(g1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});g1.prototype.destroy=If.destroy;g1.prototype._undestroy=If.undestroy;g1.prototype._destroy=function($,Y){Y($)};g1.prototype.push=function($,Y){var q=this._readableState,z;if(!q.objectMode){if(typeof $==="string"){if(Y=Y||q.defaultEncoding,Y!==q.encoding)$=iM.from($,Y),Y="";z=!0}}else z=!0;return uL0(this,$,Y,!1,z)};g1.prototype.unshift=function($){return uL0(this,$,null,!0,!1)};function uL0($,Y,q,z,J){L1("readableAddChunk",Y);var U=$._readableState;if(Y===null)U.reading=!1,CO1($,U);else{var I;if(!J)I=_O1(U,Y);if(I)DH($,I);else if(U.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==iM.prototype)Y=OO1(Y);if(z)if(U.endEmitted)DH($,new EO1);else zf($,U,Y,!0);else if(U.ended)DH($,new BO1);else if(U.destroyed)return!1;else if(U.reading=!1,U.decoder&&!q)if(Y=U.decoder.write(Y),U.objectMode||Y.length!==0)zf($,U,Y,!1);else Uf($,U);else zf($,U,Y,!1)}else if(!z)U.reading=!1,Uf($,U)}return!U.ended&&(U.length<U.highWaterMark||U.length===0)}function zf($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync)Y.awaitDrain=0,$.emit("data",q);else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if(Y.needReadable)cM($)}Uf($,Y)}function _O1($,Y){var q;if(!MO1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)q=new AO1("chunk",["string","Buffer","Uint8Array"],Y);return q}g1.prototype.isPaused=function(){return this._readableState.flowing===!1};g1.prototype.setEncoding=function($){if(!LU)LU=WJ().StringDecoder;var Y=new LU($);this._readableState.decoder=Y,this._readableState.encoding=this._readableState.decoder.encoding;var q=this._readableState.buffer.head,z="";while(q!==null)z+=Y.write(q.data),q=q.next;if(this._readableState.buffer.clear(),z!=="")this._readableState.buffer.push(z);return this._readableState.length=z.length,this};var SL0=1073741824;function RO1($){if($>=SL0)$=SL0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function yL0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=RO1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}g1.prototype.read=function($){L1("read",$),$=parseInt($,10);var Y=this._readableState,q=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(L1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Jf(this);else cM(this);return null}if($=yL0($,Y),$===0&&Y.ended){if(Y.length===0)Jf(this);return null}var z=Y.needReadable;if(L1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,L1("length less than watermark",z);if(Y.ended||Y.reading)z=!1,L1("reading or ended",z);else if(z){if(L1("do read"),Y.reading=!0,Y.sync=!0,Y.length===0)Y.needReadable=!0;if(this._read(Y.highWaterMark),Y.sync=!1,!Y.reading)$=yL0(q,Y)}var J;if($>0)J=iL0($,Y);else J=null;if(J===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)Jf(this)}if(J!==null)this.emit("data",J);return J};function CO1($,Y){if(L1("onEofChunk"),Y.ended)return;if(Y.decoder){var q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}if(Y.ended=!0,Y.sync)cM($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,fL0($)}function cM($){var Y=$._readableState;if(L1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)L1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(fL0,$)}function fL0($){var Y=$._readableState;if(L1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Qf($)}function Uf($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(vO1,$,Y)}function vO1($,Y){while(!Y.reading&&!Y.ended&&(Y.length<Y.highWaterMark||Y.flowing&&Y.length===0)){var q=Y.length;if(L1("maybeReadMore read 0"),$.read(0),q===Y.length)break}Y.readingMore=!1}g1.prototype._read=function($){DH(this,new TO1("_read()"))};g1.prototype.pipe=function($,Y){var q=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=$;break;case 1:z.pipes=[z.pipes,$];break;default:z.pipes.push($);break}z.pipesCount+=1,L1("pipe count=%d opts=%j",z.pipesCount,Y);var J=(!Y||Y.end!==!1)&&$!==process.stdout&&$!==process.stderr,U=J?Q:w;if(z.endEmitted)process.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(F,O){if(L1("onunpipe"),F===q){if(O&&O.hasUnpiped===!1)O.hasUnpiped=!0,H()}}function Q(){L1("onend"),$.end()}var K=hO1(q);$.on("drain",K);var G=!1;function H(){if(L1("cleanup"),$.removeListener("close",X),$.removeListener("finish",L),$.removeListener("drain",K),$.removeListener("error",V),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",w),q.removeListener("data",Z),G=!0,z.awaitDrain&&(!$._writableState||$._writableState.needDrain))K()}q.on("data",Z);function Z(F){L1("ondata");var O=$.write(F);if(L1("dest.write",O),O===!1){if((z.pipesCount===1&&z.pipes===$||z.pipesCount>1&&nL0(z.pipes,$)!==-1)&&!G)L1("false write response, pause",z.awaitDrain),z.awaitDrain++;q.pause()}}function V(F){if(L1("onerror",F),w(),$.removeListener("error",V),xL0($,"error")===0)DH($,F)}jO1($,"error",V);function X(){$.removeListener("finish",L),w()}$.once("close",X);function L(){L1("onfinish"),$.removeListener("close",X),w()}$.once("finish",L);function w(){L1("unpipe"),q.unpipe($)}if($.emit("pipe",q),!z.flowing)L1("pipe resume"),q.resume();return $};function hO1($){return function(){var q=$._readableState;if(L1("pipeOnDrain",q.awaitDrain),q.awaitDrain)q.awaitDrain--;if(q.awaitDrain===0&&xL0($,"data"))q.flowing=!0,Qf($)}}g1.prototype.unpipe=function($){var Y=this._readableState,q={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,q);return this}if(!$){var{pipes:z,pipesCount:J}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<J;U++)z[U].emit("unpipe",this,{hasUnpiped:!1});return this}var I=nL0(Y.pipes,$);if(I===-1)return this;if(Y.pipes.splice(I,1),Y.pipesCount-=1,Y.pipesCount===1)Y.pipes=Y.pipes[0];return $.emit("unpipe",this,q),this};g1.prototype.on=function($,Y){var q=PH.prototype.on.call(this,$,Y),z=this._readableState;if($==="data"){if(z.readableListening=this.listenerCount("readable")>0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,L1("on readable",z.length,z.reading),z.length)cM(this);else if(!z.reading)process.nextTick(gO1,this)}}return q};g1.prototype.addListener=g1.prototype.on;g1.prototype.removeListener=function($,Y){var q=PH.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(bL0,this);return q};g1.prototype.removeAllListeners=function($){var Y=PH.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(bL0,this);return Y};function bL0($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function gO1($){L1("readable nexttick read 0"),$.read(0)}g1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)L1("resume"),$.flowing=!$.readableListening,SO1(this,$);return $.paused=!1,this};function SO1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(yO1,$,Y)}function yO1($,Y){if(L1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Qf($),Y.flowing&&!Y.reading)$.read(0)}g1.prototype.pause=function(){if(L1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)L1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Qf($){var Y=$._readableState;L1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}g1.prototype.wrap=function($){var Y=this,q=this._readableState,z=!1;$.on("end",function(){if(L1("wrapped end"),q.decoder&&!q.ended){var I=q.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(L1("wrapped data"),q.decoder)I=q.decoder.write(I);if(q.objectMode&&(I===null||I===void 0))return;else if(!q.objectMode&&(!I||!I.length))return;var Q=Y.push(I);if(!Q)z=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(Q){return function(){return $[Q].apply($,arguments)}}(J);for(var U=0;U<qf.length;U++)$.on(qf[U],this.emit.bind(this,qf[U]));return this._read=function(I){if(L1("wrapped _read",I),z)z=!1,$.resume()},this};if(typeof Symbol==="function")g1.prototype[Symbol.asyncIterator]=function(){if($f===void 0)$f=RL0();return $f(this)};Object.defineProperty(g1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(g1.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(g1.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Y){if(this._readableState)this._readableState.flowing=Y}});g1._fromList=iL0;Object.defineProperty(g1.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function iL0($,Y){if(Y.length===0)return null;var q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.first();else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=Y.buffer.consume($,Y.decoder);return q}function Jf($){var Y=$._readableState;if(L1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(xO1,Y,$)}function xO1($,Y){if(L1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var q=Y._writableState;if(!q||q.autoDestroy&&q.finished)Y.destroy()}}}if(typeof Symbol==="function")g1.from=function($,Y){if(Yf===void 0)Yf=gL0();return Yf(g1,$,Y)};function nL0($,Y){for(var q=0,z=$.length;q<z;q++)if($[q]===Y)return q;return-1}});var Kf=M((y54,dL0)=>{dL0.exports=t9;var pM=h7().codes,kO1=pM.ERR_METHOD_NOT_IMPLEMENTED,uO1=pM.ERR_MULTIPLE_CALLBACK,fO1=pM.ERR_TRANSFORM_ALREADY_TRANSFORMING,bO1=pM.ERR_TRANSFORM_WITH_LENGTH_0,dM=vY();m0()(t9,dM);function iO1($,Y){var q=this._transformState;q.transforming=!1;var z=q.writecb;if(z===null)return this.emit("error",new uO1);if(q.writechunk=null,q.writecb=null,Y!=null)this.push(Y);z($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function t9($){if(!(this instanceof t9))return new t9($);if(dM.call(this,$),this._transformState={afterTransform:iO1.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",nO1)}function nO1(){var $=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(Y,q){pL0($,Y,q)});else pL0(this,null,null)}t9.prototype.push=function($,Y){return this._transformState.needTransform=!1,dM.prototype.push.call(this,$,Y)};t9.prototype._transform=function($,Y,q){q(new kO1("_transform()"))};t9.prototype._write=function($,Y,q){var z=this._transformState;if(z.writecb=q,z.writechunk=$,z.writeencoding=Y,!z.transforming){var J=this._readableState;if(z.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};t9.prototype._read=function($){var Y=this._transformState;if(Y.writechunk!==null&&!Y.transforming)Y.transforming=!0,this._transform(Y.writechunk,Y.writeencoding,Y.afterTransform);else Y.needTransform=!0};t9.prototype._destroy=function($,Y){dM.prototype._destroy.call(this,$,function(q){Y(q)})};function pL0($,Y,q){if(Y)return $.emit("error",Y);if(q!=null)$.push(q);if($._writableState.length)throw new bO1;if($._transformState.transforming)throw new fO1;return $.push(null)}});var oL0=M((x54,lL0)=>{lL0.exports=AH;var mL0=Kf();m0()(AH,mL0);function AH($){if(!(this instanceof AH))return new AH($);mL0.call(this,$)}AH.prototype._transform=function($,Y,q){q(null,$)}});var eL0=M((k54,aL0)=>{var Gf;function cO1($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var tL0=h7().codes,pO1=tL0.ERR_MISSING_ARGS,dO1=tL0.ERR_STREAM_DESTROYED;function rL0($){if($)throw $}function mO1($){return $.setHeader&&typeof $.abort==="function"}function lO1($,Y,q,z){z=cO1(z);var J=!1;if($.on("close",function(){J=!0}),Gf===void 0)Gf=uM();Gf($,{readable:Y,writable:q},function(I){if(I)return z(I);J=!0,z()});var U=!1;return function(I){if(J)return;if(U)return;if(U=!0,mO1($))return $.abort();if(typeof $.destroy==="function")return $.destroy();z(I||new dO1("pipe"))}}function sL0($){$()}function oO1($,Y){return $.pipe(Y)}function rO1($){if(!$.length)return rL0;if(typeof $[$.length-1]!=="function")return rL0;return $.pop()}function sO1(){for(var $=arguments.length,Y=Array($),q=0;q<$;q++)Y[q]=arguments[q];var z=rO1(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new pO1("streams");var J,U=Y.map(function(I,Q){var K=Q<Y.length-1,G=Q>0;return lO1(I,K,G,function(H){if(!J)J=H;if(H)U.forEach(sL0);if(K)return;U.forEach(sL0),z(J)})});return Y.reduce(oO1)}aL0.exports=sO1});var $w0=M((x$,TH)=>{var BH=m("stream");if(process.env.READABLE_STREAM==="disable"&&BH)TH.exports=BH.Readable,Object.assign(TH.exports,BH),TH.exports.Stream=BH;else x$=TH.exports=tu(),x$.Stream=BH||x$,x$.Readable=x$,x$.Writable=ru(),x$.Duplex=vY(),x$.Transform=Kf(),x$.PassThrough=oL0(),x$.finished=uM(),x$.pipeline=eL0()});var zw0=M((u54,qw0)=>{var{Buffer:w5}=m("buffer"),Yw0=Symbol.for("BufferList");function V4($){if(!(this instanceof V4))return new V4($);V4._init.call(this,$)}V4._init=function(Y){if(Object.defineProperty(this,Yw0,{value:!0}),this._bufs=[],this.length=0,Y)this.append(Y)};V4.prototype._new=function(Y){return new V4(Y)};V4.prototype._offset=function(Y){if(Y===0)return[0,0];let q=0;for(let z=0;z<this._bufs.length;z++){let J=q+this._bufs[z].length;if(Y<J||z===this._bufs.length-1)return[z,Y-q];q=J}};V4.prototype._reverseOffset=function($){let Y=$[0],q=$[1];for(let z=0;z<Y;z++)q+=this._bufs[z].length;return q};V4.prototype.get=function(Y){if(Y>this.length||Y<0)return;let q=this._offset(Y);return this._bufs[q[0]][q[1]]};V4.prototype.slice=function(Y,q){if(typeof Y==="number"&&Y<0)Y+=this.length;if(typeof q==="number"&&q<0)q+=this.length;return this.copy(null,0,Y,q)};V4.prototype.copy=function(Y,q,z,J){if(typeof z!=="number"||z<0)z=0;if(typeof J!=="number"||J>this.length)J=this.length;if(z>=this.length)return Y||w5.alloc(0);if(J<=0)return Y||w5.alloc(0);let U=!!Y,I=this._offset(z),Q=J-z,K=Q,G=U&&q||0,H=I[1];if(z===0&&J===this.length){if(!U)return this._bufs.length===1?this._bufs[0]:w5.concat(this._bufs,this.length);for(let Z=0;Z<this._bufs.length;Z++)this._bufs[Z].copy(Y,G),G+=this._bufs[Z].length;return Y}if(K<=this._bufs[I[0]].length-H)return U?this._bufs[I[0]].copy(Y,q,H,H+K):this._bufs[I[0]].slice(H,H+K);if(!U)Y=w5.allocUnsafe(Q);for(let Z=I[0];Z<this._bufs.length;Z++){let V=this._bufs[Z].length-H;if(K>V)this._bufs[Z].copy(Y,G,H),G+=V;else{this._bufs[Z].copy(Y,G,H,H+K),G+=V;break}if(K-=V,H)H=0}if(Y.length>G)return Y.slice(0,G);return Y};V4.prototype.shallowSlice=function(Y,q){if(Y=Y||0,q=typeof q!=="number"?this.length:q,Y<0)Y+=this.length;if(q<0)q+=this.length;if(Y===q)return this._new();let z=this._offset(Y),J=this._offset(q),U=this._bufs.slice(z[0],J[0]+1);if(J[1]===0)U.pop();else U[U.length-1]=U[U.length-1].slice(0,J[1]);if(z[1]!==0)U[0]=U[0].slice(z[1]);return this._new(U)};V4.prototype.toString=function(Y,q,z){return this.slice(q,z).toString(Y)};V4.prototype.consume=function(Y){if(Y=Math.trunc(Y),Number.isNaN(Y)||Y<=0)return this;while(this._bufs.length)if(Y>=this._bufs[0].length)Y-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(Y),this.length-=Y;break}return this};V4.prototype.duplicate=function(){let Y=this._new();for(let q=0;q<this._bufs.length;q++)Y.append(this._bufs[q]);return Y};V4.prototype.append=function(Y){if(Y==null)return this;if(Y.buffer)this._appendBuffer(w5.from(Y.buffer,Y.byteOffset,Y.byteLength));else if(Array.isArray(Y))for(let q=0;q<Y.length;q++)this.append(Y[q]);else if(this._isBufferList(Y))for(let q=0;q<Y._bufs.length;q++)this.append(Y._bufs[q]);else{if(typeof Y==="number")Y=Y.toString();this._appendBuffer(w5.from(Y))}return this};V4.prototype._appendBuffer=function(Y){this._bufs.push(Y),this.length+=Y.length};V4.prototype.indexOf=function($,Y,q){if(q===void 0&&typeof Y==="string")q=Y,Y=void 0;if(typeof $==="function"||Array.isArray($))throw TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');else if(typeof $==="number")$=w5.from([$]);else if(typeof $==="string")$=w5.from($,q);else if(this._isBufferList($))$=$.slice();else if(Array.isArray($.buffer))$=w5.from($.buffer,$.byteOffset,$.byteLength);else if(!w5.isBuffer($))$=w5.from($);if(Y=Number(Y||0),isNaN(Y))Y=0;if(Y<0)Y=this.length+Y;if(Y<0)Y=0;if($.length===0)return Y>this.length?this.length:Y;let z=this._offset(Y),J=z[0],U=z[1];for(;J<this._bufs.length;J++){let I=this._bufs[J];while(U<I.length)if(I.length-U>=$.length){let K=I.indexOf($,U);if(K!==-1)return this._reverseOffset([J,K]);U=I.length-$.length+1}else{let K=this._reverseOffset([J,U]);if(this._match(K,$))return K;U++}U=0}return-1};V4.prototype._match=function($,Y){if(this.length-$<Y.length)return!1;for(let q=0;q<Y.length;q++)if(this.get($+q)!==Y[q])return!1;return!0};(function(){let $={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let Y in $)(function(q){if($[q]===null)V4.prototype[q]=function(z,J){return this.slice(z,z+J)[q](0,J)};else V4.prototype[q]=function(z=0){return this.slice(z,z+$[q])[q](0)}})(Y)})();V4.prototype._isBufferList=function(Y){return Y instanceof V4||V4.isBufferList(Y)};V4.isBufferList=function(Y){return Y!=null&&Y[Yw0]};qw0.exports=V4});var Jw0=M((f54,mM)=>{var Hf=$w0().Duplex,tO1=m0(),EH=zw0();function K8($){if(!(this instanceof K8))return new K8($);if(typeof $==="function"){this._callback=$;let Y=function(z){if(this._callback)this._callback(z),this._callback=null}.bind(this);this.on("pipe",function(z){z.on("error",Y)}),this.on("unpipe",function(z){z.removeListener("error",Y)}),$=null}EH._init.call(this,$),Hf.call(this)}tO1(K8,Hf);Object.assign(K8.prototype,EH.prototype);K8.prototype._new=function(Y){return new K8(Y)};K8.prototype._write=function(Y,q,z){if(this._appendBuffer(Y),typeof z==="function")z()};K8.prototype._read=function(Y){if(!this.length)return this.push(null);Y=Math.min(Y,this.length),this.push(this.slice(0,Y)),this.consume(Y)};K8.prototype.end=function(Y){if(Hf.prototype.end.call(this,Y),this._callback)this._callback(null,this.slice()),this._callback=null};K8.prototype._destroy=function(Y,q){this._bufs.length=0,this.length=0,q(Y)};K8.prototype._isBufferList=function(Y){return Y instanceof K8||Y instanceof EH||K8.isBufferList(Y)};K8.isBufferList=EH.isBufferList;mM.exports=K8;mM.exports.BufferListStream=K8;mM.exports.BufferList=EH});var Xf=M((GM1)=>{var aO1=Buffer.alloc,eO1="0000000000000000000",$M1="7777777777777777777",Uw0=48,Iw0=Buffer.from("ustar\x00","binary"),YM1=Buffer.from("00","binary"),qM1=Buffer.from("ustar ","binary"),zM1=Buffer.from(" \x00","binary"),JM1=parseInt("7777",8),jH=257,Wf=263,UM1=function($,Y,q){if(typeof $!=="number")return q;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0},IM1=function($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},QM1=function($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},Qw0=function($,Y,q,z){for(;q<z;q++)if($[q]===Y)return q;return z},Kw0=function($){var Y=256;for(var q=0;q<148;q++)Y+=$[q];for(var z=156;z<512;z++)Y+=$[z];return Y},k7=function($,Y){if($=$.toString(8),$.length>Y)return $M1.slice(0,Y)+" ";else return eO1.slice(0,Y-$.length)+$+" "};function KM1($){var Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;var q=[];for(var z=$.length-1;z>0;z--){var J=$[z];if(Y)q.push(J);else q.push(255-J)}var U=0,I=q.length;for(z=0;z<I;z++)U+=q[z]*Math.pow(256,z);return Y?U:-1*U}var u7=function($,Y,q){if($=$.slice(Y,Y+q),Y=0,$[Y]&128)return KM1($);else{while(Y<$.length&&$[Y]===32)Y++;var z=UM1(Qw0($,32,Y,$.length),$.length,$.length);while(Y<z&&$[Y]===0)Y++;if(z===Y)return 0;return parseInt($.slice(Y,z).toString(),8)}},wU=function($,Y,q,z){return $.slice(Y,Qw0($,0,Y,Y+q)).toString(z)},Zf=function($){var Y=Buffer.byteLength($),q=Math.floor(Math.log(Y)/Math.log(10))+1;if(Y+q>=Math.pow(10,q))q++;return Y+q+$};GM1.decodeLongPath=function($,Y){return wU($,0,$.length,Y)};GM1.encodePax=function($){var Y="";if($.name)Y+=Zf(" path="+$.name+`
`);if($.linkname)Y+=Zf(" linkpath="+$.linkname+`
`);var q=$.pax;if(q)for(var z in q)Y+=Zf(" "+z+"="+q[z]+`
`);return Buffer.from(Y)};GM1.decodePax=function($){var Y={};while($.length){var q=0;while(q<$.length&&$[q]!==32)q++;var z=parseInt($.slice(0,q).toString(),10);if(!z)return Y;var J=$.slice(q+1,z-1).toString(),U=J.indexOf("=");if(U===-1)return Y;Y[J.slice(0,U)]=J.slice(U+1),$=$.slice(z)}return Y};GM1.encode=function($){var Y=aO1(512),q=$.name,z="";if($.typeflag===5&&q[q.length-1]!=="/")q+="/";if(Buffer.byteLength(q)!==q.length)return null;while(Buffer.byteLength(q)>100){var J=q.indexOf("/");if(J===-1)return null;z+=z?"/"+q.slice(0,J):q.slice(0,J),q=q.slice(J+1)}if(Buffer.byteLength(q)>100||Buffer.byteLength(z)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(Y.write(q),Y.write(k7($.mode&JM1,6),100),Y.write(k7($.uid,6),108),Y.write(k7($.gid,6),116),Y.write(k7($.size,11),124),Y.write(k7($.mtime.getTime()/1000|0,11),136),Y[156]=Uw0+QM1($.type),$.linkname)Y.write($.linkname,157);if(Iw0.copy(Y,jH),YM1.copy(Y,Wf),$.uname)Y.write($.uname,265);if($.gname)Y.write($.gname,297);if(Y.write(k7($.devmajor||0,6),329),Y.write(k7($.devminor||0,6),337),z)Y.write(z,345);return Y.write(k7(Kw0(Y),6),148),Y};GM1.decode=function($,Y,q){var z=$[156]===0?0:$[156]-Uw0,J=wU($,0,100,Y),U=u7($,100,8),I=u7($,108,8),Q=u7($,116,8),K=u7($,124,12),G=u7($,136,12),H=IM1(z),Z=$[157]===0?null:wU($,157,100,Y),V=wU($,265,32),X=wU($,297,32),L=u7($,329,8),w=u7($,337,8),F=Kw0($);if(F===256)return null;if(F!==u7($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(Iw0.compare($,jH,jH+6)===0){if($[345])J=wU($,345,155,Y)+"/"+J}else if(qM1.compare($,jH,jH+6)===0&&zM1.compare($,Wf,Wf+2)===0);else if(!q)throw Error("Invalid tar header: unknown format.");if(z===0&&J&&J[J.length-1]==="/")z=5;return{name:J,mode:U,uid:I,gid:Q,size:K,mtime:new Date(1000*G),type:H,linkname:Z,uname:V,gname:X,devmajor:L,devminor:w}}});var Lw0=M((i54,Vw0)=>{var Hw0=m("util"),LM1=Jw0(),_H=Xf(),Zw0=P8().Writable,Ww0=P8().PassThrough,Xw0=function(){},Gw0=function($){return $&=511,$&&512-$},wM1=function($,Y){var q=new lM($,Y);return q.end(),q},FM1=function($,Y){if(Y.path)$.name=Y.path;if(Y.linkpath)$.linkname=Y.linkpath;if(Y.size)$.size=parseInt(Y.size,10);return $.pax=Y,$},lM=function($,Y){this._parent=$,this.offset=Y,Ww0.call(this,{autoDestroy:!1})};Hw0.inherits(lM,Ww0);lM.prototype.destroy=function($){this._parent.destroy($)};var a9=function($){if(!(this instanceof a9))return new a9($);Zw0.call(this,$),$=$||{},this._offset=0,this._buffer=LM1(),this._missing=0,this._partial=!1,this._onparse=Xw0,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var Y=this,q=Y._buffer,z=function(){Y._continue()},J=function(V){if(Y._locked=!1,V)return Y.destroy(V);if(!Y._stream)z()},U=function(){Y._stream=null;var V=Gw0(Y._header.size);if(V)Y._parse(V,I);else Y._parse(512,Z);if(!Y._locked)z()},I=function(){Y._buffer.consume(Gw0(Y._header.size)),Y._parse(512,Z),z()},Q=function(){var V=Y._header.size;Y._paxGlobal=_H.decodePax(q.slice(0,V)),q.consume(V),U()},K=function(){var V=Y._header.size;if(Y._pax=_H.decodePax(q.slice(0,V)),Y._paxGlobal)Y._pax=Object.assign({},Y._paxGlobal,Y._pax);q.consume(V),U()},G=function(){var V=Y._header.size;this._gnuLongPath=_H.decodeLongPath(q.slice(0,V),$.filenameEncoding),q.consume(V),U()},H=function(){var V=Y._header.size;this._gnuLongLinkPath=_H.decodeLongPath(q.slice(0,V),$.filenameEncoding),q.consume(V),U()},Z=function(){var V=Y._offset,X;try{X=Y._header=_H.decode(q.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(L){Y.emit("error",L)}if(q.consume(512),!X){Y._parse(512,Z),z();return}if(X.type==="gnu-long-path"){Y._parse(X.size,G),z();return}if(X.type==="gnu-long-link-path"){Y._parse(X.size,H),z();return}if(X.type==="pax-global-header"){Y._parse(X.size,Q),z();return}if(X.type==="pax-header"){Y._parse(X.size,K),z();return}if(Y._gnuLongPath)X.name=Y._gnuLongPath,Y._gnuLongPath=null;if(Y._gnuLongLinkPath)X.linkname=Y._gnuLongLinkPath,Y._gnuLongLinkPath=null;if(Y._pax)Y._header=X=FM1(X,Y._pax),Y._pax=null;if(Y._locked=!0,!X.size||X.type==="directory"){Y._parse(512,Z),Y.emit("entry",X,wM1(Y,V),J);return}Y._stream=new lM(Y,V),Y.emit("entry",X,Y._stream,J),Y._parse(X.size,U),z()};this._onheader=Z,this._parse(512,Z)};Hw0.inherits(a9,Zw0);a9.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};a9.prototype._parse=function($,Y){if(this._destroyed)return;if(this._offset+=$,this._missing=$,Y===this._onheader)this._partial=!1;this._onparse=Y};a9.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=Xw0,this._overflow)this._write(this._overflow,void 0,$);else $()};a9.prototype._write=function($,Y,q){if(this._destroyed)return;var z=this._stream,J=this._buffer,U=this._missing;if($.length)this._partial=!0;if($.length<U){if(this._missing-=$.length,this._overflow=null,z)return z.write($,q);return J.append($),q()}this._cb=q,this._missing=0;var I=null;if($.length>U)I=$.slice(U),$=$.slice(0,U);if(z)z.end($);else J.append($);this._overflow=I,this._onparse()};a9.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};Vw0.exports=a9});var Fw0=M((n54,ww0)=>{ww0.exports=m("fs").constants||m("constants")});var Nw0=M((c54,Mw0)=>{var OM1=RM(),MM1=function(){},NM1=global.Bare?queueMicrotask:process.nextTick.bind(process),DM1=function($){return $.setHeader&&typeof $.abort==="function"},PM1=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},Ow0=function($,Y,q){if(typeof Y==="function")return Ow0($,null,Y);if(!Y)Y={};q=OM1(q||MM1);var{_writableState:z,_readableState:J}=$,U=Y.readable||Y.readable!==!1&&$.readable,I=Y.writable||Y.writable!==!1&&$.writable,Q=!1,K=function(){if(!$.writable)G()},G=function(){if(I=!1,!U)q.call($)},H=function(){if(U=!1,!I)q.call($)},Z=function(F){q.call($,F?Error("exited with error code: "+F):null)},V=function(F){q.call($,F)},X=function(){NM1(L)},L=function(){if(Q)return;if(U&&!(J&&(J.ended&&!J.destroyed)))return q.call($,Error("premature close"));if(I&&!(z&&(z.ended&&!z.destroyed)))return q.call($,Error("premature close"))},w=function(){$.req.on("finish",G)};if(DM1($))if($.on("complete",G),$.on("abort",X),$.req)w();else $.on("request",w);else if(I&&!z)$.on("end",K),$.on("close",K);if(PM1($))$.on("exit",Z);if($.on("end",H),$.on("finish",G),Y.error!==!1)$.on("error",V);return $.on("close",X),function(){if(Q=!0,$.removeListener("complete",G),$.removeListener("abort",X),$.removeListener("request",w),$.req)$.req.removeListener("finish",G);$.removeListener("end",K),$.removeListener("close",K),$.removeListener("finish",G),$.removeListener("exit",Z),$.removeListener("end",H),$.removeListener("error",V),$.removeListener("close",X)}};Mw0.exports=Ow0});var Tw0=M((p54,Bw0)=>{var FU=Fw0(),Dw0=Nw0(),rM=m0(),AM1=Buffer.alloc,Pw0=P8().Readable,OU=P8().Writable,BM1=m("string_decoder").StringDecoder,oM=Xf(),TM1=parseInt("755",8),EM1=parseInt("644",8),Aw0=AM1(1024),Lf=function(){},Vf=function($,Y){if(Y&=511,Y)$.push(Aw0.slice(0,512-Y))};function jM1($){switch($&FU.S_IFMT){case FU.S_IFBLK:return"block-device";case FU.S_IFCHR:return"character-device";case FU.S_IFDIR:return"directory";case FU.S_IFIFO:return"fifo";case FU.S_IFLNK:return"symlink"}return"file"}var sM=function($){OU.call(this),this.written=0,this._to=$,this._destroyed=!1};rM(sM,OU);sM.prototype._write=function($,Y,q){if(this.written+=$.length,this._to.push($))return q();this._to._drain=q};sM.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var tM=function(){OU.call(this),this.linkname="",this._decoder=new BM1("utf-8"),this._destroyed=!1};rM(tM,OU);tM.prototype._write=function($,Y,q){this.linkname+=this._decoder.write($),q()};tM.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var RH=function(){OU.call(this),this._destroyed=!1};rM(RH,OU);RH.prototype._write=function($,Y,q){q(Error("No body allowed for this entry"))};RH.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var Y9=function($){if(!(this instanceof Y9))return new Y9($);Pw0.call(this,$),this._drain=Lf,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};rM(Y9,Pw0);Y9.prototype.entry=function($,Y,q){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof Y==="function")q=Y,Y=null;if(!q)q=Lf;var z=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=jM1($.mode);if(!$.mode)$.mode=$.type==="directory"?TM1:EM1;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=Buffer.from(Y);if(Buffer.isBuffer(Y)){$.size=Y.length,this._encode($);var J=this.push(Y);if(Vf(z,$.size),J)process.nextTick(q);else this._drain=q;return new RH}if($.type==="symlink"&&!$.linkname){var U=new tM;return Dw0(U,function(Q){if(Q)return z.destroy(),q(Q);$.linkname=U.linkname,z._encode($),q()}),U}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(q),new RH;var I=new sM(this);return this._stream=I,Dw0(I,function(Q){if(z._stream=null,Q)return z.destroy(),q(Q);if(I.written!==$.size)return z.destroy(),q(Error("size mismatch"));if(Vf(z,$.size),z._finalizing)z.finalize();q()}),I};Y9.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(Aw0),this.push(null)};Y9.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream&&this._stream.destroy)this._stream.destroy()};Y9.prototype._encode=function($){if(!$.pax){var Y=oM.encode($);if(Y){this.push(Y);return}}this._encodePax($)};Y9.prototype._encodePax=function($){var Y=oM.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),q={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(oM.encode(q)),this.push(Y),Vf(this,Y.length),q.size=$.size,q.type=$.type,this.push(oM.encode(q))};Y9.prototype._read=function($){var Y=this._drain;this._drain=Lf,Y()};Bw0.exports=Y9});var Ew0=M((_M1)=>{_M1.extract=Lw0();_M1.pack=Tw0()});var Rw0=M((m54,_w0)=>{var vM1=m("zlib"),hM1=Ew0(),jw0=LH(),e9=function($){if(!(this instanceof e9))return new e9($);if($=this.options=jw0.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=hM1.pack($),this.compressor=!1,$.gzip)this.compressor=vM1.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};e9.prototype._onCompressorError=function($){this.engine.emit("error",$)};e9.prototype.append=function($,Y,q){var z=this;Y.mtime=Y.date;function J(I,Q){if(I){q(I);return}z.engine.entry(Y,Q,function(K){q(K,Y)})}if(Y.sourceType==="buffer")J(null,$);else if(Y.sourceType==="stream"&&Y.stats){Y.size=Y.stats.size;var U=z.engine.entry(Y,function(I){q(I,Y)});$.pipe(U)}else if(Y.sourceType==="stream")jw0.collectStream($,J)};e9.prototype.finalize=function(){this.engine.finalize()};e9.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};e9.prototype.pipe=function($,Y){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,Y);else return this.engine.pipe.apply(this.engine,arguments)};e9.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};_w0.exports=e9});var gw0=M((l54,hw0)=>{var gM1=m("util").inherits,Cw0=P8().Transform,SM1=yu(),vw0=LH(),f7=function($){if(!(this instanceof f7))return new f7($);$=this.options=vw0.defaults($,{}),Cw0.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};gM1(f7,Cw0);f7.prototype._transform=function($,Y,q){q(null,$)};f7.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};f7.prototype.append=function($,Y,q){var z=this;Y.crc32=0;function J(U,I){if(U){q(U);return}Y.size=I.length||0,Y.crc32=SM1.unsigned(I),z.files.push(Y),q(null,Y)}if(Y.sourceType==="buffer")J(null,$);else if(Y.sourceType==="stream")vw0.collectStream($,J)};f7.prototype.finalize=function(){this._writeStringified(),this.end()};hw0.exports=f7});var yw0=M((o54,Sw0)=>{var yM1=XV0(),CH={},b7=function($,Y){return b7.create($,Y)};b7.create=function($,Y){if(CH[$]){var q=new yM1($,Y);return q.setFormat($),q.setModule(new CH[$](Y)),q}else throw Error("create("+$+"): format not registered")};b7.registerFormat=function($,Y){if(CH[$])throw Error("register("+$+"): format already registered");if(typeof Y!=="function")throw Error("register("+$+"): format module invalid");if(typeof Y.prototype.append!=="function"||typeof Y.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");CH[$]=Y};b7.isRegisteredFormat=function($){if(CH[$])return!0;return!1};b7.registerFormat("zip",JL0());b7.registerFormat("tar",Rw0());b7.registerFormat("json",gw0());Sw0.exports=b7});var uw0=M((r54,kw0)=>{class xw0{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString($){return this._values[$]}add($){let Y=this._hash[$];if(Y===void 0)Y=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,Y}}kw0.exports=xw0});var nw0=M((s54,iw0)=>{var xM1=U8(),kM1=L7();class fw0{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class bw0{constructor($){this.id=$.id,this.count=0,this._hyperlinks=[],this._workbook=$.workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`);return this._stream}get length(){return this._hyperlinks.length}each($){return this._hyperlinks.forEach($)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new fw0(this))}addHyperlink($){let Y={Target:$.target,Type:kM1.Hyperlink,TargetMode:"External"},q=this._writeRelationship(Y);this._hyperlinks.push({rId:q,address:$.address})}addMedia($){return this._writeRelationship($)}addRelationship($){return this._writeRelationship($)}commit(){if(this.count)this._writeClose(),this.stream.end()}_writeOpen(){this.stream.write(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">`)}_writeRelationship($){if(!this.count)this._writeOpen();let Y=`rId${++this.count}`;if($.TargetMode)this.stream.write(`<Relationship Id="${Y}" Type="${$.Type}" Target="${xM1.xmlEncode($.Target)}" TargetMode="${$.TargetMode}"/>`);else this.stream.write(`<Relationship Id="${Y}" Type="${$.Type}" Target="${$.Target}"/>`);return Y}_writeClose(){this.stream.write("</Relationships>")}}iw0.exports=bw0});var lw0=M((t54,mw0)=>{var cw0=c6(),pw0=L7(),uM1=k4(),fM1=jy(),bM1=Ry();class dw0{constructor($,Y,q){this.id=q.id,this.count=0,this._worksheet=$,this._workbook=q.workbook,this._sheetRelsWriter=Y}get commentsStream(){if(!this._commentsStream)this._commentsStream=this._workbook._openStream(`/xl/comments${this.id}.xml`);return this._commentsStream}get vmlStream(){if(!this._vmlStream)this._vmlStream=this._workbook._openStream(`xl/drawings/vmlDrawing${this.id}.vml`);return this._vmlStream}_addRelationships(){let $={Type:pw0.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship($);let Y={Type:pw0.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(Y)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write('<?xml version="1.0" encoding="UTF-8" standalone="yes"?><comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><authors><author>Author</author></authors><commentList>'),this.vmlStream.write('<?xml version="1.0" encoding="UTF-8"?><xml xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:x="urn:schemas-microsoft-com:office:excel"><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1" /></o:shapelayout><v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe"><v:stroke joinstyle="miter" /><v:path gradientshapeok="t" o:connecttype="rect" /></v:shapetype>')}_writeComment($,Y){let q=new fM1,z=new cw0;q.render(z,$),this.commentsStream.write(z.xml);let J=new bM1,U=new cw0;J.render(U,$,Y),this.vmlStream.write(U.xml)}_writeClose(){this.commentsStream.write("</commentList></comments>"),this.vmlStream.write("</xml>")}addComments($){if($&&$.length){if(!this.startedData)this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),this.startedData=!0;$.forEach((Y)=>{Y.refAddress=uM1.decodeAddress(Y.ref)}),$.forEach((Y)=>{this._writeComment(Y,this.count),this.count+=1})}}commit(){if(this.count)this._writeClose(),this.commentsStream.end(),this.vmlStream.end()}}mw0.exports=dw0});var ew0=M((a54,aw0)=>{var iM1=l4(),nM1=L7(),wf=k4(),ow0=mv(),rw0=R9(),cM1=IS(),sw0=aL(),Ff=$w(),pM1=nw0(),dM1=lw0(),mM1=pv(),j6=new cM1,Of=W7(),lM1=Yy(),oM1=qy(),rM1=zy(),sM1=tS(),tM1=rS(),aM1=aS(),eM1=Jy(),$N1=Uy(),YN1=Iy(),qN1=Qy(),zN1=Ky(),JN1=Gy(),UN1=Vy(),IN1=Zy(),QN1=Hy(),_6={dataValidations:new lM1,sheetProperties:new oM1,sheetFormatProperties:new rM1,columns:new Of({tag:"cols",length:!1,childXform:new sM1}),row:new tM1,hyperlinks:new Of({tag:"hyperlinks",length:!1,childXform:new aM1}),sheetViews:new Of({tag:"sheetViews",length:!1,childXform:new eM1}),sheetProtection:new $N1,pageMargins:new YN1,pageSeteup:new qN1,autoFilter:new zN1,picture:new JN1,conditionalFormattings:new UN1,headerFooter:new IN1,rowBreaks:new QN1};class tw0{constructor($){this.id=$.id,this.name=$.name||`Sheet${this.id}`,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new pM1($),this._sheetCommentsWriter=new dM1(this,this._sheetRelsWriter,$),this._dimensions=new rw0,this._rowZero=1,this.committed=!1,this.dataValidations=new mM1,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.useSharedStrings=$.useSharedStrings||!1,this._workbook=$.workbook,this.hasComments=!1,this._views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/sheet${this.id}.xml`),this._stream.pause();return this._stream}destroy(){throw Error("Invalid Operation: destroy")}commit(){if(this.committed)return;if(this._rows.forEach(($)=>{if($)this._writeRow($)}),this._rows=null,!this.startedData)this._writeOpenSheetData();this._writeCloseSheetData(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writeSheetProtection(),this._writePageMargins(),this._writePageSetup(),this._writeBackground(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeLegacyData(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((z,J)=>{let U=J.header&&1||J.headers&&J.headers.length||0;return Math.max(z,U)},0);let Y=1,q=this._columns=[];$.forEach((z)=>{let J=new Ff(this,Y++,!1);q.push(J),J.defn=z})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){iM1.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=wf.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new Ff(this,Y++))}return this._columns[$-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow($,Y){if(!Y)Y=$,$=void 0;if($&&$.includeEmpty){let q=this._nextRow;for(let z=this._rowZero;z<q;z++)Y(this.getRow(z),z)}else this._rows.forEach((q)=>{if(q.hasValues)Y(q,q.number)})}_commitRow($){let Y=!1;while(this._rows.length&&!Y){let q=this._rows.shift();if(this._rowZero++,q)this._writeRow(q),Y=q.number===$.number,this._rowZero=q.number+1}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){let Y=$-this._rowZero;return this._rows[Y]}getRow($){let Y=$-this._rowZero;if(Y<0)throw Error("Out of bounds: this row has been committed");let q=this._rows[Y];if(!q)this._rows[Y]=q=new sw0(this,$);return q}addRow($){let Y=new sw0(this,this._nextRow);return this._rows[Y.number-this._rowZero]=Y,Y.values=$,Y}findCell($,Y){let q=wf.getAddress($,Y),z=this.findRow(q.row);return z?z.findCell(q.column):void 0}getCell($,Y){let q=wf.getAddress($,Y);return this.getRow(q.row).getCellEx(q)}mergeCells(...$){let Y=new rw0($);this._merges.forEach((z)=>{if(z.intersects(Y))throw Error("Cannot merge already merged cells")});let q=this.getCell(Y.top,Y.left);for(let z=Y.top;z<=Y.bottom;z++)for(let J=Y.left;J<=Y.right;J++)if(z>Y.top||J>Y.left)this.getCell(z,J).merge(q);this._merges.push(Y)}addConditionalFormatting($){this.conditionalFormatting.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormatting.splice($,1);else if($ instanceof Function)this.conditionalFormatting=this.conditionalFormatting.filter($);else this.conditionalFormatting=[]}addBackgroundImage($){this._background={imageId:$}}getBackgroundImageId(){return this._background&&this._background.imageId}protect($,Y){return new Promise((q)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=ow0.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=ow0.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}q()})}unprotect(){this.sheetProtection=null}_write($){j6.reset(),j6.addText($),this.stream.write(j6)}_writeSheetProperties($,Y,q){let z={outlineProperties:Y&&Y.outlineProperties,tabColor:Y&&Y.tabColor,pageSetup:q&&q.fitToPage?{fitToPage:q.fitToPage}:void 0};$.addText(_6.sheetProperties.toXml(z))}_writeSheetFormatProperties($,Y){let q=Y?{defaultRowHeight:Y.defaultRowHeight,dyDescent:Y.dyDescent,outlineLevelCol:Y.outlineLevelCol,outlineLevelRow:Y.outlineLevelRow}:void 0;if(Y.defaultColWidth)q.defaultColWidth=Y.defaultColWidth;$.addText(_6.sheetFormatProperties.toXml(q))}_writeOpenWorksheet(){j6.reset(),j6.addText('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),j6.addText('<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">'),this._writeSheetProperties(j6,this.properties,this.pageSetup),j6.addText(_6.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(j6,this.properties),this.stream.write(j6)}_writeColumns(){let $=Ff.toModel(this.columns);if($)_6.columns.prepare($,{styles:this._workbook.styles}),this.stream.write(_6.columns.toXml($))}_writeOpenSheetData(){this._write("<sheetData>")}_writeRow($){if(!this.startedData)this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0;if($.hasValues||$.height){let{model:Y}=$,q={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(_6.row.prepare(Y,q),this.stream.write(_6.row.toXml(Y)),q.comments.length)this.hasComments=!0,this._sheetCommentsWriter.addComments(q.comments)}}_writeCloseSheetData(){this._write("</sheetData>")}_writeMergeCells(){if(this._merges.length)j6.reset(),j6.addText(`<mergeCells count="${this._merges.length}">`),this._merges.forEach(($)=>{j6.addText(`<mergeCell ref="${$}"/>`)}),j6.addText("</mergeCells>"),this.stream.write(j6)}_writeHyperlinks(){this.stream.write(_6.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let $={styles:this._workbook.styles};_6.conditionalFormattings.prepare(this.conditionalFormatting,$),this.stream.write(_6.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(_6.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(_6.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(_6.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(_6.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(_6.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(_6.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(_6.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let $=this._workbook.getImage(this._background.imageId),Y=this._sheetRelsWriter.addMedia({Target:`../media/${$.name}`,Type:nM1.Image});this._background={...this._background,rId:Y}}this.stream.write(_6.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){if(this.hasComments)j6.reset(),j6.addText(`<legacyDrawing r:id="${this._sheetCommentsWriter.vmlRelId}"/>`),this.stream.write(j6)}_writeDimensions(){}_writeCloseWorksheet(){this._write("</worksheet>")}}aw0.exports=tw0});var UF0=M((e54,JF0)=>{var KN1=m("fs"),GN1=yw0(),$F0=NG(),yY=L7(),YF0=vF(),HN1=uw0(),ZN1=ov(),WN1=nS(),qF0=yF(),XN1=pS(),VN1=dS(),LN1=kF(),wN1=cS(),FN1=ew0(),ON1=Cy();class zF0{constructor($){if($=$||{},this.created=$.created||new Date,this.modified=$.modified||this.created,this.creator=$.creator||"ExcelJS",this.lastModifiedBy=$.lastModifiedBy||"ExcelJS",this.lastPrinted=$.lastPrinted,this.useSharedStrings=$.useSharedStrings||!1,this.sharedStrings=new HN1,this.styles=$.useStyles?new YF0(!0):new YF0.Mock(!0),this._definedNames=new ZN1,this._worksheets=[],this.views=[],this.zipOptions=$.zip,this.media=[],this.commentRefs=[],this.zip=GN1("zip",this.zipOptions),$.stream)this.stream=$.stream;else if($.filename)this.stream=KN1.createWriteStream($.filename);else this.stream=new $F0;this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream($){let Y=new $F0({bufSize:65536,batch:!0});return this.zip.append(Y,{name:$}),Y.on("finish",()=>{Y.emit("zipped")}),Y}_commitWorksheets(){let $=function(q){if(!q.committed)return new Promise((z)=>{q.stream.on("zipped",()=>{z()}),q.commit()});return Promise.resolve()},Y=this._worksheets.map($);if(Y.length)return Promise.all(Y);return Promise.resolve()}async commit(){return await this.promise,await this.addMedia(),await this._commitWorksheets(),await Promise.all([this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addWorkbookRels()]),await this.addWorkbook(),this._finalize()}get nextId(){let $;for($=1;$<this._worksheets.length;$++)if(!this._worksheets[$])return $;return this._worksheets.length||1}addImage($){let Y=this.media.length,q=Object.assign({},$,{type:"image",name:`image${Y}.${$.extension}`});return this.media.push(q),Y}getImage($){return this.media[$]}addWorksheet($,Y){Y=Y||{};let q=Y.useSharedStrings!==void 0?Y.useSharedStrings:this.useSharedStrings;if(Y.tabColor)console.trace("tabColor option has moved to { properties: tabColor: {...} }"),Y.properties=Object.assign({tabColor:Y.tabColor},Y.properties);let z=this.nextId;$=$||`sheet${z}`;let J=new FN1({id:z,name:$,workbook:this,useSharedStrings:q,properties:Y.properties,state:Y.state,pageSetup:Y.pageSetup,views:Y.views,autoFilter:Y.autoFilter,headerFooter:Y.headerFooter});return this._worksheets[z]=J,J}getWorksheet($){if($===void 0)return this._worksheets.find(()=>!0);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}addStyles(){return new Promise(($)=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),$()})}addThemes(){return new Promise(($)=>{this.zip.append(ON1,{name:"xl/theme/theme1.xml"}),$()})}addOfficeRels(){return new Promise(($)=>{let q=new qF0().toXml([{Id:"rId1",Type:yY.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:yY.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:yY.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(q,{name:"/_rels/.rels"}),$()})}addContentTypes(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},z=new XN1().toXml(Y);this.zip.append(z,{name:"[Content_Types].xml"}),$()})}addMedia(){return Promise.all(this.media.map(($)=>{if($.type==="image"){let Y=`xl/media/${$.name}`;if($.filename)return this.zip.file($.filename,{name:Y});if($.buffer)return this.zip.append($.buffer,{name:Y});if($.base64){let q=$.base64,z=q.substring(q.indexOf(",")+1);return this.zip.append(z,{name:Y,base64:!0})}}throw Error("Unsupported media")}))}addApp(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean)},z=new VN1().toXml(Y);this.zip.append(z,{name:"docProps/app.xml"}),$()})}addCore(){return new Promise(($)=>{let q=new WN1().toXml(this);this.zip.append(q,{name:"docProps/core.xml"}),$()})}addSharedStrings(){if(this.sharedStrings.count)return new Promise(($)=>{let q=new wN1().toXml(this.sharedStrings);this.zip.append(q,{name:"/xl/sharedStrings.xml"}),$()});return Promise.resolve()}addWorkbookRels(){let $=1,Y=[{Id:`rId${$++}`,Type:yY.Styles,Target:"styles.xml"},{Id:`rId${$++}`,Type:yY.Theme,Target:"theme/theme1.xml"}];if(this.sharedStrings.count)Y.push({Id:`rId${$++}`,Type:yY.SharedStrings,Target:"sharedStrings.xml"});return this._worksheets.forEach((q)=>{if(q)q.rId=`rId${$++}`,Y.push({Id:q.rId,Type:yY.Worksheet,Target:`worksheets/sheet${q.id}.xml`})}),new Promise((q)=>{let J=new qF0().toXml(Y);this.zip.append(J,{name:"/xl/_rels/workbook.xml.rels"}),q()})}addWorkbook(){let{zip:$}=this,Y={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((q)=>{let z=new LN1;z.prepare(Y),$.append(z.toXml(Y),{name:"/xl/workbook.xml"}),q()})}_finalize(){return new Promise(($,Y)=>{this.stream.on("error",Y),this.stream.on("finish",()=>{$(this)}),this.zip.on("error",Y),this.zip.finalize()})}}JF0.exports=zF0});var QF0=M(($94,IF0)=>{var Mf=m("events").listenerCount;Mf=Mf||function($,Y){var q=$&&$._events&&$._events[Y];if(Array.isArray(q))return q.length;else if(typeof q==="function")return 1;else return 0};IF0.exports=Mf});var GF0=M((Y94,KF0)=>{KF0.exports=function(Y){var q=process&&process.version?process.version:"v5.0.0",z=q.split(".")[0].replace("v","");return z<6?new Buffer(Y):Buffer.from(Y)}});var ZF0=M(()=>{var vH=GF0();if(!Buffer.prototype.indexOf)Buffer.prototype.indexOf=function($,Y){if(Y=Y||0,typeof $==="string"||$ instanceof String)$=vH($);else if(typeof $==="number"||$ instanceof Number)$=vH([$]);var q=$.length;for(var z=Y;z<=this.length-q;z++){var J=!1;for(var U=0;U<q;U++)if(this[z+U]!=$[U]){J=!0;break}if(!J)return z}return-1};function HF0($,Y){if(typeof $==="string"||$ instanceof String)$=vH($);else if(typeof $==="number"||$ instanceof Number)$=vH([$]);var q=$.length;Y=Y||this.length-q;for(var z=Y;z>=0;z--){var J=!1;for(var U=0;U<q;U++)if(this[z+U]!=$[U]){J=!0;break}if(!J)return z}return-1}if(Buffer.prototype.lastIndexOf){if(vH("ABC").lastIndexOf("ABC")===-1)Buffer.prototype.lastIndexOf=HF0}else Buffer.prototype.lastIndexOf=HF0});var LF0=M((J94,VF0)=>{VF0.exports=G8;function G8($){if(!(this instanceof G8))return new G8($);this.value=$}G8.prototype.get=function($){var Y=this.value;for(var q=0;q<$.length;q++){var z=$[q];if(!Object.hasOwnProperty.call(Y,z)){Y=void 0;break}Y=Y[z]}return Y};G8.prototype.set=function($,Y){var q=this.value;for(var z=0;z<$.length-1;z++){var J=$[z];if(!Object.hasOwnProperty.call(q,J))q[J]={};q=q[J]}return q[$[z]]=Y,Y};G8.prototype.map=function($){return WF0(this.value,$,!0)};G8.prototype.forEach=function($){return this.value=WF0(this.value,$,!1),this.value};G8.prototype.reduce=function($,Y){var q=arguments.length===1,z=q?this.value:Y;return this.forEach(function(J){if(!this.isRoot||!q)z=$.call(this,z,J)}),z};G8.prototype.deepEqual=function($){if(arguments.length!==1)throw Error("deepEqual requires exactly one object to compare against");var Y=!0,q=$;return this.forEach(function(z){var J=function(){Y=!1;return}.bind(this);if(!this.isRoot){if(typeof q!=="object")return J();q=q[this.key]}var U=q;this.post(function(){q=U});var I=function(Z){return Object.prototype.toString.call(Z)};if(this.circular){if(G8($).get(this.circular.path)!==U)J()}else if(typeof U!==typeof z)J();else if(U===null||z===null||U===void 0||z===void 0){if(U!==z)J()}else if(U.__proto__!==z.__proto__)J();else if(U===z);else if(typeof U==="function"){if(U instanceof RegExp){if(U.toString()!=z.toString())J()}else if(U!==z)J()}else if(typeof U==="object")if(I(z)==="[object Arguments]"||I(U)==="[object Arguments]"){if(I(U)!==I(z))J()}else if(U instanceof Date||z instanceof Date){if(!(U instanceof Date)||!(z instanceof Date)||U.getTime()!==z.getTime())J()}else{var Q=Object.keys(U),K=Object.keys(z);if(Q.length!==K.length)return J();for(var G=0;G<Q.length;G++){var H=Q[G];if(!Object.hasOwnProperty.call(z,H))J()}}}),Y};G8.prototype.paths=function(){var $=[];return this.forEach(function(Y){$.push(this.path)}),$};G8.prototype.nodes=function(){var $=[];return this.forEach(function(Y){$.push(this.node)}),$};G8.prototype.clone=function(){var $=[],Y=[];return function q(z){for(var J=0;J<$.length;J++)if($[J]===z)return Y[J];if(typeof z==="object"&&z!==null){var U=XF0(z);return $.push(z),Y.push(U),Object.keys(z).forEach(function(I){U[I]=q(z[I])}),$.pop(),Y.pop(),U}else return z}(this.value)};function WF0($,Y,q){var z=[],J=[],U=!0;return function I(Q){var K=q?XF0(Q):Q,G={},H={node:K,node_:Q,path:[].concat(z),parent:J.slice(-1)[0],key:z.slice(-1)[0],isRoot:z.length===0,level:z.length,circular:null,update:function(L){if(!H.isRoot)H.parent.node[H.key]=L;H.node=L},delete:function(){delete H.parent.node[H.key]},remove:function(){if(Array.isArray(H.parent.node))H.parent.node.splice(H.key,1);else delete H.parent.node[H.key]},before:function(L){G.before=L},after:function(L){G.after=L},pre:function(L){G.pre=L},post:function(L){G.post=L},stop:function(){U=!1}};if(!U)return H;if(typeof K==="object"&&K!==null){H.isLeaf=Object.keys(K).length==0;for(var Z=0;Z<J.length;Z++)if(J[Z].node_===Q){H.circular=J[Z];break}}else H.isLeaf=!0;H.notLeaf=!H.isLeaf,H.notRoot=!H.isRoot;var V=Y.call(H,H.node);if(V!==void 0&&H.update)H.update(V);if(G.before)G.before.call(H,H.node);if(typeof H.node=="object"&&H.node!==null&&!H.circular){J.push(H);var X=Object.keys(H.node);X.forEach(function(L,w){if(z.push(L),G.pre)G.pre.call(H,H.node[L],L);var F=I(H.node[L]);if(q&&Object.hasOwnProperty.call(H.node,L))H.node[L]=F.node;if(F.isLast=w==X.length-1,F.isFirst=w==0,G.post)G.post.call(H,F);z.pop()}),J.pop()}if(G.after)G.after.call(H,H.node);return H}($).node}Object.keys(G8.prototype).forEach(function($){G8[$]=function(Y){var q=[].slice.call(arguments,1),z=G8(Y);return z[$].apply(z,q)}});function XF0($){if(typeof $==="object"&&$!==null){var Y;if(Array.isArray($))Y=[];else if($ instanceof Date)Y=new Date($);else if($ instanceof Boolean)Y=new Boolean($);else if($ instanceof Number)Y=new Number($);else if($ instanceof String)Y=new String($);else Y=Object.create(Object.getPrototypeOf($));return Object.keys($).forEach(function(q){Y[q]=$[q]}),Y}else return $}});var FF0=M((U94,wF0)=>{var MN1=LF0(),NN1=m("events").EventEmitter;wF0.exports=MU;function MU($){var Y=MU.saw($,{}),q=$.call(Y.handlers,Y);if(q!==void 0)Y.handlers=q;return Y.record(),Y.chain()}MU.light=function(Y){var q=MU.saw(Y,{}),z=Y.call(q.handlers,q);if(z!==void 0)q.handlers=z;return q.chain()};MU.saw=function($,Y){var q=new NN1;return q.handlers=Y,q.actions=[],q.chain=function(){var z=MN1(q.handlers).map(function(J){if(this.isRoot)return J;var U=this.path;if(typeof J==="function")this.update(function(){return q.actions.push({path:U,args:[].slice.call(arguments)}),z})});return process.nextTick(function(){q.emit("begin"),q.next()}),z},q.pop=function(){return q.actions.shift()},q.next=function(){var z=q.pop();if(!z)q.emit("end");else if(!z.trap){var J=q.handlers;z.path.forEach(function(U){J=J[U]}),J.apply(q.handlers,z.args)}},q.nest=function(z){var J=[].slice.call(arguments,1),U=!0;if(typeof z==="boolean"){var U=z;z=J.shift()}var I=MU.saw($,{}),Q=$.call(I.handlers,I);if(Q!==void 0)I.handlers=Q;if(typeof q.step<"u")I.record();if(z.apply(I.chain(),J),U!==!1)I.on("end",q.next)},q.record=function(){DN1(q)},["trap","down","jump"].forEach(function(z){q[z]=function(){throw Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),q};function DN1($){$.step=0,$.pop=function(){return $.actions[$.step++]},$.trap=function(Y,q){var z=Array.isArray(Y)?Y:[Y];$.actions.push({path:z,step:$.step,cb:q,trap:!0})},$.down=function(Y){var q=(Array.isArray(Y)?Y:[Y]).join("/"),z=$.actions.slice($.step).map(function(U){if(U.trap&&U.step<=$.step)return!1;return U.path.join("/")==q}).indexOf(!0);if(z>=0)$.step+=z;else $.step=$.actions.length;var J=$.actions[$.step-1];if(J&&J.trap)$.step=J.step,J.cb();else $.next()},$.jump=function(Y){$.step=Y,$.next()}}});var MF0=M((I94,OF0)=>{OF0.exports=E8;function E8($){if(!(this instanceof E8))return new E8($);this.buffers=$||[],this.length=this.buffers.reduce(function(Y,q){return Y+q.length},0)}E8.prototype.push=function(){for(var $=0;$<arguments.length;$++)if(!Buffer.isBuffer(arguments[$]))throw TypeError("Tried to push a non-buffer");for(var $=0;$<arguments.length;$++){var Y=arguments[$];this.buffers.push(Y),this.length+=Y.length}return this.length};E8.prototype.unshift=function(){for(var $=0;$<arguments.length;$++)if(!Buffer.isBuffer(arguments[$]))throw TypeError("Tried to unshift a non-buffer");for(var $=0;$<arguments.length;$++){var Y=arguments[$];this.buffers.unshift(Y),this.length+=Y.length}return this.length};E8.prototype.copy=function($,Y,q,z){return this.slice(q,z).copy($,Y,0,z-q)};E8.prototype.splice=function($,Y){var q=this.buffers,z=$>=0?$:this.length-$,J=[].slice.call(arguments,2);if(Y===void 0)Y=this.length-z;else if(Y>this.length-z)Y=this.length-z;for(var $=0;$<J.length;$++)this.length+=J[$].length;var U=new E8,I=0,Q=0;for(var K=0;K<q.length&&Q+q[K].length<z;K++)Q+=q[K].length;if(z-Q>0){var G=z-Q;if(G+Y<q[K].length){U.push(q[K].slice(G,G+Y));var H=q[K],Z=new Buffer(G);for(var $=0;$<G;$++)Z[$]=H[$];var V=new Buffer(H.length-G-Y);for(var $=G+Y;$<H.length;$++)V[$-Y-G]=H[$];if(J.length>0){var X=J.slice();X.unshift(Z),X.push(V),q.splice.apply(q,[K,1].concat(X)),K+=X.length,J=[]}else q.splice(K,1,Z,V),K+=2}else U.push(q[K].slice(G)),q[K]=q[K].slice(0,G),K++}if(J.length>0)q.splice.apply(q,[K,0].concat(J)),K+=J.length;while(U.length<Y){var L=q[K],w=L.length,F=Math.min(w,Y-U.length);if(F===w)U.push(L),q.splice(K,1);else U.push(L.slice(0,F)),q[K]=q[K].slice(F)}return this.length-=U.length,U};E8.prototype.slice=function($,Y){var q=this.buffers;if(Y===void 0)Y=this.length;if($===void 0)$=0;if(Y>this.length)Y=this.length;var z=0;for(var J=0;J<q.length&&z+q[J].length<=$;J++)z+=q[J].length;var U=new Buffer(Y-$),I=0;for(var Q=J;I<Y-$&&Q<q.length;Q++){var K=q[Q].length,G=I===0?$-z:0,H=I+K>=Y-$?Math.min(G+(Y-$)-I,K):K;q[Q].copy(U,I,G,H),I+=H-G}return U};E8.prototype.pos=function($){if($<0||$>=this.length)throw Error("oob");var Y=$,q=0,z=null;for(;;){if(z=this.buffers[q],Y<z.length)return{buf:q,offset:Y};else Y-=z.length;q++}};E8.prototype.get=function(Y){var q=this.pos(Y);return this.buffers[q.buf].get(q.offset)};E8.prototype.set=function(Y,q){var z=this.pos(Y);return this.buffers[z.buf].set(z.offset,q)};E8.prototype.indexOf=function($,Y){if(typeof $==="string")$=new Buffer($);else if($ instanceof Buffer);else throw Error("Invalid type for a search string");if(!$.length)return 0;if(!this.length)return-1;var q=0,z=0,J=0,U,I=0;if(Y){var Q=this.pos(Y);q=Q.buf,z=Q.offset,I=Y}for(;;){while(z>=this.buffers[q].length)if(z=0,q++,q>=this.buffers.length)return-1;var K=this.buffers[q][z];if(K==$[J]){if(J==0)U={i:q,j:z,pos:I};if(J++,J==$.length)return U.pos}else if(J!=0)q=U.i,z=U.j,I=U.pos,J=0;z++,I++}};E8.prototype.toBuffer=function(){return this.slice()};E8.prototype.toString=function($,Y,q){return this.slice(Y,q).toString($)}});var DF0=M((Q94,NF0)=>{NF0.exports=function($){function Y(z,J){var U=q.store,I=z.split(".");I.slice(0,-1).forEach(function(K){if(U[K]===void 0)U[K]={};U=U[K]});var Q=I[I.length-1];if(arguments.length==1)return U[Q];else return U[Q]=J}var q={get:function(z){return Y(z)},set:function(z,J){return Y(z,J)},store:$||{}};return q}});var hH=M((xY,EF0)=>{var PN1=FF0(),PF0=m("events").EventEmitter,AN1=MF0(),aM=DF0(),BN1=m("stream").Stream;xY=EF0.exports=function($,Y){if(Buffer.isBuffer($))return xY.parse($);var q=xY.stream();if($&&$.pipe)$.pipe(q);else if($)$.on(Y||"data",function(z){q.write(z)}),$.on("end",function(){q.end()});return q};xY.stream=function($){if($)return xY.apply(null,arguments);var Y=null;function q(Z,V,X){Y={bytes:Z,skip:X,cb:function(L){Y=null,V(L)}},J()}var z=null;function J(){if(!Y){if(H)G=!0;return}if(typeof Y==="function")Y();else{var Z=z+Y.bytes;if(Q.length>=Z){var V;if(z==null){if(V=Q.splice(0,Z),!Y.skip)V=V.slice()}else{if(!Y.skip)V=Q.slice(z,Z);z=Z}if(Y.skip)Y.cb();else Y.cb(V)}}}function U(Z){function V(){if(!G)Z.next()}var X=TF0(function(L,w){return function(F){q(L,function(O){K.set(F,w(O)),V()})}});return X.tap=function(L){Z.nest(L,K.store)},X.into=function(L,w){if(!K.get(L))K.set(L,{});var F=K;K=aM(F.get(L)),Z.nest(function(){w.apply(this,arguments),this.tap(function(){K=F})},K.store)},X.flush=function(){K.store={},V()},X.loop=function(L){var w=!1;Z.nest(!1,function F(){this.vars=K.store,L.call(this,function(){w=!0,V()},K.store),this.tap(function(){if(w)Z.next();else F.call(this)}.bind(this))},K.store)},X.buffer=function(L,w){if(typeof w==="string")w=K.get(w);q(w,function(F){K.set(L,F),V()})},X.skip=function(L){if(typeof L==="string")L=K.get(L);q(L,function(){V()})},X.scan=function(w,F){if(typeof F==="string")F=new Buffer(F);else if(!Buffer.isBuffer(F))throw Error("search must be a Buffer or a string");var O=0;Y=function(){var P=Q.indexOf(F,z+O),B=P-z-O;if(P!==-1){if(Y=null,z!=null)K.set(w,Q.slice(z,z+O+B)),z+=O+B+F.length;else K.set(w,Q.slice(0,O+B)),Q.splice(0,O+B+F.length);V(),J()}else B=Math.max(Q.length-F.length-z-O,0);O+=B},J()},X.peek=function(L){z=0,Z.nest(function(){L.call(this,K.store),this.tap(function(){z=null})})},X}var I=PN1.light(U);I.writable=!0;var Q=AN1();I.write=function(Z){Q.push(Z),J()};var K=aM(),G=!1,H=!1;return I.end=function(){H=!0},I.pipe=BN1.prototype.pipe,Object.getOwnPropertyNames(PF0.prototype).forEach(function(Z){I[Z]=PF0.prototype[Z]}),I};xY.parse=function(Y){var q=TF0(function(U,I){return function(Q){if(z+U<=Y.length){var K=Y.slice(z,z+U);z+=U,J.set(Q,I(K))}else J.set(Q,null);return q}}),z=0,J=aM();return q.vars=J.store,q.tap=function(U){return U.call(q,J.store),q},q.into=function(U,I){if(!J.get(U))J.set(U,{});var Q=J;return J=aM(Q.get(U)),I.call(q,J.store),J=Q,q},q.loop=function(U){var I=!1,Q=function(){I=!0};while(I===!1)U.call(q,Q,J.store);return q},q.buffer=function(U,I){if(typeof I==="string")I=J.get(I);var Q=Y.slice(z,Math.min(Y.length,z+I));return z+=I,J.set(U,Q),q},q.skip=function(U){if(typeof U==="string")U=J.get(U);return z+=U,q},q.scan=function(U,I){if(typeof I==="string")I=new Buffer(I);else if(!Buffer.isBuffer(I))throw Error("search must be a Buffer or a string");J.set(U,null);for(var Q=0;Q+z<=Y.length-I.length+1;Q++){for(var K=0;K<I.length&&Y[z+Q+K]===I[K];K++);if(K===I.length)break}return J.set(U,Y.slice(z,z+Q)),z+=Q+I.length,q},q.peek=function(U){var I=z;return U.call(q,J.store),z=I,q},q.flush=function(){return J.store={},q},q.eof=function(){return z>=Y.length},q};function AF0($){var Y=0;for(var q=0;q<$.length;q++)Y+=Math.pow(256,q)*$[q];return Y}function BF0($){var Y=0;for(var q=0;q<$.length;q++)Y+=Math.pow(256,$.length-q-1)*$[q];return Y}function TN1($){var Y=BF0($);if(($[0]&128)==128)Y-=Math.pow(256,$.length);return Y}function EN1($){var Y=AF0($);if(($[$.length-1]&128)==128)Y-=Math.pow(256,$.length);return Y}function TF0($){var Y={};return[1,2,4,8].forEach(function(q){var z=q*8;Y["word"+z+"le"]=Y["word"+z+"lu"]=$(q,AF0),Y["word"+z+"ls"]=$(q,EN1),Y["word"+z+"be"]=Y["word"+z+"bu"]=$(q,BF0),Y["word"+z+"bs"]=$(q,TN1)}),Y.word8=Y.word8u=Y.word8be,Y.word8s=Y.word8bs,Y}});var kY=M((K94,Rf)=>{var Nf=function(){return this===void 0}();if(Nf)Rf.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:Nf,propertyIsWritable:function($,Y){var q=Object.getOwnPropertyDescriptor($,Y);return!!(!q||q.writable||q.set)}};else Df={}.hasOwnProperty,Pf={}.toString,Af={}.constructor.prototype,eM=function($){var Y=[];for(var q in $)if(Df.call($,q))Y.push(q);return Y},Bf=function($,Y){return{value:$[Y]}},Tf=function($,Y,q){return $[Y]=q.value,$},Ef=function($){return $},jf=function($){try{return Object($).constructor.prototype}catch(Y){return Af}},_f=function($){try{return Pf.call($)==="[object Array]"}catch(Y){return!1}},Rf.exports={isArray:_f,keys:eM,names:eM,defineProperty:Tf,getDescriptor:Bf,freeze:Ef,getPrototypeOf:jf,isES5:Nf,propertyIsWritable:function(){return!0}};var Df,Pf,Af,eM,Bf,Tf,Ef,jf,_f});var H4=M((YN,yf)=>{var l8=kY(),jN1=typeof navigator>"u",Cf={e:{}},vf,_N1=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:YN!==void 0?YN:null;function RN1(){try{var $=vf;return vf=null,$.apply(this,arguments)}catch(Y){return Cf.e=Y,Cf}}function CN1($){return vf=$,RN1}var vN1=function($,Y){var q={}.hasOwnProperty;function z(){this.constructor=$,this.constructor$=Y;for(var J in Y.prototype)if(q.call(Y.prototype,J)&&J.charAt(J.length-1)!=="$")this[J+"$"]=Y.prototype[J]}return z.prototype=Y.prototype,$.prototype=new z,$.prototype};function Sf($){return $==null||$===!0||$===!1||typeof $==="string"||typeof $==="number"}function hN1($){return typeof $==="function"||typeof $==="object"&&$!==null}function gN1($){if(!Sf($))return $;return Error($N($))}function SN1($,Y){var q=$.length,z=Array(q+1),J;for(J=0;J<q;++J)z[J]=$[J];return z[J]=Y,z}function yN1($,Y,q){if(l8.isES5){var z=Object.getOwnPropertyDescriptor($,Y);if(z!=null)return z.get==null&&z.set==null?z.value:q}else return{}.hasOwnProperty.call($,Y)?$[Y]:void 0}function jF0($,Y,q){if(Sf($))return $;var z={value:q,configurable:!0,enumerable:!1,writable:!0};return l8.defineProperty($,Y,z),$}function xN1($){throw $}var kN1=function(){var $=[Array.prototype,Object.prototype,Function.prototype],Y=function(J){for(var U=0;U<$.length;++U)if($[U]===J)return!0;return!1};if(l8.isES5){var q=Object.getOwnPropertyNames;return function(J){var U=[],I=Object.create(null);while(J!=null&&!Y(J)){var Q;try{Q=q(J)}catch(Z){return U}for(var K=0;K<Q.length;++K){var G=Q[K];if(I[G])continue;I[G]=!0;var H=Object.getOwnPropertyDescriptor(J,G);if(H!=null&&H.get==null&&H.set==null)U.push(G)}J=l8.getPrototypeOf(J)}return U}}else{var z={}.hasOwnProperty;return function(J){if(Y(J))return[];var U=[];$:for(var I in J)if(z.call(J,I))U.push(I);else{for(var Q=0;Q<$.length;++Q)if(z.call($[Q],I))continue $;U.push(I)}return U}}}(),uN1=/this\s*\.\s*\S+\s*=/;function fN1($){try{if(typeof $==="function"){var Y=l8.names($.prototype),q=l8.isES5&&Y.length>1,z=Y.length>0&&!(Y.length===1&&Y[0]==="constructor"),J=uN1.test($+"")&&l8.names($).length>0;if(q||z||J)return!0}return!1}catch(U){return!1}}function bN1(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var iN1=/^[a-z$_][a-z$_0-9]*$/i;function nN1($){return iN1.test($)}function cN1($,Y,q){var z=Array($);for(var J=0;J<$;++J)z[J]=Y+J+q;return z}function $N($){try{return $+""}catch(Y){return"[no string representation]"}}function _F0($){return $!==null&&typeof $==="object"&&typeof $.message==="string"&&typeof $.name==="string"}function pN1($){try{jF0($,"isOperational",!0)}catch(Y){}}function dN1($){if($==null)return!1;return $ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function hf($){return _F0($)&&l8.propertyIsWritable($,"stack")}var mN1=function(){if(!("stack"in Error()))return function($){if(hf($))return $;try{throw Error($N($))}catch(Y){return Y}};else return function($){if(hf($))return $;return Error($N($))}}();function RF0($){return{}.toString.call($)}function lN1($,Y,q){var z=l8.names($);for(var J=0;J<z.length;++J){var U=z[J];if(q(U))try{l8.defineProperty(Y,U,l8.getDescriptor($,U))}catch(I){}}}var CF0=function($){if(l8.isArray($))return $;return null};if(typeof Symbol<"u"&&Symbol.iterator)gf=typeof Array.from==="function"?function($){return Array.from($)}:function($){var Y=[],q=$[Symbol.iterator](),z;while(!(z=q.next()).done)Y.push(z.value);return Y},CF0=function($){if(l8.isArray($))return $;else if($!=null&&typeof $[Symbol.iterator]==="function")return gf($);return null};var gf,oN1=typeof process<"u"&&RF0(process).toLowerCase()==="[object process]",vF0=typeof process<"u"&&typeof process.env<"u";function rN1($){return vF0?process.env[$]:void 0}function sN1(){if(typeof Promise==="function")try{var $=new Promise(function(){});if({}.toString.call($)==="[object Promise]")return Promise}catch(Y){}}function tN1($,Y){return $.bind(Y)}var NU={isClass:fN1,isIdentifier:nN1,inheritedDataKeys:kN1,getDataPropertyOrDefault:yN1,thrower:xN1,isArray:l8.isArray,asArray:CF0,notEnumerableProp:jF0,isPrimitive:Sf,isObject:hN1,isError:_F0,canEvaluate:jN1,errorObj:Cf,tryCatch:CN1,inherits:vN1,withAppended:SN1,maybeWrapAsError:gN1,toFastProperties:bN1,filledRange:cN1,toString:$N,canAttachTrace:hf,ensureErrorObject:mN1,originatesFromRejection:dN1,markAsOriginatingFromRejection:pN1,classString:RF0,copyDescriptors:lN1,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes==="function",isNode:oN1,hasEnvVariables:vF0,env:rN1,global:_N1,getNativePromise:sN1,domainBind:tN1};NU.isRecentNode=NU.isNode&&function(){var $=process.versions.node.split(".").map(Number);return $[0]===0&&$[1]>10||$[0]>0}();if(NU.isNode)NU.toFastProperties(process);try{throw Error()}catch($){NU.lastLineError=$}yf.exports=NU});var gF0=M((G94,hF0)=>{var kf=H4(),uY,aN1=function(){throw Error(`No async scheduler available
See http://goo.gl/MqrFmX
`)},xf=kf.getNativePromise();if(kf.isNode&&typeof MutationObserver>"u")uf=global.setImmediate,ff=process.nextTick,uY=kf.isRecentNode?function($){uf.call(global,$)}:function($){ff.call(process,$)};else if(typeof xf==="function"&&typeof xf.resolve==="function")bf=xf.resolve(),uY=function($){bf.then($)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))uY=function(){var $=document.createElement("div"),Y={attributes:!0},q=!1,z=document.createElement("div"),J=new MutationObserver(function(){$.classList.toggle("foo"),q=!1});J.observe(z,Y);var U=function(){if(q)return;q=!0,z.classList.toggle("foo")};return function(Q){var K=new MutationObserver(function(){K.disconnect(),Q()});K.observe($,Y),U()}}();else if(typeof setImmediate<"u")uY=function($){setImmediate($)};else if(typeof setTimeout<"u")uY=function($){setTimeout($,0)};else uY=aN1;var uf,ff,bf;hF0.exports=uY});var yF0=M((H94,SF0)=>{function eN1($,Y,q,z,J){for(var U=0;U<J;++U)q[U+z]=$[U+Y],$[U+Y]=void 0}function i7($){this._capacity=$,this._length=0,this._front=0}i7.prototype._willBeOverCapacity=function($){return this._capacity<$};i7.prototype._pushOne=function($){var Y=this.length();this._checkCapacity(Y+1);var q=this._front+Y&this._capacity-1;this[q]=$,this._length=Y+1};i7.prototype.push=function($,Y,q){var z=this.length()+3;if(this._willBeOverCapacity(z)){this._pushOne($),this._pushOne(Y),this._pushOne(q);return}var J=this._front+z-3;this._checkCapacity(z);var U=this._capacity-1;this[J+0&U]=$,this[J+1&U]=Y,this[J+2&U]=q,this._length=z};i7.prototype.shift=function(){var $=this._front,Y=this[$];return this[$]=void 0,this._front=$+1&this._capacity-1,this._length--,Y};i7.prototype.length=function(){return this._length};i7.prototype._checkCapacity=function($){if(this._capacity<$)this._resizeTo(this._capacity<<1)};i7.prototype._resizeTo=function($){var Y=this._capacity;this._capacity=$;var q=this._front,z=this._length,J=q+z&Y-1;eN1(this,0,this,Y,J)};SF0.exports=i7});var nF0=M((Z94,nf)=>{var bF0;try{throw Error()}catch($){bF0=$}var $D1=gF0(),xF0=yF0(),iF0=H4();function R6(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new xF0(16),this._normalQueue=new xF0(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var $=this;this.drainQueues=function(){$._drainQueues()},this._schedule=$D1}R6.prototype.setScheduler=function($){var Y=this._schedule;return this._schedule=$,this._customScheduler=!0,Y};R6.prototype.hasCustomScheduler=function(){return this._customScheduler};R6.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};R6.prototype.disableTrampolineIfNecessary=function(){if(iF0.hasDevTools)this._trampolineEnabled=!1};R6.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};R6.prototype.fatalError=function($,Y){if(Y)process.stderr.write("Fatal "+($ instanceof Error?$.stack:$)+`
`),process.exit(2);else this.throwLater($)};R6.prototype.throwLater=function($,Y){if(arguments.length===1)Y=$,$=function(){throw Y};if(typeof setTimeout<"u")setTimeout(function(){$(Y)},0);else try{this._schedule(function(){$(Y)})}catch(q){throw Error(`No async scheduler available
See http://goo.gl/MqrFmX
`)}};function kF0($,Y,q){this._lateQueue.push($,Y,q),this._queueTick()}function uF0($,Y,q){this._normalQueue.push($,Y,q),this._queueTick()}function fF0($){this._normalQueue._pushOne($),this._queueTick()}if(!iF0.hasDevTools)R6.prototype.invokeLater=kF0,R6.prototype.invoke=uF0,R6.prototype.settlePromises=fF0;else R6.prototype.invokeLater=function($,Y,q){if(this._trampolineEnabled)kF0.call(this,$,Y,q);else this._schedule(function(){setTimeout(function(){$.call(Y,q)},100)})},R6.prototype.invoke=function($,Y,q){if(this._trampolineEnabled)uF0.call(this,$,Y,q);else this._schedule(function(){$.call(Y,q)})},R6.prototype.settlePromises=function($){if(this._trampolineEnabled)fF0.call(this,$);else this._schedule(function(){$._settlePromises()})};R6.prototype._drainQueue=function($){while($.length()>0){var Y=$.shift();if(typeof Y!=="function"){Y._settlePromises();continue}var q=$.shift(),z=$.shift();Y.call(q,z)}};R6.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};R6.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};R6.prototype._reset=function(){this._isTickUsed=!1};nf.exports=R6;nf.exports.firstLineError=bF0});var $3=M((W94,dF0)=>{var df=kY(),YD1=df.freeze,cF0=H4(),pF0=cF0.inherits,DU=cF0.notEnumerableProp;function PU($,Y){function q(z){if(!(this instanceof q))return new q(z);if(DU(this,"message",typeof z==="string"?z:Y),DU(this,"name",$),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else Error.call(this)}return pF0(q,Error),q}var cf,pf,qD1=PU("Warning","warning"),zD1=PU("CancellationError","cancellation error"),JD1=PU("TimeoutError","timeout error"),SH=PU("AggregateError","aggregate error");try{cf=TypeError,pf=RangeError}catch($){cf=PU("TypeError","type error"),pf=PU("RangeError","range error")}var qN="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(fY=0;fY<qN.length;++fY)if(typeof Array.prototype[qN[fY]]==="function")SH.prototype[qN[fY]]=Array.prototype[qN[fY]];var fY;df.defineProperty(SH.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0});SH.prototype.isOperational=!0;var zN=0;SH.prototype.toString=function(){var $=Array(zN*4+1).join(" "),Y=`
`+$+`AggregateError of:
`;zN++,$=Array(zN*4+1).join(" ");for(var q=0;q<this.length;++q){var z=this[q]===this?"[Circular AggregateError]":this[q]+"",J=z.split(`
`);for(var U=0;U<J.length;++U)J[U]=$+J[U];z=J.join(`
`),Y+=z+`
`}return zN--,Y};function gH($){if(!(this instanceof gH))return new gH($);if(DU(this,"name","OperationalError"),DU(this,"message",$),this.cause=$,this.isOperational=!0,$ instanceof Error)DU(this,"message",$.message),DU(this,"stack",$.stack);else if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}pF0(gH,Error);var bY=Error.__BluebirdErrorTypes__;if(!bY)bY=YD1({CancellationError:zD1,TimeoutError:JD1,OperationalError:gH,RejectionError:gH,AggregateError:SH}),df.defineProperty(Error,"__BluebirdErrorTypes__",{value:bY,writable:!1,enumerable:!1,configurable:!1});dF0.exports={Error,TypeError:cf,RangeError:pf,CancellationError:bY.CancellationError,OperationalError:bY.OperationalError,TimeoutError:bY.TimeoutError,AggregateError:bY.AggregateError,Warning:qD1}});var lF0=M((X94,mF0)=>{mF0.exports=function($,Y){var q=H4(),z=q.errorObj,J=q.isObject;function U(Z,V){if(J(Z)){if(Z instanceof $)return Z;var X=Q(Z);if(X===z){if(V)V._pushContext();var L=$.reject(X.e);if(V)V._popContext();return L}else if(typeof X==="function"){if(G(Z)){var L=new $(Y);return Z._then(L._fulfill,L._reject,void 0,L,null),L}return H(Z,X,V)}}return Z}function I(Z){return Z.then}function Q(Z){try{return I(Z)}catch(V){return z.e=V,z}}var K={}.hasOwnProperty;function G(Z){try{return K.call(Z,"_promise0")}catch(V){return!1}}function H(Z,V,X){var L=new $(Y),w=L;if(X)X._pushContext();if(L._captureStackTrace(),X)X._popContext();var F=!0,O=q.tryCatch(V).call(Z,P,B);if(F=!1,L&&O===z)L._rejectCallback(O.e,!0,!0),L=null;function P(A){if(!L)return;L._resolveCallback(A),L=null}function B(A){if(!L)return;L._rejectCallback(A,F,!0),L=null}return w}return U}});var rF0=M((V94,oF0)=>{oF0.exports=function($,Y,q,z,J){var U=H4(),I=U.isArray;function Q(G){switch(G){case-2:return[];case-3:return{}}}function K(G){var H=this._promise=new $(Y);if(G instanceof $)H._propagateFrom(G,3);H._setOnCancel(this),this._values=G,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return U.inherits(K,J),K.prototype.length=function(){return this._length},K.prototype.promise=function(){return this._promise},K.prototype._init=function G(H,Z){var V=q(this._values,this._promise);if(V instanceof $){V=V._target();var X=V._bitField;if(this._values=V,(X&50397184)===0)return this._promise._setAsyncGuaranteed(),V._then(G,this._reject,void 0,this,Z);else if((X&33554432)!==0)V=V._value();else if((X&16777216)!==0)return this._reject(V._reason());else return this._cancel()}if(V=U.asArray(V),V===null){var L=z("expecting an array or an iterable object but got "+U.classString(V)).reason();this._promise._rejectCallback(L,!1);return}if(V.length===0){if(Z===-5)this._resolveEmptyArray();else this._resolve(Q(Z));return}this._iterate(V)},K.prototype._iterate=function(G){var H=this.getActualLength(G.length);this._length=H,this._values=this.shouldCopyValues()?Array(H):this._values;var Z=this._promise,V=!1,X=null;for(var L=0;L<H;++L){var w=q(G[L],Z);if(w instanceof $)w=w._target(),X=w._bitField;else X=null;if(V){if(X!==null)w.suppressUnhandledRejections()}else if(X!==null)if((X&50397184)===0)w._proxy(this,L),this._values[L]=w;else if((X&33554432)!==0)V=this._promiseFulfilled(w._value(),L);else if((X&16777216)!==0)V=this._promiseRejected(w._reason(),L);else V=this._promiseCancelled(L);else V=this._promiseFulfilled(w,L)}if(!V)Z._setAsyncGuaranteed()},K.prototype._isResolved=function(){return this._values===null},K.prototype._resolve=function(G){this._values=null,this._promise._fulfill(G)},K.prototype._cancel=function(){if(this._isResolved()||!this._promise._isCancellable())return;this._values=null,this._promise._cancel()},K.prototype._reject=function(G){this._values=null,this._promise._rejectCallback(G,!1)},K.prototype._promiseFulfilled=function(G,H){this._values[H]=G;var Z=++this._totalResolved;if(Z>=this._length)return this._resolve(this._values),!0;return!1},K.prototype._promiseCancelled=function(){return this._cancel(),!0},K.prototype._promiseRejected=function(G){return this._totalResolved++,this._reject(G),!0},K.prototype._resultCancelled=function(){if(this._isResolved())return;var G=this._values;if(this._cancel(),G instanceof $)G.cancel();else for(var H=0;H<G.length;++H)if(G[H]instanceof $)G[H].cancel()},K.prototype.shouldCopyValues=function(){return!0},K.prototype.getActualLength=function(G){return G},K}});var tF0=M((L94,sF0)=>{sF0.exports=function($){var Y=!1,q=[];$.prototype._promiseCreated=function(){},$.prototype._pushContext=function(){},$.prototype._popContext=function(){return null},$._peekContext=$.prototype._peekContext=function(){};function z(){this._trace=new z.CapturedTrace(U())}z.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,q.push(this._trace)},z.prototype._popContext=function(){if(this._trace!==void 0){var I=q.pop(),Q=I._promiseCreated;return I._promiseCreated=null,Q}return null};function J(){if(Y)return new z}function U(){var I=q.length-1;if(I>=0)return q[I];return}return z.CapturedTrace=null,z.create=J,z.deactivateLongStackTraces=function(){},z.activateLongStackTraces=function(){var I=$.prototype._pushContext,Q=$.prototype._popContext,K=$._peekContext,G=$.prototype._peekContext,H=$.prototype._promiseCreated;z.deactivateLongStackTraces=function(){$.prototype._pushContext=I,$.prototype._popContext=Q,$._peekContext=K,$.prototype._peekContext=G,$.prototype._promiseCreated=H,Y=!1},Y=!0,$.prototype._pushContext=z.prototype._pushContext,$.prototype._popContext=z.prototype._popContext,$._peekContext=$.prototype._peekContext=U,$.prototype._promiseCreated=function(){var Z=this._peekContext();if(Z&&Z._promiseCreated==null)Z._promiseCreated=this}},z}});var eF0=M((w94,aF0)=>{aF0.exports=function($,Y){var{_getDomain:q,_async:z}=$,J=$3().Warning,U=H4(),I=U.canAttachTrace,Q,K,G=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,H=/\((?:timers\.js):\d+:\d+\)/,Z=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,V=null,X=null,L=!1,w,F=!!(U.env("BLUEBIRD_DEBUG")!=0&&(U.env("BLUEBIRD_DEBUG")||U.env("NODE_ENV")==="development")),O=!!(U.env("BLUEBIRD_WARNINGS")!=0&&(F||U.env("BLUEBIRD_WARNINGS"))),P=!!(U.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(F||U.env("BLUEBIRD_LONG_STACK_TRACES"))),B=U.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(O||!!U.env("BLUEBIRD_W_FORGOTTEN_RETURN"));$.prototype.suppressUnhandledRejections=function(){var o=this._target();o._bitField=o._bitField&-1048577|524288},$.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),z.invokeLater(this._notifyUnhandledRejection,this,void 0)},$.prototype._notifyUnhandledRejectionIsHandled=function(){C1("rejectionHandled",Q,void 0,this)},$.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},$.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},$.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var o=this._settledValue();this._setUnhandledRejectionIsNotified(),C1("unhandledRejection",K,o,this)}},$.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},$.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},$.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},$.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},$.prototype._unsetRejectionIsUnhandled=function(){if(this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified())this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled()},$.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},$.prototype._warn=function(o,N,D){return T0(o,N,D||this)},$.onPossiblyUnhandledRejection=function(o){var N=q();K=typeof o==="function"?N===null?o:U.domainBind(N,o):void 0},$.onUnhandledRejectionHandled=function(o){var N=q();Q=typeof o==="function"?N===null?o:U.domainBind(N,o):void 0};var A=function(){};$.longStackTraces=function(){if(z.haveItemsQueued()&&!w0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created
See http://goo.gl/MqrFmX
`);if(!w0.longStackTraces&&F1()){var o=$.prototype._captureStackTrace,N=$.prototype._attachExtraTrace;w0.longStackTraces=!0,A=function(){if(z.haveItemsQueued()&&!w0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created
See http://goo.gl/MqrFmX
`);$.prototype._captureStackTrace=o,$.prototype._attachExtraTrace=N,Y.deactivateLongStackTraces(),z.enableTrampoline(),w0.longStackTraces=!1},$.prototype._captureStackTrace=q0,$.prototype._attachExtraTrace=t,Y.activateLongStackTraces(),z.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return w0.longStackTraces&&F1()};var E=function(){try{if(typeof CustomEvent==="function"){var o=new CustomEvent("CustomEvent");return U.global.dispatchEvent(o),function(N,D){var h=new CustomEvent(N.toLowerCase(),{detail:D,cancelable:!0});return!U.global.dispatchEvent(h)}}else if(typeof Event==="function"){var o=new Event("CustomEvent");return U.global.dispatchEvent(o),function(D,h){var x=new Event(D.toLowerCase(),{cancelable:!0});return x.detail=h,!U.global.dispatchEvent(x)}}else{var o=document.createEvent("CustomEvent");return o.initCustomEvent("testingtheevent",!1,!0,{}),U.global.dispatchEvent(o),function(D,h){var x=document.createEvent("CustomEvent");return x.initCustomEvent(D.toLowerCase(),!1,!0,h),!U.global.dispatchEvent(x)}}}catch(N){}return function(){return!1}}(),y=function(){if(U.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!U.global)return function(){return!1};return function(o){var N="on"+o.toLowerCase(),D=U.global[N];if(!D)return!1;return D.apply(U.global,[].slice.call(arguments,1)),!0}}}();function v(o,N){return{promise:N}}var k={promiseCreated:v,promiseFulfilled:v,promiseRejected:v,promiseResolved:v,promiseCancelled:v,promiseChained:function(o,N,D){return{promise:N,child:D}},warning:function(o,N){return{warning:N}},unhandledRejection:function(o,N,D){return{reason:N,promise:D}},rejectionHandled:v},C=function(o){var N=!1;try{N=y.apply(null,arguments)}catch(h){z.throwLater(h),N=!0}var D=!1;try{D=E(o,k[o].apply(null,arguments))}catch(h){z.throwLater(h),D=!0}return D||N};$.config=function(o){if(o=Object(o),"longStackTraces"in o){if(o.longStackTraces)$.longStackTraces();else if(!o.longStackTraces&&$.hasLongStackTraces())A()}if("warnings"in o){var N=o.warnings;if(w0.warnings=!!N,B=w0.warnings,U.isObject(N)){if("wForgottenReturn"in N)B=!!N.wForgottenReturn}}if("cancellation"in o&&o.cancellation&&!w0.cancellation){if(z.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=$0,$.prototype._propagateFrom=j,$.prototype._onCancel=b,$.prototype._setOnCancel=i,$.prototype._attachCancellationCallback=g,$.prototype._execute=n,p=j,w0.cancellation=!0}if("monitoring"in o){if(o.monitoring&&!w0.monitoring)w0.monitoring=!0,$.prototype._fireEvent=C;else if(!o.monitoring&&w0.monitoring)w0.monitoring=!1,$.prototype._fireEvent=c}return $};function c(){return!1}$.prototype._fireEvent=c,$.prototype._execute=function(o,N,D){try{o(N,D)}catch(h){return h}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(o){},$.prototype._attachCancellationCallback=function(o){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(o,N){};function n(o,N,D){var h=this;try{o(N,D,function(x){if(typeof x!=="function")throw TypeError("onCancel must be a function, got: "+U.toString(x));h._attachCancellationCallback(x)})}catch(x){return x}}function g(o){if(!this._isCancellable())return this;var N=this._onCancel();if(N!==void 0)if(U.isArray(N))N.push(o);else this._setOnCancel([N,o]);else this._setOnCancel(o)}function b(){return this._onCancelField}function i(o){this._onCancelField=o}function $0(){this._cancellationParent=void 0,this._onCancelField=void 0}function j(o,N){if((N&1)!==0){this._cancellationParent=o;var D=o._branchesRemainingToCancel;if(D===void 0)D=0;o._branchesRemainingToCancel=D+1}if((N&2)!==0&&o._isBound())this._setBoundTo(o._boundTo)}function u(o,N){if((N&2)!==0&&o._isBound())this._setBoundTo(o._boundTo)}var p=u;function d(){var o=this._boundTo;if(o!==void 0){if(o instanceof $)if(o.isFulfilled())return o.value();else return}return o}function q0(){this._trace=new U6(this._peekContext())}function t(o,N){if(I(o)){var D=this._trace;if(D!==void 0){if(N)D=D._parent}if(D!==void 0)D.attachExtraTrace(o);else if(!o.__stackCleaned__){var h=f0(o);U.notEnumerableProp(o,"stack",h.message+`
`+h.stack.join(`
`)),U.notEnumerableProp(o,"__stackCleaned__",!0)}}}function H0(o,N,D,h,x){if(o===void 0&&N!==null&&B){if(x!==void 0&&x._returnedNonUndefined())return;if((h._bitField&65535)===0)return;if(D)D=D+" ";var Y0="",r="";if(N._trace){var z0=N._trace.stack.split(`
`),G0=K0(z0);for(var V0=G0.length-1;V0>=0;--V0){var x0=G0[V0];if(!H.test(x0)){var r0=x0.match(Z);if(r0)Y0="at "+r0[1]+":"+r0[2]+":"+r0[3]+" ";break}}if(G0.length>0){var l0=G0[0];for(var V0=0;V0<z0.length;++V0)if(z0[V0]===l0){if(V0>0)r=`
`+z0[V0-1];break}}}var D1="a promise was created in a "+D+"handler "+Y0+"but was not returned from it, see http://goo.gl/rRqMUw"+r;h._warn(D1,!0,N)}}function L0(o,N){var D=o+" is deprecated and will be removed in a future version.";if(N)D+=" Use "+N+" instead.";return T0(D)}function T0(o,N,D){if(!w0.warnings)return;var h=new J(o),x;if(N)D._attachExtraTrace(h);else if(w0.longStackTraces&&(x=$._peekContext()))x.attachExtraTrace(h);else{var Y0=f0(h);h.stack=Y0.message+`
`+Y0.stack.join(`
`)}if(!C("warning",h))c0(h,"",!0)}function C0(o,N){for(var D=0;D<N.length-1;++D)N[D].push("From previous event:"),N[D]=N[D].join(`
`);if(D<N.length)N[D]=N[D].join(`
`);return o+`
`+N.join(`
`)}function j0(o){for(var N=0;N<o.length;++N)if(o[N].length===0||N+1<o.length&&o[N][0]===o[N+1][0])o.splice(N,1),N--}function i0(o){var N=o[0];for(var D=1;D<o.length;++D){var h=o[D],x=N.length-1,Y0=N[x],r=-1;for(var z0=h.length-1;z0>=0;--z0)if(h[z0]===Y0){r=z0;break}for(var z0=r;z0>=0;--z0){var G0=h[z0];if(N[x]===G0)N.pop(),x--;else break}N=h}}function K0(o){var N=[];for(var D=0;D<o.length;++D){var h=o[D],x=h===" (No stack trace)"||V.test(h),Y0=x&&b1(h);if(x&&!Y0){if(L&&h.charAt(0)!==" ")h=" "+h;N.push(h)}}return N}function v0(o){var N=o.stack.replace(/\s+$/g,"").split(`
`);for(var D=0;D<N.length;++D){var h=N[D];if(h===" (No stack trace)"||V.test(h))break}if(D>0&&o.name!="SyntaxError")N=N.slice(D);return N}function f0(o){var N=o.stack,D=o.toString();return N=typeof N==="string"&&N.length>0?v0(o):[" (No stack trace)"],{message:D,stack:o.name=="SyntaxError"?N:K0(N)}}function c0(o,N,D){if(typeof console<"u"){var h;if(U.isObject(o)){var x=o.stack;h=N+X(x,o)}else h=N+String(o);if(typeof w==="function")w(h,D);else if(typeof console.log==="function"||typeof console.log==="object")console.log(h)}}function C1(o,N,D,h){var x=!1;try{if(typeof N==="function")if(x=!0,o==="rejectionHandled")N(h);else N(D,h)}catch(Y0){z.throwLater(Y0)}if(o==="unhandledRejection"){if(!C(o,D,h)&&!x)c0(D,"Unhandled rejection ")}else C(o,h)}function a0(o){var N;if(typeof o==="function")N="[function "+(o.name||"anonymous")+"]";else{N=o&&typeof o.toString==="function"?o.toString():U.toString(o);var D=/\[object [a-zA-Z0-9$_]+\]/;if(D.test(N))try{var h=JSON.stringify(o);N=h}catch(x){}if(N.length===0)N="(empty array)"}return"(<"+r1(N)+">, no stack trace)"}function r1(o){var N=41;if(o.length<N)return o;return o.substr(0,N-3)+"..."}function F1(){return typeof e8==="function"}var b1=function(){return!1},$1=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function J6(o){var N=o.match($1);if(N)return{fileName:N[1],line:parseInt(N[2],10)}}function a8(o,N){if(!F1())return;var D=o.stack.split(`
`),h=N.stack.split(`
`),x=-1,Y0=-1,r,z0;for(var G0=0;G0<D.length;++G0){var V0=J6(D[G0]);if(V0){r=V0.fileName,x=V0.line;break}}for(var G0=0;G0<h.length;++G0){var V0=J6(h[G0]);if(V0){z0=V0.fileName,Y0=V0.line;break}}if(x<0||Y0<0||!r||!z0||r!==z0||x>=Y0)return;b1=function(x0){if(G.test(x0))return!0;var r0=J6(x0);if(r0){if(r0.fileName===r&&(x<=r0.line&&r0.line<=Y0))return!0}return!1}}function U6(o){this._parent=o,this._promisesCreated=0;var N=this._length=1+(o===void 0?0:o._length);if(e8(this,U6),N>32)this.uncycle()}U.inherits(U6,Error),Y.CapturedTrace=U6,U6.prototype.uncycle=function(){var o=this._length;if(o<2)return;var N=[],D={};for(var h=0,x=this;x!==void 0;++h)N.push(x),x=x._parent;o=this._length=h;for(var h=o-1;h>=0;--h){var Y0=N[h].stack;if(D[Y0]===void 0)D[Y0]=h}for(var h=0;h<o;++h){var r=N[h].stack,z0=D[r];if(z0!==void 0&&z0!==h){if(z0>0)N[z0-1]._parent=void 0,N[z0-1]._length=1;N[h]._parent=void 0,N[h]._length=1;var G0=h>0?N[h-1]:this;if(z0<o-1)G0._parent=N[z0+1],G0._parent.uncycle(),G0._length=G0._parent._length+1;else G0._parent=void 0,G0._length=1;var V0=G0._length+1;for(var x0=h-2;x0>=0;--x0)N[x0]._length=V0,V0++;return}}},U6.prototype.attachExtraTrace=function(o){if(o.__stackCleaned__)return;this.uncycle();var N=f0(o),D=N.message,h=[N.stack],x=this;while(x!==void 0)h.push(K0(x.stack.split(`
`))),x=x._parent;i0(h),j0(h),U.notEnumerableProp(o,"stack",C0(D,h)),U.notEnumerableProp(o,"__stackCleaned__",!0)};var e8=function(){var N=/^\s*at\s*/,D=function(r,z0){if(typeof r==="string")return r;if(z0.name!==void 0&&z0.message!==void 0)return z0.toString();return a0(z0)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,V=N,X=D;var h=Error.captureStackTrace;return b1=function(r){return G.test(r)},function(r,z0){Error.stackTraceLimit+=6,h(r,z0),Error.stackTraceLimit-=6}}var x=Error();if(typeof x.stack==="string"&&x.stack.split(`
`)[0].indexOf("stackDetection@")>=0)return V=/@/,X=D,L=!0,function(z0){z0.stack=Error().stack};var Y0;try{throw Error()}catch(r){Y0="stack"in r}if(!("stack"in x)&&Y0&&typeof Error.stackTraceLimit==="number")return V=N,X=D,function(z0){Error.stackTraceLimit+=6;try{throw Error()}catch(G0){z0.stack=G0.stack}Error.stackTraceLimit-=6};return X=function(r,z0){if(typeof r==="string")return r;if((typeof z0==="object"||typeof z0==="function")&&z0.name!==void 0&&z0.message!==void 0)return z0.toString();return a0(z0)},null}([]);if(typeof console<"u"&&typeof console.warn<"u"){if(w=function(o){console.warn(o)},U.isNode&&process.stderr.isTTY)w=function(o,N){var D=N?"\x1B[33m":"\x1B[31m";console.warn(D+o+`\x1B[0m
`)};else if(!U.isNode&&typeof Error().stack==="string")w=function(o,N){console.warn("%c"+o,N?"color: darkorange":"color: red")}}var w0={warnings:O,longStackTraces:!1,cancellation:!1,monitoring:!1};if(P)$.longStackTraces();return{longStackTraces:function(){return w0.longStackTraces},warnings:function(){return w0.warnings},cancellation:function(){return w0.cancellation},monitoring:function(){return w0.monitoring},propagateFromFunction:function(){return p},boundValueFunction:function(){return d},checkForgottenReturns:H0,setBounds:a8,warn:T0,deprecated:L0,CapturedTrace:U6,fireDomEvent:E,fireGlobalEvent:y}}});var YO0=M((F94,$O0)=>{$O0.exports=function($,Y){var q=H4(),z=$.CancellationError,J=q.errorObj;function U(Z,V,X){this.promise=Z,this.type=V,this.handler=X,this.called=!1,this.cancelPromise=null}U.prototype.isFinallyHandler=function(){return this.type===0};function I(Z){this.finallyHandler=Z}I.prototype._resultCancelled=function(){Q(this.finallyHandler)};function Q(Z,V){if(Z.cancelPromise!=null){if(arguments.length>1)Z.cancelPromise._reject(V);else Z.cancelPromise._cancel();return Z.cancelPromise=null,!0}return!1}function K(){return H.call(this,this.promise._target()._settledValue())}function G(Z){if(Q(this,Z))return;return J.e=Z,J}function H(Z){var V=this.promise,X=this.handler;if(!this.called){this.called=!0;var L=this.isFinallyHandler()?X.call(V._boundValue()):X.call(V._boundValue(),Z);if(L!==void 0){V._setReturnedNonUndefined();var w=Y(L,V);if(w instanceof $){if(this.cancelPromise!=null){if(w._isCancelled()){var F=new z("late cancellation observer");return V._attachExtraTrace(F),J.e=F,J}else if(w.isPending())w._attachCancellationCallback(new I(this))}return w._then(K,G,void 0,this,void 0)}}}if(V.isRejected())return Q(this),J.e=Z,J;else return Q(this),Z}return $.prototype._passThrough=function(Z,V,X,L){if(typeof Z!=="function")return this.then();return this._then(X,L,void 0,new U(this,V,Z),void 0)},$.prototype.lastly=$.prototype.finally=function(Z){return this._passThrough(Z,0,H,H)},$.prototype.tap=function(Z){return this._passThrough(Z,1,H)},U}});var zO0=M((O94,qO0)=>{qO0.exports=function($){var Y=H4(),q=kY().keys,z=Y.tryCatch,J=Y.errorObj;function U(I,Q,K){return function(G){var H=K._boundValue();$:for(var Z=0;Z<I.length;++Z){var V=I[Z];if(V===Error||V!=null&&V.prototype instanceof Error){if(G instanceof V)return z(Q).call(H,G)}else if(typeof V==="function"){var X=z(V).call(H,G);if(X===J)return X;else if(X)return z(Q).call(H,G)}else if(Y.isObject(G)){var L=q(V);for(var w=0;w<L.length;++w){var F=L[w];if(V[F]!=G[F])continue $}return z(Q).call(H,G)}}return $}}return U}});var mf=M((M94,IO0)=>{var JO0=H4(),UD1=JO0.maybeWrapAsError,ID1=$3(),QD1=ID1.OperationalError,UO0=kY();function KD1($){return $ instanceof Error&&UO0.getPrototypeOf($)===Error.prototype}var GD1=/^(?:name|message|stack|cause)$/;function HD1($){var Y;if(KD1($)){Y=new QD1($),Y.name=$.name,Y.message=$.message,Y.stack=$.stack;var q=UO0.keys($);for(var z=0;z<q.length;++z){var J=q[z];if(!GD1.test(J))Y[J]=$[J]}return Y}return JO0.markAsOriginatingFromRejection($),$}function ZD1($,Y){return function(q,z){if($===null)return;if(q){var J=HD1(UD1(q));$._attachExtraTrace(J),$._reject(J)}else if(!Y)$._fulfill(z);else{var U=arguments.length,I=Array(Math.max(U-1,0));for(var Q=1;Q<U;++Q)I[Q-1]=arguments[Q];$._fulfill(I)}$=null}}IO0.exports=ZD1});var KO0=M((N94,QO0)=>{QO0.exports=function($,Y,q,z,J){var U=H4(),I=U.tryCatch;$.method=function(Q){if(typeof Q!=="function")throw new $.TypeError("expecting a function but got "+U.classString(Q));return function(){var K=new $(Y);K._captureStackTrace(),K._pushContext();var G=I(Q).apply(this,arguments),H=K._popContext();return J.checkForgottenReturns(G,H,"Promise.method",K),K._resolveFromSyncValue(G),K}},$.attempt=$.try=function(Q){if(typeof Q!=="function")return z("expecting a function but got "+U.classString(Q));var K=new $(Y);K._captureStackTrace(),K._pushContext();var G;if(arguments.length>1){J.deprecated("calling Promise.try with more than 1 argument");var H=arguments[1],Z=arguments[2];G=U.isArray(H)?I(Q).apply(Z,H):I(Q).call(Z,H)}else G=I(Q)();var V=K._popContext();return J.checkForgottenReturns(G,V,"Promise.try",K),K._resolveFromSyncValue(G),K},$.prototype._resolveFromSyncValue=function(Q){if(Q===U.errorObj)this._rejectCallback(Q.e,!1);else this._resolveCallback(Q,!0)}}});var HO0=M((D94,GO0)=>{GO0.exports=function($,Y,q,z){var J=!1,U=function(G,H){this._reject(H)},I=function(G,H){H.promiseRejectionQueued=!0,H.bindingPromise._then(U,U,null,this,G)},Q=function(G,H){if((this._bitField&50397184)===0)this._resolveCallback(H.target)},K=function(G,H){if(!H.promiseRejectionQueued)this._reject(G)};$.prototype.bind=function(G){if(!J)J=!0,$.prototype._propagateFrom=z.propagateFromFunction(),$.prototype._boundValue=z.boundValueFunction();var H=q(G),Z=new $(Y);Z._propagateFrom(this,1);var V=this._target();if(Z._setBoundTo(H),H instanceof $){var X={promiseRejectionQueued:!1,promise:Z,target:V,bindingPromise:H};V._then(Y,I,void 0,Z,X),H._then(Q,K,void 0,Z,X),Z._setOnCancel(H)}else Z._resolveCallback(V);return Z},$.prototype._setBoundTo=function(G){if(G!==void 0)this._bitField=this._bitField|2097152,this._boundTo=G;else this._bitField=this._bitField&-2097153},$.prototype._isBound=function(){return(this._bitField&2097152)===2097152},$.bind=function(G,H){return $.resolve(H).bind(G)}}});var WO0=M((P94,ZO0)=>{ZO0.exports=function($,Y,q,z){var J=H4(),U=J.tryCatch,I=J.errorObj,Q=$._async;$.prototype.break=$.prototype.cancel=function(){if(!z.cancellation())return this._warn("cancellation is disabled");var K=this,G=K;while(K._isCancellable()){if(!K._cancelBy(G)){if(G._isFollowing())G._followee().cancel();else G._cancelBranched();break}var H=K._cancellationParent;if(H==null||!H._isCancellable()){if(K._isFollowing())K._followee().cancel();else K._cancelBranched();break}else{if(K._isFollowing())K._followee().cancel();K._setWillBeCancelled(),G=K,K=H}}},$.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},$.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},$.prototype._cancelBy=function(K){if(K===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;else if(this._branchHasCancelled(),this._enoughBranchesHaveCancelled())return this._invokeOnCancel(),!0;return!1},$.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled())this._cancel()},$.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled(),Q.invoke(this._cancelPromises,this,void 0)},$.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()},$.prototype._unsetOnCancel=function(){this._onCancelField=void 0},$.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},$.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},$.prototype._doInvokeOnCancel=function(K,G){if(J.isArray(K))for(var H=0;H<K.length;++H)this._doInvokeOnCancel(K[H],G);else if(K!==void 0)if(typeof K==="function"){if(!G){var Z=U(K).call(this._boundValue());if(Z===I)this._attachExtraTrace(Z.e),Q.throwLater(Z.e)}}else K._resultCancelled(this)},$.prototype._invokeOnCancel=function(){var K=this._onCancel();this._unsetOnCancel(),Q.invoke(this._doInvokeOnCancel,this,K)},$.prototype._invokeInternalOnCancel=function(){if(this._isCancellable())this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel()},$.prototype._resultCancelled=function(){this.cancel()}}});var VO0=M((A94,XO0)=>{XO0.exports=function($){function Y(){return this.value}function q(){throw this.reason}$.prototype.return=$.prototype.thenReturn=function(z){if(z instanceof $)z.suppressUnhandledRejections();return this._then(Y,void 0,void 0,{value:z},void 0)},$.prototype.throw=$.prototype.thenThrow=function(z){return this._then(q,void 0,void 0,{reason:z},void 0)},$.prototype.catchThrow=function(z){if(arguments.length<=1)return this._then(void 0,q,void 0,{reason:z},void 0);else{var J=arguments[1],U=function(){throw J};return this.caught(z,U)}},$.prototype.catchReturn=function(z){if(arguments.length<=1){if(z instanceof $)z.suppressUnhandledRejections();return this._then(void 0,Y,void 0,{value:z},void 0)}else{var J=arguments[1];if(J instanceof $)J.suppressUnhandledRejections();var U=function(){return J};return this.caught(z,U)}}}});var wO0=M((B94,LO0)=>{LO0.exports=function($){function Y(K){if(K!==void 0)K=K._target(),this._bitField=K._bitField,this._settledValueField=K._isFateSealed()?K._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}Y.prototype._settledValue=function(){return this._settledValueField};var q=Y.prototype.value=function(){if(!this.isFulfilled())throw TypeError(`cannot get fulfillment value of a non-fulfilled promise
See http://goo.gl/MqrFmX
`);return this._settledValue()},z=Y.prototype.error=Y.prototype.reason=function(){if(!this.isRejected())throw TypeError(`cannot get rejection reason of a non-rejected promise
See http://goo.gl/MqrFmX
`);return this._settledValue()},J=Y.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},U=Y.prototype.isRejected=function(){return(this._bitField&16777216)!==0},I=Y.prototype.isPending=function(){return(this._bitField&50397184)===0},Q=Y.prototype.isResolved=function(){return(this._bitField&50331648)!==0};Y.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},$.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},$.prototype._isCancelled=function(){return this._target().__isCancelled()},$.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},$.prototype.isPending=function(){return I.call(this._target())},$.prototype.isRejected=function(){return U.call(this._target())},$.prototype.isFulfilled=function(){return J.call(this._target())},$.prototype.isResolved=function(){return Q.call(this._target())},$.prototype.value=function(){return q.call(this._target())},$.prototype.reason=function(){var K=this._target();return K._unsetRejectionIsUnhandled(),z.call(K)},$.prototype._value=function(){return this._settledValue()},$.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},$.PromiseInspection=Y}});var OO0=M((T94,FO0)=>{FO0.exports=function($,Y,q,z,J,U){var I=H4(),Q=I.canEvaluate,K=I.tryCatch,G=I.errorObj,H;if(Q){var Z=function(P){return Function("value","holder",`
'use strict';
holder.pIndex = value;
holder.checkFulfillment(this);
`.replace(/Index/g,P))},V=function(P){return Function("promise","holder",`
'use strict';
holder.pIndex = promise;
`.replace(/Index/g,P))},X=function(P){var B=Array(P);for(var A=0;A<B.length;++A)B[A]="this.p"+(A+1);var E=B.join(" = ")+" = null;",y=`var promise;
`+B.map(function(c){return`
promise = `+c+`;
if (promise instanceof Promise) {
promise.cancel();
}
`}).join(`
`),v=B.join(", "),k="Holder$"+P,C=`return function(tryCatch, errorObj, Promise, async) {
'use strict';
function [TheName](fn) {
[TheProperties]
this.fn = fn;
this.asyncNeeded = true;
this.now = 0;
}
[TheName].prototype._callFunction = function(promise) {
promise._pushContext();
var ret = tryCatch(this.fn)([ThePassedArguments]);
promise._popContext();
if (ret === errorObj) {
promise._rejectCallback(ret.e, false);
} else {
promise._resolveCallback(ret);
}
};
[TheName].prototype.checkFulfillment = function(promise) {
var now = ++this.now;
if (now === [TheTotal]) {
if (this.asyncNeeded) {
async.invoke(this._callFunction, this, promise);
} else {
this._callFunction(promise);
}
}
};
[TheName].prototype._resultCancelled = function() {
[CancellationCode]
};
return [TheName];
}(tryCatch, errorObj, Promise, async);
`;return C=C.replace(/\[TheName\]/g,k).replace(/\[TheTotal\]/g,P).replace(/\[ThePassedArguments\]/g,v).replace(/\[TheProperties\]/g,E).replace(/\[CancellationCode\]/g,y),Function("tryCatch","errorObj","Promise","async",C)(K,G,$,J)},L=[],w=[],F=[];for(var O=0;O<8;++O)L.push(X(O+1)),w.push(Z(O+1)),F.push(V(O+1));H=function(P){this._reject(P)}}$.join=function(){var P=arguments.length-1,B;if(P>0&&typeof arguments[P]==="function"){if(B=arguments[P],P<=8&&Q){var i=new $(z);i._captureStackTrace();var A=L[P-1],E=new A(B),y=w;for(var v=0;v<P;++v){var k=q(arguments[v],i);if(k instanceof $){k=k._target();var C=k._bitField;if((C&50397184)===0)k._then(y[v],H,void 0,i,E),F[v](k,E),E.asyncNeeded=!1;else if((C&33554432)!==0)y[v].call(i,k._value(),E);else if((C&16777216)!==0)i._reject(k._reason());else i._cancel()}else y[v].call(i,k,E)}if(!i._isFateSealed()){if(E.asyncNeeded){var c=U();if(c!==null)E.fn=I.domainBind(c,E.fn)}i._setAsyncGuaranteed(),i._setOnCancel(E)}return i}}var n=arguments.length,g=Array(n);for(var b=0;b<n;++b)g[b]=arguments[b];if(B)g.pop();var i=new Y(g).promise();return B!==void 0?i.spread(B):i}}});var NO0=M((E94,MO0)=>{MO0.exports=function($,Y,q,z,J,U){var I=$._getDomain,Q=H4(),K=Q.tryCatch,G=Q.errorObj,H=$._async;function Z(X,L,w,F){this.constructor$(X),this._promise._captureStackTrace();var O=I();this._callback=O===null?L:Q.domainBind(O,L),this._preservedValues=F===J?Array(this.length()):null,this._limit=w,this._inFlight=0,this._queue=[],H.invoke(this._asyncInit,this,void 0)}Q.inherits(Z,Y),Z.prototype._asyncInit=function(){this._init$(void 0,-2)},Z.prototype._init=function(){},Z.prototype._promiseFulfilled=function(X,L){var w=this._values,F=this.length(),O=this._preservedValues,P=this._limit;if(L<0){if(L=L*-1-1,w[L]=X,P>=1){if(this._inFlight--,this._drainQueue(),this._isResolved())return!0}}else{if(P>=1&&this._inFlight>=P)return w[L]=X,this._queue.push(L),!1;if(O!==null)O[L]=X;var B=this._promise,A=this._callback,E=B._boundValue();B._pushContext();var y=K(A).call(E,X,L,F),v=B._popContext();if(U.checkForgottenReturns(y,v,O!==null?"Promise.filter":"Promise.map",B),y===G)return this._reject(y.e),!0;var k=z(y,this._promise);if(k instanceof $){k=k._target();var C=k._bitField;if((C&50397184)===0){if(P>=1)this._inFlight++;return w[L]=k,k._proxy(this,(L+1)*-1),!1}else if((C&33554432)!==0)y=k._value();else if((C&16777216)!==0)return this._reject(k._reason()),!0;else return this._cancel(),!0}w[L]=y}var c=++this._totalResolved;if(c>=F){if(O!==null)this._filter(w,O);else this._resolve(w);return!0}return!1},Z.prototype._drainQueue=function(){var X=this._queue,L=this._limit,w=this._values;while(X.length>0&&this._inFlight<L){if(this._isResolved())return;var F=X.pop();this._promiseFulfilled(w[F],F)}},Z.prototype._filter=function(X,L){var w=L.length,F=Array(w),O=0;for(var P=0;P<w;++P)if(X[P])F[O++]=L[P];F.length=O,this._resolve(F)},Z.prototype.preservedValues=function(){return this._preservedValues};function V(X,L,w,F){if(typeof L!=="function")return q("expecting a function but got "+Q.classString(L));var O=0;if(w!==void 0)if(typeof w==="object"&&w!==null){if(typeof w.concurrency!=="number")return $.reject(TypeError("'concurrency' must be a number but it is "+Q.classString(w.concurrency)));O=w.concurrency}else return $.reject(TypeError("options argument must be an object but it is "+Q.classString(w)));return O=typeof O==="number"&&isFinite(O)&&O>=1?O:0,new Z(X,L,O,F).promise()}$.prototype.map=function(X,L){return V(this,X,L,null)},$.map=function(X,L,w,F){return V(X,L,w,F)}}});var PO0=M((j94,DO0)=>{var lf=Object.create;if(lf)JN=lf(null),UN=lf(null),JN[" size"]=UN[" size"]=0;var JN,UN;DO0.exports=function($){var Y=H4(),q=Y.canEvaluate,z=Y.isIdentifier,J,U,I=function(X){return Function("ensureMethod",`
return function(obj) {
'use strict'
var len = this.length;
ensureMethod(obj, 'methodName');
switch(len) {
case 1: return obj.methodName(this[0]);
case 2: return obj.methodName(this[0], this[1]);
case 3: return obj.methodName(this[0], this[1], this[2]);
case 0: return obj.methodName();
default:
return obj.methodName.apply(obj, this);
}
};
`.replace(/methodName/g,X))(G)},Q=function(X){return Function("obj",`
'use strict';
return obj.propertyName;
`.replace("propertyName",X))},K=function(X,L,w){var F=w[X];if(typeof F!=="function"){if(!z(X))return null;if(F=L(X),w[X]=F,w[" size"]++,w[" size"]>512){var O=Object.keys(w);for(var P=0;P<256;++P)delete w[O[P]];w[" size"]=O.length-256}}return F};J=function(X){return K(X,I,JN)},U=function(X){return K(X,Q,UN)};function G(X,L){var w;if(X!=null)w=X[L];if(typeof w!=="function"){var F="Object "+Y.classString(X)+" has no method '"+Y.toString(L)+"'";throw new $.TypeError(F)}return w}function H(X){var L=this.pop(),w=G(X,L);return w.apply(X,this)}$.prototype.call=function(X){var L=arguments.length,w=Array(Math.max(L-1,0));for(var F=1;F<L;++F)w[F-1]=arguments[F];if(q){var O=J(X);if(O!==null)return this._then(O,void 0,void 0,w,void 0)}return w.push(X),this._then(H,void 0,void 0,w,void 0)};function Z(X){return X[this]}function V(X){var L=+this;if(L<0)L=Math.max(0,L+X.length);return X[L]}$.prototype.get=function(X){var L=typeof X==="number",w;if(!L)if(q){var F=U(X);w=F!==null?F:Z}else w=Z;else w=V;return this._then(w,void 0,void 0,X,void 0)}}});var BO0=M((_94,AO0)=>{AO0.exports=function($,Y,q,z,J,U){var I=H4(),Q=$3().TypeError,K=H4().inherits,G=I.errorObj,H=I.tryCatch,Z={};function V(B){setTimeout(function(){throw B},0)}function X(B){var A=q(B);if(A!==B&&typeof B._isDisposable==="function"&&typeof B._getDisposer==="function"&&B._isDisposable())A._setDisposable(B._getDisposer());return A}function L(B,A){var E=0,y=B.length,v=new $(J);function k(){if(E>=y)return v._fulfill();var C=X(B[E++]);if(C instanceof $&&C._isDisposable()){try{C=q(C._getDisposer().tryDispose(A),B.promise)}catch(c){return V(c)}if(C instanceof $)return C._then(k,V,null,null,null)}k()}return k(),v}function w(B,A,E){this._data=B,this._promise=A,this._context=E}w.prototype.data=function(){return this._data},w.prototype.promise=function(){return this._promise},w.prototype.resource=function(){if(this.promise().isFulfilled())return this.promise().value();return Z},w.prototype.tryDispose=function(B){var A=this.resource(),E=this._context;if(E!==void 0)E._pushContext();var y=A!==Z?this.doDispose(A,B):null;if(E!==void 0)E._popContext();return this._promise._unsetDisposable(),this._data=null,y},w.isDisposer=function(B){return B!=null&&typeof B.resource==="function"&&typeof B.tryDispose==="function"};function F(B,A,E){this.constructor$(B,A,E)}K(F,w),F.prototype.doDispose=function(B,A){var E=this.data();return E.call(B,B,A)};function O(B){if(w.isDisposer(B))return this.resources[this.index]._setDisposable(B),B.promise();return B}function P(B){this.length=B,this.promise=null,this[B-1]=null}P.prototype._resultCancelled=function(){var B=this.length;for(var A=0;A<B;++A){var E=this[A];if(E instanceof $)E.cancel()}},$.using=function(){var B=arguments.length;if(B<2)return Y("you must pass at least 2 arguments to Promise.using");var A=arguments[B-1];if(typeof A!=="function")return Y("expecting a function but got "+I.classString(A));var E,y=!0;if(B===2&&Array.isArray(arguments[0]))E=arguments[0],B=E.length,y=!1;else E=arguments,B--;var v=new P(B);for(var k=0;k<B;++k){var C=E[k];if(w.isDisposer(C)){var c=C;C=C.promise(),C._setDisposable(c)}else{var n=q(C);if(n instanceof $)C=n._then(O,null,null,{resources:v,index:k},void 0)}v[k]=C}var g=Array(v.length);for(var k=0;k<g.length;++k)g[k]=$.resolve(v[k]).reflect();var b=$.all(g).then(function($0){for(var j=0;j<$0.length;++j){var u=$0[j];if(u.isRejected())return G.e=u.error(),G;else if(!u.isFulfilled()){b.cancel();return}$0[j]=u.value()}i._pushContext(),A=H(A);var p=y?A.apply(void 0,$0):A($0),d=i._popContext();return U.checkForgottenReturns(p,d,"Promise.using",i),p}),i=b.lastly(function(){var $0=new $.PromiseInspection(b);return L(v,$0)});return v.promise=i,i._setOnCancel(v),i},$.prototype._setDisposable=function(B){this._bitField=this._bitField|131072,this._disposer=B},$.prototype._isDisposable=function(){return(this._bitField&131072)>0},$.prototype._getDisposer=function(){return this._disposer},$.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},$.prototype.disposer=function(B){if(typeof B==="function")return new F(B,this,z());throw new Q}}});var EO0=M((R94,TO0)=>{TO0.exports=function($,Y,q){var z=H4(),J=$.TimeoutError;function U(Z){this.handle=Z}U.prototype._resultCancelled=function(){clearTimeout(this.handle)};var I=function(Z){return Q(+this).thenReturn(Z)},Q=$.delay=function(Z,V){var X,L;if(V!==void 0){if(X=$.resolve(V)._then(I,null,null,Z,void 0),q.cancellation()&&V instanceof $)X._setOnCancel(V)}else{if(X=new $(Y),L=setTimeout(function(){X._fulfill()},+Z),q.cancellation())X._setOnCancel(new U(L));X._captureStackTrace()}return X._setAsyncGuaranteed(),X};$.prototype.delay=function(Z){return Q(Z,this)};var K=function(Z,V,X){var L;if(typeof V!=="string")if(V instanceof Error)L=V;else L=new J("operation timed out");else L=new J(V);if(z.markAsOriginatingFromRejection(L),Z._attachExtraTrace(L),Z._reject(L),X!=null)X.cancel()};function G(Z){return clearTimeout(this.handle),Z}function H(Z){throw clearTimeout(this.handle),Z}$.prototype.timeout=function(Z,V){Z=+Z;var X,L,w=new U(setTimeout(function(){if(X.isPending())K(X,V,L)},Z));if(q.cancellation())L=this.then(),X=L._then(G,H,void 0,w,void 0),X._setOnCancel(w);else X=this._then(G,H,void 0,w,void 0);return X}}});var _O0=M((C94,jO0)=>{jO0.exports=function($,Y,q,z,J,U){var I=$3(),Q=I.TypeError,K=H4(),G=K.errorObj,H=K.tryCatch,Z=[];function V(L,w,F){for(var O=0;O<w.length;++O){F._pushContext();var P=H(w[O])(L);if(F._popContext(),P===G){F._pushContext();var B=$.reject(G.e);return F._popContext(),B}var A=z(P,F);if(A instanceof $)return A}return null}function X(L,w,F,O){if(U.cancellation()){var P=new $(q),B=this._finallyPromise=new $(q);this._promise=P.lastly(function(){return B}),P._captureStackTrace(),P._setOnCancel(this)}else{var A=this._promise=new $(q);A._captureStackTrace()}this._stack=O,this._generatorFunction=L,this._receiver=w,this._generator=void 0,this._yieldHandlers=typeof F==="function"?[F].concat(Z):Z,this._yieldedPromise=null,this._cancellationPhase=!1}K.inherits(X,J),X.prototype._isResolved=function(){return this._promise===null},X.prototype._cleanup=function(){if(this._promise=this._generator=null,U.cancellation()&&this._finallyPromise!==null)this._finallyPromise._fulfill(),this._finallyPromise=null},X.prototype._promiseCancelled=function(){if(this._isResolved())return;var L=typeof this._generator.return<"u",w;if(!L){var F=new $.CancellationError("generator .return() sentinel");$.coroutine.returnSentinel=F,this._promise._attachExtraTrace(F),this._promise._pushContext(),w=H(this._generator.throw).call(this._generator,F),this._promise._popContext()}else this._promise._pushContext(),w=H(this._generator.return).call(this._generator,void 0),this._promise._popContext();this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(w)},X.prototype._promiseFulfilled=function(L){this._yieldedPromise=null,this._promise._pushContext();var w=H(this._generator.next).call(this._generator,L);this._promise._popContext(),this._continue(w)},X.prototype._promiseRejected=function(L){this._yieldedPromise=null,this._promise._attachExtraTrace(L),this._promise._pushContext();var w=H(this._generator.throw).call(this._generator,L);this._promise._popContext(),this._continue(w)},X.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof $){var L=this._yieldedPromise;this._yieldedPromise=null,L.cancel()}},X.prototype.promise=function(){return this._promise},X.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},X.prototype._continue=function(L){var w=this._promise;if(L===G)if(this._cleanup(),this._cancellationPhase)return w.cancel();else return w._rejectCallback(L.e,!1);var F=L.value;if(L.done===!0)if(this._cleanup(),this._cancellationPhase)return w.cancel();else return w._resolveCallback(F);else{var O=z(F,this._promise);if(!(O instanceof $)){if(O=V(O,this._yieldHandlers,this._promise),O===null){this._promiseRejected(new Q(`A value %s was yielded that could not be treated as a promise
See http://goo.gl/MqrFmX
`.replace("%s",F)+`From coroutine:
`+this._stack.split(`
`).slice(1,-7).join(`
`)));return}}O=O._target();var P=O._bitField;if((P&50397184)===0)this._yieldedPromise=O,O._proxy(this,null);else if((P&33554432)!==0)$._async.invoke(this._promiseFulfilled,this,O._value());else if((P&16777216)!==0)$._async.invoke(this._promiseRejected,this,O._reason());else this._promiseCancelled()}},$.coroutine=function(L,w){if(typeof L!=="function")throw new Q(`generatorFunction must be a function
See http://goo.gl/MqrFmX
`);var F=Object(w).yieldHandler,O=X,P=Error().stack;return function(){var B=L.apply(this,arguments),A=new O(void 0,void 0,F,P),E=A.promise();return A._generator=B,A._promiseFulfilled(void 0),E}},$.coroutine.addYieldHandler=function(L){if(typeof L!=="function")throw new Q("expecting a function but got "+K.classString(L));Z.push(L)},$.spawn=function(L){if(U.deprecated("Promise.spawn()","Promise.coroutine()"),typeof L!=="function")return Y(`generatorFunction must be a function
See http://goo.gl/MqrFmX
`);var w=new X(L,this),F=w.promise();return w._run($.spawn),F}}});var CO0=M((v94,RO0)=>{RO0.exports=function($){var Y=H4(),q=$._async,z=Y.tryCatch,J=Y.errorObj;function U(K,G){var H=this;if(!Y.isArray(K))return I.call(H,K,G);var Z=z(G).apply(H._boundValue(),[null].concat(K));if(Z===J)q.throwLater(Z.e)}function I(K,G){var H=this,Z=H._boundValue(),V=K===void 0?z(G).call(Z,null):z(G).call(Z,null,K);if(V===J)q.throwLater(V.e)}function Q(K,G){var H=this;if(!K){var Z=Error(K+"");Z.cause=K,K=Z}var V=z(G).call(H._boundValue(),K);if(V===J)q.throwLater(V.e)}$.prototype.asCallback=$.prototype.nodeify=function(K,G){if(typeof K=="function"){var H=I;if(G!==void 0&&Object(G).spread)H=U;this._then(H,Q,void 0,this,K)}return this}}});var hO0=M((h94,vO0)=>{vO0.exports=function($,Y){var q={},z=H4(),J=mf(),U=z.withAppended,I=z.maybeWrapAsError,Q=z.canEvaluate,K=$3().TypeError,G="Async",H={__isPromisified__:!0},Z=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],V=new RegExp("^(?:"+Z.join("|")+")$"),X=function(b){return z.isIdentifier(b)&&b.charAt(0)!=="_"&&b!=="constructor"};function L(b){return!V.test(b)}function w(b){try{return b.__isPromisified__===!0}catch(i){return!1}}function F(b,i,$0){var j=z.getDataPropertyOrDefault(b,i+$0,H);return j?w(j):!1}function O(b,i,$0){for(var j=0;j<b.length;j+=2){var u=b[j];if($0.test(u)){var p=u.replace($0,"");for(var d=0;d<b.length;d+=2)if(b[d]===p)throw new K(`Cannot promisify an API that has normal methods with '%s'-suffix
See http://goo.gl/MqrFmX
`.replace("%s",i))}}}function P(b,i,$0,j){var u=z.inheritedDataKeys(b),p=[];for(var d=0;d<u.length;++d){var q0=u[d],t=b[q0],H0=j===X?!0:X(q0,t,b);if(typeof t==="function"&&!w(t)&&!F(b,q0,i)&&j(q0,t,b,H0))p.push(q0,t)}return O(p,i,$0),p}var B=function(b){return b.replace(/([$])/,"\\$")},A,E=function(b){var i=[b],$0=Math.max(0,b-1-3);for(var j=b-1;j>=$0;--j)i.push(j);for(var j=b+1;j<=3;++j)i.push(j);return i},y=function(b){return z.filledRange(b,"_arg","")},v=function(b){return z.filledRange(Math.max(b,3),"_arg","")},k=function(b){if(typeof b.length==="number")return Math.max(Math.min(b.length,1024),0);return 0};A=function(b,i,$0,j,u,p){var d=Math.max(0,k(j)-1),q0=E(d),t=typeof b==="string"||i===q;function H0(j0){var i0=y(j0).join(", "),K0=j0>0?", ":"",v0;if(t)v0=`ret = callback.call(this, {{args}}, nodeback); break;
`;else v0=i===void 0?`ret = callback({{args}}, nodeback); break;
`:`ret = callback.call(receiver, {{args}}, nodeback); break;
`;return v0.replace("{{args}}",i0).replace(", ",K0)}function L0(){var j0="";for(var i0=0;i0<q0.length;++i0)j0+="case "+q0[i0]+":"+H0(q0[i0]);return j0+=`
default:
var args = new Array(len + 1);
var i = 0;
for (var i = 0; i < len; ++i) {
args[i] = arguments[i];
}
args[i] = nodeback;
[CodeForCall]
break;
`.replace("[CodeForCall]",t?`ret = callback.apply(this, args);
`:`ret = callback.apply(receiver, args);
`),j0}var T0=typeof b==="string"?"this != null ? this['"+b+"'] : fn":"fn",C0=`'use strict';
var ret = function (Parameters) {
'use strict';
var len = arguments.length;
var promise = new Promise(INTERNAL);
promise._captureStackTrace();
var nodeback = nodebackForPromise(promise, `+p+`);
var ret;
var callback = tryCatch([GetFunctionCode]);
switch(len) {
[CodeForSwitchCase]
}
if (ret === errorObj) {
promise._rejectCallback(maybeWrapAsError(ret.e), true, true);
}
if (!promise._isFateSealed()) promise._setAsyncGuaranteed();
return promise;
};
notEnumerableProp(ret, '__isPromisified__', true);
return ret;
`.replace("[CodeForSwitchCase]",L0()).replace("[GetFunctionCode]",T0);return C0=C0.replace("Parameters",v(d)),Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",C0)($,j,i,U,I,J,z.tryCatch,z.errorObj,z.notEnumerableProp,Y)};function C(b,i,$0,j,u,p){var d=function(){return this}(),q0=b;if(typeof q0==="string")b=j;function t(){var H0=i;if(i===q)H0=this;var L0=new $(Y);L0._captureStackTrace();var T0=typeof q0==="string"&&this!==d?this[q0]:b,C0=J(L0,p);try{T0.apply(H0,U(arguments,C0))}catch(j0){L0._rejectCallback(I(j0),!0,!0)}if(!L0._isFateSealed())L0._setAsyncGuaranteed();return L0}return z.notEnumerableProp(t,"__isPromisified__",!0),t}var c=Q?A:C;function n(b,i,$0,j,u){var p=new RegExp(B(i)+"$"),d=P(b,i,p,$0);for(var q0=0,t=d.length;q0<t;q0+=2){var H0=d[q0],L0=d[q0+1],T0=H0+i;if(j===c)b[T0]=c(H0,q,H0,L0,i,u);else{var C0=j(L0,function(){return c(H0,q,H0,L0,i,u)});z.notEnumerableProp(C0,"__isPromisified__",!0),b[T0]=C0}}return z.toFastProperties(b),b}function g(b,i,$0){return c(b,i,void 0,b,null,$0)}$.promisify=function(b,i){if(typeof b!=="function")throw new K("expecting a function but got "+z.classString(b));if(w(b))return b;i=Object(i);var $0=i.context===void 0?q:i.context,j=!!i.multiArgs,u=g(b,$0,j);return z.copyDescriptors(b,u,L),u},$.promisifyAll=function(b,i){if(typeof b!=="function"&&typeof b!=="object")throw new K(`the target of promisifyAll must be an object or a function
See http://goo.gl/MqrFmX
`);i=Object(i);var $0=!!i.multiArgs,j=i.suffix;if(typeof j!=="string")j=G;var u=i.filter;if(typeof u!=="function")u=X;var p=i.promisifier;if(typeof p!=="function")p=c;if(!z.isIdentifier(j))throw RangeError(`suffix must be a valid identifier
See http://goo.gl/MqrFmX
`);var d=z.inheritedDataKeys(b);for(var q0=0;q0<d.length;++q0){var t=b[d[q0]];if(d[q0]!=="constructor"&&z.isClass(t))n(t.prototype,j,u,p,$0),n(t,j,u,p,$0)}return n(b,j,u,p,$0)}}});var SO0=M((g94,gO0)=>{gO0.exports=function($,Y,q,z){var J=H4(),U=J.isObject,I=kY(),Q;if(typeof Map==="function")Q=Map;var K=function(){var V=0,X=0;function L(w,F){this[V]=w,this[V+X]=F,V++}return function(F){X=F.size,V=0;var O=Array(F.size*2);return F.forEach(L,O),O}}(),G=function(V){var X=new Q,L=V.length/2|0;for(var w=0;w<L;++w){var F=V[L+w],O=V[w];X.set(F,O)}return X};function H(V){var X=!1,L;if(Q!==void 0&&V instanceof Q)L=K(V),X=!0;else{var w=I.keys(V),F=w.length;L=Array(F*2);for(var O=0;O<F;++O){var P=w[O];L[O]=V[P],L[O+F]=P}}this.constructor$(L),this._isMap=X,this._init$(void 0,-3)}J.inherits(H,Y),H.prototype._init=function(){},H.prototype._promiseFulfilled=function(V,X){this._values[X]=V;var L=++this._totalResolved;if(L>=this._length){var w;if(this._isMap)w=G(this._values);else{w={};var F=this.length();for(var O=0,P=this.length();O<P;++O)w[this._values[O+F]]=this._values[O]}return this._resolve(w),!0}return!1},H.prototype.shouldCopyValues=function(){return!1},H.prototype.getActualLength=function(V){return V>>1};function Z(V){var X,L=q(V);if(!U(L))return z(`cannot await properties of a non-object
See http://goo.gl/MqrFmX
`);else if(L instanceof $)X=L._then($.props,void 0,void 0,void 0,void 0);else X=new H(L).promise();if(L instanceof $)X._propagateFrom(L,2);return X}$.prototype.props=function(){return Z(this)},$.props=function(V){return Z(V)}}});var xO0=M((S94,yO0)=>{yO0.exports=function($,Y,q,z){var J=H4(),U=function(Q){return Q.then(function(K){return I(K,Q)})};function I(Q,K){var G=q(Q);if(G instanceof $)return U(G);else if(Q=J.asArray(Q),Q===null)return z("expecting an array or an iterable object but got "+J.classString(Q));var H=new $(Y);if(K!==void 0)H._propagateFrom(K,3);var{_fulfill:Z,_reject:V}=H;for(var X=0,L=Q.length;X<L;++X){var w=Q[X];if(w===void 0&&!(X in Q))continue;$.cast(w)._then(Z,V,void 0,H,null)}return H}$.race=function(Q){return I(Q,void 0)},$.prototype.race=function(){return I(this,void 0)}}});var uO0=M((y94,kO0)=>{kO0.exports=function($,Y,q,z,J,U){var I=$._getDomain,Q=H4(),K=Q.tryCatch;function G(L,w,F,O){this.constructor$(L);var P=I();if(this._fn=P===null?w:Q.domainBind(P,w),F!==void 0)F=$.resolve(F),F._attachCancellationCallback(this);if(this._initialValue=F,this._currentCancellable=null,O===J)this._eachValues=Array(this._length);else if(O===0)this._eachValues=null;else this._eachValues=void 0;this._promise._captureStackTrace(),this._init$(void 0,-5)}Q.inherits(G,Y),G.prototype._gotAccum=function(L){if(this._eachValues!==void 0&&this._eachValues!==null&&L!==J)this._eachValues.push(L)},G.prototype._eachComplete=function(L){if(this._eachValues!==null)this._eachValues.push(L);return this._eachValues},G.prototype._init=function(){},G.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},G.prototype.shouldCopyValues=function(){return!1},G.prototype._resolve=function(L){this._promise._resolveCallback(L),this._values=null},G.prototype._resultCancelled=function(L){if(L===this._initialValue)return this._cancel();if(this._isResolved())return;if(this._resultCancelled$(),this._currentCancellable instanceof $)this._currentCancellable.cancel();if(this._initialValue instanceof $)this._initialValue.cancel()},G.prototype._iterate=function(L){this._values=L;var w,F,O=L.length;if(this._initialValue!==void 0)w=this._initialValue,F=0;else w=$.resolve(L[0]),F=1;if(this._currentCancellable=w,!w.isRejected())for(;F<O;++F){var P={accum:null,value:L[F],index:F,length:O,array:this};w=w._then(V,void 0,void 0,P,void 0)}if(this._eachValues!==void 0)w=w._then(this._eachComplete,void 0,void 0,this,void 0);w._then(H,H,void 0,w,this)},$.prototype.reduce=function(L,w){return Z(this,L,w,null)},$.reduce=function(L,w,F,O){return Z(L,w,F,O)};function H(L,w){if(this.isFulfilled())w._resolve(L);else w._reject(L)}function Z(L,w,F,O){if(typeof w!=="function")return q("expecting a function but got "+Q.classString(w));var P=new G(L,w,F,O);return P.promise()}function V(L){this.accum=L,this.array._gotAccum(L);var w=z(this.value,this.array._promise);if(w instanceof $)return this.array._currentCancellable=w,w._then(X,void 0,void 0,this,void 0);else return X.call(this,w)}function X(L){var w=this.array,F=w._promise,O=K(w._fn);F._pushContext();var P;if(w._eachValues!==void 0)P=O.call(F._boundValue(),L,this.index,this.length);else P=O.call(F._boundValue(),this.accum,L,this.index,this.length);if(P instanceof $)w._currentCancellable=P;var B=F._popContext();return U.checkForgottenReturns(P,B,w._eachValues!==void 0?"Promise.each":"Promise.reduce",F),P}}});var bO0=M((x94,fO0)=>{fO0.exports=function($,Y,q){var z=$.PromiseInspection,J=H4();function U(I){this.constructor$(I)}J.inherits(U,Y),U.prototype._promiseResolved=function(I,Q){this._values[I]=Q;var K=++this._totalResolved;if(K>=this._length)return this._resolve(this._values),!0;return!1},U.prototype._promiseFulfilled=function(I,Q){var K=new z;return K._bitField=33554432,K._settledValueField=I,this._promiseResolved(Q,K)},U.prototype._promiseRejected=function(I,Q){var K=new z;return K._bitField=16777216,K._settledValueField=I,this._promiseResolved(Q,K)},$.settle=function(I){return q.deprecated(".settle()",".reflect()"),new U(I).promise()},$.prototype.settle=function(){return $.settle(this)}}});var nO0=M((k94,iO0)=>{iO0.exports=function($,Y,q){var z=H4(),J=$3().RangeError,U=$3().AggregateError,I=z.isArray,Q={};function K(H){this.constructor$(H),this._howMany=0,this._unwrap=!1,this._initialized=!1}z.inherits(K,Y),K.prototype._init=function(){if(!this._initialized)return;if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var H=I(this._values);if(!this._isResolved()&&H&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))},K.prototype.init=function(){this._initialized=!0,this._init()},K.prototype.setUnwrap=function(){this._unwrap=!0},K.prototype.howMany=function(){return this._howMany},K.prototype.setHowMany=function(H){this._howMany=H},K.prototype._promiseFulfilled=function(H){if(this._addFulfilled(H),this._fulfilled()===this.howMany()){if(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap)this._resolve(this._values[0]);else this._resolve(this._values);return!0}return!1},K.prototype._promiseRejected=function(H){return this._addRejected(H),this._checkOutcome()},K.prototype._promiseCancelled=function(){if(this._values instanceof $||this._values==null)return this._cancel();return this._addRejected(Q),this._checkOutcome()},K.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var H=new U;for(var Z=this.length();Z<this._values.length;++Z)if(this._values[Z]!==Q)H.push(this._values[Z]);if(H.length>0)this._reject(H);else this._cancel();return!0}return!1},K.prototype._fulfilled=function(){return this._totalResolved},K.prototype._rejected=function(){return this._values.length-this.length()},K.prototype._addRejected=function(H){this._values.push(H)},K.prototype._addFulfilled=function(H){this._values[this._totalResolved++]=H},K.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},K.prototype._getRangeError=function(H){var Z="Input array must contain at least "+this._howMany+" items but contains only "+H+" items";return new J(Z)},K.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function G(H,Z){if((Z|0)!==Z||Z<0)return q(`expecting a positive integer
See http://goo.gl/MqrFmX
`);var V=new K(H),X=V.promise();return V.setHowMany(Z),V.init(),X}$.some=function(H,Z){return G(H,Z)},$.prototype.some=function(H){return G(this,H)},$._SomePromiseArray=K}});var pO0=M((u94,cO0)=>{cO0.exports=function($,Y){var q=$.map;$.prototype.filter=function(z,J){return q(this,z,J,Y)},$.filter=function(z,J,U){return q(z,J,U,Y)}}});var mO0=M((f94,dO0)=>{dO0.exports=function($,Y){var{reduce:q,all:z}=$;function J(){return z(this)}function U(I,Q){return q(I,Q,Y,Y)}$.prototype.each=function(I){return q(this,I,Y,0)._then(J,void 0,void 0,this,void 0)},$.prototype.mapSeries=function(I){return q(this,I,Y,Y)},$.each=function(I,Q){return q(I,Q,Y,0)._then(J,void 0,void 0,I,void 0)},$.mapSeries=U}});var oO0=M((b94,lO0)=>{lO0.exports=function($){var Y=$._SomePromiseArray;function q(z){var J=new Y(z),U=J.promise();return J.setHowMany(1),J.setUnwrap(),J.init(),U}$.any=function(z){return q(z)},$.prototype.any=function(){return q(this)}}});var rO0=M((i94,of)=>{of.exports=function(){var $=function(){return new Z(`circular promise resolution chain
See http://goo.gl/MqrFmX
`)},Y=function(){return new g.PromiseInspection(this._target())},q=function(j){return g.reject(new Z(j))};function z(){}var J={},U=H4(),I;if(U.isNode)I=function(){var j=process.domain;if(j===void 0)j=null;return j};else I=function(){return null};U.notEnumerableProp(g,"_getDomain",I);var Q=kY(),K=nF0(),G=new K;Q.defineProperty(g,"_async",{value:G});var H=$3(),Z=g.TypeError=H.TypeError;g.RangeError=H.RangeError;var V=g.CancellationError=H.CancellationError;g.TimeoutError=H.TimeoutError,g.OperationalError=H.OperationalError,g.RejectionError=H.OperationalError,g.AggregateError=H.AggregateError;var X=function(){},L={},w={},F=lF0()(g,X),O=rF0()(g,X,F,q,z),P=tF0()(g),B=P.create,A=eF0()(g,P),E=A.CapturedTrace,y=YO0()(g,F),v=zO0()(w),k=mf(),C=U.errorObj,c=U.tryCatch;function n(j,u){if(typeof u!=="function")throw new Z("expecting a function but got "+U.classString(u));if(j.constructor!==g)throw new Z(`the promise constructor cannot be invoked directly
See http://goo.gl/MqrFmX
`)}function g(j){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,j!==X)n(this,j),this._resolveFromExecutor(j);this._promiseCreated(),this._fireEvent("promiseCreated",this)}g.prototype.toString=function(){return"[object Promise]"},g.prototype.caught=g.prototype.catch=function(j){var u=arguments.length;if(u>1){var p=Array(u-1),d=0,q0;for(q0=0;q0<u-1;++q0){var t=arguments[q0];if(U.isObject(t))p[d++]=t;else return q("expecting an object but got A catch statement predicate "+U.classString(t))}return p.length=d,j=arguments[q0],this.then(void 0,v(p,j,this))}return this.then(void 0,j)},g.prototype.reflect=function(){return this._then(Y,Y,void 0,this,void 0)},g.prototype.then=function(j,u){if(A.warnings()&&arguments.length>0&&typeof j!=="function"&&typeof u!=="function"){var p=".then() only accepts functions but was passed: "+U.classString(j);if(arguments.length>1)p+=", "+U.classString(u);this._warn(p)}return this._then(j,u,void 0,void 0,void 0)},g.prototype.done=function(j,u){var p=this._then(j,u,void 0,void 0,void 0);p._setIsFinal()},g.prototype.spread=function(j){if(typeof j!=="function")return q("expecting a function but got "+U.classString(j));return this.all()._then(j,void 0,void 0,L,void 0)},g.prototype.toJSON=function(){var j={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())j.fulfillmentValue=this.value(),j.isFulfilled=!0;else if(this.isRejected())j.rejectionReason=this.reason(),j.isRejected=!0;return j},g.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new O(this).promise()},g.prototype.error=function(j){return this.caught(U.originatesFromRejection,j)},g.getNewLibraryCopy=of.exports,g.is=function(j){return j instanceof g},g.fromNode=g.fromCallback=function(j){var u=new g(X);u._captureStackTrace();var p=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,d=c(j)(k(u,p));if(d===C)u._rejectCallback(d.e,!0);if(!u._isFateSealed())u._setAsyncGuaranteed();return u},g.all=function(j){return new O(j).promise()},g.cast=function(j){var u=F(j);if(!(u instanceof g))u=new g(X),u._captureStackTrace(),u._setFulfilled(),u._rejectionHandler0=j;return u},g.resolve=g.fulfilled=g.cast,g.reject=g.rejected=function(j){var u=new g(X);return u._captureStackTrace(),u._rejectCallback(j,!0),u},g.setScheduler=function(j){if(typeof j!=="function")throw new Z("expecting a function but got "+U.classString(j));return G.setScheduler(j)},g.prototype._then=function(j,u,p,d,q0){var t=q0!==void 0,H0=t?q0:new g(X),L0=this._target(),T0=L0._bitField;if(!t){if(H0._propagateFrom(this,3),H0._captureStackTrace(),d===void 0&&(this._bitField&2097152)!==0)if((T0&50397184)!==0)d=this._boundValue();else d=L0===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,H0)}var C0=I();if((T0&50397184)!==0){var j0,i0,K0=L0._settlePromiseCtx;if((T0&33554432)!==0)i0=L0._rejectionHandler0,j0=j;else if((T0&16777216)!==0)i0=L0._fulfillmentHandler0,j0=u,L0._unsetRejectionIsUnhandled();else K0=L0._settlePromiseLateCancellationObserver,i0=new V("late cancellation observer"),L0._attachExtraTrace(i0),j0=u;G.invoke(K0,L0,{handler:C0===null?j0:typeof j0==="function"&&U.domainBind(C0,j0),promise:H0,receiver:d,value:i0})}else L0._addCallbacks(j,u,H0,d,C0);return H0},g.prototype._length=function(){return this._bitField&65535},g.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},g.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},g.prototype._setLength=function(j){this._bitField=this._bitField&-65536|j&65535},g.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},g.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},g.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},g.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},g.prototype._isFinal=function(){return(this._bitField&4194304)>0},g.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},g.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},g.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},g.prototype._setAsyncGuaranteed=function(){if(G.hasCustomScheduler())return;this._bitField=this._bitField|134217728},g.prototype._receiverAt=function(j){var u=j===0?this._receiver0:this[j*4-4+3];if(u===J)return;else if(u===void 0&&this._isBound())return this._boundValue();return u},g.prototype._promiseAt=function(j){return this[j*4-4+2]},g.prototype._fulfillmentHandlerAt=function(j){return this[j*4-4+0]},g.prototype._rejectionHandlerAt=function(j){return this[j*4-4+1]},g.prototype._boundValue=function(){},g.prototype._migrateCallback0=function(j){var{_bitField:u,_fulfillmentHandler0:p,_rejectionHandler0:d,_promise0:q0}=j,t=j._receiverAt(0);if(t===void 0)t=J;this._addCallbacks(p,d,q0,t,null)},g.prototype._migrateCallbackAt=function(j,u){var p=j._fulfillmentHandlerAt(u),d=j._rejectionHandlerAt(u),q0=j._promiseAt(u),t=j._receiverAt(u);if(t===void 0)t=J;this._addCallbacks(p,d,q0,t,null)},g.prototype._addCallbacks=function(j,u,p,d,q0){var t=this._length();if(t>=65531)t=0,this._setLength(0);if(t===0){if(this._promise0=p,this._receiver0=d,typeof j==="function")this._fulfillmentHandler0=q0===null?j:U.domainBind(q0,j);if(typeof u==="function")this._rejectionHandler0=q0===null?u:U.domainBind(q0,u)}else{var H0=t*4-4;if(this[H0+2]=p,this[H0+3]=d,typeof j==="function")this[H0+0]=q0===null?j:U.domainBind(q0,j);if(typeof u==="function")this[H0+1]=q0===null?u:U.domainBind(q0,u)}return this._setLength(t+1),t},g.prototype._proxy=function(j,u){this._addCallbacks(void 0,void 0,u,j,null)},g.prototype._resolveCallback=function(j,u){if((this._bitField&117506048)!==0)return;if(j===this)return this._rejectCallback($(),!1);var p=F(j,this);if(!(p instanceof g))return this._fulfill(j);if(u)this._propagateFrom(p,2);var d=p._target();if(d===this){this._reject($());return}var q0=d._bitField;if((q0&50397184)===0){var t=this._length();if(t>0)d._migrateCallback0(this);for(var H0=1;H0<t;++H0)d._migrateCallbackAt(this,H0);this._setFollowing(),this._setLength(0),this._setFollowee(d)}else if((q0&33554432)!==0)this._fulfill(d._value());else if((q0&16777216)!==0)this._reject(d._reason());else{var L0=new V("late cancellation observer");d._attachExtraTrace(L0),this._reject(L0)}},g.prototype._rejectCallback=function(j,u,p){var d=U.ensureErrorObject(j),q0=d===j;if(!q0&&!p&&A.warnings()){var t="a promise was rejected with a non-error: "+U.classString(j);this._warn(t,!0)}this._attachExtraTrace(d,u?q0:!1),this._reject(j)},g.prototype._resolveFromExecutor=function(j){var u=this;this._captureStackTrace(),this._pushContext();var p=!0,d=this._execute(j,function(q0){u._resolveCallback(q0)},function(q0){u._rejectCallback(q0,p)});if(p=!1,this._popContext(),d!==void 0)u._rejectCallback(d,!0)},g.prototype._settlePromiseFromHandler=function(j,u,p,d){var q0=d._bitField;if((q0&65536)!==0)return;d._pushContext();var t;if(u===L)if(!p||typeof p.length!=="number")t=C,t.e=new Z("cannot .spread() a non-array: "+U.classString(p));else t=c(j).apply(this._boundValue(),p);else t=c(j).call(u,p);var H0=d._popContext();if(q0=d._bitField,(q0&65536)!==0)return;if(t===w)d._reject(p);else if(t===C)d._rejectCallback(t.e,!1);else A.checkForgottenReturns(t,H0,"",d,this),d._resolveCallback(t)},g.prototype._target=function(){var j=this;while(j._isFollowing())j=j._followee();return j},g.prototype._followee=function(){return this._rejectionHandler0},g.prototype._setFollowee=function(j){this._rejectionHandler0=j},g.prototype._settlePromise=function(j,u,p,d){var q0=j instanceof g,t=this._bitField,H0=(t&134217728)!==0;if((t&65536)!==0){if(q0)j._invokeInternalOnCancel();if(p instanceof y&&p.isFinallyHandler()){if(p.cancelPromise=j,c(u).call(p,d)===C)j._reject(C.e)}else if(u===Y)j._fulfill(Y.call(p));else if(p instanceof z)p._promiseCancelled(j);else if(q0||j instanceof O)j._cancel();else p.cancel()}else if(typeof u==="function")if(!q0)u.call(p,d,j);else{if(H0)j._setAsyncGuaranteed();this._settlePromiseFromHandler(u,p,d,j)}else if(p instanceof z){if(!p._isResolved())if((t&33554432)!==0)p._promiseFulfilled(d,j);else p._promiseRejected(d,j)}else if(q0){if(H0)j._setAsyncGuaranteed();if((t&33554432)!==0)j._fulfill(d);else j._reject(d)}},g.prototype._settlePromiseLateCancellationObserver=function(j){var{handler:u,promise:p,receiver:d,value:q0}=j;if(typeof u==="function")if(!(p instanceof g))u.call(d,q0,p);else this._settlePromiseFromHandler(u,d,q0,p);else if(p instanceof g)p._reject(q0)},g.prototype._settlePromiseCtx=function(j){this._settlePromise(j.promise,j.handler,j.receiver,j.value)},g.prototype._settlePromise0=function(j,u,p){var d=this._promise0,q0=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(d,j,q0,u)},g.prototype._clearCallbackDataAtIndex=function(j){var u=j*4-4;this[u+2]=this[u+3]=this[u+0]=this[u+1]=void 0},g.prototype._fulfill=function(j){var u=this._bitField;if((u&117506048)>>>16)return;if(j===this){var p=$();return this._attachExtraTrace(p),this._reject(p)}if(this._setFulfilled(),this._rejectionHandler0=j,(u&65535)>0)if((u&134217728)!==0)this._settlePromises();else G.settlePromises(this)},g.prototype._reject=function(j){var u=this._bitField;if((u&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=j,this._isFinal())return G.fatalError(j,U.isNode);if((u&65535)>0)G.settlePromises(this);else this._ensurePossibleRejectionHandled()},g.prototype._fulfillPromises=function(j,u){for(var p=1;p<j;p++){var d=this._fulfillmentHandlerAt(p),q0=this._promiseAt(p),t=this._receiverAt(p);this._clearCallbackDataAtIndex(p),this._settlePromise(q0,d,t,u)}},g.prototype._rejectPromises=function(j,u){for(var p=1;p<j;p++){var d=this._rejectionHandlerAt(p),q0=this._promiseAt(p),t=this._receiverAt(p);this._clearCallbackDataAtIndex(p),this._settlePromise(q0,d,t,u)}},g.prototype._settlePromises=function(){var j=this._bitField,u=j&65535;if(u>0){if((j&16842752)!==0){var p=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,p,j),this._rejectPromises(u,p)}else{var d=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,d,j),this._fulfillPromises(u,d)}this._setLength(0)}this._clearCancellationData()},g.prototype._settledValue=function(){var j=this._bitField;if((j&33554432)!==0)return this._rejectionHandler0;else if((j&16777216)!==0)return this._fulfillmentHandler0};function b(j){this.promise._resolveCallback(j)}function i(j){this.promise._rejectCallback(j,!1)}g.defer=g.pending=function(){A.deprecated("Promise.defer","new Promise");var j=new g(X);return{promise:j,resolve:b,reject:i}},U.notEnumerableProp(g,"_makeSelfResolutionError",$),KO0()(g,X,F,q,A),HO0()(g,X,F,A),WO0()(g,O,q,A),VO0()(g),wO0()(g),OO0()(g,O,F,X,G,I),g.Promise=g,g.version="3.4.7",NO0()(g,O,q,F,X,A),PO0()(g),BO0()(g,q,F,B,X,A),EO0()(g,X,A),_O0()(g,q,X,F,z,A),CO0()(g),hO0()(g,X),SO0()(g,O,F,q),xO0()(g,X,F,q),uO0()(g,O,q,F,X,A),bO0()(g,O,A),nO0()(g,O,q),pO0()(g,X),mO0()(g,X),oO0()(g),U.toFastProperties(g),U.toFastProperties(g.prototype);function $0(j){var u=new g(X);u._fulfillmentHandler0=j,u._rejectionHandler0=j,u._promise0=j,u._receiver0=j}return $0({a:1}),$0({b:2}),$0({c:3}),$0(1),$0(function(){}),$0(void 0),$0(!1),$0(new g(X)),A.setBounds(K.firstLineError,U.lastLineError),g}});var n7=M((n94,tO0)=>{var sO0;if(typeof Promise<"u")sO0=Promise;function WD1(){try{if(Promise===IN)Promise=sO0}catch($){}return IN}var IN=rO0()();IN.noConflict=WD1;tO0.exports=IN});var BU=M((c94,aO0)=>{var AU=m("buffer").Buffer;if(AU.from===void 0)AU.from=function($,Y,q){return new AU($,Y,q)},AU.alloc=AU.from;aO0.exports=AU});var $M0=M((p94,rf)=>{function XD1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var eO0=$6().Buffer,yH=m("util");function VD1($,Y,q){$.copy(Y,q)}rf.exports=function(){function $(){XD1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(q){var z={data:q,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(q){var z={data:q,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,q},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(q){if(this.length===0)return"";var z=this.head,J=""+z.data;while(z=z.next)J+=q+z.data;return J},$.prototype.concat=function(q){if(this.length===0)return eO0.alloc(0);var z=eO0.allocUnsafe(q>>>0),J=this.head,U=0;while(J)VD1(J.data,z,U),U+=J.data.length,J=J.next;return z},$}();if(yH&&yH.inspect&&yH.inspect.custom)rf.exports.prototype[yH.inspect.custom]=function(){var $=yH.inspect({length:this.length});return this.constructor.name+" "+$}});var sf=M((d94,YM0)=>{var QN=e4();function LD1($,Y){var q=this,z=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(z||J){if(Y)Y($);else if($){if(!this._writableState)QN.nextTick(KN,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,QN.nextTick(KN,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(U){if(!Y&&U){if(!q._writableState)QN.nextTick(KN,q,U);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,QN.nextTick(KN,q,U)}else if(Y)Y(U)}),this}function wD1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function KN($,Y){$.emit("error",Y)}YM0.exports={destroy:LD1,undestroy:wD1}});var af=M((m94,GM0)=>{var iY=e4();GM0.exports=Z6;function zM0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){SD1(Y,$)}}var FD1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:iY.nextTick,TU;Z6.WritableState=kH;var JM0=Object.create(W4());JM0.inherits=m0();var OD1={deprecate:r3()},UM0=m("stream"),HN=$6().Buffer,MD1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ND1($){return HN.from($)}function DD1($){return HN.isBuffer($)||$ instanceof MD1}var IM0=sf();JM0.inherits(Z6,UM0);function PD1(){}function kH($,Y){TU=TU||nY(),$=$||{};var q=Y instanceof TU;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){RD1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new zM0(this)}kH.prototype.getBuffer=function(){var Y=this.bufferedRequest,q=[];while(Y)q.push(Y),Y=Y.next;return q};(function(){try{Object.defineProperty(kH.prototype,"buffer",{get:OD1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var GN;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")GN=Function.prototype[Symbol.hasInstance],Object.defineProperty(Z6,Symbol.hasInstance,{value:function($){if(GN.call(this,$))return!0;if(this!==Z6)return!1;return $&&$._writableState instanceof kH}});else GN=function($){return $ instanceof this};function Z6($){if(TU=TU||nY(),!GN.call(Z6,this)&&!(this instanceof TU))return new Z6($);if(this._writableState=new kH($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}UM0.call(this)}Z6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function AD1($,Y){var q=Error("write after end");$.emit("error",q),iY.nextTick(Y,q)}function BD1($,Y,q,z){var J=!0,U=!1;if(q===null)U=TypeError("May not write null values to stream");else if(typeof q!=="string"&&q!==void 0&&!Y.objectMode)U=TypeError("Invalid non-string/buffer chunk");if(U)$.emit("error",U),iY.nextTick(z,U),J=!1;return J}Z6.prototype.write=function($,Y,q){var z=this._writableState,J=!1,U=!z.objectMode&&DD1($);if(U&&!HN.isBuffer($))$=ND1($);if(typeof Y==="function")q=Y,Y=null;if(U)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof q!=="function")q=PD1;if(z.ended)AD1(this,q);else if(U||BD1(this,z,$,q))z.pendingcb++,J=ED1(this,z,U,$,Y,q);return J};Z6.prototype.cork=function(){var $=this._writableState;$.corked++};Z6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)QM0(this,$)}};Z6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function TD1($,Y,q){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=HN.from(Y,q);return Y}Object.defineProperty(Z6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ED1($,Y,q,z,J,U){if(!q){var I=TD1(Y,z,J);if(z!==I)q=!0,J="buffer",z=I}var Q=Y.objectMode?1:z.length;Y.length+=Q;var K=Y.length<Y.highWaterMark;if(!K)Y.needDrain=!0;if(Y.writing||Y.corked){var G=Y.lastBufferedRequest;if(Y.lastBufferedRequest={chunk:z,encoding:J,isBuf:q,callback:U,next:null},G)G.next=Y.lastBufferedRequest;else Y.bufferedRequest=Y.lastBufferedRequest;Y.bufferedRequestCount+=1}else tf($,Y,!1,Q,z,J,U);return K}function tf($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function jD1($,Y,q,z,J){if(--Y.pendingcb,q)iY.nextTick(J,z),iY.nextTick(xH,$,Y),$._writableState.errorEmitted=!0,$.emit("error",z);else J(z),$._writableState.errorEmitted=!0,$.emit("error",z),xH($,Y)}function _D1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function RD1($,Y){var q=$._writableState,z=q.sync,J=q.writecb;if(_D1(q),Y)jD1($,q,z,Y,J);else{var U=KM0(q);if(!U&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest)QM0($,q);if(z)FD1(qM0,$,q,U,J);else qM0($,q,U,J)}}function qM0($,Y,q,z){if(!q)CD1($,Y);Y.pendingcb--,z(),xH($,Y)}function CD1($,Y){if(Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain")}function QM0($,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if($._writev&&q&&q.next){var z=Y.bufferedRequestCount,J=Array(z),U=Y.corkedRequestsFree;U.entry=q;var I=0,Q=!0;while(q){if(J[I]=q,!q.isBuf)Q=!1;q=q.next,I+=1}if(J.allBuffers=Q,tf($,Y,!0,Y.length,J,"",U.finish),Y.pendingcb++,Y.lastBufferedRequest=null,U.next)Y.corkedRequestsFree=U.next,U.next=null;else Y.corkedRequestsFree=new zM0(Y);Y.bufferedRequestCount=0}else{while(q){var{chunk:K,encoding:G,callback:H}=q,Z=Y.objectMode?1:K.length;if(tf($,Y,!1,Z,K,G,H),q=q.next,Y.bufferedRequestCount--,Y.writing)break}if(q===null)Y.lastBufferedRequest=null}Y.bufferedRequest=q,Y.bufferProcessing=!1}Z6.prototype._write=function($,Y,q){q(Error("_write() is not implemented"))};Z6.prototype._writev=null;Z6.prototype.end=function($,Y,q){var z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;if($!==null&&$!==void 0)this.write($,Y);if(z.corked)z.corked=1,this.uncork();if(!z.ending)gD1(this,z,q)};function KM0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function vD1($,Y){$._final(function(q){if(Y.pendingcb--,q)$.emit("error",q);Y.prefinished=!0,$.emit("prefinish"),xH($,Y)})}function hD1($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function")Y.pendingcb++,Y.finalCalled=!0,iY.nextTick(vD1,$,Y);else Y.prefinished=!0,$.emit("prefinish")}function xH($,Y){var q=KM0(Y);if(q){if(hD1($,Y),Y.pendingcb===0)Y.finished=!0,$.emit("finish")}return q}function gD1($,Y,q){if(Y.ending=!0,xH($,Y),q)if(Y.finished)iY.nextTick(q);else $.once("finish",q);Y.ended=!0,$.writable=!1}function SD1($,Y,q){var z=$.entry;$.entry=null;while(z){var J=z.callback;Y.pendingcb--,J(q),z=z.next}Y.corkedRequestsFree.next=$}Object.defineProperty(Z6.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});Z6.prototype.destroy=IM0.destroy;Z6.prototype._undestroy=IM0.undestroy;Z6.prototype._destroy=function($,Y){this.end(),Y($)}});var nY=M((l94,XM0)=>{var HM0=e4(),yD1=Object.keys||function($){var Y=[];for(var q in $)Y.push(q);return Y};XM0.exports=Y3;var ZM0=Object.create(W4());ZM0.inherits=m0();var WM0=$b(),ef=af();ZM0.inherits(Y3,WM0);{ZN=yD1(ef.prototype);for(uH=0;uH<ZN.length;uH++)if(fH=ZN[uH],!Y3.prototype[fH])Y3.prototype[fH]=ef.prototype[fH]}var ZN,fH,uH;function Y3($){if(!(this instanceof Y3))return new Y3($);if(WM0.call(this,$),ef.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",xD1)}Object.defineProperty(Y3.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function xD1(){if(this.allowHalfOpen||this._writableState.ended)return;HM0.nextTick(kD1,this)}function kD1($){$.end()}Object.defineProperty(Y3.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});Y3.prototype._destroy=function($,Y){this.push(null),this.end(),HM0.nextTick(Y,$)}});var zb=M((tD1)=>{var qb=$6().Buffer,VM0=qb.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function uD1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function fD1($){var Y=uD1($);if(typeof Y!=="string"&&(qb.isEncoding===VM0||!VM0($)))throw Error("Unknown encoding: "+$);return Y||$}tD1.StringDecoder=bH;function bH($){this.encoding=fD1($);var Y;switch(this.encoding){case"utf16le":this.text=dD1,this.end=mD1,Y=4;break;case"utf8":this.fillLast=nD1,Y=4;break;case"base64":this.text=lD1,this.end=oD1,Y=3;break;default:this.write=rD1,this.end=sD1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=qb.allocUnsafe(Y)}bH.prototype.write=function($){if($.length===0)return"";var Y,q;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";q=this.lastNeed,this.lastNeed=0}else q=0;if(q<$.length)return Y?Y+this.text($,q):this.text($,q);return Y||""};bH.prototype.end=pD1;bH.prototype.text=cD1;bH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Yb($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function bD1($,Y,q){var z=Y.length-1;if(z<q)return 0;var J=Yb(Y[z]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--z<q||J===-2)return 0;if(J=Yb(Y[z]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--z<q||J===-2)return 0;if(J=Yb(Y[z]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function iD1($,Y,q){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function nD1($){var Y=this.lastTotal-this.lastNeed,q=iD1(this,$,Y);if(q!==void 0)return q;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function cD1($,Y){var q=bD1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=q;var z=$.length-(q-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function pD1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function dD1($,Y){if(($.length-Y)%2===0){var q=$.toString("utf16le",Y);if(q){var z=q.charCodeAt(q.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],q.slice(0,-1)}return q}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function mD1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var q=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,q)}return Y}function lD1($,Y){var q=($.length-Y)%3;if(q===0)return $.toString("base64",Y);if(this.lastNeed=3-q,this.lastTotal=3,q===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-q)}function oD1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function rD1($){return $.toString(this.encoding)}function sD1($){return $&&$.length?this.write($):""}});var $b=M((s94,EM0)=>{var jU=e4();EM0.exports=A4;var eD1=bz(),iH;A4.ReadableState=DM0;var r94=m("events").EventEmitter,OM0=function($,Y){return $.listeners(Y).length},Kb=m("stream"),nH=$6().Buffer,$P1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function YP1($){return nH.from($)}function qP1($){return nH.isBuffer($)||$ instanceof $P1}var MM0=Object.create(W4());MM0.inherits=m0();var Jb=m("util"),p1=void 0;if(Jb&&Jb.debuglog)p1=Jb.debuglog("stream");else p1=function(){};var zP1=$M0(),NM0=sf(),EU;MM0.inherits(A4,Kb);var Ub=["error","close","destroy","pause","resume"];function JP1($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(eD1($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}function DM0($,Y){iH=iH||nY(),$=$||{};var q=Y instanceof iH;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new zP1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!EU)EU=zb().StringDecoder;this.decoder=new EU($.encoding),this.encoding=$.encoding}}function A4($){if(iH=iH||nY(),!(this instanceof A4))return new A4($);if(this._readableState=new DM0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Kb.call(this)}Object.defineProperty(A4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});A4.prototype.destroy=NM0.destroy;A4.prototype._undestroy=NM0.undestroy;A4.prototype._destroy=function($,Y){this.push(null),Y($)};A4.prototype.push=function($,Y){var q=this._readableState,z;if(!q.objectMode){if(typeof $==="string"){if(Y=Y||q.defaultEncoding,Y!==q.encoding)$=nH.from($,Y),Y="";z=!0}}else z=!0;return PM0(this,$,Y,!1,z)};A4.prototype.unshift=function($){return PM0(this,$,null,!0,!1)};function PM0($,Y,q,z,J){var U=$._readableState;if(Y===null)U.reading=!1,KP1($,U);else{var I;if(!J)I=UP1(U,Y);if(I)$.emit("error",I);else if(U.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==nH.prototype)Y=YP1(Y);if(z)if(U.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Ib($,U,Y,!0);else if(U.ended)$.emit("error",Error("stream.push() after EOF"));else if(U.reading=!1,U.decoder&&!q)if(Y=U.decoder.write(Y),U.objectMode||Y.length!==0)Ib($,U,Y,!1);else AM0($,U);else Ib($,U,Y,!1)}else if(!z)U.reading=!1}return IP1(U)}function Ib($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",q),$.read(0);else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if(Y.needReadable)WN($)}AM0($,Y)}function UP1($,Y){var q;if(!qP1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)q=TypeError("Invalid non-string/buffer chunk");return q}function IP1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}A4.prototype.isPaused=function(){return this._readableState.flowing===!1};A4.prototype.setEncoding=function($){if(!EU)EU=zb().StringDecoder;return this._readableState.decoder=new EU($),this._readableState.encoding=$,this};var LM0=8388608;function QP1($){if($>=LM0)$=LM0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function wM0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=QP1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}A4.prototype.read=function($){p1("read",$),$=parseInt($,10);var Y=this._readableState,q=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(p1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Qb(this);else WN(this);return null}if($=wM0($,Y),$===0&&Y.ended){if(Y.length===0)Qb(this);return null}var z=Y.needReadable;if(p1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,p1("length less than watermark",z);if(Y.ended||Y.reading)z=!1,p1("reading or ended",z);else if(z){if(p1("do read"),Y.reading=!0,Y.sync=!0,Y.length===0)Y.needReadable=!0;if(this._read(Y.highWaterMark),Y.sync=!1,!Y.reading)$=wM0(q,Y)}var J;if($>0)J=BM0($,Y);else J=null;if(J===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)Qb(this)}if(J!==null)this.emit("data",J);return J};function KP1($,Y){if(Y.ended)return;if(Y.decoder){var q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}Y.ended=!0,WN($)}function WN($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(p1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)jU.nextTick(FM0,$);else FM0($)}function FM0($){p1("emit readable"),$.emit("readable"),Gb($)}function AM0($,Y){if(!Y.readingMore)Y.readingMore=!0,jU.nextTick(GP1,$,Y)}function GP1($,Y){var q=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length<Y.highWaterMark)if(p1("maybeReadMore read 0"),$.read(0),q===Y.length)break;else q=Y.length;Y.readingMore=!1}A4.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};A4.prototype.pipe=function($,Y){var q=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=$;break;case 1:z.pipes=[z.pipes,$];break;default:z.pipes.push($);break}z.pipesCount+=1,p1("pipe count=%d opts=%j",z.pipesCount,Y);var J=(!Y||Y.end!==!1)&&$!==process.stdout&&$!==process.stderr,U=J?Q:F;if(z.endEmitted)jU.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(O,P){if(p1("onunpipe"),O===q){if(P&&P.hasUnpiped===!1)P.hasUnpiped=!0,H()}}function Q(){p1("onend"),$.end()}var K=HP1(q);$.on("drain",K);var G=!1;function H(){if(p1("cleanup"),$.removeListener("close",L),$.removeListener("finish",w),$.removeListener("drain",K),$.removeListener("error",X),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",F),q.removeListener("data",V),G=!0,z.awaitDrain&&(!$._writableState||$._writableState.needDrain))K()}var Z=!1;q.on("data",V);function V(O){p1("ondata"),Z=!1;var P=$.write(O);if(P===!1&&!Z){if((z.pipesCount===1&&z.pipes===$||z.pipesCount>1&&TM0(z.pipes,$)!==-1)&&!G)p1("false write response, pause",z.awaitDrain),z.awaitDrain++,Z=!0;q.pause()}}function X(O){if(p1("onerror",O),F(),$.removeListener("error",X),OM0($,"error")===0)$.emit("error",O)}JP1($,"error",X);function L(){$.removeListener("finish",w),F()}$.once("close",L);function w(){p1("onfinish"),$.removeListener("close",L),F()}$.once("finish",w);function F(){p1("unpipe"),q.unpipe($)}if($.emit("pipe",q),!z.flowing)p1("pipe resume"),q.resume();return $};function HP1($){return function(){var Y=$._readableState;if(p1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&OM0($,"data"))Y.flowing=!0,Gb($)}}A4.prototype.unpipe=function($){var Y=this._readableState,q={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,q);return this}if(!$){var{pipes:z,pipesCount:J}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<J;U++)z[U].emit("unpipe",this,{hasUnpiped:!1});return this}var I=TM0(Y.pipes,$);if(I===-1)return this;if(Y.pipes.splice(I,1),Y.pipesCount-=1,Y.pipesCount===1)Y.pipes=Y.pipes[0];return $.emit("unpipe",this,q),this};A4.prototype.on=function($,Y){var q=Kb.prototype.on.call(this,$,Y);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var z=this._readableState;if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.emittedReadable=!1,!z.reading)jU.nextTick(ZP1,this);else if(z.length)WN(this)}}return q};A4.prototype.addListener=A4.prototype.on;function ZP1($){p1("readable nexttick read 0"),$.read(0)}A4.prototype.resume=function(){var $=this._readableState;if(!$.flowing)p1("resume"),$.flowing=!0,WP1(this,$);return this};function WP1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,jU.nextTick(XP1,$,Y)}function XP1($,Y){if(!Y.reading)p1("resume read 0"),$.read(0);if(Y.resumeScheduled=!1,Y.awaitDrain=0,$.emit("resume"),Gb($),Y.flowing&&!Y.reading)$.read(0)}A4.prototype.pause=function(){if(p1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)p1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function Gb($){var Y=$._readableState;p1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}A4.prototype.wrap=function($){var Y=this,q=this._readableState,z=!1;$.on("end",function(){if(p1("wrapped end"),q.decoder&&!q.ended){var I=q.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(p1("wrapped data"),q.decoder)I=q.decoder.write(I);if(q.objectMode&&(I===null||I===void 0))return;else if(!q.objectMode&&(!I||!I.length))return;var Q=Y.push(I);if(!Q)z=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(I){return function(){return $[I].apply($,arguments)}}(J);for(var U=0;U<Ub.length;U++)$.on(Ub[U],this.emit.bind(this,Ub[U]));return this._read=function(I){if(p1("wrapped _read",I),z)z=!1,$.resume()},this};Object.defineProperty(A4.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});A4._fromList=BM0;function BM0($,Y){if(Y.length===0)return null;var q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.head.data;else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=VP1($,Y.buffer,Y.decoder);return q}function VP1($,Y,q){var z;if($<Y.head.data.length)z=Y.head.data.slice(0,$),Y.head.data=Y.head.data.slice($);else if($===Y.head.data.length)z=Y.shift();else z=q?LP1($,Y):wP1($,Y);return z}function LP1($,Y){var q=Y.head,z=1,J=q.data;$-=J.length;while(q=q.next){var U=q.data,I=$>U.length?U.length:$;if(I===U.length)J+=U;else J+=U.slice(0,$);if($-=I,$===0){if(I===U.length)if(++z,q.next)Y.head=q.next;else Y.head=Y.tail=null;else Y.head=q,q.data=U.slice(I);break}++z}return Y.length-=z,J}function wP1($,Y){var q=nH.allocUnsafe($),z=Y.head,J=1;z.data.copy(q),$-=z.data.length;while(z=z.next){var U=z.data,I=$>U.length?U.length:$;if(U.copy(q,q.length-$,0,I),$-=I,$===0){if(I===U.length)if(++J,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=U.slice(I);break}++J}return Y.length-=J,q}function Qb($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,jU.nextTick(FP1,Y,$)}function FP1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function TM0($,Y){for(var q=0,z=$.length;q<z;q++)if($[q]===Y)return q;return-1}});var Hb=M((t94,RM0)=>{RM0.exports=q3;var XN=nY(),_M0=Object.create(W4());_M0.inherits=m0();_M0.inherits(q3,XN);function OP1($,Y){var q=this._transformState;q.transforming=!1;var z=q.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(q.writechunk=null,q.writecb=null,Y!=null)this.push(Y);z($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function q3($){if(!(this instanceof q3))return new q3($);if(XN.call(this,$),this._transformState={afterTransform:OP1.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",MP1)}function MP1(){var $=this;if(typeof this._flush==="function")this._flush(function(Y,q){jM0($,Y,q)});else jM0(this,null,null)}q3.prototype.push=function($,Y){return this._transformState.needTransform=!1,XN.prototype.push.call(this,$,Y)};q3.prototype._transform=function($,Y,q){throw Error("_transform() is not implemented")};q3.prototype._write=function($,Y,q){var z=this._transformState;if(z.writecb=q,z.writechunk=$,z.writeencoding=Y,!z.transforming){var J=this._readableState;if(z.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};q3.prototype._read=function($){var Y=this._transformState;if(Y.writechunk!==null&&Y.writecb&&!Y.transforming)Y.transforming=!0,this._transform(Y.writechunk,Y.writeencoding,Y.afterTransform);else Y.needTransform=!0};q3.prototype._destroy=function($,Y){var q=this;XN.prototype._destroy.call(this,$,function(z){Y(z),q.emit("close")})};function jM0($,Y,q){if(Y)return $.emit("error",Y);if(q!=null)$.push(q);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var gM0=M((a94,hM0)=>{hM0.exports=cH;var CM0=Hb(),vM0=Object.create(W4());vM0.inherits=m0();vM0.inherits(cH,CM0);function cH($){if(!(this instanceof cH))return new cH($);CM0.call(this,$)}cH.prototype._transform=function($,Y,q){q(null,$)}});var z3=M((s6,VN)=>{var q9=m("stream");if(process.env.READABLE_STREAM==="disable"&&q9)VN.exports=q9,s6=VN.exports=q9.Readable,s6.Readable=q9.Readable,s6.Writable=q9.Writable,s6.Duplex=q9.Duplex,s6.Transform=q9.Transform,s6.PassThrough=q9.PassThrough,s6.Stream=q9;else s6=VN.exports=$b(),s6.Stream=q9||s6,s6.Readable=s6,s6.Writable=af(),s6.Duplex=nY(),s6.Transform=Hb(),s6.PassThrough=gM0()});var wN=M((e94,SM0)=>{var cY=m("stream"),Zb=n7(),NP1=m("util"),LN=BU(),DP1="function";if(!cY.Writable||!cY.Writable.prototype.destroy)cY=z3();function c7(){if(!(this instanceof c7))return new c7;cY.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=LN.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}NP1.inherits(c7,cY.Duplex);c7.prototype._write=function($,Y,q){this.buffer=LN.concat([this.buffer,$]),this.cb=q,this.emit("chunk")};c7.prototype.stream=function($,Y){var q=cY.PassThrough(),z,J=this;function U(){if(typeof J.cb===DP1){var Q=J.cb;return J.cb=void 0,Q()}}function I(){var Q;if(J.buffer&&J.buffer.length){if(typeof $==="number")Q=J.buffer.slice(0,$),J.buffer=J.buffer.slice($),$-=Q.length,z=!$;else{var K=J.buffer.indexOf($);if(K!==-1){if(J.match=K,Y)K=K+$.length;Q=J.buffer.slice(0,K),J.buffer=J.buffer.slice(K),z=!0}else{var G=J.buffer.length-$.length;if(G<=0)U();else Q=J.buffer.slice(0,G),J.buffer=J.buffer.slice(G)}}if(Q)q.write(Q,function(){if(J.buffer.length===0||$.length&&J.buffer.length<=$.length)U()})}if(!z){if(J.finished){J.removeListener("chunk",I),J.emit("error",Error("FILE_ENDED"));return}}else J.removeListener("chunk",I),q.end()}return J.on("chunk",I),I(),q};c7.prototype.pull=function($,Y){if($===0)return Zb.resolve("");if(!isNaN($)&&this.buffer.length>$){var q=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),Zb.resolve(q)}var z=LN.from(""),J=this,U=cY.Transform();U._transform=function(K,G,H){z=LN.concat([z,K]),H()};var I,Q;return new Zb(function(K,G){if(I=G,Q=function(H){J.__emittedError=H,G(H)},J.finished)return G(Error("FILE_ENDED"));J.once("error",Q),J.stream($,Y).on("error",G).pipe(U).on("finish",function(){K(z)}).on("error",G)}).finally(function(){J.removeListener("error",I),J.removeListener("error",Q)})};c7.prototype._read=function(){};SM0.exports=c7});var xM0=M(($34,yM0)=>{var pH=m("stream"),PP1=m("util");if(!pH.Writable||!pH.Writable.prototype.destroy)pH=z3();function dH(){if(!(this instanceof dH))return new dH;pH.Transform.call(this)}PP1.inherits(dH,pH.Transform);dH.prototype._transform=function($,Y,q){q()};yM0.exports=dH});var ON=M((Y34,kM0)=>{var AP1=n7(),FN=m("stream"),BP1=BU();if(!FN.Writable||!FN.Writable.prototype.destroy)FN=z3();kM0.exports=function($){return new AP1(function(Y,q){var z=[],J=FN.Transform().on("finish",function(){Y(BP1.concat(z))}).on("error",q);J._transform=function(U,I,Q){z.push(U),Q()},$.on("error",q).pipe(J)})}});var MN=M((q34,uM0)=>{var TP1=hH();uM0.exports=function($,Y){var q;while(!q&&$&&$.length){var z=TP1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(z.signature===1)q=z;else $=$.slice(z.partsize+4)}if(q=q||{},Y.compressedSize===4294967295)Y.compressedSize=q.compressedSize;if(Y.uncompressedSize===4294967295)Y.uncompressedSize=q.uncompressedSize;if(Y.offsetToLocalFileHeader===4294967295)Y.offsetToLocalFileHeader=q.offset;return q}});var NN=M((z34,fM0)=>{fM0.exports=function(Y,q){let z=Y&31,J=Y>>5&15,U=(Y>>9&127)+1980,I=q?(q&31)*2:0,Q=q?q>>5&63:0,K=q?q>>11:0;return new Date(Date.UTC(U,J-1,z,K,Q,I))}});var DN=M((J34,cM0)=>{var EP1=m("util"),jP1=m("zlib"),mH=m("stream"),lH=hH(),Wb=n7(),bM0=wN(),_P1=xM0(),RP1=ON(),CP1=MN(),iM0=BU(),vP1=NN();if(!mH.Writable||!mH.Writable.prototype.destroy)mH=z3();var nM0=iM0.alloc(4);nM0.writeUInt32LE(101010256,0);function F5($){if(!(this instanceof F5))return new F5($);var Y=this;Y._opts=$||{verbose:!1},bM0.call(Y,Y._opts),Y.on("finish",function(){Y.emit("end"),Y.emit("close")}),Y._readRecord().catch(function(q){if(!Y.__emittedError||Y.__emittedError!==q)Y.emit("error",q)})}EP1.inherits(F5,bM0);F5.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(Y){if(Y.length===0)return;var q=Y.readUInt32LE(0);if(q===875721283)return $._readCrxHeader();if(q===67324752)return $._readFile();else if(q===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(q===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var z=!0;return $.pull(nM0,z).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+q.toString(16)))})};F5.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(Y){return $.crxHeader=lH.parse(Y).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(Y){return $.crxHeader.publicKey=Y.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=Y.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};F5.prototype._readFile=function(){var $=this;return $.pull(26).then(function(Y){var q=lH.parse(Y).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(q.lastModifiedDateTime=vP1(q.lastModifiedDate,q.lastModifiedTime),$.crxHeader)q.crxHeader=$.crxHeader;return $.pull(q.fileNameLength).then(function(z){var J=z.toString("utf8"),U=mH.PassThrough(),I=!1;if(U.autodrain=function(){I=!0;var Q=U.pipe(_P1());return Q.promise=function(){return new Wb(function(K,G){Q.on("finish",K),Q.on("error",G)})},Q},U.buffer=function(){return RP1(U)},U.path=J,U.props={},U.props.path=J,U.props.pathBuffer=z,U.props.flags={isUnicode:(q.flags&2048)!=0},U.type=q.uncompressedSize===0&&/[\/\\]$/.test(J)?"Directory":"File",$._opts.verbose){if(U.type==="Directory")console.log(" creating:",J);else if(U.type==="File")if(q.compressionMethod===0)console.log(" extracting:",J);else console.log(" inflating:",J)}return $.pull(q.extraFieldLength).then(function(Q){var K=CP1(Q,q);if(U.vars=q,U.extra=K,$._opts.forceStream)$.push(U);else if($.emit("entry",U),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(U);if($._opts.verbose)console.log({filename:J,vars:q,extra:K});var G=!(q.flags&8)||q.compressedSize>0,H;U.__autodraining=I;var Z=q.compressionMethod&&!I?jP1.createInflateRaw():mH.PassThrough();if(G)U.size=q.uncompressedSize,H=q.compressedSize;else H=iM0.alloc(4),H.writeUInt32LE(134695760,0);return new Wb(function(V,X){$.stream(H).pipe(Z).on("error",function(L){$.emit("error",L)}).pipe(U).on("finish",function(){return G?$._readRecord().then(V).catch(X):$._processDataDescriptor(U).then(V).catch(X)})})})})})};F5.prototype._processDataDescriptor=function($){var Y=this;return Y.pull(16).then(function(q){var z=lH.parse(q).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=z.uncompressedSize,Y._readRecord()})};F5.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(Y){var q=lH.parse(Y).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return $.pull(q.fileNameLength).then(function(z){return q.fileName=z.toString("utf8"),$.pull(q.extraFieldLength)}).then(function(z){return $.pull(q.fileCommentLength)}).then(function(z){return $._readRecord()})})};F5.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(Y){var q=lH.parse(Y).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(q.commentLength).then(function(z){z=z.toString("utf8"),$.end(),$.push(null)})})};F5.prototype.promise=function(){var $=this;return new Wb(function(Y,q){$.on("finish",Y),$.on("error",q)})};cM0.exports=F5});var dM0=M((U34,Xb)=>{function hP1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var pM0=$6().Buffer,oH=m("util");function gP1($,Y,q){$.copy(Y,q)}Xb.exports=function(){function $(){hP1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(q){var z={data:q,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(q){var z={data:q,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var q=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,q},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(q){if(this.length===0)return"";var z=this.head,J=""+z.data;while(z=z.next)J+=q+z.data;return J},$.prototype.concat=function(q){if(this.length===0)return pM0.alloc(0);var z=pM0.allocUnsafe(q>>>0),J=this.head,U=0;while(J)gP1(J.data,z,U),U+=J.data.length,J=J.next;return z},$}();if(oH&&oH.inspect&&oH.inspect.custom)Xb.exports.prototype[oH.inspect.custom]=function(){var $=oH.inspect({length:this.length});return this.constructor.name+" "+$}});var Vb=M((I34,mM0)=>{var PN=e4();function SP1($,Y){var q=this,z=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(z||J){if(Y)Y($);else if($){if(!this._writableState)PN.nextTick(AN,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,PN.nextTick(AN,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(U){if(!Y&&U){if(!q._writableState)PN.nextTick(AN,q,U);else if(!q._writableState.errorEmitted)q._writableState.errorEmitted=!0,PN.nextTick(AN,q,U)}else if(Y)Y(U)}),this}function yP1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function AN($,Y){$.emit("error",Y)}mM0.exports={destroy:SP1,undestroy:yP1}});var wb=M((Q34,$N0)=>{var pY=e4();$N0.exports=W6;function oM0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){eP1(Y,$)}}var xP1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pY.nextTick,_U;W6.WritableState=sH;var rM0=Object.create(W4());rM0.inherits=m0();var kP1={deprecate:r3()},sM0=m("stream"),TN=$6().Buffer,uP1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function fP1($){return TN.from($)}function bP1($){return TN.isBuffer($)||$ instanceof uP1}var tM0=Vb();rM0.inherits(W6,sM0);function iP1(){}function sH($,Y){_U=_U||dY(),$=$||{};var q=Y instanceof _U;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){oP1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new oM0(this)}sH.prototype.getBuffer=function(){var Y=this.bufferedRequest,q=[];while(Y)q.push(Y),Y=Y.next;return q};(function(){try{Object.defineProperty(sH.prototype,"buffer",{get:kP1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var BN;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")BN=Function.prototype[Symbol.hasInstance],Object.defineProperty(W6,Symbol.hasInstance,{value:function($){if(BN.call(this,$))return!0;if(this!==W6)return!1;return $&&$._writableState instanceof sH}});else BN=function($){return $ instanceof this};function W6($){if(_U=_U||dY(),!BN.call(W6,this)&&!(this instanceof _U))return new W6($);if(this._writableState=new sH($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}sM0.call(this)}W6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function nP1($,Y){var q=Error("write after end");$.emit("error",q),pY.nextTick(Y,q)}function cP1($,Y,q,z){var J=!0,U=!1;if(q===null)U=TypeError("May not write null values to stream");else if(typeof q!=="string"&&q!==void 0&&!Y.objectMode)U=TypeError("Invalid non-string/buffer chunk");if(U)$.emit("error",U),pY.nextTick(z,U),J=!1;return J}W6.prototype.write=function($,Y,q){var z=this._writableState,J=!1,U=!z.objectMode&&bP1($);if(U&&!TN.isBuffer($))$=fP1($);if(typeof Y==="function")q=Y,Y=null;if(U)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof q!=="function")q=iP1;if(z.ended)nP1(this,q);else if(U||cP1(this,z,$,q))z.pendingcb++,J=dP1(this,z,U,$,Y,q);return J};W6.prototype.cork=function(){var $=this._writableState;$.corked++};W6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)aM0(this,$)}};W6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function pP1($,Y,q){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=TN.from(Y,q);return Y}Object.defineProperty(W6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function dP1($,Y,q,z,J,U){if(!q){var I=pP1(Y,z,J);if(z!==I)q=!0,J="buffer",z=I}var Q=Y.objectMode?1:z.length;Y.length+=Q;var K=Y.length<Y.highWaterMark;if(!K)Y.needDrain=!0;if(Y.writing||Y.corked){var G=Y.lastBufferedRequest;if(Y.lastBufferedRequest={chunk:z,encoding:J,isBuf:q,callback:U,next:null},G)G.next=Y.lastBufferedRequest;else Y.bufferedRequest=Y.lastBufferedRequest;Y.bufferedRequestCount+=1}else Lb($,Y,!1,Q,z,J,U);return K}function Lb($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function mP1($,Y,q,z,J){if(--Y.pendingcb,q)pY.nextTick(J,z),pY.nextTick(rH,$,Y),$._writableState.errorEmitted=!0,$.emit("error",z);else J(z),$._writableState.errorEmitted=!0,$.emit("error",z),rH($,Y)}function lP1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function oP1($,Y){var q=$._writableState,z=q.sync,J=q.writecb;if(lP1(q),Y)mP1($,q,z,Y,J);else{var U=eM0(q);if(!U&&!q.corked&&!q.bufferProcessing&&q.bufferedRequest)aM0($,q);if(z)xP1(lM0,$,q,U,J);else lM0($,q,U,J)}}function lM0($,Y,q,z){if(!q)rP1($,Y);Y.pendingcb--,z(),rH($,Y)}function rP1($,Y){if(Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain")}function aM0($,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if($._writev&&q&&q.next){var z=Y.bufferedRequestCount,J=Array(z),U=Y.corkedRequestsFree;U.entry=q;var I=0,Q=!0;while(q){if(J[I]=q,!q.isBuf)Q=!1;q=q.next,I+=1}if(J.allBuffers=Q,Lb($,Y,!0,Y.length,J,"",U.finish),Y.pendingcb++,Y.lastBufferedRequest=null,U.next)Y.corkedRequestsFree=U.next,U.next=null;else Y.corkedRequestsFree=new oM0(Y);Y.bufferedRequestCount=0}else{while(q){var{chunk:K,encoding:G,callback:H}=q,Z=Y.objectMode?1:K.length;if(Lb($,Y,!1,Z,K,G,H),q=q.next,Y.bufferedRequestCount--,Y.writing)break}if(q===null)Y.lastBufferedRequest=null}Y.bufferedRequest=q,Y.bufferProcessing=!1}W6.prototype._write=function($,Y,q){q(Error("_write() is not implemented"))};W6.prototype._writev=null;W6.prototype.end=function($,Y,q){var z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;if($!==null&&$!==void 0)this.write($,Y);if(z.corked)z.corked=1,this.uncork();if(!z.ending)aP1(this,z,q)};function eM0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function sP1($,Y){$._final(function(q){if(Y.pendingcb--,q)$.emit("error",q);Y.prefinished=!0,$.emit("prefinish"),rH($,Y)})}function tP1($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function")Y.pendingcb++,Y.finalCalled=!0,pY.nextTick(sP1,$,Y);else Y.prefinished=!0,$.emit("prefinish")}function rH($,Y){var q=eM0(Y);if(q){if(tP1($,Y),Y.pendingcb===0)Y.finished=!0,$.emit("finish")}return q}function aP1($,Y,q){if(Y.ending=!0,rH($,Y),q)if(Y.finished)pY.nextTick(q);else $.once("finish",q);Y.ended=!0,$.writable=!1}function eP1($,Y,q){var z=$.entry;$.entry=null;while(z){var J=z.callback;Y.pendingcb--,J(q),z=z.next}Y.corkedRequestsFree.next=$}Object.defineProperty(W6.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});W6.prototype.destroy=tM0.destroy;W6.prototype._undestroy=tM0.undestroy;W6.prototype._destroy=function($,Y){this.end(),Y($)}});var dY=M((K34,JN0)=>{var YN0=e4(),$A1=Object.keys||function($){var Y=[];for(var q in $)Y.push(q);return Y};JN0.exports=J3;var qN0=Object.create(W4());qN0.inherits=m0();var zN0=Ob(),Fb=wb();qN0.inherits(J3,zN0);{EN=$A1(Fb.prototype);for(tH=0;tH<EN.length;tH++)if(aH=EN[tH],!J3.prototype[aH])J3.prototype[aH]=Fb.prototype[aH]}var EN,aH,tH;function J3($){if(!(this instanceof J3))return new J3($);if(zN0.call(this,$),Fb.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",YA1)}Object.defineProperty(J3.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function YA1(){if(this.allowHalfOpen||this._writableState.ended)return;YN0.nextTick(qA1,this)}function qA1($){$.end()}Object.defineProperty(J3.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});J3.prototype._destroy=function($,Y){this.push(null),this.end(),YN0.nextTick(Y,$)}});var Db=M((wA1)=>{var Nb=$6().Buffer,UN0=Nb.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function zA1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function JA1($){var Y=zA1($);if(typeof Y!=="string"&&(Nb.isEncoding===UN0||!UN0($)))throw Error("Unknown encoding: "+$);return Y||$}wA1.StringDecoder=eH;function eH($){this.encoding=JA1($);var Y;switch(this.encoding){case"utf16le":this.text=HA1,this.end=ZA1,Y=4;break;case"utf8":this.fillLast=QA1,Y=4;break;case"base64":this.text=WA1,this.end=XA1,Y=3;break;default:this.write=VA1,this.end=LA1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Nb.allocUnsafe(Y)}eH.prototype.write=function($){if($.length===0)return"";var Y,q;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";q=this.lastNeed,this.lastNeed=0}else q=0;if(q<$.length)return Y?Y+this.text($,q):this.text($,q);return Y||""};eH.prototype.end=GA1;eH.prototype.text=KA1;eH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Mb($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function UA1($,Y,q){var z=Y.length-1;if(z<q)return 0;var J=Mb(Y[z]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--z<q||J===-2)return 0;if(J=Mb(Y[z]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--z<q||J===-2)return 0;if(J=Mb(Y[z]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function IA1($,Y,q){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function QA1($){var Y=this.lastTotal-this.lastNeed,q=IA1(this,$,Y);if(q!==void 0)return q;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function KA1($,Y){var q=UA1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=q;var z=$.length-(q-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function GA1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function HA1($,Y){if(($.length-Y)%2===0){var q=$.toString("utf16le",Y);if(q){var z=q.charCodeAt(q.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],q.slice(0,-1)}return q}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function ZA1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var q=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,q)}return Y}function WA1($,Y){var q=($.length-Y)%3;if(q===0)return $.toString("base64",Y);if(this.lastNeed=3-q,this.lastTotal=3,q===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-q)}function XA1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function VA1($){return $.toString(this.encoding)}function LA1($){return $&&$.length?this.write($):""}});var Ob=M((Z34,FN0)=>{var CU=e4();FN0.exports=B4;var OA1=bz(),$Z;B4.ReadableState=WN0;var H34=m("events").EventEmitter,GN0=function($,Y){return $.listeners(Y).length},Eb=m("stream"),YZ=$6().Buffer,MA1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function NA1($){return YZ.from($)}function DA1($){return YZ.isBuffer($)||$ instanceof MA1}var HN0=Object.create(W4());HN0.inherits=m0();var Pb=m("util"),d1=void 0;if(Pb&&Pb.debuglog)d1=Pb.debuglog("stream");else d1=function(){};var PA1=dM0(),ZN0=Vb(),RU;HN0.inherits(B4,Eb);var Ab=["error","close","destroy","pause","resume"];function AA1($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(OA1($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}function WN0($,Y){$Z=$Z||dY(),$=$||{};var q=Y instanceof $Z;if(this.objectMode=!!$.objectMode,q)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:J}=$,U=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(q&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=U;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new PA1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!RU)RU=Db().StringDecoder;this.decoder=new RU($.encoding),this.encoding=$.encoding}}function B4($){if($Z=$Z||dY(),!(this instanceof B4))return new B4($);if(this._readableState=new WN0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Eb.call(this)}Object.defineProperty(B4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});B4.prototype.destroy=ZN0.destroy;B4.prototype._undestroy=ZN0.undestroy;B4.prototype._destroy=function($,Y){this.push(null),Y($)};B4.prototype.push=function($,Y){var q=this._readableState,z;if(!q.objectMode){if(typeof $==="string"){if(Y=Y||q.defaultEncoding,Y!==q.encoding)$=YZ.from($,Y),Y="";z=!0}}else z=!0;return XN0(this,$,Y,!1,z)};B4.prototype.unshift=function($){return XN0(this,$,null,!0,!1)};function XN0($,Y,q,z,J){var U=$._readableState;if(Y===null)U.reading=!1,jA1($,U);else{var I;if(!J)I=BA1(U,Y);if(I)$.emit("error",I);else if(U.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!U.objectMode&&Object.getPrototypeOf(Y)!==YZ.prototype)Y=NA1(Y);if(z)if(U.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Bb($,U,Y,!0);else if(U.ended)$.emit("error",Error("stream.push() after EOF"));else if(U.reading=!1,U.decoder&&!q)if(Y=U.decoder.write(Y),U.objectMode||Y.length!==0)Bb($,U,Y,!1);else VN0($,U);else Bb($,U,Y,!1)}else if(!z)U.reading=!1}return TA1(U)}function Bb($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",q),$.read(0);else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if(Y.needReadable)jN($)}VN0($,Y)}function BA1($,Y){var q;if(!DA1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)q=TypeError("Invalid non-string/buffer chunk");return q}function TA1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}B4.prototype.isPaused=function(){return this._readableState.flowing===!1};B4.prototype.setEncoding=function($){if(!RU)RU=Db().StringDecoder;return this._readableState.decoder=new RU($),this._readableState.encoding=$,this};var IN0=8388608;function EA1($){if($>=IN0)$=IN0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function QN0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=EA1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}B4.prototype.read=function($){d1("read",$),$=parseInt($,10);var Y=this._readableState,q=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(d1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Tb(this);else jN(this);return null}if($=QN0($,Y),$===0&&Y.ended){if(Y.length===0)Tb(this);return null}var z=Y.needReadable;if(d1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,d1("length less than watermark",z);if(Y.ended||Y.reading)z=!1,d1("reading or ended",z);else if(z){if(d1("do read"),Y.reading=!0,Y.sync=!0,Y.length===0)Y.needReadable=!0;if(this._read(Y.highWaterMark),Y.sync=!1,!Y.reading)$=QN0(q,Y)}var J;if($>0)J=LN0($,Y);else J=null;if(J===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)Tb(this)}if(J!==null)this.emit("data",J);return J};function jA1($,Y){if(Y.ended)return;if(Y.decoder){var q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}Y.ended=!0,jN($)}function jN($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(d1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)CU.nextTick(KN0,$);else KN0($)}function KN0($){d1("emit readable"),$.emit("readable"),jb($)}function VN0($,Y){if(!Y.readingMore)Y.readingMore=!0,CU.nextTick(_A1,$,Y)}function _A1($,Y){var q=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length<Y.highWaterMark)if(d1("maybeReadMore read 0"),$.read(0),q===Y.length)break;else q=Y.length;Y.readingMore=!1}B4.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};B4.prototype.pipe=function($,Y){var q=this,z=this._readableState;switch(z.pipesCount){case 0:z.pipes=$;break;case 1:z.pipes=[z.pipes,$];break;default:z.pipes.push($);break}z.pipesCount+=1,d1("pipe count=%d opts=%j",z.pipesCount,Y);var J=(!Y||Y.end!==!1)&&$!==process.stdout&&$!==process.stderr,U=J?Q:F;if(z.endEmitted)CU.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(O,P){if(d1("onunpipe"),O===q){if(P&&P.hasUnpiped===!1)P.hasUnpiped=!0,H()}}function Q(){d1("onend"),$.end()}var K=RA1(q);$.on("drain",K);var G=!1;function H(){if(d1("cleanup"),$.removeListener("close",L),$.removeListener("finish",w),$.removeListener("drain",K),$.removeListener("error",X),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",F),q.removeListener("data",V),G=!0,z.awaitDrain&&(!$._writableState||$._writableState.needDrain))K()}var Z=!1;q.on("data",V);function V(O){d1("ondata"),Z=!1;var P=$.write(O);if(P===!1&&!Z){if((z.pipesCount===1&&z.pipes===$||z.pipesCount>1&&wN0(z.pipes,$)!==-1)&&!G)d1("false write response, pause",z.awaitDrain),z.awaitDrain++,Z=!0;q.pause()}}function X(O){if(d1("onerror",O),F(),$.removeListener("error",X),GN0($,"error")===0)$.emit("error",O)}AA1($,"error",X);function L(){$.removeListener("finish",w),F()}$.once("close",L);function w(){d1("onfinish"),$.removeListener("close",L),F()}$.once("finish",w);function F(){d1("unpipe"),q.unpipe($)}if($.emit("pipe",q),!z.flowing)d1("pipe resume"),q.resume();return $};function RA1($){return function(){var Y=$._readableState;if(d1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&GN0($,"data"))Y.flowing=!0,jb($)}}B4.prototype.unpipe=function($){var Y=this._readableState,q={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,q);return this}if(!$){var{pipes:z,pipesCount:J}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var U=0;U<J;U++)z[U].emit("unpipe",this,{hasUnpiped:!1});return this}var I=wN0(Y.pipes,$);if(I===-1)return this;if(Y.pipes.splice(I,1),Y.pipesCount-=1,Y.pipesCount===1)Y.pipes=Y.pipes[0];return $.emit("unpipe",this,q),this};B4.prototype.on=function($,Y){var q=Eb.prototype.on.call(this,$,Y);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var z=this._readableState;if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.emittedReadable=!1,!z.reading)CU.nextTick(CA1,this);else if(z.length)jN(this)}}return q};B4.prototype.addListener=B4.prototype.on;function CA1($){d1("readable nexttick read 0"),$.read(0)}B4.prototype.resume=function(){var $=this._readableState;if(!$.flowing)d1("resume"),$.flowing=!0,vA1(this,$);return this};function vA1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,CU.nextTick(hA1,$,Y)}function hA1($,Y){if(!Y.reading)d1("resume read 0"),$.read(0);if(Y.resumeScheduled=!1,Y.awaitDrain=0,$.emit("resume"),jb($),Y.flowing&&!Y.reading)$.read(0)}B4.prototype.pause=function(){if(d1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)d1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function jb($){var Y=$._readableState;d1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}B4.prototype.wrap=function($){var Y=this,q=this._readableState,z=!1;$.on("end",function(){if(d1("wrapped end"),q.decoder&&!q.ended){var I=q.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(d1("wrapped data"),q.decoder)I=q.decoder.write(I);if(q.objectMode&&(I===null||I===void 0))return;else if(!q.objectMode&&(!I||!I.length))return;var Q=Y.push(I);if(!Q)z=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(I){return function(){return $[I].apply($,arguments)}}(J);for(var U=0;U<Ab.length;U++)$.on(Ab[U],this.emit.bind(this,Ab[U]));return this._read=function(I){if(d1("wrapped _read",I),z)z=!1,$.resume()},this};Object.defineProperty(B4.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});B4._fromList=LN0;function LN0($,Y){if(Y.length===0)return null;var q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.head.data;else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=gA1($,Y.buffer,Y.decoder);return q}function gA1($,Y,q){var z;if($<Y.head.data.length)z=Y.head.data.slice(0,$),Y.head.data=Y.head.data.slice($);else if($===Y.head.data.length)z=Y.shift();else z=q?SA1($,Y):yA1($,Y);return z}function SA1($,Y){var q=Y.head,z=1,J=q.data;$-=J.length;while(q=q.next){var U=q.data,I=$>U.length?U.length:$;if(I===U.length)J+=U;else J+=U.slice(0,$);if($-=I,$===0){if(I===U.length)if(++z,q.next)Y.head=q.next;else Y.head=Y.tail=null;else Y.head=q,q.data=U.slice(I);break}++z}return Y.length-=z,J}function yA1($,Y){var q=YZ.allocUnsafe($),z=Y.head,J=1;z.data.copy(q),$-=z.data.length;while(z=z.next){var U=z.data,I=$>U.length?U.length:$;if(U.copy(q,q.length-$,0,I),$-=I,$===0){if(I===U.length)if(++J,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=U.slice(I);break}++J}return Y.length-=J,q}function Tb($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,CU.nextTick(xA1,Y,$)}function xA1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function wN0($,Y){for(var q=0,z=$.length;q<z;q++)if($[q]===Y)return q;return-1}});var _b=M((W34,NN0)=>{NN0.exports=U3;var _N=dY(),MN0=Object.create(W4());MN0.inherits=m0();MN0.inherits(U3,_N);function kA1($,Y){var q=this._transformState;q.transforming=!1;var z=q.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(q.writechunk=null,q.writecb=null,Y!=null)this.push(Y);z($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function U3($){if(!(this instanceof U3))return new U3($);if(_N.call(this,$),this._transformState={afterTransform:kA1.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",uA1)}function uA1(){var $=this;if(typeof this._flush==="function")this._flush(function(Y,q){ON0($,Y,q)});else ON0(this,null,null)}U3.prototype.push=function($,Y){return this._transformState.needTransform=!1,_N.prototype.push.call(this,$,Y)};U3.prototype._transform=function($,Y,q){throw Error("_transform() is not implemented")};U3.prototype._write=function($,Y,q){var z=this._transformState;if(z.writecb=q,z.writechunk=$,z.writeencoding=Y,!z.transforming){var J=this._readableState;if(z.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};U3.prototype._read=function($){var Y=this._transformState;if(Y.writechunk!==null&&Y.writecb&&!Y.transforming)Y.transforming=!0,this._transform(Y.writechunk,Y.writeencoding,Y.afterTransform);else Y.needTransform=!0};U3.prototype._destroy=function($,Y){var q=this;_N.prototype._destroy.call(this,$,function(z){Y(z),q.emit("close")})};function ON0($,Y,q){if(Y)return $.emit("error",Y);if(q!=null)$.push(q);if($._writableState.length)throw Error("Calling transform done when ws.length != 0");if($._transformState.transforming)throw Error("Calling transform done when still transforming");return $.push(null)}});var BN0=M((X34,AN0)=>{AN0.exports=qZ;var DN0=_b(),PN0=Object.create(W4());PN0.inherits=m0();PN0.inherits(qZ,DN0);function qZ($){if(!(this instanceof qZ))return new qZ($);DN0.call(this,$)}qZ.prototype._transform=function($,Y,q){q(null,$)}});var TN0=M((t6,RN)=>{var z9=m("stream");if(process.env.READABLE_STREAM==="disable"&&z9)RN.exports=z9,t6=RN.exports=z9.Readable,t6.Readable=z9.Readable,t6.Writable=z9.Writable,t6.Duplex=z9.Duplex,t6.Transform=z9.Transform,t6.PassThrough=z9.PassThrough,t6.Stream=z9;else t6=RN.exports=Ob(),t6.Stream=z9||t6,t6.Readable=t6,t6.Writable=wb(),t6.Duplex=dY(),t6.Transform=_b(),t6.PassThrough=BN0()});var vb=M((V34,Cb)=>{var Rb=TN0();function vU($,Y,q){if(typeof q>"u")q=Y,Y=$,$=null;if(Rb.Duplex.call(this,$),typeof q.read!=="function")q=new Rb.Readable($).wrap(q);this._writable=Y,this._readable=q,this._waiting=!1;var z=this;if(Y.once("finish",function(){z.end()}),this.once("finish",function(){Y.end()}),q.on("readable",function(){if(z._waiting)z._waiting=!1,z._read()}),q.once("end",function(){z.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)Y.on("error",function(J){z.emit("error",J)}),q.on("error",function(J){z.emit("error",J)})}vU.prototype=Object.create(Rb.Duplex.prototype,{constructor:{value:vU}});vU.prototype._write=function(Y,q,z){this._writable.write(Y,q,z)};vU.prototype._read=function(){var Y,q=0;while((Y=this._readable.read())!==null)this.push(Y),q++;if(q===0)this._waiting=!0};Cb.exports=function(Y,q,z){return new vU(Y,q,z)};Cb.exports.DuplexWrapper=vU});var jN0=M((L34,EN0)=>{var hU=m("stream"),fA1=DN(),bA1=vb(),iA1=ON();if(!hU.Writable||!hU.Writable.prototype.destroy)hU=z3();function nA1($,Y){var q=hU.PassThrough({objectMode:!0}),z=hU.PassThrough(),J=hU.Transform({objectMode:!0}),U=$ instanceof RegExp?$:$&&new RegExp($),I;J._transform=function(K,G,H){if(I||U&&!U.exec(K.path))return K.autodrain(),H();else I=!0,Q.emit("entry",K),K.on("error",function(Z){z.emit("error",Z)}),K.pipe(z).on("error",function(Z){H(Z)}).on("finish",function(Z){H(null,Z)})},q.pipe(fA1(Y)).on("error",function(K){z.emit("error",K)}).pipe(J).on("error",Object).on("finish",function(){if(!I)z.emit("error",Error("PATTERN_NOT_FOUND"));else z.end()});var Q=bA1(q,z);return Q.buffer=function(){return iA1(z)},Q}EN0.exports=nA1});var CN=M((w34,RN0)=>{RN0.exports=p7;var hb=m("stream").Stream,cA1=m0();function p7(){hb.call(this)}cA1(p7,hb);p7.prototype.on=function($,Y){if($==="ready"&&this.ready)process.nextTick(Y.bind(this));else hb.prototype.on.call(this,$,Y);return this};p7.prototype.abort=function(){this._aborted=!0,this.emit("abort")};p7.prototype.destroy=function(){};p7.prototype.warn=function($,Y){var q=this,z=_N0($,Y,q);if(!q.listeners("warn"))console.error(`%s %s
path = %s
syscall = %s
fstream_type = %s
fstream_path = %s
fstream_unc_path = %s
fstream_class = %s
fstream_stack =
%s
`,Y||"UNKNOWN",z.stack,z.path,z.syscall,z.fstream_type,z.fstream_path,z.fstream_unc_path,z.fstream_class,z.fstream_stack.join(`
`));else q.emit("warn",z)};p7.prototype.info=function($,Y){this.emit("info",$,Y)};p7.prototype.error=function($,Y,q){var z=_N0($,Y,this);if(q)throw z;else this.emit("error",z)};function _N0($,Y,q){if(!($ instanceof Error))$=Error($);if($.code=$.code||Y,$.path=$.path||q.path,$.fstream_type=$.fstream_type||q.type,$.fstream_path=$.fstream_path||q.path,q._path!==q.path)$.fstream_unc_path=$.fstream_unc_path||q._path;if(q.linkpath)$.fstream_linkpath=$.fstream_linkpath||q.linkpath;return $.fstream_class=$.fstream_class||q.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(z){return z.replace(/^ {4}at /,"")}),$}});var zZ=M((F34,CN0)=>{CN0.exports=pA1;function pA1($){var Y=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],q;if($.type&&Y.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var z=0,J=Y.length;z<J;z++){q=Y[z];var U=$[q]||$["is"+q];if(typeof U==="function")U=U.call($);if(U)return $[q]=!0,$.type=q,q}return null}});var Sb=M((O34,vN0)=>{vN0.exports=JZ;var dA1=m8(),mA1=m0(),gb=mY();mA1(JZ,gb);function JZ($){var Y=this;if(!(Y instanceof JZ))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);gb.call(Y,$)}JZ.prototype._stat=function($){var Y=this;dA1.readlink(Y._path,function(q,z){if(q)return Y.error(q);Y.linkpath=Y.props.linkpath=z,Y.emit("linkpath",z),gb.prototype._stat.call(Y,$)})};JZ.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var xb=M((M34,SN0)=>{SN0.exports=J9;var gN0=m8(),lA1=m0(),UZ=m("path"),yb=mY(),hN0=m("assert").ok;lA1(J9,yb);function J9($){var Y=this;if(!(Y instanceof J9))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(Y.entries=null,Y._index=-1,Y._paused=!1,Y._length=-1,$.sort)this.sort=$.sort;yb.call(this,$)}J9.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,gN0.readdir($._path,function(Y,q){if(Y)return $.error(Y);if($.entries=q,$.emit("entries",q),$._paused)$.once("resume",z);else z();function z(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};J9.prototype._read=function(){var $=this;if(!$.entries)return $._getEntries();if($._paused||$._currentEntry||$._aborted)return;if($._index++,$._index>=$.entries.length){if(!$._ended)$._ended=!0,$.emit("end"),$.emit("close");return}var Y=UZ.resolve($._path,$.entries[$._index]);hN0(Y!==$._path),hN0($.entries[$._index]),$._currentEntry=Y,gN0[$.props.follow?"stat":"lstat"](Y,function(q,z){if(q)return $.error(q);var J=$._proxy||$;z.path=Y,z.basename=UZ.basename(Y),z.dirname=UZ.dirname(Y);var U=$.getChildProps.call(J,z);U.path=Y,U.basename=UZ.basename(Y),U.dirname=UZ.dirname(Y);var I=yb(U,z);$._currentEntry=I,I.on("pause",function(G){if(!$._paused&&!I._disowned)$.pause(G)}),I.on("resume",function(G){if($._paused&&!I._disowned)$.resume(G)}),I.on("stat",function(G){if($.emit("_entryStat",I,G),I._aborted)return;if(I._paused)I.once("resume",function(){$.emit("entryStat",I,G)});else $.emit("entryStat",I,G)}),I.on("ready",function G(){if($._paused)return I.pause($),$.once("resume",G);if(I.type==="Socket")$.emit("socket",I);else $.emitEntry(I)});var Q=!1;I.on("close",K),I.on("disown",K);function K(){if(Q)return;if(Q=!0,$.emit("childEnd",I),$.emit("entryEnd",I),$._currentEntry=null,!$._paused)$._read()}I.on("error",function(G){if(I._swallowErrors)$.warn(G),I.emit("end"),I.emit("close");else $.emit("error",G)}),["child","childEnd","warn"].forEach(function(G){I.on(G,$.emit.bind($,G))})})};J9.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};J9.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}};J9.prototype.pause=function($){var Y=this;if(Y._paused)return;if($=$||Y,Y._paused=!0,Y._currentEntry&&Y._currentEntry.pause)Y._currentEntry.pause($);Y.emit("pause",$)};J9.prototype.resume=function($){var Y=this;if(!Y._paused)return;if($=$||Y,Y._paused=!1,Y.emit("resume",$),Y._paused)return;if(Y._currentEntry){if(Y._currentEntry.resume)Y._currentEntry.resume($)}else Y._read()};J9.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var kb=M((N34,uN0)=>{uN0.exports=lY;var oA1=m8(),rA1=m0(),yN0=mY(),xN0={EOF:!0},kN0={CLOSE:!0};rA1(lY,yN0);function lY($){var Y=this;if(!(Y instanceof lY))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesEmitted=0,yN0.call(Y,$)}lY.prototype._getStream=function(){var $=this,Y=$._stream=oA1.createReadStream($._path,$.props);if($.props.blksize)Y.bufferSize=$.props.blksize;Y.on("open",$.emit.bind($,"open")),Y.on("data",function(q){if($._bytesEmitted+=q.length,!q.length)return;else if($._paused||$._buffer.length)$._buffer.push(q),$._read();else $.emit("data",q)}),Y.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(xN0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count
expect: `+$.props.size+`
actual: `+$._bytesEmitted)}),Y.on("close",function(){if($._paused||$._buffer.length)$._buffer.push(kN0),$._read();else $.emit("close")}),Y.on("error",function(q){$.emit("error",q)}),$._read()};lY.prototype._read=function(){var $=this;if($._paused)return;if(!$._stream)return $._getStream();if($._buffer.length){var Y=$._buffer;for(var q=0,z=Y.length;q<z;q++){var J=Y[q];if(J===xN0)$.emit("end");else if(J===kN0)$.emit("close");else $.emit("data",J);if($._paused){$._buffer=Y.slice(q);return}}$._buffer.length=0}};lY.prototype.pause=function($){var Y=this;if(Y._paused)return;if($=$||Y,Y._paused=!0,Y._stream)Y._stream.pause();Y.emit("pause",$)};lY.prototype.resume=function($){var Y=this;if(!Y._paused)return;if($=$||Y,Y.emit("resume",$),Y._paused=!1,Y._stream)Y._stream.resume();Y._read()}});var iN0=M((D34,bN0)=>{bN0.exports=vN;var sA1=m0(),fN0=mY();sA1(vN,fN0);function vN($){var Y=this;if(!(Y instanceof vN))throw Error("SocketReader must be called as constructor.");if(!($.type==="Socket"&&$.Socket))throw Error("Non-socket type "+$.type);fN0.call(Y,$)}vN.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var fb=M((P34,nN0)=>{nN0.exports=oY;var ub=mY(),tA1=zZ(),aA1=m0(),eA1=m8();aA1(oY,ub);function oY($){var Y=this;if(!(Y instanceof oY))throw Error("ProxyReader must be called as constructor.");Y.props=$,Y._buffer=[],Y.ready=!1,ub.call(Y,$)}oY.prototype._stat=function(){var $=this,Y=$.props,q=Y.follow?"stat":"lstat";eA1[q](Y.path,function(z,J){var U;if(z||!J)U="File";else U=tA1(J);Y[U]=!0,Y.type=$.type=U,$._old=J,$._addProxy(ub(Y,J))})};oY.prototype._addProxy=function($){var Y=this;if(Y._proxyTarget)return Y.error("proxy already set");Y._proxyTarget=$,$._proxy=Y,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach(function(z){$.on(z,Y.emit.bind(Y,z))}),Y.emit("proxy",$),$.on("ready",function(){Y.ready=!0,Y.emit("ready")});var q=Y._buffer;Y._buffer.length=0,q.forEach(function(z){$[z[0]].apply($,z[1])})};oY.prototype.pause=function(){return this._proxyTarget?this._proxyTarget.pause():!1};oY.prototype.resume=function(){return this._proxyTarget?this._proxyTarget.resume():!1}});var mY=M((A34,dN0)=>{dN0.exports=O5;var $B1=m8(),YB1=m("stream").Stream,qB1=m0(),bb=m("path"),ib=zZ(),hN=O5.hardLinks={},cN0=CN();qB1(O5,cN0);var pN0=Sb();function O5($,Y){var q=this;if(!(q instanceof O5))return new O5($,Y);if(typeof $==="string")$={path:$};var z,J;if($.type&&typeof $.type==="function")z=$.type,J=z;else z=ib($),J=O5;if(Y&&!z)z=ib(Y),$[z]=!0,$.type=z;switch(z){case"Directory":J=xb();break;case"Link":case"File":J=kb();break;case"SymbolicLink":J=pN0;break;case"Socket":J=iN0();break;case null:J=fb();break}if(!(q instanceof J))return new J($);if(cN0.call(q),!$.path)q.error("Must provide a path",null,!0);if(q.readable=!0,q.writable=!1,q.type=z,q.props=$,q.depth=$.depth=$.depth||0,q.parent=$.parent||null,q.root=$.root||$.parent&&$.parent.root||q,q._path=q.path=bb.resolve($.path),process.platform==="win32"){if(q.path=q._path=q.path.replace(/\?/g,"_"),q._path.length>=260)q._swallowErrors=!0,q._path="\\\\?\\"+q.path.replace(/\//g,"\\")}if(q.basename=$.basename=bb.basename(q.path),q.dirname=$.dirname=bb.dirname(q.path),$.parent=$.root=null,q.size=$.size,q.filter=typeof $.filter==="function"?$.filter:null,$.sort==="alpha")$.sort=zB1;q._stat(Y)}function zB1($,Y){return $===Y?0:$.toLowerCase()>Y.toLowerCase()?1:$.toLowerCase()<Y.toLowerCase()?-1:$>Y?1:-1}O5.prototype._stat=function($){var Y=this,q=Y.props,z=q.follow?"stat":"lstat";if($)process.nextTick(J.bind(null,null,$));else $B1[z](Y._path,J);function J(U,I){if(U)return Y.error(U);if(Object.keys(I).forEach(function(X){q[X]=I[X]}),Y.size!==void 0&&q.size!==Y.size)return Y.error("incorrect size");Y.size=q.size;var Q=ib(q),K=q.hardlinks!==!1;if(K&&Q!=="Directory"&&q.nlink&&q.nlink>1){var G=q.dev+":"+q.ino;if(hN[G]===Y._path||!hN[G])hN[G]=Y._path;else Q=Y.type=Y.props.type="Link",Y.Link=Y.props.Link=!0,Y.linkpath=Y.props.linkpath=hN[G],Y._stat=Y._read=pN0.prototype._read}if(Y.type&&Y.type!==Q)Y.error("Unexpected type: "+Q);if(Y.filter){var H=Y._proxy||Y;if(!Y.filter.call(H,H,q)){if(!Y._disowned)Y.abort(),Y.emit("end"),Y.emit("close");return}}var Z=["_stat","stat","ready"],V=0;(function X(){if(Y._aborted){Y.emit("end"),Y.emit("close");return}if(Y._paused&&Y.type!=="Directory"){Y.once("resume",X);return}var L=Z[V++];if(!L)return Y._read();Y.emit(L,q),X()})()}};O5.prototype.pipe=function($){var Y=this;if(typeof $.add==="function")Y.on("entry",function(q){var z=$.add(q);if(z===!1)Y.pause()});return YB1.prototype.pipe.apply(this,arguments)};O5.prototype.pause=function($){if(this._paused=!0,$=$||this,this.emit("pause",$),this._stream)this._stream.pause($)};O5.prototype.resume=function($){if(this._paused=!1,$=$||this,this.emit("resume",$),this._stream)this._stream.resume($);this._read()};O5.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}});var db=M((B34,eN0)=>{eN0.exports=pb;pb.sync=aN0;var m1=m("assert"),rN0=m("path"),mN0=m("fs"),gU=void 0;try{gU=WH()}catch($){}var sN0=parseInt("666",8),JB1={nosort:!0,silent:!0},nb=0,IZ=process.platform==="win32";function tN0($){var Y=["unlink","chmod","stat","lstat","rmdir","readdir"];if(Y.forEach(function(q){$[q]=$[q]||mN0[q],q=q+"Sync",$[q]=$[q]||mN0[q]}),$.maxBusyTries=$.maxBusyTries||3,$.emfileWait=$.emfileWait||1000,$.glob===!1)$.disableGlob=!0;if($.disableGlob!==!0&&gU===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");$.disableGlob=$.disableGlob||!1,$.glob=$.glob||JB1}function pb($,Y,q){if(typeof Y==="function")q=Y,Y={};m1($,"rimraf: missing path"),m1.equal(typeof $,"string","rimraf: path should be a string"),m1.equal(typeof q,"function","rimraf: callback function required"),m1(Y,"rimraf: invalid options argument provided"),m1.equal(typeof Y,"object","rimraf: options should be object"),tN0(Y);var z=0,J=null,U=0;if(Y.disableGlob||!gU.hasMagic($))return Q(null,[$]);Y.lstat($,function(K,G){if(!K)return Q(null,[$]);gU($,Y.glob,Q)});function I(K){if(J=J||K,--U===0)q(J)}function Q(K,G){if(K)return q(K);if(U=G.length,U===0)return q();G.forEach(function(H){cb(H,Y,function Z(V){if(V){if((V.code==="EBUSY"||V.code==="ENOTEMPTY"||V.code==="EPERM")&&z<Y.maxBusyTries){z++;var X=z*100;return setTimeout(function(){cb(H,Y,Z)},X)}if(V.code==="EMFILE"&&nb<Y.emfileWait)return setTimeout(function(){cb(H,Y,Z)},nb++);if(V.code==="ENOENT")V=null}nb=0,I(V)})})}}function cb($,Y,q){m1($),m1(Y),m1(typeof q==="function"),Y.lstat($,function(z,J){if(z&&z.code==="ENOENT")return q(null);if(z&&z.code==="EPERM"&&IZ)lN0($,Y,z,q);if(J&&J.isDirectory())return gN($,Y,z,q);Y.unlink($,function(U){if(U){if(U.code==="ENOENT")return q(null);if(U.code==="EPERM")return IZ?lN0($,Y,U,q):gN($,Y,U,q);if(U.code==="EISDIR")return gN($,Y,U,q)}return q(U)})})}function lN0($,Y,q,z){if(m1($),m1(Y),m1(typeof z==="function"),q)m1(q instanceof Error);Y.chmod($,sN0,function(J){if(J)z(J.code==="ENOENT"?null:q);else Y.stat($,function(U,I){if(U)z(U.code==="ENOENT"?null:q);else if(I.isDirectory())gN($,Y,q,z);else Y.unlink($,z)})})}function oN0($,Y,q){if(m1($),m1(Y),q)m1(q instanceof Error);try{Y.chmodSync($,sN0)}catch(J){if(J.code==="ENOENT")return;else throw q}try{var z=Y.statSync($)}catch(J){if(J.code==="ENOENT")return;else throw q}if(z.isDirectory())SN($,Y,q);else Y.unlinkSync($)}function gN($,Y,q,z){if(m1($),m1(Y),q)m1(q instanceof Error);m1(typeof z==="function"),Y.rmdir($,function(J){if(J&&(J.code==="ENOTEMPTY"||J.code==="EEXIST"||J.code==="EPERM"))UB1($,Y,z);else if(J&&J.code==="ENOTDIR")z(q);else z(J)})}function UB1($,Y,q){m1($),m1(Y),m1(typeof q==="function"),Y.readdir($,function(z,J){if(z)return q(z);var U=J.length;if(U===0)return Y.rmdir($,q);var I;J.forEach(function(Q){pb(rN0.join($,Q),Y,function(K){if(I)return;if(K)return q(I=K);if(--U===0)Y.rmdir($,q)})})})}function aN0($,Y){Y=Y||{},tN0(Y),m1($,"rimraf: missing path"),m1.equal(typeof $,"string","rimraf: path should be a string"),m1(Y,"rimraf: missing options"),m1.equal(typeof Y,"object","rimraf: options should be object");var q;if(Y.disableGlob||!gU.hasMagic($))q=[$];else try{Y.lstatSync($),q=[$]}catch(U){q=gU.sync($,Y.glob)}if(!q.length)return;for(var z=0;z<q.length;z++){var $=q[z];try{var J=Y.lstatSync($)}catch(I){if(I.code==="ENOENT")return;if(I.code==="EPERM"&&IZ)oN0($,Y,I)}try{if(J&&J.isDirectory())SN($,Y,null);else Y.unlinkSync($)}catch(I){if(I.code==="ENOENT")return;if(I.code==="EPERM")return IZ?oN0($,Y,I):SN($,Y,I);if(I.code!=="EISDIR")throw I;SN($,Y,I)}}}function SN($,Y,q){if(m1($),m1(Y),q)m1(q instanceof Error);try{Y.rmdirSync($)}catch(z){if(z.code==="ENOENT")return;if(z.code==="ENOTDIR")throw q;if(z.code==="ENOTEMPTY"||z.code==="EEXIST"||z.code==="EPERM")IB1($,Y)}}function IB1($,Y){m1($),m1(Y),Y.readdirSync($).forEach(function(I){aN0(rN0.join($,I),Y)});var q=IZ?100:1,z=0;do{var J=!0;try{var U=Y.rmdirSync($,Y);return J=!1,U}finally{if(++z<q&&J)continue}}while(!0)}});var QZ=M(($D0)=>{Object.defineProperty($D0,"__esModule",{value:!0});$D0.optsArg=void 0;var yN=m("fs"),QB1=($)=>{if(!$)$={mode:511};else if(typeof $==="object")$={mode:511,...$};else if(typeof $==="number")$={mode:$};else if(typeof $==="string")$={mode:parseInt($,8)};else throw TypeError("invalid options argument");let Y=$,q=$.fs||{};return $.mkdir=$.mkdir||q.mkdir||yN.mkdir,$.mkdirAsync=$.mkdirAsync?$.mkdirAsync:async(z,J)=>{return new Promise((U,I)=>Y.mkdir(z,J,(Q,K)=>Q?I(Q):U(K)))},$.stat=$.stat||q.stat||yN.stat,$.statAsync=$.statAsync?$.statAsync:async(z)=>new Promise((J,U)=>Y.stat(z,(I,Q)=>I?U(I):J(Q))),$.statSync=$.statSync||q.statSync||yN.statSync,$.mkdirSync=$.mkdirSync||q.mkdirSync||yN.mkdirSync,Y};$D0.optsArg=QB1});var uN=M((JD0)=>{Object.defineProperty(JD0,"__esModule",{value:!0});JD0.mkdirpManual=JD0.mkdirpManualSync=void 0;var qD0=m("path"),zD0=QZ(),KB1=($,Y,q)=>{let z=(0,qD0.dirname)($),J={...(0,zD0.optsArg)(Y),recursive:!1};if(z===$)try{return J.mkdirSync($,J)}catch(U){let I=U;if(I&&I.code!=="EISDIR")throw U;return}try{return J.mkdirSync($,J),q||$}catch(U){let I=U;if(I&&I.code==="ENOENT")return JD0.mkdirpManualSync($,J,JD0.mkdirpManualSync(z,J,q));if(I&&I.code!=="EEXIST"&&I&&I.code!=="EROFS")throw U;try{if(!J.statSync($).isDirectory())throw U}catch(Q){throw U}}};JD0.mkdirpManualSync=KB1;JD0.mkdirpManual=Object.assign(async($,Y,q)=>{let z=(0,zD0.optsArg)(Y);z.recursive=!1;let J=(0,qD0.dirname)($);if(J===$)return z.mkdirAsync($,z).catch((U)=>{let I=U;if(I&&I.code!=="EISDIR")throw U});return z.mkdirAsync($,z).then(()=>q||$,async(U)=>{let I=U;if(I&&I.code==="ENOENT")return JD0.mkdirpManual(J,z).then((Q)=>JD0.mkdirpManual($,z,Q));if(I&&I.code!=="EEXIST"&&I.code!=="EROFS")throw U;return z.statAsync($).then((Q)=>{if(Q.isDirectory())return q;else throw U},()=>{throw U})})},{sync:JD0.mkdirpManualSync})});var KD0=M((ID0)=>{Object.defineProperty(ID0,"__esModule",{value:!0});ID0.findMadeSync=ID0.findMade=void 0;var UD0=m("path"),GB1=async($,Y,q)=>{if(q===Y)return;return $.statAsync(Y).then((z)=>z.isDirectory()?q:void 0,(z)=>{let J=z;return J&&J.code==="ENOENT"?ID0.findMade($,(0,UD0.dirname)(Y),Y):void 0})};ID0.findMade=GB1;var HB1=($,Y,q)=>{if(q===Y)return;try{return $.statSync(Y).isDirectory()?q:void 0}catch(z){let J=z;return J&&J.code==="ENOENT"?ID0.findMadeSync($,(0,UD0.dirname)(Y),Y):void 0}};ID0.findMadeSync=HB1});var lb=M((XD0)=>{Object.defineProperty(XD0,"__esModule",{value:!0});XD0.mkdirpNative=XD0.mkdirpNativeSync=void 0;var GD0=m("path"),HD0=KD0(),ZD0=uN(),WD0=QZ(),ZB1=($,Y)=>{let q=(0,WD0.optsArg)(Y);if(q.recursive=!0,(0,GD0.dirname)($)===$)return q.mkdirSync($,q);let J=(0,HD0.findMadeSync)(q,$);try{return q.mkdirSync($,q),J}catch(U){let I=U;if(I&&I.code==="ENOENT")return(0,ZD0.mkdirpManualSync)($,q);else throw U}};XD0.mkdirpNativeSync=ZB1;XD0.mkdirpNative=Object.assign(async($,Y)=>{let q={...(0,WD0.optsArg)(Y),recursive:!0};if((0,GD0.dirname)($)===$)return await q.mkdirAsync($,q);return(0,HD0.findMade)(q,$).then((J)=>q.mkdirAsync($,q).then((U)=>J||U).catch((U)=>{let I=U;if(I&&I.code==="ENOENT")return(0,ZD0.mkdirpManual)($,q);else throw U}))},{sync:XD0.mkdirpNativeSync})});var MD0=M((FD0)=>{Object.defineProperty(FD0,"__esModule",{value:!0});FD0.pathArg=void 0;var WB1=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,wD0=m("path"),XB1=($)=>{if(/\0/.test($))throw Object.assign(TypeError("path must be a string without null bytes"),{path:$,code:"ERR_INVALID_ARG_VALUE"});if($=(0,wD0.resolve)($),WB1==="win32"){let Y=/[*|"<>?:]/,{root:q}=(0,wD0.parse)($);if(Y.test($.substring(q.length)))throw Object.assign(Error("Illegal characters in path."),{path:$,code:"EINVAL"})}return $};FD0.pathArg=XB1});var rb=M((AD0)=>{Object.defineProperty(AD0,"__esModule",{value:!0});AD0.useNative=AD0.useNativeSync=void 0;var ND0=m("fs"),DD0=QZ(),VB1=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,ob=VB1.replace(/^v/,"").split("."),PD0=+ob[0]>10||+ob[0]===10&&+ob[1]>=12;AD0.useNativeSync=!PD0?()=>!1:($)=>(0,DD0.optsArg)($).mkdirSync===ND0.mkdirSync;AD0.useNative=Object.assign(!PD0?()=>!1:($)=>(0,DD0.optsArg)($).mkdir===ND0.mkdir,{sync:AD0.useNativeSync})});var sb=M((l7)=>{Object.defineProperty(l7,"__esModule",{value:!0});l7.mkdirp=l7.nativeSync=l7.native=l7.manualSync=l7.manual=l7.sync=l7.mkdirpSync=l7.useNativeSync=l7.useNative=l7.mkdirpNativeSync=l7.mkdirpNative=l7.mkdirpManualSync=l7.mkdirpManual=void 0;var d7=uN(),m7=lb(),ED0=QZ(),jD0=MD0(),fN=rb(),_D0=uN();Object.defineProperty(l7,"mkdirpManual",{enumerable:!0,get:function(){return _D0.mkdirpManual}});Object.defineProperty(l7,"mkdirpManualSync",{enumerable:!0,get:function(){return _D0.mkdirpManualSync}});var RD0=lb();Object.defineProperty(l7,"mkdirpNative",{enumerable:!0,get:function(){return RD0.mkdirpNative}});Object.defineProperty(l7,"mkdirpNativeSync",{enumerable:!0,get:function(){return RD0.mkdirpNativeSync}});var CD0=rb();Object.defineProperty(l7,"useNative",{enumerable:!0,get:function(){return CD0.useNative}});Object.defineProperty(l7,"useNativeSync",{enumerable:!0,get:function(){return CD0.useNativeSync}});var LB1=($,Y)=>{$=(0,jD0.pathArg)($);let q=(0,ED0.optsArg)(Y);return(0,fN.useNativeSync)(q)?(0,m7.mkdirpNativeSync)($,q):(0,d7.mkdirpManualSync)($,q)};l7.mkdirpSync=LB1;l7.sync=l7.mkdirpSync;l7.manual=d7.mkdirpManual;l7.manualSync=d7.mkdirpManualSync;l7.native=m7.mkdirpNative;l7.nativeSync=m7.mkdirpNativeSync;l7.mkdirp=Object.assign(async($,Y)=>{$=(0,jD0.pathArg)($);let q=(0,ED0.optsArg)(Y);return(0,fN.useNative)(q)?(0,m7.mkdirpNative)($,q):(0,d7.mkdirpManual)($,q)},{mkdirpSync:l7.mkdirpSync,mkdirpNative:m7.mkdirpNative,mkdirpNativeSync:m7.mkdirpNativeSync,mkdirpManual:d7.mkdirpManual,mkdirpManualSync:d7.mkdirpManualSync,sync:l7.mkdirpSync,native:m7.mkdirpNative,nativeSync:m7.mkdirpNativeSync,manual:d7.mkdirpManual,manualSync:d7.mkdirpManualSync,useNative:fN.useNative,useNativeSync:fN.useNativeSync})});var iN=M((u34,hD0)=>{hD0.exports=tb;function tb($){if($._collected)return;if($._paused)return $.on("resume",tb.bind(null,$));$._collected=!0,$.pause(),$.on("data",q),$.on("end",q);var Y=[];function q(I){if(typeof I==="string")I=new Buffer(I);if(Buffer.isBuffer(I)&&!I.length)return;Y.push(I)}$.on("entry",J);var z=[];function J(I){tb(I),z.push(I)}$.on("proxy",U);function U(I){I.pause()}$.pipe=function(I){return function(Q){var K=0;(function H(){var Z=z[K++];if(!Z)return G();if(Z.on("end",H),Q)Q.add(Z);else $.emit("entry",Z)})();function G(){if($.removeListener("entry",J),$.removeListener("data",q),$.removeListener("end",q),$.pipe=I,Q)$.pipe(Q);Y.forEach(function(H){if(H)$.emit("data",H);else $.emit("end")}),$.resume()}return Q}}($.pipe)}});var ab=M((f34,SD0)=>{SD0.exports=o7;var nN=SU(),DB1=m0(),PB1=sb(),gD0=m("path"),AB1=iN();DB1(o7,nN);function o7($){var Y=this;if(!(Y instanceof o7))Y.error("DirWriter must be called as constructor.",null,!0);if($.type!=="Directory"||!$.Directory)Y.error("Non-directory type "+$.type+" "+JSON.stringify($),null,!0);nN.call(this,$)}o7.prototype._create=function(){var $=this;PB1($._path,nN.dirmode,function(Y){if(Y)return $.error(Y);$.ready=!0,$.emit("ready"),$._process()})};o7.prototype.write=function(){return!0};o7.prototype.end=function(){this._ended=!0,this._process()};o7.prototype.add=function($){var Y=this;if(AB1($),!Y.ready||Y._currentEntry)return Y._buffer.push($),!1;if(Y._ended)return Y.error("add after end");return Y._buffer.push($),Y._process(),this._buffer.length===0};o7.prototype._process=function(){var $=this;if($._processing)return;var Y=$._buffer.shift();if(!Y){if($.emit("drain"),$._ended)$._finish();return}$._processing=!0,$.emit("entry",Y);var q=Y,z;do{if(z=q._path||q.path,z===$.root._path||z===$._path||z&&z.indexOf($._path)===0){if($._processing=!1,Y._collected)Y.pipe();return $._process()}q=q.parent}while(q);var J={parent:$,root:$.root||$,type:Y.type,depth:$.depth+1};if(z=Y._path||Y.path||Y.props.path,Y.parent)z=z.substr(Y.parent._path.length+1);J.path=gD0.join($.path,gD0.join("/",z)),J.filter=$.filter,Object.keys(Y.props).forEach(function(K){if(!J.hasOwnProperty(K))J[K]=Y.props[K]});var U=$._currentChild=new nN(J);U.on("ready",function(){Y.pipe(U),Y.resume()}),U.on("error",function(K){if(U._swallowErrors)$.warn(K),U.emit("end"),U.emit("close");else $.emit("error",K)}),U.on("close",Q);var I=!1;function Q(){if(I)return;I=!0,$._currentChild=null,$._processing=!1,$._process()}}});var eb=M((b34,fD0)=>{fD0.exports=KZ;var xD0=m8(),kD0=SU(),BB1=m0(),TB1=m("path"),EB1=db();BB1(KZ,kD0);function KZ($){var Y=this;if(!(Y instanceof KZ))throw Error("LinkWriter must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);if($.linkpath==="")$.linkpath=".";if(!$.linkpath)Y.error("Need linkpath property to create "+$.type);kD0.call(this,$)}KZ.prototype._create=function(){var $=this,Y=$.type==="Link"||process.platform==="win32",q=Y?"link":"symlink",z=Y?TB1.resolve($.dirname,$.linkpath):$.linkpath;if(Y)return yD0($,z,q);xD0.readlink($._path,function(J,U){if(U&&U===z)return uD0($);yD0($,z,q)})};function yD0($,Y,q){EB1($._path,function(z){if(z)return $.error(z);jB1($,Y,q)})}function jB1($,Y,q){xD0[q](Y,$._path,function(z){if(z)if((z.code==="ENOENT"||z.code==="EACCES"||z.code==="EPERM")&&process.platform==="win32")$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};else return $.error(z);uD0($)})}function uD0($){if($.ready=!0,$.emit("ready"),$._ended&&!$._finished)$._finish()}KZ.prototype.end=function(){if(this._ended=!0,this.ready)this._finished=!0,this._finish()}});var $i=M((i34,iD0)=>{iD0.exports=rY;var _B1=m8(),cN=SU(),RB1=m0(),bD0={};RB1(rY,cN);function rY($){var Y=this;if(!(Y instanceof rY))throw Error("FileWriter must be called as constructor.");if($.type!=="File"||!$.File)throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesWritten=0,cN.call(this,$)}rY.prototype._create=function(){var $=this;if($._stream)return;var Y={};if($.props.flags)Y.flags=$.props.flags;if(Y.mode=cN.filemode,$._old&&$._old.blksize)Y.bufferSize=$._old.blksize;$._stream=_B1.createWriteStream($._path,Y),$._stream.on("open",function(){$.ready=!0,$._buffer.forEach(function(q){if(q===bD0)$._stream.end();else $._stream.write(q)}),$.emit("ready"),$.emit("drain")}),$._stream.on("error",function(q){$.emit("error",q)}),$._stream.on("drain",function(){$.emit("drain")}),$._stream.on("close",function(){$._finish()})};rY.prototype.write=function($){var Y=this;if(Y._bytesWritten+=$.length,!Y.ready){if(!Buffer.isBuffer($)&&typeof $!=="string")throw Error("invalid write data");return Y._buffer.push($),!1}var q=Y._stream.write($);if(q===!1&&Y._stream._queue)return Y._stream._queue.length<=2;else return q};rY.prototype.end=function($){var Y=this;if($)Y.write($);if(!Y.ready)return Y._buffer.push(bD0),!1;return Y._stream.end()};rY.prototype._finish=function(){var $=this;if(typeof $.size==="number"&&$._bytesWritten!==$.size)$.error(`Did not get expected byte count.
expect: `+$.size+`
actual: `+$._bytesWritten);cN.prototype._finish.call($)}});var qi=M((n34,nD0)=>{nD0.exports=r7;var Yi=SU(),CB1=zZ(),vB1=m0(),hB1=iN(),gB1=m("fs");vB1(r7,Yi);function r7($){var Y=this;if(!(Y instanceof r7))throw Error("ProxyWriter must be called as constructor.");Y.props=$,Y._needDrain=!1,Yi.call(Y,$)}r7.prototype._stat=function(){var $=this,Y=$.props,q=Y.follow?"stat":"lstat";gB1[q](Y.path,function(z,J){var U;if(z||!J)U="File";else U=CB1(J);Y[U]=!0,Y.type=$.type=U,$._old=J,$._addProxy(Yi(Y,J))})};r7.prototype._addProxy=function($){var Y=this;if(Y._proxy)return Y.error("proxy already set");Y._proxy=$,["ready","error","close","pipe","drain","warn"].forEach(function(z){$.on(z,Y.emit.bind(Y,z))}),Y.emit("proxy",$);var q=Y._buffer;if(q.forEach(function(z){$[z[0]].apply($,z[1])}),Y._buffer.length=0,Y._needsDrain)Y.emit("drain")};r7.prototype.add=function($){if(hB1($),!this._proxy)return this._buffer.push(["add",[$]]),this._needDrain=!0,!1;return this._proxy.add($)};r7.prototype.write=function($){if(!this._proxy)return this._buffer.push(["write",[$]]),this._needDrain=!0,!1;return this._proxy.write($)};r7.prototype.end=function($){if(!this._proxy)return this._buffer.push(["end",[$]]),!1;return this._proxy.end($)}});var SU=M((c34,tD0)=>{tD0.exports=u$;var k$=m8(),SB1=m0(),yB1=db(),xB1=sb(),GZ=m("path"),pD0=process.platform==="win32"?0:process.umask(),dD0=zZ(),mD0=CN();SB1(u$,mD0);u$.dirmode=parseInt("0777",8)&~pD0;u$.filemode=parseInt("0666",8)&~pD0;var kB1=ab(),uB1=eb(),fB1=$i(),bB1=qi();function u$($,Y){var q=this;if(typeof $==="string")$={path:$};var z=dD0($),J=u$;switch(z){case"Directory":J=kB1;break;case"File":J=fB1;break;case"Link":case"SymbolicLink":J=uB1;break;case null:default:J=bB1;break}if(!(q instanceof J))return new J($);if(mD0.call(q),!$.path)q.error("Must provide a path",null,!0);if(q.type=$.type,q.props=$,q.depth=$.depth||0,q.clobber=$.clobber===!1?$.clobber:!0,q.parent=$.parent||null,q.root=$.root||$.parent&&$.parent.root||q,q._path=q.path=GZ.resolve($.path),process.platform==="win32"){if(q.path=q._path=q.path.replace(/\?/g,"_"),q._path.length>=260)q._swallowErrors=!0,q._path="\\\\?\\"+q.path.replace(/\//g,"\\")}if(q.basename=GZ.basename($.path),q.dirname=GZ.dirname($.path),q.linkpath=$.linkpath||null,$.parent=$.root=null,q.size=$.size,typeof $.mode==="string")$.mode=parseInt($.mode,8);q.readable=!1,q.writable=!0,q._buffer=[],q.ready=!1,q.filter=typeof $.filter==="function"?$.filter:null,q._stat(Y)}u$.prototype._create=function(){var $=this;k$[$.props.follow?"stat":"lstat"]($._path,function(Y){if(Y)return $.warn("Cannot create "+$._path+`
Unsupported type: `+$.type,"ENOTSUP");$._finish()})};u$.prototype._stat=function($){var Y=this,q=Y.props,z=q.follow?"stat":"lstat",J=Y._proxy||Y;if($)U(null,$);else k$[z](Y._path,U);function U(I,Q){if(Y.filter&&!Y.filter.call(J,J,Q)){Y._aborted=!0,Y.emit("end"),Y.emit("close");return}if(I||!Q)return zi(Y);Y._old=Q;var K=dD0(Q);if(K!==Y.type||Y.type==="File"&&Q.nlink>1)return yB1(Y._path,function(G){if(G)return Y.error(G);Y._old=null,zi(Y)});zi(Y)}};function zi($){xB1(GZ.dirname($._path),u$.dirmode,function(Y,q){if(Y)return $.error(Y);return $._madeDir=q,$._create()})}function lD0($,Y,q,z,J){var U=Y.mode,I=Y.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!k$[I])return J();if(typeof U!=="number")return J();var Q=q.mode&parseInt("0777",8);if(U=U&parseInt("0777",8),U===Q)return J();k$[I](z,U,J)}function oD0($,Y,q,z,J){if(process.platform==="win32")return J();if(!process.getuid||process.getuid()!==0)return J();if(typeof Y.uid!=="number"&&typeof Y.gid!=="number")return J();if(q.uid===Y.uid&&q.gid===Y.gid)return J();var U=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!k$[U])return J();if(typeof Y.uid!=="number")Y.uid=q.uid;if(typeof Y.gid!=="number")Y.gid=q.gid;k$[U](z,Y.uid,Y.gid,J)}function rD0($,Y,q,z,J){if(!k$.utimes||process.platform==="win32")return J();var U=Y.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(U==="lutimes"&&!k$[U])U="utimes";if(!k$[U])return J();var{atime:I,mtime:Q}=q,K=Y.atime,G=Y.mtime;if(K===void 0)K=I;if(G===void 0)G=Q;if(!cD0(K))K=new Date(K);if(!cD0(G))K=new Date(G);if(K.getTime()===I.getTime()&&G.getTime()===Q.getTime())return J();k$[U](z,K,G,J)}u$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var Y=0,q=null,z=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),U($._old);else{var J=$.props.follow?"stat":"lstat";k$[J]($._path,function(Q,K){if(Q)if(Q.code==="ENOENT"&&($.type==="Link"||$.type==="SymbolicLink")&&process.platform==="win32"){$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};return}else return $.error(Q);U($._old=K)})}return;function U(Q){Y+=3,lD0($,$.props,Q,$._path,I("chmod")),oD0($,$.props,Q,$._path,I("chown")),rD0($,$.props,Q,$._path,I("utimes"))}function I(Q){return function(K){if(q)return;if(K)return K.fstream_finish_call=Q,$.error(q=K);if(--Y>0)return;if(z)return;if(z=!0,!$._madeDir)return G();else sD0($,$._path,G);function G(H){if(H)return H.fstream_finish_call="setupMadeDir",$.error(H);$.emit("end"),$.emit("close")}}}};function sD0($,Y,q){var z=$._madeDir,J=GZ.dirname(Y);iB1($,J,function(U){if(U)return q(U);if(J===z)return q();sD0($,J,q)})}function iB1($,Y,q){var z={};Object.keys($.props).forEach(function(Q){if(z[Q]=$.props[Q],Q==="mode"&&$.type!=="Directory")z[Q]=z[Q]|parseInt("0111",8)});var J=3,U=null;k$.stat(Y,function(Q,K){if(Q)return q(U=Q);lD0($,z,K,Y,I),oD0($,z,K,Y,I),rD0($,z,K,Y,I)});function I(Q){if(U)return;if(Q)return q(U=Q);if(--J===0)return q()}}u$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};u$.prototype.add=function(){this.error("Can't add to non-Directory type")};u$.prototype.write=function(){return!0};function nB1($){return Object.prototype.toString.call($)}function cD0($){return typeof $==="object"&&nB1($)==="[object Date]"}});var Ki=M((cB1)=>{cB1.Abstract=CN();cB1.Reader=mY();cB1.Writer=SU();cB1.File={Reader:kb(),Writer:$i()};cB1.Dir={Reader:xb(),Writer:ab()};cB1.Link={Reader:Sb(),Writer:eb()};cB1.Proxy={Reader:fb(),Writer:qi()};cB1.Reader.Dir=cB1.DirReader=cB1.Dir.Reader;cB1.Reader.File=cB1.FileReader=cB1.File.Reader;cB1.Reader.Link=cB1.LinkReader=cB1.Link.Reader;cB1.Reader.Proxy=cB1.ProxyReader=cB1.Proxy.Reader;cB1.Writer.Dir=cB1.DirWriter=cB1.Dir.Writer;cB1.Writer.File=cB1.FileWriter=cB1.File.Writer;cB1.Writer.Link=cB1.LinkWriter=cB1.Link.Writer;cB1.Writer.Proxy=cB1.ProxyWriter=cB1.Proxy.Writer;cB1.collect=iN()});var eD0=M((e34,aD0)=>{aD0.exports=tB1;var mB1=DN(),lB1=Ki().Writer,Gi=m("path"),oB1=m("stream"),rB1=vb(),sB1=n7();function tB1($){$.path=Gi.resolve(Gi.normalize($.path));var Y=new mB1($),q=new oB1.Writable({objectMode:!0});q._write=function(J,U,I){if(J.type=="Directory")return I();var Q=Gi.join($.path,J.path);if(Q.indexOf($.path)!=0)return I();let K=$.getWriter?$.getWriter({path:Q}):lB1({path:Q});J.pipe(K).on("error",I).on("close",I)};var z=rB1(Y,q);return Y.once("crx-header",function(J){z.crxHeader=J}),Y.pipe(q).on("finish",function(){z.emit("close")}),z.promise=function(){return new sB1(function(J,U){z.on("close",J),z.on("error",U)})},z}});var $P0=M(($74,pN)=>{var N6=function($){var Y=1e7,q=7,z=9007199254740992,J=V(z),U="0123456789abcdefghijklmnopqrstuvwxyz",I=typeof BigInt==="function";function Q(N,D,h,x){if(typeof N>"u")return Q[0];if(typeof D<"u")return+D===10&&!h?w0(N):F1(N,D,h,x);return w0(N)}function K(N,D){this.value=N,this.sign=D,this.isSmall=!1}K.prototype=Object.create(Q.prototype);function G(N){this.value=N,this.sign=N<0,this.isSmall=!0}G.prototype=Object.create(Q.prototype);function H(N){this.value=N}H.prototype=Object.create(Q.prototype);function Z(N){return-z<N&&N<z}function V(N){if(N<1e7)return[N];if(N<100000000000000)return[N%1e7,Math.floor(N/1e7)];return[N%1e7,Math.floor(N/1e7)%1e7,Math.floor(N/100000000000000)]}function X(N){L(N);var D=N.length;if(D<4&&p(N,J)<0)switch(D){case 0:return 0;case 1:return N[0];case 2:return N[0]+N[1]*Y;default:return N[0]+(N[1]+N[2]*Y)*Y}return N}function L(N){var D=N.length;while(N[--D]===0);N.length=D+1}function w(N){var D=Array(N),h=-1;while(++h<N)D[h]=0;return D}function F(N){if(N>0)return Math.floor(N);return Math.ceil(N)}function O(N,D){var h=N.length,x=D.length,Y0=Array(h),r=0,z0=Y,G0,V0;for(V0=0;V0<x;V0++)G0=N[V0]+D[V0]+r,r=G0>=z0?1:0,Y0[V0]=G0-r*z0;while(V0<h)G0=N[V0]+r,r=G0===z0?1:0,Y0[V0++]=G0-r*z0;if(r>0)Y0.push(r);return Y0}function P(N,D){if(N.length>=D.length)return O(N,D);return O(D,N)}function B(N,D){var h=N.length,x=Array(h),Y0=Y,r,z0;for(z0=0;z0<h;z0++)r=N[z0]-Y0+D,D=Math.floor(r/Y0),x[z0]=r-D*Y0,D+=1;while(D>0)x[z0++]=D%Y0,D=Math.floor(D/Y0);return x}K.prototype.add=function(N){var D=w0(N);if(this.sign!==D.sign)return this.subtract(D.negate());var h=this.value,x=D.value;if(D.isSmall)return new K(B(h,Math.abs(x)),this.sign);return new K(P(h,x),this.sign)},K.prototype.plus=K.prototype.add,G.prototype.add=function(N){var D=w0(N),h=this.value;if(h<0!==D.sign)return this.subtract(D.negate());var x=D.value;if(D.isSmall){if(Z(h+x))return new G(h+x);x=V(Math.abs(x))}return new K(B(x,Math.abs(h)),h<0)},G.prototype.plus=G.prototype.add,H.prototype.add=function(N){return new H(this.value+w0(N).value)},H.prototype.plus=H.prototype.add;function A(N,D){var h=N.length,x=D.length,Y0=Array(h),r=0,z0=Y,G0,V0;for(G0=0;G0<x;G0++){if(V0=N[G0]-r-D[G0],V0<0)V0+=z0,r=1;else r=0;Y0[G0]=V0}for(G0=x;G0<h;G0++){if(V0=N[G0]-r,V0<0)V0+=z0;else{Y0[G0++]=V0;break}Y0[G0]=V0}for(;G0<h;G0++)Y0[G0]=N[G0];return L(Y0),Y0}function E(N,D,h){var x;if(p(N,D)>=0)x=A(N,D);else x=A(D,N),h=!h;if(x=X(x),typeof x==="number"){if(h)x=-x;return new G(x)}return new K(x,h)}function y(N,D,h){var x=N.length,Y0=Array(x),r=-D,z0=Y,G0,V0;for(G0=0;G0<x;G0++)V0=N[G0]+r,r=Math.floor(V0/z0),V0%=z0,Y0[G0]=V0<0?V0+z0:V0;if(Y0=X(Y0),typeof Y0==="number"){if(h)Y0=-Y0;return new G(Y0)}return new K(Y0,h)}K.prototype.subtract=function(N){var D=w0(N);if(this.sign!==D.sign)return this.add(D.negate());var h=this.value,x=D.value;if(D.isSmall)return y(h,Math.abs(x),this.sign);return E(h,x,this.sign)},K.prototype.minus=K.prototype.subtract,G.prototype.subtract=function(N){var D=w0(N),h=this.value;if(h<0!==D.sign)return this.add(D.negate());var x=D.value;if(D.isSmall)return new G(h-x);return y(x,Math.abs(h),h>=0)},G.prototype.minus=G.prototype.subtract,H.prototype.subtract=function(N){return new H(this.value-w0(N).value)},H.prototype.minus=H.prototype.subtract,K.prototype.negate=function(){return new K(this.value,!this.sign)},G.prototype.negate=function(){var N=this.sign,D=new G(-this.value);return D.sign=!N,D},H.prototype.negate=function(){return new H(-this.value)},K.prototype.abs=function(){return new K(this.value,!1)},G.prototype.abs=function(){return new G(Math.abs(this.value))},H.prototype.abs=function(){return new H(this.value>=0?this.value:-this.value)};function v(N,D){var h=N.length,x=D.length,Y0=h+x,r=w(Y0),z0=Y,G0,V0,x0,r0,l0;for(x0=0;x0<h;++x0){r0=N[x0];for(var D1=0;D1<x;++D1)l0=D[D1],G0=r0*l0+r[x0+D1],V0=Math.floor(G0/z0),r[x0+D1]=G0-V0*z0,r[x0+D1+1]+=V0}return L(r),r}function k(N,D){var h=N.length,x=Array(h),Y0=Y,r=0,z0,G0;for(G0=0;G0<h;G0++)z0=N[G0]*D+r,r=Math.floor(z0/Y0),x[G0]=z0-r*Y0;while(r>0)x[G0++]=r%Y0,r=Math.floor(r/Y0);return x}function C(N,D){var h=[];while(D-- >0)h.push(0);return h.concat(N)}function c(N,D){var h=Math.max(N.length,D.length);if(h<=30)return v(N,D);h=Math.ceil(h/2);var x=N.slice(h),Y0=N.slice(0,h),r=D.slice(h),z0=D.slice(0,h),G0=c(Y0,z0),V0=c(x,r),x0=c(P(Y0,x),P(z0,r)),r0=P(P(G0,C(A(A(x0,G0),V0),h)),C(V0,2*h));return L(r0),r0}function n(N,D){return-0.012*N-0.012*D+0.000015*N*D>0}K.prototype.multiply=function(N){var D=w0(N),h=this.value,x=D.value,Y0=this.sign!==D.sign,r;if(D.isSmall){if(x===0)return Q[0];if(x===1)return this;if(x===-1)return this.negate();if(r=Math.abs(x),r<Y)return new K(k(h,r),Y0);x=V(r)}if(n(h.length,x.length))return new K(c(h,x),Y0);return new K(v(h,x),Y0)},K.prototype.times=K.prototype.multiply;function g(N,D,h){if(N<Y)return new K(k(D,N),h);return new K(v(D,V(N)),h)}G.prototype._multiplyBySmall=function(N){if(Z(N.value*this.value))return new G(N.value*this.value);return g(Math.abs(N.value),V(Math.abs(this.value)),this.sign!==N.sign)},K.prototype._multiplyBySmall=function(N){if(N.value===0)return Q[0];if(N.value===1)return this;if(N.value===-1)return this.negate();return g(Math.abs(N.value),this.value,this.sign!==N.sign)},G.prototype.multiply=function(N){return w0(N)._multiplyBySmall(this)},G.prototype.times=G.prototype.multiply,H.prototype.multiply=function(N){return new H(this.value*w0(N).value)},H.prototype.times=H.prototype.multiply;function b(N){var D=N.length,h=w(D+D),x=Y,Y0,r,z0,G0,V0;for(z0=0;z0<D;z0++){G0=N[z0],r=0-G0*G0;for(var x0=z0;x0<D;x0++)V0=N[x0],Y0=2*(G0*V0)+h[z0+x0]+r,r=Math.floor(Y0/x),h[z0+x0]=Y0-r*x;h[z0+D]=r}return L(h),h}K.prototype.square=function(){return new K(b(this.value),!1)},G.prototype.square=function(){var N=this.value*this.value;if(Z(N))return new G(N);return new K(b(V(Math.abs(this.value))),!1)},H.prototype.square=function(N){return new H(this.value*this.value)};function i(N,D){var h=N.length,x=D.length,Y0=Y,r=w(D.length),z0=D[x-1],G0=Math.ceil(Y0/(2*z0)),V0=k(N,G0),x0=k(D,G0),r0,l0,D1,S4,$8,A3,CI;if(V0.length<=h)V0.push(0);x0.push(0),z0=x0[x-1];for(l0=h-x;l0>=0;l0--){if(r0=Y0-1,V0[l0+x]!==z0)r0=Math.floor((V0[l0+x]*Y0+V0[l0+x-1])/z0);D1=0,S4=0,A3=x0.length;for($8=0;$8<A3;$8++)if(D1+=r0*x0[$8],CI=Math.floor(D1/Y0),S4+=V0[l0+$8]-(D1-CI*Y0),D1=CI,S4<0)V0[l0+$8]=S4+Y0,S4=-1;else V0[l0+$8]=S4,S4=0;while(S4!==0){r0-=1,D1=0;for($8=0;$8<A3;$8++)if(D1+=V0[l0+$8]-Y0+x0[$8],D1<0)V0[l0+$8]=D1+Y0,D1=0;else V0[l0+$8]=D1,D1=1;S4+=D1}r[l0]=r0}return V0=j(V0,G0)[0],[X(r),X(V0)]}function $0(N,D){var h=N.length,x=D.length,Y0=[],r=[],z0=Y,G0,V0,x0,r0,l0;while(h){if(r.unshift(N[--h]),L(r),p(r,D)<0){Y0.push(0);continue}if(V0=r.length,x0=r[V0-1]*z0+r[V0-2],r0=D[x-1]*z0+D[x-2],V0>x)x0=(x0+1)*z0;G0=Math.ceil(x0/r0);do{if(l0=k(D,G0),p(l0,r)<=0)break;G0--}while(G0);Y0.push(G0),r=A(r,l0)}return Y0.reverse(),[X(Y0),X(r)]}function j(N,D){var h=N.length,x=w(h),Y0=Y,r,z0,G0,V0;G0=0;for(r=h-1;r>=0;--r)V0=G0*Y0+N[r],z0=F(V0/D),G0=V0-z0*D,x[r]=z0|0;return[x,G0|0]}function u(N,D){var h,x=w0(D);if(I)return[new H(N.value/x.value),new H(N.value%x.value)];var Y0=N.value,r=x.value,z0;if(r===0)throw Error("Cannot divide by zero");if(N.isSmall){if(x.isSmall)return[new G(F(Y0/r)),new G(Y0%r)];return[Q[0],N]}if(x.isSmall){if(r===1)return[N,Q[0]];if(r==-1)return[N.negate(),Q[0]];var G0=Math.abs(r);if(G0<Y){h=j(Y0,G0),z0=X(h[0]);var V0=h[1];if(N.sign)V0=-V0;if(typeof z0==="number"){if(N.sign!==x.sign)z0=-z0;return[new G(z0),new G(V0)]}return[new K(z0,N.sign!==x.sign),new G(V0)]}r=V(G0)}var x0=p(Y0,r);if(x0===-1)return[Q[0],N];if(x0===0)return[Q[N.sign===x.sign?1:-1],Q[0]];if(Y0.length+r.length<=200)h=i(Y0,r);else h=$0(Y0,r);z0=h[0];var r0=N.sign!==x.sign,l0=h[1],D1=N.sign;if(typeof z0==="number"){if(r0)z0=-z0;z0=new G(z0)}else z0=new K(z0,r0);if(typeof l0==="number"){if(D1)l0=-l0;l0=new G(l0)}else l0=new K(l0,D1);return[z0,l0]}K.prototype.divmod=function(N){var D=u(this,N);return{quotient:D[0],remainder:D[1]}},H.prototype.divmod=G.prototype.divmod=K.prototype.divmod,K.prototype.divide=function(N){return u(this,N)[0]},H.prototype.over=H.prototype.divide=function(N){return new H(this.value/w0(N).value)},G.prototype.over=G.prototype.divide=K.prototype.over=K.prototype.divide,K.prototype.mod=function(N){return u(this,N)[1]},H.prototype.mod=H.prototype.remainder=function(N){return new H(this.value%w0(N).value)},G.prototype.remainder=G.prototype.mod=K.prototype.remainder=K.prototype.mod,K.prototype.pow=function(N){var D=w0(N),h=this.value,x=D.value,Y0,r,z0;if(x===0)return Q[1];if(h===0)return Q[0];if(h===1)return Q[1];if(h===-1)return D.isEven()?Q[1]:Q[-1];if(D.sign)return Q[0];if(!D.isSmall)throw Error("The exponent "+D.toString()+" is too large.");if(this.isSmall){if(Z(Y0=Math.pow(h,x)))return new G(F(Y0))}r=this,z0=Q[1];while(!0){if(x&!0)z0=z0.times(r),--x;if(x===0)break;x/=2,r=r.square()}return z0},G.prototype.pow=K.prototype.pow,H.prototype.pow=function(N){var D=w0(N),h=this.value,x=D.value,Y0=BigInt(0),r=BigInt(1),z0=BigInt(2);if(x===Y0)return Q[1];if(h===Y0)return Q[0];if(h===r)return Q[1];if(h===BigInt(-1))return D.isEven()?Q[1]:Q[-1];if(D.isNegative())return new H(Y0);var G0=this,V0=Q[1];while(!0){if((x&r)===r)V0=V0.times(G0),--x;if(x===Y0)break;x/=z0,G0=G0.square()}return V0},K.prototype.modPow=function(N,D){if(N=w0(N),D=w0(D),D.isZero())throw Error("Cannot take modPow with modulus 0");var h=Q[1],x=this.mod(D);if(N.isNegative())N=N.multiply(Q[-1]),x=x.modInv(D);while(N.isPositive()){if(x.isZero())return Q[0];if(N.isOdd())h=h.multiply(x).mod(D);N=N.divide(2),x=x.square().mod(D)}return h},H.prototype.modPow=G.prototype.modPow=K.prototype.modPow;function p(N,D){if(N.length!==D.length)return N.length>D.length?1:-1;for(var h=N.length-1;h>=0;h--)if(N[h]!==D[h])return N[h]>D[h]?1:-1;return 0}K.prototype.compareAbs=function(N){var D=w0(N),h=this.value,x=D.value;if(D.isSmall)return 1;return p(h,x)},G.prototype.compareAbs=function(N){var D=w0(N),h=Math.abs(this.value),x=D.value;if(D.isSmall)return x=Math.abs(x),h===x?0:h>x?1:-1;return-1},H.prototype.compareAbs=function(N){var D=this.value,h=w0(N).value;return D=D>=0?D:-D,h=h>=0?h:-h,D===h?0:D>h?1:-1},K.prototype.compare=function(N){if(N===1/0)return-1;if(N===-1/0)return 1;var D=w0(N),h=this.value,x=D.value;if(this.sign!==D.sign)return D.sign?1:-1;if(D.isSmall)return this.sign?-1:1;return p(h,x)*(this.sign?-1:1)},K.prototype.compareTo=K.prototype.compare,G.prototype.compare=function(N){if(N===1/0)return-1;if(N===-1/0)return 1;var D=w0(N),h=this.value,x=D.value;if(D.isSmall)return h==x?0:h>x?1:-1;if(h<0!==D.sign)return h<0?-1:1;return h<0?1:-1},G.prototype.compareTo=G.prototype.compare,H.prototype.compare=function(N){if(N===1/0)return-1;if(N===-1/0)return 1;var D=this.value,h=w0(N).value;return D===h?0:D>h?1:-1},H.prototype.compareTo=H.prototype.compare,K.prototype.equals=function(N){return this.compare(N)===0},H.prototype.eq=H.prototype.equals=G.prototype.eq=G.prototype.equals=K.prototype.eq=K.prototype.equals,K.prototype.notEquals=function(N){return this.compare(N)!==0},H.prototype.neq=H.prototype.notEquals=G.prototype.neq=G.prototype.notEquals=K.prototype.neq=K.prototype.notEquals,K.prototype.greater=function(N){return this.compare(N)>0},H.prototype.gt=H.prototype.greater=G.prototype.gt=G.prototype.greater=K.prototype.gt=K.prototype.greater,K.prototype.lesser=function(N){return this.compare(N)<0},H.prototype.lt=H.prototype.lesser=G.prototype.lt=G.prototype.lesser=K.prototype.lt=K.prototype.lesser,K.prototype.greaterOrEquals=function(N){return this.compare(N)>=0},H.prototype.geq=H.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals=K.prototype.geq=K.prototype.greaterOrEquals,K.prototype.lesserOrEquals=function(N){return this.compare(N)<=0},H.prototype.leq=H.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals=K.prototype.leq=K.prototype.lesserOrEquals,K.prototype.isEven=function(){return(this.value[0]&1)===0},G.prototype.isEven=function(){return(this.value&1)===0},H.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},K.prototype.isOdd=function(){return(this.value[0]&1)===1},G.prototype.isOdd=function(){return(this.value&1)===1},H.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},K.prototype.isPositive=function(){return!this.sign},G.prototype.isPositive=function(){return this.value>0},H.prototype.isPositive=G.prototype.isPositive,K.prototype.isNegative=function(){return this.sign},G.prototype.isNegative=function(){return this.value<0},H.prototype.isNegative=G.prototype.isNegative,K.prototype.isUnit=function(){return!1},G.prototype.isUnit=function(){return Math.abs(this.value)===1},H.prototype.isUnit=function(){return this.abs().value===BigInt(1)},K.prototype.isZero=function(){return!1},G.prototype.isZero=function(){return this.value===0},H.prototype.isZero=function(){return this.value===BigInt(0)},K.prototype.isDivisibleBy=function(N){var D=w0(N);if(D.isZero())return!1;if(D.isUnit())return!0;if(D.compareAbs(2)===0)return this.isEven();return this.mod(D).isZero()},H.prototype.isDivisibleBy=G.prototype.isDivisibleBy=K.prototype.isDivisibleBy;function d(N){var D=N.abs();if(D.isUnit())return!1;if(D.equals(2)||D.equals(3)||D.equals(5))return!0;if(D.isEven()||D.isDivisibleBy(3)||D.isDivisibleBy(5))return!1;if(D.lesser(49))return!0}function q0(N,D){var h=N.prev(),x=h,Y0=0,r,z0,G0,V0;while(x.isEven())x=x.divide(2),Y0++;$:for(G0=0;G0<D.length;G0++){if(N.lesser(D[G0]))continue;if(V0=N6(D[G0]).modPow(x,N),V0.isUnit()||V0.equals(h))continue;for(r=Y0-1;r!=0;r--){if(V0=V0.square().mod(N),V0.isUnit())return!1;if(V0.equals(h))continue $}return!1}return!0}K.prototype.isPrime=function(N){var D=d(this);if(D!==$)return D;var h=this.abs(),x=h.bitLength();if(x<=64)return q0(h,[2,3,5,7,11,13,17,19,23,29,31,37]);var Y0=Math.log(2)*x.toJSNumber(),r=Math.ceil(N===!0?2*Math.pow(Y0,2):Y0);for(var z0=[],G0=0;G0<r;G0++)z0.push(N6(G0+2));return q0(h,z0)},H.prototype.isPrime=G.prototype.isPrime=K.prototype.isPrime,K.prototype.isProbablePrime=function(N,D){var h=d(this);if(h!==$)return h;var x=this.abs(),Y0=N===$?5:N;for(var r=[],z0=0;z0<Y0;z0++)r.push(N6.randBetween(2,x.minus(2),D));return q0(x,r)},H.prototype.isProbablePrime=G.prototype.isProbablePrime=K.prototype.isProbablePrime,K.prototype.modInv=function(N){var{zero:D,one:h}=N6,x=w0(N),Y0=this.abs(),r,z0,G0;while(!Y0.isZero())r=x.divide(Y0),z0=D,G0=x,D=h,x=Y0,h=z0.subtract(r.multiply(h)),Y0=G0.subtract(r.multiply(Y0));if(!x.isUnit())throw Error(this.toString()+" and "+N.toString()+" are not co-prime");if(D.compare(0)===-1)D=D.add(N);if(this.isNegative())return D.negate();return D},H.prototype.modInv=G.prototype.modInv=K.prototype.modInv,K.prototype.next=function(){var N=this.value;if(this.sign)return y(N,1,this.sign);return new K(B(N,1),this.sign)},G.prototype.next=function(){var N=this.value;if(N+1<z)return new G(N+1);return new K(J,!1)},H.prototype.next=function(){return new H(this.value+BigInt(1))},K.prototype.prev=function(){var N=this.value;if(this.sign)return new K(B(N,1),!0);return y(N,1,this.sign)},G.prototype.prev=function(){var N=this.value;if(N-1>-z)return new G(N-1);return new K(J,!0)},H.prototype.prev=function(){return new H(this.value-BigInt(1))};var t=[1];while(2*t[t.length-1]<=Y)t.push(2*t[t.length-1]);var H0=t.length,L0=t[H0-1];function T0(N){return Math.abs(N)<=Y}K.prototype.shiftLeft=function(N){var D=w0(N).toJSNumber();if(!T0(D))throw Error(String(D)+" is too large for shifting.");if(D<0)return this.shiftRight(-D);var h=this;if(h.isZero())return h;while(D>=H0)h=h.multiply(L0),D-=H0-1;return h.multiply(t[D])},H.prototype.shiftLeft=G.prototype.shiftLeft=K.prototype.shiftLeft,K.prototype.shiftRight=function(N){var D,h=w0(N).toJSNumber();if(!T0(h))throw Error(String(h)+" is too large for shifting.");if(h<0)return this.shiftLeft(-h);var x=this;while(h>=H0){if(x.isZero()||x.isNegative()&&x.isUnit())return x;D=u(x,L0),x=D[1].isNegative()?D[0].prev():D[0],h-=H0-1}return D=u(x,t[h]),D[1].isNegative()?D[0].prev():D[0]},H.prototype.shiftRight=G.prototype.shiftRight=K.prototype.shiftRight;function C0(N,D,h){D=w0(D);var x=N.isNegative(),Y0=D.isNegative(),r=x?N.not():N,z0=Y0?D.not():D,G0=0,V0=0,x0=null,r0=null,l0=[];while(!r.isZero()||!z0.isZero()){if(x0=u(r,L0),G0=x0[1].toJSNumber(),x)G0=L0-1-G0;if(r0=u(z0,L0),V0=r0[1].toJSNumber(),Y0)V0=L0-1-V0;r=x0[0],z0=r0[0],l0.push(h(G0,V0))}var D1=h(x?1:0,Y0?1:0)!==0?N6(-1):N6(0);for(var S4=l0.length-1;S4>=0;S4-=1)D1=D1.multiply(L0).add(N6(l0[S4]));return D1}K.prototype.not=function(){return this.negate().prev()},H.prototype.not=G.prototype.not=K.prototype.not,K.prototype.and=function(N){return C0(this,N,function(D,h){return D&h})},H.prototype.and=G.prototype.and=K.prototype.and,K.prototype.or=function(N){return C0(this,N,function(D,h){return D|h})},H.prototype.or=G.prototype.or=K.prototype.or,K.prototype.xor=function(N){return C0(this,N,function(D,h){return D^h})},H.prototype.xor=G.prototype.xor=K.prototype.xor;var j0=1073741824,i0=(Y&-Y)*(Y&-Y)|j0;function K0(N){var D=N.value,h=typeof D==="number"?D|j0:typeof D==="bigint"?D|BigInt(j0):D[0]+D[1]*Y|i0;return h&-h}function v0(N,D){if(D.compareTo(N)<=0){var h=v0(N,D.square(D)),x=h.p,Y0=h.e,r=x.multiply(D);return r.compareTo(N)<=0?{p:r,e:Y0*2+1}:{p:x,e:Y0*2}}return{p:N6(1),e:0}}K.prototype.bitLength=function(){var N=this;if(N.compareTo(N6(0))<0)N=N.negate().subtract(N6(1));if(N.compareTo(N6(0))===0)return N6(0);return N6(v0(N,N6(2)).e).add(N6(1))},H.prototype.bitLength=G.prototype.bitLength=K.prototype.bitLength;function f0(N,D){return N=w0(N),D=w0(D),N.greater(D)?N:D}function c0(N,D){return N=w0(N),D=w0(D),N.lesser(D)?N:D}function C1(N,D){if(N=w0(N).abs(),D=w0(D).abs(),N.equals(D))return N;if(N.isZero())return D;if(D.isZero())return N;var h=Q[1],x,Y0;while(N.isEven()&&D.isEven())x=c0(K0(N),K0(D)),N=N.divide(x),D=D.divide(x),h=h.multiply(x);while(N.isEven())N=N.divide(K0(N));do{while(D.isEven())D=D.divide(K0(D));if(N.greater(D))Y0=D,D=N,N=Y0;D=D.subtract(N)}while(!D.isZero());return h.isUnit()?N:N.multiply(h)}function a0(N,D){return N=w0(N).abs(),D=w0(D).abs(),N.divide(C1(N,D)).multiply(D)}function r1(N,D,h){N=w0(N),D=w0(D);var x=h||Math.random,Y0=c0(N,D),r=f0(N,D),z0=r.subtract(Y0).add(1);if(z0.isSmall)return Y0.add(Math.floor(x()*z0));var G0=J6(z0,Y).value,V0=[],x0=!0;for(var r0=0;r0<G0.length;r0++){var l0=x0?G0[r0]+(r0+1<G0.length?G0[r0+1]/Y:0):Y,D1=F(x()*l0);if(V0.push(D1),D1<G0[r0])x0=!1}return Y0.add(Q.fromArray(V0,Y,!1))}var F1=function(N,D,h,x){if(h=h||U,N=String(N),!x)N=N.toLowerCase(),h=h.toLowerCase();var Y0=N.length,r,z0=Math.abs(D),G0={};for(r=0;r<h.length;r++)G0[h[r]]=r;for(r=0;r<Y0;r++){var V0=N[r];if(V0==="-")continue;if(V0 in G0){if(G0[V0]>=z0){if(V0==="1"&&z0===1)continue;throw Error(V0+" is not a valid digit in base "+D+".")}}}D=w0(D);var x0=[],r0=N[0]==="-";for(r=r0?1:0;r<N.length;r++){var V0=N[r];if(V0 in G0)x0.push(w0(G0[V0]));else if(V0==="<"){var l0=r;do r++;while(N[r]!==">"&&r<N.length);x0.push(w0(N.slice(l0+1,r)))}else throw Error(V0+" is not a valid character")}return b1(x0,D,r0)};function b1(N,D,h){var x=Q[0],Y0=Q[1],r;for(r=N.length-1;r>=0;r--)x=x.add(N[r].times(Y0)),Y0=Y0.times(D);return h?x.negate():x}function $1(N,D){if(D=D||U,N<D.length)return D[N];return"<"+N+">"}function J6(N,D){if(D=N6(D),D.isZero()){if(N.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(D.equals(-1)){if(N.isZero())return{value:[0],isNegative:!1};if(N.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-N.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var h=Array.apply(null,Array(N.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return h.unshift([1]),{value:[].concat.apply([],h),isNegative:!1}}var x=!1;if(N.isNegative()&&D.isPositive())x=!0,N=N.abs();if(D.isUnit()){if(N.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(N.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:x}}var Y0=[],r=N,z0;while(r.isNegative()||r.compareAbs(D)>=0){z0=r.divmod(D),r=z0.quotient;var G0=z0.remainder;if(G0.isNegative())G0=D.minus(G0).abs(),r=r.next();Y0.push(G0.toJSNumber())}return Y0.push(r.toJSNumber()),{value:Y0.reverse(),isNegative:x}}function a8(N,D,h){var x=J6(N,D);return(x.isNegative?"-":"")+x.value.map(function(Y0){return $1(Y0,h)}).join("")}K.prototype.toArray=function(N){return J6(this,N)},G.prototype.toArray=function(N){return J6(this,N)},H.prototype.toArray=function(N){return J6(this,N)},K.prototype.toString=function(N,D){if(N===$)N=10;if(N!==10||D)return a8(this,N,D);var h=this.value,x=h.length,Y0=String(h[--x]),r="0000000",z0;while(--x>=0)z0=String(h[x]),Y0+=r.slice(z0.length)+z0;var G0=this.sign?"-":"";return G0+Y0},G.prototype.toString=function(N,D){if(N===$)N=10;if(N!=10||D)return a8(this,N,D);return String(this.value)},H.prototype.toString=G.prototype.toString,H.prototype.toJSON=K.prototype.toJSON=G.prototype.toJSON=function(){return this.toString()},K.prototype.valueOf=function(){return parseInt(this.toString(),10)},K.prototype.toJSNumber=K.prototype.valueOf,G.prototype.valueOf=function(){return this.value},G.prototype.toJSNumber=G.prototype.valueOf,H.prototype.valueOf=H.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function U6(N){if(Z(+N)){var D=+N;if(D===F(D))return I?new H(BigInt(D)):new G(D);throw Error("Invalid integer: "+N)}var h=N[0]==="-";if(h)N=N.slice(1);var x=N.split(/e/i);if(x.length>2)throw Error("Invalid integer: "+x.join("e"));if(x.length===2){var Y0=x[1];if(Y0[0]==="+")Y0=Y0.slice(1);if(Y0=+Y0,Y0!==F(Y0)||!Z(Y0))throw Error("Invalid integer: "+Y0+" is not a valid exponent.");var r=x[0],z0=r.indexOf(".");if(z0>=0)Y0-=r.length-z0-1,r=r.slice(0,z0)+r.slice(z0+1);if(Y0<0)throw Error("Cannot include negative exponent part for integers");r+=Array(Y0+1).join("0"),N=r}var G0=/^([0-9][0-9]*)$/.test(N);if(!G0)throw Error("Invalid integer: "+N);if(I)return new H(BigInt(h?"-"+N:N));var V0=[],x0=N.length,r0=q,l0=x0-r0;while(x0>0){if(V0.push(+N.slice(l0,x0)),l0-=r0,l0<0)l0=0;x0-=r0}return L(V0),new K(V0,h)}function e8(N){if(I)return new H(BigInt(N));if(Z(N)){if(N!==F(N))throw Error(N+" is not an integer.");return new G(N)}return U6(N.toString())}function w0(N){if(typeof N==="number")return e8(N);if(typeof N==="string")return U6(N);if(typeof N==="bigint")return new H(N);return N}for(var o=0;o<1000;o++)if(Q[o]=w0(o),o>0)Q[-o]=w0(-o);return Q.one=Q[1],Q.zero=Q[0],Q.minusOne=Q[-1],Q.max=f0,Q.min=c0,Q.gcd=C1,Q.lcm=a0,Q.isInstance=function(N){return N instanceof K||N instanceof G||N instanceof H},Q.randBetween=r1,Q.fromArray=function(N,D,h){return b1(N.map(w0),w0(D||10),h)},Q}();if(typeof pN<"u"&&pN.hasOwnProperty("exports"))pN.exports=N6;if(typeof define==="function"&&define.amd)define(function(){return N6})});var zP0=M((Y74,qP0)=>{var s7=$P0(),dN=m("stream");if(!dN.Writable||!dN.Writable.prototype.destroy)dN=z3();var mN;function aB1(){var $=3988292384,Y,q,z;mN=[];for(q=0;q<256;q++){Y=q;for(z=0;z<8;z++)Y=Y&1?$^Y>>>1:Y=Y>>>1;mN[q]=Y>>>0}}function YP0($,Y){if(!mN)aB1();if($.charCodeAt)$=$.charCodeAt(0);return s7(Y).shiftRight(8).and(16777215).xor(mN[s7(Y).xor($).and(255)]).value}function yU(){if(!(this instanceof yU))return new yU;this.key0=305419896,this.key1=591751049,this.key2=878082192}yU.prototype.update=function($){this.key0=YP0($,this.key0),this.key1=s7(this.key0).and(255).and(4294967295).add(this.key1),this.key1=s7(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=YP0(s7(this.key1).shiftRight(24).and(255),this.key2)};yU.prototype.decryptByte=function($){var Y=s7(this.key2).or(2);return $=$^s7(Y).multiply(s7(Y^1)).shiftRight(8).and(255),this.update($),$};yU.prototype.stream=function(){var $=dN.Transform(),Y=this;return $._transform=function(q,z,J){for(var U=0;U<q.length;U++)q[U]=Y.decryptByte(q[U]);this.push(q),J()},$};qP0.exports=yU});var UP0=M((q74,JP0)=>{var eB1=n7(),$T1=zP0(),YT1=wN(),WZ=m("stream"),qT1=hH(),zT1=m("zlib"),JT1=MN(),UT1=BU(),IT1=NN();if(!WZ.Writable||!WZ.Writable.prototype.destroy)WZ=z3();JP0.exports=function(Y,q,z,J){var U=YT1(),I=WZ.PassThrough(),Q=Y.stream(q);return Q.pipe(U).on("error",function(K){I.emit("error",K)}),I.vars=U.pull(30).then(function(K){var G=qT1.parse(K).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return G.lastModifiedDateTime=IT1(G.lastModifiedDate,G.lastModifiedTime),U.pull(G.fileNameLength).then(function(H){return G.fileName=H.toString("utf8"),U.pull(G.extraFieldLength)}).then(function(H){var Z;if(G.extra=JT1(H,G),J&&J.compressedSize)G=J;if(G.flags&1)Z=U.pull(12).then(function(V){if(!z)throw Error("MISSING_PASSWORD");var X=$T1();String(z).split("").forEach(function(F){X.update(F)});for(var L=0;L<V.length;L++)V[L]=X.decryptByte(V[L]);G.decrypt=X,G.compressedSize-=12;var w=G.flags&8?G.lastModifiedTime>>8&255:G.crc32>>24&255;if(V[11]!==w)throw Error("BAD_PASSWORD");return G});return eB1.resolve(Z).then(function(){return I.emit("vars",G),G})})}),I.vars.then(function(K){var G=!(K.flags&8)||K.compressedSize>0,H,Z=K.compressionMethod?zT1.createInflateRaw():WZ.PassThrough();if(G)I.size=K.uncompressedSize,H=K.compressedSize;else H=UT1.alloc(4),H.writeUInt32LE(134695760,0);var V=U.stream(H);if(K.decrypt)V=V.pipe(K.decrypt.stream());V.pipe(Z).on("error",function(X){I.emit("error",X)}).pipe(I).on("finish",function(){if(Q.destroy)Q.destroy();else if(Q.abort)Q.abort();else if(Q.close)Q.close();else if(Q.push)Q.push();else console.log("warning - unable to close stream")})}).catch(function(K){I.emit("error",K)}),I}});var KP0=M((z74,QP0)=>{var LZ=hH(),VZ=wN(),QT1=UP0(),XZ=n7(),KT1=ON(),GT1=MN(),HT1=BU(),Hi=m("path"),ZT1=Ki().Writer,WT1=NN(),IP0=HT1.alloc(4);IP0.writeUInt32LE(101010256,0);function XT1($){var Y=$.stream(0).pipe(VZ());return Y.pull(4).then(function(q){var z=q.readUInt32LE(0);if(z===875721283){var J;return Y.pull(12).then(function(U){J=LZ.parse(U).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return Y.pull(J.pubKeyLength+J.signatureLength)}).then(function(U){return J.publicKey=U.slice(0,J.pubKeyLength),J.signature=U.slice(J.pubKeyLength),J.size=16+J.pubKeyLength+J.signatureLength,J})}})}function VT1($,Y){var q=LZ.parse(Y).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(q.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+q.signature.toString(16));var z=VZ();return $.stream(q.offsetToStartOfCentralDirectory).pipe(z),z.pull(56)}function LT1($){var Y=LZ.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(Y.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+Y.signature.toString(16));return Y}QP0.exports=function(Y,q){var z=VZ(),J=VZ(),U=q&&q.tailSize||80,I,Q,K,G;if(q&&q.crx)Q=XT1(Y);return Y.size().then(function(H){return I=H,Y.stream(Math.max(0,H-U)).on("error",function(Z){z.emit("error",Z)}).pipe(z),z.pull(IP0)}).then(function(){return XZ.props({directory:z.pull(22),crxHeader:Q})}).then(function(H){var Z=H.directory;if(K=H.crxHeader&&H.crxHeader.size||0,G=LZ.parse(Z).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,G.numberOfRecords==65535||G.numberOfRecords==65535||G.offsetToStartOfCentralDirectory==4294967295){let X=I-(U-z.match+20),L=VZ();return Y.stream(X).pipe(L),L.pull(20).then(function(w){return VT1(Y,w)}).then(function(w){G=LT1(w)})}else G.offsetToStartOfCentralDirectory+=K}).then(function(){if(G.commentLength)return z.pull(G.commentLength).then(function(H){G.comment=H.toString("utf8")})}).then(function(){return Y.stream(G.offsetToStartOfCentralDirectory).pipe(J),G.extract=function(H){if(!H||!H.path)throw Error("PATH_MISSING");return H.path=Hi.resolve(Hi.normalize(H.path)),G.files.then(function(Z){return XZ.map(Z,function(V){if(V.type=="Directory")return;var X=Hi.join(H.path,V.path);if(X.indexOf(H.path)!=0)return;var L=H.getWriter?H.getWriter({path:X}):ZT1({path:X});return new XZ(function(w,F){V.stream(H.password).on("error",F).pipe(L).on("close",w).on("error",F)})},{concurrency:H.concurrency>1?H.concurrency:1})})},G.files=XZ.mapSeries(Array(G.numberOfRecords),function(){return J.pull(46).then(function(H){var Z=LZ.parse(H).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return Z.offsetToLocalFileHeader+=K,Z.lastModifiedDateTime=WT1(Z.lastModifiedDate,Z.lastModifiedTime),J.pull(Z.fileNameLength).then(function(V){return Z.pathBuffer=V,Z.path=V.toString("utf8"),Z.isUnicode=(Z.flags&2048)!=0,J.pull(Z.extraFieldLength)}).then(function(V){return Z.extra=GT1(V,Z),J.pull(Z.fileCommentLength)}).then(function(V){return Z.comment=V,Z.type=Z.uncompressedSize===0&&/[\/\\]$/.test(Z.path)?"Directory":"File",Z.stream=function(X){return QT1(Y,Z.offsetToLocalFileHeader,X,Z)},Z.buffer=function(X){return KT1(Z.stream(X))},Z})})}),XZ.props(G)})}});var ZP0=M((J74,HP0)=>{var GP0=m8(),lN=n7(),wZ=KP0(),oN=m("stream");if(!oN.Writable||!oN.Writable.prototype.destroy)oN=z3();HP0.exports={buffer:function($,Y){var q={stream:function(z,J){var U=oN.PassThrough();return U.end($.slice(z,J)),U},size:function(){return lN.resolve($.length)}};return wZ(q,Y)},file:function($,Y){var q={stream:function(z,J){return GP0.createReadStream($,{start:z,end:J&&z+J})},size:function(){return new lN(function(z,J){GP0.stat($,function(U,I){if(U)J(U);else z(I.size)})})}};return wZ(q,Y)},url:function($,Y,q){if(typeof Y==="string")Y={url:Y};if(!Y.url)throw"URL missing";Y.headers=Y.headers||{};var z={stream:function(J,U){var I=Object.create(Y);return I.headers=Object.create(Y.headers),I.headers.range="bytes="+J+"-"+(U?U:""),$(I)},size:function(){return new lN(function(J,U){var I=$(Y);I.on("response",function(Q){if(I.abort(),!Q.headers["content-length"])U(Error("Missing content length header"));else J(Q.headers["content-length"])}).on("error",U)})}};return wZ(z,q)},s3:function($,Y,q){var z={size:function(){return new lN(function(J,U){$.headObject(Y,function(I,Q){if(I)U(I);else J(Q.ContentLength)})})},stream:function(J,U){var I={};for(var Q in Y)I[Q]=Y[Q];return I.Range="bytes="+J+"-"+(U?U:""),$.getObject(I).createReadStream()}};return wZ(z,q)},custom:function($,Y){return wZ($,Y)}}});var WP0=M((wT1)=>{QF0();ZF0();Ah();wT1.Parse=DN();wT1.ParseOne=jN0();wT1.Extract=eD0();wT1.Open=ZP0()});var jP0=M((fT1,I3)=>{/*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*/var I4=m("fs"),sN=m("os"),D6=m("path"),XP0=m("crypto"),U9={fs:I4.constants,os:sN.constants},FP0=/XXXXXX/,OP0=(U9.O_CREAT||U9.fs.O_CREAT)|(U9.O_EXCL||U9.fs.O_EXCL)|(U9.O_RDWR||U9.fs.O_RDWR),DT1=sN.platform()==="win32",PT1=U9.EBADF||U9.os.errno.EBADF,AT1=U9.ENOENT||U9.os.errno.ENOENT,xU=[],MP0=I4.rmdirSync.bind(I4),NP0=!1;function BT1($,Y){return I4.rm($,{recursive:!0},Y)}function DP0($){return I4.rmSync($,{recursive:!0})}function Vi($,Y){let q=kU($,Y),z=q[0],J=q[1];ST1(z,function(U,I){if(U)return J(U);let Q=I.tries;(function K(){try{let G=AP0(I);I4.stat(G,function(H){if(!H){if(Q-- >0)return K();return J(Error("Could not get a unique tmp filename, max tries reached "+G))}J(null,G)})}catch(G){J(G)}})()})}function Li($){let Y=kU($),q=Y[0],z=yT1(q),J=z.tries;do{let U=AP0(z);try{I4.statSync(U)}catch(I){return U}}while(J-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function TT1($,Y){let q=kU($,Y),z=q[0],J=q[1];Vi(z,function(I,Q){if(I)return J(I);I4.open(Q,OP0,z.mode||384,function(G,H){if(G)return J(G);if(z.discardDescriptor)return I4.close(H,function(V){return J(V,Q,void 0,Wi(Q,-1,z,!1))});else{let Z=z.discardDescriptor||z.detachDescriptor;J(null,Q,H,Wi(Q,Z?-1:H,z,!1))}})})}function ET1($){let Y=kU($),q=Y[0],z=q.discardDescriptor||q.detachDescriptor,J=Li(q),U=I4.openSync(J,OP0,q.mode||384);if(q.discardDescriptor)I4.closeSync(U),U=void 0;return{name:J,fd:U,removeCallback:Wi(J,z?-1:U,q,!0)}}function jT1($,Y){let q=kU($,Y),z=q[0],J=q[1];Vi(z,function(I,Q){if(I)return J(I);I4.mkdir(Q,z.mode||448,function(G){if(G)return J(G);J(null,Q,PP0(Q,z,!1))})})}function _T1($){let Y=kU($),q=Y[0],z=Li(q);return I4.mkdirSync(z,q.mode||448),{name:z,removeCallback:PP0(z,q,!0)}}function RT1($,Y){let q=function(z){if(z&&!Xi(z))return Y(z);Y()};if(0<=$[0])I4.close($[0],function(){I4.unlink($[1],q)});else I4.unlink($[1],q)}function CT1($){let Y=null;try{if(0<=$[0])I4.closeSync($[0])}catch(q){if(!xT1(q)&&!Xi(q))throw q}finally{try{I4.unlinkSync($[1])}catch(q){if(!Xi(q))Y=q}}if(Y!==null)throw Y}function Wi($,Y,q,z){let J=rN(CT1,[Y,$],z),U=rN(RT1,[Y,$],z,J);if(!q.keep)xU.unshift(J);return z?J:U}function PP0($,Y,q){let z=Y.unsafeCleanup?BT1:I4.rmdir.bind(I4),J=Y.unsafeCleanup?DP0:MP0,U=rN(J,$,q),I=rN(z,$,q,U);if(!Y.keep)xU.unshift(U);return q?U:I}function rN($,Y,q,z){let J=!1;return function U(I){if(!J){let Q=z||U,K=xU.indexOf(Q);if(K>=0)xU.splice(K,1);if(J=!0,q||$===MP0||$===DP0)return $(Y);else return $(Y,I||function(){})}}}function vT1(){if(!NP0)return;while(xU.length)try{xU[0]()}catch($){}}function VP0($){let Y=[],q=null;try{q=XP0.randomBytes($)}catch(z){q=XP0.pseudoRandomBytes($)}for(let z=0;z<$;z++)Y.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[q[z]%62]);return Y.join("")}function o8($){return typeof $>"u"}function kU($,Y){if(typeof $==="function")return[{},$];if(o8($))return[{},Y];let q={};for(let z of Object.getOwnPropertyNames($))q[z]=$[z];return[q,Y]}function hT1($,Y,q){let z=D6.isAbsolute($)?$:D6.join(Y,$);I4.stat(z,function(J){if(J)I4.realpath(D6.dirname(z),function(U,I){if(U)return q(U);q(null,D6.join(I,D6.basename(z)))});else I4.realpath(z,q)})}function gT1($,Y){let q=D6.isAbsolute($)?$:D6.join(Y,$);try{return I4.statSync(q),I4.realpathSync(q)}catch(z){let J=I4.realpathSync(D6.dirname(q));return D6.join(J,D6.basename(q))}}function AP0($){let Y=$.tmpdir;if(!o8($.name))return D6.join(Y,$.dir,$.name);if(!o8($.template))return D6.join(Y,$.dir,$.template).replace(FP0,VP0(6));let q=[$.prefix?$.prefix:"tmp","-",process.pid,"-",VP0(12),$.postfix?"-"+$.postfix:""].join("");return D6.join(Y,$.dir,q)}function Zi($,Y){if(typeof Y!=="string")throw Error(`${$} option must be a string, got "${typeof Y}".`);if(Y.includes(".."))throw Error("Relative value not allowed");return Y}function BP0($){if(!o8($.name)){let Y=$.name;if(D6.isAbsolute(Y))throw Error(`name option must not contain an absolute path, found "${Y}".`);let q=D6.basename(Y);if(q===".."||q==="."||q!==Y)throw Error(`name option must not contain a path, found "${Y}".`)}if(!o8($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(FP0))throw Error(`Invalid template, found "${$.template}".`)}if(!o8($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=o8($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=o8($.prefix)?"":Zi("prefix",$.prefix),$.postfix=o8($.postfix)?"":Zi("postfix",$.postfix),$.template=o8($.template)?void 0:Zi("template",$.template)}function LP0($,Y,q,z){if(o8(Y))return z(null);hT1(Y,q,function(J,U){if(J)return z(J);let I=D6.relative(q,U);if(I.startsWith("..")||D6.isAbsolute(I))return z(Error(`${$} option must be relative to "${q}", found "${I}".`));z(null,I)})}function wP0($,Y,q){if(o8(Y))return;let z=gT1(Y,q),J=D6.relative(q,z);if(J.startsWith("..")||D6.isAbsolute(J))throw Error(`${$} option must be relative to "${q}", found "${J}".`);return J}function ST1($,Y){uT1($,function(q,z){if(q)return Y(q);$.tmpdir=z;try{BP0($,z)}catch(J){return Y(J)}LP0("dir",$.dir,z,function(J,U){if(J)return Y(J);$.dir=o8(U)?"":U,LP0("template",$.template,z,function(I,Q){if(I)return Y(I);$.template=Q,Y(null,$)})})})}function yT1($){let Y=$.tmpdir=EP0($);BP0($,Y);let q=wP0("dir",$.dir,Y);return $.dir=o8(q)?"":q,$.template=wP0("template",$.template,Y),$}function xT1($){return TP0($,-PT1,"EBADF")}function Xi($){return TP0($,-AT1,"ENOENT")}function TP0($,Y,q){return DT1?$.code===q:$.code===q&&$.errno===Y}function kT1(){NP0=!0}function uT1($,Y){return I4.realpath($&&$.tmpdir||sN.tmpdir(),Y)}function EP0($){return I4.realpathSync($&&$.tmpdir||sN.tmpdir())}process.addListener("exit",vT1);Object.defineProperty(fT1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return EP0()}});fT1.dir=jT1;fT1.dirSync=_T1;fT1.file=TT1;fT1.fileSync=ET1;fT1.tmpName=Vi;fT1.tmpNameSync=Li;fT1.setGracefulCleanup=kT1});var RP0=M((I74,_P0)=>{_P0.exports=async function*(Y){let q=[];Y.on("data",(Q)=>q.push(Q));let z,J=new Promise((Q)=>z=Q),U=!1;Y.on("end",()=>{U=!0,z()});let I=!1;Y.on("error",(Q)=>{I=Q,z()});while(!U||q.length>0){if(q.length===0)Y.resume(),await Promise.race([lT1(Y,"data"),J]);else Y.pause(),yield q.shift();if(I)throw I}z()};function lT1($,Y){return new Promise((q)=>{let z=!1,J=()=>{if(!z)z=!0,$.removeListener(Y,J),q()};$.addListener(Y,J)})}});var SP0=M((Q74,gP0)=>{var{EventEmitter:oT1}=m("events"),rT1=BG(),sT1=l4(),tN=U8(),CP0=k4(),tT1=R9(),aT1=aL(),vP0=$w();class hP0 extends oT1{constructor({workbook:$,id:Y,iterator:q,options:z}){super();this.workbook=$,this.id=Y,this.iterator=q,this.options=z||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new tT1}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=CP0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new vP0(this,Y++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){sT1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:Y,value:q}of $)this.emit(Y,q);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:Y,value:q}of $)if(Y==="row")yield q}async*parse(){let{iterator:$,options:Y}=this,q=!1,z=!1,J=null;switch(Y.worksheets){case"emit":q=!0;break;case"prep":break;default:break}switch(Y.hyperlinks){case"emit":z=!0;break;case"cache":this.hyperlinks=J={};break;default:break}if(!q&&!z&&!J)return;let{sharedStrings:U,styles:I,properties:Q}=this.workbook,K=!1,G=!1,H=!1,Z=null,V=null,X=null,L=null;for await(let w of rT1($)){let F=[];for(let{eventType:O,value:P}of w)if(O==="opentag"){let B=P;if(q)switch(B.name){case"cols":K=!0,Z=[];break;case"sheetData":G=!0;break;case"col":if(K)Z.push({min:parseInt(B.attributes.min,10),max:parseInt(B.attributes.max,10),width:parseFloat(B.attributes.width),styleId:parseInt(B.attributes.style||"0",10)});break;case"row":if(G){let A=parseInt(B.attributes.r,10);if(V=new aT1(this,A),B.attributes.ht)V.height=parseFloat(B.attributes.ht);if(B.attributes.s){let E=parseInt(B.attributes.s,10),y=I.getStyleModel(E);if(y)V.style=y}}break;case"c":if(V)X={ref:B.attributes.r,s:parseInt(B.attributes.s,10),t:B.attributes.t};break;case"f":if(X)L=X.f={text:""};break;case"v":if(X)L=X.v={text:""};break;case"is":case"t":if(X)L=X.v={text:""};break;case"mergeCell":break;default:break}if(z||J)switch(B.name){case"hyperlinks":H=!0;break;case"hyperlink":if(H){let A={ref:B.attributes.ref,rId:B.attributes["r:id"]};if(z)F.push({eventType:"hyperlink",value:A});else J[A.ref]=A}break;default:break}}else if(O==="text"){if(q){if(L)L.text+=P}}else if(O==="closetag"){let B=P;if(q)switch(B.name){case"cols":K=!1,this._columns=vP0.fromModel(Z);break;case"sheetData":G=!1;break;case"row":this._dimensions.expandRow(V),F.push({eventType:"row",value:V}),V=null;break;case"c":if(V&&X){let A=CP0.decodeAddress(X.ref),E=V.getCell(A.col);if(X.s){let y=I.getStyleModel(X.s);if(y)E.style=y}if(X.f){let y={formula:X.f.text};if(X.v)if(X.t==="str")y.result=tN.xmlDecode(X.v.text);else y.result=parseFloat(X.v.text);E.value=y}else if(X.v)switch(X.t){case"s":{let y=parseInt(X.v.text,10);if(U)E.value=U[y];else E.value={sharedString:y};break}case"inlineStr":case"str":E.value=tN.xmlDecode(X.v.text);break;case"e":E.value={error:X.v.text};break;case"b":E.value=parseInt(X.v.text,10)!==0;break;default:if(tN.isDateFmt(E.numFmt))E.value=tN.excelToDate(parseFloat(X.v.text),Q.model&&Q.model.date1904);else E.value=parseFloat(X.v.text);break}if(J){let y=J[X.ref];if(y)E.text=E.value,E.value=void 0,E.hyperlink=y}X=null}break;default:break}if(z||J)switch(B.name){case"hyperlinks":H=!1;break;default:break}}if(F.length>0)yield F}}}gP0.exports=hP0});var kP0=M((K74,xP0)=>{var{EventEmitter:eT1}=m("events"),$E1=BG(),YE1=Q5(),qE1=L7();class yP0 extends eT1{constructor({workbook:$,id:Y,iterator:q,options:z}){super();this.workbook=$,this.id=Y,this.iterator=q,this.options=z}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:Y}=this,q=!1,z=null;switch(Y.hyperlinks){case"emit":q=!0;break;case"cache":this.hyperlinks=z={};break;default:break}if(!q&&!z){this.emit("finished");return}try{for await(let J of $E1($))for(let{eventType:U,value:I}of J)if(U==="opentag"){let Q=I;if(Q.name==="Relationship"){let K=Q.attributes.Id;switch(Q.attributes.Type){case qE1.Hyperlink:{let G={type:YE1.RelationshipType.Styles,rId:K,target:Q.attributes.Target,targetMode:Q.attributes.TargetMode};if(q)this.emit("hyperlink",G);else z[G.rId]=G}break;default:break}}}this.emit("finished")}catch(J){this.emit("error",J)}}}xP0.exports=yP0});var iP0=M((G74,bP0)=>{var wi=m("fs"),{EventEmitter:zE1}=m("events"),{PassThrough:JE1,Readable:UE1}=P8(),IE1=m("stream"),QE1=WP0(),fP0=jP0(),sY=RP0(),KE1=BG(),uP0=vF(),GE1=kF(),HE1=yF(),ZE1=SP0(),WE1=kP0();fP0.setGracefulCleanup();class Fi extends zE1{constructor($,Y={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...Y},this.styles=new uP0,this.styles.init()}_getStream($){if($ instanceof IE1.Readable||$ instanceof UE1)return $;if(typeof $==="string")return wi.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,Y){try{for await(let{eventType:q,value:z}of this.parse($,Y))switch(q){case"shared-strings":this.emit(q,z);break;case"worksheet":this.emit(q,z),await z.read();break;case"hyperlinks":this.emit(q,z);break}this.emit("end"),this.emit("finished")}catch(q){this.emit("error",q)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:Y}of this.parse())if($==="worksheet")yield Y}async*parse($,Y){if(Y)this.options=Y;let q=this.stream=this._getStream($||this.input),z=QE1.Parse({forceStream:!0});q.pipe(z);let J=[];for await(let U of sY(z)){let I,Q;switch(U.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(U);break;case"xl/workbook.xml":await this._parseWorkbook(U);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(U);break;case"xl/styles.xml":await this._parseStyles(U);break;default:if(U.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(I=U.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),Q=I[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(sY(U),Q);else await new Promise((K,G)=>{fP0.file((H,Z,V,X)=>{if(H)return G(H);J.push({sheetNo:Q,path:Z,tempFileCleanupCallback:X});let L=wi.createWriteStream(Z);return L.on("error",G),U.pipe(L),L.on("finish",()=>{return K()})})});else if(U.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))I=U.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),Q=I[1],yield*this._parseHyperlinks(sY(U),Q);break}U.autodrain()}for(let{sheetNo:U,path:I,tempFileCleanupCallback:Q}of J){let K=wi.createReadStream(I);if(!K[Symbol.asyncIterator])K=K.pipe(new JE1);yield*this._parseWorksheet(K,U),Q()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let Y=new HE1;this.workbookRels=await Y.parseStream(sY($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let Y=new GE1;await Y.parseStream(sY($)),this.properties=Y.map.workbookPr,this.model=Y.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let Y=null,q=[],z=0,J=null;for await(let U of KE1(sY($)))for(let{eventType:I,value:Q}of U)if(I==="opentag"){let K=Q;switch(K.name){case"b":J=J||{},J.bold=!0;break;case"charset":J=J||{},J.charset=parseInt(K.attributes.charset,10);break;case"color":if(J=J||{},J.color={},K.attributes.rgb)J.color.argb=K.attributes.argb;if(K.attributes.val)J.color.argb=K.attributes.val;if(K.attributes.theme)J.color.theme=K.attributes.theme;break;case"family":J=J||{},J.family=parseInt(K.attributes.val,10);break;case"i":J=J||{},J.italic=!0;break;case"outline":J=J||{},J.outline=!0;break;case"rFont":J=J||{},J.name=K.value;break;case"si":J=null,q=[],Y=null;break;case"sz":J=J||{},J.size=parseInt(K.attributes.val,10);break;case"strike":break;case"t":Y=null;break;case"u":J=J||{},J.underline=!0;break;case"vertAlign":J=J||{},J.vertAlign=K.attributes.val;break}}else if(I==="text")Y=Y?Y+Q:Q;else if(I==="closetag")switch(Q.name){case"r":q.push({font:J,text:Y}),J=null,Y=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(q.length?{richText:q}:Y);else if(this.options.sharedStrings==="emit")yield{index:z++,text:q.length?{richText:q}:Y};q=[],J=null,Y=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new uP0,await this.styles.parseStream(sY($))}*_parseWorksheet($,Y){this._emitEntry({type:"worksheet",id:Y});let q=new ZE1({workbook:this,id:Y,iterator:$,options:this.options}),z=(this.workbookRels||[]).find((U)=>U.Target===`worksheets/sheet${Y}.xml`),J=z&&(this.model.sheets||[]).find((U)=>U.rId===z.Id);if(J)q.id=J.id,q.name=J.name,q.state=J.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:q}}*_parseHyperlinks($,Y){this._emitEntry({type:"hyperlinks",id:Y});let q=new WE1({workbook:this,id:Y,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:q}}}Fi.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};bP0.exports=Fi});var pP0=M((H74,cP0)=>{var nP0={Workbook:LH0(),ModelContainer:OH0(),stream:{xlsx:{WorkbookWriter:UF0(),WorkbookReader:iP0()}}};Object.assign(nP0,Q5());cP0.exports=nP0});var FZ=M((Z74,dP0)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");dP0.exports=pP0()});var mP0,lP0,M5,XE1,VE1,LE1,wE1,FE1,X74,V74,L74,w74,F74;var Oi=e(()=>{I5();mP0={"freeflow.submit":"提交送审","freeflow.agree":"审批同意","freeflow.autoAgree":"自动同意","freeflow.reject":"审批驳回","freeflow.back":"审批退回","freeflow.print":"打印单据","freeflow.retract":"单据撤回","freeflow.addnode":"加签/转交","freeflow.comment":"发表评论","freeflow.pay":"支付成功","freeflow.paying":"发起支付","freeflow.carbonCopy":"抄送单据","freeflow.cc":"抄送单据"},lP0={APPROVING:"审批中",APPROVED:"审批通过",REJECTED:"审批驳回",REVOKED:"已撤回",CANCELED:"已取消",CANCELLED:"已取消",SKIPPED:"已跳过",SUBMITTED:"已提交",PENDING:"待审批",WAITING:"待处理",COMPLETED:"已完成",DRAFT:"草稿",PAID:"已支付",PAYING:"支付中"},M5=W.object({id:W.string().optional(),name:W.string().optional(),code:W.string().optional()}),XE1=W.object({id:W.string().optional(),nodeId:W.string().optional(),time:W.number().optional(),durationMs:W.number().optional(),state:W.string().optional(),rawState:W.string().optional(),action:W.string().optional(),rawAction:W.string().optional(),nodeName:W.string().optional(),comment:W.string().optional(),rawComment:W.string().optional(),automatic:W.boolean().default(!1),isEbot:W.boolean().default(!1),skipped:W.boolean().default(!1),operator:M5.optional(),nextOperators:W.array(M5).default([]),rejectTargetNodeName:W.string().optional(),rejectTargetOperator:M5.optional(),resubmitRuleText:W.string().optional(),isModification:W.boolean().default(!1)}),VE1=W.object({id:W.string().optional(),name:W.string().optional(),type:W.string().optional(),state:W.enum(["当前","后续","已完成"]).default("后续"),isCurrent:W.boolean().default(!1),approver:M5.optional(),approvers:W.array(M5).default([])}),LE1=W.object({rejectionNum:W.number().int().nonnegative().default(0),submitCount:W.number().int().positive().default(1),sourceFlowVersion:W.union([W.string(),W.number()]).optional(),isModifiedAfterReject:W.boolean().default(!1),retractCount:W.number().int().nonnegative().default(0),isResubmittedAfterRetract:W.boolean().default(!1)}),wE1=W.object({nodeName:W.string().optional(),operator:M5.optional(),action:W.string().optional(),rawAction:W.string().optional(),time:W.number().optional(),comment:W.string(),isEbot:W.boolean().default(!1)}),FE1=W.object({time:W.number().optional(),nodeName:W.string().optional(),operator:M5.optional(),isEbot:W.boolean().default(!1),reason:W.string(),rawComment:W.string().optional(),fromNodeName:W.string().optional(),targetNodeName:W.string().optional(),targetOperator:M5.optional(),resubmitRuleText:W.string().optional()}),X74=W.object({backlogId:W.string(),flowId:W.string().optional(),billCode:W.string().optional(),title:W.string().optional(),state:W.string().optional(),rawState:W.string().optional(),currentNode:W.string().optional(),specification:W.object({id:W.string().optional(),name:W.string().optional(),code:W.string().optional()}).optional(),submitter:M5.optional(),owner:M5.optional(),submitDate:W.number().optional(),updateTime:W.number().optional(),history:W.array(XE1),pending:W.array(VE1),metrics:LE1,staffOpinions:W.array(wE1),rejections:W.array(FE1),raw:W.record(W.string(),W.unknown()).optional()}),V74=W.object({id:W.string(),state:W.string().optional(),nodeName:W.string().optional(),flowId:W.record(W.string(),W.unknown()).optional(),nodeState:W.record(W.string(),W.unknown()).optional()}).passthrough(),L74=W.object({count:W.number().optional(),items:W.array(W.record(W.string(),W.unknown())).default([])}).passthrough(),w74=W.object({value:W.record(W.string(),W.unknown()).optional(),items:W.array(W.record(W.string(),W.unknown())).optional()}).passthrough(),F74=W.object({recordId:W.string(),sourceDocumentSN:W.string().optional(),taskMode:W.string().optional(),aiDecision:W.string().optional(),aiAction:W.string().optional(),eHumanAction:W.string(),eHumanComment:W.string(),auditDrift:W.boolean().default(!1),auditDriftReason:W.string().optional(),operator:M5.optional()})});function oP0($,Y){let q=A$($.domain||"https://app.ekuaibao.com");return U5.create({prefix:q,timeout:30000,searchParams:{accessToken:$.accessToken},headers:{...Y},hooks:{beforeError:[async({error:z})=>{let J=z instanceof L6?await z.response.text().catch(()=>""):"";return z.message=`${z.message}${J?`: ${J}`:""}`,z}]}})}async function uU($,Y){if($.source.type!=="hose")throw Error(`Unsupported Hose source type: ${$.source.type}. Expected 'hose'.`);let q=await gz($);return oP0({domain:$.source.domain,accessToken:q},Y)}var aN=e(()=>{Cz();j9()});var eN=e(()=>{j9()});var rP0=e(()=>{aN();eN();aN();eN()});var M1,I9,f$,NE1,sP0,tP0,DE1,aP0,PE1,eP0,AE1,$A0,BE1,Mi;var Ni=e(()=>{I5();M1=W.preprocess(($)=>$===null?void 0:$,W.string().optional()),I9=W.preprocess(($)=>$===null?void 0:$,W.boolean().optional()),f$=W.preprocess(($)=>$===null?void 0:$,W.number().optional()),NE1=W.object({nodeId:M1,nodeName:M1,nextId:M1,nextName:M1,comment:M1,isUrgent:I9,isEbotNode:I9,isAuto:I9,isSkip:I9,skipped:I9,counterSign:I9,nextCounterSign:I9,complete:I9}).passthrough(),sP0=W.object({id:M1,action:M1,state:M1,operatorId:M1,nextOperatorId:M1,nextOperatorIds:W.preprocess(($)=>Array.isArray($)?$:[],W.array(W.string())).default([]),time:f$,attributes:W.preprocess(($)=>$===null?void 0:$,NE1.optional())}).passthrough(),tP0=W.object({code:M1,title:M1,submitterId:M1,submitDate:f$,expenseDate:f$,rejectionNum:W.preprocess(($)=>$===null?void 0:$,W.union([W.number(),W.string()]).optional()),reviewStatus:M1,specificationId:M1,payMoney:W.preprocess(($)=>$===null?void 0:$,W.record(W.string(),W.unknown()).optional()),expenseMoney:W.preprocess(($)=>$===null?void 0:$,W.record(W.string(),W.unknown()).optional()),details:W.preprocess(($)=>$===null?void 0:$,W.array(W.record(W.string(),W.unknown())).optional())}).passthrough(),DE1=W.object({id:W.string(),version:f$,state:M1,flowType:M1,formType:M1,ownerId:M1,createTime:f$,updateTime:f$,form:W.preprocess(($)=>$===null?void 0:$,tP0.optional()),logs:W.preprocess(($)=>Array.isArray($)?$:[],W.array(sP0)).default([]),actions:W.preprocess(($)=>$===null?void 0:$,W.record(W.string(),W.array(W.string())).optional())}).passthrough(),aP0=W.object({value:W.preprocess(($)=>$===null?void 0:$,DE1.optional())}).passthrough(),PE1=W.object({id:W.string(),flowId:M1,nodeId:M1,nodeName:M1,ownerId:M1,state:M1,logId:f$,action:M1,createTime:f$,updateTime:f$,isUrgent:I9}).passthrough(),eP0=W.object({count:W.preprocess(($)=>typeof $==="number"?$:0,W.number()).default(0),items:W.preprocess(($)=>Array.isArray($)?$:[],W.array(PE1)).default([])}).passthrough(),AE1=W.object({id:M1,flowId:M1,version:f$,state:M1,createTime:f$,updateTime:f$,form:W.preprocess(($)=>$===null?void 0:$,tP0.optional()),logs:W.preprocess(($)=>Array.isArray($)?$:[],W.array(sP0)).default([]),modifyFlowLog:W.preprocess(($)=>Array.isArray($)?$:void 0,W.array(W.record(W.string(),W.unknown())).optional())}).passthrough(),$A0=W.object({count:W.preprocess(($)=>typeof $==="number"?$:0,W.number()).default(0),items:W.preprocess(($)=>Array.isArray($)?$:[],W.array(AE1)).default([])}).passthrough(),BE1=W.object({id:W.string(),name:M1,enName:M1,nickName:M1,code:M1,cellphone:M1,email:M1,active:I9,userId:M1,defaultDepartment:M1}).passthrough(),Mi=W.object({items:W.preprocess(($)=>Array.isArray($)?$:[],W.array(BE1)).default([])}).passthrough()});async function YA0($,Y){try{let q=await $.get("api/openapi/v1.1/flowDetails",{searchParams:{flowId:Y}}).json();return aP0.parse(q).value}catch(q){if(q instanceof L6&&(q.response.status===404||q.response.status===412))return;throw q}}async function qA0($,Y){try{let q=await $.get("api/openapi/v1.1/flowDetails/allLogs",{searchParams:{flowId:Y}}).json();return eP0.parse(q).items}catch(q){if(q instanceof L6&&(q.response.status===404||q.response.status===412))return[];throw q}}async function zA0($,Y,q){try{let z=await $.get("api/openapi/v1/flow/versioned",{searchParams:{flow_id:Y,pageNum:q?.pageNum??1,pageSize:q?.pageSize??20,convertFeeType:q?.convertFeeType??!0}}).json();return $A0.parse(z).items}catch(z){if(z instanceof L6&&(z.response.status===404||z.response.status===412))return[];throw z}}async function TE1($,Y){if(!Y.conditionIds||Y.conditionIds.length===0)return[];try{let q=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:Y.conditionIds.slice(0,100)}}).json();return Mi.parse(q).items}catch(q){if(Y.conditionIds.length>1){let z=[];for(let J of Y.conditionIds)try{let U=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:[J]}}).json(),I=Mi.parse(U);z.push(...I.items)}catch{}return z}return[]}}async function Di($,Y,q){let[z,J,U]=await Promise.all([YA0($,Y),qA0($,Y).catch(()=>[]),zA0($,Y).catch(()=>[])]),I=q??new Map,Q=[],K=(H)=>{if(H&&typeof H==="string"&&H!=="ebot"&&!I.has(H))Q.push(H)};for(let H of J)K(H.ownerId);for(let H of z?.logs||[])K(H.operatorId),K(H.nextOperatorId);let G=[...new Set(Q)];if(G.length>0)try{let H=await TE1($,{type:"STAFFID",conditionIds:G});for(let Z of H){if(Z.id)I.set(Z.id,Z);if(Z.cellphone)I.set(Z.cellphone,Z)}}catch{}return{flowDetails:z,allLogs:J,versions:U,staffMap:I}}var Pi=e(()=>{Cz();Ni()});var EE1,u74,f74;var Ai=e(()=>{I5();EE1=W.object({id:W.string(),state:W.string().optional(),nodeName:W.string().optional(),flowId:W.record(W.string(),W.unknown()).optional(),nodeState:W.record(W.string(),W.unknown()).optional()}).passthrough(),u74=W.object({count:W.number().optional(),items:W.array(W.record(W.string(),W.unknown())).default([])}).passthrough(),f74=W.object({value:W.record(W.string(),W.unknown()).optional(),items:W.array(W.record(W.string(),W.unknown())).optional()}).passthrough()});var $D=e(()=>{Ai()});var UA0=e(()=>{Pi();$D();$D()});var Bi=e(()=>{Ni();aN();Pi()});var Ti=e(()=>{Ai();eN();$D()});function yE1($){if(!$||typeof $!=="string")return;let Y=$.replace(/<[^>]*>/g,"").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&nbsp;/g," ").trim();return Y.length>0?Y:void 0}function xE1($){if(!$)return;return mP0[$]||$}function KA0($){if(!$)return;return lP0[$.toUpperCase()]||$}function OZ($){if(typeof $==="string"){let U=$.trim();return U?{id:U}:void 0}if(!$||typeof $!=="object")return;let Y=$;if(Y.signerId&&typeof Y.signerId==="object")Y=Y.signerId;let q=typeof Y.id==="string"?Y.id.trim():void 0,z=typeof Y.name==="string"&&Y.name.trim()?Y.name.trim():typeof Y.nickName==="string"&&Y.nickName.trim()?Y.nickName.trim():void 0,J=typeof Y.code==="string"&&Y.code.trim()?Y.code.trim():void 0;if(!q&&!z&&!J)return;return{id:q,name:z,code:J}}function kE1($,Y){if(Y?.isEbotNode===!0)return!0;if(`${$?.id||""} ${$?.name||""}`.toLowerCase().includes("ebot"))return!0;if($?.name?.includes("智能审批")||$?.name?.includes("AI审批"))return!0;if(typeof Y?.nodeName==="string"&&(Y.nodeName.toLowerCase().includes("ebot")||Y.nodeName.includes("智能审批")))return!0;return!1}function uE1($,Y=!1,q=!1){if(q)return{id:$?.id||"ebot",name:"Ebot (智能审批)",code:$?.code};if(!$&&Y)return{id:"system",name:"系统自动"};return $}function fE1($,Y,q,z){let U=[...Array.isArray($)?$.filter((K)=>Boolean(K&&typeof K==="object")):[]].sort((K,G)=>(Number(K.time)||0)-(Number(G.time)||0)),I=(K)=>{if(!K)return;let G=OZ(K);if(!G)return;if(!G.name&&Y&&G.id){let H=G.id.split(":"),Z=Y.get(G.id)||(H.length>1&&H[1]?Y.get(H[1]):void 0);if(Z?.name)return{...G,name:Z.name,code:Z.code||G.code}}return G},Q=[];for(let K=0;K<U.length;K++){let G=U[K],H=G.attributes&&typeof G.attributes==="object"?G.attributes:{},Z=typeof G.time==="number"?G.time:void 0;if(Array.isArray(G.modifyFlowLog)){for(let i of G.modifyFlowLog)if(i&&typeof i==="object"&&i.operatorState==="UPDATE"){let $0=typeof i.operatorTime==="number"?i.operatorTime:Z,j=typeof i.operatorId==="string"?i.operatorId:void 0,u=I(j),p="单据修改";if(j&&j===z)p="提交人";else if(Array.isArray(q)&&j){let d=q.find((q0)=>q0&&typeof q0==="object"&&q0.ownerId===j&&typeof q0.nodeName==="string");if(d?.nodeName)p=String(d.nodeName).trim()}Q.push({id:typeof i.flowVersionedId==="string"?`modify-${i.flowVersionedId}`:void 0,time:$0,state:"审批中",rawState:"MODIFY",action:"修改了单据",rawAction:"flow.modify",nodeName:p,comment:"修改了单据",rawComment:"修改了单据",automatic:!1,isEbot:!1,skipped:!1,isModification:!0,operator:u,nextOperators:[]})}}let V=OZ(G.operatorId),X=kE1(V,H),L=Boolean(H.isEbotNode===!0||H.isAuto===!0||G.action==="freeflow.autoAgree"||!G.operatorId||X),w=uE1(V,L,X);if(w&&!w.name&&Y&&w.id){let i=I(w.id);if(i?.name)w=i}let F=typeof G.action==="string"?G.action:void 0,O=xE1(F),P=typeof G.state==="string"?G.state:void 0,B=KA0(P),A,E,y,v;if(F==="freeflow.reject"){let i;if(Array.isArray(q)){let p=q.find((d)=>d&&typeof d==="object"&&d.action==="freeflow.reject"&&(d.ownerId===G.operatorId||Math.abs((Number(d.updateTime)||0)-(Z||0))<2000));if(p&&typeof p.nodeName==="string")i=p.nodeName.trim()}if(!i&&H.nodeId){let p=U.find((d)=>d&&typeof d==="object"&&d.attributes?.nodeId===H.nodeId&&d.action!=="freeflow.reject"&&d.attributes?.nodeName);if(p)i=String(p.attributes.nodeName).trim()}if(!i){let p=typeof G.operatorId==="object"?G.operatorId?.id:G.operatorId,d=U.find((q0)=>{return(typeof q0.operatorId==="object"?q0.operatorId?.id:q0.operatorId)===p&&q0.action!=="freeflow.reject"&&q0.attributes?.nodeName});if(d)i=String(d.attributes.nodeName).trim();else if(H.nodeName&&H.nodeName!=="提交人")i=String(H.nodeName).trim()}A=i||"审批节点",E=typeof H.nodeName==="string"&&H.nodeName?H.nodeName.trim():typeof H.nextName==="string"&&H.nextName?H.nextName.trim():"提交人";let $0=typeof G.nextOperatorId==="string"?G.nextOperatorId:void 0;if($0)y=I($0);if((!y||!y.name)&&(E==="提交人"||E.includes("提交"))&&z)y=I(z);let j=String(H.resubmitMethod||"").toUpperCase(),u=w?.name||"原审批人";if(j==="TO_REJECTOR")v=`重新提交后由${u}继续审批`;else if(j==="START_OVER"||j==="TO_START"||j==="ALL"||j==="RE_START")v="重新提交后重新全流程审批";else if(j==="NEXT_NODE")v="重新提交后流转至下一节点";else v=`重新提交后由${u}继续审批`}else A=typeof H.nodeName==="string"&&H.nodeName?H.nodeName:typeof H.nextName==="string"&&H.nextName?H.nextName:O==="打印单据"?"打印提醒":void 0;let k=typeof H.comment==="string"?H.comment:void 0,C=yE1(k),c=Boolean(H.isSkip===!0||H.skipped===!0||P==="SKIPPED"),g=(Array.isArray(G.nextOperatorIds)?G.nextOperatorIds:G.nextOperatorId?[G.nextOperatorId]:[]).map(I).filter((i)=>Boolean(i)),b=typeof H.nodeId==="string"&&H.nodeId?H.nodeId:typeof G.nodeId==="string"&&G.nodeId?G.nodeId:void 0;Q.push({id:typeof G.id==="string"?G.id:void 0,nodeId:b,time:Z,state:B,rawState:P,action:O,rawAction:F,nodeName:A,comment:C,rawComment:k,automatic:L,isEbot:X,skipped:c,operator:w,nextOperators:g,rejectTargetNodeName:E,rejectTargetOperator:y,resubmitRuleText:v,isModification:!1})}Q.sort((K,G)=>(Number(K.time)||0)-(Number(G.time)||0));for(let K=0;K<Q.length;K++){let G=Q[K],H=Q[K+1];if(G.time!==void 0&&H?.time!==void 0&&H.time>=G.time)G.durationMs=H.time-G.time}return Q}function bE1($,Y){return $.filter((z)=>{let J=String(z.state||"").toUpperCase();if(J==="CANCELED"||J==="CANCELLED"||J==="PROCESSED"||J==="COMPLETED"||J==="PAID")return!1;return z.logId===-1||J==="APPROVING"||J==="PROCESSING"||J==="PAYING"}).map((z,J)=>{let U=OZ(z.ownerId);if(U&&!U.name&&Y&&z.ownerId){let I=z.ownerId.split(":"),Q=Y.get(z.ownerId)||(I.length>1&&I[1]?Y.get(I[1]):void 0);if(Q?.name)U={...U,name:Q.name,code:Q.code||U.code}}return{id:z.nodeId||z.id,name:z.nodeName,type:z.state,state:J===0?"当前":"后续",isCurrent:J===0,approver:U,approvers:U?[U]:[]}})}function iE1($,Y,q,z){let J=$.form&&typeof $.form==="object"?$.form:{},U=Y.filter((O)=>O.rawAction==="freeflow.reject"||O.rawState==="REJECTED"||O.action==="审批驳回"),I=typeof J.rejectionNum==="number"?J.rejectionNum:typeof J.rejectionNum==="string"?parseInt(J.rejectionNum,10)||void 0:void 0,Q=I!==void 0?I:U.length,K=Y.filter((O)=>O.rawAction==="freeflow.submit"||O.rawState==="SUBMITTED"||O.action==="提交送审"),G=typeof J.submitCount==="number"?J.submitCount:void 0,H=z&&z.length>0?z.length:void 0,Z=G!==void 0?G:H!==void 0?Math.max(H,K.length,1):Math.max(1,K.length),V=Y.filter((O)=>O.rawAction==="freeflow.retract"||O.rawState==="REVOKED"||O.action==="单据撤回"),X=V.length,L=J.sourceFlowVersion??$.sourceFlowVersion??J.version??$.version,w=!1;if(Q>0||U.length>0){let O=Math.max(...U.map((k)=>k.time??0),0),P=Y.some((k)=>(k.time??0)>O&&(k.rawAction==="freeflow.submit"||k.rawState==="SUBMITTED"||k.action==="提交送审")),B=Y.some((k)=>(k.time??0)>O&&k.rawAction!=="freeflow.reject"&&k.rawAction!=="freeflow.print"),E=String(q?.state??$.state??"").toUpperCase()==="REJECTED"||U.length>0&&Y.at(-1)?.rawAction==="freeflow.reject",y=typeof J.submitDate==="number"?J.submitDate:0,v=typeof J.updateTime==="number"?J.updateTime:typeof $.updateTime==="number"?$.updateTime:0;w=P||!E&&(B||y>O||v>O||Z>Q)}let F=!1;if(X>0){let O=Math.max(...V.map((y)=>y.time??0),0),P=Y.some((y)=>(y.time??0)>O&&(y.rawAction==="freeflow.submit"||y.rawState==="SUBMITTED"||y.action==="提交送审")),A=String(q?.state??$.state??"").toUpperCase()==="REVOKED"||V.length>0&&Y.at(-1)?.rawAction==="freeflow.retract",E=typeof J.updateTime==="number"?J.updateTime:typeof $.updateTime==="number"?$.updateTime:0;F=P||!A&&(Z>1||E>O)}return{rejectionNum:Q,submitCount:Z,sourceFlowVersion:typeof L==="string"||typeof L==="number"?L:void 0,isModifiedAfterReject:w,retractCount:X,isResubmittedAfterRetract:F}}function nE1($){return $.filter((Y)=>Boolean(Y.comment&&Y.comment.trim())).map((Y)=>({nodeName:Y.nodeName,operator:Y.operator,action:Y.action,rawAction:Y.rawAction,time:Y.time,comment:Y.comment,isEbot:Y.isEbot}))}function cE1($){return $.filter((Y)=>Y.rawAction==="freeflow.reject"||Y.rawState==="REJECTED"||Y.action==="审批驳回").map((Y)=>({time:Y.time,nodeName:Y.nodeName,operator:Y.operator,isEbot:Y.isEbot,reason:Y.comment||"未填写驳回原因",rawComment:Y.rawComment,fromNodeName:Y.nodeName,targetNodeName:Y.rejectTargetNodeName,targetOperator:Y.rejectTargetOperator,resubmitRuleText:Y.resubmitRuleText}))}function pE1($,Y){let{flowDetails:q,allLogs:z,versions:J,staffMap:U}=$;if(!q)return;let I=q.form||{},Q=typeof I.submitterId==="string"?I.submitterId:typeof q.ownerId==="string"?q.ownerId:void 0,K=fE1(q.logs||[],U,z,Q),G=q.state,H=KA0(G),Z=String(G||"").toUpperCase(),X=["COMPLETED","APPROVED","PAID","REVOKED","CANCELED","CANCELLED","REJECTED"].includes(Z)?[]:bE1(z,U),L=X.find((B)=>B.isCurrent)?.name,w=iE1(q,K,void 0,J),F=nE1(K),O=cE1(K),P;if(I.specificationId&&typeof I.specificationId==="object"){let B=I.specificationId;P={id:typeof B.id==="string"?B.id:void 0,name:typeof B.name==="string"?B.name:void 0,code:typeof B.code==="string"?B.code:void 0}}else if(typeof I.specificationId==="string")P={id:I.specificationId};return{backlogId:q.id||Y||"",flowId:q.id,billCode:typeof I.code==="string"?I.code:void 0,title:typeof I.title==="string"?I.title:void 0,state:H,rawState:G,currentNode:L,specification:P,submitter:OZ(I.submitterId),owner:OZ(q.ownerId||I.ownerId),submitDate:typeof I.submitDate==="number"?I.submitDate:void 0,updateTime:typeof I.updateTime==="number"?I.updateTime:typeof q.updateTime==="number"?q.updateTime:void 0,history:K,pending:X,metrics:w,staffOpinions:F,rejections:O,raw:q}}async function YD($,Y,q){let z=await Di($,Y,q);return pE1(z,Y)}function IA0($){if(!$)return"-";let Y=$.toUpperCase();if(Y==="APPROVE"||Y==="通过")return"通过";if(Y==="EXEMPT_APPROVE"||Y==="免审通过"||Y==="备注通过")return"备注通过";if(Y==="REVIEW"||Y==="转交复核")return"转交复核";if(Y==="REJECT"||Y==="驳回")return"驳回";if(Y==="ERROR"||Y==="错误")return"错误";return $}function fU($){let Y=[];for(let q of $){if(q.rawAction==="freeflow.carbonCopy"||q.rawAction==="freeflow.cc"||q.action==="抄送单据"||q.action==="抄送通知")continue;if((q.rawAction==="freeflow.print"||q.action==="打印提醒"||q.action==="打印单据")&&!q.comment)continue;let z=q.operator?.name||q.operator?.id||"未知",J=q.rawAction==="freeflow.retract"||q.action==="单据撤回",U=q.nodeName?.trim()?`${q.nodeName.trim()}(${z})`:J?`提交人(${z})`:z,I=q.comment;if(!I)if(q.rawAction==="flow.modify"||q.action==="修改了单据"||q.isModification)I="修改了单据";else if(q.rawAction==="freeflow.agree"||q.action==="审批同意")I="同意";else if(q.rawAction==="freeflow.autoAgree")I="自动同意";else if(q.rawAction==="freeflow.pay"||q.action==="支付成功"||q.action==="支付完成")I="支付成功";else if(q.rawAction==="freeflow.paying"||q.action==="发起支付"||q.action==="支付中")I="发起支付";else if(q.rawAction==="freeflow.reject"||q.action==="审批驳回")I="驳回";else if(q.rawAction==="freeflow.back"||q.action==="审批退回")I="退回修改";else if(q.rawAction==="freeflow.retract"||q.action==="单据撤回")I="单据撤回";else I=q.action||"-";let Q="";if(q.rawAction==="flow.modify"||q.action==="修改了单据"||q.isModification||I==="修改了单据")Q="✏️";else if(q.rawAction==="freeflow.autoAgree"||q.action==="自动同意"||I==="自动同意"||q.automatic)Q="\uD83E\uDD16";else if(q.rawAction==="freeflow.retract"||q.action==="单据撤回"||I==="单据撤回")Q="↩️";else if(q.rawAction==="freeflow.reject"||q.action==="审批驳回"||q.rawAction==="freeflow.back"||q.action==="审批退回"||I==="驳回"||I==="退回修改")Q="❌";else if((q.rawAction==="freeflow.pay"||q.action==="支付成功"||q.action==="支付完成")&&(I==="支付成功"||I==="支付完成"||!I))Q="\uD83D\uDCB0";else if(q.rawAction==="freeflow.addnode"||q.action?.includes("加签")||q.action?.includes("转交")||q.action?.includes("转办")||I?.includes("转交")||I?.includes("加签"))Q="\uD83D\uDD00";else if(q.rawAction==="freeflow.paying"||q.rawAction==="freeflow.comment"||q.action==="发表评论"||q.action==="添加评论"||q.rawAction==="freeflow.pay"&&I!=="支付成功")Q="\uD83D\uDCAC";let K=Q?` ${Q}`:"",G=`${U}${K}: ${I}`;if(Y.length===0||Y[Y.length-1]!==G)Y.push(G)}return Y}function bU($,Y=[],q="forward"){if($.length===0&&Y.length===0)return"-";if(q==="forward"){let U=[...$,...Y].map((K,G)=>`${G+1}. ${K}`),I=U.filter((K)=>K.includes("修改了单据")),Q=U.filter((K)=>!K.includes("修改了单据"));return[...I,...Q].join(`
`)}let z=[];Y.forEach((J,U)=>{let I=$.length+U+1,Q=U===0?"⏳ ":"";z.push(`${Q}${I}. ${J}`)});for(let J=$.length-1;J>=0;J--){let U=J+1;z.push(`${U}. ${$[J]}`)}return z.join(`
`)}function Ei($,Y,q,z,J){let U=$?.operator||Y?.operator||q?.operator,I=U?.name||U?.id||q?.operatorName||"",Q=($?.nodeName||Y?.fromNodeName||Y?.nodeName||q?.nodeName||"").trim();if(Q==="合思审批节点"||Q==="外部审批节点"||Q.includes("合思审批")||Q.includes("外部审批"))Q="";if((!Q||Q==="提交人"||Q==="审批节点")&&I&&z){let F=z.find((O)=>O.operator?.name===I&&O.nodeName&&O.nodeName.trim()!=="提交人"&&!O.isEbot&&O.rawAction!=="freeflow.reject");if(F?.nodeName)Q=F.nodeName.trim()}let G=$?.comment||Y?.reason||q?.rejectComment||"修改";if(G.includes(":")){let F=G.split(":");if(F.length>1)G=F.slice(1).join(":").trim()}let H=G;if(Q&&I)H=`${Q}(${I}) ❌: ${G}`;else if(I)H=`${I} ❌: ${G}`;else if(Q)H=`${Q} ❌: ${G}`;else H=G;let Z=$?.rejectTargetNodeName||Y?.targetNodeName||"提交人",V=$?.rejectTargetOperator?.name||Y?.targetOperator?.name||J?.submitter?.name,X=V?`${Z}(${V})`:Z,L=$?.resubmitRuleText||Y?.resubmitRuleText||(I?`重新提交后由${I}继续审批`:"重新提交后继续审批");return{comment:`${H}
↳ 驳回至: ${X}
↳ ${L}`,operator:U}}function QA0($){if(!$)return[];let Y=$.pending||[],q=String($.rawState||"").toUpperCase(),z=String($.state||"").toUpperCase(),J=[];if(Y.length>0)for(let U of Y){let I=U.approver?.name||U.approver?.id||"待定",Q=(U.name||$.currentNode||"").trim(),K=Q?`${Q}(${I})`:I,H=U.type?.toUpperCase()==="PAYING"||Q.includes("支付")||q==="PAYING"||z==="支付中"?"待支付":"待审批";J.push(`${K}: ${H}`)}else if($.currentNode?.trim()){let I=$.currentNode.includes("支付")||q==="PAYING"||z==="支付中"?"待支付":"待审批";J.push(`${$.currentNode.trim()}: ${I}`)}return J}function tY($,Y){let q=new Map;if(!$||$.length===0)return q;if(!Y){for(let X of $){let w=(X.result||{}).decision||X.aiDecision||"-";q.set(X.id,{recordId:X.id,sourceDocumentSN:X.sourceDocumentSN,taskMode:X.taskMode,aiDecision:IA0(typeof w==="string"?w:"-"),aiAction:"-",eHumanAction:"-",eHumanComment:"-",auditDrift:!1})}return q}let z=[...$].sort((X,L)=>(Number(X.createdAt)||0)-(Number(L.createdAt)||0)),J=Y.history||[],U=String(Y.rawState||"").toUpperCase(),I=String(Y.state||"").toUpperCase(),Q=U==="DRAFT"||U==="REVOKED"||U==="CANCELED"||U==="CANCELLED"||I==="草稿"||I==="已撤回"||I==="已取消",K=U==="REJECTED"||U==="TERMINATED"||I==="审批驳回"||I==="已驳回",G=!Q&&!K&&(U==="PAID"||I==="已支付"||J.some((X)=>!X.isEbot&&(X.rawAction==="freeflow.pay"||X.action==="支付成功"||X.action==="支付完成"))),H=!Q&&!K&&!G&&(U==="PAYING"||I==="支付中"||(Y.pending||[]).some((X)=>X.isCurrent&&(X.type?.toUpperCase()==="PAYING"||X.name?.includes("支付")))||Y.currentNode?.includes("支付")===!0),V=G||!Q&&!K&&!H&&(U==="COMPLETED"||U==="APPROVED"||I==="已完成"||I==="审批通过");for(let X=0;X<z.length;X++){let L=z[X];if(!L)continue;let w=Number(L.createdAt)||0,F=L.document||{},O=L.manualApprovalRecord||L.result?.manualApprovalRecord||F.manualApprovalRecord||{},P=typeof L.sourceExtendData?.nodeId==="string"?String(L.sourceExtendData.nodeId):void 0,B=typeof O.nodeId==="string"?String(O.nodeId):void 0,A=B?decodeURIComponent(B).replace(/^hcnode_/,"").replace(/_r\d+$/,""):void 0,E=P||A,y=E?J.find((w0)=>w0.nodeId&&(w0.nodeId===E||E.includes(w0.nodeId))):void 0,v=y?.time??w,k=z[X+1],C=k?Number(k.createdAt)||1/0:1/0,c=X===z.length-1,n=J.find((w0)=>(w0.time??0)>v+5000&&w0.isEbot&&(w0.nodeName?.includes("智能")||w0.nodeName?.includes("AI")||w0.action?.includes("智能")||w0.comment?.includes("AI")||w0.comment?.includes("approval-result"))&&!w0.nodeName?.includes("费用标准检查")&&!w0.nodeName?.includes("标准检查")&&!w0.nodeName?.includes("预算"));if(n){if(c=!1,(n.time??1/0)<C)C=n.time}let g=L.result||{},b=g.decision||L.aiDecision||"-",i=typeof b==="string"?b:"-",$0=i.toUpperCase(),j=$0==="REJECT"||$0==="驳回",u=$0==="APPROVE"||$0==="通过",p=$0==="EXEMPT_APPROVE"||$0==="免审通过"||$0==="备注通过",d=L.taskMode||L.finalExecutionMode||"",t=String(d).toLowerCase().includes("auto")||L.finalExecutionMode==="automatic"||d==="automatic"||d==="fully_automatic",H0="-";if(u||p)H0="添加评论";else if(j)H0=t?"驳回":"添加评论";else if($0==="REVIEW"||$0==="转交复核")H0="转交复核";let L0=typeof O.status==="object"&&O.status!==null?String(O.status.type||O.status.label||"").toUpperCase():"",T0=typeof O.status==="object"&&O.status!==null?String(O.status.sourceStatus||""):"",C0=F.manualApprovalStatus||g.manualApprovalStatus||L.manualApprovalStatus,j0=typeof C0==="string"?C0.toUpperCase():"",i0=j0==="CANCELLED"||j0==="CANCELED"||j0==="已取消"||j0==="已撤回"||j0==="REVOKED"||L0==="CANCELLED"||L0==="CANCELED"||T0.includes("撤回")||T0.includes("取消"),K0=j0==="APPROVED"||j0==="已支付/审批完成"||j0==="已通过"||j0==="已完成"||j0==="已支付"||L0==="APPROVED",f0=!(T0.includes("补偿")||T0.includes("已支付"))&&(j0==="TERMINATED"||j0==="REJECTED"||j0==="REJECT"||j0==="已驳回"||j0==="被驳回"||L0==="TERMINATED"||L0==="REJECTED"||L0==="已驳回"||L0==="被驳回"),c0=y?1000:60000,C1=J.filter((w0)=>{let o=w0.time??0;return o>=v-c0&&o<C}),a0="-",r1="-",F1=!1,b1,$1,J6=u||p,a8=J.filter((w0)=>(w0.time??0)>v+5000),U6=a8.some((w0)=>w0.rawAction==="freeflow.retract"||w0.action==="单据撤回"),e8=a8.some((w0)=>w0.rawAction==="freeflow.submit"||w0.action==="提交送审");if(J6&&c&&(U6||e8))F1=!0,b1="AI通过后单据发生撤回/修改重提,后续未经AI复审";if(t&&j)a0="无操作",r1="-";else{let w0=C1.filter((D)=>(D.time??0)>=v-1000&&!D.isEbot&&D.rawAction!=="freeflow.submit"&&D.action!=="提交送审"&&!((D.rawAction==="freeflow.comment"||D.action==="发表评论")&&!D.comment)&&!((D.rawAction==="freeflow.print"||D.action==="打印提醒")&&!D.comment)&&!(D.rawAction==="freeflow.carbonCopy"||D.rawAction==="freeflow.cc"||D.action==="抄送通知")),o=w0.find((D)=>D.rawAction==="freeflow.retract"||D.action==="单据撤回"),N=w0.find((D)=>D.rawAction==="freeflow.reject"||D.action==="审批驳回");if(!c)if(N||!Y&&f0){a0="审批驳回",F1=!1,b1=void 0;let D=Ei(N,void 0,O,J,Y);r1=D.comment,$1=D.operator}else if(o||i0||!N&&T0.includes("单据撤回")){a0="已撤回",$1=o?.operator;let D=o?w0.filter((x)=>(x.time??0)<=(o.time??1/0)):w0,h=fU(D);for(let x of D)if(!$1&&x.operator)$1=x.operator;if(o&&!h.some((x)=>x.includes("单据撤回")))h.push(`提交人(${o.operator?.name||"提交人"}) ↩️: 单据撤回`);r1=h.length>1?bU(h,[],"forward"):h.length===1?h[0]:o?`提交人(${o.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else{a0="已修改重提";let D=fU(w0);for(let h of w0)if(!$1&&h.operator)$1=h.operator;r1=D.length>1?bU(D,[],"forward"):D.length===1?D[0]:"-"}else if(N){a0="审批驳回",F1=!1,b1=void 0;let D=Ei(N,void 0,O,J,Y);r1=D.comment,$1=D.operator}else if(V||!Y&&K0){let D=C1.some((x)=>x.rawAction==="flow.modify"||x.isModification||x.action==="修改了单据");a0=G?D?"已支付 (中途修改)":"已支付":D?"审批通过 (中途修改)":"审批通过";let h=fU(w0);for(let x of w0)if(!$1&&x.operator)$1=x.operator;if(h.length>0)r1=bU(h,[],"forward");else{let x=[...C1].reverse().find((Y0)=>!Y0.isEbot&&(Y0.rawAction==="freeflow.agree"||Y0.action==="审批同意"||Y0.rawAction==="freeflow.pay"));if(r1=x?.comment?`1. ${x.comment}`:"-",!$1)$1=x?.operator}}else if(H){a0="⏳ 支付中";let D=fU(w0);for(let x of w0)if(!$1&&x.operator)$1=x.operator;let h=QA0(Y);r1=bU(D,h,"reverse")}else if(Q||o&&!e8||i0){a0="已撤回",$1=o?.operator;let D=fU(w0);for(let h of w0)if(!$1&&h.operator)$1=h.operator;if(o&&!D.some((h)=>h.includes("单据撤回")))D.push(`提交人(${o.operator?.name||"提交人"}) ↩️: 单据撤回`);r1=D.length>1?bU(D,[],"forward"):D.length===1?D[0]:o?`提交人(${o.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else if(K||!Y&&f0){a0="审批驳回",F1=!1,b1=void 0;let D=Ei(void 0,Y?.rejections?.[0],O,J,Y);r1=D.comment,$1=D.operator}else{a0="⏳ 审批中";let D=fU(w0);for(let x of w0)if(!$1&&x.operator)$1=x.operator;let h=QA0(Y);r1=bU(D,h,"reverse")}}q.set(L.id,{recordId:L.id,sourceDocumentSN:L.sourceDocumentSN,taskMode:L.taskMode,aiDecision:IA0(i),aiAction:H0,eHumanAction:a0,eHumanComment:r1,auditDrift:F1,auditDriftReason:b1,operator:$1})}return q}var GA0=e(()=>{Bi();Ti();Oi()});var ji=e(()=>{Bi();Ti();Oi();rP0();UA0();GA0()});import{existsSync as HA0,mkdirSync as ZA0,statSync as dE1}from"node:fs";import{homedir as mE1}from"node:os";import{dirname as lE1,resolve as qD}from"node:path";function t7($,Y=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let q=String($).trim();if(!q)return;if(/^\d{10,13}$/.test(q))return q.length===10?`${q}000`:q;if(/^\d{4}-\d{2}-\d{2}$/.test(q)){let U=new Date(`${q}${Y?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(U))return String(U)}let z=new Date(q).getTime();if(!Number.isNaN(z))return String(z);return q}function Ri($){if($===void 0||$===null||$==="")return;if($ instanceof Date)return Number.isNaN($.getTime())?void 0:$.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});let Y=String($).trim();if(!Y)return;if(/^\d{4}-\d{2}-\d{2}/.test(Y))return Y.slice(0,10);if(/^\d{10}$/.test(Y)){let z=new Date(Number(Y)*1000);return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}if(/^\d{13}$/.test(Y)||/^\d+$/.test(Y)){let z=new Date(Number(Y));return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}let q=new Date(Y);return Number.isNaN(q.getTime())?void 0:q.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function _i($=0,Y=new Date){return new Date(Y.getTime()+$*86400000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function oE1($,Y=0){let q=new Date(`${$}T00:00:00+08:00`);return q.setDate(q.getDate()+Y),q.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function Ci($={}){let Y=$.maxSpanDays??180,q=$.startDate!==void 0&&$.startDate!==null&&String($.startDate).trim()!=="",z=$.endDate!==void 0&&$.endDate!==null&&String($.endDate).trim()!=="",J="",U="";if(q){let V=Ri($.startDate);if(!V)throw Error(`无效的起始时间参数: "${String($.startDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);J=V}if(z){let V=Ri($.endDate);if(!V)throw Error(`无效的结束时间参数: "${String($.endDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);U=V}if(!q&&!z){if(J=_i(-1),U=_i(0),!$.silent)console.error(`ℹ️ 未指定导出起止时间,已自动采用默认区间: ${J}至${U}(昨天至今天)。`)}else if(q&&!z){if(U=_i(0),!$.silent)console.error(`ℹ️ 未指定导出结束时间,已自动补齐截至今天: ${J}至${U}。`)}else if(!q&&z){if(J=oE1(U,-30),!$.silent)console.error(`ℹ️ 未指定导出起始时间,已自动向前回溯 30 天: ${J}至${U}。`)}let I=t7(J,!1),Q=t7(U,!0);if(Number(I)>Number(Q))throw Error(`起始时间 (${J}) 不能晚于结束时间 (${U})。`);let K=new Date(`${J}T00:00:00+08:00`).getTime(),G=new Date(`${U}T00:00:00+08:00`).getTime(),H=Math.round((G-K)/86400000);if(H>Y){if(!$.force)throw Error(`时间跨度超过 ${Y} 天(当前为 ${H} 天),大范围导出耗时较长且占用系统资源。如确认需要导出,请添加 --force 参数强制执行。`);if(!$.silent)console.error(`⚠️ 时间跨度超过 ${Y} 天(当前为 ${H} 天),已按 --force 强制执行大范围导出。`)}let Z=`${J}至${U}`;return{startDateStr:J,endDateStr:U,startDateTs:I,endDateTs:Q,dateTag:Z,spanDays:H}}function rE1($){if(!$)return;let Y=Array.isArray($)?$:[$],q=[];for(let z of Y){let J=z.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(J))q.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(J))q.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(J))q.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(J))q.push("CANCELLED");else if(J)q.push(J)}return q.length>0?q:void 0}function sE1($,Y,q){if(!Y)return q?`${$} (${q})`:$;return(Y.split(/[。\n\r;;!!]/)[0]?.trim()||Y.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function tE1($=new Date){let Y=new Intl.DateTimeFormat("en-CA",{timeZone:"Asia/Shanghai",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts($),q=(K)=>Y.find((G)=>G.type===K)?.value||"",z=q("year"),J=q("month"),U=q("day"),I=q("hour"),Q=q("minute");return`${z}${J}${U}_${I}${Q}`}function aE1($){if($.outputFile){let Q=qD($.outputFile),K=lE1(Q);if(!HA0(K))ZA0(K,{recursive:!0});return Q}let Y=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",q=$.dateTag||new Date().toISOString().slice(0,10),z=$.recordCount>0?`${$.recordCount}条`:"空数据",J=tE1($.exportTime||new Date),U=`${Y}_审核记录_${q}_${z}_${J}.xlsx`,I;if($.toDownloads)I=qD(mE1(),"Downloads");else I=qD(process.cwd(),"exports");if(!HA0(I))ZA0(I,{recursive:!0});return qD(I,U)}async function zD($,Y,q={}){let z=Y.name||Y.id,J=q.pageSize??100,U=q.pageDelayMs??250,I=q.limit??1e5,Q=Boolean(q.startDate||q.endDate),K=Array.isArray(q.sns)?q.sns.map((t)=>t.trim()).filter(Boolean):[],G=K.length>0,H=new Set(K),Z=Ci({startDate:q.startDate,endDate:q.endDate,force:q.force,silent:!Q&&G}),{startDateTs:V,endDateTs:X}=Z,L=Z.dateTag,w=rE1(q.manualApprovalStatus);console.error(`正在加载企业「${z}」审核规则集...`);let F=new Map;try{(await b6($)).rules.forEach((H0,L0)=>{let T0=`rule-${H0.code??L0}`,C0=sE1(T0,H0.description,H0.scope);F.set(T0,{id:T0,code:String(H0.code??L0),title:`[${T0}] ${C0}`,desc:H0.description})})}catch(t){console.error(`⚠️ 加载规则字典失败: ${t.message},将仅导出基础信息列。`)}let O=Array.from(F.keys()).sort((t,H0)=>{let L0=parseInt(t.replace(/\D/g,""),10)||0,T0=parseInt(H0.replace(/\D/g,""),10)||0;return L0-T0});if(console.error(`已就绪 ${O.length} 个规则列。开始拉取单据...`),q.withFlow===!0&&Y.source.type==="hose")if(G)console.error(`\uD83C\uDFAF [单据筛选] 已指定定向筛选单号: [${K.join(", ")}] (共 ${K.length} 个)。`);else try{let t=await x4($,{limit:1,startDate:V,endDate:X,status:q.status,sourceSystem:q.sourceSystem,taskMode:q.taskMode,manualApprovalStatus:w}),H0=t.total??t.records?.length??0,L0=Math.max(1,Math.min(q.flowConcurrency??3,5)),T0=Math.max(1,Math.ceil(H0/L0*0.4));if(H0>50)console.error(`⚠️ [审批流对齐提示] 目标区间内单据规模约为 ${H0} 笔。系统已启用合思 Open API 保护限流(并发 ${L0}),预计审批流拉取耗时约 ${T0} 秒。`)}catch{}let P=[],B=0,A=0;if(G&&K.length<=50){console.error(`正在定向检索 ${K.length} 个指定单号...`);for(let t of K){try{let L0=((await x4($,{search:t,limit:50,startDate:Q?V:void 0,endDate:Q?X:void 0,status:q.status,sourceSystem:q.sourceSystem,taskMode:q.taskMode,manualApprovalStatus:w})).records||[]).filter((T0)=>T0.sourceDocumentSN===t);for(let T0 of L0){if(T0.taskMode==="simulation"){B++;continue}if(q.taskMode&&T0.taskMode!==q.taskMode)continue;if(Y.source.type==="hose"&&T0.sourceSystem&&!["hose","hosecloud"].includes(T0.sourceSystem)){A++;continue}if(q.includeCompletedOnly&&T0.status!=="completed")continue;if(T0.status==="completed"&&(!T0.result||!T0.result.rulesResult))try{let C0=await e1($,T0.id);P.push(C0)}catch{P.push(T0)}else P.push(T0);if(P.length>=I)break}}catch(H0){console.error(`⚠️ 定向检索单号 [${t}] 失败: ${H0.message}`)}if(P.length>=I)break}console.error(`定向检索完成,成功匹配 ${P.length} 条记录。`)}else{let t=0,H0=0;while(P.length<I){let L0,T0=3;while(T0>0)try{L0=await x4($,{limit:J,offset:t,startDate:V,endDate:X,status:q.status,sourceSystem:q.sourceSystem,taskMode:q.taskMode,manualApprovalStatus:w});break}catch(j0){if(T0--,console.error(`分页拉取失败 (offset=${t}): ${j0.message},剩余重试 ${T0} 次...`),T0===0)throw j0;await new Promise((i0)=>setTimeout(i0,1000))}if(!L0||!L0.records||L0.records.length===0)break;H0=L0.total??H0;for(let j0 of L0.records){if(G&&(!j0.sourceDocumentSN||!H.has(j0.sourceDocumentSN)))continue;if(j0.taskMode==="simulation"){B++;continue}if(q.taskMode&&j0.taskMode!==q.taskMode)continue;if(Y.source.type==="hose"&&j0.sourceSystem&&!["hose","hosecloud"].includes(j0.sourceSystem)){A++;continue}if(q.includeCompletedOnly&&j0.status!=="completed")continue;if(j0.status==="completed"&&(!j0.result||!j0.result.rulesResult))try{let i0=await e1($,j0.id);P.push(i0)}catch{P.push(j0)}else P.push(j0);if(P.length>=I)break}t+=L0.records.length;let C0=H0>0?(t/H0*100).toFixed(1):"-";if(t%500===0||t>=H0||P.length>=I)console.error(`[进度] 已读取单据: ${t}/${H0} (${C0}%),有效加入: ${P.length} 条`);if(L0.records.length<J||t>=H0)break;if(U>0)await new Promise((j0)=>setTimeout(j0,U))}}if(B>0)console.error(`ℹ️ 已自动排除 ${B} 条模拟测试任务 (taskMode="simulation"),仅保留真实审批任务。`);if(A>0)console.error(`ℹ️ 已自动排除 ${A} 条非合思来源单据,仅保留合思业务单据。`);if(!Q&&G&&P.length>0){let t=P.map((H0)=>Ri(H0.createdAt||H0.updatedAt)).filter(Boolean);if(t.length>0){t.sort();let H0=t[0],L0=t[t.length-1];L=H0===L0?H0:`${H0}至${L0}`}}console.error(`成功拉取 ${P.length} 条单据数据,正在生成高保真 Excel...`);let E=new WA0.default.Workbook;E.creator="Seal AI (seal-use)",E.created=new Date;let y=E.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),v=q.withFlow===!0&&Y.source.type==="hose",k=[{header:"单据编号",key:"sn",width:16},{header:"单据模板名称",key:"templateName",width:26},{header:"来源系统",key:"sourceSystem",width:12},{header:"任务模式",key:"taskMode",width:12},{header:"状态",key:"status",width:12},{header:"AI行为",key:"aiAction",width:14},{header:"AI决策",key:"aiDecision",width:14},{header:"思考深度",key:"thinkingDepth",width:12},{header:"人工审核",key:"manualStatus",width:16},{header:"人工驳回原因",key:"humanRejectReason",width:36},...v?[{header:"E人工行为",key:"eHumanAction",width:18},{header:"E人工意见",key:"eHumanComment",width:36}]:[],{header:"创建时间",key:"createdAt",width:20},{header:"任务耗时",key:"duration",width:12},{header:"关联规则数",key:"hitRuleCount",width:12},{header:"关联规则汇总",key:"hitRulesSummary",width:30},{header:"AI审核结论摘要",key:"aiSummary",width:45}],C=O.map((t)=>{return{header:F.get(t).title,key:`rule_${t}`,width:22}});y.columns=[...k,...C];let c=y.getRow(1);c.height=32,c.eachCell((t,H0)=>{let L0=H0<=k.length;t.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},t.fill={type:"pattern",pattern:"solid",fgColor:{argb:L0?"FF1E3A8A":"FF334155"}},t.alignment={vertical:"middle",horizontal:L0&&H0<=2?"left":"center",wrapText:!1}});let n={},g=0,b=0,i=new Map,$0=new Set,j=q.excludeDeleted??!0;if(q.withFlow===!0&&Y.source.type==="hose"){try{let t=new Map;for(let L0 of P){let T0=L0.sourceDocumentId||L0.sourceDocumentSN;if(T0){let C0=t.get(T0)||[];C0.push(L0),t.set(T0,C0)}}let H0=Array.from(t.keys());if(H0.length>0){let L0=Math.max(1,Math.min(q.flowConcurrency??3,5)),T0=q.flowBatchDelayMs??150,C0=Math.max(1,Math.ceil(H0.length/L0*(0.25+T0/1000)));console.error(`正在拉取合思原生审批流以对齐人工行为与意见 (共 ${H0.length} 个单据,并发限制: ${L0},批次间隔: ${T0}ms,预计耗时约 ${C0}s)...`);let j0=await uU(Y),i0=new Map;for(let K0=0;K0<H0.length;K0+=L0){let v0=H0.slice(K0,K0+L0);if(await Promise.all(v0.map(async(f0)=>{let c0=t.get(f0),C1=c0[0]?.sourceDocumentSN||f0;try{let a0=await YD(j0,f0,i0);if(!a0){$0.add(C1);let F1=tY(c0,void 0);for(let[b1,$1]of F1.entries())$1.eHumanAction="单据已删除",$1.eHumanComment="合思系统中未找到该单据流转记录(可能已在合思端删除或作废)",i.set(b1,$1);return}let r1=tY(c0,a0);for(let[F1,b1]of r1.entries())if(i.set(F1,b1),b1.auditDrift)b++}catch(a0){console.error(`⚠️ 拉取单据 ${C1} 审批流失败: ${a0.message},使用降级对齐。`);let r1=tY(c0,void 0);for(let[F1,b1]of r1.entries())i.set(F1,b1)}})),T0>0&&K0+L0<H0.length)await new Promise((f0)=>setTimeout(f0,T0));if((K0+L0)%20<L0||K0+L0>=H0.length){let f0=Math.min(K0+v0.length,H0.length),c0=Math.round(f0/H0.length*100);console.error(`[审批流进度] 已对齐: ${f0}/${H0.length} (${c0}%)...`)}}}}catch(t){console.error(`⚠️ 对齐合思审批流失败: ${t.message},E人工行为与意见将使用默认值。`)}if($0.size>0)console.error(`ℹ️ 检测到 ${$0.size} 个单据在合思端已删除或不存在(如: ${Array.from($0).slice(0,3).join(", ")}...)${j?",已按要求自动排除。":",已在报表中标记为「单据已删除」。"}`)}let u=0,p=0;for(let t of P){let H0=t.sourceDocumentSN||t.sourceDocumentId;if(j&&H0&&$0.has(H0)){p++;continue}u++;let L0=t.result||{},T0=t.document||{},C0="未知模板";if(Array.isArray(T0.fields)){let D=T0.fields.find((h)=>h.label==="单据模板"||h.label==="流程名称"||h.key==="templateName"||h.key==="specificationId"||h.key==="formName");if(D?.value)C0=String(D.value)}if(C0==="未知模板"&&(T0.name||T0.title))C0=T0.name||T0.title;let j0=t.taskMode||"-";if(j0==="assisted")j0="辅助审核";else if(j0==="simulation")j0="测试任务";else if(j0==="automatic")j0="自动审批";let i0=t.status||"-";if(i0==="completed")i0="已完成";else if(i0==="processing")i0="处理中";else if(i0==="failed")i0="失败";let K0=L0.decision||t.aiDecision||"-",v0=String(K0).toUpperCase(),f0=String(K0),c0="-";if(v0==="APPROVE"||v0==="通过")f0="通过",c0="添加评论";else if(v0==="EXEMPT_APPROVE"||v0==="免审通过"||v0==="备注通过")f0="备注通过",c0="添加评论";else if(v0==="REVIEW"||v0==="转交复核")f0="转交复核",c0="转交复核";else if(v0==="REJECT"||v0==="驳回")f0="驳回",c0="驳回";else if(v0==="ERROR"||v0==="错误")f0="错误",c0="-";let C1="-";if(t.createdAt&&t.updatedAt&&t.status==="completed"){let D=Math.round((Number(t.updatedAt)-Number(t.createdAt))/1000);if(D>=60)C1=`${Math.floor(D/60)}分${D%60}秒`;else if(D>0)C1=`${D}秒`}let a0=t.manualApprovalRecord||{},r1=String(a0.status?.sourceStatus||""),F1="-";if(a0.status?.label)F1=String(a0.status.label);else if(a0.status?.type){let D=String(a0.status.type);if(D==="APPROVED")F1="已通过";else if(D==="TERMINATED")F1="被驳回";else if(D==="PROCESSING")F1="处理中";else if(D==="CANCELLED")F1="已撤回";else F1=D}n[F1]=(n[F1]||0)+1;let b1=a0.rejectComment?String(a0.rejectComment).trim():"-";if(b1!=="-")g++;let $1=new Map,J6=[];if(Array.isArray(L0.rulesResult)){for(let D of L0.rulesResult)if(D.id)$1.set(D.id,D.checkResult||"PASS"),J6.push(D.id)}if(Array.isArray(L0.hitRules)){for(let D of L0.hitRules)if(D.id&&!$1.has(D.id))$1.set(D.id,"TRIGGERED"),J6.push(D.id)}let a8="-";if(t.createdAt)a8=new Date(Number(t.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let U6=i.get(t.id),e8=U6?U6.eHumanAction:"-",w0=U6?U6.eHumanComment:"-",o={sn:t.sourceDocumentSN||t.sourceDocumentId||"-",templateName:C0,sourceSystem:t.sourceSystem||"合思",taskMode:j0,status:i0,aiAction:c0,aiDecision:f0,thinkingDepth:"标准",manualStatus:F1,humanRejectReason:b1,...v?{eHumanAction:e8,eHumanComment:w0}:{},createdAt:a8,duration:C1,hitRuleCount:J6.length,hitRulesSummary:J6.join(", ")||"-",aiSummary:L0.summary||"-"};for(let D of O){let h=$1.get(D);if(h)if(h==="PASS")o[`rule_${D}`]="关联 (通过)";else if(h==="FAIL")o[`rule_${D}`]="关联 (不通过)";else if(h==="UNKNOWN")o[`rule_${D}`]="关联 (待复核)";else o[`rule_${D}`]="已关联";else o[`rule_${D}`]="未关联"}let N=y.addRow(o);N.height=24,N.eachCell((D,h)=>{let x=String(D.value||"");if(D.font={name:"Microsoft YaHei",size:10},D.border={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},h<=k.length){let r=k[h-1]?.key||"",z0=["sn","templateName","humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(r),G0=["humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(r);if(D.alignment={vertical:"middle",horizontal:z0?"left":"center",wrapText:G0},r==="aiDecision"){if(x==="通过"||x==="备注通过")D.font={color:{argb:"FF16A34A"},bold:!0};else if(x==="转交复核")D.font={color:{argb:"FFD97706"},bold:!0};else if(x==="驳回")D.font={color:{argb:"FFDC2626"},bold:!0};else if(x==="错误"||x==="ERROR")D.font={color:{argb:"FFDC2626"},bold:!0}}if(r==="manualStatus"){if(x.includes("驳回"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(x.includes("通过")||x.includes("支付")||x.includes("完成"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(x.includes("处理中")||x.includes("审批中"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(x.includes("取消")||x.includes("撤回"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}}}if(r==="humanRejectReason"&&x!=="-")D.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}};if(r==="eHumanAction"){if(x.includes("⚠️")||x.includes("修改"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FFD97706"},bold:!0},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}};else if(x.includes("驳回")||x.includes("退回"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(x.includes("通过")||x.includes("已支付")||x.includes("已完成"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(x.includes("待处理")||x.includes("处理中")||x.includes("审核中")||x.includes("审批中")||x.includes("支付中"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"},bold:!0},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(x.includes("撤回")||x.includes("取消"))D.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}};else if(x==="无操作")D.font={name:"Microsoft YaHei",size:10,color:{argb:"FF94A3B8"}}}if(r==="eHumanComment"&&x!=="-")D.font={name:"Microsoft YaHei",size:9,color:{argb:"FF334155"}}}else if(D.alignment={vertical:"middle",horizontal:"center"},x.includes("不通过"))D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},D.font={color:{argb:"FF991B1B"},bold:!0};else if(x.includes("通过"))D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},D.font={color:{argb:"FF166534"},bold:!0};else if(x.includes("待复核")||x.includes("已关联"))D.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},D.font={color:{argb:"FF92400E"}};else D.font={color:{argb:"FF94A3B8"}}})}let d=aE1({outputFile:q.outputFile,toDownloads:q.toDownloads,corpName:z,dateTag:L,recordCount:u,exportTime:q.exportTime});await E.xlsx.writeFile(d),console.error(`Excel 文件已成功落地: ${d}`);let q0=dE1(d);return{filePath:d,corpId:Y.id,corpName:z,recordCount:u,ruleColumnCount:O.length,statusCounts:n,rejectReasonCount:g,fileSizeBytes:q0.size,exportedAt:new Date().toISOString(),driftCount:b,excludedDeletedCount:p,excludedSimulationCount:B}}var WA0;var JD=e(()=>{I6();ji();WA0=y4(FZ(),1)});import XA0 from"node:fs";import VA0 from"node:path";function eE1($){try{let Y=new URL($);if(Y.search)return`${Y.origin}${Y.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function gi($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function LA0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function $j1($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function l1($){return typeof $==="string"&&$.trim()?$.trim():void 0}function vi($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Yj1($){if(!$)return;if(typeof $==="string")try{let Y=JSON.parse($);if(Y&&typeof Y==="object")return Y}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function qj1($,Y,q){if(q?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let z=$.fileName??$.filename??$.name??$.originalName,J=$.fileId??$.id??$.attachmentId,U=$.ossPath??$.ossKey,I=$.url??$.downloadUrl??$.previewUrl,Q=$.mimeType??$.mimetype??$.contentType,K=$.ossFileSize??$.fileSize??$.size;if(z&&(I||U||J||K))return!0;if(J&&(Q||K||U||I))return!0;let G=Object.keys($).map((V)=>V.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(Y)||Boolean(q?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(q.fieldKey))||Boolean(q?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(q.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((V)=>G.includes(V))}function zj1($,Y,q){let z=`${$} ${q?.fieldLabel??""} ${q?.fieldKey??""} ${l1(Y.type)??""} ${l1(Y.category)??""}`.toLowerCase();if(z.includes("invoice")||z.includes("发票"))return"invoice";if(z.includes("receipt"))return"receipt";let J=(l1(Y.fileName)??l1(Y.name)??"").toLowerCase();if(J.includes("发票")||J.includes("invoice"))return"invoice";return"attachment"}function hi($,Y,q,z,J){if(Array.isArray($)){$.forEach((G,H)=>hi(G,`${Y}.${H}`,q,z,J));return}let U=$j1($);if(!U)return;let I=U.type&&typeof U.type==="string"||"label"in U&&"value"in U||"key"in U&&"value"in U,Q=J;if(I)Q={fieldLabel:l1(U.label)??J?.fieldLabel,fieldKey:l1(U.key)??J?.fieldKey,fieldType:l1(U.type)??J?.fieldType};if(!(Array.isArray(U.value)&&!U.url&&!U.ossSignedUrl&&!U.fileId)&&qj1(U,Y,J)){let G=Yj1(U.token),H=l1(G?.key),Z=l1(G?.fileId),V=LA0({path:Y,fieldPath:Y,kind:zj1(Y,U,J),fileName:l1(U.fileName)??l1(U.filename)??l1(U.name)??l1(U.originalName),mimeType:l1(U.mimeType)??l1(U.mimetype)??l1(U.contentType),fileId:l1(U.fileId)??l1(U.id)??l1(U.attachmentId)??Z,ossPath:l1(U.ossPath)??l1(U.ossKey)??H,url:l1(U.url)??l1(U.signedUrl)??l1(U.downloadUrl)??l1(U.previewUrl),ossSignedUrl:l1(U.ossSignedUrl)??l1(U.signedUrl),token:U.token,tokenKey:H,category:l1(U.category),ossFileSize:vi(U.ossFileSize)??vi(U.fileSize)??vi(U.size),invoiceId:l1(U.invoiceId),sourceField:l1(U.fieldName)??l1(U.label)??J?.fieldLabel??J?.fieldKey}),X=JSON.stringify(V);if(!z.has(X))z.add(X),q.push(V)}for(let[G,H]of Object.entries(U))hi(H,`${Y}.${G}`,q,z,Q)}function a7($,Y={}){let q=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],z=[],J=new Set;for(let[U,I]of q)hi(I,U,z,J);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:z.length,attachments:Y.summary?z.map((U)=>LA0({path:U.path,kind:U.kind,fileName:U.fileName,mimeType:U.mimeType,fileId:U.fileId,sourceField:U.sourceField,ossFileSize:U.ossFileSize,hasSignedUrl:Boolean(U.ossSignedUrl)})):z}}async function UD($){let{record:Y,fetchFn:q=globalThis.fetch}=$,J=a7(Y,{summary:!1}).attachments,U=VA0.resolve($.outDir??"./attachments");if(J.length===0)return{recordId:Y.id,outDir:U,total:0,downloaded:0,failed:0,files:[]};let I=[];if($.name){let Z=$.name.toLowerCase();if(I=J.filter((V)=>{let X=V.fileName?.toLowerCase()??"",L=V.fileId?.toLowerCase()??"",w=V.tokenKey?.toLowerCase()??"";return X.includes(Z)||L===Z||w.includes(Z)}),I.length===0){let V=J.map((X)=>X.fileName??X.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${V||"无"}`)}}else if(!$.all){if(J.length>1){let Z=J.map((V)=>V.fileName??V.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${J.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${Z}`)}I=J}else I=J;await XA0.promises.mkdir(U,{recursive:!0});let Q=[],K=new Set;for(let Z of I){let V=Z.fileName??Z.fileId??"attachment",X=gi(V),L=X,w=X.lastIndexOf("."),F=w>0?X.slice(0,w):X,O=w>0?X.slice(w):"",P=1;while(K.has(L.toLowerCase()))L=`${F}_${P}${O}`,P++;K.add(L.toLowerCase());let B=Z.ossSignedUrl??Z.url;if(!B){console.error(`⚠️ [跳过] 附件 "${V}": 记录中无下载直链 (ossSignedUrl/url)`),Q.push({name:L,fileId:Z.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:Z.sourceField,tokenKey:Z.tokenKey});continue}let A=eE1(B);try{let E=await q(B,{signal:AbortSignal.timeout(60000)});if(!E.ok){let C=E.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${E.status} ${E.statusText}`;throw Error(C)}let y=await E.arrayBuffer(),v=Buffer.from(y);if(Z.ossFileSize!==void 0&&v.length!==Z.ossFileSize)console.error(`⚠️ [校验] 附件 "${L}" 实际大小 (${v.length} 字节) 与 ossFileSize (${Z.ossFileSize} 字节) 不一致`);let k=VA0.join(U,L);await XA0.promises.writeFile(k,v),console.error(`✓ 已下载: ${L} (${v.length} 字节)`),Q.push({name:L,fileId:Z.fileId,path:k,size:v.length,expectedSize:Z.ossFileSize,status:"success",sourceField:Z.sourceField,tokenKey:Z.tokenKey})}catch(E){let y=E.message??String(E);console.error(`⚠️ [失败] 附件 "${V}" 下载失败: ${y} [${A}]`),Q.push({name:L,fileId:Z.fileId,status:"failed",error:y,sourceField:Z.sourceField,tokenKey:Z.tokenKey})}}let G=Q.filter((Z)=>Z.status==="success").length,H=Q.filter((Z)=>Z.status==="failed").length;return{recordId:Y.id,outDir:U,total:I.length,downloaded:G,failed:H,files:Q}}var ID=()=>{};var Jj1,Uj1,Ij1,Qj1,wA0,Si,yi,Kj1,Gj1,Hj1,xi,Zj1,QD;var ki=e(()=>{I5();Jj1=W.object({type:W.literal("hose"),domain:W.string().url().default("https://app.ekuaibao.com"),appKey:W.string().optional(),appSecurity:W.string().optional(),key:W.string().optional(),password:W.string().optional(),staffId:W.string(),corpId:W.string(),sealUrl:W.string().url().optional()}).superRefine(($,Y)=>{if(!$.appKey&&!$.key)Y.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)Y.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),Uj1=W.object({type:W.literal("direct"),token:W.string(),sealUrl:W.string().url(),expiresIn:W.number().int().positive().default(3600),staffId:W.string().default("direct"),corpId:W.string().optional()}),Ij1=W.object({type:W.literal("seal"),token:W.string(),sealUrl:W.string().url(),expiresIn:W.number().int().positive().default(3600),staffId:W.string().default("seal"),corpId:W.string().optional(),tenantId:W.string().optional(),tenantSlug:W.string().optional(),tenantName:W.string().optional(),providerUserId:W.string().optional(),provider:W.string().optional(),providerName:W.string().optional()}),Qj1=W.discriminatedUnion("type",[Jj1,Uj1,Ij1]),wA0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Si=W.record(W.string().regex(wA0,"Invalid HTTP header name"),W.string()).superRefine(($,Y)=>{for(let q of Object.keys($))if(q.toLowerCase()==="authorization")Y.addIssue({code:"custom",path:[q],message:"seal.headers cannot set Authorization; the Seal session supplies the bearer token"})}).optional(),yi=W.record(W.string().regex(wA0,"Invalid cookie name"),W.string().refine(($)=>!/[\u0000-\u001f\u007f;]/.test($),{message:"Cookie value cannot contain control characters or semicolons"})).optional(),Kj1=W.object({url:W.string().url().optional(),tenantSlug:W.string().optional(),headers:Si,cookies:yi,endpoints:W.object({approvalStylePreferences:W.string().default("api/v1/agent/ai-approval/config")}).default({approvalStylePreferences:"api/v1/agent/ai-approval/config"})}).default({endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}}),Gj1=W.object({refreshTtl:W.number().int().positive().default(300)}).default({refreshTtl:300}),Hj1=W.enum(["production","test"]).default("production"),xi=W.object({id:W.string(),name:W.string(),seal:Kj1,source:Qj1,auth:Gj1,environment:Hj1,testCorpId:W.string().optional(),prodCorpId:W.string().optional()}),Zj1=W.object({enabled:W.boolean().default(!1),activeLinter:W.string().default("builtin"),minScore:W.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),QD=W.object({stateful:W.boolean().default(!1),defaultCorpId:W.string().min(1).optional(),testEnterprisesDir:W.string().min(1).optional(),lint:Zj1})});import{copyFileSync as FA0,existsSync as X$,mkdirSync as MA0,readFileSync as ZD,readdirSync as GD,rmSync as Wj1,statSync as MZ,writeFileSync as NA0}from"node:fs";import{homedir as WD}from"node:os";import{dirname as Xj1,join as Q9}from"node:path";function Vj1($=iU,Y=HD){if(!X$(Y))return{copied:[],deletedLegacyDir:!1};MA0($,{recursive:!0,mode:448});let q=[],z=[];try{z=GD(Y).filter((Z)=>Z.endsWith(".json"))}catch{return{copied:[],deletedLegacyDir:!1}}for(let Z of z){let V=Q9(Y,Z),X=Q9($,Z);if(!X$(X))FA0(V,X),q.push(Z);else{let L=MZ(V).mtimeMs,w=MZ(X).mtimeMs;if(L>w)FA0(V,X),q.push(Z)}}let J=604800000,U=Date.now(),I=!1,Q=!1;for(let Z of GD(Y)){let V=Q9(Y,Z),X=Q9($,Z),L=MZ(V);if(U-L.mtimeMs<J)Q=!0;if(Z.endsWith(".json")&&X$(X)){if(L.mtimeMs>MZ(X).mtimeMs)I=!0}}let K=MZ(Y),G=U-K.mtimeMs<J,H=!1;if(!I&&!Q&&!G)Wj1(Y,{recursive:!0,force:!0}),H=!0;return{copied:q,deletedLegacyDir:H}}function r8(){let $=EA0(),Y=new Map;for(let q of $)for(let z of GD(q).filter((J)=>J.endsWith(".json")).filter((J)=>!J.startsWith("example."))){let J=ZD(Q9(q,z),"utf-8"),U=xi.parse(JSON.parse(J));Y.set(U.id,U)}return Array.from(Y.values())}function EA0(){let $=(process.env[ui]??process.env[DA0])?.trim();if($)return X$($)?[$]:[];let Y=(process.env[PA0]??process.env[AA0])?.trim(),q;if(Y)q=X$(Y)?[Y]:[];else{try{Vj1()}catch{}q=X$(iU)?[iU]:X$(HD)?[HD]:[iU]}let J=T4().testEnterprisesDir?.trim(),U=J?[J,...q]:q,I=[];for(let Q of U)if(X$(Q)&&!I.includes(Q))I.push(Q);return I}function fi(){let $=(process.env[ui]??process.env[DA0])?.trim();if($)return $;let Y=(process.env[PA0]??process.env[AA0])?.trim();if(Y)return Y;let q=T4().testEnterprisesDir?.trim();if(q&&X$(q))return q;return iU}function Q3(){let $=T4().testEnterprisesDir?.trim();return[`${ui}=<path>`,...$?[`testEnterprisesDir: ${$}`]:[],iU,HD]}function aY(){let $=(process.env[BA0]??process.env[TA0])?.trim();if($)return $;if(X$(KD))return KD;if(X$(OA0))return OA0;return KD}function T4(){let $=aY();if(!X$($))return QD.parse({});return QD.parse(JSON.parse(ZD($,"utf-8")))}function eY($){let Y=QD.parse($),z=(process.env[BA0]??process.env[TA0])?.trim()||KD;return MA0(Xj1(z),{recursive:!0,mode:448}),NA0(z,`${JSON.stringify(Y,null,2)}
`,{mode:384}),Y}function bi($){let Y=EA0();for(let q of Y){if(!X$(q))continue;for(let z of GD(q).filter((J)=>J.endsWith(".json")).filter((J)=>!J.startsWith("example."))){let J=Q9(q,z);try{let U=ZD(J,"utf-8"),I=JSON.parse(U);if(I&&typeof I==="object"&&I.id===$)return J}catch{}}}return}function e7($,Y){let q=bi($);if(!q)throw Error(`Enterprise config not found: ${$}`);let J={...JSON.parse(ZD(q,"utf-8")),...Y};for(let I of Object.keys(Y))if(Y[I]===void 0)delete J[I];let U=xi.parse(J);return NA0(q,`${JSON.stringify(U,null,2)}
`,"utf-8"),U}var ui="SEAL_USE_ENTERPRISES_DIR",DA0="SEAL_HOME_ENTERPRISES_DIR",PA0="SEAL_USE_USER_ENTERPRISES_DIR",AA0="SEAL_HOME_USER_ENTERPRISES_DIR",BA0="SEAL_USE_CONFIG_FILE",TA0="SEAL_HOME_CONFIG_FILE",iU,HD,KD,OA0;var K3=e(()=>{ki();iU=Q9(WD(),".config","seal-use","enterprises"),HD=Q9(WD(),".config","seal-home","enterprises"),KD=Q9(WD(),".config","seal-use","config.json"),OA0=Q9(WD(),".config","seal-home","config.json")});function $2($,Y,q=[]){let z=Y.corpId?.trim()||void 0,J=Y.stateful?Y.defaultCorpId?.trim()||void 0:void 0,U=z??J;if(U){let Q=$.find((H)=>H.id===U);if(Q)return Q;let K=$.find((H)=>H.id.toLowerCase()===U.toLowerCase());if(K)return K;let G=$.find((H)=>H.name.toLowerCase()===U.toLowerCase());if(G)return G;throw Error(`No enterprise config found for ${U}`)}if(!Y.stateful)throw Error("Stateless mode is enabled. Every enterprise command requires --corp <corpId>. Use `seal-home config mode stateful` to enable a default enterprise.");let I=$[0];if(I)return I;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(q.length?q.join(", "):"the configured enterprise directories"))}import{existsSync as ii,mkdirSync as Lj1,readFileSync as wj1,renameSync as Fj1,unlinkSync as Oj1,writeFileSync as Mj1}from"node:fs";import{homedir as Nj1}from"node:os";import{dirname as Dj1,join as Pj1}from"node:path";function ci(){let $=process.env[Aj1]?.trim();if($)return $;return Bj1}function jA0($=new Date){return $.toISOString().slice(0,10)}function _A0($=ni,Y=new Date){let q=Y.getTime()-Math.max(0,$-1)*86400000;return new Date(q).toISOString().slice(0,10)}function RA0($=ci()){if(!ii($))return{};try{let Y=wj1($,"utf-8"),q=JSON.parse(Y);if(q&&typeof q==="object"&&!Array.isArray(q))return q;return{}}catch{return{}}}function Tj1($,Y){let q={};for(let[z,J]of Object.entries($)){if(!J||typeof J!=="object")continue;let U={},I=!1;for(let[Q,K]of Object.entries(J))if(typeof K==="number"&&K>0&&Q>=Y)U[Q]=K,I=!0;if(I)q[z]=U}return q}function Ej1($,Y=ci()){let q=Dj1(Y);if(!ii(q))Lj1(q,{recursive:!0,mode:448});let z=`${Y}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2,8)}.tmp`;try{Mj1(z,JSON.stringify($,null,2),"utf-8"),Fj1(z,Y)}catch(J){try{if(ii(z))Oj1(z)}catch{}throw J}}function CA0($,Y=new Date){if(!$||typeof $!=="string")return;try{let q=ci(),z=RA0(q),J=jA0(Y),U=_A0(ni,Y),I=Tj1(z,U);I[$]=I[$]||{},I[$][J]=(I[$][J]??0)+1,Ej1(I,q)}catch{}}function jj1($,Y=ni,q=new Date){let z=new Map;try{let J=RA0(),U=_A0(Y,q),I=jA0(q),Q=$??Object.keys(J);for(let K of Q){let G=J[K];if(!G){z.set(K,0);continue}let H=0;for(let[Z,V]of Object.entries(G))if(Z>=U&&Z<=I&&typeof V==="number")H+=V;z.set(K,H)}}catch{if($)for(let J of $)z.set(J,0)}return z}function vA0($,Y,q){let z=q??jj1($.map((J)=>J.id));return[...$].sort((J,U)=>{if(Y){if(J.id===Y&&U.id!==Y)return-1;if(U.id===Y&&J.id!==Y)return 1}let I=z.get(J.id)??0,Q=z.get(U.id)??0;if(I!==Q)return Q-I;let K=J.name??J.id,G=U.name??U.id,H=K.localeCompare(G,"zh-CN");if(H!==0)return H;return J.id.localeCompare(U.id)})}var Aj1="SEAL_USE_USAGE_FILE",Bj1,ni=7;var pi=e(()=>{Bj1=Pj1(Nj1(),".config","seal-use","usage.json")});function _j1($,Y){return $.map((q)=>q.trim()).filter(Boolean).map((q)=>Y?q:q.toLowerCase())}function Rj1($,Y){return Y?$:$.toLowerCase()}function Cj1($,Y,q,z){let J=Rj1($,z),U=Y.filter((I)=>J.includes(I));if(q==="all"&&U.length!==Y.length)return[];return U}function vj1($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function hj1($,Y){if(Y.fields&&!Y.fields.has($.field))return[];let q=vj1($.value),z=[];return q.forEach((J,U)=>{let I=Cj1(J,Y.keywords,Y.matchMode,Y.caseSensitive);if(I.length===0)return;let Q=Math.max(0,U-Y.contextLines),K=Math.min(q.length,U+Y.contextLines+1),G={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:U+1,matchedKeywords:I,matchedText:XD(J,Y.maxChars),context:{before:Y.snippetOnly?[]:q.slice(Q,U).map((H)=>XD(H,Y.maxChars)),line:XD(J,Y.maxChars),after:Y.snippetOnly?[]:q.slice(U+1,K).map((H)=>XD(H,Y.maxChars))},metadata:$.metadata};if(Y.snippetOnly)G.context={before:[],line:G.context.line,after:[]};z.push(G)}),z}function XD($,Y){if(!Y||$.length<=Y)return $;return`${$.slice(0,Math.max(0,Y))}...`}function gj1($){return[{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"description",value:$.description,metadata:{scope:$.scope,strictness:$.strictness,status:$.status}},{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"scope",value:$.scope,metadata:{strictness:$.strictness,status:$.status}}]}function gA0($){return $.rules.flatMap((Y,q)=>{let z=`${$.id}:${Y.description.slice(0,32)}`,J={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:Y.scope,strictness:Y.strictness,code:"code"in Y?Y.code:void 0,index:q};return[{area:"rules",entityType:"rule",entityId:z,title:`${$.versionName} / ${Y.scope}`,field:"history.description",value:Y.description,metadata:J},{area:"rules",entityType:"rule",entityId:z,title:`${$.versionName} / ${Y.scope}`,field:"history.scope",value:Y.scope,metadata:J}]})}function Sj1($){return[{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"title",value:$.title,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"purpose",value:$.purpose,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"content",value:$.content,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}}]}function yj1($){let Y=[];if($.decisionPreferences)for(let[q,z]of Object.entries($.decisionPreferences))Y.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${q}`,value:z,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((q,z)=>{Y.push({area:"preferences",entityType:"integration",title:q.outboundName,field:`integrations[${z}]`,value:q,metadata:{type:q.type,outboundName:q.outboundName,mode:q.mode,corporationId:q.corporationId}})}),Y}async function xj1($,Y,q){let z=q.ruleVersionScope??"current",J=[Y.id,`ruleVersionScope=${z}`,`ruleVersionId=${q.ruleVersionId??""}`,`ruleVersionNumber=${q.ruleVersionNumber??""}`,`latestRuleVersion=${q.latestRuleVersion??!1}`,`documentLimit=${q.documentLimit??100}`].join("|"),U=hA0.get(J);if(!q.refresh&&U&&Date.now()<U.expiresAt)return U;let[I,Q,K]=await Promise.all([kj1($,{scope:z,versionId:q.ruleVersionId,versionNumber:q.ruleVersionNumber,latest:q.latestRuleVersion}),m3($,{limit:q.documentLimit??100}),x1($,Y.seal.endpoints.approvalStylePreferences)]),G=Date.now(),H={entries:[...I,...Q.articles.flatMap(Sj1),...yj1(K)],fetchedAt:G,expiresAt:G+SA0};return hA0.set(J,H),H}async function kj1($,Y){if(Y.scope==="current")return(await b6($)).rules.flatMap(gj1);if(Y.scope==="version"){let z=await uj1($,Y);return gA0(z)}return(await B$($)).flatMap(gA0)}async function uj1($,Y){if(Y.versionId)return AK($,Y.versionId);let q=await B$($),z=Y.versionNumber?q.find((J)=>J.versionNumber===Y.versionNumber):q[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}async function yA0($,Y,q){let z=q.matchMode??"any",J=q.caseSensitive??!1,U=q.contextLines??3,I=new Set(q.areas??["rules","documents","preferences"]),Q=q.maxResults??50,K=q.ruleVersionScope??"current",G=_j1(q.keywords,J),H=q.fields?.length?new Set(q.fields):void 0;if(G.length===0)throw Error("keywords must contain at least one non-empty string");let Z=await xj1($,Y,{documentLimit:q.documentLimit,refresh:q.refresh,ruleVersionScope:K,ruleVersionId:q.ruleVersionId,ruleVersionNumber:q.ruleVersionNumber,latestRuleVersion:q.latestRuleVersion}),V=Z.entries.filter((X)=>I.has(X.area)).flatMap((X)=>hj1(X,{keywords:G,matchMode:z,caseSensitive:J,contextLines:U,snippetOnly:q.snippetOnly,maxChars:q.maxChars,fields:H}));return{query:{keywords:q.keywords,matchMode:z,areas:Array.from(I),caseSensitive:J,contextLines:U,refresh:q.refresh??!1,ruleVersionScope:K,ruleVersionId:q.ruleVersionId,ruleVersionNumber:q.ruleVersionNumber,latestRuleVersion:q.latestRuleVersion??!1,snippetOnly:q.snippetOnly??!1,maxChars:q.maxChars,fields:q.fields},cache:{fetchedAt:new Date(Z.fetchedAt).toISOString(),expiresAt:new Date(Z.expiresAt).toISOString(),ttlMs:SA0},total:V.length,returned:Math.min(V.length,Q),results:V.slice(0,Q)}}var SA0=300000,hA0;var xA0=e(()=>{I6();hA0=new Map});import{createHmac as fj1,randomBytes as bj1}from"node:crypto";function ij1($,Y,q,z){return fj1("sha256",z).update(`${$}.${Y}.${JSON.stringify(q)}`).digest("hex")}function NZ($,Y){let q=Math.floor(Date.now()/1000),z=bj1(16).toString("hex");return{Authorization:`Bearer ${Y}`,"x-webhook-signature":ij1(q,z,$,Y),"x-webhook-timestamp":String(q),"x-webhook-nonce":z}}var VD=()=>{};function i4($,Y){return new Z4($,2,Y)}function K9($,Y){return new Z4($,10,Y)}function wD($){if($ instanceof Z4)return{exitCode:$.exitCode,nextAction:$.nextAction};let Y=$ instanceof Error?$.message:String($),q=nj1($);if(q===401||q===403||/(?:^|\s)(?:token|bearer|session) (?:expired|missing|invalid)/i.test(Y))return{exitCode:11};if(/^(?:Usage:|Unknown (?:[a-z0-9_-]+ )?command|Invalid (?:number|boolean|command)|--json must|Missing required JSON field)/i.test(Y))return{exitCode:2};if(/^Refusing to (?:clear|delete)|without --yes|without confirm=true/i.test(Y))return{exitCode:10};return{exitCode:1}}function nj1($){if(!$||typeof $!=="object")return;let Y=$.response;if(!Y||typeof Y!=="object")return;let q=Y.status;return typeof q==="number"?q:void 0}var Z4,LD;var V$=e(()=>{Z4=class Z4 extends Error{exitCode;nextAction;constructor($,Y,q){super($);this.name="CliError",this.exitCode=Y,this.nextAction=q}};LD=class LD extends Z4{constructor($,Y){super($,12,Y);this.name="PayloadTooLargeError"}}});function kA0($,Y){let q=$&&typeof $==="object"?$:{},z=typeof q.type==="string"?q.type.toUpperCase().trim():"",J=typeof q.key==="string"&&q.key.trim()?q.key.trim():typeof q.label==="string"&&q.label.trim()?q.label.trim():`field_${Y}`,U=typeof q.label==="string"&&q.label.trim()?q.label.trim():J,I=q.value!==void 0?q.value:null;if(z==="LIST"&&Array.isArray(I))I=I.map((K)=>{if(Array.isArray(K))return K.map((G,H)=>kA0(G,H));return K});let Q=z;if(!cj1.has(Q))if(Array.isArray(I))Q="LIST";else if(I&&typeof I==="object")Q="OBJECT";else if(typeof I==="number")Q="NUMBER";else Q="TEXT";return{key:J,label:U,type:Q,value:I}}function di($,Y={}){let q=$.document,z=$.sourceDocumentSN??(typeof q?.sn==="string"?q.sn:void 0)??(typeof q?.sourceDocumentSN==="string"?q.sourceDocumentSN:void 0)??$.id,J=$.sourceDocumentId??(typeof q?.id==="string"?q.id:void 0)??(typeof q?.sourceDocumentId==="string"?q.sourceDocumentId:void 0)??$.documentId??$.id,U=Y.snPrefix??"",I=Y.snSuffix??"",Q=Y.docIdPrefix??U,K=Y.docIdSuffix??I,G=`${U}${z}${I}`,H=`${Q}${J}${K}`,Z=typeof q?.sourceStartTime==="number"?q.sourceStartTime:typeof $.createdAt==="number"?Math.floor($.createdAt/1000):null,X=(Array.isArray(q?.fields)?q.fields:[]).map((L,w)=>kA0(L,w));return{type:"document",documentId:H,documentSN:G,startTime:Z,fields:X}}function pj1($){let Y=new URL($),q=Y.pathname.match(/\/webhook\/([^/]+)/);if(!q)throw Error(`Webhook URL 必须包含 /webhook/{webhookId}/document,收到: ${$}`);let z=q[1],J=`${Y.protocol}//${Y.host}`,U=`${J}/api/v1/integrations/webhook/${encodeURIComponent(z)}/document`;return{baseUrl:J,webhookId:z,documentEndpoint:U}}async function mi($,Y,q,z=fetch,J={}){let{webhookId:U,documentEndpoint:I}=pj1($),Q={...J,"Content-Type":"application/json",...NZ({webhookId:U,...q},Y)},K=await z(I,{method:"POST",headers:Q,body:JSON.stringify(q)});if(!K.ok){let G=await K.text();throw Error(`Webhook 单据推送失败 (${K.status}): ${G}`)}return K.json()}function uA0($,Y,q){if(Y){let z=Y.trim().toLowerCase(),J=$.find((U)=>U.id.toLowerCase()===z||U.name.toLowerCase()===z||U.incomingDocumentWebhook.id.toLowerCase()===z);if(!J){let U=$.map((I)=>`"${I.name}" (${I.id})`).join(", ");throw Error(`未找到匹配 "${Y}" 的 Webhook 集成通道。可用通道: [${U}]`)}return J}if($.length===1)return $[0];if($.length>1){let z=$.find((U)=>U.name.includes("回放")||U.name.toLowerCase().includes("replay"));if(z)return z;let J=$.map((U)=>`"${U.name}" (${U.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${J}],请通过 --webhook <idOrName> 指定目标通道。`)}throw new Z4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name <name> --result-url <url>${q?` --corp ${q}`:""}`)}function FD($,Y){let q,z,{sourceCorpId:J,targetCorpId:U,activeCorp:I,force:Q}=$;if(J&&U)q=Y(J),z=Y(U);else if(J&&!U)if(q=Y(J),q.testCorpId)z=Y(q.testCorpId);else if(I.id!==q.id&&I.environment==="test")z=I;else z=I;else if(!J&&U)if(z=Y(U),z.prodCorpId)q=Y(z.prodCorpId);else if(I.id!==z.id)q=I;else q=I;else if(I.environment==="test")if(z=I,I.prodCorpId)q=Y(I.prodCorpId);else q=I;else if(I.environment==="production")if(q=I,I.testCorpId)z=Y(I.testCorpId);else z=I;else q=I,z=I;if(z.environment==="production"&&!Q)throw new Z4(`目标企业「${z.name}」(${z.id}) 标记为生产正式环境 (production)。
`+"为防止测试单据污染生产审批流,禁止向生产环境重放单据。请指定测试企业 (--target-corp <testCorpId>),或在确有需要时添加 --force。",1,`seal-use webhook replay --target-corp <testCorpId>${q.id!==z.id?` --source-corp ${q.id}`:""}`);return{sourceCorp:q,targetCorp:z}}async function li($,Y,q){let z=Y.seal?.endpoints?.approvalStylePreferences??"api/v1/agent/ai-approval/config",J=await J$($,z);if(q||J.length>0)return uA0(J,q,Y.id);if(Y.environment==="test"||Y.id.toLowerCase().includes("test")){console.error(`[webhook-replay] 测试企业「${Y.name}」未配置 Webhook 通道,正在自动创建「(Seal测-回放通道)」...`);let U=(Y.seal.url??Y.source?.sealUrl??`https://${Y.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,"");return await nL($,U,{name:"(Seal测-回放通道)",mode:"assisted",outgoingResultWebhook:`${U}/api/v1/integrations/webhook/replay-mock-callback`},Y.seal.endpoints.approvalStylePreferences)}throw new Z4(`当前租户「${Y.name}」未配置任何 Webhook 集成通道。`,1,`seal-use webhook add --name <name> --result-url <url> --corp ${Y.id}`)}async function nU($){let{query:Y,sourceClient:q,targetClient:z,sourceCorp:J,targetCorp:U,webhookSelector:I,snPrefix:Q,snSuffix:K,docIdPrefix:G,docIdSuffix:H,dryRun:Z,fetchFn:V=fetch}=$,X=[];if(Y.recordId){let E=await e1(q,Y.recordId);X.push(E)}else if(Y.recordIds&&Y.recordIds.length>0)for(let E of Y.recordIds)X.push(await e1(q,E));else if(Y.sn){let E=await x4(q,{sourceDocumentSN:Y.sn,limit:1});if(!E.records.length)throw Error(`在企业「${J.name}」中未找到单据编号为「${Y.sn}」的审批记录。`);X.push(E.records[0])}else if(Y.sns&&Y.sns.length>0)for(let E of Y.sns){let y=await x4(q,{sourceDocumentSN:E,limit:1});if(!y.records.length)throw Error(`在企业「${J.name}」中未找到单据编号为「${E}」的审批记录。`);X.push(y.records[0])}else if(Y.limit!==void 0){let E=await x4(q,{limit:Y.limit,status:Y.status,startDate:Y.startDate,endDate:Y.endDate});if(!E.records.length)throw Error(`在企业「${J.name}」中未检索到符合条件的审批记录。`);X=E.records}else throw Error("Usage: seal-use webhook replay <recordId> [--sn <documentSN>] [--limit <n>] [--webhook <idOrName>] [--source-corp <corpId>] [--target-corp <corpId>] [--dry-run]");let L=X.map((E)=>({run:E,doc:di(E,{snPrefix:Q,snSuffix:K,docIdPrefix:G,docIdSuffix:H})}));if(Z){let E={id:"preview-webhook",name:I??"预览目标通道",mode:"assisted",incomingDocumentWebhookUrl:`${U.seal.url}/api/v1/integrations/webhook/preview`};try{let k=await J$(z,U.seal.endpoints.approvalStylePreferences);if(k.length>0){let C=uA0(k,I,U.id);E={id:C.id,name:C.name,mode:C.mode,incomingDocumentWebhookUrl:C.incomingDocumentWebhook.url}}}catch{}let y=L.map(({run:k,doc:C})=>({originalRecord:{id:k.id,sourceSystem:k.sourceSystem,sourceDocumentSN:k.sourceDocumentSN,sourceDocumentId:k.sourceDocumentId},document:C,success:!0})),v=y.length===1;return{dryRun:!0,success:!0,sourceCorp:{id:J.id,name:J.name,environment:J.environment},targetCorp:{id:U.id,name:U.name,environment:U.environment},targetWebhook:E,totalCount:y.length,successCount:y.length,failureCount:0,originalRecord:v?y[0].originalRecord:void 0,document:v?y[0].document:void 0,records:y}}let w=await li(z,U,I),F={id:w.id,name:w.name,mode:w.mode,incomingDocumentWebhookUrl:w.incomingDocumentWebhook.url},O=[],P=0,B=0;for(let{run:E,doc:y}of L){console.error(`[webhook-replay] 正在向 Webhook 通道「${w.name}」推送单据: ${y.documentSN}...`);try{let v=await mi(w.incomingDocumentWebhook.url,w.secret,y,V,w6(U.seal));O.push({originalRecord:{id:E.id,sourceSystem:E.sourceSystem,sourceDocumentSN:E.sourceDocumentSN,sourceDocumentId:E.sourceDocumentId},replayedDocument:{documentSN:y.documentSN,documentId:y.documentId,fieldCount:y.fields.length},pushResult:v,success:!0}),P+=1}catch(v){let k=v instanceof Error?v.message:String(v);O.push({originalRecord:{id:E.id,sourceSystem:E.sourceSystem,sourceDocumentSN:E.sourceDocumentSN,sourceDocumentId:E.sourceDocumentId},replayedDocument:{documentSN:y.documentSN,documentId:y.documentId,fieldCount:y.fields.length},error:k,success:!1}),B+=1}}let A=O.length===1;return{success:B===0,dryRun:!1,sourceCorp:{id:J.id,name:J.name,environment:J.environment},targetCorp:{id:U.id,name:U.name,environment:U.environment},targetWebhook:F,totalCount:O.length,successCount:P,failureCount:B,originalRecord:A?O[0].originalRecord:void 0,replayedDocument:A?O[0].replayedDocument:void 0,pushResult:A?O[0].pushResult:void 0,records:O}}var cj1;var DZ=e(()=>{VD();V$();I6();cj1=new Set(["TEXT","NUMBER","DATE","AMOUNT","PERSON","ATTACHMENT","DATE_RANGE","DEPARTMENT","LIST","CITY","OBJECT"])});var fA0,i24,dj1,n24;var bA0=e(()=>{I5();fA0=W.object({level:W.enum(["error","warning","info"]),code:W.string(),message:W.string(),snippet:W.string().optional(),suggestion:W.string().optional()}),i24=W.object({score:W.number().min(0).max(100),passed:W.boolean(),issues:W.array(fA0)}),dj1=W.object({ruleId:W.string().optional(),ruleCode:W.string().optional(),ruleName:W.string().optional(),score:W.number().min(0).max(100),passed:W.boolean(),issues:W.array(fA0),description:W.string().optional()}),n24=W.object({linter:W.string(),linterType:W.enum(["builtin","official","custom"]),totalRules:W.number(),healthyCount:W.number(),issueCount:W.number(),overallScore:W.number().min(0).max(100),passed:W.boolean(),issues:W.array(dj1)})});function cU($){let Y=($.description||"").trim(),q=[];if(Y.length<5)q.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});for(let K of mj1)if(Y.includes(K))q.push({level:"error",code:"VAGUE_WORD",snippet:K,message:`包含主观模糊词 "${K}",容易导致大模型判定标准产生波动与幻觉`,suggestion:`建议移除 "${K}",改为具体的金额上限、枚举范围或刚性判定条件`});let z=lj1.find((K)=>Y.includes(K)),J=oj1.some((K)=>Y.includes(K));if(z&&!J)q.push({level:"warning",code:"HANGING_EXCEPTION",snippet:z,message:`包含例外条款 "${z}",但未指定 AI 从何处核验该例外成立的依据`,suggestion:'建议补充明确的凭据来源(例如:"需在【单据备注】中说明原因" 或 "需在【附件】中上传审批截图")'});let U=q.filter((K)=>K.level==="error").length,I=q.filter((K)=>K.level==="warning").length;return{score:Math.max(0,100-U*25-I*10),passed:U===0,issues:q}}var mj1,lj1,oj1;var oi=e(()=>{mj1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况"],lj1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],oj1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"]});function iA0($){let Y=($.description||"").trim(),q=[];if(Y.length<5)q.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});else if(Y.length<10)q.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则描述偏短(少于 10 个字),可能缺少适用的单据范围或执行细节",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});for(let V of rj1)if(Y.includes(V))q.push({level:"error",code:"VAGUE_WORD",snippet:V,message:`包含主观模糊词 "${V}",在严格风控模式下容易引起审核判定分歧`,suggestion:`请移除 "${V}",明确量化标准或枚举具体允许的情形`});let z=sj1.find((V)=>Y.includes(V)),J=tj1.some((V)=>Y.includes(V));if(z&&!J)q.push({level:"error",code:"HANGING_EXCEPTION",snippet:z,message:`包含例外条款 "${z}",但未指定 AI 从何处核验该例外成立的凭证依据`,suggestion:'严格模式要求必须补充明确的核验来源(如:"需在【单据备注】中说明原因" 或 "需在【附件】中提供审批截图")'});let U=/\d+/.test(Y),I=aj1.some((V)=>Y.includes(V));if(!U&&!I)q.push({level:"warning",code:"LACKS_EXPLICIT_CONSTRAINT",message:"规则缺乏明确的定量标准(如金额、天数、频次)或绝对刚性边界词(如不得、禁止、仅限)",suggestion:"建议设定具体数值阈值或明确的禁止/准入条件,以便大模型精确判定"});let Q=/经(批准|审批|领导同意|领导签字)|审批通过/.test(Y),K=ej1.some((V)=>Y.includes(V));if(Q&&!K)q.push({level:"warning",code:"AMBIGUOUS_APPROVER",message:"规则提及审批例外,但未明确指定具体的审批角色(如部门总监、直接上级、财务负责人)",suggestion:"建议明确审批人角色(例如:经【部门总监】批准,经【直接上级】邮件确认)"});let G=q.filter((V)=>V.level==="error").length,H=q.filter((V)=>V.level==="warning").length;return{score:Math.max(0,100-G*30-H*15),passed:G===0,issues:q}}var rj1,sj1,tj1,aj1,ej1;var ri=e(()=>{rj1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况","必要时","及时","适量","差不多","相关部门"],sj1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],tj1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"],aj1=["¥","$","€","元","不得超过","不超过","超过","低于","不低于","最高","封顶","限额","禁止","严禁","必须","不予","仅限","每人","每日","每月","每年","每次","单笔"],ej1=["总监","VP","总经理","直接上级","部门负责人","项目经理","财务","分管领导","HR","CEO"]});function nA0($){let Y=($.description||"").trim(),q=($.scope||"").trim(),z=[];if(Y.length<10)z.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 10 个字),无法承载 HLab 结构化规范所要求的判定逻辑",suggestion:"请按照 HLab 工业化规范补充【检查方法】与【判定标准】"});else if(Y.length<30&&!Y.includes("**")&&!Y.includes("检查方法"))z.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则正文偏短且缺少结构化要素,可能缺少执行细节或证据边界",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});if(!/\*\*检查方法\*\*|检查方法[::]/.test(Y))z.push({level:"error",code:"MISSING_CHECK_METHOD",message:"规则正文缺少【检查方法】结构块,大模型难以确定数据提取来源与对齐逻辑",suggestion:"建议在正文前部增加 **检查方法**:明确 SealAI 应读取的凭证类型、字段名称、归一化方式或前置规则依赖"});if(!/\*\*判定标准\*\*|判定标准[::]/.test(Y))z.push({level:"error",code:"MISSING_EVAL_STANDARD",message:"规则正文缺少【判定标准】结构块,缺乏标准化判定边界",suggestion:"建议在正文后部增加 **判定标准**:包含清晰的 PASS、FAIL 以及证据不足分支"});let I=/[-*•]?\s*PASS[::]/i.test(Y),Q=/[-*•]?\s*FAIL[::]/i.test(Y),K=/[-*•]?\s*证据不足[::]/.test(Y);if(!I||!Q||!K){let L=[];if(!I)L.push("PASS");if(!Q)L.push("FAIL");if(!K)L.push("证据不足");z.push({level:"error",code:"INCOMPLETE_TERNARY_BRANCH",message:`判定标准未形成三元闭环,缺少分支:${L.join("、")}`,suggestion:"HLab 规范要求必须提供完整的三元分支:- PASS(充分合规条件)、- FAIL(明确违规条件)、- 证据不足(容错与复核条件)"})}if(K){let L=Y.split("证据不足")?.[1]?.slice(0,100)||"";if(!/人工复核|人工核对|人工审核|转人工/.test(L))z.push({level:"warning",code:"INSUFFICIENT_WITHOUT_MANUAL_REVIEW",message:"【证据不足】分支未明确指定转【人工复核】兜底,大模型在材料模糊或冲突时可能失控",suggestion:"建议在【证据不足】分支末尾补充标准处置话术:'转人工复核',确保容错降级路径统一"})}for(let L of $_1)if(Y.includes(L)){z.push({level:"warning",code:"DISPOSAL_ACTION_LEAK",snippet:L,message:`规则正文包含整单处置动作话术 "${L}",违反 HLab 规则事实判定与处置动作解耦规范`,suggestion:`请移除正文中的 "${L}";单据处置动作(驳回/提醒)应交由平台严格程度(必须遵守/仅建议)或业务工作流定义`});break}if(q){for(let L of Y_1)if(q.includes(L)){z.push({level:"warning",code:"SCOPE_FALSE_SKIP_PRONE",snippet:L,message:`适用场景包含材料上传前置判断 "${L}",当材料未上传时可能导致该规则被静默跳过(SKIP)而非报违规(FAIL)`,suggestion:"建议适用场景仅保留业务与单据触发条件(如单据模板、费用类型);材料缺失的检查应显式置于【判定标准】的 FAIL 分支中"});break}}for(let L of q_1)if(Y.includes(L)){z.push({level:"error",code:"RISK_SUPPRESSION",snippet:L,message:`规则正文包含消极风险压制话术 "${L}",可能破坏模型正常审计底线或压制有效违规`,suggestion:"请移除该规则或改写为正向合规要求;若需豁免特定场景,请在 **例外** 结构块中封闭说明豁免条件与凭证依据"});break}let G=z_1.find((L)=>Y.includes(L)),H=J_1.some((L)=>Y.includes(L));if(G&&!H)z.push({level:"error",code:"HANGING_EXCEPTION",snippet:G,message:`包含例外条款 "${G}",但未指定 AI 从何处核验该例外成立的凭据来源`,suggestion:"HLab 规范要求例外条款必须明确凭据载体(如:在【**例外**】块中注明需提供专项 OA 审批 PDF 附件或商家盖章证明)"});let Z=z.filter((L)=>L.level==="error").length,V=z.filter((L)=>L.level==="warning").length;return{score:Math.max(0,100-Z*25-V*10),passed:Z===0,issues:z}}var $_1,Y_1,q_1,z_1,J_1;var si=e(()=>{$_1=["驳回单据","直接驳回","整单退回","退回单据","退单处理","进行提醒","请进行提醒","予以驳回","直接退回","无需人工关注","无需展示在最后的审核结论中"],Y_1=["若上传了","如上传了","若提供了","如提供了","附件需上传","上传了发票","提供了支付截图","提供了行程单","上传了行程单"],q_1=["忽略行程冲突","忽略重复报销","忽略跨城一致性","不识别为风险","不作为风险事项","无需作为风险"],z_1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],J_1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票","流程"]});var ti;var ai=e(()=>{ti={"builtin.ts":`/**
* ==============================================================================
* Seal 官方标准规则校验器 (Official Standard Rule Linter)
* ==============================================================================
*
* 存放路径: ~/.config/seal-use/linters/official/builtin.ts
* 维护说明: 本文件由 seal-use 官方自动同步并保护。
* 每次运行时系统会自动重写本文件并清理 official/ 目录下的非官方文件。
* 若您需要编写企业私有规则校验器,请将自定义 .ts 文件放置在外层的用户目录:
* ~/.config/seal-use/linters/ 即可,系统将自动识别并加载。
*/
export interface RuleLintTarget {
id?: string;
code?: string;
name?: string;
description: string;
scope?: string;
strictness?: string;
}
export interface RuleLintIssue {
level: "error" | "warning";
code: string;
message: string;
snippet?: string;
suggestion?: string;
}
export interface RuleLintResult {
score: number;
passed: boolean;
issues: RuleLintIssue[];
}
export const BUILTIN_VAGUE_WORDS = [
"原则上",
"尽量",
"适当",
"酌情",
"一般情况下",
"尽可能",
"合理控制",
"视情况",
"视具体情况"
];
export const BUILTIN_EXCEPTION_TRIGGERS = [
"除非",
"特殊情况",
"特殊原因",
"经批准",
"经审批",
"经领导同意",
"除外",
"例外"
];
export const BUILTIN_EVIDENCE_KEYWORDS = [
"备注",
"说明",
"附件",
"证明",
"邮件",
"截图",
"凭证",
"审批",
"单据",
"发票"
];
export function lintRule(rule: RuleLintTarget): RuleLintResult {
const text = (rule.description || "").trim();
const issues: RuleLintIssue[] = [];
// 1. 规则过短检查
if (text.length < 5) {
issues.push({
level: "error",
code: "TOO_SHORT",
message: "规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",
suggestion: "请补充具体的费用类型、核验条件与限制标准"
});
}
// 2. 主观模糊词拦截
for (const word of BUILTIN_VAGUE_WORDS) {
if (text.includes(word)) {
issues.push({
level: "error",
code: "VAGUE_WORD",
snippet: word,
message: \`包含主观模糊词 "\${word}",容易导致大模型判定标准产生波动与幻觉\`,
suggestion: \`建议移除 "\${word}",改为具体的金额上限、枚举范围或刚性判定条件\`
});
}
}
// 3. 悬空例外条款检测
const matchedTrigger = BUILTIN_EXCEPTION_TRIGGERS.find((trigger) => text.includes(trigger));
const hasEvidence = BUILTIN_EVIDENCE_KEYWORDS.some((kw) => text.includes(kw));
if (matchedTrigger && !hasEvidence) {
issues.push({
level: "warning",
code: "HANGING_EXCEPTION",
snippet: matchedTrigger,
message: \`包含例外条款 "\${matchedTrigger}",但未指定 AI 从何处核验该例外成立的依据\`,
suggestion: "建议补充明确的凭据来源(例如:需在【单据备注】中说明原因,或在【附件】中上传审批截图)"
});
}
const errorCount = issues.filter((i) => i.level === "error").length;
const warningCount = issues.filter((i) => i.level === "warning").length;
const score = Math.max(0, 100 - errorCount * 25 - warningCount * 10);
return {
score,
passed: errorCount === 0,
issues
};
}
export default lintRule;
`,"strict.ts":`/**
* ==============================================================================
* Seal 官方严格风控规则校验器 (Official Strict Risk Rule Linter)
* ==============================================================================
*
* 存放路径: ~/.config/seal-use/linters/official/strict.ts
* 维护说明: 本文件由 seal-use 官方自动同步并保护。
* 每次运行时系统会自动重写本文件并清理 official/ 目录下的非官方文件。
* 若您需要编写企业私有规则校验器,请将自定义 .ts 文件放置在外层的用户目录:
* ~/.config/seal-use/linters/ 即可,系统将自动识别并加载。
*/
export interface RuleLintTarget {
id?: string;
code?: string;
name?: string;
description: string;
scope?: string;
strictness?: string;
}
export interface RuleLintIssue {
level: "error" | "warning";
code: string;
message: string;
snippet?: string;
suggestion?: string;
}
export interface RuleLintResult {
score: number;
passed: boolean;
issues: RuleLintIssue[];
}
export const STRICT_VAGUE_WORDS = [
"原则上",
"尽量",
"适当",
"酌情",
"一般情况下",
"尽可能",
"合理控制",
"视情况",
"视具体情况",
"必要时",
"及时",
"适量",
"差不多",
"相关部门"
];
export const STRICT_EXCEPTION_TRIGGERS = [
"除非",
"特殊情况",
"特殊原因",
"经批准",
"经审批",
"经领导同意",
"除外",
"例外"
];
export const STRICT_EVIDENCE_KEYWORDS = [
"备注",
"说明",
"附件",
"证明",
"邮件",
"截图",
"凭证",
"审批",
"单据",
"发票"
];
export const STRICT_QUANTITATIVE_INDICATORS = [
"¥",
"$",
"€",
"元",
"不得超过",
"不超过",
"超过",
"低于",
"不低于",
"最高",
"封顶",
"限额",
"禁止",
"严禁",
"必须",
"不予",
"仅限",
"每人",
"每日",
"每月",
"每年",
"每次",
"单笔"
];
export const STRICT_SPECIFIC_APPROVERS = [
"总监",
"VP",
"总经理",
"直接上级",
"部门负责人",
"项目经理",
"财务",
"分管领导",
"HR",
"CEO"
];
export function lintRule(rule: RuleLintTarget): RuleLintResult {
const text = (rule.description || "").trim();
const issues: RuleLintIssue[] = [];
// 1. 规则长度检查 (严格模式下少于 10 字进行警告)
if (text.length < 5) {
issues.push({
level: "error",
code: "TOO_SHORT",
message: "规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",
suggestion: "请补充具体的费用类型、核验条件与限制标准"
});
} else if (text.length < 10) {
issues.push({
level: "warning",
code: "SHORT_DESCRIPTION",
message: "规则描述偏短(少于 10 个字),可能缺少适用的单据范围或执行细节",
suggestion: "建议扩充核验场景、限制标准或异常处理方式"
});
}
// 2. 主观模糊词拦截(严格词库)
for (const word of STRICT_VAGUE_WORDS) {
if (text.includes(word)) {
issues.push({
level: "error",
code: "VAGUE_WORD",
snippet: word,
message: \`包含主观模糊词 "\${word}",在严格风控模式下容易引起审核判定分歧\`,
suggestion: \`请移除 "\${word}",明确量化标准或枚举具体允许的情形\`
});
}
}
// 3. 例外条款与凭据要求(严格模式下无凭据直接判定为 Error 阻断)
const matchedTrigger = STRICT_EXCEPTION_TRIGGERS.find((trigger) => text.includes(trigger));
const hasEvidence = STRICT_EVIDENCE_KEYWORDS.some((kw) => text.includes(kw));
if (matchedTrigger && !hasEvidence) {
issues.push({
level: "error",
code: "HANGING_EXCEPTION",
snippet: matchedTrigger,
message: \`包含例外条款 "\${matchedTrigger}",但未指定 AI 从何处核验该例外成立的凭证依据\`,
suggestion: "严格模式要求必须补充明确的核验来源(如:需在【单据备注】中说明原因,或在【附件】中提供审批截图)"
});
}
// 4. 定量约束或刚性边界检查
const hasNumber = /\\d+/.test(text);
const hasConstraint = STRICT_QUANTITATIVE_INDICATORS.some((kw) => text.includes(kw));
if (!hasNumber && !hasConstraint) {
issues.push({
level: "warning",
code: "LACKS_EXPLICIT_CONSTRAINT",
message: "规则缺乏明确的定量标准(如金额、天数、频次)或绝对刚性边界词(如不得、禁止、仅限)",
suggestion: "建议设定具体数值阈值或明确的禁止/准入条件,以便大模型精确判定"
});
}
// 5. 审批角色具体化检查
const mentionsApproval = /经(批准|审批|领导同意|领导签字)|审批通过/.test(text);
const hasSpecificApprover = STRICT_SPECIFIC_APPROVERS.some((approver) => text.includes(approver));
if (mentionsApproval && !hasSpecificApprover) {
issues.push({
level: "warning",
code: "AMBIGUOUS_APPROVER",
message: "规则提及审批例外,但未明确指定具体的审批角色(如部门总监、直接上级、财务负责人)",
suggestion: "建议明确审批人角色(例如:经【部门总监】批准,经【直接上级】邮件确认)"
});
}
const errorCount = issues.filter((i) => i.level === "error").length;
const warningCount = issues.filter((i) => i.level === "warning").length;
const score = Math.max(0, 100 - errorCount * 30 - warningCount * 15);
return {
score,
passed: errorCount === 0,
issues
};
}
export default lintRule;
`,"hlab.ts":`/**
* ==============================================================================
* 合思实验室 (HLab) 结构化规则校验器 (HLab Structured SOP Rule Linter)
* ==============================================================================
*
* 存放路径: ~/.config/seal-use/linters/official/hlab.ts
* 维护说明: 本文件由 seal-use 官方自动同步并保护。
* 每次运行时系统会自动重写本文件并清理 official/ 目录下的非官方文件。
* 若您需要编写企业私有规则校验器,请将自定义 .ts 文件放置在外层的用户目录:
* ~/.config/seal-use/linters/ 即可,系统将自动识别并加载。
*/
export interface RuleLintTarget {
id?: string;
code?: string;
name?: string;
description: string;
scope?: string;
strictness?: string;
}
export interface RuleLintIssue {
level: "error" | "warning";
code: string;
message: string;
snippet?: string;
suggestion?: string;
}
export interface RuleLintResult {
score: number;
passed: boolean;
issues: RuleLintIssue[];
}
export const HLAB_DISPOSAL_WORDS = [
"驳回单据",
"直接驳回",
"整单退回",
"退回单据",
"退单处理",
"进行提醒",
"请进行提醒",
"予以驳回",
"直接退回",
"无需人工关注",
"无需展示在最后的审核结论中"
];
export const HLAB_SCOPE_SKIP_WORDS = [
"若上传了",
"如上传了",
"若提供了",
"如提供了",
"附件需上传",
"上传了发票",
"提供了支付截图",
"提供了行程单",
"上传了行程单"
];
export const HLAB_RISK_SUPPRESSION_WORDS = [
"忽略行程冲突",
"忽略重复报销",
"忽略跨城一致性",
"不识别为风险",
"不作为风险事项",
"无需作为风险"
];
export const HLAB_EXCEPTION_TRIGGERS = [
"除非",
"特殊情况",
"特殊原因",
"经批准",
"经审批",
"经领导同意",
"除外",
"例外"
];
export const HLAB_EVIDENCE_KEYWORDS = [
"备注",
"说明",
"附件",
"证明",
"邮件",
"截图",
"凭证",
"审批",
"单据",
"发票",
"流程"
];
export function lintRule(rule: RuleLintTarget): RuleLintResult {
const text = (rule.description || "").trim();
const scopeText = (rule.scope || "").trim();
const issues: RuleLintIssue[] = [];
// 1. 规则长度检查
if (text.length < 10) {
issues.push({
level: "error",
code: "TOO_SHORT",
message: "规则描述过于简短(少于 10 个字),无法承载 HLab 结构化规范所要求的判定逻辑",
suggestion: "请按照 HLab 工业化规范补充【检查方法】与【判定标准】"
});
} else if (text.length < 30 && !text.includes("**") && !text.includes("检查方法")) {
issues.push({
level: "warning",
code: "SHORT_DESCRIPTION",
message: "规则正文偏短且缺少结构化要素,可能缺少执行细节或证据边界",
suggestion: "建议扩充核验场景、限制标准或异常处理方式"
});
}
// 2. 结构完备性检查
const hasMethod = /\\*\\*检查方法\\*\\*|检查方法[::]/.test(text);
if (!hasMethod) {
issues.push({
level: "error",
code: "MISSING_CHECK_METHOD",
message: "规则正文缺少【检查方法】结构块,大模型难以确定数据提取来源与对齐逻辑",
suggestion: "建议在正文前部增加 **检查方法**:明确 SealAI 应读取的凭证类型、字段名称、归一化方式或前置规则依赖"
});
}
const hasStandard = /\\*\\*判定标准\\*\\*|判定标准[::]/.test(text);
if (!hasStandard) {
issues.push({
level: "error",
code: "MISSING_EVAL_STANDARD",
message: "规则正文缺少【判定标准】结构块,缺乏标准化判定边界",
suggestion: "建议在正文后部增加 **判定标准**:包含清晰的 PASS、FAIL 以及证据不足分支"
});
}
// 3. 三元闭环判定检查
const hasPass = /[-*•]?\\s*PASS[::]/i.test(text);
const hasFail = /[-*•]?\\s*FAIL[::]/i.test(text);
const hasInsufficient = /[-*•]?\\s*证据不足[::]/.test(text);
if (!hasPass || !hasFail || !hasInsufficient) {
const missing: string[] = [];
if (!hasPass) missing.push("PASS");
if (!hasFail) missing.push("FAIL");
if (!hasInsufficient) missing.push("证据不足");
issues.push({
level: "error",
code: "INCOMPLETE_TERNARY_BRANCH",
message: \`判定标准未形成三元闭环,缺少分支:\${missing.join("、")}\`,
suggestion: "HLab 规范要求必须提供完整的三元分支:- PASS(充分合规条件)、- FAIL(明确违规条件)、- 证据不足(容错与复核条件)"
});
}
// 4. 证据不足分支人工复核兜底检查
if (hasInsufficient) {
const snippet = text.split("证据不足")?.[1]?.slice(0, 100) || "";
const hasManualReview = /人工复核|人工核对|人工审核|转人工/.test(snippet);
if (!hasManualReview) {
issues.push({
level: "warning",
code: "INSUFFICIENT_WITHOUT_MANUAL_REVIEW",
message: "【证据不足】分支未明确指定转【人工复核】兜底,大模型在材料模糊或冲突时可能失控",
suggestion: "建议在【证据不足】分支末尾补充标准处置话术:'转人工复核',确保容错降级路径统一"
});
}
}
// 5. 整单处置动作越界拦截
for (const word of HLAB_DISPOSAL_WORDS) {
if (text.includes(word)) {
issues.push({
level: "warning",
code: "DISPOSAL_ACTION_LEAK",
snippet: word,
message: \`规则正文包含整单处置动作话术 "\${word}",违反 HLab 规则事实判定与处置动作解耦规范\`,
suggestion: \`请移除正文中的 "\${word}";单据处置动作(驳回/提醒)应交由平台严格程度(必须遵守/仅建议)或业务工作流定义\`
});
break;
}
}
// 6. 适用场景防静默漏判检查
if (scopeText) {
for (const word of HLAB_SCOPE_SKIP_WORDS) {
if (scopeText.includes(word)) {
issues.push({
level: "warning",
code: "SCOPE_FALSE_SKIP_PRONE",
snippet: word,
message: \`适用场景包含材料上传前置判断 "\${word}",当材料未上传时可能导致该规则被静默跳过(SKIP)而非报违规(FAIL)\`,
suggestion: "建议适用场景仅保留业务与单据触发条件(如单据模板、费用类型);材料缺失的检查应显式置于【判定标准】的 FAIL 分支中"
});
break;
}
}
}
// 7. 消极风险压制拦截
for (const word of HLAB_RISK_SUPPRESSION_WORDS) {
if (text.includes(word)) {
issues.push({
level: "error",
code: "RISK_SUPPRESSION",
snippet: word,
message: \`规则正文包含消极风险压制话术 "\${word}",可能破坏模型正常审计底线或压制有效违规\`,
suggestion: "请移除该规则或改写为正向合规要求;若需豁免特定场景,请在 **例外** 结构块中封闭说明豁免条件与凭证依据"
});
break;
}
}
// 8. 悬空例外与凭据检查
const matchedTrigger = HLAB_EXCEPTION_TRIGGERS.find((trigger) => text.includes(trigger));
const hasEvidence = HLAB_EVIDENCE_KEYWORDS.some((kw) => text.includes(kw));
if (matchedTrigger && !hasEvidence) {
issues.push({
level: "error",
code: "HANGING_EXCEPTION",
snippet: matchedTrigger,
message: \`包含例外条款 "\${matchedTrigger}",但未指定 AI 从何处核验该例外成立的凭据来源\`,
suggestion: "HLab 规范要求例外条款必须明确凭据载体(如:在【**例外**】块中注明需提供专项 OA 审批 PDF 附件或商家盖章证明)"
});
}
const errorCount = issues.filter((i) => i.level === "error").length;
const warningCount = issues.filter((i) => i.level === "warning").length;
const score = Math.max(0, 100 - errorCount * 25 - warningCount * 10);
return {
score,
passed: errorCount === 0,
issues
};
}
export default lintRule;
`}});import{existsSync as $q,mkdirSync as U_1,readFileSync as I_1,readdirSync as dA0,rmSync as Q_1,unlinkSync as K_1,writeFileSync as G_1}from"node:fs";import{homedir as H_1}from"node:os";import{isAbsolute as Z_1,join as C6,resolve as W_1}from"node:path";import{pathToFileURL as cA0}from"node:url";function mA0($=i$){let Y=[],q=[];try{if(!$q($))U_1($,{recursive:!0});let z=Object.keys(ti);for(let[U,I]of Object.entries(ti)){let Q=C6($,U),K=!0;if($q(Q))try{if(I_1(Q,"utf8")===I)K=!1}catch{K=!0}if(K)G_1(Q,I,"utf8");Y.push(U)}let J=dA0($,{withFileTypes:!0});for(let U of J)if(!z.includes(U.name)){let I=C6($,U.name);try{if(U.isDirectory())Q_1(I,{recursive:!0,force:!0});else K_1(I);q.push(U.name)}catch{}}}catch{}return{synced:Y,pruned:q}}function lA0($={syncOfficial:!0}){if($.syncOfficial!==!1)mA0();let Y=[{name:"builtin",type:"builtin",path:C6(i$,"builtin.ts"),description:"Seal 官方标准校验器 (拦截过短描述、主观模糊词与悬空例外条款)"},{name:"strict",type:"official",path:C6(i$,"strict.ts"),description:"Seal 官方严格风控校验器 (强校验字数、刚性定量约束、凭证依据与具体审批人角色)"},{name:"hlab",type:"official",path:C6(i$,"hlab.ts"),description:"合思实验室 (HLab) 结构化规则校验器 (SOP 四段论结构、三元闭环判定、剥离处置动作与防漏判)"}],q=[b$,OD];for(let z of q)if($q(z))try{let J=dA0(z,{withFileTypes:!0});for(let U of J){if(U.isDirectory())continue;let I=U.name;if(I.endsWith(".ts")||I.endsWith(".js")||I.endsWith(".mjs")){let Q=I.replace(/\.(ts|js|mjs)$/,"");if(!Y.some((K)=>K.name===Q))Y.push({name:Q,type:"custom",path:C6(z,I),description:`用户自定义规则校验器 (${I})`})}}}catch{}return Y}function V_1($){let Y=($||"").trim();if(!Y||Y==="builtin"||Y==="default"||Y==="official/builtin"||Y==="official/builtin.ts")return{path:C6(i$,"builtin.ts"),isOfficial:!0,officialKind:"builtin"};if(Y==="strict"||Y==="official/strict"||Y==="official/strict.ts")return{path:C6(i$,"strict.ts"),isOfficial:!0,officialKind:"strict"};if(Y==="hlab"||Y==="hlab-sop"||Y==="hlab-rules"||Y==="hlab-standard"||Y==="official/hlab"||Y==="official/hlab.ts")return{path:C6(i$,"hlab.ts"),isOfficial:!0,officialKind:"hlab"};if(Z_1(Y)||Y.startsWith("./")||Y.startsWith("../")){let z=W_1(Y);if($q(z))return{path:z};for(let J of[".ts",".js",".mjs"])if($q(`${z}${J}`))return{path:`${z}${J}`}}let q=[C6(b$,`${Y}.ts`),C6(b$,`${Y}.js`),C6(b$,`${Y}.mjs`),C6(OD,`${Y}.ts`),C6(OD,`${Y}.js`),C6(OD,`${Y}.mjs`)];for(let z of q)if($q(z))return{path:z};return{}}async function ei($){mA0();let Y=V_1($??"builtin");if(Y.isOfficial){let z=Y.officialKind==="strict"?iA0:Y.officialKind==="hlab"?nA0:cU,J=Y.officialKind==="builtin"?"builtin":"official",U=Y.path;if(U&&$q(U))try{let Q=await import(cA0(U).href),K=Q.default??Q.lintRule??Q.linter??Q.lint;if(typeof K==="function")return{name:Y.officialKind??"builtin",type:J,filePath:U,linter:pA0(K,z)}}catch{}return{name:Y.officialKind??"builtin",type:J,filePath:U,linter:z}}let q=Y.path;if(!q)return console.error(`⚠️ [linter] 未找到自定义校验器 "${$}",已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:cU};try{let J=await import(cA0(q).href),U=J.default??J.lintRule??J.linter??J.lint;if(typeof U!=="function")return console.error(`⚠️ [linter] 自定义校验器 "${q}" 未导出标准函数 (default / lintRule),已安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:cU};return{name:$??"custom",type:"custom",filePath:q,linter:pA0(U,cU)}}catch(z){return console.error(`⚠️ [linter] 加载自定义校验器脚本 "${q}" 失败(语法错误或依赖缺失: ${z?.message??z}),已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:cU}}}function pA0($,Y){return async(q,z)=>{try{let J=await $(q,z);if(J&&typeof J==="object"&&typeof J.score==="number"&&Array.isArray(J.issues))return J;return console.error("⚠️ [linter] 自定义校验器返回值格式不符合 RuleLintResult 契约,已回退至内置结果。"),Y(q,z)}catch(J){return console.error("⚠️ [linter] 自定义校验器执行异常:",J),Y(q,z)}}}var b$,X_1="official",i$,OD;var $n=e(()=>{oi();si();ai();ri();b$=C6(H_1(),".config","seal-use","linters"),i$=C6(b$,X_1),OD=C6(process.cwd(),"linters")});async function Yn($,Y,q){let z=await Y.linter($,q);return{ruleId:$.id,ruleCode:$.code,ruleName:$.name,score:z.score,passed:z.passed,issues:z.issues,description:$.description}}async function oA0($,Y,q,z){let J=z?.minScore??0,U=z?.level??"all",I=[],Q=0;for(let X of $){let L=await Yn(X,Y,q);Q+=L.score;let w=L.issues;if(U==="error")w=L.issues.filter((O)=>O.level==="error");else if(U==="warning")w=L.issues.filter((O)=>O.level==="warning"||O.level==="error");let F=w.every((O)=>O.level!=="error");if(z?.summary){if(w.length>0)I.push({...L,passed:F,issues:w})}else I.push({...L,passed:F,issues:w})}let K=$.length,G=K===0?100:Math.round(Q/K),H=I.filter((X)=>X.issues.length>0).length,Z=K-H,V=G>=J&&I.every((X)=>X.passed);return{linter:Y.name,linterType:Y.type,totalRules:K,healthyCount:Z,issueCount:H,overallScore:G,passed:V,issues:I}}var qn=e(()=>{bA0();oi();ri();si();ai();$n()});import{existsSync as L_1,readFileSync as w_1,writeFileSync as F_1,mkdirSync as O_1}from"node:fs";import{dirname as M_1,resolve as sA0}from"node:path";function N_1($){let Y;try{Y=JSON.parse($)}catch(q){throw Error(`本地规则文件 JSON 解析失败: ${q instanceof Error?q.message:String(q)}`)}if(Array.isArray(Y))return{rules:rA0(Y),meta:{rulesCount:Y.length}};if(Y&&typeof Y==="object"){let q=Y,z=Array.isArray(q.rules)?q.rules:void 0;if(!z)throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象");return{rules:rA0(z),meta:{corpId:typeof q.corpId==="string"?q.corpId:void 0,source:typeof q.source==="string"?q.source:void 0,versionNumber:typeof q.versionNumber==="number"?q.versionNumber:void 0,exportedAt:typeof q.exportedAt==="string"?q.exportedAt:void 0,rulesCount:z.length}}}throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象")}function rA0($){return $.map((Y,q)=>{if(!Y||typeof Y!=="object")throw Error(`第 ${q+1} 条规则格式错误: 必须为对象`);let z=Y,J=typeof z.description==="string"?z.description.trim():"";if(!J)throw Error(`第 ${q+1} 条规则缺少有效的 'description' (规则描述) 字段`);let U=typeof z.code==="number"||typeof z.code==="string"?z.code:q+1;return{...z,code:U,description:J,scope:typeof z.scope==="string"?z.scope:"ALL",strictness:typeof z.strictness==="string"?z.strictness:"MUST_FOLLOW"}})}function zn($){let Y=sA0($);if(!L_1(Y))throw Error(`未找到本地规则文件: ${$} (${Y})`);let q=w_1(Y,"utf8");return{...N_1(q),resolvedPath:Y}}function tA0($,Y){let q=sA0($);return O_1(M_1(q),{recursive:!0}),F_1(q,`${JSON.stringify(Y,null,2)}
`,"utf8"),q}function aA0($){return $.map((Y,q)=>{let z;if(typeof Y.code==="number")z=`#${String(Y.code).padStart(4,"0")}`;else if(typeof Y.code==="string")z=Y.code.startsWith("#")?Y.code:`#${Y.code}`;else z=`#${String(q+1).padStart(4,"0")}`;return{id:Y.id,code:z,name:Y.name,description:Y.description,scope:Y.scope,strictness:Y.strictness}})}var eA0=()=>{};var $B0,N5;var pU=e(()=>{$B0=class $B0 extends Error{errors;warnings;constructor($,Y=[]){super([`webhook 资源包校验失败:${$.length} 个错误`,...$.map((q)=>`- ${q}`)].join(`
`));this.errors=$;this.warnings=Y;this.name="ResourcePackValidationError"}};N5=$B0});var JB0=M((wY4,zB0)=>{zB0.exports=MD;function MD(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}MD.prototype.go=function($){if(this.pending<this.max)qB0(this,$);else this.waiting.push($)};MD.prototype.wait=function($){if(this.pending===0)$(this.error);else this.listeners.push($)};MD.prototype.hold=function(){return YB0(this)};function YB0($){$.pending+=1;var Y=!1;return q;function q(J){if(Y)throw Error("callback called twice");if(Y=!0,$.error=$.error||J,$.pending-=1,$.waiting.length>0&&$.pending<$.max)qB0($,$.waiting.shift());else if($.pending===0){var U=$.listeners;$.listeners=[],U.forEach(z)}}function z(J){J($.error)}}function qB0($,Y){Y(YB0($))}});var QB0=M((A_1)=>{var Jn=m("fs"),Un=m("util"),UB0=m("stream"),IB0=UB0.Readable,D_1=UB0.PassThrough,P_1=JB0(),ND=m("events").EventEmitter;A_1.BufferSlicer=mU;A_1.FdSlicer=dU;Un.inherits(dU,ND);function dU($){ND.call(this),this.fd=$,this.pend=new P_1,this.pend.max=1,this.refCount=0}dU.prototype.read=function($,Y,q,z,J){var U=this;U.pend.go(function(I){Jn.read(U.fd,$,Y,q,z,function(Q,K,G){I(),J(Q,K,G)})})};dU.prototype.createReadStream=function($){return new PZ(this,$)};dU.prototype.ref=function(){this.refCount+=1};dU.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;Jn.close($.fd,Y);function Y(q){if(q)$.emit("error",q);else $.emit("close")}};Un.inherits(PZ,IB0);function PZ($,Y){Y=Y||{},IB0.call(this,Y),this.context=$,this.context.ref(),this.start=Y.start||0,this.endOffset=Y.end,this.pos=this.start}PZ.prototype._read=function($){var Y=this,q=Math.min(Y._readableState.highWaterMark,$);if(Y.endOffset!=null)q=Math.min(q,Y.endOffset-Y.pos);if(q<=0){Y.push(null),this._cleanup();return}Y.context.pend.go(function(z){var J=Buffer.allocUnsafe(q);Jn.read(Y.context.fd,J,0,q,Y.pos,function(U,I){if(U)Y.destroy(U);else if(I===0)Y.push(null),Y._cleanup();else Y.pos+=I,Y.push(J.slice(0,I));z()})})};PZ.prototype._destroy=function($,Y){this._cleanup(),Y($)};PZ.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};Un.inherits(mU,ND);function mU($){ND.call(this),this.refCount=0,this.buffer=$}mU.prototype.read=function($,Y,q,z,J){if(!(0<=Y&&Y<=$.length))throw RangeError("offset outside buffer: 0 <= "+Y+" <= "+$.length);if(z<0)throw RangeError("position is negative: "+z);if(Y+q>$.length)q=$.length-Y;if(z+q>this.buffer.length)q=this.buffer.length-z;if(q<=0){setImmediate(function(){J(null,0)});return}this.buffer.copy($,Y,z,z+q),setImmediate(function(){J(null,q)})};mU.prototype.createReadStream=function($){$=$||{};var Y=new D_1($);Y.start=$.start||0,Y.endOffset=$.end,Y.pos=Y.endOffset||this.buffer.length;var q=this.buffer.slice(Y.start,Y.pos),z=65536,J=0;while(!0){var U=J+z;if(U>=q.length){if(J<q.length)Y.write(q.slice(J,q.length));break}Y.write(q.slice(J,U)),J=U}return Y.end(),Y};mU.prototype.ref=function(){this.refCount+=1};mU.prototype.unref=function(){if(this.refCount-=1,this.refCount<0)throw Error("invalid unref")}});var GB0=M((OY4,KB0)=>{var E_1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function j_1($){let Y=-1;for(let q of $)Y=E_1[(Y^q)&255]^Y>>>8;return(Y^-1)>>>0}KB0.exports=j_1});var NB0=M((y_1)=>{var In=m("fs"),Qn=m("zlib"),HB0=QB0(),AD=m("util"),BD=m("events").EventEmitter,ZB0=m("stream").Transform,Gn=m("stream").PassThrough,__1=m("stream").Writable,R_1=typeof Qn.crc32==="function"?Qn.crc32:GB0();y_1.open=WB0;y_1.fromFd=Hn;y_1.fromBuffer=XB0;y_1.fromRandomAccessReader=TD;y_1.openPromise=C_1;y_1.fromFdPromise=v_1;y_1.fromBufferPromise=h_1;y_1.fromRandomAccessReaderPromise=g_1;y_1.dosDateTimeToDate=wB0;y_1.getFileNameLowLevel=FB0;y_1.validateFileName=OB0;y_1.parseExtraFields=MB0;y_1.ZipFile=s8;y_1.Entry=rU;y_1.LocalFileHeader=LB0;y_1.RandomAccessReader=Y2;function C_1($,Y){return new Promise((q,z)=>{WB0($,{...Y,lazyEntries:!0},function(J,U){if(J)return z(J);q(U)})})}function v_1($,Y){return new Promise((q,z)=>{Hn($,{...Y,lazyEntries:!0},function(J,U){if(J)return z(J);q(U)})})}function h_1($,Y){return new Promise((q,z)=>{XB0($,{...Y,lazyEntries:!0},function(J,U){if(J)return z(J);q(U)})})}function g_1($,Y,q){return new Promise((z,J)=>{TD($,Y,{...q,lazyEntries:!0},function(U,I){if(U)return J(U);z(I)})})}function WB0($,Y,q){if(typeof Y==="function")q=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!0;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(q==null)q=PD;In.open($,"r",function(z,J){if(z)return q(z);Hn(J,Y,function(U,I){if(U)In.close(J,PD);q(U,I)})})}function Hn($,Y,q){if(typeof Y==="function")q=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!1;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(q==null)q=PD;In.fstat($,function(z,J){if(z)return q(z);var U=new HB0.FdSlicer($);TD(U,J.size,Y,q)})}function XB0($,Y,q){if(typeof Y==="function")q=Y,Y=null;if(Y==null)Y={};if(Y.autoClose=!1,Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;var z=new HB0.BufferSlicer($);TD(z,$.length,Y,q)}function TD($,Y,q,z){if(typeof q==="function")z=q,q=null;if(q==null)q={};if(q.autoClose==null)q.autoClose=!0;if(q.lazyEntries==null)q.lazyEntries=!1;if(q.decodeStrings==null)q.decodeStrings=!0;var J=!!q.decodeStrings;if(q.validateEntrySizes==null)q.validateEntrySizes=!0;if(q.strictFileNames==null)q.strictFileNames=!1;if(z==null)z=PD;if(typeof Y!=="number")throw Error("expected totalSize parameter to be a number");if(Y>Number.MAX_SAFE_INTEGER)throw Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");$.ref();var U=22,I=20,Q=65535,K=Math.min(I+U+Q,Y),G=G3(K),H=Y-G.length;oU($,G,0,K,H,function(Z){if(Z)return z(Z);for(var V=K-U;V>=0;V-=1){if(G.readUInt32LE(V)!==101010256)continue;var X=G.subarray(V),L=X.readUInt16LE(4),w=X.readUInt16LE(10),F=X.readUInt32LE(16),O=X.readUInt16LE(20),P=X.length-U;if(O!==P)return z(Error("Invalid comment length. Expected: "+P+". Found: "+O+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var B=J?DD(X.subarray(22),!1):X.subarray(22);if(V-I>=0&&G.readUInt32LE(V-I)===117853008){var A=G.subarray(V-I,V-I+I),E=lU(A,8),y=G3(56);return oU($,y,0,y.length,E,function(v){if(v)return z(v);if(y.readUInt32LE(0)!==101075792)return z(Error("invalid zip64 end of central directory record signature"));if(L=y.readUInt32LE(16),L!==0)return z(Error("multi-disk zip files are not supported: found disk number: "+L));return w=lU(y,32),F=lU(y,48),z(null,new s8($,F,Y,w,B,q.autoClose,q.lazyEntries,J,q.validateEntrySizes,q.strictFileNames))})}if(L!==0)return z(Error("multi-disk zip files are not supported: found disk number: "+L));return z(null,new s8($,F,Y,w,B,q.autoClose,q.lazyEntries,J,q.validateEntrySizes,q.strictFileNames))}z(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}AD.inherits(s8,BD);function s8($,Y,q,z,J,U,I,Q,K,G){var H=this;if(BD.call(H),H.reader=$,H.reader.on("error",function(Z){VB0(H,Z)}),H.reader.once("close",function(){H.emit("close")}),H.readEntryCursor=Y,H.fileSize=q,H.entryCount=z,H.comment=J,H.entriesRead=0,H.autoClose=!!U,H.lazyEntries=!!I,H.decodeStrings=!!Q,H.validateEntrySizes=!!K,H.strictFileNames=!!G,H.isOpen=!0,H.emittedError=!1,H.hasEachEntryBeenCalled=!1,!H.lazyEntries)H._readEntry()}s8.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function G9($,Y){if($.autoClose)$.close();VB0($,Y)}function VB0($,Y){if($.emittedError)return;$.emittedError=!0,$.emit("error",Y)}s8.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};s8.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var Y=G3(46);oU($.reader,Y,0,Y.length,$.readEntryCursor,function(q){if(q)return G9($,q);if($.emittedError)return;var z=new rU,J=Y.readUInt32LE(0);if(J!==33639248)return G9($,Error("invalid central directory file header signature: 0x"+J.toString(16)));if(z.versionMadeBy=Y.readUInt16LE(4),z.versionNeededToExtract=Y.readUInt16LE(6),z.generalPurposeBitFlag=Y.readUInt16LE(8),z.compressionMethod=Y.readUInt16LE(10),z.lastModFileTime=Y.readUInt16LE(12),z.lastModFileDate=Y.readUInt16LE(14),z.crc32=Y.readUInt32LE(16),z.compressedSize=Y.readUInt32LE(20),z.uncompressedSize=Y.readUInt32LE(24),z.fileNameLength=Y.readUInt16LE(28),z.extraFieldLength=Y.readUInt16LE(30),z.fileCommentLength=Y.readUInt16LE(32),z.internalFileAttributes=Y.readUInt16LE(36),z.externalFileAttributes=Y.readUInt32LE(38),z.relativeOffsetOfLocalHeader=Y.readUInt32LE(42),z.generalPurposeBitFlag&64)return G9($,Error("strong encryption is not supported"));$.readEntryCursor+=46,Y=G3(z.fileNameLength+z.extraFieldLength+z.fileCommentLength),oU($.reader,Y,0,Y.length,$.readEntryCursor,function(U){if(U)return G9($,U);if($.emittedError)return;z.fileNameRaw=Y.subarray(0,z.fileNameLength);var I=z.fileNameLength+z.extraFieldLength;z.extraFieldRaw=Y.subarray(z.fileNameLength,I),z.fileCommentRaw=Y.subarray(I,I+z.fileCommentLength);try{z.extraFields=MB0(z.extraFieldRaw)}catch(w){return G9($,w)}if($.decodeStrings){var Q=(z.generalPurposeBitFlag&2048)!==0;z.fileComment=DD(z.fileCommentRaw,Q),z.fileName=FB0(z.generalPurposeBitFlag,z.fileNameRaw,z.extraFields,$.strictFileNames);var K=OB0(z.fileName);if(K!=null)return G9($,Error(K))}else z.fileComment=z.fileCommentRaw,z.fileName=z.fileNameRaw;z.comment=z.fileComment,$.readEntryCursor+=Y.length,$.entriesRead+=1;for(var G=0;G<z.extraFields.length;G++){var H=z.extraFields[G];if(H.id!==1)continue;var Z=H.data,V=0;if(z.uncompressedSize===4294967295){if(V+8>Z.length)return G9($,Error("zip64 extended information extra field does not include uncompressed size"));z.uncompressedSize=lU(Z,V),V+=8}if(z.compressedSize===4294967295){if(V+8>Z.length)return G9($,Error("zip64 extended information extra field does not include compressed size"));z.compressedSize=lU(Z,V),V+=8}if(z.relativeOffsetOfLocalHeader===4294967295){if(V+8>Z.length)return G9($,Error("zip64 extended information extra field does not include relative header offset"));z.relativeOffsetOfLocalHeader=lU(Z,V),V+=8}break}if($.validateEntrySizes&&z.compressionMethod===0){var X=z.uncompressedSize;if(z.isEncrypted())X+=12;if(z.compressedSize!==X){var L="compressed/uncompressed size mismatch for stored file: "+z.compressedSize+" != "+z.uncompressedSize;return G9($,Error(L))}}if($.emit("entry",z),!$.lazyEntries)$._readEntry()})})};s8.prototype.eachEntry=function(){let $=this;if(!$.lazyEntries)throw Error("eachEntry() requires lazyEntries: true");if($.hasEachEntryBeenCalled)throw Error("eachEntry() must only be called once per ZipFile");$.hasEachEntryBeenCalled=!0;let Y=null;$.on("entry",z),$.on("end",J),$.on("error",U);function q(){if($.removeListener("entry",z),$.removeListener("end",J),$.removeListener("error",U),$.autoClose)$.close()}function z(I){let{resolve:Q}=Y;Y=null,Q({value:I})}function J(){let{resolve:I}=Y;Y=null,q(),I({done:!0})}function U(I){let{reject:Q}=Y;Y=null,q(),Q(I)}return{[Symbol.asyncIterator](){return this},next(){let I=new Promise((Q,K)=>{if(Y!=null)throw Error("next() called before previous Promise was resolved.");Y={resolve:Q,reject:K}});return $.readEntry(),I},return(I){return q(),Promise.resolve({done:!0,value:I})},throw(I){return q(),Promise.reject(I)}}};s8.prototype.openReadStream=function($,Y,q){var z=this,J=0,U=$.compressedSize;if(q==null)q=Y,Y=null;if(Y==null)Y={};else{if(Y.decodeFileData===!1){if(Y.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(Y.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(Y.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(Y.decrypt!==!1)throw Error("invalid options.decrypt value: "+Y.decrypt);if($.isCompressed()){if(Y.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(Y.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(Y.decompress===!1||Y.decompress===!0))throw Error("invalid options.decompress value: "+Y.decompress);Q=Y.decompress}}if(Y.start!=null){if(J=Y.start,J<0)throw Error("options.start < 0");if(J>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(Y.end!=null){if(U=Y.end,U<0)throw Error("options.end < 0");if(U>$.compressedSize)throw Error("options.end > entry.compressedSize");if(U<J)throw Error("options.end < options.start")}}var I=Y.decodeFileData===!1||($.compressionMethod===0||$.compressionMethod===8&&Y.decompress===!1)&&(!$.isEncrypted()||Y.decrypt===!1);if(Y.start!=null||Y.end!=null){if(!I)throw Error("start/end range require options.decodeFileData === false for non-trivial encoded entries.")}if(!z.isOpen)return q(Error("closed"));if($.isEncrypted()&&!I){if(Y.decrypt!==!1)return q(Error("entry is encrypted, and options.decodeFileData !== false"))}var Q;if(I)Q=!1;else if($.compressionMethod===8)Q=Y.decodeFileData!==!0;else return q(Error("unsupported compression method: "+$.compressionMethod));z.readLocalFileHeader($,{minimal:!0},function(K,G){if(K)return q(K);z.openReadStreamLowLevel(G.fileDataStart,$.compressedSize,J,U,Q,$.uncompressedSize,q)})};s8.prototype.openReadStreamLowLevel=function($,Y,q,z,J,U,I){var Q=this,K=$+Y,G=Q.reader.createReadStream({start:$+q,end:$+z}),H=G;if(J){var Z=!1,V=Qn.createInflateRaw();if(G.on("error",function(X){setImmediate(function(){if(!Z)V.emit("error",X)})}),G.pipe(V),Q.validateEntrySizes)H=new AZ(U),V.on("error",function(X){setImmediate(function(){if(!Z)H.emit("error",X)})}),V.pipe(H);else H=V;Kn(H,function(){if(Z=!0,V!==H)V.unpipe(H);G.unpipe(V),G.destroy()})}I(null,H)};s8.prototype.readLocalFileHeader=function($,Y,q){var z=this;if(q==null)q=Y,Y=null;if(Y==null)Y={};z.reader.ref();var J=G3(30);oU(z.reader,J,0,J.length,$.relativeOffsetOfLocalHeader,function(U){try{if(U)return q(U);var I=J.readUInt32LE(0);if(I!==67324752)return q(Error("invalid local file header signature: 0x"+I.toString(16)));var Q=J.readUInt16LE(26),K=J.readUInt16LE(28),G=$.relativeOffsetOfLocalHeader+30+Q+K;if(G+$.compressedSize>z.fileSize)return q(Error("file data overflows file bounds: "+G+" + "+$.compressedSize+" > "+z.fileSize));if(Y.minimal)return q(null,{fileDataStart:G});var H=new LB0;H.fileDataStart=G,H.versionNeededToExtract=J.readUInt16LE(4),H.generalPurposeBitFlag=J.readUInt16LE(6),H.compressionMethod=J.readUInt16LE(8),H.lastModFileTime=J.readUInt16LE(10),H.lastModFileDate=J.readUInt16LE(12),H.crc32=J.readUInt32LE(14),H.compressedSize=J.readUInt32LE(18),H.uncompressedSize=J.readUInt32LE(22),H.fileNameLength=Q,H.extraFieldLength=K,J=G3(Q+K),z.reader.ref(),oU(z.reader,J,0,J.length,$.relativeOffsetOfLocalHeader+30,function(Z){try{if(Z)return q(Z);return H.fileName=J.subarray(0,Q),H.extraField=J.subarray(Q),q(null,H)}finally{z.reader.unref()}})}finally{z.reader.unref()}})};s8.prototype.openReadStreamPromise=function($,Y){return new Promise((q,z)=>{this.openReadStream($,Y,function(J,U){if(J)return z(J);q(U)})})};s8.prototype.openReadStreamLowLevelPromise=function($,Y,q,z,J,U){return new Promise((I,Q)=>{this.openReadStream($,Y,q,z,J,U,function(K,G){if(K)return Q(K);I(G)})})};s8.prototype.readLocalFileHeaderPromise=function($,Y){return new Promise((q,z)=>{this.readLocalFileHeader($,Y,function(J,U){if(J)return z(J);q(U)})})};function rU(){}rU.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var Y=0;Y<this.extraFields.length;Y++){var q=this.extraFields[Y];if(q.id===21589){var z=q.data;if(z.length<5)continue;var J=z[0],U=1;if(!(J&U))continue;var I=z.readInt32LE(1);return new Date(I*1000)}else if(q.id===10){var z=q.data;if(z.length!==32)continue;if(z.readUInt16LE(4)!==1)continue;if(z.readUInt16LE(6)!==24)continue;var Q=z.readUInt32LE(8)+4294967296*z.readInt32LE(12),K=Q/1e4-11644473600000;return new Date(K)}}return wB0(this.lastModFileDate,this.lastModFileTime,$.timezone)};rU.prototype.canDecodeFileData=function(){return!this.isEncrypted()&&(this.compressionMethod===0||this.compressionMethod===8)};rU.prototype.isEncrypted=function(){return(this.generalPurposeBitFlag&1)!==0};rU.prototype.isCompressed=function(){return this.compressionMethod===8};function LB0(){}function wB0($,Y,q){var z=$&31,J=($>>5&15)-1,U=($>>9&127)+1980,I=0,Q=(Y&31)*2,K=Y>>5&63,G=Y>>11&31;if(q==null||q==="local")return new Date(U,J,z,G,K,Q,I);else if(q==="UTC")return new Date(Date.UTC(U,J,z,G,K,Q,I));else throw Error("unrecognized options.timezone: "+options.timezone)}function FB0($,Y,q,z){var J=null;for(var U=0;U<q.length;U++){var I=q[U];if(I.id===28789){if(I.data.length<6)continue;if(I.data.readUInt8(0)!==1)continue;var Q=I.data.readUInt32LE(1);if(R_1(Y)!==Q)continue;J=DD(I.data.subarray(5),!0);break}}if(J==null){var K=($&2048)!==0;J=DD(Y,K)}if(!z)J=J.replace(/\\/g,"/");return J}function OB0($){if($.indexOf("\\")!==-1)return"invalid characters in fileName: "+$;if(/^[a-zA-Z]:/.test($)||/^\//.test($))return"absolute path: "+$;if($.split("/").indexOf("..")!==-1)return"invalid relative path: "+$;return null}function MB0($){var Y=[],q=0;while(q<$.length-3){var z=$.readUInt16LE(q+0),J=$.readUInt16LE(q+2),U=q+4,I=U+J;if(I>$.length)throw Error("extra field length exceeds extra field buffer size");var Q=$.subarray(U,I);Y.push({id:z,data:Q}),q=I}return Y}function oU($,Y,q,z,J,U){if(z===0)return setImmediate(function(){U(null,G3(0))});$.read(Y,q,z,J,function(I,Q){if(I)return U(I);if(Q<z)return U(Error("unexpected EOF"));U()})}AD.inherits(AZ,ZB0);function AZ($){ZB0.call(this),this.actualByteCount=0,this.expectedByteCount=$}AZ.prototype._transform=function($,Y,q){if(this.actualByteCount+=$.length,this.actualByteCount>this.expectedByteCount){var z="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return q(Error(z))}q(null,$)};AZ.prototype._flush=function($){if(this.actualByteCount<this.expectedByteCount){var Y="not enough bytes in the stream. expected "+this.expectedByteCount+". got only "+this.actualByteCount;return $(Error(Y))}$()};AD.inherits(Y2,BD);function Y2(){BD.call(this),this.refCount=0}Y2.prototype.ref=function(){this.refCount+=1};Y2.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount>0)return;if($.refCount<0)throw Error("invalid unref");$.close(Y);function Y(q){if(q)return $.emit("error",q);$.emit("close")}};Y2.prototype.createReadStream=function($){if($==null)$={};var{start:Y,end:q}=$;if(Y===q){var z=new Gn;return setImmediate(function(){z.end()}),z}var J=this._readStreamForRange(Y,q),U=!1,I=new ED(this);J.on("error",function(K){setImmediate(function(){if(!U)I.emit("error",K)})}),Kn(I,function(){J.unpipe(I),I.unref(),J.destroy()});var Q=new AZ(q-Y);return I.on("error",function(K){setImmediate(function(){if(!U)Q.emit("error",K)})}),Kn(Q,function(){U=!0,I.unpipe(Q),I.destroy()}),J.pipe(I).pipe(Q)};Y2.prototype._readStreamForRange=function($,Y){throw Error("not implemented")};Y2.prototype.read=function($,Y,q,z,J){var U=this.createReadStream({start:z,end:z+q}),I=new __1,Q=0;I._write=function(K,G,H){K.copy($,Y+Q,0,K.length),Q+=K.length,H()},I.on("finish",J),U.on("error",function(K){J(K)}),U.pipe(I)};Y2.prototype.close=function($){setImmediate($)};AD.inherits(ED,Gn);function ED($){Gn.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}ED.prototype._flush=function($){this.unref(),$()};ED.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var S_1="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function DD($,Y){if(Y)return $.toString("utf8");else{var q="";for(var z=0;z<$.length;z++)q+=S_1[$[z]];return q}}function lU($,Y){var q=$.readUInt32LE(Y),z=$.readUInt32LE(Y+4);return z*4294967296+q}var G3;if(typeof Buffer.allocUnsafe==="function")G3=function($){return Buffer.allocUnsafe($)};else G3=function($){return new Buffer($)};function Kn($,Y){if(typeof $.destroy==="function")$._destroy=function(q,z){if(Y(),z!=null)z(q)};else $.destroy=Y}function PD($){if($)throw $}});var H3=M((NY4,DB0)=>{var jD=m("buffer"),sU=jD.Buffer,n$={},c$;for(c$ in jD){if(!jD.hasOwnProperty(c$))continue;if(c$==="SlowBuffer"||c$==="Buffer")continue;n$[c$]=jD[c$]}var tU=n$.Buffer={};for(c$ in sU){if(!sU.hasOwnProperty(c$))continue;if(c$==="allocUnsafe"||c$==="allocUnsafeSlow")continue;tU[c$]=sU[c$]}n$.Buffer.prototype=sU.prototype;if(!tU.from||tU.from===Uint8Array.from)tU.from=function($,Y,q){if(typeof $==="number")throw TypeError('The "value" argument must not be of type number. Received type '+typeof $);if($&&typeof $.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);return sU($,Y,q)};if(!tU.alloc)tU.alloc=function($,Y,q){if(typeof $!=="number")throw TypeError('The "size" argument must be of type number. Received type '+typeof $);if($<0||$>=2147483648)throw RangeError('The value "'+$+'" is invalid for option "size"');var z=sU($);if(!Y||Y.length===0)z.fill(0);else if(typeof q==="string")z.fill(Y,q);else z.fill(Y);return z};if(!n$.kStringMaxLength)try{n$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!n$.constants){if(n$.constants={MAX_LENGTH:n$.kMaxLength},n$.kStringMaxLength)n$.constants.MAX_STRING_LENGTH=n$.kStringMaxLength}DB0.exports=n$});var AB0=M((a_1)=>{var PB0="\uFEFF";a_1.PrependBOM=Zn;function Zn($,Y){this.encoder=$,this.addBOM=!0}Zn.prototype.write=function($){if(this.addBOM)$=PB0+$,this.addBOM=!1;return this.encoder.write($)};Zn.prototype.end=function(){return this.encoder.end()};a_1.StripBOM=Wn;function Wn($,Y){this.decoder=$,this.pass=!1,this.options=Y||{}}Wn.prototype.write=function($){var Y=this.decoder.write($);if(this.pass||!Y)return Y;if(Y[0]===PB0){if(Y=Y.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,Y};Wn.prototype.end=function(){return this.decoder.end()}});var Xn=M((PY4,BB0)=>{var YR1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function qR1($,Y){for(var q in Y)if(YR1(Y,q))$[q]=Y[q]}BB0.exports=qR1});var EB0=M((AY4,TB0)=>{var Z3=H3().Buffer;TB0.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:Vn};function Vn($,Y){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=Fn;else if(this.enc==="utf8")this.encoder=Nn;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=On,Z3.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=Mn,this.defaultCharUnicode=Y.defaultCharUnicode}}Vn.prototype.encoder=wn;Vn.prototype.decoder=Ln;var zR1=m("string_decoder").StringDecoder;function Ln($,Y){this.decoder=new zR1(Y.enc)}Ln.prototype.write=function($){if(!Z3.isBuffer($))$=Z3.from($);return this.decoder.write($)};Ln.prototype.end=function(){return this.decoder.end()};function wn($,Y){this.enc=Y.enc}wn.prototype.write=function($){return Z3.from($,this.enc)};wn.prototype.end=function(){};function Fn($,Y){this.prevStr=""}Fn.prototype.write=function($){$=this.prevStr+$;var Y=$.length-$.length%4;return this.prevStr=$.slice(Y),$=$.slice(0,Y),Z3.from($,"base64")};Fn.prototype.end=function(){return Z3.from(this.prevStr,"base64")};function On($,Y){}On.prototype.write=function($){var Y=Z3.alloc($.length*3),q=0;for(var z=0;z<$.length;z++){var J=$.charCodeAt(z);if(J<128)Y[q++]=J;else if(J<2048)Y[q++]=192+(J>>>6),Y[q++]=128+(J&63);else Y[q++]=224+(J>>>12),Y[q++]=128+(J>>>6&63),Y[q++]=128+(J&63)}return Y.slice(0,q)};On.prototype.end=function(){};function Mn($,Y){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=Y.defaultCharUnicode}Mn.prototype.write=function($){var Y=this.acc,q=this.contBytes,z=this.accBytes,J="";for(var U=0;U<$.length;U++){var I=$[U];if((I&192)!==128){if(q>0)J+=this.defaultCharUnicode,q=0;if(I<128)J+=String.fromCharCode(I);else if(I<224)Y=I&31,q=1,z=1;else if(I<240)Y=I&15,q=2,z=1;else J+=this.defaultCharUnicode}else if(q>0){if(Y=Y<<6|I&63,q--,z++,q===0)if(z===2&&Y<128&&Y>0)J+=this.defaultCharUnicode;else if(z===3&&Y<2048)J+=this.defaultCharUnicode;else J+=String.fromCharCode(Y)}else J+=this.defaultCharUnicode}return this.acc=Y,this.contBytes=q,this.accBytes=z,J};Mn.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function Nn($,Y){this.highSurrogate=""}Nn.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var Y=$.charCodeAt($.length-1);if(Y>=55296&&Y<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return Z3.from($,this.enc)};Nn.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",Z3.from($,this.enc)}}});var RB0=M((JR1)=>{var _D=H3().Buffer;JR1._utf32=Dn;function Dn($,Y){this.iconv=Y,this.bomAware=!0,this.isLE=$.isLE}JR1.utf32le={type:"_utf32",isLE:!0};JR1.utf32be={type:"_utf32",isLE:!1};JR1.ucs4le="utf32le";JR1.ucs4be="utf32be";Dn.prototype.encoder=Pn;Dn.prototype.decoder=An;function Pn($,Y){this.isLE=Y.isLE,this.highSurrogate=0}Pn.prototype.write=function($){var Y=_D.from($,"ucs2"),q=_D.alloc(Y.length*2+4),z=this.isLE?q.writeUInt32LE:q.writeUInt32BE,J=0;for(var U=0;U<Y.length;U+=2){var I=Y.readUInt16LE(U),Q=I>=55296&&I<56320,K=I>=56320&&I<57344;if(this.highSurrogate)if(Q||!K)z.call(q,this.highSurrogate,J),J+=4;else{var G=(this.highSurrogate-55296<<10|I-56320)+65536;z.call(q,G,J),J+=4,this.highSurrogate=0;continue}if(Q)this.highSurrogate=I;else z.call(q,I,J),J+=4,this.highSurrogate=0}if(J<q.length)q=q.slice(0,J);return q};Pn.prototype.end=function(){if(!this.highSurrogate)return;var $=_D.alloc(4);if(this.isLE)$.writeUInt32LE(this.highSurrogate,0);else $.writeUInt32BE(this.highSurrogate,0);return this.highSurrogate=0,$};function An($,Y){this.isLE=Y.isLE,this.badChar=Y.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}An.prototype.write=function($){if($.length===0)return"";var Y=0,q=0,z=_D.alloc($.length+4),J=0,U=this.isLE,I=this.overflow,Q=this.badChar;if(I.length>0){for(;Y<$.length&&I.length<4;Y++)I.push($[Y]);if(I.length===4){if(U)q=I[0]|I[1]<<8|I[2]<<16|I[3]<<24;else q=I[3]|I[2]<<8|I[1]<<16|I[0]<<24;I.length=0,J=jB0(z,J,q,Q)}}for(;Y<$.length-3;Y+=4){if(U)q=$[Y]|$[Y+1]<<8|$[Y+2]<<16|$[Y+3]<<24;else q=$[Y+3]|$[Y+2]<<8|$[Y+1]<<16|$[Y]<<24;J=jB0(z,J,q,Q)}for(;Y<$.length;Y++)I.push($[Y]);return z.slice(0,J).toString("ucs2")};function jB0($,Y,q,z){if(q<0||q>1114111)q=z;if(q>=65536){q-=65536;var J=55296|q>>10;$[Y++]=J&255,$[Y++]=J>>8;var q=56320|q&1023}return $[Y++]=q&255,$[Y++]=q>>8,Y}An.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};JR1.utf32=Bn;JR1.ucs4="utf32";function Bn($,Y){this.iconv=Y}Bn.prototype.encoder=Tn;Bn.prototype.decoder=En;function Tn($,Y){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=Y.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}Tn.prototype.write=function($){return this.encoder.write($)};Tn.prototype.end=function(){return this.encoder.end()};function En($,Y){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=Y.iconv}En.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var Y=_B0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(Y,this.options);var q="";for(var z=0;z<this.initialBufs.length;z++)q+=this.decoder.write(this.initialBufs[z]);return this.initialBufs.length=this.initialBufsLen=0,q}return this.decoder.write($)};En.prototype.end=function(){if(!this.decoder){var $=_B0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder($,this.options);var Y="";for(var q=0;q<this.initialBufs.length;q++)Y+=this.decoder.write(this.initialBufs[q]);var z=this.decoder.end();if(z)Y+=z;return this.initialBufs.length=this.initialBufsLen=0,Y}return this.decoder.end()};function _B0($,Y){var q=[],z=0,J=0,U=0,I=0,Q=0;$:for(var K=0;K<$.length;K++){var G=$[K];for(var H=0;H<G.length;H++)if(q.push(G[H]),q.length===4){if(z===0){if(q[0]===255&&q[1]===254&&q[2]===0&&q[3]===0)return"utf-32le";if(q[0]===0&&q[1]===0&&q[2]===254&&q[3]===255)return"utf-32be"}if(q[0]!==0||q[1]>16)U++;if(q[3]!==0||q[2]>16)J++;if(q[0]===0&&q[1]===0&&(q[2]!==0||q[3]!==0))Q++;if((q[0]!==0||q[1]!==0)&&q[2]===0&&q[3]===0)I++;if(q.length=0,z++,z>=100)break $}}if(Q-U>I-J)return"utf-32be";if(Q-U<I-J)return"utf-32le";return Y||"utf-32le"}});var hB0=M((WR1)=>{var CB0=H3().Buffer;WR1.utf16be=RD;function RD(){}RD.prototype.encoder=jn;RD.prototype.decoder=_n;RD.prototype.bomAware=!0;function jn(){}jn.prototype.write=function($){var Y=CB0.from($,"ucs2");for(var q=0;q<Y.length;q+=2){var z=Y[q];Y[q]=Y[q+1],Y[q+1]=z}return Y};jn.prototype.end=function(){};function _n(){this.overflowByte=-1}_n.prototype.write=function($){if($.length==0)return"";var Y=CB0.alloc($.length+1),q=0,z=0;if(this.overflowByte!==-1)Y[0]=$[0],Y[1]=this.overflowByte,q=1,z=2;for(;q<$.length-1;q+=2,z+=2)Y[z]=$[q+1],Y[z+1]=$[q];return this.overflowByte=q==$.length-1?$[$.length-1]:-1,Y.slice(0,z).toString("ucs2")};_n.prototype.end=function(){this.overflowByte=-1};WR1.utf16=Rn;function Rn($,Y){this.iconv=Y}Rn.prototype.encoder=Cn;Rn.prototype.decoder=vn;function Cn($,Y){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=Y.iconv.getEncoder("utf-16le",$)}Cn.prototype.write=function($){return this.encoder.write($)};Cn.prototype.end=function(){return this.encoder.end()};function vn($,Y){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=Y.iconv}vn.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<16)return"";var Y=vB0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(Y,this.options);var q="";for(var z=0;z<this.initialBufs.length;z++)q+=this.decoder.write(this.initialBufs[z]);return this.initialBufs.length=this.initialBufsLen=0,q}return this.decoder.write($)};vn.prototype.end=function(){if(!this.decoder){var $=vB0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder($,this.options);var Y="";for(var q=0;q<this.initialBufs.length;q++)Y+=this.decoder.write(this.initialBufs[q]);var z=this.decoder.end();if(z)Y+=z;return this.initialBufs.length=this.initialBufsLen=0,Y}return this.decoder.end()};function vB0($,Y){var q=[],z=0,J=0,U=0;$:for(var I=0;I<$.length;I++){var Q=$[I];for(var K=0;K<Q.length;K++)if(q.push(Q[K]),q.length===2){if(z===0){if(q[0]===255&&q[1]===254)return"utf-16le";if(q[0]===254&&q[1]===255)return"utf-16be"}if(q[0]===0&&q[1]!==0)U++;if(q[0]!==0&&q[1]===0)J++;if(q.length=0,z++,z>=100)break $}}if(U>J)return"utf-16be";if(U<J)return"utf-16le";return Y||"utf-16le"}});var SB0=M((OR1)=>{var H9=H3().Buffer;OR1.utf7=CD;OR1.unicode11utf7="utf7";function CD($,Y){this.iconv=Y}CD.prototype.encoder=gn;CD.prototype.decoder=Sn;CD.prototype.bomAware=!0;var LR1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function gn($,Y){this.iconv=Y.iconv}gn.prototype.write=function($){return H9.from($.replace(LR1,function(Y){return"+"+(Y==="+"?"":this.iconv.encode(Y,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};gn.prototype.end=function(){};function Sn($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var wR1=/[A-Za-z0-9\/+]/,yn=[];for(aU=0;aU<256;aU++)yn[aU]=wR1.test(String.fromCharCode(aU));var aU,FR1=43,Yq=45,hn=38;Sn.prototype.write=function($){var Y="",q=0,z=this.inBase64,J=this.base64Accum;for(var U=0;U<$.length;U++)if(!z){if($[U]==FR1)Y+=this.iconv.decode($.slice(q,U),"ascii"),q=U+1,z=!0}else if(!yn[$[U]]){if(U==q&&$[U]==Yq)Y+="+";else{var I=J+this.iconv.decode($.slice(q,U),"ascii");Y+=this.iconv.decode(H9.from(I,"base64"),"utf16-be")}if($[U]!=Yq)U--;q=U+1,z=!1,J=""}if(!z)Y+=this.iconv.decode($.slice(q),"ascii");else{var I=J+this.iconv.decode($.slice(q),"ascii"),Q=I.length-I.length%8;J=I.slice(Q),I=I.slice(0,Q),Y+=this.iconv.decode(H9.from(I,"base64"),"utf16-be")}return this.inBase64=z,this.base64Accum=J,Y};Sn.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(H9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};OR1.utf7imap=vD;function vD($,Y){this.iconv=Y}vD.prototype.encoder=xn;vD.prototype.decoder=kn;vD.prototype.bomAware=!0;function xn($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=H9.alloc(6),this.base64AccumIdx=0}xn.prototype.write=function($){var Y=this.inBase64,q=this.base64Accum,z=this.base64AccumIdx,J=H9.alloc($.length*5+10),U=0;for(var I=0;I<$.length;I++){var Q=$.charCodeAt(I);if(Q>=32&&Q<=126){if(Y){if(z>0)U+=J.write(q.slice(0,z).toString("base64").replace(/\//g,",").replace(/=+$/,""),U),z=0;J[U++]=Yq,Y=!1}if(!Y){if(J[U++]=Q,Q===hn)J[U++]=Yq}}else{if(!Y)J[U++]=hn,Y=!0;if(Y){if(q[z++]=Q>>8,q[z++]=Q&255,z==q.length)U+=J.write(q.toString("base64").replace(/\//g,","),U),z=0}}}return this.inBase64=Y,this.base64AccumIdx=z,J.slice(0,U)};xn.prototype.end=function(){var $=H9.alloc(10),Y=0;if(this.inBase64){if(this.base64AccumIdx>0)Y+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),Y),this.base64AccumIdx=0;$[Y++]=Yq,this.inBase64=!1}return $.slice(0,Y)};function kn($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var gB0=yn.slice();gB0[44]=!0;kn.prototype.write=function($){var Y="",q=0,z=this.inBase64,J=this.base64Accum;for(var U=0;U<$.length;U++)if(!z){if($[U]==hn)Y+=this.iconv.decode($.slice(q,U),"ascii"),q=U+1,z=!0}else if(!gB0[$[U]]){if(U==q&&$[U]==Yq)Y+="&";else{var I=J+this.iconv.decode($.slice(q,U),"ascii").replace(/,/g,"/");Y+=this.iconv.decode(H9.from(I,"base64"),"utf16-be")}if($[U]!=Yq)U--;q=U+1,z=!1,J=""}if(!z)Y+=this.iconv.decode($.slice(q),"ascii");else{var I=J+this.iconv.decode($.slice(q),"ascii").replace(/,/g,"/"),Q=I.length-I.length%8;J=I.slice(Q),I=I.slice(0,Q),Y+=this.iconv.decode(H9.from(I,"base64"),"utf16-be")}return this.inBase64=z,this.base64Accum=J,Y};kn.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(H9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var yB0=M((PR1)=>{var hD=H3().Buffer;PR1._sbcs=un;function un($,Y){if(!$)throw Error("SBCS codec is called without the data.");if(!$.chars||$.chars.length!==128&&$.chars.length!==256)throw Error("Encoding '"+$.type+"' has incorrect 'chars' (must be of len 128 or 256)");if($.chars.length===128){var q="";for(var z=0;z<128;z++)q+=String.fromCharCode(z);$.chars=q+$.chars}this.decodeBuf=hD.from($.chars,"ucs2");var J=hD.alloc(65536,Y.defaultCharSingleByte.charCodeAt(0));for(var z=0;z<$.chars.length;z++)J[$.chars.charCodeAt(z)]=z;this.encodeBuf=J}un.prototype.encoder=fn;un.prototype.decoder=bn;function fn($,Y){this.encodeBuf=Y.encodeBuf}fn.prototype.write=function($){var Y=hD.alloc($.length);for(var q=0;q<$.length;q++)Y[q]=this.encodeBuf[$.charCodeAt(q)];return Y};fn.prototype.end=function(){};function bn($,Y){this.decodeBuf=Y.decodeBuf}bn.prototype.write=function($){var Y=this.decodeBuf,q=hD.alloc($.length*2),z=0,J=0;for(var U=0;U<$.length;U++)z=$[U]*2,J=U*2,q[J]=Y[z],q[J+1]=Y[z+1];return q.toString("ucs2")};bn.prototype.end=function(){}});var kB0=M((_Y4,xB0)=>{xB0.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",iso88598i:"iso88598",iso88598e:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var fB0=M((RY4,uB0)=>{uB0.exports={"437":"cp437","737":"cp737","775":"cp775","850":"cp850","852":"cp852","855":"cp855","856":"cp856","857":"cp857","858":"cp858","860":"cp860","861":"cp861","862":"cp862","863":"cp863","864":"cp864","865":"cp865","866":"cp866","869":"cp869","874":"windows874","922":"cp922","1046":"cp1046","1124":"cp1124","1125":"cp1125","1129":"cp1129","1133":"cp1133","1161":"cp1161","1162":"cp1162","1163":"cp1163","1250":"windows1250","1251":"windows1251","1252":"windows1252","1253":"windows1253","1254":"windows1254","1255":"windows1255","1256":"windows1256","1257":"windows1257","1258":"windows1258","28591":"iso88591","28592":"iso88592","28593":"iso88593","28594":"iso88594","28595":"iso88595","28596":"iso88596","28597":"iso88597","28598":"iso88598","28599":"iso88599","28600":"iso885910","28601":"iso885911","28603":"iso885913","28604":"iso885914","28605":"iso885915","28606":"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b
\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:`\x00ÚỤ\x03ỪỬỮ\x07\b
\v\f\r\x0E\x0F\x10ỨỰỲỶỸÝỴ\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\x00\x01Ẳ\x03\x04ẴẪ\x07\b
\v\f\r\x0E\x0F\x10\x11\x12\x13Ỷ\x15\x16\x17\x18Ỹ\x1A\x1B\x1C\x1DỴ\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b
\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},iso646jp:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b
\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}});var iB0=M((BR1)=>{var nn=H3().Buffer;BR1._dbcs=W3;var a6=-1,bB0=-2,p$=-10,j8=-1000,eU=Array(256),TZ=-1;for(BZ=0;BZ<256;BZ++)eU[BZ]=a6;var BZ;function W3($,Y){if(this.encodingName=$.encodingName,!$)throw Error("DBCS codec is called without the data.");if(!$.table)throw Error("Encoding '"+this.encodingName+"' has no data.");var q=$.table();this.decodeTables=[],this.decodeTables[0]=eU.slice(0),this.decodeTableSeq=[];for(var z=0;z<q.length;z++)this._addDecodeChunk(q[z]);if(typeof $.gb18030==="function"){this.gb18030=$.gb18030();var J=this.decodeTables.length;this.decodeTables.push(eU.slice(0));var U=this.decodeTables.length;this.decodeTables.push(eU.slice(0));var I=this.decodeTables[0];for(var z=129;z<=254;z++){var Q=this.decodeTables[j8-I[z]];for(var K=48;K<=57;K++){if(Q[K]===a6)Q[K]=j8-J;else if(Q[K]>j8)throw Error("gb18030 decode tables conflict at byte 2");var G=this.decodeTables[j8-Q[K]];for(var H=129;H<=254;H++){if(G[H]===a6)G[H]=j8-U;else if(G[H]===j8-U)continue;else if(G[H]>j8)throw Error("gb18030 decode tables conflict at byte 3");var Z=this.decodeTables[j8-G[H]];for(var V=48;V<=57;V++)if(Z[V]===a6)Z[V]=bB0}}}}this.defaultCharUnicode=Y.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var X={};if($.encodeSkipVals)for(var z=0;z<$.encodeSkipVals.length;z++){var L=$.encodeSkipVals[z];if(typeof L==="number")X[L]=!0;else for(var K=L.from;K<=L.to;K++)X[K]=!0}if(this._fillEncodeTable(0,0,X),$.encodeAdd){for(var w in $.encodeAdd)if(Object.prototype.hasOwnProperty.call($.encodeAdd,w))this._setEncodeChar(w.charCodeAt(0),$.encodeAdd[w])}if(this.defCharSB=this.encodeTable[0][Y.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===a6)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===a6)this.defCharSB=63}W3.prototype.encoder=gD;W3.prototype.decoder=cn;W3.prototype._getDecodeTrieNode=function($){var Y=[];for(;$>0;$>>>=8)Y.push($&255);if(Y.length==0)Y.push(0);var q=this.decodeTables[0];for(var z=Y.length-1;z>0;z--){var J=q[Y[z]];if(J==a6)q[Y[z]]=j8-this.decodeTables.length,this.decodeTables.push(q=eU.slice(0));else if(J<=j8)q=this.decodeTables[j8-J];else throw Error("Overwrite byte in "+this.encodingName+", addr: "+$.toString(16))}return q};W3.prototype._addDecodeChunk=function($){var Y=parseInt($[0],16),q=this._getDecodeTrieNode(Y);Y=Y&255;for(var z=1;z<$.length;z++){var J=$[z];if(typeof J==="string")for(var U=0;U<J.length;){var I=J.charCodeAt(U++);if(I>=55296&&I<56320){var Q=J.charCodeAt(U++);if(Q>=56320&&Q<57344)q[Y++]=65536+(I-55296)*1024+(Q-56320);else throw Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+$[0])}else if(I>4080&&I<=4095){var K=4095-I+2,G=[];for(var H=0;H<K;H++)G.push(J.charCodeAt(U++));q[Y++]=p$-this.decodeTableSeq.length,this.decodeTableSeq.push(G)}else q[Y++]=I}else if(typeof J==="number"){var Z=q[Y-1]+1;for(var U=0;U<J;U++)q[Y++]=Z++}else throw Error("Incorrect type '"+typeof J+"' given in "+this.encodingName+" at chunk "+$[0])}if(Y>255)throw Error("Incorrect chunk in "+this.encodingName+" at addr "+$[0]+": too long"+Y)};W3.prototype._getEncodeBucket=function($){var Y=$>>8;if(this.encodeTable[Y]===void 0)this.encodeTable[Y]=eU.slice(0);return this.encodeTable[Y]};W3.prototype._setEncodeChar=function($,Y){var q=this._getEncodeBucket($),z=$&255;if(q[z]<=p$)this.encodeTableSeq[p$-q[z]][TZ]=Y;else if(q[z]==a6)q[z]=Y};W3.prototype._setEncodeSequence=function($,Y){var q=$[0],z=this._getEncodeBucket(q),J=q&255,U;if(z[J]<=p$)U=this.encodeTableSeq[p$-z[J]];else{if(U={},z[J]!==a6)U[TZ]=z[J];z[J]=p$-this.encodeTableSeq.length,this.encodeTableSeq.push(U)}for(var I=1;I<$.length-1;I++){var Q=U[q];if(typeof Q==="object")U=Q;else if(U=U[q]={},Q!==void 0)U[TZ]=Q}q=$[$.length-1],U[q]=Y};W3.prototype._fillEncodeTable=function($,Y,q){var z=this.decodeTables[$],J=!1,U={};for(var I=0;I<256;I++){var Q=z[I],K=Y+I;if(q[K])continue;if(Q>=0)this._setEncodeChar(Q,K),J=!0;else if(Q<=j8){var G=j8-Q;if(!U[G]){var H=K<<8>>>0;if(this._fillEncodeTable(G,H,q))J=!0;else U[G]=!0}}else if(Q<=p$)this._setEncodeSequence(this.decodeTableSeq[p$-Q],K),J=!0}return J};function gD($,Y){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=Y.encodeTable,this.encodeTableSeq=Y.encodeTableSeq,this.defaultCharSingleByte=Y.defCharSB,this.gb18030=Y.gb18030}gD.prototype.write=function($){var Y=nn.alloc($.length*(this.gb18030?4:3)),q=this.leadSurrogate,z=this.seqObj,J=-1,U=0,I=0;while(!0){if(J===-1){if(U==$.length)break;var Q=$.charCodeAt(U++)}else{var Q=J;J=-1}if(Q>=55296&&Q<57344)if(Q<56320)if(q===-1){q=Q;continue}else q=Q,Q=a6;else if(q!==-1)Q=65536+(q-55296)*1024+(Q-56320),q=-1;else Q=a6;else if(q!==-1)J=Q,Q=a6,q=-1;var K=a6;if(z!==void 0&&Q!=a6){var G=z[Q];if(typeof G==="object"){z=G;continue}else if(typeof G==="number")K=G;else if(G==null){if(G=z[TZ],G!==void 0)K=G,J=Q}z=void 0}else if(Q>=0){var H=this.encodeTable[Q>>8];if(H!==void 0)K=H[Q&255];if(K<=p$){z=this.encodeTableSeq[p$-K];continue}if(K==a6&&this.gb18030){var Z=pn(this.gb18030.uChars,Q);if(Z!=-1){var K=this.gb18030.gbChars[Z]+(Q-this.gb18030.uChars[Z]);Y[I++]=129+Math.floor(K/12600),K=K%12600,Y[I++]=48+Math.floor(K/1260),K=K%1260,Y[I++]=129+Math.floor(K/10),K=K%10,Y[I++]=48+K;continue}}}if(K===a6)K=this.defaultCharSingleByte;if(K<256)Y[I++]=K;else if(K<65536)Y[I++]=K>>8,Y[I++]=K&255;else if(K<16777216)Y[I++]=K>>16,Y[I++]=K>>8&255,Y[I++]=K&255;else Y[I++]=K>>>24,Y[I++]=K>>>16&255,Y[I++]=K>>>8&255,Y[I++]=K&255}return this.seqObj=z,this.leadSurrogate=q,Y.slice(0,I)};gD.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===void 0)return;var $=nn.alloc(10),Y=0;if(this.seqObj){var q=this.seqObj[TZ];if(q!==void 0)if(q<256)$[Y++]=q;else $[Y++]=q>>8,$[Y++]=q&255;this.seqObj=void 0}if(this.leadSurrogate!==-1)$[Y++]=this.defaultCharSingleByte,this.leadSurrogate=-1;return $.slice(0,Y)};gD.prototype.findIdx=pn;function cn($,Y){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=Y.decodeTables,this.decodeTableSeq=Y.decodeTableSeq,this.defaultCharUnicode=Y.defaultCharUnicode,this.gb18030=Y.gb18030}cn.prototype.write=function($){var Y=nn.alloc($.length*2),q=this.nodeIdx,z=this.prevBytes,J=this.prevBytes.length,U=-this.prevBytes.length,I;for(var Q=0,K=0;Q<$.length;Q++){var G=Q>=0?$[Q]:z[Q+J],I=this.decodeTables[q][G];if(I>=0);else if(I===a6)I=this.defaultCharUnicode.charCodeAt(0),Q=U;else if(I===bB0){if(Q>=3)var H=($[Q-3]-129)*12600+($[Q-2]-48)*1260+($[Q-1]-129)*10+(G-48);else var H=(z[Q-3+J]-129)*12600+((Q-2>=0?$[Q-2]:z[Q-2+J])-48)*1260+((Q-1>=0?$[Q-1]:z[Q-1+J])-129)*10+(G-48);var Z=pn(this.gb18030.gbChars,H);I=this.gb18030.uChars[Z]+H-this.gb18030.gbChars[Z]}else if(I<=j8){q=j8-I;continue}else if(I<=p$){var V=this.decodeTableSeq[p$-I];for(var X=0;X<V.length-1;X++)I=V[X],Y[K++]=I&255,Y[K++]=I>>8;I=V[V.length-1]}else throw Error("iconv-lite internal error: invalid decoding table value "+I+" at "+q+"/"+G);if(I>=65536){I-=65536;var L=55296|I>>10;Y[K++]=L&255,Y[K++]=L>>8,I=56320|I&1023}Y[K++]=I&255,Y[K++]=I>>8,q=0,U=Q+1}return this.nodeIdx=q,this.prevBytes=U>=0?Array.prototype.slice.call($,U):z.slice(U+J).concat(Array.prototype.slice.call($)),Y.slice(0,K).toString("ucs2")};cn.prototype.end=function(){var $="";while(this.prevBytes.length>0){$+=this.defaultCharUnicode;var Y=this.prevBytes.slice(1);if(this.prevBytes=[],this.nodeIdx=0,Y.length>0)$+=this.write(Y)}return this.prevBytes=[],this.nodeIdx=0,$};function pn($,Y){if($[0]>Y)return-1;var q=0,z=$.length;while(q<z-1){var J=q+(z-q+1>>1);if($[J]<=Y)q=J;else z=J}return q}});var nB0=M((vY4,ER1)=>{ER1.exports=[["0","\x00",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]});var cB0=M((hY4,jR1)=>{jR1.exports=[["0","\x00",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]});var SD=M((gY4,_R1)=>{_R1.exports=[["0","\x00",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]});var dn=M((SY4,RR1)=>{RR1.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]]});var pB0=M((yY4,CR1)=>{CR1.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}});var dB0=M((xY4,vR1)=>{vR1.exports=[["0","\x00",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]});var mn=M((kY4,hR1)=>{hR1.exports=[["0","\x00",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]});var mB0=M((uY4,gR1)=>{gR1.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]});var oB0=M((fY4,lB0)=>{lB0.exports={shiftjis:{type:"_dbcs",table:function(){return nB0()},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return cB0()},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return SD()}},gbk:{type:"_dbcs",table:function(){return SD().concat(dn())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return SD().concat(dn())},gb18030:function(){return pB0()},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return dB0()}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return mn()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return mn().concat(mB0())},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var tB0=M((sB0,jZ)=>{var SR1=Xn(),rB0=[EB0(),RB0(),hB0(),SB0(),yB0(),kB0(),fB0(),iB0(),oB0()];for(EZ=0;EZ<rB0.length;EZ++)jZ=rB0[EZ],SR1(sB0,jZ);var jZ,EZ});var $T0=M((bY4,eB0)=>{var aB0=H3().Buffer;eB0.exports=function($){var Y=$.Transform;function q(J,U){this.conv=J,U=U||{},U.decodeStrings=!1,Y.call(this,U)}q.prototype=Object.create(Y.prototype,{constructor:{value:q}}),q.prototype._transform=function(J,U,I){if(typeof J!=="string")return I(Error("Iconv encoding stream needs strings as its input."));try{var Q=this.conv.write(J);if(Q&&Q.length)this.push(Q);I()}catch(K){I(K)}},q.prototype._flush=function(J){try{var U=this.conv.end();if(U&&U.length)this.push(U);J()}catch(I){J(I)}},q.prototype.collect=function(J){var U=[];return this.on("error",J),this.on("data",function(I){U.push(I)}),this.on("end",function(){J(null,aB0.concat(U))}),this};function z(J,U){this.conv=J,U=U||{},U.encoding=this.encoding="utf8",Y.call(this,U)}return z.prototype=Object.create(Y.prototype,{constructor:{value:z}}),z.prototype._transform=function(J,U,I){if(!aB0.isBuffer(J)&&!(J instanceof Uint8Array))return I(Error("Iconv decoding stream needs buffers as its input."));try{var Q=this.conv.write(J);if(Q&&Q.length)this.push(Q,this.encoding);I()}catch(K){I(K)}},z.prototype._flush=function(J){try{var U=this.conv.end();if(U&&U.length)this.push(U,this.encoding);J()}catch(I){J(I)}},z.prototype.collect=function(J){var U="";return this.on("error",J),this.on("data",function(I){U+=I}),this.on("end",function(){J(null,U)}),this},{IconvLiteEncoderStream:q,IconvLiteDecoderStream:z}}});var KT0=M((bR1,e0)=>{var YT0=H3().Buffer,qT0=AB0(),fR1=Xn();bR1.encodings=null;bR1.defaultCharUnicode="�";bR1.defaultCharSingleByte="?";bR1.encode=function(Y,q,z){Y=""+(Y||"");var J=bR1.getEncoder(q,z),U=J.write(Y),I=J.end();return I&&I.length>0?YT0.concat([U,I]):U};bR1.decode=function(Y,q,z){if(typeof Y==="string"){if(!bR1.skipDecodeWarning)console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),bR1.skipDecodeWarning=!0;Y=YT0.from(""+(Y||""),"binary")}var J=bR1.getDecoder(q,z),U=J.write(Y),I=J.end();return I?U+I:U};bR1.encodingExists=function(Y){try{return bR1.getCodec(Y),!0}catch(q){return!1}};bR1.toEncoding=bR1.encode;bR1.fromEncoding=bR1.decode;bR1._codecDataCache={__proto__:null};bR1.getCodec=function(Y){if(!bR1.encodings){var q=tB0();bR1.encodings={__proto__:null},fR1(bR1.encodings,q)}var z=bR1._canonicalizeEncoding(Y),J={};while(!0){var U=bR1._codecDataCache[z];if(U)return U;var I=bR1.encodings[z];switch(typeof I){case"string":z=I;break;case"object":for(var Q in I)J[Q]=I[Q];if(!J.encodingName)J.encodingName=z;z=I.type;break;case"function":if(!J.encodingName)J.encodingName=z;return U=new I(J,bR1),bR1._codecDataCache[J.encodingName]=U,U;default:throw Error("Encoding not recognized: '"+Y+"' (searched as: '"+z+"')")}}};bR1._canonicalizeEncoding=function($){return(""+$).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};bR1.getEncoder=function(Y,q){var z=bR1.getCodec(Y),J=new z.encoder(q,z);if(z.bomAware&&q&&q.addBOM)J=new qT0.PrependBOM(J,q);return J};bR1.getDecoder=function(Y,q){var z=bR1.getCodec(Y),J=new z.decoder(q,z);if(z.bomAware&&!(q&&q.stripBOM===!1))J=new qT0.StripBOM(J,q);return J};bR1.enableStreamingAPI=function(Y){if(bR1.supportsStreams)return;var q=$T0()(Y);bR1.IconvLiteEncoderStream=q.IconvLiteEncoderStream,bR1.IconvLiteDecoderStream=q.IconvLiteDecoderStream,bR1.encodeStream=function(J,U){return new bR1.IconvLiteEncoderStream(bR1.getEncoder(J,U),U)},bR1.decodeStream=function(J,U){return new bR1.IconvLiteDecoderStream(bR1.getDecoder(J,U),U)},bR1.supportsStreams=!0};var yD;try{yD=m("stream")}catch($){}if(yD&&yD.Transform)bR1.enableStreamingAPI(yD);else bR1.encodeStream=bR1.decodeStream=function(){throw Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});async function HT0($){return new Promise((Y,q)=>{on.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(z,J)=>{if(z||!J)return q(z??Error("无法打开 ZIP"));let U=[];J.readEntry(),J.on("entry",(I)=>{let Q=ZT0(I);if(!Q.endsWith("/")&&!rR1(Q))U.push({fileName:Q,uncompressedSize:I.uncompressedSize,compressedSize:I.compressedSize,raw:I});J.readEntry()}),J.on("end",()=>Y(U)),J.on("error",q)})})}function ZT0($){let Y=Buffer.isBuffer($.fileName)?$.fileName:Buffer.from(String($.fileName),"binary"),q=Y.toString("utf8");if(!q.includes("�"))return q;let z=GT0.default.decode(Y,"gbk");if(!z.includes("�"))return z;return q}function rR1($){let Y=$.split("/").pop()??"";return $.split("/").includes("__MACOSX")||Y===".DS_Store"||Y.startsWith("._")||Y.startsWith(".~")||Y.startsWith("~$")}function WT0($,Y){let q=[],z=yz(Y);if($.length>kD.maxEntries)q.push(`文件数超过 ${kD.maxEntries}`);if($.reduce((I,Q)=>I+Q.uncompressedSize,0)>kD.maxTotalSize)q.push("解压后总大小超过 500MB");for(let I of $){if(I.fileName.startsWith("/")||I.fileName.split("/").includes(".."))q.push(`存在不安全路径: ${I.fileName}`);if(I.compressedSize>0&&I.uncompressedSize/I.compressedSize>kD.maxCompressionRatio)q.push(`压缩比超过 150: ${I.fileName}`);if(I.fileName==="信息表.xlsx")continue;sR1(I,z,q)}if(!$.find((I)=>I.fileName==="信息表.xlsx"))q.push("ZIP 根目录缺少精确名为「信息表.xlsx」的文件");if($.some((I)=>I.fileName.toLowerCase().endsWith(".zip")))q.push("不允许嵌套 ZIP");if(q.length)throw new N5(q)}function sR1($,Y,q){let z=tR1($.fileName);if(!z||!Y.allowedExtensions.includes(z))q.push(`附件后缀不在白名单中: ${$.fileName}(允许: ${Y.allowedExtensions.join(", ")})`);if($.uncompressedSize<Y.minFileSizeBytes)q.push(`附件文件过小: ${$.fileName}(${$.uncompressedSize} B,小于最小值 ${Y.minFileSizeBytes} B)`);if(Y.maxFileSizeBytes!==void 0&&Y.maxFileSizeBytes!==null&&$.uncompressedSize>Y.maxFileSizeBytes)q.push(`附件文件过大: ${$.fileName}(${$.uncompressedSize} B,大于最大值 ${Y.maxFileSizeBytes} B)`)}function tR1($){let Y=$.split("/").pop()??$,q=Y.lastIndexOf(".");return q>0?Y.slice(q).toLowerCase():""}function rn($,Y){return new Promise((q,z)=>{on.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(J,U)=>{if(J||!U)return z(J??Error("无法打开 ZIP"));U.readEntry(),U.on("entry",(I)=>{if(ZT0(I)!==Y.fileName)return U.readEntry();U.openReadStream(I,(Q,K)=>{if(Q||!K)return z(Q??Error(`无法读取 ${Y.fileName}`));let G=[];K.on("data",(H)=>G.push(H)),K.on("end",()=>q(Buffer.concat(G))),K.on("error",z)})}),U.on("error",z)})})}var on,GT0,kD;var sn=e(()=>{pU();xz();on=y4(NB0(),1),GT0=y4(KT0(),1),kD={maxEntries:1000,maxTotalSize:524288000,maxCompressionRatio:150}});function LT0($){return $.startsWith("[附件]")}function wT0($){return $.startsWith("[附件]")?$.slice(4):$}function aR1($){return wT0($).toLowerCase().replace(/\s+/g,"_")||"attachment"}function eR1($){if($==null||$==="")return[];return String($).split(/[\n,;,;]/).map((Y)=>Y.trim()).filter(Boolean)}function tn($,Y){let q=[];for(let[z,J]of Y.entries()){if(!LT0(z))continue;let U=$.getCell(J).value,I=eR1(U);if(!I.length)continue;q.push({key:aR1(z),label:wT0(z),paths:I})}return q}function an($){let Y=new Map;return $.map((q)=>{let z=(Y.get(q.key)??0)+1;return Y.set(q.key,z),z===1?q:{...q,key:`${q.key}-${z}`}})}function $I($,Y,q,z){return{key:$,label:Y,type:q,value:z}}function en($,Y,q){return $I($,Y,"TEXT",q==null?"":String(q))}function FT0($,Y,q){return $I($,Y,"AMOUNT",typeof q==="number"?{amount:q,currency:"CNY"}:null)}function OT0($){if($ instanceof Date)return $.toISOString();if(typeof $==="string"&&$.trim())return $.trim();return null}function $C1($){if($ instanceof Date)return Math.floor($.getTime()/1000);if(typeof $==="string"&&$.trim()){let Y=Date.parse($.trim().replace(" ","T"));if(Number.isFinite(Y))return Math.floor(Y/1000)}return null}function RZ($){let Y=new Map;return $.getRow(1).eachCell((q,z)=>Y.set(String(q.value??"").trim(),z)),Y}function qq($,Y,q){let z=Y.get(q);return z?$.getCell(z).value:void 0}function YC1($,Y){let q=[["会议编号","meeting_id","TEXT"],["会议名称","meeting_name","TEXT"],["状态","status","TEXT"],["总金额","total_amount","AMOUNT"],["税前劳务总额","pretax_labor_total","AMOUNT"],["报销事由","reimbursement_reason","TEXT"],["po码","po_code","TEXT"],["快递单号","tracking_number","TEXT"],["申请日期","application_date","DATE"],["更新日期","updated_date","DATE"]],z=new Set(q.map(([U])=>U)),J=q.flatMap(([U,I,Q])=>{let K=qq($,Y,U);if(K==null||K==="")return[];return[Q==="TEXT"?en(I,U,K):Q==="AMOUNT"?FT0(I,U,K):$I(I,U,Q,OT0(K))]});for(let[U,I]of Y.entries()){if(z.has(U)||LT0(U))continue;let Q=$.getCell(I).value;if(Q==null||Q==="")continue;let K=U.toLowerCase().replace(/\s+/g,"_");if(typeof Q==="number")J.push($I(K,U,"NUMBER",Q));else if(Q instanceof Date)J.push($I(K,U,"DATE",Q.toISOString()));else J.push(en(K,U,String(Q)))}return J}function XT0($,Y,q){return q.flatMap(([z,J,U])=>{let I=qq($,Y,z);if(I==null||I==="")return[];return[U==="TEXT"?en(J,z,I):U==="AMOUNT"?FT0(J,z,I):$I(J,z,U,OT0(I))]})}async function MT0($){let Y=new VT0.default.Workbook;if(await Y.xlsx.load(Buffer.from($)),!Y.worksheets.length)throw new N5(["信息表没有任何 Sheet"]);let q=Y.worksheets,z=q[0],J=RZ(z),U=J.get("会议编号")??1,I=(z.getRows(2,z.rowCount)??[]).filter((X)=>X.getCell(U).value!=null&&X.getCell(U).value!==""),Q=new Set,K=q.find((X,L)=>L>0&&RZ(X).has("姓名")),G=q.find((X,L)=>L>0&&RZ(X).has("报销金额")),H=K?RZ(K):void 0,Z=G?RZ(G):void 0;return I.map((X)=>{let L=String(X.getCell(U).value).trim();if(!L)throw new N5(["主表会议编号不能为空"]);if(Q.has(L))throw new N5([`主表会议编号重复: ${L}`]);Q.add(L);let w=qq(X,J,"申请日期"),F=(K?.getRows(2,K.rowCount)??[]).filter((v)=>String(qq(v,H,"会议编号")??"").trim()===L),O=(G?.getRows(2,G.rowCount)??[]).filter((v)=>String(qq(v,Z,"会议编号")??"").trim()===L),P=F.map((v)=>String(qq(v,H,"姓名")??"").trim()).filter(Boolean),B=an(tn(X,J)),A={};O.forEach((v,k)=>{let C=an(tn(v,Z));if(C.length)A[k]=C});let E={};F.forEach((v)=>{let k=String(qq(v,H,"姓名")??"").trim();if(!k)return;let C=an(tn(v,H));if(C.length)E[k]=C});let y=YC1(X,J);if(F.length)y.push({key:"daoshi_list",label:"导师列表",type:"LIST",value:F.map((v)=>XT0(v,H,qC1))});if(O.length)y.push({key:"mingxi_list",label:"明细列表",type:"LIST",value:O.map((v)=>XT0(v,Z,zC1))});return{laborNames:P,documentAttachments:B,expenseAttachments:A,personAttachments:E,document:{type:"document",documentId:L,documentSN:L,startTime:$C1(w),fields:y}}})}var VT0,qC1,zC1;var $c=e(()=>{pU();VT0=y4(FZ(),1);qC1=[["姓名","name","TEXT"],["身份证号码","id_number","TEXT"],["手机号","phone","TEXT"],["劳务费用","labor_fee","AMOUNT"],["税前费用","pretax_fee","AMOUNT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["联行号","bank_code","TEXT"],["银行卡号","bank_card_number","TEXT"]],zC1=[["报销金额","reimbursement_amount","AMOUNT"],["费用类型","expense_type","TEXT"],["发生时间","occurrence_time","DATE"],["收款人","payee","TEXT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["支行行号","branch_code","TEXT"],["银行卡号","bank_card_number","TEXT"],["费用说明","expense_description","TEXT"]]});function NT0($,Y){let q=[],z=new Map,J=Y.map((I)=>{let{documentAttachments:Q,expenseAttachments:K,personAttachments:G}=I,H=I.document.documentId,Z=(V,X)=>{let L=V.split("/")[0],w=L.indexOf("@");if((w>=0?L.slice(0,w):L)!==H)q.push(`单据「${H}」声明了跨单据或非本单据目录的附件路径: ${V}。附件必须位于该单据自己的根目录「${H}/」或「${H}@备注/」下。`);let O=z.get(V);if(O)O.push({documentId:H,location:X});else z.set(V,[{documentId:H,location:X}])};for(let V of Q)V.paths.forEach((X)=>Z(X,`主表 [附件]${V.label}`));for(let[V,X]of Object.entries(K)){let L=Number(V)+1;for(let w of X)w.paths.forEach((F)=>Z(F,`费用明细行 ${L} [附件]${w.label}`))}for(let[V,X]of Object.entries(G))for(let L of X)L.paths.forEach((w)=>Z(w,`劳务人员「${V}」[附件]${L.label}`));return{documentId:H,categoryFields:Q,expenseAttachments:K,personAttachments:G}});for(let[I,Q]of z.entries())if(Q.length>1){let K=Q.map((G)=>`单据「${G.documentId}」的 ${G.location}`).join("、");q.push(`附件路径「${I}」被重复声明了 ${Q.length} 次(出现在 ${K})。禁止复用同一路径,若需在不同单据或不同字段使用,请分别放置到独立的附件文件路径。`)}if(!$.length){if(q.length)throw new N5(q);return J}let U=new Set($.map((I)=>I.fileName));for(let I of z.keys())if(!U.has(I))q.push(`Excel 声明的附件路径在 ZIP 中不存在: ${I}`);for(let I of $){if(I.fileName==="信息表.xlsx")continue;if(!z.has(I.fileName))q.push(`ZIP 中的文件未在 Excel 任何 [附件] 列中声明: ${I.fileName}`)}if(q.length)throw new N5(q);return J}function Yc($,Y,q){let z=structuredClone($),J=(Q)=>{if(q.has(Q))return q.get(Q);return[{path:Q,fileName:Q.split("/").pop()??Q}]};for(let Q of Y.categoryFields){let K=Q.paths.flatMap(J);z.fields.push({key:Q.key,label:Q.label,type:"ATTACHMENT",value:K})}let U=z.fields.find((Q)=>Q.key==="daoshi_list"&&Q.type==="LIST");if(U&&Array.isArray(U.value))for(let Q of U.value){let K=Q.find((G)=>G.key==="name")?.value;for(let G of Y.personAttachments[String(K)]??[])Q.push({key:G.key,label:G.label,type:"ATTACHMENT",value:G.paths.flatMap(J)})}let I=z.fields.find((Q)=>Q.key==="mingxi_list"&&Q.type==="LIST");if(I&&Array.isArray(I.value))for(let Q=0;Q<I.value.length;Q++){let K=I.value[Q];for(let G of Y.expenseAttachments[Q]??[])K.push({key:G.key,label:G.label,type:"ATTACHMENT",value:G.paths.flatMap(J)})}return z}var qc=e(()=>{pU()});function q2($,{checkOpen:Y=!0}={}){return $!==null&&typeof $==="object"&&($.writable||$.readable||!Y||$.writable===void 0&&$.readable===void 0)&&typeof $.pipe==="function"}var zc=($,Y,q)=>{let z=$ instanceof RegExp?DT0($,q):$,J=Y instanceof RegExp?DT0(Y,q):Y,U=z!==null&&J!=null&&JC1(z,J,q);return U&&{start:U[0],end:U[1],pre:q.slice(0,U[0]),body:q.slice(U[0]+z.length,U[1]),post:q.slice(U[1]+J.length)}},DT0=($,Y)=>{let q=Y.match($);return q?q[0]:null},JC1=($,Y,q)=>{let z,J,U,I=void 0,Q,K=q.indexOf($),G=q.indexOf(Y,K+1),H=K;if(K>=0&&G>0){if($===Y)return[K,G];z=[],U=q.length;while(H>=0&&!Q){if(H===K)z.push(H),K=q.indexOf($,H+1);else if(z.length===1){let Z=z.pop();if(Z!==void 0)Q=[Z,G]}else{if(J=z.pop(),J!==void 0&&J<U)U=J,I=G;G=q.indexOf(Y,H+1)}H=K<G&&K>=0?K:G}if(z.length&&I!==void 0)Q=[U,I]}return Q};function Jc($){return!isNaN($)?parseInt($,10):$.charCodeAt(0)}function FC1($){return $.replace(HC1,PT0).replace(ZC1,AT0).replace(WC1,Ic).replace(XC1,BT0).replace(VC1,TT0)}function OC1($){return $.replace(UC1,"\\").replace(IC1,"{").replace(QC1,"}").replace(KC1,",").replace(GC1,".")}function ET0($){if(!$)return[""];let Y=[],q=zc("{","}",$);if(!q)return $.split(",");let{pre:z,body:J,post:U}=q,I=z.split(",");I[I.length-1]+="{"+J+"}";let Q=ET0(U);if(U.length)I[I.length-1]+=Q.shift(),I.push.apply(I,Q);return Y.push.apply(Y,I),Y}function jT0($,Y={}){if(!$)return[];let{max:q=LC1,maxLength:z=wC1}=Y;if($.slice(0,2)==="{}")$="\\{\\}"+$.slice(2);return Uc(FC1($),q,z,!0).map(OC1)}function MC1($){return"{"+$+"}"}function NC1($){return/^-?0\d/.test($)}function DC1($,Y){return $<=Y}function PC1($,Y){return $>=Y}function CZ($,Y,q,z,J,U){let I=[],Q=0;for(let K=0;K<$.length;K++)for(let G=0;G<q.length;G++){if(I.length>=z)return I;let H=$[K]+Y+q[G];if(U&&!H)continue;if(Q+H.length>J)return I;I.push(H),Q+=H.length}return I}function AC1($,Y,q,z){let J=$.split(/\.\./),U=[];if(J[0]===void 0||J[1]===void 0)return U;let I=Jc(J[0]),Q=Jc(J[1]),K=Math.max(J[0].length,J[1].length),G=J.length===3&&J[2]!==void 0?Math.max(Math.abs(Jc(J[2])),1):1,H=DC1;if(Q<I)G*=-1,H=PC1;let V=J.some(NC1),X=0;for(let L=I;H(L,Q)&&U.length<q;L+=G){let w;if(Y){if(w=String.fromCharCode(L),w==="\\")w=""}else if(w=String(L),V){let F=K-w.length;if(F>0){let O=Array(F+1).join("0");if(L<0)w="-"+O+w.slice(1);else w=O+w}}if(X+w.length>z)break;U.push(w),X+=w.length}return U}function Uc($,Y,q,z){let J=[""],U=!1,I=!0;for(;;){let Q=zc("{","}",$);if(!Q)return CZ(J,$,[""],Y,q,U);let K=Q.pre;if(/\$$/.test(K)){if(J=CZ(J,K+"{"+Q.body+"}",[""],Y,q,U&&!Q.post.length),I=!1,!Q.post.length)break;$=Q.post;continue}let G=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(Q.body),H=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(Q.body),Z=G||H,V=Q.body.indexOf(",")>=0;if(!Z&&!V){if(Q.post.match(/,(?!,).*\}/)){$=Q.pre+"{"+Q.body+Ic+Q.post,z=!0;continue}return CZ(J,K+"{"+Q.body+"}"+Q.post,[""],Y,q,U)}if(I)U=z&&!Z,I=!1;let X;if(Z)X=AC1(Q.body,H,Y,q);else{let L=ET0(Q.body);if(L.length===1&&L[0]!==void 0){if(L=Uc(L[0],Y,q,!1).map(MC1),L.length===1){if(J=CZ(J,K+L[0],[""],Y,q,U&&!Q.post.length),!Q.post.length)break;$=Q.post;continue}}let w=U&&!Q.post.length&&!K;for(let O=0;w&&O<J.length;O++)if(J[O])w=!1;X=[];let F=0;$:for(let O=0;O<L.length;O++){let P=Uc(L[O],Y,q,!1);for(let B=0;B<P.length;B++){let A=P[B];if(w&&!A)continue;if(X.length>=Y||F+A.length>q)break $;X.push(A),F+=A.length}}}if(J=CZ(J,K,X,Y,q,U&&!Q.post.length),!Q.post.length)break;$=Q.post}return J}var PT0,AT0,Ic,BT0,TT0,UC1,IC1,QC1,KC1,GC1,HC1,ZC1,WC1,XC1,VC1,LC1=1e5,wC1=4000000;var _T0=e(()=>{PT0="\x00SLASH"+Math.random()+"\x00",AT0="\x00OPEN"+Math.random()+"\x00",Ic="\x00CLOSE"+Math.random()+"\x00",BT0="\x00COMMA"+Math.random()+"\x00",TT0="\x00PERIOD"+Math.random()+"\x00",UC1=new RegExp(PT0,"g"),IC1=new RegExp(AT0,"g"),QC1=new RegExp(Ic,"g"),KC1=new RegExp(BT0,"g"),GC1=new RegExp(TT0,"g"),HC1=/\\\\/g,ZC1=/\\{/g,WC1=/\\}/g,XC1=/\\,/g,VC1=/\\\./g});var vZ=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>65536)throw TypeError("pattern is too long")};var BC1,hZ=($)=>$.replace(/[[\]\\-]/g,"\\$&"),TC1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),RT0=($)=>$.join(""),CT0=($,Y)=>{let q=Y;if($.charAt(q)!=="[")throw Error("not in a brace expression");let z=[],J=[],U=q+1,I=!1,Q=!1,K=!1,G=!1,H=q,Z="";$:while(U<$.length){let w=$.charAt(U);if((w==="!"||w==="^")&&U===q+1){G=!0,U++;continue}if(w==="]"&&I&&!K){H=U+1;break}if(I=!0,w==="\\"){if(!K){K=!0,U++;continue}}if(w==="["&&!K){for(let[F,[O,P,B]]of Object.entries(BC1))if($.startsWith(F,U)){if(Z)return["$.",!1,$.length-q,!0];if(U+=F.length,B)J.push(O);else z.push(O);Q=Q||P;continue $}}if(K=!1,Z){if(w>Z)z.push(hZ(Z)+"-"+hZ(w));else if(w===Z)z.push(hZ(w));Z="",U++;continue}if($.startsWith("-]",U+1)){z.push(hZ(w+"-")),U+=2;continue}if($.startsWith("-",U+1)){Z=w,U+=2;continue}z.push(hZ(w)),U++}if(H<U)return["",!1,0,!1];if(!z.length&&!J.length)return["$.",!1,$.length-q,!0];if(J.length===0&&z.length===1&&/^\\?.$/.test(z[0])&&!G){let w=z[0].length===2?z[0].slice(-1):z[0];return[TC1(w),!1,H-q,!1]}let V="["+(G?"^":"")+RT0(z)+"]",X="["+(G?"":"^")+RT0(J)+"]";return[z.length&&J.length?"("+V+"|"+X+")":z.length?V:X,Q,H-q,!0]};var vT0=e(()=>{BC1={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]}});var z2=($,{windowsPathsNoEscape:Y=!1,magicalBraces:q=!0}={})=>{if(q)return Y?$.replace(/\[([^/\\])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1");return Y?$.replace(/\[([^/\\{}])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1")};var t8,EC1,Qc=($)=>EC1.has($),hT0=($)=>Qc($.type),jC1,_C1,RC1,gT0,CC1="(?!(?:^|/)\\.\\.?(?:$|/))",uD="(?!\\.)",vC1,hC1,gC1,SC1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Kc="[^/]",ST0,yT0,yC1=0,YI;var Gc=e(()=>{vT0();EC1=new Set(["!","?","+","*","@"]),jC1=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),_C1=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),RC1=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),gT0=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),vC1=new Set(["[","."]),hC1=new Set(["..","."]),gC1=new Set("().*{}+?[]^$\\!"),ST0=Kc+"*?",yT0=Kc+"+?";YI=class YI{type;#z;#q;#J=!1;#Y=[];#$;#H;#G;#Z=!1;#U;#I;#W=!1;id=++yC1;get depth(){return(this.#$?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#z.id,parent:this.#$?.id,depth:this.depth,partsLength:this.#Y.length,parts:this.#Y}}constructor($,Y,q={}){if(this.type=$,$)this.#q=!0;if(this.#$=Y,this.#z=this.#$?this.#$.#z:this,this.#U=this.#z===this?q:this.#z.#U,this.#G=this.#z===this?[]:this.#z.#G,$==="!"&&!this.#z.#Z)this.#G.push(this);this.#H=this.#$?this.#$.#Y.length:0}get hasMagic(){if(this.#q!==void 0)return this.#q;for(let $ of this.#Y){if(typeof $==="string")continue;if($.type||$.hasMagic)return this.#q=!0}return this.#q}toString(){return this.#I!==void 0?this.#I:!this.type?this.#I=this.#Y.map(($)=>String($)).join(""):this.#I=this.type+"("+this.#Y.map(($)=>String($)).join("|")+")"}#N(){if(this!==this.#z)throw Error("should only call on root");if(this.#Z)return this;this.toString(),this.#Z=!0;let $;while($=this.#G.pop()){if($.type!=="!")continue;let Y=$,q=Y.#$;while(q){for(let z=Y.#H+1;!q.type&&z<q.#Y.length;z++)for(let J of $.#Y){if(typeof J==="string")throw Error("string part in extglob AST??");J.copyIn(q.#Y[z])}Y=q,q=Y.#$}}return this}push(...$){for(let Y of $){if(Y==="")continue;if(typeof Y!=="string"&&!(Y instanceof t8&&Y.#$===this))throw Error("invalid part: "+Y);this.#Y.push(Y)}}toJSON(){let $=this.type===null?this.#Y.slice().map((Y)=>typeof Y==="string"?Y:Y.toJSON()):[this.type,...this.#Y.map((Y)=>Y.toJSON())];if(this.isStart()&&!this.type)$.unshift([]);if(this.isEnd()&&(this===this.#z||this.#z.#Z&&this.#$?.type==="!"))$.push({});return $}isStart(){if(this.#z===this)return!0;if(!this.#$?.isStart())return!1;if(this.#H===0)return!0;let $=this.#$;for(let Y=0;Y<this.#H;Y++){let q=$.#Y[Y];if(!(q instanceof t8&&q.type==="!"))return!1}return!0}isEnd(){if(this.#z===this)return!0;if(this.#$?.type==="!")return!0;if(!this.#$?.isEnd())return!1;if(!this.type)return this.#$?.isEnd();let $=this.#$?this.#$.#Y.length:0;return this.#H===$-1}copyIn($){if(typeof $==="string")this.push($);else this.push($.clone(this))}clone($){let Y=new t8(this.type,$);for(let q of this.#Y)Y.copyIn(q);return Y}static#K($,Y,q,z,J){let U=z.maxExtglobRecursion??2,I=!1,Q=!1,K=-1,G=!1;if(Y.type===null){let L=q,w="";while(L<$.length){let F=$.charAt(L++);if(I||F==="\\"){I=!I,w+=F;continue}if(Q){if(L===K+1){if(F==="^"||F==="!")G=!0}else if(F==="]"&&!(L===K+2&&G))Q=!1;w+=F;continue}else if(F==="["){Q=!0,K=L,G=!1,w+=F;continue}if(!z.noext&&Qc(F)&&$.charAt(L)==="("&&J<=U){Y.push(w),w="";let P=new t8(F,Y);L=t8.#K($,P,L,z,J+1),Y.push(P);continue}w+=F}return Y.push(w),L}let H=q+1,Z=new t8(null,Y),V=[],X="";while(H<$.length){let L=$.charAt(H++);if(I||L==="\\"){I=!I,X+=L;continue}if(Q){if(H===K+1){if(L==="^"||L==="!")G=!0}else if(L==="]"&&!(H===K+2&&G))Q=!1;X+=L;continue}else if(L==="["){Q=!0,K=H,G=!1,X+=L;continue}if(!z.noext&&Qc(L)&&$.charAt(H)==="("&&(J<=U||Y&&Y.#L(L))){let F=Y&&Y.#L(L)?0:1;Z.push(X),X="";let O=new t8(L,Z);Z.push(O),H=t8.#K($,O,H,z,J+F);continue}if(L==="|"){Z.push(X),X="",V.push(Z),Z=new t8(null,Y);continue}if(L===")"){if(X===""&&Y.#Y.length===0)Y.#W=!0;return Z.push(X),X="",Y.push(...V,Z),H}X+=L}return Y.type=null,Y.#q=void 0,Y.#Y=[$.substring(q-1)],H}#B($){return this.#V($,_C1)}#V($,Y=jC1){if(!$||typeof $!=="object"||$.type!==null||$.#Y.length!==1||this.type===null)return!1;let q=$.#Y[0];if(!q||typeof q!=="object"||q.type===null)return!1;return this.#L(q.type,Y)}#L($,Y=RC1){return!!Y.get(this.type)?.includes($)}#D($,Y){let q=$.#Y[0],z=new t8(null,q,this.options);z.#Y.push(""),q.push(z),this.#P($,Y)}#P($,Y){let q=$.#Y[0];this.#Y.splice(Y,1,...q.#Y);for(let z of q.#Y)if(typeof z==="object")z.#$=this;this.#I=void 0}#T($){return!!gT0.get(this.type)?.has($)}#E($){if(!$||typeof $!=="object"||$.type!==null||$.#Y.length!==1||this.type===null||this.#Y.length!==1)return!1;let Y=$.#Y[0];if(!Y||typeof Y!=="object"||Y.type===null)return!1;return this.#T(Y.type)}#w($){let Y=gT0.get(this.type),q=$.#Y[0],z=Y?.get(q.type);if(!z)return!1;this.#Y=q.#Y;for(let J of this.#Y)if(typeof J==="object")J.#$=this;this.type=z,this.#I=void 0,this.#W=!1}static fromGlob($,Y={}){let q=new t8(null,void 0,Y);return t8.#K($,q,0,Y,0),q}toMMPattern(){if(this!==this.#z)return this.#z.toMMPattern();let $=this.toString(),[Y,q,z,J]=this.toRegExpSource();if(!(z||this.#q||this.#U.nocase&&!this.#U.nocaseMagicOnly&&$.toUpperCase()!==$.toLowerCase()))return q;let I=(this.#U.nocase?"i":"")+(J?"u":"");return Object.assign(new RegExp(`^${Y}$`,I),{_src:Y,_glob:$})}get options(){return this.#U}toRegExpSource($){let Y=$??!!this.#U.dot;if(this.#z===this)this.#Q(),this.#N();if(!hT0(this)){let Q=this.isStart()&&this.isEnd()&&!this.#Y.some((V)=>typeof V!=="string"),K=this.#Y.map((V)=>{let[X,L,w,F]=typeof V==="string"?t8.#X(V,this.#q,Q):V.toRegExpSource($);return this.#q=this.#q||w,this.#J=this.#J||F,X}).join(""),G="";if(this.isStart()){if(typeof this.#Y[0]==="string"){if(!(this.#Y.length===1&&hC1.has(this.#Y[0]))){let X=vC1,L=Y&&X.has(K.charAt(0))||K.startsWith("\\.")&&X.has(K.charAt(2))||K.startsWith("\\.\\.")&&X.has(K.charAt(4)),w=!Y&&!$&&X.has(K.charAt(0));G=L?CC1:w?uD:""}}}let H="";if(this.isEnd()&&this.#z.#Z&&this.#$?.type==="!")H="(?:$|\\/)";return[G+K+H,z2(K),this.#q=!!this.#q,this.#J]}let q=this.type==="*"||this.type==="+",z=this.type==="!"?"(?:(?!(?:":"(?:",J=this.#F(Y);if(this.isStart()&&this.isEnd()&&!J&&this.type!=="!"){let Q=this.toString(),K=this;return K.#Y=[Q],K.type=null,K.#q=void 0,[Q,z2(this.toString()),!1,!1]}let U=!q||$||Y||!uD?"":this.#F(!0);if(U===J)U="";if(U)J=`(?:${J})(?:${U})*?`;let I="";if(this.type==="!"&&this.#W)I=(this.isStart()&&!Y?uD:"")+yT0;else{let Q=this.type==="!"?"))"+(this.isStart()&&!Y&&!$?uD:"")+ST0+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&U?")":this.type==="*"&&U?")?":`)${this.type}`;I=z+J+Q}return[I,z2(J),this.#q=!!this.#q,this.#J]}#Q(){if(!hT0(this)){for(let $ of this.#Y)if(typeof $==="object")$.#Q()}else{let $=0,Y=!1;do{Y=!0;for(let q=0;q<this.#Y.length;q++){let z=this.#Y[q];if(typeof z==="object"){if(z.#Q(),this.#V(z))Y=!1,this.#P(z,q);else if(this.#B(z))Y=!1,this.#D(z,q);else if(this.#E(z))Y=!1,this.#w(z)}}}while(!Y&&++$<10)}this.#I=void 0}#F($){return this.#Y.map((Y)=>{if(typeof Y==="string")throw Error("string type in extglob ast??");let[q,z,J,U]=Y.toRegExpSource($);return this.#J=this.#J||U,q}).filter((Y)=>!(this.isStart()&&this.isEnd())||!!Y).join("|")}static#X($,Y,q=!1){let z=!1,J="",U=!1,I=!1;for(let Q=0;Q<$.length;Q++){let K=$.charAt(Q);if(z){z=!1,J+=(gC1.has(K)?"\\":"")+K;continue}if(K==="*"){if(I)continue;I=!0,J+=q&&/^[*]+$/.test($)?yT0:ST0,Y=!0;continue}else I=!1;if(K==="\\"){if(Q===$.length-1)J+="\\\\";else z=!0;continue}if(K==="["){let[G,H,Z,V]=CT0($,Q);if(Z){J+=G,U=U||H,Q+=Z-1,Y=Y||V;continue}}if(K==="?"){J+=Kc,Y=!0;continue}J+=SC1(K)}return[J,z2($),!!Y,U]}};t8=YI});var Hc=($,{windowsPathsNoEscape:Y=!1,magicalBraces:q=!1}={})=>{if(q)return Y?$.replace(/[?*()[\]{}]/g,"[$&]"):$.replace(/[?*()[\]\\{}]/g,"\\$&");return Y?$.replace(/[?*()[\]]/g,"[$&]"):$.replace(/[?*()[\]\\]/g,"\\$&")};class X3{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor($,Y={}){vZ($),Y=Y||{},this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion??200,this.pattern=$,this.platform=Y.platform||bT0,this.isWindows=this.platform==="win32";let q="allowWindowsEscape";if(this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y[q]===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Y.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Y.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Y.windowsNoMagicRoot!==void 0?Y.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let $ of this.set)for(let Y of $)if(typeof Y!=="string")return!0;return!1}debug(...$){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Y.debug)this.debug=(...J)=>console.error(...J);this.debug(this.pattern,this.globSet);let q=this.globSet.map((J)=>this.slashSplit(J));this.globParts=this.preprocess(q),this.debug(this.pattern,this.globParts);let z=this.globParts.map((J,U,I)=>{if(this.isWindows&&this.windowsNoMagicRoot){let Q=J[0]===""&&J[1]===""&&(J[2]==="?"||!kT0.test(J[2]))&&!kT0.test(J[3]),K=/^[a-z]:/i.test(J[0]);if(Q)return[...J.slice(0,4),...J.slice(4).map((G)=>this.parse(G))];else if(K)return[J[0],...J.slice(1).map((G)=>this.parse(G))]}return J.map((Q)=>this.parse(Q))});if(this.debug(this.pattern,z),this.set=z.filter((J)=>J.indexOf(!1)===-1),this.isWindows)for(let J=0;J<this.set.length;J++){let U=this.set[J];if(U[0]===""&&U[1]===""&&this.globParts[J][2]==="?"&&typeof U[3]==="string"&&/^[a-z]:$/i.test(U[3]))U[2]="?"}this.debug(this.pattern,this.set)}preprocess($){if(this.options.noglobstar){for(let q of $)for(let z=0;z<q.length;z++)if(q[z]==="**")q[z]="*"}let{optimizationLevel:Y=1}=this.options;if(Y>=2)$=this.firstPhasePreProcess($),$=this.secondPhasePreProcess($);else if(Y>=1)$=this.levelOneOptimize($);else $=this.adjascentGlobstarOptimize($);return $}adjascentGlobstarOptimize($){return $.map((Y)=>{let q=-1;while((q=Y.indexOf("**",q+1))!==-1){let z=q;while(Y[z+1]==="**")z++;if(z!==q)Y.splice(q,z-q)}return Y})}levelOneOptimize($){return $.map((Y)=>{return Y=Y.reduce((q,z)=>{let J=q[q.length-1];if(z==="**"&&J==="**")return q;if(z===".."){if(J&&J!==".."&&J!=="."&&J!=="**")return q.pop(),q}return q.push(z),q},[]),Y.length===0?[""]:Y})}levelTwoFileOptimize($){if(!Array.isArray($))$=this.slashSplit($);let Y=!1;do{if(Y=!1,!this.preserveMultipleSlashes){for(let z=1;z<$.length-1;z++){let J=$[z];if(z===1&&J===""&&$[0]==="")continue;if(J==="."||J==="")Y=!0,$.splice(z,1),z--}if($[0]==="."&&$.length===2&&($[1]==="."||$[1]===""))Y=!0,$.pop()}let q=0;while((q=$.indexOf("..",q+1))!==-1){let z=$[q-1];if(z&&z!=="."&&z!==".."&&z!=="**"&&!(this.isWindows&&/^[a-z]:$/i.test(z)))Y=!0,$.splice(q-1,2),q-=2}}while(Y);return $.length===0?[""]:$}firstPhasePreProcess($){let Y=!1;do{Y=!1;for(let q of $){let z=-1;while((z=q.indexOf("**",z+1))!==-1){let U=z;while(q[U+1]==="**")U++;if(U>z)q.splice(z+1,U-z);let I=q[z+1],Q=q[z+2],K=q[z+3];if(I!=="..")continue;if(!Q||Q==="."||Q===".."||!K||K==="."||K==="..")continue;Y=!0,q.splice(z,1);let G=q.slice(0);G[z]="**",$.push(G),z--}if(!this.preserveMultipleSlashes){for(let U=1;U<q.length-1;U++){let I=q[U];if(U===1&&I===""&&q[0]==="")continue;if(I==="."||I==="")Y=!0,q.splice(U,1),U--}if(q[0]==="."&&q.length===2&&(q[1]==="."||q[1]===""))Y=!0,q.pop()}let J=0;while((J=q.indexOf("..",J+1))!==-1){let U=q[J-1];if(U&&U!=="."&&U!==".."&&U!=="**"){Y=!0;let Q=J===1&&q[J+1]==="**"?["."]:[];if(q.splice(J-1,2,...Q),q.length===0)q.push("");J-=2}}}}while(Y);return $}secondPhasePreProcess($){for(let Y=0;Y<$.length-1;Y++)for(let q=Y+1;q<$.length;q++){let z=this.partsMatch($[Y],$[q],!this.preserveMultipleSlashes);if(z){$[Y]=[],$[q]=z;break}}return $.filter((Y)=>Y.length)}partsMatch($,Y,q=!1){let z=0,J=0,U=[],I="";while(z<$.length&&J<Y.length)if($[z]===Y[J])U.push(I==="b"?Y[J]:$[z]),z++,J++;else if(q&&$[z]==="**"&&Y[J]===$[z+1])U.push($[z]),z++;else if(q&&Y[J]==="**"&&$[z]===Y[J+1])U.push(Y[J]),J++;else if($[z]==="*"&&Y[J]&&(this.options.dot||!Y[J].startsWith("."))&&Y[J]!=="**"){if(I==="b")return!1;I="a",U.push($[z]),z++,J++}else if(Y[J]==="*"&&$[z]&&(this.options.dot||!$[z].startsWith("."))&&$[z]!=="**"){if(I==="a")return!1;I="b",U.push(Y[J]),z++,J++}else return!1;return $.length===Y.length&&U}parseNegate(){if(this.nonegate)return;let $=this.pattern,Y=!1,q=0;for(let z=0;z<$.length&&$.charAt(z)==="!";z++)Y=!Y,q++;if(q)this.pattern=$.slice(q);this.negate=Y}matchOne($,Y,q=!1){let z=0,J=0;if(this.isWindows){let I=typeof $[0]==="string"&&/^[a-z]:$/i.test($[0]),Q=!I&&$[0]===""&&$[1]===""&&$[2]==="?"&&/^[a-z]:$/i.test($[3]),K=typeof Y[0]==="string"&&/^[a-z]:$/i.test(Y[0]),G=!K&&Y[0]===""&&Y[1]===""&&Y[2]==="?"&&typeof Y[3]==="string"&&/^[a-z]:$/i.test(Y[3]),H=Q?3:I?0:void 0,Z=G?3:K?0:void 0;if(typeof H==="number"&&typeof Z==="number"){let[V,X]=[$[H],Y[Z]];if(V.toLowerCase()===X.toLowerCase())Y[Z]=V,J=Z,z=H}}let{optimizationLevel:U=1}=this.options;if(U>=2)$=this.levelTwoFileOptimize($);if(Y.includes(H8))return this.#z($,Y,q,z,J);return this.#J($,Y,q,z,J)}#z($,Y,q,z,J){let U=Y.indexOf(H8,J),I=Y.lastIndexOf(H8),[Q,K,G]=q?[Y.slice(J,U),Y.slice(U+1),[]]:[Y.slice(J,U),Y.slice(U+1,I),Y.slice(I+1)];if(Q.length){let O=$.slice(z,z+Q.length);if(!this.#J(O,Q,q,0,0))return!1;z+=Q.length,J+=Q.length}let H=0;if(G.length){if(G.length+z>$.length)return!1;let O=$.length-G.length;if(this.#J($,G,q,O,0))H=G.length;else{if($[$.length-1]!==""||z+G.length===$.length)return!1;if(O--,!this.#J($,G,q,O,0))return!1;H=G.length+1}}if(!K.length){let O=!!H;for(let P=z;P<$.length-H;P++){let B=String($[P]);if(O=!0,B==="."||B===".."||!this.options.dot&&B.startsWith("."))return!1}return q||O}let Z=[[[],0]],V=Z[0],X=0,L=[0];for(let O of K)if(O===H8)L.push(X),V=[[],0],Z.push(V);else V[0].push(O),X++;let w=Z.length-1,F=$.length-H;for(let O of Z)O[1]=F-(L[w--]+O[0].length);return!!this.#q($,Z,z,0,q,0,!!H)}#q($,Y,q,z,J,U,I){let Q=Y[z];if(!Q){for(let H=q;H<$.length;H++){I=!0;let Z=$[H];if(Z==="."||Z===".."||!this.options.dot&&Z.startsWith("."))return!1}return I}let[K,G]=Q;while(q<=G){if(this.#J($.slice(0,q+K.length),K,J,q,0)&&U<this.maxGlobstarRecursion){let V=this.#q($,Y,q+K.length,z+1,J,U+1,I);if(V!==!1)return V}let Z=$[q];if(Z==="."||Z===".."||!this.options.dot&&Z.startsWith("."))return!1;q++}return J||null}#J($,Y,q,z,J){let U,I,Q,K;for(U=z,I=J,K=$.length,Q=Y.length;U<K&&I<Q;U++,I++){this.debug("matchOne loop");let G=Y[I],H=$[U];if(this.debug(Y,G,H),G===!1||G===H8)return!1;let Z;if(typeof G==="string")Z=H===G,this.debug("string match",G,H,Z);else Z=G.test(H),this.debug("pattern match",G,H,Z);if(!Z)return!1}if(U===K&&I===Q)return!0;else if(U===K)return q;else if(I===Q)return U===K-1&&$[U]==="";else throw Error("wtf?")}braceExpand(){return iT0(this.pattern,this.options)}parse($){vZ($);let Y=this.options;if($==="**")return H8;if($==="")return"";let q,z=null;if(q=$.match(mC1))z=Y.dot?oC1:lC1;else if(q=$.match(xC1))z=(Y.nocase?Y.dot?bC1:fC1:Y.dot?uC1:kC1)(q[1]);else if(q=$.match(rC1))z=(Y.nocase?Y.dot?tC1:sC1:Y.dot?aC1:eC1)(q);else if(q=$.match(iC1))z=Y.dot?cC1:nC1;else if(q=$.match(pC1))z=dC1;let J=YI.fromGlob($,this.options).toMMPattern();if(z&&typeof J==="object")Reflect.defineProperty(J,"test",{value:z});return J}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let $=this.set;if(!$.length)return this.regexp=!1,this.regexp;let Y=this.options,q=Y.noglobstar?qv1:Y.dot?zv1:Jv1,z=new Set(Y.nocase?["i"]:[]),J=$.map((Q)=>{let K=Q.map((H)=>{if(H instanceof RegExp)for(let Z of H.flags.split(""))z.add(Z);return typeof H==="string"?Gv1(H):H===H8?H8:H._src});K.forEach((H,Z)=>{let V=K[Z+1],X=K[Z-1];if(H!==H8||X===H8)return;if(X===void 0)if(V!==void 0&&V!==H8)K[Z+1]="(?:\\/|"+q+"\\/)?"+V;else K[Z]=q;else if(V===void 0)K[Z-1]=X+"(?:\\/|\\/"+q+")?";else if(V!==H8)K[Z-1]=X+"(?:\\/|\\/"+q+"\\/)"+V,K[Z+1]=H8});let G=K.filter((H)=>H!==H8);if(this.partial&&G.length>=1){let H=[];for(let Z=1;Z<=G.length;Z++)H.push(G.slice(0,Z).join("/"));return"(?:"+H.join("|")+")"}return G.join("/")}).join("|"),[U,I]=$.length>1?["(?:",")"]:["",""];if(J="^"+U+J+I+"$",this.partial)J="^(?:\\/|"+U+J.slice(1,-1)+I+")$";if(this.negate)J="^(?!"+J+").+$";try{this.regexp=new RegExp(J,[...z].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit($){if(this.preserveMultipleSlashes)return $.split("/");else if(this.isWindows&&/^\/\/[^/]+/.test($))return["",...$.split(/\/+/)];else return $.split(/\/+/)}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let q=this.options;if(this.isWindows)$=$.split("\\").join("/");let z=this.slashSplit($);this.debug(this.pattern,"split",z);let J=this.set;this.debug(this.pattern,"set",J);let U=z[z.length-1];if(!U)for(let I=z.length-2;!U&&I>=0;I--)U=z[I];for(let I of J){let Q=z;if(q.matchBase&&I.length===1)Q=[U];if(this.matchOne(Q,I,Y)){if(q.flipNegate)return!0;return!this.negate}}if(q.flipNegate)return!1;return this.negate}static defaults($){return _8.defaults($).Minimatch}}var _8=($,Y,q={})=>{if(vZ(Y),!q.nocomment&&Y.charAt(0)==="#")return!1;return new X3(Y,q).match($)},xC1,kC1=($)=>(Y)=>!Y.startsWith(".")&&Y.endsWith($),uC1=($)=>(Y)=>Y.endsWith($),fC1=($)=>{return $=$.toLowerCase(),(Y)=>!Y.startsWith(".")&&Y.toLowerCase().endsWith($)},bC1=($)=>{return $=$.toLowerCase(),(Y)=>Y.toLowerCase().endsWith($)},iC1,nC1=($)=>!$.startsWith(".")&&$.includes("."),cC1=($)=>$!=="."&&$!==".."&&$.includes("."),pC1,dC1=($)=>$!=="."&&$!==".."&&$.startsWith("."),mC1,lC1=($)=>$.length!==0&&!$.startsWith("."),oC1=($)=>$.length!==0&&$!=="."&&$!=="..",rC1,sC1=([$,Y=""])=>{let q=uT0([$]);if(!Y)return q;return Y=Y.toLowerCase(),(z)=>q(z)&&z.toLowerCase().endsWith(Y)},tC1=([$,Y=""])=>{let q=fT0([$]);if(!Y)return q;return Y=Y.toLowerCase(),(z)=>q(z)&&z.toLowerCase().endsWith(Y)},aC1=([$,Y=""])=>{let q=fT0([$]);return!Y?q:(z)=>q(z)&&z.endsWith(Y)},eC1=([$,Y=""])=>{let q=uT0([$]);return!Y?q:(z)=>q(z)&&z.endsWith(Y)},uT0=([$])=>{let Y=$.length;return(q)=>q.length===Y&&!q.startsWith(".")},fT0=([$])=>{let Y=$.length;return(q)=>q.length===Y&&q!=="."&&q!==".."},bT0,xT0,$v1,H8,Yv1="[^/]",qv1,zv1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Jv1="(?:(?!(?:\\/|^)\\.).)*?",Uv1=($,Y={})=>(q)=>_8(q,$,Y),d$=($,Y={})=>Object.assign({},$,Y),Iv1=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return _8;let Y=_8;return Object.assign((z,J,U={})=>Y(z,J,d$($,U)),{Minimatch:class extends Y.Minimatch{constructor(J,U={}){super(J,d$($,U))}static defaults(J){return Y.defaults(d$($,J)).Minimatch}},AST:class extends Y.AST{constructor(J,U,I={}){super(J,U,d$($,I))}static fromGlob(J,U={}){return Y.AST.fromGlob(J,d$($,U))}},unescape:(z,J={})=>Y.unescape(z,d$($,J)),escape:(z,J={})=>Y.escape(z,d$($,J)),filter:(z,J={})=>Y.filter(z,d$($,J)),defaults:(z)=>Y.defaults(d$($,z)),makeRe:(z,J={})=>Y.makeRe(z,d$($,J)),braceExpand:(z,J={})=>Y.braceExpand(z,d$($,J)),match:(z,J,U={})=>Y.match(z,J,d$($,U)),sep:Y.sep,GLOBSTAR:H8})},iT0=($,Y={})=>{if(vZ($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return jT0($,{max:Y.braceExpandMax})},Qv1=($,Y={})=>new X3($,Y).makeRe(),Kv1=($,Y,q={})=>{let z=new X3(Y,q);if($=$.filter((J)=>z.match(J)),z.options.nonull&&!$.length)$.push(Y);return $},kT0,Gv1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");var nT0=e(()=>{_T0();Gc();Gc();xC1=/^\*+([^+@!?*[(]*)$/,iC1=/^\*+\.\*+$/,pC1=/^\.\*+$/,mC1=/^\*+$/,rC1=/^\?+([^+@!?*[(]*)?$/,bT0=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",xT0={win32:{sep:"\\"},posix:{sep:"/"}},$v1=bT0==="win32"?xT0.win32.sep:xT0.posix.sep;_8.sep=$v1;H8=Symbol("globstar **");_8.GLOBSTAR=H8;qv1=Yv1+"*?";_8.filter=Uv1;_8.defaults=Iv1;_8.braceExpand=iT0;_8.makeRe=Qv1;_8.match=Kv1;kT0=/[?*]|[+@!]\(.*?\)|\[|\]/;_8.AST=YI;_8.Minimatch=X3;_8.escape=Hc;_8.unescape=z2});import*as qI from"fs";import{EventEmitter as Hv1}from"events";import{resolve as Zv1}from"path";function Wv1($,Y){return new Promise((q,z)=>{qI.readdir($,{withFileTypes:!0},(J,U)=>{if(J)switch(J.code){case"ENOTDIR":if(Y)z(J);else q([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":q([]);break;case"ELOOP":default:z(J);break}else q(U)})})}function cT0($,Y){return new Promise((q)=>{(Y?qI.stat:qI.lstat)($,(J,U)=>{if(J)switch(J.code){case"ENOENT":if(Y)q(cT0($,!1));else q(null);break;default:q(null);break}else q(U)})})}async function*pT0($,Y,q,z,J,U){let I=await Wv1(Y+$,U);for(let Q of I){let K=Q.name,G=$+"/"+K,H=G.slice(1),Z=Y+"/"+H,V=Q;if(z||q)V=await cT0(Z,q)??V;if(V.isDirectory()){if(!J(H))yield{relative:H,absolute:Z,stat:V},yield*pT0(G,Y,q,z,J,!1)}else yield{relative:H,absolute:Z,stat:V}}}async function*Xv1($,Y,q,z){yield*pT0("",$,Y,q,z,!0)}function Vv1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}var dT0,mT0=($,Y,q)=>new dT0($,Y,q),Zc;var lT0=e(()=>{nT0();dT0=class extends Hv1{options;matchers;ignoreMatchers;skipMatchers;paused;aborted;inactive;iterator;constructor($,Y,q){super();if(typeof Y==="function")q=Y,Y=void 0;if(this.options=Vv1(Y||{}),this.matchers=[],this.options.pattern){let z=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=z.map((J)=>new X3(J,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let z=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=z.map((J)=>new X3(J,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let z=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=z.map((J)=>new X3(J,{dot:!0}))}if(this.iterator=Xv1(Zv1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,q){let z=q,J=[];this.on("match",(U)=>J.push(this.options.absolute?U.absolute:U.relative)),this.on("error",(U)=>z(U)),this.on("end",()=>z(null,J))}setTimeout(()=>this._next())}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let q=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((z)=>z.match(q)))&&!this.ignoreMatchers.some((z)=>z.match(q))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stat.isDirectory();if(this._fileMatches($.value.relative,Y)){let q=$.value.relative,z=$.value.absolute;if(this.options.mark&&Y)q+="/",z+="/";if(this.options.stat)this.emit("match",{relative:q,absolute:z,stat:$.value.stat});else this.emit("match",{relative:q,absolute:z})}this._next()}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}};mT0.ReaddirGlob=dT0;Zc=mT0});import Lv1 from"util";function q6($,Y){Error.captureStackTrace(this,this.constructor),this.message=wv1[$]||$,this.code=$,this.data=Y}var wv1;var oT0=e(()=>{wv1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};Lv1.inherits(q6,Error)});var g4=M((Dq4,sT0)=>{class rT0 extends Error{constructor($){if(!Array.isArray($))throw TypeError(`Expected input to be an Array, got ${typeof $}`);let Y="";for(let q=0;q<$.length;q++)Y+=` ${$[q].stack}
`;super(Y);this.name="AggregateError",this.errors=$}}sT0.exports={AggregateError:rT0,ArrayIsArray($){return Array.isArray($)},ArrayPrototypeIncludes($,Y){return $.includes(Y)},ArrayPrototypeIndexOf($,Y){return $.indexOf(Y)},ArrayPrototypeJoin($,Y){return $.join(Y)},ArrayPrototypeMap($,Y){return $.map(Y)},ArrayPrototypePop($,Y){return $.pop(Y)},ArrayPrototypePush($,Y){return $.push(Y)},ArrayPrototypeSlice($,Y,q){return $.slice(Y,q)},Error,FunctionPrototypeCall($,Y,...q){return $.call(Y,...q)},FunctionPrototypeSymbolHasInstance($,Y){return Function.prototype[Symbol.hasInstance].call($,Y)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties($,Y){return Object.defineProperties($,Y)},ObjectDefineProperty($,Y,q){return Object.defineProperty($,Y,q)},ObjectGetOwnPropertyDescriptor($,Y){return Object.getOwnPropertyDescriptor($,Y)},ObjectKeys($){return Object.keys($)},ObjectSetPrototypeOf($,Y){return Object.setPrototypeOf($,Y)},Promise,PromisePrototypeCatch($,Y){return $.catch(Y)},PromisePrototypeThen($,Y,q){return $.then(Y,q)},PromiseReject($){return Promise.reject($)},PromiseResolve($){return Promise.resolve($)},ReflectApply:Reflect.apply,RegExpPrototypeTest($,Y){return $.test(Y)},SafeSet:Set,String,StringPrototypeSlice($,Y,q){return $.slice(Y,q)},StringPrototypeToLowerCase($){return $.toLowerCase()},StringPrototypeToUpperCase($){return $.toUpperCase()},StringPrototypeTrim($){return $.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet($,Y,q){return $.set(Y,q)},Boolean,Uint8Array}});var Wc=M((Pq4,tT0)=>{tT0.exports={format($,...Y){return $.replace(/%([sdifj])/g,function(...[q,z]){let J=Y.shift();if(z==="f")return J.toFixed(6);else if(z==="j")return JSON.stringify(J);else if(z==="s"&&typeof J==="object")return`${J.constructor!==Object?J.constructor.name:""} {}`.trim();else return J.toString()})},inspect($){switch(typeof $){case"string":if($.includes("'")){if(!$.includes('"'))return`"${$}"`;else if(!$.includes("`")&&!$.includes("${"))return`\`${$}\``}return`'${$}'`;case"number":if(isNaN($))return"NaN";else if(Object.is($,-0))return String($);return $;case"bigint":return`${String($)}n`;case"boolean":case"undefined":return String($);case"object":return"{}"}}}});var Z8=M((Aq4,YE0)=>{var{format:Fv1,inspect:fD}=Wc(),{AggregateError:Ov1}=g4(),Mv1=globalThis.AggregateError||Ov1,Nv1=Symbol("kIsNodeError"),Dv1=["string","function","number","object","Function","Object","boolean","bigint","symbol"],Pv1=/^([A-Z][a-z0-9]*)+$/,bD={};function zq($,Y){if(!$)throw new bD.ERR_INTERNAL_ASSERTION(Y)}function aT0($){let Y="",q=$.length,z=$[0]==="-"?1:0;for(;q>=z+4;q-=3)Y=`_${$.slice(q-3,q)}${Y}`;return`${$.slice(0,q)}${Y}`}function Av1($,Y,q){if(typeof Y==="function")return zq(Y.length<=q.length,`Code: ${$}; The provided arguments length (${q.length}) does not match the required ones (${Y.length}).`),Y(...q);let z=(Y.match(/%[dfijoOs]/g)||[]).length;if(zq(z===q.length,`Code: ${$}; The provided arguments length (${q.length}) does not match the required ones (${z}).`),q.length===0)return Y;return Fv1(Y,...q)}function e6($,Y,q){if(!q)q=Error;class z extends q{constructor(...J){super(Av1($,Y,J))}toString(){return`${this.name} [${$}]: ${this.message}`}}Object.defineProperties(z.prototype,{name:{value:q.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${$}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),z.prototype.code=$,z.prototype[Nv1]=!0,bD[$]=z}function eT0($){let Y="__node_internal_"+$.name;return Object.defineProperty($,"name",{value:Y}),$}function Bv1($,Y){if($&&Y&&$!==Y){if(Array.isArray(Y.errors))return Y.errors.push($),Y;let q=new Mv1([Y,$],Y.message);return q.code=Y.code,q}return $||Y}class $E0 extends Error{constructor($="The operation was aborted",Y=void 0){if(Y!==void 0&&typeof Y!=="object")throw new bD.ERR_INVALID_ARG_TYPE("options","Object",Y);super($,Y);this.code="ABORT_ERR",this.name="AbortError"}}e6("ERR_ASSERTION","%s",Error);e6("ERR_INVALID_ARG_TYPE",($,Y,q)=>{if(zq(typeof $==="string","'name' must be a string"),!Array.isArray(Y))Y=[Y];let z="The ";if($.endsWith(" argument"))z+=`${$} `;else z+=`"${$}" ${$.includes(".")?"property":"argument"} `;z+="must be ";let J=[],U=[],I=[];for(let K of Y)if(zq(typeof K==="string","All expected entries have to be of type string"),Dv1.includes(K))J.push(K.toLowerCase());else if(Pv1.test(K))U.push(K);else zq(K!=="object",'The value "object" should be written as "Object"'),I.push(K);if(U.length>0){let K=J.indexOf("object");if(K!==-1)J.splice(J,K,1),U.push("Object")}if(J.length>0){switch(J.length){case 1:z+=`of type ${J[0]}`;break;case 2:z+=`one of type ${J[0]} or ${J[1]}`;break;default:{let K=J.pop();z+=`one of type ${J.join(", ")}, or ${K}`}}if(U.length>0||I.length>0)z+=" or "}if(U.length>0){switch(U.length){case 1:z+=`an instance of ${U[0]}`;break;case 2:z+=`an instance of ${U[0]} or ${U[1]}`;break;default:{let K=U.pop();z+=`an instance of ${U.join(", ")}, or ${K}`}}if(I.length>0)z+=" or "}switch(I.length){case 0:break;case 1:if(I[0].toLowerCase()!==I[0])z+="an ";z+=`${I[0]}`;break;case 2:z+=`one of ${I[0]} or ${I[1]}`;break;default:{let K=I.pop();z+=`one of ${I.join(", ")}, or ${K}`}}if(q==null)z+=`. Received ${q}`;else if(typeof q==="function"&&q.name)z+=`. Received function ${q.name}`;else if(typeof q==="object"){var Q;if((Q=q.constructor)!==null&&Q!==void 0&&Q.name)z+=`. Received an instance of ${q.constructor.name}`;else{let K=fD(q,{depth:-1});z+=`. Received ${K}`}}else{let K=fD(q,{colors:!1});if(K.length>25)K=`${K.slice(0,25)}...`;z+=`. Received type ${typeof q} (${K})`}return z},TypeError);e6("ERR_INVALID_ARG_VALUE",($,Y,q="is invalid")=>{let z=fD(Y);if(z.length>128)z=z.slice(0,128)+"...";return`The ${$.includes(".")?"property":"argument"} '${$}' ${q}. Received ${z}`},TypeError);e6("ERR_INVALID_RETURN_VALUE",($,Y,q)=>{var z;let J=q!==null&&q!==void 0&&(z=q.constructor)!==null&&z!==void 0&&z.name?`instance of ${q.constructor.name}`:`type ${typeof q}`;return`Expected ${$} to be returned from the "${Y}" function but got ${J}.`},TypeError);e6("ERR_MISSING_ARGS",(...$)=>{zq($.length>0,"At least one arg needs to be specified");let Y,q=$.length;switch($=(Array.isArray($)?$:[$]).map((z)=>`"${z}"`).join(" or "),q){case 1:Y+=`The ${$[0]} argument`;break;case 2:Y+=`The ${$[0]} and ${$[1]} arguments`;break;default:{let z=$.pop();Y+=`The ${$.join(", ")}, and ${z} arguments`}break}return`${Y} must be specified`},TypeError);e6("ERR_OUT_OF_RANGE",($,Y,q)=>{zq(Y,'Missing "range" argument');let z;if(Number.isInteger(q)&&Math.abs(q)>4294967296)z=aT0(String(q));else if(typeof q==="bigint"){z=String(q);let J=BigInt(2)**BigInt(32);if(q>J||q<-J)z=aT0(z);z+="n"}else z=fD(q);return`The value of "${$}" is out of range. It must be ${Y}. Received ${z}`},RangeError);e6("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);e6("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);e6("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);e6("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);e6("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);e6("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);e6("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);e6("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);e6("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);e6("ERR_STREAM_WRITE_AFTER_END","write after end",Error);e6("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);YE0.exports={AbortError:$E0,aggregateTwoErrors:eT0(Bv1),hideStackFrames:eT0,codes:bD}});var WE0=M((ZE0,SZ)=>{Object.defineProperty(ZE0,"__esModule",{value:!0});var QE0=new WeakMap,Xc=new WeakMap;function E4($){let Y=QE0.get($);return console.assert(Y!=null,"'this' is expected an Event object, but got",$),Y}function qE0($){if($.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",$.passiveListener);return}if(!$.event.cancelable)return;if($.canceled=!0,typeof $.event.preventDefault==="function")$.event.preventDefault()}function zI($,Y){QE0.set(this,{eventTarget:$,event:Y,eventPhase:2,currentTarget:$,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:Y.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let q=Object.keys(Y);for(let z=0;z<q.length;++z){let J=q[z];if(!(J in this))Object.defineProperty(this,J,KE0(J))}}zI.prototype={get type(){return E4(this).event.type},get target(){return E4(this).eventTarget},get currentTarget(){return E4(this).currentTarget},composedPath(){let $=E4(this).currentTarget;if($==null)return[];return[$]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return E4(this).eventPhase},stopPropagation(){let $=E4(this);if($.stopped=!0,typeof $.event.stopPropagation==="function")$.event.stopPropagation()},stopImmediatePropagation(){let $=E4(this);if($.stopped=!0,$.immediateStopped=!0,typeof $.event.stopImmediatePropagation==="function")$.event.stopImmediatePropagation()},get bubbles(){return Boolean(E4(this).event.bubbles)},get cancelable(){return Boolean(E4(this).event.cancelable)},preventDefault(){qE0(E4(this))},get defaultPrevented(){return E4(this).canceled},get composed(){return Boolean(E4(this).event.composed)},get timeStamp(){return E4(this).timeStamp},get srcElement(){return E4(this).eventTarget},get cancelBubble(){return E4(this).stopped},set cancelBubble($){if(!$)return;let Y=E4(this);if(Y.stopped=!0,typeof Y.event.cancelBubble==="boolean")Y.event.cancelBubble=!0},get returnValue(){return!E4(this).canceled},set returnValue($){if(!$)qE0(E4(this))},initEvent(){}};Object.defineProperty(zI.prototype,"constructor",{value:zI,configurable:!0,writable:!0});if(typeof window<"u"&&typeof window.Event<"u")Object.setPrototypeOf(zI.prototype,window.Event.prototype),Xc.set(window.Event.prototype,zI);function KE0($){return{get(){return E4(this).event[$]},set(Y){E4(this).event[$]=Y},configurable:!0,enumerable:!0}}function Tv1($){return{value(){let Y=E4(this).event;return Y[$].apply(Y,arguments)},configurable:!0,enumerable:!0}}function Ev1($,Y){let q=Object.keys(Y);if(q.length===0)return $;function z(J,U){$.call(this,J,U)}z.prototype=Object.create($.prototype,{constructor:{value:z,configurable:!0,writable:!0}});for(let J=0;J<q.length;++J){let U=q[J];if(!(U in $.prototype)){let Q=typeof Object.getOwnPropertyDescriptor(Y,U).value==="function";Object.defineProperty(z.prototype,U,Q?Tv1(U):KE0(U))}}return z}function GE0($){if($==null||$===Object.prototype)return zI;let Y=Xc.get($);if(Y==null)Y=Ev1(GE0(Object.getPrototypeOf($)),$),Xc.set($,Y);return Y}function jv1($,Y){return new(GE0(Object.getPrototypeOf(Y)))($,Y)}function _v1($){return E4($).immediateStopped}function Rv1($,Y){E4($).eventPhase=Y}function Cv1($,Y){E4($).currentTarget=Y}function zE0($,Y){E4($).passiveListener=Y}var HE0=new WeakMap,JE0=1,UE0=2,iD=3;function nD($){return $!==null&&typeof $==="object"}function gZ($){let Y=HE0.get($);if(Y==null)throw TypeError("'this' is expected an EventTarget object, but got another value.");return Y}function vv1($){return{get(){let q=gZ(this).get($);while(q!=null){if(q.listenerType===iD)return q.listener;q=q.next}return null},set(Y){if(typeof Y!=="function"&&!nD(Y))Y=null;let q=gZ(this),z=null,J=q.get($);while(J!=null){if(J.listenerType===iD)if(z!==null)z.next=J.next;else if(J.next!==null)q.set($,J.next);else q.delete($);else z=J;J=J.next}if(Y!==null){let U={listener:Y,listenerType:iD,passive:!1,once:!1,next:null};if(z===null)q.set($,U);else z.next=U}},configurable:!0,enumerable:!0}}function Vc($,Y){Object.defineProperty($,`on${Y}`,vv1(Y))}function IE0($){function Y(){D5.call(this)}Y.prototype=Object.create(D5.prototype,{constructor:{value:Y,configurable:!0,writable:!0}});for(let q=0;q<$.length;++q)Vc(Y.prototype,$[q]);return Y}function D5(){if(this instanceof D5){HE0.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return IE0(arguments[0]);if(arguments.length>0){let $=Array(arguments.length);for(let Y=0;Y<arguments.length;++Y)$[Y]=arguments[Y];return IE0($)}throw TypeError("Cannot call a class as a function")}D5.prototype={addEventListener($,Y,q){if(Y==null)return;if(typeof Y!=="function"&&!nD(Y))throw TypeError("'listener' should be a function or an object.");let z=gZ(this),J=nD(q),I=(J?Boolean(q.capture):Boolean(q))?JE0:UE0,Q={listener:Y,listenerType:I,passive:J&&Boolean(q.passive),once:J&&Boolean(q.once),next:null},K=z.get($);if(K===void 0){z.set($,Q);return}let G=null;while(K!=null){if(K.listener===Y&&K.listenerType===I)return;G=K,K=K.next}G.next=Q},removeEventListener($,Y,q){if(Y==null)return;let z=gZ(this),U=(nD(q)?Boolean(q.capture):Boolean(q))?JE0:UE0,I=null,Q=z.get($);while(Q!=null){if(Q.listener===Y&&Q.listenerType===U){if(I!==null)I.next=Q.next;else if(Q.next!==null)z.set($,Q.next);else z.delete($);return}I=Q,Q=Q.next}},dispatchEvent($){if($==null||typeof $.type!=="string")throw TypeError('"event.type" should be a string.');let Y=gZ(this),q=$.type,z=Y.get(q);if(z==null)return!0;let J=jv1(this,$),U=null;while(z!=null){if(z.once)if(U!==null)U.next=z.next;else if(z.next!==null)Y.set(q,z.next);else Y.delete(q);else U=z;if(zE0(J,z.passive?z.listener:null),typeof z.listener==="function")try{z.listener.call(this,J)}catch(I){if(typeof console<"u"&&typeof console.error==="function")console.error(I)}else if(z.listenerType!==iD&&typeof z.listener.handleEvent==="function")z.listener.handleEvent(J);if(_v1(J))break;z=z.next}return zE0(J,null),Rv1(J,0),Cv1(J,null),!J.defaultPrevented}};Object.defineProperty(D5.prototype,"constructor",{value:D5,configurable:!0,writable:!0});if(typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(D5.prototype,window.EventTarget.prototype);ZE0.defineEventAttribute=Vc;ZE0.EventTarget=D5;ZE0.default=D5;SZ.exports=D5;SZ.exports.EventTarget=SZ.exports.default=D5;SZ.exports.defineEventAttribute=Vc});var JI=M((LE0,yZ)=>{Object.defineProperty(LE0,"__esModule",{value:!0});var Lc=WE0();class Jq extends Lc.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let $=cD.get(this);if(typeof $!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return $}}Lc.defineEventAttribute(Jq.prototype,"abort");function yv1(){let $=Object.create(Jq.prototype);return Lc.EventTarget.call($),cD.set($,!1),$}function xv1($){if(cD.get($)!==!1)return;cD.set($,!0),$.dispatchEvent({type:"abort"})}var cD=new WeakMap;Object.defineProperties(Jq.prototype,{aborted:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Jq.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class Uq{constructor(){VE0.set(this,yv1())}get signal(){return XE0(this)}abort(){xv1(XE0(this))}}var VE0=new WeakMap;function XE0($){let Y=VE0.get($);if(Y==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${$===null?"null":typeof $}`);return Y}Object.defineProperties(Uq.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Uq.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});LE0.AbortController=Uq;LE0.AbortSignal=Jq;LE0.default=Uq;yZ.exports=Uq;yZ.exports.AbortController=yZ.exports.default=Uq;yZ.exports.AbortSignal=Jq});var R8=M((Bq4,Fc)=>{var bv1=m("buffer"),{format:iv1,inspect:nv1}=Wc(),{codes:{ERR_INVALID_ARG_TYPE:wc}}=Z8(),{kResistStopPropagation:cv1,AggregateError:pv1,SymbolDispose:dv1}=g4(),mv1=globalThis.AbortSignal||JI().AbortSignal,lv1=globalThis.AbortController||JI().AbortController,ov1=Object.getPrototypeOf(async function(){}).constructor,wE0=globalThis.Blob||bv1.Blob,rv1=typeof wE0<"u"?function(Y){return Y instanceof wE0}:function(Y){return!1},FE0=($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new wc(Y,"AbortSignal",$)},sv1=($,Y)=>{if(typeof $!=="function")throw new wc(Y,"Function",$)};Fc.exports={AggregateError:pv1,kEmptyObject:Object.freeze({}),once($){let Y=!1;return function(...q){if(Y)return;Y=!0,$.apply(this,q)}},createDeferredPromise:function(){let $,Y;return{promise:new Promise((z,J)=>{$=z,Y=J}),resolve:$,reject:Y}},promisify($){return new Promise((Y,q)=>{$((z,...J)=>{if(z)return q(z);return Y(...J)})})},debuglog(){return function(){}},format:iv1,inspect:nv1,types:{isAsyncFunction($){return $ instanceof ov1},isArrayBufferView($){return ArrayBuffer.isView($)}},isBlob:rv1,deprecate($,Y){return $},addAbortListener:m("events").addAbortListener||function(Y,q){if(Y===void 0)throw new wc("signal","AbortSignal",Y);FE0(Y,"signal"),sv1(q,"listener");let z;if(Y.aborted)queueMicrotask(()=>q());else Y.addEventListener("abort",q,{__proto__:null,once:!0,[cv1]:!0}),z=()=>{Y.removeEventListener("abort",q)};return{__proto__:null,[dv1](){var J;(J=z)===null||J===void 0||J()}}},AbortSignalAny:mv1.any||function(Y){if(Y.length===1)return Y[0];let q=new lv1,z=()=>q.abort();return Y.forEach((J)=>{FE0(J,"signals"),J.addEventListener("abort",z,{once:!0})}),q.signal.addEventListener("abort",()=>{Y.forEach((J)=>J.removeEventListener("abort",z))},{once:!0}),q.signal}};Fc.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var II=M((Tq4,jE0)=>{var{ArrayIsArray:Mc,ArrayPrototypeIncludes:DE0,ArrayPrototypeJoin:PE0,ArrayPrototypeMap:tv1,NumberIsInteger:Nc,NumberIsNaN:av1,NumberMAX_SAFE_INTEGER:ev1,NumberMIN_SAFE_INTEGER:$h1,NumberParseInt:Yh1,ObjectPrototypeHasOwnProperty:qh1,RegExpPrototypeExec:AE0,String:zh1,StringPrototypeToUpperCase:Jh1,StringPrototypeTrim:Uh1}=g4(),{hideStackFrames:m$,codes:{ERR_SOCKET_BAD_PORT:Ih1,ERR_INVALID_ARG_TYPE:W8,ERR_INVALID_ARG_VALUE:UI,ERR_OUT_OF_RANGE:Iq,ERR_UNKNOWN_SIGNAL:OE0}}=Z8(),{normalizeEncoding:Qh1}=R8(),{isAsyncFunction:Kh1,isArrayBufferView:Gh1}=R8().types,ME0={};function Hh1($){return $===($|0)}function Zh1($){return $===$>>>0}var Wh1=/^[0-7]+$/,Xh1="must be a 32-bit unsigned integer or an octal string";function Vh1($,Y,q){if(typeof $>"u")$=q;if(typeof $==="string"){if(AE0(Wh1,$)===null)throw new UI(Y,$,Xh1);$=Yh1($,8)}return BE0($,Y),$}var Lh1=m$(($,Y,q=$h1,z=ev1)=>{if(typeof $!=="number")throw new W8(Y,"number",$);if(!Nc($))throw new Iq(Y,"an integer",$);if($<q||$>z)throw new Iq(Y,`>= ${q} && <= ${z}`,$)}),wh1=m$(($,Y,q=-2147483648,z=2147483647)=>{if(typeof $!=="number")throw new W8(Y,"number",$);if(!Nc($))throw new Iq(Y,"an integer",$);if($<q||$>z)throw new Iq(Y,`>= ${q} && <= ${z}`,$)}),BE0=m$(($,Y,q=!1)=>{if(typeof $!=="number")throw new W8(Y,"number",$);if(!Nc($))throw new Iq(Y,"an integer",$);let z=q?1:0,J=4294967295;if($<z||$>J)throw new Iq(Y,`>= ${z} && <= ${J}`,$)});function Dc($,Y){if(typeof $!=="string")throw new W8(Y,"string",$)}function Fh1($,Y,q=void 0,z){if(typeof $!=="number")throw new W8(Y,"number",$);if(q!=null&&$<q||z!=null&&$>z||(q!=null||z!=null)&&av1($))throw new Iq(Y,`${q!=null?`>= ${q}`:""}${q!=null&&z!=null?" && ":""}${z!=null?`<= ${z}`:""}`,$)}var Oh1=m$(($,Y,q)=>{if(!DE0(q,$)){let J="must be one of: "+PE0(tv1(q,(U)=>typeof U==="string"?`'${U}'`:zh1(U)),", ");throw new UI(Y,$,J)}});function TE0($,Y){if(typeof $!=="boolean")throw new W8(Y,"boolean",$)}function Oc($,Y,q){return $==null||!qh1($,Y)?q:$[Y]}var Mh1=m$(($,Y,q=null)=>{let z=Oc(q,"allowArray",!1),J=Oc(q,"allowFunction",!1);if(!Oc(q,"nullable",!1)&&$===null||!z&&Mc($)||typeof $!=="object"&&(!J||typeof $!=="function"))throw new W8(Y,"Object",$)}),Nh1=m$(($,Y)=>{if($!=null&&typeof $!=="object"&&typeof $!=="function")throw new W8(Y,"a dictionary",$)}),pD=m$(($,Y,q=0)=>{if(!Mc($))throw new W8(Y,"Array",$);if($.length<q){let z=`must be longer than ${q}`;throw new UI(Y,$,z)}});function Dh1($,Y){pD($,Y);for(let q=0;q<$.length;q++)Dc($[q],`${Y}[${q}]`)}function Ph1($,Y){pD($,Y);for(let q=0;q<$.length;q++)TE0($[q],`${Y}[${q}]`)}function Ah1($,Y){pD($,Y);for(let q=0;q<$.length;q++){let z=$[q],J=`${Y}[${q}]`;if(z==null)throw new W8(J,"AbortSignal",z);EE0(z,J)}}function Bh1($,Y="signal"){if(Dc($,Y),ME0[$]===void 0){if(ME0[Jh1($)]!==void 0)throw new OE0($+" (signals must use all capital letters)");throw new OE0($)}}var Th1=m$(($,Y="buffer")=>{if(!Gh1($))throw new W8(Y,["Buffer","TypedArray","DataView"],$)});function Eh1($,Y){let q=Qh1(Y),z=$.length;if(q==="hex"&&z%2!==0)throw new UI("encoding",Y,`is invalid for data of length ${z}`)}function jh1($,Y="Port",q=!0){if(typeof $!=="number"&&typeof $!=="string"||typeof $==="string"&&Uh1($).length===0||+$!==+$>>>0||$>65535||$===0&&!q)throw new Ih1(Y,$,q);return $|0}var EE0=m$(($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new W8(Y,"AbortSignal",$)}),_h1=m$(($,Y)=>{if(typeof $!=="function")throw new W8(Y,"Function",$)}),Rh1=m$(($,Y)=>{if(typeof $!=="function"||Kh1($))throw new W8(Y,"Function",$)}),Ch1=m$(($,Y)=>{if($!==void 0)throw new W8(Y,"undefined",$)});function vh1($,Y,q){if(!DE0(q,$))throw new W8(Y,`('${PE0(q,"|")}')`,$)}var hh1=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function NE0($,Y){if(typeof $>"u"||!AE0(hh1,$))throw new UI(Y,$,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function gh1($){if(typeof $==="string")return NE0($,"hints"),$;else if(Mc($)){let Y=$.length,q="";if(Y===0)return q;for(let z=0;z<Y;z++){let J=$[z];if(NE0(J,"hints"),q+=J,z!==Y-1)q+=", "}return q}throw new UI("hints",$,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}jE0.exports={isInt32:Hh1,isUint32:Zh1,parseFileMode:Vh1,validateArray:pD,validateStringArray:Dh1,validateBooleanArray:Ph1,validateAbortSignalArray:Ah1,validateBoolean:TE0,validateBuffer:Th1,validateDictionary:Nh1,validateEncoding:Eh1,validateFunction:_h1,validateInt32:wh1,validateInteger:Lh1,validateNumber:Fh1,validateObject:Mh1,validateOneOf:Oh1,validatePlainFunction:Rh1,validatePort:jh1,validateSignalName:Bh1,validateString:Dc,validateUint32:BE0,validateUndefined:Ch1,validateUnion:vh1,validateAbortSignal:EE0,validateLinkHeaderValue:gh1}});var J2=M((Eq4,_E0)=>{_E0.exports=global.process});var W9=M((jq4,cE0)=>{var{SymbolAsyncIterator:RE0,SymbolIterator:CE0,SymbolFor:Qq}=g4(),vE0=Qq("nodejs.stream.destroyed"),hE0=Qq("nodejs.stream.errored"),Pc=Qq("nodejs.stream.readable"),Ac=Qq("nodejs.stream.writable"),gE0=Qq("nodejs.stream.disturbed"),Sh1=Qq("nodejs.webstream.isClosedPromise"),yh1=Qq("nodejs.webstream.controllerErrorFunction");function dD($,Y=!1){var q;return!!($&&typeof $.pipe==="function"&&typeof $.on==="function"&&(!Y||typeof $.pause==="function"&&typeof $.resume==="function")&&(!$._writableState||((q=$._readableState)===null||q===void 0?void 0:q.readable)!==!1)&&(!$._writableState||$._readableState))}function mD($){var Y;return!!($&&typeof $.write==="function"&&typeof $.on==="function"&&(!$._readableState||((Y=$._writableState)===null||Y===void 0?void 0:Y.writable)!==!1))}function xh1($){return!!($&&typeof $.pipe==="function"&&$._readableState&&typeof $.on==="function"&&typeof $.write==="function")}function Z9($){return $&&($._readableState||$._writableState||typeof $.write==="function"&&typeof $.on==="function"||typeof $.pipe==="function"&&typeof $.on==="function")}function SE0($){return!!($&&!Z9($)&&typeof $.pipeThrough==="function"&&typeof $.getReader==="function"&&typeof $.cancel==="function")}function yE0($){return!!($&&!Z9($)&&typeof $.getWriter==="function"&&typeof $.abort==="function")}function xE0($){return!!($&&!Z9($)&&typeof $.readable==="object"&&typeof $.writable==="object")}function kh1($){return SE0($)||yE0($)||xE0($)}function uh1($,Y){if($==null)return!1;if(Y===!0)return typeof $[RE0]==="function";if(Y===!1)return typeof $[CE0]==="function";return typeof $[RE0]==="function"||typeof $[CE0]==="function"}function lD($){if(!Z9($))return null;let{_writableState:Y,_readableState:q}=$,z=Y||q;return!!($.destroyed||$[vE0]||z!==null&&z!==void 0&&z.destroyed)}function kE0($){if(!mD($))return null;if($.writableEnded===!0)return!0;let Y=$._writableState;if(Y!==null&&Y!==void 0&&Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function fh1($,Y){if(!mD($))return null;if($.writableFinished===!0)return!0;let q=$._writableState;if(q!==null&&q!==void 0&&q.errored)return!1;if(typeof(q===null||q===void 0?void 0:q.finished)!=="boolean")return null;return!!(q.finished||Y===!1&&q.ended===!0&&q.length===0)}function bh1($){if(!dD($))return null;if($.readableEnded===!0)return!0;let Y=$._readableState;if(!Y||Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function uE0($,Y){if(!dD($))return null;let q=$._readableState;if(q!==null&&q!==void 0&&q.errored)return!1;if(typeof(q===null||q===void 0?void 0:q.endEmitted)!=="boolean")return null;return!!(q.endEmitted||Y===!1&&q.ended===!0&&q.length===0)}function fE0($){if($&&$[Pc]!=null)return $[Pc];if(typeof($===null||$===void 0?void 0:$.readable)!=="boolean")return null;if(lD($))return!1;return dD($)&&$.readable&&!uE0($)}function bE0($){if($&&$[Ac]!=null)return $[Ac];if(typeof($===null||$===void 0?void 0:$.writable)!=="boolean")return null;if(lD($))return!1;return mD($)&&$.writable&&!kE0($)}function ih1($,Y){if(!Z9($))return null;if(lD($))return!0;if((Y===null||Y===void 0?void 0:Y.readable)!==!1&&fE0($))return!1;if((Y===null||Y===void 0?void 0:Y.writable)!==!1&&bE0($))return!1;return!0}function nh1($){var Y,q;if(!Z9($))return null;if($.writableErrored)return $.writableErrored;return(Y=(q=$._writableState)===null||q===void 0?void 0:q.errored)!==null&&Y!==void 0?Y:null}function ch1($){var Y,q;if(!Z9($))return null;if($.readableErrored)return $.readableErrored;return(Y=(q=$._readableState)===null||q===void 0?void 0:q.errored)!==null&&Y!==void 0?Y:null}function ph1($){if(!Z9($))return null;if(typeof $.closed==="boolean")return $.closed;let{_writableState:Y,_readableState:q}=$;if(typeof(Y===null||Y===void 0?void 0:Y.closed)==="boolean"||typeof(q===null||q===void 0?void 0:q.closed)==="boolean")return(Y===null||Y===void 0?void 0:Y.closed)||(q===null||q===void 0?void 0:q.closed);if(typeof $._closed==="boolean"&&iE0($))return $._closed;return null}function iE0($){return typeof $._closed==="boolean"&&typeof $._defaultKeepAlive==="boolean"&&typeof $._removedConnection==="boolean"&&typeof $._removedContLen==="boolean"}function nE0($){return typeof $._sent100==="boolean"&&iE0($)}function dh1($){var Y;return typeof $._consuming==="boolean"&&typeof $._dumped==="boolean"&&((Y=$.req)===null||Y===void 0?void 0:Y.upgradeOrConnect)===void 0}function mh1($){if(!Z9($))return null;let{_writableState:Y,_readableState:q}=$,z=Y||q;return!z&&nE0($)||!!(z&&z.autoDestroy&&z.emitClose&&z.closed===!1)}function lh1($){var Y;return!!($&&((Y=$[gE0])!==null&&Y!==void 0?Y:$.readableDidRead||$.readableAborted))}function oh1($){var Y,q,z,J,U,I,Q,K,G,H;return!!($&&((Y=(q=(z=(J=(U=(I=$[hE0])!==null&&I!==void 0?I:$.readableErrored)!==null&&U!==void 0?U:$.writableErrored)!==null&&J!==void 0?J:(Q=$._readableState)===null||Q===void 0?void 0:Q.errorEmitted)!==null&&z!==void 0?z:(K=$._writableState)===null||K===void 0?void 0:K.errorEmitted)!==null&&q!==void 0?q:(G=$._readableState)===null||G===void 0?void 0:G.errored)!==null&&Y!==void 0?Y:(H=$._writableState)===null||H===void 0?void 0:H.errored))}cE0.exports={isDestroyed:lD,kIsDestroyed:vE0,isDisturbed:lh1,kIsDisturbed:gE0,isErrored:oh1,kIsErrored:hE0,isReadable:fE0,kIsReadable:Pc,kIsClosedPromise:Sh1,kControllerErrorFunction:yh1,kIsWritable:Ac,isClosed:ph1,isDuplexNodeStream:xh1,isFinished:ih1,isIterable:uh1,isReadableNodeStream:dD,isReadableStream:SE0,isReadableEnded:bh1,isReadableFinished:uE0,isReadableErrored:ch1,isNodeStream:Z9,isWebStream:kh1,isWritable:bE0,isWritableNodeStream:mD,isWritableStream:yE0,isWritableEnded:kE0,isWritableFinished:fh1,isWritableErrored:nh1,isServerRequest:dh1,isServerResponse:nE0,willEmitClose:mh1,isTransformStream:xE0}});var V3=M((_q4,_c)=>{var U2=J2(),{AbortError:aE0,codes:rh1}=Z8(),{ERR_INVALID_ARG_TYPE:sh1,ERR_STREAM_PREMATURE_CLOSE:pE0}=rh1,{kEmptyObject:Tc,once:Ec}=R8(),{validateAbortSignal:th1,validateFunction:ah1,validateObject:eh1,validateBoolean:$g1}=II(),{Promise:Yg1,PromisePrototypeThen:qg1,SymbolDispose:eE0}=g4(),{isClosed:zg1,isReadable:dE0,isReadableNodeStream:Bc,isReadableStream:Jg1,isReadableFinished:mE0,isReadableErrored:lE0,isWritable:oE0,isWritableNodeStream:rE0,isWritableStream:Ug1,isWritableFinished:sE0,isWritableErrored:tE0,isNodeStream:Ig1,willEmitClose:Qg1,kIsClosedPromise:Kg1}=W9(),QI;function Gg1($){return $.setHeader&&typeof $.abort==="function"}var jc=()=>{};function $j0($,Y,q){var z,J;if(arguments.length===2)q=Y,Y=Tc;else if(Y==null)Y=Tc;else eh1(Y,"options");if(ah1(q,"callback"),th1(Y.signal,"options.signal"),q=Ec(q),Jg1($)||Ug1($))return Hg1($,Y,q);if(!Ig1($))throw new sh1("stream",["ReadableStream","WritableStream","Stream"],$);let U=(z=Y.readable)!==null&&z!==void 0?z:Bc($),I=(J=Y.writable)!==null&&J!==void 0?J:rE0($),Q=$._writableState,K=$._readableState,G=()=>{if(!$.writable)V()},H=Qg1($)&&Bc($)===U&&rE0($)===I,Z=sE0($,!1),V=()=>{if(Z=!0,$.destroyed)H=!1;if(H&&(!$.readable||U))return;if(!U||X)q.call($)},X=mE0($,!1),L=()=>{if(X=!0,$.destroyed)H=!1;if(H&&(!$.writable||I))return;if(!I||Z)q.call($)},w=(E)=>{q.call($,E)},F=zg1($),O=()=>{F=!0;let E=tE0($)||lE0($);if(E&&typeof E!=="boolean")return q.call($,E);if(U&&!X&&Bc($,!0)){if(!mE0($,!1))return q.call($,new pE0)}if(I&&!Z){if(!sE0($,!1))return q.call($,new pE0)}q.call($)},P=()=>{F=!0;let E=tE0($)||lE0($);if(E&&typeof E!=="boolean")return q.call($,E);q.call($)},B=()=>{$.req.on("finish",V)};if(Gg1($)){if($.on("complete",V),!H)$.on("abort",O);if($.req)B();else $.on("request",B)}else if(I&&!Q)$.on("end",G),$.on("close",G);if(!H&&typeof $.aborted==="boolean")$.on("aborted",O);if($.on("end",L),$.on("finish",V),Y.error!==!1)$.on("error",w);if($.on("close",O),F)U2.nextTick(O);else if(Q!==null&&Q!==void 0&&Q.errorEmitted||K!==null&&K!==void 0&&K.errorEmitted){if(!H)U2.nextTick(P)}else if(!U&&(!H||dE0($))&&(Z||oE0($)===!1))U2.nextTick(P);else if(!I&&(!H||oE0($))&&(X||dE0($)===!1))U2.nextTick(P);else if(K&&$.req&&$.aborted)U2.nextTick(P);let A=()=>{if(q=jc,$.removeListener("aborted",O),$.removeListener("complete",V),$.removeListener("abort",O),$.removeListener("request",B),$.req)$.req.removeListener("finish",V);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",V),$.removeListener("end",L),$.removeListener("error",w),$.removeListener("close",O)};if(Y.signal&&!F){let E=()=>{let y=q;A(),y.call($,new aE0(void 0,{cause:Y.signal.reason}))};if(Y.signal.aborted)U2.nextTick(E);else{QI=QI||R8().addAbortListener;let y=QI(Y.signal,E),v=q;q=Ec((...k)=>{y[eE0](),v.apply($,k)})}}return A}function Hg1($,Y,q){let z=!1,J=jc;if(Y.signal)if(J=()=>{z=!0,q.call($,new aE0(void 0,{cause:Y.signal.reason}))},Y.signal.aborted)U2.nextTick(J);else{QI=QI||R8().addAbortListener;let I=QI(Y.signal,J),Q=q;q=Ec((...K)=>{I[eE0](),Q.apply($,K)})}let U=(...I)=>{if(!z)U2.nextTick(()=>q.apply($,I))};return qg1($[Kg1].promise,U,U),jc}function Zg1($,Y){var q;let z=!1;if(Y===null)Y=Tc;if((q=Y)!==null&&q!==void 0&&q.cleanup)$g1(Y.cleanup,"cleanup"),z=Y.cleanup;return new Yg1((J,U)=>{let I=$j0($,Y,(Q)=>{if(z)I();if(Q)U(Q);else J()})})}_c.exports=$j0;_c.exports.finished=Zg1});var Kq=M((Rq4,Kj0)=>{var X9=J2(),{aggregateTwoErrors:Wg1,codes:{ERR_MULTIPLE_CALLBACK:Xg1},AbortError:Vg1}=Z8(),{Symbol:zj0}=g4(),{kIsDestroyed:Lg1,isDestroyed:wg1,isFinished:Fg1,isServerRequest:Og1}=W9(),Jj0=zj0("kDestroy"),Rc=zj0("kConstruct");function Uj0($,Y,q){if($){if($.stack,Y&&!Y.errored)Y.errored=$;if(q&&!q.errored)q.errored=$}}function Mg1($,Y){let q=this._readableState,z=this._writableState,J=z||q;if(z!==null&&z!==void 0&&z.destroyed||q!==null&&q!==void 0&&q.destroyed){if(typeof Y==="function")Y();return this}if(Uj0($,z,q),z)z.destroyed=!0;if(q)q.destroyed=!0;if(!J.constructed)this.once(Jj0,function(U){Yj0(this,Wg1(U,$),Y)});else Yj0(this,$,Y);return this}function Yj0($,Y,q){let z=!1;function J(U){if(z)return;z=!0;let{_readableState:I,_writableState:Q}=$;if(Uj0(U,Q,I),Q)Q.closed=!0;if(I)I.closed=!0;if(typeof q==="function")q(U);if(U)X9.nextTick(Ng1,$,U);else X9.nextTick(Ij0,$)}try{$._destroy(Y||null,J)}catch(U){J(U)}}function Ng1($,Y){Cc($,Y),Ij0($)}function Ij0($){let{_readableState:Y,_writableState:q}=$;if(q)q.closeEmitted=!0;if(Y)Y.closeEmitted=!0;if(q!==null&&q!==void 0&&q.emitClose||Y!==null&&Y!==void 0&&Y.emitClose)$.emit("close")}function Cc($,Y){let{_readableState:q,_writableState:z}=$;if(z!==null&&z!==void 0&&z.errorEmitted||q!==null&&q!==void 0&&q.errorEmitted)return;if(z)z.errorEmitted=!0;if(q)q.errorEmitted=!0;$.emit("error",Y)}function Dg1(){let $=this._readableState,Y=this._writableState;if($)$.constructed=!0,$.closed=!1,$.closeEmitted=!1,$.destroyed=!1,$.errored=null,$.errorEmitted=!1,$.reading=!1,$.ended=$.readable===!1,$.endEmitted=$.readable===!1;if(Y)Y.constructed=!0,Y.destroyed=!1,Y.closed=!1,Y.closeEmitted=!1,Y.errored=null,Y.errorEmitted=!1,Y.finalCalled=!1,Y.prefinished=!1,Y.ended=Y.writable===!1,Y.ending=Y.writable===!1,Y.finished=Y.writable===!1}function vc($,Y,q){let{_readableState:z,_writableState:J}=$;if(J!==null&&J!==void 0&&J.destroyed||z!==null&&z!==void 0&&z.destroyed)return this;if(z!==null&&z!==void 0&&z.autoDestroy||J!==null&&J!==void 0&&J.autoDestroy)$.destroy(Y);else if(Y){if(Y.stack,J&&!J.errored)J.errored=Y;if(z&&!z.errored)z.errored=Y;if(q)X9.nextTick(Cc,$,Y);else Cc($,Y)}}function Pg1($,Y){if(typeof $._construct!=="function")return;let{_readableState:q,_writableState:z}=$;if(q)q.constructed=!1;if(z)z.constructed=!1;if($.once(Rc,Y),$.listenerCount(Rc)>1)return;X9.nextTick(Ag1,$)}function Ag1($){let Y=!1;function q(z){if(Y){vc($,z!==null&&z!==void 0?z:new Xg1);return}Y=!0;let{_readableState:J,_writableState:U}=$,I=U||J;if(J)J.constructed=!0;if(U)U.constructed=!0;if(I.destroyed)$.emit(Jj0,z);else if(z)vc($,z,!0);else X9.nextTick(Bg1,$)}try{$._construct((z)=>{X9.nextTick(q,z)})}catch(z){X9.nextTick(q,z)}}function Bg1($){$.emit(Rc)}function qj0($){return($===null||$===void 0?void 0:$.setHeader)&&typeof $.abort==="function"}function Qj0($){$.emit("close")}function Tg1($,Y){$.emit("error",Y),X9.nextTick(Qj0,$)}function Eg1($,Y){if(!$||wg1($))return;if(!Y&&!Fg1($))Y=new Vg1;if(Og1($))$.socket=null,$.destroy(Y);else if(qj0($))$.abort();else if(qj0($.req))$.req.abort();else if(typeof $.destroy==="function")$.destroy(Y);else if(typeof $.close==="function")$.close();else if(Y)X9.nextTick(Tg1,$,Y);else X9.nextTick(Qj0,$);if(!$.destroyed)$[Lg1]=!0}Kj0.exports={construct:Pg1,destroyer:Eg1,destroy:Mg1,undestroy:Dg1,errorOrDestroy:vc}});var sD=M((Cq4,Hj0)=>{var{ArrayIsArray:jg1,ObjectSetPrototypeOf:Gj0}=g4(),{EventEmitter:oD}=m("events");function rD($){oD.call(this,$)}Gj0(rD.prototype,oD.prototype);Gj0(rD,oD);rD.prototype.pipe=function($,Y){let q=this;function z(H){if($.writable&&$.write(H)===!1&&q.pause)q.pause()}q.on("data",z);function J(){if(q.readable&&q.resume)q.resume()}if($.on("drain",J),!$._isStdio&&(!Y||Y.end!==!1))q.on("end",I),q.on("close",Q);let U=!1;function I(){if(U)return;U=!0,$.end()}function Q(){if(U)return;if(U=!0,typeof $.destroy==="function")$.destroy()}function K(H){if(G(),oD.listenerCount(this,"error")===0)this.emit("error",H)}hc(q,"error",K),hc($,"error",K);function G(){q.removeListener("data",z),$.removeListener("drain",J),q.removeListener("end",I),q.removeListener("close",Q),q.removeListener("error",K),$.removeListener("error",K),q.removeListener("end",G),q.removeListener("close",G),$.removeListener("close",G)}return q.on("end",G),q.on("close",G),$.on("close",G),$.emit("pipe",q),$};function hc($,Y,q){if(typeof $.prependListener==="function")return $.prependListener(Y,q);if(!$._events||!$._events[Y])$.on(Y,q);else if(jg1($._events[Y]))$._events[Y].unshift(q);else $._events[Y]=[q,$._events[Y]]}Hj0.exports={Stream:rD,prependListener:hc}});var xZ=M((Sg1,tD)=>{var{SymbolDispose:_g1}=g4(),{AbortError:Zj0,codes:Rg1}=Z8(),{isNodeStream:Wj0,isWebStream:Cg1,kControllerErrorFunction:vg1}=W9(),hg1=V3(),{ERR_INVALID_ARG_TYPE:Xj0}=Rg1,gc,gg1=($,Y)=>{if(typeof $!=="object"||!("aborted"in $))throw new Xj0(Y,"AbortSignal",$)};Sg1.addAbortSignal=function(Y,q){if(gg1(Y,"signal"),!Wj0(q)&&!Cg1(q))throw new Xj0("stream",["ReadableStream","WritableStream","Stream"],q);return Sg1.addAbortSignalNoValidate(Y,q)};Sg1.addAbortSignalNoValidate=function($,Y){if(typeof $!=="object"||!("aborted"in $))return Y;let q=Wj0(Y)?()=>{Y.destroy(new Zj0(void 0,{cause:$.reason}))}:()=>{Y[vg1](new Zj0(void 0,{cause:$.reason}))};if($.aborted)q();else{gc=gc||R8().addAbortListener;let z=gc($,q);hg1(Y,z[_g1])}return Y}});var wj0=M((vq4,Lj0)=>{var{StringPrototypeSlice:Vj0,SymbolIterator:kg1,TypedArrayPrototypeSet:aD,Uint8Array:ug1}=g4(),{Buffer:Sc}=m("buffer"),{inspect:fg1}=R8();Lj0.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(Y){let q={data:Y,next:null};if(this.length>0)this.tail.next=q;else this.head=q;this.tail=q,++this.length}unshift(Y){let q={data:Y,next:this.head};if(this.length===0)this.tail=q;this.head=q,++this.length}shift(){if(this.length===0)return;let Y=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,Y}clear(){this.head=this.tail=null,this.length=0}join(Y){if(this.length===0)return"";let q=this.head,z=""+q.data;while((q=q.next)!==null)z+=Y+q.data;return z}concat(Y){if(this.length===0)return Sc.alloc(0);let q=Sc.allocUnsafe(Y>>>0),z=this.head,J=0;while(z)aD(q,z.data,J),J+=z.data.length,z=z.next;return q}consume(Y,q){let z=this.head.data;if(Y<z.length){let J=z.slice(0,Y);return this.head.data=z.slice(Y),J}if(Y===z.length)return this.shift();return q?this._getString(Y):this._getBuffer(Y)}first(){return this.head.data}*[kg1](){for(let Y=this.head;Y;Y=Y.next)yield Y.data}_getString(Y){let q="",z=this.head,J=0;do{let U=z.data;if(Y>U.length)q+=U,Y-=U.length;else{if(Y===U.length)if(q+=U,++J,z.next)this.head=z.next;else this.head=this.tail=null;else q+=Vj0(U,0,Y),this.head=z,z.data=Vj0(U,Y);break}++J}while((z=z.next)!==null);return this.length-=J,q}_getBuffer(Y){let q=Sc.allocUnsafe(Y),z=Y,J=this.head,U=0;do{let I=J.data;if(Y>I.length)aD(q,I,z-Y),Y-=I.length;else{if(Y===I.length)if(aD(q,I,z-Y),++U,J.next)this.head=J.next;else this.head=this.tail=null;else aD(q,new ug1(I.buffer,I.byteOffset,Y),z-Y),this.head=J,J.data=I.slice(Y);break}++U}while((J=J.next)!==null);return this.length-=U,q}[Symbol.for("nodejs.util.inspect.custom")](Y,q){return fg1(this,{...q,depth:0,customInspect:!1})}}});var kZ=M((hq4,Nj0)=>{var{MathFloor:bg1,NumberIsInteger:ig1}=g4(),{validateInteger:ng1}=II(),{ERR_INVALID_ARG_VALUE:cg1}=Z8().codes,Fj0=16384,Oj0=16;function pg1($,Y,q){return $.highWaterMark!=null?$.highWaterMark:Y?$[q]:null}function Mj0($){return $?Oj0:Fj0}function dg1($,Y){if(ng1(Y,"value",0),$)Oj0=Y;else Fj0=Y}function mg1($,Y,q,z){let J=pg1(Y,z,q);if(J!=null){if(!ig1(J)||J<0){let U=z?`options.${q}`:"options.highWaterMark";throw new cg1(U,J)}return bg1(J)}return Mj0($.objectMode)}Nj0.exports={getHighWaterMark:mg1,getDefaultHighWaterMark:Mj0,setDefaultHighWaterMark:dg1}});var yc=M((gq4,Bj0)=>{var Dj0=J2(),{PromisePrototypeThen:lg1,SymbolAsyncIterator:Pj0,SymbolIterator:Aj0}=g4(),{Buffer:og1}=m("buffer"),{ERR_INVALID_ARG_TYPE:rg1,ERR_STREAM_NULL_VALUES:sg1}=Z8().codes;function tg1($,Y,q){let z;if(typeof Y==="string"||Y instanceof og1)return new $({objectMode:!0,...q,read(){this.push(Y),this.push(null)}});let J;if(Y&&Y[Pj0])J=!0,z=Y[Pj0]();else if(Y&&Y[Aj0])J=!1,z=Y[Aj0]();else throw new rg1("iterable",["Iterable"],Y);let U=new $({objectMode:!0,highWaterMark:1,...q}),I=!1;U._read=function(){if(!I)I=!0,K()},U._destroy=function(G,H){lg1(Q(G),()=>Dj0.nextTick(H,G),(Z)=>Dj0.nextTick(H,Z||G))};async function Q(G){let H=G!==void 0&&G!==null,Z=typeof z.throw==="function";if(H&&Z){let{value:V,done:X}=await z.throw(G);if(await V,X)return}if(typeof z.return==="function"){let{value:V}=await z.return();await V}}async function K(){for(;;){try{let{value:G,done:H}=J?await z.next():z.next();if(H)U.push(null);else{let Z=G&&typeof G.then==="function"?await G:G;if(Z===null)throw I=!1,new sg1;else if(U.push(Z))continue;else I=!1}}catch(G){U.destroy(G)}break}}return U}Bj0.exports=tg1});var fZ=M((Sq4,nj0)=>{var P5=J2(),{ArrayPrototypeIndexOf:ag1,NumberIsInteger:eg1,NumberIsNaN:$S1,NumberParseInt:YS1,ObjectDefineProperties:cc,ObjectKeys:qS1,ObjectSetPrototypeOf:jj0,Promise:_j0,SafeSet:zS1,SymbolAsyncDispose:JS1,SymbolAsyncIterator:US1,Symbol:IS1}=g4();nj0.exports=K1;K1.ReadableState=qP;var{EventEmitter:QS1}=m("events"),{Stream:I2,prependListener:KS1}=sD(),{Buffer:xc}=m("buffer"),{addAbortSignal:GS1}=xZ(),Rj0=V3(),N1=R8().debuglog("stream",($)=>{N1=$}),HS1=wj0(),HI=Kq(),{getHighWaterMark:ZS1,getDefaultHighWaterMark:WS1}=kZ(),{aggregateTwoErrors:Tj0,codes:{ERR_INVALID_ARG_TYPE:XS1,ERR_METHOD_NOT_IMPLEMENTED:VS1,ERR_OUT_OF_RANGE:LS1,ERR_STREAM_PUSH_AFTER_EOF:wS1,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:FS1},AbortError:OS1}=Z8(),{validateObject:MS1}=II(),Gq=IS1("kPaused"),{StringDecoder:Cj0}=WJ(),NS1=yc();jj0(K1.prototype,I2.prototype);jj0(K1,I2);var kc=()=>{},{errorOrDestroy:KI}=HI,GI=1,DS1=2,vj0=4,uZ=8,hj0=16,eD=32,$P=64,gj0=128,PS1=256,AS1=512,BS1=1024,ic=2048,nc=4096,TS1=8192,ES1=16384,jS1=32768,Sj0=65536,_S1=131072,RS1=262144;function P6($){return{enumerable:!1,get(){return(this.state&$)!==0},set(Y){if(Y)this.state|=$;else this.state&=~$}}}cc(qP.prototype,{objectMode:P6(GI),ended:P6(DS1),endEmitted:P6(vj0),reading:P6(uZ),constructed:P6(hj0),sync:P6(eD),needReadable:P6($P),emittedReadable:P6(gj0),readableListening:P6(PS1),resumeScheduled:P6(AS1),errorEmitted:P6(BS1),emitClose:P6(ic),autoDestroy:P6(nc),destroyed:P6(TS1),closed:P6(ES1),closeEmitted:P6(jS1),multiAwaitDrain:P6(Sj0),readingMore:P6(_S1),dataEmitted:P6(RS1)});function qP($,Y,q){if(typeof q!=="boolean")q=Y instanceof V9();if(this.state=ic|nc|hj0|eD,$&&$.objectMode)this.state|=GI;if(q&&$&&$.readableObjectMode)this.state|=GI;if(this.highWaterMark=$?ZS1(this,$,"readableHighWaterMark",q):WS1(!1),this.buffer=new HS1,this.length=0,this.pipes=[],this.flowing=null,this[Gq]=null,$&&$.emitClose===!1)this.state&=~ic;if($&&$.autoDestroy===!1)this.state&=~nc;if(this.errored=null,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,$&&$.encoding)this.decoder=new Cj0($.encoding),this.encoding=$.encoding}function K1($){if(!(this instanceof K1))return new K1($);let Y=this instanceof V9();if(this._readableState=new qP($,this,Y),$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.construct==="function")this._construct=$.construct;if($.signal&&!Y)GS1($.signal,this)}I2.call(this,$),HI.construct(this,()=>{if(this._readableState.needReadable)YP(this,this._readableState)})}K1.prototype.destroy=HI.destroy;K1.prototype._undestroy=HI.undestroy;K1.prototype._destroy=function($,Y){Y($)};K1.prototype[QS1.captureRejectionSymbol]=function($){this.destroy($)};K1.prototype[JS1]=function(){let $;if(!this.destroyed)$=this.readableEnded?null:new OS1,this.destroy($);return new _j0((Y,q)=>Rj0(this,(z)=>z&&z!==$?q(z):Y(null)))};K1.prototype.push=function($,Y){return yj0(this,$,Y,!1)};K1.prototype.unshift=function($,Y){return yj0(this,$,Y,!0)};function yj0($,Y,q,z){N1("readableAddChunk",Y);let J=$._readableState,U;if((J.state&GI)===0){if(typeof Y==="string"){if(q=q||J.defaultEncoding,J.encoding!==q)if(z&&J.encoding)Y=xc.from(Y,q).toString(J.encoding);else Y=xc.from(Y,q),q=""}else if(Y instanceof xc)q="";else if(I2._isUint8Array(Y))Y=I2._uint8ArrayToBuffer(Y),q="";else if(Y!=null)U=new XS1("chunk",["string","Buffer","Uint8Array"],Y)}if(U)KI($,U);else if(Y===null)J.state&=~uZ,hS1($,J);else if((J.state&GI)!==0||Y&&Y.length>0)if(z)if((J.state&vj0)!==0)KI($,new FS1);else if(J.destroyed||J.errored)return!1;else uc($,J,Y,!0);else if(J.ended)KI($,new wS1);else if(J.destroyed||J.errored)return!1;else if(J.state&=~uZ,J.decoder&&!q)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)uc($,J,Y,!1);else YP($,J);else uc($,J,Y,!1);else if(!z)J.state&=~uZ,YP($,J);return!J.ended&&(J.length<J.highWaterMark||J.length===0)}function uc($,Y,q,z){if(Y.flowing&&Y.length===0&&!Y.sync&&$.listenerCount("data")>0){if((Y.state&Sj0)!==0)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;Y.dataEmitted=!0,$.emit("data",q)}else{if(Y.length+=Y.objectMode?1:q.length,z)Y.buffer.unshift(q);else Y.buffer.push(q);if((Y.state&$P)!==0)zP($)}YP($,Y)}K1.prototype.isPaused=function(){let $=this._readableState;return $[Gq]===!0||$.flowing===!1};K1.prototype.setEncoding=function($){let Y=new Cj0($);this._readableState.decoder=Y,this._readableState.encoding=this._readableState.decoder.encoding;let q=this._readableState.buffer,z="";for(let J of q)z+=Y.write(J);if(q.clear(),z!=="")q.push(z);return this._readableState.length=z.length,this};var CS1=1073741824;function vS1($){if($>CS1)throw new LS1("size","<= 1GiB",$);else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function Ej0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if((Y.state&GI)!==0)return 1;if($S1($)){if(Y.flowing&&Y.length)return Y.buffer.first().length;return Y.length}if($<=Y.length)return $;return Y.ended?Y.length:0}K1.prototype.read=function($){if(N1("read",$),$===void 0)$=NaN;else if(!eg1($))$=YS1($,10);let Y=this._readableState,q=$;if($>Y.highWaterMark)Y.highWaterMark=vS1($);if($!==0)Y.state&=~gj0;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(N1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)fc(this);else zP(this);return null}if($=Ej0($,Y),$===0&&Y.ended){if(Y.length===0)fc(this);return null}let z=(Y.state&$P)!==0;if(N1("need readable",z),Y.length===0||Y.length-$<Y.highWaterMark)z=!0,N1("length less than watermark",z);if(Y.ended||Y.reading||Y.destroyed||Y.errored||!Y.constructed)z=!1,N1("reading, ended or constructing",z);else if(z){if(N1("do read"),Y.state|=uZ|eD,Y.length===0)Y.state|=$P;try{this._read(Y.highWaterMark)}catch(U){KI(this,U)}if(Y.state&=~eD,!Y.reading)$=Ej0(q,Y)}let J;if($>0)J=bj0($,Y);else J=null;if(J===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else if(Y.length-=$,Y.multiAwaitDrain)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(q!==$&&Y.ended)fc(this)}if(J!==null&&!Y.errorEmitted&&!Y.closeEmitted)Y.dataEmitted=!0,this.emit("data",J);return J};function hS1($,Y){if(N1("onEofChunk"),Y.ended)return;if(Y.decoder){let q=Y.decoder.end();if(q&&q.length)Y.buffer.push(q),Y.length+=Y.objectMode?1:q.length}if(Y.ended=!0,Y.sync)zP($);else Y.needReadable=!1,Y.emittedReadable=!0,xj0($)}function zP($){let Y=$._readableState;if(N1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)N1("emitReadable",Y.flowing),Y.emittedReadable=!0,P5.nextTick(xj0,$)}function xj0($){let Y=$._readableState;if(N1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&!Y.errored&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,uj0($)}function YP($,Y){if(!Y.readingMore&&Y.constructed)Y.readingMore=!0,P5.nextTick(gS1,$,Y)}function gS1($,Y){while(!Y.reading&&!Y.ended&&(Y.length<Y.highWaterMark||Y.flowing&&Y.length===0)){let q=Y.length;if(N1("maybeReadMore read 0"),$.read(0),q===Y.length)break}Y.readingMore=!1}K1.prototype._read=function($){throw new VS1("_read()")};K1.prototype.pipe=function($,Y){let q=this,z=this._readableState;if(z.pipes.length===1){if(!z.multiAwaitDrain)z.multiAwaitDrain=!0,z.awaitDrainWriters=new zS1(z.awaitDrainWriters?[z.awaitDrainWriters]:[])}z.pipes.push($),N1("pipe count=%d opts=%j",z.pipes.length,Y);let U=(!Y||Y.end!==!1)&&$!==P5.stdout&&$!==P5.stderr?Q:F;if(z.endEmitted)P5.nextTick(U);else q.once("end",U);$.on("unpipe",I);function I(O,P){if(N1("onunpipe"),O===q){if(P&&P.hasUnpiped===!1)P.hasUnpiped=!0,H()}}function Q(){N1("onend"),$.end()}let K,G=!1;function H(){if(N1("cleanup"),$.removeListener("close",L),$.removeListener("finish",w),K)$.removeListener("drain",K);if($.removeListener("error",X),$.removeListener("unpipe",I),q.removeListener("end",Q),q.removeListener("end",F),q.removeListener("data",V),G=!0,K&&z.awaitDrainWriters&&(!$._writableState||$._writableState.needDrain))K()}function Z(){if(!G){if(z.pipes.length===1&&z.pipes[0]===$)N1("false write response, pause",0),z.awaitDrainWriters=$,z.multiAwaitDrain=!1;else if(z.pipes.length>1&&z.pipes.includes($))N1("false write response, pause",z.awaitDrainWriters.size),z.awaitDrainWriters.add($);q.pause()}if(!K)K=SS1(q,$),$.on("drain",K)}q.on("data",V);function V(O){N1("ondata");let P=$.write(O);if(N1("dest.write",P),P===!1)Z()}function X(O){if(N1("onerror",O),F(),$.removeListener("error",X),$.listenerCount("error")===0){let P=$._writableState||$._readableState;if(P&&!P.errorEmitted)KI($,O);else $.emit("error",O)}}KS1($,"error",X);function L(){$.removeListener("finish",w),F()}$.once("close",L);function w(){N1("onfinish"),$.removeListener("close",L),F()}$.once("finish",w);function F(){N1("unpipe"),q.unpipe($)}if($.emit("pipe",q),$.writableNeedDrain===!0)Z();else if(!z.flowing)N1("pipe resume"),q.resume();return $};function SS1($,Y){return function(){let z=$._readableState;if(z.awaitDrainWriters===Y)N1("pipeOnDrain",1),z.awaitDrainWriters=null;else if(z.multiAwaitDrain)N1("pipeOnDrain",z.awaitDrainWriters.size),z.awaitDrainWriters.delete(Y);if((!z.awaitDrainWriters||z.awaitDrainWriters.size===0)&&$.listenerCount("data"))$.resume()}}K1.prototype.unpipe=function($){let Y=this._readableState,q={hasUnpiped:!1};if(Y.pipes.length===0)return this;if(!$){let J=Y.pipes;Y.pipes=[],this.pause();for(let U=0;U<J.length;U++)J[U].emit("unpipe",this,{hasUnpiped:!1});return this}let z=ag1(Y.pipes,$);if(z===-1)return this;if(Y.pipes.splice(z,1),Y.pipes.length===0)this.pause();return $.emit("unpipe",this,q),this};K1.prototype.on=function($,Y){let q=I2.prototype.on.call(this,$,Y),z=this._readableState;if($==="data"){if(z.readableListening=this.listenerCount("readable")>0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,N1("on readable",z.length,z.reading),z.length)zP(this);else if(!z.reading)P5.nextTick(yS1,this)}}return q};K1.prototype.addListener=K1.prototype.on;K1.prototype.removeListener=function($,Y){let q=I2.prototype.removeListener.call(this,$,Y);if($==="readable")P5.nextTick(kj0,this);return q};K1.prototype.off=K1.prototype.removeListener;K1.prototype.removeAllListeners=function($){let Y=I2.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)P5.nextTick(kj0,this);return Y};function kj0($){let Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&Y[Gq]===!1)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume();else if(!Y.readableListening)Y.flowing=null}function yS1($){N1("readable nexttick read 0"),$.read(0)}K1.prototype.resume=function(){let $=this._readableState;if(!$.flowing)N1("resume"),$.flowing=!$.readableListening,xS1(this,$);return $[Gq]=!1,this};function xS1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,P5.nextTick(kS1,$,Y)}function kS1($,Y){if(N1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),uj0($),Y.flowing&&!Y.reading)$.read(0)}K1.prototype.pause=function(){if(N1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)N1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[Gq]=!0,this};function uj0($){let Y=$._readableState;N1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}K1.prototype.wrap=function($){let Y=!1;$.on("data",(z)=>{if(!this.push(z)&&$.pause)Y=!0,$.pause()}),$.on("end",()=>{this.push(null)}),$.on("error",(z)=>{KI(this,z)}),$.on("close",()=>{this.destroy()}),$.on("destroy",()=>{this.destroy()}),this._read=()=>{if(Y&&$.resume)Y=!1,$.resume()};let q=qS1($);for(let z=1;z<q.length;z++){let J=q[z];if(this[J]===void 0&&typeof $[J]==="function")this[J]=$[J].bind($)}return this};K1.prototype[US1]=function(){return fj0(this)};K1.prototype.iterator=function($){if($!==void 0)MS1($,"options");return fj0(this,$)};function fj0($,Y){if(typeof $.read!=="function")$=K1.wrap($,{objectMode:!0});let q=uS1($,Y);return q.stream=$,q}async function*uS1($,Y){let q=kc;function z(I){if(this===$)q(),q=kc;else q=I}$.on("readable",z);let J,U=Rj0($,{writable:!1},(I)=>{J=I?Tj0(J,I):null,q(),q=kc});try{while(!0){let I=$.destroyed?null:$.read();if(I!==null)yield I;else if(J)throw J;else if(J===null)return;else await new _j0(z)}}catch(I){throw J=Tj0(J,I),J}finally{if((J||(Y===null||Y===void 0?void 0:Y.destroyOnReturn)!==!1)&&(J===void 0||$._readableState.autoDestroy))HI.destroyer($,null);else $.off("readable",z),U()}}cc(K1.prototype,{readable:{__proto__:null,get(){let $=this._readableState;return!!$&&$.readable!==!1&&!$.destroyed&&!$.errorEmitted&&!$.endEmitted},set($){if(this._readableState)this._readableState.readable=!!$}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function($){if(this._readableState)this._readableState.flowing=$}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set($){if(!this._readableState)return;this._readableState.destroyed=$}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});cc(qP.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[Gq]!==!1},set($){this[Gq]=!!$}}});K1._fromList=bj0;function bj0($,Y){if(Y.length===0)return null;let q;if(Y.objectMode)q=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)q=Y.buffer.join("");else if(Y.buffer.length===1)q=Y.buffer.first();else q=Y.buffer.concat(Y.length);Y.buffer.clear()}else q=Y.buffer.consume($,Y.decoder);return q}function fc($){let Y=$._readableState;if(N1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,P5.nextTick(fS1,Y,$)}function fS1($,Y){if(N1("endReadableNT",$.endEmitted,$.length),!$.errored&&!$.closeEmitted&&!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.emit("end"),Y.writable&&Y.allowHalfOpen===!1)P5.nextTick(bS1,Y);else if($.autoDestroy){let q=Y._writableState;if(!q||q.autoDestroy&&(q.finished||q.writable===!1))Y.destroy()}}}function bS1($){if($.writable&&!$.writableEnded&&!$.destroyed)$.end()}K1.from=function($,Y){return NS1(K1,$,Y)};var bc;function ij0(){if(bc===void 0)bc={};return bc}K1.fromWeb=function($,Y){return ij0().newStreamReadableFromReadableStream($,Y)};K1.toWeb=function($,Y){return ij0().newReadableStreamFromStreamReadable($,Y)};K1.wrap=function($,Y){var q,z;return new K1({objectMode:(q=(z=$.readableObjectMode)!==null&&z!==void 0?z:$.objectMode)!==null&&q!==void 0?q:!0,...Y,destroy(J,U){HI.destroyer($,J),U(J)}}).wrap($)}});var KP=M((yq4,$_0)=>{var Hq=J2(),{ArrayPrototypeSlice:dj0,Error:iS1,FunctionPrototypeSymbolHasInstance:mj0,ObjectDefineProperty:lj0,ObjectDefineProperties:nS1,ObjectSetPrototypeOf:oj0,StringPrototypeToLowerCase:cS1,Symbol:pS1,SymbolHasInstance:dS1}=g4();$_0.exports=n4;n4.WritableState=nZ;var{EventEmitter:mS1}=m("events"),bZ=sD().Stream,{Buffer:JP}=m("buffer"),QP=Kq(),{addAbortSignal:lS1}=xZ(),{getHighWaterMark:oS1,getDefaultHighWaterMark:rS1}=kZ(),{ERR_INVALID_ARG_TYPE:sS1,ERR_METHOD_NOT_IMPLEMENTED:tS1,ERR_MULTIPLE_CALLBACK:rj0,ERR_STREAM_CANNOT_PIPE:aS1,ERR_STREAM_DESTROYED:iZ,ERR_STREAM_ALREADY_FINISHED:eS1,ERR_STREAM_NULL_VALUES:$y1,ERR_STREAM_WRITE_AFTER_END:Yy1,ERR_UNKNOWN_ENCODING:sj0}=Z8().codes,{errorOrDestroy:ZI}=QP;oj0(n4.prototype,bZ.prototype);oj0(n4,bZ);function mc(){}var WI=pS1("kOnFinished");function nZ($,Y,q){if(typeof q!=="boolean")q=Y instanceof V9();if(this.objectMode=!!($&&$.objectMode),q)this.objectMode=this.objectMode||!!($&&$.writableObjectMode);this.highWaterMark=$?oS1(this,$,"writableHighWaterMark",q):rS1(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let z=!!($&&$.decodeStrings===!1);this.decodeStrings=!z,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=zy1.bind(void 0,Y),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,IP(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!$||$.emitClose!==!1,this.autoDestroy=!$||$.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[WI]=[]}function IP($){$.buffered=[],$.bufferedIndex=0,$.allBuffers=!0,$.allNoop=!0}nZ.prototype.getBuffer=function(){return dj0(this.buffered,this.bufferedIndex)};lj0(nZ.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function n4($){let Y=this instanceof V9();if(!Y&&!mj0(n4,this))return new n4($);if(this._writableState=new nZ($,this,Y),$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final;if(typeof $.construct==="function")this._construct=$.construct;if($.signal)lS1($.signal,this)}bZ.call(this,$),QP.construct(this,()=>{let q=this._writableState;if(!q.writing)oc(this,q);rc(this,q)})}lj0(n4,dS1,{__proto__:null,value:function($){if(mj0(this,$))return!0;if(this!==n4)return!1;return $&&$._writableState instanceof nZ}});n4.prototype.pipe=function(){ZI(this,new aS1)};function tj0($,Y,q,z){let J=$._writableState;if(typeof q==="function")z=q,q=J.defaultEncoding;else{if(!q)q=J.defaultEncoding;else if(q!=="buffer"&&!JP.isEncoding(q))throw new sj0(q);if(typeof z!=="function")z=mc}if(Y===null)throw new $y1;else if(!J.objectMode)if(typeof Y==="string"){if(J.decodeStrings!==!1)Y=JP.from(Y,q),q="buffer"}else if(Y instanceof JP)q="buffer";else if(bZ._isUint8Array(Y))Y=bZ._uint8ArrayToBuffer(Y),q="buffer";else throw new sS1("chunk",["string","Buffer","Uint8Array"],Y);let U;if(J.ending)U=new Yy1;else if(J.destroyed)U=new iZ("write");if(U)return Hq.nextTick(z,U),ZI($,U,!0),U;return J.pendingcb++,qy1($,J,Y,q,z)}n4.prototype.write=function($,Y,q){return tj0(this,$,Y,q)===!0};n4.prototype.cork=function(){this._writableState.corked++};n4.prototype.uncork=function(){let $=this._writableState;if($.corked){if($.corked--,!$.writing)oc(this,$)}};n4.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=cS1(Y);if(!JP.isEncoding(Y))throw new sj0(Y);return this._writableState.defaultEncoding=Y,this};function qy1($,Y,q,z,J){let U=Y.objectMode?1:q.length;Y.length+=U;let I=Y.length<Y.highWaterMark;if(!I)Y.needDrain=!0;if(Y.writing||Y.corked||Y.errored||!Y.constructed){if(Y.buffered.push({chunk:q,encoding:z,callback:J}),Y.allBuffers&&z!=="buffer")Y.allBuffers=!1;if(Y.allNoop&&J!==mc)Y.allNoop=!1}else Y.writelen=U,Y.writecb=J,Y.writing=!0,Y.sync=!0,$._write(q,z,Y.onwrite),Y.sync=!1;return I&&!Y.errored&&!Y.destroyed}function cj0($,Y,q,z,J,U,I){if(Y.writelen=z,Y.writecb=I,Y.writing=!0,Y.sync=!0,Y.destroyed)Y.onwrite(new iZ("write"));else if(q)$._writev(J,Y.onwrite);else $._write(J,U,Y.onwrite);Y.sync=!1}function pj0($,Y,q,z){--Y.pendingcb,z(q),lc(Y),ZI($,q)}function zy1($,Y){let q=$._writableState,z=q.sync,J=q.writecb;if(typeof J!=="function"){ZI($,new rj0);return}if(q.writing=!1,q.writecb=null,q.length-=q.writelen,q.writelen=0,Y){if(Y.stack,!q.errored)q.errored=Y;if($._readableState&&!$._readableState.errored)$._readableState.errored=Y;if(z)Hq.nextTick(pj0,$,q,Y,J);else pj0($,q,Y,J)}else{if(q.buffered.length>q.bufferedIndex)oc($,q);if(z)if(q.afterWriteTickInfo!==null&&q.afterWriteTickInfo.cb===J)q.afterWriteTickInfo.count++;else q.afterWriteTickInfo={count:1,cb:J,stream:$,state:q},Hq.nextTick(Jy1,q.afterWriteTickInfo);else aj0($,q,1,J)}}function Jy1({stream:$,state:Y,count:q,cb:z}){return Y.afterWriteTickInfo=null,aj0($,Y,q,z)}function aj0($,Y,q,z){if(!Y.ending&&!$.destroyed&&Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain");while(q-- >0)Y.pendingcb--,z();if(Y.destroyed)lc(Y);rc($,Y)}function lc($){if($.writing)return;for(let J=$.bufferedIndex;J<$.buffered.length;++J){var Y;let{chunk:U,callback:I}=$.buffered[J],Q=$.objectMode?1:U.length;$.length-=Q,I((Y=$.errored)!==null&&Y!==void 0?Y:new iZ("write"))}let q=$[WI].splice(0);for(let J=0;J<q.length;J++){var z;q[J]((z=$.errored)!==null&&z!==void 0?z:new iZ("end"))}IP($)}function oc($,Y){if(Y.corked||Y.bufferProcessing||Y.destroyed||!Y.constructed)return;let{buffered:q,bufferedIndex:z,objectMode:J}=Y,U=q.length-z;if(!U)return;let I=z;if(Y.bufferProcessing=!0,U>1&&$._writev){Y.pendingcb-=U-1;let Q=Y.allNoop?mc:(G)=>{for(let H=I;H<q.length;++H)q[H].callback(G)},K=Y.allNoop&&I===0?q:dj0(q,I);K.allBuffers=Y.allBuffers,cj0($,Y,!0,Y.length,K,"",Q),IP(Y)}else{do{let{chunk:Q,encoding:K,callback:G}=q[I];q[I++]=null;let H=J?1:Q.length;cj0($,Y,!1,H,Q,K,G)}while(I<q.length&&!Y.writing);if(I===q.length)IP(Y);else if(I>256)q.splice(0,I),Y.bufferedIndex=0;else Y.bufferedIndex=I}Y.bufferProcessing=!1}n4.prototype._write=function($,Y,q){if(this._writev)this._writev([{chunk:$,encoding:Y}],q);else throw new tS1("_write()")};n4.prototype._writev=null;n4.prototype.end=function($,Y,q){let z=this._writableState;if(typeof $==="function")q=$,$=null,Y=null;else if(typeof Y==="function")q=Y,Y=null;let J;if($!==null&&$!==void 0){let U=tj0(this,$,Y);if(U instanceof iS1)J=U}if(z.corked)z.corked=1,this.uncork();if(J);else if(!z.errored&&!z.ending)z.ending=!0,rc(this,z,!0),z.ended=!0;else if(z.finished)J=new eS1("end");else if(z.destroyed)J=new iZ("end");if(typeof q==="function")if(J||z.finished)Hq.nextTick(q,J);else z[WI].push(q);return this};function UP($){return $.ending&&!$.destroyed&&$.constructed&&$.length===0&&!$.errored&&$.buffered.length===0&&!$.finished&&!$.writing&&!$.errorEmitted&&!$.closeEmitted}function Uy1($,Y){let q=!1;function z(J){if(q){ZI($,J!==null&&J!==void 0?J:rj0());return}if(q=!0,Y.pendingcb--,J){let U=Y[WI].splice(0);for(let I=0;I<U.length;I++)U[I](J);ZI($,J,Y.sync)}else if(UP(Y))Y.prefinished=!0,$.emit("prefinish"),Y.pendingcb++,Hq.nextTick(dc,$,Y)}Y.sync=!0,Y.pendingcb++;try{$._final(z)}catch(J){z(J)}Y.sync=!1}function Iy1($,Y){if(!Y.prefinished&&!Y.finalCalled)if(typeof $._final==="function"&&!Y.destroyed)Y.finalCalled=!0,Uy1($,Y);else Y.prefinished=!0,$.emit("prefinish")}function rc($,Y,q){if(UP(Y)){if(Iy1($,Y),Y.pendingcb===0){if(q)Y.pendingcb++,Hq.nextTick((z,J)=>{if(UP(J))dc(z,J);else J.pendingcb--},$,Y);else if(UP(Y))Y.pendingcb++,dc($,Y)}}}function dc($,Y){Y.pendingcb--,Y.finished=!0;let q=Y[WI].splice(0);for(let z=0;z<q.length;z++)q[z]();if($.emit("finish"),Y.autoDestroy){let z=$._readableState;if(!z||z.autoDestroy&&(z.endEmitted||z.readable===!1))$.destroy()}}nS1(n4.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set($){if(this._writableState)this._writableState.destroyed=$}},writable:{__proto__:null,get(){let $=this._writableState;return!!$&&$.writable!==!1&&!$.destroyed&&!$.errored&&!$.ending&&!$.ended},set($){if(this._writableState)this._writableState.writable=!!$}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){let $=this._writableState;if(!$)return!1;return!$.destroyed&&!$.ending&&$.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var Qy1=QP.destroy;n4.prototype.destroy=function($,Y){let q=this._writableState;if(!q.destroyed&&(q.bufferedIndex<q.buffered.length||q[WI].length))Hq.nextTick(lc,q);return Qy1.call(this,$,Y),this};n4.prototype._undestroy=QP.undestroy;n4.prototype._destroy=function($,Y){Y($)};n4.prototype[mS1.captureRejectionSymbol]=function($){this.destroy($)};var pc;function ej0(){if(pc===void 0)pc={};return pc}n4.fromWeb=function($,Y){return ej0().newStreamWritableFromWritableStream($,Y)};n4.toWeb=function($){return ej0().newWritableStreamFromStreamWritable($)}});var L_0=M((xq4,V_0)=>{var sc=J2(),Ky1=m("buffer"),{isReadable:Gy1,isWritable:Hy1,isIterable:Y_0,isNodeStream:Zy1,isReadableNodeStream:q_0,isWritableNodeStream:z_0,isDuplexNodeStream:Wy1,isReadableStream:J_0,isWritableStream:U_0}=W9(),I_0=V3(),{AbortError:W_0,codes:{ERR_INVALID_ARG_TYPE:Xy1,ERR_INVALID_RETURN_VALUE:Q_0}}=Z8(),{destroyer:VI}=Kq(),Vy1=V9(),X_0=fZ(),Ly1=KP(),{createDeferredPromise:K_0}=R8(),G_0=yc(),H_0=globalThis.Blob||Ky1.Blob,wy1=typeof H_0<"u"?function(Y){return Y instanceof H_0}:function(Y){return!1},Fy1=globalThis.AbortController||JI().AbortController,{FunctionPrototypeCall:Z_0}=g4();class Zq extends Vy1{constructor($){super($);if(($===null||$===void 0?void 0:$.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(($===null||$===void 0?void 0:$.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}V_0.exports=function $(Y,q){if(Wy1(Y))return Y;if(q_0(Y))return XI({readable:Y});if(z_0(Y))return XI({writable:Y});if(Zy1(Y))return XI({writable:!1,readable:!1});if(J_0(Y))return XI({readable:X_0.fromWeb(Y)});if(U_0(Y))return XI({writable:Ly1.fromWeb(Y)});if(typeof Y==="function"){let{value:J,write:U,final:I,destroy:Q}=Oy1(Y);if(Y_0(J))return G_0(Zq,J,{objectMode:!0,write:U,final:I,destroy:Q});let K=J===null||J===void 0?void 0:J.then;if(typeof K==="function"){let G,H=Z_0(K,J,(Z)=>{if(Z!=null)throw new Q_0("nully","body",Z)},(Z)=>{VI(G,Z)});return G=new Zq({objectMode:!0,readable:!1,write:U,final(Z){I(async()=>{try{await H,sc.nextTick(Z,null)}catch(V){sc.nextTick(Z,V)}})},destroy:Q})}throw new Q_0("Iterable, AsyncIterable or AsyncFunction",q,J)}if(wy1(Y))return $(Y.arrayBuffer());if(Y_0(Y))return G_0(Zq,Y,{objectMode:!0,writable:!1});if(J_0(Y===null||Y===void 0?void 0:Y.readable)&&U_0(Y===null||Y===void 0?void 0:Y.writable))return Zq.fromWeb(Y);if(typeof(Y===null||Y===void 0?void 0:Y.writable)==="object"||typeof(Y===null||Y===void 0?void 0:Y.readable)==="object"){let J=Y!==null&&Y!==void 0&&Y.readable?q_0(Y===null||Y===void 0?void 0:Y.readable)?Y===null||Y===void 0?void 0:Y.readable:$(Y.readable):void 0,U=Y!==null&&Y!==void 0&&Y.writable?z_0(Y===null||Y===void 0?void 0:Y.writable)?Y===null||Y===void 0?void 0:Y.writable:$(Y.writable):void 0;return XI({readable:J,writable:U})}let z=Y===null||Y===void 0?void 0:Y.then;if(typeof z==="function"){let J;return Z_0(z,Y,(U)=>{if(U!=null)J.push(U);J.push(null)},(U)=>{VI(J,U)}),J=new Zq({objectMode:!0,writable:!1,read(){}})}throw new Xy1(q,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],Y)};function Oy1($){let{promise:Y,resolve:q}=K_0(),z=new Fy1,J=z.signal;return{value:$(async function*(){while(!0){let I=Y;Y=null;let{chunk:Q,done:K,cb:G}=await I;if(sc.nextTick(G),K)return;if(J.aborted)throw new W_0(void 0,{cause:J.reason});({promise:Y,resolve:q}=K_0()),yield Q}}(),{signal:J}),write(I,Q,K){let G=q;q=null,G({chunk:I,done:!1,cb:K})},final(I){let Q=q;q=null,Q({done:!0,cb:I})},destroy(I,Q){z.abort(),Q(I)}}}function XI($){let Y=$.readable&&typeof $.readable.read!=="function"?X_0.wrap($.readable):$.readable,q=$.writable,z=!!Gy1(Y),J=!!Hy1(q),U,I,Q,K,G;function H(Z){let V=K;if(K=null,V)V(Z);else if(Z)G.destroy(Z)}if(G=new Zq({readableObjectMode:!!(Y!==null&&Y!==void 0&&Y.readableObjectMode),writableObjectMode:!!(q!==null&&q!==void 0&&q.writableObjectMode),readable:z,writable:J}),J)I_0(q,(Z)=>{if(J=!1,Z)VI(Y,Z);H(Z)}),G._write=function(Z,V,X){if(q.write(Z,V))X();else U=X},G._final=function(Z){q.end(),I=Z},q.on("drain",function(){if(U){let Z=U;U=null,Z()}}),q.on("finish",function(){if(I){let Z=I;I=null,Z()}});if(z)I_0(Y,(Z)=>{if(z=!1,Z)VI(Y,Z);H(Z)}),Y.on("readable",function(){if(Q){let Z=Q;Q=null,Z()}}),Y.on("end",function(){G.push(null)}),G._read=function(){while(!0){let Z=Y.read();if(Z===null){Q=G._read;return}if(!G.push(Z))return}};return G._destroy=function(Z,V){if(!Z&&K!==null)Z=new W_0;if(Q=null,U=null,I=null,K===null)V(Z);else K=V,VI(q,Z),VI(Y,Z)},G}});var V9=M((kq4,O_0)=>{var{ObjectDefineProperties:My1,ObjectGetOwnPropertyDescriptor:L3,ObjectKeys:Ny1,ObjectSetPrototypeOf:w_0}=g4();O_0.exports=A5;var ec=fZ(),l$=KP();w_0(A5.prototype,ec.prototype);w_0(A5,ec);{let $=Ny1(l$.prototype);for(let Y=0;Y<$.length;Y++){let q=$[Y];if(!A5.prototype[q])A5.prototype[q]=l$.prototype[q]}}function A5($){if(!(this instanceof A5))return new A5($);if(ec.call(this,$),l$.call(this,$),$){if(this.allowHalfOpen=$.allowHalfOpen!==!1,$.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if($.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}My1(A5.prototype,{writable:{__proto__:null,...L3(l$.prototype,"writable")},writableHighWaterMark:{__proto__:null,...L3(l$.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...L3(l$.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...L3(l$.prototype,"writableBuffer")},writableLength:{__proto__:null,...L3(l$.prototype,"writableLength")},writableFinished:{__proto__:null,...L3(l$.prototype,"writableFinished")},writableCorked:{__proto__:null,...L3(l$.prototype,"writableCorked")},writableEnded:{__proto__:null,...L3(l$.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...L3(l$.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set($){if(this._readableState&&this._writableState)this._readableState.destroyed=$,this._writableState.destroyed=$}}});var tc;function F_0(){if(tc===void 0)tc={};return tc}A5.fromWeb=function($,Y){return F_0().newStreamDuplexFromReadableWritablePair($,Y)};A5.toWeb=function($){return F_0().newReadableWritablePairFromDuplex($)};var ac;A5.from=function($){if(!ac)ac=L_0();return ac($,"body")}});var qp=M((uq4,N_0)=>{var{ObjectSetPrototypeOf:M_0,Symbol:Dy1}=g4();N_0.exports=w3;var{ERR_METHOD_NOT_IMPLEMENTED:Py1}=Z8().codes,Yp=V9(),{getHighWaterMark:Ay1}=kZ();M_0(w3.prototype,Yp.prototype);M_0(w3,Yp);var cZ=Dy1("kCallback");function w3($){if(!(this instanceof w3))return new w3($);let Y=$?Ay1(this,$,"readableHighWaterMark",!0):null;if(Y===0)$={...$,highWaterMark:null,readableHighWaterMark:Y,writableHighWaterMark:$.writableHighWaterMark||0};if(Yp.call(this,$),this._readableState.sync=!1,this[cZ]=null,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",By1)}function $p($){if(typeof this._flush==="function"&&!this.destroyed)this._flush((Y,q)=>{if(Y){if($)$(Y);else this.destroy(Y);return}if(q!=null)this.push(q);if(this.push(null),$)$()});else if(this.push(null),$)$()}function By1(){if(this._final!==$p)$p.call(this)}w3.prototype._final=$p;w3.prototype._transform=function($,Y,q){throw new Py1("_transform()")};w3.prototype._write=function($,Y,q){let z=this._readableState,J=this._writableState,U=z.length;this._transform($,Y,(I,Q)=>{if(I){q(I);return}if(Q!=null)this.push(Q);if(J.ended||U===z.length||z.length<z.highWaterMark)q();else this[cZ]=q})};w3.prototype._read=function(){if(this[cZ]){let $=this[cZ];this[cZ]=null,$()}}});var Jp=M((fq4,P_0)=>{var{ObjectSetPrototypeOf:D_0}=g4();P_0.exports=LI;var zp=qp();D_0(LI.prototype,zp.prototype);D_0(LI,zp);function LI($){if(!(this instanceof LI))return new LI($);zp.call(this,$)}LI.prototype._transform=function($,Y,q){q(null,$)}});var WP=M((bq4,j_0)=>{var pZ=J2(),{ArrayIsArray:Ty1,Promise:Ey1,SymbolAsyncIterator:jy1,SymbolDispose:_y1}=g4(),ZP=V3(),{once:Ry1}=R8(),Cy1=Kq(),A_0=V9(),{aggregateTwoErrors:vy1,codes:{ERR_INVALID_ARG_TYPE:Xp,ERR_INVALID_RETURN_VALUE:Up,ERR_MISSING_ARGS:hy1,ERR_STREAM_DESTROYED:gy1,ERR_STREAM_PREMATURE_CLOSE:Sy1},AbortError:yy1}=Z8(),{validateFunction:xy1,validateAbortSignal:ky1}=II(),{isIterable:Wq,isReadable:Ip,isReadableNodeStream:HP,isNodeStream:B_0,isTransformStream:wI,isWebStream:uy1,isReadableStream:Qp,isReadableFinished:fy1}=W9(),by1=globalThis.AbortController||JI().AbortController,Kp,Gp,Hp;function T_0($,Y,q){let z=!1;$.on("close",()=>{z=!0});let J=ZP($,{readable:Y,writable:q},(U)=>{z=!U});return{destroy:(U)=>{if(z)return;z=!0,Cy1.destroyer($,U||new gy1("pipe"))},cleanup:J}}function iy1($){return xy1($[$.length-1],"streams[stream.length - 1]"),$.pop()}function Zp($){if(Wq($))return $;else if(HP($))return ny1($);throw new Xp("val",["Readable","Iterable","AsyncIterable"],$)}async function*ny1($){if(!Gp)Gp=fZ();yield*Gp.prototype[jy1].call($)}async function GP($,Y,q,{end:z}){let J,U=null,I=(G)=>{if(G)J=G;if(U){let H=U;U=null,H()}},Q=()=>new Ey1((G,H)=>{if(J)H(J);else U=()=>{if(J)H(J);else G()}});Y.on("drain",I);let K=ZP(Y,{readable:!1},I);try{if(Y.writableNeedDrain)await Q();for await(let G of $)if(!Y.write(G))await Q();if(z)Y.end(),await Q();q()}catch(G){q(J!==G?vy1(J,G):G)}finally{K(),Y.off("drain",I)}}async function Wp($,Y,q,{end:z}){if(wI(Y))Y=Y.writable;let J=Y.getWriter();try{for await(let U of $)await J.ready,J.write(U).catch(()=>{});if(await J.ready,z)await J.close();q()}catch(U){try{await J.abort(U),q(U)}catch(I){q(I)}}}function cy1(...$){return E_0($,Ry1(iy1($)))}function E_0($,Y,q){if($.length===1&&Ty1($[0]))$=$[0];if($.length<2)throw new hy1("streams");let z=new by1,J=z.signal,U=q===null||q===void 0?void 0:q.signal,I=[];ky1(U,"options.signal");function Q(){L(new yy1)}Hp=Hp||R8().addAbortListener;let K;if(U)K=Hp(U,Q);let G,H,Z=[],V=0;function X(B){L(B,--V===0)}function L(B,A){var E;if(B&&(!G||G.code==="ERR_STREAM_PREMATURE_CLOSE"))G=B;if(!G&&!A)return;while(Z.length)Z.shift()(G);if((E=K)===null||E===void 0||E[_y1](),z.abort(),A){if(!G)I.forEach((y)=>y());pZ.nextTick(Y,G,H)}}let w;for(let B=0;B<$.length;B++){let A=$[B],E=B<$.length-1,y=B>0,v=E||(q===null||q===void 0?void 0:q.end)!==!1,k=B===$.length-1;if(B_0(A)){let C=function(c){if(c&&c.name!=="AbortError"&&c.code!=="ERR_STREAM_PREMATURE_CLOSE")X(c)};var P=C;if(v){let{destroy:c,cleanup:n}=T_0(A,E,y);if(Z.push(c),Ip(A)&&k)I.push(n)}if(A.on("error",C),Ip(A)&&k)I.push(()=>{A.removeListener("error",C)})}if(B===0)if(typeof A==="function"){if(w=A({signal:J}),!Wq(w))throw new Up("Iterable, AsyncIterable or Stream","source",w)}else if(Wq(A)||HP(A)||wI(A))w=A;else w=A_0.from(A);else if(typeof A==="function"){if(wI(w)){var F;w=Zp((F=w)===null||F===void 0?void 0:F.readable)}else w=Zp(w);if(w=A(w,{signal:J}),E){if(!Wq(w,!0))throw new Up("AsyncIterable",`transform[${B-1}]`,w)}else{var O;if(!Kp)Kp=Jp();let C=new Kp({objectMode:!0}),c=(O=w)===null||O===void 0?void 0:O.then;if(typeof c==="function")V++,c.call(w,(b)=>{if(H=b,b!=null)C.write(b);if(v)C.end();pZ.nextTick(X)},(b)=>{C.destroy(b),pZ.nextTick(X,b)});else if(Wq(w,!0))V++,GP(w,C,X,{end:v});else if(Qp(w)||wI(w)){let b=w.readable||w;V++,GP(b,C,X,{end:v})}else throw new Up("AsyncIterable or Promise","destination",w);w=C;let{destroy:n,cleanup:g}=T_0(w,!1,!0);if(Z.push(n),k)I.push(g)}}else if(B_0(A)){if(HP(w)){V+=2;let C=py1(w,A,X,{end:v});if(Ip(A)&&k)I.push(C)}else if(wI(w)||Qp(w)){let C=w.readable||w;V++,GP(C,A,X,{end:v})}else if(Wq(w))V++,GP(w,A,X,{end:v});else throw new Xp("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],w);w=A}else if(uy1(A)){if(HP(w))V++,Wp(Zp(w),A,X,{end:v});else if(Qp(w)||Wq(w))V++,Wp(w,A,X,{end:v});else if(wI(w))V++,Wp(w.readable,A,X,{end:v});else throw new Xp("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],w);w=A}else w=A_0.from(A)}if(J!==null&&J!==void 0&&J.aborted||U!==null&&U!==void 0&&U.aborted)pZ.nextTick(Q);return w}function py1($,Y,q,{end:z}){let J=!1;if(Y.on("close",()=>{if(!J)q(new Sy1)}),$.pipe(Y,{end:!1}),z){let I=function(){J=!0,Y.end()};var U=I;if(fy1($))pZ.nextTick(I);else $.once("end",I)}else q();return ZP($,{readable:!0,writable:!1},(I)=>{let Q=$._readableState;if(I&&I.code==="ERR_STREAM_PREMATURE_CLOSE"&&Q&&Q.ended&&!Q.errored&&!Q.errorEmitted)$.once("end",q).once("error",q);else q(I)}),ZP(Y,{readable:!1,writable:!0},q)}j_0.exports={pipelineImpl:E_0,pipeline:cy1}});var Lp=M((iq4,g_0)=>{var{pipeline:dy1}=WP(),XP=V9(),{destroyer:my1}=Kq(),{isNodeStream:VP,isReadable:__0,isWritable:R_0,isWebStream:Vp,isTransformStream:Xq,isWritableStream:C_0,isReadableStream:v_0}=W9(),{AbortError:ly1,codes:{ERR_INVALID_ARG_VALUE:h_0,ERR_MISSING_ARGS:oy1}}=Z8(),ry1=V3();g_0.exports=function(...Y){if(Y.length===0)throw new oy1("streams");if(Y.length===1)return XP.from(Y[0]);let q=[...Y];if(typeof Y[0]==="function")Y[0]=XP.from(Y[0]);if(typeof Y[Y.length-1]==="function"){let X=Y.length-1;Y[X]=XP.from(Y[X])}for(let X=0;X<Y.length;++X){if(!VP(Y[X])&&!Vp(Y[X]))continue;if(X<Y.length-1&&!(__0(Y[X])||v_0(Y[X])||Xq(Y[X])))throw new h_0(`streams[${X}]`,q[X],"must be readable");if(X>0&&!(R_0(Y[X])||C_0(Y[X])||Xq(Y[X])))throw new h_0(`streams[${X}]`,q[X],"must be writable")}let z,J,U,I,Q;function K(X){let L=I;if(I=null,L)L(X);else if(X)Q.destroy(X);else if(!V&&!Z)Q.destroy()}let G=Y[0],H=dy1(Y,K),Z=!!(R_0(G)||C_0(G)||Xq(G)),V=!!(__0(H)||v_0(H)||Xq(H));if(Q=new XP({writableObjectMode:!!(G!==null&&G!==void 0&&G.writableObjectMode),readableObjectMode:!!(H!==null&&H!==void 0&&H.readableObjectMode),writable:Z,readable:V}),Z){if(VP(G))Q._write=function(L,w,F){if(G.write(L,w))F();else z=F},Q._final=function(L){G.end(),J=L},G.on("drain",function(){if(z){let L=z;z=null,L()}});else if(Vp(G)){let w=(Xq(G)?G.writable:G).getWriter();Q._write=async function(F,O,P){try{await w.ready,w.write(F).catch(()=>{}),P()}catch(B){P(B)}},Q._final=async function(F){try{await w.ready,w.close().catch(()=>{}),J=F}catch(O){F(O)}}}let X=Xq(H)?H.readable:H;ry1(X,()=>{if(J){let L=J;J=null,L()}})}if(V){if(VP(H))H.on("readable",function(){if(U){let X=U;U=null,X()}}),H.on("end",function(){Q.push(null)}),Q._read=function(){while(!0){let X=H.read();if(X===null){U=Q._read;return}if(!Q.push(X))return}};else if(Vp(H)){let L=(Xq(H)?H.readable:H).getReader();Q._read=async function(){while(!0)try{let{value:w,done:F}=await L.read();if(!Q.push(w))return;if(F){Q.push(null);return}}catch{return}}}}return Q._destroy=function(X,L){if(!X&&I!==null)X=new ly1;if(U=null,z=null,J=null,I===null)L(X);else if(I=L,VP(H))my1(H,X)},Q}});var p_0=M((Ax1,Fp)=>{var sy1=globalThis.AbortController||JI().AbortController,{codes:{ERR_INVALID_ARG_VALUE:ty1,ERR_INVALID_ARG_TYPE:dZ,ERR_MISSING_ARGS:ay1,ERR_OUT_OF_RANGE:ey1},AbortError:L9}=Z8(),{validateAbortSignal:Vq,validateInteger:S_0,validateObject:Lq}=II(),$x1=g4().Symbol("kWeak"),Yx1=g4().Symbol("kResistStopPropagation"),{finished:qx1}=V3(),zx1=Lp(),{addAbortSignalNoValidate:Jx1}=xZ(),{isWritable:Ux1,isNodeStream:Ix1}=W9(),{deprecate:Qx1}=R8(),{ArrayPrototypePush:Kx1,Boolean:Gx1,MathFloor:y_0,Number:Hx1,NumberIsNaN:Zx1,Promise:x_0,PromiseReject:k_0,PromiseResolve:Wx1,PromisePrototypeThen:u_0,Symbol:b_0}=g4(),LP=b_0("kEmpty"),f_0=b_0("kEof");function Xx1($,Y){if(Y!=null)Lq(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Vq(Y.signal,"options.signal");if(Ix1($)&&!Ux1($))throw new ty1("stream",$,"must be writable");let q=zx1(this,$);if(Y!==null&&Y!==void 0&&Y.signal)Jx1(Y.signal,q);return q}function wP($,Y){if(typeof $!=="function")throw new dZ("fn",["Function","AsyncFunction"],$);if(Y!=null)Lq(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Vq(Y.signal,"options.signal");let q=1;if((Y===null||Y===void 0?void 0:Y.concurrency)!=null)q=y_0(Y.concurrency);let z=q-1;if((Y===null||Y===void 0?void 0:Y.highWaterMark)!=null)z=y_0(Y.highWaterMark);return S_0(q,"options.concurrency",1),S_0(z,"options.highWaterMark",0),z+=q,async function*(){let U=R8().AbortSignalAny([Y===null||Y===void 0?void 0:Y.signal].filter(Gx1)),I=this,Q=[],K={signal:U},G,H,Z=!1,V=0;function X(){Z=!0,L()}function L(){V-=1,w()}function w(){if(H&&!Z&&V<q&&Q.length<z)H(),H=null}async function F(){try{for await(let O of I){if(Z)return;if(U.aborted)throw new L9;try{if(O=$(O,K),O===LP)continue;O=Wx1(O)}catch(P){O=k_0(P)}if(V+=1,u_0(O,L,X),Q.push(O),G)G(),G=null;if(!Z&&(Q.length>=z||V>=q))await new x_0((P)=>{H=P})}Q.push(f_0)}catch(O){let P=k_0(O);u_0(P,L,X),Q.push(P)}finally{if(Z=!0,G)G(),G=null}}F();try{while(!0){while(Q.length>0){let O=await Q[0];if(O===f_0)return;if(U.aborted)throw new L9;if(O!==LP)yield O;Q.shift(),w()}await new x_0((O)=>{G=O})}}finally{if(Z=!0,H)H(),H=null}}.call(this)}function Vx1($=void 0){if($!=null)Lq($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)Vq($.signal,"options.signal");return async function*(){let q=0;for await(let J of this){var z;if($!==null&&$!==void 0&&(z=$.signal)!==null&&z!==void 0&&z.aborted)throw new L9({cause:$.signal.reason});yield[q++,J]}}.call(this)}async function i_0($,Y=void 0){for await(let q of wp.call(this,$,Y))return!0;return!1}async function Lx1($,Y=void 0){if(typeof $!=="function")throw new dZ("fn",["Function","AsyncFunction"],$);return!await i_0.call(this,async(...q)=>{return!await $(...q)},Y)}async function wx1($,Y){for await(let q of wp.call(this,$,Y))return q;return}async function Fx1($,Y){if(typeof $!=="function")throw new dZ("fn",["Function","AsyncFunction"],$);async function q(z,J){return await $(z,J),LP}for await(let z of wP.call(this,q,Y));}function wp($,Y){if(typeof $!=="function")throw new dZ("fn",["Function","AsyncFunction"],$);async function q(z,J){if(await $(z,J))return z;return LP}return wP.call(this,q,Y)}class n_0 extends ay1{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function Ox1($,Y,q){var z;if(typeof $!=="function")throw new dZ("reducer",["Function","AsyncFunction"],$);if(q!=null)Lq(q,"options");if((q===null||q===void 0?void 0:q.signal)!=null)Vq(q.signal,"options.signal");let J=arguments.length>1;if(q!==null&&q!==void 0&&(z=q.signal)!==null&&z!==void 0&&z.aborted){let G=new L9(void 0,{cause:q.signal.reason});throw this.once("error",()=>{}),await qx1(this.destroy(G)),G}let U=new sy1,I=U.signal;if(q!==null&&q!==void 0&&q.signal){let G={once:!0,[$x1]:this,[Yx1]:!0};q.signal.addEventListener("abort",()=>U.abort(),G)}let Q=!1;try{for await(let G of this){var K;if(Q=!0,q!==null&&q!==void 0&&(K=q.signal)!==null&&K!==void 0&&K.aborted)throw new L9;if(!J)Y=G,J=!0;else Y=await $(Y,G,{signal:I})}if(!Q&&!J)throw new n_0}finally{U.abort()}return Y}async function Mx1($){if($!=null)Lq($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)Vq($.signal,"options.signal");let Y=[];for await(let z of this){var q;if($!==null&&$!==void 0&&(q=$.signal)!==null&&q!==void 0&&q.aborted)throw new L9(void 0,{cause:$.signal.reason});Kx1(Y,z)}return Y}function Nx1($,Y){let q=wP.call(this,$,Y);return async function*(){for await(let J of q)yield*J}.call(this)}function c_0($){if($=Hx1($),Zx1($))return 0;if($<0)throw new ey1("number",">= 0",$);return $}function Dx1($,Y=void 0){if(Y!=null)Lq(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Vq(Y.signal,"options.signal");return $=c_0($),async function*(){var z;if(Y!==null&&Y!==void 0&&(z=Y.signal)!==null&&z!==void 0&&z.aborted)throw new L9;for await(let U of this){var J;if(Y!==null&&Y!==void 0&&(J=Y.signal)!==null&&J!==void 0&&J.aborted)throw new L9;if($--<=0)yield U}}.call(this)}function Px1($,Y=void 0){if(Y!=null)Lq(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Vq(Y.signal,"options.signal");return $=c_0($),async function*(){var z;if(Y!==null&&Y!==void 0&&(z=Y.signal)!==null&&z!==void 0&&z.aborted)throw new L9;for await(let U of this){var J;if(Y!==null&&Y!==void 0&&(J=Y.signal)!==null&&J!==void 0&&J.aborted)throw new L9;if($-- >0)yield U;if($<=0)return}}.call(this)}Ax1.streamReturningOperators={asIndexedPairs:Qx1(Vx1,"readable.asIndexedPairs will be removed in a future version."),drop:Dx1,filter:wp,flatMap:Nx1,map:wP,take:Px1,compose:Xx1};Ax1.promiseReturningOperators={every:Lx1,forEach:Fx1,reduce:Ox1,toArray:Mx1,some:i_0,find:wx1}});var Op=M((nq4,d_0)=>{var{ArrayPrototypePop:Ex1,Promise:jx1}=g4(),{isIterable:_x1,isNodeStream:Rx1,isWebStream:Cx1}=W9(),{pipelineImpl:vx1}=WP(),{finished:hx1}=V3();Mp();function gx1(...$){return new jx1((Y,q)=>{let z,J,U=$[$.length-1];if(U&&typeof U==="object"&&!Rx1(U)&&!_x1(U)&&!Cx1(U)){let I=Ex1($);z=I.signal,J=I.end}vx1($,(I,Q)=>{if(I)q(I);else Y(Q)},{signal:z,end:J})})}d_0.exports={finished:hx1,pipeline:gx1}});var Mp=M((cq4,$R0)=>{var{Buffer:Sx1}=m("buffer"),{ObjectDefineProperty:F3,ObjectKeys:o_0,ReflectApply:r_0}=g4(),{promisify:{custom:s_0}}=R8(),{streamReturningOperators:m_0,promiseReturningOperators:l_0}=p_0(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:t_0}}=Z8(),yx1=Lp(),{setDefaultHighWaterMark:xx1,getDefaultHighWaterMark:kx1}=kZ(),{pipeline:a_0}=WP(),{destroyer:ux1}=Kq(),e_0=V3(),Np=Op(),mZ=W9(),j4=$R0.exports=sD().Stream;j4.isDestroyed=mZ.isDestroyed;j4.isDisturbed=mZ.isDisturbed;j4.isErrored=mZ.isErrored;j4.isReadable=mZ.isReadable;j4.isWritable=mZ.isWritable;j4.Readable=fZ();for(let $ of o_0(m_0)){let q=function(...z){if(new.target)throw t_0();return j4.Readable.from(r_0(Y,this,z))},Y=m_0[$];F3(q,"name",{__proto__:null,value:Y.name}),F3(q,"length",{__proto__:null,value:Y.length}),F3(j4.Readable.prototype,$,{__proto__:null,value:q,enumerable:!1,configurable:!0,writable:!0})}for(let $ of o_0(l_0)){let q=function(...z){if(new.target)throw t_0();return r_0(Y,this,z)},Y=l_0[$];F3(q,"name",{__proto__:null,value:Y.name}),F3(q,"length",{__proto__:null,value:Y.length}),F3(j4.Readable.prototype,$,{__proto__:null,value:q,enumerable:!1,configurable:!0,writable:!0})}j4.Writable=KP();j4.Duplex=V9();j4.Transform=qp();j4.PassThrough=Jp();j4.pipeline=a_0;var{addAbortSignal:fx1}=xZ();j4.addAbortSignal=fx1;j4.finished=e_0;j4.destroy=ux1;j4.compose=yx1;j4.setDefaultHighWaterMark=xx1;j4.getDefaultHighWaterMark=kx1;F3(j4,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return Np}});F3(a_0,s_0,{__proto__:null,enumerable:!0,get(){return Np.pipeline}});F3(e_0,s_0,{__proto__:null,enumerable:!0,get(){return Np.finished}});j4.Stream=j4;j4._isUint8Array=function(Y){return Y instanceof Uint8Array};j4._uint8ArrayToBuffer=function(Y){return Sx1.from(Y.buffer,Y.byteOffset,Y.byteLength)}});var wq=M((pq4,w1)=>{var A6=m("stream");if(A6&&process.env.READABLE_STREAM==="disable"){let $=A6.promises;w1.exports._uint8ArrayToBuffer=A6._uint8ArrayToBuffer,w1.exports._isUint8Array=A6._isUint8Array,w1.exports.isDisturbed=A6.isDisturbed,w1.exports.isErrored=A6.isErrored,w1.exports.isReadable=A6.isReadable,w1.exports.Readable=A6.Readable,w1.exports.Writable=A6.Writable,w1.exports.Duplex=A6.Duplex,w1.exports.Transform=A6.Transform,w1.exports.PassThrough=A6.PassThrough,w1.exports.addAbortSignal=A6.addAbortSignal,w1.exports.finished=A6.finished,w1.exports.destroy=A6.destroy,w1.exports.pipeline=A6.pipeline,w1.exports.compose=A6.compose,Object.defineProperty(A6,"promises",{configurable:!0,enumerable:!0,get(){return $}}),w1.exports.Stream=A6.Stream}else{let $=Mp(),Y=Op(),q=$.Readable.destroy;w1.exports=$.Readable,w1.exports._uint8ArrayToBuffer=$._uint8ArrayToBuffer,w1.exports._isUint8Array=$._isUint8Array,w1.exports.isDisturbed=$.isDisturbed,w1.exports.isErrored=$.isErrored,w1.exports.isReadable=$.isReadable,w1.exports.Readable=$.Readable,w1.exports.Writable=$.Writable,w1.exports.Duplex=$.Duplex,w1.exports.Transform=$.Transform,w1.exports.PassThrough=$.PassThrough,w1.exports.addAbortSignal=$.addAbortSignal,w1.exports.finished=$.finished,w1.exports.destroy=$.destroy,w1.exports.destroy=q,w1.exports.pipeline=$.pipeline,w1.exports.compose=$.compose,Object.defineProperty($,"promises",{configurable:!0,enumerable:!0,get(){return Y}}),w1.exports.Stream=$.Stream}w1.exports.default=w1.exports});function zR0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function JR0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(q2($))return $.pipe(new qR0.PassThrough);return $}function UR0($){return YR0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}function Dp($){return $.slice(-1)!=="/"?$+"/":$}var YR0,qR0;var FP=e(()=>{YR0=y4(MY(),1),qR0=y4(wq(),1)});import{createReadStream as bx1,lstat as ix1,readlinkSync as nx1,Stats as cx1}from"fs";import{dirname as px1,relative as dx1,resolve as mx1}from"path";var IR0,Ap,QR0,lx1,Pp,OP;var KR0=e(()=>{lT0();oT0();FP();IR0=y4(JM(),1),Ap=y4(ax(),1),QR0=y4(wq(),1),{ReaddirGlob:lx1}=Zc,Pp=process.platform==="win32";OP=class OP extends QR0.Transform{_supportsDirectory=!1;_supportsSymlink=!1;constructor($){$={highWaterMark:1048576,statConcurrency:4,...$};super($);this.options=$,this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=Ap.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=Ap.queue(this._onStatQueueTask.bind(this),$.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]}_abort(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()}_append($,Y){Y=Y||{};let q={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,q.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof cx1){if(q=this._updateQueueTaskWithStats(q,Y.stats),q){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(q)}}else this._statQueue.push(q)}_finalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0}_maybeFinalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1}_moduleAppend($,Y,q){if(this._state.aborted){q();return}this._module.append($,Y,function(z){if(this._task=null,this._state.aborted){this._shutdown();return}if(z){this.emit("error",z),setImmediate(q);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(q)}.bind(this))}_moduleFinalize(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new q6("NOENDMETHOD"))}_modulePipe(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0}_moduleUnpipe(){this._module.unpipe(this),this._state.modulePiped=!1}_normalizeEntryData($,Y){if($={type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1,...$},Y&&$.stats===!1)$.stats=Y;let q=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=UR0($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")q=!0,$.type="directory";else if(q)$.name+="/"}if(typeof $.mode==="number")if(Pp)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(Pp)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(Pp&&q)$.mode=493}else if($.mode===null)$.mode=q?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=zR0($.date);return $}_onModuleError($){this.emit("error",$)}_onQueueDrain(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()}_onQueueTask($,Y){let q=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){q();return}this._task=$,this._moduleAppend($.source,$.data,q)}_onStatQueueTask($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}ix1($.filepath,function(q,z){if(this._state.aborted){setImmediate(Y);return}if(q){this._entriesCount--,this.emit("warning",q),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,z),$){if(z.size)this._fsEntriesTotalBytes+=z.size;this._queue.push($)}setImmediate(Y)}.bind(this))}_shutdown(){this._moduleUnpipe(),this.end()}_transform($,Y,q){if($)this._pointer+=$.length;q(null,$)}_updateQueueTaskWithStats($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=new IR0.Readable(function(){return bx1($.filepath)});else if(Y.isDirectory()&&this._supportsDirectory)$.data.name=Dp($.data.name),$.data.type="directory",$.data.sourcePath=Dp($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._supportsSymlink){let q=nx1($.filepath),z=px1($.filepath);$.data.type="symlink",$.data.linkname=dx1(z,mx1(z,q)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new q6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new q6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new q6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$}abort(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this}append($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new q6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new q6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._supportsDirectory)return this.emit("error",new q6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=JR0($),Buffer.isBuffer($))Y.sourceType="buffer";else if(q2($))Y.sourceType="stream";else return this.emit("error",new q6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this}directory($,Y,q){if(this._state.finalize||this._state.aborted)return this.emit("error",new q6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new q6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var z=!1;if(typeof q==="function")z=q,q={};else if(typeof q!=="object")q={};var J={stat:!0,dot:!0};function U(){this._pending--,this._maybeFinalize()}function I(G){this.emit("error",G)}function Q(G){K.pause();let H=!1,Z=Object.assign({},q);Z.name=G.relative,Z.prefix=Y,Z.stats=G.stat,Z.callback=K.resume.bind(K);try{if(z){if(Z=z(Z),Z===!1)H=!0;else if(typeof Z!=="object")throw new q6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(V){this.emit("error",V);return}if(H){K.resume();return}this._append(G.absolute,Z)}let K=Zc($,J);return K.on("error",I.bind(this)),K.on("match",Q.bind(this)),K.on("end",U.bind(this)),this}file($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new q6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new q6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this}glob($,Y,q){this._pending++,Y={stat:!0,pattern:$,...Y};function z(){this._pending--,this._maybeFinalize()}function J(Q){this.emit("error",Q)}function U(Q){I.pause();let K=Object.assign({},q);K.callback=I.resume.bind(I),K.stats=Q.stat,K.name=Q.relative,this._append(Q.absolute,K)}let I=new lx1(Y.cwd||".",Y);return I.on("error",J.bind(this)),I.on("match",U.bind(this)),I.on("end",z.bind(this)),this}finalize(){if(this._state.aborted){var $=new q6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new q6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var q=this;return new Promise(function(z,J){var U;q._module.on("end",function(){if(!U)z()}),q._module.on("error",function(I){U=!0,J(I)})})}symlink($,Y,q){if(this._state.finalize||this._state.aborted)return this.emit("error",new q6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new q6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new q6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._supportsSymlink)return this.emit("error",new q6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var z={};if(z.type="symlink",z.name=$.replace(/\\/g,"/"),z.linkname=Y.replace(/\\/g,"/"),z.sourceType="buffer",typeof q==="number")z.mode=q;return this._entriesCount++,this._queue.push({data:z,source:Buffer.concat([])}),this}pointer(){return this._pointer}}});class Fq{getName(){}getSize(){}getLastModifiedDate(){}isDirectory(){}}function GR0($,Y){Y=Y||!1;var q=Y?$.getFullYear():$.getUTCFullYear();if(q<1980)return 2162688;else if(q>=2044)return 2141175677;var z={year:q,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return z.year-1980<<25|z.month+1<<21|z.date<<16|z.hours<<11|z.minutes<<5|z.seconds/2}function HR0($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)}function o$($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y}function z6($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y}function ZR0($,Y){return $.readUInt16LE(Y)}function c4($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y}var MP=()=>{};class Oq{constructor(){return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this}encode(){return z6((this.descriptor?WR0:0)|(this.utf8?LR0:0)|(this.encryption?XR0:0)|(this.strongEncryption?VR0:0))}static parse($,Y){var q=ZR0($,Y),z=new Oq;return z.useDataDescriptor((q&WR0)!==0),z.useUTF8ForNames((q&LR0)!==0),z.useStrongEncryption((q&VR0)!==0),z.useEncryption((q&XR0)!==0),z.setSlidingDictionarySize((q&rx1)!==0?8192:4096),z.setNumberOfShannonFanoTrees((q&ox1)!==0?3:2),z}setNumberOfShannonFanoTrees($){this.numberOfShannonFanoTrees=$}getNumberOfShannonFanoTrees(){return this.numberOfShannonFanoTrees}setSlidingDictionarySize($){this.slidingDictionarySize=$}getSlidingDictionarySize(){return this.slidingDictionarySize}useDataDescriptor($){this.descriptor=$}usesDataDescriptor(){return this.descriptor}useEncryption($){this.encryption=$}usesEncryption(){return this.encryption}useStrongEncryption($){this.strongEncryption=$}usesStrongEncryption(){return this.strongEncryption}useUTF8ForNames($){this.utf8=$}usesUTF8ForNames(){return this.utf8}}var WR0=8,XR0=1,ox1=4,rx1=2,VR0=64,LR0=2048;var Bp=e(()=>{MP()});var Tp;var wR0=e(()=>{Tp={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var FR0,OR0=65535,Ep=16,NP,Mq,MR0=10,jp=20,lZ=45,NR0=45,DP=0,oZ=8,_p=3,DR0=0,PR0=67324752,AR0=134695760,BR0=33639248,TR0=101010256,ER0=101075792,jR0=117853008,Rp=65535,r$=4294967295,_R0=1,RR0=1,CR0=4095,vR0=16384,hR0=32768,gR0=32,SR0=16;var Cp=e(()=>{FR0=Buffer.alloc(0),NP=Buffer.from(Array(2)),Mq=Buffer.from(Array(4))});var yR0,FI;var vp=e(()=>{Bp();wR0();Cp();MP();yR0=y4(MY(),1);FI=class FI extends Fq{constructor($){super();if(this.platform=DR0,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new Oq,this.crc=0,this.time=-1,this.minver=MR0,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)}getCentralDirectoryExtra(){return this.getExtra()}getComment(){return this.comment!==null?this.comment:""}getCompressedSize(){return this.csize}getCrc(){return this.crc}getExternalAttributes=function(){return this.exattr};getExtra(){return this.extra!==null?this.extra:FR0}getGeneralPurposeBit(){return this.gpb}getInternalAttributes(){return this.inattr}getLastModifiedDate(){return this.getTime()}getLocalFileDataExtra(){return this.getExtra()}getMethod(){return this.method}getName(){return this.name}getPlatform(){return this.platform}getSize(){return this.size}getTime(){return this.time!==-1?HR0(this.time):-1}getTimeDos(){return this.time!==-1?this.time:0}getUnixMode(){return this.platform!==_p?0:this.getExternalAttributes()>>Ep&OR0}getVersionNeededToExtract(){return this.minver}setComment($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$}setCompressedSize($){if($<0)throw Error("invalid entry compressed size");this.csize=$}setCrc($){if($<0)throw Error("invalid entry crc32");this.crc=$}setExternalAttributes($){this.exattr=$>>>0}setExtra($){this.extra=$}setGeneralPurposeBit($){if(!($ instanceof Oq))throw Error("invalid entry GeneralPurposeBit");this.gpb=$}setInternalAttributes($){this.inattr=$}setMethod($){if($<0)throw Error("invalid entry compression method");this.method=$}setName($,Y=!1){if($=yR0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$}setPlatform($){this.platform=$}setSize($){if($<0)throw Error("invalid entry size");this.size=$}setTime($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=GR0($,Y)}setUnixMode($){$|=this.isDirectory()?vR0:hR0;var Y=0;Y|=$<<Ep|(this.isDirectory()?SR0:gR0),this.setExternalAttributes(Y),this.mode=$&CR0,this.platform=_p}setVersionNeededToExtract($){this.minver=$}isDirectory(){return this.getName().slice(-1)==="/"}isUnixSymlink(){return(this.getUnixMode()&Tp.FILE_TYPE_FLAG)===Tp.LINK_FLAG}isZip64(){return this.csize>r$||this.size>r$}}});function kR0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(q2($)&&!$._readableState){var Y=new xR0.PassThrough;return $.pipe(Y),Y}return $}var xR0;var uR0=e(()=>{xR0=y4(wq(),1)});var fR0,rZ;var hp=e(()=>{uR0();fR0=y4(wq(),1);rZ=class rZ extends fR0.Transform{constructor($){super($);this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}}_appendBuffer($,Y,q){}_appendStream($,Y,q){}_emitErrorCallback=function($){if($)this.emit("error",$)};_finish($){}_normalizeEntry($){}_transform($,Y,q){q(null,$)}entry($,Y,q){if(Y=Y||null,typeof q!=="function")q=this._emitErrorCallback.bind(this);if(!($ instanceof Fq)){q(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){q(Error("unacceptable entry after finish"));return}if(this._archive.processing){q(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=kR0(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,q);else if(q2(Y))this._appendStream($,Y,q);else{this._archive.processing=!1,q(Error("input source must be valid Stream or Buffer instance"));return}return this}finish(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()}getBytesWritten(){return this.offset}write($,Y){if($)this.offset+=$.length;return super.write($,Y)}}});var bR0,iR0,sZ;var nR0=e(()=>{bR0=y4(wq(),1),iR0=y4(GU(),1);sZ=class sZ extends bR0.Transform{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,q){if($)this.checksum=iR0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;q(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}});import{DeflateRaw as sx1}from"zlib";var cR0,tZ;var pR0=e(()=>{cR0=y4(GU(),1);tZ=class tZ extends sx1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,q){if($)this.checksum=cR0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,q)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}});var dR0=e(()=>{nR0();pR0()});function tx1($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=RR0;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$}var mR0,aZ;var lR0=e(()=>{dR0();hp();vp();Bp();Cp();MP();mR0=y4(GU(),1);aZ=class aZ extends rZ{constructor($){let Y=tx1($);super(Y);this.options=Y,this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:Y.forceZip64,forceLocalTime:Y.forceLocalTime}}_afterAppend($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()}_appendBuffer($,Y,q){if(Y.length===0)$.setMethod(DP);var z=$.getMethod();if(z===DP)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(mR0.default.buf(Y)>>>0);if(this._writeLocalFileHeader($),z===DP){this.write(Y),this._afterAppend($),q(null,$);return}else if(z===oZ){this._smartStream($,q).end(Y);return}else{q(Error("compression method "+z+" not implemented"));return}}_appendStream($,Y,q){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(jp),this._writeLocalFileHeader($);var z=this._smartStream($,q);Y.once("error",function(J){z.emit("error",J),z.end()}),Y.pipe(z)}_finish(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()}_normalizeEntry($){if($.getMethod()===-1)$.setMethod(oZ);if($.getMethod()===oZ)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(jp);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}}_smartStream($,Y){var q=$.getMethod()===oZ,z=q?new tZ(this.options.zlib):new sZ,J=null;function U(){var I=z.digest().readUInt32BE(0);$.setCrc(I),$.setSize(z.size()),$.setCompressedSize(z.size(!0)),this._afterAppend($),Y(J,$)}return z.once("end",U.bind(this)),z.once("error",function(I){J=I}),z.pipe(this,{end:!1}),z}_writeCentralDirectoryEnd(){var $=this._entries.length,Y=this._archive.centralLength,q=this._archive.centralOffset;if(this.isZip64())$=Rp,Y=r$,q=r$;this.write(c4(TR0)),this.write(NP),this.write(NP),this.write(z6($)),this.write(z6($)),this.write(c4(Y)),this.write(c4(q));var z=this.getComment(),J=Buffer.byteLength(z);this.write(z6(J)),this.write(z)}_writeCentralDirectoryZip64(){this.write(c4(ER0)),this.write(o$(44)),this.write(z6(lZ)),this.write(z6(lZ)),this.write(Mq),this.write(Mq),this.write(o$(this._entries.length)),this.write(o$(this._entries.length)),this.write(o$(this._archive.centralLength)),this.write(o$(this._archive.centralOffset)),this.write(c4(jR0)),this.write(Mq),this.write(o$(this._archive.centralOffset+this._archive.centralLength)),this.write(c4(1))}_writeCentralFileHeader($){var Y=$.getGeneralPurposeBit(),q=$.getMethod(),z=$._offsets.file,J=$.getSize(),U=$.getCompressedSize();if($.isZip64()||z>r$){J=r$,U=r$,z=r$,$.setVersionNeededToExtract(lZ);var I=Buffer.concat([z6(_R0),z6(24),o$($.getSize()),o$($.getCompressedSize()),o$($._offsets.file)],28);$.setExtra(I)}this.write(c4(BR0)),this.write(z6($.getPlatform()<<8|NR0)),this.write(z6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(z6(q)),this.write(c4($.getTimeDos())),this.write(c4($.getCrc())),this.write(c4(U)),this.write(c4(J));var Q=$.getName(),K=$.getComment(),G=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())Q=Buffer.from(Q),K=Buffer.from(K);this.write(z6(Q.length)),this.write(z6(G.length)),this.write(z6(K.length)),this.write(NP),this.write(z6($.getInternalAttributes())),this.write(c4($.getExternalAttributes())),this.write(c4(z)),this.write(Q),this.write(G),this.write(K)}_writeDataDescriptor($){if(this.write(c4(AR0)),this.write(c4($.getCrc())),$.isZip64())this.write(o$($.getCompressedSize())),this.write(o$($.getSize()));else this.write(c4($.getCompressedSize())),this.write(c4($.getSize()))}_writeLocalFileHeader($){var Y=$.getGeneralPurposeBit(),q=$.getMethod(),z=$.getName(),J=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(lZ);if(Y.usesUTF8ForNames())z=Buffer.from(z);if($._offsets.file=this.offset,this.write(c4(PR0)),this.write(z6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(z6(q)),this.write(c4($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(Mq),this.write(Mq),this.write(Mq);else this.write(c4($.getCrc())),this.write(c4($.getCompressedSize())),this.write(c4($.getSize()));this.write(z6(z.length)),this.write(z6(J.length)),this.write(z),this.write(J),$._offsets.contents=this.offset}getComment($){return this._archive.comment!==null?this._archive.comment:""}isZip64(){return this._archive.forceZip64||this._entries.length>Rp||this._archive.centralLength>r$||this._archive.centralOffset>r$}setComment($){this._archive.comment=$}}});var oR0=e(()=>{vp();hp();lR0()});function sR0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function tR0($){return rR0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}var rR0;var aR0=e(()=>{rR0=y4(MY(),1)});var PP;var eR0=e(()=>{oR0();aR0();PP=class PP extends aZ{constructor($){if($=$||{},$.zlib=$.zlib||{},typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;$.namePrependSlash=$.namePrependSlash||!1;super($);if($.comment&&$.comment.length>0)this.setComment($.comment)}_normalizeFileData($){$={type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:"",...$};let Y=$.type==="directory",q=$.type==="symlink";if($.name){if($.name=tR0($.name),!q&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||q)$.store=!0;return $.date=sR0($.date),$}entry($,Y,q){if(typeof q!=="function")q=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){q(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){q(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){q(Error("entry linkname must be a non-empty string value when type equals symlink"));return}let z=new FI(Y.name);if(z.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)z.setName(Y.name,!0);if(Y.store)z.setMethod(0);if(Y.comment.length>0)z.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;z.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return super.entry(z,$,q)}finalize(){this.finish()}}});class AP{constructor($){$=this.options={comment:"",forceUTC:!1,namePrependSlash:!1,store:!1,...$},this.engine=new PP($)}append($,Y,q){this.engine.entry($,Y,q)}finalize(){this.engine.finalize()}on(){return this.engine.on.apply(this.engine,arguments)}pipe(){return this.engine.pipe.apply(this.engine,arguments)}unpipe(){return this.engine.unpipe.apply(this.engine,arguments)}}var $C0=e(()=>{eR0()});var qC0=M((JJ4,YC0)=>{YC0.exports=class{constructor(Y){if(!(Y>0)||(Y-1&Y)!==0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(Y),this.mask=Y-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(Y){if(this.buffer[this.top]!==void 0)return!1;return this.buffer[this.top]=Y,this.top=this.top+1&this.mask,!0}shift(){let Y=this.buffer[this.btm];if(Y===void 0)return;return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,Y}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var gp=M((UJ4,JC0)=>{var zC0=qC0();JC0.exports=class{constructor(Y){this.hwm=Y||16,this.head=new zC0(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(Y){if(this.length++,!this.head.push(Y)){let q=this.head;this.head=q.next=new zC0(2*this.head.buffer.length),this.head.push(Y)}}shift(){if(this.length!==0)this.length--;let Y=this.tail.shift();if(Y===void 0&&this.tail.next){let q=this.tail.next;return this.tail.next=null,this.tail=q,this.tail.shift()}return Y}peek(){let Y=this.tail.peek();if(Y===void 0&&this.tail.next)return this.tail.next.peek();return Y}isEmpty(){return this.length===0}}});var OI=M((IJ4,UC0)=>{function ax1($){return Buffer.isBuffer($)||$ instanceof Uint8Array}function ex1($){return Buffer.isEncoding($)}function $k1($,Y,q){return Buffer.alloc($,Y,q)}function Yk1($){return Buffer.allocUnsafe($)}function qk1($){return Buffer.allocUnsafeSlow($)}function zk1($,Y){return Buffer.byteLength($,Y)}function Jk1($,Y){return Buffer.compare($,Y)}function Uk1($,Y){return Buffer.concat($,Y)}function Ik1($,Y,q,z,J){return $4($).copy(Y,q,z,J)}function Qk1($,Y){return $4($).equals(Y)}function Kk1($,Y,q,z,J){return $4($).fill(Y,q,z,J)}function Gk1($,Y,q){return Buffer.from($,Y,q)}function Hk1($,Y,q,z){return $4($).includes(Y,q,z)}function Zk1($,Y,q,z){return $4($).indexOf(Y,q,z)}function Wk1($,Y,q,z){return $4($).lastIndexOf(Y,q,z)}function Xk1($){return $4($).swap16()}function Vk1($){return $4($).swap32()}function Lk1($){return $4($).swap64()}function $4($){if(Buffer.isBuffer($))return $;return Buffer.from($.buffer,$.byteOffset,$.byteLength)}function wk1($,Y,q,z){return $4($).toString(Y,q,z)}function Fk1($,Y,q){return $4($).toString("hex",Y,q)}function Ok1($,Y,q,z,J){return $4($).write(Y,q,z,J)}function Mk1($,Y){return $4($).readDoubleBE(Y)}function Nk1($,Y){return $4($).readDoubleLE(Y)}function Dk1($,Y){return $4($).readFloatBE(Y)}function Pk1($,Y){return $4($).readFloatLE(Y)}function Ak1($,Y){return $4($).readInt32BE(Y)}function Bk1($,Y){return $4($).readInt32LE(Y)}function Tk1($,Y){return $4($).readUInt32BE(Y)}function Ek1($,Y){return $4($).readUInt32LE(Y)}function jk1($,Y,q){return $4($).writeDoubleBE(Y,q)}function _k1($,Y,q){return $4($).writeDoubleLE(Y,q)}function Rk1($,Y,q){return $4($).writeFloatBE(Y,q)}function Ck1($,Y,q){return $4($).writeFloatLE(Y,q)}function vk1($,Y,q){return $4($).writeInt32BE(Y,q)}function hk1($,Y,q){return $4($).writeInt32LE(Y,q)}function gk1($,Y,q){return $4($).writeUInt32BE(Y,q)}function Sk1($,Y,q){return $4($).writeUInt32LE(Y,q)}UC0.exports={isBuffer:ax1,isEncoding:ex1,alloc:$k1,allocUnsafe:Yk1,allocUnsafeSlow:qk1,byteLength:zk1,compare:Jk1,concat:Uk1,copy:Ik1,equals:Qk1,fill:Kk1,from:Gk1,includes:Hk1,indexOf:Zk1,lastIndexOf:Wk1,swap16:Xk1,swap32:Vk1,swap64:Lk1,toBuffer:$4,toString:wk1,toHex:Fk1,write:Ok1,readDoubleBE:Mk1,readDoubleLE:Nk1,readFloatBE:Dk1,readFloatLE:Pk1,readInt32BE:Ak1,readInt32LE:Bk1,readUInt32BE:Tk1,readUInt32LE:Ek1,writeDoubleBE:jk1,writeDoubleLE:_k1,writeFloatBE:Rk1,writeFloatLE:Ck1,writeInt32BE:vk1,writeInt32LE:hk1,writeUInt32BE:gk1,writeUInt32LE:Sk1}});var QC0=M((QJ4,IC0)=>{var yk1=OI();IC0.exports=class{constructor(Y){this.encoding=Y}get remaining(){return 0}decode(Y){return yk1.toString(Y,this.encoding)}flush(){return""}}});var ZC0=M((KJ4,HC0)=>{var KC0=OI();HC0.exports=class{constructor(){this._reset()}get remaining(){return this.bytesSeen}decode(Y){if(Y.byteLength===0)return"";if(this.bytesNeeded===0&&GC0(Y,0)===0)return this.bytesSeen=xk1(Y),KC0.toString(Y,"utf8");let q="",z=0;if(this.bytesNeeded>0){while(z<Y.byteLength){let I=Y[z];if(I<this.lowerBoundary||I>this.upperBoundary){q+="�",this._reset();break}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|I&63,this.bytesSeen++,z++,this.bytesSeen===this.bytesNeeded){q+=String.fromCodePoint(this.codePoint),this._reset();break}}if(this.bytesNeeded>0)return q}let J=GC0(Y,z),U=Y.byteLength-J;if(U>z)q+=KC0.toString(Y,"utf8",z,U);for(let I=U;I<Y.byteLength;I++){let Q=Y[I];if(this.bytesNeeded===0){if(Q<=127)this.bytesSeen=0,q+=String.fromCharCode(Q);else if(Q>=194&&Q<=223)this.bytesNeeded=2,this.bytesSeen=1,this.codePoint=Q&31;else if(Q>=224&&Q<=239){if(Q===224)this.lowerBoundary=160;else if(Q===237)this.upperBoundary=159;this.bytesNeeded=3,this.bytesSeen=1,this.codePoint=Q&15}else if(Q>=240&&Q<=244){if(Q===240)this.lowerBoundary=144;else if(Q===244)this.upperBoundary=143;this.bytesNeeded=4,this.bytesSeen=1,this.codePoint=Q&7}else this.bytesSeen=1,q+="�";continue}if(Q<this.lowerBoundary||Q>this.upperBoundary){q+="�",I--,this._reset();continue}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|Q&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded)q+=String.fromCodePoint(this.codePoint),this._reset()}return q}flush(){let Y=this.bytesNeeded>0?"�":"";return this._reset(),Y}_reset(){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191}};function GC0($,Y){let q=$.byteLength;if(q<=Y)return 0;let z=Math.max(Y,q-4),J=q-1;while(J>z&&($[J]&192)===128)J--;if(J<Y)return 0;let U=$[J],I;if(U<=127)return 0;if(U>=194&&U<=223)I=2;else if(U>=224&&U<=239)I=3;else if(U>=240&&U<=244)I=4;else return 0;let Q=q-J;return Q<I?Q:0}function xk1($){let Y=$.byteLength;if(Y===0)return 0;let q=$[Y-1];if(q<=127)return 0;if((q&192)!==128)return 1;let z=Math.max(0,Y-4),J=Y-2;while(J>=z&&($[J]&192)===128)J--;if(J<0)return 1;let U=$[J],I;if(U>=194&&U<=223)I=2;else if(U>=224&&U<=239)I=3;else if(U>=240&&U<=244)I=4;else return 1;if(Y-J!==I)return 1;if(I>=3){let Q=$[J+1];if(U===224&&Q<160)return 1;if(U===237&&Q>159)return 1;if(U===240&&Q<144)return 1;if(U===244&&Q>143)return 1}return 0}});var XC0=M((GJ4,WC0)=>{var kk1=QC0(),uk1=ZC0();WC0.exports=class{constructor(Y="utf8"){switch(this.encoding=fk1(Y),this.encoding){case"utf8":this.decoder=new uk1;break;case"utf16le":case"base64":throw Error("Unsupported encoding: "+this.encoding);default:this.decoder=new kk1(this.encoding)}}get remaining(){return this.decoder.remaining}push(Y){if(typeof Y==="string")return Y;return this.decoder.decode(Y)}write(Y){return this.push(Y)}end(Y){let q="";if(Y)q=this.push(Y);return q+=this.decoder.flush(),q}};function fk1($){switch($=$.toLowerCase(),$){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:throw Error("Unknown encoding: "+$)}}});var LC0=M((HJ4,VC0)=>{VC0.exports=class $ extends Error{constructor(Y,q,z=$){super(Y);if(this.code=q,Error.captureStackTrace)Error.captureStackTrace(this,z)}static isStreamDestroyed(Y){return Y&&Y.code==="STREAM_DESTROYED"}static isPrematureClose(Y){return Y&&Y.code==="PREMATURE_CLOSE"}static isAborted(Y){return Y&&Y.code==="ABORTED"}static isBadArgument(Y){return Y&&Y.code==="BAD_ARGUMENT"}get name(){return"StreamError"}static STREAM_DESTROYED(){return new $("Stream was destroyed","STREAM_DESTROYED",$.STREAM_DESTROYED)}static PREMATURE_CLOSE(Y="Premature close"){return new $(Y,"PREMATURE_CLOSE",$.PREMATURE_CLOSE)}static ABORTED(){return new $("Stream aborted","ABORTED",$.ABORTED)}static BAD_ARGUMENT(Y="Bad argument"){return new $(Y,"BAD_ARGUMENT",$.BAD_ARGUMENT)}}});var ip=M((ZJ4,BC0)=>{var{EventEmitter:bk1}=m("events"),wC0=gp(),ik1=XC0(),s$=LC0(),Sp=typeof queueMicrotask>"u"?($)=>global.process.nextTick($):queueMicrotask,BP=Symbol.asyncIterator||Symbol("asyncIterator");class xp{constructor($,{highWaterMark:Y=16384,map:q=null,mapWritable:z,byteLength:J,byteLengthWritable:U}={}){this.stream=$,this.queue=new wC0,this.highWaterMark=Y,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=U||J||AC0,this.map=z||q,this.afterWrite=pk1.bind(this),this.afterUpdateNextTick=lk1.bind(this)}get ending(){return(this.stream._duplexState&134217728)!==0}get ended(){return(this.stream._duplexState&8388608)!==0}push($){if((this.stream._duplexState&142606350)!==0)return!1;if(this.map!==null)$=this.map($);if(this.buffered+=this.byteLength($),this.queue.push($),this.buffered<this.highWaterMark)return this.stream._duplexState|=2097152,!0;return this.stream._duplexState|=6291456,!1}shift(){let $=this.queue.shift();if(this.buffered-=this.byteLength($),this.buffered===0)this.stream._duplexState&=534773759;return $}end($){if(typeof $==="function")this.stream.once("finish",$);else if($!==void 0&&$!==null)this.push($);this.stream._duplexState=(this.stream._duplexState|134217728)&535822335}autoBatch($,Y){let q=[],z=this.stream;q.push($);while((z._duplexState&270794767)===2359296)q.push(z._writableState.shift());if((z._duplexState&15)!==0)return Y(null);z._writev(q,Y)}update(){let $=this.stream;$._duplexState|=524288;do{while(($._duplexState&270794767)===2097152){let Y=this.shift();$._duplexState|=67371008,$._write(Y,this.afterWrite)}if(($._duplexState&1310720)===0)this.updateNonPrimary()}while(this.continueUpdate()===!0);$._duplexState&=536346623}updateNonPrimary(){let $=this.stream;if(($._duplexState&144965647)===134217728){$._duplexState=$._duplexState|262144,$._final(ck1.bind(this));return}if(($._duplexState&14)===4){if(($._duplexState&33587200)===0)$._duplexState|=262160,$._destroy(NC0.bind(this));return}if(($._duplexState&33587215)===1)$._duplexState=($._duplexState|262160)&536870910,$._open(DC0.bind(this))}continueUpdate(){if((this.stream._duplexState&33554432)===0)return!1;return this.stream._duplexState&=503316479,!0}updateCallback(){if((this.stream._duplexState&35127311)===1048576)this.update();else this.updateNextTick()}updateNextTick(){if((this.stream._duplexState&33554432)!==0)return;if(this.stream._duplexState|=33554432,(this.stream._duplexState&524288)===0)Sp(this.afterUpdateNextTick)}}class FC0{constructor($,{highWaterMark:Y=16384,map:q=null,mapReadable:z,byteLength:J,byteLengthReadable:U}={}){this.stream=$,this.queue=new wC0,this.highWaterMark=Y===0?1:Y,this.buffered=0,this.readAhead=Y>0,this.error=null,this.pipeline=null,this.byteLength=U||J||AC0,this.map=z||q,this.pipeTo=null,this.afterRead=dk1.bind(this),this.afterUpdateNextTick=mk1.bind(this)}get ending(){return(this.stream._duplexState&1024)!==0}get ended(){return(this.stream._duplexState&16384)!==0}pipe($,Y){if(this.pipeTo!==null)throw s$.BAD_ARGUMENT("Can only pipe to one destination");if(typeof Y!=="function")Y=null;if(this.stream._duplexState|=512,this.pipeTo=$,this.pipeline=new MC0(this.stream,$,Y),Y)this.stream.on("error",yp);if($W($)){if($._writableState.pipeline=this.pipeline,Y)$.on("error",yp);$.on("finish",this.pipeline.finished.bind(this.pipeline))}else{let q=this.pipeline.done.bind(this.pipeline,$),z=this.pipeline.done.bind(this.pipeline,$,null);$.on("error",q),$.on("close",z),$.on("finish",this.pipeline.finished.bind(this.pipeline))}$.on("drain",nk1.bind(this)),this.stream.emit("piping",$),$.emit("pipe",this.stream)}push($){let Y=this.stream;if($===null)return this.highWaterMark=0,Y._duplexState=(Y._duplexState|1024)&536805311,!1;if(this.map!==null){if($=this.map($),$===null)return Y._duplexState&=536805375,this.buffered<this.highWaterMark}return this.buffered+=this.byteLength($),this.queue.push($),Y._duplexState=(Y._duplexState|128)&536805375,this.buffered<this.highWaterMark}shift(){let $=this.queue.shift();if(this.buffered-=this.byteLength($),this.buffered===0)this.stream._duplexState&=536862591;return $}unshift($){let Y=[this.map!==null?this.map($):$];while(this.buffered>0)Y.push(this.shift());for(let q=0;q<Y.length-1;q++){let z=Y[q];this.buffered+=this.byteLength(z),this.queue.push(z)}this.push(Y[Y.length-1])}read(){let $=this.stream;if(($._duplexState&16527)===128){let Y=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(Y)===!1)$._duplexState&=536870143;if(($._duplexState&2048)!==0)$.emit("data",Y);return Y}if(this.readAhead===!1)$._duplexState|=131072,this.updateNextTick();return null}drain(){let $=this.stream;while(($._duplexState&16527)===128&&($._duplexState&768)!==0){let Y=this.shift();if(this.pipeTo!==null&&this.pipeTo.write(Y)===!1)$._duplexState&=536870143;if(($._duplexState&2048)!==0)$.emit("data",Y)}}update(){let $=this.stream;$._duplexState|=32;do{this.drain();while(this.buffered<this.highWaterMark&&($._duplexState&214047)===131072)$._duplexState|=65552,$._read(this.afterRead),this.drain();if(($._duplexState&12431)===4224)$._duplexState|=8192,$.emit("readable");if(($._duplexState&80)===0)this.updateNonPrimary()}while(this.continueUpdate()===!0);$._duplexState&=536870879}updateNonPrimary(){let $=this.stream;if(($._duplexState&1167)===1024){if($._duplexState=($._duplexState|16384)&536869887,$.emit("end"),($._duplexState&8405006)===8404992)$._duplexState|=4;if(this.pipeTo!==null)this.pipeTo.end()}if(($._duplexState&14)===4){if(($._duplexState&33587200)===0)$._duplexState|=262160,$._destroy(NC0.bind(this));return}if(($._duplexState&33587215)===1)$._duplexState=($._duplexState|262160)&536870910,$._open(DC0.bind(this))}continueUpdate(){if((this.stream._duplexState&32768)===0)return!1;return this.stream._duplexState&=536838143,!0}updateCallback(){if((this.stream._duplexState&32879)===64)this.update();else this.updateNextTick()}updateNextTickIfOpen(){if((this.stream._duplexState&32769)!==0)return;if(this.stream._duplexState|=32768,(this.stream._duplexState&32)===0)Sp(this.afterUpdateNextTick)}updateNextTick(){if((this.stream._duplexState&32768)!==0)return;if(this.stream._duplexState|=32768,(this.stream._duplexState&32)===0)Sp(this.afterUpdateNextTick)}}class OC0{constructor($){this.data=null,this.afterTransform=rk1.bind($),this.afterFinal=null}}class MC0{constructor($,Y,q){this.from=$,this.to=Y,this.afterPipe=q,this.error=null,this.pipeToFinished=!1}finished(){this.pipeToFinished=!0}done($,Y){if(Y)this.error=Y;if($===this.to){if(this.to=null,this.from!==null){if((this.from._duplexState&16384)===0||!this.pipeToFinished)this.from.destroy(this.error||s$.PREMATURE_CLOSE("Writable stream closed"));return}}if($===this.from){if(this.from=null,this.to!==null){if(($._duplexState&16384)===0)this.to.destroy(this.error||s$.PREMATURE_CLOSE("Readable stream closed"));return}}if(this.afterPipe!==null)this.afterPipe(this.error);this.to=this.from=this.afterPipe=null}}function nk1(){this.stream._duplexState|=512,this.updateCallback()}function ck1($){let Y=this.stream;if($)Y.destroy($);if((Y._duplexState&14)===0)Y._duplexState|=8388608,Y.emit("finish");if((Y._duplexState&8405006)===8404992)Y._duplexState|=4;if(Y._duplexState&=402391039,(Y._duplexState&524288)===0)this.update();else this.updateNextTick()}function NC0($){let Y=this.stream;if(!$&&!s$.isStreamDestroyed(this.error))$=this.error;if($)Y.emit("error",$);Y._duplexState|=8,Y.emit("close");let{_readableState:q,_writableState:z}=Y;if(q!==null&&q.pipeline!==null)q.pipeline.done(Y,$);if(z!==null){while(z.drains!==null&&z.drains.length>0)z.drains.shift().resolve(!1);if(z.pipeline!==null)z.pipeline.done(Y,$)}}function pk1($){let Y=this.stream;if($)Y.destroy($);if(Y._duplexState&=469499903,this.drains!==null)ok1(this.drains);if((Y._duplexState&6553615)===4194304){if(Y._duplexState&=532676607,(Y._duplexState&16777216)===16777216)Y.emit("drain")}this.updateCallback()}function dk1($){if($)this.stream.destroy($);if(this.stream._duplexState&=536870895,this.readAhead===!1&&(this.stream._duplexState&256)===0)this.stream._duplexState&=536739839;this.updateCallback()}function mk1(){if((this.stream._duplexState&32)===0)this.stream._duplexState&=536838143,this.update()}function lk1(){if((this.stream._duplexState&524288)===0)this.stream._duplexState&=503316479,this.update()}function ok1($){for(let Y=0;Y<$.length;Y++)if(--$[Y].writes===0)$.shift().resolve(!0),Y--}function DC0($){let Y=this.stream;if($)Y.destroy($);if((Y._duplexState&4)===0){if((Y._duplexState&17423)===0)Y._duplexState|=64;if((Y._duplexState&142606351)===0)Y._duplexState|=1048576;Y.emit("open")}if(Y._duplexState&=536608751,Y._writableState!==null)Y._writableState.updateCallback();if(Y._readableState!==null)Y._readableState.updateCallback()}function rk1($,Y){if(Y!==void 0&&Y!==null)this.push(Y);this._writableState.afterWrite($)}function sk1($){if(this._readableState!==null){if($==="data")this._duplexState|=133376,this._readableState.updateNextTick();if($==="readable")this._duplexState|=4096,this._readableState.updateNextTick()}if(this._writableState!==null){if($==="drain")this._duplexState|=16777216,this._writableState.updateNextTick()}}class TP extends bk1{constructor($){super();if(this._duplexState=0,this._readableState=null,this._writableState=null,$){if($.open)this._open=$.open;if($.destroy)this._destroy=$.destroy;if($.predestroy)this._predestroy=$.predestroy;if($.signal)$.signal.addEventListener("abort",Ku1.bind(this))}this.on("newListener",sk1)}_open($){$(null)}_destroy($){$(null)}_predestroy(){}get readable(){return this._readableState!==null?!0:void 0}get writable(){return this._writableState!==null?!0:void 0}get destroyed(){return(this._duplexState&8)!==0}get destroying(){return(this._duplexState&14)!==0}destroy($){if((this._duplexState&14)===0){if(!$)$=s$.STREAM_DESTROYED();if(this._duplexState=(this._duplexState|4)&535822271,this._readableState!==null)this._readableState.highWaterMark=0,this._readableState.error=$;if(this._writableState!==null)this._writableState.highWaterMark=0,this._writableState.error=$;if(this._duplexState|=2,this._predestroy(),this._duplexState&=536870909,this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class eZ extends TP{constructor($){super($);if(this._duplexState|=8519681,this._readableState=new FC0(this,$),$){if(this._readableState.readAhead===!1)this._duplexState&=536739839;if($.read)this._read=$.read;if($.eagerOpen)this._readableState.updateNextTick();if($.encoding)this.setEncoding($.encoding)}}static deferred($,Y){let q=new fp(Y);return $().then((z)=>{if(z===null)return q.end();if(q.destroying)return;bp(z,q,yp)}).catch((z)=>q.destroy(z)),q}setEncoding($){let Y=new ik1($),q=this._readableState.map||ek1;return this._readableState.map=z,this;function z(J){let U=Y.push(J);return U===""&&(J.byteLength!==0||Y.remaining>0)?null:q(U)}}_read($){$(null)}pipe($,Y){return this._readableState.updateNextTick(),this._readableState.pipe($,Y),$}read(){return this._readableState.updateNextTick(),this._readableState.read()}push($){return this._readableState.updateNextTickIfOpen(),this._readableState.push($)}unshift($){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift($)}resume(){return this._duplexState|=131328,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?536739583:536870655,this}static _fromAsyncIterator($,Y){let q,z=new eZ({...Y,read(U){$.next().then(J).then(U.bind(null,null)).catch(U)},predestroy(){q=$.return()},destroy(U){if(!q)return U(null);q.then(U.bind(null,null)).catch(U)}});return z;function J(U){if(U.done)z.push(null);else z.push(U.value)}}static from($,Y){if(Uu1($))return $;if($[BP])return this._fromAsyncIterator($[BP](),Y);if(!Array.isArray($))$=$===void 0?[]:[$];let q=0;return new eZ({...Y,read(z){this.push(q===$.length?null:$[q++]),z(null)}})}static isBackpressured($){return($._duplexState&17422)!==0||$._readableState.buffered>=$._readableState.highWaterMark}static isPaused($){return($._duplexState&256)===0}[BP](){let $=this,Y=null,q=null,z=null;return this.on("error",(K)=>{Y=K}),this.on("readable",J),this.on("close",U),{[BP](){return this},next(){return new Promise(function(K,G){q=K,z=G;let H=$.read();if(H!==null)I(H);else if(($._duplexState&8)!==0)I(null)})},return(){return Q(null)},throw(K){return Q(K)}};function J(){if(q!==null)I($.read())}function U(){if(q!==null)I(null)}function I(K){if(z===null)return;if(Y)z(Y);else if(K===null&&($._duplexState&16384)===0)z(s$.STREAM_DESTROYED());else q({value:K,done:K===null});z=q=null}function Q(K){return $.destroy(K),new Promise((G,H)=>{if($._duplexState&8)return G({value:void 0,done:!0});$.once("close",function(){if(K)H(K);else G({value:void 0,done:!0})})})}}}class kp extends TP{constructor($){super($);if(this._duplexState|=16385,this._writableState=new xp(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final;if($.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}static isBackpressured($){return($._duplexState&146800654)!==0}static drained($){if($.destroyed)return Promise.resolve(!1);let Y=$._writableState,z=(Gu1($)?Math.min(1,Y.queue.length):Y.queue.length)+($._duplexState&67108864?1:0);if(z===0)return Promise.resolve(!0);if(Y.drains===null)Y.drains=[];return new Promise((J)=>{Y.drains.push({writes:z,resolve:J})})}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class EP extends eZ{constructor($){super($);if(this._duplexState=1|this._duplexState&131072,this._writableState=new xp(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class up extends EP{constructor($){super($);if(this._transformState=new OC0(this),$){if($.transform)this._transform=$.transform;if($.flush)this._flush=$.flush}}_write($,Y){if(this._readableState.buffered>=this._readableState.highWaterMark)this._transformState.data=$;else this._transform($,this._transformState.afterTransform)}_read($){if(this._transformState.data!==null){let Y=this._transformState.data;this._transformState.data=null,$(null),this._transform(Y,this._transformState.afterTransform)}else $(null)}destroy($){if(super.destroy($),this._transformState.data!==null)this._transformState.data=null,this._transformState.afterTransform()}_transform($,Y){Y(null,$)}_flush($){$(null)}_final($){this._transformState.afterFinal=$,this._flush(tk1.bind(this))}}class fp extends up{}function tk1($,Y){let q=this._transformState.afterFinal;if($)return q($);if(Y!==null&&Y!==void 0)this.push(Y);this.push(null),q(null)}function ak1(...$){return new Promise((Y,q)=>{return bp(...$,(z)=>{if(z)return q(z);Y()})})}function bp($,...Y){let q=Array.isArray($)?[...$,...Y]:[$,...Y],z=q.length&&typeof q[q.length-1]==="function"?q.pop():null;if(q.length<2)throw s$.BAD_ARGUMENT("Pipeline requires at least 2 streams");let J=q[0],U=null,I=null;for(let G=1;G<q.length;G++){if(U=q[G],$W(J))J.pipe(U,K);else Q(J,!0,G>1,K),J.pipe(U);J=U}if(z){let G=!1,H=$W(U)||!!(U._writableState&&U._writableState.autoDestroy);if(U.on("error",(Z)=>{if(I===null)I=Z}),U.on("finish",()=>{if(G=!0,!H)z(I)}),H)U.on("close",()=>z(I||(G?null:s$.PREMATURE_CLOSE())))}return U;function Q(G,H,Z,V){G.on("error",V),G.on("close",X);function X(){if(H&&G._readableState&&!G._readableState.ended)return V(s$.PREMATURE_CLOSE());if(Z&&G._writableState&&!G._writableState.ended)return V(s$.PREMATURE_CLOSE())}}function K(G){if(!G||I)return;I=G;for(let H of q)H.destroy(G)}}function ek1($){return $}function PC0($){return!!$._readableState||!!$._writableState}function $W($){return typeof $._duplexState==="number"&&PC0($)}function $u1($){return!!$._readableState&&$._readableState.ending}function Yu1($){return!!$._readableState&&$._readableState.ended}function qu1($){return!!$._writableState&&$._writableState.ending}function zu1($){return!!$._writableState&&$._writableState.ended}function Ju1($,Y={}){let q=$._readableState&&$._readableState.error||$._writableState&&$._writableState.error;return!Y.all&&s$.isStreamDestroyed(q)?null:q}function Uu1($){return $W($)&&$.readable}function Iu1($){return($._duplexState&1)!==1||($._duplexState&4)===4||($._duplexState&33587200)!==0}function Qu1($){return typeof $==="object"&&$!==null&&typeof $.byteLength==="number"}function AC0($){return Qu1($)?$.byteLength:1024}function yp(){}function Ku1(){this.destroy(s$.ABORTED())}function Gu1($){return $._writev!==kp.prototype._writev&&$._writev!==EP.prototype._writev}BC0.exports={pipeline:bp,pipelinePromise:ak1,isStream:PC0,isStreamx:$W,isEnding:$u1,isEnded:Yu1,isFinishing:qu1,isFinished:zu1,isDisturbed:Iu1,getStreamError:Ju1,Stream:TP,Writable:kp,Readable:eZ,Duplex:EP,Transform:up,PassThrough:fp}});var cp=M((Du1)=>{var R1=OI(),TC0=R1.from([117,115,116,97,114,0]),Hu1=R1.from([48,48]),Zu1=R1.from([117,115,116,97,114,32]),Wu1=R1.from([32,0]);Du1.decodeLongPath=function(Y,q){return MI(Y,0,Y.length,q)};Du1.encodePax=function(Y){let q="";if(Y.name)q+=np(" path="+Y.name+`
`);if(Y.linkname)q+=np(" linkpath="+Y.linkname+`
`);let z=Y.pax;if(z)for(let J in z)q+=np(" "+J+"="+z[J]+`
`);return R1.from(q)};Du1.decodePax=function(Y){let q={};while(Y.length){let z=0;while(z<Y.length&&Y[z]!==32)z++;let J=parseInt(R1.toString(Y.subarray(0,z)),10);if(!J)return q;let U=R1.toString(Y.subarray(z+1,J-1)),I=U.indexOf("=");if(I===-1)return q;q[U.slice(0,I)]=U.slice(I+1),Y=Y.subarray(J)}return q};Du1.encode=function(Y){let q=R1.alloc(512),z=Y.name,J="";if(Y.typeflag===5&&z[z.length-1]!=="/")z+="/";if(R1.byteLength(z)!==z.length)return null;while(R1.byteLength(z)>100){let U=z.indexOf("/");if(U===-1)return null;J+=J?"/"+z.slice(0,U):z.slice(0,U),z=z.slice(U+1)}if(R1.byteLength(z)>100||R1.byteLength(J)>155)return null;if(Y.linkname&&R1.byteLength(Y.linkname)>100)return null;if(R1.write(q,z),R1.write(q,K2(Y.mode&4095,6),100),R1.write(q,K2(Y.uid,6),108),R1.write(q,K2(Y.gid,6),116),Mu1(Y.size,q,124),R1.write(q,K2(Y.mtime.getTime()/1000|0,11),136),q[156]=48+Fu1(Y.type),Y.linkname)R1.write(q,Y.linkname,157);if(R1.copy(TC0,q,257),R1.copy(Hu1,q,263),Y.uname)R1.write(q,Y.uname,265);if(Y.gname)R1.write(q,Y.gname,297);if(R1.write(q,K2(Y.devmajor||0,6),329),R1.write(q,K2(Y.devminor||0,6),337),J)R1.write(q,J,345);return R1.write(q,K2(jC0(q),6),148),q};Du1.decode=function(Y,q,z){let J=Y[156]===0?0:Y[156]-48,U=MI(Y,0,100,q),I=Q2(Y,100,8),Q=Q2(Y,108,8),K=Q2(Y,116,8),G=Q2(Y,124,12),H=Q2(Y,136,12),Z=wu1(J),V=Y[157]===0?null:MI(Y,157,100,q),X=MI(Y,265,32),L=MI(Y,297,32),w=Q2(Y,329,8),F=Q2(Y,337,8),O=jC0(Y);if(O===256)return null;if(O!==Q2(Y,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(Xu1(Y)){if(Y[345])U=MI(Y,345,155,q)+"/"+U}else if(Vu1(Y));else if(!z)throw Error("Invalid tar header: unknown format.");if(J===0&&U&&U[U.length-1]==="/")J=5;return{name:U,mode:I,uid:Q,gid:K,size:G,byteOffset:0,mtime:new Date(1000*H),type:Z,linkname:V,uname:X,gname:L,devmajor:w,devminor:F,pax:null}};function Xu1($){return R1.equals(TC0,$.subarray(257,263))}function Vu1($){return R1.equals(Zu1,$.subarray(257,263))&&R1.equals(Wu1,$.subarray(263,265))}function Lu1($,Y,q){if(typeof $!=="number")return q;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0}function wu1($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function Fu1($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function EC0($,Y,q,z){for(;q<z;q++)if($[q]===Y)return q;return z}function jC0($){let Y=256;for(let q=0;q<148;q++)Y+=$[q];for(let q=156;q<512;q++)Y+=$[q];return Y}function K2($,Y){if($=$.toString(8),$.length>Y)return"7777777777777777777".slice(0,Y)+" ";return"0000000000000000000".slice(0,Y-$.length)+$+" "}function Ou1($,Y,q){Y[q]=128;for(let z=11;z>0;z--)Y[q+z]=$&255,$=Math.floor($/256)}function Mu1($,Y,q){if($.toString(8).length>11)Ou1($,Y,q);else R1.write(Y,K2($,11),q)}function Nu1($){let Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;let q=[],z;for(z=$.length-1;z>0;z--){let I=$[z];if(Y)q.push(I);else q.push(255-I)}let J=0,U=q.length;for(z=0;z<U;z++)J+=q[z]*Math.pow(256,z);return Y?J:-1*J}function Q2($,Y,q){if($=$.subarray(Y,Y+q),Y=0,$[Y]&128)return Nu1($);else{while(Y<$.length&&$[Y]===32)Y++;let z=Lu1(EC0($,32,Y,$.length),$.length,$.length);while(Y<z&&$[Y]===0)Y++;if(z===Y)return 0;return parseInt(R1.toString($.subarray(Y,z)),8)}}function MI($,Y,q,z){return R1.toString($.subarray(Y,EC0($,0,Y,Y+q)),z)}function np($){let Y=R1.byteLength($),q=Math.floor(Math.log(Y)/Math.log(10))+1;if(Y+q>=Math.pow(10,q))q++;return Y+q+$}});var yC0=M((XJ4,SC0)=>{var{Writable:ju1,Readable:_u1,getStreamError:_C0}=ip(),Ru1=gp(),RC0=OI(),NI=cp(),Cu1=RC0.alloc(0);class CC0{constructor(){this.buffered=0,this.shifted=0,this.queue=new Ru1,this._offset=0}push($){this.buffered+=$.byteLength,this.queue.push($)}shiftFirst($){return this.buffered===0?null:this._next($)}shift($){if($>this.buffered)return null;if($===0)return Cu1;let Y=this._next($);if($===Y.byteLength)return Y;let q=[Y];while(($-=Y.byteLength)>0)Y=this._next($),q.push(Y);return RC0.concat(q)}_next($){let Y=this.queue.peek(),q=Y.byteLength-this._offset;if($>=q){let z=this._offset?Y.subarray(this._offset,Y.byteLength):Y;return this.queue.shift(),this._offset=0,this.buffered-=q,this.shifted+=q,z}return this.buffered-=$,this.shifted+=$,Y.subarray(this._offset,this._offset+=$)}}class vC0 extends _u1{constructor($,Y,q){super();this.header=Y,this.offset=q,this._parent=$}_read($){if(this.header.size===0)this.push(null);if(this._parent._stream===this)this._parent._update();$(null)}_predestroy(){this._parent.destroy(_C0(this))}_detach(){if(this._parent._stream===this)this._parent._stream=null,this._parent._missing=gC0(this.header.size),this._parent._update()}_destroy($){this._detach(),$(null)}}class hC0 extends ju1{constructor($){super($);if(!$)$={};this._buffer=new CC0,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=pp,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=$.filenameEncoding||"utf-8",this._allowUnknownFormat=!!$.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock($){if(this._locked=!1,$){this.destroy($),this._continueWrite($);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=NI.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch($){return this._continueWrite($),!1}if(!this._header)return!0;switch(this._header.byteOffset=this._buffer.shifted,this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":if(this._longHeader=!0,this._missing=this._header.size,this._missing>4194304)return this._continueWrite(Error("Header exceeds max size")),!1;return!0}if(this._locked=!0,this._applyLongHeaders(),!(this._header.size>=0))return this._continueWrite(Error("Invalid header")),!1;if(this._header.size===0||this._header.type==="directory")return this.emit("entry",this._header,this._createStream(),this._unlockBound),!0;return this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0}_applyLongHeaders(){if(this._gnuLongPath)this._header.name=this._gnuLongPath,this._gnuLongPath=null;if(this._gnuLongLinkPath)this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null;if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax,this._pax=null}}_decodeLongHeader($){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=NI.decodeLongPath($,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=NI.decodeLongPath($,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=NI.decodePax($);break;case"pax-header":this._pax=this._paxGlobal===null?NI.decodePax($):Object.assign({},this._paxGlobal,NI.decodePax($));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=gC0(this._header.size);let $=this._buffer.shift(this._header.size);try{this._decodeLongHeader($)}catch(Y){return this._continueWrite(Y),!1}return!0}_consumeStream(){let $=this._buffer.shiftFirst(this._missing);if($===null)return!1;this._missing-=$.byteLength;let Y=this._stream.push($);if(this._missing===0){if(this._stream.push(null),Y)this._stream._detach();return Y&&this._locked===!1}return Y}_createStream(){return new vC0(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let $=this._buffer.shiftFirst(this._missing);if($!==null)this._missing-=$.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite($){let Y=this._callback;this._callback=pp,Y($)}_write($,Y){this._callback=Y,this._buffer.push($),this._update()}_final($){this._finished=this._missing===0&&this._buffer.buffered===0,$(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy($){if(this._stream)this._stream.destroy(_C0(this));$(null)}[Symbol.asyncIterator](){let $=null,Y=null,q=null,z=null,J=null,U=this;return this.on("entry",K),this.on("error",(Z)=>{$=Z}),this.on("close",G),{[Symbol.asyncIterator](){return this},next(){return new Promise(Q)},return(){return H(null)},throw(Z){return H(Z)}};function I(Z){if(!J)return;let V=J;J=null,V(Z)}function Q(Z,V){if($)return V($);if(z){Z({value:z,done:!1}),z=null;return}if(Y=Z,q=V,I(null),U._finished&&Y)Y({value:void 0,done:!0}),Y=q=null}function K(Z,V,X){if(J=X,V.on("error",pp),Y)Y({value:V,done:!1}),Y=q=null;else z=V}function G(){if(I($),!Y)return;if($)q($);else Y({value:void 0,done:!0});Y=q=null}function H(Z){return U.destroy(Z),I(Z),new Promise((V,X)=>{if(U.destroyed)return V({value:void 0,done:!0});U.once("close",function(){if(Z)X(Z);else V({value:void 0,done:!0})})})}}}SC0.exports=function(Y){return new hC0(Y)};function pp(){}function gC0($){return $&=511,$&&512-$}});var kC0=M((VJ4,dp)=>{var xC0={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{dp.exports=m("fs").constants||xC0}catch{dp.exports=xC0}});var pC0=M((LJ4,cC0)=>{var{Readable:vu1,Writable:hu1,getStreamError:uC0}=ip(),Nq=OI(),DI=kC0(),jP=cp(),fC0=Nq.alloc(1024);class bC0 extends hu1{constructor($,Y,q){super({mapWritable:Su1,eagerOpen:!0});if(this.written=0,this.header=Y,this._callback=q,this._linkname=null,this._isLinkname=Y.type==="symlink"&&!Y.linkname,this._isVoid=Y.type!=="file"&&Y.type!=="contiguous-file",this._finished=!1,this._pack=$,this._openCallback=null,this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open($){if(this._openCallback=$,this._pack._stream===this)this._continueOpen()}_continuePack($){if(this._callback===null)return;let Y=this._callback;this._callback=null,Y($)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;let $=this._openCallback;if(this._openCallback=null,$===null)return;if(this._pack.destroying)return $(Error("pack stream destroyed"));if(this._pack._finalized)return $(Error("pack stream is already finalized"));if(this._pack._stream=this,!this._isLinkname)this._pack._encode(this.header);if(this._isVoid)this._finish(),this._continuePack(null);$(null)}_write($,Y){if(this._isLinkname)return this._linkname=this._linkname?Nq.concat([this._linkname,$]):$,Y(null);if(this._isVoid){if($.byteLength>0)return Y(Error("No body allowed for this entry"));return Y()}if(this.written+=$.byteLength,this._pack.push($))return Y();this._pack._drain=Y}_finish(){if(this._finished)return;if(this._finished=!0,this._isLinkname)this.header.linkname=this._linkname?Nq.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header);nC0(this._pack,this.header.size),this._pack._done(this)}_final($){if(this.written!==this.header.size)return $(Error("Size mismatch"));this._finish(),$(null)}_getError(){return uC0(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy($){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),$()}}class iC0 extends vu1{constructor($){super($);this._drain=mp,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry($,Y,q){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");if(typeof Y==="function")q=Y,Y=null;if(!q)q=mp;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=gu1($.mode);if(!$.mode)$.mode=$.type==="directory"?493:420;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=Nq.from(Y);let z=new bC0(this,$,q);if(Nq.isBuffer(Y))return $.size=Y.byteLength,z.write(Y),z.end(),z;if(z._isVoid)return z;return z}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(fC0),this.push(null)}_done($){if($!==this._stream)return;if(this._stream=null,this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode($){if(!$.pax){let Y=jP.encode($);if(Y){this.push(Y);return}}this._encodePax($)}_encodePax($){let Y=jP.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),q={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.byteLength,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(jP.encode(q)),this.push(Y),nC0(this,Y.byteLength),q.size=$.size,q.type=$.type,this.push(jP.encode(q))}_doDrain(){let $=this._drain;this._drain=mp,$()}_predestroy(){let $=uC0(this);if(this._stream)this._stream.destroy($);while(this._pending.length){let Y=this._pending.shift();Y.destroy($),Y._continueOpen()}this._doDrain()}_read($){this._doDrain(),$()}}cC0.exports=function(Y){return new iC0(Y)};function gu1($){switch($&DI.S_IFMT){case DI.S_IFBLK:return"block-device";case DI.S_IFCHR:return"character-device";case DI.S_IFDIR:return"directory";case DI.S_IFIFO:return"fifo";case DI.S_IFLNK:return"symlink"}return"file"}function mp(){}function nC0($,Y){if(Y&=511,Y)$.push(fC0.subarray(0,512-Y))}function Su1($){return Nq.isBuffer($)?$:Nq.from($)}});var dC0=M((yu1)=>{yu1.extract=yC0();yu1.pack=pC0()});var fu1;var mC0=e(()=>{FP();fu1=y4(dC0(),1)});function lC0($){if(Buffer.isBuffer($))return $;if(typeof $==="number")return Buffer.alloc($);else if(typeof $==="string")return Buffer.from($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function iu1($){let Y=lC0(4);return Y.writeInt32BE($,0),Y}function lp($,Y){if($=lC0($),Buffer.isBuffer(Y))Y=Y.readUInt32BE(0);let q=~~Y^-1;for(var z=0;z<$.length;z++)q=bu1[(q^$[z])&255]^q>>>8;return q^-1}function oC0(){return iu1(lp.apply(null,arguments))}var bu1;var rC0=e(()=>{bu1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);oC0.signed=function(){return lp.apply(null,arguments)};oC0.unsigned=function(){return lp.apply(null,arguments)>>>0}});var nu1;var sC0=e(()=>{rC0();FP();nu1=y4(wq(),1)});var op;var tC0=e(()=>{KR0();$C0();mC0();sC0();op=class op extends OP{constructor($){super($);this._format="zip",this._module=new AP($),this._supportsDirectory=!0,this._supportsSymlink=!0,this._modulePipe()}}});import{createWriteStream as cu1,mkdirSync as pu1,statSync as du1}from"node:fs";import{homedir as mu1}from"node:os";import{dirname as lu1,join as ou1,resolve as aC0}from"node:path";function ru1($,Y){if($.outputFile)return aC0($.outputFile);let q=new Date().toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"}),z=`webhook-resource-pack-${Y.id}-${q}.zip`;if($.toDownloads)return ou1(mu1(),"Downloads",z);return aC0(z)}async function _P($,Y,q={}){let z=[];if(q.recordId)process.stderr.write(`\uD83D\uDD0D 查询单据记录: ${q.recordId}...
`),z=[await e1($,q.recordId)];else if(q.recordIds&&q.recordIds.length>0)process.stderr.write(`\uD83D\uDD0D 批量查询 ${q.recordIds.length} 条单据记录...
`),z=await Promise.all(q.recordIds.map((O)=>e1($,O)));else{let O=q.limit??10;process.stderr.write(`\uD83D\uDD0D 检索企业「${Y.name}」(${Y.id}) 的线上审核记录 (限制 ${O} 条)...
`);let B=(await x4($,{limit:O,status:q.status,startDate:q.startDate!==void 0?String(q.startDate):void 0,endDate:q.endDate!==void 0?String(q.endDate):void 0})).records??[];if(B.length===0)throw Error("未检索到符合条件的线上审核记录,无法导出 webhook 资源包。");process.stderr.write(`\uD83D\uDCE5 正在拉取 ${B.length} 条审核记录完整详情...
`),z=await Promise.all(B.map((A)=>e1($,A.id)))}let J=new Map,U=0;for(let O of z){let P=O.document,B=O.sourceDocumentId??(typeof P?.id==="string"?P.id:void 0)??(typeof P?.sourceDocumentId==="string"?P.sourceDocumentId:void 0)??O.documentId??O.id,A=`${q.docIdPrefix??""}${B}${q.docIdSuffix??""}`,E=[];if(q.includeAttachments!==!1){let v=a7(O,{summary:!1}).attachments,k=new Set;for(let C of v){let c=C.ossSignedUrl??C.url;if(!c)continue;let n=C.fileName??C.fileId??"attachment",g=gi(n),b=g,i=g.lastIndexOf("."),$0=i>0?g.slice(0,i):g,j=i>0?g.slice(i):"",u=1;while(k.has(b.toLowerCase()))b=`${$0}_${u}${j}`,u++;k.add(b.toLowerCase());try{process.stderr.write(`⬇ 下载单据「${A}」附件: ${n}...
`);let p=await fetch(c);if(p.ok){let d=await p.arrayBuffer(),q0=Buffer.from(d);E.push({fileName:b,zipPath:`${A}/${b}`,buffer:q0,sourceField:C.sourceField??"附件"}),U++}}catch(p){process.stderr.write(`⚠️ [跳过附件] 下载失败 ${n}: ${p}
`)}}}J.set(A,E)}let I=new eC0.default.Workbook;I.creator="seal-use",I.created=new Date;let Q=new Set;for(let O of J.values())for(let P of O)Q.add(P.sourceField);if(Q.size===0)Q.add("附件");let K=new Set;for(let O of z){let P=O.document,B=Array.isArray(P?.fields)?P.fields:[];for(let A of B)if(A&&typeof A==="object"){let E=A,y=typeof E.label==="string"?E.label.trim():typeof E.key==="string"?E.key.trim():"",v=typeof E.type==="string"?E.type.toUpperCase():"";if(y&&v!=="ATTACHMENT"&&v!=="LIST")K.add(y)}}let G=["会议编号","会议名称","状态","总金额","报销事由","申请日期"],H=Array.from(K).filter((O)=>!G.includes(O)&&O!=="单据编号"&&O!=="单号"),Z=Array.from(Q).map((O)=>`[附件]${O}`),V=[...G,...H,...Z],X=I.addWorksheet("主表");X.addRow(V),X.getRow(1).font={bold:!0};for(let O of z){let P=O.document,B=O.sourceDocumentSN??(typeof P?.sn==="string"?P.sn:void 0)??(typeof P?.sourceDocumentSN==="string"?P.sourceDocumentSN:void 0)??O.id,A=O.sourceDocumentId??(typeof P?.id==="string"?P.id:void 0)??(typeof P?.sourceDocumentId==="string"?P.sourceDocumentId:void 0)??O.documentId??O.id,E=`${q.docIdPrefix??""}${A}${q.docIdSuffix??""}`,y=`${q.docIdPrefix??""}${B}${q.docIdSuffix??""}`,v=(typeof P?.title==="string"?P.title:void 0)??(typeof P?.name==="string"?P.name:void 0)??y,k="";if(typeof P?.sourceStartTime==="number")k=new Date(P.sourceStartTime*1000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});else if(typeof O.createdAt==="number")k=new Date(O.createdAt).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});else if(typeof O.createdAt==="string")k=O.createdAt.slice(0,10);let C=new Map,c=Array.isArray(P?.fields)?P.fields:[];for(let $0 of c)if($0&&typeof $0==="object"){let j=$0,u=typeof j.label==="string"?j.label.trim():typeof j.key==="string"?j.key.trim():"";if(u)C.set(u,j.value)}let n,g=C.get("总金额")??C.get("报销金额")??C.get("total_amount");if(typeof g==="number")n=g;else if(g&&typeof g==="object"&&"amount"in g&&typeof g.amount==="number")n=g.amount;let b=[];b.push(E),b.push(v),b.push(O.status??"已审批"),b.push(n??""),b.push(C.get("报销事由")??C.get("事由")??v),b.push(k);for(let $0 of H){let j=C.get($0);if(j===void 0||j===null)b.push("");else if(typeof j==="object")if("amount"in j)b.push(j.amount);else b.push(JSON.stringify(j));else b.push(j)}let i=J.get(E)??[];for(let $0 of Q){let j=i.filter((u)=>u.sourceField===$0||Q.size===1);if(j.length>0)b.push(j.map((u)=>u.zipPath).join(`
`));else b.push("")}X.addRow(b)}let L=ru1(q,Y);pu1(lu1(L),{recursive:!0});let w=await I.xlsx.writeBuffer();process.stderr.write(`\uD83D\uDCE6 正在压缩生成 Webhook 资源包: ${L}...
`),await new Promise((O,P)=>{let B=cu1(L),A=new op({zlib:{level:9}});B.on("close",()=>O()),A.on("error",(E)=>P(E)),A.pipe(B),A.append(Buffer.from(w),{name:"信息表.xlsx"});for(let E of J.values())for(let y of E)A.append(y.buffer,{name:y.zipPath});A.finalize()});let F=du1(L);return{filePath:L,corpId:Y.id,corpName:Y.name,recordCount:z.length,attachmentCount:U,fileSizeBytes:F.size,exportedAt:new Date().toISOString(),nextAction:`seal-use webhook resource-pack push ${L} --corp <targetCorpId>`}}var eC0;var rp=e(()=>{tC0();I6();ID();eC0=y4(FZ(),1)});import{readFileSync as su1}from"node:fs";function tu1($){let Y=new URL($),q=Y.pathname.match(/\/webhook\/([^/]+)/);if(!q)throw Error("Webhook URL 必须包含 /webhook/{webhookId}/document");return{baseUrl:`${Y.protocol}//${Y.host}`,webhookId:q[1]}}function au1($,Y){return Y.toLowerCase().endsWith(".zip")||$[0]===80&&$[1]===75&&!Y.toLowerCase().endsWith(".xlsx")}function eu1($,Y){if(!$.length)return;let q=new Set($.map((U)=>{let I=U.fileName.split("/")[0],Q=I.indexOf("@");return Q>=0?I.slice(0,Q):I}).filter((U)=>U!=="信息表.xlsx")),z=[];for(let U of Y){let I=U.document.documentId;if((U.documentAttachments.length>0||Object.values(U.expenseAttachments).some((K)=>K.length>0)||Object.values(U.personAttachments).some((K)=>K.length>0))&&!q.has(I))z.push(`Excel 会议编号「${I}」声明了附件,但在 ZIP 中找不到对应的根目录「${I}/」或「${I}@.../」。`)}let J=new Set(Y.map((U)=>U.document.documentId));for(let U of q)if(!J.has(U))z.push(`ZIP 根目录对应的编号「${U}」在信息表中找不到对应的会议编号。`);if(z.length)throw new N5(z)}async function $v0($,Y,q){let z=[],J=$;if(au1($,Y)){z=await HT0($),WT0(z,q);let K=z.find((G)=>G.fileName==="信息表.xlsx");if(!K)throw Error("ZIP 根目录缺少信息表.xlsx");J=await rn($,K)}let U=await MT0(J);eu1(z,U);let I=NT0(z,U),Q=U.map((K)=>K.document);return{entries:z,parsed:U,plans:I,documents:Q,fileBuffer:$}}async function Dq($,Y,q){let z=await $v0($,Y,q),J=z.parsed.map((U,I)=>Yc(U.document,z.plans[I],new Map));return{warnings:[],documents:J,attachmentPlan:z.plans}}async function RP($,Y,q){let z=await $v0($,Y,q.materialPackFilePolicy),{baseUrl:J,webhookId:U}=tu1(q.webhookUrl),I=[];for(let Q=0;Q<z.parsed.length;Q+=1){let K=z.parsed[Q],G=z.plans[Q],H=new Map,Z=[...G.categoryFields,...Object.values(G.personAttachments).flat(),...Object.values(G.expenseAttachments).flat()];for(let L of Z)for(let w of L.paths){if(H.has(w))continue;let F=z.entries.find((y)=>y.fileName===w);if(!F)continue;process.stderr.write(`⬆ 上传附件: ${w}
`);let O=new FormData,P=await rn(z.fileBuffer,F),B=w.split("/").pop()??w;O.append("files",new File([new Uint8Array(P)],B));let A=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(U)}/attachments`,{method:"POST",headers:{...q.customHeaders??{},...NZ({},q.secret)},body:O});if(!A.ok)throw Error(`附件上传失败 ${A.status}: ${await A.text()}`);let E=await A.json();H.set(w,E.attachments?.map((y)=>y.data)??(E.data===void 0?[]:[E.data])),process.stderr.write(`✓ 附件上传成功: ${w}
`)}process.stderr.write(`\uD83D\uDCE4 推送单据: ${K.document.documentId}
`);let V=Yc(K.document,G,H),X=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(U)}/document`,{method:"POST",headers:{...q.customHeaders??{},"Content-Type":"application/json",...NZ({webhookId:U,...V},q.secret)},body:JSON.stringify(V)});if(!X.ok)throw Error(`Webhook 单据推送失败 ${X.status}: ${await X.text()}`);I.push({documentId:V.documentId,document:V,pushResult:await X.json()}),process.stderr.write(`✓ 单据推送成功: ${V.documentId}
`)}return{warnings:[],results:I}}function Pq($){return{fileBuffer:su1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}var sp=e(()=>{VD();qc();$c();sn();pU();rp()});import{existsSync as $f1}from"node:fs";async function CP($,Y,q={}){let J=T4().stateful?"stateful":"stateless",U="ok",I,Q,K;try{let A=await z8($);K={id:A.user.id,name:A.user.name,isAdmin:A.user.isAdmin},Q={id:A.tenant.id,name:A.tenant.name,tenantSlug:A.tenant.tenantSlug,corporationName:A.tenant.hoseCorpConfig?.corporationName}}catch(A){U="error",I=A instanceof Error?A.message:String(A)}let G=[];if(U==="ok")try{G=await J$($,Y.seal.endpoints.approvalStylePreferences)}catch(A){U="error",I=`读取 Webhook 配置失败: ${A instanceof Error?A.message:String(A)}`}let H=G.length===1,Z=G.map((A)=>({id:A.id,name:A.name,mode:A.mode,incomingDocumentWebhookUrl:A.incomingDocumentWebhook.url,outgoingResultWebhookUrl:A.outgoingResultWebhook,autoApprovalRate:A.autoApprovalRate,...H?{isDefault:!0}:{}})),V=H?{id:G[0].id,name:G[0].name,mode:G[0].mode}:null,X=q.webhook?l3(G,q.webhook):H?G[0]:void 0,L;if(q.filePath)if(!$f1(q.filePath))L={valid:!1,filePath:q.filePath,fileName:q.filePath.split(/[\\/]/).pop()??q.filePath,documentCount:0,errors:[`文件不存在: ${q.filePath}`]};else try{let A=Pq(q.filePath),E=await Dq(A.fileBuffer,A.fileName,X?.materialPackFilePolicy);L={valid:!0,filePath:q.filePath,fileName:A.fileName,documentCount:E.documents.length,warnings:E.warnings}}catch(A){L={valid:!1,filePath:q.filePath,fileName:q.filePath.split(/[\\/]/).pop()??q.filePath,documentCount:0,errors:[A instanceof Error?A.message:String(A)]}}let w=L?L.valid:!0,F=U==="ok"&&Z.length>0&&w,O=J==="stateful"?"":` --corp ${Y.id}`,P="",B="";if(U!=="ok")B=`凭证鉴权异常: ${I}`,P=`seal-use auth diagnose${O}`;else if(Z.length===0)B="当前企业尚未配置任何 Webhook 集成通道",P=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${O}`;else if(L&&!L.valid)B=`资源包预检失败: ${L.errors?.join("; ")}`,P=`seal-use webhook resource-pack preview ${L.filePath}${O}`;else{B=H?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${Z.length} 个 Webhook 通道,等待载入`;let A=L?.filePath??"<资源包.zip>",E=H?"":` --webhook ${V?V.id:"<webhookIdOrName>"}`;P=`seal-use webhook resource-pack push ${A}${E}${O}`}return{ready:F,corp:{id:Y.id,name:Y.name,sourceType:Y.source.type,tenant:Q,user:K},stateMode:J,authStatus:U,authError:I,activeWebhooks:Z,defaultWebhook:V,resourcePack:L,materialPack:L,statusMessage:B,nextAction:P}}var Yv0=e(()=>{K3();I6();sp()});var tp=e(()=>{pU();xz();VD();sn();$c();qc();sp();Yv0();rp()});import{existsSync as qv0,mkdirSync as zv0,statSync as Yf1}from"node:fs";import{homedir as qf1}from"node:os";import{dirname as zf1,resolve as vP}from"node:path";function Jf1($){if($.outputFile){let I=vP($.outputFile),Q=zf1(I);if(!qv0(Q))zv0(Q,{recursive:!0});return I}let q=($.corpName||$.corpId||"企业").replace(/[/\\?%*:|"<>]/g,"_").trim()||"企业",z=$.dateTag||new Date().toISOString().slice(0,10),J=`${q}_智能洞察报告_${z}.xlsx`,U;if($.toDownloads)U=vP(qf1(),"Downloads");else U=vP(process.cwd(),"exports");if(!qv0(U))zv0(U,{recursive:!0});return vP(U,J)}async function hP($,Y,q={}){let z=Y.name||Y.id,J=Ci({startDate:q.startDate,endDate:q.endDate,force:q.force}),U=new Date().toISOString(),[I,Q]=await Promise.all([lL($,{startDate:J.startDateStr,endDate:J.endDateStr,limit:q.limit??100}),rL($,{startDate:J.startDateStr,endDate:J.endDateStr}).catch(()=>({metrics:{},sankeyData:{nodes:[],links:[]}}))]),K=I.tagStats||[],G=[],H=Math.min(K.length,q.limit??50);for(let C=0;C<H;C++){let c=K[C];if(!c?.tagId)continue;try{let n=await oL($,{tagId:c.tagId,startDate:J.startDateStr,endDate:J.endDateStr});for(let g of n.risks||[])G.push({tagId:c.tagId,tagName:c.tagName||c.tagId,documentSN:g.documentSN||"-",documentType:g.documentType||"-",riskLevel:g.riskLevel||"warning",confidence:g.confidence??0,riskDetails:g.riskDetails||"-",reasoning:g.reasoning||"-",sourceDocumentURL:g.sourceDocumentURL,createdAt:g.createdAt})}catch{}}let Z=new Jv0.default.Workbook;Z.creator="seal-use",Z.lastModifiedBy="seal-use",Z.created=new Date,Z.modified=new Date;let V={type:"pattern",pattern:"solid",fgColor:{argb:"FF1E293B"}},X={name:"Microsoft YaHei",size:11,bold:!0,color:{argb:"FFFFFFFF"}},L={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},w=Z.addWorksheet("审核效能与决策流向",{views:[{showGridLines:!0}]});w.columns=[{header:"分类",key:"category",width:20},{header:"指标名称",key:"name",width:28},{header:"数值",key:"val",width:22},{header:"环比/趋势",key:"trend",width:18},{header:"说明",key:"desc",width:36}],w.getRow(1).height=28,w.getRow(1).font=X,w.getRow(1).fill=V,w.getRow(1).alignment={vertical:"middle",horizontal:"center"};let F=Q.metrics||{},O=[{category:"基本信息",name:"企业名称",val:z,trend:"-",desc:`企业 ID: ${Y.id}`},{category:"基本信息",name:"报告生成时间",val:new Date().toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}),trend:"-",desc:"Seal AI 自动生成"},{category:"风险大盘",name:"发现风险总数",val:I.totalRisks??0,trend:"-",desc:`已分析 ${I.analyzedRisks??0} 项,待处理 ${I.pendingRisks??0} 项`},{category:"核心效能",name:"累计审核单据量",val:F.approvalCount?.value??"-",trend:F.approvalCount?.trend!==void 0?`${F.approvalCount.trend}%`:"-",desc:"所选统计周期内"},{category:"核心效能",name:"AI 审核准确率",val:F.accuracy?.value!==void 0?`${F.accuracy.value}%`:"-",trend:F.accuracy?.trend!==void 0?`${F.accuracy.trend}%`:"-",desc:"人工与 AI 决策一致比率"},{category:"核心效能",name:"自动审核采纳率",val:F.automationRate?.value!==void 0?`${F.automationRate.value}%`:"-",trend:F.automationRate?.trend!==void 0?`${F.automationRate.trend}%`:"-",desc:"自动通过或无需人工干预占比"},{category:"核心效能",name:"平均审核耗时",val:F.avgDuration?.value!==void 0?`${Math.round(F.avgDuration.value*10)/10} 秒`:"-",trend:F.avgDuration?.trend!==void 0?`${F.avgDuration.trend}%`:"-",desc:"单张单据审核端到端耗时"}];for(let C of O){let c=w.addRow(C);c.height=22,c.eachCell((n)=>{n.border=L,n.font={name:"Microsoft YaHei",size:10},n.alignment={vertical:"middle"}})}let P=Q.sankeyData?.links||[];if(P.length>0){w.addRow({});let C=w.addRow(["决策流向","流向阶段 (起点)","走向阶段 (终点)","流转单据数","占比/流向说明"]);C.height=24,C.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FF0F172A"}},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFE2E8F0"}},C.eachCell((c)=>{c.border=L,c.alignment={vertical:"middle",horizontal:"center"}});for(let c of P){let n=w.addRow({category:"决策流向",name:c.source,val:c.target,trend:c.value,desc:"流向连接"});n.height=20,n.eachCell((g)=>{g.border=L,g.font={name:"Microsoft YaHei",size:9},g.alignment={vertical:"middle"}})}}let B=Z.addWorksheet("Top 风险标签分析",{views:[{showGridLines:!0}]});B.columns=[{header:"标签编号",key:"tagId",width:14},{header:"风险标签名称",key:"tagName",width:26},{header:"风险分类路径",key:"tagPath",width:44},{header:"风险出现次数",key:"count",width:16},{header:"严重错误数 (Error)",key:"errorCount",width:20},{header:"合规预警数 (Warning)",key:"warningCount",width:22},{header:"平均置信度",key:"avgConfidence",width:16}],B.getRow(1).height=28,B.getRow(1).font=X,B.getRow(1).fill=V,B.getRow(1).alignment={vertical:"middle",horizontal:"center"};for(let C of K){let c=B.addRow({tagId:C.tagId||"-",tagName:C.tagName||"-",tagPath:C.tagPath||"-",count:C.count??0,errorCount:C.errorCount??0,warningCount:C.warningCount??0,avgConfidence:C.avgConfidence?`${Math.round(C.avgConfidence*100)}%`:"-"});c.height=22,c.eachCell((n,g)=>{if(n.border=L,n.font={name:"Microsoft YaHei",size:10},n.alignment={vertical:"middle",horizontal:[1,4,5,6,7].includes(g)?"center":"left"},g===5&&(C.errorCount??0)>0)n.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFDC2626"}},n.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};if(g===6&&(C.warningCount??0)>0)n.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFD97706"}},n.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let A=Z.addWorksheet("风险单据穿透明细",{views:[{showGridLines:!0}]});A.columns=[{header:"序号",key:"idx",width:8},{header:"风险标签",key:"tag",width:24},{header:"关联单据流水号",key:"documentSN",width:20},{header:"单据类型",key:"documentType",width:16},{header:"风险等级",key:"riskLevel",width:14},{header:"置信度",key:"confidence",width:12},{header:"风险具体描述",key:"riskDetails",width:48},{header:"AI 审核判断依据",key:"reasoning",width:48},{header:"单据链接",key:"sourceDocumentURL",width:30},{header:"发现时间",key:"createdAt",width:22}],A.getRow(1).height=28,A.getRow(1).font=X,A.getRow(1).fill=V,A.getRow(1).alignment={vertical:"middle",horizontal:"center"};let E=1;for(let C of G){let c="-";if(C.createdAt){let g=new Date(C.createdAt);if(!isNaN(g.getTime()))c=g.toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1})}let n=A.addRow({idx:E++,tag:`${C.tagName} (${C.tagId})`,documentSN:C.documentSN,documentType:C.documentType,riskLevel:C.riskLevel==="error"?"严重错误":"合规预警",confidence:`${Math.round(C.confidence*100)}%`,riskDetails:C.riskDetails,reasoning:C.reasoning,sourceDocumentURL:C.sourceDocumentURL||"-",createdAt:c});n.height=36,n.eachCell((g,b)=>{if(g.border=L,g.font={name:"Microsoft YaHei",size:9},g.alignment={vertical:"middle",horizontal:[1,3,4,5,6,10].includes(b)?"center":"left",wrapText:[7,8].includes(b)},b===5)if(C.riskLevel==="error")g.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFDC2626"}},g.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else g.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFD97706"}},g.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let y=J.dateTag,v=Jf1({outputFile:q.outputFile,toDownloads:q.toDownloads,corpName:z,dateTag:y});await Z.xlsx.writeFile(v),console.error(`智能洞察 Excel 报告已成功保存至: ${v}`);let k=Yf1(v);return{filePath:v,corpId:Y.id,corpName:z,totalRisks:I.totalRisks??0,tagCount:K.length,riskDetailCount:G.length,fileSizeBytes:k.size,exportedAt:U}}var Jv0;var ap=e(()=>{I6();JD();Jv0=y4(FZ(),1)});import{readFileSync as Uf1}from"node:fs";import{randomBytes as If1}from"node:crypto";function X6($){return Qf1.get($)}function YW($,Y){return Y?$:{...$,secret:"<redacted>"}}function Lv0($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return d3($,$.source);return $.source.sealUrl}function Kf1($,Y){let q=$.rules.length;if(Y.countOnly||Y.limit===0)return{count:q};let z=Y.offset??0,J=$.rules.slice(z,Y.limit===void 0?void 0:z+Y.limit),U=Y.fields;return{count:q,hasPendingDeletes:$.hasPendingDeletes,rules:U?J.map((I)=>Gf1(I,U)):J}}function Gf1($,Y){let q={};for(let z of Y)if($[z]!==void 0)q[z]=$[z];return q}function Hf1($,Y){let q=new Map($.map((Q)=>[Q.id,Q])),z=new Set,J=[],U=[],I=[];for(let Q of Y){let K;if(Q.id){if(K=q.get(Q.id),!K)throw Error(`本地规则 ${Q.id} 不存在于当前草稿。请先用 rules pull 获取当前草稿,再重新应用修改。`);if(z.has(Q.id))throw Error(`本地规则文件包含重复的规则 ID:${Q.id}`)}else{let H=$.filter((Z)=>!z.has(Z.id)&&Zf1(Z,Q));if(H.length>1)throw Error(`本地规则“${Q.description}”无法唯一匹配远端草稿,请在规则文件中补充稳定的 id。`);K=H[0]}if(!K){J.push(Q);continue}z.add(K.id);let G=Wf1(K,Q);if(G.length)U.push({id:K.id,rule:Q,changedFields:G});else I.push({id:K.id})}return{created:J,updated:U,deleted:$.filter((Q)=>!z.has(Q.id)),unchanged:I}}function Zf1($,Y){return $.description===Y.description.trim()&&$.scope===(Y.scope??"ALL")&&$.strictness===xP(Y.strictness)}function Wf1($,Y){let q=[];if($.description!==Y.description.trim())q.push("description");if($.scope!==(Y.scope??"ALL"))q.push("scope");if($.strictness!==xP(Y.strictness))q.push("strictness");return q}function xP($){let Y=$?.toUpperCase()??"MUST_FOLLOW";if(Y.includes("SHOULD"))return"SHOULD_FOLLOW";if(Y.includes("SUGGEST"))return"SUGGESTION";return"MUST_FOLLOW"}function Uv0($){let Y=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!Y||!Y[1])return 600000;let q=parseFloat(Y[1]);switch((Y[2]??"s").toLowerCase()){case"ms":return q;case"s":return q*1000;case"m":return q*60*1000;case"h":return q*3600*1000;case"d":return q*86400*1000;default:return q*1000}}function gP($){return Object.fromEntries(Object.entries($).map(([Y,q])=>[Y,["apiKey","apiSecret","secret"].includes(Y)&&typeof q==="string"?"***":q]))}function w9($,Y,q,z,J){return{preview:!0,targetUrl:`${Lv0($.corp).replace(/\/+$/,"")}/${Y.replace(/^\/+/,"")}`,changesDiff:{before:kP(q),after:kP(z)},impactCount:J}}function kP($){if(Array.isArray($))return $.map(kP);if(!$||typeof $!=="object")return $;return Object.fromEntries(Object.entries($).map(([Y,q])=>[Y,["apiKey","apiSecret","secret","token","password"].includes(Y)&&typeof q==="string"?"***":kP(q)]))}function Xf1($){let Y=$.sourceSystem??$.mode??"hosecloud",q={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},z=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((J)=>J.trim()).filter(Boolean):$.documentSn);if(Y==="hosecloud"){if(!z?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(q,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),z?.length)q.flowIds=z;if($.signKey)q.signKey=$.signKey;if($.startTime!==void 0)q.startTime=$.startTime;if($.endTime!==void 0)q.endTime=$.endTime;if($.status)q.status=$.status;if($.limit)q.limit=$.limit}else if(Y==="material_pack"||Y==="material-pack"){let J=$.packageIds??($.packageId?[$.packageId]:void 0);if(!J?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let U=$.templateId??$.schemaConfig?.id;if(!U)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(q,{templateId:U,packageIds:J,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)q.schemaConfig=$.schemaConfig}else if(Y==="weaver")Object.assign(q,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(Y==="helios")Object.assign(q,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(Y==="maycur"||Y==="maycur-standard")Object.assign(q,{sourceSystem:Y,formCodes:$.formCodes??z,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(Y==="feishu")Object.assign(q,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(q,{sourceSystem:Y});if($.rawParams)Object.assign(q,$.rawParams);return q}function Vf1($){return{id:$.id,status:$.status,approvalCode:$.approvalCode,sourceSystem:$.sourceSystem,totalCount:$.totalCount,processedCount:$.processedCount,successCount:$.successCount,failedCount:$.failedCount,createdCount:$.createdCount,createFailedCount:$.createFailedCount,requestSummary:$.requestSummary,resultSummary:$.resultSummary,createdAt:$.createdAt}}function Aq($){let Y=$.sourceDocumentSN,q=Bq($),z=bP($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:Y,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:Y?`hosecloud-${Y}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:q?.value,humanResultPath:q?.path,aiDecision:z.decision,aiSummary:z.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function Lf1($,Y){return{date:Y.date,timezone:Y.timezone,fetched:Y.fetched,matched:$.length,total:Y.total,statusCounts:Wv0($,(q)=>q.status??"unknown"),taskModeCounts:Wv0($,(q)=>q.taskMode??"unknown"),records:$.map((q)=>{let z=Aq(q);return{createdAt:Vv0(z.createdAt,Y.timezone),sourceDocumentSN:z.sourceDocumentSN,sourceDocumentId:z.sourceDocumentId,status:z.status,taskMode:z.taskMode,finalExecutionMode:z.finalExecutionMode,simulationBatchId:z.simulationBatchId,langfuseTraceId:z.langfuseTraceId,langfuseSessionFallback:z.langfuseSessionFallback,ruleSetVersionNumber:z.ruleSetVersionNumber,ruleSetPublishedAt:Vv0(z.ruleSetPublishedAt,Y.timezone),ruleSetPublishedByName:z.ruleSetPublishedByName,humanResult:z.humanResult,humanResultPath:z.humanResultPath,recordId:z.id}})}}function Iv0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((q)=>q.trim()).filter(Boolean)}function wv0($,Y){let q={};for(let z of Y){if(z==="metadata"){q.metadata=Fv0($);continue}let J=O3($,z);if(J!==void 0)Of1(q,z,J)}return q}function Fv0($){let Y=Aq($);return{recordId:Y.id,tenantId:Y.tenantId,agentId:Y.agentId,sourceSystem:Y.sourceSystem,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,documentId:Y.documentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:Y.ruleSetPublishedAt,ruleSetPublishedByName:Y.ruleSetPublishedByName,createdAt:Y.createdAt,updatedAt:Y.updatedAt}}function wf1($){return{metadata:Fv0($),document:Ov0($).document,aiResult:bP($),manualResult:Bq($)?.value,manualResultPath:Bq($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function bP($){let Y=zW($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:uP(Y,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:uP(Y,["summary","result.summary","review.summary","conclusion"]),riskPointCount:Qv0(Y,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:Qv0(Y,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function Ov0($){let Y=zW($.document),q=Nf1($.document),z=q.map((J)=>`${J.label??J.path??""}:${J.value??""}`).join(`
`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:PI({id:Y?.id,sn:Y?.sn??Y?.sourceDocumentSN??$.sourceDocumentSN,title:Y?.title??Y?.name,template:uP(Y,["template.name","templateName","form.name","formName","formTitle"]),amount:SP(q,["金额","报销金额","付款金额","合计","价税合计"])??uP(Y,["amount","totalAmount","expenseAmount"]),expenseType:SP(q,["费用类型","费用类别","报销类型"]),costCompany:SP(q,["费用承担公司","承担公司","成本中心","费用归属"]),payee:SP(q,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:q.slice(0,30)}),invoices:Df1($),attachments:a7($,{summary:!0}).attachments,aiResult:bP($),manualResult:Bq($)?.value,hints:PI({amountMentions:Kv0(z,["金额","合计","税率"],8),partyMentions:Kv0(z,["买方","卖方","甲方","乙方","收款"],8)})}}function Ff1($){let Y=[["result.citedRules",O3($,"result.citedRules")],["result.matchedRules",O3($,"result.matchedRules")],["result.ruleResults",O3($,"result.ruleResults")],["result.rules",O3($,"result.rules")],["pipelineData.citedRules",O3($,"pipelineData.citedRules")],["pipelineData.matchedRules",O3($,"pipelineData.matchedRules")]],q=[],z=new Set;for(let[J,U]of Y)(Array.isArray(U)?U:U&&typeof U==="object"?Object.values(U):[]).forEach((Q,K)=>{let G=zW(Q);if(!G)return;let H=_4(G.runtimeRuleId)??_4(G.runtimeId)??_4(G.id)??_4(G.ruleId),Z=_4(G.ruleCode)??_4(G.code)??(H?Bf1(H):void 0),V=PI({runtimeRuleId:H,ruleCode:Z,versionNumber:Mf1(G.versionNumber)??$.ruleSetVersionNumber,scope:_4(G.scope),strictness:_4(G.strictness),appliedAnalysis:G.appliedAnalysis??G.analysis??G.reasoning,checkResult:G.checkResult??G.result??G.decision,findings:G.findings??G.riskPoints??G.evidence,sourcePath:`${J}.${K}`}),X=JSON.stringify(V);if(!z.has(X))z.add(X),q.push(V)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:q.length,rules:q}}function uP($,Y){if(!$)return;for(let q of Y){let z=O3($,q);if(z!==void 0)return z}return}function Qv0($,Y){if(!$)return 0;for(let q of Y){let z=O3($,q);if(Array.isArray(z))return z.length;if(z&&typeof z==="object")return Object.keys(z).length;if(typeof z==="number")return z}return 0}function O3($,Y){return Y.split(".").reduce((q,z)=>{if(q===void 0||q===null)return;if(Array.isArray(q)){let J=Number(z);return Number.isInteger(J)?q[J]:void 0}if(typeof q==="object")return q[z];return},$)}function Of1($,Y,q){let z=Y.split("."),J=$;for(let U of z.slice(0,-1)){let I=J[U];if(!I||typeof I!=="object"||Array.isArray(I))J[U]={};J=J[U]}J[z[z.length-1]??Y]=q}function PI($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function zW($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function Mf1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Nf1($){let Y=[];return Yd($,"document",Y),Y}function Yd($,Y,q){if(Array.isArray($)){$.forEach((I,Q)=>Yd(I,`${Y}.${Q}`,q));return}let z=zW($);if(!z)return;let J=_4(z.label)??_4(z.name)??_4(z.title)??_4(z.fieldName),U=z.value??z.displayValue??z.text??z.content;if(J&&U!==void 0&&typeof U!=="object")q.push(PI({path:Y,label:J,value:U,type:_4(z.type)??_4(z.fieldType)}));for(let[I,Q]of Object.entries(z)){if(I==="attachments")continue;Yd(Q,`${Y}.${I}`,q)}}function SP($,Y){return $.find((z)=>{let J=_4(z.label)??"";return Y.some((U)=>J.includes(U))})?.value}function Df1($){let Y=[];return fP($.result,"result",Y),fP($.document,"document",Y),Y.slice(0,20)}function fP($,Y,q){if(Array.isArray($)){$.forEach((J,U)=>fP(J,`${Y}.${U}`,q));return}let z=zW($);if(!z)return;if(/invoice|发票/i.test(Y))q.push(PI({path:Y,fileName:_4(z.fileName)??_4(z.filename)??_4(z.name),buyer:z.buyer??z.buyerName??z.purchaserName,seller:z.seller??z.sellerName,amount:z.amount??z.totalAmount??z.total,taxRate:z.taxRate,category:z.category??z.type}));for(let[J,U]of Object.entries(z))fP(U,`${Y}.${J}`,q)}function Kv0($,Y,q){return $.split(/\r?\n/).filter((z)=>Y.some((J)=>z.includes(J))).slice(0,q)}function yP($){return $.map((Y)=>{let q=Aq(Y);return{recordId:q.id,tenantId:q.tenantId,agentId:q.agentId,sourceDocumentSN:q.sourceDocumentSN,sourceDocumentId:q.sourceDocumentId,simulationBatchId:q.simulationBatchId,langfuseTraceId:q.langfuseTraceId,langfuseSessionFallback:q.langfuseSessionFallback,ruleSetVersionNumber:q.ruleSetVersionNumber,ruleSetPublishedAt:q.ruleSetPublishedAt,ruleSetPublishedByName:q.ruleSetPublishedByName,resolution:q.langfuseTraceId?"trace":q.langfuseSessionFallback?"session-fallback":"unresolved"}})}function ep($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function Pf1($,Y){if(Y.recordId&&!Y.versionId&&!Y.versionNumber&&!Y.latest){let q=await e1($,Y.recordId);if(!q.ruleSetVersionNumber)throw Error(`Approval run ${Y.recordId} has no ruleSetVersionNumber`);return qd($,{versionNumber:q.ruleSetVersionNumber})}return qd($,Y)}function Af1($,Y){let q=$d(Y.code),z=Mv0(Y.runtimeId),J=q?Number(q.slice(1)):z;if(!J||J<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let U=$.rules.find((K,G)=>{let H=K;return $d(_4(H.code)??_4(H.ruleCode))===q||G+1===J});if(!U)return;let I=U,Q=$.rules.indexOf(U)+1;return PI({runtimeRuleId:_4(I.runtimeRuleId)??`rule-${Q}`,ruleCode:$d(_4(I.code)??_4(I.ruleCode))??Id(Q),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:U.description,scope:U.scope,strictness:U.strictness,status:_4(I.status)})}function $d($){if(!$)return;let Y=$.match(/\d+/)?.[0];return Y?Id(Number(Y)):$}function Mv0($){if(!$)return;let Y=$.match(/(\d+)$/);return Y?Number(Y[1]):void 0}function Bf1($){let Y=Mv0($);return Y?Id(Y):void 0}function Id($){return`#${String($).padStart(4,"0")}`}function Tf1($,Y){let q=Aq($),z={recordId:q.id,sourceDocumentSN:q.sourceDocumentSN,sourceDocumentId:q.sourceDocumentId,simulationBatchId:q.simulationBatchId,status:q.status,taskMode:q.taskMode,ruleSetVersionNumber:q.ruleSetVersionNumber,langfuseTraceId:q.langfuseTraceId,manualResult:q.humanResult,aiDecision:q.aiDecision,aiSummary:q.aiSummary,createdAt:q.createdAt};if(Y.length===0)return z;return wv0(z,Y)}async function Ef1($,Y){if(Y.recordId)return e1($,Y.recordId);let z=(await x4($,{limit:1,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records[0];if(!z){let J=Y.sourceDocumentSN?`sourceDocumentSN ${Y.sourceDocumentSN}`:`sourceDocumentId ${Y.sourceDocumentId}`;throw Error(`Approval run not found for ${J}`)}return e1($,z.id)}function jf1($){if($.seal?.url)return $.seal.url.replace(/\/+$/,"");if($.source.type==="hose")return d3($,$.source).replace(/\/+$/,"");if("sealUrl"in $.source&&typeof $.source.sealUrl==="string"&&$.source.sealUrl)return $.source.sealUrl.replace(/\/+$/,"");return`https://${$.id.toLowerCase()}.sealai.cc`}function _f1($){return $.replace(/\/+$/,"")}function _4($){return typeof $==="string"&&$.trim()?$:void 0}async function Rf1($,Y){let q=Math.min(100,Math.max(Y.limit,20)),z=[],J,U=0;while(U<Y.maxScan&&z.length<Y.limit){let I=await x4($,{offset:U,limit:Math.min(q,Y.maxScan-U),search:Y.sn??Y.query,sourceDocumentSN:Y.sn});J=I.total,U+=I.records.length;let Q=Qd(I.records,Y.query).filter((K)=>!Y.sn||K.sourceDocumentSN===Y.sn).filter((K)=>!Y.batchId||K.sourceExtendData?.simulation_batch_id===Y.batchId);if(z.push(...Q),I.records.length===0||J!==void 0&&U>=J)break}return z.sort((I,Q)=>Gv0(Q.createdAt)-Gv0(I.createdAt)),{total:J,scanned:U,records:z.slice(0,Y.latest?1:Y.limit)}}function Gv0($){if(typeof $==="number")return $;if(typeof $==="string"){let Y=Date.parse($);return Number.isFinite(Y)?Y:0}return 0}async function qd($,Y){if(Y.versionId)return AK($,Y.versionId);let q=await B$($),z=Y.versionNumber?q.find((J)=>J.versionNumber===Y.versionNumber):q[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}function Qd($,Y){let q=Y?.trim().toLowerCase();if(!q)return $;return $.filter((z)=>{return[z.id,z.sourceDocumentSN,z.sourceDocumentId,z.documentId,z.sourceExtendData?._langfuseTraceId,z.sourceExtendData?.simulation_batch_id,z.status,z.taskMode,z.finalExecutionMode,z.sourceSystem,z.ruleSetVersionNumber,z.ruleSetPublishedByName].some((U)=>zd(U,q))||Jd(z,q)})}function zd($,Y){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(Y);return!1}function Jd($,Y,q=0){if(q>6)return!1;if(zd($,Y))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((z)=>Jd(z,Y,q+1));return Object.entries($).some(([z,J])=>zd(z,Y)||Jd(J,Y,q+1))}function Cf1($,Y){let q=Y?.trim().toLowerCase();if(!q)return $;return $.filter((z)=>Bq(z)?.value.toLowerCase().includes(q))}function vf1($){return{...$,manualApprovalStatus:Nv0($.manualApprovalStatus,$.humanResult)}}function Nv0($,Y){if($)return $;let q=Y?.trim().toLowerCase();if(!q)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(q))return"TERMINATED";return}async function Hv0($,Y,q){let z=Qd(Y,q.query);if(!q.humanResult?.trim())return z;let J=await Promise.all(z.map(async(U)=>{if(Bq(U))return U;try{return await e1($,U.id)}catch{return U}}));return Cf1(J,q.humanResult)}function hf1($){return{originalDocumentData:{path:"document",frontendLabel:"单据原始数据",description:"前端详情页展示的单据原始数据对象",id:$.document?.id??$.documentId,sourceDocumentSN:$.document?.sourceDocumentSN??$.sourceDocumentSN,sourceDocumentId:$.document?.sourceDocumentId??$.sourceDocumentId},aiDocumentFields:{path:"document.fields",frontendLabel:"AI 看的单据",description:"AI 审核实际读取的字段数组,即单据原始数据中的 fields",fieldCount:$.document?.fields?.length},aiDocument:{path:"document.fields",frontendLabel:"AI 看的单据",description:"兼容别名,等同于 aiDocumentFields",aliasOf:"aiDocumentFields",fieldCount:$.document?.fields?.length},sourceDocument:{path:"sourceExtendData.hosecloudViewUrl",description:"合思原始单据入口;详情响应中只有入口和源单据 ID,不包含完整原始单据 JSON",sourceSystem:$.sourceSystem,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,originalDocumentId:$.sourceExtendData?.original_document_id,viewUrl:$.sourceExtendData?.hosecloudViewUrl},aiResult:{path:"result",description:"AI 最终审核结构化结果"},aiAuditLog:{path:"pipelineData.logs",description:"AI 审核过程日志"},manualApproval:{path:"manualApprovalRecord",description:"人工审核结果、节点和驳回原因"}}}function Bq($){let Y=[["result",$.result],["pipelineData",$.pipelineData]];for(let[q,z]of Y){let J=Ud(z,q);if(J)return J}return}function Ud($,Y,q=0){if(q>8||$===null||$===void 0)return;if(Array.isArray($)){for(let z=0;z<$.length;z+=1){let J=Ud($[z],`${Y}[${z}]`,q+1);if(J)return J}return}if(typeof $!=="object")return;for(let[z,J]of Object.entries($)){let U=`${Y}.${z}`,I=Ud(J,U,q+1);if(I)return I;if(Zv0(z)||Zv0(U)){let Q=Dv0(J);if(Q)return{value:Q,path:U}}}return}function Zv0($){let Y=$.toLowerCase(),q=Y.includes("human")||Y.includes("manual")||Y.includes("reviewer")||Y.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),z=Y.includes("result")||Y.includes("decision")||Y.includes("outcome")||Y.includes("conclusion")||Y.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return q&&z}function Dv0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let Y=$;for(let q of["label","name","text","value","result","decision","outcome","status","action"]){let z=Dv0(Y[q]);if(z)return z}return}function gf1($,Y){if(Y.recordId&&$.id!==Y.recordId)return!1;if(Y.sourceDocumentSN&&$.sourceDocumentSN!==Y.sourceDocumentSN)return!1;if(Y.sourceDocumentId&&$.sourceDocumentId!==Y.sourceDocumentId)return!1;return!0}function Wv0($,Y){return $.reduce((q,z)=>{let J=Y(z);return q[J]=(q[J]??0)+1,q},{})}function Xv0($,Y){let q=Pv0($);if(!q)return;let z=Av0(q,Y),J=z.year,U=(z.month??"01").padStart(2,"0"),I=(z.day??"01").padStart(2,"0");return`${J}-${U}-${I}`}function Vv0($,Y){let q=Pv0($);if(!q)return;let z=Av0(q,Y),J=(z.month??"01").padStart(2,"0"),U=(z.day??"01").padStart(2,"0"),I=(z.hour??"00").padStart(2,"0"),Q=(z.minute??"00").padStart(2,"0"),K=(z.second??"00").padStart(2,"0");return`${z.year??"0000"}-${J}-${U} ${I}:${Q}:${K}`}function Pv0($){if($===void 0)return null;let Y=new Date($);return Number.isNaN(Y.getTime())?null:Y}function Av0($,Y){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:Y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((q)=>q.type!=="literal").map((q)=>[q.type,q.value]))}var qW,Qf1;var iP=e(()=>{I5();I6();j9();K3();b8();xA0();DZ();qn();eA0();tp();xz();ID();JD();ji();ap();gv();qW=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:W.object({}),handler:async($)=>z8($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:W.object({}),handler:async($)=>y40($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:W.object({}),handler:async($)=>z60($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:W.object({note:W.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,Y)=>kz($,Y)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:W.object({tokenId:W.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,Y)=>J60($,Y.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:W.object({name:W.string().describe("用户姓名"),phone:W.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:W.array(W.string()).optional().describe("权限列表,默认为 []"),departmentIds:W.array(W.string()).optional().describe("关联部门 ID 数组")}),handler:async($,Y)=>U60($,Y)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:W.object({userId:W.string().describe("用户 ID (_id)")}),handler:async($,Y)=>bv($,Y.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:W.object({userId:W.string().describe("用户 ID (_id)")}),handler:async($,Y)=>yL($,Y.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:W.object({keyword:W.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,Y)=>xL($,Y.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:W.object({userId:W.string().describe("用户 ID (_id)")}),handler:async($,Y)=>w60($,Y.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:W.object({userId:W.string().describe("用户 ID (_id)")}),handler:async($,Y)=>nv($,Y.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:W.object({userIdOrPhone:W.string().describe("目标用户 ID、手机号或姓名"),note:W.string().optional().describe("授权链接备注信息")}),handler:async($,Y,q)=>F60($,Y,(z)=>Pv(q.corp,z),q.corp)},{name:"seal_contacts_departments_root_list",description:"列出当前 Seal 租户通讯录的顶级部门",parameters:W.object({}),handler:async($)=>I60($)},{name:"seal_contacts_department_get",description:"获取指定通讯录部门的详细信息",parameters:W.object({departmentId:W.string().describe("部门 ID")}),handler:async($,Y)=>Q60($,Y.departmentId)},{name:"seal_contacts_department_children_list",description:"列出指定通讯录部门的直接子部门",parameters:W.object({departmentId:W.string().describe("部门 ID")}),handler:async($,Y)=>K60($,Y.departmentId)},{name:"seal_contacts_department_users_list",description:"列出指定通讯录部门下的用户",parameters:W.object({departmentId:W.string().describe("部门 ID")}),handler:async($,Y)=>G60($,Y.departmentId)},{name:"seal_contacts_last_sync_time_get",description:"查询通讯录最后同步时间",parameters:W.object({}),handler:async($)=>H60($)},{name:"seal_insight_stats_get",description:"查询智能洞察风险标签统计及分析状态",parameters:W.object({startDate:W.string().optional().describe("统计开始时间(ISO 8601)"),endDate:W.string().optional().describe("统计结束时间(ISO 8601)"),limit:W.number().int().positive().max(100).optional().describe("最多返回的风险标签数量")}),handler:async($,Y)=>lL($,Y)},{name:"seal_insight_risks_by_tag_get",description:"按风险标签查询智能洞察风险单据明细及 AI 分析依据",parameters:W.object({tagId:W.string().describe("风险标签 ID(如 B.1.1、B.1.6)"),startDate:W.string().optional().describe("统计开始时间(ISO 8601)"),endDate:W.string().optional().describe("统计结束时间(ISO 8601)")}),handler:async($,Y)=>oL($,Y)},{name:"seal_insight_performance_get",description:"查询智能洞察审核效能指标(自动化率、准确率等)及决策流向桑基图",parameters:W.object({startDate:W.union([W.string(),W.number()]).optional().describe("统计开始时间(ISO 8601 或毫秒时间戳)"),endDate:W.union([W.string(),W.number()]).optional().describe("统计结束时间(ISO 8601 或毫秒时间戳)")}),handler:async($,Y)=>rL($,Y)},{name:"seal_insight_record_analyze",description:"对指定的审批单运行记录按需触发智能洞察风险分析",parameters:W.object({recordId:W.string().describe("审批单运行记录 ID (recordId)")}),handler:async($,Y)=>Z60($,Y.recordId)},{name:"seal_insight_export",description:"导出智能洞察风险研报为高保真 Excel 文件(含效能概览、Top风险标签、风险单据穿透明细)",parameters:W.object({startDate:W.string().optional().describe("统计开始时间(ISO 8601 或时间戳)"),endDate:W.string().optional().describe("统计结束时间(ISO 8601 或时间戳)"),limit:W.number().int().positive().optional().describe("最多下钻分析的风险标签数量"),outputFile:W.string().optional().describe("自定义 Excel 保存路径"),toDownloads:W.boolean().optional().describe("是否直接保存到用户的系统下载目录"),force:W.boolean().optional().describe("时间跨度超过 180 天时是否强制导出")}),handler:async($,Y,q)=>hP($,q.corp,Y)},{name:"seal_expenses_list",description:"分页查询费用明细",parameters:W.object({offset:W.number().int().nonnegative().optional(),limit:W.number().int().positive().max(100).optional(),startDate:W.string().optional().describe("开始时间"),endDate:W.string().optional().describe("结束时间"),search:W.string().optional().describe("搜索费用类型、描述或金额")}),handler:async($,Y)=>X60($,Y)},{name:"seal_invoices_list",description:"分页查询进项发票",parameters:W.object({offset:W.number().int().nonnegative().optional(),limit:W.number().int().positive().max(100).optional(),startDate:W.string().optional().describe("开始时间"),endDate:W.string().optional().describe("结束时间"),search:W.string().optional().describe("搜索发票号码或销售方")}),handler:async($,Y)=>V60($,Y)},{name:"seal_simulation_feishu_approval_definitions_list",description:"列出飞书模拟测试可用的审批定义,便于选择 approvalCode",parameters:W.object({}),handler:async($)=>{let Y=await L60($);return{count:Y.length,approvalDefinitions:Y}}},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:W.object({}),handler:async($)=>O60($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:W.object({}),handler:async($)=>M60($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:W.object({}),handler:async($)=>N60($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:W.object({}),handler:async($)=>D60($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:W.object({}),handler:async($)=>g2($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:W.object({}),handler:async($)=>P60($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:W.object({}),handler:async($)=>A60($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;返回的 code 属于草稿编号体系,发布版本可能重新编码;支持 countOnly、fields、limit 以避免返回规则正文",parameters:W.object({countOnly:W.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:W.array(W.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:W.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:W.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,Y)=>{let q=await b6($);return Kf1(q,Y)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:W.object({dryRun:W.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:W.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,Y,q)=>{let z=await b6($);if(Y.dryRun)return{...w9(q,"api/v1/rules",z.rules,[],z.rules.length),corpId:q.corp.id,corpName:q.corp.name,dryRun:!0,beforeCount:z.rules.length,deleted:0,afterCount:z.rules.length,hasPendingDeletes:z.hasPendingDeletes};let J=[],U=0;for(let G of z.rules)try{await uz($,G.id),U+=1}catch(H){J.push({ruleId:G.id,error:H instanceof Error?H.message:String(H)})}let I=[],Q;if(U>0&&Y.recode!==!1){if(Q=await uL($),Q&&typeof Q==="object"&&"ok"in Q&&Q.ok!==!0)I.push("batch-recode did not complete; current rules were still deleted")}let K=await b6($);return{corpId:q.corp.id,corpName:q.corp.name,dryRun:!1,beforeCount:z.rules.length,deleted:U,failed:J,afterCount:K.rules.length,hasPendingDeletes:K.hasPendingDeletes,warnings:I,recode:Q}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:W.object({description:W.string().describe("规则描述"),scope:W.string().describe("适用场景"),strictness:W.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,Y)=>PK($,Y)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:W.object({ruleId:W.string().describe("规则 ID"),description:W.string().optional(),scope:W.string().optional(),strictness:W.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,Y)=>{let{ruleId:q,...z}=Y,J=await Sv($,q,z);if(Y.description)try{let U=T4();if(U.lint?.enabled){let I=await ei(U.lint.activeLinter),Q=await Yn({id:q,description:Y.description},I);if(Q.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${Q.score}/100 (发现 ${Q.issues.length} 处潜在风险):`);for(let K of Q.issues)if(console.error(` • [${K.level.toUpperCase()}] ${K.message}${K.snippet?` ("${K.snippet}")`:""}`),K.suggestion)console.error(` \uD83D\uDC49 建议: ${K.suggestion}`)}}}catch{}return J}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:W.object({ruleId:W.string().describe("规则 ID")}),handler:async($,Y)=>{return await uz($,Y.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:W.object({}),handler:async($)=>{let Y=await B$($);return{count:Y.length,latest:Y[0]?ep(Y[0]):void 0,versions:Y.map(ep)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:W.object({versionId:W.string().optional().describe("规则版本 ID"),versionNumber:W.number().int().positive().optional().describe("规则版本号"),latest:W.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,Y)=>{if(Y.versionId)return AK($,Y.versionId);let q=await B$($),z=Y.versionNumber?q.find((J)=>J.versionNumber===Y.versionNumber):q[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:W.object({versionName:W.string().describe("版本名称")}),handler:async($,Y)=>BK($,Y.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则;code 只在选定的版本编号体系内有效,避免拉取整版规则快照",parameters:W.object({versionId:W.string().optional().describe("规则版本 ID"),versionNumber:W.number().int().positive().optional().describe("规则版本号"),latest:W.boolean().optional().describe("为 true 时取最新版本"),code:W.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:W.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:W.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,Y)=>{let q=await Pf1($,Y),z=Af1(q,{code:Y.code,runtimeId:Y.runtimeId});if(!z)throw Error(`Rule not found in version ${q.versionNumber}`);return z}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:W.object({file:W.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:W.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:W.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:W.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:W.string().optional().describe("按规则 ID 过滤"),minScore:W.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:W.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:W.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,Y,q)=>{let z=[],J;if(Y.file){let G=zn(Y.file);z=aA0(G.rules),J=G.meta.versionNumber}else if(Y.version){let G=await B$($),H=Number(Y.version),Z=isNaN(H)?Y.version==="latest"?G[0]:G.find((V)=>V.id===Y.version):G.find((V)=>V.versionNumber===H);if(!Z)throw Error(`未找到指定的规则版本: ${Y.version}`);J=Z.versionNumber,z=(Z.rules??[]).map((V,X)=>({id:V.id??V.runtimeId,code:V.code??`#${String(X+1).padStart(4,"0")}`,name:V.name??V.title,description:V.description??"",scope:V.scope,strictness:V.strictness}))}else z=((await b6($)).rules??[]).map((H,Z)=>({id:H.id,code:H.code??`#${String(Z+1).padStart(4,"0")}`,name:H.name??H.title,description:H.description??"",scope:H.scope,strictness:H.strictness}));if(Y.code)z=z.filter((G)=>G.code===Y.code||G.code?.replace(/[#\s]/g,"")===Y.code?.replace(/[#\s]/g,""));if(Y.ruleId)z=z.filter((G)=>G.id===Y.ruleId||G.code===Y.ruleId);let U=T4(),I=Y.linter??U.lint?.activeLinter??"builtin",Q=await ei(I),K=await oA0(z,Q,{corpId:q?.corp?.id,versionNumber:J,allRules:z},{minScore:Y.minScore,level:Y.level,summary:Y.summary});if(Y.minScore&&K.overallScore<Y.minScore)throw Error(`[Linter 质量门禁未通过] 综合评分 ${K.overallScore} 低于要求的最低分 ${Y.minScore} 分 (共发现 ${K.issueCount} 条问题规则)。`);return K}},{name:"seal_approval_rules_pull",description:"从 Seal 远端拉取草稿或指定版本规则,保存至本地规则文件(支持离线编辑与本地 Lint,绝不污染远端草稿)",parameters:W.object({version:W.string().optional().describe("指定拉取的历史发布版本号或 ID(如 16 或 latest),不传默认拉取当前草稿规则"),out:W.string().optional().describe("保存的目标本地文件路径,默认为 ./rules.local.json")}),handler:async($,Y,q)=>{let z=Y.out??"./rules.local.json",J=[],U="draft",I;if(Y.version){let K=await B$($),G=Number(Y.version),H=isNaN(G)?Y.version==="latest"?K[0]:K.find((Z)=>Z.id===Y.version):K.find((Z)=>Z.versionNumber===G);if(!H)throw Error(`未找到指定的规则版本: ${Y.version}`);I=H.versionNumber,U=`version:${I}`,J=(H.rules??[]).map((Z,V)=>({code:Z.code?Number(String(Z.code).replace(/^#/,""))||V+1:V+1,name:Z.name??Z.title,description:Z.description??"",scope:Z.scope??"ALL",strictness:Z.strictness??"MUST_FOLLOW"}))}else J=((await b6($)).rules??[]).map((G,H)=>({id:G.id,code:G.code??H+1,name:G.name??G.title,description:G.description??"",scope:G.scope??"ALL",strictness:G.strictness??"MUST_FOLLOW",status:G.status}));return{saved:!0,path:tA0(z,{corpId:q.corp.id,source:U,versionNumber:I,exportedAt:new Date().toISOString(),rulesCount:J.length,rules:J}),rulesCount:J.length,corpId:q.corp.id,source:U,versionNumber:I}}},{name:"seal_approval_rules_push",description:"将本地规则文件增量同步到远端草稿;按规则 ID 更新/删除并保留未变更规则,支持直接发布为正式版本",parameters:W.object({file:W.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:W.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:W.boolean().optional().describe("确认覆盖写入远端草稿"),publish:W.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:W.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,Y,q)=>{let z=Y.file??"./rules.local.json",J=zn(z),U=Y.confirm===!0,I=Y.dryRun??!U,Q=await b6($),K=Hf1(Q.rules,J.rules);if(I)return{...w9(q,"api/v1/rules",Q.rules,J.rules.map((V)=>({description:V.description,scope:V.scope??"ALL",strictness:V.strictness??"MUST_FOLLOW"})),Q.rules.length+J.rules.length),corpId:q.corp.id,dryRun:!0,localFile:J.resolvedPath,localRulesCount:J.rules.length,remoteDraftCount:Q.rules.length,changes:K,impactCount:K.created.length+K.updated.length+K.deleted.length,preservedRuleIds:[...K.updated.map((V)=>V.id),...K.unchanged.map((V)=>V.id)],warning:"Incremental mode preserves matched rule IDs and does not recode the draft rule set.",willPublish:Boolean(Y.publish),message:"Preview mode. Use --yes or confirm=true to apply the listed incremental changes to the remote draft."};for(let V of K.deleted)await uz($,V.id);let G=[];for(let V of K.created){let X=await PK($,{description:V.description,scope:V.scope??"ALL",strictness:xP(V.strictness)});G.push({id:X.id,description:X.description,code:X.code})}let H=[];for(let V of K.updated)await Sv($,V.id,{description:V.rule.description,scope:V.rule.scope??"ALL",strictness:xP(V.rule.strictness)}),H.push(V.id);let Z=void 0;if(Y.publish){let V=new Date().toISOString().slice(0,10).replace(/-/g,""),X=Y.versionName||`v-local-${V}-${Date.now().toString().slice(-4)}`;Z=await BK($,X)}return{corpId:q.corp.id,dryRun:!1,localFile:J.resolvedPath,deletedRules:K.deleted.length,createdRules:G.length,updatedRules:H.length,unchangedRules:K.unchanged.length,preservedRuleIds:[...H,...K.unchanged.map((V)=>V.id)],recoded:!1,published:Z??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:W.object({scenarios:W.array(W.string()).optional().describe("场景过滤"),offset:W.number().int().nonnegative().optional(),limit:W.number().int().positive().optional()}),handler:async($,Y)=>m3($,Y)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:W.object({documentId:W.string().describe("文档 ID")}),handler:async($,Y)=>x40($,Y.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:W.object({title:W.string(),purpose:W.string(),content:W.string().describe("正文,通常为 Markdown"),contentType:W.string().optional(),status:W.string().optional(),enabled:W.boolean().optional(),scenarios:W.array(W.string()).optional(),tags:W.array(W.string()).optional()}),handler:async($,Y)=>fL($,Y)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:W.object({documentId:W.string(),title:W.string().optional(),purpose:W.string().optional(),content:W.string().optional(),contentType:W.string().optional(),status:W.string().optional(),enabled:W.boolean().optional(),scenarios:W.array(W.string()).optional(),tags:W.array(W.string()).optional()}),handler:async($,Y)=>{let{documentId:q,...z}=Y;return bL($,q,z)}},{name:"seal_approval_delete_document",description:"删除 Seal 审批知识文档",parameters:W.object({documentId:W.string().describe("知识文档 ID")}),handler:($,Y)=>iL($,Y.documentId)},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:W.object({keywords:W.array(W.string()).min(1).describe("关键词组"),matchMode:W.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:W.array(W.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:W.boolean().optional().describe("是否大小写敏感"),contextLines:W.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:W.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:W.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:W.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:W.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:W.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:W.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:W.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:W.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:W.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:W.array(W.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,Y,q)=>yA0($,q.corp,Y)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:W.object({documentLimit:W.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:W.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:W.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:W.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,Y,q)=>{let z=await dL($,{documentLimit:Y.documentLimit,stylePreferencesEndpoint:q.corp.seal.endpoints.approvalStylePreferences});if(!Y.ruleVersionId&&!Y.ruleVersionNumber&&!Y.latestRuleVersion)return z;let J=await qd($,Y);return{...z,rules:{version:ep(J),rules:J.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:W.object({}),handler:async($,Y,q)=>x1($,q.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:W.object({tone:W.string().optional(),language:W.string().optional(),detailLevel:W.string().optional(),outputFormat:W.string().optional(),examples:W.array(W.string()).optional(),prohibitedPhrases:W.array(W.string()).optional(),customInstructions:W.string().optional()}),handler:async($,Y,q)=>g5($,Y,q.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:W.object({query:W.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:W.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,q)=>{let z=n40(await J$($,q.corp.seal.endpoints.approvalStylePreferences),Y.query);return{count:z.length,integrations:z.map((J)=>YW(J,Y.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:W.object({selector:W.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:W.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,q)=>{let z=l3(await J$($,q.corp.seal.endpoints.approvalStylePreferences),Y.selector);return YW(z,Y.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:W.object({name:W.string().min(1).describe("集成名称"),mode:W.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:W.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:W.number().int().min(0).max(100).optional(),secret:W.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:Ev.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,q)=>{let z=Lv0(q.corp),J=Y.dryRun?await k40($,z,Y,q.corp.seal.endpoints.approvalStylePreferences):void 0,U=J?.integration??await nL($,z,Y,q.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,J.before,J.after,1);return{saved:!0,integration:YW(U,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:W.object({selector:W.string().min(1).describe("Webhook 集成 ID 或名称"),name:W.string().min(1).optional(),mode:W.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:W.string().url().optional(),autoApprovalRate:W.number().int().min(0).max(100).optional(),secret:W.string().min(1).optional(),rotateSecret:W.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:Ev.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,q)=>{if(Y.secret!==void 0&&Y.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let z=Y.dryRun?await f40($,Y.selector,Y,q.corp.seal.endpoints.approvalStylePreferences):void 0,J=z?.integration??await u40($,Y.selector,Y,q.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,z.before,z.after,1);return{saved:!0,integration:YW(J,Y.secret!==void 0||Y.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:W.object({selector:W.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:W.boolean().optional().describe("执行删除时必须明确传 true;dryRun 可省略"),dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行删除")}),handler:async($,Y,q)=>{if(!Y.confirm&&!Y.dryRun)throw Error("Refusing to delete Webhook integration without confirm=true");let z=Y.dryRun?await i40($,Y.selector,q.corp.seal.endpoints.approvalStylePreferences):void 0,J=z?.integration??await b40($,Y.selector,q.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,z.before,z.after,1);return{deleted:!0,integration:YW(J,!1)}}},{name:"seal_webhook_replay",description:"将正式(生产)企业或指定企业的审批记录通过 Webhook 渠道重放到测试企业进行规则回归与模拟验证",parameters:W.object({recordId:W.string().optional().describe("待重放的单条审批记录 ID"),sn:W.string().optional().describe("待重放的单据编号 (sourceDocumentSN)"),sourceCorpId:W.string().optional().describe("单据来源企业 ID (若省略,基于绑定关系自动解析为正式企业)"),targetCorpId:W.string().optional().describe("重放目标企业 ID (若省略,基于绑定关系自动解析为测试企业)"),webhook:W.string().optional().describe("目标 Webhook 通道 ID 或名称"),limit:W.number().optional().describe("批量重放单据数量 (默认 1)"),status:W.string().optional().describe("单据状态过滤 (例如 completed, failed 等)"),snPrefix:W.string().optional().describe("重放单号前缀"),snSuffix:W.string().optional().describe("重放单号后缀"),dryRun:W.boolean().optional().describe("是否仅执行预检转换而不实际推送 (默认 false)"),force:W.boolean().optional().describe("若目标为生产环境,强制执行重放")}),handler:async($,Y,q)=>{let z=(K)=>{let G=r8(),H=T4();return $2(G,{stateful:H.stateful,defaultCorpId:H.defaultCorpId,corpId:K},Q3())},{sourceCorp:J,targetCorp:U}=FD({sourceCorpId:Y.sourceCorpId,targetCorpId:Y.targetCorpId,activeCorp:q.corp,force:Y.force},z),I=J.id===q.corp.id?$:await Z1(J),Q=U.id===q.corp.id?$:await Z1(U);return nU({query:{recordId:Y.recordId,sn:Y.sn,limit:Y.limit,status:Y.status},sourceClient:I,targetClient:Q,sourceCorp:J,targetCorp:U,webhookSelector:Y.webhook,snPrefix:Y.snPrefix,snSuffix:Y.snSuffix,dryRun:Y.dryRun})}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:W.object({offset:W.number().int().nonnegative().optional(),limit:W.number().int().positive().max(100).optional(),fromTimestamp:W.string().optional(),toTimestamp:W.string().optional(),startDate:W.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:W.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:W.string().optional(),taskMode:W.string().optional(),manualApprovalStatus:W.union([W.string(),W.array(W.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:W.string().optional(),sourceDocumentId:W.string().optional(),humanResult:W.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:W.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:W.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,Y)=>{let q=Y.query?.trim(),z=await x4($,vf1({...Y,search:q})),J=await Hv0($,z.records,{humanResult:Y.humanResult});return{...z,records:J.map(Aq),...Y.includeBridge?{bridge:yP(J)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:W.object({date:W.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:W.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:W.number().int().nonnegative().optional(),limit:W.number().int().positive().max(100).optional(),startDate:W.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:W.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:W.string().optional(),taskMode:W.string().optional(),manualApprovalStatus:W.union([W.string(),W.array(W.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:W.string().optional(),sourceDocumentId:W.string().optional(),humanResult:W.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:W.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let q=Y.timezone??"Asia/Shanghai",z=Y.date??Xv0(Date.now(),q)??"",J=await x4($,{offset:Y.offset,limit:Y.limit??100,startDate:Y.startDate,endDate:Y.endDate,status:Y.status,taskMode:Y.taskMode,manualApprovalStatus:Nv0(Y.manualApprovalStatus,Y.humanResult),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}),U=(await Hv0($,J.records,{query:Y.query,humanResult:Y.humanResult})).filter((I)=>Xv0(I.createdAt,q)===z);return Lf1(U,{date:z,timezone:q,fetched:J.records.length,total:J.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:W.object({startDate:W.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:W.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:W.number().int().positive().optional().describe("最大拉取记录条数"),status:W.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:W.union([W.string(),W.array(W.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:W.boolean().optional().describe("是否仅导出已完成单据"),outputFile:W.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:W.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,Y,q)=>zD($,q.corp,Y)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:W.object({recordId:W.string().describe("Seal approval run record ID"),fields:W.union([W.string(),W.array(W.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:W.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,Y)=>{let q=await e1($,Y.recordId);if(Y.summary)return wf1(q);let z={...q,aliases:hf1(q),humanResult:Bq(q)},J=Iv0(Y.fields);return J.length>0?wv0(z,J):z}},{name:"seal_approval_run_flow_get",description:"获取合思原生审批流流转时间线、待办节点、员工意见、驳回原因及版本变更指标,并对齐 AI 运行记录与人工行为",parameters:W.object({target:W.string().optional().describe("合思单号 (sourceDocumentSN) 或 Seal 运行记录 ID (recordId)"),recordId:W.string().optional().describe("Seal 运行记录 ID"),sourceDocumentSN:W.string().optional().describe("合思单号 (sourceDocumentSN)")}),handler:async($,Y,q)=>{let z=q.corp;if(z.source.type!=="hose")throw Error(`企业「${z.name||z.id}」非合思(hose)租户(来源类型: ${z.source.type}),暂不支持合思原生审批流分析。`);let J=(Y.target||Y.sourceDocumentSN||Y.recordId)?.trim();if(!J)throw Error("必须提供 target、recordId 或 sourceDocumentSN 参数。");let U=J,I;try{if(I=await e1($,J),I?.sourceDocumentSN||I?.sourceDocumentId)U=I.sourceDocumentSN||I.sourceDocumentId}catch{}let Q=[];try{Q=((await x4($,{search:U,sourceDocumentSN:U,limit:100})).records||[]).filter((w)=>w.sourceDocumentSN===U||w.sourceDocumentId===U||w.id===J)}catch{}if(Q.length===0&&I)Q=[I];let K=I?.sourceDocumentId||Q[0]?.sourceDocumentId||U,G=await uU(z),H=await YD(G,K);if(!H){console.error(`⚠️ 单据「${U}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`);let L=tY(Q,void 0),w=Q.map((F)=>{let O=L.get(F.id);return{recordId:F.id,createdAt:F.createdAt,createdAtFormatted:F.createdAt?new Date(Number(F.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:F.taskMode,status:F.status,aiDecision:O?.aiDecision||"-",aiAction:O?.aiAction||"-",eHumanAction:"单据已删除",eHumanComment:"合思系统中未找到该单据流转记录(已在合思端删除或作废)",auditDrift:!1,auditDriftReason:void 0,operator:void 0}});return{sourceDocumentSN:U,corpId:z.id,corpName:z.name,sourceSystem:z.source.type,found:!1,deleted:!0,message:`单据「${U}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`,flow:void 0,runsCount:Q.length,runs:w,auditDrift:!1}}let Z=tY(Q,H),V=Q.map((L)=>{let w=Z.get(L.id);return{recordId:L.id,createdAt:L.createdAt,createdAtFormatted:L.createdAt?new Date(Number(L.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:L.taskMode,status:L.status,aiDecision:w?.aiDecision||"-",aiAction:w?.aiAction||"-",eHumanAction:w?.eHumanAction||"-",eHumanComment:w?.eHumanComment||"-",auditDrift:w?.auditDrift??!1,auditDriftReason:w?.auditDriftReason,operator:w?.operator}}),X=V.some((L)=>L.auditDrift);return{sourceDocumentSN:U,corpId:z.id,corpName:z.name,sourceSystem:z.source.type,flow:{backlogId:H.backlogId,flowId:H.flowId,billCode:H.billCode,title:H.title,state:H.state,rawState:H.rawState,currentNode:H.currentNode,specification:H.specification,submitter:H.submitter,owner:H.owner,metrics:H.metrics,rejections:H.rejections,staffOpinions:H.staffOpinions,timelineCount:H.history.length,pendingCount:H.pending.length,timeline:H.history,pending:H.pending},runsCount:Q.length,runs:V,auditDrift:X}}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:W.object({recordId:W.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let q=await e1($,Y.recordId);return Ff1(q)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:W.object({recordId:W.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let q=await e1($,Y.recordId);return Ov0(q)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:W.object({recordId:W.string().describe("Seal approval run record ID"),summary:W.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,Y)=>{let q=await e1($,Y.recordId);return a7(q,{summary:Y.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:W.object({recordId:W.string().describe("Seal approval run record ID"),summary:W.boolean().optional()}),handler:async($,Y)=>{let q=await e1($,Y.recordId);if(Y.summary)return bP(q);return{recordId:q.id,result:q.result}}},{name:"seal_approval_run_url_get",description:"获取审批单的 Web 控制台直达链接或合思企业协助链接,支持纯深度链接与带安全警告的免密 SSO 链接",parameters:W.object({recordId:W.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:W.string().optional().describe("合思/易快报单号"),sourceDocumentId:W.string().optional().describe("合思/易快报源单据 ID"),sso:W.boolean().optional().describe("是否生成带临时认证凭证的免密直达链接 (SSO link)"),expiresIn:W.number().optional().describe("SSO 免密凭证有效秒数,默认 7200 (2小时)")}),handler:async($,Y,q)=>{let z=Boolean(Y.recordId||Y.sourceDocumentSN||Y.sourceDocumentId),J=z?await Ef1($,Y):void 0,U=q.corp.source,I=U.type==="hose"?await i10(q.corp):void 0,Q=_4(J?.sourceExtendData?.hosecloudViewUrl),K=jf1(q.corp),G=J?.id?`${K}/approval-result/${J.id}`:void 0,H,Z,V,X=Y.expiresIn??7200;if(Y.sso){if(!J?.id)throw Error("recordId or sourceDocumentSN is required to generate an SSO approval result URL");if(U.type!=="hose")throw Error(`SSO direct links currently support Hose-integrated enterprises (corp '${q.corp.id}' uses '${U.type}'). For Seal-native enterprises, use 'seal-use delegation create' for authorized access.`);let L=await jL(q.corp,X),w=new URL(L.url).searchParams.get("accessToken");if(!w)throw Error("Failed to obtain Hose provisional authentication token");let F=`/approval-result/${J.id}`;H=`${K}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(w)}&path=${encodeURIComponent(F)}`;try{let B=await z8($);Z={name:B.user.name,staffId:U.staffId,isAdmin:B.user.isAdmin,providerUserId:B.user.providerUserId}}catch{Z={staffId:U.staffId}}let O=Z.name??"企业成员",P=Z.isAdmin?" (管理员)":"";V=`⚠️ 安全警示:该链接使用 [${O}${P}] 身份签发,在 Seal AI 拥有全站操作权限。链接具备 ${Math.round(X/3600*10)/10} 小时时效,仅供受信任人员排查使用,请勿在外部公开分享。`,console.error(`⚠️ 安全警示 (SSO 强化免密链接):
`+`• 身份主体:${O}${P}
`+`• 权限范围:持有该链接者在 Seal AI 中拥有该用户的完整操作权限(含系统设置与规则编辑)
`+`• 时效性:换票凭证有效时间 ${X} 秒(${Math.round(X/60)} 分钟),在浏览器打开后将保留 30 天会话
`+"• 安全边界:该凭证绝不包含且无法访问合思 (Hose) 主系统;仅限内部排查,严禁在外部公开分享!")}return{url:Y.sso?H:G,sealResultUrl:G,ssoUrl:H,type:Y.sso?"sso_link":"deep_link",expiresIn:Y.sso?X:void 0,identity:Z,warning:V,enterpriseAssistUrl:I,enterpriseUrl:I,hoseDomain:U.type==="hose"?_f1(U.domain):void 0,documentUrl:Q,recordId:J?.id,sourceDocumentSN:J?.sourceDocumentSN,sourceDocumentId:J?.sourceDocumentId,sourceSystem:J?.sourceSystem,missing:{enterpriseAssistUrl:I?void 0:"Current enterprise source is not Hose, so no Hose enterprise assist URL is configured.",documentUrl:z&&!Q?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:W.object({query:W.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:W.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:W.string().optional().describe("模拟批次 ID"),latest:W.boolean().optional().describe("只返回最新一条匹配记录"),fields:W.union([W.string(),W.array(W.string())]).optional().describe("限制返回字段"),limit:W.number().int().positive().max(100).optional(),maxScan:W.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:W.boolean().optional()}),handler:async($,Y)=>{let q=Y.sn??Y.query;if(!q)throw Error("query or sn is required");let z=await Rf1($,{query:q,sn:Y.sn,batchId:Y.batchId,latest:Y.latest,limit:Y.latest?1:Y.limit??20,maxScan:Y.maxScan??1000}),J=await Promise.all(z.records.map((Q)=>e1($,Q.id))),U=Iv0(Y.fields),I=J.map((Q)=>Tf1(Q,U));return{query:q,sourceDocumentSN:Y.sn,simulationBatchId:Y.batchId,latest:Y.latest??!1,total:z.total,scanned:z.scanned,matched:I.length,records:I,next:{getSummary:"seal-home approval-runs get <recordId> --summary",getRuleVersion:"seal-home rules version <ruleSetVersionNumber>",searchRuleVersion:`seal-home tool seal_approval_search --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","ruleVersionNumber":14}'`,getVersionContext:`seal-home tool seal_approval_context_get --json '{"ruleVersionNumber":14}'`},...Y.includeBridge?{bridge:yP(J)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:W.object({batchId:W.string().describe("simulation batch ID"),query:W.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let q=Qd(await kv($,Y.batchId),Y.query);return{batchId:Y.batchId,count:q.length,records:q.map(Aq),bridge:yP(q)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:W.object({mode:W.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:W.array(W.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:W.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:W.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:W.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:W.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:W.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:W.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:W.array(W.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:W.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:W.record(W.string(),W.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),noWait:W.boolean().optional().describe("创建后立即返回异步票据,不等待批次完成"),rawParams:W.record(W.string(),W.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,Y)=>{let q=Y.mode??"hosecloud",z=Y.signKey;if(q==="hosecloud"&&!z){if(z=(await fv($)).find((Q)=>Q.signKey)?.signKey,!z)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let J=Xf1({mode:q,flowIds:Y.flowIds,rejectNodeName:Y.rejectNodeName,thinkingDepthOverride:Y.thinkingDepthOverride,skipInvoiceGeneration:Y.skipInvoiceGeneration,skipExpenseExtraction:Y.skipExpenseExtraction,disableAttachmentCache:Y.disableAttachmentCache,signKey:z,packageIds:Y.packageIds,templateId:Y.templateId,schemaConfig:Y.schemaConfig,rawParams:Y.rawParams}),U=q==="material_pack"?await r40($,J):await o40($,J);return{...U,created:!0,noWait:Y.noWait??!0,asyncTicket:U.batchId,next:{status:`seal-use simulation status ${U.batchId}`,wait:`seal-use simulation wait ${U.batchId}`,getBatch:"seal-home simulation get <batchId>",getRecords:"seal-home simulation batch-records <batchId>",listBatches:"seal-home simulation list"}}}},{name:"seal_simulation_batches_list",description:"列出 Seal 模拟测试批次摘要(含状态、统计计数与展示摘要)",parameters:W.object({limit:W.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,Y)=>{let q=await s40($,{limit:Y.limit??50});return{count:q.length,batches:q.map(Vf1),next:{getBatch:"seal-home simulation get <batchId>",getRecords:"seal-home simulation batch-records <batchId>"}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:W.object({batchId:W.string().describe("simulation batch ID")}),handler:async($,Y)=>{return{batch:await mL($,Y.batchId),next:{getRecords:"seal-home simulation batch-records <batchId>"}}}},{name:"seal_simulation_batch_status",description:"单次读取 Seal 模拟批次状态,不阻塞等待;适合根据异步票据轮询",parameters:W.object({batchId:W.string().describe("simulation batch ID")}),handler:async($,Y)=>{let q=await mL($,Y.batchId),z=String(q.status??"UNKNOWN").toUpperCase(),J=["COMPLETED","FAILED","CANCELLED","CANCELED"].includes(z);return{batchId:Y.batchId,status:z,terminal:J,totalCount:q.totalCount,processedCount:q.processedCount,successCount:q.successCount,failedCount:q.failedCount,createdAt:q.createdAt,updatedAt:q.updatedAt,next:J?{getRecords:`seal-use simulation batch-records ${Y.batchId}`}:{status:`seal-use simulation status ${Y.batchId}`,wait:`seal-use simulation wait ${Y.batchId}`}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:W.object({}),handler:async($)=>{let Y=await t40($);return{count:Y.length,templates:Y.map((q)=>({id:q.id,name:q.name,description:q.description,approvalSystem:q.approvalSystem,hosecloudConfig:q.hosecloudConfig,updatedAt:q.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:W.object({}),handler:async($)=>{let[Y,q]=await Promise.all([uv($),fv($)]);return{status:Y,hosecloudIntegrations:q}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:W.object({filePath:W.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,Y)=>{if(!Y.filePath)throw Error("filePath is required");let q=Uf1(Y.filePath),z=Y.filePath.split(/[\\/]/).pop()??"material-pack.zip",J=await q60($,{fileName:z,fileBuffer:q});return{materialPackage:J,next:{createBatch:`seal-home simulation create --mode material_pack --package-ids ${J.id} --schema-config schema.json`}}}},{name:"seal_webhook_ready",description:"检查当前企业的 Webhook 就绪状态看板(包括企业环境、租户身份、凭证连通性、已激活 Webhook 通道及材料包预检)",parameters:W.object({filePath:W.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,Y,q)=>{return CP($,q.corp,{filePath:Y.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:W.object({filePath:W.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:W.enum(["preview","push"]).default("preview"),webhook:W.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,Y,q)=>{let z=Pq(Y.filePath);if(Y.mode!=="push")return Dq(z.fileBuffer,z.fileName);let J=await J$($),U;if(Y.webhook)U=l3(J,Y.webhook);else if(J.length===1)U=J[0];else if(J.length>1){let I=J.map((Q)=>`"${Q.name}" (${Q.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${I}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return RP(z.fileBuffer,z.fileName,{webhookUrl:U.incomingDocumentWebhook.url,secret:U.secret,materialPackFilePolicy:U.materialPackFilePolicy,customHeaders:w6(q.corp.seal)})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:W.object({recordId:W.string().optional(),sourceDocumentSN:W.string().optional(),sourceDocumentId:W.string().optional(),simulationBatchId:W.string().optional(),limit:W.number().int().positive().max(100).optional()}),handler:async($,Y)=>{let z=(Y.simulationBatchId?await kv($,Y.simulationBatchId):(await x4($,{limit:Y.limit??50,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records).filter((J)=>gf1(J,{recordId:Y.recordId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}));return{count:z.length,records:z.map(Aq),bridge:yP(z)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:W.object({batchId:W.string().describe("模拟批次 ID"),timeout:W.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:W.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,Y)=>{let q=Uv0(Y.timeout??"10m"),z=Uv0(Y.pollInterval??"2s"),J=Date.now();while(!0){let U=await mL($,Y.batchId),I=(U.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(I))return{batch:U,completed:!0,status:I,elapsedMs:Date.now()-J,next:{getRecords:`seal-home simulation batch-records ${Y.batchId}`}};if(Date.now()-J>=q)throw Error(`等待模拟批次 ${Y.batchId} 超时(已等待 ${(Date.now()-J)/1000}s)。可稍后执行 seal-home simulation get ${Y.batchId} 查看状态`);await new Promise((Q)=>setTimeout(Q,z))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:W.object({batchId:W.string().describe("模拟批次 ID")}),handler:async($,Y)=>{let q=await a40($,Y.batchId);return{batchId:Y.batchId,cleaned:!0,result:q}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:W.object({signKey:W.string().optional().describe("合思集成 sign-key")}),handler:async($,Y)=>{let q=await e40($,Y.signKey);return{count:q.length,specifications:q}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:W.object({}),handler:async()=>{return{input:`JSON via --json '{"apiKey":"...","apiSecret":"...","mode":"assisted"}'`,questions:[{field:"apiOrigin",prompt:"使用哪一种合思版本或 API 环境?(production/custom,未指定时自动探测)",required:!1,default:"production"},{field:"customApiUrl",prompt:"自定义环境的 API 地址是什么?(如专属私有云域名)",requiredWhen:"apiOrigin=custom"},{field:"apiKey",prompt:"合思 API Key(appKey)是什么?",required:!0,secret:!0},{field:"apiSecret",prompt:"合思 API Secret(appSecurity)是什么?",required:!0,secret:!0},{field:"mode",prompt:"使用全自动、半自动还是辅助审核?(fully_automatic/semi_automatic/assisted)",required:!0,default:"assisted"},{field:"autoApprovalRate",prompt:"自动审批比例是多少?(0-100)",requiredWhen:"mode!=assisted"},{field:"rejectResubmitMethod",prompt:"驳回重提后从哪个节点继续?(node_default/to_ebot/from_start)"},{field:"autoApproveNodeNames",prompt:"哪些节点允许自动审批?(string[])"},{field:"outboundName",prompt:"合思审批流节点消息名称是什么?",default:"SealAI 审批"}]}}},{name:"seal_deploy_hosecloud_list",description:"列出当前企业【Seal AI 审批发布到合思费控】的集成配置列表",parameters:W.object({}),handler:async($)=>{let q=((await x1($)).integrations??[]).filter((z)=>z.type==="hosecloud");return{count:q.length,integrations:q.map(gP)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:W.object({signKey:W.string().describe("合思集成 sign-key")}),handler:async($,Y)=>{let z=((await x1($)).integrations??[]).find((J)=>J.type==="hosecloud"&&J.signKey===Y.signKey);if(!z)throw Error(`未找到合思配置:${Y.signKey}`);return gP(z)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:W.object({}),handler:async($)=>{let Y=await uv($),z=((await x1($)).integrations??[]).filter((J)=>J.type==="hosecloud");return{status:Y,integrations:z.map(gP)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:W.object({apiKey:W.string().describe("合思 API Key (appKey)"),apiSecret:W.string().describe("合思 API Secret (appSecurity)"),signKey:W.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:W.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:W.string().optional(),specificationName:W.string().optional(),mode:W.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:W.number().min(0).max(100).optional(),rejectResubmitMethod:W.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:W.array(W.string()).optional(),apiOrigin:W.string().default("production"),customApiUrl:W.string().optional(),dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,q)=>{let{dryRun:z,...J}=Y,U=J.apiKey??J.appKey,I=J.apiSecret??J.appSecurity;if(!U||!I)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let Q={...J,apiKey:U,apiSecret:I},K=Q.apiOrigin??"production",G=Q.customApiUrl;if(!G&&K!=="custom")try{let F=await Sz(Q.apiKey,Q.apiSecret);if(F?.domain)if(F.domain==="https://app.ekuaibao.com")K="production",G=void 0;else K="custom",G=F.domain}catch{}if(K==="custom"&&!G)throw Error("自定义合思环境必须提供 customApiUrl");let H=await $60($,{apiKey:Q.apiKey,apiSecret:Q.apiSecret,apiOrigin:K,customApiUrl:G}),Z=await x1($),V=Q.signKey??If1(6).toString("hex"),X={type:"hosecloud",...Q,apiOrigin:K,...G?{customApiUrl:G}:{},signKey:V,corporationId:H.corporationId},L=(Z.integrations??[]).filter((F)=>F.type!=="hosecloud"||F.signKey!==V);L.push(X);let w={...Z,integrationSystem:"hosecloud",integrations:L};if(z)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,Z,w,1);return await g5($,w,q.corp.seal.endpoints.approvalStylePreferences),console.error(`✓ 配置已保存 (signKey: ${V})`),console.error(`\uD83D\uDC49 Next action: seal-use deploy hosecloud sync ${V} --corp ${q.corp.id}`),{integration:gP(X)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:W.object({signKey:W.string().describe("合思集成 sign-key")}),handler:async($,Y,q)=>{let J=((await x1($)).integrations??[]).find((K)=>K.type==="hosecloud"&&K.signKey===Y.signKey);if(!J)throw Error(`未找到合思配置:${Y.signKey}`);let U=(q.corp.seal.url??`https://${q.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),I=J.outboundName??"SealAI 审批",Q=await Y60($,{signKey:Y.signKey,webhookUrl:`${U}/api/hosecloud/outbound?config_id=${encodeURIComponent(Y.signKey)}`,completionWebhookUrl:`${U}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(Y.signKey)}`,messageName:I,mode:J.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${I}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${I}"。`),{signKey:Y.signKey,synced:!0,result:Q}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:W.object({}),handler:async($)=>{let Y=await x1($);return{decisionPreferences:Y.decisionPreferences,thinkingDepthPreference:Y.thinkingDepthPreference,ruleSetVersionId:Y.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:W.object({explicitApprove:W.string().optional(),explicitReject:W.string().optional(),exemptApprove:W.string().optional(),review:W.string().optional(),dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,q)=>{let z=await x1($,q.corp.seal.endpoints.approvalStylePreferences),{dryRun:J,...U}=Y,I={...z,decisionPreferences:{...z.decisionPreferences,...U}};if(J)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,z,I,1);return await g5($,I,q.corp.seal.endpoints.approvalStylePreferences),{decisionPreferences:I.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:W.object({defaultLevel:W.enum(["medium","high"]).describe("默认思考深度"),dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,q)=>{let z=await x1($,q.corp.seal.endpoints.approvalStylePreferences),J={...z,thinkingDepthPreference:{defaultLevel:Y.defaultLevel,routingPolicies:z.thinkingDepthPreference?.routingPolicies??[]}};if(Y.dryRun)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,z,J,1);return await g5($,J,q.corp.seal.endpoints.approvalStylePreferences),{thinkingDepthPreference:J.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:W.object({}),handler:async($)=>{return{policies:(await x1($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:hv.extend({dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,q)=>{let z=await x1($,q.corp.seal.endpoints.approvalStylePreferences),{dryRun:J,...U}=Y,Q=(z.thinkingDepthPreference?.routingPolicies??[]).filter((G)=>G.id!==U.id);Q.push(U);let K={...z,thinkingDepthPreference:{defaultLevel:z.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:Q}};if(J)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,z,K,1);return await g5($,K,q.corp.seal.endpoints.approvalStylePreferences),{policy:U,policies:Q}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:W.object({policyId:W.string().describe("路由策略 ID"),dryRun:W.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,q)=>{let z=await x1($,q.corp.seal.endpoints.approvalStylePreferences),J=z.thinkingDepthPreference?.routingPolicies??[],U=J.filter((Q)=>Q.id!==Y.policyId);if(U.length===J.length)throw Error(`未找到路由策略:${Y.policyId}`);let I={...z,thinkingDepthPreference:{defaultLevel:z.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:U}};if(Y.dryRun)return w9(q,q.corp.seal.endpoints.approvalStylePreferences,z,I,1);return await g5($,I,q.corp.seal.endpoints.approvalStylePreferences),{removedId:Y.policyId,policies:U}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:W.object({since:W.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:W.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:W.string().optional(),sourceSystem:W.string().optional(),taskMode:W.string().optional()}),handler:async($,Y)=>{let q=await x4($,{limit:1000,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode}),z=Y.dedupeBy??"sourceDocumentSN",J=q.records,U={},I={},Q=new Set;for(let K of J){let G=K.status??"unknown";U[G]=(U[G]??0)+1;let H=K.sourceSystem??"unknown";I[H]=(I[H]??0)+1;let Z=K[z];if(Z)Q.add(String(Z))}return{total:J.length,dedupeBy:z,unique:Q.size,byStatus:U,bySourceSystem:I}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:W.object({status:W.string().optional(),sourceSystem:W.string().optional(),taskMode:W.string().optional(),search:W.string().optional(),startDate:W.string().optional().describe("起始时间戳(毫秒)或日期字符串"),endDate:W.string().optional().describe("结束时间戳(毫秒)或日期字符串")}),handler:async($,Y)=>{let q=await x4($,{limit:1,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode,search:Y.search,startDate:t7(Y.startDate,!1),endDate:t7(Y.endDate,!0)});return{total:q.total??q.records.length}}}],Qf1=new Map(qW.map(($)=>[$.name,$]))});var Bv0={};$$(Bv0,{webhookShowSecretOption:()=>dP,webhookRateOption:()=>pP,stringOption:()=>T,splitOption:()=>v6,safeFileName:()=>nP,ruleVersionSearchOptions:()=>Zd,ruleVersionGetOptions:()=>Xd,ruleVersionContextOptions:()=>Wd,requiredStringAlias:()=>Sf1,requiredString:()=>M3,parseWebhookMode:()=>cP,parseStateMode:()=>Hd,parseRuleVersionSelector:()=>AI,parseArgs:()=>Kd,optionalString:()=>Y4,optionalNumber:()=>Gd,numberOption:()=>g0,materialPackFilePolicyOptions:()=>BI,jsonObject:()=>C8,inferCorpIdFromStaffId:()=>yf1,booleanOption:()=>J0});function Kd($){let Y=[],q={},z;for(let J=0;J<$.length;J+=1){let U=$[J];if(!U)continue;if(U==="--json"){let I=$[J+1];if(!I)throw i4("--json requires a JSON object argument");try{z=JSON.parse(I)}catch(Q){throw i4(`Invalid JSON: ${Q instanceof Error?Q.message:String(Q)}`)}J+=1;continue}if(U.startsWith("-")){let I=U.replace(/^-+/,"");if(I.includes("=")){let K=I.indexOf("="),G=I.slice(0,K),H=I.slice(K+1);q[G]=H;continue}let Q=$[J+1];if(!Q||Q.startsWith("-"))q[I]=!0;else q[I]=Q,J+=1;continue}Y.push(U)}return{command:Y,options:q,json:z}}function C8($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw i4("--json must be an object");return $}function T($){return typeof $==="string"?$:void 0}function g0($){if(typeof $!=="string")return;let Y=Number($);if(!Number.isFinite(Y))throw i4(`Invalid number: ${$}`);return Y}function v6($){if(typeof $!=="string")return;let Y=$.split(",").map((q)=>q.trim()).filter(Boolean);return Y.length?Y:void 0}function J0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw i4(`Invalid boolean: ${$}`)}function M3($,Y){let q=Y4($,Y);if(!q)throw Error(`Missing required JSON field: ${Y}`);return q}function Sf1($,Y){for(let q of Y){let z=Y4($,q);if(z)return z}throw Error(`Missing required JSON field: ${Y.join(" or ")}`)}function Y4($,Y){let q=$[Y];return typeof q==="string"&&q.trim()?q.trim():void 0}function Gd($,Y){let q=$[Y];return typeof q==="number"&&Number.isFinite(q)?q:void 0}function yf1($){let[Y]=$.split(":",1);return Y||void 0}function nP($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function Hd($){let Y=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(Y))return!0;if(["stateless","无状态"].includes(Y))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function AI($){if($==="latest")return{latest:!0};let Y=Number($);if(Number.isInteger(Y)&&Y>0)return{versionNumber:Y};return{versionId:$}}function Zd($){if(!$)return{};let Y=AI($);if("latest"in Y)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionScope:"version",ruleVersionNumber:Y.versionNumber};return{ruleVersionScope:"version",ruleVersionId:Y.versionId}}function Wd($){if(!$)return{};let Y=AI($);if("latest"in Y)return{latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionNumber:Y.versionNumber};return{ruleVersionId:Y.versionId}}function Xd($){if(!$)return{};let Y=AI($);if("latest"in Y)return{latest:!0};if("versionNumber"in Y)return{versionNumber:Y.versionNumber};return{versionId:Y.versionId}}function cP($){if(!$)return;let Y=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),z={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[Y];if(!z)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return z}function pP($){let Y=g0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(Y!==void 0&&(!Number.isInteger(Y)||Y<0||Y>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return Y}function dP($){return J0($.showSecret)??J0($["show-secret"])}function BI($){let Y=J0($.clearMaxFileSize??$["clear-max-file-size"])===!0,q=g0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),z=g0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),J=v6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(q===void 0&&z===void 0&&J===void 0&&!Y)return;return{minFileSizeBytes:q,maxFileSizeBytes:Y?null:z,allowedExtensions:J}}var R4=e(()=>{V$()});function jv0($){let Y=Boolean($.options.help||$.options.h);if(!$.command.length)return{isHelp:!0,target:[]};if($.command[0]==="help")return{isHelp:!0,target:$.command.slice(1)};let q=$.command.indexOf("help");if(q!==-1)return{isHelp:!0,target:$.command.filter((J,U)=>U!==q)};if(Y)return{isHelp:!0,target:[...$.command]};return{isHelp:!1,target:[]}}function _v0($=[]){if(!$.length)return Tv0();let Y=$[0];if(!Y)return Tv0();let q=$.slice(1),z=xf1(Y),J=Ev0.find((Q)=>Q.area===z);if(!J)throw i4(`Unknown command: ${$.join(" ")}. Run 'seal-use help' for available commands.`);if(!q.length)return ff1(J);let U=q.join(" ").toLowerCase(),I=kf1(J,U,q);if(!I)throw i4(`Unknown ${J.area} command: ${q.join(" ")}. Run 'seal-use ${J.area} --help' for available commands.`);return uf1(J,I)}function xf1($){let Y=$.toLowerCase();if(Y==="corp")return"corps";if(Y==="webhooks")return"webhook";if(Y==="preferences")return"preference";if(Y==="changelog")return"update";if(Y==="serve")return"http";if(Y==="mcp-config")return"mcp";if(Y==="server")return"mcp";return Y}function kf1($,Y,q){let z=$.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Y)return!0;if(I.aliases?.some((Q)=>Q.toLowerCase()===Y))return!0;return!1});if(z)return z;let J=q[0]?.toLowerCase();if(!J)return;return $.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===J)return!0;if(I.aliases?.some((Q)=>Q.toLowerCase()===J))return!0;return!1})}function uf1($,Y){let q=[],z=Y.name?`seal-use ${$.area} ${Y.name}`:`seal-use ${$.area}`,J=Y.summary?`${z} - ${Y.summary}`:z;q.push(J),q.push(""),q.push("Usage:");for(let U of Y.usage)q.push(` ${U}`);if(Y.options&&Y.options.length>0){q.push(""),q.push("Options:");let U=Math.max(...Y.options.map((I)=>I.flag.length));for(let I of Y.options)q.push(` ${I.flag.padEnd(U+2)} ${I.description}`)}if(Y.description)q.push(""),q.push("Description:"),q.push(` ${Y.description}`);return q.join(`
`)}function ff1($){let Y=[];if(Y.push(`seal-use ${$.area} - ${$.title}`),$.description)Y.push($.description);Y.push(""),Y.push("Usage:");for(let q of $.commands)for(let z of q.usage)Y.push(` ${z}`);if($.commands.some((q)=>q.name))Y.push(""),Y.push(`Run 'seal-use ${$.area} <command> --help' for details on a specific command.`);return Y.join(`
`)}function Tv0(){let $=[];$.push("seal-use CLI"),$.push(""),$.push("Usage:"),$.push(" seal-use version");for(let Y of Ev0)for(let q of Y.commands)for(let z of q.usage)$.push(` ${z}`);return $.push(""),$.push("Run 'seal-use <command> --help' for details on a specific command."),$.join(`
`)}var Ev0;var Vd=e(()=>{V$();Ev0=[{area:"corps",title:"Enterprise and tenant management",description:"Manage enterprise configurations, environment modes, test bindings, and syncing.",commands:[{name:"list",summary:"List configured enterprises sorted by 7-day usage frequency",usage:["seal-use corps list [query] [--all] [--limit <n>] [--env <production|test>] [--strict] [--corp <corpId>]"],options:[{flag:"--all",description:"Display all configured enterprises without the default 10-item limit"},{flag:"--limit <n>",description:"Maximum number of enterprises to display (defaults to 10)"},{flag:"--env <production|test>",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}]},{name:"search",aliases:["find"],summary:"Search configured enterprises with intelligent soft fuzzy matching",usage:["seal-use corps search <query> [--env <production|test>] [--strict]"],options:[{flag:"--env <production|test>",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}],description:"Searches enterprise ID, name, staff ID, domain, tenant slug, environment, or bindings. Uses soft search by default (case-insensitive, Chinese homophones, front/back nasal vowels, initials, typo/missing letter tolerance)."},{name:"get",aliases:["show"],summary:"Get rich details and configuration of an enterprise",usage:["seal-use corps get <corpId>"],description:"Retrieves complete enterprise details (URLs, tenant slugs, custom headers/cookies, staff IDs, relations, config file path) with sensitive secrets safely redacted."},{name:"current",summary:"Show active enterprise in stateful mode",usage:["seal-use corps current [--corp <corpId>]"]},{name:"switch",summary:"Switch default active enterprise",usage:["seal-use corps switch <corpId>"]},{name:"mark",summary:"Mark enterprise environment as production or test",usage:["seal-use corps mark <corpId> --env <production|test> [--confirm]"],options:[{flag:"--env <production|test>",description:"Target environment: 'production' or 'test' (required)"},{flag:"--confirm",description:"Confirm the environment update (required)"}],description:"Explicitly updates an enterprise's environment tag. Requires --confirm to prevent accidental changes."},{name:"bind-test",summary:"Bind a production enterprise to a test enterprise (1-to-1 association)",usage:["seal-use corps bind-test <prodCorpId> <testCorpId> [--confirm] [--force]","seal-use corps bind-test <testCorpId> --corp <prodCorpId> [--confirm] [--force]"],options:[{flag:"--confirm",description:"Explicitly confirm binding and tag test environment (required)"},{flag:"--force",description:"Force re-binding if the production enterprise is already bound"},{flag:"--corp <corpId>",description:"Specify production enterprise ID or name"}],description:"Establishes a strict 1-to-1 association between a production enterprise and a test enterprise. Automatically marks the test enterprise with environment 'test'."},{name:"unbind-test",summary:"Unbind a production and test enterprise association",usage:["seal-use corps unbind-test [<corpId>] [--confirm]"],options:[{flag:"--confirm",description:"Explicitly confirm unbinding both sides (required)"},{flag:"--corp <corpId>",description:"Specify enterprise ID or name"}],description:"Removes the 1-to-1 test association from both the production enterprise and the test enterprise."},{name:"sync-test",summary:"Synchronize rules and preferences from production to test enterprise",usage:["seal-use corps sync-test [<prodCorpId>] [--dry-run] [--yes] [--version-name <name>]"],options:[{flag:"--dry-run",description:"Preview sync diff without making network mutations (default)"},{flag:"--yes",description:"Execute synchronization and publish new rule version on test enterprise"},{flag:"--version-name <name>",description:"Custom version name for published test rule version"},{flag:"--corp <corpId>",description:"Specify production enterprise ID or name"}],description:"Overwrites test enterprise decision preferences with production preferences, syncs production draft rules to test enterprise, and immediately publishes a new version on the test enterprise. Production rules remain safe in draft state."},{name:"replay-test",summary:"Replay approval records from production enterprise to bound test enterprise via Webhook",usage:["seal-use corps replay-test [<prodCorpId>] [--record-id <id>] [--sn <sn>] [--limit <n>] [--webhook <idOrName>] [--dry-run]"],options:[{flag:"<prodCorpId>",description:"Production enterprise ID (default: active enterprise)"},{flag:"--record-id <id>",description:"Replay a specific approval run ID"},{flag:"--sn <sn>",description:"Replay a specific document SN"},{flag:"--limit <n>",description:"Batch replay latest N records from production (default: 1)"},{flag:"--status <status>",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook <idOrName>",description:"Target Webhook integration on test enterprise"},{flag:"--sn-suffix <str>",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}],description:"Pulls production approval records from the production enterprise and replays them into the bound test enterprise's Webhook channel for rule verification."},{name:"add-hose",summary:"Add a Hose/Ekuaibao enterprise configuration",usage:[`seal-use corps add-hose --json '{"name":"企业名称","domain":"https://app.ekuaibao.com","appKey":"...","appSecurity":"...","proxyStaffBizId":"corpId:staffId"}'`]},{name:"add-seal",summary:"Add a native Seal enterprise configuration",usage:[`seal-use corps add-seal --json '{"sealUrl":"https://tenant.sealai.cc","token":"seal-bearer-token"}'`]},{name:"add-link",summary:"Import enterprise configuration from a Hose assistance link",usage:["seal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--as-hose] [--app-key <key>] [--key-id <id>] [--overwrite]"],options:[{flag:"--name <name>",description:"Optional custom name for the enterprise"},{flag:"--as-hose",description:"【合思子域提权】从协助链接提取 OpenAPI 密钥并将临时会话升级为长期合思标准配置"},{flag:"--app-key <key>",description:"企业存在多套密钥时,指定使用的 appKey"},{flag:"--key-id <id>",description:"企业存在多套密钥时,指定使用的 keyId"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}]},{name:"extract-keys",aliases:["extract-key"],summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥 (appKey/appSecurity)",usage:["seal-use corps extract-keys <https://.../web/thirdparty.html?...> [--reveal] [--save] [--app-key <key>] [--key-id <id>] [--name <customName>] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】将提取到的合思 OpenAPI 密钥保存为长期标准配置"},{flag:"--app-key <key>",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id <id>",description:"存在多套密钥时指定使用的 keyId"},{flag:"--name <name>",description:"Custom enterprise name when saving"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。利用协助链接中的内部权限读取 OpenAPI 密钥,将临时会话提权为标准开发者凭据。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看企业已配置的合思 OpenAPI 密钥,或从协助链接中提取",usage:["seal-use corps keys [<url> | <corpId>] [--reveal] [--save] [--app-key <key>]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"从协助链接提取并保存为标准配置"},{flag:"--app-key <key>",description:"多套密钥时指定目标 appKey"}]},{name:"regression",aliases:["test-regression"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use corps regression [--corp <corpId>] [--samples <N>] [--dry-run] [--fail-on-flips]"],options:[{flag:"--samples <N>",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"}]}]},{area:"rules",title:"Approval rules management",description:"Query, search, version, lint, import, and export approval audit rules.",commands:[{name:"count",summary:"Count total rules in current enterprise",usage:["seal-use rules count [--corp <corpId>]"]},{name:"list",summary:"List approval rules with optional pagination and summary",usage:["seal-use rules list [--summary] [--count] [--limit 20] [--offset 0] [--corp <corpId>]"],options:[{flag:"--summary",description:"Output compact summary fields (id, code, strictness, scope)"},{flag:"--limit <n>",description:"Number of rules to fetch (default: 20)"},{flag:"--offset <n>",description:"Offset index for pagination"},{flag:"--full",description:"Allow large payloads beyond standard size limits"}]},{name:"clear",summary:"Clear all draft rules from enterprise",usage:["seal-use rules clear [--corp <corpId>] [--dry-run|--yes]"]},{name:"versions",summary:"List published rule versions",usage:["seal-use rules versions [--corp <corpId>]"]},{name:"version",summary:"Inspect a specific rule version",usage:["seal-use rules version <versionId|versionNumber|latest> [--corp <corpId>]"]},{name:"get",summary:"Get single rule by code or record ID",usage:["seal-use rules get --corp <corpId> --version <number|latest> --code '#0038'","seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205"]},{name:"search",summary:"Search rules by keyword",usage:["seal-use rules search <keyword> [--version <versionId|versionNumber|latest>] [--maxResults 20] [--corp <corpId>]"]},{name:"lint",summary:"Lint rule text or rule file using builtin or custom linter",usage:["seal-use rules lint [--file <path>] [--linter <name|path>] [--min-score <score>] [--corp <corpId>]"]},{name:"linters",summary:"List available official and custom rule linters and directory locations",usage:["seal-use rules linters [--corp <corpId>]"]},{name:"pull",summary:"Export rules to local JSON file",usage:["seal-use rules pull [--out <file>] [--corp <corpId>]"]},{name:"push",summary:"Push rules from local JSON file to enterprise draft space",usage:["seal-use rules push --file <path> [--mode replace|incremental] [--yes] [--corp <corpId>]"]}]},{area:"webhook",title:"Webhook integrations and material packs",description:"Manage incoming audit webhooks and upload offline simulation material packs.",commands:[{name:"ready",summary:"Check readiness of webhook integration and material pack",usage:["seal-use webhook ready [<材料包.zip>] [--webhook <idOrName>] [--corp <corpId>]"]},{name:"status",summary:"Check status of webhook integration",usage:["seal-use webhook status [<材料包.zip>] [--corp <corpId>]"]},{name:"list",summary:"List registered webhook endpoints",usage:["seal-use webhook list [--query <text>] [--show-secret] [--corp <corpId>]"]},{name:"get",aliases:["find"],summary:"Get webhook endpoint details",usage:["seal-use webhook get|find <idOrName> [--show-secret] [--corp <corpId>]"]},{name:"add",summary:"Register a new webhook endpoint",usage:["seal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>] [--min-file-size 500] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp <corpId>]"]},{name:"update",summary:"Update an existing webhook endpoint",usage:["seal-use webhook update <idOrName> [--name <name>] [--result-url <url>] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>|--rotate-secret] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp <corpId>]"]},{name:"delete",summary:"Delete a webhook endpoint",usage:["seal-use webhook delete <idOrName> [--yes|--dry-run] [--corp <corpId>]"]},{name:"resource-pack export",summary:"Export online approval records to a local Webhook resource pack ZIP (alias: pack export)",usage:["seal-use webhook resource-pack export [--limit <n>] [--status <status>] [--output <file.zip>] [--to-downloads] [--corp <corpId>]","seal-use webhook resource-pack export <recordId> [--output <file.zip>] [--corp <corpId>]","seal-use webhook resource-pack export --record-ids <id1,id2> [--corp <corpId>]"],options:[{flag:"<recordId>",description:"Single approval run record ID to export"},{flag:"--record-ids <ids>",description:"Comma-separated list of approval run record IDs"},{flag:"--limit <n>",description:"Limit number of records to export (default: 10)"},{flag:"--status <status>",description:"Filter records by status (e.g. completed, approved)"},{flag:"--start-date <YYYY-MM-DD>",description:"Filter records starting from date"},{flag:"--end-date <YYYY-MM-DD>",description:"Filter records up to date"},{flag:"--doc-id-prefix <str>",description:"Optional prefix prepended to exported documentId/meetingId"},{flag:"--doc-id-suffix <str>",description:"Optional suffix appended to exported documentId/meetingId"},{flag:"--no-attachments",description:"Skip downloading and packaging attachments"},{flag:"-o, --output <file.zip>",description:"Target ZIP file path"},{flag:"--to-downloads",description:"Save directly to ~/Downloads"},{flag:"--corp <corpId>",description:"Source enterprise configuration ID"}]},{name:"resource-pack preview",summary:"Inspect and validate a Webhook resource pack ZIP or Excel sheet (alias: pack preview)",usage:["seal-use webhook resource-pack preview <资源包.zip|信息表.xlsx> [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--corp <corpId>]"]},{name:"resource-pack push",summary:"Upload attachments and push documents from a resource pack ZIP to Webhook (alias: pack push)",usage:["seal-use webhook resource-pack push <资源包.zip|信息表.xlsx> [--webhook <idOrName>] [--corp <corpId>]"]},{name:"replay",usage:["seal-use webhook replay <recordId> [--webhook <idOrName>] [--sn-suffix <str>] [--dry-run] [--corp <corpId>]","seal-use webhook replay --sn <documentSN> [--webhook <idOrName>] [--source-corp <corpId>] [--target-corp <corpId>]","seal-use webhook replay --limit <n> [--status <status>] [--source-corp <corpId>] [--target-corp <corpId>]"],options:[{flag:"<recordId>",description:"Approval run record ID to replay"},{flag:"--sn <sn>",description:"Lookup approval record by source document SN if recordId not given"},{flag:"--limit <n>",description:"Batch replay latest N records from source enterprise"},{flag:"--status <status>",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook <idOrName>",description:"Target Webhook integration (auto-locks if only one exists)"},{flag:"--source-corp <corpId>",description:"Source enterprise where records reside (alias: --prod-corp)"},{flag:"--target-corp <corpId>",description:"Target enterprise where records are pushed (alias: --test-corp)"},{flag:"--sn-suffix <str>",description:"Optional suffix appended to documentSN and documentId"},{flag:"--sn-prefix <str>",description:"Optional prefix prepended to documentSN and documentId"},{flag:"--dry-run",description:"Generate and output Webhook payload JSON without sending HTTP request"},{flag:"--force",description:"Allow replaying to a production enterprise"}],description:"Extracts structured form fields from historical approval records (Webhook or Hose source), sanitizes field types, and pushes documents to the target Webhook channel. Automatically infers 1-to-1 bound test/production enterprise pairs."}]},{area:"approval-runs",title:"Approval runs and audit execution records",description:"Inspect live and historical AI approval decisions, cited rules, and attachments.",commands:[{name:"summary",summary:"Daily summary of approval runs",usage:["seal-use approval-runs summary [--date YYYY-MM-DD] [--timezone Asia/Shanghai] [--corp <corpId>]"]},{name:"stats",summary:"Statistical aggregation of approval run metrics",usage:["seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id] [--corp <corpId>]"]},{name:"count",summary:"Count approval runs filtered by status or time range",usage:["seal-use approval-runs count [--status APPROVED] [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>] [--corp <corpId>]"]},{name:"export",summary:"Export approval run audit records to Excel workbook. Add --with-flow to include E人工行为 / E人工意见 columns (requires Hose Open API; adds ~30s for large batches).",usage:["seal-use approval-runs export [--sn <SN1,SN2>] [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>] [--force] [--status <status>] [--manual-status <status>] [--completed-only] [--limit <n>] [--downloads|--to-downloads] [--with-flow] [--out <file>] [--corp <corpId>]"],options:[{flag:"--sn, --sns <SNs>",description:"Target specific document SNs (comma-separated, e.g. B26002307,B26002144); fast indexed search bypassing full pagination"},{flag:"--with-flow",description:"Enrich export with Hose human actions and opinions in E人工行为 / E人工意见 columns (rejection 2-B, mid-flow modifications, action emojis)"},{flag:"--start <date>",description:"Filter records by start date (YYYY-MM-DD or ms timestamp)"},{flag:"--end <date>",description:"Filter records by end date (YYYY-MM-DD or ms timestamp)"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--status <status>",description:"Filter by system status (e.g. completed, processing)"},{flag:"--manual-status <status>",description:"Filter by manual approval status (e.g. APPROVED, TERMINATED)"},{flag:"--completed-only",description:"Only export completed approval runs"},{flag:"--limit <n>",description:"Maximum number of records to export"},{flag:"--downloads, --to-downloads",description:"Save exported workbook directly to user's ~/Downloads directory"},{flag:"--out <file>",description:"Custom output file path"}]},{name:"flow",summary:"Get Hose approval flow timeline, staff opinions, and align with AI runs",usage:["seal-use approval-runs flow <recordId|SN> [--corp <corpId>]"]},{name:"list",aliases:["search"],summary:"Search approval records by keyword, dates, or decision status",usage:["seal-use approval-runs list|search [--query text] [--humanResult 驳回] [--manualApprovalStatus TERMINATED] [--startDate ms] [--endDate ms] [--limit 20] [--includeBridge true] [--corp <corpId>]"]},{name:"pick",summary:"Locate single approval run by document SN",usage:["seal-use approval-runs pick --sn <documentSN> [--batch <batchId>] [--latest] [--fields recordId,status,aiDecision] [--corp <corpId>]"]},{name:"get",summary:"Get detailed approval record payload",usage:["seal-use approval-runs get <recordId> [--summary] [--fields metadata|document.fields,result.summary] [--full] [--output-file file.json] [--corp <corpId>]"]},{name:"cited-rules",summary:"Inspect rules cited by AI in an approval decision",usage:["seal-use approval-runs cited-rules <recordId> [--corp <corpId>]"]},{name:"document-summary",summary:"Inspect parsed source document summary",usage:["seal-use approval-runs document-summary <recordId> [--corp <corpId>]"]},{name:"attachments",summary:"Inspect and list attachments for approval run",usage:["seal-use approval-runs attachments <recordId> [--summary] [--corp <corpId>]","seal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>] [--corp <corpId>]"]},{name:"result",summary:"Get decision result for an approval run",usage:["seal-use approval-runs result <recordId> [--summary] [--corp <corpId>]"]},{name:"url",summary:"Get web console URL for approval run (default deep link, or --sso for auto-login link)",usage:["seal-use approval-runs url <recordId> [--corp <corpId>]","seal-use approval-runs url <recordId> --sso [--expire 7200] [--corp <corpId>]","seal-use approval-runs url --sn <documentSN> [--sso] [--corp <corpId>]","seal-use approval-runs url [--corp <corpId>]"]},{name:"bridge",summary:"Inspect browser bridge integration payload",usage:["seal-use approval-runs bridge [--sourceDocumentSN B26001887] [--corp <corpId>]"]},{name:"replay",summary:"Replay approval run record into a Webhook integration",usage:["seal-use approval-runs replay <recordId> [--webhook <idOrName>] [--sn-suffix <str>] [--dry-run] [--corp <corpId>]","seal-use approval-runs replay --sn <documentSN> [--webhook <idOrName>] [--source-corp <corpId>] [--target-corp <corpId>]","seal-use approval-runs replay --limit <n> [--status <status>] [--source-corp <corpId>] [--target-corp <corpId>]"],options:[{flag:"<recordId>",description:"Approval run record ID"},{flag:"--sn <sn>",description:"Lookup approval record by source document SN"},{flag:"--limit <n>",description:"Batch replay latest N records"},{flag:"--status <status>",description:"Filter records by status"},{flag:"--webhook <idOrName>",description:"Target Webhook integration"},{flag:"--source-corp <corpId>",description:"Source enterprise where records reside"},{flag:"--target-corp <corpId>",description:"Target enterprise where records are pushed"},{flag:"--sn-suffix <str>",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}]}]},{area:"simulation",title:"Simulation testing engine",description:"Execute and analyze offline or HoseCloud batch simulations against approval rules.",commands:[{name:"batch-records",summary:"Fetch records for a simulation batch",usage:["seal-use simulation batch-records <batchId> [--corp <corpId>]"]},{name:"create",summary:"Trigger a new simulation batch",usage:['seal-use simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--no-wait] [--corp <corpId>]',"seal-use simulation create --mode material_pack --package-ids <materialPackageId> [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp <corpId>]",'seal-use simulation create --source-system weaver --request-ids "req-01,req-02" [--corp <corpId>]']},{name:"status",summary:"Check current progress of a simulation batch",usage:["seal-use simulation status <batchId> [--corp <corpId>]"]},{name:"wait",summary:"Wait synchronously for simulation batch to finish",usage:["seal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s] [--corp <corpId>]"]},{name:"clean",summary:"Clean simulation batch records",usage:["seal-use simulation clean <batchId> [--corp <corpId>]"]},{name:"specifications",summary:"Query simulation specifications",usage:["seal-use simulation specifications [--integration <sign-key>] [--corp <corpId>]"]},{name:"approval-definitions",summary:"Query simulation approval definitions",usage:["seal-use simulation approval-definitions [--corp <corpId>]"]},{name:"list",summary:"List recent simulation batches",usage:["seal-use simulation list [--limit 50] [--corp <corpId>]"]},{name:"get",summary:"Get details for simulation batch",usage:["seal-use simulation get <batchId> [--corp <corpId>]"]},{name:"templates",summary:"List available simulation templates",usage:["seal-use simulation templates [--corp <corpId>]"]},{name:"integrations",summary:"List available simulation integrations",usage:["seal-use simulation integrations [--corp <corpId>]"]},{name:"package-upload",summary:"Upload a simulation material package",usage:["seal-use simulation package-upload <材料包.zip> [--corp <corpId>]"]}]},{area:"deploy",title:"Deployment and cloud synchronization",description:"Manage HoseCloud integration configurations and synchronization.",commands:[{name:"hosecloud requirements",summary:"Check HoseCloud deployment requirements",usage:["seal-use deploy hosecloud requirements [--corp <corpId>]"]},{name:"hosecloud list",summary:"List HoseCloud deployment targets",usage:["seal-use deploy hosecloud list [--corp <corpId>]"]},{name:"hosecloud get",summary:"Get HoseCloud deployment details",usage:["seal-use deploy hosecloud get <sign-key> [--corp <corpId>]"]},{name:"hosecloud status",summary:"Check HoseCloud deployment status",usage:["seal-use deploy hosecloud status [--corp <corpId>]"]},{name:"hosecloud configure",summary:"Configure HoseCloud deployment settings",usage:["seal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp <corpId>]"]},{name:"hosecloud sync",summary:"Synchronize HoseCloud rules and definitions",usage:["seal-use deploy hosecloud sync <sign-key> [--corp <corpId>]"]}]},{area:"preference",title:"Audit preferences and thinking depth",description:"Manage AI decision preferences, strictness, and thinking depth policies.",commands:[{name:"get",summary:"Get current decision preference configuration",usage:["seal-use preference get [--corp <corpId>]"]},{name:"decision update",summary:"Update decision preference rules",usage:[`seal-use preference decision update --json '{"explicitApprove":"..."}' [--dry-run] [--corp <corpId>]`]},{name:"thinking-depth set",summary:"Set default thinking depth",usage:["seal-use preference thinking-depth set --default <medium|high> [--dry-run] [--corp <corpId>]"]},{name:"thinking-depth policies list",summary:"List thinking depth policies",usage:["seal-use preference thinking-depth policies list [--corp <corpId>]"]},{name:"thinking-depth policies upsert",summary:"Upsert a thinking depth policy",usage:["seal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp <corpId>]"]},{name:"thinking-depth policies remove",summary:"Remove a thinking depth policy",usage:["seal-use preference thinking-depth policies remove <policyId> [--dry-run] [--corp <corpId>]"]}]},{area:"config",title:"CLI and global workspace configuration",description:"Manage configuration paths, stateful/stateless mode, test directory, and rule linter.",commands:[{name:"paths",summary:"Display active configuration file and directory paths",usage:["seal-use config paths"]},{name:"get",aliases:["status"],summary:"Display current global configuration",usage:["seal-use config get"]},{name:"mode",summary:"Configure stateful or stateless CLI operating mode",usage:["seal-use config mode <stateful|stateless> [--corp <corpId>]"]},{name:"test-dir",aliases:["test-enterprises-dir"],summary:"Set or clear global test enterprises directory",usage:["seal-use config test-dir [<path>|--clear]"]},{name:"lint",summary:"Configure automatic rule linter status and thresholds",usage:["seal-use config lint [status|enable|disable] [--linter <name|path>] [--min-score <score>]"]}]},{area:"auth",title:"Authentication and session diagnostics",description:"Diagnose upstream token status and generate provisional assistance links.",commands:[{name:"diagnose",summary:"Diagnose auth session and platform connectivity",usage:["seal-use auth diagnose [--corp <corpId>]"]},{name:"hose-link",summary:"Generate Hose third-party assistance link",usage:["seal-use auth hose-link [--corp <corpId>] [--expire 7200]"]},{name:"extract-keys",summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥并可选升级配置",usage:["seal-use auth extract-keys <https://.../web/thirdparty.html?...> [--reveal] [--save] [--app-key <key>] [--key-id <id>] [--name <customName>] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】直接将提取到的合思 OpenAPI 密钥持久化为标准企业配置"},{flag:"--app-key <key>",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id <id>",description:"存在多套密钥时指定使用的 keyId"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看当前企业已配置的合思 OpenAPI 开发者密钥",usage:["seal-use auth keys [--corp <corpId>] [--reveal]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"}],description:"专属于合思 (Hose) 来源企业。原生 Seal 企业不包含 OpenAPI 密钥,不支持此命令。"}]},{area:"delegation",title:"Delegation tokens",description:"Manage Seal user delegation tokens and temporary access credentials.",commands:[{name:"list",summary:"List active delegation tokens",usage:["seal-use delegation list [--corp <corpId>]"]},{name:"create",summary:"Create a new delegation token",usage:["seal-use delegation create [--note <note>] [--from-link <url>] [--corp <corpId>]"]},{name:"revoke",summary:"Revoke an existing delegation token",usage:["seal-use delegation revoke <tokenId> [--corp <corpId>]"]}]},{area:"users",title:"User administration",description:"Manage tenant users, phone credentials, and passwords.",commands:[{name:"create",summary:"Create a new tenant user",usage:["seal-use users create --name <name> --phone <phone> [--dept <deptId>] [--corp <corpId>]"]},{name:"search",summary:"Search tenant users by name or phone",usage:["seal-use users search <keyword> [--corp <corpId>]"]},{name:"delegation",summary:"Create delegation token for a specific user",usage:["seal-use users delegation <userIdOrPhone|name> [--note <note>] [--corp <corpId>]"]},{name:"reset-password",summary:"Reset user password",usage:["seal-use users reset-password <userId> [--corp <corpId>]"]},{name:"get",summary:"Get user details",usage:["seal-use users get <userId> [--corp <corpId>]"]},{name:"delete",summary:"Delete user",usage:["seal-use users delete <userId> [--corp <corpId>]"]}]},{area:"contacts",title:"Contacts directory",description:"Query organizational departments, child hierarchies, and user mappings.",commands:[{name:"departments",summary:"List organizational departments",usage:["seal-use contacts departments [<departmentId>] [--corp <corpId>]"]},{name:"children",summary:"List child departments",usage:["seal-use contacts children <departmentId> [--corp <corpId>]"]},{name:"users",summary:"List users in department",usage:["seal-use contacts users <departmentId> [--corp <corpId>]"]},{name:"sync-time",summary:"Get latest contacts synchronization time",usage:["seal-use contacts sync-time [--corp <corpId>]"]}]},{area:"data",title:"Expense and invoice data records",description:"Search raw historical expense and invoice data entries.",commands:[{name:"expenses",summary:"Search raw expense items",usage:["seal-use data expenses [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>] [--corp <corpId>]"]},{name:"invoices",summary:"Search raw invoice records",usage:["seal-use data invoices [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>] [--corp <corpId>]"]}]},{area:"llm",title:"LLM configuration",description:"Query LLM providers and configuration settings.",commands:[{name:"config",summary:"Get active LLM configuration",usage:["seal-use llm config [--corp <corpId>]"]},{name:"providers",summary:"List available LLM providers",usage:["seal-use llm providers [--corp <corpId>]"]}]},{area:"permissions",title:"Tenant permissions",description:"Inspect available and configured permissions.",commands:[{name:"available",summary:"List available permissions",usage:["seal-use permissions available [--corp <corpId>]"]},{name:"configs",summary:"List active permission configurations",usage:["seal-use permissions configs [--corp <corpId>]"]}]},{area:"billing",title:"Subscription and billing plans",description:"Query billing status, feature entitlements, and plan limits.",commands:[{name:"status",summary:"Query current billing and subscription status",usage:["seal-use billing status [--corp <corpId>]"]},{name:"plans",summary:"Query available billing plans",usage:["seal-use billing plans [--corp <corpId>]"]},{name:"features",summary:"Query billing feature toggles",usage:["seal-use billing features [--corp <corpId>]"]}]},{area:"analytics",title:"Audit analytics and insights",description:"Query high-level audit analytics and insights.",commands:[{name:"insight",aliases:["insight-stats","stats"],summary:"Query AI audit insights risk-tag statistics and analysis status",usage:["seal-use analytics insight [--start-date <ISO>] [--end-date <ISO>] [--limit <n>] [--corp <corpId>]"]},{name:"risks",aliases:["risks-by-tag","tag-risks"],summary:"Query detailed risks and document citations under a specific risk tag",usage:["seal-use analytics risks <tagId> [--start-date <ISO>] [--end-date <ISO>] [--corp <corpId>]"]},{name:"performance",aliases:["perf"],summary:"Query audit performance metrics (accuracy, automation rate) and Sankey flow",usage:["seal-use analytics performance [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--corp <corpId>]"]},{name:"analyze",aliases:["reanalyze"],summary:"Trigger on-demand smart insight risk analysis for an approval record",usage:["seal-use analytics analyze <recordId> [--corp <corpId>]"]},{name:"export",aliases:["report","download"],summary:"Export smart insights risk report to high-fidelity Excel workbook",usage:["seal-use analytics export [--downloads] [--out <file>] [--start-date <ISO>] [--end-date <ISO>] [--force] [--limit <n>] [--corp <corpId>]"],options:[{flag:"--downloads",description:"Save directly to the user's Downloads directory"},{flag:"--out <file>",description:"Custom destination file path"},{flag:"--start-date <ISO>",description:"Filter beginning time range"},{flag:"--end-date <ISO>",description:"Filter ending time range"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--limit <n>",description:"Maximum risk tags to drill down into"}]}]},{area:"context",title:"Knowledge context and documents",description:"Query uploaded knowledge context and documents.",commands:[{name:"",summary:"Inspect knowledge context documents",usage:["seal-use context [--ruleVersion <versionId|versionNumber|latest>] [--documentLimit 50] [--corp <corpId>]"]}]},{area:"source",title:"Data source configurations",description:"Inspect enterprise source system configuration.",commands:[{name:"config",summary:"Inspect source configuration",usage:["seal-use source config [--corp <corpId>]"]}]},{area:"tool",title:"Direct low-level tool invocation",description:"Execute individual Seal tools directly.",commands:[{name:"",summary:"Invoke a tool directly",usage:[`seal-use tool <toolName> [--corp <corpId>] [--json '{"key":"value"}']`]}]},{area:"tools",title:"Available tools listing",description:"List all executable domain tools.",commands:[{name:"list",summary:"List all available domain tools",usage:["seal-use tools list"]}]},{area:"update",title:"CLI self-update and release changelogs",description:"Check for new releases, perform self-updates, and view changelogs.",commands:[{name:"",summary:"Update seal-use to latest or target version",usage:["seal-use update [--check] [--force] [--version <v>]","seal-use update check","seal-use update changelog [--limit <n>]","seal-use changelog [--limit <n>]"]}]},{area:"probe",title:"Enterprise connectivity probe",description:"Probe upstream Hose and Seal HTTP connectivity and token validity.",commands:[{name:"",summary:"Run connectivity probe",usage:["seal-use probe [<corpId>]"]}]},{area:"mcp",title:"Model Context Protocol (MCP) server",description:"Run standalone or stdio MCP server for agent harnesses.",commands:[{name:"",summary:"Run MCP server or output MCP config",usage:["seal-use mcp","seal-use mcp config","seal-use mcp-config"]}]},{area:"skill",title:"Agent skill management",description:"Install, dump, or inspect agent skills.",commands:[{name:"dump",summary:"Dump embedded skill markdown",usage:["seal-use skill dump"]},{name:"install",summary:"Install skill to active workspace",usage:["seal-use skill install [--dir <path>|--local]"]},{name:"status",summary:"Check skill installation status",usage:["seal-use skill status"]}]},{area:"http",title:"HTTP server",description:"Run interactive HTTP server.",commands:[{name:"",summary:"Start HTTP daemon",usage:["seal-use http [--port 8787] [--host 127.0.0.1]","seal-use serve [--port 8787]"]}]},{area:"service",title:"Background HTTP service lifecycle",description:"Start, stop, restart, inspect, and read logs from the standalone seal-use HTTP service daemon.",commands:[{name:"start",summary:"Start the background service daemon",usage:["seal-use service start [--port 8787] [--host 127.0.0.1]"]},{name:"stop",summary:"Stop the background service daemon",usage:["seal-use service stop"]},{name:"restart",summary:"Restart the background service daemon",usage:["seal-use service restart [--port 8787] [--host 127.0.0.1]"]},{name:"status",summary:"Show service daemon status",usage:["seal-use service status"]},{name:"logs",summary:"Print recent service daemon logs",usage:["seal-use service logs [--lines 50]"]},{name:"run",summary:"Run the service in the foreground",usage:["seal-use service run [--port 8787] [--host 127.0.0.1]"]}]},{area:"stop",title:"Stop the background service",description:"Shortcut for stopping the background seal-use HTTP service daemon.",commands:[{name:"",summary:"Stop the background service daemon",usage:["seal-use stop"]}]},{area:"openapi",title:"OpenAPI specification",description:"Output embedded OpenAPI JSON specification.",commands:[{name:"",summary:"Print OpenAPI schema",usage:["seal-use openapi"]}]},{area:"doctor",title:"System diagnostic and environment health check",description:"Inspects runtime executable, filesystem paths, enterprise assets, and embedded specifications without modifying any files.",commands:[{name:"",summary:"Run complete system diagnostic health check",usage:["seal-use doctor [--quiet]"],options:[{flag:"--quiet",description:"Suppress formatted human dashboard on stderr"}]},{name:"guide",aliases:["doc","knowledge"],summary:"Read embedded system architecture & directory specification whitepaper",usage:["seal-use doctor guide"]},{name:"paths",aliases:["dirs"],summary:"Inspect core filesystem paths and directory health",usage:["seal-use doctor paths"]},{name:"tenant",aliases:["corp","enterprise"],summary:"Inspect tenant-level health contract, auth permissions, AI approval quota, and rules state",usage:["seal-use doctor tenant [--corp <corpId>] [--quiet]"],options:[{flag:"--corp <corpId>",description:"Enterprise ID or selector to diagnose"},{flag:"--quiet",description:"Suppress formatted dashboard on stderr"}]}]},{area:"test",title:"Automated test harnesses and rule regression matrix",description:"Run automated regression tests and decision comparison matrix across paired production and test environments.",commands:[{name:"regression",aliases:["regress","matrix"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use test regression [--corp <corpId>] [--samples <N>] [--dry-run] [--fail-on-flips]"],options:[{flag:"--corp <corpId>",description:"Target test enterprise or production parent (must be paired)"},{flag:"--samples <N>",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"},{flag:"--prod-corp <id>",description:"Explicit production enterprise source for sample documents"},{flag:"--test-corp <id>",description:"Explicit test enterprise target for replay"},{flag:"--quiet",description:"Suppress formatted summary dashboard on stderr"}]}]}]});import{writeFileSync as bf1}from"node:fs";function Ld($){return $.map((Y)=>typeof Y==="string"?Y:String(Y)).join(" ")}function JW($){if(!$.length)return"";return`${$.join(`
`)}
`}function UW($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1<redacted>").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1<redacted>")}function E0($,Y={}){pf1($,Y);let q=`${JSON.stringify($,null,2)}
`;if(Y.outputFile){bf1(Y.outputFile,q),console.log(JSON.stringify({outputFile:Y.outputFile,bytes:Buffer.byteLength(q,"utf-8")},null,2));return}console.log(q.trimEnd())}function pf1($,Y={}){if(Y.allowFull||Y.outputFile)return;let q=Buffer.byteLength(JSON.stringify($),"utf-8");if(q>cf1)throw new LD(`Output is large (${q} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function Cv0($,Y){if(Y)return;let q=$&&typeof $==="object"?$:{},z=typeof q.count==="number"?q.count:void 0,J=Array.isArray(q.rules)?q.rules.length:void 0,U=Buffer.byteLength(JSON.stringify($),"utf-8"),I=z??J??0;if(I>if1||U>nf1)throw new LD(`Rule list is large (${I} rules, ${U} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`,"seal-use rules list --summary")}function F0($){return{allowFull:J0($.full)===!0,outputFile:T($.outputFile)??T($["output-file"])}}function vv0($=[]){console.log(_v0($))}var if1=100,nf1=120000,Rv0,cf1=200000;var o1=e(()=>{R4();V$();Vd();Rv0=["id","code","status","strictness","scope","createdAt","updatedAt"]});var hv0={};$$(hv0,{selectCorp:()=>W1,runToolResult:()=>H2,runTool:()=>A0,globalConfigSummary:()=>G2});function W1($){let Y=r8(),q=T4(),z=$2(Y,{stateful:q.stateful,defaultCorpId:q.defaultCorpId,corpId:$},Q3());return CA0(z.id),z}function G2($=T4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:aY()}}async function A0($,Y,q,z,J={}){E0(await H2($,Y,q,z),J)}async function H2($,Y,q,z){let J=qW.find((Q)=>Q.name===$);if(!J)throw Error(`Unknown Seal tool: ${$}`);let U=Object.fromEntries(Object.entries(z).filter(([,Q])=>Q!==void 0)),I=J.handler;return I(Y,U,{corp:q})}var p4=e(()=>{K3();pi();iP();o1()});var vg0={};$$(vg0,{formatTenantDoctorDashboard:()=>tb1,diagnoseTenantContract:()=>sb1});async function sb1($,Y){let q=[],z=Y.environment==="test"?"test":"production",J=z==="test"?Y.prodCorpId:Y.testCorpId,U=z==="test"?"prodParent":"testTarget",I=null,Q=null;try{let F=await z8($);if(I=F.user,Q=F.tenant,Boolean(I?.isAdmin||I?.permissions?.includes("*")))q.push({id:"auth_identity",name:"身份与权限契约",status:"pass",summary:`已认证为管理员「${I.name??"未知"}」(${I.id??""}),具备完整操作权限`,details:{userId:I.id,userName:I.name,isAdmin:!0,tenantSlug:Q?.tenantSlug,permissions:I.permissions}});else q.push({id:"auth_identity",name:"身份与权限契约",status:"warn",summary:`已认证为普通用户「${I.name??"未知"}」,非超级管理员,部分配置操作可能受限`,details:{userId:I.id,userName:I.name,isAdmin:!1,permissions:I.permissions},recommendation:"建议使用具有管理权限的企业主账号执行规则修改与集成发布"})}catch(F){q.push({id:"auth_identity",name:"身份与权限契约",status:"fail",summary:`鉴权握手失败:${F instanceof Error?F.message:String(F)}`,details:{error:String(F)},recommendation:`请执行 seal-use auth login --corp ${Y.id} 重新登录或更新 Token`})}let K={featureCode:"ai-approval",balance:0,deductionAmount:120,estimatedRuns:0,status:"exhausted"},G={used:0,remaining:0};try{let F=await g2($),O=Array.isArray(F.features)?F.features:[],P=O.find((A)=>A?.code==="ai-approval");if(P){let A=typeof P.balance==="number"?P.balance:0,E=typeof P.deductionAmount==="number"&&P.deductionAmount>0?P.deductionAmount:120,y=Math.floor(A/E);if(K.balance=A,K.deductionAmount=E,K.estimatedRuns=y,A<=0)K.status="exhausted",q.push({id:"billing_quota",name:"AI 审批额度余量",status:"fail",summary:"当前额度已耗尽 (余量 0 点),无法执行审批模拟或回归测试",details:{balance:A,deductionAmount:E,estimatedRuns:y},recommendation:"请联系管理员为企业充值 AI 审批额度"});else if(y<10)K.status="low",q.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`额度偏低:剩余 ${A} 点 (单笔扣除 ${E} 点),仅可支持约 ${y} 笔审核`,details:{balance:A,deductionAmount:E,estimatedRuns:y},recommendation:"建议在发起大规模自动化回归前充值补充额度"});else K.status="sufficient",q.push({id:"billing_quota",name:"AI 审批额度余量",status:"pass",summary:`额度充裕:剩余 ${A} 点,预估可支持 ${y} 笔审核单据`,details:{balance:A,deductionAmount:E,estimatedRuns:y}})}else q.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:"未检索到「ai-approval」功能包额度明细,按默认通道运行",details:{features:O.map((A)=>A?.code)}});let B=O.find((A)=>A?.code==="approval-rules");if(B)G.used=typeof B.used==="number"?B.used:0,G.remaining=typeof B.remaining==="number"?B.remaining:0}catch(F){q.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`读取计费状态失败:${F instanceof Error?F.message:String(F)}`,details:{error:String(F)}})}let H={totalCount:0,activeCount:0,quotaUsed:G.used,quotaRemaining:G.remaining};try{let F=await b6($),O=Array.isArray(F.rules)?F.rules:[];if(H.totalCount=O.length,H.activeCount=O.filter((P)=>P.status==="ACTIVE").length,O.length===0)q.push({id:"rules_status",name:"审核规则状态",status:"warn",summary:"当前租户未配置任何审核规则 (规则数为 0)",details:{totalCount:0,activeCount:0},recommendation:z==="test"&&J?`可运行 seal-use corps sync-test --corp ${J} 从生产企业同步规则`:"可运行 seal-use rules add 创建基础规则"});else q.push({id:"rules_status",name:"审核规则状态",status:"pass",summary:`审核规则健康:共 ${H.totalCount} 条规则,其中生效活跃 ${H.activeCount} 条`,details:{totalCount:H.totalCount,activeCount:H.activeCount,quotaUsed:G.used,quotaRemaining:G.remaining}})}catch(F){q.push({id:"rules_status",name:"审核规则状态",status:"fail",summary:`拉取规则列表失败:${F instanceof Error?F.message:String(F)}`,details:{error:String(F)}})}let Z={integrationCount:0,hasReplayChannel:!1,activeWebhookId:void 0};try{let F=await J$($);Z.integrationCount=F.length;let O=F.find((P)=>P.name.includes("回放")||P.name.toLowerCase().includes("replay"));if(Z.hasReplayChannel=Boolean(O),Z.activeWebhookId=O?.id??F[0]?.id,F.length===0)q.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:"未配置任何 Webhook 集成通道,执行重放测试时将自动创建临时回放通道",details:{integrationCount:0},recommendation:"可运行 seal-use webhook add --name (回放通道) 手动注册专属通道"});else q.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"pass",summary:`Webhook 集成通道就绪:共 ${F.length} 个通道${O?` (含专属回放通道「${O.name}」)`:""}`,details:{integrationCount:F.length,hasReplayChannel:Z.hasReplayChannel,activeWebhookId:Z.activeWebhookId}})}catch(F){q.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:`检测 Webhook 通道失败:${F instanceof Error?F.message:String(F)}`,details:{error:String(F)}})}if(z==="test")if(J)q.push({id:"environment_binding",name:"测试环境配对契约",status:"pass",summary:`测试租户已绑定生产母企业「${J}」,具备样本拉取与配置同步能力`,details:{environment:z,boundCorpId:J,boundCorpRole:U}});else q.push({id:"environment_binding",name:"测试环境配对契约",status:"warn",summary:"测试租户尚未绑定对应的生产母企业,无法直接拉取生产样本执行自动化回归",details:{environment:z},recommendation:`可运行 seal-use corps bind-test <prodCorpId> ${Y.id} 建立 1 对 1 绑定`});else if(J)q.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"pass",summary:`生产企业已绑定沙箱测试靶场「${J}」,回归测试将严格限制在靶场中运行`,details:{environment:z,boundCorpId:J,boundCorpRole:U}});else q.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"warn",summary:"生产企业尚未绑定任何测试企业,所有回归测试功能将触发安全拦截",details:{environment:z},recommendation:`可运行 seal-use corps bind-test ${Y.id} <testCorpId> 为该生产租户绑定测试靶场`});let V=q.filter((F)=>F.status==="fail").length,X=q.filter((F)=>F.status==="warn").length,L=q.filter((F)=>F.status==="pass").length,w="HEALTHY";if(V>0)w="BLOCKED";else if(X>0)w="DEGRADED";return{ok:V===0,verdict:w,timestamp:new Date().toISOString(),corp:{id:Y.id,name:Y.name,environment:z,sourceType:Y.source?.type??"native",boundCorpId:J,boundCorpRole:U},summary:{totalChecks:q.length,passedChecks:L,warningChecks:X,failedChecks:V},checks:q,quota:K,rules:H,webhooks:Z}}function tb1($){let{corp:Y,verdict:q,summary:z,checks:J,quota:U,rules:I,webhooks:Q}=$,K=q==="HEALTHY"?"\uD83D\uDFE2 健康良好 (HEALTHY)":q==="DEGRADED"?"\uD83D\uDFE1 亚健康降级 (DEGRADED)":"\uD83D\uDD34 阻断受限 (BLOCKED)",G=["",`\uD83C\uDFE5 [Seal Use Doctor] 租户全链路契约体检: ${Y.name} (${Y.id})`,` 状态: ${K} · 环境: ${Y.environment.toUpperCase()} · 耗时: 实时探针`," "+"─".repeat(60)];if(G.push(` AI 审批余量: ${U.balance} 点 (可审约 ${U.estimatedRuns} 笔) | 规则数: ${I.activeCount}/${I.totalCount} | Webhook 通道: ${Q.integrationCount}`),Y.boundCorpId)G.push(` 配对关系: ${Y.environment==="test"?"来源生产母企业":"绑定的测试靶场"} -> 「${Y.boundCorpId}」`);G.push(" "+"─".repeat(60));for(let H of J){let Z=H.status==="pass"?"✓":H.status==="warn"?"!":"✗";if(G.push(` [${Z}] ${H.name}: ${H.summary}`),H.recommendation)G.push(` \uD83D\uDC49 建议: ${H.recommendation}`)}return G.push(" "+"─".repeat(60)),G.push(` 检查汇总: 通过 ${z.passedChecks} · 告警 ${z.warningChecks} · 失败 ${z.failedChecks}`),G.push(""),G.join(`
`)}var hg0=e(()=>{I6()});import{dirname as LW,resolve as FS0}from"node:path";import{fileURLToPath as Ci1}from"node:url";S8();function $z($){return!!$._zod}function g3($,Y){if($z($))return xq($,Y);return $.safeParse(Y)}function kX($){if(!$)return;let Y;if($z($))Y=$._zod?.def?.shape;else Y=$.shape;if(!Y)return;if(typeof Y==="function")try{return Y()}catch{return}return Y}function Bo($){if($z($)){let U=$._zod?.def;if(U){if(U.value!==void 0)return U.value;if(Array.isArray(U.values)&&U.values.length>0)return U.values[0]}}let q=$._def;if(q){if(q.value!==void 0)return q.value;if(Array.isArray(q.values)&&q.values.length>0)return q.values[0]}let z=$.value;if(z!==void 0)return z;return}var BR="2025-11-25";var nr=[BR,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],y3="io.modelcontextprotocol/related-task",wV="2.0",V6=VV(($)=>$!==null&&(typeof $==="object"||typeof $==="function")),cr=U4([Z0(),v1().int()]),pr=Z0(),bp1=S6({ttl:v1().optional(),pollInterval:v1().optional()}),ik0=h0({ttl:v1().optional()}),nk0=h0({taskId:Z0()}),TR=S6({progressToken:cr.optional(),[y3]:nk0.optional()}),z$=h0({_meta:TR.optional()}),jQ=z$.extend({task:ik0.optional()}),dr=($)=>jQ.safeParse($).success,x6=h0({method:Z0(),params:z$.loose().optional()}),M$=h0({_meta:TR.optional()}),N$=h0({method:Z0(),params:M$.loose().optional()}),k6=S6({_meta:TR.optional()}),FV=U4([Z0(),v1().int()]),mr=h0({jsonrpc:u0(wV),id:FV,...x6.shape}).strict(),ER=($)=>mr.safeParse($).success,lr=h0({jsonrpc:u0(wV),...N$.shape}).strict(),or=($)=>lr.safeParse($).success,jR=h0({jsonrpc:u0(wV),id:FV,result:k6}).strict(),_Q=($)=>jR.safeParse($).success;var O1;(function($){$[$.ConnectionClosed=-32000]="ConnectionClosed",$[$.RequestTimeout=-32001]="RequestTimeout",$[$.ParseError=-32700]="ParseError",$[$.InvalidRequest=-32600]="InvalidRequest",$[$.MethodNotFound=-32601]="MethodNotFound",$[$.InvalidParams=-32602]="InvalidParams",$[$.InternalError=-32603]="InternalError",$[$.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(O1||(O1={}));var _R=h0({jsonrpc:u0(wV),id:FV.optional(),error:h0({code:v1().int(),message:Z0(),data:J4().optional()})}).strict();var rr=($)=>_R.safeParse($).success;var sr=U4([mr,lr,jR,_R]),ip1=U4([jR,_R]),OV=k6.strict(),ck0=M$.extend({requestId:FV.optional(),reason:Z0().optional()}),MV=N$.extend({method:u0("notifications/cancelled"),params:ck0}),pk0=h0({src:Z0(),mimeType:Z0().optional(),sizes:H1(Z0()).optional(),theme:y6(["light","dark"]).optional()}),RQ=h0({icons:H1(pk0).optional()}),Gz=h0({name:Z0(),title:Z0().optional()}),tr=Gz.extend({...Gz.shape,...RQ.shape,version:Z0(),websiteUrl:Z0().optional(),description:Z0().optional()}),dk0=Kz(h0({applyDefaults:t4().optional()}),a1(Z0(),J4())),mk0=EQ(($)=>{if($&&typeof $==="object"&&!Array.isArray($)){if(Object.keys($).length===0)return{form:{}}}return $},Kz(h0({form:dk0.optional(),url:V6.optional()}),a1(Z0(),J4()).optional())),lk0=S6({list:V6.optional(),cancel:V6.optional(),requests:S6({sampling:S6({createMessage:V6.optional()}).optional(),elicitation:S6({create:V6.optional()}).optional()}).optional()}),ok0=S6({list:V6.optional(),cancel:V6.optional(),requests:S6({tools:S6({call:V6.optional()}).optional()}).optional()}),rk0=h0({experimental:a1(Z0(),V6).optional(),sampling:h0({context:V6.optional(),tools:V6.optional()}).optional(),elicitation:mk0.optional(),roots:h0({listChanged:t4().optional()}).optional(),tasks:lk0.optional(),extensions:a1(Z0(),V6).optional()}),sk0=z$.extend({protocolVersion:Z0(),capabilities:rk0,clientInfo:tr}),RR=x6.extend({method:u0("initialize"),params:sk0});var tk0=h0({experimental:a1(Z0(),V6).optional(),logging:V6.optional(),completions:V6.optional(),prompts:h0({listChanged:t4().optional()}).optional(),resources:h0({subscribe:t4().optional(),listChanged:t4().optional()}).optional(),tools:h0({listChanged:t4().optional()}).optional(),tasks:ok0.optional(),extensions:a1(Z0(),V6).optional()}),ak0=k6.extend({protocolVersion:Z0(),capabilities:tk0,serverInfo:tr,instructions:Z0().optional()}),CR=N$.extend({method:u0("notifications/initialized"),params:M$.optional()});var NV=x6.extend({method:u0("ping"),params:z$.optional()}),ek0=h0({progress:v1(),total:K4(v1()),message:K4(Z0())}),$u0=h0({...M$.shape,...ek0.shape,progressToken:cr}),DV=N$.extend({method:u0("notifications/progress"),params:$u0}),Yu0=z$.extend({cursor:pr.optional()}),CQ=x6.extend({params:Yu0.optional()}),vQ=k6.extend({nextCursor:pr.optional()}),qu0=y6(["working","input_required","completed","failed","cancelled"]),hQ=h0({taskId:Z0(),status:qu0,ttl:U4([v1(),OQ()]),createdAt:Z0(),lastUpdatedAt:Z0(),pollInterval:K4(v1()),statusMessage:K4(Z0())}),Hz=k6.extend({task:hQ}),zu0=M$.merge(hQ),gQ=N$.extend({method:u0("notifications/tasks/status"),params:zu0}),PV=x6.extend({method:u0("tasks/get"),params:z$.extend({taskId:Z0()})}),AV=k6.merge(hQ),BV=x6.extend({method:u0("tasks/result"),params:z$.extend({taskId:Z0()})}),np1=k6.loose(),TV=CQ.extend({method:u0("tasks/list")}),EV=vQ.extend({tasks:H1(hQ)}),jV=x6.extend({method:u0("tasks/cancel"),params:z$.extend({taskId:Z0()})}),ar=k6.merge(hQ),er=h0({uri:Z0(),mimeType:K4(Z0()),_meta:a1(Z0(),J4()).optional()}),$s=er.extend({text:Z0()}),vR=Z0().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),Ys=er.extend({blob:vR}),SQ=y6(["user","assistant"]),Zz=h0({audience:H1(SQ).optional(),priority:v1().min(0).max(1).optional(),lastModified:S3.datetime({offset:!0}).optional()}),qs=h0({...Gz.shape,...RQ.shape,uri:Z0(),description:K4(Z0()),mimeType:K4(Z0()),size:K4(v1()),annotations:Zz.optional(),_meta:K4(S6({}))}),Ju0=h0({...Gz.shape,...RQ.shape,uriTemplate:Z0(),description:K4(Z0()),mimeType:K4(Z0()),annotations:Zz.optional(),_meta:K4(S6({}))}),Uu0=CQ.extend({method:u0("resources/list")}),Iu0=vQ.extend({resources:H1(qs)}),Qu0=CQ.extend({method:u0("resources/templates/list")}),Ku0=vQ.extend({resourceTemplates:H1(Ju0)}),hR=z$.extend({uri:Z0()}),Gu0=hR,Hu0=x6.extend({method:u0("resources/read"),params:Gu0}),Zu0=k6.extend({contents:H1(U4([$s,Ys]))}),Wu0=N$.extend({method:u0("notifications/resources/list_changed"),params:M$.optional()}),Xu0=hR,Vu0=x6.extend({method:u0("resources/subscribe"),params:Xu0}),Lu0=hR,wu0=x6.extend({method:u0("resources/unsubscribe"),params:Lu0}),Fu0=M$.extend({uri:Z0()}),Ou0=N$.extend({method:u0("notifications/resources/updated"),params:Fu0}),Mu0=h0({name:Z0(),description:K4(Z0()),required:K4(t4())}),Nu0=h0({...Gz.shape,...RQ.shape,description:K4(Z0()),arguments:K4(H1(Mu0)),_meta:K4(S6({}))}),Du0=CQ.extend({method:u0("prompts/list")}),Pu0=vQ.extend({prompts:H1(Nu0)}),Au0=z$.extend({name:Z0(),arguments:a1(Z0(),Z0()).optional()}),Bu0=x6.extend({method:u0("prompts/get"),params:Au0}),gR=h0({type:u0("text"),text:Z0(),annotations:Zz.optional(),_meta:a1(Z0(),J4()).optional()}),SR=h0({type:u0("image"),data:vR,mimeType:Z0(),annotations:Zz.optional(),_meta:a1(Z0(),J4()).optional()}),yR=h0({type:u0("audio"),data:vR,mimeType:Z0(),annotations:Zz.optional(),_meta:a1(Z0(),J4()).optional()}),Tu0=h0({type:u0("tool_use"),name:Z0(),id:Z0(),input:a1(Z0(),J4()),_meta:a1(Z0(),J4()).optional()}),Eu0=h0({type:u0("resource"),resource:U4([$s,Ys]),annotations:Zz.optional(),_meta:a1(Z0(),J4()).optional()}),ju0=qs.extend({type:u0("resource_link")}),xR=U4([gR,SR,yR,ju0,Eu0]),_u0=h0({role:SQ,content:xR}),Ru0=k6.extend({description:Z0().optional(),messages:H1(_u0)}),Cu0=N$.extend({method:u0("notifications/prompts/list_changed"),params:M$.optional()}),vu0=h0({title:Z0().optional(),readOnlyHint:t4().optional(),destructiveHint:t4().optional(),idempotentHint:t4().optional(),openWorldHint:t4().optional()}),hu0=h0({taskSupport:y6(["required","optional","forbidden"]).optional()}),zs=h0({...Gz.shape,...RQ.shape,description:Z0().optional(),inputSchema:h0({type:u0("object"),properties:a1(Z0(),V6).optional(),required:H1(Z0()).optional()}).catchall(J4()),outputSchema:h0({type:u0("object"),properties:a1(Z0(),V6).optional(),required:H1(Z0()).optional()}).catchall(J4()).optional(),annotations:vu0.optional(),execution:hu0.optional(),_meta:a1(Z0(),J4()).optional()}),kR=CQ.extend({method:u0("tools/list")}),gu0=vQ.extend({tools:H1(zs)}),_V=k6.extend({content:H1(xR).default([]),structuredContent:a1(Z0(),J4()).optional(),isError:t4().optional()}),cp1=_V.or(k6.extend({toolResult:J4()})),Su0=jQ.extend({name:Z0(),arguments:a1(Z0(),J4()).optional()}),yQ=x6.extend({method:u0("tools/call"),params:Su0}),yu0=N$.extend({method:u0("notifications/tools/list_changed"),params:M$.optional()}),pp1=h0({autoRefresh:t4().default(!0),debounceMs:v1().int().nonnegative().default(300)}),xQ=y6(["debug","info","notice","warning","error","critical","alert","emergency"]),xu0=z$.extend({level:xQ}),uR=x6.extend({method:u0("logging/setLevel"),params:xu0}),ku0=M$.extend({level:xQ,logger:Z0().optional(),data:J4()}),uu0=N$.extend({method:u0("notifications/message"),params:ku0}),fu0=h0({name:Z0().optional()}),bu0=h0({hints:H1(fu0).optional(),costPriority:v1().min(0).max(1).optional(),speedPriority:v1().min(0).max(1).optional(),intelligencePriority:v1().min(0).max(1).optional()}),iu0=h0({mode:y6(["auto","required","none"]).optional()}),nu0=h0({type:u0("tool_result"),toolUseId:Z0().describe("The unique identifier for the corresponding tool call."),content:H1(xR).default([]),structuredContent:h0({}).loose().optional(),isError:t4().optional(),_meta:a1(Z0(),J4()).optional()}),cu0=PQ("type",[gR,SR,yR]),LV=PQ("type",[gR,SR,yR,Tu0,nu0]),pu0=h0({role:SQ,content:U4([LV,H1(LV)]),_meta:a1(Z0(),J4()).optional()}),du0=jQ.extend({messages:H1(pu0),modelPreferences:bu0.optional(),systemPrompt:Z0().optional(),includeContext:y6(["none","thisServer","allServers"]).optional(),temperature:v1().optional(),maxTokens:v1().int(),stopSequences:H1(Z0()).optional(),metadata:V6.optional(),tools:H1(zs).optional(),toolChoice:iu0.optional()}),mu0=x6.extend({method:u0("sampling/createMessage"),params:du0}),kQ=k6.extend({model:Z0(),stopReason:K4(y6(["endTurn","stopSequence","maxTokens"]).or(Z0())),role:SQ,content:cu0}),fR=k6.extend({model:Z0(),stopReason:K4(y6(["endTurn","stopSequence","maxTokens","toolUse"]).or(Z0())),role:SQ,content:U4([LV,H1(LV)])}),lu0=h0({type:u0("boolean"),title:Z0().optional(),description:Z0().optional(),default:t4().optional()}),ou0=h0({type:u0("string"),title:Z0().optional(),description:Z0().optional(),minLength:v1().optional(),maxLength:v1().optional(),format:y6(["email","uri","date","date-time"]).optional(),default:Z0().optional()}),ru0=h0({type:y6(["number","integer"]),title:Z0().optional(),description:Z0().optional(),minimum:v1().optional(),maximum:v1().optional(),default:v1().optional()}),su0=h0({type:u0("string"),title:Z0().optional(),description:Z0().optional(),enum:H1(Z0()),default:Z0().optional()}),tu0=h0({type:u0("string"),title:Z0().optional(),description:Z0().optional(),oneOf:H1(h0({const:Z0(),title:Z0()})),default:Z0().optional()}),au0=h0({type:u0("string"),title:Z0().optional(),description:Z0().optional(),enum:H1(Z0()),enumNames:H1(Z0()).optional(),default:Z0().optional()}),eu0=U4([su0,tu0]),$f0=h0({type:u0("array"),title:Z0().optional(),description:Z0().optional(),minItems:v1().optional(),maxItems:v1().optional(),items:h0({type:u0("string"),enum:H1(Z0())}),default:H1(Z0()).optional()}),Yf0=h0({type:u0("array"),title:Z0().optional(),description:Z0().optional(),minItems:v1().optional(),maxItems:v1().optional(),items:h0({anyOf:H1(h0({const:Z0(),title:Z0()}))}),default:H1(Z0()).optional()}),qf0=U4([$f0,Yf0]),zf0=U4([au0,eu0,qf0]),Jf0=U4([zf0,lu0,ou0,ru0]),Uf0=jQ.extend({mode:u0("form").optional(),message:Z0(),requestedSchema:h0({type:u0("object"),properties:a1(Z0(),Jf0),required:H1(Z0()).optional()})}),If0=jQ.extend({mode:u0("url"),message:Z0(),elicitationId:Z0(),url:Z0().url()}),Qf0=U4([Uf0,If0]),Kf0=x6.extend({method:u0("elicitation/create"),params:Qf0}),Gf0=M$.extend({elicitationId:Z0()}),Hf0=N$.extend({method:u0("notifications/elicitation/complete"),params:Gf0}),Wz=k6.extend({action:y6(["accept","decline","cancel"]),content:EQ(($)=>$===null?void 0:$,a1(Z0(),U4([Z0(),v1(),t4(),H1(Z0())])).optional())}),Zf0=h0({type:u0("ref/resource"),uri:Z0()});var Wf0=h0({type:u0("ref/prompt"),name:Z0()}),Xf0=z$.extend({ref:U4([Wf0,Zf0]),argument:h0({name:Z0(),value:Z0()}),context:h0({arguments:a1(Z0(),Z0()).optional()}).optional()}),Vf0=x6.extend({method:u0("completion/complete"),params:Xf0});var Lf0=k6.extend({completion:S6({values:H1(Z0()).max(100),total:K4(v1().int()),hasMore:K4(t4())})}),wf0=h0({uri:Z0().startsWith("file://"),name:Z0().optional(),_meta:a1(Z0(),J4()).optional()}),Ff0=x6.extend({method:u0("roots/list"),params:z$.optional()}),bR=k6.extend({roots:H1(wf0)}),Of0=N$.extend({method:u0("notifications/roots/list_changed"),params:M$.optional()}),dp1=U4([NV,RR,Vf0,uR,Bu0,Du0,Uu0,Qu0,Hu0,Vu0,wu0,yQ,kR,PV,BV,TV,jV]),mp1=U4([MV,DV,CR,Of0,gQ]),lp1=U4([OV,kQ,fR,Wz,bR,AV,EV,Hz]),op1=U4([NV,mu0,Kf0,Ff0,PV,BV,TV,jV]),rp1=U4([MV,DV,uu0,Ou0,Wu0,yu0,Cu0,gQ,Hf0]),sp1=U4([OV,ak0,Lf0,Ru0,Pu0,Iu0,Ku0,Zu0,_V,gu0,AV,EV,Hz]);class J1 extends Error{constructor($,Y,q){super(`MCP error ${$}: ${Y}`);this.code=$,this.data=q,this.name="McpError"}static fromError($,Y,q){if($===O1.UrlElicitationRequired&&q){let z=q;if(z.elicitations)return new Js(z.elicitations,Y)}return new J1($,Y,q)}}class Js extends J1{constructor($,Y=`URL elicitation${$.length>1?"s":""} required`){super(O1.UrlElicitationRequired,Y,{elicitations:$})}get elicitations(){return this.data?.elicitations??[]}}function x3($){return $==="completed"||$==="failed"||$==="cancelled"}var Mf0=Symbol("Let zodToJsonSchema decide on which parser to use");var Rd1=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function iR($){let q=kX($)?.method;if(!q)throw Error("Schema is missing a method literal");let z=Bo(q);if(typeof z!=="string")throw Error("Schema method literal must be a string");return z}function nR($,Y){let q=g3($,Y);if(!q.success)throw q.error;return q.data}var Tf0=60000;class cR{constructor($){if(this._options=$,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(MV,(Y)=>{this._oncancel(Y)}),this.setNotificationHandler(DV,(Y)=>{this._onprogress(Y)}),this.setRequestHandler(NV,(Y)=>({})),this._taskStore=$?.taskStore,this._taskMessageQueue=$?.taskMessageQueue,this._taskStore)this.setRequestHandler(PV,async(Y,q)=>{let z=await this._taskStore.getTask(Y.params.taskId,q.sessionId);if(!z)throw new J1(O1.InvalidParams,"Failed to retrieve task: Task not found");return{...z}}),this.setRequestHandler(BV,async(Y,q)=>{let z=async()=>{let J=Y.params.taskId;if(this._taskMessageQueue){let I;while(I=await this._taskMessageQueue.dequeue(J,q.sessionId)){if(I.type==="response"||I.type==="error"){let Q=I.message,K=Q.id,G=this._requestResolvers.get(K);if(G)if(this._requestResolvers.delete(K),I.type==="response")G(Q);else{let H=Q,Z=new J1(H.error.code,H.error.message,H.error.data);G(Z)}else{let H=I.type==="response"?"Response":"Error";this._onerror(Error(`${H} handler missing for request ${K}`))}continue}await this._transport?.send(I.message,{relatedRequestId:q.requestId})}}let U=await this._taskStore.getTask(J,q.sessionId);if(!U)throw new J1(O1.InvalidParams,`Task not found: ${J}`);if(!x3(U.status))return await this._waitForTaskUpdate(J,q.signal),await z();if(x3(U.status)){let I=await this._taskStore.getTaskResult(J,q.sessionId);return this._clearTaskQueue(J),{...I,_meta:{...I._meta,[y3]:{taskId:J}}}}return await z()};return await z()}),this.setRequestHandler(TV,async(Y,q)=>{try{let{tasks:z,nextCursor:J}=await this._taskStore.listTasks(Y.params?.cursor,q.sessionId);return{tasks:z,nextCursor:J,_meta:{}}}catch(z){throw new J1(O1.InvalidParams,`Failed to list tasks: ${z instanceof Error?z.message:String(z)}`)}}),this.setRequestHandler(jV,async(Y,q)=>{try{let z=await this._taskStore.getTask(Y.params.taskId,q.sessionId);if(!z)throw new J1(O1.InvalidParams,`Task not found: ${Y.params.taskId}`);if(x3(z.status))throw new J1(O1.InvalidParams,`Cannot cancel task in terminal status: ${z.status}`);await this._taskStore.updateTaskStatus(Y.params.taskId,"cancelled","Client cancelled task execution.",q.sessionId),this._clearTaskQueue(Y.params.taskId);let J=await this._taskStore.getTask(Y.params.taskId,q.sessionId);if(!J)throw new J1(O1.InvalidParams,`Task not found after cancellation: ${Y.params.taskId}`);return{_meta:{},...J}}catch(z){if(z instanceof J1)throw z;throw new J1(O1.InvalidRequest,`Failed to cancel task: ${z instanceof Error?z.message:String(z)}`)}})}async _oncancel($){if(!$.params.requestId)return;this._requestHandlerAbortControllers.get($.params.requestId)?.abort($.params.reason)}_setupTimeout($,Y,q,z,J=!1){this._timeoutInfo.set($,{timeoutId:setTimeout(z,Y),startTime:Date.now(),timeout:Y,maxTotalTimeout:q,resetTimeoutOnProgress:J,onTimeout:z})}_resetTimeout($){let Y=this._timeoutInfo.get($);if(!Y)return!1;let q=Date.now()-Y.startTime;if(Y.maxTotalTimeout&&q>=Y.maxTotalTimeout)throw this._timeoutInfo.delete($),J1.fromError(O1.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:Y.maxTotalTimeout,totalElapsed:q});return clearTimeout(Y.timeoutId),Y.timeoutId=setTimeout(Y.onTimeout,Y.timeout),!0}_cleanupTimeout($){let Y=this._timeoutInfo.get($);if(Y)clearTimeout(Y.timeoutId),this._timeoutInfo.delete($)}async connect($){if(this._transport)throw Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=$;let Y=this.transport?.onclose;this._transport.onclose=()=>{Y?.(),this._onclose()};let q=this.transport?.onerror;this._transport.onerror=(J)=>{q?.(J),this._onerror(J)};let z=this._transport?.onmessage;this._transport.onmessage=(J,U)=>{if(z?.(J,U),_Q(J)||rr(J))this._onresponse(J);else if(ER(J))this._onrequest(J,U);else if(or(J))this._onnotification(J);else this._onerror(Error(`Unknown message type: ${JSON.stringify(J)}`))},await this._transport.start()}_onclose(){let $=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let q of this._timeoutInfo.values())clearTimeout(q.timeoutId);this._timeoutInfo.clear();for(let q of this._requestHandlerAbortControllers.values())q.abort();this._requestHandlerAbortControllers.clear();let Y=J1.fromError(O1.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let q of $.values())q(Y)}_onerror($){this.onerror?.($)}_onnotification($){let Y=this._notificationHandlers.get($.method)??this.fallbackNotificationHandler;if(Y===void 0)return;Promise.resolve().then(()=>Y($)).catch((q)=>this._onerror(Error(`Uncaught error in notification handler: ${q}`)))}_onrequest($,Y){let q=this._requestHandlers.get($.method)??this.fallbackRequestHandler,z=this._transport,J=$.params?._meta?.[y3]?.taskId;if(q===void 0){let G={jsonrpc:"2.0",id:$.id,error:{code:O1.MethodNotFound,message:"Method not found"}};if(J&&this._taskMessageQueue)this._enqueueTaskMessage(J,{type:"error",message:G,timestamp:Date.now()},z?.sessionId).catch((H)=>this._onerror(Error(`Failed to enqueue error response: ${H}`)));else z?.send(G).catch((H)=>this._onerror(Error(`Failed to send an error response: ${H}`)));return}let U=new AbortController;this._requestHandlerAbortControllers.set($.id,U);let I=dr($.params)?$.params.task:void 0,Q=this._taskStore?this.requestTaskStore($,z?.sessionId):void 0,K={signal:U.signal,sessionId:z?.sessionId,_meta:$.params?._meta,sendNotification:async(G)=>{if(U.signal.aborted)return;let H={relatedRequestId:$.id};if(J)H.relatedTask={taskId:J};await this.notification(G,H)},sendRequest:async(G,H,Z)=>{if(U.signal.aborted)throw new J1(O1.ConnectionClosed,"Request was cancelled");let V={...Z,relatedRequestId:$.id};if(J&&!V.relatedTask)V.relatedTask={taskId:J};let X=V.relatedTask?.taskId??J;if(X&&Q)await Q.updateTaskStatus(X,"input_required");return await this.request(G,H,V)},authInfo:Y?.authInfo,requestId:$.id,requestInfo:Y?.requestInfo,taskId:J,taskStore:Q,taskRequestedTtl:I?.ttl,closeSSEStream:Y?.closeSSEStream,closeStandaloneSSEStream:Y?.closeStandaloneSSEStream};Promise.resolve().then(()=>{if(I)this.assertTaskHandlerCapability($.method)}).then(()=>q($,K)).then(async(G)=>{if(U.signal.aborted)return;let H={result:G,jsonrpc:"2.0",id:$.id};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"response",message:H,timestamp:Date.now()},z?.sessionId);else await z?.send(H)},async(G)=>{if(U.signal.aborted)return;let H={jsonrpc:"2.0",id:$.id,error:{code:Number.isSafeInteger(G.code)?G.code:O1.InternalError,message:G.message??"Internal error",...G.data!==void 0&&{data:G.data}}};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"error",message:H,timestamp:Date.now()},z?.sessionId);else await z?.send(H)}).catch((G)=>this._onerror(Error(`Failed to send response: ${G}`))).finally(()=>{if(this._requestHandlerAbortControllers.get($.id)===U)this._requestHandlerAbortControllers.delete($.id)})}_onprogress($){let{progressToken:Y,...q}=$.params,z=Number(Y),J=this._progressHandlers.get(z);if(!J){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify($)}`));return}let U=this._responseHandlers.get(z),I=this._timeoutInfo.get(z);if(I&&U&&I.resetTimeoutOnProgress)try{this._resetTimeout(z)}catch(Q){this._responseHandlers.delete(z),this._progressHandlers.delete(z),this._cleanupTimeout(z),U(Q);return}J(q)}_onresponse($){let Y=Number($.id),q=this._requestResolvers.get(Y);if(q){if(this._requestResolvers.delete(Y),_Q($))q($);else{let U=new J1($.error.code,$.error.message,$.error.data);q(U)}return}let z=this._responseHandlers.get(Y);if(z===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify($)}`));return}this._responseHandlers.delete(Y),this._cleanupTimeout(Y);let J=!1;if(_Q($)&&$.result&&typeof $.result==="object"){let U=$.result;if(U.task&&typeof U.task==="object"){let I=U.task;if(typeof I.taskId==="string")J=!0,this._taskProgressTokens.set(I.taskId,Y)}}if(!J)this._progressHandlers.delete(Y);if(_Q($))z($);else{let U=J1.fromError($.error.code,$.error.message,$.error.data);z(U)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream($,Y,q){let{task:z}=q??{};if(!z){try{yield{type:"result",result:await this.request($,Y,q)}}catch(U){yield{type:"error",error:U instanceof J1?U:new J1(O1.InternalError,String(U))}}return}let J;try{let U=await this.request($,Hz,q);if(U.task)J=U.task.taskId,yield{type:"taskCreated",task:U.task};else throw new J1(O1.InternalError,"Task creation did not return a task");while(!0){let I=await this.getTask({taskId:J},q);if(yield{type:"taskStatus",task:I},x3(I.status)){if(I.status==="completed")yield{type:"result",result:await this.getTaskResult({taskId:J},Y,q)};else if(I.status==="failed")yield{type:"error",error:new J1(O1.InternalError,`Task ${J} failed`)};else if(I.status==="cancelled")yield{type:"error",error:new J1(O1.InternalError,`Task ${J} was cancelled`)};return}if(I.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:J},Y,q)};return}let Q=I.pollInterval??this._options?.defaultTaskPollInterval??1000;await new Promise((K)=>setTimeout(K,Q)),q?.signal?.throwIfAborted()}}catch(U){yield{type:"error",error:U instanceof J1?U:new J1(O1.InternalError,String(U))}}}request($,Y,q){let{relatedRequestId:z,resumptionToken:J,onresumptiontoken:U,task:I,relatedTask:Q}=q??{};return new Promise((K,G)=>{let H=(O)=>{G(O)};if(!this._transport){H(Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{if(this.assertCapabilityForMethod($.method),I)this.assertTaskCapability($.method)}catch(O){H(O);return}q?.signal?.throwIfAborted();let Z=this._requestMessageId++,V={...$,jsonrpc:"2.0",id:Z};if(q?.onprogress)this._progressHandlers.set(Z,q.onprogress),V.params={...$.params,_meta:{...$.params?._meta||{},progressToken:Z}};if(I)V.params={...V.params,task:I};if(Q)V.params={...V.params,_meta:{...V.params?._meta||{},[y3]:Q}};let X=(O)=>{this._responseHandlers.delete(Z),this._progressHandlers.delete(Z),this._cleanupTimeout(Z),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:Z,reason:String(O)}},{relatedRequestId:z,resumptionToken:J,onresumptiontoken:U}).catch((B)=>this._onerror(Error(`Failed to send cancellation: ${B}`)));let P=O instanceof J1?O:new J1(O1.RequestTimeout,String(O));G(P)};this._responseHandlers.set(Z,(O)=>{if(q?.signal?.aborted)return;if(O instanceof Error)return G(O);try{let P=g3(Y,O.result);if(!P.success)G(P.error);else K(P.data)}catch(P){G(P)}}),q?.signal?.addEventListener("abort",()=>{X(q?.signal?.reason)});let L=q?.timeout??Tf0,w=()=>X(J1.fromError(O1.RequestTimeout,"Request timed out",{timeout:L}));this._setupTimeout(Z,L,q?.maxTotalTimeout,w,q?.resetTimeoutOnProgress??!1);let F=Q?.taskId;if(F){let O=(P)=>{let B=this._responseHandlers.get(Z);if(B)B(P);else this._onerror(Error(`Response handler missing for side-channeled request ${Z}`))};this._requestResolvers.set(Z,O),this._enqueueTaskMessage(F,{type:"request",message:V,timestamp:Date.now()}).catch((P)=>{this._cleanupTimeout(Z),G(P)})}else this._transport.send(V,{relatedRequestId:z,resumptionToken:J,onresumptiontoken:U}).catch((O)=>{this._cleanupTimeout(Z),G(O)})})}async getTask($,Y){return this.request({method:"tasks/get",params:$},AV,Y)}async getTaskResult($,Y,q){return this.request({method:"tasks/result",params:$},Y,q)}async listTasks($,Y){return this.request({method:"tasks/list",params:$},EV,Y)}async cancelTask($,Y){return this.request({method:"tasks/cancel",params:$},ar,Y)}async notification($,Y){if(!this._transport)throw Error("Not connected");this.assertNotificationCapability($.method);let q=Y?.relatedTask?.taskId;if(q){let I={...$,jsonrpc:"2.0",params:{...$.params,_meta:{...$.params?._meta||{},[y3]:Y.relatedTask}}};await this._enqueueTaskMessage(q,{type:"notification",message:I,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes($.method)&&!$.params&&!Y?.relatedRequestId&&!Y?.relatedTask){if(this._pendingDebouncedNotifications.has($.method))return;this._pendingDebouncedNotifications.add($.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete($.method),!this._transport)return;let I={...$,jsonrpc:"2.0"};if(Y?.relatedTask)I={...I,params:{...I.params,_meta:{...I.params?._meta||{},[y3]:Y.relatedTask}}};this._transport?.send(I,Y).catch((Q)=>this._onerror(Q))});return}let U={...$,jsonrpc:"2.0"};if(Y?.relatedTask)U={...U,params:{...U.params,_meta:{...U.params?._meta||{},[y3]:Y.relatedTask}}};await this._transport.send(U,Y)}setRequestHandler($,Y){let q=iR($);this.assertRequestHandlerCapability(q),this._requestHandlers.set(q,(z,J)=>{let U=nR($,z);return Promise.resolve(Y(U,J))})}removeRequestHandler($){this._requestHandlers.delete($)}assertCanSetRequestHandler($){if(this._requestHandlers.has($))throw Error(`A request handler for ${$} already exists, which would be overridden`)}setNotificationHandler($,Y){let q=iR($);this._notificationHandlers.set(q,(z)=>{let J=nR($,z);return Promise.resolve(Y(J))})}removeNotificationHandler($){this._notificationHandlers.delete($)}_cleanupTaskProgressHandler($){let Y=this._taskProgressTokens.get($);if(Y!==void 0)this._progressHandlers.delete(Y),this._taskProgressTokens.delete($)}async _enqueueTaskMessage($,Y,q){if(!this._taskStore||!this._taskMessageQueue)throw Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let z=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue($,Y,q,z)}async _clearTaskQueue($,Y){if(this._taskMessageQueue){let q=await this._taskMessageQueue.dequeueAll($,Y);for(let z of q)if(z.type==="request"&&ER(z.message)){let J=z.message.id,U=this._requestResolvers.get(J);if(U)U(new J1(O1.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(J);else this._onerror(Error(`Resolver missing for request ${J} during task ${$} cleanup`))}}}async _waitForTaskUpdate($,Y){let q=this._options?.defaultTaskPollInterval??1000;try{let z=await this._taskStore?.getTask($);if(z?.pollInterval)q=z.pollInterval}catch{}return new Promise((z,J)=>{if(Y.aborted){J(new J1(O1.InvalidRequest,"Request cancelled"));return}let U=setTimeout(z,q);Y.addEventListener("abort",()=>{clearTimeout(U),J(new J1(O1.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore($,Y){let q=this._taskStore;if(!q)throw Error("No task store configured");return{createTask:async(z)=>{if(!$)throw Error("No request provided");return await q.createTask(z,$.id,{method:$.method,params:$.params},Y)},getTask:async(z)=>{let J=await q.getTask(z,Y);if(!J)throw new J1(O1.InvalidParams,"Failed to retrieve task: Task not found");return J},storeTaskResult:async(z,J,U)=>{await q.storeTaskResult(z,J,U,Y);let I=await q.getTask(z,Y);if(I){let Q=gQ.parse({method:"notifications/tasks/status",params:I});if(await this.notification(Q),x3(I.status))this._cleanupTaskProgressHandler(z)}},getTaskResult:(z)=>{return q.getTaskResult(z,Y)},updateTaskStatus:async(z,J,U)=>{let I=await q.getTask(z,Y);if(!I)throw new J1(O1.InvalidParams,`Task "${z}" not found - it may have been cleaned up`);if(x3(I.status))throw new J1(O1.InvalidParams,`Cannot update task "${z}" from terminal status "${I.status}" to "${J}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await q.updateTaskStatus(z,J,U,Y);let Q=await q.getTask(z,Y);if(Q){let K=gQ.parse({method:"notifications/tasks/status",params:Q});if(await this.notification(K),x3(Q.status))this._cleanupTaskProgressHandler(z)}},listTasks:(z)=>{return q.listTasks(z,Y)}}}}function Us($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Is($,Y){let q={...$};for(let z in Y){let J=z,U=Y[J];if(U===void 0)continue;let I=q[J];if(Us(I)&&Us(U))q[J]={...I,...U};else q[J]=U}return q}var n00=y4(uC(),1),c00=y4(i00(),1);function ll0(){let $=new n00.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return c00.default($),$}class oC{constructor($){this._ajv=$??ll0()}getValidator($){let Y="$id"in $&&typeof $.$id==="string"?this._ajv.getSchema($.$id)??this._ajv.compile($):this._ajv.compile($);return(q)=>{if(Y(q))return{valid:!0,data:q,errorMessage:void 0};else return{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(Y.errors)}}}}class rC{constructor($){this._server=$}requestStream($,Y,q){return this._server.requestStream($,Y,q)}createMessageStream($,Y){let q=this._server.getClientCapabilities();if(($.tools||$.toolChoice)&&!q?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if($.messages.length>0){let z=$.messages[$.messages.length-1],J=Array.isArray(z.content)?z.content:[z.content],U=J.some((G)=>G.type==="tool_result"),I=$.messages.length>1?$.messages[$.messages.length-2]:void 0,Q=I?Array.isArray(I.content)?I.content:[I.content]:[],K=Q.some((G)=>G.type==="tool_use");if(U){if(J.some((G)=>G.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!K)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(K){let G=new Set(Q.filter((Z)=>Z.type==="tool_use").map((Z)=>Z.id)),H=new Set(J.filter((Z)=>Z.type==="tool_result").map((Z)=>Z.toolUseId));if(G.size!==H.size||![...G].every((Z)=>H.has(Z)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:$},kQ,Y)}elicitInputStream($,Y){let q=this._server.getClientCapabilities(),z=$.mode??"form";switch(z){case"url":{if(!q?.elicitation?.url)throw Error("Client does not support url elicitation.");break}case"form":{if(!q?.elicitation?.form)throw Error("Client does not support form elicitation.");break}}let J=z==="form"&&$.mode===void 0?{...$,mode:"form"}:$;return this.requestStream({method:"elicitation/create",params:J},Wz,Y)}async getTask($,Y){return this._server.getTask({taskId:$},Y)}async getTaskResult($,Y,q){return this._server.getTaskResult({taskId:$},Y,q)}async listTasks($,Y){return this._server.listTasks($?{cursor:$}:void 0,Y)}async cancelTask($,Y){return this._server.cancelTask({taskId:$},Y)}}function p00($,Y,q){if(!$)throw Error(`${q} does not support task creation (required for ${Y})`);switch(Y){case"tools/call":if(!$.tools?.call)throw Error(`${q} does not support task creation for tools/call (required for ${Y})`);break;default:break}}function d00($,Y,q){if(!$)throw Error(`${q} does not support task creation (required for ${Y})`);switch(Y){case"sampling/createMessage":if(!$.sampling?.createMessage)throw Error(`${q} does not support task creation for sampling/createMessage (required for ${Y})`);break;case"elicitation/create":if(!$.elicitation?.create)throw Error(`${q} does not support task creation for elicitation/create (required for ${Y})`);break;default:break}}class sC extends cR{constructor($,Y){super(Y);if(this._serverInfo=$,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(xQ.options.map((q,z)=>[q,z])),this.isMessageIgnored=(q,z)=>{let J=this._loggingLevels.get(z);return J?this.LOG_LEVEL_SEVERITY.get(q)<this.LOG_LEVEL_SEVERITY.get(J):!1},this._capabilities=Y?.capabilities??{},this._instructions=Y?.instructions,this._jsonSchemaValidator=Y?.jsonSchemaValidator??new oC,this.setRequestHandler(RR,(q)=>this._oninitialize(q)),this.setNotificationHandler(CR,()=>this.oninitialized?.()),this._capabilities.logging)this.setRequestHandler(uR,async(q,z)=>{let J=z.sessionId||z.requestInfo?.headers["mcp-session-id"]||void 0,{level:U}=q.params,I=xQ.safeParse(U);if(I.success)this._loggingLevels.set(J,I.data);return{}})}get experimental(){if(!this._experimental)this._experimental={tasks:new rC(this)};return this._experimental}registerCapabilities($){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=Is(this._capabilities,$)}setRequestHandler($,Y){let z=kX($)?.method;if(!z)throw Error("Schema is missing a method literal");let J;if($z(z)){let I=z;J=I._zod?.def?.value??I.value}else{let I=z;J=I._def?.value??I.value}if(typeof J!=="string")throw Error("Schema method literal must be a string");if(J==="tools/call"){let I=async(Q,K)=>{let G=g3(yQ,Q);if(!G.success){let X=G.error instanceof Error?G.error.message:String(G.error);throw new J1(O1.InvalidParams,`Invalid tools/call request: ${X}`)}let{params:H}=G.data,Z=await Promise.resolve(Y(Q,K));if(H.task){let X=g3(Hz,Z);if(!X.success){let L=X.error instanceof Error?X.error.message:String(X.error);throw new J1(O1.InvalidParams,`Invalid task creation result: ${L}`)}return X.data}let V=g3(_V,Z);if(!V.success){let X=V.error instanceof Error?V.error.message:String(V.error);throw new J1(O1.InvalidParams,`Invalid tools/call result: ${X}`)}return V.data};return super.setRequestHandler($,I)}return super.setRequestHandler($,Y)}assertCapabilityForMethod($){switch($){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw Error(`Client does not support sampling (required for ${$})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw Error(`Client does not support elicitation (required for ${$})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw Error(`Client does not support listing roots (required for ${$})`);break;case"ping":break}}assertNotificationCapability($){switch($){case"notifications/message":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${$})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw Error(`Server does not support notifying about resources (required for ${$})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw Error(`Server does not support notifying of tool list changes (required for ${$})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw Error(`Server does not support notifying of prompt list changes (required for ${$})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw Error(`Client does not support URL elicitation (required for ${$})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability($){if(!this._capabilities)return;switch($){case"completion/complete":if(!this._capabilities.completions)throw Error(`Server does not support completions (required for ${$})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw Error(`Server does not support logging (required for ${$})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw Error(`Server does not support prompts (required for ${$})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw Error(`Server does not support resources (required for ${$})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Server does not support tools (required for ${$})`);break;case"tasks/get":case"tasks/list":case"tasks/result":case"tasks/cancel":if(!this._capabilities.tasks)throw Error(`Server does not support tasks capability (required for ${$})`);break;case"ping":case"initialize":break}}assertTaskCapability($){d00(this._clientCapabilities?.tasks?.requests,$,"Client")}assertTaskHandlerCapability($){if(!this._capabilities)return;p00(this._capabilities.tasks?.requests,$,"Server")}async _oninitialize($){let Y=$.params.protocolVersion;return this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo,{protocolVersion:nr.includes(Y)?Y:BR,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},OV)}async createMessage($,Y){if($.tools||$.toolChoice){if(!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.")}if($.messages.length>0){let q=$.messages[$.messages.length-1],z=Array.isArray(q.content)?q.content:[q.content],J=z.some((K)=>K.type==="tool_result"),U=$.messages.length>1?$.messages[$.messages.length-2]:void 0,I=U?Array.isArray(U.content)?U.content:[U.content]:[],Q=I.some((K)=>K.type==="tool_use");if(J){if(z.some((K)=>K.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!Q)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(Q){let K=new Set(I.filter((H)=>H.type==="tool_use").map((H)=>H.id)),G=new Set(z.filter((H)=>H.type==="tool_result").map((H)=>H.toolUseId));if(K.size!==G.size||![...K].every((H)=>G.has(H)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}if($.tools)return this.request({method:"sampling/createMessage",params:$},fR,Y);return this.request({method:"sampling/createMessage",params:$},kQ,Y)}async elicitInput($,Y){switch($.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let z=$;return this.request({method:"elicitation/create",params:z},Wz,Y)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let z=$.mode==="form"?$:{...$,mode:"form"},J=await this.request({method:"elicitation/create",params:z},Wz,Y);if(J.action==="accept"&&J.content&&z.requestedSchema)try{let I=this._jsonSchemaValidator.getValidator(z.requestedSchema)(J.content);if(!I.valid)throw new J1(O1.InvalidParams,`Elicitation response content does not match requested schema: ${I.errorMessage}`)}catch(U){if(U instanceof J1)throw U;throw new J1(O1.InternalError,`Error validating elicitation response: ${U instanceof Error?U.message:String(U)}`)}return J}}}createElicitationCompletionNotifier($,Y){if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:$}},Y)}async listRoots($,Y){return this.request({method:"roots/list",params:$},bR,Y)}async sendLoggingMessage($,Y){if(this._capabilities.logging){if(!this.isMessageIgnored($.level,Y))return this.notification({method:"notifications/message",params:$})}}async sendResourceUpdated($){return this.notification({method:"notifications/resources/updated",params:$})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}import l00 from"node:process";class tC{append($){this._buffer=this._buffer?Buffer.concat([this._buffer,$]):$}readMessage(){if(!this._buffer)return null;let $=this._buffer.indexOf(`
`);if($===-1)return null;let Y=this._buffer.toString("utf8",0,$).replace(/\r$/,"");return this._buffer=this._buffer.subarray($+1),ol0(Y)}clear(){this._buffer=void 0}}function ol0($){return sr.parse(JSON.parse($))}function m00($){return JSON.stringify($)+`
`}class aC{constructor($=l00.stdin,Y=l00.stdout){this._stdin=$,this._stdout=Y,this._readBuffer=new tC,this._started=!1,this._ondata=(q)=>{this._readBuffer.append(q),this.processReadBuffer()},this._onerror=(q)=>{this.onerror?.(q)}}async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){while(!0)try{let $=this._readBuffer.readMessage();if($===null)break;this.onmessage?.($)}catch($){this.onerror?.($)}}async close(){if(this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send($){return new Promise((Y)=>{let q=m00($);if(this._stdout.write(q))Y();else this._stdout.once("drain",Y)})}}b8();import{dirname as sd,join as Bi1}from"node:path";import{fileURLToPath as Ti1}from"node:url";import{spawnSync as o10}from"node:child_process";var wK={name:"seal-use",version:"0.10.24",type:"module",module:"src/server.ts",bin:{"seal-use":"src/cli.ts","seal-home":"src/cli.ts"},scripts:{dev:"bun run --watch src/server.ts",start:"bun run src/server.ts",probe:"bun run src/probe.ts",cli:"bun run src/cli.ts",check:"tsc --noEmit","build:binary":"node scripts/build-binary.mjs","build:plugin":"node scripts/build-plugin.mjs",bump:"bun run scripts/bump-version.ts","dev:override":"bun run scripts/dev-override.ts","dev:link":"bun run scripts/dev-override.ts","openapi:bundle":"bun run scripts/bundle-openapi.ts","openapi:raw":"bun run scripts/generate-raw-openapi.ts",test:"bun test"},dependencies:{"@modelcontextprotocol/sdk":"^1.29.0",archiver:"^8.0.0",exceljs:"^4.4.0","iconv-lite":"^0.7.3",ky:"^2.0.2","pinyin-pro":"^3.29.3",yauzl:"^3.4.0",zod:"^4.4.3"},devDependencies:{"@types/archiver":"^8.0.0","@types/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}};function xo0($,Y=wK.version){let q=$.trim();if(!q)return null;let z=q.endsWith("-dirty"),J=z?q.slice(0,-6):q,U=J.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)-(\d+)-g([0-9a-f]+)$/);if(U&&U[1]&&U[2]&&U[3])return{baseVersion:U[1],commitsAhead:Number.parseInt(U[2],10),commit:U[3],dirty:z,describe:q};let I=J.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)$/);if(I&&I[1])return{baseVersion:I[1],commitsAhead:0,commit:"",dirty:z,describe:q};let Q=J.match(/^([0-9a-f]{7,40})$/);if(Q&&Q[1])return{baseVersion:Y,commitsAhead:0,commit:Q[1],dirty:z,describe:q};return null}function ko0($,Y,q,z){let U=q?`+g${q}${z?".dirty":""}`:z?"+dirty":"";return`${$}-dev.${Y}${U}`}function uo0($){let Y=$?.env,q=Y?.SEAL_BUILD_VERSION??process.env.SEAL_BUILD_VERSION,z=Y?.SEAL_BUILD_IS_RELEASE??process.env.SEAL_BUILD_IS_RELEASE,J=Y?.SEAL_BUILD_CHANNEL??process.env.SEAL_BUILD_CHANNEL,U=Y?.SEAL_BUILD_GIT_BASE??process.env.SEAL_BUILD_GIT_BASE,I=Y?.SEAL_BUILD_GIT_COMMITS_AHEAD??process.env.SEAL_BUILD_GIT_COMMITS_AHEAD,Q=Y?.SEAL_BUILD_GIT_COMMIT??process.env.SEAL_BUILD_GIT_COMMIT,K=Y?.SEAL_BUILD_GIT_DIRTY??process.env.SEAL_BUILD_GIT_DIRTY,G=Y?.SEAL_BUILD_GIT_DESCRIBE??process.env.SEAL_BUILD_GIT_DESCRIBE,H=Y?.SEAL_FORCE_RELEASE??process.env.SEAL_FORCE_RELEASE,Z=$?.cwd;if(q){let V=z==="true",L={name:"seal-use",version:q,channel:J||(V?"release":"dev"),isRelease:V};if(U)L.git={baseVersion:U,commitsAhead:Number.parseInt(I||"0",10),commit:Q||"",dirty:K==="true",describe:G||q};return L}if(z==="true"||H==="1")return{name:"seal-use",version:wK.version,channel:"release",isRelease:!0};try{let V=o10("git",["describe","--tags","--long","--dirty","--always"],{cwd:Z,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(V.status===0&&V.stdout){let X=xo0(V.stdout.trim(),wK.version);if(X){if(!X.commit){let w=o10("git",["rev-parse","--short","HEAD"],{cwd:Z,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(w.status===0&&w.stdout)X.commit=w.stdout.trim()}return{name:"seal-use",version:ko0(X.baseVersion,X.commitsAhead,X.commit,X.dirty),channel:"dev",isRelease:!1,git:X}}}}catch{}return{name:"seal-use",version:`${wK.version}-dev.0+local`,channel:"dev",isRelease:!1}}var FK=uo0(),Q1=FK.version,Av=FK.isRelease,Qa1=FK.channel;I6();JD();ID();p4();R4();o1();b8();p4();I6();I6();DZ();tp();R4();o1();V$();import{existsSync as gv0}from"node:fs";async function Sv0($,Y){if(!gv0($))throw Error(`File not found: ${$}`);let q=Pq($);console.log(JSON.stringify(await Dq(q.fileBuffer,q.fileName,Y),null,2))}async function mP($,Y,q,z,J){if($==="ready"||$==="status"){let U=Y??T(J.options.file)??T(J.options.input),I=await CP(q,z,{filePath:U,webhook:T(J.options.webhook)??T(J.options.selector)});if(console.error(`[webhook-ready] 企业环境: ${I.corp.name} (${I.corp.id}) [${I.stateMode}]`),I.corp.tenant?.name)console.error(`[webhook-ready] 租户信息: ${I.corp.tenant.name} (${I.corp.tenant.id})`);console.error(`[webhook-ready] 凭证状态: ${I.authStatus==="ok"?"OK":`异常 (${I.authError})`}`),console.error(`[webhook-ready] Webhook 通道: ${I.activeWebhooks.length} 个可用`);for(let Q of I.activeWebhooks){let K=Q.isDefault?" [默认通道]":"";console.error(` - ${Q.name} (${Q.id}) mode=${Q.mode}${K}`)}if(I.materialPack)console.error(`[webhook-ready] 材料包预检: ${I.materialPack.valid?`通过 (${I.materialPack.documentCount} 单)`:`失败 (${I.materialPack.errors?.join("; ")})`}`);if(I.ready)console.error(`\uD83D\uDFE2 ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);else console.error(`\uD83D\uDD34 准备阶段未通过: ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);console.log(JSON.stringify(I,null,2));return}if($==="replay"){let U=Y??T(J.options.recordId)??T(J.options["record-id"])??T(J.options.id),I=T(J.options.recordIds)??T(J.options["record-ids"]),Q=I?I.split(",").map((i)=>i.trim()).filter(Boolean):void 0,K=T(J.options.sn)??T(J.options.documentSn)??T(J.options["document-sn"]),G=T(J.options.sns)??T(J.options["document-sns"]),H=G?G.split(",").map((i)=>i.trim()).filter(Boolean):void 0,Z=g0(J.options.limit),V=T(J.options.status),X=T(J.options.startDate)??T(J.options["start-date"]),L=T(J.options.endDate)??T(J.options["end-date"]);if(!U&&!Q&&!K&&!H&&Z===void 0)throw Error("Usage: seal-use webhook replay <recordId> [--sn <documentSN>] [--limit <n>] [--status <status>] [--webhook <idOrName>] [--source-corp <corpId>] [--target-corp <corpId>] [--dry-run]");let w=T(J.options.sourceCorp)??T(J.options["source-corp"])??T(J.options.prodCorp)??T(J.options["prod-corp"]),F=T(J.options.targetCorp)??T(J.options["target-corp"])??T(J.options.testCorp)??T(J.options["test-corp"]),O=J0(J.options.force)===!0,{sourceCorp:P,targetCorp:B}=FD({sourceCorpId:w,targetCorpId:F,activeCorp:z,force:O},W1),A=P.id===z.id?q:await Z1(P),E=B.id===z.id?q:await Z1(B),y=T(J.options.webhook)??T(J.options.selector),v=T(J.options.snSuffix)??T(J.options["sn-suffix"]),k=T(J.options.snPrefix)??T(J.options["sn-prefix"]),C=T(J.options.docIdSuffix)??T(J.options["doc-id-suffix"]),c=T(J.options.docIdPrefix)??T(J.options["doc-id-prefix"]),n=J0(J.options.dryRun)??J0(J.options["dry-run"]),b=await nU({query:{recordId:U,recordIds:Q,sn:K,sns:H,limit:Z,status:V,startDate:X,endDate:L},sourceClient:A,targetClient:E,sourceCorp:P,targetCorp:B,webhookSelector:y,snPrefix:k,snSuffix:v,docIdPrefix:c,docIdSuffix:C,dryRun:n});if(n){console.error(`[webhook-replay] 预览模式:已成功从 ${P.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(b,null,2));return}if(b.success)if(b.totalCount===1&&b.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${b.replayedDocument.documentSN}」至 ${B.name} (${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${b.successCount} 条单据(来自「${P.name}」)至「${B.name}」(${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${b.successCount} 条,失败 ${b.failureCount} 条)至「${B.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${B.id} --limit ${b.totalCount}`),console.log(JSON.stringify(b,null,2)),!b.success)process.exitCode=1;return}if($==="resource-pack"||$==="pack"||$==="material-pack"||$==="material-pack-push"||$==="resource-pack-push"){let U=$==="material-pack-push"||$==="resource-pack-push"?"push":Y;if(U==="export"||U==="pull"){let V=T(J.options.recordId)??T(J.options["record-id"])??T(J.options.id)??(J.command[3]&&!J.command[3].endsWith(".zip")&&!J.command[3].startsWith("-")?J.command[3]:void 0),X=T(J.options.recordIds)??T(J.options["record-ids"]),L=X?X.split(",").map((C)=>C.trim()).filter(Boolean):void 0,w=g0(J.options.limit)??(V||L?void 0:10),F=T(J.options.status),O=T(J.options.startDate)??T(J.options["start-date"]),P=T(J.options.endDate)??T(J.options["end-date"]),B=T(J.options.docIdPrefix)??T(J.options["doc-id-prefix"]),A=T(J.options.docIdSuffix)??T(J.options["doc-id-suffix"]),E=J0(J.options["no-attachments"])===!0?!1:J0(J.options.attachments)!==!1,y=T(J.options.output)??T(J.options.outputFile)??T(J.options["output-file"])??T(J.options.o)??T(J.options.file)??(J.command[3]?.endsWith(".zip")?J.command[3]:void 0),v=J0(J.options.toDownloads)??J0(J.options["to-downloads"])??!1,k=await _P(q,z,{recordId:V,recordIds:L,limit:w,status:F,startDate:O,endDate:P,docIdPrefix:B,docIdSuffix:A,includeAttachments:E,outputFile:y,toDownloads:v});console.error(`\uD83D\uDFE2 成功导出 Webhook 资源包: ${k.filePath} (共 ${k.recordCount} 条单据,${k.attachmentCount} 个附件,${(k.fileSizeBytes/1024).toFixed(1)} KB)`),console.error(`\uD83D\uDC49 Next action: ${k.nextAction}`),console.log(JSON.stringify(k,null,2));return}let I=$==="material-pack-push"||$==="resource-pack-push"?T(J.options.file)??T(J.options.input):J.command[3]??T(J.options.file)??T(J.options.input);if(!I)throw Error("Usage: seal-use webhook resource-pack <export|preview|push> [options]");if(!gv0(I))throw Error(`File not found: ${I}`);let Q=Pq(I);if(U==="preview"){console.log(JSON.stringify(await Dq(Q.fileBuffer,Q.fileName),null,2));return}if(U!=="push")throw Error("Usage: seal-use webhook resource-pack <export|preview|push> [options]");let K=T(J.options.webhook)??T(J.options.selector),G=await J$(q,z.seal.endpoints.approvalStylePreferences),H;if(K)H=l3(G,K);else if(G.length===1)H=G[0],console.error(`\uD83D\uDC49 自动锁定唯一可用 Webhook 通道: ${H.name} (${H.id})`);else if(G.length>1){let V=G.map((X)=>`"${X.name}" (${X.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${V}],请通过 --webhook <idOrName> 指定目标通道。`)}else throw new Z4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name <name> --result-url <url> --corp ${z.id}`);let Z=await RP(Q.fileBuffer,Q.fileName,{webhookUrl:H.incomingDocumentWebhook.url,secret:H.secret,materialPackFilePolicy:H.materialPackFilePolicy,customHeaders:w6(z.seal)});console.error(`\uD83D\uDFE2 Webhook 资源包推送完成 (成功 ${Z.results.length} 条单据)`),console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${z.id} --limit ${Z.results.length}`),console.log(JSON.stringify(Z,null,2));return}if($==="list"){await A0("seal_webhook_list",q,z,{query:T(J.options.query)??T(J.options.keyword),includeSecret:dP(J.options)},F0(J.options));return}if($==="get"||$==="find"){let U=Y??T(J.options.selector)??T(J.options.id);if(!U)throw Error("Usage: seal-use webhook get <idOrName> [--show-secret]");await A0("seal_webhook_get",q,z,{selector:U,includeSecret:dP(J.options)},F0(J.options));return}if($==="add"||$==="create"){let U=T(J.options.name)??Y,I=T(J.options.resultUrl)??T(J.options["result-url"])??T(J.options.outgoingResultWebhook)??T(J.options["outgoing-result-webhook"]);if(!U||!I)throw Error("Usage: seal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic]");let Q=pP(J.options),K=BI(J.options),G=J0(J.options.dryRun)??J0(J.options["dry-run"]);await A0("seal_webhook_add",q,z,{name:U,mode:cP(T(J.options.mode)),outgoingResultWebhook:I,autoApprovalRate:Q,secret:T(J.options.secret),materialPackFilePolicy:K,dryRun:G},F0(J.options));return}if($==="update"){let U=Y??T(J.options.selector)??T(J.options.id);if(!U)throw Error("Usage: seal-use webhook update <idOrName> [options]");let I=T(J.options.secret),Q=J0(J.options.rotateSecret)??J0(J.options["rotate-secret"]);if(I!==void 0&&Q)throw i4("Use either --secret or --rotate-secret, not both");let K=T(J.options.name),G=cP(T(J.options.mode)),H=T(J.options.resultUrl)??T(J.options["result-url"])??T(J.options.outgoingResultWebhook)??T(J.options["outgoing-result-webhook"]),Z=pP(J.options),V=BI(J.options),X=J0(J.options.dryRun)??J0(J.options["dry-run"]);if(K===void 0&&G===void 0&&H===void 0&&Z===void 0&&I===void 0&&!Q&&V===void 0&&!X)throw i4("Webhook update requires at least one field option");await A0("seal_webhook_update",q,z,{selector:U,name:K,mode:G,outgoingResultWebhook:H,autoApprovalRate:Z,secret:I,rotateSecret:Q,materialPackFilePolicy:V,dryRun:X},F0(J.options));return}if($==="delete"){let U=Y??T(J.options.selector)??T(J.options.id),I=J0(J.options.dryRun)??J0(J.options["dry-run"]);if(!U)throw Error("Usage: seal-use webhook delete <idOrName> [--yes|--dry-run]");if(J0(J.options.yes)!==!0&&!I)throw K9("Refusing to delete Webhook integration without --yes",`seal-use webhook delete ${U} --corp ${z.id} --yes`);await A0("seal_webhook_delete",q,z,{selector:U,confirm:!0,dryRun:I},F0(J.options));return}throw Error(`Unknown webhook command: ${$??""}. Run 'seal-use help' for available commands.`)}async function yv0($,Y,q,z,J){if($==="replay"){await mP("replay",Y,q,z,J);return}if($==="summary"){let U=await H2("seal_approval_runs_summary",q,z,{date:T(J.options.date),timezone:T(J.options.timezone),limit:g0(J.options.limit),startDate:T(J.options.startDate),endDate:T(J.options.endDate),status:T(J.options.status),taskMode:T(J.options.taskMode),manualApprovalStatus:T(J.options.manualApprovalStatus),sourceDocumentSN:T(J.options.sourceDocumentSN),sourceDocumentId:T(J.options.sourceDocumentId),humanResult:T(J.options.humanResult),query:T(J.options.query)});if(U?.matched===0&&U?.total>0)console.error(`提示:在 ${U.date} 未匹配到记录(该企业共有 ${U.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);E0(U,F0(J.options));return}if($==="stats"){await A0("seal_approval_runs_stats",q,z,{since:T(J.options.since),dedupeBy:T(J.options.dedupeBy)??T(J.options["dedupe-by"]),status:T(J.options.status),sourceSystem:T(J.options.sourceSystem)??T(J.options["source-system"]),taskMode:T(J.options.taskMode)??T(J.options["task-mode"])},F0(J.options));return}if($==="count"){let U=T(J.options.start)??T(J.options.startDate)??T(J.options.since),I=T(J.options.end)??T(J.options.endDate);await A0("seal_approval_runs_count",q,z,{status:T(J.options.status),sourceSystem:T(J.options.sourceSystem)??T(J.options["source-system"]),taskMode:T(J.options.taskMode)??T(J.options["task-mode"]),search:T(J.options.search)??T(J.options.query),startDate:U?t7(U,!1):void 0,endDate:I?t7(I,!0):void 0},F0(J.options));return}if($==="search"||$==="list"){await A0("seal_approval_runs_search",q,z,{limit:g0(J.options.limit),offset:g0(J.options.offset),startDate:T(J.options.startDate)??T(J.options.start)??T(J.options.since),endDate:T(J.options.endDate)??T(J.options.end),status:T(J.options.status),taskMode:T(J.options.taskMode),manualApprovalStatus:T(J.options.manualApprovalStatus),sourceDocumentSN:T(J.options.sourceDocumentSN),sourceDocumentId:T(J.options.sourceDocumentId),humanResult:T(J.options.humanResult),query:T(J.options.query),includeBridge:J0(J.options.includeBridge)},F0(J.options));return}if($==="bridge"){await A0("seal_approval_run_langfuse_bridge_get",q,z,{recordId:T(J.options.recordId),sourceDocumentSN:T(J.options.sourceDocumentSN),sourceDocumentId:T(J.options.sourceDocumentId),simulationBatchId:T(J.options.simulationBatchId),limit:g0(J.options.limit)},F0(J.options));return}if($==="pick"){let U=Y??T(J.options.query)??T(J.options.sn);if(!U)throw Error("Usage: seal-use approval-runs pick --sn <documentSN>");await A0("seal_approval_run_pick",q,z,{query:U,sn:T(J.options.sn),batchId:T(J.options.batch)??T(J.options.batchId),latest:J0(J.options.latest),fields:T(J.options.fields),limit:g0(J.options.limit),includeBridge:J0(J.options.includeBridge)},F0(J.options));return}if($==="get"){let U=J.command[2];if(!U)throw Error("Missing approval run recordId");if(J0(J.options.flow)){await A0("seal_approval_run_flow_get",q,z,{recordId:U},F0(J.options));return}await A0("seal_approval_run_get",q,z,{recordId:U,fields:T(J.options.fields),summary:J0(J.options.summary)},F0(J.options));return}if($==="cited-rules"){let U=J.command[2];if(!U)throw Error("Usage: seal-use approval-runs cited-rules <recordId>");await A0("seal_approval_run_cited_rules_get",q,z,{recordId:U},F0(J.options));return}if($==="document-summary"){let U=J.command[2];if(!U)throw Error("Usage: seal-use approval-runs document-summary <recordId>");await A0("seal_approval_run_document_summary_get",q,z,{recordId:U},F0(J.options));return}if($==="attachments"){if(J.command[2]==="download"){let G=J.command[3];if(!G)throw Error("Usage: seal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>]");let H=await e1(q,G),Z=await UD({record:H,all:J0(J.options.all),name:T(J.options.name),outDir:T(J.options["out-dir"])??T(J.options.outDir)??T(J.options.dir)});if(E0(Z,F0(J.options)),Z.total>0&&Z.downloaded===0)throw Error(`所有 ${Z.total} 个附件下载均失败。`);return}let I=J.command[2];if(!I)throw Error("Usage: seal-use approval-runs attachments <recordId> | seal-use approval-runs attachments download <recordId>");if(J0(J.options.download)){let G=await e1(q,I),H=await UD({record:G,all:J0(J.options.all)??!0,name:T(J.options.name),outDir:T(J.options["out-dir"])??T(J.options.outDir)??T(J.options.dir)});if(E0(H,F0(J.options)),H.total>0&&H.downloaded===0)throw Error(`所有 ${H.total} 个附件下载均失败。`);return}let Q=await e1(q,I),K=a7(Q,{summary:J0(J.options.summary)});E0(K,F0(J.options));return}if($==="download"){let U=J.command[2];if(!U)throw Error("Usage: seal-use approval-runs download <recordId> [--all] [--name <name>] [--out-dir <dir>]");let I=await e1(q,U),Q=await UD({record:I,all:J0(J.options.all),name:T(J.options.name),outDir:T(J.options["out-dir"])??T(J.options.outDir)??T(J.options.dir)});if(E0(Q,F0(J.options)),Q.total>0&&Q.downloaded===0)throw Error(`所有 ${Q.total} 个附件下载均失败。`);return}if($==="result"){let U=J.command[2];if(!U)throw Error("Usage: seal-use approval-runs result <recordId> [--summary]");await A0("seal_approval_run_result_get",q,z,{recordId:U,summary:J0(J.options.summary)},F0(J.options));return}if($==="url"){let U=J0(J.options.sso)??!1,I=g0(J.options.expire)??g0(J.options.expiresIn)??7200,Q=T(J.options.sn)??T(J.options.sourceDocumentSN);await A0("seal_approval_run_url_get",q,z,{recordId:Y??T(J.options.id)??T(J.options.recordId),sourceDocumentSN:Q,sourceDocumentId:T(J.options.sourceDocumentId),sso:U,expiresIn:I},F0(J.options));return}if($==="flow"){let U=Y??J.command[2]??T(J.options.sn)??T(J.options.id)??T(J.options.recordId);if(!U)throw Error("Usage: seal-use approval-runs flow <recordId|SN>");await A0("seal_approval_run_flow_get",q,z,{target:U},F0(J.options));return}if($==="export"){let U=T(J.options.sn)??T(J.options.sns)??T(J.options.sourceDocumentSN),I=U?U.split(/[,;\s]+/).map((K)=>K.trim()).filter(Boolean):void 0,Q=await zD(q,z,{sns:I,limit:g0(J.options.limit),startDate:T(J.options["start-date"])??T(J.options.startDate)??T(J.options.start)??T(J.options.since),endDate:T(J.options["end-date"])??T(J.options.endDate)??T(J.options.end)??T(J.options.until),status:T(J.options.status),manualApprovalStatus:T(J.options["manual-status"])??T(J.options.manualStatus)??T(J.options.manualApprovalStatus),includeCompletedOnly:J0(J.options["completed-only"])??J0(J.options.completedOnly),outputFile:T(J.options.out)??T(J.options.output)??T(J.options.file),toDownloads:J0(J.options["to-downloads"])??J0(J.options.downloads)??J0(J.options.download),force:J0(J.options.force),withFlow:J0(J.options["with-flow"])??(J0(J.options["no-flow"])?!1:void 0),flowConcurrency:g0(J.options["flow-concurrency"])??g0(J.options.concurrency),excludeDeleted:J0(J.options["exclude-deleted"])??(J0(J.options["include-deleted"])?!1:void 0),taskMode:T(J.options.taskMode)??T(J.options["task-mode"]),sourceSystem:T(J.options.sourceSystem)??T(J.options["source-system"])});if(console.error(`\uD83D\uDC49 查看导出文件: open "${Q.filePath}"`),!J.options["with-flow"]&&z.source.type==="hose")console.error("\uD83D\uDC49 提示: 追加 --with-flow 可额外拉取合思原生审批流,输出 E人工行为 / E人工意见。");E0(Q,F0(J.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}ap();p4();R4();o1();async function xv0($,Y,q,z,J){if($==="insight"||$==="insight-stats"||$==="stats"){await A0("seal_insight_stats_get",q,z,{startDate:T(J.options.startDate)??T(J.options["start-date"]),endDate:T(J.options.endDate)??T(J.options["end-date"]),limit:g0(J.options.limit)},F0(J.options));return}if($==="risks"||$==="risks-by-tag"||$==="tag-risks"){let U=Y??T(J.options.tagId)??T(J.options["tag-id"]);if(!U)throw Error("Usage: seal-use analytics risks <tagId> [--start-date <ISO>] [--end-date <ISO>] [--corp <corpId>]");await A0("seal_insight_risks_by_tag_get",q,z,{tagId:U,startDate:T(J.options.startDate)??T(J.options["start-date"]),endDate:T(J.options.endDate)??T(J.options["end-date"])},F0(J.options));return}if($==="performance"||$==="perf"){await A0("seal_insight_performance_get",q,z,{startDate:T(J.options.startDate)??T(J.options["start-date"])??g0(J.options.startDate)??g0(J.options["start-date"]),endDate:T(J.options.endDate)??T(J.options["end-date"])??g0(J.options.endDate)??g0(J.options["end-date"])},F0(J.options));return}if($==="analyze"||$==="reanalyze"){let U=Y??T(J.options.recordId)??T(J.options["record-id"]);if(!U)throw Error("Usage: seal-use analytics analyze <recordId> [--corp <corpId>]");await A0("seal_insight_record_analyze",q,z,{recordId:U},F0(J.options));return}if($==="export"||$==="report"||$==="download"){let U=await hP(q,z,{startDate:T(J.options.startDate)??T(J.options["start-date"]),endDate:T(J.options.endDate)??T(J.options["end-date"]),limit:g0(J.options.limit),outputFile:T(J.options.out)??T(J.options["output-file"])??T(J.options.outputFile),toDownloads:J0(J.options.downloads)??J0(J.options["to-downloads"]),force:J0(J.options.force)});E0(U);return}throw Error(`Unknown analytics command: ${$??""}. Run 'seal-use help' for available commands.`)}j9();LK();b8();I6();R4();o1();j9();LK();b8();K3();import{existsSync as ph0,mkdirSync as dh0,writeFileSync as mh0}from"node:fs";import{randomBytes as Fb1}from"node:crypto";import{join as lh0}from"node:path";var uv0=/^[\uD800-\uDBFF]$/,fv0=/^[\uDC00-\uDFFF]$/,lP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kv0;(function($){$[$.Unknown=0.0000000000001]="Unknown",$[$.Rule=0.000000000001]="Rule",$[$.DICT=0.00000002]="DICT",$[$.Surname=1]="Surname",$[$.Custom=1]="Custom"})(kv0||(kv0={}));var d4={Normal:1,Surname:10,Custom:100};function Z2($){var Y;return $.length-(((Y=$.match(lP))===null||Y===void 0?void 0:Y.length)||0)}function L$($){if(lP.lastIndex=0,!lP.test($))return $.split("");let Y=[],q=0;while(q<$.length){let z=$[q];if(uv0.test(z)&&fv0.test($[q+1]))Y.push($.substring(q,q+2)),q+=2;else Y.push(z),q+=1}return Y}class TI{constructor(){this.NumberDICT=[],this.StringDICT=new Map}get($){if($.length>1)return this.StringDICT.get($);else{let Y=$.charCodeAt(0);return this.NumberDICT[Y]}}set($,Y){if($.length>1)this.StringDICT.set($,Y);else{let q=$.charCodeAt(0);this.NumberDICT[q]=Y}}clear(){this.NumberDICT=[],this.StringDICT.clear()}}var cv0=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],pv0=["j","q","x"],dv0=["uān","uán","uǎn","uàn","uan","uē","ué","uě","uè","ue","ūn","ún","ǔn","ùn","un","ū","ú","ǔ","ù","u"],mv0={uān:"üān",uán:"üán",uǎn:"üǎn",uàn:"üàn",uan:"üan",uē:"üē",ué:"üé",uě:"üě",uè:"üè",ue:"üe",ūn:"ǖn",ún:"ǘn",ǔn:"ǚn",ùn:"ǜn",un:"ün",ū:"ǖ",ú:"ǘ",ǔ:"ǚ",ù:"ǜ",u:"ü"},lv0=["ia","ian","iang","iao","ie","iu","iong","ua","uai","uan","uang","ue","ui","uo","üan","üe","van","ve"],bv0={一:"yì",二:"èr",三:"sān",四:"sì",五:"wǔ",六:"liù",七:"qī",八:"bā",九:"jiǔ",十:"shí",百:"bǎi",千:"qiān",万:"wàn",亿:"yì",单:"dān",两:"liǎng",双:"shuāng",多:"duō",几:"jǐ",十一:"shí yī",零一:"líng yī",第一:"dì yī",一十:"yī shí",一十一:"yī shí yī"},iv0={重:"chóng",行:"háng",斗:"dǒu",更:"gēng"};function df1(){let $={零一:"líng yī",〇一:"líng yī",十一:"shí yī",一十:"yī shí",第一:"dì yī",一十一:"yī shí yī"};for(let Y in bv0)for(let q in iv0){let z=`${Y}${q}`,J=`${bv0[Y]} ${iv0[q]}`;$[z]=J}return $}var nv0=df1(),ov0=Object.keys(nv0).map(($)=>({zh:$,pinyin:nv0[$],probability:0.000000000001,length:Z2($),priority:d4.Normal,dict:Symbol("rule")})),wd={不:{bú:[4]},一:{yí:[4],yì:[1,2,3]}},rv0={不:["的","而","之","后","也","还","地"],一:["的","而","之","后","也","还","是"]},sv0=Object.keys(wd);var tv0={"bǎng páng pāng":["膀"],líng:["〇","伶","凌","刢","囹","坽","夌","姈","婈","孁","岺","彾","掕","昤","朎","柃","棂","櫺","欞","泠","淩","澪","灵","燯","爧","狑","玲","琌","瓴","皊","砱","祾","秢","竛","笭","紷","綾","绫","羐","羚","翎","聆","舲","苓","菱","蓤","蔆","蕶","蛉","衑","裬","詅","跉","軨","輘","酃","醽","鈴","錂","铃","閝","陵","零","霊","霗","霛","霝","靈","駖","魿","鯪","鲮","鴒","鸰","鹷","麢","齡","齢","龄","龗","㥄"],yī:["一","乊","伊","依","医","吚","咿","噫","壱","壹","夁","嫛","嬄","弌","揖","撎","檹","毉","洢","渏","漪","瑿","畩","祎","禕","稦","繄","蛜","衤","譩","辷","郼","醫","銥","铱","鷖","鹥","黟","黳"],"dīng zhēng":["丁"],"kǎo qiǎo yú":["丂"],qī:["七","倛","僛","凄","嘁","墄","娸","悽","慼","慽","戚","捿","柒","桤","桼","棲","榿","欺","沏","淒","漆","紪","緀","萋","褄","諆","迉","郪","鏚","霋","魌","鶈"],shàng:["丄","尙","尚","恦","緔","绱"],xià:["丅","下","乤","圷","夏","夓","懗","梺","疜","睱","罅","鎼","鏬"],hǎn:["丆","喊","浫","罕","豃","㘎"],"wàn mò":["万"],zhàng:["丈","仗","墇","嶂","帐","帳","幛","扙","杖","涱","痮","瘬","瘴","瞕","粀","胀","脹","賬","账","障"],sān:["三","厁","叁","弎","毵","毶","毿","犙","鬖"],"shàng shǎng shang":["上"],"qí jī":["丌","其","奇"],"bù fǒu":["不"],"yǔ yù yú":["与"],miǎn:["丏","偭","免","冕","勉","勔","喕","娩","愐","汅","沔","湎","睌","緬","缅","腼","葂","靦","鮸","\uD867\uDF83"],gài:["丐","乢","匃","匄","戤","概","槩","槪","溉","漑","瓂","葢","鈣","钙","\uD872\uDFBF"],chǒu:["丑","丒","侴","吜","杽","瞅","矁","醜","魗"],zhuān:["专","叀","嫥","専","專","瑼","甎","砖","磗","磚","蟤","諯","鄟","顓","颛","鱄","䏝"],"qiě jū":["且"],pī:["丕","伓","伾","噼","坯","岯","憵","批","披","炋","狉","狓","砒","磇","礔","礕","秛","秠","耚","豾","邳","鈚","鉟","銔","錃","錍","霹","駓","髬","魾","\uD873\uDCF5"],shì:["世","丗","亊","事","仕","侍","冟","势","勢","卋","呩","嗜","噬","士","奭","嬕","室","市","式","弑","弒","恀","恃","戺","拭","揓","是","昰","枾","柿","栻","澨","烒","煶","眂","眎","眡","睗","示","礻","筮","簭","舐","舓","襫","視","视","觢","試","誓","諡","謚","试","谥","貰","贳","軾","轼","逝","遾","釈","释","釋","鈰","鉃","鉽","铈","飾","餙","餝","饰","鰘","䏡","\uD872\uDD0A"],qiū:["丘","丠","坵","媝","恘","恷","楸","秋","秌","穐","篍","緧","萩","蘒","蚯","蝵","蟗","蠤","趥","邱","鞦","鞧","鰌","鰍","鳅","鶖","鹙","龝"],bǐng:["丙","屛","怲","抦","昞","昺","柄","棅","炳","禀","秉","稟","苪","蛃","邴","鈵","陃","鞆","餅","餠","饼"],yè:["业","亱","僷","墷","夜","嶪","嶫","抴","捙","擛","擪","擫","晔","曄","曅","曗","曳","曵","枼","枽","業","洂","液","澲","烨","燁","爗","璍","皣","瞱","瞸","礏","腋","葉","謁","谒","邺","鄴","鍱","鐷","靥","靨","頁","页","餣","饁","馌","驜","鵺","鸈"],cóng:["丛","从","叢","婃","孮","従","徔","徖","悰","樷","欉","淙","灇","爜","琮","藂","誴","賨","賩","錝"],dōng:["东","倲","冬","咚","埬","岽","崬","徚","昸","東","氡","氭","涷","笗","苳","菄","蝀","鮗","鯟","鶇","鶫","鸫","鼕","\uD871\uDFFD"],sī:["丝","俬","凘","厮","司","咝","嘶","噝","媤","廝","恖","撕","斯","楒","泀","澌","燍","禗","禠","私","糹","絲","緦","纟","缌","罳","蕬","虒","蛳","蜤","螄","蟖","蟴","鉰","銯","鍶","鐁","锶","颸","飔","騦","鷥","鸶","鼶","㟃"],chéng:["丞","呈","城","埕","堘","塍","塖","宬","峸","惩","懲","成","承","挰","掁","揨","枨","棖","橙","檙","洆","溗","澂","珵","珹","畻","程","窚","筬","絾","脭","荿","誠","诚","郕","酲","鋮","铖","騬","鯎"],diū:["丟","丢","銩","铥"],liǎng:["両","两","兩","唡","啢","掚","緉","脼","蜽","裲","魉","魎","\uD871\uDF2F"],yǒu:["丣","卣","友","梄","湵","牖","禉","羑","聈","苃","莠","蜏","酉","銪","铕","黝"],yán:["严","厳","啱","喦","嚴","塩","壛","壧","妍","姸","娫","娮","岩","嵒","嵓","巌","巖","巗","延","揅","昖","楌","檐","櫩","欕","沿","炎","炏","狿","琂","盐","碞","筵","簷","莚","蔅","虤","蜒","言","訁","訮","詽","讠","郔","閆","閻","闫","阎","顏","顔","颜","鹽","麣","\uD86C\uDD27"],bìng:["並","併","倂","傡","垪","摒","栤","病","窉","竝","誁","靐","鮩"],"sàng sāng":["丧"],gǔn:["丨","惃","滚","滾","磙","緄","绲","蓘","蔉","衮","袞","輥","辊","鮌","鯀","鲧"],jiū:["丩","勼","啾","揪","揫","朻","究","糾","纠","萛","赳","阄","鬏","鬮","鳩","鸠"],"gè gě":["个","個","各"],yā:["丫","圧","孲","庘","押","枒","桠","椏","錏","鐚","鴉","鴨","鵶","鸦","鸭"],pán:["丬","媻","幋","槃","洀","瀊","爿","盘","盤","磐","縏","蒰","蟠","蹒","蹣","鎜","鞶"],"zhōng zhòng":["中"],jǐ:["丮","妀","己","戟","挤","掎","撠","擠","橶","泲","犱","脊","虮","蟣","魢","鱾","麂"],jiè:["丯","介","借","唶","堺","屆","届","岕","庎","徣","戒","楐","犗","玠","琾","界","畍","疥","砎","蚧","蛶","衸","褯","誡","诫","鎅","骱","魪"],fēng:["丰","仹","偑","僼","凨","凬","凮","妦","寷","封","峯","峰","崶","枫","楓","檒","沣","沨","渢","灃","烽","犎","猦","琒","疯","瘋","盽","砜","碸","篈","蘴","蜂","蠭","豐","鄷","酆","鋒","鎽","鏠","锋","霻","靊","飌","麷"],"guàn kuàng":["丱"],chuàn:["串","汌","玔","賗","釧","钏"],chǎn:["丳","产","冁","剷","囅","嵼","旵","浐","滻","灛","產","産","簅","蒇","蕆","諂","譂","讇","谄","鏟","铲","閳","闡","阐","骣","\uD870\uDEA4"],lín:["临","冧","壣","崊","嶙","斴","晽","暽","林","潾","瀶","燐","琳","璘","瞵","碄","磷","粦","粼","繗","翷","臨","轔","辚","遴","邻","鄰","鏻","阾","隣","霖","驎","鱗","鳞","麐","麟","\uD873\uDD0A","\uD872\uDF78"],zhuó:["丵","劅","卓","啄","圴","妰","娺","撯","擆","擢","斫","斮","斱","斲","斵","晫","椓","浊","浞","濁","灼","烵","琸","硺","禚","窡","籗","籱","罬","茁","蠗","蠿","諁","諑","謶","诼","酌","鐲","镯","鵫","鷟","䓬","\uD873\uDE26"],zhǔ:["丶","主","劯","嘱","囑","宔","帾","拄","渚","濐","煑","煮","燝","瞩","矚","罜","詝","陼","鸀","麈","\uD872\uDCDE"],bā:["丷","仈","八","叭","哵","夿","岜","巴","捌","朳","玐","疤","笆","粑","羓","芭","蚆","豝","釟"],wán:["丸","刓","完","岏","抏","捖","汍","烷","玩","琓","笂","紈","纨","翫","芄","貦","頑","顽"],dān:["丹","勯","匰","単","妉","媅","殚","殫","甔","眈","砃","箪","簞","耼","耽","聃","聸","褝","襌","躭","郸","鄲","酖","頕"],"wèi wéi":["为"],"jǐng dǎn":["丼"],"lì lí":["丽"],jǔ:["举","弆","挙","擧","椇","榉","榘","櫸","欅","矩","筥","聥","舉","莒","蒟","襷","踽","齟","龃"],piě:["丿","苤","鐅","\uD872\uDF6F"],fú:["乀","伏","俘","凫","刜","匐","咈","哹","垘","孚","岪","巿","帗","幅","幞","弗","彿","怫","扶","柫","栿","桴","氟","泭","浮","涪","澓","炥","玸","甶","畉","癁","祓","福","稪","符","箙","紱","紼","絥","綍","绂","绋","罘","罦","翇","艀","芙","芣","苻","茀","茯","菔","葍","虙","蚨","蜉","蝠","袚","袱","襆","襥","諨","豧","踾","輻","辐","郛","鉘","鉜","韍","韨","颫","髴","鮄","鮲","鳧","鳬","鴔","鵩","黻"],"yí jí":["乁"],yì:["乂","义","亄","亦","亿","伇","伿","佾","俋","億","兿","刈","劓","劮","勚","勩","匇","呓","呭","呹","唈","囈","圛","坄","垼","埸","奕","嫕","嬑","寱","屹","峄","嶧","帟","帠","幆","廙","异","弈","弋","役","忆","怈","怿","悒","意","憶","懌","懿","抑","挹","敡","易","晹","曀","曎","杙","枍","棭","榏","槸","檍","歝","殔","殪","殹","毅","浂","浥","浳","湙","溢","潩","澺","瀷","炈","焲","熠","熤","熼","燚","燡","燱","獈","玴","異","疫","痬","瘗","瘞","瘱","癔","益","瞖","穓","竩","篒","縊","繶","繹","绎","缢","義","羿","翊","翌","翳","翼","耴","肄","肊","膉","臆","艗","艺","芅","苅","萟","蓺","薏","藙","藝","蘙","虉","蜴","螠","衪","袣","裔","裛","褹","襼","訲","訳","詍","詣","誼","譯","議","讛","议","译","诣","谊","豙","豛","豷","貖","贀","跇","轶","逸","邑","鄓","醷","釴","鈠","鎰","鐿","镒","镱","阣","隿","霬","饐","駅","驛","驿","骮","鮨","鶂","鶃","鶍","鷁","鷊","鷧","鷾","鸃","鹝","鹢","黓","齸","\uD872\uDF29","㑊","\uD86C\uDD37","\uD871\uDFC1"],nǎi:["乃","倷","奶","嬭","廼","氖","疓","艿","迺","釢"],wǔ:["乄","五","仵","伍","侮","倵","儛","午","啎","妩","娬","嫵","庑","廡","忤","怃","憮","摀","武","潕","熓","牾","玝","珷","瑦","甒","碔","舞","躌","迕","逜","陚","鵡","鹉","\uD84F\uDC98"],jiǔ:["久","乆","九","乣","奺","杦","汣","灸","玖","紤","舏","酒","镹","韭","韮"],"tuō zhé":["乇","杔","馲"],"me mó ma yāo":["么"],zhī:["之","倁","卮","巵","搘","支","栀","梔","椥","榰","汁","泜","疷","祗","祬","秓","稙","綕","肢","胑","胝","脂","芝","蘵","蜘","衼","隻","鳷","鴲","鼅","\uD85A\uDF5C"],"wū wù":["乌"],zhà:["乍","咤","宱","搾","榨","溠","痄","蚱","詐","诈","醡","霅","䃎"],hū:["乎","乯","匢","匫","呼","唿","嘑","垀","寣","幠","忽","惚","昒","歑","泘","淴","滹","烀","苸","虍","虖","謼","軤","轷","雐"],fá:["乏","伐","傠","坺","垡","墢","姂","栰","浌","瞂","笩","筏","罚","罰","罸","藅","閥","阀"],"lè yuè yào lào":["乐","樂"],yín:["乑","吟","噖","嚚","圁","垠","夤","婬","寅","峾","崟","崯","檭","殥","泿","淫","滛","烎","犾","狺","璌","硍","碒","荶","蔩","訔","訚","訡","誾","鄞","鈝","銀","银","霪","鷣","齦"],pīng:["乒","俜","娉","涄","甹","砯","聠","艵","頩"],pāng:["乓","滂","胮","膖","雱","霶"],qiáo:["乔","侨","僑","嫶","憔","桥","槗","樵","橋","櫵","犞","瞧","硚","礄","荍","荞","蕎","藮","譙","趫","鐈","鞒","鞽","顦"],hǔ:["乕","琥","萀","虎","虝","錿","鯱"],guāi:["乖"],"chéng shèng":["乗","乘","娍"],yǐ:["乙","乛","以","倚","偯","嬟","崺","已","庡","扆","攺","敼","旑","旖","檥","矣","礒","笖","舣","艤","苡","苢","蚁","螘","蟻","裿","踦","輢","轙","逘","酏","釔","鈘","鉯","钇","顗","鳦","齮","\uD86D\uDDAE","\uD873\uDE88"],"háo yǐ":["乚"],"niè miē":["乜"],qǐ:["乞","企","启","唘","啓","啔","啟","婍","屺","杞","棨","玘","盀","綺","绮","芑","諬","起","邔","闙"],yě:["也","冶","嘢","埜","壄","漜","野"],xí:["习","喺","媳","嶍","席","椺","檄","漝","習","蓆","袭","襲","覡","觋","謵","趘","郋","鎴","隰","霫","飁","騱","騽","驨","鰼","鳛","\uD840\uDD64","\uD86D\uDE2C"],xiāng:["乡","厢","廂","忀","楿","欀","湘","瓖","稥","箱","緗","缃","膷","芗","萫","葙","薌","襄","郷","鄉","鄊","鄕","鑲","镶","香","驤","骧","鱜","麘","\uD871\uDE4B"],shū:["书","倏","倐","儵","叔","姝","尗","抒","掓","摅","攄","書","枢","梳","樞","殊","殳","毹","毺","淑","瀭","焂","疎","疏","紓","綀","纾","舒","菽","蔬","踈","軗","輸","输","鄃","陎","鮛","鵨"],dǒu:["乧","抖","枓","蚪","鈄","阧","陡"],shǐ:["乨","使","兘","史","始","宩","屎","榁","矢","笶","豕","鉂","駛","驶"],jī:["乩","僟","击","刉","刏","剞","叽","唧","喞","嗘","嘰","圾","基","墼","姬","屐","嵆","嵇","撃","擊","朞","机","枅","樭","機","毄","激","犄","玑","璣","畸","畿","癪","矶","磯","积","積","笄","筓","箕","簊","緁","羁","羇","羈","耭","肌","芨","虀","覉","覊","譏","譤","讥","賫","賷","赍","跻","踑","躋","躸","銈","錤","鐖","鑇","鑙","隮","雞","鞿","韲","飢","饑","饥","魕","鳮","鶏","鶺","鷄","鸄","鸡","齎","齏","齑","\uD872\uDFC0","\uD86D\uDCEF","\uD86D\uDCF9","\uD86C\uDF00"],náng:["乪","嚢","欜","蠰","饢"],jiā:["乫","佳","傢","加","嘉","抸","枷","梜","毠","泇","浃","浹","犌","猳","珈","痂","笳","糘","耞","腵","葭","袈","豭","貑","跏","迦","鉫","鎵","镓","鴐","麚","\uD870\uDCA9"],jù:["乬","倨","倶","具","剧","劇","勮","埧","埾","壉","姖","屦","屨","岠","巨","巪","怇","惧","愳","懅","懼","拒","拠","昛","歫","洰","澽","炬","烥","犋","秬","窭","窶","簴","粔","耟","聚","虡","蚷","詎","讵","豦","距","踞","躆","遽","邭","醵","鉅","鐻","钜","颶","飓","駏","鮔"],shí:["乭","十","埘","塒","姼","实","実","寔","實","峕","嵵","时","旹","時","榯","湜","溡","炻","祏","竍","蚀","蝕","辻","遈","鉐","飠","饣","鮖","鰣","鲥","鼫","鼭"],mǎo:["乮","冇","卯","峁","戼","昴","泖","笷","蓩","鉚","铆"],mǎi:["买","嘪","荬","蕒","買","鷶"],luàn:["乱","亂","釠"],rǔ:["乳","擩","汝","肗","辱","鄏"],xué:["乴","学","學","峃","嶨","斈","泶","澩","燢","穴","茓","袕","踅","鷽","鸴"],yǎn:["䶮","乵","俨","偃","儼","兖","兗","厣","厴","噞","孍","嵃","巘","巚","弇","愝","戭","扊","抁","掩","揜","曮","椼","檿","沇","渷","演","琰","甗","眼","罨","萒","蝘","衍","褗","躽","遃","郾","隒","顩","魇","魘","鰋","鶠","黡","黤","黬","黭","黶","鼴","鼹","齴","龑","\uD873\uDE18","\uD871\uDE42","\uD86A\uDE58"],fǔ:["乶","俌","俛","俯","府","弣","抚","拊","撫","斧","椨","滏","焤","甫","盙","簠","腐","腑","蜅","輔","辅","郙","釜","釡","阝","頫","鬴","黼","㕮","\uD86D\uDDAF"],shā:["乷","唦","杀","桬","殺","毮","猀","痧","砂","硰","紗","繺","纱","蔱","裟","鎩","铩","閷","髿","魦","鯊","鯋","鲨"],nǎ:["乸","雫"],qián:["乹","亁","仱","偂","前","墘","媊","岒","拑","掮","榩","橬","歬","潛","潜","濳","灊","箝","葥","虔","軡","鈐","鉗","銭","錢","鎆","钤","钱","钳","靬","騚","騝","鰬","黔","黚"],suǒ:["乺","唢","嗩","所","暛","溑","溹","琐","琑","瑣","索","褨","鎖","鎻","鏁","锁"],yú:["乻","于","亐","伃","余","堣","堬","妤","娛","娯","娱","嬩","崳","嵎","嵛","愚","扵","揄","旟","楡","楰","榆","欤","歈","歟","歶","渔","渝","湡","漁","澞","牏","狳","玗","玙","瑜","璵","盂","睮","窬","竽","籅","羭","腴","臾","舁","舆","艅","茰","萮","萸","蕍","蘛","虞","虶","蝓","螸","衧","褕","覦","觎","諛","謣","谀","踰","輿","轝","逾","邘","酑","鍝","隅","雓","雩","餘","馀","騟","骬","髃","魚","魣","鮽","鯲","鰅","鱼","鷠","鸆","齵"],zhù:["乼","伫","佇","住","坾","墸","壴","嵀","拀","杼","柱","樦","殶","注","炷","疰","眝","祝","祩","竚","筯","箸","篫","簗","紵","紸","纻","羜","翥","苎","莇","蛀","註","貯","贮","跓","軴","鉒","鋳","鑄","铸","馵","駐","驻"],zhě:["乽","者","褶","襵","赭","踷","鍺","锗"],"qián gān":["乾"],"zhì luàn":["乿"],guī:["亀","圭","妫","媯","嫢","嬀","帰","归","摫","椝","槻","槼","櫷","歸","珪","瑰","璝","瓌","皈","瞡","硅","茥","蘬","規","规","邽","郌","閨","闺","騩","鬶","鬹"],"lǐn lìn":["亃"],jué:["亅","决","刔","劂","匷","厥","噊","孒","孓","崛","崫","嶥","彏","憠","憰","戄","抉","挗","掘","攫","桷","橛","橜","欮","氒","決","灍","焳","熦","爑","爴","爵","獗","玃","玦","玨","珏","瑴","瘚","矍","矡","砄","絕","絶","绝","臄","芵","蕝","蕨","虳","蟨","蟩","觖","觮","觼","訣","譎","诀","谲","貜","赽","趉","蹷","躩","鈌","鐍","鐝","钁","镢","鴂","鴃","鷢","\uD86D\uDE1D","㵐","\uD86D\uDD0E"],"le liǎo":["了"],"gè mā":["亇"],"yǔ yú":["予","懙"],zhēng:["争","佂","凧","姃","媜","峥","崝","崢","征","徰","炡","烝","爭","狰","猙","癥","眐","睁","睜","筝","箏","篜","聇","脀","蒸","踭","鉦","錚","鏳","鬇"],èr:["二","刵","咡","弍","弐","樲","誀","貮","貳","贰","髶"],chù:["亍","傗","儊","怵","憷","搐","斶","歜","珿","琡","矗","竌","絀","绌","臅","触","觸","豖","鄐","閦","黜"],kuī:["亏","刲","岿","巋","盔","窥","窺","聧","虧","闚","顝"],yún:["云","伝","勻","匀","囩","妘","愪","抣","昀","橒","沄","涢","溳","澐","熉","畇","秐","筼","篔","紜","縜","纭","耘","芸","蒷","蕓","郧","鄖","鋆","雲"],hù:["互","冱","嗀","嚛","婟","嫭","嫮","岵","帍","弖","怙","戶","户","戸","戽","扈","护","昈","槴","沍","沪","滬","熩","瓠","祜","笏","簄","粐","綔","蔰","護","豰","鄠","鍙","頀","鱯","鳠","鳸","鸌","鹱"],qí:["亓","剘","埼","岐","岓","崎","嵜","愭","掑","斉","斊","旂","旗","棊","棋","檱","櫀","歧","淇","濝","猉","玂","琦","琪","璂","畦","疧","碁","碕","祁","祈","祺","禥","竒","簯","簱","籏","粸","綥","綦","肵","脐","臍","艩","芪","萁","萕","蕲","藄","蘄","蚑","蚚","蛴","蜝","蜞","螧","蠐","褀","軝","鄿","釮","錡","锜","陭","頎","颀","騎","騏","騹","骐","骑","鬐","鬿","鯕","鰭","鲯","鳍","鵸","鶀","麒","麡","\uD861\uDE78","\uD872\uDE02","䓫"],jǐng:["井","儆","刭","剄","坓","宑","幜","憬","暻","殌","汫","汬","澋","璄","璟","璥","穽","肼","蟼","警","阱","頚","頸"],sì:["亖","佀","価","儩","兕","嗣","四","姒","娰","孠","寺","巳","柶","榹","汜","泗","泤","洍","洠","涘","瀃","牭","祀","禩","竢","笥","耜","肂","肆","蕼","覗","貄","釲","鈶","鈻","飤","飼","饲","駟","騃","驷"],suì:["亗","嬘","岁","嵗","旞","檖","歲","歳","澻","煫","燧","璲","砕","碎","祟","禭","穂","穗","穟","繀","繐","繸","襚","誶","譢","谇","賥","邃","鐆","鐩","隧","韢","\uD86D\uDFE6","\uD872\uDF7C"],gèn:["亘","亙","揯","搄","茛"],yà:["亚","亜","俹","冴","劜","圔","圠","埡","娅","婭","揠","氩","氬","犽","砑","稏","聐","襾","覀","訝","讶","迓","齾"],"xiē suò":["些"],"qí zhāi":["亝","齊"],"yā yà":["亞","压","垭","壓","铔"],"jí qì":["亟","焏"],tóu:["亠","投","頭","骰"],"wáng wú":["亡"],"kàng háng gāng":["亢"],dà:["亣","眔"],jiāo:["交","僬","娇","嬌","峧","嶕","嶣","憍","椒","浇","澆","焦","礁","穚","簥","胶","膠","膲","茭","茮","蕉","虠","蛟","蟭","跤","轇","郊","鐎","驕","骄","鮫","鲛","鵁","鷦","鷮","鹪","䴔"],hài:["亥","嗐","害","氦","餀","饚","駭","駴","骇"],"hēng pēng":["亨"],mǔ:["亩","姆","峔","拇","母","牡","牳","畂","畆","畒","畝","畞","畮","砪","胟","踇","鉧","\uD872\uDF41","\uD85F\uDFF9"],ye:["亪"],xiǎng:["享","亯","响","想","晑","蚃","蠁","響","飨","餉","饗","饷","鮝","鯗","鱶","鲞"],jīng:["京","亰","兢","坕","坙","婛","惊","旌","旍","晶","橸","泾","涇","猄","睛","秔","稉","粳","精","経","經","綡","聙","腈","茎","荆","荊","菁","葏","驚","鯨","鲸","鶁","鶄","麖","麠","鼱","䴖"],tíng:["亭","停","婷","嵉","庭","廷","楟","榳","筳","聤","莛","葶","蜓","蝏","諪","邒","霆","鼮","䗴"],liàng:["亮","喨","悢","晾","湸","諒","谅","輌","輛","辆","鍄"],"qīn qìng":["亲","親"],bó:["亳","仢","侼","僰","博","帛","愽","懪","挬","搏","欂","浡","淿","渤","煿","牔","狛","瓝","礴","秡","箔","簙","糪","胉","脖","膊","舶","艊","萡","葧","袯","襏","襮","謈","踣","郣","鈸","鉑","鋍","鎛","鑮","钹","铂","镈","餺","馎","馛","馞","駁","駮","驳","髆","鵓","鹁"],yòu:["亴","佑","佦","侑","又","右","哊","唀","囿","姷","宥","峟","幼","狖","祐","蚴","誘","诱","貁","迶","酭","釉","鼬"],xiè:["亵","伳","偞","偰","僁","卨","卸","噧","塮","夑","媟","屑","屧","廨","徢","懈","暬","械","榍","榭","泻","洩","渫","澥","瀉","瀣","灺","炧","炨","燮","爕","獬","祄","禼","糏","紲","絏","絬","繲","纈","绁","缷","薢","薤","蟹","蠏","褉","褻","謝","谢","躞","邂","靾","韰","齂","齘","齛","齥","\uD873\uDE7C","\uD852\uDEC9"],"dǎn dàn":["亶","馾"],lián:["亷","劆","匲","匳","嗹","噒","奁","奩","嫾","帘","廉","怜","憐","涟","漣","濂","濓","瀮","熑","燫","簾","籢","籨","縺","翴","联","聨","聫","聮","聯","臁","莲","蓮","薕","螊","蠊","裢","褳","覝","謰","蹥","连","連","鎌","鐮","镰","鬑","鰱","鲢"],duǒ:["亸","哚","嚲","埵","崜","朵","朶","綞","缍","趓","躱","躲","軃"],"wěi mén":["亹","斖"],rén:["人","亻","仁","壬","忈","忎","朲","秂","芢","魜","鵀"],jí:["亼","亽","伋","佶","偮","卙","即","卽","及","叝","吉","堲","塉","姞","嫉","岌","嵴","嶯","彶","忣","急","愱","戢","揤","极","棘","楫","極","槉","檝","殛","汲","湒","潗","疾","瘠","皍","笈","箿","籍","級","级","膌","艥","蒺","蕀","蕺","蝍","螏","襋","觙","谻","踖","蹐","躤","輯","轚","辑","郆","銡","鍓","鏶","集","雧","霵","鹡","㴔"],wáng:["亾","仼","兦","莣","蚟"],"shén shí":["什"],lè:["仂","叻","忇","氻","泐","玏","砳","簕","艻","阞","韷","餎","鰳","鱳","鳓"],dīng:["仃","叮","帄","玎","疔","盯","耵","虰","靪"],zè:["仄","崱","庂","捑","昃","昗","汄"],"jǐn jìn":["仅","僅","嫤"],"pú pū":["仆"],"chóu qiú":["仇"],zhǎng:["仉","幥","掌","礃"],jīn:["今","堻","巾","惍","斤","津","珒","琻","璡","砛","筋","荕","衿","襟","觔","金","釒","釿","钅","鹶","黅","\uD872\uDF31"],bīng:["仌","仒","兵","冫","冰","掤","氷","鋲"],réng:["仍","礽","芿","辸","陾"],fó:["仏","坲","梻"],"jīn sǎn":["仐"],lún:["仑","伦","侖","倫","囵","圇","婨","崘","崙","棆","沦","淪","磮","腀","菕","蜦","踚","輪","轮","錀","陯","鯩","\uD872\uDF2D"],cāng:["仓","仺","倉","凔","嵢","沧","滄","濸","獊","舱","艙","苍","蒼","螥","鸧"],"zǎi zǐ zī":["仔"],tā:["他","塌","它","榙","溻","牠","祂","褟","趿","遢","闧"],fù:["付","偩","傅","冨","副","咐","坿","复","妇","婦","媍","嬔","富","復","椱","祔","禣","竎","緮","縛","缚","腹","萯","蕧","蚹","蛗","蝜","蝮","袝","複","覄","覆","訃","詂","讣","負","賦","賻","负","赋","赙","赴","輹","鍑","鍢","阜","附","馥","駙","驸","鮒","鰒","鲋","鳆","㳇"],xiān:["仙","仚","佡","僊","僲","先","嘕","奾","屳","廯","忺","憸","掀","暹","杴","氙","珗","祆","秈","籼","繊","纎","纖","苮","褼","襳","跹","蹮","躚","酰","鍁","锨","韯","韱","馦","鱻","鶱","\uD873\uDE23"],"tuō chà duó":["仛"],hóng:["仜","吰","垬","妅","娂","宏","宖","弘","彋","汯","泓","洪","浤","渱","潂","玒","玜","竑","竤","篊","粠","紘","紭","綋","纮","翃","翝","耾","苰","荭","葒","葓","谹","谼","鈜","鉷","鋐","閎","闳","霐","霟","鞃","魟","鴻","鸿","黉","黌","\uD86D\uDFF9","\uD872\uDF4E"],tóng:["仝","佟","哃","峂","峝","庝","彤","晍","曈","桐","氃","浵","潼","犝","獞","眮","瞳","砼","秱","童","粡","膧","茼","蚒","詷","赨","酮","鉖","鉵","銅","铜","餇","鮦","鲖","\uD86C\uDF63","\uD859\uDC8D"],rèn:["仞","仭","刃","刄","妊","姙","屻","岃","扨","牣","祍","紉","紝","絍","纫","纴","肕","腍","衽","袵","訒","認","认","讱","軔","轫","鈓","靭","靱","韌","韧","飪","餁","饪"],qiān:["仟","佥","僉","千","圲","奷","孯","岍","悭","愆","慳","扦","拪","搴","撁","攐","攑","攓","杄","櫏","汘","汧","牵","牽","竏","签","簽","籖","籤","粁","芊","茾","蚈","褰","諐","謙","谦","谸","迁","遷","釺","鈆","鉛","鏲","钎","阡","韆","顅","騫","骞","鬜","鬝","鵮","鹐"],"gǎn hàn":["仠"],"yì gē":["仡"],dài:["代","侢","叇","垈","埭","岱","帒","带","帯","帶","廗","怠","戴","曃","柋","殆","瀻","玳","瑇","甙","簤","紿","緿","绐","艜","蝳","袋","襶","貣","贷","蹛","軑","軚","軩","轪","迨","霴","靆","鴏","黛","黱"],"lìng líng lǐng":["令"],chào:["仦","耖","觘"],"cháng zhǎng":["仧","兏","長","长"],sā:["仨"],cháng:["仩","偿","償","嘗","嚐","嫦","尝","常","徜","瑺","瓺","甞","肠","腸","膓","苌","萇","镸","鱨","鲿"],yí:["仪","侇","儀","冝","匜","咦","圯","夷","姨","宐","宜","宧","寲","峓","嶬","嶷","巸","彛","彜","彝","彞","怡","恞","扅","暆","栘","椬","椸","沂","洟","熪","瓵","痍","移","簃","籎","羠","胰","萓","蛦","螔","觺","謻","貽","贻","跠","迻","遺","鏔","頉","頤","頥","顊","颐","饴","鮧","鴺"],mù:["仫","凩","募","墓","幕","幙","慔","慕","暮","暯","木","楘","毣","沐","炑","牧","狇","目","睦","穆","艒","苜","莯","蚞","鉬","钼","雮","霂"],"men mén":["们"],fǎn:["仮","反","橎","返"],"chào miǎo":["仯"],"yǎng áng":["仰"],zhòng:["仲","众","堹","妕","媑","狆","眾","祌","筗","茽","蚛","衆","衶","諥"],"pǐ pí":["仳"],wò:["仴","偓","卧","媉","幄","握","楃","沃","渥","濣","瓁","瞃","硪","肟","腛","臥","齷","龌"],jiàn:["件","俴","健","僭","剑","剣","剱","劍","劎","劒","劔","墹","寋","建","徤","擶","旔","楗","毽","洊","涧","澗","牮","珔","瞷","磵","礀","箭","糋","繝","腱","臶","舰","艦","荐","薦","覸","諓","諫","譛","谏","賎","賤","贱","趝","践","踐","踺","轞","鉴","鍳","鍵","鐱","鑑","鑒","鑬","鑳","键","間","餞","饯","\uD872\uDCE1"],"jià jiè jie":["价"],"yǎo fó":["仸"],"rèn rén":["任"],"fèn bīn":["份"],dī:["仾","低","啲","埞","堤","岻","彽","樀","滴","磾","秪","羝","袛","趆","隄","鞮","䃅"],fǎng:["仿","倣","旊","昉","昘","瓬","眆","紡","纺","舫","訪","访","髣","鶭"],zhōng:["伀","刣","妐","幒","彸","忠","柊","汷","泈","炂","盅","籦","終","终","舯","蔠","蜙","螤","螽","衳","衷","蹱","鈡","鍾","鐘","钟","锺","鴤","鼨"],pèi:["伂","佩","姵","帔","斾","旆","沛","浿","珮","蓜","轡","辔","配","霈","馷"],diào:["伄","吊","弔","掉","瘹","盄","窎","窵","竨","訋","釣","鈟","銱","鋽","鑃","钓","铞","雿","魡"],dùn:["伅","潡","炖","燉","盾","砘","碷","踲","逇","遁","遯","鈍","钝"],wěn:["伆","刎","吻","呅","抆","桽","稳","穏","穩","紊","肳","脗"],xǐn:["伈"],kàng:["伉","匟","囥","抗","炕","鈧","钪"],ài:["伌","僾","塧","壒","嫒","嬡","愛","懓","暧","曖","爱","瑷","璦","皧","瞹","砹","硋","碍","礙","薆","譺","賹","鑀","隘","靉","餲","馤","鱫","鴱"],"jì qí":["伎","薺"],"xiū xǔ":["休"],"jìn yín":["伒"],dǎn:["伔","刐","撢","玬","瓭","紞","胆","膽","衴","賧","赕","黕","\uD871\uDE18"],fū:["伕","呋","娐","孵","尃","怤","懯","敷","旉","玞","砆","稃","筟","糐","綒","肤","膚","荂","荴","衭","趺","跗","邞","鄜","酜","鈇","麩","麬","麱","麸","\uD86D\uDCE7"],tǎng:["伖","傥","儻","埫","戃","曭","爣","矘","躺","鎲","钂","镋"],yōu:["优","優","呦","嚘","峳","幽","忧","悠","憂","攸","櫌","滺","瀀","纋","羪","耰","逌","鄾","麀"],huǒ:["伙","夥","火","煷","邩","鈥","钬"],"huì kuài":["会","會","浍","璯"],yǔ:["伛","俁","俣","偊","傴","匬","噳","圄","圉","宇","寙","屿","嶼","庾","挧","敔","斞","楀","瑀","瘐","祤","禹","穥","窳","羽","與","萭","貐","鄅","頨","麌","齬","龉","㺄"],cuì:["伜","啛","忰","悴","毳","淬","焠","疩","瘁","竁","粋","粹","紣","綷","翆","翠","脃","脆","脺","膬","膵","臎","萃","襊","顇"],sǎn:["伞","傘","糤","繖","饊","馓"],wěi:["伟","伪","偉","偽","僞","儰","娓","寪","屗","崣","嶉","徫","愇","捤","暐","梶","洧","浘","渨","炜","煒","猥","玮","瑋","痿","緯","纬","腲","艉","芛","苇","荱","萎","葦","蒍","蔿","蜼","諉","诿","踓","鍡","韑","韙","韡","韪","頠","颹","骩","骪","骫","鮪","鲔","\uD86C\uDDED","\uD870\uDC29","\uD873\uDC5F"],"chuán zhuàn":["传","傳"],"chē jū":["伡","俥","车"],"jū chē":["車"],yá:["伢","厑","厓","堐","岈","崕","崖","涯","漄","牙","玡","琊","睚","笌","芽","蚜","衙","齖"],qiàn:["伣","俔","倩","儙","刋","壍","嬱","悓","棈","椠","槧","欠","歉","皘","篏","篟","縴","芡","蒨","蔳","輤","\uD871\uDE2C"],shāng:["伤","傷","商","墒","慯","殇","殤","滳","漡","熵","蔏","螪","觞","觴","謪","鬺"],chāng:["伥","倀","娼","昌","椙","淐","猖","琩","菖","裮","錩","锠","閶","阊","鯧","鲳","鼚"],"chen cāng":["伧"],xùn:["伨","侚","卂","噀","巺","巽","徇","愻","殉","殾","汛","潠","狥","蕈","訊","訓","訙","训","讯","迅","迿","逊","遜","鑂","顨","馴","驯"],xìn:["伩","囟","孞","脪","舋","衅","訫","釁","阠","顖"],chǐ:["伬","侈","卶","叺","呎","垑","恥","歯","耻","肔","胣","蚇","裭","褫","豉","鉹","齒","齿"],"xián xuán":["伭"],"nú nǔ":["伮"],"bó bǎi":["伯"],"gū gù":["估"],nǐ:["伱","你","儞","孴","拟","擬","旎","晲","狔","苨","薿","隬"],"nì ní":["伲"],bàn:["伴","办","半","姅","怑","扮","瓣","秚","絆","绊","辦","鉡","靽"],xù:["伵","侐","勖","勗","卹","叙","垿","壻","婿","序","恤","敍","敘","旭","昫","朂","槒","欰","殈","汿","沀","洫","溆","漵","潊","烅","烼","煦","獝","珬","盢","瞁","稸","絮","続","緒","緖","續","绪","续","聓","聟","蓄","藚","訹","賉","酗","頊","鱮","㳚"],zhòu:["伷","僽","冑","呪","咒","咮","宙","昼","晝","甃","皱","皺","籀","籒","籕","粙","紂","縐","纣","绉","胄","荮","葤","詋","酎","駎","驟","骤","㤘","㑇"],shēn:["伸","侁","兟","呻","堔","妽","娠","屾","峷","扟","敒","曑","柛","氠","深","燊","珅","甡","甧","申","眒","砷","穼","籶","籸","糂","紳","绅","罙","罧","葠","蓡","蔘","薓","裑","訷","詵","诜","身","駪","鯓","鯵","鰺","鲹","鵢","\uD873\uDCFD"],qū:["伹","佉","匤","呿","坥","屈","岖","岴","嶇","憈","抾","敺","浀","煀","祛","筁","粬","胠","蛆","蛐","袪","覻","詘","诎","趍","躯","軀","阹","駆","駈","驅","驱","髷","魼","鰸","鱋","鶌","麯","麴","麹","黢","㭕","\uD86A\uDE30","䓛"],"sì cì":["伺"],bēng:["伻","嘣","奟","崩","嵭","閍"],"sì shì":["似"],"jiā qié gā":["伽"],"yǐ chì":["佁"],"diàn tián":["佃","钿"],"hān gàn":["佄"],mài:["佅","劢","勱","卖","唛","売","脈","衇","賣","迈","邁","霡","霢","麥","麦","鿏"],dàn:["但","僤","啖","啗","啿","噉","嚪","帎","憺","旦","柦","氮","沊","泹","淡","狚","疍","癚","禫","窞","腅","萏","蓞","蛋","蜑","觛","訑","誕","诞","贉","霮","餤","饏","駳","髧","鴠","\uD86E\uDCB8"],bù:["佈","勏","吥","咘","埗","埠","布","廍","怖","悑","步","歨","歩","瓿","篰","荹","蔀","踄","部","郶","鈈","钚","餢"],bǐ:["佊","俾","匕","夶","妣","彼","朼","柀","比","毞","沘","疕","秕","笔","筆","粃","聛","舭","貏","鄙"],"zhāo shào":["佋"],cǐ:["佌","此","泚","皉","\uD86D\uDE96"],wèi:["位","卫","味","喂","墛","媦","慰","懀","未","渭","煟","熭","犚","猬","畏","緭","罻","胃","苿","菋","藯","蘶","蝟","螱","衛","衞","褽","謂","讆","讏","谓","躗","躛","軎","轊","鏏","霨","餧","餵","饖","魏","鮇","鳚"],zuǒ:["佐","左","繓"],yǎng:["佒","傟","养","坱","岟","慃","懩","攁","氧","氱","炴","痒","癢","礢","紻","蝆","軮","養","駚"],"tǐ tī":["体","體"],zhàn:["佔","偡","嶘","战","戦","戰","栈","桟","棧","湛","站","綻","绽","菚","蘸","虥","虦","譧","轏","驏"],"hé hē hè":["何"],bì:["佖","咇","哔","嗶","坒","堛","壁","奰","妼","婢","嬖","币","幣","幤","庇","庳","廦","弊","弻","弼","彃","必","怭","愊","愎","敝","斃","梐","毕","毖","毙","湢","滗","滭","潷","煏","熚","狴","獘","獙","珌","璧","畀","畢","疪","痹","痺","皕","睤","碧","筚","箅","箆","篦","篳","粊","綼","縪","繴","罼","腷","苾","荜","萆","萞","蓖","蓽","蔽","薜","蜌","袐","襅","襞","襣","觱","詖","诐","貱","贔","赑","跸","蹕","躃","躄","避","邲","鄨","鄪","鉍","鏎","鐴","铋","閇","閉","閟","闭","陛","韠","飶","饆","馝","駜","驆","髀","魓","鮅","鷝","鷩","鼊"],tuó:["佗","坨","堶","岮","槖","橐","沱","砣","砤","碢","紽","詑","跎","酡","阤","陀","陁","駝","駞","騨","驒","驝","驼","鮀","鴕","鸵","鼉","鼍","鼧","\uD873\uDD8D"],shé:["佘","舌","虵","蛥"],"yì dié":["佚","昳","泆","軼"],"fó fú bì bó":["佛"],"zuò zuō":["作"],gōu:["佝","沟","溝","痀","篝","簼","緱","缑","袧","褠","鈎","鉤","钩","鞲","韝"],nìng:["佞","侫","倿","寕","泞","澝","濘"],qú:["佢","劬","戵","斪","欋","欔","氍","淭","灈","爠","璖","璩","癯","磲","籧","絇","胊","臞","菃","葋","蕖","蘧","蟝","蠷","蠼","衐","衢","躣","軥","鑺","鴝","鸜","鸲","鼩"],"yōng yòng":["佣"],wǎ:["佤","咓","砙","邷"],kǎ:["佧","垰","胩","裃","鉲"],bāo:["佨","勹","包","孢","煲","笣","胞","苞","蕔","裦","褒","襃","闁","齙","龅"],"huái huí":["佪"],"gé hè":["佫"],lǎo:["佬","咾","恅","栳","狫","珯","硓","老","耂","荖","蛯","轑","銠","铑","鮱"],xiáng:["佭","庠","栙","祥","絴","翔","詳","跭"],gé:["佮","匌","呄","嗝","塥","愅","挌","搿","槅","櫊","滆","膈","臵","茖","觡","諽","輵","轕","閣","阁","隔","鞷","韐","韚","騔","骼","鮯"],yáng:["佯","劷","垟","崸","徉","扬","揚","敭","旸","昜","暘","杨","楊","洋","炀","珜","疡","瘍","眻","蛘","諹","輰","鍚","钖","阦","阳","陽","霷","颺","飏","鰑","鴹","鸉"],bǎi:["佰","捭","摆","擺","栢","百","竡","粨","襬"],fǎ:["佱","峜","法","灋","砝","鍅"],mǐng:["佲","凕","姳","慏","酩"],"èr nài":["佴"],hěn:["佷","很","狠","詪","\uD872\uDCF3"],huó:["佸","活"],guǐ:["佹","匦","匭","厬","垝","姽","宄","庋","庪","恑","晷","湀","癸","祪","簋","蛫","蟡","觤","詭","诡","軌","轨","陒","鬼"],quán:["佺","全","啳","埢","姾","峑","巏","拳","搼","权","楾","権","權","泉","洤","湶","牷","犈","瑔","痊","硂","筌","縓","荃","葲","蜷","蠸","觠","詮","诠","跧","踡","輇","辁","醛","銓","铨","闎","顴","颧","駩","騡","鬈","鰁","鳈","齤"],tiāo:["佻","庣","旫","祧","聎"],jiǎo:["佼","儌","孂","挢","搅","撟","撹","攪","敫","敽","敿","晈","暞","曒","灚","燞","狡","璬","皎","皦","絞","纐","绞","腳","臫","蟜","譑","賋","踋","鉸","铰","餃","饺","鱎","龣"],cì:["佽","刾","庛","朿","栨","次","絘","茦","莿","蛓","螆","賜","赐"],xíng:["侀","刑","哘","型","娙","形","洐","硎","蛵","邢","郉","鈃","鉶","銒","钘","铏","陉","陘","餳","\uD86F\uDC1B"],tuō:["侂","咃","咜","圫","托","拕","拖","汑","脫","脱","莌","袥","託","讬","飥","饦","魠","鮵"],kǎn:["侃","偘","冚","坎","惂","砍","莰","輡","轗","顑"],zhí:["侄","値","值","埴","執","姪","嬂","戠","执","摭","植","樴","淔","漐","直","禃","絷","縶","聀","职","職","膱","蟙","跖","踯","蹠","躑","軄","釞","馽"],gāi:["侅","垓","姟","峐","晐","畡","祴","荄","該","该","豥","賅","賌","赅","陔"],lái:["來","俫","倈","崃","崍","庲","来","梾","棶","涞","淶","猍","琜","筙","箂","莱","萊","逨","郲","錸","铼","騋","鯠","鶆","麳"],kuǎ:["侉","咵","垮","銙"],gōng:["侊","公","功","匑","匔","塨","宫","宮","工","幊","弓","恭","攻","杛","碽","糼","糿","肱","觥","觵","躬","躳","髸","龔","龚","䢼"],lì:["例","俐","俪","傈","儮","儷","凓","利","力","励","勵","历","厉","厤","厯","厲","叓","吏","呖","唎","唳","嚦","囇","坜","塛","壢","娳","婯","屴","岦","悧","悷","慄","戾","搮","暦","曆","曞","朸","枥","栃","栗","栛","檪","櫔","櫪","欐","歴","歷","沥","沴","涖","溧","濿","瀝","爏","犡","猁","珕","瑮","瓅","瓑","瓥","疬","痢","癧","盭","睙","砅","砺","砾","磿","礪","礫","礰","禲","秝","立","笠","篥","粒","粝","糲","脷","苈","茘","荔","莅","莉","蒚","蒞","藶","蚸","蛎","蛠","蜧","蝷","蠇","蠣","詈","讈","赲","轢","轣","轹","酈","鉝","隶","隷","雳","靂","靋","鬁","鳨","鴗","鷅","麜","\uD86F\uDD77","\uD870\uDF5B"],yīn:["侌","凐","喑","噾","囙","因","垔","堙","姻","婣","愔","慇","栶","氤","洇","溵","濦","瘖","禋","秵","筃","絪","緸","茵","蒑","蔭","裀","諲","銦","铟","闉","阥","阴","陰","陻","隂","霒","霠","鞇","音","韾","駰","骃","齗","\uD871\uDE21","\uD872\uDD07","\uD872\uDFB1"],mǐ:["侎","孊","弭","敉","洣","渳","灖","米","粎","羋","脒","芈","葞","蔝","銤"],zhū:["侏","株","槠","橥","櫧","櫫","洙","潴","瀦","猪","珠","硃","秼","絑","茱","蕏","蛛","蝫","蠩","袾","誅","諸","诛","诸","豬","跦","邾","銖","铢","駯","鮢","鯺","鴸","鼄"],ān:["侒","偣","媕","安","峖","庵","桉","氨","盦","盫","腤","菴","萻","葊","蓭","誝","諳","谙","鞌","鞍","韽","馣","鮟","鵪","鶕","鹌","\uD867\uDF7E"],lù:["侓","僇","勎","勠","圥","坴","塶","娽","峍","廘","彔","录","戮","摝","椂","樚","淕","淥","渌","漉","潞","琭","璐","甪","盝","睩","硉","祿","禄","稑","穋","箓","簏","簬","簵","簶","籙","粶","蔍","蕗","虂","螰","賂","赂","趢","路","踛","蹗","輅","轆","辂","辘","逯","醁","錄","録","錴","鏴","陸","騄","騼","鯥","鴼","鵦","鵱","鷺","鹭","鹿","麓","\uD86D\uDE27"],móu:["侔","劺","恈","眸","蛑","謀","谋","踎","鍪","鴾","麰"],ér:["侕","儿","児","兒","峏","栭","洏","粫","而","胹","荋","袻","輀","轜","陑","隭","髵","鮞","鲕","鴯","鸸"],"dòng tǒng tóng":["侗"],chà:["侘","奼","姹","岔","汊","詫","诧"],chì:["侙","傺","勅","勑","叱","啻","彳","恜","慗","憏","懘","抶","敕","斥","杘","湁","灻","炽","烾","熾","痓","痸","瘛","翄","翅","翤","翨","腟","赤","趩","遫","鉓","雴","飭","饬","鶒","鷘"],"gòng gōng":["供","共"],zhōu:["侜","周","喌","州","徟","洲","淍","炿","烐","珘","矪","舟","謅","譸","诌","賙","赒","輈","輖","辀","週","郮","銂","霌","駲","騆","鵃","鸼"],rú:["侞","儒","嚅","如","嬬","孺","帤","曘","桇","渪","濡","筎","茹","蕠","薷","蝡","蠕","袽","襦","邚","醹","銣","铷","顬","颥","鱬","鴑","鴽"],"jiàn cún":["侟"],xiá:["侠","俠","匣","峡","峽","敮","暇","柙","炠","烚","狎","狭","狹","珨","瑕","硖","硤","碬","祫","筪","縖","翈","舝","舺","蕸","赮","轄","辖","遐","鍜","鎋","陜","陿","霞","騢","魻","鶷","黠"],lǚ:["侣","侶","儢","吕","呂","屡","屢","履","挔","捛","旅","梠","焒","祣","稆","穭","絽","縷","缕","膂","膐","褛","褸","郘","鋁","铝"],ta:["侤"],"jiǎo yáo":["侥","僥","徺"],zhēn:["侦","偵","寊","帧","帪","幀","搸","斟","桢","楨","榛","樼","殝","浈","湞","潧","澵","獉","珍","珎","瑧","甄","眞","真","砧","碪","祯","禎","禛","箴","胗","臻","葴","蒖","蓁","薽","貞","贞","轃","遉","酙","針","鉁","錱","鍼","针","鱵"],"cè zè zhāi":["侧","側"],kuài:["侩","儈","凷","哙","噲","圦","块","塊","巜","廥","快","旝","欳","狯","獪","筷","糩","脍","膾","郐","鄶","鱠","鲙"],chái:["侪","儕","喍","柴","犲","祡","豺"],nóng:["侬","儂","农","哝","噥","檂","欁","浓","濃","燶","禯","秾","穠","脓","膿","蕽","襛","譨","農","辳","醲","鬞","\uD872\uDEA9"],jǐn:["侭","儘","卺","厪","巹","槿","漌","瑾","紧","緊","菫","蓳","謹","谨","錦","锦","饉","馑"],"hóu hòu":["侯","矦"],jiǒng:["侰","僒","冏","囧","泂","澃","炯","烱","煚","煛","熲","燛","窘","綗","褧","迥","逈","顈","颎","䌹"],"chěng tǐng":["侱"],"zhèn zhēn":["侲","揕"],zuò:["侳","做","唑","坐","岝","岞","座","祚","糳","胙","葃","葄","蓙","袏","阼"],qīn:["侵","兓","媇","嵚","嶔","欽","衾","誛","钦","顉","駸","骎","鮼"],jú:["侷","啹","婅","局","巈","椈","橘","泦","淗","湨","焗","犑","狊","粷","菊","蘜","趜","跼","蹫","輂","郹","閰","駶","驧","鵙","鵴","鶪","鼰","鼳","䴗"],"shù dōu":["侸"],tǐng:["侹","圢","娗","挺","涏","烶","珽","脡","艇","誔","頲","颋"],shèn:["侺","愼","慎","昚","涁","渗","滲","瘆","瘮","眘","祳","肾","胂","脤","腎","蜃","蜄","鋠"],"tuì tuó":["侻"],nán:["侽","喃","娚","抩","暔","枏","柟","楠","男","畘","莮","萳","遖"],xiāo:["侾","哓","嘵","嚻","囂","婋","宯","宵","庨","彇","揱","枭","枵","梟","櫹","歊","毊","消","潇","瀟","灱","灲","烋","焇","猇","獢","痚","痟","硝","硣","窙","箫","簘","簫","綃","绡","翛","膮","萧","蕭","虈","虓","蟂","蟏","蟰","蠨","踃","逍","銷","销","霄","颵","驍","骁","髇","髐","魈","鴞","鴵","鷍","鸮"],"biàn pián":["便","緶","缏"],tuǐ:["俀","腿","蹆","骽"],xì:["係","匸","卌","呬","墍","屃","屓","屭","忥","怬","恄","椞","潝","潟","澙","熂","犔","磶","禊","細","綌","縘","细","绤","舃","舄","蕮","虩","衋","覤","赩","趇","郤","釳","阋","隙","隟","霼","餼","饩","鬩","黖"],cù:["促","媨","憱","猝","瘄","瘯","簇","縬","脨","蔟","誎","趗","踧","踿","蹙","蹴","蹵","醋","顣","鼀"],é:["俄","囮","娥","峉","峨","峩","涐","珴","皒","睋","磀","莪","訛","誐","譌","讹","迗","鈋","鋨","锇","頟","額","额","魤","鵝","鵞","鹅"],qiú:["俅","叴","唒","囚","崷","巯","巰","扏","梂","殏","毬","求","汓","泅","浗","湭","煪","犰","玌","球","璆","皳","盚","紌","絿","肍","芁","莍","虬","虯","蛷","裘","觓","觩","訄","訅","賕","赇","逎","逑","遒","酋","釚","釻","銶","頄","鮂","鯄","鰽","鼽","\uD863\uDC47"],xú:["俆","徐","禑"],"guàng kuāng":["俇"],kù:["俈","喾","嚳","库","庫","廤","瘔","絝","绔","袴","裤","褲","酷"],wù:["俉","务","務","勿","卼","坞","塢","奦","婺","寤","屼","岉","嵨","忢","悞","悟","悮","戊","扤","晤","杌","溩","焐","熃","物","痦","矹","窹","粅","蘁","誤","误","鋈","阢","隖","雾","霚","霧","靰","騖","骛","鶩","鹜","鼿","齀"],jùn:["俊","儁","呁","埈","寯","峻","懏","捃","攟","晙","棞","燇","珺","畯","竣","箟","蜠","賐","郡","陖","餕","馂","駿","骏","鵔","鵕","鵘","䐃"],liáng:["俍","墚","梁","椋","樑","粮","粱","糧","良","輬","辌","\uD86D\uDFC5"],zǔ:["俎","唨","爼","祖","組","组","詛","诅","鎺","阻","靻"],"qiào xiào":["俏"],yǒng:["俑","勇","勈","咏","埇","塎","嵱","彮","怺","恿","悀","惥","愑","愹","慂","柡","栐","永","泳","湧","甬","蛹","詠","踊","踴","鯒","鲬"],hùn:["俒","倱","圂","尡","慁","掍","溷","焝","睴","觨","諢","诨"],jìng:["俓","傹","境","妌","婙","婧","弪","弳","径","徑","敬","曔","桱","梷","浄","瀞","獍","痉","痙","竞","竟","竫","競","竸","胫","脛","莖","誩","踁","迳","逕","鏡","镜","靖","静","靜","鵛"],sàn:["俕","閐"],pěi:["俖"],sú:["俗"],xī:["俙","僖","兮","凞","卥","厀","吸","唏","唽","嘻","噏","嚱","夕","奚","嬆","嬉","屖","嵠","巇","希","徆","徯","息","悉","悕","惁","惜","昔","晞","晰","晳","曦","析","桸","榽","樨","橀","欷","氥","汐","浠","淅","渓","溪","烯","焁","焈","焟","熄","熈","熙","熹","熺","熻","燨","爔","牺","犀","犠","犧","琋","瘜","皙","睎","瞦","矽","硒","磎","礂","稀","穸","窸","粞","糦","緆","繥","羲","翕","翖","肸","肹","膝","舾","莃","菥","蒠","蜥","螅","蟋","蠵","西","觹","觽","觿","譆","谿","豀","豨","豯","貕","赥","邜","鄎","酅","醯","釸","錫","鏭","鐊","鑴","锡","隵","餏","饎","饻","鯑","鵗","鸂","鼷"],lǐ:["俚","娌","峢","峲","李","欚","浬","澧","理","礼","禮","粴","裏","裡","豊","逦","邐","醴","鋰","锂","鯉","鱧","鱱","鲤","鳢"],bǎo:["保","堢","媬","宝","寚","寳","寶","珤","緥","葆","藵","褓","賲","靌","飹","飽","饱","駂","鳵","鴇","鸨"],"yú shù yù":["俞"],"sì qí":["俟"],"xìn shēn":["信"],xiū:["俢","修","咻","庥","樇","烌","羞","脙","脩","臹","貅","銝","鎀","飍","饈","馐","髤","髹","鮴","鱃","鵂","鸺","䗛"],dì:["俤","偙","僀","埊","墑","墬","娣","帝","怟","旳","梊","焍","玓","甋","眱","睇","碲","祶","禘","第","締","缔","腣","菂","蒂","蔕","蝃","蝭","螮","諦","谛","踶","递","逓","遞","遰","鉪","\uD852\uDDDB","䗖"],chóu:["俦","儔","嬦","惆","愁","懤","栦","燽","畴","疇","皗","稠","筹","籌","絒","綢","绸","菗","詶","讎","讐","踌","躊","酧","酬","醻","雔","雠","雦"],zhì:["俧","偫","儨","制","劕","垁","娡","寘","帙","帜","幟","庢","庤","廌","彘","徏","徝","志","忮","懥","懫","挃","挚","掷","摯","擲","旘","晊","智","栉","桎","梽","櫍","櫛","治","洷","滍","滞","滯","潌","瀄","炙","熫","狾","猘","璏","瓆","痔","痣","礩","祑","秩","秷","稚","稺","穉","窒","紩","緻","置","翐","膣","至","致","芖","蛭","袟","袠","製","覟","觗","觯","觶","誌","豑","豒","貭","質","贄","质","贽","跱","踬","躓","輊","轾","郅","銍","鋕","鑕","铚","锧","陟","隲","雉","駤","騭","騺","驇","骘","鯯","鴙","鷙","鸷","\uD870\uDCCA"],"liǎ liǎng":["俩"],jiǎn:["俭","倹","儉","减","剪","堿","弿","彅","戩","戬","拣","挸","捡","揀","撿","枧","柬","梘","检","検","檢","減","湕","瀽","瑐","睑","瞼","硷","碱","礆","笕","筧","简","簡","絸","繭","翦","茧","藆","蠒","裥","襇","襉","襺","詃","謇","謭","譾","谫","趼","蹇","鐗","鬋","鰎","鹸","鹻","鹼"],huò:["俰","咟","嚯","嚿","奯","彠","惑","或","擭","旤","曤","檴","沎","湱","瀖","獲","癨","眓","矐","祸","禍","穫","窢","耯","臛","艧","获","蒦","藿","蠖","謋","貨","货","鍃","鑊","镬","雘","霍","靃","韄","㸌"],"jù jū":["俱","据","鋸","锯"],xiào:["俲","傚","効","咲","哮","啸","嘋","嘨","嘯","孝","效","斅","斆","歗","涍","熽","笑","詨","誟"],pái:["俳","徘","牌","犤","猅","簰","簲","輫"],biào:["俵","鰾","鳔"],"chù tì":["俶"],fèi:["俷","剕","厞","吠","屝","废","廃","廢","昲","曊","櫠","沸","濷","狒","癈","肺","萉","費","费","鐨","镄","陫","靅","鼣"],fèng:["俸","凤","奉","湗","焨","煈","賵","赗","鳯","鳳","鴌"],ǎn:["俺","唵","埯","揞","罯","銨","铵"],bèi:["俻","倍","偝","偹","備","僃","备","悖","惫","愂","憊","昁","梖","焙","牬","犕","狈","狽","珼","琲","碚","禙","糒","苝","蓓","蛽","褙","貝","贝","軰","輩","辈","邶","郥","鄁","鋇","鐾","钡","鞁","鞴","\uD870\uDDD9"],yù:["俼","儥","喅","喩","喻","域","堉","妪","嫗","寓","峪","嶎","庽","彧","御","愈","慾","戫","昱","棛","棜","棫","櫲","欎","欝","欲","毓","浴","淯","滪","潏","澦","灪","焴","煜","燏","燠","爩","狱","獄","玉","琙","瘉","癒","砡","硢","硲","礇","礖","礜","禦","秗","稢","稶","篽","籞","籲","粖","緎","罭","聿","肀","艈","芋","芌","茟","蒮","蓣","蓹","蕷","蘌","蜟","蜮","袬","裕","誉","諭","譽","谕","豫","軉","輍","逳","遇","遹","郁","醧","鈺","鋊","錥","鐭","钰","閾","阈","雤","霱","預","预","飫","饇","饫","馭","驈","驭","鬰","鬱","鬻","魊","鱊","鳿","鴥","鴧","鴪","鵒","鷸","鸒","鹆","鹬"],xīn:["俽","噺","妡","嬜","廞","心","忄","忻","惞","新","昕","杺","欣","歆","炘","盺","薪","訢","辛","邤","鈊","鋅","鑫","锌","馨","馫","䜣","\uD86F\uDDF7"],"hǔ chí":["俿"],jiù:["倃","僦","匓","匛","匶","厩","咎","就","廄","廏","廐","慦","捄","救","旧","柩","柾","桕","欍","殧","疚","臼","舅","舊","鯦","鷲","鹫","麔","齨","㠇"],yáo:["倄","傜","嗂","垚","堯","姚","媱","尧","尭","峣","嶢","嶤","徭","揺","搖","摇","摿","暚","榣","烑","爻","猺","珧","瑤","瑶","磘","窑","窯","窰","肴","蘨","謠","謡","谣","軺","轺","遙","遥","邎","顤","颻","飖","餆","餚","鰩","鱙","鳐"],"cuì zú":["倅"],"liǎng liǎ":["倆"],wǎn:["倇","唍","婉","惋","挽","晚","晥","晩","晼","梚","椀","琬","畹","皖","盌","碗","綩","綰","绾","脘","萖","踠","輓","鋔"],zǒng:["倊","偬","傯","嵸","总","惣","捴","搃","摠","燪","総","緫","縂","總","蓗"],guān:["倌","关","官","棺","瘝","癏","窤","蒄","関","闗","關","鰥","鱞","鳏"],tiǎn:["倎","唺","忝","悿","晪","殄","淟","睓","腆","舔","覥","觍","賟","錪","餂"],mén:["們","扪","捫","璊","菛","虋","鍆","钔","門","閅","门","\uD86D\uDFA9"],"dǎo dào":["倒"],"tán tàn":["倓","埮"],"juè jué":["倔"],chuí:["倕","垂","埀","捶","搥","桘","棰","槌","箠","腄","菙","錘","鎚","锤","陲","顀"],xìng:["倖","姓","婞","嬹","幸","性","悻","杏","涬","緈","臖","荇","莕","葕"],péng:["倗","傰","塜","塳","弸","憉","捀","朋","棚","椖","樥","硼","稝","竼","篷","纄","膨","芃","蓬","蘕","蟚","蟛","袶","輣","錋","鑝","韸","韼","騯","髼","鬅","鬔","鵬","鹏"],"tǎng cháng":["倘"],hòu:["候","厚","后","垕","堠","後","洉","茩","豞","逅","郈","鮜","鱟","鲎","鲘"],tì:["倜","剃","嚏","嚔","屉","屜","悌","悐","惕","惖","戻","掦","替","朑","歒","殢","涕","瓋","笹","籊","薙","褅","逖","逷","髰","鬀","鬄"],gàn:["倝","凎","幹","榦","檊","淦","灨","盰","紺","绀","詌","贑","赣","骭","㽏"],"liàng jìng":["倞","靓"],suī:["倠","哸","夊","滖","濉","眭","睢","芕","荽","荾","虽","雖","鞖"],"chàng chāng":["倡"],jié:["倢","偼","傑","刦","刧","刼","劫","劼","卩","卪","婕","媫","孑","岊","崨","嵥","嶻","巀","幯","截","捷","掶","擮","昅","杢","杰","桀","桝","楬","楶","榤","洁","滐","潔","狤","睫","礍","竭","節","羯","莭","蓵","蛣","蜐","蠘","蠞","蠽","衱","袺","訐","詰","誱","讦","踕","迼","鉣","鍻","镼","頡","鮚","鲒","㛃"],"kǒng kōng":["倥"],juàn:["倦","劵","奆","慻","桊","淃","狷","獧","眷","睊","睠","絭","絹","绢","罥","羂","腃","蔨","鄄","餋"],zōng:["倧","堫","宗","嵏","嵕","惾","朡","棕","椶","熧","猣","磫","緃","翪","腙","葼","蝬","豵","踨","踪","蹤","鍐","鑁","騌","騣","骔","鬃","鬉","鬷","鯮","鯼"],ní:["倪","坭","埿","尼","屔","怩","淣","猊","籾","聣","蚭","蜺","觬","貎","跜","輗","郳","鈮","铌","霓","馜","鯢","鲵","麑","齯","\uD86D\uDC10","\uD86E\uDC1C"],zhuō:["倬","拙","捉","桌","梲","棁","棳","槕","涿","窧","鐯","䦃"],"wō wēi":["倭"],luǒ:["倮","剆","曪","瘰","癳","臝","蓏","蠃","裸","躶"],sōng:["倯","凇","娀","崧","嵩","庺","憽","松","枀","枩","柗","梥","檧","淞","濍","硹","菘","鬆"],lèng:["倰","堎","愣","睖","踜"],zì:["倳","剚","字","恣","渍","漬","牸","眥","眦","胔","胾","自","茡","荢"],bèn:["倴","坌","捹","撪","渀","笨","逩"],cǎi:["倸","啋","婇","彩","採","棌","毝","睬","綵","跴","踩"],zhài:["债","債","寨","瘵","砦"],yē:["倻","吔","噎","擨","暍","椰","歋","潱","蠮"],shà:["倽","唼","喢","歃","箑","翜","翣","萐","閯","霎"],qīng:["倾","傾","卿","圊","寈","氢","氫","淸","清","蜻","軽","輕","轻","郬","錆","鑋","靑","青","鯖"],yīng:["偀","嘤","噟","嚶","婴","媖","嫈","嬰","孆","孾","愥","撄","攖","朠","桜","樱","櫻","渶","煐","珱","瑛","璎","瓔","甇","甖","碤","礯","緓","纓","绬","缨","罂","罃","罌","膺","英","莺","蘡","蝧","蠳","褮","譻","賏","軈","鑍","锳","霙","韺","鴬","鶑","鶧","鶯","鷪","鷹","鸎","鸚","鹦","鹰","䓨"],"chēng chèn":["偁","爯"],ruǎn:["偄","朊","瑌","瓀","碝","礝","腝","軟","輭","软","阮"],"zhòng tóng":["偅"],chǔn:["偆","惷","睶","萶","蠢","賰"],"jiǎ jià":["假"],"jì jié":["偈"],"bǐng bìng":["偋"],ruò:["偌","叒","嵶","弱","楉","焫","爇","箬","篛","蒻","鄀","鰙","鰯","鶸"],tí:["偍","厗","啼","嗁","崹","漽","瑅","睼","禵","稊","緹","缇","罤","蕛","褆","謕","趧","蹄","蹏","醍","鍗","題","题","騠","鮷","鯷","鳀","鵜","鷤","鹈","\uD86D\uDE28"],wēi:["偎","危","喴","威","媙","嶶","巍","微","愄","揋","揻","椳","楲","溦","烓","煨","燰","癓","縅","葨","葳","薇","蜲","蝛","覣","詴","逶","隇","隈","霺","鰃","鰄","鳂"],piān:["偏","囨","媥","楄","犏","篇","翩","鍂"],yàn:["偐","厌","厭","唁","喭","嚈","嚥","堰","妟","姲","嬊","嬿","宴","彥","彦","敥","晏","暥","曕","曣","滟","灎","灔","灧","灩","焔","焰","焱","熖","燄","牪","猒","砚","硯","艳","艶","艷","覎","觃","觾","諺","讌","讞","谚","谳","豓","豔","贋","贗","赝","軅","酀","酽","醼","釅","雁","餍","饜","騐","験","騴","驗","驠","验","鬳","鳫","鴈","鴳","鷃","鷰","齞"],"tǎng dàng":["偒"],è:["偔","匎","卾","厄","呝","咢","噩","垩","堊","堮","岋","崿","廅","悪","愕","戹","扼","搤","搹","擜","櫮","歞","歺","湂","琧","砈","砐","硆","腭","苊","萼","蕚","蚅","蝁","覨","諤","讍","谔","豟","軛","軶","轭","遌","遏","遻","鄂","鈪","鍔","鑩","锷","阨","阸","頞","顎","颚","餓","餩","饿","鰐","鰪","鱷","鳄","鶚","鹗","齃","齶","\uD86E\uDEC7","\uD855\uDD32"],xié:["偕","勰","协","協","嗋","垥","奊","恊","愶","拹","携","撷","擕","擷","攜","斜","旪","熁","燲","綊","緳","縀","缬","翓","胁","脅","脇","脋","膎","蝢","衺","襭","諧","讗","谐","鞋","鞵","龤","㙦"],chě:["偖","扯","撦"],shěng:["偗","渻","眚"],chā:["偛","嗏","扠","挿","插","揷","疀","臿","艖","銟","鍤","锸","餷"],huáng:["偟","凰","喤","堭","墴","媓","崲","徨","惶","楻","湟","煌","獚","瑝","璜","癀","皇","磺","穔","篁","簧","艎","葟","蝗","蟥","諻","趪","遑","鍠","鐄","锽","隍","韹","餭","騜","鰉","鱑","鳇","鷬","黃","黄","\uD863\uDC51"],yǎo:["偠","咬","婹","宎","岆","杳","柼","榚","溔","狕","窅","窈","舀","苭","闄","騕","鷕","齩"],"chǒu qiào":["偢"],yóu:["偤","尤","庮","怣","沋","油","浟","游","犹","猶","猷","由","疣","秞","肬","莜","莸","蕕","蚰","蝣","訧","輏","輶","逰","遊","邮","郵","鈾","铀","駀","魷","鮋","鱿","鲉","\uD872\uDE0E"],xū:["偦","墟","媭","嬃","楈","欨","歔","燸","疞","盱","綇","縃","繻","胥","蕦","虗","虚","虛","蝑","裇","訏","許","諝","譃","谞","鑐","需","須","须","顼","驉","鬚","魆","魖","\uD872\uDCD9","\uD858\uDE21"],zhā:["偧","哳","抯","挓","揸","摣","樝","渣","皶","觰","譇","齄","齇"],cī:["偨","疵","蠀","趀","骴","髊","齹"],bī:["偪","屄","楅","毴","豍","逼","鰏","鲾","鵖"],xún:["偱","噚","寻","尋","峋","巡","廵","循","恂","揗","攳","旬","杊","栒","桪","樳","洵","浔","潯","燅","燖","珣","璕","畃","紃","荀","蟳","詢","询","鄩","鱏","鱘","鲟","\uD871\uDE13","\uD872\uDE7D","\uD870\uDF64","\uD870\uDE88"],"cāi sī":["偲"],duān:["偳","媏","端","褍","鍴"],ǒu:["偶","吘","嘔","耦","腢","蕅","藕","\uD870\uDE7C","\uD841\uDE76"],tōu:["偷","偸","鍮"],"zán zá zǎ":["偺"],"lǚ lóu":["偻","僂"],fèn:["偾","僨","奋","奮","弅","忿","愤","憤","瀵","瞓","秎","粪","糞","膹","鱝","鲼"],"kuǐ guī":["傀"],sǒu:["傁","叜","叟","嗾","櫢","瞍","薮","藪"],"zhì sī tí":["傂"],sù:["傃","僳","嗉","塐","塑","夙","嫊","愫","憟","榡","樎","樕","殐","泝","涑","溯","溸","潚","潥","玊","珟","璛","簌","粛","粟","素","縤","肃","肅","膆","蔌","藗","觫","訴","謖","诉","谡","趚","蹜","速","遡","遬","鋉","餗","驌","骕","鱐","鷫","鹔","\uD86D\uDDE7"],xiā:["傄","煆","瞎","虲","谺","颬","鰕"],"yuàn yuán":["傆","媛"],rǒng:["傇","冗","宂","氄","軵"],nù:["傉","怒"],yùn:["傊","孕","恽","惲","愠","慍","枟","腪","蕴","薀","藴","蘊","褞","貟","运","運","郓","鄆","酝","醖","醞","韗","韞","韵","韻","餫"],"gòu jiǎng":["傋"],mà:["傌","嘜","榪","睰","祃","禡","罵","閁","駡","骂","鬕"],bàng:["傍","塝","棒","玤","稖","艕","蒡","蜯","謗","谤","鎊","镑"],diān:["傎","厧","嵮","巅","巓","巔","掂","攧","敁","槇","滇","癫","癲","蹎","顚","顛","颠","齻"],táng:["傏","唐","啺","坣","堂","塘","搪","棠","榶","溏","漟","煻","瑭","磄","禟","篖","糃","糖","糛","膅","膛","蓎","螗","螳","赯","踼","鄌","醣","鎕","隚","餹","饄","鶶","䣘"],hào:["傐","哠","恏","昊","昦","晧","暠","暤","暭","曍","浩","淏","澔","灏","灝","皓","皜","皞","皡","皥","耗","聕","薃","號","鄗","顥","颢","鰝"],"xī xì":["傒"],shān:["傓","删","刪","剼","圸","山","挻","搧","柵","檆","潸","澘","煽","狦","珊","笘","縿","羴","羶","脠","舢","芟","衫","跚","軕","邖","閊","鯅"],"qiàn jiān":["傔"],"què jué":["傕","埆"],"cāng chen":["傖"],róng:["傛","媶","嫆","嬫","容","峵","嵘","嶸","戎","搈","曧","栄","榕","榮","榵","毧","溶","瀜","烿","熔","狨","瑢","穁","絨","绒","羢","肜","茙","茸","荣","蓉","蝾","融","螎","蠑","褣","鎔","镕","駥"],"tà tàn":["傝"],suō:["傞","唆","嗍","嗦","娑","摍","桫","梭","睃","簑","簔","羧","莏","蓑","趖","鮻"],dǎi:["傣","歹"],zài:["傤","儎","再","在","扗","洅","載","酨"],gǔ:["傦","古","啒","尳","愲","榖","榾","汩","淈","濲","瀔","牯","皷","皼","盬","瞽","穀","罟","羖","股","脵","臌","薣","蛊","蠱","詁","诂","轂","逧","鈷","钴","餶","馉","鼓","鼔","\uD859\uDE76"],bīn:["傧","宾","彬","斌","椕","滨","濒","濱","濵","瀕","繽","缤","虨","豩","豳","賓","賔","邠","鑌","镔","霦","顮"],chǔ:["储","儲","杵","椘","楚","楮","檚","濋","璴","础","礎","禇","處","齭","齼","\uD873\uDE93"],nuó:["傩","儺","挪","梛","橠"],"cān càn":["傪"],lěi:["傫","儡","厽","垒","塁","壘","壨","櫐","灅","癗","矋","磊","礨","耒","蕌","蕾","藟","蘽","蠝","誄","讄","诔","鑸","鸓"],cuī:["催","凗","墔","崔","嵟","慛","摧","榱","獕","磪","鏙"],yōng:["傭","嗈","墉","壅","嫞","庸","廱","慵","拥","擁","滽","灉","牅","痈","癕","癰","臃","邕","郺","鄘","鏞","镛","雍","雝","饔","鱅","鳙","鷛"],"zāo cáo":["傮"],sǒng:["傱","嵷","怂","悚","愯","慫","竦","耸","聳","駷","㧐"],ào:["傲","坳","垇","墺","奡","嫯","岙","岰","嶴","懊","擙","澳","鏊","驁","骜"],"qī còu":["傶"],chuǎng:["傸","磢","闖","闯"],shǎ:["傻","儍"],hàn:["傼","垾","悍","憾","扞","捍","撖","撼","旱","晘","暵","汉","涆","漢","瀚","焊","猂","皔","睅","翰","莟","菡","蛿","蜭","螒","譀","輚","釬","銲","鋎","雗","頷","顄","颔","駻","鶾"],zhāng:["傽","嫜","张","張","彰","慞","暲","樟","漳","獐","璋","章","粻","蔁","蟑","遧","鄣","鏱","餦","騿","鱆","麞"],"yān yàn":["傿","墕","嬮"],"piào biāo":["僄","骠"],liàn:["僆","堜","媡","恋","戀","楝","殓","殮","湅","潋","澰","瀲","炼","煉","瑓","練","纞","练","萰","錬","鍊","鏈","链","鰊","\uD873\uDDA0"],màn:["㵘","僈","墁","幔","慢","曼","漫","澷","熳","獌","縵","缦","蔄","蘰","鄤","鏝","镘","\uD871\uDF2C"],"tàn tǎn":["僋"],yíng:["僌","営","塋","嬴","攍","楹","櫿","溁","溋","滢","潆","濙","濚","濴","瀅","瀛","瀠","瀯","灐","灜","熒","營","瑩","盁","盈","禜","籝","籯","縈","茔","荧","莹","萤","营","萦","萾","蓥","藀","蛍","蝇","蝿","螢","蠅","謍","贏","赢","迎","鎣"],dòng:["働","冻","凍","动","動","姛","戙","挏","栋","棟","湩","硐","胨","胴","腖","迵","霘","駧"],zhuàn:["僎","啭","囀","堟","撰","灷","瑑","篆","腞","蒃","襈","譔","饌","馔"],xiàng:["像","勨","向","嚮","姠","嶑","曏","橡","珦","缿","蟓","衖","襐","象","鐌","項","项","鱌"],shàn:["僐","善","墠","墡","嬗","擅","敾","椫","樿","歚","汕","灗","疝","磰","繕","缮","膳","蟮","蟺","訕","謆","譱","讪","贍","赡","赸","鄯","鐥","饍","騸","骟","鱓","鱔","鳝","\uD86E\uDF83"],"tuí tuǐ":["僓"],zǔn:["僔","噂","撙","譐"],pú:["僕","匍","圤","墣","濮","獛","璞","瞨","穙","莆","菐","菩","葡","蒱","蒲","贌","酺","鏷","镤"],láo:["僗","劳","労","勞","哰","崂","嶗","憥","朥","浶","牢","痨","癆","窂","簩","醪","鐒","铹","顟","髝","\uD86E\uDF7C"],chǎng:["僘","厰","廠","敞","昶","氅","鋹","\uD872\uDF2E"],guāng:["僙","光","咣","垙","姯","洸","灮","炗","炚","炛","烡","珖","胱","茪","輄","銧","黆","\uD861\uDC08"],liáo:["僚","嘹","嫽","寥","寮","尞","屪","嵺","嶚","嶛","廫","憀","敹","暸","橑","獠","璙","疗","療","竂","簝","繚","缭","聊","膋","膫","藔","蟟","豂","賿","蹘","辽","遼","飉","髎","鷯","鹩"],dèng:["僜","凳","墱","嶝","櫈","瞪","磴","覴","邓","鄧","隥"],"chán zhàn zhuàn":["僝"],bō:["僠","嶓","拨","撥","播","波","溊","玻","癶","盋","砵","碆","礡","缽","菠","袰","蹳","鉢","钵","餑","饽","驋","鱍","\uD872\uDF5B"],huì:["僡","匯","卉","喙","嘒","嚖","圚","嬒","寭","屶","屷","彗","彙","彚","徻","恚","恵","惠","慧","憓","懳","晦","暳","槥","橞","檅","櫘","汇","泋","滙","潓","烩","燴","獩","璤","瞺","硊","秽","穢","篲","絵","繪","绘","翙","翽","荟","蔧","蕙","薈","薉","蟪","詯","誨","諱","譓","譿","讳","诲","賄","贿","鐬","闠","阓","靧","頮","顪","颒","餯","\uD872\uDD1D","\uD872\uDF6C"],chuǎn:["僢","喘","舛","荈","踳"],"tiě jiàn":["僣"],sēng:["僧","鬙"],xiàn:["僩","僴","哯","垷","塪","姭","娊","宪","岘","峴","憲","撊","晛","橌","橺","涀","瀗","献","獻","现","現","県","睍","粯","糮","絤","綫","線","线","缐","羡","羨","腺","臔","臽","苋","莧","誢","豏","鋧","錎","限","陥","陷","霰","餡","馅","麲","鼸","\uD870\uDC2A","\uD86B\uDFA2"],"yù jú":["僪"],"è wū":["僫"],"tóng zhuàng":["僮"],lǐn:["僯","凛","凜","廩","廪","懍","懔","撛","檁","檩","澟","癛","癝"],gù:["僱","凅","固","堌","崓","崮","故","梏","棝","牿","痼","祻","錮","锢","雇","顧","顾","鯝","鲴"],jiāng:["僵","壃","姜","橿","殭","江","畕","疅","礓","繮","缰","翞","茳","葁","薑","螀","螿","豇","韁","鱂","鳉"],mǐn:["僶","冺","刡","勄","悯","惽","愍","慜","憫","抿","敃","敏","敯","泯","潣","皿","笢","笽","簢","蠠","閔","閩","闵","闽","鰵","鳘","黽"],jìn:["僸","凚","噤","嚍","墐","壗","妗","嬧","搢","晉","晋","枃","殣","浕","浸","溍","濅","濜","烬","煡","燼","琎","瑨","璶","盡","祲","縉","缙","荩","藎","覲","觐","賮","贐","赆","近","进","進","靳","齽"],"jià jie":["價"],qiào:["僺","峭","帩","撬","殻","窍","竅","誚","诮","躈","陗","鞩","韒","髚"],pì:["僻","媲","嫓","屁","澼","甓","疈","譬","闢","鷿","鸊","䴙"],sài:["僿","簺","賽","赛"],"chán tǎn shàn":["儃"],"dāng dàng":["儅","当","闣"],xuān:["儇","喧","塇","媗","宣","愃","愋","揎","昍","暄","煊","煖","瑄","睻","矎","禤","箮","翧","翾","萱","萲","蓒","蕿","藼","蘐","蝖","蠉","諠","諼","譞","谖","軒","轩","鍹","駽","鰚","\uD86D\uDCF6","\uD86C\uDF7D"],"dān dàn":["儋","擔","瘅"],càn:["儏","澯","灿","燦","璨","粲","薒","謲"],"bīn bìn":["儐"],"án àn":["儑"],tái:["儓","坮","嬯","抬","擡","檯","炱","炲","籉","臺","薹","跆","邰","颱","鮐","鲐"],lán:["儖","兰","囒","婪","岚","嵐","幱","拦","攔","斓","斕","栏","欄","欗","澜","瀾","灆","灡","燣","燷","璼","篮","籃","籣","繿","葻","蓝","藍","蘫","蘭","褴","襕","襤","襴","襽","譋","讕","谰","躝","鑭","镧","闌","阑","韊","\uD871\uDC97"],"nǐ yì ài yí":["儗"],méng:["儚","幪","曚","朦","橗","檬","氋","溕","濛","甍","甿","盟","礞","艨","莔","萌","蕄","虻","蝱","鄳","鄸","霿","靀","顭","饛","鯍","鸏","鹲","\uD86D\uDC61","㠓"],níng:["儜","凝","咛","嚀","嬣","柠","橣","檸","狞","獰","聍","聹","薴","鑏","鬡","鸋"],qióng:["儝","卭","宆","惸","憌","桏","橩","焪","焭","煢","熍","琼","瓊","睘","穷","穹","窮","竆","笻","筇","舼","茕","藑","藭","蛩","蛬","赹","跫","邛","銎","䓖"],liè:["儠","冽","列","劣","劽","埒","埓","姴","峛","巤","挒","捩","栵","洌","浖","烈","烮","煭","犣","猎","猟","獵","聗","脟","茢","蛚","趔","躐","迾","颲","鬛","鬣","鮤","鱲","鴷","䴕","\uD86D\uDEAD"],kuǎng:["儣","夼","懭"],bào:["儤","勽","報","忁","报","抱","曓","爆","犦","菢","虣","蚫","豹","鉋","鑤","铇","骲","髱","鮑","鲍"],biāo:["儦","墂","幖","彪","标","標","滮","瀌","熛","爂","猋","瘭","磦","膘","臕","謤","贆","鏢","鑣","镖","镳","颮","颷","飆","飇","飈","飊","飑","飙","飚","驫","骉","髟"],zǎn:["儧","儹","噆","攅","昝","趱","趲"],háo:["儫","嗥","嘷","噑","嚎","壕","椃","毜","毫","濠","獆","獔","竓","籇","蚝","蠔","譹","豪"],qìng:["儬","凊","庆","慶","櫦","濪","碃","磬","罄","靘"],chèn:["儭","嚫","榇","櫬","疢","衬","襯","讖","谶","趁","趂","齓","齔","龀"],téng:["儯","幐","滕","漛","疼","籐","籘","縢","腾","藤","虅","螣","誊","謄","邆","駦","騰","驣","鰧","䲢"],"lǒng lóng lòng":["儱"],"chán chàn":["儳"],"ráng xiāng":["儴","勷"],"huì xié":["儶"],luó:["儸","攞","椤","欏","猡","玀","箩","籮","罗","羅","脶","腡","萝","蘿","螺","覼","逻","邏","鏍","鑼","锣","镙","饠","騾","驘","骡","鸁"],léi:["儽","嫘","檑","欙","瓃","畾","縲","纍","纝","缧","罍","羸","蔂","蘲","虆","轠","鐳","鑘","镭","雷","靁","鱩","鼺"],"nàng nāng":["儾"],"wù wū":["兀"],yǔn:["允","喗","夽","抎","殒","殞","狁","磒","荺","賱","鈗","阭","陨","隕","霣","馻","齫","齳"],zān:["兂","橵","簪","簮","糌","鐕","鐟","鵤"],yuán:["元","円","原","厡","厵","园","圆","圎","園","圓","垣","塬","媴","嫄","援","榞","榬","橼","櫞","沅","湲","源","溒","爰","猨","猿","笎","緣","縁","缘","羱","茒","薗","蝝","蝯","螈","袁","褤","謜","轅","辕","邍","邧","酛","鈨","鎱","騵","魭","鶢","鶰","黿","鼋","\uD86D\uDE2A"],xiōng:["兄","兇","凶","匂","匈","哅","忷","恟","汹","洶","胷","胸","芎","訩","詾","讻"],chōng:["充","嘃","忡","憃","憧","摏","沖","浺","珫","罿","翀","舂","艟","茺","衝","蹖","㳘"],zhào:["兆","垗","旐","曌","枛","櫂","照","燳","狣","瞾","笊","罀","罩","羄","肁","肇","肈","詔","诏","赵","趙","鮡","\uD873\uDD90"],"duì ruì yuè":["兊","兌","兑"],kè:["克","刻","勀","勊","堁","娔","客","恪","愙","氪","溘","碦","緙","缂","艐","衉","課","课","錁","锞","騍","骒"],tù:["兎","兔","堍","迌","鵵"],dǎng:["党","攩","欓","譡","讜","谠","黨","\uD84D\uDDCB"],dōu:["兜","兠","唗","橷","篼","蔸"],huǎng:["兤","奛","幌","怳","恍","晄","炾","熀","縨","詤","謊","谎"],rù:["入","嗕","媷","扖","杁","洳","溽","縟","缛","蓐","褥","鳰"],nèi:["內","氝","氞","錗"],"yú shù":["兪"],"liù lù":["六"],han:["兯","爳"],tiān:["兲","天","婖","添","酟","靔","靝","黇"],"xīng xìng":["兴"],diǎn:["典","嚸","奌","婰","敟","椣","点","碘","蒧","蕇","踮","點"],"zī cí":["兹"],jiān:["兼","冿","囏","坚","堅","奸","姦","姧","尖","幵","惤","戋","戔","搛","椾","樫","櫼","歼","殱","殲","湔","瀐","瀸","煎","熞","熸","牋","瑊","睷","礛","礷","笺","箋","緘","縑","缄","缣","肩","艰","艱","菅","菺","葌","蒹","蔪","蕑","蕳","虃","譼","豜","鑯","雃","鞯","韀","韉","餰","馢","鰔","鰜","鰹","鲣","鳒","鵑","鵳","鶼","鹣","麉"],shòu:["兽","受","售","壽","夀","寿","授","狩","獣","獸","痩","瘦","綬","绶","膄"],jì:["兾","冀","剂","剤","劑","勣","坖","垍","塈","妓","季","寂","寄","廭","彑","徛","忌","悸","惎","懻","技","旡","既","旣","暨","暩","曁","梞","檕","檵","洎","漃","漈","瀱","痵","癠","禝","稩","稷","穄","穊","穧","紀","継","績","繋","繼","继","绩","罽","臮","芰","茍","茤","葪","蓟","蔇","薊","蘎","蘮","蘻","裚","襀","覬","觊","計","記","誋","计","记","跡","跽","蹟","迹","际","際","霁","霽","驥","骥","髻","鬾","魝","魥","鯚","鯽","鰶","鰿","鱀","鱭","鲚","鲫","鵋","鷑","齌","\uD869\uDFDD","\uD873\uDDA8","\uD873\uDDAD"],jiōng:["冂","冋","坰","埛","扃","蘏","蘔","駉","駫","\uD873\uDCF6"],mào:["冃","冐","媢","帽","愗","懋","暓","柕","楙","毷","瑁","皃","眊","瞀","耄","茂","萺","蝐","袤","覒","貌","貿","贸","鄚","鄮"],rǎn:["冄","冉","姌","媣","染","珃","苒","蒅","䎃"],"nèi nà":["内"],gāng:["冈","冮","刚","剛","堈","堽","岡","掆","摃","棡","牨","犅","疘","綱","纲","缸","罁","罡","肛","釭","鎠","㭎"],cè:["冊","册","厕","厠","夨","廁","恻","惻","憡","敇","测","測","笧","策","筞","筴","箣","荝","萗","萴","蓛"],guǎ:["冎","剐","剮","叧","寡"],"mào mò":["冒"],gòu:["冓","啂","坸","垢","够","夠","媾","彀","搆","撀","构","構","煹","覯","觏","訽","詬","诟","購","购","遘","雊"],xǔ:["冔","喣","暊","栩","珝","盨","糈","詡","諿","诩","鄦","醑"],mì:["冖","冪","嘧","塓","宻","密","峚","幂","幎","幦","怽","榓","樒","櫁","汨","淧","滵","漞","濗","熐","羃","蔤","蜜","覓","覔","覛","觅","謐","谧","鼏"],"yóu yín":["冘"],xiě:["写","冩","藛"],jūn:["军","君","均","桾","汮","皲","皸","皹","碅","莙","蚐","袀","覠","軍","鈞","銁","銞","鍕","钧","頵","鮶","鲪","麏"],mí:["冞","擟","瀰","爢","猕","獼","祢","禰","縻","蒾","藌","蘪","蘼","袮","詸","謎","迷","醚","醾","醿","釄","镾","鸍","麊","麋","麛"],"guān guàn":["冠","覌","観","觀","观"],měng:["冡","勐","懵","掹","猛","獴","艋","蜢","蠓","錳","锰","鯭","鼆"],zhǒng:["冢","塚","尰","歱","煄","瘇","肿","腫","踵"],zuì:["冣","嶵","晬","最","栬","槜","檇","檌","祽","絊","罪","蕞","辠","酔","酻","醉","錊"],yuān:["冤","剈","囦","嬽","寃","棩","淵","渁","渆","渊","渕","灁","眢","肙","葾","蒬","蜎","蜵","駌","鳶","鴛","鵷","鸢","鸳","鹓","鼘","鼝"],míng:["冥","名","明","暝","朙","榠","洺","溟","猽","眀","眳","瞑","茗","螟","覭","詺","鄍","銘","铭","鳴","鸣"],kòu:["冦","叩","宼","寇","扣","敂","滱","窛","筘","簆","蔲","蔻","釦","鷇"],tài:["冭","太","夳","忲","态","態","汰","汱","泰","溙","肽","舦","酞","鈦","钛"],"féng píng":["冯","馮"],"chōng chòng":["冲"],kuàng:["况","圹","壙","岲","懬","旷","昿","曠","框","況","爌","眖","眶","矿","砿","礦","穬","絋","絖","纊","纩","貺","贶","軦","邝","鄺","鉱","鋛","鑛","黋"],lěng:["冷"],pàn:["冸","判","叛","沜","泮","溿","炍","牉","畔","盼","聁","袢","襻","詊","鋬","鑻","頖","鵥"],fā:["冹","彂","沷","発","發"],xiǎn:["冼","尟","尠","崄","嶮","幰","攇","显","櫶","毨","灦","烍","燹","狝","猃","獫","獮","玁","禒","筅","箲","藓","蘚","蚬","蜆","譣","赻","跣","鍌","险","険","險","韅","顕","顯","㬎"],qià:["冾","圶","帢","恰","殎","洽","硈","胢","髂"],"jìng chēng":["净","凈","淨"],sōu:["凁","嗖","廀","廋","捜","搜","摉","溲","獀","艘","蒐","螋","鄋","醙","鎪","锼","颼","飕","餿","馊","騪"],měi:["凂","媄","媺","嬍","嵄","挴","毎","每","浼","渼","燘","美","躾","鎂","镁","黣"],tú:["凃","図","图","圖","圗","塗","屠","峹","嵞","庩","廜","徒","悇","揬","涂","瘏","筡","腯","荼","蒤","跿","途","酴","鈯","鍎","馟","駼","鵌","鶟","鷋","鷵","\uD873\uDCFF"],zhǔn:["准","凖","埻","準","\uD871\uDE2F"],"liáng liàng":["凉","涼","量"],diāo:["凋","刁","刟","叼","奝","弴","彫","汈","琱","碉","簓","虭","蛁","貂","錭","雕","鮉","鯛","鲷","鵰","鼦"],còu:["凑","湊","腠","輳","辏"],ái:["凒","啀","嘊","捱","溰","癌","皑","皚"],duó:["凙","剫","夺","奪","痥","踱","鈬","鐸","铎"],dú:["凟","匵","嬻","椟","櫝","殰","涜","牍","牘","犊","犢","独","獨","瓄","皾","裻","読","讀","讟","豄","贕","錖","鑟","韇","韣","韥","騳","髑","黩","黷"],"jǐ jī":["几"],fán:["凡","凢","凣","匥","墦","杋","柉","棥","樊","瀿","烦","煩","燔","璠","矾","礬","笲","籵","緐","羳","舤","舧","薠","蘩","蠜","襎","蹯","釩","鐇","鐢","钒","鷭","\uD86D\uDD0D","\uD873\uDE2A"],jū:["凥","匊","娵","婮","居","崌","抅","挶","掬","梮","椐","檋","毩","毱","泃","涺","狙","琚","疽","砠","罝","腒","艍","蜛","裾","諊","跔","踘","躹","陱","雎","鞠","鞫","駒","驹","鮈","鴡","鶋","\uD873\uDD8B"],"chù chǔ":["処","处"],zhǐ:["凪","劧","咫","址","坧","帋","恉","扺","指","旨","枳","止","汦","沚","洔","淽","疻","砋","祉","秖","紙","纸","芷","藢","衹","襧","訨","趾","軹","轵","酯","阯","黹"],píng:["凭","凴","呯","坪","塀","岼","帡","帲","幈","平","慿","憑","枰","洴","焩","玶","瓶","甁","竮","箳","簈","缾","荓","萍","蓱","蚲","蛢","評","评","軿","輧","郱","鮃","鲆"],kǎi:["凯","凱","剀","剴","垲","塏","恺","愷","慨","暟","蒈","輆","鍇","鎧","铠","锴","闓","闿","颽"],gān:["凲","坩","尲","尴","尶","尷","柑","泔","漧","玕","甘","疳","矸","竿","筸","粓","肝","苷","迀","酐","魐"],"kǎn qiǎn":["凵"],tū:["凸","堗","嶀","捸","涋","湥","痜","禿","秃","突","葖","鋵","鵚","鼵","㻬"],"āo wā":["凹"],chū:["出","初","岀","摴","榋","樗","貙","齣","䢺","䝙"],dàng:["凼","圵","垱","壋","档","檔","氹","璗","瓽","盪","瞊","砀","碭","礑","簜","荡","菪","蕩","蘯","趤","逿","雼","\uD870\uDF61"],hán:["函","凾","含","圅","娢","寒","崡","晗","梒","浛","涵","澏","焓","琀","甝","筨","蜬","邗","邯","鋡","韓","韩"],záo:["凿","鑿"],dāo:["刀","刂","忉","氘","舠","螩","釖","魛","鱽"],chuāng:["刅","摐","牎","牕","疮","瘡","窓","窗","窻"],"fēn fèn":["分"],"qiè qiē":["切"],kān:["刊","勘","堪","戡","栞","龕","龛"],cǔn:["刌","忖"],chú:["刍","厨","幮","廚","橱","櫉","櫥","滁","犓","篨","耡","芻","蒢","蒭","蜍","蟵","豠","趎","蹰","躇","躕","鉏","鋤","锄","除","雏","雛","鶵"],"huà huá":["划"],lí:["刕","剓","剺","劙","厘","喱","嚟","囄","嫠","孷","廲","悡","梨","梸","棃","漓","灕","犁","犂","狸","琍","璃","瓈","盠","睝","离","穲","竰","筣","篱","籬","糎","縭","缡","罹","艃","荲","菞","蓠","蔾","藜","蘺","蜊","蟍","蟸","蠫","褵","謧","貍","醨","鋫","錅","鏫","鑗","離","驪","骊","鯏","鯬","鱺","鲡","鵹","鸝","鹂","黎","黧","㰀"],yuè:["刖","嬳","岄","岳","嶽","恱","悅","悦","戉","抈","捳","月","樾","瀹","爚","玥","礿","禴","篗","籆","籥","籰","粤","粵","蘥","蚎","蚏","説","越","跀","跃","躍","軏","鈅","鉞","鑰","钺","閱","閲","阅","鸑","鸙","黦","龠","\uD86D\uDC04","\uD873\uDE1A"],liú:["刘","劉","嚠","媹","嵧","旈","旒","榴","橊","流","浏","瀏","琉","瑠","瑬","璢","畄","留","畱","疁","瘤","癅","硫","蒥","蓅","蟉","裗","鎏","鏐","鐂","镠","飀","飅","飗","駠","駵","騮","驑","骝","鰡","鶹","鹠","麍"],zé:["则","則","啧","嘖","嫧","帻","幘","択","樍","歵","沢","泎","溭","皟","瞔","矠","礋","箦","簀","舴","蔶","蠌","襗","謮","賾","赜","迮","鸅","齚","齰"],"chuàng chuāng":["创","創"],qù:["刞","厺","去","閴","闃","阒","麮","鼁"],"bié biè":["別","别"],"páo bào":["刨"],"chǎn chàn":["刬","剗","幝"],guā:["刮","劀","桰","歄","煱","瓜","胍","踻","颪","颳","騧","鴰","鸹"],gēng:["刯","庚","椩","浭","焿","畊","絚","羮","羹","耕","菮","賡","赓","鶊","鹒"],dào:["到","噵","悼","椡","檤","燾","瓙","盗","盜","稲","稻","纛","翿","艔","菿","衜","衟","軇","道"],chuàng:["刱","剏","剙","怆","愴"],kū:["刳","哭","圐","堀","枯","桍","矻","窟","跍","郀","骷","鮬"],duò:["刴","剁","墯","尮","惰","憜","挅","桗","舵","跥","跺","陊","陏","飿","饳","鵽"],"shuā shuà":["刷"],"quàn xuàn":["券"],"chà shā":["刹","剎"],"cì cī":["刺"],guì:["刽","刿","劊","劌","撌","攰","昋","桂","椢","槶","樻","櫃","猤","禬","筀","蓕","襘","貴","贵","跪","鐀","鑎","鞼","鱖","鱥"],lóu:["剅","娄","婁","廔","楼","樓","溇","漊","熡","耧","耬","艛","蒌","蔞","蝼","螻","謱","軁","遱","鞻","髅","髏","\uD86A\uDCFB"],cuò:["剉","剒","厝","夎","挫","措","棤","莝","莡","蓌","逪","銼","錯","锉","错"],"xiāo xuē":["削"],"kēi kè":["剋","尅"],"là lá":["剌"],tī:["剔","梯","踢","銻","锑","鷈","鷉","䏲","䴘"],pōu:["剖"],wān:["剜","塆","壪","帵","弯","彎","湾","潫","灣","睕","蜿","豌"],"bāo bō":["剝","剥"],duō:["剟","咄","哆","嚉","多","夛","掇","毲","畓","裰","㙍"],qíng:["剠","勍","夝","情","擎","晴","暒","棾","樈","檠","氰","甠","硘","葝","黥"],"yǎn shàn":["剡"],"dū zhuó":["剢"],yān:["剦","嫣","崦","嶖","恹","懕","懨","樮","淊","淹","漹","烟","焉","焑","煙","珚","篶","胭","臙","菸","鄢","醃","閹","阉","黫"],huō:["剨","劐","吙","攉","秴","耠","锪","騞","\uD873\uDD03"],shèng:["剩","剰","勝","圣","墭","嵊","晠","榺","橳","琞","聖","蕂","貹","賸"],"duān zhì":["剬"],wū:["剭","呜","嗚","圬","屋","巫","弙","杇","歍","汙","汚","污","洿","烏","窏","箼","螐","誈","誣","诬","邬","鄔","鎢","钨","鰞","鴮"],gē:["割","哥","圪","彁","戈","戓","戨","歌","滒","犵","肐","袼","謌","鎶","鴚","鴿","鸽"],"dá zhá":["剳"],chuán:["剶","暷","椽","篅","舡","舩","船","輲","遄"],"tuán zhuān":["剸","漙","篿"],"lù jiū":["剹"],pēng:["剻","匉","嘭","怦","恲","抨","梈","烹","砰","軯","駍"],piāo:["剽","勡","慓","旚","犥","翲","螵","飃","飄","飘","魒"],kōu:["剾","彄","抠","摳","眍","瞘","芤","\uD86F\uDE29"],"jiǎo chāo":["剿","劋","勦","摷"],qiāo:["劁","勪","墝","幧","敲","橇","毃","燆","硗","磽","繑","趬","跷","踍","蹺","蹻","郻","鄡","鄥","鍫","鍬","鐰","锹","頝"],"huá huà":["劃"],"zhā zhá":["劄"],"pī pǐ":["劈","悂"],tāng:["劏","嘡","羰","薚","蝪","蹚","鞺","鼞"],chán:["劖","嚵","壥","婵","嬋","巉","廛","棎","毚","湹","潹","潺","澶","瀍","瀺","煘","獑","磛","緾","纏","纒","缠","艬","蝉","蟐","蟬","蟾","誗","讒","谗","躔","鄽","酁","鋋","鑱","镵","饞","馋"],zuān:["劗","躜","躦","鉆","鑚"],mó:["劘","嫫","嬤","嬷","尛","摹","擵","橅","糢","膜","藦","蘑","謨","謩","谟","饃","饝","馍","髍","魔","魹"],zhú:["劚","斸","曯","欘","灟","炢","烛","燭","爥","瘃","竹","笁","笜","舳","茿","蓫","蠋","蠾","躅","逐","逫","钃","鱁"],quàn:["劝","勧","勸","牶","韏"],"jìn jìng":["劤","劲","勁"],kēng:["劥","坑","牼","硁","硜","誙","銵","鍞","鏗","铿","阬"],"xié liè":["劦"],"zhù chú":["助"],nǔ:["努","弩","砮","胬"],shào:["劭","卲","哨","潲","紹","綤","绍","袑","邵"],miǎo:["劰","杪","淼","渺","眇","秒","篎","緲","缈","藐","邈"],kǒu:["劶","口"],wā:["劸","娲","媧","屲","挖","攨","洼","溛","漥","瓾","畖","穵","窊","窪","蛙","韈","鼃"],kuāng:["劻","匡","匩","哐","恇","洭","筐","筺","誆","诓","軭","邼"],hé:["劾","咊","啝","姀","峆","敆","曷","柇","楁","毼","河","涸","渮","澕","熆","皬","盇","盉","盍","盒","禾","篕","籺","粭","翮","菏","萂","覈","訸","詥","郃","釛","鉌","鑉","閡","闔","阂","阖","鞨","頜","餄","饸","魺","鹖","麧","齕","龁","龢","\uD870\uDF17"],gào:["勂","吿","告","峼","祮","祰","禞","筶","誥","诰","郜","鋯","锆"],"bó bèi":["勃"],láng:["勆","嫏","廊","斏","桹","榔","樃","欴","狼","琅","瑯","硠","稂","艆","蓈","蜋","螂","躴","郒","郞","鋃","鎯","锒"],xūn:["勋","勛","勲","勳","嚑","坃","埙","塤","壎","壦","曛","燻","獯","矄","纁","臐","薫","薰","蘍","醺","\uD86C\uDD38"],"juàn juān":["勌","瓹"],"lè lēi":["勒"],kài:["勓","炌","烗","鎎"],"wěng yǎng":["勜"],qín:["勤","嗪","噙","嶜","庈","懃","懄","捦","擒","斳","檎","澿","珡","琴","琹","瘽","禽","秦","耹","芩","芹","菦","螓","蠄","鈙","鈫","雂","靲","鳹","鵭"],jiàng:["勥","匞","匠","嵹","弜","弶","摾","櫤","洚","滰","犟","糡","糨","絳","绛","謽","酱","醤","醬"],fān:["勫","嬏","帆","幡","忛","憣","旙","旛","繙","翻","藩","轓","颿","飜","鱕"],juān:["勬","姢","娟","捐","涓","蠲","裐","鎸","鐫","镌","鹃"],"tóng dòng":["勭","烔","燑","狪"],lǜ:["勴","垏","嵂","律","慮","氯","滤","濾","爈","箻","綠","繂","膟","葎","虑","鑢"],chè:["勶","坼","彻","徹","掣","撤","澈","烢","爡","瞮","硩","聅","迠","頙","㬚"],sháo:["勺","玿","韶"],"gōu gòu":["勾"],cōng:["匆","囪","囱","忩","怱","悤","暰","樬","漗","瑽","璁","瞛","篵","繱","聡","聦","聪","聰","苁","茐","葱","蓯","蔥","蟌","鍯","鏓","鏦","騘","驄","骢"],"táo yáo":["匋","陶"],páo:["匏","咆","垉","庖","爮","狍","袍","褜","軳","鞄","麅"],dá:["匒","妲","怛","炟","燵","畣","笪","羍","荙","薘","蟽","詚","达","迏","迖","迚","逹","達","鐽","靼","鞑","韃","龖","龘","\uD86D\uDFFC"],"huà huā":["化"],"běi bèi":["北"],nǎo:["匘","垴","堖","嫐","恼","悩","惱","瑙","碯","脑","脳","腦"],"chí shi":["匙"],fāng:["匚","堏","方","淓","牥","芳","邡","鈁","錺","钫","鴋"],zā:["匝","咂","帀","沞","臜","臢","迊","鉔","魳"],qiè:["匧","厒","妾","怯","悏","惬","愜","挈","穕","窃","竊","笡","箧","篋","籡","踥","鍥","锲","鯜"],"zāng cáng":["匨"],fěi:["匪","奜","悱","棐","榧","篚","翡","蕜","誹","诽"],"kuì guì":["匮","匱"],suǎn:["匴"],pǐ:["匹","噽","嚭","圮","庀","痞","癖","脴","苉","銢","鴄"],"qū ōu":["区","區"],"kē qià":["匼"],"yǎn yàn":["匽","棪"],biǎn:["匾","惼","揙","碥","稨","窆","藊","褊","貶","贬","鴘"],nì:["匿","堄","嫟","嬺","惄","愵","昵","暱","氼","眤","睨","縌","胒","腻","膩","逆","\uD863\uDE99"],niàn:["卄","唸","埝","廿","念","惗","艌"],sà:["卅","櫒","脎","萨","蕯","薩","鈒","隡","颯","飒","馺"],zú:["卆","哫","崪","族","箤","足","踤","镞"],shēng:["升","呏","声","斘","昇","曻","枡","殅","泩","湦","焺","牲","珄","生","甥","竔","笙","聲","鉎","鍟","阩","陞","陹","鵿","鼪"],wàn:["卍","卐","忨","杤","瞣","脕","腕","萬","蟃","贎","輐","錽","\uD870\uDDD5"],"huá huà huā":["华","華"],bēi:["卑","悲","揹","杯","桮","盃","碑","藣","鵯","鹎"],"zú cù":["卒"],"dān shàn chán":["单","單"],"nán nā":["南"],"shuài lǜ":["卛"],"bǔ bo pú":["卜"],"kuàng guàn":["卝"],biàn:["卞","变","変","峅","弁","徧","忭","抃","昪","汳","汴","玣","艑","苄","覍","諚","變","辡","辧","辨","辩","辫","辮","辯","遍","釆","\uD861\uDE95"],bǔ:["卟","哺","捕","补","補","鸔","\uD873\uDDD5"],"zhàn zhān":["占","覱"],"kǎ qiǎ":["卡"],lú:["卢","嚧","垆","壚","庐","廬","曥","枦","栌","櫨","泸","瀘","炉","爐","獹","玈","瓐","盧","矑","籚","纑","罏","胪","臚","舮","舻","艫","芦","蘆","蠦","轤","轳","鈩","鑪","顱","颅","馿","髗","魲","鱸","鲈","鸕","鸬","黸","\uD872\uDF3B"],lǔ:["卤","塷","掳","擄","樐","橹","櫓","氌","滷","澛","瀂","硵","磠","穞","艣","艪","蓾","虏","虜","鏀","鐪","鑥","镥","魯","鲁","鹵"],guà:["卦","啩","挂","掛","罣","褂","詿","诖"],"áng yǎng":["卬"],yìn:["印","垽","堷","廕","慭","憖","憗","懚","洕","湚","猌","癊","胤","茚","酳","鮣","䲟"],què:["却","卻","塙","崅","悫","愨","慤","搉","榷","燩","琷","皵","确","確","礭","闋","阕","鵲","鹊","\uD871\uDC88"],luǎn:["卵"],"juàn juǎn":["卷","巻"],"chǎng ān hàn":["厂"],"wěi yán":["厃"],tīng:["厅","厛","听","庁","廰","廳","汀","烃","烴","綎","耓","聴","聼","聽","鞓","\uD871\uDE29"],"zhé zhái":["厇"],"hàn àn":["厈","屽"],yǎ:["厊","唖","庌","痖","瘂","蕥"],shè:["厍","厙","弽","慑","慴","懾","摂","欇","涉","涻","渉","滠","灄","社","舎","蔎","蠂","設","设","赦","騇","麝"],dǐ:["厎","呧","坘","弤","抵","拞","掋","牴","砥","菧","觝","詆","诋","軧","邸","阺","骶","鯳"],"zhǎ zhǎi":["厏"],páng:["厐","嫎","庞","徬","舽","螃","逄","鰟","鳑","龎","龐"],"zhì shī":["厔"],máng:["厖","吂","哤","娏","忙","恾","杗","杧","汒","浝","牻","痝","盲","硭","笀","芒","茫","蘉","邙","釯","鋩","铓","駹"],zuī:["厜","樶","纗","蟕"],"shà xià":["厦","廈"],áo:["厫","嗷","嗸","廒","敖","滶","獒","獓","璈","翱","翶","翺","聱","蔜","螯","謷","謸","遨","鏖","隞","鰲","鳌","鷔","鼇"],"lán qiān":["厱"],"sī mǒu":["厶"],"gōng hóng":["厷"],"lín miǎo":["厸"],"qiú róu":["厹"],dū:["厾","嘟","督","醏"],"xiàn xuán":["县","縣"],"cān shēn cēn sān":["参","參","叄","叅"],"ài yǐ":["叆"],"chā chà chǎ chá":["叉"],shuāng:["双","孀","孇","欆","礵","艭","雙","霜","騻","驦","骦","鷞","鸘","鹴"],shōu:["収","收"],guái:["叏"],bá:["叐","妭","抜","拔","炦","癹","胈","茇","菝","詙","跋","軷","魃","鼥"],"fā fà":["发"],"zhuó yǐ lì jué":["叕"],qǔ:["取","娶","竬","蝺","詓","齲","龋"],"jiǎ xiá":["叚","徦"],"wèi yù":["叞","尉","蔚"],dié:["叠","垤","堞","峌","幉","恎","惵","戜","曡","殜","氎","牃","牒","瓞","畳","疂","疉","疊","碟","絰","绖","耊","耋","胅","艓","苵","蜨","蝶","褋","詄","諜","谍","跮","蹀","迭","镻","鰈","鲽","鴩","\uD86F\uDD87"],ruì:["叡","枘","汭","瑞","睿","芮","蚋","蜹","銳","鋭","锐"],"jù gōu":["句"],lìng:["另","呤","炩","蘦"],"dāo dáo tāo":["叨"],"zhī zhǐ":["只"],jiào:["叫","呌","嘂","嘦","噍","嬓","斍","斠","滘","漖","獥","珓","皭","窖","藠","訆","譥","趭","較","轎","轿","较","酵","醮","釂"],"zhào shào":["召"],"kě kè":["可"],"tái tāi":["台","苔"],pǒ:["叵","尀","笸","箥","鉕","钷","駊"],"yè xié":["叶"],"hào háo":["号"],tàn:["叹","嘆","探","歎","湠","炭","碳","舕"],"hōng hóng":["叿"],miē:["吀","咩","哶","孭"],"xū yū yù":["吁"],chī:["吃","哧","喫","嗤","噄","妛","媸","彨","彲","摛","攡","殦","瓻","痴","癡","眵","瞝","笞","粚","胵","蚩","螭","訵","魑","鴟","鵄","鸱","黐","齝","\uD86C\uDD28"],"xuān sòng":["吅"],yāo:["吆","喓","夭","妖","幺","楆","殀","祅","腰","葽","訞","邀","鴁","鴢","㙘"],zǐ:["吇","姉","姊","子","杍","梓","榟","橴","滓","矷","秭","笫","籽","紫","耔","虸","訿","釨"],"hé gě":["合","鲄"],"cùn dòu":["吋"],"tóng tòng":["同"],"tǔ tù":["吐","唋"],"zhà zhā":["吒","奓"],"xià hè":["吓"],"ā yā":["吖"],"ma má mǎ":["吗"],lìn:["吝","恡","悋","橉","焛","甐","膦","蔺","藺","賃","赁","蹸","躏","躙","躪","轥","閵"],tūn:["吞","暾","朜","焞"],"bǐ pǐ":["吡"],qìn:["吢","吣","唚","抋","揿","搇","撳","沁","瀙","菣","藽"],"jiè gè":["吤"],"fǒu pǐ":["否"],"ba bā":["吧"],dūn:["吨","噸","墩","墪","惇","撉","撴","犜","獤","礅","蜳","蹾","驐"],fēn:["吩","帉","昐","朆","梤","棻","氛","竕","紛","纷","翂","芬","衯","訜","躮","酚","鈖","雰","餴","饙","馚"],"é huā":["吪"],"kēng háng":["吭","妔"],shǔn:["吮"],"zhī zī":["吱"],"yǐn shěn":["吲"],wú:["吳","吴","呉","墲","峿","梧","橆","毋","洖","浯","無","珸","璑","祦","芜","茣","莁","蕪","蜈","蟱","譕","郚","鋙","铻","鯃","鵐","鷡","鹀","鼯"],"chǎo chāo":["吵"],"nà nè":["吶"],"xuè chuò jué":["吷"],chuī:["吹","炊","龡"],"dōu rú":["吺"],hǒu:["吼","犼"],"hōng hǒu ōu":["吽"],"wú yù":["吾"],"ya yā":["呀"],"è e":["呃"],dāi:["呆","懛","獃"],"mèn qǐ":["呇"],hōng:["呍","嚝","揈","灴","烘","焢","硡","薨","訇","谾","軣","輷","轟","轰","鍧"],nà:["呐","捺","笝","納","纳","肭","蒳","衲","豽","貀","軜","郍","鈉","钠","靹","魶"],"tūn tiān":["呑"],"fǔ ḿ":["呒","嘸"],"dāi tǎi":["呔"],"ǒu ōu òu":["呕"],"bài bei":["呗"],"yuán yún yùn":["员","員"],guō:["呙","啯","嘓","埚","堝","墎","崞","彉","彍","懖","猓","瘑","聒","蝈","蟈","郭","鈛","鍋","锅"],"huá qì":["呚"],"qiàng qiāng":["呛","跄"],shī:["呞","失","尸","屍","师","師","施","浉","湤","湿","溮","溼","濕","狮","獅","瑡","絁","葹","蒒","蓍","虱","蝨","褷","襹","詩","诗","邿","釃","鉇","鍦","鯴","鰤","鲺","鳲","鳾","鶳","鸤","䴓","\uD86D\uDE95"],juǎn:["呟","埍","臇","菤","錈","锩"],pěn:["呠","翸"],"wěn mǐn":["呡"],"ne ní":["呢"],"ḿ m̀ móu":["呣"],rán:["呥","嘫","然","燃","繎","肰","蚦","蚺","衻","袇","袡","髥","髯"],"tiè chè":["呫"],"qì zhī":["呮"],"zǐ cī":["呰"],"guā gū guǎ":["呱"],"cī zī":["呲"],"hǒu xǔ gòu":["呴"],"hē ā á ǎ à a":["呵"],náo:["呶","夒","峱","嶩","巎","挠","撓","猱","硇","蛲","蟯","詉","譊","鐃","铙"],"xiā gā":["呷"],pēi:["呸","怌","肧","胚","衃","醅"],"háo xiāo":["呺"],mìng:["命","掵"],"dá dàn":["呾"],"zuǐ jǔ":["咀"],"xián gān":["咁"],pǒu:["咅","哣","犃"],"yǎng yāng":["咉"],"zǎ zé zhā":["咋"],"hé hè huó huò hú":["和"],hāi:["咍"],dā:["咑","哒","噠","墶","搭","撘","耷","褡","鎝","\uD863\uDC4F"],"kǎ kā":["咔"],gū:["咕","唂","唃","姑","嫴","孤","巬","巭","柧","橭","沽","泒","稒","笟","箍","箛","篐","罛","苽","菇","菰","蓇","觚","軱","軲","轱","辜","酤","鈲","鮕","鴣","鸪"],"kā gā":["咖"],zuo:["咗"],lóng:["咙","嚨","嶐","巃","巄","昽","曨","朧","栊","槞","櫳","湰","滝","漋","爖","珑","瓏","癃","眬","矓","砻","礱","礲","窿","竜","聋","聾","胧","茏","蘢","蠪","蠬","襱","豅","鏧","鑨","霳","靇","驡","鸗","龍","龒","龙"],"xiàn xián":["咞"],qì:["咠","唭","噐","器","夡","弃","憇","憩","暣","棄","欫","气","気","氣","汔","汽","泣","湆","湇","炁","甈","盵","矵","碛","碶","磜","磧","罊","芞","葺","藒","蟿","訖","讫","迄","鐑"],"xì dié":["咥"],"liē liě lié lie":["咧"],zī:["咨","嗞","姕","姿","孜","孳","孶","崰","嵫","栥","椔","淄","湽","滋","澬","玆","禌","秶","粢","紎","緇","緕","纃","缁","茊","茲","葘","諮","谘","貲","資","赀","资","赼","趑","趦","輜","輺","辎","鄑","鈭","錙","鍿","鎡","锱","镃","頾","頿","髭","鯔","鰦","鲻","鶅","鼒","齍","齜","龇"],mī:["咪"],"jī xī qià":["咭"],"gē luò kǎ lo":["咯"],"shù xún":["咰"],"zán zá zǎ zan":["咱"],"hāi ké":["咳"],huī:["咴","噅","噕","婎","媈","幑","徽","恢","拻","挥","揮","晖","暉","楎","洃","瀈","灰","灳","烣","睳","禈","翚","翬","蘳","袆","褘","詼","诙","豗","輝","辉","鰴","麾","㧑"],"huài shì":["咶"],táo:["咷","啕","桃","檮","洮","淘","祹","綯","绹","萄","蜪","裪","迯","逃","醄","鋾","鞀","鞉","饀","駣","騊","鼗","\uD86D\uDE26"],xián:["咸","啣","娴","娹","婱","嫌","嫺","嫻","弦","挦","撏","涎","湺","澖","甉","痫","癇","癎","絃","胘","舷","藖","蚿","蛝","衔","衘","誸","諴","賢","贒","贤","輱","醎","銜","鑦","閑","闲","鷳","鷴","鷼","鹇","鹹","麙","\uD86C\uDF6F"],"è àn":["咹"],"xuān xuǎn":["咺","烜"],"wāi hé wǒ guǎ guō":["咼"],"yàn yè yān":["咽"],āi:["哀","哎","埃","溾","銰","鎄","锿"],pǐn:["品","榀"],shěn:["哂","婶","嬸","审","宷","審","弞","曋","渖","瀋","瞫","矤","矧","覾","訠","諗","讅","谂","谉","邥","頣","魫"],"hǒng hōng hòng":["哄"],"wā wa":["哇"],"hā hǎ hà":["哈"],zāi:["哉","栽","渽","溨","災","灾","烖","睵","賳"],"dì diè":["哋"],pài:["哌","沠","派","渒","湃","蒎","鎃"],"gén hěn":["哏"],"yǎ yā":["哑","雅"],"yuě huì":["哕","噦"],nián:["哖","年","秊","秥","鮎","鯰","鲇","鲶","鵇","黏"],"huá huā":["哗","嘩"],"jì jiē zhāi":["哜","嚌"],mōu:["哞"],"yō yo":["哟","喲"],lòng:["哢","梇","贚"],"ò ó é":["哦"],"lī lǐ li":["哩"],"nǎ na nǎi né něi":["哪"],hè:["哬","垎","壑","寉","惒","焃","煂","燺","爀","癋","碋","翯","褐","謞","賀","贺","赫","靍","靎","靏","鶴","鸖","鹤"],"bō pò bā":["哱"],zhé:["哲","啠","喆","嚞","埑","悊","摺","晢","晣","歽","矺","砓","磔","籷","粍","虴","蛰","蟄","袩","詟","謫","謺","讁","讋","谪","輒","輙","轍","辄","辙","鮿"],"liàng láng":["哴"],"liè lǜ":["哷"],hān:["哻","憨","蚶","谽","酣","頇","顸","馠","魽","鼾"],"hēng hng":["哼"],gěng:["哽","埂","峺","挭","梗","綆","绠","耿","莄","郠","骾","鯁","鲠","\uD871\uDC94"],"chuò yuè":["哾"],"gě jiā":["哿"],"bei bài":["唄"],"hán hàn":["唅"],chún:["唇","浱","湻","滣","漘","犉","純","纯","脣","莼","蒓","蓴","醇","醕","錞","陙","鯙","鶉","鹑","\uD872\uDF5A"],"ài āi":["唉"],"jiá qiǎn":["唊"],"yán dàn xián":["唌"],chē:["唓","砗","硨","莗","蛼"],"wú ńg ń":["唔"],zào:["唕","唣","噪","慥","梍","灶","煰","燥","皁","皂","竃","竈","簉","艁","譟","趮","躁","造","\uD855\uDDA8"],dí:["唙","啇","嘀","嚁","嫡","廸","敌","敵","梑","涤","滌","狄","笛","籴","糴","苖","荻","蔋","蔐","藡","覿","觌","豴","迪","靮","頔","馰","髢","鸐","\uD873\uDC56"],"gòng hǒng gǒng":["唝","嗊"],dóu:["唞"],"lào láo":["唠","嘮","憦"],huàn:["唤","喚","奂","奐","宦","嵈","幻","患","愌","换","換","擐","攌","梙","槵","浣","涣","渙","漶","澣","烉","焕","煥","瑍","痪","瘓","睆","肒","藧","豢","轘","逭","鯇","鯶","鰀","鲩"],léng:["唥","塄","楞","碐","薐"],"wō wěi":["唩"],fěng:["唪","覂","諷","讽"],"yín jìn":["唫"],"hǔ xià":["唬"],wéi:["唯","围","圍","壝","峗","峞","嵬","帏","帷","幃","惟","桅","沩","洈","涠","湋","溈","潍","潙","潿","濰","犩","矀","維","维","蓶","覹","违","違","鄬","醀","鍏","闈","闱","韋","韦","鮠","\uD84F\uDC97","\uD873\uDD8F"],shuā:["唰"],chàng:["唱","怅","悵","暢","焻","畅","畼","誯","韔","鬯"],"ér wā":["唲"],qiàng:["唴","炝","熗","羻"],yō:["唷"],yū:["唹","淤","瘀","盓","箊","紆","纡","込","迂","迃","陓"],lài:["唻","濑","瀨","瀬","癞","癩","睐","睞","籁","籟","藾","賚","賴","赉","赖","頼","顂","鵣"],tuò:["唾","嶞","柝","毤","毻","箨","籜","萚","蘀","跅"],"zhōu zhāo tiào":["啁"],kěn:["啃","垦","墾","恳","懇","肎","肯","肻","豤","錹"],"zhuó zhào":["啅","濯"],"hēng hèng":["啈","悙"],"lín lán":["啉"],"a ā á ǎ à":["啊"],qiāng:["啌","嗴","嶈","戕","摤","斨","枪","槍","溬","牄","猐","獇","羌","羗","腔","蜣","謒","鏘","锖","锵"],"tūn zhūn xiāng duǐ":["啍"],wèn:["問","妏","揾","搵","璺","问","顐"],"cuì qi":["啐"],"dié shà jié tì":["啑"],"yuē wā":["啘"],"zǐ cǐ":["啙"],"bǐ tú":["啚"],"chuò chuài":["啜"],"yǎ yā è":["啞"],fēi:["啡","婓","婔","扉","暃","渄","猆","緋","绯","裶","霏","非","靟","飛","飝","飞","餥","馡","騑","騛","鯡","鲱","\uD873\uDD02"],pí:["啤","壀","枇","毗","毘","焷","琵","疲","皮","篺","罴","羆","脾","腗","膍","蚍","蚽","蜱","螷","蠯","豼","貔","郫","鈹","阰","陴","隦","魮","鮍","鲏","鵧","鼙"],shá:["啥"],"lā la":["啦"],"yīng qíng":["啨"],pā:["啪","妑","舥","葩","趴"],"zhě shì":["啫"],sè:["啬","嗇","懎","擌","栜","歮","涩","渋","澀","澁","濇","濏","瀒","瑟","璱","瘷","穑","穡","穯","繬","譅","轖","銫","鏼","铯","飋"],niè:["啮","嗫","噛","嚙","囁","囓","圼","孼","孽","嵲","嶭","巕","帇","敜","枿","槷","櫱","涅","湼","痆","篞","籋","糱","糵","聂","聶","臬","臲","蘖","蠥","讘","踂","踗","踙","蹑","躡","錜","鎳","鑈","鑷","钀","镊","镍","闑","陧","隉","顳","颞","齧","\uD86D\uDD36"],"luō luó luo":["啰","囉"],"tān chǎn tuō":["啴"],bo:["啵","蔔"],dìng:["啶","定","椗","矴","碇","碠","磸","聢","腚","萣","蝊","訂","订","錠","锭","顁","飣","饤"],lāng:["啷"],"án ān":["啽"],kā:["喀","擖"],"yóng yú":["喁"],"lā lá lǎ":["喇"],jiē:["喈","喼","嗟","堦","媘","接","掲","擑","湝","煯","疖","痎","癤","皆","秸","稭","脻","蝔","街","謯","阶","階","鞂","鶛"],hóu:["喉","帿","猴","瘊","睺","篌","糇","翭","葔","鄇","鍭","餱","骺","鯸","\uD872\uDF64"],"dié zhá":["喋"],wāi:["喎","歪","竵"],"nuò rě":["喏"],"xù huò guó":["喐"],zán:["喒"],"wō ō":["喔"],hú:["喖","嘝","囫","壶","壷","壺","媩","弧","搰","斛","楜","槲","湖","瀫","焀","煳","狐","猢","瑚","瓳","箶","絗","縠","胡","葫","蔛","蝴","螜","衚","觳","醐","鍸","頶","餬","鬍","魱","鰗","鵠","鶘","鶦","鹕"],"huàn yuán xuǎn hé":["喛"],xǐ:["喜","囍","壐","屣","徙","憙","枲","橲","歖","漇","玺","璽","矖","禧","縰","葈","葸","蓰","蟢","謑","蹝","躧","鈢","鉨","鉩","鱚","\uD872\uDF73","\uD873\uDDAE"],"hē hè yè":["喝"],kuì:["喟","嘳","媿","嬇","愦","愧","憒","篑","簣","籄","聩","聭","聵","膭","蕢","謉","餽","饋","馈"],"zhǒng chuáng":["喠"],"wéi wèi":["喡","為","爲"],"duó zhà":["喥"],"sāng sàng":["喪"],"qiáo jiāo":["喬"],"pèn bēn":["喯"],"cān sūn qī":["喰"],"zhā chā":["喳"],miāo:["喵"],"pēn pèn":["喷"],kuí:["喹","夔","奎","巙","戣","揆","晆","暌","楏","楑","櫆","犪","睽","葵","藈","蘷","虁","蝰","躨","逵","鄈","鍨","鍷","頯","馗","騤","骙","魁"],"lou lóu":["喽"],"zào qiāo":["喿"],"hè xiāo xiào hù":["嗃"],"á shà":["嗄"],xiù:["嗅","岫","峀","溴","珛","琇","璓","秀","綉","繍","繡","绣","螑","袖","褎","褏","銹","鏥","鏽","锈","齅"],"qiāng qiàng":["嗆","戗","戧","蹌","蹡"],"ài yì":["嗌","艾"],"má mǎ ma":["嗎"],"kè kē":["嗑"],"dā tà":["嗒","鎉"],sǎng:["嗓","搡","磉","褬","鎟","顙","颡"],chēn:["嗔","抻","琛","瞋","諃","謓","賝","郴","\uD871\uDE2D"],"wā gǔ":["嗗"],"pǎng bēng":["嗙"],"xián qiǎn qiān":["嗛"],lào:["嗠","嫪","橯","涝","澇","耢","耮","躼","軂","酪"],wēng:["嗡","翁","聬","螉","鎓","鶲","鹟","\uD872\uDF69"],wà:["嗢","腽","膃","袜","襪","韤"],"hēi hāi":["嗨"],hē:["嗬","欱","蠚","訶","诃"],zi:["嗭"],sǎi:["嗮"],"ǹg ńg ňg":["嗯"],gě:["嗰","舸"],ná:["嗱","拏","拿","鎿","镎"],diǎ:["嗲"],"ài ǎi āi":["嗳"],tōng:["嗵","樋","炵","蓪"],"zuī suī":["嗺"],"zhē zhè zhù zhe":["嗻"],mò:["嗼","圽","塻","墨","妺","嫼","寞","帞","昩","末","枺","歿","殁","沫","漠","爅","獏","瘼","皌","眽","眿","瞐","瞙","砞","礳","秣","絈","纆","耱","茉","莈","蓦","蛨","蟔","貃","貊","貘","銆","鏌","镆","陌","靺","驀","魩","默","黙","\uD871\uDE4A"],sòu:["嗽","瘶"],tǎn:["嗿","坦","忐","憳","憻","暺","毯","璮","菼","袒","襢","醓","鉭","钽"],"jiào dǎo":["嘄"],"kǎi gě":["嘅"],"shān càn":["嘇"],cáo:["嘈","嶆","曹","曺","槽","漕","艚","蓸","螬","褿","鏪","\uD855\uDD62"],piào:["嘌","徱","蔈","驃"],"lóu lou":["嘍"],gǎ:["尕","玍"],"gǔ jiǎ":["嘏"],"jiāo xiāo":["嘐"],"xū shī":["嘘","噓"],pó:["嘙","嚩","婆","櫇","皤","鄱"],"dē dēi":["嘚"],"ma má":["嘛"],"lē lei":["嘞"],"gā gá gǎ":["嘠"],sāi:["嘥","噻","毢","腮","顋","鰓"],"zuō chuài":["嘬"],"cháo zhāo":["嘲","朝","鼂"],zuǐ:["嘴","噿","嶊","璻"],"qiáo qiào":["嘺","翹","谯"],"chù xù shòu":["嘼"],"tān chǎn":["嘽"],"dàn tán":["嘾","弾","彈","惔","澹"],"hēi mò":["嘿"],ě:["噁","砨","頋","騀","鵈"],"fān bo":["噃"],chuáng:["噇","床","牀"],"cù zā hé":["噈"],"tūn kuò":["噋"],"cēng chēng":["噌"],dēng:["噔","嬁","灯","燈","璒","登","竳","簦","艠","豋"],pū:["噗","扑","撲","攴","攵","潽","炇","陠"],juē:["噘","屩","屫","撧"],lū:["噜","嚕","撸","擼","謢"],zhān:["噡","岾","惉","旃","旜","枬","栴","毡","氈","氊","沾","瞻","薝","蛅","詀","詹","譫","谵","趈","邅","閚","霑","飦","饘","驙","魙","鱣","鸇","鹯","\uD86D\uDDF4"],ō:["噢"],"zhòu zhuó":["噣"],"jiào qiào chī":["噭"],yuàn:["噮","妴","怨","愿","掾","瑗","禐","苑","衏","裫","褑","院","願"],"ǎi ài āi":["噯"],"yōng yǒng":["噰","澭"],"jué xué":["噱"],"pēn pèn fèn":["噴"],gá:["噶","尜","釓","錷","钆"],"xīn hěn hèn":["噷"],dāng:["噹","澢","珰","璫","筜","簹","艡","蟷","裆","襠"],làn:["嚂","滥","濫","烂","燗","爁","爛","爤","瓓","糷","钄"],tà:["嚃","嚺","崉","挞","搨","撻","榻","橽","毾","涾","澾","濌","禢","粏","誻","譶","蹋","蹹","躂","躢","遝","錔","闒","闥","闼","阘","鞜","鞳"],"huō huò ǒ":["嚄"],hāo:["嚆","茠","蒿","薅"],"hè xià":["嚇"],"xiù pì":["嚊"],"zhōu chóu":["嚋","盩","诪"],mē:["嚒"],"chā cā":["嚓"],"bó pào bào":["嚗"],"me mèi mò":["嚜"],"xié hái":["嚡"],"áo xiāo":["嚣"],mō:["嚤","摸"],pín:["嚬","娦","嫔","嬪","玭","矉","薲","蠙","貧","贫","顰","颦","\uD871\uDF9F"],mè:["嚰","濹"],"rǎng rāng":["嚷"],lá:["嚹","旯"],"jiáo jué jiào":["嚼"],chuò:["嚽","娖","擉","歠","涰","磭","踀","輟","辍","辵","辶","酫","鑡","餟","齪","龊"],"huān huàn":["嚾"],"zá cà":["囃"],chài:["囆","虿","蠆","袃","訍"],"náng nāng":["囊"],"zá zàn cān":["囋"],sū:["囌","櫯","甦","稣","穌","窣","蘇","蘓","酥","鯂"],zèng:["囎","熷","甑","贈","赠","鋥","锃"],"zá niè yàn":["囐"],nāng:["囔"],"luó luō luo":["囖"],"wéi guó":["囗"],huí:["囘","回","囬","廻","廽","恛","洄","痐","茴","蚘","蛔","蛕","蜖","迴","逥","鮰"],nín:["囜","您","脌"],"jiǎn nān":["囝"],nān:["囡"],tuán:["团","団","團","慱","抟","摶","檲","糰","鏄","鷒","鷻"],"tún dùn":["囤","坉"],guó:["囯","囶","囻","国","圀","國","帼","幗","慖","摑","漍","聝","腘","膕","蔮","虢","馘","\uD870\uDDF9"],kùn:["困","涃","睏"],"wéi tōng":["囲"],qūn:["囷","夋","逡"],rì:["囸","日","衵","鈤","馹","驲"],tāi:["囼","孡","胎"],pǔ:["圃","圑","擈","普","暜","樸","檏","氆","浦","溥","烳","諩","譜","谱","蹼","鐠","镨"],"quān juàn juān":["圈","圏"],"chuí chuán":["圌"],tuǎn:["圕","畽","疃"],lüè:["圙","掠","略","畧","稤","鋝","鋢","锊","䂮"],"huán yuán":["圜"],luán:["圝","圞","奱","娈","孌","孪","孿","峦","巒","挛","攣","曫","栾","欒","滦","灤","癴","癵","羉","脔","臠","虊","銮","鑾","鵉","鸞","鸾"],tǔ:["土","圡","釷","钍"],"xū wéi":["圩"],"dì de":["地","嶳"],"qiān sú":["圱"],zhèn:["圳","塦","挋","振","朕","栚","甽","眹","紖","絼","纼","誫","賑","赈","鋴","鎭","鎮","镇","阵","陣","震","鴆","鸩"],"chǎng cháng":["场","場","塲"],"qí yín":["圻"],jiá:["圿","忦","恝","戞","扴","脥","荚","莢","蛱","蛺","裌","跲","郏","郟","鋏","铗","頬","頰","颊","鴶","鵊"],"zhǐ zhì":["坁"],bǎn:["坂","岅","昄","板","版","瓪","粄","舨","蝂","鈑","钣","阪","魬"],qǐn:["坅","寑","寝","寢","昑","梫","笉","螼","赾","鋟","锓"],"méi fén":["坆"],"rǒng kēng":["坈"],"fāng fáng":["坊"],"fèn bèn":["坋"],tān:["坍","怹","摊","擹","攤","滩","灘","瘫","癱","舑","貪","贪"],"huài pēi pī péi":["坏"],"dì làn":["坔"],tán:["坛","墰","墵","壇","壜","婒","憛","昙","曇","榃","檀","潭","燂","痰","磹","罈","罎","藫","談","譚","譠","谈","谭","貚","郯","醰","錟","顃"],bà:["坝","垻","壩","弝","欛","灞","爸","矲","覇","霸","鮁","鲅"],fén:["坟","墳","妢","岎","幩","枌","棼","汾","焚","燌","燓","羒","羵","蒶","蕡","蚠","蚡","豮","豶","轒","鐼","隫","馩","魵","黂","鼖","鼢","\uD84F\uDE23"],zhuì:["坠","墜","惴","甀","畷","礈","綴","縋","缀","缒","腏","膇","諈","贅","赘","醊","錣","鑆"],pō:["坡","岥","泼","溌","潑","釙","鏺","钋","頗","颇","䥽"],"pǎn bàn":["坢"],kūn:["坤","堃","堒","崐","崑","昆","晜","潉","焜","熴","猑","琨","瑻","菎","蜫","裈","裩","褌","醌","錕","锟","騉","髠","髡","髨","鯤","鲲","鵾","鶤","鹍"],diàn:["坫","垫","墊","壂","奠","婝","店","惦","扂","橂","殿","淀","澱","玷","琔","电","癜","簟","蜔","鈿","電","靛","驔"],"mù mǔ":["坶"],"kē kě":["坷","軻"],xuè:["坹","岤","桖","瀥","狘","瞲","謔","谑","趐"],"dǐ chí":["坻","柢"],lā:["垃","柆","菈","邋"],lǒng:["垄","垅","壟","壠","拢","攏","竉","陇","隴","\uD871\uDD42"],mín:["垊","姄","岷","崏","捪","旻","旼","民","珉","琘","琝","瑉","痻","盿","砇","緍","緡","缗","罠","苠","鈱","錉","鍲","鴖"],"dòng tóng":["垌","峒","洞"],cí:["垐","嬨","慈","柌","濨","珁","瓷","甆","磁","礠","祠","糍","茨","詞","词","辝","辞","辤","辭","雌","飺","餈","鴜","鶿","鷀","鹚"],duī:["垖","堆","塠","痽","磓","鐓","鐜","鴭"],"duò duǒ":["垛"],"duǒ duò":["垜","挆"],chá:["垞","察","嵖","搽","槎","檫","猹","茬","茶","詧","靫","\uD857\uDED7"],shǎng:["垧","晌","樉","賞","贘","赏","鋿","鏛","鑜"],shǒu:["垨","守","手","扌","艏","首"],da:["垯","繨","跶"],háng:["垳","斻","杭","筕","絎","绗","航","苀","蚢","裄","貥","迒","頏","颃","魧"],"ān ǎn":["垵"],xīng:["垶","惺","星","曐","煋","猩","瑆","皨","篂","腥","興","觪","觲","謃","騂","骍","鮏","鯹"],"yuàn huán":["垸"],bāng:["垹","帮","幇","幚","幫","捠","梆","浜","邦","邫","鞤","\uD843\uDCD0"],"póu fú":["垺"],cén:["埁","岑","涔"],"běng fēng":["埄"],"dì fáng":["埅"],"xiá jiā":["埉"],"mái mán":["埋"],làng:["埌","崀","浪","蒗","閬","㫰"],"shān yán":["埏"],"qín jīn":["埐"],"pǔ bù":["埔"],huā:["埖","婲","椛","硴","糀","花","蒊","蘤","誮","錵"],"suì sù":["埣"],"pí pì":["埤"],"qīng zhēng":["埥","鲭"],"wǎn wān":["埦"],lǔn:["埨","稐","\uD86E\uDF62"],"zhēng chéng":["埩"],kōng:["埪","崆","箜","躻","錓","鵼"],"cǎi cài":["埰","寀","采"],"chù tòu":["埱"],běng:["埲","琫","菶","鞛"],"kǎn xiàn":["埳"],"yì shì":["埶","醳"],péi:["培","毰","裴","裵","賠","赔","錇","锫","阫","陪"],"sào sǎo":["埽"],"jǐn qīn jìn":["堇"],"péng bèng":["堋"],"qiàn zàn jiàn":["堑"],àn:["堓","屵","岸","按","暗","案","胺","荌","豻","貋","錌","闇","隌","黯"],"duò huī":["堕","墮"],huán:["堚","寏","寰","峘","桓","洹","澴","獂","环","環","糫","繯","缳","羦","荁","萈","萑","豲","鍰","鐶","锾","镮","闤","阛","雈","鬟","鹮","\uD871\uDE2B","\uD852\uDE7D"],"bǎo bǔ pù":["堡"],"máo móu wǔ":["堥"],ruán:["堧","壖","撋"],"ài è yè":["堨"],gèng:["堩","暅"],méi:["堳","塺","媒","嵋","徾","攗","枚","栂","梅","楣","楳","槑","湄","湈","煤","猸","玫","珻","瑂","眉","睂","禖","脄","脢","腜","苺","莓","葿","郿","酶","鎇","镅","霉","鶥","鹛","黴"],dǔ:["堵","琽","睹","笃","篤","覩","賭","赌"],féng:["堸","綘","艂","逢"],hèng:["堼"],chūn:["堾","媋","旾","春","暙","杶","椿","槆","橁","櫄","瑃","箺","萅","蝽","輴","鰆","鶞","䲠"],jiǎng:["塂","奖","奨","奬","桨","槳","獎","耩","膙","蒋","蔣","講","讲","顜"],huāng:["塃","巟","慌","肓","荒","衁"],duàn:["塅","断","斷","椴","段","毈","煅","瑖","碫","簖","籪","緞","缎","腶","葮","躖","鍛","锻"],tǎ:["塔","墖","獭","獺","鮙","鰨","鳎"],wěng:["塕","奣","嵡","攚","暡","瞈","蓊"],"sāi sài sè":["塞"],zàng:["塟","弉","臓","臟","葬","蔵","銺"],tián:["塡","屇","恬","沺","湉","璳","甛","甜","田","畋","畑","碵","磌","胋","闐","阗","鴫","鷆","鷏"],zhèng:["塣","幁","政","証","諍","證","证","诤","郑","鄭","靕","鴊"],"tián zhèn":["填"],wēn:["塭","昷","榲","殟","温","溫","瑥","瘟","蕰","豱","輼","轀","辒","鎾","饂","鰛","鰮","鳁"],liù:["塯","廇","磟","翏","雡","霤","餾","鬸","鷚","鹨"],hǎi:["塰","海","烸","酼","醢"],lǎng:["塱","朖","朗","朤","烺","蓢","㮾"],bèng:["塴","揼","泵","甏","綳","蹦","迸","逬","鏰","镚"],chén:["塵","宸","尘","忱","敐","敶","晨","曟","栕","樄","沉","煁","瘎","臣","茞","莀","莐","蔯","薼","螴","訦","諶","軙","辰","迧","鈂","陈","陳","霃","鷐","麎"],"ōu qiū":["塸"],"qiàn jiàn":["塹"],"zhuān tuán":["塼"],shuǎng:["塽","慡","漺","爽","縔","鏯"],shú:["塾","婌","孰","璹","秫","贖","赎"],lǒu:["塿","嵝","嶁","甊","篓","簍"],chí:["墀","弛","持","池","漦","竾","筂","箎","篪","茌","荎","蚳","謘","貾","赿","踟","迟","迡","遅","遟","遲","鍉","馳","驰"],shù:["墅","庶","庻","怷","恕","戍","束","树","樹","沭","漱","潄","濖","竖","竪","絉","腧","荗","蒁","虪","術","裋","豎","述","鉥","錰","鏣","霔","鶐","\uD872\uDF38"],"dì zhì":["墆","疐"],kàn:["墈","崁","瞰","矙","磡","衎","鬫"],chěn:["墋","夦","硶","碜","磣","贂","趻","踸","鍖"],"zhǐ zhuó":["墌"],qiǎng:["墏","繈","繦","羥","襁"],zēng:["増","增","憎","璔","矰","磳","罾","譄","鄫","鱛","䎖"],qiáng:["墙","墻","嫱","嬙","樯","檣","漒","牆","艢","蔃","蔷","蘠"],"kuài tuí":["墤"],"tuǎn dǒng":["墥"],"qiáo què":["墧"],"zūn dūn":["墫"],"qiāo áo":["墽"],"yì tú":["墿"],"xué bó jué":["壆"],lǎn:["壈","嬾","孄","孏","懒","懶","揽","擥","攬","榄","欖","浨","漤","灠","纜","缆","罱","覧","覽","览","醂","顲"],huài:["壊","壞","蘾"],rǎng:["壌","壤","攘","爙"],"làn xiàn":["壏"],dǎo:["壔","导","導","岛","島","嶋","嶌","嶹","捣","搗","擣","槝","祷","禂","禱","蹈","陦","隝","隯"],ruǐ:["壡","桵","橤","繠","蕊","蕋","蘂","蘃"],san:["壭"],zhuàng:["壮","壯","壵","撞","焋","状","狀"],"ké qiào":["壳","殼"],kǔn:["壸","壼","悃","捆","梱","硱","祵","稇","稛","綑","裍","閫","閸","阃"],mǎng:["壾","漭","茻","莽","莾","蠎"],cún:["壿","存"],"zhǐ zhōng":["夂"],"gǔ yíng":["夃"],"jiàng xiáng":["夅","降"],"páng féng fēng":["夆"],zhāi:["夈","捚","摘","斋","斎","榸","粂","齋"],"xuàn xiòng":["夐"],wài:["外","顡"],"wǎn yuàn wān yuān":["夗"],"mǎo wǎn":["夘"],mèng:["夢","夣","孟","梦","癦","霥"],"dà dài":["大"],"fū fú":["夫","姇","枎","粰"],guài:["夬","怪","恠"],yāng:["央","姎","抰","殃","泱","秧","胦","鉠","鍈","雵","鴦","鸯"],"hāng bèn":["夯"],gǎo:["夰","搞","杲","槀","槁","檺","稁","稾","稿","縞","缟","菒","藁","藳"],"tāo běn":["夲"],"tóu tou":["头"],"yǎn tāo":["夵"],"kuā kuà":["夸","誇"],"jiá jiā gā xiá":["夹"],huà:["夻","婳","嫿","嬅","崋","摦","杹","枠","桦","槬","樺","澅","画","畫","畵","繣","舙","話","諙","譮","话","黊"],"jiā jiá gā xiá":["夾"],ēn:["奀","恩","蒽"],"dī tì":["奃"],"yǎn yān":["奄","渰"],pào:["奅","疱","皰","砲","礟","礮","靤","麭"],nài:["奈","柰","渿","耐","萘","褦","錼","鼐"],"quān juàn":["奍","弮","棬"],zòu:["奏","揍"],"qì qiè xiè":["契"],kāi:["奒","开","揩","鐦","锎","開"],"bēn bèn":["奔","泍"],tào:["套"],"zàng zhuǎng":["奘"],běn:["奙","本","楍","畚","翉","苯"],"xùn zhuì":["奞"],shē:["奢","檨","猞","畭","畲","賒","賖","赊","輋","\uD86A\uDE36"],"hǎ pò tǎi":["奤"],"ào yù":["奥","奧","澚"],yūn:["奫","氲","氳","蒀","蒕","蝹","贇","赟","\uD86D\uDDB3"],"duǒ chě":["奲"],"nǚ rǔ":["女"],nú:["奴","孥","笯","駑","驽"],"dīng dǐng tiǎn":["奵"],"tā jiě":["她"],nuán:["奻"],"hǎo hào":["好"],fàn:["奿","嬎","梵","汎","泛","滼","瀪","犯","畈","盕","笵","範","范","訉","販","贩","軬","輽","飯","飰","饭"],shuò:["妁","搠","朔","槊","烁","爍","矟","蒴","鎙","鑠","铄"],"fēi pèi":["妃"],wàng:["妄","忘","旺","望","朢"],zhuāng:["妆","妝","娤","庄","庒","桩","梉","樁","粧","糚","荘","莊","装","裝"],mā:["妈","媽"],"fū yōu":["妋"],"hài jiè":["妎"],dù:["妒","妬","杜","殬","渡","秺","芏","荰","螙","蠧","蠹","鍍","镀","靯","\uD872\uDF4A"],miào:["妙","庙","庿","廟","玅","竗"],"fǒu pēi pī":["妚"],"yuè jué":["妜"],niū:["妞"],"nà nàn":["妠"],tuǒ:["妥","嫷","庹","椭","楕","橢","鬌","鰖","鵎"],"wàn yuán":["妧"],fáng:["妨","房","肪","防","魴","鲂"],nī:["妮"],zhóu:["妯","碡"],zhāo:["妱","巶","招","昭","釗","鉊","鍣","钊","駋","\uD872\uDF3F"],"nǎi nǐ":["妳"],tǒu:["妵","敨","紏","蘣","黈"],"xián xuán xù":["妶"],"zhí yì":["妷","秇"],ē:["妸","妿","婀","屙"],mèi:["妹","媚","寐","抺","旀","昧","沬","煝","痗","眛","睸","祙","篃","蝞","袂","跊","鬽","魅"],"qī qì":["妻"],"xū xǔ":["姁","稰"],"shān shàn":["姍","姗","苫","釤","钐"],mán:["姏","慲","樠","蛮","蠻","謾","饅","馒","鬗","鬘","鰻","鳗"],jiě:["姐","媎","檞","毑","飷"],"wěi wēi":["委"],pīn:["姘","拼","礗","穦","馪","驞"],"huá huó":["姡"],"jiāo xiáo":["姣"],"gòu dù":["姤"],"lǎo mǔ":["姥"],"nián niàn":["姩"],zhěn:["姫","屒","弫","抮","昣","枕","畛","疹","眕","稹","縝","縥","缜","聄","萙","袗","裖","覙","診","诊","軫","轸","辴","駗","鬒"],héng:["姮","恆","恒","烆","珩","胻","蘅","衡","鑅","鴴","鵆","鸻"],"jūn xún":["姰"],"kuā hù":["姱"],"è yà":["姶"],"xiān shēn":["姺"],wá:["娃"],"ráo rǎo":["娆","嬈"],"shào shāo":["娋"],xiē:["娎","揳","楔","歇","蝎","蠍"],"wǔ méi mǔ":["娒"],"chuò lài":["娕"],niáng:["娘","嬢","孃"],"nà nuó":["娜","\uD85B\uDC21"],"pōu bǐ":["娝"],"něi suī":["娞"],tuì:["娧","煺","蛻","蜕","退","駾"],mǎn:["娨","屘","満","满","滿","螨","蟎","襔","鏋"],"wú wù yú":["娪"],"xī āi":["娭"],"zhuì shuì":["娷"],"dōng dòng":["娻"],"ǎi ái è":["娾"],"ē ě":["娿"],mián:["婂","嬵","宀","杣","棉","檰","櫋","眠","矈","矊","矏","綿","緜","绵","芇","蝒"],"pǒu péi bù":["婄"],biǎo:["婊","脿","表","裱","褾","諘","錶"],"fù fàn":["婏"],wǒ:["婐","婑","我"],"ní nǐ":["婗","棿"],"quán juàn":["婘","惓"],hūn:["婚","昏","昬","棔","涽","睧","睯","碈","荤","葷","蔒","轋","閽","阍"],"qiān jǐn":["婜"],"wān wà":["婠"],"lái lài":["婡","徕","徠"],"zhōu chōu":["婤"],"chuò nào":["婥"],"nüè àn":["婩"],"hùn kūn":["婫"],"dàng yáng":["婸"],nàn:["婻"],"ruò chuò":["婼"],jiǎ:["婽","岬","斚","斝","榎","槚","檟","玾","甲","胛","鉀","钾"],"tōu yú":["婾","媮"],"yù yú":["媀"],"wéi wěi":["媁"],"dì tí":["媂","珶","苐"],róu:["媃","揉","柔","渘","煣","瑈","瓇","禸","粈","糅","脜","腬","葇","蝚","蹂","輮","鍒","鞣","騥","鰇","鶔","\uD86D\uDC13"],"ruǎn nèn":["媆"],miáo:["媌","嫹","描","瞄","苗","鶓","鹋"],"yí pèi":["媐"],"mián miǎn":["媔"],"tí shì":["媞","惿"],"duò tuó":["媠","沲"],ǎo:["媪","媼","艹","芺","袄","襖","镺"],"chú zòu":["媰"],yìng:["媵","映","暎","硬","膡","鱦"],"qín shēn":["嫀"],jià:["嫁","幏","架","榢","稼","駕","驾"],sǎo:["嫂"],"zhēn zhěn":["嫃"],"jiē suǒ":["嫅"],"míng mǐng":["嫇"],niǎo:["嫋","嬝","嬲","茑","蔦","袅","裊","褭","鸟"],tāo:["嫍","幍","弢","慆","掏","搯","槄","涛","滔","濤","瑫","絛","縚","縧","绦","詜","謟","轁","鞱","韜","韬","飸","饕"],biáo:["嫑"],"piáo piāo":["嫖","薸"],xuán:["嫙","悬","懸","暶","檈","漩","玄","璇","璿","痃","蜁","\uD86E\uDC0A"],"màn mān":["嫚"],kāng:["嫝","嵻","康","慷","槺","漮","砊","穅","糠","躿","鏮","鱇","\uD845\uDC13","\uD867\uDF8C"],"hān nǎn":["嫨"],nèn:["嫩","嫰"],zhē:["嫬","遮"],"mā má":["嫲"],piè:["嫳"],zhǎn:["嫸","展","搌","斩","斬","琖","盏","盞","輾","醆","颭","飐"],"xiān yǎn jìn":["嬐"],liǎn:["嬚","敛","斂","琏","璉","羷","脸","臉","蔹","蘝","蘞","裣","襝","鄻"],"qióng huán xuān":["嬛"],dǒng:["嬞","懂","箽","董","蕫","諌"],cān:["嬠","湌","爘","飡","餐","驂","骖"],tiǎo:["嬥","宨","晀","朓","窱","脁"],bí:["嬶","荸","鼻"],liǔ:["嬼","柳","栁","桞","桺","橮","熮","珋","綹","绺","罶","羀","鋶","锍"],"qiān xiān":["孅","欦"],"xié huī":["孈"],"huān quán":["孉"],"lí lì":["孋","麗"],"zhú chuò":["孎"],kǒng:["孔","恐"],"mā zī":["孖"],"sūn xùn":["孙","孫"],"bèi bó":["孛","誖"],"yòu niū":["孧"],zhuǎn:["孨","竱","轉"],hái:["孩","骸"],nāo:["孬"],"chán càn":["孱"],bò:["孹","檗","蘗","譒"],nái:["孻","腉"],"níng nìng":["宁","寍","寗","寜","寧","甯"],zhái:["宅"],"tū jiā":["宊"],sòng:["宋","訟","誦","讼","诵","送","鎹","頌","颂","餸"],ròu:["宍","肉","譳"],zhūn:["宒","窀","衠","諄","谆","迍"],"mì fú":["宓"],"dàng tàn":["宕"],"wǎn yuān":["宛"],chǒng:["宠","寵"],qún:["宭","峮","帬","羣","群","裙","裠"],zǎi:["宰","崽"],"bǎo shí":["宲"],"jiā jia jie":["家"],"huāng huǎng":["宺"],kuān:["宽","寛","寬","臗","鑧","髋","髖"],"sù xiǔ xiù":["宿"],"jié zǎn":["寁"],"bìng bǐng":["寎"],"jìn qǐn":["寖"],"lóu jù":["寠"],"xiě xiè":["寫"],"qīn qìn":["寴"],cùn:["寸","籿"],duì:["对","対","對","怼","憝","懟","濧","瀩","碓","祋","綐","薱","譈","譵","轛","队","陮"],"lüè luó":["寽"],"shè yè yì":["射"],"jiāng jiàng qiāng":["将"],"jiāng jiàng":["將","浆","漿","畺"],zūn:["尊","嶟","樽","罇","遵","鐏","鱒","鳟","鶎","鷷","\uD863\uDC54"],"shù zhù":["尌","澍"],xiǎo:["小","晓","暁","曉","皛","皢","筱","筿","篠","謏","\uD86C\uDF72"],"jié jí":["尐","诘","鞊"],"shǎo shào":["少"],ěr:["尒","尓","尔","栮","毦","洱","爾","珥","耳","薾","衈","趰","迩","邇","鉺","铒","餌","饵","駬"],"wāng yóu":["尢"],wāng:["尣","尩","尪","尫","汪"],liào:["尥","尦","廖","撂","料","炓","窷","鐐","镣","\uD86A\uDD17"],"méng máng lóng páng":["尨"],gà:["尬","魀"],"kuì kuǐ":["尯"],tuí:["尵","弚","穨","蘈","蹪","隤","頹","頺","頽","颓","魋","\uD872\uDFCE"],yǐn:["尹","嶾","引","朄","檃","檼","櫽","淾","濥","瘾","癮","粌","蘟","蚓","螾","讔","赺","趛","輑","鈏","靷"],"chǐ chě":["尺"],kāo:["尻","髛"],"jìn jǐn":["尽"],"wěi yǐ":["尾"],"niào suī":["尿"],céng:["层","層","嶒","驓"],diǎo:["屌"],"píng bǐng bīng":["屏"],lòu:["屚","漏","瘘","瘺","瘻","鏤","镂","陋"],"shǔ zhǔ":["属","屬"],"xiè tì":["屟"],"chè cǎo":["屮"],"tún zhūn":["屯"],"nì jǐ":["屰"],"hóng lóng":["屸"],"qǐ kǎi":["岂","豈"],áng:["岇","昂","昻"],"gǎng gāng":["岗","崗"],kě:["岢","敤","渇","渴","炣"],gǒu:["岣","狗","玽","笱","耇","耈","耉","苟","豿"],tiáo:["岧","岹","樤","祒","笤","芀","萔","蓚","蓨","蜩","迢","鋚","鎥","鞗","髫","鯈","鰷","鲦","齠","龆"],"qū jū":["岨"],lǐng:["岭","嶺","領","领"],pò:["岶","敀","洦","湐","烞","珀","破","砶","粕","蒪","魄"],"bā kè":["峇"],luò:["峈","摞","洛","洜","犖","珞","笿","纙","荦","詻","雒","駱","骆","鵅"],"fù niè":["峊"],ěn:["峎"],"zhì shì":["峙","崻"],qiǎ:["峠","跒","酠","鞐"],"qiáo jiào":["峤","癄"],"xié yé":["峫"],bū:["峬","庯","晡","誧","逋","鈽","錻","钸","餔","鵏"],chóng:["崇","崈","爞","虫","蝩","蟲","褈","隀"],"zú cuì":["崒","椊"],"líng léng":["崚"],"dòng dōng":["崠"],xiáo:["崤","洨","淆","訤","誵"],"pí bǐ":["崥","芘"],"zhǎn chán":["崭","嶃","嶄"],"wǎi wēi":["崴"],"yáng dàng":["崵"],"shì dié":["崼"],yào:["崾","曜","熎","燿","矅","穾","窔","筄","耀","艞","药","葯","薬","藥","袎","覞","詏","讑","靿","鷂","鹞","鼼"],"kān zhàn":["嵁"],"hán dǎng":["嵅"],"qiàn kàn":["嵌"],"wù máo":["嵍"],"kě jié":["嵑","嶱"],"wēi wěi":["嵔"],kē:["嵙","柯","棵","榼","樖","牁","牱","犐","珂","疴","瞌","磕","礚","科","稞","窠","萪","薖","蚵","蝌","趷","轲","醘","鈳","钶","頦","顆","颗","髁"],"dàng táng":["嵣"],"róng yíng":["嵤","爃"],"ái kǎi":["嵦"],"kāo qiāo":["嵪"],cuó:["嵯","嵳","痤","矬","蒫","蔖","虘","鹺","鹾"],"qiǎn qīn":["嵰"],"dì dié":["嵽"],cēn:["嵾"],dǐng:["嵿","艼","薡","鐤","頂","顶","鼎","鼑"],"áo ào":["嶅"],"pǐ pèi":["嶏"],"jiào qiáo":["嶠","潐"],"jué guì":["嶡","鳜"],"zhān shàn":["嶦","鳣"],"xiè jiè":["嶰"],"guī xī juàn":["嶲"],rū:["嶿"],"lì liè":["巁","棙","爄","綟"],"xī guī juàn":["巂"],"yíng hōng":["巆"],yǐng:["巊","廮","影","摬","梬","潁","瘿","癭","矨","穎","郢","鐛","頴","颍","颕","颖"],chǎo:["巐","炒","煼","眧","麨"],cuán:["巑","櫕","欑"],chuān:["巛","川","氚","瑏","穿"],"jīng xíng":["巠"],cháo:["巢","巣","晁","漅","潮","牊","窲","罺","謿","轈","鄛","鼌"],qiǎo:["巧","愀","髜"],gǒng:["巩","廾","拱","拲","栱","汞","珙","輁","鞏"],"chà chā chāi cī":["差"],"xiàng hàng":["巷"],shuài:["帅","帥","蟀"],pà:["帊","帕","怕","袙"],"tǎng nú":["帑"],"mò wà":["帓"],"tiē tiě tiè":["帖"],zhǒu:["帚","晭","疛","睭","箒","肘","菷","鯞"],"juǎn juàn":["帣"],shuì:["帨","涗","涚","睡","稅","税","裞"],"chóu dào":["帱","幬"],"jiǎn jiān sàn":["帴"],"shà qiè":["帹"],"qí jì":["帺","荠"],"shān qiāo shēn":["幓"],"zhuàng chuáng":["幢"],"chān chàn":["幨"],miè:["幭","懱","搣","滅","灭","烕","礣","篾","蔑","薎","蠛","衊","鑖","鱴","鴓"],"gān gàn":["干"],"bìng bīng":["并","幷"],"jī jǐ":["幾"],"guǎng ān":["广"],guǎng:["広","廣","犷","獷"],me:["庅"],"dùn tún":["庉"],"bài tīng":["庍"],"yìng yīng":["应"],"dǐ de":["底"],"dù duó":["度"],"máng méng páng":["庬"],"bìng píng":["庰"],chěng:["庱","悜","睈","逞","騁","骋"],"jī cuò":["庴"],qǐng:["庼","廎","檾","漀","苘","請","謦","请","頃","顷"],"guī wěi huì":["廆"],"jǐn qín":["廑"],kuò:["廓","扩","拡","擴","濶","筈","萿","葀","蛞","闊","阔","霩","鞟","鞹","韕","頢","鬠"],"qiáng sè":["廧","薔"],"yǐn yìn":["廴","隐","隠","隱","飮","飲","饮"],"pò pǎi":["廹","迫"],"nòng lòng":["弄"],"dì tì tuí":["弟"],"jué zhāng":["弡"],"mí mǐ":["弥","彌","靡"],chāo:["弨","怊","抄","欩","訬","超","鈔","钞"],yi:["弬"],shāo:["弰","旓","烧","焼","燒","筲","艄","萷","蕱","輎","髾","鮹"],"xuān yuān":["弲"],"qiáng qiǎng jiàng":["強","强"],"tán dàn":["弹","醈"],biè:["彆"],"qiáng jiàng qiǎng":["彊"],"jì xuě":["彐"],tuàn:["彖","褖"],yuē:["彟","曰","曱","矱"],"shān xiǎn":["彡"],wén:["彣","文","炆","珳","瘒","繧","聞","芠","蚉","蚊","螡","蟁","閺","閿","闅","闦","闻","阌","雯","馼","駇","魰","鳼","鴍","鼤","\uD86D\uDE1C"],"péng bāng":["彭"],"piāo piào":["彯"],"zhuó bó":["彴"],"tuǒ yí":["彵"],"páng fǎng":["彷"],wǎng:["彺","往","徃","惘","枉","棢","網","网","罒","罓","罔","罖","菵","蛧","蝄","誷","輞","辋","魍"],cú:["徂","殂"],"dài dāi":["待"],huái:["徊","怀","懐","懷","槐","淮","耲","蘹","褢","褱","踝"],"wā wàng jiā":["徍"],"chěng zhèng":["徎"],"dé děi de":["得"],"cóng zòng":["從"],"shì tǐ":["徥"],"tí chí":["徲","鶗","鶙"],dé:["徳","德","恴","悳","惪","淂","鍀","锝"],"zhǐ zhēng":["徴","徵"],bié:["徶","癿","莂","蛂","襒","蹩"],"chōng zhǒng":["徸"],"jiǎo jiào":["徼","笅","筊"],"lòng lǒng":["徿"],"qú jù":["忂","渠","瞿","螶"],"dìng tìng":["忊"],gǎi:["忋","改"],rěn:["忍","栠","栣","秹","稔","綛","荏","荵","躵"],chàn:["忏","懴","懺","硟","羼","韂","顫"],tè:["忑","慝","特","蟘","鋱","铽"],"tè tēi tuī":["忒"],"gān hàn":["忓","攼"],"yì qì":["忔"],"tài shì":["忕"],"xī liě":["忚"],"yīng yìng":["応","應","譍"],"mǐn wěn mín":["忞","忟"],"sōng zhōng":["忪"],"yù shū":["忬","悆"],"qí shì":["忯","耆"],"tún zhūn dùn":["忳"],"qián qín":["忴","扲"],hún:["忶","浑","渾","餛","馄","魂","鼲"],niǔ:["忸","扭","炄","狃","紐","纽","莥","鈕","钮","靵"],"kuáng wǎng":["忹"],"kāng hàng":["忼"],"kài xì":["忾","愾"],òu:["怄","慪"],"bǎo bào":["怉"],"mín mén":["怋"],"zuò zhà":["怍"],zěn:["怎"],yàng:["怏","恙","样","様","樣","漾","羕","詇"],"kòu jù":["怐"],"náo niú":["怓"],"zhēng zhèng":["怔","掙","钲","铮"],"tiē zhān":["怗"],"hù gù":["怘"],"cū jù zū":["怚"],"sī sāi":["思"],"yóu chóu":["怞"],"tū dié":["怢"],"yōu yào":["怮"],xuàn:["怰","昡","楦","泫","渲","炫","琄","眩","碹","絢","縼","繏","绚","蔙","衒","袨","贙","鉉","鏇","铉","镟","颴"],"xù xuè":["怴"],"bì pī":["怶"],"xī shù":["怸"],"nèn nín":["恁"],"tiāo yáo":["恌"],"xī qī xù":["恓"],"xiào jiǎo":["恔"],"hū kuā":["恗"],nǜ:["恧","朒","衂","衄"],hèn:["恨"],"dòng tōng":["恫"],"quán zhuān":["恮"],"è wù ě wū":["恶","惡"],tòng:["恸","慟","憅","痛","衕"],"yuān juàn":["悁"],"qiāo qiǎo":["悄"],"jiè kè":["悈"],"hào jiào":["悎"],huǐ:["悔","檓","毀","毁","毇","燬","譭"],"mán mèn":["悗","鞔"],"yī yì":["悘","衣"],quān:["悛","箞","鐉","\uD861\uDFE0"],"kuī lǐ":["悝"],"yì niàn":["悥"],"mèn mēn":["悶"],guàn:["悹","悺","惯","慣","掼","摜","樌","欟","泴","涫","潅","灌","爟","瓘","盥","礶","祼","罆","罐","貫","贯","躀","遦","鏆","鑵","鱹","鸛","鹳"],"kōng kǒng":["悾"],"lǔn lùn":["惀"],guǒ:["惈","果","椁","槨","粿","綶","菓","蜾","裹","褁","輠","餜","馃"],"yuān wǎn":["惌","箢"],"lán lín":["惏"],"yù xù":["惐","淢"],"chuò chuì":["惙"],"hūn mèn":["惛"],"chǎng tǎng":["惝"],"suǒ ruǐ":["惢"],cǎn:["惨","慘","憯","黪","黲","䅟"],cán:["惭","慙","慚","残","殘","蚕","蝅","蠶","蠺"],"dàn dá":["惮","憚"],rě:["惹"],"yú tōu":["愉"],"kài qì":["愒"],"dàng táng shāng yáng":["愓"],"chén xìn dān":["愖"],"kè qià":["愘"],nuò:["愞","懦","懧","掿","搦","榒","稬","穤","糑","糥","糯","諾","诺","蹃","逽","鍩","锘"],gǎn:["感","擀","敢","桿","橄","澉","澸","皯","秆","稈","笴","芉","衦","赶","趕","鱤","鳡"],"còng sōng":["愡"],"sāi sī sǐ":["愢"],"gōng gòng hǒng":["愩","慐"],"shuò sù":["愬","洬"],"yáo yào":["愮"],huàng:["愰","曂","榥","滉","皝","皩","鎤","㿠"],zhěng:["愸","抍","拯","整","晸"],cǎo:["愺","艸","草","騲"],"xì xié":["慀"],"cǎo sāo":["慅"],"xù chù":["慉"],"qiè qiàn":["慊"],"cáo cóng":["慒"],"ào áo":["慠"],"lián liǎn":["慩","梿","槤","櫣"],"jìn qín jǐn":["慬"],"dì chì":["慸"],"zhí zhé":["慹"],"lóu lǚ":["慺","鷜"],còng:["憁","謥"],"zhī zhì":["憄","知","織","织"],chēng:["憆","摚","撐","撑","晿","柽","棦","橕","檉","泟","浾","琤","瞠","碀","緽","罉","蛏","蟶","赪","赬","鏿","鐣","阷","靗","頳","饓"],biē:["憋","虌","鱉","鳖","鼈","龞"],"chéng dèng zhèng":["憕"],"xǐ xī":["憘"],"duì dùn tūn":["憞"],"xiāo jiāo":["憢"],"xián xiàn":["憪"],"liáo liǎo":["憭","燎","爎","爒"],shéng:["憴","縄","繉","繩","绳","譝"],"náo nǎo náng":["憹"],"jǐng jìng":["憼"],"jǐ jiǎo":["憿"],"xuān huān":["懁"],"cǎo sāo sào":["懆"],mèn:["懑","懣","暪","焖","燜"],"mèng méng měng":["懜"],"ài yì nǐ":["懝"],"méng měng":["懞","瞢","矒"],"qí jī jì":["懠"],mǒ:["懡"],"lán xiàn":["懢"],"yōu yǒu":["懮"],"liú liǔ":["懰","藰"],ràng:["懹","譲","讓","让"],huān:["懽","欢","歓","歡","獾","讙","貛","酄","驩","鴅","鵍"],nǎn:["戁","揇","湳","煵","腩","蝻","赧"],"mí mó":["戂"],"gàng zhuàng":["戅","戆"],"zhuàng gàng":["戇"],"xū qu":["戌"],"xì hū":["戏","戯","戲"],"jiá gā":["戛"],zéi:["戝","蠈","賊","贼","鰂","鱡","鲗"],děng:["戥","等"],"hū xì":["戱"],chuō:["戳","踔","逴"],"biǎn piān":["扁"],"shǎng jiōng":["扄"],"shàn shān":["扇"],cái:["才","材","纔","裁","財","财"],"zhā zā zhá":["扎"],"lè lì cái":["扐"],"bā pá":["扒"],"dǎ dá":["打"],rēng:["扔"],"fǎn fú":["払"],"diǎo dí yuē lì":["扚"],"káng gāng":["扛"],"yū wū":["扜"],"yū wū kū":["扝"],"tuō chǐ yǐ":["扡"],"gǔ jié xì gē":["扢"],dèn:["扥","扽"],"sǎo sào":["扫","掃"],rǎo:["扰","擾","隢"],"xī chā qì":["扱"],"bān pān":["扳"],"bā ào":["扷"],"xī zhé":["扸"],"zhì sǔn kǎn":["扻"],zhǎo:["找","沼","瑵"],"kuáng wǎng zài":["抂"],"hú gǔ":["抇","鹄","鹘"],"bǎ bà":["把"],"dǎn shěn":["抌"],"nè nì ruì nà":["抐"],zhuā:["抓","檛","簻","膼","髽"],póu:["抔","裒"],"zhé shé zhē":["折"],"póu pōu fū":["抙","捊"],pāo:["抛","拋","脬","萢"],"ǎo ào niù":["抝"],"lūn lún":["抡","掄"],"qiǎng qiāng chēng":["抢"],"zhǐ zhǎi":["抧"],"bù pū":["抪","柨"],"yǎo tāo":["抭"],"hē hè qiā":["抲"],"nǐ ní":["抳"],"pī pēi":["抷"],"mǒ mò mā":["抹"],chōu:["抽","犨","犫","瘳","篘"],"jiā yá":["拁"],"fú bì":["拂","畐","鶝"],zhǎ:["拃","眨","砟","鮺","鲝"],"dān dàn dǎn":["担"],"chāi cā":["拆"],niān:["拈","蔫"],"lā lá lǎ là":["拉"],"bàn pàn":["拌"],pāi:["拍"],līn:["拎"],guǎi:["拐","枴","柺"],"tuò tà zhí":["拓"],"ào ǎo niù":["拗"],"jū gōu":["拘"],"pīn pàn fān":["拚"],"bài bái":["拜"],bài:["拝","敗","稗","粺","薭","贁","败","韛"],qiá:["拤"],"nǐng níng nìng":["拧"],"zé zhái":["择","擇"],hén:["拫","痕","鞎"],"kuò guā":["括"],"jié jiá":["拮"],nǐn:["拰"],shuān:["拴","栓","閂","闩"],"cún zùn":["拵"],"zā zǎn":["拶","桚"],kǎo:["拷","攷","栲","烤","考"],"yí chǐ hài":["拸"],"cè sè chuò":["拺"],"zhuài zhuāi yè":["拽"],"shí shè":["拾"],bāi:["挀","掰"],"kuò guāng":["挄"],nòng:["挊","挵","齈"],"jiào jiāo":["挍","敎","教"],"kuà kū":["挎"],"ná rú":["挐"],"tiāo tiǎo":["挑"],"dié shè":["挕"],liě:["挘","毟"],"yà yǎ":["挜","掗"],"wō zhuā":["挝"],"xié jiā":["挟","挾"],"dǎng dàng":["挡","擋"],"zhèng zhēng":["挣","正","症"],"āi ái":["挨"],"tuō shuì":["挩","捝"],"tǐ tì":["挮"],"suō shā":["挱"],"sā shā suō":["挲"],"kēng qiān":["挳","摼"],"bàng péng":["挷"],"ruó ruá":["挼"],"jiǎo kù":["捁"],"wǔ wú":["捂"],tǒng:["捅","桶","筒","筩","統","綂","统","㛚"],"huò chì":["捇"],"tú shū chá":["捈"],"lǚ luō":["捋"],"shāo shào":["捎","稍"],niē:["捏","揑"],"shù sǒng sōu":["捒"],"yé yú":["捓"],"jué zhuó":["捔"],"bù pú zhì":["捗"],zùn:["捘","銌"],lāo:["捞","撈","粩"],sǔn:["损","損","榫","笋","筍","箰","鎨","隼"],"wàn wǎn wān yù":["捥"],pěng:["捧","淎","皏"],shě:["捨"],"fǔ fù bǔ":["捬"],dáo:["捯"],"luò luǒ wǒ":["捰"],"juǎn quán":["捲"],"chēn tiǎn":["捵"],"niǎn niē":["捻"],"ruó wěi ré":["捼"],zuó:["捽","昨","秨","稓","筰","莋","鈼"],"wò xiá":["捾"],"qìng qiàn":["掅"],"póu pǒu":["掊"],qiā:["掐","葜"],"pái pǎi":["排"],"qiān wàn":["掔"],"yè yē":["掖"],"niè nǐ yì":["掜"],"huò xù":["掝"],"yàn shàn yǎn":["掞"],"zhěng dìng":["掟"],kòng:["控","鞚"],tuī:["推","蓷","藬"],"zōu zhōu chōu":["掫"],tiàn:["掭","舚"],kèn:["掯","裉","褃"],pá:["掱","杷","潖","爬","琶","筢"],"guó guāi":["掴"],"dǎn shàn":["掸","撣"],"chān xiān càn shǎn":["掺"],sāo:["掻","搔","溞","繅","缫","螦","騒","騷","鰠","鱢","鳋"],pèng:["掽","椪","槰","碰","踫"],"zhēng kēng":["揁"],"jiū yóu":["揂"],"jiān jiǎn":["揃","籛"],"pì chè":["揊"],"sāi zǒng cāi":["揌"],"tí dī dǐ":["提"],"zǒng sōng":["揔"],"huáng yóng":["揘"],"zǎn zuàn":["揝"],"xū jū":["揟"],"ké qiā":["揢"],"chuāi chuǎi chuài tuán zhuī":["揣"],"dì tì":["揥"],"lá là":["揦"],là:["揧","楋","溂","瓎","瘌","翋","臘","蝋","蝲","蠟","辢","辣","鑞","镴","鬎","鯻","\uD873\uDD9F"],"jiē qì":["揭"],"chòng dǒng":["揰"],"dié shé yè":["揲"],"jiàn qián jiǎn":["揵"],yé:["揶","爷","爺","瑘","鋣","鎁","铘"],chān:["搀","摻","攙","裧","襜","覘","觇","辿","鋓"],"gē gé":["搁","擱"],"lǒu lōu":["搂","摟"],"chōu zǒu":["搊"],chuāi:["搋"],sūn:["搎","槂","狲","猻","荪","蓀","蕵","薞","飧","飱"],"róng náng nǎng":["搑"],"péng bàng":["搒"],cuō:["搓","瑳","磋","蹉","遳","醝"],"kē è":["搕"],"nù nuò nòu":["搙"],"lā xié xiàn":["搚"],qiǔ:["搝","糗"],"xiǎn xiān":["搟"],"jié zhé":["搩"],"pán bān pó":["搫"],bān:["搬","攽","斑","斒","班","瘢","癍","肦","螁","螌","褩","辬","頒","颁","\uD862\uDF49"],"zhì nái":["搱"],"wā wǎ wà":["搲"],huá:["搳","撶","滑","猾","蕐","螖","譁","鏵","铧","驊","骅","鷨"],"qiāng qiǎng chēng":["搶"],"tián shēn":["搷"],"ná nuò":["搻"],èn:["摁"],"shè niè":["摄","攝"],bìn:["摈","擯","殡","殯","膑","臏","髌","髕","髩","鬂","鬓","鬢"],"shā sà shǎi":["摋"],"chǎn sùn":["摌"],"jiū liú liáo jiǎo náo":["摎"],"féng pěng":["摓"],shuāi:["摔"],"dì tú zhí":["摕"],"qì jì chá":["摖"],"sōu sǒng":["摗"],"liǎn liàn":["摙"],"gài xì":["摡"],"hù chū":["摢"],tàng:["摥","烫","燙","鐋"],"nái zhì":["摨"],"mó mā":["摩"],"jiāng qiàng":["摪"],"áo qiáo":["摮"],"niè chè":["摰"],"mán màn":["摱"],"chàn cán":["摲"],"sè mí sù":["摵"],"biāo biào":["摽"],"juē jué":["撅"],piē:["撆","暼","氕","瞥"],"piě piē":["撇"],"zǎn zān zēn qián":["撍"],"sā sǎ":["撒"],hòng:["撔","訌","讧","闀","鬨"],"héng guàng":["撗"],niǎn:["撚","撵","攆","涊","焾","碾","簐","蹍","蹨","躎","輦","辇"],"chéng zhěng":["撜"],"huī wéi":["撝"],cāo:["撡","操","糙"],"xiāo sōu":["撨"],"liáo liāo":["撩"],"cuō zuǒ":["撮"],"wěi tuǒ":["撱"],cuān:["撺","攛","汆","蹿","躥","鑹","镩"],"qiào yāo jī":["撽"],"zhuā wō":["撾"],"lèi léi":["擂"],nǎng:["擃","攮","曩","灢"],"qíng jǐng":["擏"],kuǎi:["擓","蒯","㧟"],"pǐ bò":["擗"],"bò bāi":["擘"],"jù jǐ":["據"],mēng:["擝"],"sǒu sòu":["擞"],xǐng:["擤","箵","醒"],cā:["擦"],"níng nǐng nìng":["擰"],"zhì jié":["擳"],"là liè":["擸","爉"],"sòu sǒu":["擻"],"lì luò yuè":["擽"],"tī zhāi zhì":["擿"],pān:["攀","潘","眅","萠"],lèi:["攂","泪","涙","淚","禷","类","纇","蘱","酹","銇","錑","頛","頪","類","颣"],"cā sǎ":["攃"],"jùn pèi":["攈"],"lì luò":["攊","躒"],"là lài":["攋","櫴"],"lú luó":["攎"],"zǎn cuán":["攒"],"xiān jiān":["攕"],"mí mǐ mó":["攠"],"zǎn cuán zàn zuān":["攢"],zuàn:["攥"],"lì shài":["攦"],"lì luǒ":["攭"],"guǐ guì":["攱"],"jī qī yǐ":["攲"],fàng:["放"],"wù móu":["敄"],"chù shōu":["敊"],"gé guó è":["敋"],"duó duì":["敓","敚"],"duō què":["敠","敪"],"sàn sǎn":["散"],"dūn duì":["敦","镦"],"qī yǐ jī":["敧"],"xiào xué":["敩"],"shù shǔ shuò":["数","數"],"ái zhú":["敱","敳"],"xiòng xuàn":["敻"],"zhuó zhú":["斀"],"yì dù":["斁"],"lí tái":["斄"],"fěi fēi":["斐"],"yǔ zhōng":["斔"],"dòu dǒu":["斗"],"wò guǎn":["斡"],"tǒu tiǎo":["斢"],dòu:["斣","梪","浢","痘","窦","竇","脰","荳","豆","逗","郖","酘","閗","闘","餖","饾","鬥","鬦","鬪","鬬","鬭"],"yín zhì":["斦"],"chǎn jiè":["斺"],"wū yū yú":["於"],"yóu liú":["斿"],"páng bàng":["旁"],"máo mào":["旄"],"pī bì":["旇"],"xuán xuàn":["旋"],"wú mó":["无"],zǎo:["早","枣","栆","棗","澡","璪","薻","藻","蚤"],gā:["旮"],"gàn hàn":["旰"],"tái yīng":["旲"],"xū xù":["旴"],"tūn zhùn":["旽"],"wù wǔ":["旿"],"pò pèi":["昢"],zòng:["昮","猔","疭","瘲","粽","糉","糭","縦"],ǎi:["昹","毐","矮","蔼","藹","譪","躷","霭","靄"],"huàng huǎng":["晃"],xuǎn:["晅","癣","癬","选","選"],"xù kuā":["晇"],hǒng:["晎"],shài:["晒","曬"],"yūn yùn":["晕","煴"],"shèng chéng":["晟","椉","盛"],"jǐng yǐng":["景"],shǎn:["晱","熌","睒","覢","閃","闪","陕","陝"],"qǐ dù":["晵"],"ǎn àn yǎn":["晻"],"wǎng wàng":["暀"],zàn:["暂","暫","瓉","瓒","瓚","禶","襸","讃","讚","賛","贊","赞","蹔","鄼","錾","鏨","饡"],"yùn yūn":["暈"],"mín mǐn":["暋"],"dǔ shǔ":["暏"],shǔ:["暑","曙","潻","癙","糬","署","薥","薯","藷","蜀","蠴","襡","襩","鱪","鱰","黍","鼠","鼡"],"jiǎn lán":["暕"],nuǎn:["暖","煗","餪"],"bào pù":["暴"],"xī xǐ":["暿"],"pù bào":["曝","瀑"],"qū qǔ":["紶"],"qǔ qū":["曲"],"gèng gēng":["更"],"hū hù":["曶","雽"],"zēng céng":["曽","橧"],"céng zēng":["曾","竲"],"cǎn qián jiàn":["朁"],"qiè hé":["朅"],"bì pí":["朇","禆","笓","裨"],"yǒu yòu":["有"],"bān fén":["朌","鳻"],"fú fù":["服","洑"],"fěi kū":["朏","胐"],"qú xù chǔn":["朐"],"juān zuī":["朘"],"huāng máng wáng":["朚"],"qī jī":["期"],"tóng chuáng":["朣","橦"],zhá:["札","牐","箚","蚻","譗","鍘","铡","閘","闸"],"zhú shù shú":["朮"],"shù shú zhú":["术"],"zhū shú":["朱"],"pǔ pò pō piáo":["朴"],"dāo tiáo mù":["朷"],"guǐ qiú":["朹"],xiǔ:["朽","滫","潃","糔"],"chéng chēng":["朾"],zá:["杂","沯","砸","襍","雑","雜","雥","韴"],"yú wū":["杅"],"gān gǎn":["杆"],"chā chà":["杈"],"shān shā":["杉"],cūn:["村","皴","竴","膥","踆","邨"],"rèn ér":["杒","梕"],"sháo biāo":["杓"],"dì duò":["杕","枤"],"gū gài":["杚"],"yí zhì lí duò":["杝"],"gàng gāng":["杠"],"tiáo tiāo":["条","條"],"mà mǎ":["杩"],"sì zhǐ xǐ":["杫"],"yuán wán":["杬","蚖"],"bèi fèi":["杮"],"shū duì":["杸"],"niǔ chǒu":["杻"],"wò yuè":["枂","臒"],máo:["枆","毛","氂","渵","牦","矛","罞","茅","茆","蝥","蟊","軞","酕","鉾","錨","锚","髦","鶜"],"pī mì":["枈"],àng:["枊","盎","醠"],"fāng bìng":["枋"],"hù dǐ":["枑"],xín:["枔","襑","鐔","鬵"],"yāo yǎo":["枖"],"ě è":["枙"],"zhī qí":["枝"],"cōng zōng":["枞","樅"],"xiān zhēn":["枮"],"tái sì":["枱"],"gǒu jǔ gōu":["枸"],"bāo fú":["枹"],"yì xiè":["枻","栧"],"tuó duò":["柁","馱","駄","驮"],"yí duò lí":["柂"],"nǐ chì":["柅"],"pán bàn":["柈","跘"],"yǎng yàng yāng yīng":["柍"],"fù fū fǔ":["柎"],"bǎi bó bò":["柏"],mǒu:["某"],"sháo shào":["柖"],zhè:["柘","樜","浙","淛","蔗","蟅","這","鷓","鹧","䗪"],"yòu yóu":["柚","櫾"],"guì jǔ":["柜"],"zhà zuò":["柞"],"dié zhì":["柣","眰"],"zhā zǔ zū":["柤"],"chá zhā":["查","査"],"āo ào":["柪","軪"],"bā fú pèi bó biē":["柭"],"duò zuó wù":["柮"],"bì bié":["柲"],"zhù chù":["柷"],"bēi pēi":["柸"],"shì fèi":["柹"],"shān zhà shi cè":["栅"],"lì yuè":["栎","櫟"],"qì qiè":["栔","砌"],"qī xī":["栖","蹊"],"guā kuò":["栝"],"bīng bēn":["栟"],"xiào jiào":["校"],"jiàn zùn":["栫","袸"],"yǒu yù":["栯"],"hé hú":["核"],gēn:["根","跟"],"zhī yì":["栺"],"gé gē":["格"],"héng háng":["桁"],"guàng guāng":["桄"],"yí tí":["桋","荑"],sāng:["桑","桒","槡"],"jú jié":["桔"],"yú móu":["桙"],"ráo náo":["桡","橈"],"guì huì":["桧","檜"],"chén zhèn":["桭"],"tīng yíng":["桯"],"bó po":["桲"],"bèn fàn":["桳"],"fēng fèng":["桻","葑"],"sù yìn":["梀"],"tǐng tìng":["梃"],"xuān juān xié":["梋"],"tú chá":["梌"],"āo yòu":["梎"],kuǎn:["梡","欵","款","歀"],"shāo sào":["梢"],"qín chén cén":["梣"],"lí sì qǐ":["梩"],"chān yán":["梴"],"bīn bīng":["梹","槟","檳"],"táo chóu dào":["梼"],"cōng sōng":["棇"],"gùn hùn":["棍"],"dé zhé":["棏"],"pái bèi pèi":["棑"],"bàng pǒu bèi bēi":["棓"],"dì dài tì":["棣"],sēn:["森","椮","槮","襂"],"rěn shěn":["棯"],"léng lēng líng":["棱"],"fú sù":["棴"],"zōu sǒu":["棷"],zōu:["棸","箃","緅","諏","诹","邹","郰","鄒","鄹","陬","騶","驺","鯫","鲰","黀","齱","齺"],"zhào zhuō":["棹"],"chēn shēn":["棽"],"jiē qiè":["椄"],"yǐ yī":["椅"],"chóu zhòu diāo":["椆"],"qiāng kōng":["椌"],"zhuī chuí":["椎"],"bēi pí":["椑"],mēn:["椚"],"quān juàn quán":["椦"],"duǒ chuán":["椯"],"wěi huī":["椲"],"jiǎ jiā":["椵"],"hán jiān":["椷"],"shèn zhēn":["椹"],"yàn yà":["椻"],"zhā chá":["楂"],"guō kuǎ":["楇"],"jí zhì":["楖"],"kǔ hù":["楛"],"yóu yǒu":["楢"],"sǒng cōng":["楤"],"yuán xuàn":["楥"],"yǎng yàng yīng":["楧"],pián:["楩","胼","腁","賆","蹁","駢","騈","骈","骿","㛹"],"dié yè":["楪"],"dùn shǔn":["楯"],"còu zòu":["楱"],"dì dǐ shì":["楴"],"kǎi jiē":["楷"],"róu ròu":["楺"],"lè yuè":["楽"],"wēn yùn":["榅","鞰"],lǘ:["榈","櫚","氀","膢","藘","閭","闾","驢","驴"],shén:["榊","神","鉮","鰰","\uD872\uDF39"],"bī pi":["榌"],"zhǎn niǎn zhèn":["榐"],"fú fù bó":["榑"],"jiàn jìn":["榗"],"bǎng bàng":["榜"],"shā xiè":["榝","樧"],nòu:["槈","耨","鎒","鐞"],"qiǎn lián xiàn":["槏"],gàng:["槓","焵","焹","筻","鿍"],gāo:["槔","槹","橰","櫜","睾","篙","糕","羔","臯","韟","餻","高","髙","鷎","鷱","鼛"],"diān zhěn zhēn":["槙"],"kǎn jiàn":["槛"],"xí dié":["槢"],"jī guī":["槣"],"róng yōng":["槦"],"tuán shuàn quán":["槫"],"qì sè":["槭"],"cuī zhǐ":["槯"],"yǒu chǎo":["槱"],"màn wàn":["槾"],"lí chī":["樆"],"léi lěi":["樏","櫑","礌"],"cháo jiǎo chāo":["樔"],"chēng táng":["樘"],"jiū liáo":["樛"],"mó mú":["模"],"niǎo mù":["樢"],"héng hèng":["横","橫"],xuě:["樰","膤","艝","轌","雪","鱈","鳕"],"fá fèi":["橃"],rùn:["橍","润","潤","膶","閏","閠","闰"],"zhǎn jiǎn":["橏"],shùn:["橓","瞚","瞬","舜","蕣","順","顺","鬊"],"tuí dūn":["橔"],"táng chēng":["橖"],"sù qiū":["橚"],"tán diàn":["橝"],"fén fèn fèi":["橨"],"rǎn yān":["橪"],"cū chu":["橻"],"shū qiāo":["橾"],"píng bò":["檘"],"zhái shì tú":["檡"],"biǎo biāo":["檦"],"qiān lián":["檶"],"nǐ mí":["檷"],"jiàn kǎn":["檻"],"nòu ruǎn rú":["檽"],"jī jì":["櫅","禨"],"huǎng guǒ gǔ":["櫎"],"lǜ chū":["櫖"],"miè mèi":["櫗"],ōu:["櫙","欧","歐","殴","毆","瓯","甌","膒","藲","謳","讴","鏂","鴎","鷗","鸥"],"zhù zhuó":["櫡"],"jué jì":["櫭"],"huái guī":["櫰"],"chán zhàn":["欃"],"wéi zuì":["欈"],cáng:["欌","鑶"],"yù yì":["欥"],"chù qù xì":["欪"],"kài ài":["欬"],"yì yīn":["欭"],"xì kài":["欯"],"shuò sòu":["欶"],"ǎi ēi éi ěi èi ê̄ ế ê̌ ề":["欸"],"qī yī":["欹"],"chuā xū":["欻"],"chǐ chuài":["欼"],"kǎn qiàn":["欿"],"kǎn kè":["歁"],"chuǎn chuán":["歂"],"yīn yān":["歅"],"jìn qūn":["歏"],pēn:["歕"],"xū chuā":["歘"],"xī shè":["歙"],"liǎn hān":["歛"],"zhì chí":["歭"],"sè shà":["歰"],sǐ:["死"],"wěn mò":["歾"],piǎo:["殍","皫","瞟","醥","顠"],"qíng jìng":["殑"],"fǒu bó":["殕"],"zhí shi":["殖"],"yè yān yàn":["殗"],"hūn mèi":["殙"],chòu:["殠","臰","遚"],"kuì huì":["殨","溃","潰"],cuàn:["殩","熶","爨","窜","竄","篡","簒"],"yīn yān yǐn":["殷"],"qìng kēng shēng":["殸"],"yáo xiáo xiào":["殽"],"gū gǔ":["毂","蛄"],"guàn wān":["毌"],"dú dài":["毒"],"xún xùn":["毥"],mú:["毪","氁"],"dòu nuò":["毭"],"sāi suī":["毸"],lu:["氇"],sào:["氉","瘙","矂","髞"],"shì zhī":["氏"],"dī dǐ":["氐"],"máng méng":["氓"],"yáng rì":["氜"],shuǐ:["水","氵","氺","閖"],"zhěng chéng zhèng":["氶"],tǔn:["氽"],"fán fàn":["氾"],"guǐ jiǔ":["氿"],"bīn pà pā":["汃"],"zhuó què":["汋"],"dà tài":["汏"],pìn:["汖","牝","聘"],"hàn hán":["汗","馯"],tu:["汢"],"tāng shāng":["汤","湯"],"zhī jì":["汥"],"gàn hán cén":["汵"],"wèn mén":["汶"],"fāng pāng":["汸"],"hǔ huǎng":["汻"],"niú yóu":["汼"],hàng:["沆"],"shěn chén":["沈"],"dùn zhuàn":["沌"],"nǜ niǔ":["沑"],"méi mò":["沒","没"],"tà dá":["沓"],"mì wù":["沕"],"hóng pāng":["沗"],"shā shà":["沙"],"zhuǐ zǐ":["沝"],"ōu òu":["沤","漚"],"jǔ jù":["沮"],"tuō duó":["沰"],"mǐ lì":["沵"],"yí chí":["沶"],"xiè yì":["泄"],"bó pō":["泊"],"mì bì":["泌","秘"],"chù shè":["泏"],"yōu yòu āo":["泑"],"pēng píng":["泙","硑"],"pào pāo":["泡"],"ní nì":["泥","秜"],"yuè sà":["泧"],"jué xuè":["泬","疦"],"lóng shuāng":["泷","瀧"],"luò pō":["泺","濼"],"zé shì":["泽","澤"],"sǎ xǐ":["洒"],"sè qì zì":["洓"],"xǐ xiǎn":["洗"],"kǎo kào":["洘"],"àn yàn è":["洝"],"lěi lèi":["洡"],"qiè jié":["洯"],"qiǎn jiān":["浅"],"jì jǐ":["济","済","濟","纪"],"hǔ xǔ":["浒","滸"],"jùn xùn":["浚","濬"],"yǐng chéng yíng":["浧"],"liàn lì":["浰"],"féng hóng":["浲","溄"],"jiǒng jiōng":["浻"],"suī něi":["浽"],"yǒng chōng":["涌"],"tūn yūn":["涒"],"wō guō":["涡","渦"],hēng:["涥","脝"],"zhǎng zhàng":["涨","漲"],"shòu tāo":["涭"],shuàn:["涮","腨"],"kōng náng":["涳"],"wò wǎn yuān":["涴"],"tuō tuò":["涶"],wō:["涹","猧","窝","窩","莴","萵","蜗","蝸","踒"],"qiè jí":["淁"],"guǒ guàn":["淉"],"lín lìn":["淋","獜","疄"],"tǎng chǎng":["淌"],"nào chuò zhuō":["淖"],"péng píng":["淜"],féi:["淝","肥","腓","蜰"],"pì pèi":["淠"],"niǎn shěn":["淰"],"biāo hǔ":["淲"],"chún zhūn":["淳"],"hùn hún":["混"],qiǎn:["淺","繾","缱","肷","膁","蜸","譴","谴","遣","鑓"],"wèn mín":["渂"],"rè ruò luò":["渃"],"dú dòu":["渎","瀆","读"],"jiàn jiān":["渐","溅","漸","濺"],"miǎn shéng":["渑","澠"],"nuǎn nuán":["渜"],"qiú wù":["渞"],"tíng tīng":["渟"],"dì tí dī":["渧"],"gǎng jiǎng":["港"],"hōng qìng":["渹"],tuān:["湍","煓"],"huì mǐn xū":["湏"],"xǔ xù":["湑"],pén:["湓","瓫","盆","葐"],"mǐn hūn":["湣"],"tuàn nuǎn":["湪"],"qiū jiǎo":["湫","湬"],"yān yīn":["湮"],"bàn pán":["湴"],"zhuāng hún":["湷"],"yàn guì":["溎"],"lián liǎn nián xián xiàn":["溓"],"dá tǎ":["溚","鿎"],"liū liù":["溜","澑","蹓"],lùn:["溣"],mǎ:["溤","犸","獁","玛","瑪","码","碼","遤","鎷","馬","马","鰢","鷌"],"zhēn qín":["溱"],"nì niào":["溺"],"chù xù":["滀","畜"],"wěng wēng":["滃"],"hào xuè":["滈"],"qì xì xiē":["滊"],"xíng yíng":["滎"],"zé hào":["滜"],"piāo piào piǎo":["漂"],"cóng sǒng":["漎"],"féng péng":["漨"],"luò tà":["漯"],"pēng bēn":["漰"],"chóng shuāng":["漴"],"huǒ kuò huò":["漷"],"liáo liú":["漻"],"cuǐ cuī":["漼"],"cóng zǒng":["潀"],"cóng zōng":["潈"],"pì piē":["潎"],"dàng xiàng":["潒"],"huáng guāng":["潢"],"liáo lào lǎo":["潦"],"cōng zòng":["潨"],"zhí zhì":["潪"],"tān shàn":["潬"],"tú zhā":["潳"],"sàn sǎ":["潵"],hēi:["潶","黑","黒","\uD872\uDF76"],"chéng dèng":["澄","瀓"],"cūn cún":["澊"],"péng pēng":["澎"],"hòng gǒng":["澒","銾"],"wàn màn":["澫"],"kuài huì":["澮"],"guō wō":["濄"],"pēn fén":["濆"],"jí shà":["濈"],"huì huò":["濊"],"dǐng tìng":["濎"],"mǐ nǐ":["濔"],"bì pì":["濞"],"cuì zuǐ":["濢"],"hù huò":["濩"],"ǎi kài kè":["濭"],"wěi duì":["濻","瀢"],"zàn cuán":["濽","灒"],"yǎng yàng":["瀁"],"wǎng wāng":["瀇"],"mò miè":["瀎","眜"],suǐ:["瀡","膸","髓"],"huái wāi":["瀤"],"zùn jiàn":["瀳"],"yīng yǐng yìng":["瀴"],"ráng ràng":["瀼"],shuàng:["灀"],"zhuó jiào zé":["灂"],sǎ:["灑","訯","靸"],"luán luàn":["灓"],"dǎng tǎng":["灙"],"xún quán quàn":["灥"],"huǒ biāo":["灬"],"zhà yù":["灹"],"fén bèn":["炃"],"jiǒng guì":["炅"],"pàng fēng":["炐"],quē:["炔","缺","缼","蒛"],biān:["炞","煸","甂","砭","笾","箯","籩","編","编","蝙","邉","邊","鍽","鞭","鯾","鯿","鳊"],"zhāo zhào":["炤"],"zhuō chù":["炪"],"pào páo bāo":["炮"],"páo fǒu":["炰"],"shǎn qián shān":["炶"],"zhà zhá":["炸"],"jiǎo yào":["烄"],quǎn:["烇","犬","犭","畎","綣","绻","虇"],"yàng yáng":["烊"],"lào luò":["烙"],"huí huǐ":["烠"],rè:["热","熱"],"fú páo":["烰"],"xiè chè":["烲","焎"],"yàn shān":["烻"],"hūn xūn":["焄"],kào:["焅","犒","銬","铐","靠","鮳","鯌","鲓","㸆"],"juān yè":["焆"],"jùn qū":["焌"],"tāo dào":["焘"],"chǎo jù":["焣"],"wò ài":["焥"],"zǒng cōng":["焧"],"xī yì":["焬"],"xìn xīn":["焮"],"chāo zhuō":["焯"],"xiǒng yīng":["焸","焽"],kuǐ:["煃","跬","蹞","頍","\uD86E\uDC06"],"huī yùn xūn":["煇"],"jiǎo qiāo":["煍"],"qián shǎn shān":["煔"],"xī yí":["煕"],"shà shā":["煞"],"yè zhá":["煠"],"yáng yàng":["煬"],"ēn yūn":["煾"],"yūn yǔn":["熅"],"hè xiāo":["熇"],xióng:["熊","熋","雄"],"xūn xùn":["熏","爋"],gòng:["熕","貢","贡"],liū:["熘"],"cōng zǒng":["熜"],"lù āo":["熝"],"shú shóu":["熟"],"fēng péng":["熢"],"cuǐ suī":["熣"],tēng:["熥","膯","鼟"],"yùn yù":["熨"],"áo āo":["熬"],"hàn rǎn":["熯"],"ōu ǒu":["熰"],"huáng huǎng":["熿"],"chǎn dǎn chàn":["燀"],"jiāo zhuó qiáo jué":["燋"],"yàn yān":["燕"],"tài liè":["燤"],āo:["爊"],"yàn xún":["爓"],"jué jiào":["爝","覐","覚","覺","觉"],"lǎn làn":["爦"],"zhuǎ zhǎo":["爪"],"zhǎo zhuǎ":["爫"],"fù fǔ":["父"],diē:["爹","褺","跌"],zāng:["牂","羘","臧","賍","賘","贓","贜","赃","髒"],"piàn piān":["片"],"biān miàn":["牑"],bǎng:["牓","綁","绑"],"yǒu yōng":["牗"],"chēng chèng":["牚","竀"],niú:["牛","牜"],"jiū lè":["牞"],"mù móu":["牟"],māng:["牤"],"gē qiú":["牫"],"yòu chōu":["牰"],"tè zhí":["犆"],bēn:["犇","錛","锛"],"jiān qián":["犍","玪"],má:["犘","痲","蔴","蟇","麻"],"máo lí":["犛"],"bá quǎn":["犮"],"zhuó bào":["犳"],"àn hān":["犴"],"kàng gǎng":["犺"],"pèi fèi":["犻"],"fān huān":["犿"],kuáng:["狂","狅","誑","诳","軖","軠","鵟","\uD86D\uDEED"],"yí quán chí":["狋"],"xīng shēng":["狌"],"tuó yí":["狏"],kǔ:["狜","苦"],"huán huān":["狟"],"hé mò":["狢"],"tà shì":["狧"],"máng dòu":["狵"],"xī shǐ":["狶"],suān:["狻","痠","酸"],"bài pí":["猈"],"jiān yàn":["猏","豣"],"yī yǐ":["猗"],"yá wèi":["猚"],cāi:["猜"],"māo máo":["猫","貓"],"chuàn chuān":["猭"],"tuān tuàn":["猯","貒"],"yà jiá qiè":["猰"],"hè xiē gé hài":["猲"],"biān piàn":["猵","獱"],"bó pò":["猼"],"háo gāo":["獋"],"fén fèn":["獖"],"yào xiāo":["獟"],"shuò xī":["獡"],"gé liè xiē":["獦"],"nòu rú":["獳"],"náo nǎo yōu":["獶"],ráng:["獽","瓤","禳","穣","穰","蘘","躟","鬤"],"náo yōu":["獿"],"lǜ shuài":["率"],"wáng wàng":["王"],"yáng chàng":["玚"],"mín wén":["玟"],"bīn fēn":["玢"],"mén yǔn":["玧"],"qiāng cāng":["玱","瑲","篬"],"án gān":["玵"],"xuán xián":["玹"],"cī cǐ":["玼","跐"],"yí tāi":["珆"],"zǔ jù":["珇"],fà:["珐","琺","蕟","髪","髮"],"yín kèn":["珢"],"huī hún":["珲"],"xuán qióng":["琁"],"fú fū":["琈"],"bǐng pín":["琕"],"cuì sè":["琗"],"yù wéi":["琟"],"tiǎn tiàn":["琠"],"zhuó zuó":["琢"],"běng pěi":["琣"],guǎn:["琯","璭","痯","筦","管","舘","輨","錧","館","馆","鳤"],"hún huī":["琿"],"xié jiē":["瑎"],"chàng dàng yáng":["瑒"],"tiàn zhèn":["瑱"],"bīn pián":["瑸","璸"],"tú shū":["瑹"],cuǐ:["璀","皠","趡"],"zǎo suǒ":["璅"],"jué qióng":["璚"],"lú fū":["璷"],"jì zī":["璾"],suí:["瓍","綏","绥","遀","随","隨","髄"],"mí xǐ":["瓕"],"qióng wěi wèi":["瓗"],"huán yè yà":["瓛"],"bó páo":["瓟"],"zhí hú":["瓡"],piáo:["瓢","闝"],"wǎ wà":["瓦"],"xiáng hóng":["瓨"],wèng:["瓮","甕","罋","蕹","齆"],"shèn shén":["甚"],ruí:["甤","緌","蕤"],yòng:["用","砽","苚","蒏","醟","㶲"],shuǎi:["甩"],béng:["甭","甮"],"yóu zhá":["甴"],"diàn tián shèng":["甸"],"tǐng dīng":["町","甼"],"zāi zī":["甾"],"bì qí":["畁"],"dá fú":["畗"],"cè jì":["畟"],"zāi zī tián":["畠"],"zhì chóu shì":["畤"],"fān pān":["畨","番"],"shē yú":["畬"],"dāng dàng dǎng":["當"],"jiāng qiáng":["疆"],"pǐ yǎ shū":["疋"],"jié qiè":["疌"],"yí nǐ":["疑"],nè:["疒","眲","訥","讷"],"gē yì":["疙"],"nüè yào":["疟","瘧"],"lì lài":["疠","癘"],"yǎ xiā":["疨"],xuē:["疶","蒆","薛","辥","辪","靴","鞾"],"dǎn da":["疸"],"fá biǎn":["疺"],"fèi féi":["疿","痱"],"shān diàn":["痁"],"téng chóng":["痋"],"tōng tóng":["痌"],"wěi yòu yù":["痏"],"tān shǐ":["痑"],"pū pù":["痡","鋪"],"bēng péng":["痭"],"má lìn":["痳"],"tiǎn diàn":["痶"],"ān yè è":["痷"],"kē ē":["痾"],"zhì chì":["瘈"],"jiǎ xiá xiā":["瘕"],"lěi huì":["瘣"],"chài cuó":["瘥"],"diān chēn":["瘨"],"da dá":["瘩"],"biě biē":["瘪"],qué:["瘸"],"dàn dān":["癉"],"guì wēi":["癐"],"nòng nóng":["癑"],"biē biě":["癟"],"bō bǒ":["癷"],bái:["白"],"jí bī":["皀"],"de dì dí dī":["的"],"pā bà":["皅"],"gāo háo":["皋"],"gāo yáo":["皐"],"lì luò bō":["皪"],"zhā cǔ":["皻"],"zhāo zhǎn dǎn":["皽"],"jiān jiàn":["监","監","鋻","间","鞬"],"gài gě hé":["盖"],"máng wàng":["盳"],yuǎn:["盶","逺","遠"],"tián xián":["盷"],"xiāng xiàng":["相"],dǔn:["盹","趸","躉"],"xì pǎn":["盻"],"shěng xǐng":["省"],"yún hùn":["眃"],"miǎn miàn":["眄"],"kàn kān":["看"],"yìng yāng yǎng":["眏"],"yǎo āo ǎo":["眑"],"jū xū kōu":["眗"],"yí chì":["眙"],"dié tì":["眣"],"bǐng fǎng":["眪"],"pàng pán":["眫"],"mī mí":["眯","瞇"],"xuàn shùn xún":["眴"],tiào:["眺","粜","糶","覜","趒"],"zhe zhuó zháo zhāo":["着"],"qiáo shào xiāo":["睄"],"cuó zhuài":["睉"],gùn:["睔","謴"],"suì zuì":["睟"],"pì bì":["睥","稫","辟"],"yì zé gāo":["睪"],"xǐng xìng":["睲"],"guì wèi kuì":["瞆"],"kòu jì":["瞉"],"qióng huán":["瞏"],"mán mén":["瞒","瞞"],"diāo dōu":["瞗"],"lou lóu lǘ":["瞜"],"shùn rún":["瞤"],"liào liǎo":["瞭","钌"],"jiàn xián":["瞯"],"wǔ mí":["瞴"],"guì kuì":["瞶"],"nǐng chēng":["矃"],"huò yuè":["矆"],"mēng méng":["矇"],"kuàng guō":["矌"],"guàn quán":["矔"],"mǎn mán":["矕"],"jīn guān qín":["矜"],"jīn qín guān":["矝"],"yù xù jué":["矞"],"jiǎo jiáo":["矫","矯"],duǎn:["短"],"shí dàn":["石"],"gāng qiāng kòng":["矼"],"huā xū":["砉"],"pīn bīn fēn":["砏"],"yán yàn":["研","硏"],"luǒ kē":["砢"],"fú fèi":["砩","笰"],"zhǔ zhù":["砫"],"lá lì lā":["砬"],"kuāng guāng":["硄"],"gè luò":["硌"],"shuò shí":["硕","碩"],"wèi wéi ái":["硙"],"què kè kù":["硞"],"mǎng bàng":["硥"],"luò lòng":["硦"],"yǒng tóng":["硧"],nüè:["硸","虐"],"kēng kěng":["硻"],"yān yǎn":["硽"],"zhuì chuí duǒ":["硾"],"kōng kòng":["硿"],"zòng cóng":["碂"],"jiān zhàn":["碊"],"lù liù":["碌","陆"],"què xī":["碏"],"lún lǔn lùn":["碖"],"náo gāng":["碙"],"jié yà":["碣"],"wèi wěi":["碨"],"tí dī":["碮"],"chá chā":["碴"],"qiāo què":["碻"],"sù xiè":["碿"],"liú liù":["磂","遛","鎦","馏"],"sī tí":["磃"],"bàng páng":["磅"],"huá kě gū":["磆"],"wěi kuǐ":["磈"],"xiá qià yà":["磍"],"lián qiān":["磏"],"wèi ái gài":["磑"],"lá lā":["磖"],"áo qiāo":["磝"],"pēng pèng":["磞","閛"],"yīn yǐn":["磤"],"lěi léi":["磥"],"mó mò":["磨"],"qì zhú":["磩"],"láo luò":["磱"],"pán bō":["磻"],"jí shé":["磼"],"hé qiāo qiào":["礉"],"kè huò":["礊"],"què hú":["礐"],"è qì":["礘"],cǎ:["礤","礸"],"xián xín":["礥"],"léi lěi lèi":["礧"],"yán yǎn":["礹"],"qí zhǐ":["祇","蚔"],"bēng fāng":["祊"],"bì mì":["祕"],suàn:["祘","笇","筭","算","蒜"],"piào piāo":["票"],"jì zhài":["祭"],"shuì lèi":["祱"],"jìn jīn":["禁"],"chán shàn":["禅"],"yáng shāng":["禓"],"zhī zhǐ tí":["禔"],"shàn chán":["禪"],"yú yù ǒu":["禺"],"zǐ zì":["秄"],"chá ná":["秅"],"zhǒng zhòng chóng":["种"],"hào mào":["秏"],"kù kū":["秙"],zū:["租","葅"],chèng:["秤","穪"],"huó kuò":["秮","秳"],"chēng chèn chèng":["称","稱"],"shì zhì":["秲","銴"],"fù pū":["秿"],"xùn zè":["稄"],"tú shǔ":["稌"],"zhùn zhǔn":["稕"],"jī qí":["稘","綨","觭"],"léng líng":["稜"],"zuì zú sū":["稡"],"xì qiè":["稧","郄"],"zhǒng zhòng":["種"],"zōng zǒng":["稯"],"xián jiān liàn":["稴"],"zī jiū":["稵"],"jī qǐ":["稽"],ròng:["穃"],"shān cǎn cēn":["穇"],"mén méi":["穈"],"jǐ jì":["穖"],"xiāo rào":["穘"],"zhuō bó":["穛"],"tóng zhǒng zhòng":["穜"],zuō:["穝"],"biāo pāo":["穮","藨"],"zhuō jué":["穱"],"cuán zàn":["穳"],"kōng kòng kǒng":["空"],"yū yǔ":["穻"],zhǎi:["窄","鉙"],báo:["窇","雹"],"kū zhú":["窋"],"jiào liáo liù":["窌"],"wā guī":["窐"],"tiǎo yáo":["窕"],"xūn yìn":["窨"],"yà yē":["窫"],"tián diān yǎn":["窴"],"chāo kē":["窼"],"kuǎn cuàn":["窽","窾"],"chù qì":["竐"],"qǔ kǒu":["竘"],"jìng zhěn":["竧"],"kǎn kàn":["竷"],"zhú dǔ":["竺"],"lè jīn":["竻"],"zhuì ruì":["笍"],"háng hàng":["笐"],"cén jìn hán":["笒"],"dā xiá nà":["笚"],"zé zuó":["笮"],"lóng lǒng":["笼","篭","籠","躘","龓"],"zhù zhú":["筑","築"],"dá dā":["答","荅"],shāi:["筛","篩","簁","籭"],"yún jūn":["筠"],"láng làng":["筤","郎","阆"],"zhì zhǐ":["筫"],o:["筽"],"póu bù fú pú":["箁"],"pái bēi":["箄"],gè:["箇","虼","鉻","铬"],"tái chí":["箈"],"guǎi dài":["箉"],"zhào dào":["箌"],"jīng qìng":["箐"],"lín lǐn":["箖"],"jùn qūn":["箘"],"shī yí":["箷","釶"],"yuē yào chuò":["箹"],"xiāo shuò qiào":["箾"],"gōng gǎn lǒng":["篢"],"páng péng":["篣"],"zhuó huò":["篧"],"jiǎn jiān":["篯"],"dí zhú":["篴"],"zān cēn cǎn":["篸"],"zhuàn suǎn zuàn":["篹"],"piǎo biāo":["篻"],"guó guì":["簂"],"cè jí":["簎"],"mì miè":["簚"],"shāi sī":["簛"],"sǔn zhuàn":["簨"],"gàn gǎn":["簳"],"bò bǒ":["簸"],"bó bù":["簿"],shi:["籂"],"zhēn jiān":["籈"],"zhuàn zuǎn":["籑"],"fān pān biān":["籓"],"sǒu shǔ":["籔"],zuǎn:["籫","繤","纂","纉","纘","缵"],nǚ:["籹","釹","钕"],"shā chǎo":["粆"],"kāng jīng":["粇"],fěn:["粉","黺"],cū:["粗","觕","麁","麄","麤"],"nián zhān":["粘"],"cè sè":["粣"],"zhōu yù":["粥"],"shēn sǎn":["糁"],"biān biǎn":["糄","萹"],miàn:["糆","面","靣","麪","麫","麵","麺"],"hú hū hù":["糊"],"gǔ gòu":["糓"],"mí méi":["糜"],"sǎn shēn":["糝","糣"],zāo:["糟","蹧","遭","醩"],"mì sī":["糸"],"jiū jiǔ":["糺"],"xì jì":["系","繫"],"zhēng zhěng":["糽"],"chà chǎ":["紁","衩"],"yuē yāo":["約","约"],"hóng gōng":["紅","红"],"hé gē":["紇","纥"],"wén wèn":["紋","纹"],fóu:["紑"],"jì jié jiè":["紒"],"pī pí bǐ":["紕","纰"],"jīn jìn":["紟"],"zhā zā":["紥","紮"],hā:["紦"],"fū fù":["紨"],"chōu chóu":["紬"],"lèi léi lěi":["累"],"bō bì":["紴"],"tiǎn zhěn":["紾"],"jiōng jiǒng":["絅"],"jié jiē":["結","结","节"],"guà kuā":["絓"],"bǎi mò":["絔"],"gēng huán":["絙"],"jié xié":["絜"],"quán shuān":["絟"],"gǎi ǎi":["絠"],"luò lào":["絡","络"],"bīng bēng pēng":["絣"],"gěi jǐ":["給","给"],"tóng tōng dòng":["絧"],"tiào diào dào":["絩"],"lěi lèi léi":["絫"],"gāi hài":["絯"],"chī zhǐ":["絺"],"wèn miǎn mán wàn":["絻"],"huán huàn wàn":["綄"],"qīn xiān":["綅"],"tì tí":["綈"],"yán xiàn":["綖"],"zōng zèng zòng":["綜"],"chēn lín":["綝"],"zhǔn zhùn":["綧"],"qiàn qīng zhēng":["綪"],"qìng qǐ":["綮"],"lún guān":["綸","纶"],"chuò chāo":["綽","绰"],"tián tǎn chān":["緂"],"lǜ lù":["緑","绿"],"ruǎn ruàn":["緛"],"jí qī":["緝"],"zhòng chóng":["緟","重"],"miáo máo":["緢"],"xiè yè":["緤"],huǎn:["緩","缓","㬊"],"gēng gèng":["緪","縆"],"tōu xū shū":["緰"],"zōng zòng":["緵","繌"],"yùn gǔn":["緷"],"guā wō":["緺"],"yùn yūn wēn":["緼","縕"],"bāng bàng":["縍"],"gǔ hú":["縎","鶻"],"cī cuò suǒ":["縒"],"cuī shuāi":["縗"],"róng rǒng ròng":["縙"],"zài zēng":["縡"],cài:["縩","菜","蔡"],"féng fèng":["縫"],"suō sù":["縮","缩"],"yǎn yǐn":["縯","酓"],"zòng zǒng":["縱","纵"],"zhuàn juàn":["縳"],"mò mù":["縸","莫"],"piǎo piāo":["縹","缥"],"fán pó":["繁"],"bēng bèng":["繃"],"móu miù miào liǎo":["繆"],"yáo yóu zhòu":["繇"],"zēng zèng":["繒","缯"],"jú jué":["繘"],"chuō chuò":["繛"],"zūn zǔn":["繜"],rào:["繞","绕","遶"],"chǎn chán":["繟"],"huì huí":["繢","缋","藱"],"qiāo sāo zǎo":["繰"],"jiǎo zhuó":["繳","缴"],"dàn tán chán":["繵"],nǒng:["繷"],"pú fú":["纀"],"yào lì":["纅"],"rǎng xiāng":["纕"],"lí sǎ xǐ lǐ":["纚"],"xiān qiàn":["纤"],"jīng jìng":["经"],"tí tì":["绨"],"bēng běng bèng":["绷"],"zōng zèng":["综"],"jī qī":["缉"],"wēn yùn yūn":["缊"],"fèng féng":["缝"],"shuāi cuī suī":["缞"],"miù móu liáo miào mù":["缪"],"qiāo sāo":["缲"],fǒu:["缶","缹","缻","雬","鴀"],"bà ba pí":["罢","罷"],"guà guǎi":["罫"],"yáng xiáng":["羊","羏"],"měi gāo":["羙"],"yì xī":["羛"],"qiǎng qiān":["羟"],"qiāng kòng":["羫"],"qián xián yán":["羬"],nóu:["羺"],"hóng gòng":["羾"],"pī bì pō":["翍"],"qú yù":["翑"],ké:["翗"],"qiào qiáo":["翘"],"zhái dí":["翟"],"dào zhōu":["翢"],"hóu qú":["翵"],shuǎ:["耍"],"ruǎn nuò":["耎"],"ér nài":["耏"],"zhuān duān":["耑"],"pá bà":["耙"],"chí sì":["耛"],"qù chú":["耝"],"lún lǔn":["耣"],"jí jiè":["耤"],"tāng tǎng":["耥"],pǎng:["耪","覫"],"zhá zé":["耫"],"yē yé":["耶"],"yún yíng":["耺"],"wà tuǐ zhuó":["聉"],"ér nǜ":["聏"],"tiē zhé":["聑"],"dǐ zhì":["聜"],qié:["聺"],"nǐ jiàn":["聻"],"lèi lē":["肋"],cào:["肏","襙","鄵","鼜"],"bó dí":["肑"],"xiào xiāo":["肖"],"dù dǔ":["肚"],chāi:["肞","釵","钗"],"hán qín hàn":["肣"],"pàng pán pàn":["肨","胖"],"zhūn chún":["肫"],āng:["肮","骯"],"yù yō":["育"],"pí bǐ bì":["肶"],"fèi bì":["胇"],"bèi bēi":["背"],"fèi zǐ":["胏"],"píng pēng":["胓","苹"],"fū fú zhǒu":["胕"],"shèng shēng":["胜"],kuà:["胯","跨","骻"],"gǎi hǎi":["胲"],"gē gé gā":["胳"],"néng nài":["能"],"guī kuì":["胿"],"mài mò":["脉"],"zāng zàng":["脏"],"jiǎo jué":["脚","角"],cuǒ:["脞"],"de te":["脦"],"zuī juān":["脧"],něi:["脮","腇","餒","馁","鮾","鯘"],"pú fǔ":["脯"],niào:["脲"],shuí:["脽"],guò:["腂","過","鐹"],"là xī":["腊"],"yān ā":["腌"],"gāo gào":["膏"],"lù biāo":["膔"],chuái:["膗"],"zhuān chuán chún zhuǎn":["膞"],chuài:["膪","踹"],"fán pán":["膰"],"wǔ hū":["膴"],"shān dàn":["膻"],tún:["臀","臋","蛌","豘","豚","軘","霕","飩","饨","魨","鲀","黗"],"bì bei":["臂"],"là gé":["臈"],"sào sāo":["臊"],nào:["臑","閙","闹","鬧"],"ní luán":["臡"],"qiān xián":["臤"],"guàng jiǒng":["臦"],"guǎng jiǒng":["臩"],"chòu xiù":["臭"],"mián biān":["臱"],"dié zhí":["臷"],"zhī jìn":["臸"],"shè shě":["舍"],pù:["舖","舗"],"bān bō pán":["般"],kuā:["舿"],"gèn gěn":["艮"],"sè shǎi":["色"],"fú bó":["艴"],"jiāo qiú":["艽"],"chāi chā":["芆"],"sháo què":["芍"],"hù xià":["芐"],"zì zǐ":["芓"],"huì hū":["芔"],"tún chūn":["芚"],"jiè gài":["芥"],"xù zhù":["芧"],"yuán yán":["芫"],"xīn xìn":["芯"],"lún huā":["芲"],"wù hū":["芴"],"gōu gǒu":["芶"],"mào máo":["芼"],"fèi fú":["芾"],"chán yín":["苂"],qiē:["苆"],"sū sù":["苏"],"tiáo sháo":["苕"],"lì jī":["苙"],"kē hē":["苛"],"jù qǔ":["苣"],"ruò rě":["若"],"zhù níng":["苧"],"pā bó":["苩"],xiú:["苬"],"zhǎ zuó":["苲"],"jū chá":["苴"],nié:["苶"],"shēng ruí":["苼"],"qié jiā":["茄"],"zǐ cí":["茈"],"qiàn xī":["茜"],chǎi:["茝"],"fá pèi":["茷"],ráo:["荛","蕘","襓","饒","饶"],"yíng xíng":["荥"],"qián xún":["荨","蕁"],"yìn yīn":["荫"],"hé hè":["荷"],"shā suō":["莎"],"péng fēng":["莑"],"shēn xīn":["莘"],"wǎn guān guǎn":["莞"],"yóu sù":["莤"],"shāo xiāo":["莦","蛸"],"làng liáng":["莨"],"piǎo fú":["莩"],"wèn wǎn miǎn":["莬"],"shì shí":["莳","蒔"],"tù tú":["莵"],"xiān liǎn":["莶","薟"],"wǎn yù":["菀"],"zōu chù":["菆"],"lù lǜ":["菉"],"jūn jùn":["菌"],"niè rěn":["菍"],"zī zì zāi":["菑"],"tú tù":["菟"],"jiē shà":["菨"],"qiáo zhǎo":["菬"],"tái zhī chí":["菭"],"fēi fěi":["菲","蜚"],"qín qīn jīn":["菳"],"zū jù":["菹","蒩"],"lǐn má":["菻"],"tián tiàn":["菾"],tiē:["萜","貼","贴"],"luò là lào luō":["落"],"zhù zhuó zhe":["著"],"shèn rèn":["葚"],"gě gé":["葛"],"jùn suǒ":["葰"],"kuì kuài":["蒉"],"rú ná":["蒘"],"méng mēng měng":["蒙"],"yuán huán":["蒝"],"xú shú":["蒣"],"xí xì":["蒵"],"mì míng":["蓂"],"sōu sǒu":["蓃"],"gài gě hé hài":["蓋"],"yǎo zhuó":["蓔"],"diào tiáo dí":["蓧"],"xū qiū fū":["蓲"],"zí jú":["蓻"],"liǎo lù":["蓼"],xu:["蓿"],"hàn hǎn":["蔊"],"màn wàn mán":["蔓"],"pó bò":["蔢"],"fān fán bō":["蕃"],"hóng hòng":["蕻"],"yù ào":["薁","隩"],"xí xiào":["薂"],"báo bó bò":["薄"],"cí zī":["薋"],"wàn luàn":["薍"],"kǎo hāo":["薧"],"yuǎn wěi":["薳"],"zhòu chóu":["薵"],"wō mái":["薶"],"xiāo hào":["藃"],"yù xù xū":["藇"],"jiè jí":["藉"],"diào zhuó":["藋"],"cáng zàng":["藏"],lǎ:["藞"],"chú zhū":["藸"],"pín píng":["蘋"],"gān hán":["虷"],"hóng jiàng":["虹"],"huī huǐ":["虺"],"xiā há":["虾"],"mǎ mà mā":["蚂"],"fāng bàng":["蚄"],"bàng bèng":["蚌"],"jué quē":["蚗"],"qín qián":["蚙"],"gōng zhōng":["蚣"],"fǔ fù":["蚥"],"dài dé":["蚮"],"gǒu qú xù":["蚼"],"bǒ pí":["蚾"],"shé yí":["蛇"],tiě:["蛈","鉄","銕","鐡","鐵","铁","驖"],"gé luò":["蛒"],"máng bàng":["蛖"],"yì xǔ":["蛡"],"há gé":["蛤"],"qiè ní":["蛪"],"é yǐ":["蛾"],"zhē zhé":["蜇"],"là zhà":["蜡"],suò:["蜶","逤"],"yóu qiú":["蝤"],"xiā hā":["蝦"],"xī qī":["螇"],"bī pí":["螕"],"nài něng":["螚"],"hé xiá":["螛"],"guì huǐ":["螝"],"mǎ mā mà":["螞"],"shì zhē":["螫"],"zhì dié":["螲"],"jiàn chán":["螹"],"ma má mò":["蟆"],"mǎng měng":["蟒"],"biē bié":["蟞"],"bēn fèi":["蟦"],"láo liáo":["蟧"],"yín xún":["蟫"],"lí lǐ":["蠡"],"xuè xiě":["血"],"xíng háng hàng héng":["行"],"shuāi cuī":["衰"],"tuó tuō":["袉"],"lǐng líng":["袊"],"bào páo pào":["袌"],"jù jiē":["袓"],"hè kè":["袔"],"yí yì":["袘","貤"],"nà jué":["袦"],"bèi pī":["被"],"chǐ nuǒ":["袲"],"chǐ qǐ duǒ nuǒ":["袳"],"jiá qiā jié":["袷"],"bó mò":["袹"],"guī guà":["袿"],"liè liě":["裂"],"chéng chěng":["裎"],"jiē gé":["裓"],"dāo chóu":["裯"],"shang cháng":["裳"],"yuān gǔn":["裷"],"yǎn ān":["裺"],"tì xī":["裼"],"fù fú":["褔"],"chǔ zhǔ":["褚"],"tuì tùn":["褪"],lǎi:["襰"],"yào yāo":["要"],"qín tán":["覃"],"jiàn xiàn":["見","见"],piǎn:["覑","諞","谝","貵","\uD844\uDF9A"],"piē miè":["覕"],"yíng yǐng":["覮"],"qù qū":["覰","覷","觑"],"jiàn biǎn":["覵"],"luó luǎn":["覶"],"zī zuǐ":["觜"],"huà xiè":["觟"],"jiě jiè xiè":["解","觧"],"xué hù":["觷"],"lì lù":["觻"],tǎo:["討","讨"],zhùn:["訰"],"zī zǐ":["訾"],"yí dài":["詒","诒"],xiòng:["詗","诇"],"diào tiǎo":["誂"],"yí chǐ chì":["誃"],"lǎng làng":["誏"],"ēi éi ěi èi xī":["誒","诶"],shuà:["誜"],"yǔ yù":["語","语","雨"],"shuō shuì yuè":["說","说"],"shuí shéi":["誰","谁"],"qū juè":["誳"],"chī lài":["誺"],"nì ná":["誽"],"diào tiáo":["調"],"pǐ bēi":["諀"],"jì jī":["諅"],"zé zuò zhǎ cuò":["諎"],"chù jí":["諔"],"háo xià":["諕"],"lùn lún":["論","论"],"shì dì":["諟"],"huà guā":["諣"],"xǐ shāi āi":["諰"],"nán nàn":["諵","難"],miù:["謬","谬"],zèn:["譖","谮"],"shí zhì":["識","识"],"juàn xuān":["讂"],"yí tuī":["讉"],zhán:["讝"],"xǔ hǔ":["许"],"xiáng yáng":["详"],"tiáo diào zhōu":["调"],"chén shèn":["谌"],"mí mèi":["谜"],"màn mán":["谩"],"gǔ yù":["谷"],"huō huò huá":["豁"],"zhì zhài":["豸"],"huān huán":["貆"],"kěn kūn":["貇"],"mò hé":["貈"],"mò hé háo":["貉"],"jù lóu":["貗"],"zé zhài":["責","责"],"dài tè":["貸"],"bì bēn":["賁"],"jiǎ gǔ jià":["賈"],"xiōng mín":["賯"],càng:["賶"],"zhuàn zuàn":["賺","赚"],"wàn zhuàn":["贃"],"gàn gòng zhuàng":["贛"],"yuán yùn":["贠"],"bēn bì":["贲"],"jiǎ gǔ":["贾"],zǒu:["走","赱","鯐"],"dié tú":["趃"],"jū qiè":["趄"],"qū cù":["趋","趨"],"jí jié":["趌"],"guā huó":["趏"],"què qì jí":["趞"],"tàng tāng":["趟"],"chuō zhuó":["趠"],"qù cù":["趣"],"yuè tì":["趯"],"bō bào":["趵"],"kuà wù":["趶"],"guì jué":["趹"],"fāng fàng páng":["趽"],"páo bà":["跁"],"qí qǐ":["跂"],"jiàn chén":["跈"],"pǎo páo":["跑"],"diǎn diē tiē":["跕"],"jū jù qiè":["跙"],bǒ:["跛"],"luò lì":["跞"],"dài duò duō chí":["跢"],zhuǎi:["跩"],"bèng pián":["跰"],"tiào táo":["跳"],"shū chōu":["跾"],"liàng liáng":["踉"],"tà tā":["踏"],chǎ:["蹅","鑔","镲"],"dí zhí":["蹢"],"dēng dèng":["蹬","鐙","镫"],cèng:["蹭"],"dūn cún":["蹲"],"juě jué":["蹶"],liāo:["蹽"],"xiè sǎ":["躠"],tǐ:["躰","軆","骵"],"yà zhá gá":["轧","軋"],"xìn xiàn":["軐"],"fàn guǐ":["軓"],"zhuàn zhuǎn":["転"],"zhóu zhòu":["軸","轴"],bú:["轐","醭","鳪"],"zhuǎn zhuàn zhuǎi":["转"],"zǎi zài":["载"],"niǎn zhǎn":["辗"],"biān bian":["边"],"dào biān":["辺"],"yǐ yí":["迆","迤","迱"],"guò guo guō":["过"],"wàng kuāng":["迋"],"hái huán":["还"],"zhè zhèi":["这"],"yuǎn yuàn":["远"],"zhì lì":["迣"],"zhù wǎng":["迬"],"zhuī duī":["追"],"shì kuò":["适"],tòu:["透"],"tōng tòng":["通"],guàng:["逛"],"dǎi dài":["逮"],"suì suí":["遂"],"tí dì":["遆"],"yí wèi":["遗"],"shì dí zhé":["適"],cà:["遪"],"huán hái":["還"],"lí chí":["邌"],"kàng háng":["邟"],"nà nèi nā":["那"],"xié yá yé yú xú":["邪"],"gāi hái":["郂"],"huán xún":["郇"],"chī xī":["郗"],hǎo:["郝"],"lì zhí":["郦"],"xiáo ǎo":["郩"],"dōu dū":["都"],liǎo:["曢","鄝","镽"],"zàn cuán cuó":["酂","酇"],"dīng dǐng":["酊"],"cù zuò":["酢"],"fā pō":["酦"],"shāi shī":["酾"],niàng:["酿","醸"],"qiú chōu":["醔"],"pō fā":["醗","醱"],"chǎn chěn":["醦"],"yàn liǎn xiān":["醶"],"niàng niáng":["釀"],"lǐ li":["里"],"lí xǐ xī":["釐"],"liǎo liào":["釕"],"dīng dìng":["釘","钉"],"qiǎo jiǎo":["釥"],"yú huá":["釪"],"huá wū":["釫"],"rì rèn jiàn":["釰","釼"],"dì dài":["釱"],"pī zhāo":["釽"],"yá yé":["釾"],"bǎ pá":["鈀","钯"],"tā tuó":["鉈","铊"],běi:["鉳"],"bǐng píng":["鉼"],"hā kē":["鉿","铪"],chòng:["銃","铳"],"xiǎng jiōng":["銄"],"yù sì":["銉"],"xù huì":["銊"],"rén rěn":["銋"],"shàn shuò":["銏"],"chì lì":["銐"],"xiǎn xǐ":["銑","铣"],"hóu xiàng":["銗"],"diào tiáo yáo":["銚"],"xiān kuò tiǎn guā":["銛","銽","铦"],"zhé niè":["銸"],"zhōng yōng":["銿"],"tōu tù dòu":["鋀"],"méi méng":["鋂"],"wàn jiǎn":["鋄","鎫"],"tǐng dìng":["鋌","铤"],"juān jiān cuān":["鋑"],"sī tuó":["鋖"],"juān xuān juàn":["鋗"],"wú huá wū":["鋘"],"zhuó chuò":["鋜"],"xíng xìng jīng":["鋞"],"jū jú":["鋦","锔"],"zuì niè":["鋷"],"yuān yuǎn wǎn wān":["鋺"],"gāng gàng":["鋼","钢"],zhuī:["錐","锥","騅","骓","鵻"],ā:["錒","锕"],"cuō chā":["鎈"],"suǒ sè":["鎍"],"yáo zú":["鎐"],"yè tà gé":["鎑"],"qiāng chēng":["鎗"],"gé lì":["鎘","镉","鬲"],"bī pī bì":["鎞"],"gǎo hào":["鎬"],"zú chuò":["鏃"],"xiū xiù":["鏅"],"shòu sōu":["鏉"],"dí dī":["鏑","镝"],"qiāo sǎn càn":["鏒"],"lù áo":["鏕"],"tāng táng":["鏜"],"jiàn zàn":["鏩"],"huì suì ruì":["鏸"],"qiǎng qiāng":["鏹","镪"],"sǎn xiàn sà":["鏾"],"jiǎn jiàn":["鐧","锏"],"dāng chēng":["鐺","铛"],"zuān zuàn":["鑽"],"sà xì":["钑"],"yào yuè":["钥"],"tǒu dǒu":["钭"],"zuàn zuān":["钻"],"qiān yán":["铅"],"pí pī":["铍"],"yáo diào tiáo":["铫"],"tāng tàng":["铴"],"pù pū":["铺"],"tán xiān":["锬"],"liù liú":["镏"],"hào gǎo":["镐"],"táng tāng":["镗"],"tán chán xín":["镡"],"huò shǎn":["閄"],"hàn bì":["閈","闬"],"kāng kàng":["閌","闶"],"xián jiàn jiān jiǎn":["閒"],"xiā xiǎ":["閕"],"xiǎ kě":["閜"],"biàn guān":["閞"],"hé gé":["閤","颌"],"hòng xiàng":["閧"],"sē xī":["閪"],"tíng tǐng":["閮"],"è yān":["閼","阏"],"hòng juǎn xiàng":["闂"],"bǎn pàn":["闆"],"dū shé":["闍","阇"],"què quē":["闕"],"tāng táng chāng":["闛"],"kàn hǎn":["闞","阚"],"xì sè tà":["闟"],"mēn mèn":["闷"],"quē què":["阙"],"yán diàn":["阽"],"ā ē":["阿"],"bēi pō pí":["陂"],"yàn yǎn":["隁"],"yú yáo shù":["隃"],"lóng lōng":["隆"],"duì zhuì":["隊"],"suí duò":["隋"],"gāi qí ái":["隑"],"huī duò":["隓","隳"],"wěi kuí":["隗"],"lì dài":["隸"],"zhuī cuī wéi":["隹"],"hè hú":["隺","鶮"],"jùn juàn":["隽","雋"],"nán nàn nuó":["难"],"què qiāo qiǎo":["雀"],"guàn huán":["雚"],"guī xī":["雟"],"sè xí":["雭"],án:["雸"],"wù méng":["雺"],tèng:["霯"],"lù lòu":["露"],mái:["霾"],"jìng liàng":["靚"],"gé jí":["革"],bǎ:["靶"],"yāng yàng":["鞅"],"gé tà sǎ":["鞈"],"biān yìng":["鞕"],"qiào shāo":["鞘"],"juān xuān":["鞙"],"shàng zhǎng":["鞝"],"pí bǐng bì bēi":["鞞"],la:["鞡"],"xiè dié":["鞢"],ēng:["鞥"],"móu mù":["鞪"],"bì bǐng":["鞸"],"mèi wà":["韎"],rǒu:["韖"],"shè xiè":["韘"],"yùn wēn":["韫"],"dùn dú":["頓","顿"],duǐ:["頧"],luō:["頱"],"bīn pín":["頻"],yóng:["顒","颙","鰫"],mān:["顢","颟"],"jǐng gěng":["颈"],"jié xié jiá":["颉"],"kē ké":["颏"],"pín bīn":["频"],"chàn zhàn":["颤"],"fēng fěng":["風","风"],"biāo diū":["颩"],"bá fú":["颰"],"sāo sōu":["颾"],"liù liáo":["飂"],"shí sì yì":["食"],"yǎng juàn":["飬"],"zhù tǒu":["飳"],"yí sì":["飴"],"zuò zé zhā":["飵"],tiè:["飻","餮"],"xiǎng náng":["饟"],"táng xíng":["饧"],"gē le":["饹"],"chā zha":["馇"],"náng nǎng":["馕"],"yūn wò":["馧"],"zhī shì":["馶"],"xìn jìn":["馸"],"kuài jué":["駃"],zǎng:["駔","驵"],"tái dài":["駘"],"xún xuān":["駨"],"liáng láng":["駺"],piàn:["騗","騙","骗","魸"],"dài tái":["骀"],"sāo sǎo":["骚"],"gǔ gū":["骨"],"bèi mó":["骳"],"xiāo qiāo":["骹"],"bǎng pǎng":["髈"],"bó jué":["髉"],"bì pǒ":["髲"],"máo méng":["髳"],"kuò yuè":["髺"],"bā bà":["魞","鲃"],"jì cǐ":["鮆"],"bó bà":["鮊"],"zhǎ zhà":["鮓","鲊"],"chóu dài":["鮘"],"luò gé":["鮥"],"guī xié wā kuí":["鮭"],"xiān xiǎn":["鮮","鲜"],"pū bū":["鯆"],"yì sī":["鯣"],"bà bó":["鲌"],"guī xié":["鲑"],"sāi xǐ":["鳃"],"niǎo diǎo":["鳥"],"diāo zhāo":["鳭"],"gān hàn yàn":["鳱"],"fū guī":["鳺"],"jiān qiān zhān":["鳽"],"hé jiè":["鶡"],"piān biǎn":["鶣"],"chuàn zhì":["鶨"],"cāng qiāng":["鶬"],"sǔn xùn":["鶽"],"biāo páo":["麃"],"zhù cū":["麆"],"jūn qún":["麇","麕"],chi:["麶"],"mó me":["麼"],"mó me ma":["麽"],"mí mǒ":["麿"],"dàn shèn":["黮"],"zhěn yān":["黰"],"dǎn zhǎn":["黵"],"miǎn mǐn měng":["黾"],hōu:["齁"],nàng:["齉"],"qí jì zī zhāi":["齐"],"yín kěn yǎn":["龂"],"yín kěn":["龈"],"gōng wò":["龏"],"guī jūn qiū":["龜","龟"],"kuí wā":["䖯"],lōu:["䁖"],"ōu qū":["\uD86E\uDF5F"],"lóu lǘ":["\uD859\uDF7C"],"gǎ gā gá":["嘎"],"wā guà":["坬"],"zhǐ dǐ":["茋"],"gǒng hóng":["硔"],"yáo xiào":["滧"]},B5=new TI;Object.keys(tv0).forEach(($)=>{let Y=tv0[$];for(let q of Y)B5.set(q,$)});var Fd=new TI,AI4=new TI;var oP={南宫:"nán gōng",第五:"dì wǔ",万俟:"mò qí",司马:"sī mǎ",上官:"shàng guān",欧阳:"ōu yáng",夏侯:"xià hóu",诸葛:"zhū gě",闻人:"wén rén",东方:"dōng fāng",赫连:"hè lián",皇甫:"huáng fǔ",尉迟:"yù chí",公羊:"gōng yáng",澹台:"tán tái",公冶:"gōng yě",宗政:"zōng zhèng",濮阳:"pú yáng",淳于:"chún yú",太叔:"tài shū",申屠:"shēn tú",公孙:"gōng sūn",仲孙:"zhòng sūn",轩辕:"xuān yuán",令狐:"líng hú",钟离:"zhōng lí",宇文:"yǔ wén",长孙:"zhǎng sūn",慕容:"mù róng",鲜于:"xiān yú",闾丘:"lǘ qiū",司徒:"sī tú",司空:"sī kōng",亓官:"qí guān",司寇:"sī kòu",仉督:"zhǎng dū",子车:"zǐ jū",颛孙:"zhuān sūn",端木:"duān mù",巫马:"wū mǎ",公西:"gōng xī",漆雕:"qī diāo",乐正:"yuè zhèng",壤驷:"rǎng sì",公良:"gōng liáng",拓跋:"tuò bá",夹谷:"jiá gǔ",宰父:"zǎi fǔ",榖梁:"gǔ liáng",段干:"duàn gān",百里:"bǎi lǐ",东郭:"dōng guō",南门:"nán mén",呼延:"hū yán",羊舌:"yáng shé",梁丘:"liáng qiū",左丘:"zuǒ qiū",东门:"dōng mén",西门:"xī mén",句龙:"gōu lóng",毌丘:"guàn qiū",赵:"zhào",钱:"qián",孙:"sūn",李:"lǐ",周:"zhōu",吴:"wú",郑:"zhèng",王:"wáng",冯:"féng",陈:"chén",褚:"chǔ",卫:"wèi",蒋:"jiǎng",沈:"shěn",韩:"hán",杨:"yáng",朱:"zhū",秦:"qín",尤:"yóu",许:"xǔ",何:"hé",吕:"lǚ",施:"shī",张:"zhāng",孔:"kǒng",曹:"cáo",严:"yán",华:"huà",金:"jīn",魏:"wèi",陶:"táo",姜:"jiāng",戚:"qī",谢:"xiè",邹:"zōu",喻:"yù",柏:"bǎi",水:"shuǐ",窦:"dòu",章:"zhāng",云:"yún",苏:"sū",潘:"pān",葛:"gě",奚:"xī",范:"fàn",彭:"péng",郎:"láng",鲁:"lǔ",韦:"wéi",昌:"chāng",马:"mǎ",苗:"miáo",凤:"fèng",花:"huā",方:"fāng",俞:"yú",任:"rén",袁:"yuán",柳:"liǔ",酆:"fēng",鲍:"bào",史:"shǐ",唐:"táng",费:"fèi",廉:"lián",岑:"cén",薛:"xuē",雷:"léi",贺:"hè",倪:"ní",汤:"tāng",滕:"téng",殷:"yīn",罗:"luó",毕:"bì",郝:"hǎo",邬:"wū",安:"ān",常:"cháng",乐:"yuè",于:"yú",时:"shí",傅:"fù",皮:"pí",卞:"biàn",齐:"qí",康:"kāng",伍:"wǔ",余:"yú",元:"yuán",卜:"bǔ",顾:"gù",孟:"mèng",平:"píng",黄:"huáng",和:"hé",穆:"mù",萧:"xiāo",尹:"yǐn",姚:"yáo",邵:"shào",湛:"zhàn",汪:"wāng",祁:"qí",毛:"máo",禹:"yǔ",狄:"dí",米:"mǐ",贝:"bèi",明:"míng",臧:"zāng",计:"jì",伏:"fú",成:"chéng",戴:"dài",谈:"tán",宋:"sòng",茅:"máo",庞:"páng",熊:"xióng",纪:"jǐ",舒:"shū",屈:"qū",项:"xiàng",祝:"zhù",董:"dǒng",梁:"liáng",杜:"dù",阮:"ruǎn",蓝:"lán",闵:"mǐn",席:"xí",季:"jì",麻:"má",强:"qiáng",贾:"jiǎ",路:"lù",娄:"lóu",危:"wēi",江:"jiāng",童:"tóng",颜:"yán",郭:"guō",梅:"méi",盛:"shèng",林:"lín",刁:"diāo",钟:"zhōng",徐:"xú",邱:"qiū",骆:"luò",高:"gāo",夏:"xià",蔡:"cài",田:"tián",樊:"fán",胡:"hú",凌:"líng",霍:"huò",虞:"yú",万:"wàn",支:"zhī",柯:"kē",昝:"zǎn",管:"guǎn",卢:"lú",莫:"mò",经:"jīng",房:"fáng",裘:"qiú",缪:"miào",干:"gān",解:"xiè",应:"yīng",宗:"zōng",丁:"dīng",宣:"xuān",贲:"bēn",邓:"dèng",郁:"yù",单:"shàn",杭:"háng",洪:"hóng",包:"bāo",诸:"zhū",左:"zuǒ",石:"shí",崔:"cuī",吉:"jí",钮:"niǔ",龚:"gōng",程:"chéng",嵇:"jī",邢:"xíng",滑:"huá",裴:"péi",陆:"lù",荣:"róng",翁:"wēng",荀:"xún",羊:"yáng",於:"yū",惠:"huì",甄:"zhēn",曲:"qū",家:"jiā",封:"fēng",芮:"ruì",羿:"yì",储:"chǔ",靳:"jìn",汲:"jí",邴:"bǐng",糜:"mí",松:"sōng",井:"jǐng",段:"duàn",富:"fù",巫:"wū",乌:"wū",焦:"jiāo",巴:"bā",弓:"gōng",牧:"mù",隗:"wěi",山:"shān",谷:"gǔ",车:"chē",侯:"hóu",宓:"mì",蓬:"péng",全:"quán",郗:"xī",班:"bān",仰:"yǎng",秋:"qiū",仲:"zhòng",伊:"yī",宫:"gōng",宁:"nìng",仇:"qiú",栾:"luán",暴:"bào",甘:"gān",钭:"tǒu",厉:"lì",戎:"róng",祖:"zǔ",武:"wǔ",符:"fú",刘:"liú",景:"jǐng",詹:"zhān",束:"shù",龙:"lóng",叶:"yè",幸:"xìng",司:"sī",韶:"sháo",郜:"gào",黎:"lí",蓟:"jì",薄:"bó",印:"yìn",宿:"sù",白:"bái",怀:"huái",蒲:"pú",邰:"tái",从:"cóng",鄂:"è",索:"suǒ",咸:"xián",籍:"jí",赖:"lài",卓:"zhuó",蔺:"lìn",屠:"tú",蒙:"méng",池:"chí",乔:"qiáo",阴:"yīn",鬱:"yù",胥:"xū",能:"nài",苍:"cāng",双:"shuāng",闻:"wén",莘:"shēn",党:"dǎng",翟:"zhái",谭:"tán",贡:"gòng",劳:"láo",逄:"páng",姬:"jī",申:"shēn",扶:"fú",堵:"dǔ",冉:"rǎn",宰:"zǎi",郦:"lì",雍:"yōng",郤:"xì",璩:"qú",桑:"sāng",桂:"guì",濮:"pú",牛:"niú",寿:"shòu",通:"tōng",边:"biān",扈:"hù",燕:"yān",冀:"jì",郏:"jiá",浦:"pǔ",尚:"shàng",农:"nóng",温:"wēn",别:"bié",庄:"zhuāng",晏:"yàn",柴:"chái",瞿:"qú",阎:"yán",充:"chōng",慕:"mù",连:"lián",茹:"rú",习:"xí",宦:"huàn",艾:"ài",鱼:"yú",容:"róng",向:"xiàng",古:"gǔ",易:"yì",慎:"shèn",戈:"gē",廖:"liào",庾:"yǔ",终:"zhōng",暨:"jì",居:"jū",衡:"héng",步:"bù",都:"dū",耿:"gěng",满:"mǎn",弘:"hóng",匡:"kuāng",国:"guó",文:"wén",寇:"kòu",广:"guǎng",禄:"lù",阙:"quē",东:"dōng",欧:"ōu",殳:"shū",沃:"wò",利:"lì",蔚:"wèi",越:"yuè",夔:"kuí",隆:"lóng",师:"shī",巩:"gǒng",厍:"shè",聂:"niè",晁:"cháo",勾:"gōu",敖:"áo",融:"róng",冷:"lěng",訾:"zī",辛:"xīn",阚:"kàn",那:"nā",简:"jiǎn",饶:"ráo",空:"kōng",曾:"zēng",母:"mǔ",沙:"shā",乜:"niè",养:"yǎng",鞠:"jū",须:"xū",丰:"fēng",巢:"cháo",关:"guān",蒯:"kuǎi",相:"xiàng",查:"zhā",后:"hòu",荆:"jīng",红:"hóng",游:"yóu",竺:"zhú",权:"quán",逯:"lù",盖:"gě",益:"yì",桓:"huán",公:"gōng",牟:"móu",哈:"hǎ",言:"yán",福:"fú",肖:"xiāo",区:"ōu",覃:"qín",朴:"piáo",繁:"pó",员:"yùn",句:"gōu",要:"yāo",过:"guō",钻:"zuān",谌:"chén",折:"shé",召:"shào",郄:"qiè",撒:"sǎ",甯:"nìng",六:"lù",啜:"chuài",行:"xíng"},av0=Object.keys(oP).map(($)=>({zh:$,pinyin:oP[$],probability:1+Z2($),length:Z2($),priority:d4.Surname,dict:Symbol("surname")}));var EI=($,Y="off")=>{let q=B5.get($)?B5.get($).split(" "):[];if(Fd.get($))q=Fd.get($).split(" ");else if(Y!=="off"){let z=oP[$];if(z)q=[z].concat(q.filter((J)=>J!==z))}return q};var ev0={这个:"zhè ge",成为:"chéng wéi",认为:"rèn wéi",作为:"zuò wéi",部分:"bù fen",要求:"yāo qiú",应该:"yīng gāi",增长:"zēng zhǎng",提供:"tí gōng",觉得:"jué de",任务:"rèn wu",那个:"nà ge",称为:"chēng wéi",为主:"wéi zhǔ",了解:"liǎo jiě",处理:"chǔ lǐ",皇上:"huáng shang",只要:"zhǐ yào",大量:"dà liàng",力量:"lì liàng",几乎:"jī hū",干部:"gàn bù",目的:"mù dì",行为:"xíng wéi",只见:"zhǐ jiàn",认识:"rèn shi",市长:"shì zhǎng",师父:"shī fu",调查:"diào chá",重新:"chóng xīn",分为:"fēn wéi",知识:"zhī shi",导弹:"dǎo dàn",质量:"zhì liàng",行款:"háng kuǎn",行列:"háng liè",行话:"háng huà",行业:"háng yè",隔行:"gé háng",在行:"zài háng",行家:"háng jia",内行:"nèi háng",外行:"wài háng",同行:"tóng háng",本行:"běn háng",行伍:"háng wǔ",洋行:"yáng háng",银行:"yín háng",商行:"shāng háng",支行:"zhī háng",总行:"zǒng háng",行情:"háng qíng",懂行:"dǒng háng",行规:"háng guī",行当:"háng dang",行货:"háng huò",太行:"tài háng",入行:"rù háng",中行:"zhōng háng",农行:"nóng háng",工行:"gōng háng",建行:"jiàn háng",各行:"gè háng",行号:"háng hào",行高:"háng gāo",行首:"háng shǒu",行尾:"háng wěi",行末:"háng mò",行长:"háng zhǎng",行距:"háng jù",换行:"huàn háng",行会:"háng huì",行辈:"háng bèi",行道:"háng dào",道行:"dào heng",参与:"cān yù",充分:"chōng fèn",尽管:"jǐn guǎn",生长:"shēng zhǎng",数量:"shù liàng",应当:"yīng dāng",院长:"yuàn zhǎng",强调:"qiáng diào",只能:"zhǐ néng",音乐:"yīn yuè",以为:"yǐ wéi",处于:"chǔ yú",部长:"bù zhǎng",蒙古:"měng gǔ",只有:"zhǐ yǒu",适当:"shì dàng",只好:"zhǐ hǎo",成长:"chéng zhǎng",高兴:"gāo xìng",不了:"bù liǎo",产量:"chǎn liàng",胖子:"pàng zi",显得:"xiǎn de",只是:"zhǐ shì",似的:"shì de",率领:"shuài lǐng",改为:"gǎi wéi",不禁:"bù jīn",成分:"chéng fèn",答应:"dā ying",少年:"shào nián",兴趣:"xìng qù",太监:"tài jian",休息:"xiū xi",校长:"xiào zhǎng",更新:"gēng xīn",合同:"hé tong",喝道:"hè dào",重庆:"chóng qìng",重建:"chóng jiàn",使得:"shǐ de",审查:"shěn chá",累计:"lěi jì",给予:"jǐ yǔ",极为:"jí wéi",冠军:"guàn jūn",仿佛:"fǎng fú",头发:"tóu fa",投降:"tóu xiáng",家长:"jiā zhǎng",仔细:"zǐ xì",要是:"yào shi",将领:"jiàng lǐng",含量:"hán liàng",更为:"gèng wéi",积累:"jī lěi",地处:"dì chǔ",县长:"xiàn zhǎng",少女:"shào nǚ",路上:"lù shang",只怕:"zhǐ pà",能量:"néng liàng",储量:"chǔ liàng",供应:"gōng yìng",挑战:"tiǎo zhàn",西藏:"xī zàng",记得:"jì de",总量:"zǒng liàng",当真:"dàng zhēn",将士:"jiàng shì",差别:"chā bié",较为:"jiào wéi",长老:"zhǎng lǎo",大夫:"dài fu",差异:"chā yì",懂得:"dǒng de",尽量:"jǐn liàng",模样:"mú yàng",的确:"dí què",为首:"wéi shǒu",便宜:"pián yi",更名:"gēng míng",石头:"shí tou",州长:"zhōu zhǎng",为止:"wéi zhǐ",漂亮:"piào liang",炮弹:"pào dàn",藏族:"zàng zú",角色:"jué sè",当作:"dàng zuò",尽快:"jǐn kuài",人为:"rén wéi",重复:"chóng fù",胡同:"hú tòng",差距:"chā jù",弟兄:"dì xiong",大将:"dà jiàng",睡觉:"shuì jiào",一觉:"yí jiào",团长:"tuán zhǎng",队长:"duì zhǎng",区长:"qū zhǎng",难得:"nán dé",丫头:"yā tou",会长:"huì zhǎng",弟弟:"dì di",王爷:"wáng ye",重量:"zhòng liàng",誉为:"yù wéi",家伙:"jiā huo",华山:"huà shān",椅子:"yǐ zi",流量:"liú liàng",长大:"zhǎng dà",勉强:"miǎn qiǎng",会计:"kuài jì",过分:"guò fèn",济南:"jǐ nán",调动:"diào dòng",燕京:"yān jīng",少将:"shào jiàng",中毒:"zhòng dú",晓得:"xiǎo de",变更:"biàn gēng",打更:"dǎ gēng",认得:"rèn de",苹果:"píng guǒ",念头:"niàn tou",挣扎:"zhēng zhá",三藏:"sān zàng",剥削:"bō xuē",丞相:"chéng xiàng",少量:"shǎo liàng",寻思:"xún si",夺得:"duó dé",干线:"gàn xiàn",呼吁:"hū yù",处罚:"chǔ fá",长官:"zhǎng guān",柏林:"bó lín",亲戚:"qīn qi",身分:"shēn fèn",胳膊:"gē bo",着手:"zhuó shǒu",炸弹:"zhà dàn",咳嗽:"ké sou",叶子:"yè zi",外长:"wài zhǎng",供给:"gōng jǐ",师长:"shī zhǎng",变量:"biàn liàng",应有:"yīng yǒu",下载:"xià zài",乐器:"yuè qì",间接:"jiàn jiē",底下:"dǐ xià",打扮:"dǎ bàn",子弹:"zǐ dàn",弹药:"dàn yào",热量:"rè liàng",削弱:"xuē ruò",骨干:"gǔ gàn",容量:"róng liàng",模糊:"mó hu",转动:"zhuàn dòng",称呼:"chēng hu",科长:"kē zhǎng",处置:"chǔ zhì",着重:"zhuó zhòng",着急:"zháo jí",强迫:"qiǎng pò",庭长:"tíng zhǎng",首相:"shǒu xiàng",喇嘛:"lǎ ma",镇长:"zhèn zhǎng",只管:"zhǐ guǎn",重重:"chóng chóng",免得:"miǎn de",着实:"zhuó shí",度假:"dù jià",真相:"zhēn xiàng",相貌:"xiàng mào",处分:"chǔ fèn",委屈:"wěi qu",为期:"wéi qī",伯伯:"bó bo",伯子:"bǎi zi",圈子:"quān zi",见识:"jiàn shi",笼罩:"lǒng zhào",与会:"yù huì",都督:"dū du",都市:"dū shì",成都:"chéng dū",首都:"shǒu dū",帝都:"dì dū",王都:"wáng dū",东都:"dōng dū",都护:"dū hù",都城:"dū chéng",建都:"jiàn dū",迁都:"qiān dū",故都:"gù dū",定都:"dìng dū",中都:"zhōng dū",六安:"lù ān",宰相:"zǎi xiàng",较量:"jiào liàng",对称:"duì chèn",总长:"zǒng zhǎng",相公:"xiàng gong",空白:"kòng bái",打量:"dǎ liang",水分:"shuǐ fèn",舌头:"shé tou",没收:"mò shōu",行李:"xíng li",判处:"pàn chǔ",散文:"sǎn wén",处境:"chǔ jìng",孙子:"sūn zi",拳头:"quán tou",打发:"dǎ fā",组长:"zǔ zhǎng",骨头:"gǔ tou",宁可:"nìng kě",更换:"gēng huàn",薄弱:"bó ruò",还原:"huán yuán",重修:"chóng xiū",重来:"chóng lái",只顾:"zhǐ gù",爱好:"ài hào",馒头:"mán tou",军长:"jūn zhǎng",首长:"shǒu zhǎng",厂长:"chǎng zhǎng",司长:"sī zhǎng",长子:"zhǎng zǐ",强劲:"qiáng jìng",恰当:"qià dàng",头儿:"tóu er",站长:"zhàn zhǎng",折腾:"zhē teng",相处:"xiāng chǔ",统率:"tǒng shuài",中将:"zhōng jiàng",命中:"mìng zhòng",名将:"míng jiàng",木头:"mù tou",动弹:"dòng tan",地壳:"dì qiào",干活:"gàn huó",少爷:"shào ye",水量:"shuǐ liàng",补给:"bǔ jǐ",尾巴:"wěi ba",来得:"lái de",好奇:"hào qí",钥匙:"yào shi",当做:"dàng zuò",沉着:"chén zhuó",哑巴:"yǎ ba",车子:"chē zi",上将:"shàng jiàng",恶心:"ě xīn",担子:"dàn zi",应届:"yīng jiè",主角:"zhǔ jué",运转:"yùn zhuǎn",兄长:"xiōng zhǎng",格式:"gé shì",正月:"zhēng yuè",营长:"yíng zhǎng",当成:"dàng chéng",女婿:"nǚ xu",咽喉:"yān hóu",重阳:"chóng yáng",化为:"huà wéi",吐蕃:"tǔ bō",钻进:"zuān jìn",乐队:"yuè duì",亮相:"liàng xiàng",被子:"bèi zi",舍得:"shě de",杉木:"shā mù",击中:"jī zhòng",排长:"pái zhǎng",假期:"jià qī",分量:"fèn liàng",数次:"shù cì",提防:"dī fáng",吆喝:"yāo he",查处:"chá chǔ",量子:"liàng zǐ",里头:"lǐ tou",调研:"diào yán",伺候:"cì hou",重申:"chóng shēn",枕头:"zhěn tou",拚命:"pīn mìng",社长:"shè zhǎng",归还:"guī huán",批量:"pī liàng",畜牧:"xù mù",点着:"diǎn zháo",甚为:"shèn wéi",小将:"xiǎo jiàng",着眼:"zhuó yǎn",处死:"chǔ sǐ",厌恶:"yàn wù",鼓乐:"gǔ yuè",树干:"shù gàn",秘鲁:"bì lǔ",大方:"dà fāng",外头:"wài tou",班长:"bān zhǎng",星宿:"xīng xiù",宁愿:"nìng yuàn",钦差:"qīn chāi",为数:"wéi shù",勾当:"gòu dàng",削减:"xuē jiǎn",间谍:"jiàn dié",埋怨:"mán yuàn",结实:"jiē shi",计量:"jì liáng",淹没:"yān mò",村长:"cūn zhǎng",连长:"lián zhǎng",自给:"zì jǐ",武将:"wǔ jiàng",温差:"wēn chā",直奔:"zhí bèn",供求:"gōng qiú",剂量:"jì liàng",道长:"dào zhǎng",泄露:"xiè lòu",王八:"wáng ba",切割:"qiē gē",间隔:"jiàn gé",一晃:"yì huǎng",长假:"cháng jià",令狐:"líng hú",为害:"wéi hài",句子:"jù zi",偿还:"cháng huán",疙瘩:"gē da",燕山:"yān shān",堵塞:"dǔ sè",夺冠:"duó guàn",扎实:"zhā shi",电荷:"diàn hè",看守:"kān shǒu",复辟:"fù bì",郁闷:"yù mèn",尽早:"jǐn zǎo",切断:"qiē duàn",指头:"zhǐ tou",为生:"wéi shēng",畜生:"chù sheng",切除:"qiē chú",着力:"zhuó lì",着想:"zhuó xiǎng",级差:"jí chā",投奔:"tóu bèn",棍子:"gùn zi",含糊:"hán hu",少妇:"shào fù",兴致:"xìng zhì",纳闷:"nà mèn",干流:"gàn liú",卷起:"juǎn qǐ",扇子:"shàn zi",更改:"gēng gǎi",笼络:"lǒng luò",喇叭:"lǎ ba",载荷:"zài hè",妥当:"tuǒ dàng",为难:"wéi nán",着陆:"zhuó lù",燕子:"yàn zi",干吗:"gàn má",白发:"bái fà",总得:"zǒng děi",夹击:"jiā jī",曝光:"bào guāng",曲调:"qǔ diào",相机:"xiàng jī",叫化:"jiào huà",角逐:"jué zhú",啊哟:"ā yō",载重:"zài zhòng",长辈:"zhǎng bèi",出差:"chū chāi",垛口:"duǒ kǒu",撇开:"piē kāi",厅长:"tīng zhǎng",组分:"zǔ fèn",误差:"wù chā",家当:"jiā dàng",传记:"zhuàn jì",个子:"gè zi",铺设:"pū shè",干事:"gàn shì",杆菌:"gǎn jūn",定量:"dìng liàng",运载:"yùn zài",会儿:"huì er",酋长:"qiú zhǎng",重返:"chóng fǎn",差额:"chā é",露面:"lòu miàn",钻研:"zuān yán",大城:"dài chéng",上当:"shàng dàng",销量:"xiāo liàng",作坊:"zuō fang",照相:"zhào xiàng",哎呀:"āi yā",调集:"diào jí",看中:"kàn zhòng",议长:"yì zhǎng",风筝:"fēng zheng",辟邪:"bì xié",空隙:"kòng xì",更迭:"gēng dié",偏差:"piān chā",声调:"shēng diào",适量:"shì liàng",屯子:"tún zi",无量:"wú liàng",空地:"kòng dì",调度:"diào dù",散射:"sǎn shè",创伤:"chuāng shāng",海参:"hǎi shēn",满载:"mǎn zài",重叠:"chóng dié",落差:"luò chā",单调:"dān diào",老将:"lǎo jiàng",人参:"rén shēn",间断:"jiàn duàn",重现:"chóng xiàn",夹杂:"jiā zá",调用:"diào yòng",萝卜:"luó bo",附着:"fù zhuó",应声:"yìng shēng",主将:"zhǔ jiàng",罪过:"zuì guo",咀嚼:"jǔ jué",为政:"wéi zhèng",过量:"guò liàng",乐曲:"yuè qǔ",负荷:"fù hè",枪弹:"qiāng dàn",悄然:"qiǎo rán",处方:"chǔ fāng",悄声:"qiǎo shēng",曲子:"qǔ zi",情调:"qíng diào",挑衅:"tiǎo xìn",代为:"dài wéi",了结:"liǎo jié",打中:"dǎ zhòng",酒吧:"jiǔ bā",懒得:"lǎn de",增量:"zēng liàng",衣着:"yī zhuó",部将:"bù jiàng",要塞:"yào sài",茶几:"chá jī",杠杆:"gàng gǎn",出没:"chū mò",鲜有:"xiǎn yǒu",间隙:"jiàn xì",重担:"zhòng dàn",重演:"chóng yǎn",重试:"chóng shì",应酬:"yìng chou",只当:"zhǐ dāng",毋宁:"wú nìng",包扎:"bāo zā",前头:"qián tou",卷烟:"juǎn yān",非得:"fēi děi",弹道:"dàn dào",杆子:"gān zi",门将:"mén jiàng",后头:"hòu tou",喝彩:"hè cǎi",暖和:"nuǎn huo",累积:"lěi jī",调遣:"diào qiǎn",倔强:"jué jiàng",宝藏:"bǎo zàng",丧事:"sāng shì",约莫:"yuē mo",纤夫:"qiàn fū",更替:"gēng tì",装载:"zhuāng zài",背包:"bēi bāo",帖子:"tiě zi",松散:"sōng sǎn",呼喝:"hū hè",可恶:"kě wù",自转:"zì zhuàn",供电:"gōng diàn",反省:"fǎn xǐng",坦率:"tǎn shuài",苏打:"sū dá",本分:"běn fèn",落得:"luò de",鄙薄:"bǐ bó",相间:"xiāng jiàn",单薄:"dān bó",混蛋:"hún dàn",贞观:"zhēn guān",附和:"fù hè",能耐:"néng nài",吓唬:"xià hu",未了:"wèi liǎo",引着:"yǐn zháo",抽调:"chōu diào",沙子:"shā zi",席卷:"xí juǎn",标的:"biāo dì",别扭:"biè niu",思量:"sī liang",喝采:"hè cǎi",论语:"lún yǔ",盖子:"gài zi",分外:"fèn wài",弄堂:"lòng táng",乐舞:"yuè wǔ",雨量:"yǔ liàng",毛发:"máo fà",差遣:"chāi qiǎn",背负:"bēi fù",转速:"zhuàn sù",声乐:"shēng yuè",夹攻:"jiā gōng",供水:"gōng shuǐ",主干:"zhǔ gàn",惩处:"chéng chǔ",长相:"zhǎng xiàng",公差:"gōng chāi",榴弹:"liú dàn",省得:"shěng de",条子:"tiáo zi",重围:"chóng wéi",阻塞:"zǔ sè",劲风:"jìng fēng",纠葛:"jiū gé",颠簸:"diān bǒ",点中:"diǎn zhòng",重创:"zhòng chuāng",姥姥:"lǎo lao",迷糊:"mí hu",公家:"gōng jia",几率:"jī lǜ",苦闷:"kǔ mèn",度量:"dù liàng",差错:"chā cuò",暑假:"shǔ jià",参差:"cēn cī",搭载:"dā zài",助长:"zhù zhǎng",相称:"xiāng chèn",红晕:"hóng yùn",舍命:"shě mìng",喜好:"xǐ hào",列传:"liè zhuàn",劲敌:"jìng dí",蛤蟆:"há ma",请假:"qǐng jià",钉子:"dīng zi",沉没:"chén mò",高丽:"gāo lí",休假:"xiū jià",无为:"wú wéi",巴结:"bā jie",了得:"liǎo dé",变相:"biàn xiàng",核弹:"hé dàn",亲家:"qìng jia",承载:"chéng zài",喝问:"hè wèn",还击:"huán jī",交还:"jiāo huán",将令:"jiàng lìng",单于:"chán yú",空缺:"kòng quē",绿林:"lù lín",胆量:"dǎn liàng",执着:"zhí zhuó",低调:"dī diào",闭塞:"bì sè",轻薄:"qīng bó",得当:"dé dàng",占卜:"zhān bǔ",扫帚:"sào zhou",龟兹:"qiū cí",年长:"nián zhǎng",外传:"wài zhuàn",头子:"tóu zi",裁缝:"cái feng",礼乐:"lǐ yuè",血泊:"xuè pō",散乱:"sǎn luàn",动量:"dòng liàng",倒腾:"dǎo teng",取舍:"qǔ shě",咱家:"zán jiā",长发:"cháng fà",爪哇:"zhǎo wā",弹壳:"dàn ké",省悟:"xǐng wù",嚷嚷:"rāng rang",连累:"lián lèi",应得:"yīng dé",族长:"zú zhǎng",柜子:"guì zi",擂鼓:"léi gǔ",眩晕:"xuàn yùn",调配:"tiáo pèi",躯干:"qū gàn",差役:"chāi yì",坎坷:"kǎn kě",少儿:"shào ér",乐团:"yuè tuán",养分:"yǎng fèn",退还:"tuì huán",格调:"gé diào",语调:"yǔ diào",音调:"yīn diào",乐府:"yuè fǔ",古朴:"gǔ pǔ",打点:"dǎ diǎn",差使:"chāi shǐ",匀称:"yún chèn",瘦削:"shòu xuē",膏药:"gāo yao",吞没:"tūn mò",调任:"diào rèn",散居:"sǎn jū",上头:"shàng tóu",风靡:"fēng mǐ",放假:"fàng jià",估量:"gū liang",失当:"shī dàng",中弹:"zhòng dàn",妄为:"wàng wéi",长者:"zhǎng zhě",起哄:"qǐ hòng",末了:"mò liǎo",相声:"xiàng sheng",校正:"jiào zhèng",劝降:"quàn xiáng",矢量:"shǐ liàng",沉闷:"chén mèn",给与:"jǐ yǔ",解法:"jiě fǎ",塞外:"sài wài",将校:"jiàng xiào",嗜好:"shì hào",没落:"mò luò",朴刀:"pō dāo",片子:"piān zi",切削:"qiē xiāo",弹丸:"dàn wán",稀薄:"xī bó",亏得:"kuī dé",间歇:"jiàn xiē",翘首:"qiáo shǒu",色调:"sè diào",处决:"chǔ jué",表率:"biǎo shuài",尺子:"chǐ zi",招降:"zhāo xiáng",称职:"chèn zhí",斗篷:"dǒu peng",铺子:"pù zi",底子:"dǐ zi",负载:"fù zài",干警:"gàn jǐng",倒数:"dào shǔ",将官:"jiàng guān",锄头:"chú tou",归降:"guī xiáng",疟疾:"nüè ji",唠叨:"láo dao",限量:"xiàn liàng",屏息:"bǐng xī",重逢:"chóng féng",器乐:"qì yuè",氢弹:"qīng dàn",脖颈:"bó gěng",妃子:"fēi zi",处事:"chǔ shì",参量:"cān liàng",轻率:"qīng shuài",缥缈:"piāo miǎo",中奖:"zhòng jiǎng",才干:"cái gàn",施舍:"shī shě",卷子:"juàn zi",游说:"yóu shuì",巷子:"xiàng zi",膀胱:"páng guāng",切勿:"qiè wù",看管:"kān guǎn",风头:"fēng tou",精干:"jīng gàn",高差:"gāo chā",恐吓:"kǒng hè",扁担:"biǎn dàn",给养:"jǐ yǎng",格子:"gé zi",供需:"gōng xū",反差:"fǎn chā",飞弹:"fēi dàn",微薄:"wēi bó",发型:"fà xíng",即兴:"jí xìng",攒动:"cuán dòng",间或:"jiàn huò",浅薄:"qiǎn bó",乐章:"yuè zhāng",顺差:"shùn chā",调子:"diào zi",相位:"xiàng wèi",转子:"zhuàn zǐ",劲旅:"jìng lǚ",咔嚓:"kā chā",了事:"liǎo shì",转悠:"zhuàn you",当铺:"dàng pù",爪子:"zhuǎ zi",单子:"dān zi",好战:"hào zhàn",燕麦:"yàn mài",只许:"zhǐ xǔ",干练:"gàn liàn",女将:"nǚ jiàng",酒量:"jiǔ liàng",划船:"huá chuán",伎俩:"jì liǎng",挑拨:"tiǎo bō",少校:"shào xiào",着落:"zhuó luò",憎恶:"zēng wù",刻薄:"kè bó",要挟:"yāo xié",用处:"yòng chu",还手:"huán shǒu",模具:"mú jù",执著:"zhí zhuó",喝令:"hè lìng",保长:"bǎo zhǎng",吸着:"xī zhe",症结:"zhēng jié",公转:"gōng zhuàn",校勘:"jiào kān",重提:"chóng tí",扫兴:"sǎo xìng",铺盖:"pū gài",长史:"zhǎng shǐ",差价:"chā jià",压根:"yà gēn",怔住:"zhèng zhù",应允:"yīng yǔn",切入:"qiē rù",战将:"zhàn jiàng",年少:"nián shào",舍身:"shě shēn",执拗:"zhí niù",处世:"chǔ shì",中风:"zhòng fēng",等量:"děng liàng",放量:"fàng liàng",腔调:"qiāng diào",老少:"lǎo shào",没入:"mò rù",瓜葛:"guā gé",将帅:"jiàng shuài",车载:"chē zài",窝囊:"wō nang",长进:"zhǎng jìn",可汗:"kè hán",并州:"bīng zhōu",供销:"gōng xiāo",切片:"qiē piàn",差事:"chāi shì",知会:"zhī hui",鹰爪:"yīng zhǎo",处女:"chǔ nǚ",切磋:"qiē cuō",日头:"rì tou",押解:"yā jiè",滋长:"zī zhǎng",道观:"dào guàn",脚色:"jué sè",当量:"dāng liàng",婆家:"pó jia",缘分:"yuán fèn",空闲:"kòng xián",好色:"hào sè",怒喝:"nù hè",笼统:"lǒng tǒng",边塞:"biān sài",何曾:"hé céng",重合:"chóng hé",零散:"líng sǎn",轰隆:"hōng lōng",化子:"huà zi",内蒙:"nèi měng",数落:"shǔ luò",逆差:"nì chā",牟利:"móu lì",栅栏:"zhà lan",中标:"zhòng biāo",调档:"diào dàng",佝偻:"gōu lóu",场子:"chǎng zi",甲壳:"jiǎ qiào",重温:"chóng wēn",炮制:"páo zhì",返还:"fǎn huán",自传:"zì zhuàn",高调:"gāo diào",殷红:"yān hóng",固着:"gù zhuó",强求:"qiǎng qiú",本相:"běn xiàng",骄横:"jiāo hèng",草率:"cǎo shuài",气闷:"qì mèn",着色:"zhuó sè",宁肯:"nìng kěn",兴头:"xìng tou",拘泥:"jū nì",夹角:"jiā jiǎo",发髻:"fà jì",猛将:"měng jiàng",约摸:"yuē mo",拖累:"tuō lěi",呢绒:"ní róng",钻探:"zuān tàn",夹层:"jiā céng",落魄:"luò pò",巷道:"hàng dào",运量:"yùn liàng",解闷:"jiě mèn",空儿:"kòng er",估摸:"gū mo",好客:"hào kè",钻孔:"zuān kǒng",糊弄:"hù nòng",荥阳:"xíng yáng",烦闷:"fán mèn",仓卒:"cāng cù",分叉:"fēn chà",厂子:"chǎng zi",小调:"xiǎo diào",少阳:"shào yáng",受降:"shòu xiáng",染坊:"rǎn fáng",胳臂:"gē bei",将门:"jiàng mén",模板:"mú bǎn",配给:"pèi jǐ",为伍:"wéi wǔ",跟头:"gēn tou",划算:"huá suàn",累赘:"léi zhui",哄笑:"hōng xiào",晕眩:"yūn xuàn",干掉:"gàn diào",缝制:"féng zhì",难处:"nán chù",着意:"zhuó yì",蛮横:"mán hèng",奇数:"jī shù",短发:"duǎn fà",生还:"shēng huán",还清:"huán qīng",看护:"kān hù",直率:"zhí shuài",奏乐:"zòu yuè",载客:"zài kè",专横:"zhuān hèng",湮没:"yān mò",空格:"kòng gé",铺垫:"pū diàn",良将:"liáng jiàng",哗啦:"huā lā",散漫:"sǎn màn",脱发:"tuō fà",送还:"sòng huán",埋没:"mái mò",累及:"lěi jí",薄雾:"bó wù",调离:"diào lí",舌苔:"shé tāi",机长:"jī zhǎng",栓塞:"shuān sè",配角:"pèi jué",切口:"qiē kǒu",创口:"chuāng kǒu",哈欠:"hā qian",实弹:"shí dàn",铺平:"pū píng",哈达:"hǎ dá",懒散:"lǎn sǎn",实干:"shí gàn",填空:"tián kòng",刁钻:"diāo zuān",乐师:"yuè shī",量变:"liàng biàn",诱降:"yòu xiáng",搪塞:"táng sè",征调:"zhēng diào",夹道:"jiā dào",干咳:"gān ké",止咳:"zhǐ ké",乐工:"yuè gōng",划过:"huá guò",着火:"zháo huǒ",更正:"gēng zhèng",给付:"jǐ fù",空子:"kòng zi",哪吒:"né zhā",正着:"zhèng zháo",刷子:"shuā zi",丧葬:"sāng zàng",夹带:"jiā dài",安分:"ān fèn",中意:"zhòng yì",长孙:"zhǎng sūn",校订:"jiào dìng",卷曲:"juǎn qū",载运:"zài yùn",投弹:"tóu dàn",柞蚕:"zuò cán",份量:"fèn liàng",调换:"diào huàn",了然:"liǎo rán",咧嘴:"liě zuǐ",典当:"diǎn dàng",寒假:"hán jià",长兄:"zhǎng xiōng",给水:"jǐ shuǐ",须发:"xū fà",枝干:"zhī gàn",属相:"shǔ xiàng",哄抢:"hōng qiǎng",刻划:"kè huà",塞子:"sāi zi",单干:"dān gàn",还乡:"huán xiāng",兆头:"zhào tou",寺观:"sì guàn",督率:"dū shuài",啊哈:"ā ha",割舍:"gē shě",抹布:"mā bù",好恶:"hào wù",下处:"xià chǔ",消长:"xiāo zhǎng",离间:"lí jiàn",准头:"zhǔn tou",校对:"jiào duì",什物:"shí wù",番禺:"pān yú",佛爷:"fó ye",吗啡:"mǎ fēi",盐分:"yán fèn",虎将:"hǔ jiàng",薄荷:"bò he",独处:"dú chǔ",空位:"kòng wèi",铺路:"pū lù",乌拉:"wū lā",调回:"diào huí",来头:"lái tou",闲散:"xián sǎn",胶卷:"jiāo juǎn",冒失:"mào shi",干劲:"gàn jìn",弦乐:"xián yuè",相国:"xiàng guó",丹参:"dān shēn",助兴:"zhù xìng",铺开:"pū kāi",次长:"cì zhǎng",发卡:"fà qiǎ",拮据:"jié jū",刹车:"shā chē",生发:"shēng fà",重播:"chóng bō",缝合:"féng hé",音量:"yīn liàng",少尉:"shào wèi",冲压:"chòng yā",苍劲:"cāng jìng",厚薄:"hòu báo",威吓:"wēi hè",外相:"wài xiàng",呼号:"hū háo",着迷:"zháo mí",挑担:"tiāo dàn",纹路:"wén lù",还俗:"huán sú",强横:"qiáng hèng",着数:"zhāo shù",降顺:"xiáng shùn",挑明:"tiǎo míng",眯缝:"mī feng",分内:"fèn nèi",更衣:"gēng yī",软和:"ruǎn huo",尽兴:"jìn xìng",号子:"hào zi",爪牙:"zhǎo yá",败将:"bài jiàng",猜中:"cāi zhòng",结扎:"jié zā",没空:"méi kòng",夹缝:"jiā fèng",拾掇:"shí duo",掺和:"chān huo",簸箕:"bò ji",电量:"diàn liàng",荷载:"hè zǎi",调式:"diào shì",处身:"chǔ shēn",打手:"dǎ shǒu",弹弓:"dàn gōng",横蛮:"hèng mán",能干:"néng gàn",校点:"jiào diǎn",加载:"jiā zài",干校:"gàn xiào",哄传:"hōng chuán",校注:"jiào zhù",淤塞:"yū sè",马扎:"mǎ zhá",月氏:"yuè zhī",高干:"gāo gàn",经传:"jīng zhuàn",曾孙:"zēng sūn",好斗:"hào dòu",关卡:"guān qiǎ",逃奔:"táo bèn",磨蹭:"mó ceng",牟取:"móu qǔ",颤栗:"zhàn lì",蚂蚱:"mà zha",撮合:"cuō he",趔趄:"liè qie",摔打:"shuāi dǎ",台子:"tái zi",分得:"fēn de",粘着:"nián zhuó",采邑:"cài yì",散装:"sǎn zhuāng",婀娜:"ē nuó",兴味:"xìng wèi",行头:"xíng tou",气量:"qì liàng",调运:"diào yùn",处治:"chǔ zhì",乐音:"yuè yīn",充塞:"chōng sè",恫吓:"dòng hè",论调:"lùn diào",相中:"xiāng zhòng",民乐:"mín yuè",炮仗:"pào zhang",丧服:"sāng fú",骁将:"xiāo jiàng",量刑:"liàng xíng",缝补:"féng bǔ",财会:"cái kuài",大干:"dà gàn",历数:"lì shǔ",校场:"jiào chǎng",塞北:"sài běi",识相:"shí xiàng",辱没:"rǔ mò",鲜亮:"xiān liàng",语塞:"yǔ sè",露脸:"lòu liǎn",凉快:"liáng kuai",腰杆:"yāo gǎn",溜达:"liū da",嘎嘎:"gā gā",公干:"gōng gàn",桔梗:"jié gěng",挑逗:"tiǎo dòu",看门:"kān mén",乐歌:"yuè gē",拓片:"tà piàn",挑动:"tiǎo dòng",准将:"zhǔn jiàng",遒劲:"qiú jìng",磨坊:"mò fáng",逶迤:"wēi yí",搅和:"jiǎo huo",摩挲:"mó suō",作弄:"zuò nòng",苗头:"miáo tou",打颤:"dǎ zhàn",大藏:"dà zàng",畜牲:"chù shēng",勾搭:"gōu da",树荫:"shù yīn",树杈:"shù chà",铁杆:"tiě gǎn",将相:"jiàng xiàng",份子:"fèn zi",视差:"shì chā",绿荫:"lǜ yīn",枪杆:"qiāng gǎn",缝纫:"féng rèn",愁闷:"chóu mèn",点将:"diǎn jiàng",华佗:"huà tuó",劲射:"jìng shè",箱笼:"xiāng lǒng",终了:"zhōng liǎo",鬓发:"bìn fà",结巴:"jiē ba",苦干:"kǔ gàn",看家:"kān jiā",正旦:"zhēng dàn",中肯:"zhòng kěn",厦门:"xià mén",东莞:"dōng guǎn",食量:"shí liàng",宫调:"gōng diào",间作:"jiàn zuò",弹片:"dàn piàn",差池:"chā chí",漂白:"piǎo bái",杠子:"gàng zi",调处:"tiáo chǔ",好动:"hào dòng",转炉:"zhuàn lú",屏气:"bǐng qì",夹板:"jiā bǎn",哀乐:"āi yuè",干道:"gàn dào",苦处:"kǔ chù",劈柴:"pǐ chái",长势:"zhǎng shì",天华:"tiān huá",共处:"gòng chǔ",校验:"jiào yàn",出塞:"chū sài",磨盘:"mò pán",萎靡:"wěi mǐ",奔丧:"bēn sāng",唱和:"chàng hè",大调:"dà diào",非分:"fēi fèn",钻营:"zuān yíng",夹子:"jiā zi",超载:"chāo zài",更始:"gēng shǐ",铃铛:"líng dang",披散:"pī sàn",发还:"fā huán",转轮:"zhuàn lún",横财:"hèng cái",泡桐:"pāo tóng",抛撒:"pāo sǎ",天呀:"tiān yā",糊糊:"hū hu",躯壳:"qū qiào",通量:"tōng liàng",奉还:"fèng huán",午觉:"wǔ jiào",闷棍:"mèn gùn",浪头:"làng tou",砚台:"yàn tái",油坊:"yóu fáng",学长:"xué zhǎng",过载:"guò zài",笔调:"bǐ diào",衣被:"yī bèi",畜产:"xù chǎn",调阅:"diào yuè",蛮干:"mán gàn",曾祖:"zēng zǔ",提干:"tí gàn",变调:"biàn diào",覆没:"fù mò",模子:"mú zi",乐律:"yuè lǜ",称心:"chèn xīn",木杆:"mù gān",重印:"chóng yìn",自省:"zì xǐng",提调:"tí diào",看相:"kàn xiàng",芋头:"yù tou",下切:"xià qiē",塞上:"sài shàng",铺张:"pū zhāng",藤蔓:"téng wàn",薄幸:"bó xìng",解数:"xiè shù",褪去:"tuì qù",霰弹:"xiàn dàn",柚木:"yóu mù",痕量:"hén liàng",雅乐:"yǎ yuè",号哭:"háo kū",诈降:"zhà xiáng",猪圈:"zhū juàn",咋舌:"zé shé",铣床:"xǐ chuáng",防弹:"fáng dàn",健将:"jiàn jiàng",丽水:"lí shuǐ",削发:"xuē fà",空当:"kòng dāng",多相:"duō xiàng",鲜见:"xiǎn jiàn",划桨:"huá jiǎng",载波:"zài bō",跳蚤:"tiào zao",俏皮:"qiào pí",吧嗒:"bā dā",结发:"jié fà",了断:"liǎo duàn",同调:"tóng diào",石磨:"shí mò",时差:"shí chā",鼻塞:"bí sè",挑子:"tiāo zi",推磨:"tuī mò",武侯:"wǔ hóu",抹煞:"mǒ shā",调转:"diào zhuǎn",籍没:"jí mò",还债:"huán zhài",调演:"diào yǎn",分划:"fēn huá",奇偶:"jī ǒu",断喝:"duàn hè",闷雷:"mèn léi",狼藉:"láng jí",饭量:"fàn liàng",还礼:"huán lǐ",转调:"zhuǎn diào",星相:"xīng xiàng",手相:"shǒu xiàng",配乐:"pèi yuè",盖头:"gài tou",连杆:"lián gǎn",簿记:"bù jì",刀把:"dāo bà",量词:"liàng cí",名角:"míng jué",步调:"bù diào",校本:"jiào běn",账簿:"zhàng bù",隽永:"juàn yǒng",稍为:"shāo wéi",易传:"yì zhuàn",乐谱:"yuè pǔ",牵累:"qiān lěi",答理:"dā li",喝斥:"hè chì",吟哦:"yín é",干渠:"gàn qú",海量:"hǎi liàng",精当:"jīng dàng",着床:"zhuó chuáng",月相:"yuè xiàng",庶几:"shù jī",宫观:"gōng guàn",论处:"lùn chǔ",征辟:"zhēng bì",厚朴:"hòu pò",介壳:"jiè qiào",吭哧:"kēng chī",咯血:"kǎ xiě",铺陈:"pū chén",重生:"chóng shēng",乐理:"yuè lǐ",哀号:"āi háo",藏历:"zàng lì",刚劲:"gāng jìng",削平:"xuē píng",浓荫:"nóng yīn",城垛:"chéng duǒ",当差:"dāng chāi",正传:"zhèng zhuàn",并处:"bìng chǔ",创面:"chuāng miàn",旦角:"dàn jué",薄礼:"bó lǐ",晃荡:"huàng dang",臊子:"sào zi",家什:"jiā shí",闷头:"mēn tóu",美发:"měi fà",度数:"dù shu",着凉:"zháo liáng",闯将:"chuǎng jiàng",几案:"jī àn",姘头:"pīn tou",差数:"chā shù",散碎:"sǎn suì",壅塞:"yōng sè",寒颤:"hán zhàn",牵强:"qiān qiǎng",无间:"wú jiàn",轮转:"lún zhuàn",号叫:"háo jiào",铺排:"pū pái",降伏:"xiáng fú",轧钢:"zhá gāng",东阿:"dōng ē",病假:"bìng jià",累加:"lěi jiā",梗塞:"gěng sè",弹夹:"dàn jiā",钻心:"zuān xīn",晃眼:"huǎng yǎn",魔爪:"mó zhǎo",标量:"biāo liàng",憋闷:"biē mèn",猜度:"cāi duó",处士:"chǔ shì",官差:"guān chāi",讨还:"tǎo huán",长门:"cháng mén",馏分:"liú fēn",里弄:"lǐ lòng",色相:"sè xiàng",雅兴:"yǎ xìng",角力:"jué lì",弹坑:"dàn kēng",枝杈:"zhī chà",夹具:"jiā jù",处刑:"chǔ xíng",悍将:"hàn jiàng",好学:"hào xué",好好:"hǎo hǎo",银发:"yín fà",扫把:"sào bǎ",法相:"fǎ xiàng",贵干:"guì gàn",供气:"gōng qì",空余:"kòng yú",捆扎:"kǔn zā",瘠薄:"jí bó",浆糊:"jiàng hu",嘎吱:"gā zhī",调令:"diào lìng",法帖:"fǎ tiè",淋病:"lìn bìng",调派:"diào pài",转盘:"zhuàn pán",供稿:"gōng gǎo",差官:"chāi guān",忧闷:"yōu mèn",教长:"jiào zhǎng",重唱:"chóng chàng",酒兴:"jiǔ xìng",乐坛:"yuè tán",花呢:"huā ní",叱喝:"chì hè",膀臂:"bǎng bì",得空:"dé kòng",转圈:"zhuàn quān",横暴:"hèng bào",哄抬:"hōng tái",引吭:"yǐn háng",载货:"zài huò",中计:"zhòng jì",官长:"guān zhǎng",相面:"xiàng miàn",看头:"kàn tou",盼头:"pàn tou",意兴:"yì xìng",军乐:"jūn yuè",累次:"lěi cì",骨嘟:"gǔ dū",燕赵:"yān zhào",报丧:"bào sāng",弥撒:"mí sa",挨斗:"ái dòu",扁舟:"piān zhōu",丑角:"chǒu jué",吊丧:"diào sāng",强将:"qiáng jiàng",重奏:"chóng zòu",发辫:"fà biàn",着魔:"zháo mó",着法:"zhāo fǎ",盛放:"shèng fàng",填塞:"tián sè",凶横:"xiōng hèng",稽首:"qǐ shǒu",碑帖:"bēi tiè",冲量:"chōng liàng",发菜:"fà cài",假发:"jiǎ fà",翻卷:"fān juǎn",小量:"xiǎo liàng",胶着:"jiāo zhuó",里子:"lǐ zi",调调:"diào diao",散兵:"sǎn bīng",高挑:"gāo tiǎo",播撒:"bō sǎ",夹心:"jiā xīn",扇动:"shān dòng",叨扰:"tāo rǎo",霓裳:"ní cháng",捻子:"niǎn zi",弥缝:"mí féng",撒布:"sǎ bù",场院:"cháng yuàn",省亲:"xǐng qīn",提拉:"tí lā",惯量:"guàn liàng",强逼:"qiáng bī",强征:"qiáng zhēng",晕车:"yùn chē",数道:"shù dào",带累:"dài lèi",拓本:"tà běn",嫌恶:"xián wù",宿将:"sù jiàng",龟裂:"jūn liè",缠夹:"chán jiā",发式:"fà shì",隔扇:"gé shàn",天分:"tiān fèn",癖好:"pǐ hào",四通:"sì tōng",白术:"bái zhú",划伤:"huá shāng",角斗:"jué dòu",听差:"tīng chāi",岁差:"suì chā",丧礼:"sāng lǐ",脉脉:"mò mò",削瘦:"xuē shòu",撒播:"sǎ bō",莎草:"suō cǎo",犍为:"qián wéi",调头:"diào tóu",龙卷:"lóng juǎn",外调:"wài diào",字帖:"zì tiè",卷发:"juǎn fà",揣度:"chuǎi duó",洋相:"yáng xiàng",散光:"sǎn guāng",骨碌:"gū lu",薄命:"bó mìng",笼头:"lóng tóu",咽炎:"yān yán",碌碡:"liù zhou",片儿:"piàn er",纤手:"qiàn shǒu",散体:"sǎn tǐ",内省:"nèi xǐng",强留:"qiáng liú",解送:"jiè sòng",反间:"fǎn jiàn",少壮:"shào zhuàng",留空:"liú kōng",告假:"gào jià",咳血:"ké xuè",薄暮:"bó mù",铺轨:"pū guǐ",磨削:"mó xuē",治丧:"zhì sāng",叉子:"chā zi",哄动:"hōng dòng",蛾子:"é zi",出落:"chū luò",股长:"gǔ zhǎng",贵处:"guì chù",还魂:"huán hún",例假:"lì jià",刹住:"shā zhù",身量:"shēn liàng",同好:"tóng hào",模量:"mó liàng",更生:"gēng shēng",服丧:"fú sāng",率直:"shuài zhí",字模:"zì mú",散架:"sǎn jià",答腔:"dā qiāng",交恶:"jiāo wù",薄情:"bó qíng",眼泡:"yǎn pāo",袅娜:"niǎo nuó",草垛:"cǎo duò",冲劲:"chòng jìn",呢喃:"ní nán",切中:"qiè zhòng",挑灯:"tiǎo dēng",还愿:"huán yuàn",激将:"jī jiàng",更鼓:"gēng gǔ",没药:"mò yào",败兴:"bài xìng",切面:"qiē miàn",散户:"sǎn hù",累进:"lěi jìn",背带:"bēi dài",秤杆:"chèng gǎn",碾坊:"niǎn fáng",簿子:"bù zi",扳手:"bān shǒu",铅山:"yán shān",儒将:"rú jiàng",重光:"chóng guāng",剪发:"jiǎn fà",长上:"zhǎng shàng",小传:"xiǎo zhuàn",压轴:"yā zhòu",弱冠:"ruò guàn",花卷:"huā juǎn",横祸:"hèng huò",夹克:"jiā kè",光晕:"guāng yùn",披靡:"pī mǐ",对调:"duì diào",夹持:"jiā chí",空额:"kòng é",平调:"píng diào",铺床:"pū chuáng",丧钟:"sāng zhōng",作乐:"zuò lè",少府:"shào fǔ",数数:"shuò shuò",奔头:"bèn tou",进给:"jìn jǐ",率性:"shuài xìng",乐子:"lè zi",绑扎:"bǎng zā",挑唆:"tiǎo suō",漂洗:"piǎo xǐ",夹墙:"jiā qiáng",咳喘:"ké chuǎn",乜斜:"miē xie",错处:"cuò chù",闷酒:"mèn jiǔ",时调:"shí diào",重孙:"chóng sūn",经幢:"jīng chuáng",圩场:"xū chǎng",调门:"diào mén",花头:"huā tóu",划拉:"huá la",套色:"tào shǎi",粗率:"cū shuài",相率:"xiāng shuài",款识:"kuǎn zhì",吁请:"yù qǐng",荫蔽:"yīn bì",文蛤:"wén gé",嘀嗒:"dī dā",调取:"diào qǔ",交差:"jiāo chāi",落子:"luò zǐ",相册:"xiàng cè",絮叨:"xù dao",落发:"luò fà",异相:"yì xiàng",浸没:"jìn mò",角抵:"jué dǐ",卸载:"xiè zài",春卷:"chūn juǎn",扎挣:"zhá zheng",畜养:"xù yǎng",吡咯:"bǐ luò",垛子:"duò zi",恶少:"è shào",发际:"fà jì",红苕:"hóng sháo",糨糊:"jiàng hu",哭丧:"kū sāng",稍息:"shào xī",晕船:"yùn chuán",校样:"jiào yàng",外差:"wài chā",脚爪:"jiǎo zhǎo",铺展:"pū zhǎn",芫荽:"yán sui",夹紧:"jiā jǐn",尿泡:"suī pào",丧乱:"sāng luàn",凶相:"xiōng xiàng",华发:"huá fà",打场:"dǎ cháng",云量:"yún liàng",正切:"zhèng qiē",划拳:"huá quán",划艇:"huá tǐng",评传:"píng zhuàn",拉纤:"lā qiàn",句读:"jù dòu",散剂:"sǎn jì",骨殖:"gǔ shi",塞音:"sè yīn",铺叙:"pū xù",阏氏:"yān zhī",冷颤:"lěng zhàn",煞住:"shā zhù",少男:"shào nán",管乐:"guǎn yuè",号啕:"háo táo",纳降:"nà xiáng",拥塞:"yōng sè",万乘:"wàn shèng",杆儿:"gǎn ér",葛藤:"gé téng",簿籍:"bù jí",皮夹:"pí jiā",校准:"jiào zhǔn",允当:"yǔn dàng",器量:"qì liàng",选调:"xuǎn diào",扮相:"bàn xiàng",干才:"gàn cái",基干:"jī gàn",割切:"gē qiē",国乐:"guó yuè",卡壳:"qiǎ ké",辟谷:"bì gǔ",磨房:"mò fáng",咿呀:"yī yā",芥末:"jiè mo",薄技:"bó jì",产假:"chǎn jià",诗兴:"shī xìng",重出:"chóng chū",转椅:"zhuàn yǐ",酌量:"zhuó liang",簿册:"bù cè",藏青:"zàng qīng",的士:"dī shì",调人:"diào rén",解元:"jiè yuán",茎干:"jīng gàn",巨量:"jù liàng",榔头:"láng tou",率真:"shuài zhēn",喷香:"pèn xiāng",锁钥:"suǒ yuè",虾蟆:"há má",相图:"xiàng tú",兴会:"xìng huì",灶头:"zào tóu",重婚:"chóng hūn",钻洞:"zuān dòng",忖度:"cǔn duó",党参:"dǎng shēn",调温:"diào wēn",杆塔:"gān tǎ",葛布:"gé bù",拱券:"gǒng xuàn",夹生:"jiā shēng",露馅:"lòu xiàn",恰切:"qià qiè",散见:"sǎn jiàn",哨卡:"shào qiǎ",烫发:"tàng fà",体量:"tǐ liàng",挺括:"tǐng kuò",系带:"jì dài",相士:"xiàng shì",羊圈:"yáng juàn",转矩:"zhuàn jǔ",吧台:"bā tái",苍术:"cāng zhú",菲薄:"fěi bó",蛤蚧:"gé jiè",蛤蜊:"gé lí",瓜蔓:"guā wàn",怪相:"guài xiàng",临帖:"lín tiè",女红:"nǚ gōng",刨床:"bào chuáng",翘楚:"qiáo chǔ",数九:"shǔ jiǔ",谈兴:"tán xìng",雄劲:"xióng jìng",扎染:"zā rǎn",遮荫:"zhē yīn",周正:"zhōu zhèng",赚头:"zhuàn tou",扒手:"pá shǒu",搀和:"chān huo",诚朴:"chéng pǔ",肚量:"dù liàng",干结:"gān jié",工尺:"gōng chě",家累:"jiā lěi",曲水:"qū shuǐ",沙参:"shā shēn",挑花:"tiǎo huā",阿门:"ā mén",背篓:"bēi lǒu",瘪三:"biē sān",裁处:"cái chǔ",创痛:"chuāng tòng",福相:"fú xiàng",更动:"gēng dòng",豪兴:"háo xìng",还阳:"huán yáng",还嘴:"huán zuǐ",借调:"jiè diào",卷云:"juǎn yún",流弹:"liú dàn",想头:"xiǎng tou",削价:"xuē jià",校阅:"jiào yuè",雅量:"yǎ liàng",别传:"bié zhuàn",薄酒:"bó jiǔ",春假:"chūn jià",发妻:"fà qī",哗哗:"huā huā",宽绰:"kuān chuo",了悟:"liǎo wù",切花:"qiē huā",审度:"shěn duó",应许:"yīng xǔ",转台:"zhuàn tái",仔猪:"zǐ zhū",裁量:"cái liáng",藏戏:"zàng xì",乘兴:"chéng xìng",绸缪:"chóu móu",摧折:"cuī zhé",调经:"tiáo jīng",调职:"diào zhí",缝缀:"féng zhuì",骨朵:"gū duǒ",核儿:"hú er",恒量:"héng liàng",还价:"huán jià",浑朴:"hún pǔ",苦差:"kǔ chāi",面糊:"miàn hù",煞车:"shā chē",省视:"xǐng shì",什锦:"shí jǐn",信差:"xìn chāi",余切:"yú qiē",攒眉:"cuán méi",炸糕:"zhá gāo",钻杆:"zuàn gǎn",扒灰:"pá huī",拌和:"bàn huò",长调:"cháng diào",大溜:"dà liù",抖搂:"dǒu lōu",飞转:"fēi zhuàn",干仗:"gàn zhàng",好胜:"hào shèng",画片:"huà piàn",搅混:"jiǎo hún",螺杆:"luó gǎn",木模:"mù mú",怒号:"nù háo",频数:"pín shù",无宁:"wú níng",遗少:"yí shào",邮差:"yóu chāi",占卦:"zhān guà",占星:"zhān xīng",重审:"chóng shěn",自量:"zì liàng",调防:"diào fáng",发廊:"fà láng",反调:"fǎn diào",缝子:"fèng zi",更夫:"gēng fū",骨子:"gǔ zi",光杆:"guāng gǎn",夹棍:"jiā gùn",居丧:"jū sāng",巨贾:"jù gǔ",看押:"kān yā",空转:"kōng zhuàn",量力:"liàng lì",炮烙:"páo luò",赔还:"péi huán",扑扇:"pū shān",散记:"sǎn jì",散件:"sǎn jiàn",删削:"shān xuē",射干:"shè gàn",条几:"tiáo jī",偷空:"tōu kòng",削壁:"xuē bì",校核:"jiào hé",阴干:"yīn gān",择菜:"zhái cài",重九:"chóng jiǔ",主调:"zhǔ diào",自禁:"zì jīn",吧唧:"bā jī",便溺:"biàn niào",词调:"cí diào",叨咕:"dáo gu",落枕:"lào zhěn",铺砌:"pū qì",刷白:"shuà bái",委靡:"wěi mǐ",系泊:"xì bó",相马:"xiàng mǎ",熨帖:"yù tiē",转筋:"zhuàn jīn",棒喝:"bàng hè",傧相:"bīn xiàng",镐头:"gǎo tóu",间苗:"jiàn miáo",乐池:"yuè chí",卖相:"mài xiàng",屏弃:"bǐng qì",铅弹:"qiān dàn",切变:"qiē biàn",请调:"qǐng diào",群氓:"qún méng",散板:"sǎn bǎn",省察:"xǐng chá",事假:"shì jià",纤绳:"qiàn shéng",重影:"chóng yǐng",耕种:"gēng zhòng",种地:"zhòng dì",种菜:"zhòng cài",栽种:"zāi zhòng",接种:"jiē zhòng",垦种:"kěn zhòng",种殖:"zhòng zhí",种瓜:"zhòng guā",种豆:"zhòng dòu",种树:"zhòng shù",睡着:"shuì zháo",笼子:"lóng zi",重启:"chóng qǐ",重整:"chóng zhěng",重弹:"chóng tán",重足:"chóng zú",重山:"chóng shān",重游:"chóng yóu",重峦:"chóng luán",爷爷:"yé ye",奶奶:"nǎi nai",姥爷:"lǎo ye",爸爸:"bà ba",妈妈:"mā ma",婶婶:"shěn shen",舅舅:"jiù jiu",姑姑:"gū gu",叔叔:"shū shu",姨夫:"yí fu",舅母:"jiù mu",姑父:"gū fu",姐夫:"jiě fu",婆婆:"pó po",公公:"gōng gong",舅子:"jiù zi",姐姐:"jiě jie",哥哥:"gē ge",妹妹:"mèi mei",妹夫:"mèi fu",姨子:"yí zi",宝宝:"bǎo bao",娃娃:"wá wa",孩子:"hái zi",日子:"rì zi",样子:"yàng zi",狮子:"shī zi",身子:"shēn zi",架子:"jià zi",嫂子:"sǎo zi",鼻子:"bí zi",亭子:"tíng zi",折子:"zhé zi",面子:"miàn zi",脖子:"bó zi",辈子:"bèi zi",帽子:"mào zi",拍子:"pāi zi",柱子:"zhù zi",辫子:"biàn zi",鸽子:"gē zi",房子:"fáng zi",丸子:"wán zi",摊子:"tān zi",牌子:"pái zi",胡子:"hú zi",鬼子:"guǐ zi",矮子:"ǎi zi",鸭子:"yā zi",小子:"xiǎo zi",影子:"yǐng zi",屋子:"wū zi",对子:"duì zi",点子:"diǎn zi",本子:"běn zi",种子:"zhǒng zi",儿子:"ér zi",兔子:"tù zi",骗子:"piàn zi",院子:"yuàn zi",猴子:"hóu zi",嗓子:"sǎng zi",侄子:"zhí zi",柿子:"shì zi",钳子:"qián zi",虱子:"shī zi",瓶子:"píng zi",豹子:"bào zi",筷子:"kuài zi",篮子:"lán zi",绳子:"shéng zi",嘴巴:"zuǐ ba",耳朵:"ěr duo",茄子:"qié zi",蚌埠:"bèng bù",崆峒:"kōng tóng",琵琶:"pí pa",蘑菇:"mó gu",葫芦:"hú lu",狐狸:"hú li",桔子:"jú zi",盒子:"hé zi",桌子:"zhuō zi",竹子:"zhú zi",师傅:"shī fu",衣服:"yī fu",袜子:"wà zi",杯子:"bēi zi",刺猬:"cì wei",麦子:"mài zi",队伍:"duì wu",知了:"zhī liǎo",鱼儿:"yú er",馄饨:"hún tun",灯笼:"dēng long",庄稼:"zhuāng jia",聪明:"cōng ming",镜子:"jìng zi",银子:"yín zi",盘子:"pán zi",了却:"liǎo què",力气:"lì qi",席子:"xí zi",林子:"lín zi",朝霞:"zhāo xiá",朝夕:"zhāo xī",朝气:"zhāo qì",翅膀:"chì bǎng",省长:"shěng zhǎng",臧否:"zāng pǐ",否泰:"pǐ tài",变得:"biàn de",丈夫:"zhàng fu",豆腐:"dòu fu",笔杆:"bǐ gǎn",枞阳:"zōng yáng",行人:"xíng rén",打着:"dǎ zhe",第一:"dì yī",万一:"wàn yī",之一:"zhī yī",得之:"dé zhī",统一:"tǒng yī",唯一:"wéi yī",专一:"zhuān yī",单一:"dān yī",如一:"rú yī",其一:"qí yī",合一:"hé yī",逐一:"zhú yī",周一:"zhōu yī",初一:"chū yī",研一:"yán yī",归一:"guī yī",假一:"jiǎ yī",闻一:"wén yī",了了:"liǎo liǎo",公了:"gōng liǎo",私了:"sī liǎo",一月:"yī yuè",一号:"yī hào",一级:"yī jí",一等:"yī děng",一哥:"yī gē",月一:"yuè yī",一一:"yī yī",二一:"èr yī",三一:"sān yī",四一:"sì yī",五一:"wǔ yī",六一:"liù yī",七一:"qī yī",八一:"bā yī",九一:"jiǔ yī",一〇:"yī líng",一零:"yī líng",一二:"yī èr",一三:"yī sān",一四:"yī sì",一五:"yī wǔ",一六:"yī liù",一七:"yī qī",一八:"yī bā",一九:"yī jiǔ",一又:"yī yòu",一饼:"yī bǐng",一楼:"yī lóu",为例:"wéi lì",为准:"wéi zhǔn",沧海:"cāng hǎi",难为:"nán wéi",责难:"zé nàn",患难:"huàn nàn",磨难:"mó nàn",大难:"dà nàn",刁难:"diāo nàn",殉难:"xùn nàn",落难:"luò nàn",罹难:"lí nàn",灾难:"zāi nàn",难民:"nàn mín",苦难:"kǔ nàn",危难:"wēi nàn",发难:"fā nàn",逃难:"táo nàn",避难:"bì nàn",遇难:"yù nàn",阻难:"zǔ nàn",厄难:"è nàn",徇难:"xùn nàn",空难:"kōng nàn",喜欢:"xǐ huan",朝朝:"zhāo zhāo",不行:"bù xíng",轧轧:"yà yà",弯曲:"wān qū",扭曲:"niǔ qū",曲直:"qū zhí",委曲:"wěi qū",酒曲:"jiǔ qū",曲径:"qū jìng",曲解:"qū jiě",歪曲:"wāi qū",曲线:"qū xiàn",曲阜:"qū fù",九曲:"jiǔ qū",曲折:"qū zhé",曲肱:"qū gōng",曲意:"qū yì",仡佬:"gē lǎo"},$h0=Object.keys(ev0).map(($)=>({zh:$,pinyin:ev0[$],probability:0.00000002,length:2,priority:d4.Normal,dict:Symbol("dict2")}));var Yh0={为什么:"wèi shén me",实际上:"shí jì shang",检察长:"jiǎn chá zhǎng",干什么:"gàn shén me",这会儿:"zhè huì er",尽可能:"jǐn kě néng",董事长:"dǒng shì zhǎng",了不起:"liǎo bù qǐ",参谋长:"cān móu zhǎng",朝鲜族:"cháo xiǎn zú",海内外:"hǎi nèi wài",禁不住:"jīn bú zhù",柏拉图:"bó lā tú",不在乎:"bú zài hu",洛杉矶:"luò shān jī",有点儿:"yǒu diǎn er",迫击炮:"pǎi jī pào",不得了:"bù dé liǎo",马尾松:"mǎ wěi sōng",运输量:"yùn shū liàng",发脾气:"fā pí qi",士大夫:"shì dà fū",鸭绿江:"yā lù jiāng",压根儿:"yà gēn er",对得起:"duì de qǐ",那会儿:"nà huì er",自个儿:"zì gě er",物理量:"wù lǐ liàng",怎么着:"zěn me zhāo",明晃晃:"míng huǎng huǎng",节假日:"jié jià rì",心里话:"xīn lǐ huà",发行量:"fā xíng liàng",兴冲冲:"xìng chōng chōng",分子量:"fēn zǐ liàng",国子监:"guó zǐ jiàn",老大难:"lǎo dà nán",党内外:"dǎng nèi wài",这么着:"zhè me zhāo",少奶奶:"shào nǎi nai",暗地里:"àn dì lǐ",更年期:"gēng nián qī",工作量:"gōng zuò liàng",背地里:"bèi dì lǐ",山里红:"shān li hóng",好好儿:"hǎo hāo er",交响乐:"jiāo xiǎng yuè",好意思:"hǎo yì si",吐谷浑:"tǔ yù hún",没意思:"méi yì si",理发师:"lǐ fà shī",塔什干:"tǎ shí gān",充其量:"chōng qí liàng",靠得住:"kào de zhù",车行道:"chē xíng dào",人行道:"rén xíng dào",中郎将:"zhōng láng jiàng",照明弹:"zhào míng dàn",烟幕弹:"yān mù dàn",没奈何:"mò nài hé",乱哄哄:"luàn hōng hōng",惠更斯:"huì gēng sī",载重量:"zài zhòng liàng",瞧得起:"qiáo de qǐ",纪传体:"jì zhuàn tǐ",阿房宫:"ē páng gōng",卷心菜:"juǎn xīn cài",戏班子:"xì bān zi",过得去:"guò de qù",花岗石:"huā gāng shí",外甥女:"wài sheng nǚ",团团转:"tuán tuán zhuàn",大堡礁:"dà bǎo jiāo",燃烧弹:"rán shāo dàn",劳什子:"láo shí zi",摇滚乐:"yáo gǔn yuè",夹竹桃:"jiā zhú táo",闹哄哄:"nào hōng hōng",三连冠:"sān lián guàn",重头戏:"zhòng tóu xì",二人转:"èr rén zhuàn",节骨眼:"jiē gǔ yǎn",知识面:"zhī shi miàn",护士长:"hù shi zhǎng",信号弹:"xìn hào dàn",干电池:"gān diàn chí",枪杆子:"qiāng gǎn zi",哭丧棒:"kū sāng bàng",鼻咽癌:"bí yān ái",瓦岗军:"wǎ gāng jūn",买得起:"mǎi de qǐ",癞蛤蟆:"lài há ma",脊梁骨:"jǐ liang gǔ",子母弹:"zǐ mǔ dàn",开小差:"kāi xiǎo chāi",女强人:"nǚ qiáng rén",英雄传:"yīng xióng zhuàn",爵士乐:"jué shì yuè",说笑话:"shuō xiào hua",碰头会:"pèng tóu huì",玻璃钢:"bō li gāng",曳光弹:"yè guāng dàn",少林拳:"shào lín quán",咏叹调:"yǒng tàn diào",少先队:"shào xiān duì",灵长目:"líng zhǎng mù",对着干:"duì zhe gàn",蒙蒙亮:"méng méng liàng",软骨头:"ruǎn gǔ tou",铺盖卷:"pū gài juǎn",和稀泥:"huò xī ní",背黑锅:"bēi hēi guō",红彤彤:"hóng tōng tōng",武侯祠:"wǔ hóu cí",打哆嗦:"dǎ duō suo",户口簿:"hù kǒu bù",马尾藻:"mǎ wěi zǎo",夜猫子:"yè māo zi",打手势:"dǎ shǒu shì",龙王爷:"lóng wáng yé",气头上:"qì tóu shang",糊涂虫:"hú tu chóng",笔杆子:"bǐ gǎn zi",占便宜:"zhàn pián yi",打主意:"dǎ zhǔ yì",多弹头:"duō dàn tóu",露一手:"lòu yì shǒu",堰塞湖:"yàn sè hú",保得住:"bǎo de zhù",趵突泉:"bào tū quán",奥得河:"ào de hé",司务长:"sī wù zhǎng",禁不起:"jīn bù qǐ",什刹海:"shí chà hǎi",莲花落:"lián huā lào",见世面:"jiàn shì miàn",豁出去:"huō chū qù",电位差:"diàn wèi chā",挨个儿:"āi gè er",那阵儿:"nà zhèn er",肺活量:"fèi huó liàng",大师傅:"dà shī fu",掷弹筒:"zhì dàn tǒng",打呼噜:"dǎ hū lu",广渠门:"ān qú mén",未见得:"wèi jiàn dé",大婶儿:"dà shěn er",谈得来:"tán de lái",脚丫子:"jiǎo yā zi",空包弹:"kōng bāo dàn",窝里斗:"wō li dòu",弹着点:"dàn zhuó diǎn",个头儿:"gè tóu er",看得起:"kàn de qǐ",糊涂账:"hú tu zhàng",大猩猩:"dà xīng xing",禁得起:"jīn de qǐ",法相宗:"fǎ xiàng zōng",可怜相:"kě lián xiàng",吃得下:"chī de xià",汉堡包:"hàn bǎo bāo",闹嚷嚷:"nào rāng rāng",数来宝:"shǔ lái bǎo",合得来:"hé de lái",干性油:"gān xìng yóu",闷葫芦:"mèn hú lu",呱呱叫:"guā guā jiào",西洋参:"xī yáng shēn",林荫道:"lín yīn dào",拉家常:"lā jiā cháng",卷铺盖:"juǎn pū gài",过得硬:"guò de yìng",飞将军:"fēi jiāng jūn",挑大梁:"tiǎo dà liáng",哈巴狗:"hǎ ba gǒu",过家家:"guò jiā jiā",催泪弹:"cuī lèi dàn",雨夹雪:"yǔ jiā xuě",敲竹杠:"qiāo zhú gàng",列车长:"liè chē zhǎng",华达呢:"huá dá ní",犯得着:"fàn de zháo",土疙瘩:"tǔ gē da",煞风景:"shā fēng jǐng",轻量级:"qīng liàng jí",羞答答:"xiū dā dā",石子儿:"shí zǐ er",达姆弹:"dá mǔ dàn",科教片:"kē jiào piān",侃大山:"kǎn dà shān",丁点儿:"dīng diǎn er",吃得消:"chī de xiāo",捋虎须:"luō hǔ xū",高丽参:"gāo lí shēn",众生相:"zhòng shēng xiàng",咽峡炎:"yān xiá yán",禁得住:"jīn de zhù",吃得开:"chī de kāi",柞丝绸:"zuò sī chóu",应声虫:"yìng shēng chóng",数得着:"shǔ de zháo",傻劲儿:"shǎ jìn er",铅玻璃:"qiān bō li",可的松:"kě dì sōng",划得来:"huá de lái",晕乎乎:"yūn hū hū",屎壳郎:"shǐ ke làng",尥蹶子:"liào juě zi",藏红花:"zàng hóng huā",闷罐车:"mèn guàn chē",卡脖子:"qiǎ bó zi",红澄澄:"hóng deng deng",赶得及:"gǎn de jí",当间儿:"dāng jiàn er",露马脚:"lòu mǎ jiǎo",鸡内金:"jī nèi jīn",犯得上:"fàn de shàng",钉齿耙:"dīng chǐ bà",饱和点:"bǎo hé diǎn",龙爪槐:"lóng zhǎo huái",喝倒彩:"hè dào cǎi",定冠词:"dìng guàn cí",担担面:"dàn dan miàn",吃得住:"chī de zhù",爪尖儿:"zhuǎ jiān er",支着儿:"zhī zhāo er",折跟头:"zhē gēn tou",阴着儿:"yīn zhāo er",烟卷儿:"yān juǎn er",宣传弹:"xuān chuán dàn",信皮儿:"xìn pí er",弦切角:"xián qiē jiǎo",缩砂密:"sù shā mì",说得来:"shuō de lái",水漂儿:"shuǐ piāo er",耍笔杆:"shuǎ bǐ gǎn",数得上:"shǔ de shàng",数不着:"shǔ bù zháo",数不清:"shǔ bù qīng",什件儿:"shí jiàn er",生死簿:"shēng sǐ bù",扇风机:"shān fēng jī",撒呓挣:"sā yì zheng",日记簿:"rì jì bù",热得快:"rè de kuài",亲家公:"qìng jia gōng",奇函数:"jī hán shù",拍纸簿:"pāi zhǐ bù",努劲儿:"nǔ jìn er",泥娃娃:"ní wá wa",内切圆:"nèi qiē yuán",哪会儿:"nǎ huì er",闷头儿:"mēn tóu er",没谱儿:"méi pǔ er",铆劲儿:"mǎo jìn er",溜肩膀:"liū jiān bǎng",了望台:"liào wàng tái",老来少:"lǎo lái shào",坤角儿:"kūn jué er",考勤簿:"kǎo qín bù",卷笔刀:"juǎn bǐ dāo",进给量:"jìn jǐ liàng",划不来:"huá bù lái",汗褂儿:"hàn guà er",鼓囊囊:"gǔ nāng nāng",够劲儿:"gòu jìn er",公切线:"gōng qiē xiàn",搁得住:"gé de zhù",赶浪头:"gǎn làng tóu",赶得上:"gǎn de shàng",干酵母:"gān jiào mǔ",嘎渣儿:"gā zhā er",嘎嘣脆:"gā bēng cuì",对得住:"duì de zhù",逗闷子:"dòu mèn zi",顶呱呱:"dǐng guā guā",滴溜儿:"dī liù er",大轴子:"dà zhòu zi",打板子:"dǎ bǎn zi",寸劲儿:"cùn jìn er",醋劲儿:"cù jìn er",揣手儿:"chuāi shǒu er",冲劲儿:"chòng jìn er",吃得来:"chī de lái",不更事:"bù gēng shì",奔头儿:"bèn tou er",百夫长:"bǎi fū zhǎng",娃娃亲:"wá wa qīn",死劲儿:"sǐ jìn er",骨朵儿:"gū duǒ er",功劳簿:"gōng láo bù",都江堰:"dū jiāng yàn",一担水:"yí dàn shuǐ",否极泰:"pǐ jí tài",泰来否:"tài lái pǐ",咳特灵:"ké tè líng",开户行:"kāi hù háng",郦食其:"lì yì jī",花事了:"huā shì liǎo",一更更:"yì gēng gēng",一重山:"yì chóng shān",风一更:"fēng yì gēng",雪一更:"xuě yì gēng",归一码:"guī yì mǎ",星期一:"xīng qī yī",礼拜一:"lǐ bài yī",一季度:"yī jì dù",一月一:"yī yuè yī",一字马:"yī zì mǎ",一是一:"yī shì yī",一次方:"yī cì fāng",一阳指:"yī yáng zhǐ",一字决:"yī zì jué",一年级:"yī nián jí",一不做:"yī bú zuò",屈戌儿:"qū qu ér",难为水:"nán wéi shuǐ",难为情:"nán wéi qíng",行一行:"xíng yì háng",别别的:"biè bié de",干哪行:"gàn nǎ háng",干一行:"gàn yì háng",曲别针:"qū bié zhēn"},qh0=Object.keys(Yh0).map(($)=>({zh:$,pinyin:Yh0[$],probability:0.00000002,length:3,priority:d4.Normal,dict:Symbol("dict3")}));var zh0={成吉思汗:"chéng jí sī hán",四通八达:"sì tōng bā dá",一模一样:"yì mú yí yàng",青藏高原:"qīng zàng gāo yuán",阿弥陀佛:"ē mí tuó fó",解放思想:"jiè fàng sī xiǎng",所作所为:"suǒ zuò suǒ wéi",迷迷糊糊:"mí mí hu hū",荷枪实弹:"hè qiāng shí dàn",兴高采烈:"xìng gāo cǎi liè",无能为力:"wú néng wéi lì",布鲁塞尔:"bù lǔ sài ěr",为所欲为:"wéi suǒ yù wéi",克什米尔:"kè shí mǐ ěr",没完没了:"méi wán méi liǎo",不为人知:"bù wéi rén zhī",结结巴巴:"jiē jiē bā bā",前仆后继:"qián pū hòu jì",铺天盖地:"pū tiān gài dì",直截了当:"zhí jié liǎo dàng",供不应求:"gōng bú yìng qiú",御史大夫:"yù shǐ dà fū",不为瓦全:"bù wéi wǎ quán",不可收拾:"bù kě shōu shi",胡作非为:"hú zuò fēi wéi",分毫不差:"fēn háo bú chà",模模糊糊:"mó mó hu hū",不足为奇:"bù zú wéi qí",悄无声息:"qiǎo wú shēng xī",了如指掌:"liǎo rú zhǐ zhǎng",深恶痛绝:"shēn wù tòng jué",高高兴兴:"gāo gāo xìng xìng",唉声叹气:"āi shēng tàn qì",汉藏语系:"hàn zàng yǔ xì",处心积虑:"chǔ xīn jī lǜ",泣不成声:"qì bù chéng shēng",半夜三更:"bàn yè sān gēng",失魂落魄:"shī hún luò pò",二十八宿:"èr shí bā xiù",转来转去:"zhuàn lái zhuàn qù",数以万计:"shǔ yǐ wàn jì",相依为命:"xiāng yī wéi mìng",恋恋不舍:"liàn liàn bù shě",屈指可数:"qū zhǐ kě shǔ",神出鬼没:"shén chū guǐ mò",结结实实:"jiē jiē shí shí",有的放矢:"yǒu dì fàng shǐ",叽哩咕噜:"jī lǐ gū lū",调兵遣将:"diào bīng qiǎn jiàng",载歌载舞:"zài gē zài wǔ",转危为安:"zhuǎn wēi wéi ān",踏踏实实:"tā tā shi shí",桑给巴尔:"sāng jǐ bā ěr",装模作样:"zhuāng mú zuò yàng",见义勇为:"jiàn yì yǒng wéi",相差无几:"xiāng chā wú jǐ",叹为观止:"tàn wéi guān zhǐ",闷闷不乐:"mèn mèn bú lè",喜怒哀乐:"xǐ nù āi lè",鲜为人知:"xiǎn wéi rén zhī",张牙舞爪:"zhāng yá wǔ zhǎo",为非作歹:"wéi fēi zuò dǎi",含糊其辞:"hán hú qí cí",疲于奔命:"pí yú bēn mìng",勉为其难:"miǎn wéi qí nán",依依不舍:"yī yī bù shě",顶头上司:"dǐng tóu shàng si",不着边际:"bù zhuó biān jì",大模大样:"dà mú dà yàng",寻欢作乐:"xún huān zuò lè",一走了之:"yì zǒu liǎo zhī",字里行间:"zì lǐ háng jiān",含含糊糊:"hán hán hu hū",恰如其分:"qià rú qí fèn",破涕为笑:"pò tì wéi xiào",深更半夜:"shēn gēng bàn yè",千差万别:"qiān chā wàn bié",数不胜数:"shǔ bú shèng shǔ",据为己有:"jù wéi jǐ yǒu",天旋地转:"tiān xuán dì zhuàn",养尊处优:"yǎng zūn chǔ yōu",玻璃纤维:"bō li xiān wéi",吵吵闹闹:"chāo chao nào nào",晕头转向:"yūn tóu zhuàn xiàng",土生土长:"tǔ shēng tǔ zhǎng",宁死不屈:"nìng sǐ bù qū",不省人事:"bù xǐng rén shì",尽力而为:"jìn lì ér wéi",精明强干:"jīng míng qiáng gàn",唠唠叨叨:"láo lao dāo dāo",叽叽喳喳:"jī ji zhā zhā",功不可没:"gōng bù kě mò",锲而不舍:"qiè ér bù shě",排忧解难:"pái yōu jiě nàn",稀里糊涂:"xī li hú tú",各有所长:"gè yǒu suǒ cháng",的的确确:"dí dí què què",哄堂大笑:"hōng táng dà xiào",听而不闻:"tīng ér bù wén",刀耕火种:"dāo gēng huǒ zhòng",内分泌腺:"nèi fèn mì xiàn",化险为夷:"huà xiǎn wéi yí",百发百中:"bǎi fā bǎi zhòng",重见天日:"chóng jiàn tiān rì",反败为胜:"fǎn bài wéi shèng",一了百了:"yì liǎo bǎi liǎo",大大咧咧:"dà da liē liē",心急火燎:"xīn jí huǒ liǎo",粗心大意:"cū xīn dà yi",鸡皮疙瘩:"jī pí gē da",夷为平地:"yí wéi píng dì",日积月累:"rì jī yuè lěi",设身处地:"shè shēn chǔ dì",投其所好:"tóu qí suǒ hào",间不容发:"jiān bù róng fà",人满为患:"rén mǎn wéi huàn",穷追不舍:"qióng zhuī bù shě",为时已晚:"wéi shí yǐ wǎn",如数家珍:"rú shǔ jiā zhēn",心里有数:"xīn lǐ yǒu shù",以牙还牙:"yǐ yá huán yá",神不守舍:"shén bù shǒu shě",孟什维克:"mèng shí wéi kè",各自为战:"gè zì wéi zhàn",怨声载道:"yuàn shēng zài dào",救苦救难:"jiù kǔ jiù nàn",好好先生:"hǎo hǎo xiān sheng",怪模怪样:"guài mú guài yàng",抛头露面:"pāo tóu lù miàn",游手好闲:"yóu shǒu hào xián",无所不为:"wú suǒ bù wéi",调虎离山:"diào hǔ lí shān",步步为营:"bù bù wéi yíng",好大喜功:"hào dà xǐ gōng",众矢之的:"zhòng shǐ zhī dì",长生不死:"cháng shēng bù sǐ",蔚为壮观:"wèi wéi zhuàng guān",不可胜数:"bù kě shèng shǔ",鬼使神差:"guǐ shǐ shén chāi",洁身自好:"jié shēn zì hào",敢作敢为:"gǎn zuò gǎn wéi",茅塞顿开:"máo sè dùn kāi",走马换将:"zǒu mǎ huàn jiàng",为时过早:"wéi shí guò zǎo",为人师表:"wéi rén shī biǎo",阴差阳错:"yīn chā yáng cuò",油腔滑调:"yóu qiāng huá diào",重蹈覆辙:"chóng dǎo fù zhé",骂骂咧咧:"mà ma liē liē",絮絮叨叨:"xù xù dāo dāo",如履薄冰:"rú lǚ bó bīng",损兵折将:"sǔn bīng zhé jiàng",拐弯抹角:"guǎi wān mò jiǎo",像模像样:"xiàng mú xiàng yàng",供过于求:"gōng guò yú qiú",开花结果:"kāi huā jiē guǒ",仔仔细细:"zǐ zǐ xì xì",川藏公路:"chuān zàng gōng lù",河北梆子:"hé běi bāng zi",长年累月:"cháng nián lěi yuè",正儿八经:"zhèng er bā jīng",不识抬举:"bù shí tái ju",重振旗鼓:"chóng zhèn qí gǔ",气息奄奄:"qì xī yān yān",紧追不舍:"jǐn zhuī bù shě",服服帖帖:"fú fu tiē tiē",强词夺理:"qiǎng cí duó lǐ",噼里啪啦:"pī li pā lā",人才济济:"rén cái jǐ jǐ",发人深省:"fā rén shēn xǐng",不足为凭:"bù zú wéi píng",为富不仁:"wéi fù bù rén",连篇累牍:"lián piān lěi dú",呼天抢地:"hū tiān qiāng dì",落落大方:"luò luò dà fāng",自吹自擂:"zì chuī zì léi",乐善好施:"lè shàn hào shī",以攻为守:"yǐ gōng wéi shǒu",磨磨蹭蹭:"mó mó cèng cèng",削铁如泥:"xuē tiě rú ní",助纣为虐:"zhù zhòu wéi nüè",以退为进:"yǐ tuì wéi jìn",嘁嘁喳喳:"qī qī chā chā",枪林弹雨:"qiāng lín dàn yǔ",令人发指:"lìng rén fà zhǐ",转败为胜:"zhuǎn bài wéi shèng",转弯抹角:"zhuǎn wān mò jiǎo",在劫难逃:"zài jié nán táo",正当防卫:"zhèng dàng fáng wèi",不足为怪:"bù zú wéi guài",难兄难弟:"nàn xiōng nàn dì",咿咿呀呀:"yī yī yā yā",弹尽粮绝:"dàn jìn liáng jué",阿谀奉承:"ē yú fèng chéng",稀里哗啦:"xī li huā lā",返老还童:"fǎn lǎo huán tóng",好高骛远:"hào gāo wù yuǎn",鹿死谁手:"lù sǐ shéi shǒu",差强人意:"chā qiáng rén yì",大吹大擂:"dà chuī dà léi",成家立业:"chéng jiā lì yè",自怨自艾:"zì yuàn zì yì",负债累累:"fù zhài lěi lěi",古为今用:"gǔ wéi jīn yòng",入土为安:"rù tǔ wéi ān",下不为例:"xià bù wéi lì",一哄而上:"yì hōng ér shàng",没头苍蝇:"méi tóu cāng ying",天差地远:"tiān chā dì yuǎn",风卷残云:"fēng juǎn cán yún",多灾多难:"duō zāi duō nàn",乳臭未干:"rǔ xiù wèi gān",行家里手:"háng jiā lǐ shǒu",狼狈为奸:"láng bèi wéi jiān",处变不惊:"chǔ biàn bù jīng",一唱一和:"yí chàng yí hè",一念之差:"yí niàn zhī chā",金蝉脱壳:"jīn chán tuō qiào",滴滴答答:"dī dī dā dā",硕果累累:"shuò guǒ léi léi",好整以暇:"hào zhěng yǐ xiá",红得发紫:"hóng de fā zǐ",传为美谈:"chuán wéi měi tán",富商大贾:"fù shāng dà gǔ",四海为家:"sì hǎi wéi jiā",了若指掌:"liǎo ruò zhǐ zhǎng",大有可为:"dà yǒu kě wéi",出头露面:"chū tóu lù miàn",鼓鼓囊囊:"gǔ gu nāng nāng",窗明几净:"chuāng míng jī jìng",泰然处之:"tài rán chǔ zhī",怒发冲冠:"nù fà chōng guān",有机玻璃:"yǒu jī bō li",骨头架子:"gǔ tou jià zi",义薄云天:"yì bó yún tiān",一丁点儿:"yī dīng diǎn er",时来运转:"shí lái yùn zhuǎn",陈词滥调:"chén cí làn diào",化整为零:"huà zhěng wéi líng",火烧火燎:"huǒ shāo huǒ liǎo",干脆利索:"gàn cuì lì suǒ",吊儿郎当:"diào er láng dāng",广种薄收:"guǎng zhòng bó shōu",种瓜得瓜:"zhòng guā dé guā",种豆得豆:"zhòng dòu dé dòu",难舍难分:"nán shě nán fēn",歃血为盟:"shà xuè wéi méng",奋发有为:"fèn fā yǒu wéi",阴错阳差:"yīn cuò yáng chā",东躲西藏:"dōng duǒ xī cáng",烟熏火燎:"yān xūn huǒ liǎo",钻牛角尖:"zuān niú jiǎo jiān",乔装打扮:"qiáo zhuāng dǎ bàn",改弦更张:"gǎi xián gēng zhāng",河南梆子:"hé nán bāng zi",好吃懒做:"hào chī lǎn zuò",何乐不为:"hé lè bù wéi",大出风头:"dà chū fēng tóu",攻城掠地:"gōng chéng lüè dì",漂漂亮亮:"piào piào liang liang",折衷主义:"zhé zhōng zhǔ yì",大马哈鱼:"dà mǎ hǎ yú",绿树成荫:"lǜ shù chéng yīn",率先垂范:"shuài xiān chuí fàn",家长里短:"jiā cháng lǐ duǎn",宽大为怀:"kuān dà wéi huái",左膀右臂:"zuǒ bǎng yòu bì",一笑了之:"yí xiào liǎo zhī",天下为公:"tiān xià wéi gōng",还我河山:"huán wǒ hé shān",何足为奇:"hé zú wéi qí",好自为之:"hǎo zì wéi zhī",风姿绰约:"fēng zī chuò yuē",大雨滂沱:"dà yǔ pāng tuó",传为佳话:"chuán wéi jiā huà",吃里扒外:"chī lǐ pá wài",重操旧业:"chóng cāo jiù yè",小家子气:"xiǎo jiā zi qì",少不更事:"shào bù gēng shì",难分难舍:"nán fēn nán shě",添砖加瓦:"tiān zhuān jiā wǎ",是非分明:"shì fēi fēn míng",舍我其谁:"shě wǒ qí shuí",偏听偏信:"piān tīng piān xìn",量入为出:"liàng rù wéi chū",降龙伏虎:"xiáng lóng fú hǔ",钢化玻璃:"gāng huà bō li",正中下怀:"zhèng zhòng xià huái",以身许国:"yǐ shēn xǔ guó",一语中的:"yì yǔ zhòng dì",丧魂落魄:"sàng hún luò pò",三座大山:"sān zuò dà shān",济济一堂:"jǐ jǐ yì táng",好事之徒:"hào shì zhī tú",干净利索:"gàn jìng lì suǒ",出将入相:"chū jiàng rù xiàng",袅袅娜娜:"niǎo niǎo nuó nuó",狐狸尾巴:"hú li wěi ba",好逸恶劳:"hào yì wù láo",大而无当:"dà ér wú dàng",打马虎眼:"dǎ mǎ hu yǎn",板上钉钉:"bǎn shàng dìng dīng",吆五喝六:"yāo wǔ hè liù",虾兵蟹将:"xiā bīng xiè jiàng",水调歌头:"shuǐ diào gē tóu",数典忘祖:"shǔ diǎn wàng zǔ",人事不省:"rén shì bù xǐng",曲高和寡:"qǔ gāo hè guǎ",屡教不改:"lǚ jiào bù gǎi",互为因果:"hù wéi yīn guǒ",互为表里:"hù wéi biǎo lǐ",厚此薄彼:"hòu cǐ bó bǐ",过关斩将:"guò guān zhǎn jiàng",疙疙瘩瘩:"gē ge dā dā",大腹便便:"dà fù pián pián",走为上策:"zǒu wéi shàng cè",冤家对头:"yuān jia duì tóu",有隙可乘:"yǒu xì kě chèng",一鳞半爪:"yì lín bàn zhǎo",片言只语:"piàn yán zhǐ yǔ",开花结实:"kāi huā jié shí",经年累月:"jīng nián lěi yuè",含糊其词:"hán hú qí cí",寡廉鲜耻:"guǎ lián xiǎn chǐ",成年累月:"chéng nián lěi yuè",不徇私情:"bú xùn sī qíng",不当人子:"bù dāng rén zǐ",膀大腰圆:"bǎng dà yāo yuán",指腹为婚:"zhǐ fù wéi hūn",这么点儿:"zhè me diǎn er",意兴索然:"yì xīng suǒ rán",绣花枕头:"xiù huā zhěn tou",无的放矢:"wú dì fàng shǐ",望闻问切:"wàng wén wèn qiè",舍己为人:"shě jǐ wèi rén",穷年累月:"qióng nián lěi yuè",排难解纷:"pái nàn jiě fēn",处之泰然:"chǔ zhī tài rán",指鹿为马:"zhǐ lù wéi mǎ",危如累卵:"wēi rú lěi luǎn",天兵天将:"tiān bīng tiān jiàng",舍近求远:"shě jìn qiú yuǎn",南腔北调:"nán qiāng běi diào",苦中作乐:"kǔ zhōng zuò lè",厚积薄发:"hòu jī bó fā",臭味相投:"xiù wèi xiāng tóu",长幼有序:"zhǎng yòu yǒu xù",逼良为娼:"bī liáng wéi chāng",悲悲切切:"bēi bēi qiè qiē",败军之将:"bài jūn zhī jiàng",欺行霸市:"qī háng bà shì",削足适履:"xuē zú shì lǚ",先睹为快:"xiān dǔ wéi kuài",啼饥号寒:"tí jī háo hán",疏不间亲:"shū bú jiàn qīn",神差鬼使:"shén chāi guǐ shǐ",敲敲打打:"qiāo qiāo dǎ dǎ",平铺直叙:"píng pū zhí xù",没头没尾:"méi tóu mò wěi",寥寥可数:"liáo liáo kě shǔ",哼哈二将:"hēng hā èr jiàng",鹤发童颜:"hè fà tóng yán",各奔前程:"gè bèn qián chéng",弹无虚发:"dàn wú xū fā",大人先生:"dà rén xiān sheng",与民更始:"yǔ mín gēng shǐ",树碑立传:"shù bēi lì zhuàn",是非得失:"shì fēi dé shī",实逼处此:"shí bī chǔ cǐ",塞翁失马:"sài wēng shī mǎ",日薄西山:"rì bó xī shān",切身体会:"qiè shēn tǐ huì",片言只字:"piàn yán zhǐ zì",跑马卖解:"pǎo mǎ mài xiè",宁折不弯:"nìng zhé bù wān",零零散散:"líng líng sǎn sǎn",量体裁衣:"liàng tǐ cái yī",连中三元:"lián zhòng sān yuán",礼崩乐坏:"lǐ bēng yuè huài",不为已甚:"bù wéi yǐ shèn",转悲为喜:"zhuǎn bēi wéi xǐ",以眼还眼:"yǐ yǎn huán yǎn",蔚为大观:"wèi wéi dà guān",未为不可:"wèi wéi bù kě",童颜鹤发:"tóng yán hè fà",朋比为奸:"péng bǐ wéi jiān",莫此为甚:"mò cǐ wéi shèn",夹枪带棒:"jiā qiāng dài bàng",富商巨贾:"fù shāng jù jiǎ",淡然处之:"dàn rán chǔ zhī",箪食壶浆:"dān shí hú jiāng",创巨痛深:"chuāng jù tòng shēn",草长莺飞:"cǎo zhǎng yīng fēi",坐视不救:"zuò shī bú jiù",以己度人:"yǐ jǐ duó rén",随行就市:"suí háng jiù shì",文以载道:"wén yǐ zài dào",文不对题:"wén bú duì tí",铁板钉钉:"tiě bǎn dìng dīng",身体发肤:"shēn tǐ fà fū",缺吃少穿:"quē chī shǎo chuān",目无尊长:"mù wú zūn zhǎng",吉人天相:"jí rén tiān xiàng",毁家纾难:"huǐ jiā shū nàn",钢筋铁骨:"gāng jīn tiě gǔ",丢卒保车:"diū zú bǎo jū",丢三落四:"diū sān là sì",闭目塞听:"bì mù sè tīng",削尖脑袋:"xuē jiān nǎo dài",为非作恶:"wéi fēi zuò è",人才难得:"rén cái nán dé",情非得已:"qíng fēi dé yǐ",切中要害:"qiè zhòng yào hài",火急火燎:"huǒ jí huǒ liǎo",画地为牢:"huà dì wéi láo",好酒贪杯:"hào jiǔ tān bēi",长歌当哭:"cháng gē dàng kū",载沉载浮:"zài chén zài fú",遇难呈祥:"yù nàn chéng xiáng",榆木疙瘩:"yú mù gē da",以邻为壑:"yǐ lín wéi hè",洋为中用:"yáng wéi zhōng yòng",言为心声:"yán wéi xīn shēng",言必有中:"yán bì yǒu zhòng",图穷匕见:"tú qióng bǐ xiàn",滂沱大雨:"páng tuó dà yǔ",目不暇给:"mù bù xiá jǐ",量才录用:"liàng cái lù yòng",教学相长:"jiào xué xiāng zhǎng",悔不当初:"huǐ bù dāng chū",呼幺喝六:"hū yāo hè liù",不足为训:"bù zú wéi xùn",不拘形迹:"bù jū xíng jī",傍若无人:"páng ruò wú rén",罪责难逃:"zuì zé nán táo",自我吹嘘:"zì wǒ chuī xū",转祸为福:"zhuǎn huò wéi fú",勇冠三军:"yǒng guàn sān jūn",易地而处:"yì dì ér chǔ",卸磨杀驴:"xiè mò shā lǘ",玩儿不转:"wán ér bú zhuàn",天道好还:"tiān dào hǎo huán",身单力薄:"shēn dān lì bó",撒豆成兵:"sǎ dòu chéng bīng",片纸只字:"piàn zhǐ zhī zì",宁缺毋滥:"nìng quē wú làn",没没无闻:"mò mò wú wén",量力而为:"liàng lì ér wéi",历历可数:"lì lì kě shǔ",口碑载道:"kǒu bēi zài dào",君子好逑:"jūn zǐ hǎo qiú",好为人师:"hào wéi rén shī",豪商巨贾:"háo shāng jù jiǎ",各有所好:"gè yǒu suǒ hào",度德量力:"duó dé liàng lì",指天为誓:"zhǐ tiān wéi shì",逸兴遄飞:"yì xìng chuán fēi",心宽体胖:"xīn kuān tǐ pán",为德不卒:"wéi dé bù zú",天下为家:"tiān xià wéi jiā",视为畏途:"shì wéi wèi tú",三灾八难:"sān zāi bā nàn",沐猴而冠:"mù hóu ér guàn",哩哩啦啦:"lī li lā lā",见缝就钻:"jiàn fèng jiù zuān",夹层玻璃:"jiā céng bō li",急公好义:"jí gōng hào yì",积年累月:"jī nián lěi yuè",划地为牢:"huá dì wéi láo",更名改姓:"gēng míng gǎi xìng",奉为圭臬:"fèng wéi guī niè",多难兴邦:"duō nàn xīng bāng",不破不立:"bú pò bú lì",坐地自划:"zuò dì zì huá",坐不重席:"zuò bù chóng xí",坐不窥堂:"zuò bù kuī táng",作嫁衣裳:"zuò jià yī shang",左枝右梧:"zuǒ zhī yòu wú",左宜右有:"zuǒ yí yòu yǒu",钻头觅缝:"zuān tóu mì fèng",钻天打洞:"zuān tiān dǎ dòng",钻皮出羽:"zuān pí chū yǔ",钻火得冰:"zuān huǒ dé bīng",钻洞觅缝:"zuàn dòng mì féng",钻冰求火:"zuān bīng qiú huǒ",子为父隐:"zǐ wéi fù yǐn",擢发难数:"zhuó fà nán shǔ",着人先鞭:"zhuó rén xiān biān",斫雕为朴:"zhuó diāo wéi pǔ",锥处囊中:"zhuī chǔ náng zhōng",椎心饮泣:"chuí xīn yǐn qì",椎心泣血:"chuí xīn qì xuè",椎牛飨士:"chuí niú xiǎng shì",椎牛歃血:"chuí niú shà xuè",椎牛发冢:"chuí niú fà zhǒng",椎埋屠狗:"chuí mái tú gǒu",椎埋狗窃:"chuí mái gǒu qiè",壮发冲冠:"zhuàng fā chōng guàn",庄严宝相:"zhuāng yán bǎo xiàng",转愁为喜:"zhuǎn chóu wéi xǐ",转嗔为喜:"zhuǎn chēn wéi xǐ",拽巷啰街:"zhuài xiàng luó jiē",拽耙扶犁:"zhuāi pá fú lí",拽布拖麻:"zhuài bù tuō má",箸长碗短:"zhù cháng wǎn duǎn",铸剑为犁:"zhù jiàn wéi lí",杼柚其空:"zhù yòu qí kōng",杼柚空虚:"zhù yòu kōng xū",助天为虐:"zhù tiān wéi nüè",属垣有耳:"zhǔ yuán yǒu ěr",属毛离里:"zhǔ máo lí lǐ",属辞比事:"zhǔ cí bǐ shì",逐物不还:"zhú wù bù huán",铢量寸度:"zhū liáng cùn duó",铢两悉称:"zhū liǎng xī chèn",侏儒观戏:"zhū rú guān xì",朱轓皁盖:"zhū fān zào gài",昼度夜思:"zhòu duó yè sī",诪张为幻:"zhōu zhāng wéi huàn",重明继焰:"chóng míng jì yàn",众啄同音:"zhòng zhuó tóng yīn",众毛攒裘:"zhòng máo cuán qiú",众好众恶:"zhòng hào zhòng wù",擿埴索涂:"zhāi zhí suǒ tú",稚齿婑媠:"zhì chǐ wǒ tuó",至当不易:"zhì dàng bú yì",指皂为白:"zhǐ zào wéi bái",指雁为羹:"zhǐ yàn wéi gēng",指树为姓:"zhǐ shù wéi xìng",指山说磨:"zhǐ shān shuō mò",止戈为武:"zhǐ gē wéi wǔ",枝干相持:"zhī gàn xiāng chí",枝大于本:"zh dà yú běn",支吾其词:"zhī wú qí cí",正身率下:"zhèng shēn shuài xià",正冠李下:"zhèng guàn lǐ xià",整冠纳履:"zhěng guān nà lǚ",整躬率物:"zhěng gōng shuài wù",整顿干坤:"zhěng dùn gàn kūn",针头削铁:"zhēn tóu xuē tiě",贞松劲柏:"zhēn sōng jìng bǎi",赭衣塞路:"zhě yī sè lù",折箭为誓:"shé jiàn wéi shì",折而族之:"zhé ér zú zhī",昭德塞违:"zhāo dé sè wéi",章句小儒:"zhāng jù xiǎo rú",湛恩汪濊:"zhàn ēn wāng huì",占风望气:"zhān fēng wàng qì",斩将搴旗:"zhǎn jiàng qiān qí",曾母投杼:"zēng mǔ tóu zhù",曾参杀人:"zēng shēn shā rén",造谣中伤:"zào yáo zhòng shāng",早占勿药:"zǎo zhān wù yào",凿龟数策:"záo guī shǔ cè",攒三聚五:"cuán sān jù wǔ",攒眉蹙额:"cuán mei cù é",攒零合整:"cuán líng hé zhěng",攒锋聚镝:"cuán fēng jù dí",载笑载言:"zài xiào zài yán",载酒问字:"zài jiǔ wèn zì",殒身不恤:"yǔn shēn bú xù",云舒霞卷:"yún shū xiá juǎn",月中折桂:"yuè zhōng shé guì",月落参横:"yuè luò shēn héng",鬻驽窃价:"yù nú qiè jià",鬻鸡为凤:"yù jī wéi fèng",遇难成祥:"yù nàn chéng xiáng",郁郁累累:"yù yù lěi lěi",玉卮无当:"yù zhī wú dàng",语笑喧阗:"yǔ xiào xuān tián",与世沉浮:"yǔ shì chén fú",与时消息:"yǔ shí xiāo xi",逾墙钻隙:"yú qiáng zuān xì",渔夺侵牟:"yú duó qīn móu",杅穿皮蠹:"yú chuān pí dù",余勇可贾:"yú yǒng kě gǔ",予智予雄:"yú zhì yú xióng",予取予求:"yú qǔ yú qiú",于家为国:"yú jiā wéi guó",有借无还:"yǒu jiè wú huán",有加无已:"yǒu jiā wú yǐ",有国难投:"yǒu guó nán tóu",游必有方:"yóu bì yǒu fāng",油干灯尽:"yóu gàn dēng jìn",尤云殢雨:"yóu yún tì yǔ",庸中皦皦:"yōng zhōng jiǎo jiǎo",郢书燕说:"yǐng shū yān shuō",营蝇斐锦:"yíng yíng fēi jǐn",鹰心雁爪:"yīng xīn yàn zhǎo",莺吟燕儛:"yīng yín yàn wǔ",应天顺时:"yīng tiān shùn shí",印累绶若:"yìn léi shòu ruò",隐占身体:"yǐn zhàn shēn tǐ",饮犊上流:"yìn dú shàng liú",引绳切墨:"yǐn shéng qiē mò",龈齿弹舌:"yín chǐ dàn shé",因缘为市:"yīn yuán wéi shì",因树为屋:"yīn shù wéi wū",溢美溢恶:"yì měi yì wù",抑塞磊落:"yì sè lěi luò",倚闾望切:"yǐ lǘ wàng qiē",以意为之:"yǐ yì wéi zhī",以言为讳:"yǐ yán wéi huì",以疏间亲:"yǐ shū jiàn qīn",以水济水:"yǐ shuǐ jǐ shuǐ",以书为御:"yǐ shū wéi yù",以守为攻:"yǐ shǒu wéi gōng",以升量石:"yǐ shēng liáng dàn",以慎为键:"yǐ shèn wéi jiàn",以筌为鱼:"yǐ quán wéi yú",以利累形:"yǐ lì lěi xíng",以毁为罚:"yǐ huǐ wéi fá",以黑为白:"yǐ hēi wéi bái",以规为瑱:"yǐ guī wéi tiàn",以古为鉴:"yǐ gǔ wéi jiàn",以宫笑角:"yǐ gōng xiào jué",以法为教:"yǐ fǎ wéi jiào",以大恶细:"yǐ dà wù xì",遗世忘累:"yí shì wàng lěi",遗寝载怀:"yí qǐn zài huái",移的就箭:"yí dì jiù jiàn",依头缕当:"yī tóu lǚ dàng",衣租食税:"yì zū shí shuì",衣轻乘肥:"yì qīng chéng féi",衣裳之会:"yī shang zhī huì",衣单食薄:"yī dān shí bó",一还一报:"yì huán yí bào",叶公好龙:"yè gōng hào lóng",野调无腔:"yě diào wú qiāng",瑶池女使:"yáo chí nǚ shǐ",幺麽小丑:"yāo mó xiǎo chǒu",养精畜锐:"yǎng jīng xù ruì",卬首信眉:"áng shǒu shēn méi",洋洋纚纚:"yáng yáng sǎ sǎ",羊羔美酒:"yáng gāo měi jiǔ",扬风扢雅:"yáng fēng jié yǎ",燕昭市骏:"yān zhāo shì jùn",燕昭好马:"yān zhāo hǎo mǎ",燕石妄珍:"yān shí wàng zhēn",燕骏千金:"yān jùn qiān jīn",燕金募秀:"yān jīn mù xiù",燕驾越毂:"yān jià yuè gǔ",燕歌赵舞:"yān gē zhào wǔ",燕岱之石:"yān dài zhī shí",燕处危巢:"yàn chǔ wēi cháo",掞藻飞声:"shàn zǎo fēi shēng",偃革为轩:"yǎn gé wéi xuān",妍蚩好恶:"yán chī hǎo è",压良为贱:"yā liáng wéi jiàn",搀行夺市:"chān háng duó shì",泣数行下:"qì shù háng xià",当行出色:"dāng háng chū sè",秀出班行:"xiù chū bān háng",儿女成行:"ér nǚ chéng háng",大行大市:"dà háng dà shì",寻行数墨:"xún háng shǔ mò",埙篪相和:"xūn chí xiāng hè",血债累累:"xuè zhài lěi lěi",炫玉贾石:"xuàn yù gǔ shí",炫石为玉:"xuàn shí wéi yù",悬石程书:"xuán dàn chéng shū",悬狟素飡:"xuán huán sù cān",悬龟系鱼:"xuán guī xì yú",揎拳捋袖:"xuān quán luō xiù",轩鹤冠猴:"xuān hè guàn hóu",畜妻养子:"xù qī yǎng zǐ",羞人答答:"xiū rén dā dā",修鳞养爪:"xiū lín yǎng zhǎo",熊据虎跱:"xióng jù hǔ zhì",兄死弟及:"xiōng sǐ dì jí",腥闻在上:"xīng wén zài shàng",兴文匽武:"xīng wén yǎn wǔ",兴观群怨:"xìng guān qún yuàn",兴高彩烈:"xìng gāo cǎi liè",心手相应:"xīn shǒu xiāng yìng",心口相应:"xīn kǒu xiāng yīng",挟势弄权:"xié shì nòng quán",胁肩累足:"xié jiān lěi zú",校短量长:"jiào duǎn liáng cháng",小眼薄皮:"xiǎo yǎn bó pí",硝云弹雨:"xiāo yún dàn yǔ",鸮鸣鼠暴:"xiāo míng shǔ bào",削株掘根:"xuē zhū jué gēn",削铁无声:"xuē tiě wú shēng",削职为民:"xuē zhí wéi mín",削木为吏:"xuē mù wéi lì",想望风褱:"xiǎng wàng fēng huái",香培玉琢:"xiang pei yu zhuó",相鼠有皮:"xiàng shǔ yǒu pí",相时而动:"xiàng shí ér dòng",相切相磋:"xiāng qiē xiāng cuō",相女配夫:"xiàng nǚ pèi fū",相门有相:"xiàng mén yǒu xiàng",挦章撦句:"xián zhāng chě jù",先我着鞭:"xiān wǒ zhuó biān",习焉不察:"xí yān bù chá",歙漆阿胶:"shè qī ē jiāo",晰毛辨发:"xī máo biàn fà",悉索薄赋:"xī suǒ bó fù",雾鳞云爪:"wù lín yún zhǎo",物稀为贵:"wù xī wéi guì",碔砆混玉:"wǔ fū hùn yù",武断专横:"wǔ duàn zhuān héng",五石六鹢:"wǔ shí liù yì",五色相宣:"wǔ sè xiāng xuān",五侯七贵:"wǔ hóu qī guì",五侯蜡烛:"wǔ hòu là zhú",五羖大夫:"wǔ gǔ dà fū",吾自有处:"wú zì yǒu chǔ",无下箸处:"wú xià zhù chǔ",无伤无臭:"wú shāng wú xiù",无能为役:"wú néng wéi yì",无寇暴死:"wú kòu bào sǐ",无孔不钻:"wú kǒng bú zuàn",无间可乘:"wú jiān kě chéng",无间冬夏:"wú jiān dōng xià",无恶不为:"wú è bù wéi",无动为大:"wú dòng wéi dà",诬良为盗:"wū liáng wéi dào",握拳透爪:"wò quán tòu zhǎo",文武差事:"wén wǔ chāi shì",委委佗佗:"wēi wēi tuó tuó",惟日为岁:"wéi rì wéi suì",帷薄不修:"wéi bó bù xiū",为善最乐:"wéi shàn zuì lè",为山止篑:"wéi shān zhǐ kuì",为仁不富:"wéi rén bú fù",为裘为箕:"wéi qiú wéi jī",为民父母:"wéi mín fù mǔ",为虺弗摧:"wéi huǐ fú cuī",为好成歉:"wéi hǎo chéng qiàn",为鬼为蜮:"wéi guǐ wéi yù",望风响应:"wàng fēng xiǎng yīng",望尘僄声:"wàng chén piào shēng",往渚还汀:"wǎng zhǔ huán tīng",王贡弹冠:"wáng gòng dàn guàn",亡国大夫:"wáng guó dà fū",万贯家私:"wàn guàn jiā sī",晚食当肉:"wǎn shí dàng ròu",晚节不保:"wǎn jié bù bǎo",玩岁愒时:"wán suì kài shí",蛙蟆胜负:"wā má shèng fù",吞言咽理:"tūn yán yàn lǐ",颓垣断堑:"tuí yuán duàn qiàn",推干就湿:"tuī gàn jiù shī",剸繁决剧:"tuán fán jué jù",团头聚面:"tuán tóu jù miàn",兔丝燕麦:"tù sī yàn mài",兔头麞脑:"tù tóu zhāng nǎo",兔葵燕麦:"tù kuí yàn mài",吐哺握发:"tǔ bǔ wò fà",投传而去:"tóu zhuàn ér qù",头没杯案:"tóu mò bēi àn",头昏脑闷:"tóu hūn nǎo mèn",头会箕敛:"tóu kuài jī liǎn",头出头没:"tóu chū tóu mò",痛自创艾:"tòng zì chuāng yì",同恶相助:"tóng wù xiāng zhù",同恶相恤:"tóng wù xiāng xù",痌瘝在抱:"tōng guān zài bào",通文调武:"tōng wén diào wǔ",停留长智:"tíng liú zhǎng zhì",铁树开华:"tiě shù kāi huā",条贯部分:"tiáo guàn bù fēn",挑牙料唇:"tiǎo yá liào chún",挑么挑六:"tiāo yāo tiāo liù",挑唇料嘴:"tiǎo chún liào zuǐ",恬不为意:"tián bù wéi yì",恬不为怪:"tián bù wéi guài",天下为笼:"tiān xià wéi lóng",天台路迷:"tiān tái lù mí",天年不遂:"tiān nián bú suì",探囊胠箧:"tàn náng qū qiè",谭言微中:"tán yán wēi zhòng",谈言微中:"tán yán wēi zhòng",狧穅及米:"shì kāng jí mǐ",随物应机:"suí wù yīng jī",搜岩采干:"sōu yán cǎi gàn",宋斤鲁削:"sòng jīn lǔ xuē",松筠之节:"sōng yún zhī jié",四亭八当:"sì tíng bā dàng",四马攒蹄:"sì mǎ cuán tí",四不拗六:"sì bú niù liù",思所逐之:"sī suǒ zhú zhī",丝恩发怨:"sī ēn fà yuàn",硕望宿德:"shuò wàng xiǔ dé",铄古切今:"shuò gǔ qiē jīn",顺风而呼:"shùn fēng ér hū",顺风吹火:"shùn fēng chuī huǒ",水中著盐:"shuǐ zhōng zhuó yán",双柑斗酒:"shuāng gān dǒu jiǔ",数米而炊:"shǔ mǐ ér chuī",数米量柴:"shǔ mǐ liáng chái",数理逻辑:"shù lǐ luó ji",数黑论黄:"shǔ hēi lùn huáng",数白论黄:"shǔ bái lùn huáng",束缊还妇:"shù yūn huán fù",束蒲为脯:"shù pú wéi pú",束椽为柱:"shù chuán wéi zhù",书缺有间:"shū quē yǒu jiàn",手足重茧:"shǒu zú chóng jiǎn",手足异处:"shǒu zú yì chǔ",手脚干净:"shǒu jiǎo gàn jìng",手不应心:"shǒu bù yīng xīn",螫手解腕:"shì shǒu jiě wàn",释知遗形:"shì zhī yí xíng",适时应务:"shì shí yīng wù",适情率意:"shì qíng shuài yì",适当其冲:"shì dāng qí chōng",视为知己:"shì wéi zhī jǐ",使羊将狼:"shǐ yáng jiàng láng",食为民天:"shí wéi mín tiān",拾掇无遗:"shí duō wú yí",实与有力:"shí yù yǒu lì",石英玻璃:"shí yīng bō li",石室金匮:"shí shì jīn guì",什袭珍藏:"shí xí zhēn cáng",什伍东西:"shí wǔ dōng xī",什围伍攻:"shí wéi wǔ gōng",十魔九难:"shí mó jiǔ nàn",诗书发冢:"shī shū fà zhǒng",虱处裈中:"shī chǔ kūn zhōng",师直为壮:"shī zhí wéi zhuàng",尸居龙见:"shī jū lóng xiàn",圣经贤传:"shèng jīng xián zhuàn",圣君贤相:"shèng jūn xián xiàng",生拖死拽:"shēng tuō sǐ zhuài",审己度人:"shěn jǐ duó rén",神武挂冠:"shén wǔ guà guàn",神龙失埶:"shén lóng shī shì",深文曲折:"shēn wén qǔ shé",深厉浅揭:"shēn lì qiǎn qì",深谷为陵:"shēn gǔ wéi líng",深恶痛疾:"shēn wù tòng jí",深仇宿怨:"shēn chóu xiǔ yuàn",舍己为公:"shě jǐ wèi gōng",舍短取长:"shě duǎn qǔ cháng",舍策追羊:"shě cè zhuī yáng",蛇蝎为心:"shé xiē wéi xīn",少成若性:"shào chéng ruò xìng",上当学乖:"shàng dàng xué guāi",赏不当功:"shǎng bù dāng gōng",善自为谋:"shàn zì wéi móu",善为说辞:"shàn wéi shuō cí",善善恶恶:"shàn shàn wù è",善财难舍:"shàn cái nán shě",苫眼铺眉:"shān yǎn pū méi",讪牙闲嗑:"shàn yá xián kē",山阴乘兴:"shān yīn chéng xīng",山殽野湋:"shān yáo yě wéi",山溜穿石:"shān liù chuān shí",山节藻棁:"shān jié zǎo zhuō",杀鸡为黍:"shā jī wéi shǔ",色厉胆薄:"sè lì dǎn bó",桑荫未移:"sāng yīn wèi yí",桑荫不徙:"sāng yīn bù xǐ",桑土绸缪:"sāng tǔ chóu miù",桑户棬枢:"sāng hù juàn shū",三战三北:"sān zhàn sān běi",三瓦两舍:"sān wǎ liǎng shě",三人为众:"sān rén wèi zhòng",三差两错:"sān chā liǎng cuò",塞井焚舍:"sāi jǐng fén shě",洒心更始:"sǎ xīn gèng shǐ",洒扫应对:"sǎ sǎo yìng duì",软红香土:"ruǎn hóng xiāng tǔ",入吾彀中:"rù wú gòu zhōng",入铁主簿:"rù tiě zhǔ bù",入理切情:"rù lǐ qiē qíng",汝成人耶:"rǔ chéng rén yé",如水投石:"rú shuǐ tóu shí",如切如磋:"rú qiē rú cuō",如登春台:"rú dēng chūn tái",肉薄骨并:"ròu bó gǔ bìng",柔情绰态:"róu qíng chuò tài",戎马劻勷:"róng mǎ kuāng ráng",日中为市:"rì zhōng wéi shì",日月参辰:"rì yuè shēn chén",日省月修:"rì xǐng yuè xiū",日削月割:"rì xuē yuè gē",日省月试:"rì xǐng yuè shì",任达不拘:"rèn dá bù jū",人言藉藉:"rén yán jí jí",人模狗样:"rén mú gǒu yàng",人莫予毒:"rén mò yú dú",热熬翻饼:"rè áo fān bǐng",圈牢养物:"juàn láo yǎng wù",取予有节:"qǔ yǔ yǒu jié",诎要桡腘:"qū yāo ráo guó",穷形尽相:"qióng xíng jìn xiàng",情凄意切:"qíng qī yì qiè",情见势屈:"qíng xiàn shì qū",情见乎辞:"qíng xiàn hū cí",清都绛阙:"qīng dōu jiàng què",倾肠倒肚:"qīng cháng dào dǔ",青紫被体:"qīng zǐ pī tǐ",青林黑塞:"qīng lín hēi sài",螓首蛾眉:"qín shǒu é méi",琴瑟之好:"qín sè zhī hào",且住为佳:"qiě zhù wéi jiā",切树倒根:"qiē shù dǎo gēn",切理餍心:"qiē lǐ yàn xīn",切近的当:"qiē jìn de dāng",翘足引领:"qiáo zú yǐn lǐng",巧发奇中:"qiǎo fā qí zhòng",强嘴拗舌:"jiàng zuǐ niù shé",强直自遂:"qiáng zhí zì suí",强死强活:"qiǎng sǐ qiǎng huó",强食自爱:"qiǎng shí zì ài",强食靡角:"qiǎng shí mí jiǎo",强弓劲弩:"qiáng gōng jìng nǔ",强聒不舍:"qiǎng guō bù shě",强凫变鹤:"qiáng fú biàn hè",强而后可:"qiǎng ér hòu kě",强得易贫:"qiǎng dé yì pín",遣兴陶情:"qiǎn xìng táo qíng",牵羊担酒:"qiān yáng dān jiǔ",千了百当:"qiān liǎo bǎi dàng",泣下如雨:"qì xià rú yǔ",起偃为竖:"qǐ yǎn wéi shù",岂弟君子:"kǎi tì jūn zǐ",綦溪利跂:"qí xī lì qí",棋输先著:"qí shū xiān zhuó",齐王舍牛:"qí wáng shě niú",欺天诳地:"qī tiān kuáng dì",普天率土:"pǔ tiān shuài tǔ",铺胸纳地:"pū xiōng nà dì",铺锦列绣:"pū jǐn liè xiù",破家为国:"pò jiā wèi guó",破觚为圜:"pò gū wéi yuán",萍飘蓬转:"píng piāo péng zhuàn",帡天极地:"píng tiān jí dì",屏声息气:"bǐng shēng xī qì",凭几据杖:"píng jī jù zhàng",贫嘴薄舌:"pín zuǐ bó shé",片语只辞:"piàn yǔ zhī cí",披发文身:"pī fà wén shēn",烹龙炮凤:"pēng lóng páo fèng",炰鳖脍鲤:"fǒu biē kuài lǐ",庞眉皓发:"páng méi hào fà",攀花折柳:"pān huā zhé liǔ",攀蟾折桂:"pān chán shé guì",女大难留:"nǚ dà nán liú",弄玉吹箫:"nòng yù chuī xiāo",弄管调弦:"nòng guǎn tiáo xián",弄粉调朱:"nòng fěn diào zhū",浓抹淡妆:"nóng mò dàn zhuāng",捻土为香:"niǎn tǔ wéi xiāng",年谊世好:"nián yì shì hǎo",年华垂暮:"nián huá chuí mù",儗不于伦:"nǐ bù yú lún",泥而不滓:"ní ér bù zǐ",能者为师:"néng zhě wéi shī",能不称官:"néng bú chèn guān",挠直为曲:"náo zhí wéi qū",难进易退:"nán jìn yì tuì",难得糊涂:"nán dé hú tú",南蛮鴂舌:"nán mán jué shé",南贩北贾:"nán fàn běi gǔ",牧猪奴戏:"mù zhū nú xì",目眢心忳:"mù yuān xīn tún",目挑心招:"mù tiǎo xīn zhāo",目量意营:"mù liàng yì yíng",木头木脑:"mù tóu mù nǎo",木干鸟栖:"mù gàn niǎo qī",侔色揣称:"móu sè chuǎi chèn",莫予毒也:"mò yú dú yě",抹粉施脂:"mò fěn shī zhī",磨砻镌切:"mó lóng juān qiē",磨棱刓角:"mó léng wán jiǎo",摸门不着:"mō mén bù zháo",摸不着边:"mō bù zhuó biān",命中注定:"mìng zhōng zhù dìng",鸣鹤之应:"míng hè zhī yìng",明效大验:"míng xiào dà yàn",名我固当:"míng wǒ gù dāng",邈处欿视:"miǎo chǔ kǎn shì",黾穴鸲巢:"měng xué qú cháo",绵里薄材:"mián lǐ bó cái",靡有孑遗:"mǐ yǒu jié yí",靡衣偷食:"mǐ yī tōu shí",迷恋骸骨:"mí liàn hái gǔ",扪参历井:"mén shēn lì jǐng",门单户薄:"mén dān hù bó",昧旦晨兴:"mèi dàn chén xīng",冒名接脚:"mào míng jiē jiǎo",毛遂堕井:"máo suí duò jǐng",毛发倒竖:"máo fā dǎo shù",卖文为生:"mài wén wéi shēng",卖李钻核:"mài lǐ zuān hé",买椟还珠:"mǎi dú huán zhū",埋三怨四:"mán sān yuàn sì",马入华山:"mǎ rù huá shān",落魄江湖:"luò pò jiāng hú",落落难合:"luò luò nán hé",落草为寇:"luò cǎo wéi kòu",罗织构陷:"luó zhī gòu xiàn",鸾凤和鸣:"luán fèng hè míng",率由旧章:"shuài yóu jiù zhāng",率土同庆:"shuài tǔ tóng qìng",率兽食人:"shuài shòu shí rén",率土归心:"shuài tǔ guī xīn",率马以骥:"shuài mǎ yǐ jì",率尔成章:"shuài ěr chéng zhāng",鲁斤燕削:"lǔ jīn yàn xuē",漏尽更阑:"lòu jìn gēng lán",笼鸟槛猿:"lóng niǎo jiàn yuán",笼鸟池鱼:"lóng niǎo chí yú",龙游曲沼:"lóng yóu qū zhǎo",龙血玄黄:"lóng xuè xuán huáng",龙雕凤咀:"lóng diāo fèng jǔ",六尺之讬:"liù chǐ zhī tuō",令原之戚:"líng yuán zhī qī",令人捧腹:"lìng rén pěng fù",陵劲淬砺:"líng jìng cuì lì",临敌易将:"lín dí yì jiàng",裂裳衣疮:"liè shang yī chuāng",裂冠毁冕:"liè guàn huǐ miǎn",了无惧色:"liǎo wú jù sè",了身达命:"liǎo shēn dá mìng",了然无闻:"liǎo rán wú wén",了不可见:"liǎo bù kě jiàn",了不长进:"liǎo bù zhǎng jìn",燎发摧枯:"liǎo fà cuī kū",审时度势:"shěn shí duó shì",量小力微:"liàng xiǎo lì wēi",相时度力:"xiāng shí duó lì",量枘制凿:"liàng ruì zhì záo",量如江海:"liàng rú jiāng hǎi",量金买赋:"liàng jīn mǎi fù",量己审分:"liàng jǐ shěn fēn",敛骨吹魂:"liǎn gǔ chuī hún",詈夷为跖:"lì yí wéi zhí",利令志惛:"lì lìng zhì hūn",李广不侯:"lǐ guǎng bú hòu",礼为情貌:"lǐ wéi qíng mào",礼让为国:"lǐ ràng wéi guó",犁生骍角:"lí shēng xīng jiǎo",离本徼末:"lí běn jiǎo mò",楞眉横眼:"léng méi hèng yǎn",擂天倒地:"léi tiān dǎo dì",累足成步:"lěi zú chéng bù",累瓦结绳:"lěi wǎ jié shéng",累土至山:"lěi tǔ zhì shān",累土聚沙:"lěi tǔ jù shā",累卵之危:"lěi luǎn zhī wēi",累累如珠:"lěi lěi rú zhū",累块积苏:"lěi kuài jī sū",乐山乐水:"lè shān lè shuǐ",潦原浸天:"lǎo yuán jìn tiān",老师宿儒:"lǎo shī xiǔ rú",牢什古子:"láo shí gǔ zi",琅嬛福地:"láng huán fú dì",揆情度理:"kuí qíng duó lǐ",旷日累时:"kuàng rì lěi shí",匡救弥缝:"kuāng jiù mí fèng",枯树生华:"kū shù shēng huā",口轻舌薄:"kǒu qīng shé bó",口角生风:"kǒu jiǎo shēng fēng",口角春风:"kǒu jiǎo chūn fēng",口角风情:"kǒu jiǎo fēng qíng",口干舌焦:"kǒu gān shé jiāo",口腹之累:"kǒu fù zhī lěi",空腹便便:"kōng fù pián pián",嗑牙料嘴:"kē yá liào zuǐ",刻木为鹄:"kè mù wéi hú",咳珠唾玉:"ké zhū tuò yù",咳唾成珠:"ké tuò chéng zhū",抗颜为师:"kàng yán wéi shī",开华结果:"kāi huā jié guǒ",峻阪盐车:"jùn bǎn yán chē",嚼铁咀金:"jiáo tiě jǔ jīn",嚼墨喷纸:"jué mò pēn zhǐ",倔头强脑:"juè tóu jiàng nǎo",倔头倔脑:"juè tóu juè nǎo",倦鸟知还:"juàn niǎo zhī huán",卷席而葬:"juǎn xí ér zàng",卷甲倍道:"juǎn jiǎ bèi dào",聚米为山:"jù mǐ wéi shān",举手相庆:"jǔ shǒu xiāng qìng",举世混浊:"jǔ shì hún zhuó",鞠为茂草:"jū wéi mào cǎo",拘神遣将:"jū shén qiǎn jiàng",居下讪上:"jū xià shàn shàng",久要不忘:"jiǔ yāo bú wàng",九转功成:"jiǔ zhuǎn gōng chéng",九蒸三熯:"jiǔ zhēng sān hàn",敬业乐群:"jìng yè lè qún",井底虾蟆:"jǐng dǐ xiā má",旌旗卷舒:"jīng qí juǎn shū",荆棘载途:"jīng jí zài tú",禁舍开塞:"jìn shě kāi sāi",祲威盛容:"jìn wēi shèng róng",进退消长:"jìn tuì xiāo cháng",进退应矩:"jìn tuì yīng jǔ",进退触籓:"jìn tuì chù fān",进退跋疐:"jìn tuì bá zhì",尽多尽少:"jǐn duō jǐn shǎo",锦囊还矢:"jǐn náng huán shǐ",矜己自饰:"jīn jǐ zì shì",矜功负气:"jīn gōng fù qì",津关险塞:"jīn guān xiǎn sài",金吾不禁:"jīn wú bú jìn",金翅擘海:"jīn chì bāi hǎi",解衣衣人:"jiě yī yī rén",解人难得:"jiě rén nán dé",解铃系铃:"jiě líng xì líng",解发佯狂:"jiě fà yáng kuáng",诘屈磝碻:"jié qū áo qiāo",教猱升木:"jiāo náo shēng mù",较瘦量肥:"jiào shòu liàng féi",角立杰出:"jiǎo lì jié chū",焦沙烂石:"jiāo shā làn shí",骄儿騃女:"jiāo ér sì nǚ",浇风薄俗:"jiāo fēng bó sú",降妖捉怪:"xiáng yāo zhuō guài",将取固予:"jiāng qǔ gù yǔ",将门有将:"jiàng mén yǒu jiàng",将夺固与:"jiāng duó gù yǔ",槛花笼鹤:"jiàn huā lóng hè",鉴影度形:"jiàn yǐng duó xíng",渐不可长:"jiàn bù kě zhǎng",见素抱朴:"xiàn sù bào pǔ",见弃于人:"jiàn qì yú rén",简丝数米:"jiǎn sī shǔ mǐ",俭不中礼:"jiǎn bú zhòng lǐ",间见层出:"jiàn xiàn céng chū",尖嘴薄舌:"jiān zuǐ bó shé",甲冠天下:"jiǎ guàn tiān xià",葭莩之亲:"jiā fú zhī qīn",家累千金:"jiā lèi qiān jīn",家给人足:"jiā jǐ rén zú",家道从容:"jiā dào cóng róng",夹袋人物:"jiā dài rén wù",霁风朗月:"jì fēng lǎng yuè",寄兴寓情:"jì xìng yù qíng",计深虑远:"jì shēn lǜ yuǎn",计功量罪:"jì gōng liàng zuì",掎裳连襼:"jǐ shang lián yì",虮虱相吊:"jǐ shī xiāng diào",疾不可为:"jí bù kě wéi",极深研几:"jí shēn yán jī",及宾有鱼:"jí bīn yǒu yú",激薄停浇:"jī bó tíng jiāo",积素累旧:"jī sù lěi jiù",积时累日:"jī shí lěi rì",积露为波:"jī lù wéi bō",积德累功:"jī dé lěi gōng",积谗糜骨:"jī chán méi gǔ",击排冒没:"jī pái mào mò",祸为福先:"huò wéi fú xiān",祸福相依:"huò fú xiāng yī",获隽公车:"huò jùn gōng chē",混应滥应:"hùn yīng làn yīng",毁舟为杕:"huǐ zhōu wéi duò",毁钟为铎:"huǐ zhōng wéi duó",毁冠裂裳:"huǐ guān liè cháng",晦盲否塞:"huì máng pǐ sè",回船转舵:"huí chuán zhuàn duò",潢池盗弄:"huáng chí dào nòng",黄冠草履:"huáng guàn cǎo lǚ",黄发儿齿:"huáng fà ér chǐ",黄发垂髫:"huáng fà chuí tiáo",还珠返璧:"huán zhū fǎn bì",还年驻色:"huán nián zhù sè",还年却老:"huán nián què lǎo",坏裳为裤:"huài shang wéi kù",画荻和丸:"huà dí huò wán",化枭为鸠:"huà xiāo wéi jiū",化腐为奇:"huà fǔ wéi qí",化鸱为凤:"huà chī wéi fèng",花不棱登:"huā bu lēng dēng",户限为穿:"hù xiàn wéi chuān",呼卢喝雉:"hū lú hè zhì",呼来喝去:"hū lái hè qù",呼不给吸:"hū bù jǐ xī",厚味腊毒:"hòu wèi xī dú",厚德载物:"hòu dé zài wù",鸿渐于干:"hóng jiàn yú gàn",洪炉燎发:"hóng lú liáo fà",红绳系足:"hóng shéng jì zú",红不棱登:"hóng bu lēng dēng",横抢硬夺:"hèng qiǎng yìng duó",横恩滥赏:"hèng ēn làn shǎng",恨海难填:"hèn hǎi nán tián",鹤发鸡皮:"hè fà jī pí",涸思干虑:"hé sī gān lǜ",河涸海干:"hé hé hǎi gān",和颜说色:"hé yán yuè sè",合从连衡:"hé zòng lián héng",浩浩汤汤:"hào hào shāng shāng",好勇斗狠:"hào yǒng dòu hěn",好问则裕:"hào wèn zé yù",好为事端:"hào wéi shì duān",好问决疑:"hào wèn jué yí",好生之德:"hào shēng zhī dé",好奇尚异:"hǎo qí shàng yì",好恶不同:"hǎo è bù tóng",好丹非素:"hào dān fēi sù",豪干暴取:"háo gàn bào qǔ",毫发不爽:"háo fà bù shuǎng",寒酸落魄:"hán suān luò pò",含英咀华:"hán yīng jǔ huá",含糊不明:"hán hú bù míng",过为已甚:"guò wéi yǐ shèn",桂折兰摧:"guì shé lán cuī",规旋矩折:"guī xuán jǔ shé",广文先生:"guǎng wén xiān sheng",广陵散绝:"guǎng líng sǎn jué",冠山戴粒:"guàn shān dài lì",冠屦倒施:"guàn jù dǎo shī",挂席为门:"guà xí wéi mén",寡见鲜闻:"guǎ jiàn xiǎn wén",瓜葛相连:"guā gé xiāng lián",鼓吻奋爪:"gǔ wěn fèn zhǎo",古调单弹:"gǔ diào dān tán",古调不弹:"gǔ diào bù tán",姑射神人:"gū yè shén rén",苟合取容:"gǒu hé qǔ róng",狗续侯冠:"gǒu xù hòu guàn",钩爪锯牙:"gōu zhǎo jù yá",共枝别干:"gòng zhī bié gàn",共为唇齿:"gòng wéi chún chǐ",拱手而降:"gǒng shǒu ér xiáng",拱肩缩背:"gǒng jiān suō bèi",功薄蝉翼:"gōng bó chán yì",弓调马服:"gōng diào mǎ fú",更姓改物:"gēng xìng gǎi wù",更仆难数:"gēng pú nán shǔ",更令明号:"gēng lìng míng hào",更待干罢:"gèng dài gàn bà",更唱迭和:"gēng chàng dié hé",更长梦短:"gēng cháng mèng duǎn",各色名样:"gè sè míng yàng",格格不纳:"gé gé bú nà",格格不吐:"gé gé bù tǔ",告朔饩羊:"gù shuò xì yáng",膏车秣马:"gào chē mò mǎ",高义薄云:"gāo yì bó yún",岗头泽底:"gāng tóu zé dǐ",敢为敢做:"gǎn wéi gǎn zuò",甘分随时:"gān fèn suí shí",甘处下流:"gān chǔ xià liú",干啼湿哭:"gàn tí shī kū",干名犯义:"gàn míng fàn yì",干将莫邪:"gān jiāng mò yé",干城之将:"gān chéng zhī jiàng",腹载五车:"fù zài wǔ chē",父债子还:"fù zhài zǐ huán",父为子隐:"fù wéi zǐ yǐn",辅世长民:"fǔ shì zhǎng mín",福为祸始:"fú wéi huò shǐ",符号逻辑:"fú hào luó jí",浮收勒折:"fú shōu lè shé",肤受之愬:"fū shòu zhī sù",否终则泰:"pǐ zhōng zé tài",佛头著粪:"fó tóu zhuó fèn",奉为楷模:"fèng wéi kǎi mó",凤靡鸾吪:"fèng mǐ luán é",封豨修蛇:"fēng xī xiū shé",风影敷衍:"fēng yǐng fū yǎn",丰屋蔀家:"fēng wū bù jiā",粪土不如:"fèn tǔ bù rú",分风劈流:"fēn fēng pǐ liú",沸沸汤汤:"fèi fèi shāng shāng",菲食薄衣:"fěi shí bó yī",飞将数奇:"fēi jiàng shù qí",放辟邪侈:"fàng pì xié chǐ",方领圆冠:"fāng lǐng yuán guàn",犯而不校:"fàn ér bú jiào",返本还源:"fǎn běn huán yuán",反劳为逸:"fǎn láo wéi yì",法轮常转:"fǎ lún cháng zhuàn",罚不当罪:"fá bù dāng zuì",发引千钧:"fà yǐn qiān jūn",发奸擿伏:"fā jiān tī fú",发短心长:"fà duǎn xīn cháng",二竖为虐:"èr shù wéi nüè",儿女心肠:"ér nǚ xīn cháng",儿女亲家:"ér nǚ qìng jiā",遏恶扬善:"è wù yáng shàn",饿殍枕藉:"è piǎo zhěn jí",饿殍载道:"è piǎo zài dào",恶醉强酒:"wù zuì qiǎng jiǔ",恶意中伤:"è yì zhòng shāng",恶湿居下:"wù shī jū xià",恶居下流:"wù jū xià liú",恶不去善:"wù bú qù shàn",扼吭夺食:"è háng duó shí",扼襟控咽:"è jīn kòng yān",峨峨汤汤:"é é shāng shāng",屙金溺银:"ē jīn niào yín",朵颐大嚼:"duǒ yí dà jiáo",夺人所好:"duó rén suǒ hào",多言数穷:"duō yán shuò qióng",多文为富:"duō wén wéi fù",多端寡要:"duō duān guǎ yào",多财善贾:"duō cái shàn gǔ",遁世无闷:"dùn shì wú mèn",遁迹黄冠:"dùn jì huáng guàn",堆案盈几:"duī àn yíng jī",断还归宗:"duàn huán guī zōng",短见薄识:"duǎn jiàn bó shí",蠹居棊处:"dù jū qí chǔ",度己以绳:"duó jǐ yǐ shéng",杜默为诗:"dù mò wéi shī",杜鹃啼血:"dù juān tí xuè",笃近举远:"dǔ jìn jǔ yuǎn",独有千秋:"dú yǒu qiān qiū",读书得间:"dú shū dé jiàn",斗转参横:"dǒu zhuǎn shēn héng",兜肚连肠:"dōu dǔ lián cháng",洞见症结:"dòng jiàn zhèng jié",恫疑虚喝:"dòng yí xū hè",动中窾要:"dòng zhōng kuǎn yào",东鸣西应:"dōng míng xī yīng",东鳞西爪:"dōng lín xī zhǎo",东量西折:"dōng liàng xī shé",东家西舍:"dōng jiā xī shè",东扯西拽:"dōng chě xī zhuāi",鼎铛有耳:"dǐng chēng yǒu ěr",鼎铛玉石:"dǐng chēng yù shí",钉头磷磷:"dīng tóu lín lín",跌宕不羁:"diē dàng bù jī",跌弹斑鸠:"diē dàn bān jiū",雕心雁爪:"diāo xīn yàn zhǎo",颠倒衣裳:"diān dǎo yī cháng",德薄能鲜:"dé bó néng xiǎn",得马折足:"dé mǎ shé zú",蹈其覆辙:"dǎo qí fù zhé",捣虚撇抗:"dǎo xū piē kàng",倒载干戈:"dào zài gān gē",倒裳索领:"dào cháng suǒ lǐng",倒果为因:"dào guǒ wéi yīn",叨在知己:"tāo zài zhī jǐ",叨陪末座:"tāo péi mò zuò",党豺为虐:"dǎng chái wéi nüè",当轴处中:"dāng zhóu chǔ zhōng",当着不着:"dāng zhuó bù zhuó",当务始终:"dāng wù shǐ zhōng",淡汝浓抹:"dàn rǔ nóng mǒ",弹丸脱手:"tán wán tuō shǒu",弹铗无鱼:"dàn jiá wú yú",箪食瓢饮:"dān sì piáo yǐn",大璞不完:"dà pú bù wán",大明法度:"dà míng fǎ dù",大车以载:"dà chē yǐ zài",打闷葫芦:"dǎ mèn hú lu",沓来踵至:"tà lái zhǒng zhì",厝火燎原:"cuò huǒ liǎo yuán",撮科打哄:"cuō kē dǎ hòng",寸积铢累:"cùn jī zhū lěi",啛啛喳喳:"cuì cuì chā chā",摧折豪强:"cuī zhé háo qiáng",摧刚为柔:"cuī gāng wéi róu",从俗就简:"cóng sú jiù jiǎn",此发彼应:"cǐ fā bǐ yīng",此唱彼和:"cǐ chàng bǐ hè",慈悲为本:"cí bēi wéi běn",纯属骗局:"chún shǔ piàn jú",春笋怒发:"chūn sǔn nù fā",垂头搨翼:"chuí tóu tà yì",传为笑谈:"chuán wéi xiào tán",传风扇火:"chuán fēng shān huǒ",穿红着绿:"chuān hóng zhuó lǜ",触处机来:"chù chǔ jī lái",处尊居显:"chǔ zūn jū xiǎn",处堂燕雀:"chǔ táng yàn què",处实效功:"chǔ shí xiào gōng",处高临深:"chǔ gāo lín shēn",出入无间:"chū rù wú jiān",出门应辙:"chū mén yīng zhé",出处语默:"chū chǔ yǔ mò",出处殊途:"chū chǔ shū tú",出处进退:"chū chǔ jìn tuì",愁山闷海:"chóu shān mèn hǎi",冲冠眦裂:"chōng guàn zì liè",齿牙为祸:"chǐ yá wéi huò",尺二冤家:"chǐ èr yuān jia",尺短寸长:"chǐ duǎn cùn cháng",尺寸之功:"chǐ cùn zhī gōng",城北徐公:"chéng běi xú gōng",成败兴废:"chéng bài xīng fèi",趁水和泥:"chèn shuǐ huò ní",称雨道晴:"chēng yǔ dào qíng",称体载衣:"chēng tǐ zài yī",称体裁衣:"chèn tǐ cái yī",称家有无:"chèn jiā yǒu wú",称德度功:"chēng dé duó gōng",沉吟章句:"chén yín zhāng jù",沉吟不决:"chén yín bù jué",沉疴宿疾:"chén kē sù jí",扯纤拉烟:"chě qiàn lā yān",扯顺风旗:"chě shùn fēng qí",车载船装:"chē zǎi chuán zhuāng",朝升暮合:"zhāo shēng mù gě",朝攀暮折:"zhāo pān mù shé",超今冠古:"chāo jīn guàn gǔ",倡而不和:"chàng ér bú hè",畅所欲为:"chàng suǒ yù wéi",苌弘碧血:"cháng hóng bì xiě",长幼尊卑:"zhǎng yòu zūn bēi",长绳系日:"cháng shéng jì rì",长年三老:"zhǎng nián sān lǎo",长春不老:"cháng chūn bù lǎo",长傲饰非:"zhǎng ào shì fēi",昌亭旅食:"chāng tíng lǚ shí",禅絮沾泥:"chán xù zhān ní",差三错四:"chā sān cuò sì",层台累榭:"céng tái lěi xiè",层见迭出:"céng xiàn dié chū",藏踪蹑迹:"cáng zōng niè jì",苍蝇见血:"cāng yíng jiàn xiě",餐松啖柏:"cān sōng dàn bó",骖风驷霞:"cān fēng sì xiá",参伍错综:"cēn wǔ cuò zōng",参辰卯酉:"shēn chén mǎo yǒu",材优干济:"cái yōu gān jǐ",材薄质衰:"cái bó zhì shuāi",才大难用:"cái dà nán yòng",才薄智浅:"cái bó zhì qiǎn",不足为意:"bù zú wéi yì",不足为据:"bù zú wéi jù",不足为法:"bù zú wéi fǎ",不足齿数:"bù zú chǐ shǔ",不着疼热:"bù zhuó téng rè",不知薡蕫:"bù zhī dǐng dǒng",不越雷池:"bú yuè léi chí",不相为谋:"bù xiāng wéi móu",不贪为宝:"bù tān wéi bǎo",不了而了:"bù liǎo ér liǎo",不可揆度:"bù kě kuí duó",不遑启处:"bù huáng qǐ chǔ",不当不正:"bù dāng bú zhèng",不差什么:"bú chà shén me",不差累黍:"bù chā lěi shǔ",擘两分星:"bò liǎng fēn xīng",簸土扬沙:"bǒ tǔ yáng shā",薄物细故:"bó wù xì gù",薄寒中人:"bó hán zhòng rén",博文约礼:"bó wén yuē lǐ",播糠眯目:"bō kāng mí mù",剥皮抽筋:"bō pí chōu jīn",剥肤椎髓:"bō fū chuí suǐ",波属云委:"bō zhǔ yún wěi",波骇云属:"bō hài yún zhǔ",兵微将寡:"bīng wēi jiàng guǎ",兵强将勇:"bīng qiáng jiàng yǒng",兵多将广:"bīng duō jiàng guǎng",兵不由将:"bīng bù yóu jiàng",冰解的破:"bīng jiě dì pò",彬彬济济:"bīn bīn jǐ jǐ",摽梅之年:"biào méi zhī nián",表里为奸:"biǎo lǐ wéi jiān",飙发电举:"biāo fā diàn jǔ",变贪厉薄:"biàn tān lì bó",敝盖不弃:"bì gài bú qì",秕言谬说:"bǐ yán miù shuō",比物属事:"bǐ wù zhǔ shì",被山带河:"pī shān dài hé",被甲枕戈:"pī jiǎ zhěn gē",被甲据鞍:"pī jiǎ jù ān",被褐怀玉:"pī hè huái yù",被发缨冠:"pī fà yīng guàn",背曲腰躬:"bèi qǔ yāo gōng",北窗高卧:"běi chuāng gāo wò",北辰星拱:"běi chén xīng gǒng",北鄙之音:"běi bǐ zhī yīn",卑宫菲食:"bēi gōng fěi shí",暴衣露冠:"pù yī lù guàn",暴腮龙门:"pù sāi lóng mén",暴露文学:"bào lù wén xué",暴虎冯河:"bào hǔ píng hé",抱蔓摘瓜:"bào wàn zhāi guā",抱法处势:"bào fǎ chǔ shì",褒贬与夺:"bāo biǎn yǔ duó",帮闲钻懒:"bāng xián zuān lǎn",拜将封侯:"bài jiàng fēng hóu",百兽率舞:"bǎi shòu shuài wǔ",百孔千创:"bǎi kǒng qiān chuāng",白衣卿相:"bái yī qīng xiàng",白首为郎:"bái shǒu wéi láng",白首相知:"bái shǒu xiāng zhī",把玩无厌:"bǎ wán wú yàn",拔锅卷席:"bá guō juǎn xí",拔本塞源:"bá běn sè yuán",傲不可长:"ào bù kě zhǎng",熬更守夜:"áo gēng shǒu yè",安时处顺:"ān shí chǔ shùn",安身为乐:"ān shēn wéi lè",安老怀少:"ān lǎo huái shào",安步当车:"ān bù dàng chē",爱人好士:"ài rén hào shì",矮人观场:"ǎi rén guān chǎng",捱风缉缝:"ái fēng jī fèng",挨山塞海:"āi shān sè hǎi",阿家阿翁:"ā jiā ā wēng",阿党相为:"ē dǎng xiāng wéi",追亡逐北:"zhuī wáng zhú běi",竹篮打水:"zhú lán dá shuǐ",知疼着热:"zhī téng zháo rè",语不惊人:"yǔ bù jīng rén",于今为烈:"yú jīn wéi liè",一日三省:"yí rì sān xǐng",穴居野处:"xué jū yě chǔ",五脊六兽:"wǔ jǐ liù shòu",无声无臭:"wú shēng wú xiù",谓予不信:"wèi yú bú xìn",舍身为国:"shě shēn wéi guó",杀妻求将:"shā qī qiú jiàng",强作解人:"qiǎng zuò jiě rén",气冲斗牛:"qì chōng dǒu niú",临深履薄:"lín shēn lǚ bó",钧天广乐:"jūn tiān guǎng yuè",艰难竭蹶:"jiān nán jié jué",夹七夹八:"jiā qī jiā bā",混混噩噩:"hún hún è è",厚古薄今:"hòu gǔ bó jīn",鬼怕恶人:"guǐ pà è rén",伽马射线:"gā mǎ shè xiàn",佛头着粪:"fó tóu zhuó fèn",奉为至宝:"fèng wéi zhì bǎo",登坛拜将:"dēng tán bài jiàng",晨昏定省:"chén hūn dìng xǐng",察察为明:"chá chá wéi míng",博闻强识:"bó wén qiáng zhì",避难就易:"bì nán jiù yì",了无生机:"liǎo wú shēng jī",有一说一:"yǒu yī shuō yī",独一无二:"dú yī wú èr",说一不二:"shuō yī bù èr",举一反三:"jǔ yī fǎn sān",数一数二:"shǔ yī shǔ èr",杀一儆百:"shā yī jǐng bǎi",丁一卯二:"dīng yī mǎo èr",丁一确二:"dīng yī què èr",不一而止:"bù yī ér zhǐ",无一幸免:"wú yī xìng miǎn",表里不一:"biǎo lǐ bù yī",良莠不一:"liáng yǒu bù yī",心口不一:"xīn kǒu bù yī",言行不一:"yán xíng bù yī",政令不一:"zhèng lìng bù yī",参差不一:"cēn cī bù yī",纷纷不一:"fēn fēn bù yī",毁誉不一:"huǐ yù bù yī",不一而三:"bù yī ér sān",百不一遇:"bǎi bù yī yù",言行抱一:"yán xíng bào yī",瑜百瑕一:"yú bǎi xiá yī",背城借一:"bèi chéng jiè yī",凭城借一:"píng chéng jiè yī",劝百讽一:"quàn bǎi fěng yī",群居和一:"qún jū hé yī",百不获一:"bǎi bù huò yī",百不失一:"bǎi bù shī yī",百无失一:"bǎi wú shī yī",万不失一:"wàn bù shī yī",万无失一:"wàn wú shī yī",合而为一:"hé ér wéi yī",合两为一:"hé liǎng wéi yī",合二为一:"hé èr wéi yī",天下为一:"tiān xià wéi yī",相与为一:"xiāng yǔ wéi yī",较若画一:"jiào ruò huà yī",较如画一:"jiào rú huà yī",斠若画一:"jiào ruò huà yī",言行若一:"yán xíng ruò yī",始终若一:"shǐ zhōng ruò yī",终始若一:"zhōng shǐ ruò yī",惟精惟一:"wéi jīng wéi yī",众多非一:"zhòng duō fēi yī",不能赞一:"bù néng zàn yī",问一答十:"wèn yī dá shí",一不扭众:"yī bù niǔ zhòng",一以贯之:"yī yǐ guàn zhī",一以当百:"yī yǐ dāng bǎi",百不当一:"bǎi bù dāng yī",十不当一:"shí bù dāng yī",以一警百:"yǐ yī jǐng bǎi",以一奉百:"yǐ yī fèng bǎi",以一持万:"yǐ yī chí wàn",以一知万:"yǐ yī zhī wàn",百里挑一:"bǎi lǐ tiāo yī",整齐划一:"zhěng qí huà yī",一来二去:"yī lái èr qù",一路公交:"yī lù gōng jiāo",一路汽车:"yī lù qì chē",一路巴士:"yī lù bā shì",朝朝朝落:"zhāo cháo zhāo luò",曲意逢迎:"qū yì féng yíng",一行不行:"yì háng bù xíng",行行不行:"háng háng bù xíng"},Jh0=Object.keys(zh0).map(($)=>({zh:$,pinyin:zh0[$],probability:0.00000002,length:4,priority:d4.Normal,dict:Symbol("dict4")}));var Uh0={巴尔干半岛:"bā ěr gàn bàn dǎo",巴尔喀什湖:"bā ěr kā shí hú",不幸而言中:"bú xìng ér yán zhòng",布尔什维克:"bù ěr shí wéi kè",何乐而不为:"hé lè ér bù wéi",苛政猛于虎:"kē zhèng měng yú hǔ",蒙得维的亚:"méng dé wéi dì yà",民以食为天:"mín yǐ shí wéi tiān",事后诸葛亮:"shì hòu zhū gě liàng",物以稀为贵:"wù yǐ xī wéi guì",先下手为强:"xiān xià shǒu wéi qiáng",行行出状元:"háng háng chū zhuàng yuan",亚得里亚海:"yà dé lǐ yà hǎi",眼不见为净:"yǎn bú jiàn wéi jìng",竹筒倒豆子:"zhú tǒng dào dòu zi"},Ih0=Object.keys(Uh0).map(($)=>({zh:$,pinyin:Uh0[$],probability:0.00000002,length:5,priority:d4.Normal,dict:Symbol("dict5")}));var Qh0=[...Ih0,...Jh0,...qh0,...$h0,...ov0,...av0];function Kh0($,Y){if(!$)return Y;if($.decimal<Y.decimal)return $;else if($.decimal===Y.decimal)return $.probability>Y.probability?$:Y;else return Y}function Gh0($){if($.probability<0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001)$.probability*=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,$.decimal+=1}function mf1($){if($.priority===d4.Custom)return-($.length*$.length*100);if($.priority===d4.Surname)return-($.length*$.length*10);return 0}function Hh0($,Y){let q=[],z={probability:1,decimal:0,nextIndex:Y},J=$.length-1,U=$[J];for(let K=Y-1;K>=0;K--){let G=K+1>=Y?z:q[K+1],H=G.pattern?K+1:G.nextIndex;while(U&&U.index+U.length-1===K){let V=U.index,X={probability:U.probability*G.probability,decimal:G.decimal+mf1(U),pattern:U,nextIndex:H};Gh0(X),q[V]=Kh0(q[V],X),U=$[--J]}let Z={probability:0.0000000000001*G.probability,decimal:0,nextIndex:H};Gh0(Z),q[K]=Kh0(q[K],Z)}let I=[],Q=0;while(Q<Y){let K=q[Q];if(K.pattern)I.push(K.pattern);Q=K.nextIndex}return I}function Zh0($,Y){if(!$)return Y;return $.count<=Y.count?$:Y}function lf1($){if($.priority===d4.Custom)return-($.length*$.length*1e5);if($.priority===d4.Surname)return-($.length*$.length*100);return 1}function Wh0($,Y){let q=[],z=$.length-1,J=$[z];for(let U=Y-1;U>=0;U--){let I=U+1>=Y?{count:0,patterns:[]}:q[U+1];while(J&&J.index+J.length-1===U){let K=J.index,G={count:lf1(J)+I.count,patterns:I.patterns,concatPattern:J};q[K]=Zh0(q[K],G),J=$[--z]}let Q={count:1+I.count,patterns:I.patterns};if(q[U]=Zh0(q[U],Q),q[U].concatPattern)q[U].patterns=q[U].patterns.concat(q[U].concatPattern),q[U].concatPattern=void 0,delete q[U+1]}return q[0].patterns.reverse()}function of1($,Y){if(Y.index+Y.length<=$.index)return!1;if(Y.priority>$.priority)return!1;if(Y.priority===$.priority&&Y.length>$.length)return!1;return!0}function Xh0($){let Y=[];for(let q=$.length-1;q>=0;){let{index:z}=$[q],J=q-1;while(J>=0&&of1($[q],$[J]))J--;if(J<0||$[J].index+$[J].length<=z)Y.push($[q]);q=J}return Y.reverse()}var Vh0;(function($){$[$.ReverseMaxMatch=1]="ReverseMaxMatch",$[$.MaxProbability=2]="MaxProbability",$[$.MinTokenization=3]="MinTokenization"})(Vh0||(Vh0={}));class Od{constructor($,Y=""){this.children=new Map,this.fail=null,this.patterns=[],this.parent=$,this.key=Y}}class wh0{constructor(){this.dictMap=new Map,this.queues=[],this.root=new Od(null)}build($){this.buildTrie($),this.buildFailPointer()}buildTrie($){for(let Y of $){let q=L$(Y.zh),z=this.root;for(let J=0;J<q.length;J++){let U=q[J];if(!z.children.has(U)){let I=new Od(z,U);z.children.set(U,I),this.addNodeToQueues(I,J+1)}z=z.children.get(U)}this.insertPattern(z.patterns,Y),Y.node=z,this.addPatternToDictMap(Y)}}buildFailPointer(){let $=[],Y=0;this.queues.forEach((q)=>{$=$.concat(q)}),this.queues=[];while($.length>Y){let q=$[Y++],z=q.parent&&q.parent.fail,J=q.key;while(z&&!z.children.has(J))z=z.fail;if(!z)q.fail=this.root;else q.fail=z.children.get(J)}}addPatternToDictMap($){if(!this.dictMap.has($.dict))this.dictMap.set($.dict,new Set);this.dictMap.get($.dict).add($)}addNodeToQueues($,Y){if(!this.queues[Y])this.queues[Y]=[];this.queues[Y].push($)}insertPattern($,Y){for(let q=$.length-1;q>=0;q--){let z=$[q];if(Y.priority===z.priority&&Y.probability>=z.probability)$[q+1]=z;else if(Y.priority>z.priority)$[q+1]=z;else{$[q+1]=Y;return}}$[0]=Y}removeDict($){if(this.dictMap.has($))this.dictMap.get($).forEach((q)=>{q.node.patterns=q.node.patterns.filter((z)=>z!==q)}),this.dictMap.delete($)}match($,Y,q=L$($)){let z=this.root,J=[];for(let U=0;U<q.length;U++){let I=q[U],Q=z.children.size?z.children.get(I):void 0;while(!Q&&z!==this.root){if(!z.fail){z=this.root;break}z=z.fail,Q=z.children.size?z.children.get(I):void 0}if(Q){z=Q;let K=z.patterns.find((H)=>{if(Y==="off")return H.priority!==d4.Surname;else if(Y==="head")return H.length-1-U===0;else return!0});if(K)J.push(Object.assign(Object.assign({},K),{index:U-K.length+1}));let G=z.fail;while(G!==null){let H=G.patterns.find((Z)=>{if(Y==="off")return Z.priority!==d4.Surname;else if(Y==="head")return Z.length-1-U===0;else return!0});if(H)J.push(Object.assign(Object.assign({},H),{index:U-H.length+1}));G=G.fail}}}return J}search($,Y,q=2,z=L$($)){let J=this.match($,Y,z);if(q===1)return Xh0(J);else if(q===3)return Wh0(J,z.length);return Hh0(J,z.length)}}var Lh0=!1,Md=new wh0;function rP(){if(!Lh0)Md.build(Qh0),Lh0=!0}function rf1(){if(typeof requestIdleCallback==="function")requestIdleCallback(()=>rP());else setTimeout(rP,0)}rf1();var sf1=[];function Fh0(){return sf1}var IW=($)=>{let Y=B5.get($);if(!Y)return $;let q=Y.indexOf(" ");return q===-1?Y:Y.slice(0,q)},tf1=($)=>{let Y=[],q=Fh0();for(let z=0;z<$.length;z++){let J=$[z],U=J.charCodeAt(0);if(q[U])Y[z]=q[U];else Y[z]=J}return Y.join("")},Mh0=($,Y,q,z,J,U=L$($))=>{rP();let I=J?tf1($):$,Q=J?L$(I):U,K=Md.search(I,q,z,Q),G=0,H=Yb1($);for(let Z=0;Z<U.length;){let V=K[G];if(V&&Z===V.index){if(V.length===1&&V.priority<=d4.Normal){let w=U[Z];V.zh=w;let F="";F=Oh0(w,U[Z-1],U[Z+1],H),Y[Z]={origin:w,result:F,isZh:F!==w,originPinyin:F},Z++,G++;continue}let X=V.pinyin.split(" "),L=0;if(J)V.zh=U.slice(V.index,V.index+V.length).join("");for(let w=0;w<V.length;w++)Y[Z+w]={origin:U[w+V.index],result:X[L]||"",isZh:!0,originPinyin:X[L]||""},L++;Z+=V.length,G++}else{let X=U[Z],L="";L=Oh0(X,U[Z-1],U[Z+1],H),Y[Z]={origin:X,result:L,isZh:L!==X,originPinyin:L},Z++}}return{list:Y,matches:K}},QW=($)=>{return $.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(n̄|ń|ň|ǹ)/g,"n").replace(/(m̄|ḿ|m̌|m̀)/g,"m").replace(/(ê̄|ế|ê̌|ề)/g,"ê")},Nh0=($,Y="off")=>{let q=EI($,Y);if(q.length>0)return q.map((z)=>({origin:$,result:z,isZh:!0,originPinyin:z}));else return[{origin:$,result:$,isZh:!1,originPinyin:$}]},KW=($,Y)=>{let q=$.split(" "),z=[],J=[];for(let U of q)for(let I of cv0)if(U.startsWith(I)){let Q=U.slice(I.length);if(pv0.indexOf(I)!==-1&&dv0.indexOf(Q)!==-1)Q=mv0[Q];z.push(I),J.push(Q);break}if(Y==="standard")z.forEach((U,I)=>{if(U==="y"||U==="w")z[I]=""});return{final:J.join(" "),initial:z.join(" ")}};function Nd($){let Y="",q="",z="";if(lv0.indexOf(QW($))!==-1)Y=$[0],q=$[1],z=$.slice(2);else q=$[0]||"",z=$.slice(1)||"";return{head:Y,body:q,tail:z}}var sP=($)=>{let{final:Y}=KW($);return Nd(Y)},GW=($)=>{let Y=/(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/,q=/(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/,z=/(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/,J=/(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/,U=/(a|o|e|i|u|ü|ê)/,I=/(n|m)$/,Q=[];return $.split(" ").forEach((G)=>{if(Y.test(G))Q.push("1");else if(q.test(G))Q.push("2");else if(z.test(G))Q.push("3");else if(J.test(G))Q.push("4");else if(U.test(G))Q.push("0");else if(I.test(G))Q.push("0");else Q.push("")}),Q.join(" ")},Dh0=($,Y)=>{let q=QW($).split(" "),z=GW(Y).split(" "),J=[];return q.forEach((U,I)=>{J.push(`${U}${z[I]}`)}),J.join(" ")},Dd=($,Y)=>{let q=[];return $.split(" ").forEach((J)=>{q.push(Y?J[0]:J)}),q.join(" ")};function af1($,Y,q){if(sv0.indexOf($)===-1)return IW($);if(Y===q&&Y&&IW(Y)!==Y)return QW(IW($));if(q&&!rv0[$].includes(q)){let z=IW(q);if(z!==q){let J=GW(z),U=wd[$];for(let I in U)if(U[I].indexOf(Number(J))!==-1)return I}}}function ef1($,Y,q){if($==="了"&&(!Y||!B5.get(Y)))return"liǎo"}function $b1($,Y,q){if($==="々")if(!Y||!B5.get(Y))return"tóng";else return B5.get(Y).split(" ")[0]}function Yb1($){let Y=[];if($.includes("々"))Y.push($b1);return Y.push(ef1),Y.push(af1),Y}function Oh0($,Y,q,z){for(let J of z){let U=J($,Y,q);if(U)return U}return IW($)}var Ph0=($)=>{if(typeof $!=="string")return console.error("The first param of pinyin is error: "+$+' is not assignable to type "string".'),!1;else return!0};function Pd($,Y){if(Y instanceof RegExp){if(Y.global||Y.sticky)Y.lastIndex=0;return Y.test($)}return!0}var Ah0=($,Y)=>{let q=Y.nonZh;if(q==="removed")return $.filter((z)=>z.isZh||!Pd(z.origin,Y.nonZhScope));else if(q==="consecutive"){for(let z=$.length-2;z>=0;z--){let J=$[z],U=$[z+1];if(!J.isZh&&!U.isZh&&Pd(J.origin,Y.nonZhScope)&&Pd(U.origin,Y.nonZhScope))J.origin+=U.origin,J.result+=U.result,U.delete=!0}return $.filter((z)=>!z.delete)}else return $},Bh0=($,Y)=>{if(Y.multiple&&Z2($)===1)return Nh0($,Y.surname);else return!1},Th0=($,Y)=>{switch(Y.pattern){case"pinyin":break;case"num":$.forEach((q)=>{q.result=q.isZh?GW(q.result):""});break;case"initial":$.forEach((q)=>{q.result=q.isZh?KW(q.result,Y.initialPattern).initial:""});break;case"final":$.forEach((q)=>{q.result=q.isZh?KW(q.result,Y.initialPattern).final:""});break;case"first":$.forEach((q)=>{q.result=Dd(q.result,q.isZh)});break;case"finalHead":$.forEach((q)=>{q.result=q.isZh?sP(q.result).head:""});break;case"finalBody":$.forEach((q)=>{q.result=q.isZh?sP(q.result).body:""});break;case"finalTail":$.forEach((q)=>{q.result=q.isZh?sP(q.result).tail:""});break}},Eh0=($,Y)=>{switch(Y.toneType){case"symbol":break;case"none":$.forEach((q)=>{if(q.isZh)q.result=QW(q.result)});break;case"num":{$.forEach((q)=>{if(q.isZh)q.result=Dh0(q.result,q.originPinyin)});break}}},jh0=($,Y)=>{if(Y.v)$.forEach((q)=>{if(q.isZh)q.result=q.result.replace(/ü/g,typeof Y.v==="string"?Y.v:"v")})},_h0=($,Y,q)=>{if(Y.multiple&&Z2(q)===1){let z="";$=$.filter((J)=>{let U=J.result!==z;return z=J.result,U})}if(Y.type==="array")return $.map((z)=>z.result);if(Y.type==="all")return $.map((z)=>{let J=z.isZh?z.result:"",{initial:U,final:I}=KW(J,Y.initialPattern),{head:Q,body:K,tail:G}=Nd(I),H=[];if(J!=="")H=[J].concat(EI(z.origin,Y.surname).filter((Z)=>Z!==J));return{origin:z.origin,pinyin:J,initial:U,final:I,first:Dd(z.result,z.isZh),finalHead:Q,finalBody:K,finalTail:G,num:Number(GW(z.originPinyin)),isZh:z.isZh,polyphonic:H,inZhRange:!!B5.get(z.origin),result:z.result}});return $.map((z)=>z.result).join(Y.separator)},Rh0=($,Y)=>{if(Y===!1)$.forEach((q)=>{if(q.origin==="一")q.result=q.originPinyin="yī";else if(q.origin==="不")q.result=q.originPinyin="bù"});return $};var qb1={pattern:"pinyin",toneType:"symbol",type:"string",multiple:!1,mode:"normal",removeNonZh:!1,nonZh:"spaced",v:!1,separator:" ",toneSandhi:!0,segmentit:2};function tP($,Y){if(Y=Object.assign(Object.assign({},qb1),Y||{}),!Ph0($))return $;if($==="")return Y.type==="array"||Y.type==="all"?[]:"";if(Y.surname===void 0)if(Y.mode==="surname")Y.surname="all";else Y.surname="off";if(Y.type==="all")Y.pattern="pinyin";if(Y.pattern==="num")Y.toneType="none";if(Y.removeNonZh)Y.nonZh="removed";let z=L$($),J=Array(z.length),{list:U}=Mh0($,J,Y.surname,Y.segmentit,Y.traditional,z);U=Rh0(U,Y.toneSandhi),U=Ah0(U,Y);let I=Bh0($,Y);if(I)U=I;return Th0(U,Y),Eh0(U,Y),jh0(U,Y),_h0(U,Y,$)}var zb1={precision:"first",continuous:!1,space:"ignore",lastPrecision:"start",insensitive:!0,v:!1},Jb1=6,Ch0={"ā":"a","á":"a","ǎ":"a","à":"a","ō":"o","ó":"o","ǒ":"o","ò":"o","ē":"e","é":"e","ě":"e","è":"e","ī":"i","í":"i","ǐ":"i","ì":"i","ū":"u","ú":"u","ǔ":"u","ù":"u","ǖ":"ü","ǘ":"ü","ǚ":"ü","ǜ":"ü","n̄":"n","ń":"n","ň":"n","ǹ":"n","m̄":"m","ḿ":"m","m̌":"m","m̀":"m","ê̄":"ê","ế":"ê","ê̌":"ê","ề":"ê"},Ub1=new RegExp(Object.keys(Ch0).join("|"),"g"),Ib1=($)=>$.replace(Ub1,(Y)=>{var q;return(q=Ch0[Y])!==null&&q!==void 0?q:Y}),vh0=($,Y)=>{let q=EI($);return(q.length?q:[$]).map((z)=>{let J=Ib1(z);return Y.v?J.replace(/ü/g,typeof Y.v==="string"?Y.v:"v"):J})},Ad=($,Y,q)=>{if((q===null||q===void 0?void 0:q.precision)==="any")q.lastPrecision="any";if(q===null||q===void 0?void 0:q.v){let U=typeof q.v==="string"?q.v:"v";Y=Y.replace(/ü/g,U)}let z=Object.assign(Object.assign({},zb1),q||{});if(z.insensitive!==!1)$=$.toLowerCase(),Y=Y.toLowerCase();if(z.space==="ignore")Y=Y.replace(/\s/g,"");let J=(q===null||q===void 0?void 0:q.precision)==="any"?Kb1($,Y,z):Gb1($,Y,z);return Hb1($,J)},Qb1=($,Y)=>{let q=0;for(let z=0;z<$.length;z++)if($[z]===Y[q])q++;return q},Kb1=($,Y,q)=>{let z=[],J=L$($),U=q.space==="ignore";for(let I=0;I<J.length;I++){if(U&&J[I]===" "){z.push(I);continue}if(J[I]===Y[0]){Y=Y.slice(1),z.push(I);continue}let Q=vh0(J[I],q),K=0;if(Q.forEach((G)=>{let H=Qb1(G,Y);if(H>K)K=H}),K)Y=Y.slice(K),z.push(I);if(!Y)break}if(Y)return null;if(q.continuous){let I=z;if(z.some((K,G)=>G>0&&K!==I[G-1]+1))return null}if(q.space==="ignore")z=z.filter((I)=>J[I]!==" ");return z.length?z:null},Gb1=($,Y,q)=>{let z=L$($),J=Array(z.length+1);for(let U=0;U<J.length;U++)J[U]=Array(Y.length+1),J[U][0]=[];for(let U=0;U<J[0].length;U++)J[0][U]=[];for(let U=1;U<J.length;U++){if(!q.continuous||q.space=="ignore"&&z[U-1]===" ")for(let I=1;I<=Y.length;I++)J[U][I-1]=J[U-1][I-1];for(let I=1;I<=Y.length;I++)if(!J[U-1][I-1])continue;else if(I!==1&&!J[U-1][I-1].length)continue;else{let Q=vh0(z[U-1],q);if(z[U-1]===Y[I-1]){let H=[...J[U-1][I-1],U-1];if(!J[U][I]||H.length>J[U][I].length)J[U][I]=H;if(I===Y.length)return J[U][I]}if(Y.length-I<=Jb1){if(Q.some((Z)=>{if(q.lastPrecision==="any")return Z.includes(Y.slice(I-1,Y.length));if(q.lastPrecision==="start")return Z.startsWith(Y.slice(I-1,Y.length));if(q.lastPrecision==="first")return Z[0]===Y.slice(I-1,Y.length);if(q.lastPrecision==="every")return Z===Y.slice(I-1,Y.length);return!1}))return[...J[U-1][I-1],U-1]}let K=q.precision;if(K==="start")Q.forEach((H)=>{let Z=I,V=[...J[U-1][I-1],U-1];while(Z<=Y.length&&H.startsWith(Y.slice(I-1,Z))){if(!J[U][Z]||V.length>J[U][Z].length)J[U][Z]=V;Z++}});if(K==="first"){if(Q.some((H)=>H[0]===Y[I-1])){let H=[...J[U-1][I-1],U-1];if(!J[U][I]||H.length>J[U][I].length)J[U][I]=H}}let G=Q.find((H)=>H===Y.slice(I-1,I-1+H.length));if(G){let H=[...J[U-1][I-1],U-1],Z=I-1+G.length;if(!J[U][Z]||H.length>J[U][Z].length)J[U][Z]=H}}}return null};function Hb1($,Y){if(!Y)return null;let q=[],z=0,J=L$($),U=0;for(let I=0;I<Y.length;I++){let Q=Y[I];while(U<=Q){if(J[U].length===2)z++;U++}let K=Q+z;if(J[Q].length===2)q.push(K-1,K);else q.push(K)}return q}function hh0($,Y){let q=$.length,z=Y.length;if(q===0)return z;if(z===0)return q;let J=Array.from({length:z+1},(I,Q)=>Q),U=Array(z+1).fill(0);for(let I=1;I<=q;I+=1){U[0]=I;for(let K=1;K<=z;K+=1)if($[I-1]===Y[K-1])U[K]=J[K-1]??0;else{let G=J[K-1]??0,H=U[K-1]??0,Z=J[K]??0;U[K]=Math.min(G,H,Z)+1}let Q=J;J=U,U=Q}return J[z]??0}function gh0($,Y){if(!$||!Y)return 999;if(Y.includes($))return 0;let q=$.length;if(Y.length<q-2)return hh0($,Y);let z=999,J=Math.max(1,q-2),U=Math.min(Y.length,q+2);for(let I=J;I<=U;I+=1)for(let Q=0;Q<=Y.length-I;Q+=1){let K=Y.slice(Q,Q+I),G=hh0($,K);if(G<z)z=G;if(z===0)return 0}return z}function Sh0($){if(!$)return"";return tP($,{toneType:"none",type:"array"}).map((q)=>q.toLowerCase().replace(/zh/g,"z").replace(/ch/g,"c").replace(/sh/g,"s").replace(/iang/g,"ian").replace(/uang/g,"uan").replace(/ang/g,"an").replace(/eng/g,"en").replace(/ing/g,"in")).join("")}function yh0($,Y){if(!$||!Y)return!1;let q=0;for(let z=0;z<Y.length&&q<$.length;z+=1)if($[q]===Y[z])q+=1;return q===$.length}function Zb1($,Y,q={}){let z=$.trim().toLowerCase(),J=Y.trim().toLowerCase();if(!z||!J)return{matched:!1,score:0,reason:"none"};if(J===z)return{matched:!0,score:1,reason:"exact"};if(J.includes(z))return{matched:!0,score:0.95,reason:"substring"};if(q.strict)return{matched:!1,score:0,reason:"none"};let U=/[\u4e00-\u9fa5]/.test(J),I=/[\u4e00-\u9fa5]/.test(z);if(U&&z.length>=2){if(tP(J,{pattern:"first",toneType:"none",type:"array"}).join("").toLowerCase().includes(z))return{matched:!0,score:0.9,reason:"initials"}}if(U)try{let Z=Ad(J,z,{precision:"start"});if(Z&&Z.length>0)return{matched:!0,score:0.88,reason:"pinyin"}}catch{}let Q="",K="";if(U||I){if(Q=Sh0(J),K=Sh0(z),K.length>=2&&Q.includes(K))return{matched:!0,score:0.85,reason:"fuzzy_pinyin"}}let G=z.length<=2?0:z.length<=5?1:2,H=q.maxDistance??G;if(H>0){let Z=gh0(z,J);if(Z<=H)return{matched:!0,score:Math.max(0.6,0.8-Z*0.1),reason:"levenshtein"};if((U||I)&&K.length>=3&&Q.length>=3){let V=gh0(K,Q);if(V<=H)return{matched:!0,score:Math.max(0.6,0.78-V*0.1),reason:"levenshtein"}}}if(z.length>=3){if(yh0(z,J)||(U||I)&&yh0(K,Q))return{matched:!0,score:0.65,reason:"subsequence"}}return{matched:!1,score:0,reason:"none"}}function Wb1($,Y,q={}){let z=[{text:$.name,weight:1.2},{text:$.id,weight:1.1},{text:$.source.staffId,weight:1},{text:$.source.domain,weight:1},{text:$.source.corpId,weight:1},{text:$.seal.tenantSlug,weight:1},{text:$.source.tenantSlug,weight:1},{text:$.source.tenantName,weight:1.1},{text:$.testCorpId,weight:1},{text:$.prodCorpId,weight:1},{text:$.environment??"production",weight:0.8},{text:$.source.type,weight:0.8},{text:$.source.provider,weight:0.8}],J=0,U="none";for(let I of z){if(!I.text)continue;let Q=Zb1(Y,I.text,q);if(Q.matched){let K=Q.score*I.weight;if(K>J)J=K,U=Q.reason}}return{matched:J>0,score:J,reason:U}}function xh0($,Y,q={}){let z=Y.trim();if(!z)return $;let J=[];for(let U of $){let I=Wb1(U,z,q);if(I.matched)J.push({corp:U,score:I.score})}return J.sort((U,I)=>I.score-U.score),J.map((U)=>U.corp)}pi();ki();I6();I6();import{existsSync as Xb1,mkdirSync as Vb1,readFileSync as Lb1,writeFileSync as kh0}from"node:fs";import{homedir as wb1}from"node:os";import{join as aP}from"node:path";function uh0(){let $=process.env.SEAL_USE_MAPPINGS_DIR?.trim();if($)return $;return aP(wb1(),".config","seal-use","mappings")}function fh0($){let Y=uh0();Vb1(Y,{recursive:!0,mode:448});let q=aP(Y,`${$.target.id}-v${$.target.publishedVersionNumber}.json`),z=aP(Y,`${$.target.id}-latest.json`),J=JSON.stringify($,null,2);return kh0(q,J,{encoding:"utf-8",mode:384}),kh0(z,J,{encoding:"utf-8",mode:384}),q}function bh0($,Y){let q=uh0(),z;if(!Y||Y==="latest")z=`${$}-latest.json`;else{let U=String(Y).replace(/^v/i,"");z=`${$}-v${U}.json`}let J=aP(q,z);if(!Xb1(J))return null;try{let U=Lb1(J,"utf-8");return JSON.parse(U)}catch{return null}}function ih0($,Y){if(!Y)return $;let q=Y.trim().toLowerCase();return $.filter((z)=>{return String(z.sourceRuleCode).toLowerCase()===q||String(z.targetRuleCode).toLowerCase()===q||z.sourceRuleId.toLowerCase()===q||z.targetRuleId.toLowerCase()===q||`#${z.sourceRuleCode}`.toLowerCase()===q||`#${z.targetRuleCode}`.toLowerCase()===q})}function nh0($,Y,q){let z=0,J=Y!==void 0?new RegExp(`\\[Prod v${Y}\\s*·\\s*#(\\d+)(?:[^\\]]*)\\]`):/\[Prod draft\s*·\s*#(\d+)(?:[^\]]*)\]/;for(let I of q){if(!I.versionName)continue;let Q=I.versionName.match(J);if(Q&&Q[1]){let K=parseInt(Q[1],10);if(!isNaN(K)&&K>z)z=K}}if(z>0)return z+1;if(!q.some((I)=>I.versionName&&/\[Prod v\d+/.test(I.versionName))){let I=q.filter((Q)=>Q.versionName&&Q.versionName.includes(`Sync from ${$}`)).length;if(I>0)return I+1}return 1}function ch0($,Y,q,z){let J=Y!==void 0?`Prod v${Y}`:"Prod draft",U=z!==void 0?` -> Test v${z}`:"";return`Sync from ${$} [${J} · #${q}${U}]`}DZ();b8();Dv();I6();async function jI($){let[Y,q]=await Promise.all([p10($),Z1($)]),z=await z8(q);return{...Y,tenantId:z.tenant.id,tenantSlug:z.tenant.tenantSlug??Y.tenantSlug,tenantName:z.tenant.name,raw:{...typeof Y.raw==="object"&&Y.raw!==null?Y.raw:{},user:{id:z.user.id,name:z.user.name,isAdmin:z.user.isAdmin,providerUserId:z.user.providerUserId,hosecloudStaff:z.user.hosecloudStaff},tenant:z.tenant}}}p4();V$();R4();o1();function Bd($){if(!$)return;if($.length<=8)return"****";return`${$.slice(0,4)}...${$.slice(-4)}`}function Ob1($){if($.source.type==="hose")return d3($,$.source);return $.seal.url??$.source.sealUrl}function Mb1($){if($.type==="hose"){let Y=$.appKey??$.key;return{type:"hose",provider:"hosecloud",domain:$.domain,corpId:$.corpId,staffId:$.staffId,appKey:Bd(Y),hasAppSecurity:Boolean($.appSecurity??$.password),sealUrl:$.sealUrl}}if($.type==="seal")return{type:"seal",provider:$.provider??"seal",tenantId:$.tenantId,tenantSlug:$.tenantSlug,tenantName:$.tenantName,providerUserId:$.providerUserId,staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:Bd($.token),expiresIn:$.expiresIn};return{type:"direct",provider:"direct",staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:Bd($.token),expiresIn:$.expiresIn}}async function oh0($,Y,q){if(!$||$==="list"||$==="search"||$==="find"){let z=(Y??T(q.options.query)??T(q.options.q))?.trim(),J=J0(q.options.strict)===!0,U=(T(q.options.env)??T(q.options.environment))?.trim().toLowerCase();if(($==="search"||$==="find")&&!z&&!U)throw i4("Usage: seal-use corps search <query> [--env <production|test>] [--strict]");let I=T(q.options.corp),Q=r8(),K=T4(),G=I??(K.stateful?K.defaultCorpId??Q[0]?.id:void 0),H=Q;if(U)H=H.filter((P)=>(P.environment??"production").toLowerCase()===U);if(z)H=xh0(H,z,{strict:J});if(Q.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");else if(J&&H.length===0&&($==="search"||$==="find")&&z)console.error(`提示:未在严格模式下匹配到企业 "${z}"。可以尝试省略 --strict 进行智能软搜索。`);let Z=vA0(H,G),V=!$||$==="list",X=J0(q.options.all)===!0,L=g0(q.options.limit),F=L!==void 0?Math.max(1,L):V&&!X?10:void 0,O=Z;if(F!==void 0&&Z.length>F){if(O=Z.slice(0,F),V&&!X&&L===void 0)console.error(`ℹ️ 当前共有 ${Z.length} 家企业,已按最近 7 天使用频次展示前 ${F} 家。
`+`\uD83D\uDC49 查看全部请添加: seal-use corps list --all
`+"\uD83D\uDC49 检索指定企业请使用: seal-use corps search <keyword>")}E0(O.map((P)=>({id:P.id,name:P.name,environment:P.environment??"production",sourceType:P.source.type,provider:P.source.provider??P.source.type,staffId:P.source.staffId,testCorpId:P.testCorpId,prodCorpId:P.prodCorpId,current:P.id===G})));return}if($==="get"||$==="show"){let z=Y??T(q.options.corp);if(!z)throw i4("Usage: seal-use corps get <corpId>");let J=W1(z),U=bi(J.id),I=Ob1(J);E0({id:J.id,name:J.name,environment:J.environment??"production",configFile:U,seal:{url:I,tenantSlug:J.seal.tenantSlug??J.source.tenantSlug,customHeaderNames:J.seal.headers?Object.keys(J.seal.headers):[],customCookieNames:J.seal.cookies?Object.keys(J.seal.cookies):[],endpoints:J.seal.endpoints},source:Mb1(J.source),relations:{testCorpId:J.testCorpId,prodCorpId:J.prodCorpId},auth:{refreshTtl:J.auth.refreshTtl}});return}if($==="current"){let z=W1(T(q.options.corp));E0({id:z.id,name:z.name,environment:z.environment??"production",sourceType:z.source.type,provider:z.source.provider??z.source.type,staffId:z.source.staffId,testCorpId:z.testCorpId,prodCorpId:z.prodCorpId});return}if($==="mark"||$==="mark-test"||$==="mark-prod"){let z=Y??T(q.options.corp);if(!z)throw i4("Usage: seal-use corps mark <corpId> --env <production|test> [--confirm]");let J=W1(z),U=$==="mark-test"?"test":$==="mark-prod"?"production":T(q.options.env)??T(q.options.environment);if(U!=="production"&&U!=="test")throw i4("Usage: seal-use corps mark <corpId> --env <production|test> [--confirm]");if(!(J0(q.options.confirm)===!0||J0(q.options.yes)===!0))throw K9(`Refusing to change environment tag of enterprise '${J.name}' (${J.id}) to '${U}' without --confirm. Marking alters synchronization safety guards.`,`seal-use corps mark ${J.id} --env ${U} --confirm`);let Q=e7(J.id,{environment:U});E0({id:Q.id,name:Q.name,environment:Q.environment,testCorpId:Q.testCorpId,prodCorpId:Q.prodCorpId});return}if($==="bind-test"){let z,J;if(Y&&q.command[3])z=Y,J=q.command[3];else if(Y){let Z=T(q.options.corp),V=T(q.options["test-corp"])??T(q.options.testCorp);if(Z)z=Z,J=Y;else if(V)z=Y,J=V}if(!z||!J)throw i4(`Usage: seal-use corps bind-test <prodCorpId> <testCorpId> [--confirm] [--force]
or: seal-use corps bind-test <testCorpId> --corp <prodCorpId> [--confirm] [--force]`);let U=W1(z),I=W1(J);if(U.id===I.id)throw i4(`Cannot bind enterprise '${U.id}' to itself.`);if(U.prodCorpId&&U.prodCorpId!==I.id)throw i4(`Cannot use '${U.id}' as a production enterprise because it is already registered as a test enterprise for '${U.prodCorpId}'. Multi-tier chaining is not permitted.`);if(I.testCorpId&&I.testCorpId!==U.id)throw i4(`Cannot bind '${I.id}' as a test enterprise because it already has a bound test enterprise '${I.testCorpId}'. Multi-tier chaining is not permitted.`);let Q=J0(q.options.force)===!0;if(U.testCorpId&&U.testCorpId!==I.id||I.prodCorpId&&I.prodCorpId!==U.id){if(!Q)throw K9(`Enterprise binding conflict: production enterprise '${U.id}' is bound to '${U.testCorpId??"none"}', and test enterprise '${I.id}' is bound to '${I.prodCorpId??"none"}'. Overwriting an existing binding requires --force and --confirm.`,`seal-use corps bind-test ${U.id} ${I.id} --confirm --force`)}if(!(J0(q.options.confirm)===!0||J0(q.options.yes)===!0)){let Z=Q?" --force":"";throw K9(`Refusing to bind test enterprise '${I.name}' (${I.id}) to production enterprise '${U.name}' (${U.id}) without --confirm. Enterprise binding establishes 1-to-1 sync pairing and marks '${I.id}' as a test environment.`,`seal-use corps bind-test ${U.id} ${I.id} --confirm${Z}`)}if(U.testCorpId&&U.testCorpId!==I.id)try{e7(U.testCorpId,{prodCorpId:void 0})}catch{}if(I.prodCorpId&&I.prodCorpId!==U.id)try{e7(I.prodCorpId,{testCorpId:void 0})}catch{}let G=e7(U.id,{environment:"production",testCorpId:I.id}),H=e7(I.id,{environment:"test",prodCorpId:U.id});E0({success:!0,productionEnterprise:{id:G.id,name:G.name,environment:G.environment,testCorpId:G.testCorpId},testEnterprise:{id:H.id,name:H.name,environment:H.environment,prodCorpId:H.prodCorpId}});return}if($==="unbind-test"){let z=Y??T(q.options.corp),J=W1(z);if(!J.testCorpId&&!J.prodCorpId){E0({unbound:!1,message:`Enterprise '${J.name}' (${J.id}) does not have an active test enterprise binding.`});return}let U=J.testCorpId?J.id:J.prodCorpId,I=J.testCorpId?J.testCorpId:J.id;if(!(J0(q.options.confirm)===!0||J0(q.options.yes)===!0))throw K9(`Refusing to unbind production enterprise '${U}' and test enterprise '${I}' without --confirm.`,`seal-use corps unbind-test ${J.id} --confirm`);e7(U,{testCorpId:void 0});try{e7(I,{prodCorpId:void 0})}catch{}E0({success:!0,unboundProduction:U,unboundTest:I});return}if($==="sync-test"){let z=Y??T(q.options.corp),J=W1(z);if(!J.testCorpId)throw i4(`Production enterprise '${J.name}' (${J.id}) has no bound test enterprise.
Run 'seal-use corps bind-test ${J.id} <testCorpId> --confirm' first to establish a verified 1-to-1 association.`);let U=W1(J.testCorpId);if(U.environment!=="test")throw Error(`Target enterprise '${U.name}' (${U.id}) is marked as '${U.environment}', NOT 'test'. Aborting sync to protect non-test environments.`);let I=await Z1(J),Q=await Z1(U),[K,G,H,Z,V,X,L,w]=await Promise.all([x1(I,J.seal.endpoints.approvalStylePreferences).catch(()=>({})),x1(Q,U.seal.endpoints.approvalStylePreferences).catch(()=>({})),b6(I),b6(Q),B$(I).catch(()=>[]),B$(Q).catch(()=>[]),m3(I,{limit:100}).catch(()=>({articles:[]})),m3(Q,{limit:100}).catch(()=>({articles:[]}))]),F=(L.articles||[]).filter((K0)=>!K0.isDeleted),O=(w.articles||[]).filter((K0)=>!K0.isDeleted),P=new Map(O.map((K0)=>[K0.title.trim(),K0])),B=[],A=[],E=new Set(F.map((K0)=>K0.title.trim()));for(let K0 of F){let v0=K0.title.trim(),f0=P.get(v0);if(!f0)B.push(K0);else{let c0=f0.content!==K0.content,C1=(f0.purpose??"")!==(K0.purpose??""),a0=f0.enabled!==K0.enabled,r1=f0.contentType!==K0.contentType,F1=(f0.status??"")!==(K0.status??""),b1=JSON.stringify([...f0.scenarios??[]].sort())!==JSON.stringify([...K0.scenarios??[]].sort()),$1=JSON.stringify([...f0.tags??[]].sort())!==JSON.stringify([...K0.tags??[]].sort());if(c0||C1||a0||r1||F1||b1||$1)A.push({testId:f0.id,prodDoc:K0,reasons:[...c0?["content"]:[],...C1?["purpose"]:[],...a0?["enabled"]:[],...r1?["contentType"]:[],...F1?["status"]:[],...b1?["scenarios"]:[],...$1?["tags"]:[]]})}}let y=O.filter((K0)=>!E.has(K0.title.trim())),k=[...V].sort((K0,v0)=>v0.versionNumber-K0.versionNumber)[0],C=k?.versionNumber,n=([...X].sort((K0,v0)=>v0.versionNumber-K0.versionNumber)[0]?.versionNumber??0)+1,g=nh0(J.name,C,X),i=T(q.options["version-name"])??T(q.options.versionName)??ch0(J.name,C,g,n),$0={...G,tone:K.tone,language:K.language,detailLevel:K.detailLevel,outputFormat:K.outputFormat,examples:K.examples??[],prohibitedPhrases:K.prohibitedPhrases??[],customInstructions:K.customInstructions,decisionPreferences:K.decisionPreferences,thinkingDepthPreference:K.thinkingDepthPreference};if(J0(q.options["dry-run"])===!0||J0(q.options.dryRun)===!0){E0({dryRun:!0,source:{id:J.id,name:J.name,environment:J.environment,latestPublishedVersion:k?{versionNumber:k.versionNumber,versionName:k.versionName}:null,documentsCount:F.length},target:{id:U.id,name:U.name,environment:U.environment},versionMappingPlan:{sourceProdVersionNumber:C??null,sourceProdVersionName:k?.versionName??null,targetTestExpectedVersionNumber:n,targetTestPublishVersionName:i,iteration:g},preferencesDiff:{decisionPreferences:{before:G.decisionPreferences,after:K.decisionPreferences},thinkingDepthPreference:{before:G.thinkingDepthPreference,after:K.thinkingDepthPreference}},rulesPlan:{sourceDraftRuleCount:H.rules.length,targetExistingDraftRuleCount:Z.rules.length,toDeleteCount:Z.rules.length,toCreateCount:H.rules.length,rulesToSync:H.rules.map((K0,v0)=>({index:v0+1,sourceRuleId:K0.id,sourceRuleCode:K0.code??v0+1,expectedTargetCode:`rule-${v0+1}`,description:K0.description,scope:K0.scope,strictness:K0.strictness}))},documentsPlan:{sourceDocumentCount:F.length,targetExistingDocumentCount:O.length,toCreateCount:B.length,toCreate:B.map((K0)=>({title:K0.title,purpose:K0.purpose,contentType:K0.contentType,scenarios:K0.scenarios})),toUpdateCount:A.length,toUpdate:A.map((K0)=>({targetDocumentId:K0.testId,title:K0.prodDoc.title,reasons:K0.reasons})),toDeleteCount:y.length,toDelete:y.map((K0)=>({targetDocumentId:K0.id,title:K0.title}))},publishingPlan:{targetCorpId:U.id,publishVersionName:i,publishTarget:"test"},hosecloudSyncPlan:(()=>{if(J.source.type!=="hose")return{sourceType:J.source.type,skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let K0=(K.integrations??[]).filter((c0)=>c0.type==="hosecloud"),v0=new Set,f0=K0.filter((c0)=>{let C1=c0.corporationId??J.id;if(v0.has(C1))return!1;return v0.add(C1),!0});return{sourceType:"hose",outboundName:rh0(J.name),targetMode:"assisted",integrationsCount:f0.length,integrations:f0.map((c0)=>({corporationId:c0.corporationId,apiOrigin:c0.apiOrigin,customApiUrl:c0.customApiUrl}))}})(),productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if(!(J0(q.options.yes)===!0||J0(q.options.confirm)===!0))throw K9(`Refusing to overwrite test enterprise '${U.name}' (${U.id}) with preferences, ${H.rules.length} draft rules, and ${F.length} knowledge documents from production enterprise '${J.name}' (${J.id}) without --yes. This will replace test draft rules, synchronize knowledge documents, and publish a new version on the test enterprise.`,`seal-use corps sync-test ${J.id} --yes`);await g5(Q,$0,U.seal.endpoints.approvalStylePreferences);let p=[];for(let K0 of y)await iL(Q,K0.id),p.push({id:K0.id,title:K0.title});let d=[];for(let K0 of A)await bL(Q,K0.testId,{title:K0.prodDoc.title,purpose:K0.prodDoc.purpose,content:K0.prodDoc.content,contentType:K0.prodDoc.contentType,status:K0.prodDoc.status,enabled:K0.prodDoc.enabled,scenarios:K0.prodDoc.scenarios&&K0.prodDoc.scenarios.length>0?K0.prodDoc.scenarios:["audit"],tags:K0.prodDoc.tags}),d.push({id:K0.testId,title:K0.prodDoc.title,reasons:K0.reasons});let q0=[];for(let K0 of B){let v0=await fL(Q,{title:K0.title,purpose:K0.purpose,content:K0.content,contentType:K0.contentType,status:K0.status,enabled:K0.enabled,scenarios:K0.scenarios&&K0.scenarios.length>0?K0.scenarios:["audit"],tags:K0.tags});q0.push({id:v0.id,title:v0.title})}for(let K0 of Z.rules)await uz(Q,K0.id);let t=[];for(let K0 of H.rules){let v0=await PK(Q,{description:K0.description,scope:K0.scope,strictness:K0.strictness});t.push(v0)}await uL(Q).catch(()=>{return});let H0=await BK(Q,i),L0=H0.version.rules??[],T0=H.rules.map((K0,v0)=>{let f0=t[v0],c0=L0[v0];return{index:v0+1,sourceRuleId:K0.id,sourceRuleCode:K0.code??v0+1,targetRuleId:f0?.id??"",targetRuleCode:c0?.code??`rule-${v0+1}`,description:K0.description,scope:K0.scope,strictness:K0.strictness}}),C0={sourceProdVersionNumber:C??null,sourceProdVersionName:k?.versionName??null,targetTestVersionNumber:H0.version.versionNumber,targetTestVersionName:H0.version.versionName??null},j0;try{j0=fh0({syncedAt:new Date().toISOString(),source:{id:J.id,name:J.name,latestPublishedVersionNumber:C??null,latestPublishedVersionName:k?.versionName??null},target:{id:U.id,name:U.name,publishedVersionNumber:H0.version.versionNumber,publishedVersionName:H0.version.versionName,rulesCount:H0.rulesCount},versionMapping:C0,ruleMapping:T0})}catch{}let i0=await Nb1(J,U,I,Q).catch((K0)=>({skipped:!0,reason:`error: ${K0?.message??String(K0)}`}));E0({success:!0,syncedAt:new Date().toISOString(),source:{id:J.id,name:J.name,environment:J.environment,latestPublishedVersion:k?{versionNumber:k.versionNumber,versionName:k.versionName}:null,draftRulesCount:H.rules.length,documentsCount:F.length},target:{id:U.id,name:U.name,environment:U.environment,deletedDraftRulesCount:Z.rules.length,createdDraftRulesCount:t.length,publishedVersion:{id:H0.version.id,versionNumber:H0.version.versionNumber,versionName:H0.version.versionName,rulesCount:H0.rulesCount}},documents:{sourceCount:F.length,targetExistingCount:O.length,createdCount:q0.length,created:q0,updatedCount:d.length,updated:d,deletedCount:p.length,deleted:p},versionMapping:C0,ruleMapping:T0,...j0?{mappingSavedTo:j0}:{},hosecloudSync:i0,productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if($==="replay-test"){let z=Y??T(q.options.corp)??T(q.options.prodCorp)??T(q.options["prod-corp"]),J=W1(z),U=J0(q.options.force)===!0,I;if(!J.testCorpId){if(!U)throw i4(`Production enterprise '${J.name}' (${J.id}) has no bound test enterprise.
Run 'seal-use corps bind-test ${J.id} <testCorpId> --confirm' first to establish a verified 1-to-1 association,
or add '--force' (or use 'seal-use webhook replay <recordId> --force') if you explicitly intend to replay directly within production.`);I=J}else if(I=W1(J.testCorpId),I.environment!=="test"&&!U)throw Error(`Target enterprise '${I.name}' (${I.id}) is marked as '${I.environment}', NOT 'test'. Aborting replay to protect non-test environments (use --force to override).`);let Q=T(q.options.recordId)??T(q.options["record-id"])??T(q.options.id),K=T(q.options.recordIds)??T(q.options["record-ids"]),G=K?K.split(",").map((n)=>n.trim()).filter(Boolean):void 0,H=T(q.options.sn)??T(q.options.documentSn)??T(q.options["document-sn"]),Z=T(q.options.sns)??T(q.options["document-sns"]),V=Z?Z.split(",").map((n)=>n.trim()).filter(Boolean):void 0,X=g0(q.options.limit)??(!Q&&!G&&!H&&!V?1:void 0),L=T(q.options.status),w=T(q.options.startDate)??T(q.options["start-date"]),F=T(q.options.endDate)??T(q.options["end-date"]),O=await Z1(J),P=J.id===I.id?O:await Z1(I),B=T(q.options.webhook)??T(q.options.selector),A=T(q.options.snSuffix)??T(q.options["sn-suffix"]),E=T(q.options.snPrefix)??T(q.options["sn-prefix"]),y=T(q.options.docIdSuffix)??T(q.options["doc-id-suffix"]),v=T(q.options.docIdPrefix)??T(q.options["doc-id-prefix"]),k=J0(q.options.dryRun)??J0(q.options["dry-run"]),C={recordId:Q,recordIds:G,sn:H,sns:V,limit:X,status:L,startDate:w,endDate:F};console.error(`[corps-replay-test] 正式企业「${J.name}」(${J.id}) -> 测试企业「${I.name}」(${I.id})`);let c=await nU({query:C,sourceClient:O,targetClient:P,sourceCorp:J,targetCorp:I,webhookSelector:B,snPrefix:E,snSuffix:A,docIdPrefix:v,docIdSuffix:y,dryRun:k});if(k){console.error(`[corps-replay-test] 预览模式:已成功从 ${J.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(c,null,2));return}if(c.success)if(c.totalCount===1&&c.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${c.replayedDocument.documentSN}」至 ${I.name} (${c.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${c.successCount} 条单据(来自「${J.name}」)至「${I.name}」(${c.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${c.successCount} 条,失败 ${c.failureCount} 条)至「${I.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${I.id} --limit ${c.totalCount}`),console.log(JSON.stringify(c,null,2)),!c.success)process.exitCode=1;return}if($==="switch"){let z=Y;if(!z)throw Error("Usage: seal-use corps switch <corpId>");let J=T4();if(!J.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let U=W1(z);eY({...J,stateful:!0,defaultCorpId:U.id}),E0({current:!0,id:U.id,name:U.name});return}if($==="probe-hose"){await Db1(C8(q.json));return}if($==="hose-staffs"){await Pb1(C8(q.json));return}if($==="add-hose"){await Td(C8(q.json));return}if($==="add-seal"){await Ab1(C8(q.json));return}if($==="add-link"){let z=Y??T(q.options.link)??T(q.options.url);if(!z)throw Error("Usage: seal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--as-hose] [--overwrite]");if(J0(q.options["as-hose"])===!0||J0(q.options.hose)===!0){await Tb1(z,T(q.options.name),J0(q.options.overwrite)===!0,J0(q.options.force)===!0,{appKey:T(q.options["app-key"])??T(q.options.appKey),keyId:T(q.options["key-id"])??T(q.options.keyId)});return}await Bb1(z,T(q.options.name),J0(q.options.overwrite)===!0);return}if($==="extract-keys"||$==="extract-key"){let z=Y??T(q.options.link)??T(q.options.url);if(!z)throw Error("Usage: seal-use corps extract-keys <https://.../web/thirdparty.html?...> [--reveal] [--save] [--app-key <key>] [--key-id <id>] [--name <customName>] [--overwrite]");let J=J0(q.options.reveal)===!0||J0(q.options.r)===!0||J0(q.options.plain)===!0,U=J0(q.options.save)===!0||J0(q.options.add)===!0;await eP(z,{reveal:J,save:U,name:T(q.options.name),overwrite:J0(q.options.overwrite)===!0,force:J0(q.options.force)===!0,appKey:T(q.options["app-key"])??T(q.options.appKey),keyId:T(q.options["key-id"])??T(q.options.keyId)});return}if($==="keys"){let z=Y??T(q.options.link)??T(q.options.url)??T(q.options.corp),J=J0(q.options.reveal)===!0||J0(q.options.r)===!0||J0(q.options.plain)===!0;if(z&&(z.startsWith("http://")||z.startsWith("https://"))){let U=J0(q.options.save)===!0||J0(q.options.add)===!0;await eP(z,{reveal:J,save:U,name:T(q.options.name),overwrite:J0(q.options.overwrite)===!0,force:J0(q.options.force)===!0,appKey:T(q.options["app-key"])??T(q.options.appKey),keyId:T(q.options["key-id"])??T(q.options.keyId)});return}await Ed(z,{reveal:J});return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}function rh0($){return[...$].slice(0,6).join("")+"(Seal测)"}async function Nb1($,Y,q,z){if($.source.type!=="hose")return{skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let J=($.source.appKey??$.source.key)?.trim(),U=($.source.appSecurity??$.source.password)?.trim();if(!J||!U)return{skipped:!0,reason:"prod hose source missing appKey/appSecurity (or key/password)"};let[I,Q]=await Promise.all([x1(q,$.seal.endpoints.approvalStylePreferences).catch(()=>({})),x1(z,Y.seal.endpoints.approvalStylePreferences).catch(()=>({}))]),K=(I.integrations??[]).filter((P)=>P.type==="hosecloud");if(K.length===0)return{skipped:!0,reason:"prod Seal enterprise has no hosecloud integrations configured"};let G=new Set,H=[];for(let P of K){let B=P.corporationId??$.id;if(!G.has(B))G.add(B),H.push(P)}let Z=Q.integrations??[],V=new Map(Z.filter((P)=>P.type==="hosecloud").map((P)=>[P.corporationId,P])),X=rh0($.name),L=[],w=H.map((P)=>{let B=V.get(P.corporationId),A=B?.signKey??Fb1(6).toString("hex");return L.push({signKey:A,outboundName:X,corporationId:P.corporationId,action:B?"updated":"created"}),{type:"hosecloud",signKey:A,outboundName:X,mode:"assisted",apiKey:J,apiSecret:U,apiOrigin:P.apiOrigin,...P.customApiUrl?{customApiUrl:P.customApiUrl}:{},corporationId:P.corporationId}}),F=Z.filter((P)=>P.type!=="hosecloud"),O={...Q,integrations:[...F,...w]};return await g5(z,O,Y.seal.endpoints.approvalStylePreferences),{skipped:!1,synced:L}}async function Db1($){let Y=M3($,"appKey"),q=M3($,"appSecurity"),z=Y4($,"domain"),J=await Sz(Y,q,z),U=await _L(J.domain,J.openapiToken).catch(()=>[]),I=U.reduce((Q,K)=>Q+K.roleDefs.length,0);E0({domain:J.domain,corpId:J.corpId,name:J.corpName??J.corpId,roleCount:I,roleGroups:U.map((Q)=>({id:Q.id,name:Q.name,roleDefs:Q.roleDefs.map((K)=>({id:K.id,name:K.name,sourceType:K.sourceType}))}))})}async function Pb1($){let Y=M3($,"appKey"),q=M3($,"appSecurity"),z=Y4($,"domain"),J=Y4($,"role")??Y4($,"roleDefId")??"admin",U=await Sz(Y,q,z),I=await _L(U.domain,U.openapiToken),Q,K;for(let Z of I){for(let V of Z.roleDefs)if(V.id===J||V.id===`${U.corpId}:${J}`){Q=V.id,K=V.name;break}if(Q)break}if(!Q&&(J==="admin"||J==="主管理员"))for(let Z of I){for(let V of Z.roleDefs)if(V.id.endsWith(":admin")||V.name==="主管理员"){Q=V.id,K=V.name;break}if(Q)break}if(!Q)for(let Z of I){for(let V of Z.roleDefs)if(V.name.toLowerCase().includes(J.toLowerCase())){Q=V.id,K=V.name;break}if(Q)break}if(!Q)throw Error(`Role not found matching query: '${J}'. Run 'seal-use corps probe-hose' to view all available roles.`);let G=await Fv(U.domain,U.openapiToken,Q),H=await Ov(U.domain,U.openapiToken,G.staffs);E0({domain:U.domain,corpId:U.corpId,corpName:U.corpName??U.corpId,roleId:Q,roleName:K,count:H.length,staffs:H.map((Z)=>({id:Z.id,name:Z.name,cellphone:Z.cellphone,active:Z.active,authState:Z.authState,userId:Z.userId,email:Z.email}))})}async function Td($){let Y=Y4($,"name"),q=M3($,"appKey"),z=M3($,"appSecurity"),J=Y4($,"domain"),U=Y4($,"staffId")??Y4($,"proxyStaffBizId"),I=Y4($,"staffName"),Q=Y4($,"staffPhone"),K=Y4($,"role")??"admin",G=$.force===!0,H=G||$.verify===!1?!1:!0,Z=J,V=Y4($,"corpId")??Y4($,"corporationId"),X=Y,L;if(!Z||!V||!U){let y=await Sz(q,z,J);Z=y.domain,V=V??y.corpId,X=X??y.corpName,L=y.openapiToken}let w=U;if(!w&&L&&Z){let y=await _L(Z,L).catch(()=>[]),v;for(let k of y){for(let C of k.roleDefs)if(C.id.endsWith(`:${K}`)||C.name===K||C.id===K){v=C.id;break}if(v)break}if(!v)v=y.find((k)=>k.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((k)=>k.id.endsWith(":admin"))?.id;if(v){let k=await Fv(Z,L,v).catch(()=>({staffs:[]})),C=await Ov(Z,L,k.staffs).catch(()=>[]);if(I||Q){let c=C.filter((n)=>{if(I&&n.name!==I&&!n.name.includes(I))return!1;if(Q&&(!n.cellphone||!n.cellphone.includes(Q)))return!1;return!0});if(c.length===1&&c[0])w=c[0].id;else if(c.length>1)throw Error(`Multiple staff members matched '${I??Q}': ${c.map((n)=>`${n.name}(${n.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${I??Q}' under role ${v}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!G){let c=C.map((n)=>`${n.name} (${n.cellphone||"no-phone"}, id: ${n.id}, active: ${n.active})`).join(`
- `);throw Error(`Missing required parameter: staffId. Found ${C.length} candidate administrators:
- ${c}
Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an account (or pass force:true to bypass).`)}}}if(!w)if(!H&&U)w=U;else throw Error("Missing required parameter: staffId (or proxyStaffBizId). Run 'seal-use corps hose-staffs' to discover available administrators.");let F=Y4($,"id")??V,O=X??V,P=Y4($,"sealUrl")??`https://${V.toLowerCase()}.sealai.cc`,B={id:F,name:O,environment:"production",seal:{url:P,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"hose",domain:Z,appKey:q,appSecurity:z,corpId:V,staffId:w},auth:{refreshTtl:300}};if(H)AL(F),await jI(B);let A=fi();dh0(A,{recursive:!0,mode:448});let E=lh0(A,`${nP(F)}.json`);if(ph0(E)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${E}. Pass "overwrite": true to replace it.`);mh0(E,`${JSON.stringify(B,null,2)}
`,{mode:384}),E0({id:F,name:O,corpId:V,domain:Z,staffId:w,verified:H,path:E})}async function Ab1($){let Y=M3($,"token"),q=(Y4($,"sealUrl")??Y4($,"url")??"").replace(/\/+$/,"");if(!q)throw Error("Missing required JSON field: sealUrl");let z=Gd($,"expiresIn")??2592000,J=$.force===!0||$.verify===!1?!1:!0,U=sh0($),I=J?await Eb1(q,Y,w6(U)):void 0;ah0($,{token:Y,sealUrl:q,expiresIn:z,verify:J,remote:I,custom:U})}function sh0($){return{headers:Si.parse($.headers),cookies:yi.parse($.cookies)}}async function Bb1($,Y,q){let z=await BL($),J=N8(z.sealUrl,z.token),U=await z8(J),I={user:U.user,tenant:U.tenant};TL(z.corpId,I.tenant),ah0({id:z.corpId,corpId:z.corpId,name:Y,provider:"hosecloud",overwrite:q},{token:z.token,sealUrl:z.sealUrl,expiresIn:z.expiresIn,verify:!0,remote:I})}function th0($,Y,q,z){if($.length===0)throw Error(`[合思子域提权] 未能从协助链接中提取到合思企业 [${Y}] 的 OpenAPI 密钥凭据。
`+"\uD83D\uDCA1 说明:此能力专属于合思 (Hose) 子域,用于将临时会话提权为标准 OpenAPI 开发者接入。需要企业管理员已在合思开放平台创建应用并生成 appKey/appSecurity。");if(q.keyId||q.appKey){let J=$.find((U)=>q.keyId&&U.id===q.keyId||q.appKey&&U.appKey===q.appKey);if(!J){console.error(`
❌ 未找到指定的合思 OpenAPI 密钥 (${q.appKey??q.keyId})。`),console.error(`ℹ️ 该合思企业当前存在以下 ${$.length} 套候选密钥:`);for(let U of $){let I=U.active?"\uD83D\uDFE2 启用":"⚪ 停用";console.error(` • "${U.name||"未命名应用"}" (appKey: ${U.appKey}, keyId: ${U.id}, 状态: ${I})`)}throw new Z4("指定的合思密钥不存在,请从上述候选列表中选择正确的 appKey 或 keyId。",2,`${z} --app-key ${$[0].appKey}`)}return J}if($.length===1)return $[0];console.error(`
ℹ️ [合思子域提权] 合思企业 [${Y}] 存在多套 (${$.length} 套) OpenAPI 应用密钥凭据:`);for(let J=0;J<$.length;J++){let U=$[J],I=U.active?"\uD83D\uDFE2 启用":"⚪ 停用",Q=U.name||"未命名应用";console.error(` [${J+1}] "${Q}" (appKey: ${U.appKey}, keyId: ${U.id}, 状态: ${I})`)}throw console.error(`
\uD83D\uDC49 为确保权限提权绑定正确的业务应用,请显式指定要使用的密钥套件:`),console.error(` 在命令后追加 --app-key <key> 或 --key-id <id> 参数。
`),new Z4(`合思企业 [${Y}] 存在多套 OpenAPI 密钥,必须指定 --app-key 或 --key-id 明确选择要绑定的密钥。`,2,`${z} --app-key ${$[0].appKey}`)}async function Tb1($,Y,q,z=!1,J){console.error("ℹ️ [合思子域提权] 正在通过合思协助链接提取 OpenAPI 开发者密钥并提升企业权限等级...");let U=await Nv($),I=th0(U.keys,U.corpId,J??{},'seal-use corps add-link "<url>" --as-hose');console.error(`ℹ️ [合思子域提权] 已选定合思 OpenAPI 凭据 (appKey: ${I.appKey}, 应用: "${I.name||"未命名应用"}"),正在初始化为长期合思标准配置...`),await Td({domain:U.baseUrl,appKey:I.appKey,appSecurity:I.appSecurity,corpId:U.corpId,name:Y??U.corpName??U.corpId,staffId:U.staffId,overwrite:q,force:z})}async function eP($,Y){let q=await Nv($),z=Y.reveal===!0;if(Y.save){let J=th0(q.keys,q.corpId,{appKey:Y.appKey,keyId:Y.keyId},'seal-use corps extract-keys "<url>" --save');console.error(`ℹ️ [合思子域提权] 正在将选定的合思 OpenAPI 密钥 (appKey: ${J.appKey}, 应用: "${J.name||"未命名应用"}") 保存为标准合思企业配置...`),await Td({domain:q.baseUrl,appKey:J.appKey,appSecurity:J.appSecurity,corpId:q.corpId,name:Y.name??q.corpName??q.corpId,staffId:q.staffId,overwrite:Y.overwrite,force:Y.force});return}if(!z)console.error(`ℹ️ [合思子域提权] 成功提取合思 (Hose) OpenAPI 密钥。接入密码默认脱敏,附加 --reveal (或 -r) 可查看完整 appSecurity 明文;附加 --save 可将临时会话提权并持久化为标准合思企业。
`);else console.error(`⚠️ [合思子域提权] 正在以明文展示合思 (Hose) appSecurity 接入密码,请妥善保管敏感凭据。
`);E0({provider:"hose",capability:"privilege-elevation",corpId:q.corpId,corpName:q.corpName??q.corpId,baseUrl:q.baseUrl,staffId:q.staffId,keyCount:q.keys.length,keys:q.keys.map((J)=>({id:J.id,name:J.name||"-",appKey:J.appKey,appSecurity:z?J.appSecurity:Mv(J.appSecurity),active:J.active,createTime:J.createTime,updateTime:J.updateTime}))})}async function Ed($,Y){let q=W1($),z=Y.reveal===!0;if(q.source.type!=="hose")throw new Z4(`【合思子域专享能力】当前企业「${q.name}」(id: ${q.id}) 为原生 Seal (${q.source.type}) 租户,非合思 (Hose/合思云/易快报) 渠道企业。
`+"OpenAPI 密钥查询与提权能力专属于合思生态租户(用于从合思协助链接或合思凭据中提取开发者密钥提升权限等级),非合思渠道企业不支持此能力。",2);let J=q.source.appKey??q.source.key,U=q.source.appSecurity??q.source.password;if(!z)console.error(`\uD83D\uDCA1 [合思子域] 接入密码默认脱敏,附加 --reveal (或 -r) 可查看完整 appSecurity 明文。
`);else console.error(`⚠️ [合思子域] 正在以明文展示合思 appSecurity 接入密码,请妥善保管敏感凭据。
`);E0({provider:"hose",capability:"privilege-elevation",corpId:q.id,corpName:q.name,domain:q.source.domain,staffId:q.source.staffId,appKey:J??"-",appSecurity:U?z?U:Mv(U):"-",active:!0})}function ah0($,Y){let{token:q,sealUrl:z,expiresIn:J,verify:U,remote:I}=Y,Q=Y.custom??sh0($),K=I?.user,G=I?.tenant,H=Y4($,"tenantSlug")??W2(G?.tenantSlug),Z=Y4($,"tenantId")??W2(G?.id),V=Y4($,"tenantName")??W2(G?.name),X=Y4($,"id")??H??Z;if(!X)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let L=Y4($,"staffId")??W2(K?.providerUserId)??W2(K?.id)??"seal",w=Y4($,"provider")??W2(K?.provider)??W2(G?.providerConfig?.provider),F=Y4($,"corpId")??H??Z??X,O={id:X,name:Y4($,"name")??V??X,environment:"production",seal:{url:z,tenantSlug:H,headers:Q.headers,cookies:Q.cookies,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:q,sealUrl:z,expiresIn:J,staffId:L,corpId:F,tenantId:Z,tenantSlug:H,tenantName:V,providerUserId:W2(K?.providerUserId),provider:w},auth:{refreshTtl:300}},P=fi();dh0(P,{recursive:!0,mode:448});let B=lh0(P,`${nP(X)}.json`);if(ph0(B)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${B}. Pass "overwrite": true to replace it.`);mh0(B,`${JSON.stringify(O,null,2)}
`,{mode:384}),E0({id:X,name:O.name,tenantId:Z,tenantSlug:H,verified:U,path:B})}async function Eb1($,Y,q={}){let z=N8($,Y,q),J=await z8(z);return{user:J.user??{},tenant:J.tenant??{}}}function W2($){return typeof $==="string"&&$?$:void 0}async function $g0($,Y){let q=$??T(Y.options.link)??T(Y.options.url);if(!q)throw Error("Usage: seal-use auth extract-keys <https://.../web/thirdparty.html?...> [--reveal] [--save] [--name <customName>] [--overwrite]");let z=J0(Y.options.reveal)===!0||J0(Y.options.r)===!0||J0(Y.options.plain)===!0,J=J0(Y.options.save)===!0||J0(Y.options.add)===!0;await eP(q,{reveal:z,save:J,name:T(Y.options.name),overwrite:J0(Y.options.overwrite)===!0,force:J0(Y.options.force)===!0,appKey:T(Y.options["app-key"])??T(Y.options.appKey),keyId:T(Y.options["key-id"])??T(Y.options.keyId)})}async function Yg0($,Y,q){if($==="diagnose"){E0(await jb1(Y));return}if($==="hose-link"){let z=g0(q.options.expire)??7200;E0(await jL(Y,z));return}if($==="keys"){let z=J0(q.options.reveal)===!0||J0(q.options.r)===!0||J0(q.options.plain)===!0;await Ed(Y.id,{reveal:z});return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function jb1($){if($.source.type!=="hose"){let w=await Z1($),F=await z8(w);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:F.user,tenant:F.tenant}]}}AL($.id);let Y=$.source,q=Y.appKey??Y.key,z=Y.appSecurity??Y.password,J=($.seal.url??Y.sealUrl??`https://${Y.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),U=Y.staffId.includes(":")?Y.staffId:`${Y.corpId}:${Y.staffId}`,I=[];if(!q||!z)return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!1,stages:[{name:"hose.openapi",ok:!1,error:"Hose source requires appKey/key and appSecurity/password"}]};let Q=await $A("hose.openapi",async()=>{let w=await eh0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:q,appSecurity:z}),F=N3(w.value),O=h6(F.accessToken)??h6(w.accessToken)??h6(w.token);if(!O)throw Error("Hose login did not return an access token");return{token:O,public:{corporationId:h6(F.corporationId)??h6(N3(F.corporation).id),expireTime:HW(F.expireTime)}}});I.push(Q.public);let K=Q.private?.token,G=K?await $A("hose.provisional",async()=>{let w=await eh0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(K)}`,{uid:U,pageType:"home",expireDate:7200}),F=h6(N3(w.value).message);if(!F)throw Error("Hose CloseAPI did not return a provisional auth URL");let O=new URL(F).searchParams.get("accessToken");if(!O)throw Error("Hose provisional auth URL did not include accessToken");return{token:O,public:{uid:U,enterpriseUrl:UW(F)}}}):jd("hose.provisional");I.push(G.public);let H=w6($.seal),Z=G.private?.token,V=Z?await $A("seal.sso",async()=>{let F=await N8(J,void 0,H).get(`api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(Z)}&returnToken=1`).json(),O=N3(F.data),P=h6(F.token)??h6(F.accessToken)??h6(O.token)??h6(O.accessToken);if(!P)throw Error("Seal SSO did not return a bearer token");return{token:P,public:{sealUrl:J,expiresIn:HW(F.expiresIn)??HW(F.expires_in)??HW(O.expiresIn)??HW(O.expires_in)}}}):jd("seal.sso");I.push(V.public);let X=V.private?.token,L=X?await $A("seal.whoami",async()=>{let F=await N8(J,X,H).get("api/v1/auth/me").json(),O=N3(F.data),P=N3(O.user??F.user),B=N3(O.tenant??F.tenant);return{public:{user:{id:h6(P.id),name:h6(P.name),isAdmin:Rb1(P.isAdmin),providerUserId:h6(P.providerUserId)},tenant:{id:h6(B.id),name:h6(B.name),tenantSlug:h6(B.tenantSlug),hoseCorpConfig:Cb1(B.hoseCorpConfig)}}}}):jd("seal.whoami");return I.push(L.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:I.every((w)=>w.ok===!0),stages:I}}async function $A($,Y){try{let q=await Y();return{public:{name:$,ok:!0,...qg0(q.public)},private:q.token?{token:q.token}:void 0}}catch(q){return{public:{name:$,ok:!1,error:UW(q instanceof Error?q.message:String(q))}}}}function jd($){return{public:{name:$,ok:!1,skipped:!0}}}async function eh0($,Y){let q=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(Y)});return _b1(q)}async function _b1($){let Y=await $.text();if(!$.ok)throw Error(`${$.status} ${Y}`);let q=JSON.parse(Y);return N3(q)}function N3($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function h6($){return typeof $==="string"&&$?$:void 0}function HW($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Rb1($){return typeof $==="boolean"?$:void 0}function Cb1($){let Y=N3($);return qg0({corporationId:h6(Y.corporationId),corporationName:h6(Y.corporationName)})}function qg0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}p4();o1();async function zg0($,Y,q,z){if($==="status"||$==="get"){await A0("seal_billing_status_get",Y,q,{},F0(z.options));return}if($==="plans"){await A0("seal_billing_plans_list",Y,q,{},F0(z.options));return}if($==="features"){await A0("seal_billing_features_list",Y,q,{},F0(z.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}K3();p4();R4();o1();function Jg0($,Y,q){if($==="paths"){E0({candidates:Q3(),globalConfigFile:aY()});return}if($==="get"||$==="status"){E0(G2());return}if($==="mode"){let z=Y??T(q.options.mode);if(!z){E0(G2());return}let J=Hd(z),U=T(q.options.corp),I=T4(),Q=J?U?$2(r8(),{stateful:!0,corpId:U},Q3()).id:I.defaultCorpId:void 0,K=eY({...I,stateful:J,...Q?{defaultCorpId:Q}:{}});E0(G2(K));return}if($==="lint"){let z=Y??T(q.options.state)??T(q.options.enable),J=T4(),U=J.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!z||z==="status"||z==="get"){E0({lint:U,configFile:aY()});return}let I=U.enabled;if(z==="enable"||z==="on"||z==="true")I=!0;else if(z==="disable"||z==="off"||z==="false")I=!1;let Q=T(q.options.linter)??U.activeLinter,K=q.options.minScore!==void 0||q.options["min-score"]!==void 0?Number(q.options.minScore??q.options["min-score"]):U.minScore,G={enabled:I,activeLinter:Q,minScore:isNaN(K)?0:Math.max(0,Math.min(100,K))},H=eY({...J,lint:G});E0(G2(H));return}if($==="test-dir"||$==="test-enterprises-dir"){let z=q.options.clear===!0||Y==="--clear"||Y==="clear",J=T4();if(z){let Q=eY({...J,testEnterprisesDir:void 0});E0(G2(Q));return}let U=Y&&!Y.startsWith("-")?Y:T(q.options.path)??T(q.options.dir);if(!U){E0({testEnterprisesDir:J.testEnterprisesDir??null,configFile:aY()});return}let I=eY({...J,testEnterprisesDir:U});E0(G2(I));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}p4();o1();async function Ug0($,Y,q,z,J){if($==="sync-time"||$==="last-sync-time"){await A0("seal_contacts_last_sync_time_get",q,z,{},F0(J.options));return}if($==="departments"||$==="department"){if(!Y){await A0("seal_contacts_departments_root_list",q,z,{},F0(J.options));return}await A0("seal_contacts_department_get",q,z,{departmentId:Y},F0(J.options));return}if($==="children"||$==="department-children"){if(!Y)throw Error("Usage: seal-use contacts children <departmentId>");await A0("seal_contacts_department_children_list",q,z,{departmentId:Y},F0(J.options));return}if($==="users"||$==="department-users"){if(!Y)throw Error("Usage: seal-use contacts users <departmentId>");await A0("seal_contacts_department_users_list",q,z,{departmentId:Y},F0(J.options));return}throw Error(`Unknown contacts command: ${$??""}. Run 'seal-use help' for available commands.`)}p4();R4();o1();async function Ig0($,Y,q,z){let J={offset:g0(z.options.offset),limit:g0(z.options.limit),startDate:T(z.options.startDate)??T(z.options["start-date"]),endDate:T(z.options.endDate)??T(z.options["end-date"]),search:T(z.options.search)??T(z.options.query)};if($==="expenses"||$==="expense"){await A0("seal_expenses_list",Y,q,J,F0(z.options));return}if($==="invoices"||$==="invoice"){await A0("seal_invoices_list",Y,q,J,F0(z.options));return}throw Error(`Unknown data command: ${$??""}. Run 'seal-use help' for available commands.`)}p4();R4();o1();async function Qg0($,Y,q){await A0("seal_approval_context_get",$,Y,{documentLimit:g0(q.options.documentLimit),...Wd(T(q.options.ruleVersion))},F0(q.options))}j9();b8();I6();p4();R4();o1();async function Kg0($,Y){let q=await BL($),z=N8(q.sealUrl,q.token),J=await z8(z);TL(q.corpId,J.tenant);let U=await kz(z,{note:Y});E0({tenant:{id:J.tenant.id,name:J.tenant.name,tenantSlug:J.tenant.tenantSlug,corpId:q.corpId},user:{id:J.user.id,name:J.user.name,providerUserId:J.user.providerUserId,isAdmin:J.user.isAdmin},delegation:U,expiresIn:q.expiresIn})}async function Gg0($,Y,q,z,J){if($==="list"){await A0("seal_delegation_list",q,z,{},F0(J.options));return}if($==="create"){let U=T(J.options.note)??(Y?[Y,...J.command.slice(2)].join(" "):void 0);await A0("seal_delegation_create",q,z,{note:U},F0(J.options));return}if($==="revoke"){let U=Y??T(J.options.tokenId);if(!U)throw Error("Usage: seal-use delegation revoke <tokenId>");await A0("seal_delegation_revoke",q,z,{tokenId:U},F0(J.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}p4();R4();o1();I6();V$();import{readFileSync as vb1}from"node:fs";async function Hg0($,Y,q,z,J,U){if(!$||$==="help")throw Error(`Usage: seal-use deploy <system> <action> [options]
`+`支持的审批系统与发布目标:
`+` • hosecloud (合思费控): seal-use deploy hosecloud <requirements|list|get|status|configure|sync> --corp <corpId>
`+` • webhook (通用审批流回调): seal-use webhook <list|get|add|update|delete> --corp <corpId>
`+` • feishu (飞书审批): 建议使用 Webhook 模式对接
`+` • weaver (泛微 OA): 建议使用 Webhook 模式对接
`+` • helios (汇联易): 建议使用 Webhook 模式对接
`+" • maycur (每刻报销): 建议使用 Webhook 模式对接");if($==="webhook"||$==="webhooks")throw Error("Webhook 审批流发布请直接使用专有命令:seal-use webhook <list|get|add|update|delete> --corp <corpId>");if($==="feishu"||$==="lark")throw Error("飞书审批发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '飞书审批' --result-url <url> --corp <corpId>");if($==="weaver")throw Error("泛微 OA 发布:建议使用 Webhook 通用发布模式对接。命令:seal-use webhook add --name '泛微OA' --result-url <url> --corp <corpId>");if($==="maycur"||$==="helios"){let G=$==="maycur"?"每刻报销":"汇联易";throw Error(`${G}发布:目前可通过 Webhook 模式接入。命令:seal-use webhook add --name '${G}' --result-url <url> --corp <corpId>`)}let I=$==="hosecloud",Q=$==="hosecloud"?Y:$,K=$==="hosecloud"?q:Y;if(!I)throw Error(`未知的发布目标系统: ${$}。当前支持: hosecloud (合思费控) 与 webhook (通用回调)。`);if(Q==="requirements"){await A0("seal_deploy_hosecloud_requirements",z,J,{},F0(U.options));return}if(Q==="list"){await A0("seal_deploy_hosecloud_list",z,J,{},F0(U.options));return}if(Q==="get"){let G=K??T(U.options.signKey)??T(U.options["sign-key"]);if(!G){let Z=((await x1(z)).integrations??[]).filter((V)=>V.type==="hosecloud");if(Z.length===0)throw Error(`当前企业 (${J.name}) 尚未添加合思发布配置。
`+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${J.id}`);console.error(`Usage: seal-use deploy hosecloud get <sign-key> [--corp ${J.id}]
`),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let V of Z){let X=V.outboundName??"SealAI 审批",L=V.signKey,w=V.apiOrigin??"production";console.error(` • "${X}" (signKey: ${L}, 环境: ${w})`),console.error(` \uD83D\uDC49 查看命令: seal-use deploy hosecloud get ${L} --corp ${J.id}
`)}throw new Z4("缺少必需参数 <sign-key>。请从上述候选列表中选择并指定 signKey。",2,Z.length===1?`seal-use deploy hosecloud get ${Z[0].signKey} --corp ${J.id}`:void 0)}await A0("seal_deploy_hosecloud_get",z,J,{signKey:G},F0(U.options));return}if(Q==="status"){await A0("seal_deploy_hosecloud_status",z,J,{},F0(U.options));return}if(Q==="configure"){let G=T(U.options.input),H=G?JSON.parse(vb1(G,"utf8")):C8(U.json);if(!H||Object.keys(H).length===0)throw Error("Usage: seal-use deploy hosecloud configure --json '{...}' or --input <file>");await A0("seal_deploy_hosecloud_configure",z,J,{...H,dryRun:J0(U.options.dryRun)??J0(U.options["dry-run"])},F0(U.options));return}if(Q==="sync"){let G=K??T(U.options.signKey)??T(U.options["sign-key"]),H=J0(U.options.auto)??J0(U.options.yes);if(!G){let V=((await x1(z)).integrations??[]).filter((L)=>L.type==="hosecloud");if(V.length===0)throw Error(`当前企业 (${J.name}) 尚未添加合思发布配置。
`+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${J.id}`);let X=V[0];if(X&&V.length===1&&H){let L=X.signKey;console.error(`ℹ️ [auto] 检测到企业仅有 1 个合思配置,已自动选择 (signKey: ${L})`),await A0("seal_deploy_hosecloud_sync",z,J,{signKey:L},F0(U.options));return}console.error(`Usage: seal-use deploy hosecloud sync <sign-key> [--corp ${J.id}]
`),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let L of V){let w=L.outboundName??"SealAI 审批",F=L.signKey,O=L.apiOrigin??"production";console.error(` • "${w}" (signKey: ${F}, 环境: ${O})`),console.error(` \uD83D\uDC49 同步命令: seal-use deploy hosecloud sync ${F} --corp ${J.id}
`)}if(V.length===1)console.error(`\uD83D\uDCA1 提示:若希望单配置自动同步,可附加 --auto 参数:seal-use deploy hosecloud sync --auto --corp ${J.id}
`);throw new Z4("缺少必需参数 <sign-key>。请从上述候选列表中选择并指定 signKey 执行同步。",2,V.length===1?`seal-use deploy hosecloud sync ${V[0].signKey} --corp ${J.id}`:void 0)}await A0("seal_deploy_hosecloud_sync",z,J,{signKey:G},F0(U.options));return}throw Error(`Unknown deploy hosecloud action: ${Q??""}. Available: requirements, list, get, status, configure, sync.`)}$n();import{accessSync as mb1,constants as lb1,existsSync as X8,readdirSync as ob1}from"node:fs";import{homedir as rb1}from"node:os";import{join as D3}from"node:path";K3();import{existsSync as _d,mkdirSync as Pg0,rmSync as cb1,writeFileSync as pb1}from"node:fs";import{homedir as Ag0}from"node:os";import{dirname as db1,join as Rd}from"node:path";var Zg0=`---
name: seal-use
description: "v0.10.24: Use for Seal Use first-time enterprise onboarding, Hose/合思 or Seal-native authentication, assistance links and browser cURL intake, plus tenant approval operations, diagnosis, simulation, rules, users, configuration, and search."
metadata:
version: 0.10.24
short-description: Seal tenant and Hose approval automation (v0.10.24)
---
# Seal Use (v0.10.24)
Use the \`seal_cli\` MCP tool when it is available; pass the command string as its \`command\` argument. If MCP is unavailable, fall back to the global \`seal-use\` CLI. This skill is a routing layer for agents: keep this file short, choose the right command, and read a focused reference only when the task needs detail.
## Bootstrap & Installation (环境安装与自愈)
Agent 必须确保使用最新版本的 \`seal-use\` CLI、Skill 与 Agent 插件。在执行任何配置或业务任务前,优先核验版本状态:
\`\`\`bash
seal-use version
seal-use corps list
\`\`\`
如果 CLI 或 Skill 尚未安装或落后于发布版本,通过以下命令一键安装或升级:
\`\`\`bash
# 方式 1:CLI 自更新(已安装时推荐)
seal-use update
# 方式 2:国内高速一键安装与自愈(Gitea 镜像源,免代理、秒级完成)
curl -fsSL https://git.ying-qing.cn/gitea/seal-use/raw/branch/main/scripts/install.sh | bash
# 方式 3:Global / GitHub Direct
curl -fsSL https://raw.githubusercontent.com/yunyingk/seal-use/main/scripts/install.sh | bash
\`\`\`
安装或升级后,验证系统连通性:
\`\`\`bash
seal-use version
seal-use corps list
\`\`\`
## First Rules
- Treat CLI/MCP as the Agent's execution channel, not the user's interface. Translate natural-language intent into commands yourself; never ask the user to compose CLI syntax, JSON payloads, placeholder values, or internal IDs.
- Before asking for enterprise parameters, resolve the target enterprise: when an enterprise is named, hinted, or keyword-identifiable, ALWAYS run \`seal-use corps search <keyword>\` (or \`seal-use corps get <corpId>\` if an exact ID is known) — DO NOT dump the entire enterprise catalog with \`seal-use corps list\` when the target is already known. Only run \`seal-use corps list\` (or \`corps list --env <test|production>\`) for initial discovery when zero enterprise context is known. Resolve its human name to the returned \`id\` and pass that value as \`--corp\`; do not ask the user to know \`corpId\`. Use \`seal-use corps get <corpId>\` to inspect rich enterprise attributes (URLs, tenant slugs, staff IDs, environment relations, and config file locations) with sensitive secrets safely redacted.
- If no enterprise is configured, the user is installing for the first time, or the user provides credentials, an assistance link, or a browser-copied cURL, read \`references/enterprise-onboarding.md\` before asking questions or running setup commands.
- When the user provides a Hose/合思 \`thirdparty.html\` assistance link, use \`seal-use corps add-link <url> [--name ...]\` for temporary session access, or elevate privileges to permanent developer credentials using \`seal-use corps extract-keys <url> --save\` (or \`seal-use corps add-link <url> --as-hose\`). This Hose-exclusive capability extracts \`appKey\`/\`appSecurity\`. If the enterprise has multiple keys, specify \`--app-key <key>\` or \`--key-id <id>\`.
- Keep enterprise identity origin separate from credential acquisition. A Hose/合思-sourced Seal tenant can be accessed with standard Hose app credentials, an assistance link, or a captured web session; receiving a Seal Bearer token does not by itself prove the tenant is Seal-native. Calling key extraction or \`keys\` on native Seal enterprises is strictly blocked.
- Never ask a normal user for \`corpId\`, \`staffId\`, \`proxyStaffBizId\`, \`tenantId\`, or another discoverable internal ID. Discover it first. If discovery fails, explain what the field means, why it could not be discovered, and exactly where the user can find it.
- Prefer compact commands first: \`pick\`, \`--summary\`, \`--fields\`, \`attachments --summary\`, \`rules count\`, and \`rules list --summary\`.
- Parse JSON stdout. Do not scrape human text.
- Do not hand-edit enterprise configs for normal setup. Use \`seal-use corps ...\`.
- Before write operations on rules, documents, style preferences, or publishing, fetch current state and confirm the intended mutation with the user. For supported configuration writes, prefer the universal \`--dry-run\` preview first (rules clear/push, \`corps sync-test\`, preference updates, thinking-depth policies, HoseCloud configure, and Webhook add/update/delete), then use \`--yes\` only after reviewing its redacted \`changesDiff\`.
- Knowledge document creation and deletion are now supported. Validate \`contentType\` and \`scenarios\` before creating; use \`enabled: false\` when the document should be withdrawn without deletion. For an explicit deletion, re-read the document and obtain confirmation before using the low-level \`seal_approval_delete_document\` tool.
- For customer-feedback rule remediation, show an exact field-level diff and obtain explicit approval before updating. Default to changing only the narrowest necessary part of \`description\`; preserve \`scope\`, \`strictness\`, and unrelated clauses unless the user explicitly approves otherwise.
- Resolve and lock the target enterprise \`corpId\` before diagnosis or mutation. Never assume the current tenant is the customer tenant. Re-fetch the target rule immediately before updating, then verify the draft and newly published version after writing.
- For date questions, use explicit dates and \`--timezone Asia/Shanghai\`.
- If output may be large, use \`--summary\`, \`--fields\`, \`--count\`, or \`--output-file\`; use \`--full\` only when the user really needs full payloads.
- When returning ANY authorization, login, or delegation links (e.g. 合思授权链接, Seal授权链接/委托链接), ALWAYS provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) for easy copying without accidental default browser redirection, AND a clickable hyperlink.
- For delegation links, always prefer \`seal-use delegation create\` over \`users delegation\` for link generation to ensure persistent token tracking.
- Never treat “Seal 协助/Seal 授权/委托” as a 合思授权入口. They are different links and must use different commands.
- For approval run links (\`seal-use approval-runs url <recordId> [--corp <corpId>]\`):
- Always default to returning the clean deep link (\`type: 'deep_link'\`), which contains no credentials and requires no sensitive access. Users in their authorized browsers open it directly with zero token leakage risk.
- ONLY provide an SSO link (\`--sso\`) when the user explicitly requests an unauthenticated/cross-browser/no-login/免密 link and acknowledges risks.
- When returning an \`--sso\` link, the Agent MUST:
1. Declare the 4 mandatory security disclosures:
- 身份主体(Identity attribution: name and admin status)
- 权限范围(Full Seal AI operation permissions under this user)
- 时效性(2-hour provisional ticket TTL, 30-day session after opening)
- 安全与防扩散边界(No Hose main system access, strictly internal, never share to public/external groups)
2. Provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) and a clickable hyperlink.
- In the default stateless mode, every enterprise command requires \`--corp <corpId>\`. In stateful mode, omitting \`--corp\` uses the configured default enterprise and is unsafe for an explicitly named enterprise.
- For an explicitly named enterprise, resolve it directly with \`seal-use corps search <name>\` (or \`seal-use corps get <corpId>\` if given an exact ID) rather than dumping all enterprises with \`seal-use corps list\`. Then pass its exact \`corpId\` to every command. After creation, verify the returned URL host matches that enterprise's Seal tenant; if the host is the current/default tenant or cannot be verified, do not present the link as the target enterprise's link.
- 生产规则变更建议优先遵循“生产改草稿 -> 同步测试企业 -> 自动化回归测试矩阵/真实单据模拟验证 -> 生产发布投产”安全闭环;Agent 应主动提示并建议在测试环境中验证,但最终操作权与决策权在用户手中,绝不代替用户做决定。若用户明确要求直接在生产环境发布,尊重用户意图并严格执行。
- 在对企业执行高风险操作、批量审批或发布前,优先运行 \`seal-use doctor tenant --corp <corpId>\` 校验租户健康契约:验证身份管理权限、AI 审核扣费点数余量(\`balance\` 与 \`deductionAmount\`)、活跃规则与未发布草稿箱、Webhook 通道以及测试环境绑定。
- 在测试企业完成规则同步后,强烈推荐运行 \`seal-use test regression --corp <corpId> [--samples 10]\` 执行自动化回归测试矩阵:自动采样生产历史单据并在测试靶场重放对比决策,核验决策翻转率(Flips)与一致率,确保 \`safeToPublish: true\` 后再行投产。硬性红线:回归测试严禁直接在纯生产企业运行(必须下挂测试靶场),且测试环境点数余额必须充足。
- 单据 Webhook 重放安全与用户自主权策略:单据重放建议优先在绑定的测试企业中验证(CLI 与 MCP 默认拦截向生产环境重放以防污染真实审批流或产生实际外发回调)。Agent 应主动向用户解释风险并优先建议在测试环境模拟;但工具绝不反客为主,最终决策权在用户手中。若用户未绑定测试企业,或明确要求直接向生产环境重放,Agent 应向用户客观说明可能污染生产审批流或触发真实外部回调的风险;在确认用户明确意图后,通过追加 \`--force\`(或 MCP \`force: true\`)严格执行,绝不擅自拒绝用户要求。
- 测试环境合思模拟安全隔离:\`corps sync-test\` 自动将生产企业合思凭证以 \`assisted\` 模式注入测试企业,名称格式为 \`{企业名前缀}(Seal测)\`。该配置仅保存在测试 Seal 侧,绝对不执行 \`deploy hosecloud sync\`,杜绝向生产合思费控推送 EBot 节点或创建外发 webhook。
## Route By Intent
- 生产规则安全演进、搭配配置与测试模拟闭环: read \`references/staging-simulation-workflow.md\`. 适用于:用户提出规则变更需求/客诉修复、生产与测试企业搭配接入与 1 对 1 绑定、生产环境仅改草稿隔离风险、\`seal-use corps sync-test\` 一键同步测试环境(含合思集成免配同步)、测试靶场运行自动化规则回归测试矩阵(\`test regression\`)或真实单据模拟验证、验证通过后才在生产正式发布的完整安全生命周期。
- First install / zero configuration / “how do I connect my enterprise?” / user supplies app credentials, an assistance link, or F12/Network cURL: read \`references/enterprise-onboarding.md\`. Ask what material the user already has in plain language, then discover all remaining identifiers automatically.
- User-facing Seal tenant assistance link (Seal 协助/Seal 授权/委托): resolve the named enterprise first, then run \`seal-use delegation create --corp <corpId> --note '<enterprise>'\`; verify the returned hostname is that tenant's Seal hostname. Always provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) AND a hyperlink.
- Packaged customer feedback → approval-rule remediation: read \`references/customer-feedback-rule-remediation.md\`. Use this route for WeChat messages, screenshots, rejection notifications, document numbers, customer complaints, expected approval behavior, rule-only mitigation, exact diffs, or requests to update and publish a rule version.
- 自动化规则回归测试矩阵 (Automated Rule Regression Test Matrix): \`seal-use test regression [--corp <corpId>] [--samples <N>] [--dry-run] [--fail-on-flips] [--prod-corp <id>] [--test-corp <id>]\` (快捷别名 \`seal-use corps regression\`)。采样生产企业历史已完成单据,通过出站 HTTPS 轮询重放到配对测试靶场执行 AI 审核并对比双端决策,计算一致率(Concordance Rate),识别决策翻转(Decision Flips),给出 \`safeToPublish\` 综合判定。硬性红线:目标环境必须为测试企业且测试点数余额充足,严禁在纯生产环境发起。
- 模拟测试发布闭环: \`seal-use simulation create --mode hosecloud --flow-ids ... --no-wait --corp <corpId>\` (合思指定单号) 或 \`--mode material_pack --package-ids ... --schema-config file.json\` (材料包导入), 支持多源系统 \`--source-system <hosecloud|feishu|weaver|helios|maycur|material_pack>\`, \`simulation status <batchId>\` 单次查询状态, \`simulation wait <batchId>\` 轮询等待完成, \`simulation clean <batchId>\` 清理数据, \`simulation specifications\` 列出单据模板, \`simulation approval-definitions\` 查询飞书审批定义, \`simulation list\`/\`get\`/\`batch-records\` 查看批次与记录。创建前确认目标环境为测试环境。
- 企业检索、详情查看、环境标记、关联与配置规则同步: \`seal-use corps list [query] [--env <production|test>] [--limit <n>] [--all] [--sort <usage|name|id>] [--strict]\` (列表与轻量检索,默认展示 7 天使用频次最高的 10 个租户;\`--all\` 展示全量;\`--sort usage|name|id\` 切换排序), \`seal-use corps search <query> [--env <production|test>] [--strict]\` (跨字段智能软搜索:默认支持同音字、前后鼻音、平翘舌音、拼音与简拼、拼音或字母缺漏容错;\`--strict\` 切换为严格子串匹配), \`seal-use corps get <corpId>\` (富属性安全查看,敏感信息脱敏), \`seal-use corps mark <corpId> --env <production|test> --confirm\` (严格标记环境), \`seal-use corps bind-test <prodCorpId> <testCorpId> --confirm\` (严格1对1下挂,禁止多层级串联), \`seal-use corps unbind-test <corpId> --confirm\`, \`seal-use corps sync-test <prodCorpId> [--dry-run|--yes] [--version-name <name>]\` (将正式企业的偏好、草稿规则和知识文档覆盖同步到测试企业并自动发布语义版本 \`[Prod vN · #M -> Test vM]\`,输出并本地缓存 \`versionMapping\`/\`ruleMapping\`,正式企业规则保持草稿态不发布), \`seal-use corps replay-test [<prodCorpId>] [--record-id <id>] [--sn <sn>] [--limit <n>] [--status <status>] [--webhook <idOrName>] [--sn-suffix <str>] [--dry-run] [--force]\` (将绑定的生产企业历史审批记录批量或单条重放到测试企业 Webhook 并做环境隔离与自动通道补齐;若未绑定测试企业可加 \`--force\` 直接重放), \`seal-use rules map [--corp <corpId>] [--version <v|latest>] [--code <code>]\` (离线毫秒级速查测试与生产规则对照映射)。
- 规则本地工作流: \`seal-use rules pull\` 导出草稿规则,\`rules lint\` 做质量检查,\`rules push --dry-run\` 预览增量更新,确认后用 \`--yes\` 写入;\`rules map\` 查询 \`corps sync-test\` 生成的跨企业规则映射。规则版本与草稿/发布 code 空间的区别详见 \`references/rule-lightweight.md\` 和 \`references/cli.md\`。
- Seal AI 智能审核发布到合思费控: \`seal-use deploy hosecloud <requirements|list|get|status|configure|sync> --corp <corpId>\`; read \`references/hose-enterprise-deploy.md\`.
- 审核决策偏好与思考深度: \`seal-use preference get --corp <corpId>\`, \`preference decision update --json '...' --corp <corpId>\`, \`preference thinking-depth set --default <medium|high> --corp <corpId>\`, \`preference thinking-depth policies <list|upsert|remove> --corp <corpId>\`.
- 审核大盘统计与去重分析: \`seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id] --corp <corpId>\`, \`approval-runs count\`, \`analytics insight|risks|performance|analyze\`, 以及 \`approval-runs export\`(Excel 报表,文件名强制追加精确到分钟的 \`_YYYYMMDD_HHmm\` 时间戳后缀防止覆盖;支持 \`--sn <SN1,SN2>\` 定向筛选极速导出并跳过全量分页;追加 \`--with-flow\` 可额外输出 **E人工行为** / **E人工意见** 两列——基于合思原生审批流对齐,含样式 2-B 三行展开式驳回目标与重审规则、中途修改置顶事实且保留时序、动作 Emoji,200 条以上单据约增加 30 秒);需要追踪单据时再使用 \`url\` 或 \`bridge\`。
- User-facing 合思 authorization link (合思/易快报授权): \`seal-use auth hose-link --corp <corpId> --expire 7200\`; read \`references/hose-enterprise-auth.md\`. Never use this route when the user says Seal 协助. Always provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) AND a hyperlink.
- Delegation links management: \`seal-use delegation list --corp <corpId>\`, \`create [--note ...] --corp <corpId>\`, \`create --from-link <url> [--note ...]\`, \`revoke <tokenId> --corp <corpId>\`.
- User & Contacts Management (用户搜索、激活与一键代生成授权): \`seal-use users search [keyword] --corp <corpId>\`, \`users delegation <userIdOrPhone> --corp <corpId>\` (仅适用于 Seal 本地创建的账号 \`provider: local\`;对合思同步账号系统拒绝重置密码,需改用 \`auth hose-link\`), \`users activate <userId> --corp <corpId>\`, \`users create --name ... --phone ... --corp <corpId>\`, \`users reset-password <userId> --corp <corpId>\`, \`users get <userId> --corp <corpId>\`, \`users delete <userId> --corp <corpId>\`.
- 只读业务数据与组织发现: \`seal-use contacts departments|children|users|sync-time --corp <corpId>\`, \`seal-use data expenses|invoices --corp <corpId>\`, \`seal-use analytics insight|risks|performance --corp <corpId>\`, \`seal-use context --corp <corpId>\`, \`seal-use source config --corp <corpId>\`;这些查询优先用于定位企业结构、原始费用/发票和当前审核知识,不要把结果误当成写操作。
- LLM Model Config & Providers: \`seal-use llm config --corp <corpId>\`, \`seal-use llm providers --corp <corpId>\`.
- System Permissions Config: \`seal-use permissions available --corp <corpId>\`, \`seal-use permissions configs --corp <corpId>\`.
- Billing & Feature Quotas: \`seal-use billing status --corp <corpId>\`, \`seal-use billing plans --corp <corpId>\`, \`seal-use billing features --corp <corpId>\`.
- Webhook 准备看板与审批回调管理: \`seal-use webhook ready [<资源包.zip>] [--webhook <idOrName>] --corp <corpId>\` 检查企业环境、租户连通性、已激活通道与资源包预检;\`seal-use webhook <list|get|add|update|delete> --corp <corpId>\`.
- Webhook 资源包管理 (Webhook Resource Pack): \`seal-use webhook resource-pack export [--limit <n>] [--status <status>] [--output <file.zip>] [--to-downloads] --corp <corpId>\` 从线上审核记录直接打包导出为标准 Webhook 资源包(包含根目录 \`信息表.xlsx\` 与下载好的单据附件),便于通过邮件/微信等第三方渠道离线分发;\`seal-use webhook resource-pack preview <资源包.zip> --corp <corpId>\` 本地预检单据与附件;\`seal-use webhook resource-pack push <资源包.zip> [--webhook <idOrName>] --corp <corpId>\` 上传附件并通过入站 Webhook 触发 AI 审批(租户仅有 1 个通道时自动锁定无需指定 \`--webhook\`)。CLI 简写别名 \`pack\`,旧名 \`material-pack\` 完整向下兼容保留。每个 Webhook 可配置资源包附件的最小字节数、可选最大字节数和文件后缀白名单;这是可修改的持久化策略,不是不可绕过的硬编码。校验不通过时不会上传附件或推送单据。资源包格式:ZIP 根目录名 = \`documentId\`(或 \`documentId@annotation\`),Excel 附件列以 \`[附件]\` 为前缀(如 \`[附件]合同协议\`),单元格值为 ZIP 相对路径(支持多行/逗号/分号分隔);系统执行严格双向验证(Excel 声明附件的单据必须有对应根目录,ZIP 中的文件必须在某个 \`[附件]\` 列中声明)。详见 \`references/cli.md\` 中 "Webhook Resource Pack Workflow" 一节。它与 Seal 官方在模拟测试中使用的 \`simulation material_pack\` 流程相互独立,避免混淆。
- 审批记录转 Webhook 重放 (Universal Record Replay): \`seal-use webhook replay [<recordId>] [--sn <documentSN>] [--limit <n>] [--status <status>] [--webhook <idOrName>] [--source-corp <corpId>] [--target-corp <corpId>] [--sn-suffix <str>] [--dry-run] [--force] [--corp <corpId>]\` 以及生产测专用快捷命令 \`seal-use corps replay-test [<prodCorpId>] [--force]\`。通用支持从历史审批记录(Webhook 来源、Hose 来源等)汲取结构化表单与明细字段,自动清洗规范化字段类型,支持按状态/数量批量重放到目标企业 Webhook 触发审批。默认推荐并导向测试企业(测试企业无 Webhook 时自动开通辅助模式通道并锁定环境隔离);若用户未绑定测试企业或明确要求向生产企业重放,支持通过 \`--force\` 显式执行,方便环境回归验证与 Bad Case 靶向调试。
- HTTP REST API & Docs Server: \`seal-use http [--port 8787] [--host 127.0.0.1]\` (提供 \`/docs\` 交互文档、\`/openapi.json\`、\`POST /api/cli\` 与 \`/v1/*\` REST API)。
- 审批规则质量校验 (Linter): \`seal-use rules lint [--linter <name|path>] [--version <num>] [--code <code>] [--min-score <score>] [--summary] --corp <corpId>\`; read \`references/rule-lint.md\`. 全局配置默认关闭 (\`config lint <enable|disable>\`)。
- 系统自检、租户健康契约与内嵌架构规范白皮书: \`seal-use doctor\` (整机环境、目录状态、企业资产统计与健康自检,零磁盘写入), \`seal-use doctor tenant [--corp <corpId>] [--quiet]\` (企业租户级健康契约探针:身份/管理员角色、AI 审批点数余额与单次扣费、活跃规则数、草稿安全性、Webhook 通道与环境配对), \`seal-use doctor guide\` (纯内存只读输出内嵌白皮书与目录规范), \`seal-use doctor paths\` (紧凑型核心目录健康检查)。
- Full CLI inventory: read \`references/cli.md\`.
## Material-pack Webhook policy and recovery
材料包附件策略保存在目标入站 Webhook 的 \`materialPackFilePolicy\` 下,按 Webhook 生效。新建 Webhook 的默认策略是:最小文件大小 \`500\` 字节、最大文件大小不限制、后缀白名单为常见 PDF/Office/文本/邮件/图片格式。\`信息表.xlsx\` 是材料包根清单,不属于普通附件,不受这三个附件策略限制。完整默认后缀和边界规则见 \`references/cli.md\`。
这套策略允许人工或助手修改。错误处理有两条通道:先通过错误通道明确告诉助手是哪一个文件、哪一条规则失败;再通过配置或文件处置通道完成恢复。遇到附件被拦截时按以下闭环处理:
1. 从错误中识别被拦截的文件、实际大小、失败规则和目标 Webhook。
2. 向用户说明可选处置:替换/压缩文件,或在确认允许该格式/大小后修改 Webhook 策略。
3. 用户或业务负责人明确确认放宽策略后,读取目标 Webhook 当前配置(CLI 使用 \`webhook get\`/\`webhook list\`,MCP 使用 \`seal_webhook_get\`/\`seal_webhook_list\`)。
4. 调用 \`seal_webhook_update\` 或 \`seal-use webhook update\` 修改最小值、最大值或完整后缀白名单,写入后重新读取核对,再重试原来的材料包 push。
push 会重新读取最新 Webhook 配置;校验通过后才会开始上传附件。CLI 以非零退出码和 \`stderr\` 返回可恢复的业务错误,MCP 以工具错误返回。没有用户授权或没有修改权限时,不能擅自放宽策略,也不能绕过校验。
注意:直接执行本地 \`material-pack preview\` 只使用默认策略或命令行临时覆盖,不会自动读取某个 Webhook 的持久化策略;\`webhook ready --file\`(指定 Webhook 时)和 \`material-pack push\` 才使用保存的 Webhook 策略。需要验证实际入站通道策略时,优先使用 \`ready --file --webhook ...\`,或直接重试 push。
## High-Value Commands
\`\`\`bash
seal-use doctor
seal-use doctor tenant --corp <corpId>
seal-use doctor guide
seal-use test regression --corp <corpId> --dry-run
seal-use test regression --corp <corpId> --samples 10 --fail-on-flips
seal-use corps list [query] [--env production|test] [--limit 10] [--all] [--sort usage|name|id]
seal-use corps search <keyword> [--env production|test] [--strict]
seal-use corps get <corpId>
seal-use approval-runs url <recordId> --corp <corpId>
seal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest
seal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --batch <batchId> --latest --fields recordId,status,aiDecision,aiSummary
seal-use approval-runs get <recordId> --corp <corpId> --summary
seal-use approval-runs get <recordId> --corp <corpId> --fields metadata,document.fields,result.summary
seal-use approval-runs document-summary <recordId> --corp <corpId>
seal-use approval-runs cited-rules <recordId> --corp <corpId>
seal-use approval-runs attachments <recordId> --corp <corpId> --summary
seal-use approval-runs result <recordId> --corp <corpId> --summary
seal-use rules count --corp <corpId>
seal-use rules list --corp <corpId> --summary
seal-use rules lint --corp <corpId> --summary
seal-use rules pull --corp <corpId> --out ./rules.local.json
seal-use rules push --corp <corpId> --file ./rules.local.json --dry-run
seal-use rules map --corp <corpId> --version latest
seal-use rules clear --corp <corpId> --dry-run
seal-use rules clear --corp <corpId> --yes
seal-use rules get --corp <corpId> --version 16 --code '#0038'
seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205
seal-use simulation create --corp <corpId> --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high]
seal-use simulation create --corp <corpId> --mode material_pack --package-ids <materialPackageId> [--schema-config file.json]
seal-use simulation package-upload <材料包.zip> --corp <corpId>
seal-use simulation list --corp <corpId>
seal-use simulation get <batchId> --corp <corpId>
seal-use simulation batch-records <batchId> --corp <corpId>
seal-use simulation status <batchId> --corp <corpId>
seal-use simulation approval-definitions --corp <corpId>
seal-use approval-runs export --corp <corpId> --downloads --completed-only
# Add --with-flow to also populate E人工行为 / E人工意见 columns (Hose Open API, adds ~30s):
seal-use approval-runs export --corp <corpId> --downloads --with-flow
# Target specific document SNs for instant export without full pagination:
seal-use approval-runs export --corp <corpId> --sn B26002307,B26002144 --with-flow --downloads
seal-use analytics insight --corp <corpId>
seal-use contacts departments --corp <corpId>
seal-use data invoices --corp <corpId> --limit 20
seal-use tool seal_approval_search --corp <corpId> --json '{"keywords":["差旅","发票"],"areas":["rules"],"snippetOnly":true,"maxChars":500,"fields":["id","title","snippet"]}'
\`\`\`
## Important Fields
- \`sourceDocumentSN\`: external document number, often the easiest 合思/易快报 lookup key.
- \`sourceDocumentId\`: external source document ID.
- \`recordId\`: Seal approval run record ID.
- \`simulationBatchId\`: simulation batch identifier.
- \`status\`: run status.
- \`taskMode\` / \`finalExecutionMode\`: execution mode information.
- \`ruleSetVersionNumber\`: approval rule version used by a run.
- \`langfuseTraceId\`: direct Langfuse trace lookup key.
- \`langfuseSessionFallback\`: fallback session key, usually \`hosecloud-{sourceDocumentSN}\`.
## References
- \`references/enterprise-onboarding.md\`: 首次安装、零配置、合思来源与 Seal 原生来源的区分、标准密钥/协助链接/F12 cURL 接入、参数责任与安全边界。
- \`references/approval-run-lightweight.md\`: 单号定位、字段裁剪、摘要、引用规则、单据摘要、附件摘要。
- \`references/rule-lightweight.md\`: 规则 count/list summary、按版本/编号取单条规则、规则搜索裁剪。
- \`references/rule-lint.md\`: 规则质量检查器(Linter,含 builtin / strict / hlab 官方规范)、模糊词拦截、悬空例外闭环、多 TS 校验器切换与发布门禁。
- \`references/customer-feedback-rule-remediation.md\`: 微信/截图反馈包到企业定位、审批追踪、根因分类、最小规则 diff、确认、发布与验收的固定闭环。
- \`references/hose-enterprise-auth.md\`: Hose 企业配置、认证诊断、授权链接。
- \`references/hose-enterprise-init.md\`: 合思标准密钥的域名、企业与管理员自动发现,以及多候选管理员的安全选择。
- \`references/hose-enterprise-deploy.md\`: Seal AI 智能审核发布到合思费控(添加/编辑配置、平台自动探测、一键同步与 EBot 节点发布)。
- \`references/approval-attachment-trace.md\`: 附件/发票/OCR/图片争议的 Langfuse 追踪工作流。
- \`references/staging-simulation-workflow.md\`: 生产与测试环境搭配配置、合思集成免配自动同步、单据模拟测试验证与生产规则安全演进闭环指南。
- \`references/cli.md\`: 完整 CLI 命令清单。
## Safety
Rule, document, style preference, and publish actions mutate Seal configuration. Make the target enterprise explicit, show the intended payload, and verify after the write. Never send real \`enterprises/*.json\` files, tokens, signed URLs, or full raw documents to GitHub, tickets, logs, or chat unless the user explicitly requests a safe export.
`;var Wg0=`interface:
display_name: "Seal Use"
short_description: "Diagnose approval feedback and publish minimal rule fixes"
default_prompt: "Use $seal-use to resolve a customer feedback package to the correct tenant, diagnose the approval run, propose a minimal rule diff, and publish only after explicit confirmation."
`;var Xg0=`# Rule Lightweight Queries
Use this reference when the user wants rule counts, compact rule lists, one rule from a historical version, or approval knowledge search without dumping hundreds of rule descriptions.
## Draft and Published Rule Codes
\`rules list\` and \`rules pull\` operate on the current draft and therefore return draft \`code\` values. A published version stores a separate snapshot and may recode the same rules; publishing, deleting, or reordering rules can make those published codes differ or drift again. A code such as \`#0038\` is only meaningful together with its version context.
Use the draft \`id\` for current edits and use the approval run's recorded version plus rule text or runtime rule ID for historical investigations. Do not copy a draft code into a report or command that will be interpreted against a published version.
## Count Rules
Use count when only scale or existence matters.
\`\`\`bash
seal-use rules count --corp <corpId>
\`\`\`
Expected shape:
\`\`\`json
{ "count": 191 }
\`\`\`
Tool-layer equivalent:
\`\`\`bash
seal-use tool seal_approval_rules_list --corp <corpId> --json '{"countOnly":true}'
seal-use tool seal_approval_rules_list --corp <corpId> --json '{"fields":["id"],"limit":0}'
\`\`\`
## List Rule Summaries
Use summaries for navigation and selection.
\`\`\`bash
seal-use rules list --corp <corpId> --summary
\`\`\`
Default summary should include only fields such as \`id\`, \`code\`, \`scope\`, \`strictness\`, \`status\`, and \`updatedAt\`. Do not pull \`description\` unless the user needs rule text.
Tool-layer equivalent:
\`\`\`bash
seal-use tool seal_approval_rules_list --corp <corpId> --json '{"fields":["id","code","scope","strictness","status","updatedAt"]}'
\`\`\`
## Clear Draft Rules Before Import
Use this for test tenants when the next step is importing another tenant's rule set. Always preview first unless the user has already confirmed the exact tenant.
\`\`\`bash
seal-use rules clear --corp <corpId> --dry-run
seal-use rules clear --corp <corpId> --yes
\`\`\`
Expected shape:
\`\`\`json
{
"corpId": "xiezihao",
"dryRun": false,
"beforeCount": 49,
"deleted": 49,
"afterCount": 0
}
\`\`\`
Tool-layer equivalent:
\`\`\`bash
seal-use tool seal_approval_rules_clear --corp <corpId> --json '{"dryRun":true}'
seal-use tool seal_approval_rules_clear --corp <corpId> --json '{"dryRun":false}'
\`\`\`
## Get One Historical Rule
Use this when a run used a historical rule version and current rules may differ.
\`\`\`bash
seal-use rules get --corp <corpId> --version 16 --code '#0038'
seal-use rules get --corp <corpId> --version latest --code '#0038'
\`\`\`
If the user starts from a run and a runtime ID such as \`rule-205\`, resolve against that run:
\`\`\`bash
seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205
\`\`\`
Return the single rule text plus \`scope\`, \`strictness\`, \`status\`, \`versionNumber\`, and version metadata. Avoid commands that dump a whole rule version unless the user asks for the full version.
## Search Approval Knowledge Compactly
Prefer scoped and trimmed search:
\`\`\`bash
seal-use tool seal_approval_search --corp <corpId> --json '{"keywords":["关键词"],"areas":["rules"],"matchMode":"any","maxResults":20,"snippetOnly":true,"maxChars":500,"fields":["id","title","snippet"]}'
\`\`\`
When investigating historical behavior, search the matching rule version if the API supports it:
\`\`\`bash
seal-use tool seal_approval_search --corp <corpId> --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","versionNumber":16,"snippetOnly":true,"maxChars":500}'
\`\`\`
Use current search only when the question is about current draft/current knowledge, not why a historical run behaved a certain way.
## Output Discipline
If a rule command would return many descriptions or more than about 20 rules, use \`rules count\`, \`rules list --summary\`, \`fields\`, \`snippetOnly\`, or \`--output-file\`. Use \`--full\` only for deliberate exports.
`;var Vg0=`# Approval Bad Case Catalog
Use this file only as a comparison catalog after inspecting the current trace. Do not treat any case below as a default diagnosis.
## Case A: Receipt-Like Attachments Labeled As Invoices
Symptom:
- UI finding said attachments contained fixed-amount invoices that were not uploaded to the invoice field.
- Customer said the 160 and 90 slips were receipts, not invoices.
Failure pattern:
- Raw attachment objects and invoice-list objects had similar names/content but different IDs.
- \`image_understanding\` first introduced loose or wrong labels such as "发票(或收据)" and "定额发票".
- \`document_parsing\` inherited those labels.
- \`approval_review\` converted the inherited labels into a rule finding.
Checklist:
- Compare raw attachment IDs and invoice-list IDs before making a claim.
- Inspect the original image for formal invoice elements.
- If the image lacks invoice title, tax supervision seal, invoice code/number, and tax fields, the customer's receipt interpretation may be reasonable.
## Case B: Payment Amount Passed Earlier, Then Excluded Later
Symptom:
- UI finding said payment screenshots totaled only 1550 (\`650+900\`) against reimbursement amount 3400.
- Customer said the 1850 screenshot was also a payment-support screenshot and should have been included.
Failure pattern:
- The same six images appeared twice: under fee-detail attachments (\`file-1\` to \`file-6\`) and form-level attachments (\`file-7\` to \`file-12\`).
- \`image_understanding\` did not lose the 1850 amount; it extracted \`1850.00\`.
- \`pre_analysis\` explicitly passed 1850 as a payment-screenshot amount candidate in a review point: "付款截图金额(1850.00元)".
- \`document_parsing\` later reclassified \`1850.jpg\` as "收款凭证,非付款截图", overriding the review-point premise.
- Duplicate \`900.jpg\` entries produced inconsistent parser conclusions; final review included 900 but excluded 1850.
Checklist:
- If an amount is missing from the final total, check whether it was recognized in \`image_understanding\`.
- If recognized, check whether \`pre_analysis\` passed it in \`attachmentInstructions.reviewPoints\`.
- If passed, check whether \`document_parsing\` ignored or reclassified it.
- If the same image appears under multiple \`fileId\`s, compare duplicate conclusions before trusting final aggregation.
Important nuance:
- This is a bad-case pattern, not a general rule that every amount-total dispute is caused by \`pre_analysis\`.
- Use it when the current trace shows recognized amounts being excluded downstream or duplicate attachments producing inconsistent conclusions.
`;var Lg0="# Seal Use CLI Reference\n\nRun from any directory after installing the global CLI:\n\n```bash\nseal-use <command>\n```\n\nEnterprise config lookup:\n\n- If `SEAL_USE_ENTERPRISES_DIR` is set, only that directory is loaded.\n- Otherwise the user-level `~/.config/seal-use/enterprises` directory is loaded. A configured\n `testEnterprisesDir` is loaded first for test-tenant workflows. The current working directory's\n `./enterprises` directory is not loaded implicitly.\n- Set `SEAL_USE_ENTERPRISES_DIR` to use one explicit directory instead. Legacy\n `~/.config/seal-home/enterprises` files are migrated to the primary directory when possible.\n\nEnterprise selection is stateless by default. Commands that access an enterprise require\n`--corp <corpId>` unless stateful mode is explicitly enabled:\n\n```bash\nseal-use config mode stateful --corp <corpId>\nseal-use corps switch <corpId>\nseal-use config mode stateless\n```\n\nThe global mode is stored in `~/.config/seal-use/config.json`; set `SEAL_USE_CONFIG_FILE` to\noverride that path. The legacy `current-corp` file is not read.\n\n## Stream & Exit Code Contract\n\n- **`stdout`**: Pure, deterministic JSON for machine/Agent parsing.\n- **`stderr`**: Diagnostics, probing logs, and **Next-Step Command Suggestions** with the stable prefix `👉 Next action: seal-use ...`.\n- **`Exit Code`**: `0` on success; `1` runtime/upstream failure, `2` usage/argument error, `10` explicit destructive-operation confirmation required, `11` missing/invalid authentication, and `12` output protection requiring a compact/file/query alternative.\n\n## Top-Level Commands\n\n```bash\nseal-use version\nseal-use config paths\nseal-use config get\nseal-use config mode <stateful|stateless> [--corp <corpId>]\nseal-use config test-dir [<path>|--clear]\nseal-use config lint <enable|disable|status> [--linter <name>] [--min-score <score>]\nseal-use rules count [--corp <corpId>]\nseal-use rules list [--summary] [--count] [--limit 20] [--offset 0] [--corp <corpId>]\nseal-use rules clear [--corp <corpId>] [--dry-run|--yes]\nseal-use rules versions [--corp <corpId>]\nseal-use rules version <versionId|versionNumber|latest> [--corp <corpId>]\nseal-use rules get --corp <corpId> --version <number|latest> --code '#0038'\nseal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205\nseal-use rules search <keyword> [--version <versionId|versionNumber|latest>] [--maxResults 20] [--corp <corpId>]\nseal-use rules pull [--corp <corpId>] [--version <id|num|latest>] [--out <file>]\nseal-use rules lint [--file <path>] [--corp <corpId>] [--linter <name|path>] [--version <num>] [--code <code>] [--min-score <score>] [--summary]\nseal-use rules linters [--corp <corpId>]\nseal-use rules push [--file <path>] [--corp <corpId>] [--publish] [--version-name <name>] [--dry-run|--yes]\nseal-use rules map [--corp <corpId>] [--version <id|num|latest>] [--code <code>]\nseal-use service <start|stop|restart|status|logs> [--port 8787] [--host 127.0.0.1] [--lines 50]\nseal-use http [--port 8787] [--host 127.0.0.1]\nseal-use serve [--port 8787]\nseal-use update [--check] [--force] [--version <v>]\nseal-use update check\nseal-use update changelog [--limit <n>]\nseal-use changelog [--limit <n>]\nseal-use mcp\nseal-use mcp config\nseal-use mcp-config\nseal-use skill dump\nseal-use skill install [--dir <path>|--local]\nseal-use skill status\nseal-use doctor [--quiet]\nseal-use doctor tenant [--corp <corpId>] [--quiet]\nseal-use doctor guide\nseal-use doctor paths\nseal-use test regression [--corp <corpId>] [--samples <N>] [--dry-run] [--fail-on-flips]\nseal-use probe [<corpId>]\nseal-use tools list\nseal-use corps list [query] [--env <production|test>] [--limit <n>] [--all] [--sort <usage|name|id>] [--strict] [--corp <corpId>]\nseal-use corps search <query> [--env <production|test>] [--strict]\nseal-use corps get <corpId>\nseal-use corps current [--corp <corpId>]\nseal-use corps switch <corpId>\nseal-use corps mark <corpId> --env <production|test> [--confirm]\nseal-use corps bind-test <prodCorpId> <testCorpId> [--confirm] [--force]\nseal-use corps unbind-test [<corpId>] [--confirm]\nseal-use corps sync-test [<prodCorpId>] [--dry-run] [--yes] [--version-name <name>]\nseal-use corps replay-test [<prodCorpId>] [--record-id <id>] [--sn <sn>] [--limit <n>] [--status <status>] [--webhook <idOrName>] [--sn-suffix <str>] [--dry-run] [--force]\nseal-use corps regression [--corp <corpId>] [--samples <N>] [--dry-run] [--fail-on-flips]\nseal-use corps add-hose --json '{\"name\":\"企业名称\",\"domain\":\"https://app.ekuaibao.com\",\"appKey\":\"...\",\"appSecurity\":\"...\",\"proxyStaffBizId\":\"corpId:staffId\"}'\nseal-use corps add-seal --json '{\"sealUrl\":\"https://tenant.sealai.cc\",\"token\":\"seal-bearer-token\"}'\nseal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--as-hose] [--app-key <key>] [--key-id <id>] [--overwrite]\nseal-use corps extract-keys <https://.../web/thirdparty.html?...> [--reveal] [--save] [--name <customName>] [--app-key <key>] [--key-id <id>] [--overwrite]\nseal-use corps keys [<url> | <corpId>] [--reveal] [--save] [--app-key <key>] [--key-id <id>]\nseal-use auth extract-keys <https://.../web/thirdparty.html?...> [--reveal] [--save] [--name <customName>] [--app-key <key>] [--key-id <id>] [--overwrite]\nseal-use auth keys [--corp <corpId>] [--reveal]\nseal-use auth diagnose [--corp <corpId>]\nseal-use auth hose-link [--corp <corpId>] [--expire 7200]\nseal-use delegation list [--corp <corpId>]\nseal-use delegation create [--note <note>] [--from-link <url>] [--corp <corpId>]\nseal-use delegation revoke <tokenId> [--corp <corpId>]\nseal-use users create --name <name> --phone <phone> [--dept <deptId>] [--corp <corpId>]\nseal-use users search <keyword> [--corp <corpId>]\nseal-use users delegation <userIdOrPhone|name> [--note <note>] [--corp <corpId>]\nseal-use users activate <userId> [--corp <corpId>]\nseal-use users reset-password <userId> [--corp <corpId>]\nseal-use users get <userId> [--corp <corpId>]\nseal-use users delete <userId> [--corp <corpId>]\nseal-use contacts departments [<departmentId>] [--corp <corpId>]\nseal-use contacts children <departmentId> [--corp <corpId>]\nseal-use contacts users <departmentId> [--corp <corpId>]\nseal-use contacts sync-time [--corp <corpId>]\nseal-use data expenses --corp <corpId> [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>]\nseal-use data invoices --corp <corpId> [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>]\nseal-use llm config [--corp <corpId>]\nseal-use llm providers [--corp <corpId>]\nseal-use permissions available [--corp <corpId>]\nseal-use permissions configs [--corp <corpId>]\nseal-use billing status [--corp <corpId>]\nseal-use billing plans [--corp <corpId>]\nseal-use billing features [--corp <corpId>]\nseal-use webhook ready [<资源包.zip>] [--webhook <idOrName>] [--corp <corpId>]\nseal-use webhook list [--query <text>] [--show-secret] [--corp <corpId>]\nseal-use webhook get|find <idOrName> [--show-secret] [--corp <corpId>]\nseal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp <corpId>]\nseal-use webhook update <idOrName> [--name <name>] [--result-url <url>] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>|--rotate-secret] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp <corpId>]\nseal-use webhook delete <idOrName> [--yes|--dry-run] [--corp <corpId>]\nseal-use webhook resource-pack export [--limit <n>] [--status <status>] [--output <file.zip>] [--to-downloads] [--corp <corpId>]\nseal-use webhook resource-pack preview <资源包.zip|信息表.xlsx> [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--corp <corpId>]\nseal-use webhook resource-pack push <资源包.zip|信息表.xlsx> [--webhook <idOrName>] [--corp <corpId>]\nseal-use webhook replay [<recordId>] [--sn <documentSN>] [--limit <n>] [--status <status>] [--webhook <idOrName>] [--source-corp <corpId>] [--target-corp <corpId>] [--sn-suffix <str>] [--dry-run] [--force] [--corp <corpId>]\nseal-use deploy hosecloud requirements [--corp <corpId>]\nseal-use deploy hosecloud list [--corp <corpId>]\nseal-use deploy hosecloud get <sign-key> [--corp <corpId>]\nseal-use deploy hosecloud status [--corp <corpId>]\nseal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp <corpId>]\nseal-use deploy hosecloud sync [<sign-key>] [--auto] [--corp <corpId>]\nseal-use preference get [--corp <corpId>]\nseal-use preference decision update --json '{\"explicitApprove\":\"...\"}' [--dry-run] [--corp <corpId>]\nseal-use preference thinking-depth set --default <medium|high> [--dry-run] [--corp <corpId>]\nseal-use preference thinking-depth policies list [--corp <corpId>]\nseal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp <corpId>]\nseal-use preference thinking-depth policies remove <policyId> [--dry-run] [--corp <corpId>]\nseal-use context [--ruleVersion <versionId|versionNumber|latest>] [--documentLimit 50] [--corp <corpId>]\nseal-use source config [--corp <corpId>]\nseal-use tool <toolName> [--corp <corpId>] [--json '{\"key\":\"value\"}']\nseal-use approval-runs summary --corp <corpId> [--date YYYY-MM-DD] [--timezone Asia/Shanghai]\nseal-use approval-runs stats --corp <corpId> [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id]\nseal-use analytics insight --corp <corpId> [--start-date <ISO>] [--end-date <ISO>] [--limit <n>]\nseal-use analytics risks <tagId> --corp <corpId> [--start-date <ISO>] [--end-date <ISO>]\nseal-use analytics performance --corp <corpId> [--start-date <ISO|ms>] [--end-date <ISO|ms>]\nseal-use analytics analyze <recordId> --corp <corpId>\nseal-use analytics export --corp <corpId> [--downloads] [--out <file>] [--start-date <ISO>] [--end-date <ISO>] [--force]\nseal-use approval-runs count --corp <corpId> [--status APPROVED] [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>]\nseal-use approval-runs export --corp <corpId> [--sn <SN1,SN2>] [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>] [--force] [--status <status>] [--manual-status <status>] [--completed-only] [--limit <n>] [--downloads] [--out <file>] [--with-flow]\n# --sn / --sns: 定向筛选单据编号(支持逗号/分号/空格分隔,跳过全量分页,秒级定向导出特定单据)\n# --with-flow: 启用合思原生审批流对齐,输出 E人工行为 / E人工意见 两列(含样式 2-B 三行展开式驳回目标与重审规则、中途修改置顶事实且保留时序、动作 Emoji,默认关闭以节省合思 API 调用)\n# 导出文件名自动追加精确到分钟的 _YYYYMMDD_HHmm 时间戳后缀防止文件覆盖,格式:${企业名称}_审核记录_${时间区间}_${条数}_${导出时间戳}.xlsx\nseal-use approval-runs search --corp <corpId> [--query text] [--limit 20] [--includeBridge true]\nseal-use approval-runs get <recordId> --corp <corpId> [--fields metadata|document.fields,result.summary] [--output-file file.json]\nseal-use approval-runs attachments <recordId> --corp <corpId>\nseal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>] --corp <corpId>\nseal-use approval-runs result <recordId> --corp <corpId> [--summary]\nseal-use approval-runs url <recordId> --corp <corpId>\nseal-use approval-runs url <recordId> --sso [--expire 7200] --corp <corpId>\nseal-use approval-runs url --sn <documentSN> [--sso] --corp <corpId>\nseal-use approval-runs url --corp <corpId>\nseal-use approval-runs bridge --corp <corpId> [--sourceDocumentSN <sourceDocumentSN>]\nseal-use simulation batch-records <batchId> --corp <corpId>\nseal-use simulation create --mode hosecloud --flow-ids \"B26017701,B26022501\" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--no-wait] --corp <corpId>\nseal-use simulation create --mode material_pack --package-ids <materialPackageId> [--template-id conference_reimbursement_v1] [--schema-config file.json] --corp <corpId>\nseal-use simulation create --source-system weaver --request-ids \"req-01,req-02\" --corp <corpId>\nseal-use simulation status <batchId> --corp <corpId>\nseal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s] --corp <corpId>\nseal-use simulation clean <batchId> --corp <corpId>\nseal-use simulation specifications [--integration <sign-key>] --corp <corpId>\nseal-use simulation approval-definitions --corp <corpId>\nseal-use simulation list [--limit 50] --corp <corpId>\nseal-use simulation get <batchId> --corp <corpId>\nseal-use simulation templates --corp <corpId>\nseal-use simulation integrations --corp <corpId>\nseal-use simulation package-upload <材料包.zip> --corp <corpId>\n```\n\n## CLI Command Overview\n\n`seal-use version` returns:\n\n```json\n{\n \"name\": \"seal-use\",\n \"version\": \"<package version>\"\n}\n```\n\n`seal-use service <start|stop|restart|status|logs>` manages the persistent background service daemon with embedded HTTP server (serving `/docs`, `/openapi.json`, and `POST /api/cli`). `status` returns the PID, version, host, port, active HTTP URL, state directory, PID file, and log file.\n\n`seal-use update` updates the git checkout, runs `bun install`, and restarts the local service if it was running.\n\nSystem diagnostic & embedded architecture specifications:\n\n- `seal-use doctor [--quiet]` executes a comprehensive read-only environment diagnostic health check (runtime executable, filesystem paths health, enterprise assets summary, daemon status) with zero disk footprint.\n- `seal-use doctor tenant [--corp <corpId>] [--quiet]` probes the tenant-level health contract: verifies user identity and administrative permissions, checks AI approval quota balance (`balance` and `deductionAmount`), inspects active rules count and unreleased draft safety, validates webhook integration readiness, and verifies 1-to-1 environment pairing with test staging. Outputs clean JSON on `stdout` and a visual terminal dashboard on `stderr`.\n- `seal-use doctor guide` reads the complete embedded system architecture & directory specification whitepaper directly from binary memory without touching disk.\n- `seal-use doctor paths` outputs compact JSON audit of all filesystem paths touched by the CLI.\n\nEnterprise and tenant management:\n\n- `seal-use corps list [query] [--env <production|test>] [--limit <n>] [--all] [--sort <usage|name|id>] [--strict] [--corp <corpId>]` (defaults to displaying the top 10 most frequently used enterprises in the last 7 days; pass `--all` to display the entire enterprise catalog, `--sort <usage|name|id>` to toggle sort criteria)\n- `seal-use corps search <query> [--env <production|test>] [--strict]` (intelligent soft search by default: case-insensitive, Chinese homophones, front/back nasal vowels, flat/retroflex consonants, initials, typo/missing letter tolerance; pass `--strict` for exact substring match)\n- `seal-use corps get <corpId>` (rich enterprise attributes with sensitive secrets safely redacted)\n- `seal-use corps current [--corp <corpId>]`\n- `seal-use corps switch <corpId>`\n- `seal-use corps extract-keys <url> [--reveal] [--save] [--name <name>] [--app-key <key>] [--key-id <id>] [--overwrite]` extracts OpenAPI keys (`appKey` and `appSecurity`) from a Hose assistance link (`thirdparty.html`). **Hose Subdomain Privilege Elevation**: elevates a short-lived session token to permanent Hose OpenAPI developer credentials. If `--save` is specified, registers the enterprise as a durable Hose tenant. If the enterprise has multiple keys, execution halts and candidates are listed unless `--app-key` or `--key-id` is passed.\n- `seal-use corps add-link <url> [--name <name>] [--as-hose] [--app-key <key>] [--key-id <id>] [--overwrite]` imports a Hose assistance link. Without `--as-hose`, creates a temporary Seal Bearer session. With `--as-hose`, elevates permissions by extracting Hose OpenAPI developer keys and saving a durable Hose enterprise configuration.\n- `seal-use corps keys [<url> | <corpId>] [--reveal] [--save]` reads/displays OpenAPI keys for a Hose assistance link or configured Hose enterprise (masked by default, `--reveal` displays plaintext). Rejects non-Hose/native-Seal tenants with exit code 2.\n- `seal-use auth extract-keys <url>` and `seal-use auth keys [--corp <corpId>]` provide auth-domain aliases for key extraction and inspection.\n\nRead-only discovery:\n\n- `seal-use contacts departments|children|users|sync-time --corp <corpId>` queries the tenant's organization tree and last directory sync time.\n- `seal-use data expenses|invoices --corp <corpId> [--search <text>] [--start-date <ISO|ms>] [--end-date <ISO|ms>] [--offset <n>] [--limit <n>]` queries paginated raw expense or invoice records.\n- `seal-use analytics insight --corp <corpId> [--start-date <ISO>] [--end-date <ISO>] [--limit <n>]` queries risk-tag statistics; omitted dates use the current month.\n- `seal-use analytics risks <tagId> --corp <corpId> [--start-date <ISO>] [--end-date <ISO>]` queries detailed risks and cited documents under a specific risk tag.\n- `seal-use analytics performance --corp <corpId> [--start-date <ISO|ms>] [--end-date <ISO|ms>]` queries approval performance metrics and Sankey decision flow.\n- `seal-use analytics analyze <recordId> --corp <corpId>` triggers on-demand smart insight risk analysis for an approval record.\n- `seal-use analytics export --corp <corpId> [--downloads] [--out <file>] [--start-date <ISO>] [--end-date <ISO>]` exports a comprehensive multi-sheet Excel report covering performance KPIs, decision flow, top risk tags, and detailed risk citations.\n- `seal-use context --corp <corpId> [--ruleVersion <versionId|versionNumber|latest>] [--documentLimit 50]` aggregates rules, knowledge documents, and style preferences.\n- `seal-use source config --corp <corpId>` resolves the live source-system configuration without changing it.\n\nTest Enterprise Binding, Staging Synchronization & Automated Regression Testing:\n\n- **1-to-1 Association**: One production enterprise can only bind at most one test enterprise (`corps bind-test <prodCorpId> <testCorpId>`). Multi-tier chaining is rejected.\n- **Marking & Rigorous Confirmation**: Marking (`corps mark <corpId> --env <production|test>`) and binding require explicit `--confirm`. Without confirmation, the CLI blocks with exit code `10` (`confirmationRequired`). Overwriting existing bindings requires `--force`.\n- **Production Safety Guarantee (`corps sync-test`)**:\n - In the **Production Enterprise**: Rules remain strictly in **draft state** without publishing any live version.\n - In the **Test Enterprise**: Style preferences (`decisionPreferences`, `thinkingDepthPreference`) are updated to match production, test draft rules are cleared and populated with production draft rules, recoded, and immediately **published as a new official version** in the test tenant (`--version-name <name>`).\n - **Semantic Version Naming**: Defaults to `Sync from <ProdCorp> [Prod v<N> · #<Iteration>]` tracking production baseline version and test draft iteration without redundant date strings.\n - **Rule Mapping & Local Snapshot**: Returns `versionMapping` and `ruleMapping` in CLI stdout and saves persistent snapshot to `~/.config/seal-use/mappings/<testCorpId>-v<N>.json` and `<testCorpId>-latest.json`.\n - `--dry-run` previews the full preference diff, version mapping plan, and rule sync plan without sending mutations. Execution requires `--yes`.\n- **Approval Run Replay to Test Enterprise (`corps replay-test`)**:\n - Automatically identifies the bound test enterprise for `<prodCorpId>` (or current corp).\n - Fetches original approval records from the production enterprise (`--record-id`, `--sn`, or batch via `--limit` / `--status`).\n - Cleans and normalizes payload structure, appends customizable suffix (default `-REPLAY-TEST`) to avoid collision.\n - Automatically provisions `(Seal测-回放通道)` with `assisted` mode on the test enterprise if no webhook integration exists.\n - Replays documents safely to the test enterprise webhook endpoint. Targeting production is blocked by default; if the enterprise has no bound test corp or target is production, `--force` can be specified to allow direct replay.\n- **Automated Rule Regression Test Matrix (`seal-use test regression` / `seal-use corps regression`)**:\n - Runs an automated regression testing matrix across paired production and test enterprises before rule publication.\n - Enforces **Red Line 1**: The replay target MUST be a test enterprise (`environment: \"test\"`). Running regression tests directly in pure production is strictly forbidden.\n - Enforces **Red Line 2**: Pre-flight verification of target test enterprise AI approval balance (`balance >= samples * deductionAmount`). If balance is insufficient, execution is blocked immediately to avoid quota starvation.\n - Samples historical completed production runs (`--samples <N>`, default 10).\n - Replays sanitized documents into the test webhook integration.\n - Uses **outbound HTTPS polling** for asynchronous test approval completion, eliminating any requirement for public IP or inbound webhook listeners behind NAT/VPNs.\n - Normalizes and compares production vs. test decisions (`APPROVE`, `REJECT`, `MANUAL`, `ERROR`).\n - Detects decision flips (e.g. production APPROVE becoming test REJECT), computes overall concordance rate, and computes boolean `safeToPublish`.\n - Supports `--dry-run` to preview sampled documents and verify quota without executing mutations.\n - Supports `--fail-on-flips` to terminate with a non-zero exit code (1) if any decision flip occurs, providing seamless integration with automated CI/CD safety gates.\n\nApproval rule maintenance:\n\n- `seal-use rules count [--corp <corpId>]`\n- `seal-use rules list --summary [--corp <corpId>]`\n- `seal-use rules map [--corp <corpId>] [--version <id|num|latest>] [--code <code>]` (reads local sync rule mapping snapshot)\n- `seal-use rules pull [--corp <corpId>] [--version <id|num|latest>] [--out <file>]`\n- `seal-use rules lint [--file <path>] [--corp <corpId>] [--linter <name|path>] [--version <num>] [--code <code>] [--min-score <score>] [--summary]`\n- `seal-use rules linters [--corp <corpId>]` (lists official and custom linters with directory specs: `~/.config/seal-use/linters` and `official/`)\n- `seal-use rules push [--file <path>] [--corp <corpId>] [--publish] [--version-name <name>] [--dry-run|--yes]` incrementally applies the local file: matched IDs are updated, missing local IDs are created, and remote IDs absent from the file are deleted. It does not clear/recreate the whole draft or recode it. Run `--dry-run` first; a local file exported with `rules pull` is preferred.\n- `seal-use rules clear [--corp <corpId>] [--dry-run|--yes]`\n\nRule identity and versioning:\n\n- `rules list` and `rules pull` read the current **draft** rule set. Their `code` values belong to the draft code space.\n- A published version has its own snapshot and code space. Publishing can recode rules, so a published `code` may differ from the draft `code`, and codes can shift again after later edits and publishes.\n- Do not use a draft `#NN` as a cross-version identifier. For current draft work, prefer the stable rule `id`; for historical behavior, select the published `version` and locate the rule by its text/context or runtime rule ID from the approval run.\n- `rules get --version ... --code ...` interprets `code` inside that selected published version, while `rules get --record-id ... --runtime-id ...` resolves the version recorded on the run.\n\nApproval run lightweight queries:\n\n- `seal-use approval-runs get <recordId> --corp <corpId> --fields metadata`\n- `seal-use approval-runs get <recordId> --corp <corpId> --summary`\n- `seal-use approval-runs pick --corp <corpId> --sn <单号> --batch <batchId> --latest`\n- `seal-use approval-runs document-summary <recordId> --corp <corpId>`\n- `seal-use approval-runs cited-rules <recordId> --corp <corpId>`\n- `seal-use approval-runs get <recordId> --corp <corpId> --fields document.fields,result.summary`\n- `seal-use approval-runs attachments <recordId> --corp <corpId> --summary`\n- `seal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>] --corp <corpId>`\n- `seal-use approval-runs result <recordId> --corp <corpId> --summary`\n\nApproval knowledge documents & style:\n\n- `seal-use tool seal_approval_documents_list --corp <corpId> --json '{\"limit\":50}'`\n- `seal-use tool seal_approval_document_get --corp <corpId> --json '{\"documentId\":\"doc-id\"}'`\n- `seal-use tool seal_approval_document_create --corp <corpId> --json '{\"title\":\"标题\",\"purpose\":\"用途\",\"content\":\"Markdown 内容\",\"contentType\":\"policy\",\"scenarios\":[\"audit\"]}'`\n- `seal-use tool seal_approval_document_update --corp <corpId> --json '{\"documentId\":\"doc-id\",\"enabled\":false}'`\n- `seal-use tool seal_approval_delete_document --corp <corpId> --json '{\"documentId\":\"doc-id\"}'` (删除前必须重新读取并确认)\n- `seal-use rules get --corp <corpId> --version <number> --code '#0038'`\n- `seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205`\n\nWebhook integrations:\n\n- `seal-use webhook ready [<资源包.zip|信息表.xlsx>] [--webhook <idOrName>] [--corp <corpId>]`\n- `seal-use webhook list [--query <text>] [--show-secret] [--corp <corpId>]`\n- `seal-use webhook get|find <idOrName> [--show-secret] [--corp <corpId>]`\n- `seal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp <corpId>]`\n- `seal-use webhook update <idOrName> [--name <name>] [--result-url <url>] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret <secret>|--rotate-secret] [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp <corpId>]`\n- `seal-use webhook delete <idOrName> [--yes|--dry-run] [--corp <corpId>]`\n- `seal-use webhook resource-pack export [--limit <n>] [--status <status>] [--output <file.zip>] [--to-downloads] --corp <corpId>` (将线上审核记录打包导出为标准 Webhook 资源包,支持按条数、状态或指定单据 ID 筛选)\n- `seal-use webhook resource-pack preview <资源包.zip|信息表.xlsx> [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] --corp <corpId>`\n- `seal-use webhook resource-pack push <资源包.zip|信息表.xlsx> [--webhook <idOrName>] --corp <corpId>` (别名 `pack`,旧名 `material-pack` 兼容支持)\n- `seal-use webhook replay [<recordId>] [--sn <documentSN>] [--limit <n>] [--status <status>] [--webhook <idOrName>] [--source-corp <corpId>] [--target-corp <corpId>] [--sn-suffix <str>] [--dry-run] [--force] [--corp <corpId>]` (通用单据重放:从历史审批单据汲取结构化表单与明细,清洗规范化字段类型,支持单条或批量重放到目标企业的 Webhook 触发审批。默认阻止向未授权生产环境重放以防污染数据,提供 `--force` 显式覆盖支持)\n\nWebhook writes read the current AI approval config and POST the merged full config back to `api/v1/agent/ai-approval/config`, preserving non-Webhook integrations. List/get mask `secret` by default; add returns the generated secret once. Each Webhook can also store a mutable `materialPackFilePolicy` with `minFileSizeBytes`, optional `maxFileSizeBytes`, and `allowedExtensions`. Update is a patch: omitted policy fields are retained; `allowedExtensions` replaces the complete list; `--clear-max-file-size` removes the upper bound.\n\nAll supported configuration writes accept `--dry-run`: rules clear/push, `corps sync-test`, preference updates, thinking-depth policy changes, HoseCloud configure, and Webhook add/update/delete. Preview mode performs read-only discovery and returns JSON with `preview: true`, the exact `targetUrl`, a redacted `changesDiff` (`before`/`after`), and `impactCount`. It never sends the mutation request and does not require `--yes`; use the same command with `--yes` only after reviewing the preview.\n\nApproval runs, simulations, and Langfuse bridge:\n\n- `seal-use approval-runs search --corp <corpId> [--query <text>] [--limit 20]`\n- `seal-use approval-runs summary --corp <corpId> [--date YYYY-MM-DD] [--timezone Asia/Shanghai]`\n- `seal-use approval-runs bridge --corp <corpId> [--sourceDocumentSN <sn>]`\n- `seal-use simulation create --mode hosecloud --flow-ids ... --no-wait --corp <corpId>` returns immediately with an `asyncTicket` (creation is non-blocking by default for compatibility).\n- `seal-use simulation status <batchId> --corp <corpId>` performs one non-blocking status check and returns `QUEUED`/`RUNNING`/`COMPLETED`/`FAILED`-style state plus counters.\n- `seal-use simulation approval-definitions --corp <corpId>` lists available Feishu approval definitions so an `approvalCode` can be selected before creating a batch.\n- `seal-use simulation wait <batchId> --corp <corpId>`\n- `seal-use simulation clean <batchId> --corp <corpId>`\n- `seal-use simulation list --corp <corpId>`\n- `seal-use simulation get <batchId> --corp <corpId>`\n- `seal-use simulation batch-records <batchId> --corp <corpId>`\n- `seal-use simulation templates --corp <corpId>`\n- `seal-use simulation integrations --corp <corpId>`\n\n## Common Examples\n\nAdd and verify a Hose enterprise:\n\n```bash\nseal-use corps add-hose --json '{\"name\":\"企业名称\",\"domain\":\"https://app.ekuaibao.com\",\"appKey\":\"...\",\"appSecurity\":\"...\",\"proxyStaffBizId\":\"corpId:staffId\"}'\nseal-use auth diagnose --corp <corpId>\n```\n\nForce-write a Hose config without verification:\n\n```bash\nseal-use corps add-hose --json '{\"name\":\"企业名称\",\"domain\":\"https://app.ekuaibao.com\",\"appKey\":\"...\",\"appSecurity\":\"...\",\"proxyStaffBizId\":\"corpId:staffId\",\"force\":true}'\n```\n\nDiagnose auth failures:\n\n```bash\nseal-use auth diagnose --corp <corpId>\n```\n\nThe diagnostic stages are `hose.openapi`, `hose.provisional`, `seal.sso`, and `seal.whoami`. Tokens are omitted from output.\n\nSearch approval content:\n\n```bash\nseal-use tool seal_approval_search --corp <corpId> --json '{\"keywords\":[\"关键词\"],\"matchMode\":\"any\",\"maxResults\":20}'\n```\n\nGet aggregated approval context:\n\n```bash\nseal-use tool seal_approval_context_get --corp <corpId> --json '{\"documentLimit\":20}'\n```\n\nCreate a draft approval rule:\n\n```bash\nseal-use tool seal_approval_rule_create --corp <corpId> --json '{\"description\":\"规则描述\",\"scope\":\"适用场景\",\"strictness\":\"SHOULD_FOLLOW\"}'\n```\n\nUpdate an approval document:\n\n```bash\nseal-use tool seal_approval_document_update --corp <corpId> --json '{\"documentId\":\"doc-id\",\"content\":\"Markdown 内容\"}'\n```\n\nSummarize one local date:\n\n```bash\nseal-use approval-runs summary --corp <corpId> --date 2026-06-09 --timezone Asia/Shanghai --limit 100\n```\n\nFind a run and include Langfuse bridge rows:\n\n```bash\nseal-use approval-runs search --corp <corpId> --query <sourceDocumentSN> --limit 20 --includeBridge true\n```\n\nResolve Langfuse trace/session hints:\n\n```bash\nseal-use approval-runs bridge --corp <corpId> --sourceDocumentSN <sourceDocumentSN>\n```\n\n模拟测试批次(模拟发布闭环)创建与查询:\n\n```bash\n# 合思指定单号: 创建批次(响应只含 batchId)\nseal-use simulation create --mode hosecloud --flow-ids \"B26017701,B26022501\" --reject-node 财务 --thinking-depth medium --skip-invoice-generation --corp <corpId>\n# 材料包导入: 先上传材料包 ZIP(服务端解析并返回 schemaConfig), 再用返回的 id 发起\nseal-use simulation package-upload 测试材料包.zip --corp <corpId>\nseal-use simulation create --mode material_pack --package-ids <materialPackageId> --template-id conference_reimbursement_v1 --schema-config schema.json --corp <corpId>\n# 预留: 其他模式参数通过 --json 透传(如时间范围 startTime/endTime)\nseal-use simulation create --mode hosecloud --flow-ids \"B26017701\" --json '{\"startTime\":0,\"endTime\":0}' --corp <corpId>\n# 创建后轮询批次状态与记录\nseal-use simulation list --limit 50 --corp <corpId>\nseal-use simulation get <batchId> --corp <corpId>\nseal-use simulation batch-records <batchId> --corp <corpId>\nseal-use simulation templates --corp <corpId>\nseal-use simulation integrations --corp <corpId>\n```\n\n## Write Operation Payloads\n\nCreate a rule:\n\n```json\n{\n \"description\": \"规则描述\",\n \"scope\": \"适用场景\",\n \"strictness\": \"MUST_FOLLOW | SHOULD_FOLLOW | SUGGESTION\"\n}\n```\n\nUpdate a rule:\n\n```json\n{\n \"ruleId\": \"rule-id\",\n \"description\": \"可选\",\n \"scope\": \"可选\",\n \"strictness\": \"SHOULD_FOLLOW\"\n}\n```\n\nPublish a rule version:\n\n```json\n{\n \"versionName\": \"版本名称\"\n}\n```\n\nCreate a document:\n\n```json\n{\n \"title\": \"标题\",\n \"purpose\": \"用途\",\n \"content\": \"Markdown 内容\",\n \"contentType\": \"policy\",\n \"status\": \"published\",\n \"scenarios\": [\"audit\"],\n \"tags\": [\"标签\"]\n}\n```\n\n`contentType` 必须是 `document`、`video`、`pdf`、`feishu_doc` 或 `policy` 之一;`scenarios` 必填且至少包含一个 `fill`(智能填单)或 `audit`(智能审核)。这里的 `scenarios` 是产品能力开关,不是费用类别或业务场景名。\n\n知识文档支持通过 `seal_approval_delete_document` 删除,且 `corps sync-test` 会在按标题对账时删除测试企业中多余的文档;删除仍是破坏性写操作,必须在写入前重新读取并确认标题/ID。若只是暂时撤下内容,优先使用更新操作并设置 `enabled: false`。\n\nUpdate a document:\n\n```json\n{\n \"documentId\": \"doc-id\",\n \"title\": \"可选\",\n \"purpose\": \"可选\",\n \"content\": \"可选\",\n \"enabled\": true,\n \"scenarios\": [\"可选\"],\n \"tags\": [\"可选\"]\n}\n```\n\nUpdate style preferences:\n\n```json\n{\n \"tone\": \"可选\",\n \"language\": \"可选\",\n \"detailLevel\": \"可选\",\n \"outputFormat\": \"可选\",\n \"examples\": [\"可选\"],\n \"prohibitedPhrases\": [\"可选\"],\n \"customInstructions\": \"可选\"\n}\n```\n\n## Webhook Resource Pack Workflow (Webhook 资源包)\n\nA **Webhook resource pack** (webhook 资源包 / 资源包, CLI: `resource-pack`, alias: `pack`, legacy alias: `material-pack`) is a ZIP file that bundles an Excel information sheet (`信息表.xlsx`) with attachments organised by document ID. It is designed for exporting online approval runs and transferring them offline across environments or teams to be replayed via inbound Webhooks.\n\n> **Note**: This is distinct from Seal backend's native simulation \"材料包\" (`simulation material_pack` / `/api/v1/material-packages/upload`). Calling this standard \"Webhook 资源包\" avoids confusion.\n\n### ZIP structure convention\n\n```\n资源包.zip\n├── 信息表.xlsx ← must exist at ZIP root\n├── BX20260826003/ ← root dir name = documentId (or documentId@annotation)\n│ ├── 合同协议/\n│ │ └── 采购合同.pdf\n│ └── 支付凭证/\n│ └── 支付宝交易明细.pdf\n└── BX20260826004@重新提交v2/ ← @annotation is stripped when matching documentId\n └── 发票/\n └── 增值税专用发票.pdf\n```\n\n- The root directory name **must equal** the `documentId` **OR** start with `documentId@` (the `@` separates an optional annotation ignored during matching).\n- `信息表.xlsx` at the ZIP root is the only file not associated with any document directory.\n- Documents without attachments do not require a directory entry in the ZIP.\n\n### Excel column convention\n\n| Column type | Naming | Purpose |\n|---|---|---|\n| Regular column | Any header (e.g. `会议编号`, `总金额`, `报销事由`) | Standard document fields |\n| Attachment column | Header starts with `[附件]` (e.g. `[附件]合同协议`, `[附件]发票`) | Declares attached files for this row |\n\n- The `[附件]` prefix is stripped to produce the field `label` sent to Seal.\n- The cell value contains full ZIP-relative path(s) to the declared files (multiple paths separated by newline, comma, or semicolon).\n- Example: column `[附件]合同协议`, cell value `BX20260826003/合同协议/采购合同.pdf`\n\n### Sheet → document level mapping\n\n| Excel sheet | Maps to |\n|---|---|\n| First sheet (main / 会议) | Root document `categoryFields` |\n| 费用明细表 (has `报销金额` column) | Per-row entries in `mingxi_list` |\n| 劳务明细 (has `姓名` column) | Per-person entries in `daoshi_list` |\n\n### Strict bidirectional validation\n\nBefore pushing or previewing, the system enforces:\n\n1. **Excel → ZIP**: Every path declared in an `[附件]` column cell **must** exist as a ZIP entry. Error: `Excel 声明的附件路径在 ZIP 中不存在: <path>`\n2. **ZIP → Excel**: Every ZIP file (excluding `信息表.xlsx`) **must** be declared in exactly one `[附件]` column. Error: `ZIP 中的文件未在 Excel 任何 [附件] 列中声明: <path>`\n3. **Document Directory Scope Isolation**: All attachments declared for a document `DOC_X` **must** reside in its own root directory (`DOC_X/` or `DOC_X@annotation/`). Cross-document references are strictly forbidden. Error: `单据「X」声明了跨单据或非本单据目录的附件路径: <path>。附件必须位于该单据自己的根目录...`\n4. **Strict Declaration Uniqueness**: A given ZIP file path **cannot** be declared more than once across the entire resource pack (even within the same document across multiple rows or fields). If the same logical document is needed in multiple places, separate files must be placed in distinct paths. Error: `附件路径「<path>」被重复声明了 N 次...`\n5. **Attachment file policy**: Every attachment except the root `信息表.xlsx` must satisfy the selected Webhook's minimum size, optional maximum size, and extension whitelist. The default minimum is 500 bytes; the default maximum is unlimited; the default whitelist includes common PDF, Office, text, email, and image formats. Error: `附件文件过小...` / `附件文件过大...` / `附件后缀不在白名单中...`\n6. **documentId ↔ ZIP root**: Every `documentId` in the Excel main sheet that declares attachments must have a matching ZIP root dir (exact match or `documentId@annotation`), and every ZIP root dir must match a declared `documentId`. Errors: `Excel 会议编号「X」在 ZIP 中找不到对应的根目录...` / `ZIP 根目录对应的编号「X」在信息表中找不到对应的会议编号`\n\nAll validation errors are collected and reported together in a single `MaterialPackValidationError`.\n\n### CLI usage\n\n```bash\n# Export online approval records to a local Webhook resource pack ZIP\nseal-use webhook resource-pack export --limit 10 --corp <sourceCorpId>\n# Export specific records and save to Downloads\nseal-use webhook resource-pack export <recordId> --to-downloads --corp <sourceCorpId>\n\n# Check environment readiness and optionally pre-validate the resource pack\nseal-use webhook ready [--file <pack.zip>] [--corp <corpId>]\n\n# Dry-run: local parse & validation only, no network calls, returns preview JSON\nseal-use webhook resource-pack preview <pack.zip> --corp <corpId>\n# Preview with temporary local policy overrides (comma-separated extensions)\nseal-use webhook resource-pack preview <pack.zip> --min-file-size 500 --max-file-size 20971520 --allowed-extensions .pdf,.xlsx,.docx --corp <corpId>\n\n# Upload attachments and push documents via inbound Webhook\nseal-use webhook resource-pack push <pack.zip> [--webhook <nameOrId>] --corp <corpId>\n# When there is exactly one webhook channel, --webhook can be omitted (auto-locked)\n```\n\n### Attachment file policy configuration\n\nThe policy is stored per inbound Webhook integration and is applied before any attachment upload or document push. A failed check stops the entire material-pack flow. The policy is intentionally mutable: after an authorized configuration change, retrying the same push reads the saved policy again.\n\nDefault configuration:\n\n```json\n{\n \"minFileSizeBytes\": 500,\n \"maxFileSizeBytes\": null,\n \"allowedExtensions\": [\n \".pdf\", \".xls\", \".xlsx\", \".csv\", \".doc\", \".docx\", \".ppt\", \".pptx\",\n \".txt\", \".rtf\", \".odt\", \".ods\", \".odp\", \".jpg\", \".jpeg\", \".png\",\n \".gif\", \".bmp\", \".webp\", \".heic\", \".eml\", \".msg\"\n ]\n}\n```\n\n`null` or an omitted `maxFileSizeBytes` means no per-file upper bound. Values are bytes; a file smaller than the minimum or larger than the maximum fails. Extensions are normalized case-insensitively and may be written with or without the leading dot. The root `信息表.xlsx` remains exempt from attachment policy checks.\n\n```bash\n# New Webhook: use the default 500-byte minimum and default extension whitelist\nseal-use webhook add --name \"材料包入站\" --result-url \"https://your-domain.com/callback\" --corp <corpId>\n\n# Configure an existing Webhook; sizes are bytes and extensions are comma-separated\nseal-use webhook update <webhookIdOrName> \\\n --min-file-size 500 \\\n --max-file-size 20971520 \\\n --allowed-extensions .pdf,.xlsx,.xls,.docx,.pptx,.jpg,.png \\\n --corp <corpId>\n\n# Allow a newly confirmed format while retaining the rest of the policy:\n# first read webhook get/list, then pass the complete desired whitelist.\nseal-use webhook update <webhookIdOrName> \\\n --allowed-extensions .pdf,.xlsx,.xls,.docx,.pptx,.jpg,.png,.zip \\\n --corp <corpId>\n\n# Remove only the maximum-size limit (minimum and whitelist are retained).\nseal-use webhook update <webhookIdOrName> --clear-max-file-size --corp <corpId>\n```\n\nThe saved configuration is returned by `webhook get`/`webhook list` under `materialPackFilePolicy`. The root `信息表.xlsx` is always allowed as the material-pack manifest and is not subject to the attachment policy.\n\n### Failure recovery loop\n\nWhen a push fails because of the attachment policy, the error is actionable and should be handled as a two-channel recovery loop:\n\n1. Error channel: read `附件文件过小`, `附件文件过大`, or `附件后缀不在白名单中`, including the attachment path and the configured boundary.\n2. Resolution channel: ask whether the user wants to replace/compress the file or explicitly allow the format/size by changing the target Webhook policy.\n3. If configuration change is authorized, read the current policy with `webhook get`/`webhook list`, update only the necessary fields, and verify the returned configuration.\n4. Retry the original `material-pack push`; it will load the latest saved policy before any upload begins.\n\nThe same loop is available through MCP: read with `seal_webhook_get`/`seal_webhook_list`, update with `seal_webhook_update` and its `materialPackFilePolicy` patch, then retry `seal_webhook_material_pack` in `push` mode. For MCP, set `maxFileSizeBytes` to `null` to clear the upper bound. `allowedExtensions` is a complete replacement list, so include existing allowed suffixes when adding one.\n\nIf the assistant lacks permission to update the Webhook or the user does not authorize relaxing the rule, report the block rather than bypassing validation. Since validation happens before the upload loop, a failed attempt does not leave a partially pushed material pack.\n\nThe direct local `material-pack preview` command and MCP preview use the default or temporary policy. They do not automatically read a selected Webhook's persisted policy. Use `webhook ready --file --webhook <idOrName>` or the actual push path when validating against the saved inbound policy.\n\n### Error messages reference\n\n| Error message | Meaning | Fix |\n|---|---|---|\n| `Excel 声明的附件路径在 ZIP 中不存在: <path>` | Cell value references a file not in ZIP | Add the file to ZIP at exactly that path |\n| `ZIP 中的文件未在 Excel 任何 [附件] 列中声明: <path>` | ZIP contains a file not referenced by any `[附件]` column | Add an `[附件]` column entry or remove the file from ZIP |\n| `单据「X」声明了跨单据或非本单据目录的附件路径: <path>` | Document X declared a path inside another document's folder | Move file into Document X's own folder and update Excel |\n| `附件路径「<path>」被重复声明了 N 次` | The same file path was declared in multiple columns/rows/documents | Each declaration must point to a unique file path; duplicate file if needed |\n| `Excel 会议编号「X」在 ZIP 中找不到对应的根目录` | No ZIP root dir matches documentId `X` | Rename the ZIP folder to match the documentId |\n| `ZIP 根目录对应的编号「X」在信息表中找不到` | ZIP folder has no matching documentId in Excel | Remove the folder or add the document to Excel |\n| `ZIP 根目录缺少信息表.xlsx` | No `信息表.xlsx` found at ZIP root | Add the Excel file to the ZIP root |\n| `附件文件过小` | Attachment is below the configured minimum byte size | Replace the empty/truncated file or lower `--min-file-size` |\n| `附件文件过大` | Attachment exceeds the configured maximum byte size | Replace/compress the file or raise `--max-file-size` |\n| `附件后缀不在白名单中` | Attachment extension is not allowed by the Webhook policy | Add the extension with `--allowed-extensions` or convert the file |\n| `附件上传失败 <status>` | Network/server error during file upload | Check webhook URL, secret, and server availability |\n\n## Failure Handling\n\n- CLI commands are short-lived processes. In-memory auth/search caches only live for that single process. Use `seal-use service restart` after updates so the optional local service picks up new code.\n- If no run is found by `sourceDocumentSN`, retry with `sourceDocumentId` or a broader `query`.\n- If date-based summaries look wrong, pass `--timezone Asia/Shanghai` and an explicit `--date`.\n- If `langfuseTraceId` is missing, use `langfuseSessionFallback`.\n- If a write operation fails, report the raw JSON error and do not retry with guessed payloads.\n";var wg0="# Approval Run Lightweight Queries\n\nUse this reference when the user gives a 合思/易快报单号, source document SN, record ID, simulation batch ID, or asks for an approval decision without needing the full raw run payload.\n\n## Locate A Run By Document Number\n\nPrefer `pick` before broad search + bridge + get.\n\n```bash\nseal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest\nseal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --batch <batchId> --latest\nseal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest --fields recordId,sourceDocumentSN,status,aiDecision,aiSummary\n```\n\nDefault output is intentionally small: `recordId`, `sourceDocumentSN`, `sourceDocumentId`, `simulationBatchId`, `status`, `taskMode`, `ruleSetVersionNumber`, `langfuseTraceId`, `manualResult`, `aiDecision`, and `aiSummary`.\n\nIf there are multiple candidates and `--latest` was not used, report the candidates and ask which one to inspect.\n\n## Read Compact Run Detail\n\nUse `--summary` for most diagnosis and support questions.\n\n```bash\nseal-use approval-runs get <recordId> --corp <corpId> --summary\n```\n\nUse `--fields` when the user needs a particular slice.\n\n```bash\nseal-use approval-runs get <recordId> --corp <corpId> --fields metadata\nseal-use approval-runs get <recordId> --corp <corpId> --fields document.fields,result.summary\nseal-use approval-runs get <recordId> --corp <corpId> --fields result.summary,result.decision,result.riskPoints\nseal-use approval-runs get <recordId> --corp <corpId> --fields document.keyFields,result,manualApprovalRecord,ruleSetVersionNumber\n```\n\nAvoid full `approval-runs get <recordId>` unless the user specifically needs raw document fields, pipeline logs, invoice rawData, or signed URLs. Prefer `--output-file` for full payloads.\n\n## Understand The Case First\n\nBefore pulling the full document, use:\n\n```bash\nseal-use approval-runs document-summary <recordId> --corp <corpId>\n```\n\nThis is for quick case reading: template/title, key fields, amount, expense type, cost company, payee, invoice summary, attachment names, AI result, and manual result.\n\n## Extract AI-Cited Rules\n\nUse this when the user asks \"AI 用了哪条规则\", \"为什么命中这条\", or needs the rule evidence for a specific run.\n\n```bash\nseal-use approval-runs cited-rules <recordId> --corp <corpId>\n```\n\nReturn and discuss `runtimeRuleId`, `ruleCode`, `versionNumber`, `scope`, `strictness`, `appliedAnalysis`, `checkResult`, and `findings` when present.\n\nIf the user then wants the full text of one cited rule, use `rules get --record-id <recordId> --runtime-id rule-205` from `rule-lightweight.md`.\n\n## Attachments Without Raw Payloads\n\nUse:\n\n```bash\n# 查看附件列表摘要(包含文件名、类型、大小及直链可用性)\nseal-use approval-runs attachments <recordId> --corp <corpId> --summary\n\n# 下载全部附件到本地目录(优先使用 ossSignedUrl 签名直链)\nseal-use approval-runs attachments download <recordId> --all --out-dir ./downloads --corp <corpId>\n\n# 按名称或 fileId 过滤下载单个附件\nseal-use approval-runs attachments download <recordId> --name 发票 --corp <corpId>\n```\n\nThis should be enough for file names, file IDs, mime types, positions, invoice/attachment grouping, and links when available. For customer disputes about OCR, receipt/invoice classification, or image content, switch to `approval-attachment-trace.md`.\n\n## Result Summary\n\nUse:\n\n```bash\nseal-use approval-runs result <recordId> --corp <corpId> --summary\n```\n\nThis is for decision, summary, risk point count, matched rule count, trace ID, and record ID.\n\n## Approval Run Web Links & SSO Links\n\nUse this when the user asks for a link to an approval run or wants to open the run directly in their browser:\n\n```bash\n# 默认推荐:生成干净的深度链接(无凭证、无越权风险,用户在已有登录状态的浏览器中直接打开)\nseal-use approval-runs url <recordId> --corp <corpId>\nseal-use approval-runs url --sn <sourceDocumentSN> --corp <corpId>\n\n# 仅当用户明确要求免密/跨浏览器/无登录直达且确认知晓安全风险时:生成携带单次临时票据的 SSO 直登链接\nseal-use approval-runs url <recordId> --sso [--expire 7200] --corp <corpId>\n```\n\n### SSO 链接安全与声明规范\n当向用户返回 `--sso` 链接时,Agent **必须**在回答中明确说明以下 4 点:\n1. **身份主体**:该链接代表哪个具体员工身份(如管理员姓名)登录。\n2. **权限范围**:该身份在 Seal AI 平台的全部权限范围(如完全操作权限)。\n3. **时效性**:临时 Ticket 换票时效(默认 2 小时,换票登录后会话有效 30 天)。\n4. **安全与防扩散边界**:该链接仅在 Seal AI 租户内生效,不代表合思主系统权限;严禁在公开或外部群聊中传播。\n\n> **链接输出要求**:无论返回普通深度链接还是 SSO 链接,必须同时提供纯文本代码块(` ```text ... ``` `)防止默认浏览器误点重定向,以及可点击的 Markdown 超链接。\n\n## Replay Run into Webhook for Regression Testing\n\nWhen diagnosing a bad case or verifying rule fixes, replay the historic run's structured fields and items back through a Webhook channel:\n\n```bash\n# 预览重放单据(无网络请求,清洗并规范化表单与明细类型)\nseal-use webhook replay <recordId> --dry-run --corp <corpId>\n\n# 执行重放,生成全新审批实例(支持自动附加单号后缀防重)\nseal-use webhook replay <recordId> [--webhook <idOrName>] [--sn-suffix '-retest'] --corp <corpId>\n\n# 跨企业提取:从生产企业提取单据并推送至测试企业 Webhook 进行回归验证\nseal-use webhook replay <recordId> --source-corp <prodCorpId> --corp <testCorpId>\n```\n\n## Output Discipline\n\nIf a command warns that output is large, do not retry with `--full` reflexively. Narrow with `--summary`, `--fields`, or `--output-file` first.\n";var Fg0=`# Approval Attachment Trace Investigation
Use this workflow when a customer disputes an AI approval finding about an attachment, invoice, receipt, OCR result, or a UI-highlighted audit result.
The goal is to locate where an imprecise claim first entered the pipeline. Do not jump directly from the final approval result to a rule change. Many issues start earlier in the attachment understanding or attachment review stages.
## Mental Model
Approval traces commonly contain these stages:
1. Source document rendering
- Seal converts the approval document into the Markdown-like "AI saw" document.
- This may include both structured invoice fields and raw attachment fields.
2. Rule matching
- Selects applicable rule scopes such as "存在发票或收据时" or "存在发票时".
- This stage is not the final source of attachment type judgments; it works from the rendered document.
3. Image understanding
- Vision model reads each image attachment and writes \`document_content\`.
- This is often where loose labels such as "发票(或收据)", "定额发票", "销售单", or "支付凭证" first appear.
4. Pre-analysis
- Generates \`attachmentInstructions\` and \`reviewPoints\` for later per-attachment review.
- This stage can matter when a later attachment review seems to ignore or override values already present in the generated review points.
5. Document parsing / attachment review
- A text model checks review points against the image-understanding text.
- If the review point already says "该附件(定额发票)", it usually inherited that label from the previous stage instead of independently classifying the original image.
- Check whether this stage uses values passed in the review point, or reclassifies the attachment and discards them.
6. Final approval review
- Produces \`rulesResult\`, summaries, and UI findings.
- Final findings can amplify earlier labels into business conclusions, for example "附件中存在定额发票未上传至发票栏位".
## Commands
Start from the Seal run and Langfuse trace.
\`\`\`bash
seal-use approval-runs search --corp <corpId> --query <sourceDocumentSN> --limit 50
seal-use approval-runs get <recordId> --corp <corpId> > /tmp/seal-run.json
seal-use approval-runs bridge --corp <corpId> --sourceDocumentSN <sourceDocumentSN>
\`\`\`
Refresh and inspect the Langfuse trace.
\`\`\`bash
langfuse-home call langfuse_trace_cache_refresh --json '{"traceId":"<traceId>"}'
langfuse-home call langfuse_trace_url_get --json '{"traceId":"<traceId>"}'
langfuse-home call langfuse_trace_outline_get --json '{"traceId":"<traceId>","includeInput":true,"includeOutput":true,"maxPreviewChars":800}'
\`\`\`
If \`langfuse_trace_qrep_search\` does not find Chinese terms reliably, grep the cached JSON directly.
\`\`\`bash
rg -n "发票未上传至发票栏位|附件中存在定额发票|检查该附件(定额发票)|<file-name-or-fileId>" \\
.cache/langfuse/traces/default/<traceId>.json
\`\`\`
Read focused IO for the relevant observations.
\`\`\`bash
langfuse-home call langfuse_observation_io_get --json '{"traceId":"<traceId>","observationId":"<observationId>","maxChars":30000}'
\`\`\`
## Separate Object IDs Before Judging
Never assume same-looking file names are the same object.
In Seal run detail, invoice-list entries and raw attachment entries can be separate objects:
- \`invoiceForm\` / \`发票列表\` entries often have source invoice IDs, invoice numbers, OCR-derived file names, \`verifyResult\`, \`fileInfo.fileType=invoice\`, and invoice metadata.
- \`attachments\` / \`附件\` entries often have UI file IDs such as \`file-7\`, Hose file IDs inside \`token\`, \`category=file\`, \`mimeType=image/jpeg\`, and their own OSS path.
Use \`jq\` to list them side by side.
\`\`\`bash
jq -r '
.document.fields[] | select(.key=="details") | .value[0][] | select(.key=="invoiceForm") | .value[] |
["invoiceForm", .sourceInvoiceId, .invoice.invoiceNumber, .invoice.fileInfo.fileName, .invoice.fileInfo.fileType, .invoice.fileInfo.ossPath, (.invoice.verifyResult.rawData | fromjson? | .form.sourceEntityId // "")] | @tsv
' /tmp/seal-run.json
\`\`\`
\`\`\`bash
jq -r '
.document.fields[] | select(.key=="details") | .value[0][] | select(.key=="attachments") | .value[] |
["attachments", .fileId, .name, .category, .mimeType, .ossPath, .token] | @tsv
' /tmp/seal-run.json
\`\`\`
When explaining the result, say precisely whether the disputed item is:
- a structured invoice-list object,
- a raw attachment object,
- or two distinct objects with similar file names/content.
## Find Where A Bad Label First Appeared
Search for the UI finding text and the disputed label.
\`\`\`bash
jq -r '
def walkobs(o): o, ((o.children // [])[] | walkobs(.));
.trace.observations[] | walkobs(.)
| select(((.input|tostring)+"\\n"+(.output|tostring))
| contains("发票未上传至发票栏位")
or contains("附件中存在定额发票")
or contains("检查该附件(定额发票)"))
| [.id,.name,.type,.startTime,((.output|tostring)|gsub("\\n";" ")|.[0:500])] | @tsv
' .cache/langfuse/traces/default/<traceId>.json
\`\`\`
Then inspect the earliest matching observation. Typical interpretation:
- \`image_understanding:ai.streamText\`: the vision stage first assigned the type label.
- \`pre_analysis:ai.streamText\`: the instruction-generation stage turned matched rules and parsed attachments into per-file \`reviewPoints\`; this is where attachment-side values or labels can be copied into prompts.
- \`document_parsing:ai.streamText\`: the attachment review inherited the label in its review point or document content.
- \`approval_review:ai.streamText\`: the final model converted inherited labels into a rule finding.
## Check Pre-Analysis For Amount-Total Disputes
When the customer says the AI "did not recognize the correct amount", "missed one payment screenshot", or "the total should be X", start with the normal trace: source document, image understanding, attachment review, and final review. Inspect \`pre_analysis\` when the evidence suggests the disputed amount was recognized earlier but later ignored, or when final review is aggregating inconsistent per-attachment conclusions. Treat this as a possible failure mode, not as the default cause.
Find the node:
\`\`\`bash
jq -r '
def walkobs(x; depth): (x + {depth: depth}), ((x.children? // [])[] | walkobs(.; depth+1));
.trace.observations[] | walkobs(.; 0)
| select(.name? | test("pre_analysis"))
| [.startTime,.id,.name,.type,.parentObservationId,((.input|tostring|length)//0),((.output|tostring|length)//0)] | @tsv
' .cache/langfuse/traces/default/<traceId>.json
\`\`\`
Then inspect its output for the disputed file and rule:
\`\`\`bash
jq -r '
def walkobs(x): x, ((x.children? // [])[] | walkobs(.));
.trace.observations[] | walkobs(.)
| select(.name? == "pre_analysis:ai.streamText")
| .output
' .cache/langfuse/traces/default/<traceId>.json | rg -n "fileId|fileName|<file-name>|付款截图金额|收款金额|金额合计"
\`\`\`
Look for these failure patterns:
- A global aggregate requirement was split into per-attachment review points, for example each attachment is asked whether its amount plus "other attachments" reaches the reimbursement amount.
- The pre-analysis prompt says not to write attachment OCR/image-understanding candidate values into review points, but the output still includes values such as "付款截图金额(1850.00元)" or labels such as "收款凭证".
- The same physical image appears twice because it exists under both form-level attachments and fee-detail attachments, producing duplicate \`fileId\`s and potentially inconsistent later judgments.
- \`pre_analysis\` passes a value down, but \`document_parsing\` reclassifies the file and ignores that value, for example a review point says "付款截图金额(1850.00元)" while the parser answer says "收款凭证,非付款截图".
For these cases, the amount may not be lost in OCR or image understanding. It may be lost when a later attachment-review node overrides the pre-analysis task premise, or when final approval review aggregates inconsistent per-file conclusions. For concrete examples, see \`approval-bad-cases.md\`.
## Check Images When The Dispute Is Visual
If the issue depends on whether an image is a receipt or invoice, inspect the raw image. Do not rely only on the model's textual description.
Extract raw attachment signed URLs from \`/tmp/seal-run.json\` and download the disputed files.
\`\`\`bash
jq -r '
.document.fields[] | select(.key=="details") | .value[0][] | select(.key=="attachments") | .value[] |
select(.fileId=="file-7" or .fileId=="file-9") |
[.fileId,.name,.ossSignedUrl] | @tsv
' /tmp/seal-run.json
\`\`\`
Look for invoice-specific elements:
- "发票" text in the title
- invoice code / invoice number
- tax bureau supervision seal
- tax invoice QR/code metadata
- buyer/seller tax information
- taxable amount / tax rate / tax amount fields
If those are absent and the document is a store-stamped handwritten slip, it is safer to call it a receipt or sales voucher, not a formal invoice.
## Reporting Pattern
When answering the user, separate:
- What the final UI finding says.
- The first pipeline stage where the disputed claim appeared.
- Whether the disputed file is a raw attachment or a structured invoice-list object.
- Whether the raw image supports the claim.
- Whether the final decision still stands for other independent reasons.
Example wording:
\`\`\`text
The UI finding was produced in final approval review, but the imprecise label started earlier:
image_understanding labeled file-9 as "定额发票"; document_parsing then inherited that as "该附件(定额发票)"; approval_review converted it into the rule-3 finding.
The raw attachment object itself is not structurally marked as invoice; it is category=file, mimeType=image/jpeg. The image lacks formal invoice elements, so the customer's receipt interpretation is reasonable.
\`\`\`
## Case Note: Receipt-Like Attachments Labeled As Invoices
This case involved a UI finding:
\`\`\`text
发票未上传至发票栏位:附件中存在定额发票(金额160元、90元),但未上传至发票栏位。
\`\`\`
Important correction:
- \`file-7\` and \`file-9\` were raw attachment objects, not the same objects as the invoice-list entries.
- The invoice list had separate IDs (\`ID01P95oy1RWbB\`, \`ID01P95oy22hnV\`).
- The raw attachments had separate file IDs (\`file-7\` / Hose \`ID01P95CwuNGLJ\`, and \`file-9\` / Hose \`ID01P95RUC9T79\`).
Root of imprecision:
- \`file-7\` was first described by \`image_understanding\` as "发票(或收据)", then later attachment review used "定额发票".
- \`file-9\` was directly described by \`image_understanding\` as "定额发票".
- Final \`approval_review\` turned those inherited labels into the rule-3 UI warning.
Manual image check:
- The 160 and 90 slips looked like store-stamped handwritten receipts/sales vouchers.
- They lacked obvious formal invoice elements.
- The customer's objection that they were receipts rather than invoices was reasonable.
However, the final rejection also had an independent rule-37 reason: payment screenshots totaled 699.48 while reimbursement was 700.00.
`;var Og0=`# Customer Feedback Rule Remediation
Use this low-freedom workflow when the user provides packaged customer feedback from WeChat, screenshots, rejection notifications, a document number, or expected business behavior and wants diagnosis or an approval-rule change.
## Workflow states
Follow these states in order:
1. \`EVIDENCE_RECEIVED\`
2. \`TENANT_RESOLVED\`
3. \`RUN_RESOLVED\`
4. \`CAUSE_CLASSIFIED\`
5. \`PATCH_PROPOSED\`
6. \`PATCH_CONFIRMED\`
7. \`DRAFT_UPDATED\`
8. \`VERSION_PUBLISHED\`
9. \`VERSION_VERIFIED\`
Stop at \`PATCH_PROPOSED\` unless the user explicitly approves the exact change and publication. A request to analyze, explain, or propose does not authorize a rule update or publish.
## 1. Normalize the evidence package
Extract only facts supported by the supplied package:
- Customer or enterprise hints
- Source document number
- Submitter and document template when visible
- AI rejection or disputed finding
- Customer-stated business behavior
- Screenshots, invoices, or attachments relevant to the dispute
- Requested action: analysis, proposal, update, or publish
Treat chat text as the customer's expected behavior, not proof of the current Seal rule or tenant identity.
## 2. Resolve and lock the enterprise
When the customer feedback mentions or hints at the enterprise name, resolve it directly with targeted search rather than dumping the full enterprise list:
\`\`\`bash
# 优先:按已知企业名称/关键字精确定位目标企业
seal-use corps search <enterpriseName>
# 仅当企业名称完全未知且没有任何线索时才回退至全量列表
seal-use corps list
\`\`\`
If the enterprise is named, resolve its exact \`corpId\`. If the enterprise is unclear but a source document number exists, run compact \`approval-runs pick\` queries across configured tenants and select the tenant that actually contains the document.
After resolution, pass the exact \`--corp <corpId>\` to every command. Do not rely on the current/default tenant.
Report the enterprise name, \`corpId\`, and how it was resolved.
## 3. Resolve the approval run
Start compactly:
\`\`\`bash
seal-use approval-runs pick --corp <corpId> --sn <sourceDocumentSN> --latest
seal-use approval-runs get <recordId> --summary --corp <corpId>
seal-use approval-runs document-summary <recordId> --corp <corpId>
seal-use approval-runs result <recordId> --summary --corp <corpId>
seal-use approval-runs cited-rules <recordId> --corp <corpId>
\`\`\`
Read attachment summaries only when the dispute depends on invoices, receipts, OCR, file type, or upload position. Use the run's historical \`ruleSetVersionNumber\`; do not explain a historical decision from the current draft alone.
## 4. Classify the cause
Classify the issue before proposing a change:
- \`SOURCE_DATA\`: source fields are wrong or incomplete.
- \`ATTACHMENT_UNDERSTANDING\`: OCR, vision, or attachment classification introduced the disputed fact.
- \`RULE_DEFINITION\`: the rule is missing, ambiguous, contradictory, or too broad.
- \`MODEL_INTERPRETATION\`: the supplied rule covers the case, but the model invented or misapplied a requirement.
- \`SYSTEM_LOGIC\`: deterministic preprocessing, grouping, or aggregation produced the wrong review unit or values.
When the editable boundary is rules only, say whether a rule-only mitigation can block the observed false positive and state any residual system limitation.
## 5. Trace only when needed
Use the Langfuse workflow from \`approval-attachment-trace.md\` when:
- The final decision contradicts the supplied rule.
- Cited rules are missing or incomplete.
- A disputed requirement may have entered during pre-analysis.
- The finding depends on attachment understanding.
Identify the final UI finding, the earliest stage where the disputed claim appeared, the exact rule supplied to final review, and whether final review followed or contradicted it.
## 6. Design the minimal rule patch
Fetch and compare:
- The historical rule version used by the disputed run.
- The latest published version.
- The current draft rule, including its stable rule ID.
Apply these defaults:
1. Preserve \`scope\`.
2. Preserve \`strictness\`.
3. Preserve every unrelated description clause.
4. Change only the narrowest sentence needed to block the reproduced false positive.
5. Put an exception or negative constraint next to the clause that was misinterpreted.
6. If the rule already states a positive allowance but the model still rejects it, add a narrow \`不得因……驳回或建议复核\` constraint covering the actual failure mode.
7. Do not add new business requirements, broad examples, or unrelated exceptions without explicit user direction.
Show a description-only unified diff by default:
\`\`\`diff
unchanged text
+minimal added or changed sentence
unchanged text
\`\`\`
State the target enterprise, target rule ID, changed fields, preserved fields, expected behavior, and residual limitation.
## 7. Mutation gate and concurrency check
Do not update until the user explicitly approves the exact diff.
Immediately before updating:
1. Fetch the current draft rule again.
2. Confirm its rule ID, description, scope, strictness, and status.
3. Compare the current description with the reviewed \`before\` text.
4. Stop if the rule changed concurrently or more than one rule matches the target.
## 8. Update and verify the draft
Send only approved fields. For a description-only change:
\`\`\`bash
seal-use tool seal_approval_rule_update --corp <corpId> \\
--json '{"ruleId":"<ruleId>","description":"<confirmed description>"}'
\`\`\`
Do not send \`scope\` or \`strictness\` when they are unchanged. Fetch the draft again and verify the exact description, scope, strictness, and draft status before publishing.
For a complete local rule-set sync, \`rules push\` is incremental: it matches pulled rules by stable \`id\`, updates only changed fields, creates new entries, and removes entries omitted from the local file. It preserves matched rule IDs and does not recode the whole draft. Preview it with \`rules push --dry-run\` before applying.
## 9. Publish and verify
Publish only when explicitly authorized:
\`\`\`bash
seal-use tool seal_approval_rule_version_publish --corp <corpId> \\
--json '{"versionName":"<specific business change>"}'
\`\`\`
Verify after publishing:
- The new version is latest.
- Version number and version name are correct.
- Rule count is unchanged unless intentionally modified.
- The target rule contains the exact confirmed description.
- The target rule's \`scope\` and \`strictness\` are unchanged.
Do not automatically rerun or resubmit the customer's production document. Run a simulation or regression only when separately requested and authorized.
## Final response contract
Return a compact report containing:
- Enterprise and source document number
- Root-cause classification
- Target rule and exact changed text
- New version number and version name, if published
- Verification result
- Whether a regression rerun was performed
`;var Mg0=`# Enterprise Onboarding
Read this reference for first installation, zero configured enterprises, incoming credentials or assistance links, and browser-copied cURL. The goal is to identify the enterprise with the least user effort while keeping authentication material confidential.
## Start With Discovery
Run this before asking for setup parameters (if \`seal-use\` is not installed, first run \`curl -fsSL https://git.ying-qing.cn/gitea/seal-use/raw/branch/main/scripts/install.sh | bash\`):
\`\`\`bash
seal-use version
# 当用户已提及企业名称或关键字时,优先运行精准搜索:
seal-use corps search <keyword> [--env production|test]
# 仅在完全没有企业线索或初次安装引导时运行全量列表:
seal-use corps list
# 查看目标企业完整富属性(含 Seal 域名、租户 Slug、合思域名、配置来源路径等,安全脱敏):
seal-use corps get <corpId>
\`\`\`
- If \`seal-use\` is not installed on the system, run the curl install script above to install it.
- If the user provided an enterprise name or keyword, prioritize \`seal-use corps search <keyword>\` to locate it without dumping all enterprises. Match the user's human enterprise name to its returned \`id\` and use that value as \`--corp\` on every command. Do not ask the user for \`corpId\`.
- If zero enterprise context is known, run \`seal-use corps list\`.
- To inspect full endpoint URLs, tenant slug, config file location, and staff bindings of a configured enterprise, run \`seal-use corps get <corpId>\`.
- If multiple configured enterprises plausibly match, show their human names and let the user choose. Keep their IDs as implementation details.
- If none are configured, ask one plain-language question: “你现在手上有哪一种接入材料:合思开放平台 appKey/appSecurity、合思授权/协助链接、Seal 协助链接,还是从已登录的合思或 Seal 网页复制的 cURL?”
Do not open with a JSON template or a list of internal fields.
All command examples in this reference are for the Agent to run. Do not hand them to the user as setup instructions. Communicate with the user in natural language and translate their answer into CLI/MCP parameters yourself.
## Keep Two Concepts Separate
Classify both the enterprise identity origin and how the current credential was acquired:
| Enterprise identity origin | Credential material the user may have | Meaning |
| --- | --- | --- |
| Hose/合思-sourced Seal tenant | Hose \`appKey\` + \`appSecurity\` | Stable, refreshable standard integration |
| Hose/合思-sourced Seal tenant | Hose authorization/assistance link | Temporary Hose authorization that can lead into the Seal SSO session |
| Hose/合思-sourced Seal tenant | cURL copied from an authenticated Hose or Seal page | Snapshot of a signed-in browser session; it may expire |
| Seal-native tenant | Seal assistance/delegation link | Temporary delegated access to a Seal tenant |
| Seal-native tenant | cURL copied from an authenticated Seal page | Snapshot containing the Seal host and session authentication |
Credential shape alone does not define identity origin. In particular, a Hose-sourced user eventually receives a Seal Bearer session after SSO. When \`whoami\` returns provider metadata, preserve it and use it to describe the tenant accurately.
## Parameter Ownership
Ask the user only for information that cannot be discovered safely:
| Field | Owner and behavior |
| --- | --- |
| \`appKey\`, \`appSecurity\` | User supplies these for standard Hose OpenAPI onboarding. Explain that they come from the enterprise's 合思开放平台 application credentials. Treat both as secrets. |
| \`domain\` | Probe the standard Hose SaaS domains automatically. Ask only when probing fails and the enterprise uses a private or dedicated deployment. |
| Enterprise name and \`corpId\` | Discover from the credential response or Seal \`whoami\`. Do not ask the user to invent or locate them first. |
| Administrator and \`staffId\` | Discover administrator candidates. If more than one is eligible, present name and masked phone for the user to choose; pass the selected ID internally. |
| Seal URL, tenant ID, tenant slug | Discover from the assistance link, cURL host, and Seal \`whoami\`. |
| Bearer token, cookies, signed query tokens | Extract only from user-supplied authentication material. Never print them back or include them in summaries. |
## Route 1: Standard Hose Credentials
This is the preferred durable route for a Hose-sourced tenant. Read \`hose-enterprise-init.md\`, then use:
\`\`\`bash
seal-use corps add-hose --json '{"appKey":"...","appSecurity":"..."}'
\`\`\`
The CLI probes the standard domains, discovers the corporation, and discovers administrator candidates. If it returns multiple candidates, show only useful identifying information and ask which person should be used; retry with \`staffName\`, \`staffPhone\`, or the selected \`staffId\` internally. After creation, run:
\`\`\`bash
seal-use auth diagnose --corp <discovered-id>
\`\`\`
Do not ask for \`domain\`, \`corpId\`, or \`proxyStaffBizId\` up front. For a dedicated/private Hose deployment, add \`domain\` only after standard probing reports that it cannot find the enterprise.
## Route 2: Incoming Assistance Link & Hose Subdomain Privilege Elevation
First distinguish the link by its host, purpose, and identity origin:
- A **Hose/合思 authorization/assistance link** (\`https://<domain>/web/thirdparty.html?...\`) opens an upstream Hose session and may continue through Seal SSO. It is not a Seal delegation link.
- A **Seal-native assistance/delegation link** grants temporary delegated access on a Seal tenant. It is not a Hose credential and cannot be elevated to Hose OpenAPI credentials.
- **Hose Subdomain Boundary (合思子域专属提权)**: \`seal-use\` primarily manages Seal tenants. Tenants sourced from the Hose ecosystem have an upstream Hose enterprise backing them. A received Hose assistance link contains only a temporary session \`accessToken\`. If you run standard \`corps add-link\`, it exchanges that temporary token for a short-lived Seal Bearer token—sufficient for basic Seal inspection, but it will expire and cannot call any Hose OpenAPI.
- **Privilege Elevation (权限等级提升)**: To elevate from a short-lived session token to permanent, durable Hose OpenAPI developer credentials, use \`corps extract-keys <url> --save\` or \`corps add-link <url> --as-hose\`. This leverages Hose's internal key interface (\`GET /api/innerapi/v1/key\`) using the session token to retrieve the enterprise's OpenAPI \`appKey\` and \`appSecurity\`. Once saved, the enterprise is upgraded to a standard Hose configuration with full OpenAPI support (e.g. \`corps sync-hosecloud\`).
- **Multi-Key Disambiguation (多套密钥明确抉择)**: If the enterprise owns multiple application keys, the CLI **will not** guess or silently pick the first key. Instead, it terminates with an informative candidate list and requires the user to specify \`--app-key <key>\` or \`--key-id <id>\`. If only one key exists, it is selected automatically.
- **Non-Hose Tenants Blocked**: Calling \`keys\` on native Seal enterprises (\`corp.source.type !== "hose"\`) is strictly rejected with exit code 2, explaining that this capability belongs exclusively to the Hose ecosystem.
### Command Usage
\`\`\`bash
# 1. 提取密钥并脱敏查看(合思子域能力):
seal-use corps extract-keys "https://wx2.ekuaibao.com/web/thirdparty.html?accessToken=...&ekbCorpId=..."
# 2. 显式完整查看密钥明文(--reveal / -r):
seal-use corps extract-keys "<url>" --reveal
# 3. 提权保存为标准持久化合思企业配置:
seal-use corps extract-keys "<url>" --save [--name "企业名称"] [--overwrite]
# 或简写为:
seal-use corps add-link "<url>" --as-hose [--name "企业名称"]
# 4. 多套密钥存在时,显式指定具体应用密钥:
seal-use corps extract-keys "<url>" --save --app-key "ekb_app_..."
# 或按 key ID 选取:
seal-use corps extract-keys "<url>" --save --key-id "key_id_..."
# 5. 查看已配置合思企业当前使用的应用密钥:
seal-use corps keys <corpId> [--reveal]
seal-use auth keys --corp <corpId> [--reveal]
\`\`\`
When using standard \`add-link\` (without \`--as-hose\`), it exchanges the temporary Hose token at the target Seal tenant, verifies \`/api/v1/auth/me\`, and stores only the normalized short-lived Seal session. When \`--as-hose\` or \`extract-keys --save\` is used, the CLI executes Hose subdomain privilege elevation to register a durable standard Hose configuration.
Assistance links are credentials. Do not follow a link merely to inspect it when the user's request was only explanatory, and never publish, log, or commit it.
## Route 3: Browser F12 cURL
When the user needs capture instructions, give these concrete steps:
1. Open the already signed-in Hose or Seal page.
2. Open browser developer tools: \`F12\` on many keyboards, or \`Option+Command+I\` on macOS.
3. Open **Network**, then select **Fetch/XHR**.
4. Refresh the page or perform one ordinary read-only business action.
5. Choose a successful business API request from the relevant tenant, not analytics, static assets, upload, delete, publish, or logout requests.
6. Right-click it and choose **Copy → Copy as cURL**.
7. Send that complete cURL only to the local trusted Agent handling setup.
When receiving cURL:
1. Treat the entire cURL as a secret. Do not echo it, execute it blindly, paste it into another service, or store it in repository files.
2. Parse it as data. Extract the request host, path, \`Authorization\` header, cookies, and provider/tenant hints. Ignore the request body unless it is required to identify the tenant.
3. Classify whether the captured request is to Hose or Seal. A Seal request with \`Authorization: Bearer ...\` can supply \`sealUrl\` and a session token even when the user's identity origin is Hose.
4. Verify with the narrowest read-only identity endpoint available. For a Seal Bearer session, verify \`/api/v1/auth/me\` through \`seal-use corps add-seal\`; use returned provider metadata to retain the actual origin.
5. Persist only the normalized minimum configuration needed by seal-use. Do not preserve the raw cURL, unrelated headers, request body, cookies, or signed URL.
For a verified Seal Bearer captured from cURL, the existing CLI route is:
\`\`\`bash
seal-use corps add-seal --json '{"sealUrl":"https://target-tenant.example","token":"<bearer>"}'
\`\`\`
The current CLI has no raw-cURL import command and \`add-seal\` requires a Bearer token. If the captured request contains only cookies or an authentication shape the CLI cannot verify, do not improvise a token. Ask the user to copy another successful Seal Fetch/XHR request that contains the Bearer header, or explain the current limitation.
## Verify and Hand Off
After adding an enterprise:
\`\`\`bash
seal-use corps list
seal-use corps current --corp <discovered-id>
seal-use auth diagnose --corp <discovered-id> # Hose source
\`\`\`
Report the human enterprise name, identity provider, credential method, and whether verification succeeded. Do not expose internal IDs unless they help with troubleshooting. Do not perform approval, rule, document, simulation, publishing, or other business mutations just because onboarding succeeded; continue only with the user's requested task and its normal confirmation rules.
If a temporary assistance-link or browser session expires, explain that it must be renewed or recaptured. Recommend standard Hose app credentials when the user needs durable unattended access.
`;var Ng0=`# Hose Enterprise Auth
Use this reference for Hose/合思 enterprise configuration and user-facing Hose authorization links.
## Add or switch an enterprise
Use the CLI for normal enterprise setup. Do not inspect source code or hand-edit \`~/.config/seal-use/enterprises/*.json\` unless the CLI fails or the user explicitly asks for low-level config debugging.
For first-time setup or when the user has an assistance link or browser cURL instead of standard application credentials, read \`enterprise-onboarding.md\` first. This reference's \`add-hose\` route is specifically for durable Hose OpenAPI credentials.
\`\`\`bash
seal-use corps add-hose --json '{"appKey":"...","appSecurity":"..."}'
seal-use corps list
seal-use corps current --corp <corpId>
seal-use corps switch <corpId>
\`\`\`
\`corps add-hose\` probes standard domains and discovers the enterprise automatically. If it returns multiple administrator candidates, present their names and masked phones for the user to choose, then retry with \`staffName\`, \`staffPhone\`, or the selected \`staffId\`. Do not ask for \`domain\`, \`corpId\`, \`staffId\`, or \`proxyStaffBizId\` before discovery. Ask for a dedicated/private-cloud \`domain\` only after standard probing fails.
The command verifies by default and writes the enterprise config. If the user says not to operate business logic, stop at \`corps\` and auth/config commands; do not run approval, rule, document, simulation, or approval-run commands.
## Diagnose authentication
\`\`\`bash
seal-use auth diagnose --corp <corpId>
\`\`\`
Read the JSON \`stages\` in order:
- \`hose.openapi\`: appKey/appSecurity can get a Hose OpenAPI token and corporation ID.
- \`hose.provisional\`: \`proxyStaffBizId\`/staff ID can get a provisional auth URL.
- \`seal.sso\`: Seal accepts the Hose provisional token and returns a bearer session.
- \`seal.whoami\`: the Seal bearer can read current user and tenant.
Do not expect tokens in the output; the command intentionally redacts or omits them.
## Get a Hose authorization link
When the user asks for a 合思/易快报授权链接、登录链接、入口链接, or says "来一个授权链接" for a Hose sourced enterprise, return the Hose provisional/CloseAPI URL from \`getProvisionalAuth\`'s \`value.message\`.
Flow:
1. Obtain an OpenAPI token with appKey/appSecurity:
\`\`\`text
POST /api/openapi/v1/auth/getAccessToken
body: {"appKey":"...","appSecurity":"..."}
\`\`\`
2. Call provisional auth:
\`\`\`text
POST /api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=<openapi-token>
body: {"uid":"corpId:staffId","pageType":"home","expireDate":7200}
\`\`\`
3. Return the exact \`value.message\` URL.
Important:
- Do not return the Seal tenant URL such as \`https://<tenant>.sealai.cc\`; that is not the Hose authorization link.
- Do not manually assemble \`thirdparty.html\` with a global/OpenAPI token.
- \`seal-use auth diagnose\` proves this stage works but redacts the token, so it is not enough when the user needs the actual clickable Hose link.
- **Formatting Requirement**: When returning a Hose authorization link to the user, ALWAYS provide BOTH a code block (\` \`\`\`text ... \`\`\` \`) for easy copying without accidental default browser redirection, AND a clickable hyperlink.
- If the CLI later provides a dedicated command for this, prefer that command.
`;var Dg0=`# Hose Enterprise Initialization & Automated Discovery
Use this reference for automated Hose/合思 enterprise onboarding, multi-domain probing (including dedicated private cloud domains like 美年大健康), OpenAPI role and staff discovery, and non-TUI safe administrator selection.
---
## 1. Domain Tiering & Probing Strategy
合思在不同公有云和专有云平台部署了不同的服务端域名。系统采用 **三级域名决策模型**:
\`\`\`mermaid
flowchart TD
A["输入参数: appKey, appSecurity, [domain]"] --> B{"是否显式提供了 domain?<br/>(如美年大健康等专有云/独立部署域名)"}
B -->|是 (专属域名优先)| C["直接针对该 domain 验证"]
B -->|否 (未指定)| D["并发探测 6 大标准公共 SaaS 域名"]
D --> E{"是否有且仅有 1 个域名验证成功?"}
E -->|是| F["自动锁定该域名为目标 domain"]
E -->|否 (全部返回 403 / 失败)| G["❌ 友好降级提示:<br/>'在标准合思 SaaS 环境中未检测到有效凭证。<br/>若是专属域名或私有化部署环境(如美年大健康),请显式提供企业专属 domain。'"]
\`\`\`
### 预置 6 大标准公共 SaaS 域名池(仅作缺省探测使用):
1. \`https://app.ekuaibao.com\` (合思独立版 / 标准版)
2. \`https://dd2.hosecloud.com\` (钉钉版)
3. \`https://wx2.ekuaibao.com\` (企业微信版)
4. \`https://kdcloud2.ekuaibao.com\` (云之家版)
5. \`https://ddenterprise.ekuaibao.com\` (钉钉企业自建应用)
6. \`https://feishu.ekuaibao.com\` (飞书版)
---
## 2. 核心 OpenAPI 接口契约
| 阶段 | 接口用途 | Method & URL 规范 | 关键参数 | 注意事项 |
| :---: | :--- | :--- | :--- | :--- |
| **1** | 获取开放凭证 | \`POST {domain}/api/openapi/v1/auth/getAccessToken\` | \`appKey\`, \`appSecurity\` | 确定有效 \`domain\`、\`corpId\` 与 \`accessToken\` |
| **2** | 查询角色组与角色 | \`GET {domain}/api/openapi/v1/roleDefGroups?accessToken=...\` | \`accessToken\` | 获取企业全部角色分组及 RoleDefId |
| **3** | 查询角色成员 ID 列表 | \`GET {domain}/api/openapi/v1/roledefs/\${roledefId}?accessToken=...&staffBy=id\` | \`accessToken\`, \`roledefId\` | **URL 中必须带有字面量 \`$\` 字符**(如 \`/roledefs/$ID01...:admin\`) |
| **4** | 批量查询人员详情 | \`POST {domain}/api/openapi/v1/staffs/getStaffIds?accessToken=...\` | \`{"type": "STAFFID", "conditionIds": [...]}\` | 批量单次上限 100,返回姓名、手机号、是否激活(\`authState\`)、第三方 ID |
| **5** | 生成临时免密凭据 | \`POST {domain}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=...\` | \`{"uid": "{corpId}:{staffId}", "pageType": "home", "expireDate": 7200}\` | 用于 Seal SSO 换取 Session 会话 |
---
## 3. CLI 探测与人员发现命令
### 1) 企业探测与角色发现 (\`corps probe-hose\`)
\`\`\`bash
seal-use corps probe-hose --json '{
"appKey": "...",
"appSecurity": "...",
"domain": "https://custom.ekuaibao.com" # 可选,未传时自动探测 6 域名
}'
\`\`\`
* **输出**:自动探测匹配的 \`domain\`、企业 ID \`corpId\`、企业名称 \`name\`、角色总数以及完整的角色分组列表。
### 2) 按角色查询候选员工 (\`corps hose-staffs\`)
\`\`\`bash
# 默认查询主管理员角色 (admin)
seal-use corps hose-staffs --json '{
"appKey": "...",
"appSecurity": "...",
"role": "admin"
}'
# 查询指定业务角色 (如 "财务主管"、"采购申请权限" 或具体 roleDefId)
seal-use corps hose-staffs --json '{
"appKey": "...",
"appSecurity": "...",
"role": "财务主管"
}'
\`\`\`
* **输出**:返回匹配角色下所有人员的详情列表,包含 \`id\` (\`corpId:staffId\`)、\`name\`、\`cellphone\`、\`active\`(是否在职)、\`authState\`(是否激活)。
---
## 4. 安全选人与防静默绑定规范 (Anti-Silent Guard)
为了防止越权及未授权账号绑定,系统实施**严格的人员选定与安全确认机制**:
1. **若用户在初始指令中已指名(姓名或手机号)**:
\`\`\`bash
seal-use corps add-hose --json '{
"appKey": "...",
"appSecurity": "...",
"staffName": "于光泽"
}'
\`\`\`
* 系统通过角色人员列表匹配:若**唯一匹配且 \`active == true\`**,直接绑定该 \`staffId\` 完成接入。
2. **若用户未指定且存在多位候选管理员**:
\`\`\`bash
seal-use corps add-hose --json '{
"appKey": "...",
"appSecurity": "..."
}'
\`\`\`
* 系统**严禁静默默认挑选第一个管理员**;
* 命令会以错误形式退出,并列出所有候选管理员详情(姓名、手机号、ID、激活状态);
* Agent 应将候选人列表以结构化形式呈现给用户确认,待用户选定后,传入 \`staffId\` 或 \`staffName\` 再次执行。
3. **若已知目标人员 ID**:
\`\`\`bash
seal-use corps add-hose --json '{
"appKey": "...",
"appSecurity": "...",
"staffId": "ID01OZVhtzekb5:ID01K9vHULqNj1"
}'
\`\`\`
* 直接使用指定 ID 完成接入并进行连通性验证。
`;var Bg0={"SKILL.md":Zg0,"agents/openai.yaml":Wg0,"references/rule-lightweight.md":Xg0,"references/approval-bad-cases.md":Vg0,"references/cli.md":Lg0,"references/approval-run-lightweight.md":wg0,"references/approval-attachment-trace.md":Fg0,"references/customer-feedback-rule-remediation.md":Og0,"references/enterprise-onboarding.md":Mg0,"references/hose-enterprise-auth.md":Ng0,"references/hose-enterprise-init.md":Dg0};function Tg0(){return Bg0["SKILL.md"]||""}function Tq(){return Rd(Ag0(),".agents","skills","seal-use")}function Eg0(){return Rd(Ag0(),".agents","skills","seal-home")}function jg0(){let $=Eg0();if(_d($))try{return cb1($,{recursive:!0,force:!0}),!0}catch{return!1}return!1}function Cd($=Tq()){jg0(),Pg0($,{recursive:!0});let Y=[];for(let[q,z]of Object.entries(Bg0)){let J=Rd($,q);Pg0(db1(J),{recursive:!0}),pb1(J,z,"utf8"),Y.push(q)}return{targetDir:$,files:Y}}function vd(){let $=Eg0(),Y=Tq(),q=_d($),z=_d(Y);if(q||z)return jg0(),Cd(Y),{synced:!0,targetDir:Y};return{synced:!1}}var hd=[{name:"配置与状态根目录",category:"config",standardPath:"~/.config/seal-use",purpose:"用户本地持久化配置根目录,存放企业连接元数据、会话缓存与全局状态。",accessMode:"read-write",retention:"persistent"},{name:"企业配置文件目录",category:"config",standardPath:"~/.config/seal-use/enterprises",purpose:"存放各已添加企业的配置 JSON 文件(如 xiezihao.json),存储企业域名、脱敏 Token、员工绑定关系等。",accessMode:"read-write",retention:"persistent"},{name:"全局配置文件",category:"config",standardPath:"~/.config/seal-use/config.json",purpose:"维护全局工作模式(stateful/stateless)、默认激活企业 defaultCorpId 以及 Lint 偏好。",accessMode:"read-write",retention:"persistent"},{name:"会话凭据安全缓存",category:"config",standardPath:"~/.config/seal-use/seal_tokens.json",purpose:"缓存已认证租户的 Bearer Token 与过期时间戳,避免高频调用上游 OAuth 换票接口。",accessMode:"read-write",retention:"cache"},{name:"规则版本映射快照",category:"config",standardPath:"~/.config/seal-use/mappings",purpose:"存储 corps sync-test 生成的生产与测试规则版本/编号对照映射快照,供 rules map 离线毫秒级速查。",accessMode:"read-write",retention:"persistent"},{name:"后台守护服务日志",category:"config",standardPath:"~/.config/seal-use/service.log",purpose:"常驻后台 HTTP 服务守护进程运行输出日志。",accessMode:"read-write",retention:"persistent"},{name:"全局命令行程序",category:"binary",standardPath:"/opt/homebrew/bin/seal-use",purpose:"macOS / Linux 全局独立单文件二进制程序;附带软链接 seal-home -> seal-use 兼容旧指令。",accessMode:"executable",retention:"persistent"},{name:"AI Agent 技能主目录",category:"skill",standardPath:"~/.agents/skills/seal-use",purpose:"面向 Antigravity、Codex 等 AI 智能体的标准技能目录,包含 SKILL.md、参考文档与操作规程。",accessMode:"read-write",retention:"persistent"},{name:"报表默认导出目录",category:"export",standardPath:"~/Downloads",purpose:"执行 approval-runs export 等大盘报表命令且未指定 --out 时,默认写入的 Excel 文件路径。",accessMode:"read-write",retention:"persistent"},{name:"系统隔离临时目录",category:"temp",standardPath:"/tmp 或 /var/folders/.../T",purpose:"自动化测试(bun test)生成的隔离工作副本,执行完毕后通过 afterEach 钩子彻底删除,零残留。",accessMode:"transient",retention:"ephemeral"}],gd=[{topic:"敏感凭据脱敏保护",guarantee:"appSecurity、password 等高危密钥永不回显在 stdout,Session Token 采用掩码处理(如 5oUL...Y%3D)。",enforcement:"CLI 所有展示接口(corps get、corps list、probe 等)均经 formatSafeSourceDetail 脱敏过滤。"},{topic:"正式环境与测试环境严格隔离",guarantee:"正式企业与测试企业必须严格 1 对 1 下挂,禁止多层级级联绑定;环境标记需显式 --confirm 确认。",enforcement:"corps bind-test 与 mark 强制要求 --confirm,缺少时阻断并返回退出码 10(confirmationRequired)。"},{topic:"跨环境规则同步安全基线",guarantee:"corps sync-test 仅将正式企业偏好与规则覆盖同步至测试企业并自动发布,正式企业规则严格维持草稿态永不发布。",enforcement:"规则同步流水线由 sync-test 独占受控,正式环境端仅执行拉取草稿读取操作,零发版变更。"},{topic:"只读诊断无副作用原则",guarantee:"doctor、search、get、list、context、probe 等命令为严格只读操作,不修改用户本地文件系统,零写入污染。",enforcement:"核心领域函数严格分离 Mutation 操作与 Query 操作,Query 路径杜绝写文件与环境篡改。"}],Sd=[{domain:"corps (企业管理)",summary:"多租户接入、智能软搜索、富属性查看、环境标记、测试绑定与配置规则同步",primaryCommands:["corps list","corps search <query>","corps get <corpId>","corps mark","corps bind-test","corps sync-test"]},{domain:"approval-runs (审核大盘)",summary:"AI 审核单据检索、统计分析、引证规则查看、附件全链路追踪、Excel 报表导出、免登 SSO 深度链接",primaryCommands:["approval-runs list","approval-runs stats","approval-runs get","approval-runs export","approval-runs url"]},{domain:"rules (规则治理)",summary:"审核规则拉取、本地 Lint 质量检查、增量差量推送、离线版本与编号对照映射速查",primaryCommands:["rules pull","rules lint","rules push","rules map","rules count"]},{domain:"preference (决策偏好)",summary:"AI 审核偏好读取与更新、全局与分品类思考深度策略(medium/high)配置",primaryCommands:["preference get","preference decision update","preference thinking-depth set"]},{domain:"simulation (模拟演练)",summary:"合思单据指定、材料包导入、飞书/泛微三方审批定义演练、批次轮询等待与数据清理",primaryCommands:["simulation create","simulation status","simulation wait","simulation clean"]},{domain:"webhook (通道与重放)",summary:"Webhook 回调通道配置、材料包校验推送、线上单据向 Webhook 通道测试重放",primaryCommands:["webhook list","webhook add","webhook replay","webhook material-pack push"]},{domain:"deploy (费控集成)",summary:"Seal AI 智能审核能力发布到合思费控企业、对接要求检测与配置同步",primaryCommands:["deploy hosecloud requirements","deploy hosecloud status","deploy hosecloud sync"]},{domain:"doctor (系统诊断)",summary:"整机环境健康自检、目录全景体检看板、内置架构与规范白皮书离线查阅",primaryCommands:["doctor","doctor guide","doctor paths"]}];function _g0(){return`# Seal Use 系统架构与运行规范白皮书
> 本文档由 \`seal-use\` 单文件二进制程序内嵌提供,纯内存只读,未向用户电脑写入任何临时文件。
---
## 1. 系统定位与设计哲学
\`seal-use\` 是合思与 Seal AI 体系的企业级智能审核、规则治理与模拟演练 CLI 工具包,兼具人类工程师命令行使用与 AI Agent Harness 自动化集成能力。
### 核心交互契约
- **机器通道 (\`stdout\`)**:所有命令默认在标准输出返回干净、严格类型化的 JSON 载荷,供自动化脚本及 AI Agent 解析。
- **指导与诊断通道 (\`stderr\`)**:标准错误专用于输出运行状态、网络探测日志、自愈指引以及显式的下一步动作建议(如 \`\uD83D\uDC49 Next action: seal-use ...\`)。
- **退出码契约**:成功为 \`0\`,参数校验失败、未确认拦截或上游 API 报错均赋予非零退出码(如 \`1\`、\`2\`、\`10\`),杜绝盲目吞错。
---
## 2. 系统目录全景规范
\`seal-use\` 在用户计算机上的所有文件访问严格收敛于以下明确定义的目录中:
| 目录名称 | 类别 | 规范路径 | 作用与生命周期 |
| :--- | :--- | :--- | :--- |
${hd.map(($)=>`| **${$.name}** | \`${$.category}\` | \`${$.standardPath}\` | ${$.purpose} (${$.retention}) |`).join(`
`)}
---
## 3. 安全与数据隐私保证
${gd.map(($,Y)=>`### 3.${Y+1} ${$.topic}
- **安全承诺**:${$.guarantee}
- **实现约束**:${$.enforcement}
`).join(`
`)}
---
## 4. 业务域能力图谱
${Sd.map(($)=>`### \`seal-use ${$.domain}\`
* **能力定位**:${$.summary}
* **核心命令**:${$.primaryCommands.map((Y)=>`\`seal-use ${Y}\``).join("、")}
`).join(`
`)}
---
## 5. 快速排错与健康诊断指引
- **环境自检**:运行 \`seal-use doctor\`,一键检查当前运行时版本、本地目录健康度、企业资产接入数量以及守护服务状态。
- **查看企业配置源文件**:运行 \`seal-use corps get <corpId>\`,可直接查看指定企业的本地 JSON 存储绝对路径。
- **查阅完整操作手册**:运行 \`seal-use doctor guide\` 随时在离线状态下查看本文档。
`}function Rg0($){if(!X8($))return 0;try{return ob1($).filter((Y)=>Y.endsWith(".json")).length}catch{return 0}}function YA($){try{return mb1($,lb1.W_OK),!0}catch{return!1}}function yd(){let $=rb1(),Y=D3($,".config","seal-use"),q=D3(Y,"enterprises"),z=D3(Y,"config.json"),J=D3(Y,"seal_tokens.json"),U=D3(Y,"mappings"),I=Tq(),Q=D3($,"Downloads"),G=["/opt/homebrew/bin/seal-use","/usr/local/bin/seal-use",D3($,".local","bin","seal-use"),D3($,"bin","seal-use")].find((A)=>X8(A))??process.execPath,H={configDir:{name:"配置根目录",path:Y,exists:X8(Y),writable:X8(Y)?YA(Y):!1,description:"用户持久化配置与企业状态根目录"},enterprisesDir:{name:"企业配置目录",path:q,exists:X8(q),writable:X8(q)?YA(q):!1,fileCount:Rg0(q),description:"企业连接配置(JSON)保存路径"},globalConfigFile:{name:"全局配置文件",path:z,exists:X8(z),description:"全局工作模式与默认企业配置"},tokenStore:{name:"凭据缓存",path:J,exists:X8(J),description:"会话凭据与令牌缓存"},mappingsDir:{name:"规则版本映射快照",path:U,exists:X8(U),fileCount:Rg0(U),description:"生产与测试规则版本映射对照表"},agentSkillDir:{name:"AI Agent 技能目录",path:I,exists:X8(D3(I,"SKILL.md")),description:"本地 Agent 技能主目录"},exportDefaultDir:{name:"报表默认导出目录",path:Q,exists:X8(Q),writable:X8(Q)?YA(Q):!1,description:"审核大盘报表默认写入目录"},lintersDir:{name:"规则校验器目录 (用户自定义)",path:b$,exists:X8(b$),writable:X8(b$)?YA(b$):!1,description:"用户私有规则校验脚本存放目录"},officialLintersDir:{name:"官方内置规则校验器目录",path:i$,exists:X8(i$),description:"官方标准与严格风控校验脚本目录 (系统自动保护与重写)"},globalBinary:{name:"全局命令行二进制",path:G,exists:X8(G),description:"系统全局命令执行入口"}},Z=[];try{Z=r8()}catch{Z=[]}let X=T4().defaultCorpId??Z[0]?.id,L=Z.find((A)=>A.id===X),w=Z.filter((A)=>(A.environment??"production").toLowerCase()==="test").length,F=Z.length-w,O=[];if(O.push({id:"executable",title:"命令行二进制",status:"ok",message:`当前执行路径: ${process.execPath}`}),H.configDir?.exists&&H.configDir.writable)O.push({id:"config_dir",title:"配置目录访问",status:"ok",message:`${Y} (正常读写)`});else if(H.configDir?.exists)O.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`${Y} (存在但可能不可写)`});else O.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`未检测到配置目录 ${Y},首次运行配置命令时将自动创建`});if(Z.length>0)O.push({id:"enterprises",title:"企业接入状态",status:"ok",message:`已接入 ${Z.length} 家企业 (正式: ${F}, 测试: ${w})`});else O.push({id:"enterprises",title:"企业接入状态",status:"warn",message:"当前未检测到企业配置,请使用 seal-use corps add-hose 或 add-seal 接入企业"});if(H.agentSkillDir?.exists)O.push({id:"agent_skill",title:"AI Agent 技能",status:"ok",message:`已就绪于 ${I}`});else O.push({id:"agent_skill",title:"AI Agent 技能",status:"warn",message:`未在 ${I} 检测到技能,可运行 'seal-use skill sync' 安装`});let P=O.some((A)=>A.status==="warn"||A.status==="error"),B=typeof globalThis.Bun<"u"?`Bun ${globalThis.Bun.version}`:`Node ${process.version}`;return{doctor:P?"warning":"ok",timestamp:new Date().toISOString(),runtime:{version:Q1,executablePath:process.execPath,platform:`${process.platform} (${process.arch})`,engine:B},directories:H,enterprises:{total:Z.length,productionCount:F,testCount:w,activeCorpId:L?.id,activeCorpName:L?.name},checks:O,knowledge:{summary:"内嵌系统架构与目录规范白皮书(纯内存只读,零写入依赖)",directorySpecsCount:hd.length,securityPoliciesCount:gd.length,domainCapabilitiesCount:Sd.length,guideCommand:"seal-use doctor guide"}}}function Cg0($){let Y=[],q=$.doctor==="ok"?"✨":"⚠️";Y.push(`\uD83E\uDE7A [Seal Use Doctor] 系统健康诊断看板 ${q}`),Y.push("─────────────────────────────────────────────────────────────"),Y.push("【运行环境】"),Y.push(` 版本号: ${$.runtime.version}`),Y.push(` 程序路径: ${$.runtime.executablePath}`),Y.push(` 操作系统: ${$.runtime.platform}`),Y.push(` 执行引擎: ${$.runtime.engine}`),Y.push(""),Y.push("【核心路径状态】");for(let[,z]of Object.entries($.directories)){let J=z.exists?"✓":"○",U=z.exists?z.fileCount!==void 0?`(${z.fileCount} 个文件)`:z.writable?"(就绪/可写)":"(存在)":"(未创建)";Y.push(` ${J} ${z.name.padEnd(16," ")}: ${z.path} ${U}`)}if(Y.push(""),Y.push("【企业资产概览】"),Y.push(` 接入企业总计: ${$.enterprises.total} 家 (生产: ${$.enterprises.productionCount}, 测试: ${$.enterprises.testCount})`),$.enterprises.activeCorpId)Y.push(` 当前激活企业: ${$.enterprises.activeCorpName} (${$.enterprises.activeCorpId})`);else Y.push(" 当前激活企业: 无默认企业 (无状态模式)");Y.push(""),Y.push("【健康自检】");for(let z of $.checks){let J=z.status==="ok"?"✓":z.status==="warn"?"⚠️":"✗";Y.push(` ${J} [${z.title}]: ${z.message}`)}return Y.push(""),Y.push("─────────────────────────────────────────────────────────────"),Y.push("\uD83D\uDC49 查阅内嵌白皮书与目录规范: seal-use doctor guide"),Y.push("\uD83D\uDC49 检索企业: seal-use corps search <keyword>"),Y.join(`
`)}R4();o1();async function gg0($,Y,q){let z=($??Y??"").toLowerCase();if(z==="guide"||z==="doc"||z==="knowledge"||z==="book"){console.error(`\uD83D\uDCD6 [Seal Use Doctor] 正在读取内嵌系统规范白皮书(纯内存只读)...
`),console.log(_g0());return}if(z==="paths"||z==="dirs"||z==="directories"){let I=yd();E0(I.directories);return}if(z==="tenant"||z==="corp"||z==="enterprise"){let{selectCorp:I}=await Promise.resolve().then(() => (p4(),hv0)),{createSealClient:Q}=await Promise.resolve().then(() => (b8(),l10)),{stringOption:K}=await Promise.resolve().then(() => (R4(),Bv0)),{diagnoseTenantContract:G,formatTenantDoctorDashboard:H}=await Promise.resolve().then(() => (hg0(),vg0)),Z=K(q.options.corp)??(Y&&Y!==z?Y:void 0)??(q.command[2]&&q.command[2]!==z?q.command[2]:void 0),V=I(Z),X=await Q(V),L=await G(X,V);if(!(J0(q.options.quiet)||J0(q.options.silent)))console.error(H(L));E0(L);return}let J=yd();if(!(J0(q.options.quiet)||J0(q.options.silent)))console.error(Cg0(J));E0(J)}R4();import{createServer as qi1}from"node:http";p4();import{URL as eb1}from"node:url";var Sg0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.24",description:`Planned HTTP contract for the seal-use wrapped backend API.
These endpoints describe the intended stable API for frontend developers and agents once
the HTTP adapter is implemented.
They are not the raw downstream Seal endpoints. seal-use is responsible for enterprise
selection, source authentication, response compaction, and diagnostics-friendly fields.
`},servers:[{url:"http://localhost:8787",description:"Reserved for a future local HTTP adapter; the current service uses MCP stdio."}],security:[{localSession:[]}],tags:[{name:"Corps",description:"Local enterprise configuration selection."},{name:"Source",description:"Source-derived Seal enterprise configuration."},{name:"Auth",description:"Wrapped authentication diagnostics and current identity."},{name:"Approval Runs",description:"Wrapped approval run history, summaries, document URLs, and trace bridge helpers."},{name:"Approval Knowledge",description:"Wrapped approval rules, documents, preferences, and search."},{name:"Simulation",description:"Wrapped simulation batch record access."}],paths:{"/v1/corps":{get:{tags:["Corps"],operationId:"listCorps",summary:"List configured enterprises",responses:{"200":{description:"Configured enterprises.",content:{"application/json":{schema:{type:"array",items:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}}},"/v1/corps/current":{get:{tags:["Corps"],operationId:"getCurrentCorp",summary:"Get current enterprise",description:"Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",responses:{"200":{description:"Current enterprise.",content:{"application/json":{schema:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}},"/v1/corps/current/switch":{post:{tags:["Corps"],operationId:"switchCurrentCorp",summary:"Switch current enterprise",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}}}}},responses:{"200":{description:"Switched enterprise.",content:{"application/json":{schema:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}}}}},"404":{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/source/config":{get:{tags:["Source"],operationId:"getSourceConfig",summary:"Resolve source-derived Seal enterprise config",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Redacted Seal enterprise config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/auth/diagnose":{get:{tags:["Auth"],operationId:"diagnoseAuth",summary:"Diagnose wrapped source-to-Seal authentication",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Authentication stage diagnosis.",content:{"application/json":{schema:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}}}}}}}},"/v1/whoami":{get:{tags:["Auth"],operationId:"whoami",summary:"Get current wrapped Seal identity",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current Seal user and tenant.",content:{"application/json":{schema:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/session":{get:{tags:["Auth"],operationId:"getSession",summary:"Get current wrapped Seal session metadata",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current session metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/approval/context":{get:{tags:["Approval Knowledge"],operationId:"getApprovalContext",summary:"Get rules, documents, and style preferences together",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"documentLimit",in:"query",schema:{type:"integer",minimum:1}},{name:"latestRuleVersion",in:"query",schema:{type:"boolean"}},{name:"ruleVersionNumber",in:"query",schema:{type:"integer"}}],responses:{"200":{description:"Approval context.",content:{"application/json":{schema:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}}}}}}}},"/v1/approval/search":{post:{tags:["Approval Knowledge"],operationId:"searchApprovalKnowledge",summary:"Search approval rules, documents, and preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}}}}},responses:{"200":{description:"Search results with line context.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rules":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRules",summary:"List current draft approval rules",responses:{"200":{description:"Draft rules.",content:{"application/json":{schema:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalRule",summary:"Create draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Created rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}}},"/v1/approval/rules/{ruleId}":{parameters:[{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."}],patch:{tags:["Approval Knowledge"],operationId:"updateApprovalRule",summary:"Update draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Updated rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalRule",summary:"Delete draft approval rule",responses:{"200":{description:"Deleted."}}}},"/v1/approval/rule-versions":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRuleVersions",summary:"List published approval rule versions",responses:{"200":{description:"Published rule versions.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}}},"/v1/approval/rule-versions/{versionId}":{parameters:[{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleVersion",summary:"Get published approval rule version",responses:{"200":{description:"Rule version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval/rules/by-version":{get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleByVersion",summary:"Get one wrapped rule from a published version",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"versionNumber",in:"query",schema:{type:"integer"}},{name:"versionId",in:"query",schema:{type:"string"}},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"code",in:"query",schema:{type:"string"},description:"Display rule code such as '#0038'."},{name:"runtimeId",in:"query",schema:{type:"string"},description:"Runtime rule ID such as rule-205."},{name:"recordId",in:"query",schema:{type:"string"},description:"Infer versionNumber from an approval run."}],responses:{"200":{description:"One rule from a published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rule-versions/publish":{post:{tags:["Approval Knowledge"],operationId:"publishApprovalRuleVersion",summary:"Publish current draft rules",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}}}}},responses:{"200":{description:"Published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/documents":{get:{tags:["Approval Knowledge"],operationId:"listApprovalDocuments",summary:"List approval knowledge documents",parameters:[{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,default:20}},{name:"scenario",in:"query",schema:{type:"array",items:{type:"string"}},style:"form",explode:!0}],responses:{"200":{description:"Documents.",content:{"application/json":{schema:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalDocument",summary:"Create approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Created document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/documents/{documentId}":{parameters:[{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalDocument",summary:"Get approval knowledge document",responses:{"200":{description:"Document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalDocument",summary:"Update approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Updated document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalDocument",summary:"Delete approval knowledge document",responses:{"200":{description:"Deleted document confirmation."}}}},"/v1/approval/style-preferences":{get:{tags:["Approval Knowledge"],operationId:"getApprovalStylePreferences",summary:"Get approval style preferences",responses:{"200":{description:"Style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalStylePreferences",summary:"Update approval style preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}},responses:{"200":{description:"Updated style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/approval-runs":{get:{tags:["Approval Runs"],operationId:"searchApprovalRuns",summary:"Search wrapped approval run history",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"startDate",in:"query",schema:{type:"string"},description:"Creation-time lower bound in milliseconds."},{name:"endDate",in:"query",schema:{type:"string"},description:"Creation-time upper bound in milliseconds."},{name:"status",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}},{name:"manualApprovalStatus",in:"query",schema:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"},description:"Hose/易快报单号 or other external source document number."},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"},description:"Local human result contains filter, such as 驳回 or 通过."},{name:"query",in:"query",schema:{type:"string"},description:"Search across record ID, source document fields, document ID, and trace fields."},{name:"includeBridge",in:"query",schema:{type:"boolean",default:!1},description:"Include full Langfuse bridge rows."}],responses:{"200":{description:"Compact wrapped approval run list.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/summary":{get:{tags:["Approval Runs"],operationId:"summarizeApprovalRuns",summary:"Summarize approval runs by local date",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"date",in:"query",schema:{type:"string",format:"date"}},{name:"timezone",in:"query",schema:{type:"string",default:"Asia/Shanghai"}},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"query",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Date summary with counts and compact records.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}}}}}}}},"/v1/approval-runs/pick":{get:{tags:["Approval Runs"],operationId:"pickApprovalRuns",summary:"Pick likely approval runs by document number or trace key",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"query",in:"query",schema:{type:"string"}},{name:"sn",in:"query",schema:{type:"string"},description:"Source document number for direct lookup."},{name:"batch",in:"query",schema:{type:"string"},description:"Optional simulation batch ID."},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated response fields."},{name:"limit",in:"query",schema:{type:"integer",default:20}},{name:"maxScan",in:"query",schema:{type:"integer",default:1000}}],responses:{"200":{description:"Picked records and suggested next actions.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/bridge":{get:{tags:["Approval Runs"],operationId:"getApprovalRunLangfuseBridge",summary:"Resolve approval runs to Langfuse trace or session hints",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"simulationBatchId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Trace/session bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/url":{get:{tags:["Approval Runs"],operationId:"getApprovalRunUrl",summary:"Get enterprise assist URL and optional source document URL",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Enterprise and document URLs.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}}}}}}}},"/v1/approval-runs/{recordId}":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRun",summary:"Get wrapped approval run detail",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated field paths such as metadata,document.fields,result.summary."}],responses:{"200":{description:"Approval run detail plus stable aliases and human result.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/cited-rules":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunCitedRules",summary:"Extract rules cited or matched by the AI result",responses:{"200":{description:"Cited rule summaries.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/document-summary":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunDocumentSummary",summary:"Get key document fields and compact AI/manual result",responses:{"200":{description:"Document summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/attachments":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunAttachments",summary:"List compact attachment metadata",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"Attachment metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/result":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunResult",summary:"Get AI result, optionally as a compact summary",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"AI result or summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-batch":{post:{tags:["Simulation"],operationId:"createSimulationBatch",summary:"Create a simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-material-pack-batch":{post:{tags:["Simulation"],operationId:"createMaterialPackBatch",summary:"Create a material pack simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches":{get:{tags:["Simulation"],operationId:"listSimulationBatches",summary:"List simulation batches",parameters:[{name:"limit",in:"query",schema:{type:"integer"},description:"Max batches to return."}],responses:{"200":{description:"Simulation batches.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/batch/{batchId}":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatch",summary:"Get a simulation batch detail including echoed create params",responses:{"200":{description:"Simulation batch detail.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches/{batchId}/records":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatchRecords",summary:"Get wrapped simulation batch records",parameters:[{name:"query",in:"query",schema:{type:"string"},description:"Optional local contains filter for record/document/trace identifiers."}],responses:{"200":{description:"Compact simulation records and bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/templates":{get:{tags:["Simulation"],operationId:"listSimulationTemplates",summary:"List simulation test templates",responses:{"200":{description:"Simulation templates.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/integration-status":{get:{tags:["Simulation"],operationId:"getSimulationIntegrationStatus",summary:"Get available source integration status for simulation",responses:{"200":{description:"Integration status.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/hosecloud-integrations":{get:{tags:["Simulation"],operationId:"listSimulationHosecloudIntegrations",summary:"List hosecloud source integrations available for simulation",responses:{"200":{description:"Hosecloud integrations.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/material-packages/upload":{post:{tags:["Simulation"],operationId:"uploadMaterialPackage",summary:"Upload a material package ZIP for simulation",requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary"}}}}}},responses:{"200":{description:"Parsed material package with schema config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}}},components:{securitySchemes:{localSession:{type:"apiKey",in:"header",name:"X-Seal-Home-Session",description:"Optional local service session header for future HTTP deployments."}},parameters:{CorpId:{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},Offset:{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},Limit:{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},RuleId:{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."},VersionId:{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."},DocumentId:{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."},RecordId:{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."},BatchId:{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}},responses:{BadRequest:{description:"Invalid request.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},Unauthorized:{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}},NotFound:{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}},schemas:{ErrorResponse:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}},CorpSummary:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}},SwitchCorpRequest:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}},SwitchCorpResponse:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}},SourceConfig:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."},AuthStage:{type:"object",additionalProperties:!0,required:["name","ok"],properties:{name:{type:"string",examples:["hose.openapi","hose.provisional","seal.sso","seal.whoami"]},ok:{type:"boolean"},error:{type:"string"}}},AuthDiagnosis:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}},SealUser:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},tenantId:{type:"string"},name:{type:"string"},isAdmin:{type:"boolean"},permissions:{type:"array",items:{type:"string"}}}},SealTenant:{type:"object",additionalProperties:!0,required:["id","name"],properties:{id:{type:"string"},name:{type:"string"},tenantSlug:{type:"string"}}},WhoamiResponse:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}},SessionResponse:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}},ApprovalRule:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}},ApprovalRuleInput:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulePatch:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}},ApprovalRulesResponse:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}},RuleSetVersion:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}},PublishRuleVersionRequest:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}},ApprovalDocument:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentInput:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentPatch:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}},ApprovalDocumentsResponse:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}},ApprovalStylePreferences:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}},ApprovalContext:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}},ApprovalSearchRequest:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}},ApprovalSearchResponse:{type:"object",additionalProperties:!0},ApprovalRun:{type:"object",additionalProperties:!0,required:["id"],properties:{id:{type:"string"},sourceDocumentSN:{type:"string",description:"External document number, often Hose/易快报单号."},sourceDocumentId:{type:"string"},status:{type:"string"},taskMode:{type:"string"},finalExecutionMode:{type:"string"},ruleSetVersionNumber:{type:"integer"},langfuseTraceId:{type:"string"},langfuseSessionFallback:{type:"string"}}},ApprovalRunsResponse:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}},ApprovalRunsSummary:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}},RunUrlResponse:{type:"object",additionalProperties:!0,properties:{enterpriseAssistUrl:{type:"string"},enterpriseUrl:{type:"string"},documentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}},BridgeResponse:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}};function qA(){return Sg0}K3();b8();iP();function yg0(){return`<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>Seal Home API Docs (v${Q1})</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>\uD83E\uDDAD</text></svg>" />
<style>
body {
margin: 0;
padding: 0;
background-color: #0f172a;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
</style>
</head>
<body>
<script
id="api-reference"
data-url="/openapi.json"
data-configuration='{"theme":"purple","layout":"modern","showSidebar":true}'
src="https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.25.101/dist/browser/standalone.js"
></script>
</body>
</html>`}async function B6($,Y,q,z){let J=$.handler;return J(Y,q,{corp:z})}async function xg0($,Y){if(Y.setHeader("Access-Control-Allow-Origin","*"),Y.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS, PATCH"),Y.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization, X-Seal-Corp, X-Seal-Home-Session"),$.method==="OPTIONS"){Y.writeHead(204),Y.end();return}let q=$.headers.host||"localhost",z=$.headers["x-forwarded-proto"]||"http",J=new eb1($.url||"/",`${z}://${q}`),U=J.pathname.replace(/\/+$/,"")||"/",I=($.method||"GET").toUpperCase();try{if(I==="GET"&&U==="/"){L4(Y,200,{name:"seal-use",version:Q1,description:"Seal tenant operations and approval automation HTTP API",docs:"/docs",openapi:"/openapi.json",health:"/health",endpoints:{cli:"POST /api/cli",tools:"GET /api/tools",toolInvoke:"POST /api/tool/:name",restV1:"GET/POST /v1/*"}});return}if(I==="GET"&&U==="/docs"){Yi1(Y,200,yg0());return}if(I==="GET"&&U==="/openapi.json"){L4(Y,200,qA());return}if(I==="GET"&&U==="/health"){L4(Y,200,{status:"ok",version:Q1,name:"seal-use",timestamp:new Date().toISOString()});return}if(I==="POST"&&(U==="/shutdown"||U==="/api/shutdown")){L4(Y,200,{success:!0,message:"Shutting down seal-use background daemon",pid:process.pid}),setTimeout(()=>{process.kill(process.pid,"SIGTERM")},50);return}if(I==="POST"&&U==="/api/cli"){let Q=await JA($),K=(typeof Q?.command==="string"?Q.command:"").trim();if(!K){zA(Y,400,"Missing 'command' property in request body");return}let G=xd(K),H=G[0]==="seal-use"||G[0]==="seal-home"||G[0]?.endsWith("/seal-use")||G[0]?.endsWith("/seal-home")?G.slice(1):G,Z=await ZW(H),V=void 0;try{if(Z.stdout.trim().startsWith("{")||Z.stdout.trim().startsWith("["))V=JSON.parse(Z.stdout)}catch{}L4(Y,Z.isError?400:200,{success:!Z.isError,stdout:Z.stdout,stderr:Z.stderr,exitCode:Z.exitCode,data:V});return}if(I==="POST"&&U.startsWith("/api/tool/")){let Q=U.slice(10).trim(),K=X6(Q);if(!K){zA(Y,404,`Tool not found: '${Q}'`);return}let G=await JA($)||{},H=v8($,J,G),Z=W1(H),V=await Z1(Z),X={...G};delete X.corp;let L=await B6(K,V,X,Z);L4(Y,200,L);return}if(U.startsWith("/v1/")){if(await $i1($,Y,I,U,J))return}zA(Y,404,`Cannot ${I} ${U}. Visit /docs for available endpoints.`)}catch(Q){let K=Q instanceof Error?Q.message:String(Q);zA(Y,500,K)}}async function $i1($,Y,q,z,J){let U=Object.fromEntries(J.searchParams.entries());if(q==="GET"&&z==="/v1/corps"){let I=r8(),Q=T4();return L4(Y,200,{count:I.length,mode:Q.stateful?"stateful":"stateless",defaultCorpId:Q.defaultCorpId,corps:I.map((K)=>({id:K.id,name:K.name,sourceType:K.source.type,sealUrl:K.seal?.url}))}),!0}if(q==="GET"&&z==="/v1/whoami"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_whoami"),H=await B6(G,K,{},Q);return L4(Y,200,H),!0}if(q==="GET"&&z==="/v1/session"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_session_get"),H=await B6(G,K,{},Q);return L4(Y,200,H),!0}if(q==="GET"&&z==="/v1/approval-runs/summary"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_approval_runs_summary"),H=await B6(G,K,U,Q);return L4(Y,200,H),!0}if(q==="GET"&&z==="/v1/approval-runs/stats"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_approval_runs_stats"),H=await B6(G,K,U,Q);return L4(Y,200,H),!0}if(q==="GET"&&z==="/v1/approval-runs/pick"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_approval_run_pick"),H=await B6(G,K,U,Q);return L4(Y,200,H),!0}if(q==="GET"&&z==="/v1/approval-runs/url"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_approval_run_url_get"),H=await B6(G,K,U,Q);return L4(Y,200,H),!0}if(z.startsWith("/v1/approval-runs/")){let I=z.slice(18).split("/"),Q=I[0],K=I[1];if(Q&&!["summary","pick","stats","url","bridge"].includes(Q)){let G=v8($,J,U),H=W1(G),Z=await Z1(H);if(!K){let V=X6("seal_approval_run_get"),X=await B6(V,Z,{recordId:Q,...U},H);return L4(Y,200,X),!0}if(K==="attachments"){let V=X6("seal_approval_run_attachments_get"),X=await B6(V,Z,{recordId:Q,...U},H);return L4(Y,200,X),!0}if(K==="cited-rules"){let V=X6("seal_approval_run_cited_rules_get"),X=await B6(V,Z,{recordId:Q,...U},H);return L4(Y,200,X),!0}if(K==="document-summary"){let V=X6("seal_approval_run_document_summary_get"),X=await B6(V,Z,{recordId:Q,...U},H);return L4(Y,200,X),!0}if(K==="result"){let V=X6("seal_approval_run_result_get"),X=await B6(V,Z,{recordId:Q,...U},H);return L4(Y,200,X),!0}}}if(q==="GET"&&z==="/v1/approval-runs"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_approval_runs_search"),H=await B6(G,K,{...U,limit:U.limit?Number(U.limit):void 0,offset:U.offset?Number(U.offset):void 0,includeBridge:U.includeBridge==="true"},Q);return L4(Y,200,H),!0}if(q==="GET"&&z==="/v1/approval/rules"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_approval_rules_list"),H=await B6(G,K,U,Q);return L4(Y,200,H),!0}if(q==="GET"&&z==="/v1/simulation/batches"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_simulation_batches_list"),H=await B6(G,K,U,Q);return L4(Y,200,H),!0}if(q==="POST"&&z==="/v1/simulation/create-batch"){let I=await JA($)||{},Q=v8($,J,I),K=W1(Q),G=await Z1(K),H=X6("seal_simulation_batch_create"),Z=await B6(H,G,I,K);return L4(Y,200,Z),!0}if(q==="GET"&&z.startsWith("/v1/simulation/batch/")){let Q=z.slice(21).split("/")[0];if(Q){let K=v8($,J,U),G=W1(K),H=await Z1(G),Z=X6("seal_simulation_batch_get"),V=await B6(Z,H,{batchId:Q},G);return L4(Y,200,V),!0}}if(q==="GET"&&z==="/v1/preferences"){let I=v8($,J,U),Q=W1(I),K=await Z1(Q),G=X6("seal_preference_get"),H=await B6(G,K,{},Q);return L4(Y,200,H),!0}if(q==="POST"&&z==="/v1/preferences/decision"){let I=await JA($)||{},Q=v8($,J,I),K=W1(Q),G=await Z1(K),H=X6("seal_preference_decision_update"),Z=await B6(H,G,I,K);return L4(Y,200,Z),!0}return!1}function v8($,Y,q){let z=$.headers["x-seal-corp"];if(typeof z==="string"&&z.trim())return z.trim();let J=Y.searchParams.get("corp");if(J?.trim())return J.trim();if(q&&typeof q.corp==="string"&&q.corp.trim())return q.corp.trim();return}async function JA($){let Y="";for await(let q of $)if(Y+=q,Y.length>20971520)throw Error("Payload too large");if(!Y.trim())return{};try{return JSON.parse(Y)}catch(q){throw Error(`Invalid JSON body: ${q instanceof Error?q.message:String(q)}`)}}function L4($,Y,q){let z=JSON.stringify(q,null,2);$.writeHead(Y,{"Content-Type":"application/json; charset=utf-8","Content-Length":Buffer.byteLength(z)}),$.end(z)}function Yi1($,Y,q){$.writeHead(Y,{"Content-Type":"text/html; charset=utf-8","Content-Length":Buffer.byteLength(q)}),$.end(q)}function zA($,Y,q,z){L4($,Y,{error:!0,statusCode:Y,message:q,...z!==void 0?{details:z}:{}})}var UA=8787,IA="127.0.0.1";async function QA($={}){let Y=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):UA),q=$.host??(process.env.HOST?process.env.HOST:IA),z=qi1(async(J,U)=>{try{await xg0(J,U)}catch(I){if(!U.headersSent)U.writeHead(500,{"Content-Type":"application/json"}),U.end(JSON.stringify({error:!0,message:I instanceof Error?I.message:String(I)}))}});return new Promise((J,U)=>{z.on("error",(I)=>{U(I)}),z.listen(Y,q,()=>{if(!$.silent)console.error(`
\uD83D\uDE80 seal-use HTTP Server (v${Q1}) started`),console.error(` URL: http://${q}:${Y}`),console.error(` Docs: http://${q}:${Y}/docs`),console.error(` OpenAPI: http://${q}:${Y}/openapi.json`),console.error(` CLI Exec: POST http://${q}:${Y}/api/cli`),console.error(` REST API: http://${q}:${Y}/v1/...
`);J(z)})})}async function kg0($){let Y=g0($.options.port)??g0($.options.p),q=T($.options.host)??T($.options.h),z=await QA({port:Y,host:q}),J=()=>{z.close(()=>{process.exit(0)})};process.on("SIGINT",J),process.on("SIGTERM",J),await new Promise(()=>{})}p4();o1();async function ug0($,Y,q,z){if($==="config"||$==="get"){await A0("seal_llm_config_get",Y,q,{},F0(z.options));return}if($==="providers"||$==="list"){await A0("seal_llm_providers_list",Y,q,{},F0(z.options));return}throw Error(`Unknown llm command: ${$??""}. Run 'seal-use help' for available commands.`)}o1();async function fg0($,Y){if($==="config"||$==="json"){kd();return}await ud()}function kd(){E0({mcpServers:{"seal-use":{type:"stdio",command:"seal-use",args:["mcp"],env:{SEAL_USE_MCP_ENABLED:"true"}}}})}o1();function bg0($){let Y=qA();E0(Y,{...F0($.options),allowFull:!0})}p4();o1();async function ig0($,Y,q,z){if($==="available"){await A0("seal_permissions_available_list",Y,q,{},F0(z.options));return}if($==="configs"||$==="list"){await A0("seal_permissions_configs_list",Y,q,{},F0(z.options));return}throw Error(`Unknown permissions command: ${$??""}. Run 'seal-use help' for available commands.`)}p4();R4();o1();import{readFileSync as ng0}from"node:fs";async function cg0($,Y,q,z,J,U,I){if(!$||$==="get"){await A0("seal_preference_get",J,U,{},F0(I.options));return}if($==="decision"){if(Y==="update"||!Y){let Q=T(I.options.input),K=Q?JSON.parse(ng0(Q,"utf8")):C8(I.json);if(!K||Object.keys(K).length===0)throw Error(`Usage: seal-use preference decision update --json '{"explicitApprove":"..."}'`);await A0("seal_preference_decision_update",J,U,{...K,dryRun:J0(I.options.dryRun)??J0(I.options["dry-run"])},F0(I.options));return}}if($==="thinking-depth"||$==="thinkingDepth"){if(Y==="set"){let Q=T(I.options.default)??T(I.options.level)??z;if(Q!=="medium"&&Q!=="high")throw Error("Usage: seal-use preference thinking-depth set --default <medium|high>");await A0("seal_preference_thinking_depth_set",J,U,{defaultLevel:Q,dryRun:J0(I.options.dryRun)??J0(I.options["dry-run"])},F0(I.options));return}if(Y==="policies"){if(q==="list"||!q){await A0("seal_preference_thinking_depth_policies_list",J,U,{},F0(I.options));return}if(q==="upsert"){let Q=T(I.options.input),K=Q?JSON.parse(ng0(Q,"utf8")):C8(I.json);if(!K||!K.id||!K.name)throw Error(`Usage: seal-use preference thinking-depth policies upsert --json '{"id":"...","name":"...","level":"high"}'`);await A0("seal_preference_thinking_depth_policies_upsert",J,U,{...K,dryRun:J0(I.options.dryRun)??J0(I.options["dry-run"])},F0(I.options));return}if(q==="remove"||q==="delete"){let Q=z??T(I.options.id)??T(I.options.policyId);if(!Q)throw Error("Usage: seal-use preference thinking-depth policies remove <policyId>");await A0("seal_preference_thinking_depth_policies_remove",J,U,{policyId:Q,dryRun:J0(I.options.dryRun)??J0(I.options["dry-run"])},F0(I.options));return}}}throw Error(`Unknown preference action: ${$??""}. Available: get, decision update, thinking-depth set, thinking-depth policies list/upsert/remove.`)}K3();b8();I6();async function pg0($={}){let Y=r8(),q=T4(),z=$2(Y,{stateful:q.stateful,defaultCorpId:q.defaultCorpId,corpId:$.corpId},Q3());console.log(`[probe] corp=${z.id} source=${z.source.type}`);let J=await jI(z);console.log("[probe] seal enterprise"),console.log(JSON.stringify(J,null,2));let U=await Z1(z),I=await dL(U,{documentLimit:20,stylePreferencesEndpoint:z.seal.endpoints.approvalStylePreferences});console.log("[probe] approval context summary"),console.log(JSON.stringify({rules:I.rules.rules.length,hasPendingRuleDeletes:I.rules.hasPendingDeletes,documents:I.documents.articles.length,documentsTotal:I.documents.total,stylePreferences:I.stylePreferences.ok?"ok":`error: ${I.stylePreferences.error}`},null,2))}R4();async function dg0($,Y,q){let z=Y??T(q.options.corp)??($&&$!=="--corp"?$:void 0);await pg0({corpId:z})}qn();p4();V$();R4();o1();async function fd($,Y,q,z,J){if($==="count"){await A0("seal_approval_rules_list",q,z,{countOnly:!0},F0(J.options));return}if($==="list"){if(J0(J.options.count)){await A0("seal_approval_rules_list",q,z,{countOnly:!0},F0(J.options));return}let U=g0(J.options.limit),I=g0(J.options.offset);if(J0(J.options.summary)){await A0("seal_approval_rules_list",q,z,{fields:Rv0,limit:U,offset:I},F0(J.options));return}let Q=await H2("seal_approval_rules_list",q,z,{limit:U,offset:I});Cv0(Q,J0(J.options.full)===!0),E0(Q);return}if($==="clear"){let U=J0(J.options.yes)===!0,I=J0(J.options.dryRun)??J0(J.options["dry-run"])??!U;if(!U&&!I)throw K9("Refusing to clear rules without --yes. Use --dry-run to preview.",`seal-use rules clear --corp ${z.id} --dry-run`);let Q=await H2("seal_approval_rules_clear",q,z,{dryRun:I,recode:J0(J.options.recode)});if(!U&&I&&Q&&typeof Q==="object"){E0({...Q,nextCommand:`seal-use rules clear --corp ${z.id} --yes`},F0(J.options));return}E0(Q,F0(J.options));return}if($==="versions"){await A0("seal_approval_rule_versions_list",q,z,{},F0(J.options));return}if($==="version"){let U=Y??T(J.options.version);if(!U)throw Error("Usage: seal-use rules version <versionId|versionNumber|latest>");await A0("seal_approval_rule_version_get",q,z,AI(U),F0(J.options));return}if($==="get"){await A0("seal_approval_rule_get",q,z,{...Xd(T(J.options.version)),code:T(J.options.code),runtimeId:T(J.options.runtimeId)??T(J.options["runtime-id"]),recordId:T(J.options.recordId)??T(J.options["record-id"])},F0(J.options));return}if($==="search"){let U=Y??T(J.options.query);if(!U)throw Error("Usage: seal-use rules search <keyword> [--version <versionId|versionNumber|latest>]");await A0("seal_approval_search",q,z,{keywords:[U],areas:["rules"],maxResults:g0(J.options.maxResults),contextLines:g0(J.options.contextLines),refresh:J0(J.options.refresh),snippetOnly:J0(J.options.snippetOnly)??J0(J.options["snippet-only"]),maxChars:g0(J.options.maxChars)??g0(J.options["max-chars"]),fields:v6(J.options.fields),...Zd(T(J.options.version))},F0(J.options));return}if($==="pull"){let U=T(J.options.version)??Y,I=T(J.options.out)??T(J.options.file)??T(J.options.f);await A0("seal_approval_rules_pull",q,z,{version:U,out:I},F0(J.options));return}if($==="push"){let U=T(J.options.file)??T(J.options.f)??Y,I=J0(J.options.yes)===!0,Q=J0(J.options.dryRun)??J0(J.options["dry-run"])??!I,K=J0(J.options.publish),G=T(J.options.versionName)??T(J.options["version-name"]),H=await H2("seal_approval_rules_push",q,z,{file:U,dryRun:Q,confirm:I,publish:K,versionName:G});if(!I&&Q&&H&&typeof H==="object"){E0({...H,nextCommand:`seal-use rules push --file ${U??"./rules.local.json"} --corp ${z.id} --yes${K?" --publish":""}`},F0(J.options));return}E0(H,F0(J.options));return}if($==="lint"){await A0("seal_approval_rules_lint",q,z,{file:T(J.options.file)??T(J.options.f),linter:T(J.options.linter),version:T(J.options.version),code:T(J.options.code),ruleId:T(J.options.rule)??Y,minScore:g0(J.options.minScore)??g0(J.options["min-score"]),level:T(J.options.level),summary:J0(J.options.summary)},F0(J.options));return}if($==="linters"||$==="linter-list"){let U=lA0();E0({primaryDirectory:b$,officialDirectory:i$,totalLinters:U.length,linters:U},F0(J.options));return}if($==="map"){let U=T(J.options.version)??Y,I=T(J.options.code)??T(J.options.rule),Q=bh0(z.id,U);if(!Q){let G=U?`version '${U}'`:"latest version";E0({error:`No local rule mapping found for enterprise '${z.name}' (${z.id}) ${G}. Run 'seal-use corps sync-test <prodCorp> --yes' to synchronize and generate mapping snapshots.`,corpId:z.id,version:U??"latest"},F0(J.options));return}let K=ih0(Q.ruleMapping,I);E0({corpId:z.id,syncedAt:Q.syncedAt,source:Q.source,target:Q.target,versionMapping:Q.versionMapping,totalRules:Q.ruleMapping.length,matchedRules:K.length,rules:K},F0(J.options));return}throw Error(`Unknown rules command: ${$??""}. Available: count, list, clear, versions, version, get, search, lint, linters, pull, push, map. Run 'seal-use help' for available commands.`)}import{homedir as Gi1}from"node:os";import{join as Hi1}from"node:path";import{spawn as zi1,execFileSync as Ji1}from"node:child_process";import{existsSync as KA,mkdirSync as Ui1,readFileSync as bd,rmSync as F9,writeFileSync as GA}from"node:fs";import{join as id}from"node:path";async function Eq($,Y,q={}){switch($){case"run":await Qi1(Y);return;case"start":return mg0(Y);case"stop":case"kill":case"down":case"shutdown":return lg0(Y,q);case"restart":return lg0(Y,{quiet:!0}),mg0(Y);case"logs":case"log":return Ii1(Y,q.maxLines);case"status":case void 0:return RI(Y);default:throw Error("Usage: seal-use service <start|stop|restart|status|logs>")}}function RI($){let Y=ZA($),q=nd($),z=HA(Y),J=z?og0(z,$.appRoot):!1;if(!J){if(z)F9(Y,{force:!0});if(KA(q))F9(q,{force:!0})}let U;if(J&&KA(q))try{U=JSON.parse(bd(q,"utf8"))}catch{}let I=$.port??U?.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):UA),Q=$.host??U?.host??(process.env.HOST?process.env.HOST:IA),K=$.version??U?.version;return{running:J,pid:J?z:void 0,version:K,port:I,host:Q,url:J?`http://${Q}:${I}`:void 0,appRoot:$.appRoot,stateDir:$.stateDir,pidFile:Y,logFile:WW($)}}function Ii1($,Y=50){let q=WW($);if(!KA(q))return{logFile:q,lines:[],totalLines:0};let J=bd(q,"utf8").split(`
`).filter(Boolean),U=J.slice(-Y);return{logFile:q,lines:U,totalLines:J.length}}async function Qi1($){let Y=ZA($),q=nd($),z=WW($);rg0($.stateDir);let J=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):UA),U=$.host??(process.env.HOST?process.env.HOST:IA);GA(Y,`${process.pid}
`,{mode:384}),GA(q,JSON.stringify({pid:process.pid,port:J,host:U,version:$.version,startedAt:new Date().toISOString()},null,2),{mode:384}),_I(z,`service starting on http://${U}:${J} pid=${process.pid}`);let I=null;try{I=await QA({port:J,host:U,silent:!0}),_I(z,`service listening pid=${process.pid}`)}catch(K){if(_I(z,`service failed to bind port ${J}: ${K instanceof Error?K.message:String(K)}`),HA(Y)===process.pid)F9(Y,{force:!0}),F9(q,{force:!0});throw K}let Q=()=>{if(I)I.close(),I=null;if(HA(Y)===process.pid)F9(Y,{force:!0}),F9(q,{force:!0});_I(z,`stopped pid=${process.pid}`)};await new Promise((K)=>{let G=!1,H=()=>{if(G)return;G=!0,Q(),process.off("SIGTERM",H),process.off("SIGINT",H),K()};process.once("SIGTERM",H),process.once("SIGINT",H)})}function mg0($){rg0($.stateDir);let Y=RI($);if(Y.running)return Y;let q=$.launcher??{command:process.execPath,args:[$.entryFile]},z=[...q.args??[],"service","run"];if($.port)z.push("--port",String($.port));if($.host)z.push("--host",String($.host));let J=zi1(q.command,z,{cwd:$.appRoot,detached:!0,stdio:["ignore","ignore","ignore"],env:process.env});J.unref();let U=ZA($);return GA(U,`${J.pid}
`,{mode:384}),_I(WW($),`started pid=${J.pid}`),{started:!0,...RI($)}}function lg0($,Y={}){let q=ZA($),z=nd($),J=HA(q);if(!J||!og0(J,$.appRoot))return F9(q,{force:!0}),F9(z,{force:!0}),Y.quiet?void 0:{stopped:!1,reason:"not running"};return process.kill(J,"SIGTERM"),F9(q,{force:!0}),F9(z,{force:!0}),_I(WW($),`stop requested pid=${J}`),Y.quiet?void 0:{stopped:!0,pid:J}}function og0($,Y){if(!Ki1($))return!1;try{let q=Ji1("ps",["-p",String($),"-o","command="],{encoding:"utf8"});return(q.includes(Y)||q.includes("seal-use")||q.includes("src/cli.ts"))&&q.includes("service")&&q.includes("run")}catch{return!1}}function Ki1($){try{return process.kill($,0),!0}catch{return!1}}function ZA($){return id($.stateDir,"service.pid")}function nd($){return id($.stateDir,"service.json")}function WW($){return id($.stateDir,"service.log")}function HA($){if(!KA($))return;let Y=Number(bd($,"utf8").trim());return Number.isInteger(Y)&&Y>0?Y:void 0}function rg0($){Ui1($,{recursive:!0,mode:448})}function _I($,Y){GA($,`${new Date().toISOString()} ${Y}
`,{flag:"a",mode:384})}o1();R4();var cd=Hi1(Gi1(),".config","seal-use");async function pd($,Y,q){let z=q?g0(q.options.port)??g0(q.options.p):void 0,J=q?T(q.options.host)??T(q.options.h):void 0,U=q?g0(q.options.lines)??g0(q.options.n):void 0,I=await Eq($,{appRoot:Y.appRoot,entryFile:Y.entryFile,stateDir:cd,version:Q1,launcher:Y.launcher,port:z,host:J},{maxLines:U});if(I!==void 0)E0(I)}p4();R4();o1();import{existsSync as Zi1,readFileSync as sg0}from"node:fs";async function tg0($,Y,q,z,J){if($==="batch-records"||$==="records"){let U=Y??T(J.options.batchId)??T(J.options["batch-id"]);if(!U)throw Error("Usage: seal-use simulation batch-records <batchId>");await A0("seal_simulation_batch_records_get",q,z,{batchId:U,query:T(J.options.query)},F0(J.options));return}if($==="create"||$==="run"){let U=T(J.options.mode)??T(J.options.sourceSystem)??T(J.options["source-system"])??"hosecloud",I=U==="material-pack"?"material_pack":U,Q=T(J.options.schemaConfig)??T(J.options["schema-config"]),K=Q?JSON.parse(sg0(Q,"utf8")):void 0,G=T(J.options.input),H=G?JSON.parse(sg0(G,"utf8")):C8(J.json),Z=T(J.options.packageId)??T(J.options["package-id"]),V=v6(J.options.packageIds)??v6(J.options["package-ids"])??(Z?[Z]:void 0),X=v6(J.options.flowIds)??v6(J.options["flow-ids"])??v6(J.options.documentSn)??v6(J.options["document-sn"]),L=T(J.options.signKey)??T(J.options["sign-key"])??T(J.options.integration),w=J0(J.options.noWait)??J0(J.options["no-wait"]);await A0("seal_simulation_batch_create",q,z,{mode:I,sourceSystem:I,flowIds:X,documentSn:X,rejectNodeName:T(J.options.rejectNode)??T(J.options["reject-node"])??null,thinkingDepthOverride:T(J.options.thinkingDepth)??T(J.options["thinking-depth"]),skipInvoiceGeneration:J0(J.options.skipInvoiceGeneration)??J0(J.options["skip-invoice-generation"]),skipExpenseExtraction:J0(J.options.skipExpenseExtraction)??J0(J.options["skip-expense-extraction"]),disableAttachmentCache:J0(J.options.disableAttachmentCache)??J0(J.options["disable-attachment-cache"]),signKey:L,packageIds:V,packageId:Z,templateId:T(J.options.templateId)??T(J.options["template-id"]),schemaConfig:K,requestIds:v6(J.options.requestIds)??v6(J.options["request-ids"]),workflowTypeId:T(J.options.workflowTypeId)??T(J.options["workflow-type-id"]),flowStatusList:v6(J.options.flowStatusList)?.map(Number)??v6(J.options["flow-status-list"])?.map(Number),businessCodes:v6(J.options.businessCodes)??v6(J.options["business-codes"]),documentType:T(J.options.documentType)??T(J.options["document-type"]),startTime:g0(J.options.startTime)??g0(J.options["start-time"]),endTime:g0(J.options.endTime)??g0(J.options["end-time"]),status:v6(J.options.status),limit:g0(J.options.limit),noWait:w,rawParams:H},F0(J.options));return}if($==="wait"){let U=Y??T(J.options.batchId)??T(J.options["batch-id"]);if(!U)throw Error("Usage: seal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s]");await A0("seal_simulation_batch_wait",q,z,{batchId:U,timeout:T(J.options.timeout),pollInterval:T(J.options.pollInterval)??T(J.options["poll-interval"])},F0(J.options));return}if($==="status"){let U=Y??T(J.options.batchId)??T(J.options["batch-id"]);if(!U)throw Error("Usage: seal-use simulation status <batchId>");await A0("seal_simulation_batch_status",q,z,{batchId:U},F0(J.options));return}if($==="clean"||$==="delete"){let U=Y??T(J.options.batchId)??T(J.options["batch-id"]);if(!U)throw Error("Usage: seal-use simulation clean <batchId>");await A0("seal_simulation_batch_clean",q,z,{batchId:U},F0(J.options));return}if($==="specifications"){let U=Y??T(J.options.integration)??T(J.options.signKey)??T(J.options["sign-key"]);await A0("seal_simulation_specifications_list",q,z,{signKey:U},F0(J.options));return}if($==="approval-definitions"||$==="definitions"){await A0("seal_simulation_feishu_approval_definitions_list",q,z,{},F0(J.options));return}if($==="list"){await A0("seal_simulation_batches_list",q,z,{limit:g0(J.options.limit)},F0(J.options));return}if($==="get"){let U=Y??T(J.options.batchId)??T(J.options["batch-id"]);if(!U)throw Error("Usage: seal-use simulation get <batchId>");await A0("seal_simulation_batch_get",q,z,{batchId:U},F0(J.options));return}if($==="templates"){await A0("seal_simulation_templates_get",q,z,{},F0(J.options));return}if($==="integrations"){await A0("seal_simulation_integrations_get",q,z,{},F0(J.options));return}if($==="package-upload"){let U=Y??T(J.options.file);if(!U)throw Error("Usage: seal-use simulation package-upload <材料包.zip>");if(!Zi1(U))throw Error(`File not found: ${U}`);await A0("seal_simulation_material_package_upload",q,z,{filePath:U},F0(J.options));return}throw Error(`Unknown simulation command: ${$??""}. Run 'seal-use help' for available commands.`)}import{existsSync as ag0}from"node:fs";import{join as WA}from"node:path";R4();o1();function eg0($,Y,q){if($==="dump"||$==="cat"||$==="show"){process.stdout.write(`${Tg0()}
`);return}if($==="install"||$==="init"||$==="sync"){let z=J0(q.options.local)||J0(q.options.workspace),J=T(q.options.dir)??T(q.options.target)??Y,U=J?J:z?WA(process.cwd(),".agents","skills","seal-use"):Tq(),I=Cd(U);E0({installed:!0,targetDir:I.targetDir,fileCount:I.files.length,files:I.files});return}if($==="status"||$==="get"||!$){let z=Tq(),J=WA(process.cwd(),".agents","skills","seal-use");E0({global:{dir:z,installed:ag0(WA(z,"SKILL.md"))},local:{dir:J,installed:ag0(WA(J,"SKILL.md"))}});return}throw Error(`Unknown skill command: ${$}. Run 'seal-use help' for available commands.`)}o1();async function $S0($,Y){if($==="config"){E0(await jI(Y));return}throw Error(`Unknown source command: ${$??""}. Run 'seal-use help' for available commands.`)}V$();p4();R4();o1();b8();V$();I6();DZ();function dd($){if(typeof $!=="string"||!$.trim())return"UNKNOWN";let Y=$.toUpperCase().trim();if(Y==="APPROVE"||Y==="PASS")return"APPROVE";if(Y==="REJECT"||Y==="DENIED")return"REJECT";if(Y==="MANUAL"||Y==="ASSISTED")return"MANUAL";if(Y==="ERROR"||Y==="FAILED")return"ERROR";return Y}async function YS0($){let{sourceCorp:Y,targetCorp:q,sourceClient:z,targetClient:J,samples:U=10,dryRun:I=!1,pollIntervalMs:Q=2000,timeoutMs:K=45000,snPrefix:G="REG_",fetchFn:H=fetch}=$;if(q.environment!=="test")throw new Z4(`重放目标企业「${q.name}」(${q.id}) 的环境为「${q.environment}」,非测试环境!
`+"硬性安全规定:自动化回归测试矩阵严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${Y.id} <testCorpId>`);let Z=await g2(J),X=(Array.isArray(Z.features)?Z.features:[]).find((u)=>u?.code==="ai-approval"),L=typeof X?.balance==="number"?X.balance:0,w=typeof X?.deductionAmount==="number"&&X.deductionAmount>0?X.deductionAmount:120,F=U*w;if(L<F)throw new Z4(`测试企业「${q.name}」AI 审批额度不足:当前剩余 ${L} 点,本次回归抽样 ${U} 笔需要约 ${F} 点。
`+"为防止测试环境额度耗尽中断业务,已硬性拦截并拒绝发起测试单据注入。",2,`请为测试企业「${q.id}」充值 AI 审批额度,或降低抽样笔数 (--samples ${Math.max(1,Math.floor(L/w))})`);let O=await x4(z,{limit:U,status:"completed"}),P=Array.isArray(O.records)?O.records:[];if(P.length===0){let u=await x4(z,{limit:U});P=Array.isArray(u.records)?u.records:[]}if(P.length===0)throw new Z4(`在母企业「${Y.name}」(${Y.id}) 中未检索到任何历史审批单据,无法抽取回归样本。`,2);if(P=P.slice(0,U),I){let u=P.map((p)=>{let d=p.sourceDocumentSN??p.id,q0=p?.result?.decision??p.aiDecision??p?.decision,t=dd(q0),H0=p?.result?.summary??p.aiSummary;return{sn:d,sourceRecordId:p.id,prodDecision:t,prodSummary:H0,status:"DRY_RUN"}});return{ok:!0,verdict:"DRY_RUN",safeToPublish:!0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:q.id,name:q.name,environment:q.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:L,deductionAmount:w,estimatedRequired:F},metrics:{sampleCount:u.length,successCount:u.length,failureCount:0,matchCount:u.length,flipCount:0,concordanceRate:1},flips:[],records:u}}let B=await li(J,q),A=[];for(let u of P){let p=Date.now(),d=u.sourceDocumentSN??u.id,q0=dd(u?.result?.decision??u.aiDecision??u?.decision),t=u?.result?.summary??u.aiSummary;try{let H0=await e1(z,u.id),L0=`${G}${d}`,T0=di(H0,{snPrefix:G,docIdPrefix:G});await mi(B.incomingDocumentWebhook.url,B.secret,T0,H,w6(q.seal));let C0=null,j0=Date.now();while(Date.now()-j0<K){await new Promise((a0)=>setTimeout(a0,Q));let C1=await x4(J,{sourceDocumentSN:L0,limit:1});if(C1.records&&C1.records.length>0){let a0=C1.records[0];if(a0.status==="completed"||a0.status==="failed"){C0=a0;break}}}if(!C0){A.push({sn:d,sourceRecordId:u.id,prodDecision:q0,prodSummary:t,status:"FAILED",error:`测试租户单据审核超时 (${Math.round(K/1000)}s 未完成)`,durationMs:Date.now()-p});continue}let i0=dd(C0?.result?.decision??C0.aiDecision??C0?.decision??(C0.status==="completed"?"APPROVE":"ERROR")),K0=C0?.result?.summary??C0.aiSummary,v0=q0===i0,f0=v0?"MATCHED":"FLIPPED",c0={sn:d,sourceRecordId:u.id,prodDecision:q0,prodSummary:t,testRecordId:C0.id,testDecision:i0,testSummary:K0,status:f0,durationMs:Date.now()-p};if(!v0)c0.diff={from:q0,to:i0,reasonDiff:K0&&t&&K0!==t?`生产: ${t.slice(0,60)}... -> 测试: ${K0.slice(0,60)}...`:void 0};A.push(c0)}catch(H0){A.push({sn:d,sourceRecordId:u.id,prodDecision:q0,prodSummary:t,status:"FAILED",error:H0 instanceof Error?H0.message:String(H0),durationMs:Date.now()-p})}}let E=A.filter((u)=>u.status==="MATCHED"||u.status==="FLIPPED"),y=A.filter((u)=>u.status==="MATCHED"),v=A.filter((u)=>u.status==="FLIPPED"),k=A.filter((u)=>u.status==="FAILED").length,C=y.length,c=v.length,n=C+c,g=n>0?C/n:0,b=c>0,i=b?"REGRESSIONS_DETECTED":"CLEAN",$0=!b&&k===0,j;try{let u=await g2(J),d=(Array.isArray(u.features)?u.features:[]).find((q0)=>q0?.code==="ai-approval");if(typeof d?.balance==="number")j=d.balance}catch{}return{ok:!b&&k===0,verdict:i,safeToPublish:$0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:q.id,name:q.name,environment:q.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:L,deductionAmount:w,estimatedRequired:F,balanceAfter:j},metrics:{sampleCount:A.length,successCount:E.length,failureCount:k,matchCount:C,flipCount:c,concordanceRate:Number(g.toFixed(4))},flips:v,records:A}}function qS0($){let{sourceCorp:Y,targetCorp:q,verdict:z,safeToPublish:J,metrics:U,quota:I,flips:Q,records:K}=$,G=z==="CLEAN"?"\uD83D\uDFE2 决策完全一致 (CLEAN - 无回归)":z==="DRY_RUN"?"⚪ 预演模式 (DRY-RUN)":"\uD83D\uDD34 发现决策翻转 (REGRESSIONS_DETECTED)",H=["",`\uD83E\uDDEA [Seal Use Test] 规则回归测试矩阵: 生产「${Y.name}」-> 测试靶场「${q.name}」`,` 判定: ${G} · 准许发布: ${J?"YES (可安全上线)":"NO (存在行为偏离/待复核)"}`," "+"─".repeat(65),` 样本总数: ${U.sampleCount} | 一致通过: ${U.matchCount} | 决策翻转: ${U.flipCount} | 异常失败: ${U.failureCount}`,` 一致率: ${(U.concordanceRate*100).toFixed(1)}% | 消耗预估: ${I.estimatedRequired} 点 (余量: ${I.balanceBefore}${I.balanceAfter!==void 0?` -> ${I.balanceAfter}`:""})`," "+"─".repeat(65)];if(Q.length>0){H.push(` ⚠️ 决策翻转清单 (${Q.length} 笔单据在新规则下结果改变):`);for(let Z of Q)if(H.push(` • 单据 [${Z.sn}]: 原生产判定「${Z.prodDecision}」 ➔ 测试新判定「${Z.testDecision}」`),Z.diff?.reasonDiff)H.push(` 理由差异: ${Z.diff.reasonDiff}`);H.push(" "+"─".repeat(65)),H.push(" \uD83D\uDC49 建议: 请检查上述翻转单据是否符合预期修正。若为意外误杀,请调整测试环境规则后再次回归。")}else if(z==="CLEAN")H.push(" ✓ 全部样本在新规则下的审核决策与生产历史 100% 吻合,无任何意外误杀或漏判。"),H.push(" \uD83D\uDC49 下一步操作: seal-use deploy hosecloud sync <signKey> 或发布正式版本");return H.push(""),H.join(`
`)}async function md($,Y,q){let z=($??Y??"regression").toLowerCase();if(z==="regression"||z==="regress"||z==="matrix"){let J=T(q.options.corp)??(Y&&Y!==z?Y:void 0),U=W1(J),I=U,Q=U;if(U.environment==="test"){Q=U;let P=T(q.options["prod-corp"])??T(q.options.prod)??U.prodCorpId;if(!P)throw new Z4(`测试企业「${U.name}」(${U.id}) 未绑定生产母企业,无法拉取历史样本。
`+"请建立绑定或通过 --prod-corp 参数指定生产企业来源。",2,`seal-use corps bind-test <prodCorpId> ${U.id}`);I=W1(P)}else{I=U;let P=T(q.options["test-corp"])??T(q.options.test)??U.testCorpId;if(!P)throw new Z4(`生产企业「${U.name}」(${U.id}) 未绑定测试靶场企业。
`+"硬性规定:回归测试严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${U.id} <testCorpId>`);Q=W1(P)}let K=await Z1(I),G=await Z1(Q),H=g0(q.options.samples)??g0(q.options.limit)??g0(q.options.n)??10,Z=J0(q.options["dry-run"]),V=J0(q.options["fail-on-flips"]),X=g0(q.options["poll-interval"])??2000,L=g0(q.options.timeout)??45000,w=T(q.options["sn-prefix"])??"REG_",F=await YS0({sourceCorp:I,targetCorp:Q,sourceClient:K,targetClient:G,samples:H,dryRun:Z,pollIntervalMs:X,timeoutMs:L,snPrefix:w,failOnFlips:V});if(!(J0(q.options.quiet)||J0(q.options.silent)))console.error(qS0(F));if(E0(F),V&&!F.ok)throw new Z4(`回归测试发现 ${F.metrics.flipCount} 笔单据决策翻转,已按 --fail-on-flips 策略非零终止。`,1);return}throw new Z4(`未知的 test 子命令: "${z}"。
可用子命令: seal-use test regression [--corp <id>] [--samples <N>] [--dry-run]`,2,"seal-use test regression --help")}p4();R4();o1();async function zS0($,Y,q,z){if(!$)throw Error("Usage: seal-use tool <toolName> [--json '{...}']");await A0($,Y,q,C8(z.json),F0(z.options))}iP();o1();function JS0(){E0(qW.map(($)=>({name:$.name,description:$.description})))}import{chmodSync as Wi1,mkdirSync as Xi1,renameSync as ld,rmSync as Vi1,unlinkSync as GS0,writeFileSync as US0}from"node:fs";import{dirname as Li1,join as IS0}from"node:path";import{spawnSync as jq}from"node:child_process";function XA($=process.execPath,Y=import.meta.url){if(Y.includes("/$bunfs/")||Y.includes("\\$bunfs\\"))return!0;let q=$.toLowerCase().replace(/\\/g,"/");return!q.endsWith("/bun")&&!q.endsWith("/bun.exe")&&!q.endsWith("/node")&&!q.endsWith("/node.exe")}o1();var HS0="yunyingk/seal-use",VW="yunyingk/seal-home";var wi1="SEAL_USE_GITHUB_REPO",Fi1="SEAL_HOME_GITHUB_REPO";async function ZS0($,Y={}){let q={appRoot:$.appRoot,entryFile:$.entryFile,stateDir:cd,version:Q1,launcher:$.launcher},z=Y.repo||process.env[wi1]?.trim()||process.env[Fi1]?.trim()||HS0,J=Y.targetVersion?.trim(),U=J&&J.toLowerCase()!=="latest"?J:void 0;if(U){let A=U.replace(/^v/,""),E=WS0(A,Q1);if(E<0)if(!Av&&Y.force);else{E0({updated:!1,currentVersion:Q1,targetVersion:A,mode:XA()?"binary":"source",message:!Av?`Cannot downgrade seal-use from dev build v${Q1} to release v${A}. Use --force to overwrite.`:`Cannot downgrade seal-use from v${Q1} to older version v${A}. Updates must be forward-only.`});return}if(E===0&&!Y.force){E0({updated:!1,currentVersion:Q1,targetVersion:A,mode:XA()?"binary":"source",message:`seal-use is already at version v${Q1}. Use --force to reinstall.`});return}}if(Y.changelogOnly){let A=await od(z,Y.limit??10);E0({currentVersion:Q1,totalQueried:A.length,releases:A.map((E)=>({version:E.version,tagName:E.tagName,publishedAt:E.publishedAt,author:E.author,releaseNotes:E.notes,releaseUrl:E.htmlUrl,isCurrent:E.version===Q1,isNewer:XW(E.version,Q1)}))});return}if(!XA()){if(Y.checkOnly){let E=await od(z,30),y=E[0],v=y?.version??Q1,k=E.find((n)=>n.version===Q1),C=XW(v,Q1),c=E.filter((n)=>XW(n.version,Q1));E0({updated:!1,updateAvailable:C,currentVersion:Q1,currentVersionPublishedAt:k?.publishedAt,latestVersion:v,latestVersionPublishedAt:y?.publishedAt,behindCount:c.length,pendingReleases:c.map((n)=>({version:n.version,tagName:n.tagName,publishedAt:n.publishedAt,author:n.author,releaseNotes:n.notes,releaseUrl:n.htmlUrl})),releaseNotes:y?.notes??"",releaseUrl:y?.htmlUrl??"",mode:"source",message:"Running in source development mode. Run 'seal-use update' to git pull & bun install."});return}let A=RI(q).running;if(A)await Eq("stop",q);try{KS0("git",["-C",$.appRoot,"pull","--ff-only"])}catch(E){console.error(`git pull skipped: ${E instanceof Error?E.message:String(E)}`)}if(KS0("bun",["install"],{cwd:$.appRoot}),A)await Eq("start",q);E0({updated:!0,serviceRestarted:A,version:Q1,mode:"source"});return}let I=Oi1(),Q=Mi1(),K=await od(z,30),G=U?K.find((A)=>A.version===U||A.tagName===U||A.tagName===`v${U}`)??await QS0(z,U):K[0]??await QS0(z);if(!G){E0({updated:!1,currentVersion:Q1,mode:"binary",message:`Failed to query releases from repository '${z}'`});return}let H=G.version,Z=K.find((A)=>A.version===Q1),V=XW(H,Q1),X=V||Boolean(Y.force),L=K.filter((A)=>XW(A.version,Q1));if(Y.checkOnly){E0({updated:!1,updateAvailable:V,currentVersion:Q1,currentVersionPublishedAt:Z?.publishedAt,latestVersion:H,latestVersionPublishedAt:G.publishedAt,behindCount:L.length,pendingReleases:L.map((A)=>({version:A.version,tagName:A.tagName,publishedAt:A.publishedAt,author:A.author,releaseNotes:A.notes,releaseUrl:A.htmlUrl})),releaseNotes:G.notes,releaseUrl:G.htmlUrl,mode:"binary"});return}if(!X){E0({updated:!1,currentVersion:Q1,currentVersionPublishedAt:Z?.publishedAt,latestVersion:H,latestVersionPublishedAt:G.publishedAt,mode:"binary",message:`seal-use is already up to date (v${Q1})`});return}let w=Ni1(G.assets,I,Q);if(!w)throw Error(`No compatible binary found for ${I}-${Q} in release v${H}. Available assets: ${G.assets.map((A)=>A.name).join(", ")}`);let F=RI(q).running;if(F)await Eq("stop",q);let O=process.execPath,P=Li1(O),B=IS0(P,`.tmp-update-${Date.now()}`);Xi1(B,{recursive:!0});try{let A=IS0(B,w.name);await Di1(w.downloadUrl,A,G.tagName,w.name);let E=A;if(w.name.endsWith(".tar.gz")||w.name.endsWith(".tgz"))E=Pi1(A,B,I);else if(w.name.endsWith(".zip"))E=Ai1(A,B,I);if(Wi1(E,493),process.platform==="darwin")try{jq("/usr/bin/codesign",["--remove-signature",E],{stdio:"ignore"}),jq("/usr/bin/codesign",["--force","--sign","-",E],{stdio:"ignore"})}catch{}if(process.platform==="win32"){let v=`${O}.old.${Date.now()}`;try{ld(O,v)}catch{}ld(E,O)}else ld(E,O);if(F)await Eq("start",q);let y=vd();E0({updated:!0,fromVersion:Q1,toVersion:H,serviceRestarted:F,skillSynced:y.synced?y.targetDir:!1,mode:"binary"})}finally{try{Vi1(B,{recursive:!0,force:!0})}catch{}}}function Oi1(){if(process.platform==="darwin")return"darwin";if(process.platform==="win32")return"windows";return"linux"}function Mi1(){return process.arch==="arm64"?"arm64":"x64"}function rd(){let $=(process.env.SEAL_USE_MIRROR||process.env.SEAL_HOME_MIRROR)?.trim().toLowerCase();if($==="github"||$==="gitea")return $;if(process.env.CI)return"github";return"auto"}async function od($,Y=20){let q=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,z={"User-Agent":`seal-use/${Q1}`,Accept:"application/vnd.github.v3+json",...q?{Authorization:`Bearer ${q}`}:{}},J=rd(),U=[];if(J!=="github")U.push(`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases?per_page=${Y}`,`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases?per_page=${Y}`);if(J!=="gitea"){if(U.push(`https://api.github.com/repos/${$}/releases?per_page=${Y}`),$!==VW)U.push(`https://api.github.com/repos/${VW}/releases?per_page=${Y}`)}for(let I of U)try{let Q=await fetch(I,{headers:z,signal:AbortSignal.timeout(3000)});if(!Q.ok)continue;let K=await Q.json();if(!Array.isArray(K)||K.length===0)continue;let G=[];for(let H of K){let Z=H.tag_name??"",V=Z.replace(/^v/,"");if(!V)continue;let X=(H.assets??[]).map((L)=>({name:L.name,downloadUrl:L.browser_download_url,size:L.size??0}));G.push({version:V,tagName:Z,name:H.name??Z,publishedAt:H.published_at,author:H.author?.login,notes:H.body??"",htmlUrl:H.html_url??"",assets:X})}if(G.length>0)return G}catch{}return[]}async function QS0($,Y){let q=Y?Y.startsWith("v")?Y:`v${Y}`:void 0,z=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,J={"User-Agent":`seal-use/${Q1}`,Accept:"application/vnd.github.v3+json",...z?{Authorization:`Bearer ${z}`}:{}},U=rd(),I=[];if(U!=="github")I.push(q?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/tags/${q}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/latest",q?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/tags/${q}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/latest");if(U!=="gitea"){if(I.push(q?`https://api.github.com/repos/${$}/releases/tags/${q}`:`https://api.github.com/repos/${$}/releases/latest`),$!==VW)I.push(q?`https://api.github.com/repos/${VW}/releases/tags/${q}`:`https://api.github.com/repos/${VW}/releases/latest`)}let Q;for(let K of I)try{let G=await fetch(K,{headers:J,signal:AbortSignal.timeout(3000)});if(!G.ok)continue;let H=await G.json(),Z=H.tag_name??"",V=Z.replace(/^v/,"");if(!V)continue;let X=(H.assets??[]).map((w)=>({name:w.name,downloadUrl:w.browser_download_url,size:w.size??0})),L={version:V,tagName:Z,name:H.name??Z,publishedAt:H.published_at,author:H.author?.login,notes:H.body??"",htmlUrl:H.html_url??"",assets:X};if(X.length>0)return L;if(!Q)Q=L}catch{}return Q}function Ni1($,Y,q){let z={darwin:["darwin","macos","osx","apple"],linux:["linux"],windows:["windows","win32","win"]},J={arm64:["arm64","aarch64"],x64:["x64","x86_64","amd64"]},U=z[Y]||[],I=J[q]||[],Q=$.filter((H)=>{let Z=H.name.toLowerCase(),V=U.some((L)=>Z.includes(L)),X=I.some((L)=>Z.includes(L));return V&&X}),K=Q.find((H)=>!H.name.endsWith(".tar.gz")&&!H.name.endsWith(".tgz")&&!H.name.endsWith(".zip")&&!H.name.endsWith(".sha256"));if(K)return K;return Q.find((H)=>H.name.endsWith(".tar.gz")||H.name.endsWith(".tgz")||H.name.endsWith(".zip"))||Q[0]}function VA($){try{process.stderr.write(`${$}
`)}catch{}}async function Di1($,Y,q,z){let J=rd(),U=[],I=q?q.startsWith("v")?q:`v${q}`:void 0,Q=z||$.split("/").pop()||"";if(J!=="github"){if(I&&Q)U.push(`https://git.ying-qing.cn/gitea/seal-use/releases/download/${I}/${Q}`,`https://git.ying-qing.cn/gitea/seal-home/releases/download/${I}/${Q}`);if($.startsWith("https://git.ying-qing.cn"))U.push($)}if(J!=="gitea")if(I&&Q){let w=`https://github.com/${HS0}/releases/download/${I}/${Q}`;if(!process.env.CI)U.push(`https://ghfast.top/${w}`,`https://gh.ddlc.top/${w}`);U.push(w)}else if($.includes("github.com")){if(!process.env.CI)U.push(`https://ghfast.top/${$}`,`https://gh.ddlc.top/${$}`);U.push($)}else U.push($);let K=Array.from(new Set(U)),G,H=6000,Z=6000,V=307200,X=1e4,L=180000;for(let w=0;w<K.length;w++){let F=K[w],O=new AbortController,P="",B=(v)=>{P=v;try{O.abort()}catch{}},A=setTimeout(()=>{B("Connection timed out (no response headers within 6s)")},H),E,y;try{VA(`==> [${w+1}/${K.length}] Downloading via: ${F}`);let v=await fetch(F,{signal:O.signal});if(A)clearTimeout(A),A=void 0;if(!v.ok)throw Error(`HTTP ${v.status} ${v.statusText}`);E=setTimeout(()=>{B("Overall download time exceeded 3 minutes")},L);let k=Number(v.headers.get("content-length"))||0,C=v.body?.getReader();if(!C){let i=Buffer.from(await v.arrayBuffer());if(i.length<1000)throw Error(`Downloaded content is suspiciously small (${i.length} bytes)`);US0(Y,i),VA(`✓ Download succeeded (${(i.length/1024/1024).toFixed(1)} MB)`);return}let c=[],n=0,g=0;y=setTimeout(()=>{if(n<V){let i=(n/1024).toFixed(1);B(`Initial transfer too slow (${i} KB < 300 KB in 6s), switching mirror...`)}},Z);while(!0){let i=C.read(),$0,j=new Promise((q0,t)=>{$0=setTimeout(()=>{t(Error("Data transfer stalled (no chunk received for 10s)"))},X)}),u;try{u=await Promise.race([i,j])}finally{if($0)clearTimeout($0)}let{done:p,value:d}=u;if(p)break;if(d){if(c.push(d),n+=d.length,y&&n>=V)clearTimeout(y),y=void 0;let q0=Date.now();if(q0-g>200){g=q0;let t=k?Math.round(n/k*100):0,H0=(n/1048576).toFixed(1),L0=k?(k/1048576).toFixed(1):"?";try{process.stderr.write(`\r ↳ Progress: ${t}% (${H0} / ${L0} MB)...`)}catch{}}}}try{process.stderr.write(`
`)}catch{}let b=Buffer.concat(c);if(b.length<1000)throw Error(`Downloaded content is suspiciously small (${b.length} bytes)`);US0(Y,b),VA(`✓ Download completed successfully (${(b.length/1024/1024).toFixed(1)} MB)`);return}catch(v){if(A)clearTimeout(A);if(y)clearTimeout(y);if(E)clearTimeout(E);let k=P||(v instanceof Error?v.message:String(v));G=Error(k),VA(`
↳ Mirror failed: ${G.message}`)}finally{if(A)clearTimeout(A);if(y)clearTimeout(y);if(E)clearTimeout(E)}}throw Error(`Failed to download asset from all mirrors: ${G?.message}`)}function Pi1($,Y,q){let z=jq("tar",["-xzf",$,"-C",Y],{stdio:"pipe"});if(z.status!==0)throw Error(`Failed to extract tar archive: ${z.stderr.toString()}`);GS0($);let J=q==="windows"?"seal-use.exe":"seal-use",U=jq("find",[Y,"-type","f"],{encoding:"utf8"}).stdout.trim().split(`
`).filter(Boolean),I=U.find((Q)=>Q.endsWith(`/${J}`)||Q.endsWith(J));if(I)return I;return U[0]||$}function Ai1($,Y,q){let z=jq("unzip",["-q","-o",$,"-d",Y],{stdio:"pipe"});if(z.status!==0)throw Error(`Failed to extract zip archive: ${z.stderr.toString()}`);GS0($);let J=q==="windows"?"seal-use.exe":"seal-use",U=jq("find",[Y,"-type","f"],{encoding:"utf8"}).stdout.trim().split(`
`).filter(Boolean),I=U.find((Q)=>Q.endsWith(`/${J}`)||Q.endsWith(J));if(I)return I;return U[0]||$}function WS0($,Y){let q=$.replace(/^v/,"").split(".").map((J)=>Number.parseInt(J,10)||0),z=Y.replace(/^v/,"").split(".").map((J)=>Number.parseInt(J,10)||0);for(let J=0;J<Math.max(q.length,z.length);J++){let U=q[J]??0,I=z[J]??0;if(U>I)return 1;if(U<I)return-1}return 0}function XW($,Y){return WS0($,Y)>0}function KS0($,Y,q={}){let z=jq($,Y,{cwd:q.cwd,encoding:"utf8",stdio:["ignore","pipe","pipe"]});if(z.stdout)console.error(z.stdout.trimEnd());if(z.stderr)console.error(z.stderr.trimEnd());if(z.status!==0)throw Error(`${$} ${Y.join(" ")} failed with status ${z.status}`)}p4();R4();o1();async function XS0($,Y,q,z,J){if($==="create"){let U=T(J.options.name)??Y,I=T(J.options.phone);if(!U||!I)throw Error("Usage: seal-use users create --name <name> --phone <phone> [--dept <deptId>]");let Q=T(J.options.dept)??T(J.options.departmentId);await A0("seal_user_create",q,z,{name:U,phone:I,departmentIds:Q?[Q]:void 0},F0(J.options));return}if($==="reset-password"){let U=Y??T(J.options.userId);if(!U)throw Error("Usage: seal-use users reset-password <userId>");await A0("seal_user_reset_password",q,z,{userId:U},F0(J.options));return}if($==="search"||$==="list"){let U=Y??T(J.options.keyword)??T(J.options.query)??"";await A0("seal_user_search",q,z,{keyword:U},F0(J.options));return}if($==="get"){let U=Y??T(J.options.userId);if(!U)throw Error("Usage: seal-use users get <userId>");await A0("seal_user_get",q,z,{userId:U},F0(J.options));return}if($==="delete"){let U=Y??T(J.options.userId);if(!U)throw Error("Usage: seal-use users delete <userId>");await A0("seal_user_delete",q,z,{userId:U},F0(J.options));return}if($==="activate"){let U=Y??T(J.options.userId);if(!U)throw Error("Usage: seal-use users activate <userId>");await A0("seal_user_activate",q,z,{userId:U},F0(J.options));return}if($==="delegation"||$==="impersonate"){let U=Y??T(J.options.userId)??T(J.options.phone);if(!U)throw Error("Usage: seal-use users delegation <userIdOrPhone> [--note <note>]");let I=T(J.options.note);await A0("seal_user_delegation_create",q,z,{userIdOrPhone:U,note:I},F0(J.options));return}throw Error(`Unknown users command: ${$??""}. Run 'seal-use help' for available commands.`)}V$();p4();R4();Vd();o1();var VS0=sd(sd(sd(Ti1(import.meta.url)))),Ei1=new Set(["config","service","stop","http","serve","update","tools","corps","corp","tool","source","auth","delegation","users","contacts","data","llm","permissions","billing","webhook","webhooks","context","rules","approval-runs","analytics","simulation","deploy","preference","preferences","mcp","server","mcp-config","skill","openapi","probe","doctor","changelog","test"]),ji1=new Set(["http","server","web","mcp"]);function _i1($){if(!$.length)return!1;let Y=$[0]?.toLowerCase(),q=$[1]?.toLowerCase();if(Y&&ji1.has(Y))return!0;if((Y==="service"||Y==="daemon")&&q==="run")return!0;return!1}var LS0=Promise.resolve();function ZW($,Y={}){if(_i1($))return wS0($,Y);let q=LS0.then(()=>wS0($,Y));return LS0=q.then(()=>{return},()=>{return}),q}async function wS0($,Y){let q=[],z=[],J=console.log,U=console.error,I={appRoot:Y.appRoot??VS0,entryFile:Y.entryFile??Bi1(Y.appRoot??VS0,"src","cli.ts"),launcher:Y.launcher};console.log=(...Q)=>{q.push(Ld(Q))},console.error=(...Q)=>{z.push(Ld(Q))};try{return await Ri1($,I),{stdout:JW(q),stderr:JW(z),isError:!1,exitCode:0}}catch(Q){let K=UW(Q instanceof Error?Q.message:String(Q)),G=wD(Q);if(z.push(K),G.nextAction&&!K.includes("Next action:"))z.push(`\uD83D\uDC49 Next action: ${G.nextAction}`);return{stdout:JW(q),stderr:JW(z),isError:!0,exitCode:G.exitCode}}finally{console.log=J,console.error=U}}async function Ri1($,Y){let q=Kd($),[z,J,U]=q.command;if(z==="version"||z==="v"||Boolean(q.options.version)||Boolean(q.options.v)||Boolean(q.options.V)){E0(FK);return}let I=jv0(q);if(I.isHelp){vv0(I.target);return}if(!z||!Ei1.has(z))throw Error(`Unknown command: ${q.command.join(" ")}. Run 'seal-use help' for available commands.`);if(z==="webhook"&&(J==="resource-pack"||J==="pack"||J==="material-pack")&&U==="preview"){let G=q.command[3]??T(q.options.file)??T(q.options.input);if(!G)throw Error("Usage: seal-use webhook resource-pack preview <资源包.zip>");await Sv0(G,BI(q.options));return}if(z==="openapi"){bg0(q);return}if(z==="mcp-config"){kd();return}if(z==="skill"){eg0(J,U,q);return}if(z==="mcp"||z==="server"){await fg0(J,q);return}if(z==="probe"){await dg0(J,U,q);return}if(z==="doctor"){await gg0(J,U,q);return}if(z==="test"){await md(J,U,q);return}if(z==="config"){Jg0(J,U,q);return}if(z==="service"){await pd(J,Y,q);return}if(z==="stop"){await pd("stop",Y,q);return}if(z==="http"||z==="serve"){await kg0(q);return}if(z==="update"||z==="changelog"){let G=z==="changelog"||J==="changelog"||J==="log"||J==="history"||J0(q.options.changelog)===!0,H=J==="check"||J0(q.options.check)===!0||J0(q.options["check-only"])===!0,Z=T(q.options.version)??T(q.options.tag)??(!G&&!H&&J&&!J.startsWith("-")?J:void 0);await ZS0(Y,{checkOnly:H,changelogOnly:G,limit:g0(q.options.limit),force:J0(q.options.force),targetVersion:Z,repo:T(q.options.repo)});return}if(z==="tools"&&J==="list"){JS0();return}if(z==="corps"||z==="corp"){if(J==="regression"||J==="test-regression"){await md("regression",U,q);return}await oh0(J,U,q);return}if(z==="delegation"&&J==="create"&&(("from-link"in q.options)||("link"in q.options))){let G=T(q.options["from-link"])??T(q.options.link);if(!G)throw Error("Usage: seal-use delegation create --from-link <url> [--note <note>]");await Kg0(G,T(q.options.note));return}if(z==="rules"&&J==="lint"&&(("file"in q.options)||("f"in q.options))){let G;try{G=W1(T(q.options.corp))}catch{G={id:"local",name:"Local Workspace",source:{type:"native"}}}await fd(J,U,null,G,q);return}if(z==="auth"&&(J==="extract-keys"||J==="extract-key")){await $g0(U,q);return}let Q=W1(T(q.options.corp));if(z==="source"){await $S0(J,Q);return}if(z==="auth"){await Yg0(J,Q,q);return}let K=await Z1(Q);if(z==="delegation"){await Gg0(J,U,K,Q,q);return}if(z==="users"){await XS0(J,U,K,Q,q);return}if(z==="contacts"){await Ug0(J,U,K,Q,q);return}if(z==="data"){await Ig0(J,K,Q,q);return}if(z==="llm"){await ug0(J,K,Q,q);return}if(z==="permissions"){await ig0(J,K,Q,q);return}if(z==="billing"){await zg0(J,K,Q,q);return}if(z==="webhook"||z==="webhooks"){await mP(J,U,K,Q,q);return}if(z==="context"){await Qg0(K,Q,q);return}if(z==="rules"){await fd(J,U,K,Q,q);return}if(z==="approval-runs"){await yv0(J,U,K,Q,q);return}if(z==="analytics"){await xv0(J,U,K,Q,q);return}if(z==="simulation"){await tg0(J,U,K,Q,q);return}if(z==="deploy"){await Hg0(J,U,q.command[3],K,Q,q);return}if(z==="preference"||z==="preferences"){await cg0(J,U,q.command[3],q.command[4],K,Q,q);return}if(z==="tool"){await zS0(J,K,Q,q);return}throw Error(`Unknown command: ${q.command.join(" ")}. Run 'seal-use help' for available commands.`)}V$();var P3=Ci1(import.meta.url),OS0=P3.includes("/dist/mcp/")||P3.includes("\\dist\\mcp\\")?LW(LW(LW(P3))):LW(LW(P3)),vi1="seal_cli",hi1="SEAL_USE_MCP_ENABLED",gi1="SEAL_HOME_MCP_ENABLED";function Si1($=process.env[hi1]??process.env[gi1]){if($===void 0)return!1;return["1","true","yes","on"].includes($.trim().toLowerCase())}function yi1($={}){let Y=$.enableCli??!0,q=new sC({name:"seal-use",version:Q1},{capabilities:{tools:{}}});if(q.setRequestHandler(kR,async()=>({tools:Y?[{name:vi1,description:"Run seal-use CLI commands. See the seal-use skill for command reference.",inputSchema:{type:"object",properties:{command:{type:"string",description:"A seal-use CLI command, with or without the leading 'seal-use' or 'seal-home'."}},required:["command"],additionalProperties:!1}}]:[]})),Y)q.setRequestHandler(yQ,async(z)=>{let J=z.params.arguments,U=J&&typeof J.command==="string"?J.command:void 0;if(!U?.trim())return td({stdout:"",stderr:"seal_cli requires a non-empty command string",isError:!0,exitCode:2});try{let I=xd(U),Q=xi1(I);if(!Q.length)throw Error("seal_cli requires a non-empty command string");return td(await ZW(Q,{appRoot:OS0,entryFile:P3,launcher:{command:process.execPath,args:[P3,"--seal-home-cli"]}}))}catch(I){let Q=wD(I);return td({stdout:"",stderr:I instanceof Error?I.message:String(I),isError:!0,exitCode:Q.exitCode})}});return q}async function ud(){let $=Si1();await yi1({enableCli:$}).connect(new aC),console.error($?"seal-use MCP server running on stdio":"seal-use MCP server connected with seal_cli disabled by configuration")}function xd($){let Y=[],q="",z,J=!1,U=!1;for(let I of $){if(J){q+=I,J=!1,U=!0;continue}if(I==="\\"&&z!=="'"){J=!0,U=!0;continue}if(z){if(I===z)z=void 0;else q+=I;U=!0;continue}if(I==="'"||I==='"'){z=I,U=!0;continue}if(/\s/.test(I)){if(U)Y.push(q),q="",U=!1;continue}q+=I,U=!0}if(J)throw Error("Invalid command: trailing escape");if(z)throw Error("Invalid command: unterminated quote");if(U)Y.push(q);return Y}function xi1($){let Y=$[0];if(!Y)return[];if(Y==="seal-use"||Y==="seal-home"||Y.endsWith("/seal-use")||Y.endsWith("/seal-home"))return $.slice(1);return $}function td($){return{content:[{type:"text",text:$.isError?$.stderr||$.stdout:$.stdout}],isError:$.isError}}async function ki1(){let $=await ZW(process.argv.slice(3),{appRoot:OS0,entryFile:P3,launcher:{command:process.execPath,args:[P3,"--seal-use-cli"]}});if($.stdout)process.stdout.write($.stdout);if($.stderr)process.stderr.write(`${$.stderr}${$.stderr.endsWith(`
`)?"":`
`}`);process.exitCode=$.exitCode}var ui1=Boolean(m.main==m.module||!import.meta.url.includes("$bunfs")&&process.argv[1]&&FS0(process.argv[1])===FS0(P3));if(ui1)if(process.argv[2]==="--seal-use-cli"||process.argv[2]==="--seal-home-cli")await ki1();else ud().catch(($)=>{console.error($),process.exitCode=1});export{xd as tokenizeCommand,ud as startServer,Si1 as resolveMcpEnabled,yi1 as createServer,hi1 as SEAL_MCP_ENABLED_ENV,vi1 as SEAL_CLI_TOOL_NAME,gi1 as LEGACY_SEAL_MCP_ENABLED_ENV};