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

1338 lines
2.0 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 ww0}from"node:module";var Kw0=Object.create;var{getPrototypeOf:qw0,defineProperty:ED,getOwnPropertyNames:Gw0}=Object;var Hw0=Object.prototype.hasOwnProperty;function Ww0($){return this[$]}var Vw0,Zw0,VI=($,I,U)=>{var Y=$!=null&&typeof $==="object";if(Y){var J=I?Vw0??=new WeakMap:Zw0??=new WeakMap,Q=J.get($);if(Q)return Q}U=$!=null?Kw0(qw0($)):{};let K=I||!$||!$.__esModule?ED(U,"default",{value:$,enumerable:!0}):U;for(let q of Gw0($))if(!Hw0.call(K,q))ED(K,q,{get:Ww0.bind($,q),enumerable:!0});if(Y)J.set($,K);return K};var O=($,I)=>()=>(I||$((I={exports:{}}).exports,I),I.exports);var zw0=($)=>$;function Xw0($,I){this[$]=zw0.bind(null,I)}var m8=($,I)=>{for(var U in I)ED($,U,{get:I[U],enumerable:!0,configurable:!0,set:Xw0.bind(I,U)})};var r=ww0(import.meta.url);var jQ=O((Sf)=>{Object.defineProperty(Sf,"__esModule",{value:!0});Sf.regexpCode=Sf.getEsmExportName=Sf.getProperty=Sf.safeStringify=Sf.stringify=Sf.strConcat=Sf.addCodeArg=Sf.str=Sf._=Sf.nil=Sf._Code=Sf.Name=Sf.IDENTIFIER=Sf._CodeOrName=void 0;class RW{}Sf._CodeOrName=RW;Sf.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class rI extends RW{constructor($){super();if(!Sf.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}}}Sf.Name=rI;class f$ extends RW{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((I,U)=>`${I}${U}`,"")}get names(){var $;return($=this._names)!==null&&$!==void 0?$:this._names=this._items.reduce((I,U)=>{if(U instanceof rI)I[U.str]=(I[U.str]||0)+1;return I},{})}}Sf._Code=f$;Sf.nil=new f$("");function jf($,...I){let U=[$[0]],Y=0;while(Y<I.length)uP(U,I[Y]),U.push($[++Y]);return new f$(U)}Sf._=jf;var kP=new f$("+");function _f($,...I){let U=[CQ($[0])],Y=0;while(Y<I.length)U.push(kP),uP(U,I[Y]),U.push(kP,CQ($[++Y]));return xN0(U),new f$(U)}Sf.str=_f;function uP($,I){if(I instanceof f$)$.push(...I._items);else if(I instanceof rI)$.push(I);else $.push(fN0(I))}Sf.addCodeArg=uP;function xN0($){let I=1;while(I<$.length-1){if($[I]===kP){let U=kN0($[I-1],$[I+1]);if(U!==void 0){$.splice(I-1,3,U);continue}$[I++]="+"}I++}}function kN0($,I){if(I==='""')return $;if($==='""')return I;if(typeof $=="string"){if(I instanceof rI||$[$.length-1]!=='"')return;if(typeof I!="string")return`${$.slice(0,-1)}${I}"`;if(I[0]==='"')return $.slice(0,-1)+I.slice(1);return}if(typeof I=="string"&&I[0]==='"'&&!($ instanceof rI))return`"${$}${I.slice(1)}`;return}function uN0($,I){return I.emptyStr()?$:$.emptyStr()?I:_f`${$}${I}`}Sf.strConcat=uN0;function fN0($){return typeof $=="number"||typeof $=="boolean"||$===null?$:CQ(Array.isArray($)?$.join(","):$)}function bN0($){return new f$(CQ($))}Sf.stringify=bN0;function CQ($){return JSON.stringify($).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}Sf.safeStringify=CQ;function iN0($){return typeof $=="string"&&Sf.IDENTIFIER.test($)?new f$(`.${$}`):jf`[${$}]`}Sf.getProperty=iN0;function nN0($){if(typeof $=="string"&&Sf.IDENTIFIER.test($))return new f$(`${$}`);throw Error(`CodeGen: invalid export name: ${$}, use explicit $id name mapping`)}Sf.getEsmExportName=nN0;function pN0($){return new f$($.toString())}Sf.regexpCode=pN0});var nP=O((xf)=>{Object.defineProperty(xf,"__esModule",{value:!0});xf.ValueScope=xf.ValueScopeName=xf.Scope=xf.varKinds=xf.UsedValueState=void 0;var k6=jQ();class yf extends Error{constructor($){super(`CodeGen: "code" for ${$} not defined`);this.value=$.value}}var CW;(function($){$[$.Started=0]="Started",$[$.Completed=1]="Completed"})(CW||(xf.UsedValueState=CW={}));xf.varKinds={const:new k6.Name("const"),let:new k6.Name("let"),var:new k6.Name("var")};class bP{constructor({prefixes:$,parent:I}={}){this._names={},this._prefixes=$,this._parent=I}toName($){return $ instanceof k6.Name?$:this.name($)}name($){return new k6.Name(this._newName($))}_newName($){let I=this._names[$]||this._nameGroup($);return`${$}${I.index++}`}_nameGroup($){var I,U;if(((U=(I=this._parent)===null||I===void 0?void 0:I._prefixes)===null||U===void 0?void 0:U.has($))||this._prefixes&&!this._prefixes.has($))throw Error(`CodeGen: prefix "${$}" is not allowed in this scope`);return this._names[$]={prefix:$,index:0}}}xf.Scope=bP;class iP extends k6.Name{constructor($,I){super(I);this.prefix=$}setValue($,{property:I,itemIndex:U}){this.value=$,this.scopePath=k6._`.${new k6.Name(I)}[${U}]`}}xf.ValueScopeName=iP;var UF0=k6._`\n`;class hf extends bP{constructor($){super($);this._values={},this._scope=$.scope,this.opts={...$,_n:$.lines?UF0:k6.nil}}get(){return this._scope}name($){return new iP($,this._newName($))}value($,I){var U;if(I.ref===void 0)throw Error("CodeGen: ref must be passed in value");let Y=this.toName($),{prefix:J}=Y,Q=(U=I.key)!==null&&U!==void 0?U:I.ref,K=this._values[J];if(K){let H=K.get(Q);if(H)return H}else K=this._values[J]=new Map;K.set(Q,Y);let q=this._scope[J]||(this._scope[J]=[]),G=q.length;return q[G]=I.ref,Y.setValue(I,{property:J,itemIndex:G}),Y}getValue($,I){let U=this._values[$];if(!U)return;return U.get(I)}scopeRefs($,I=this._values){return this._reduceValues(I,(U)=>{if(U.scopePath===void 0)throw Error(`CodeGen: name "${U}" has no value`);return k6._`${$}${U.scopePath}`})}scopeCode($=this._values,I,U){return this._reduceValues($,(Y)=>{if(Y.value===void 0)throw Error(`CodeGen: name "${Y}" has no value`);return Y.value.code},I,U)}_reduceValues($,I,U={},Y){let J=k6.nil;for(let Q in $){let K=$[Q];if(!K)continue;let q=U[Q]=U[Q]||new Map;K.forEach((G)=>{if(q.has(G))return;q.set(G,CW.Started);let H=I(G);if(H){let W=this.opts.es5?xf.varKinds.var:xf.varKinds.const;J=k6._`${J}${W} ${G} = ${H};${this.opts._n}`}else if(H=Y===null||Y===void 0?void 0:Y(G))J=k6._`${J}${H}${this.opts._n}`;else throw new yf(G);q.set(G,CW.Completed)})}return J}}xf.ValueScope=hf});var t0=O((u6)=>{Object.defineProperty(u6,"__esModule",{value:!0});u6.or=u6.and=u6.not=u6.CodeGen=u6.operators=u6.varKinds=u6.ValueScopeName=u6.ValueScope=u6.Scope=u6.Name=u6.regexpCode=u6.stringify=u6.getProperty=u6.nil=u6.strConcat=u6.str=u6._=void 0;var K1=jQ(),b$=nP(),J9=jQ();Object.defineProperty(u6,"_",{enumerable:!0,get:function(){return J9._}});Object.defineProperty(u6,"str",{enumerable:!0,get:function(){return J9.str}});Object.defineProperty(u6,"strConcat",{enumerable:!0,get:function(){return J9.strConcat}});Object.defineProperty(u6,"nil",{enumerable:!0,get:function(){return J9.nil}});Object.defineProperty(u6,"getProperty",{enumerable:!0,get:function(){return J9.getProperty}});Object.defineProperty(u6,"stringify",{enumerable:!0,get:function(){return J9.stringify}});Object.defineProperty(u6,"regexpCode",{enumerable:!0,get:function(){return J9.regexpCode}});Object.defineProperty(u6,"Name",{enumerable:!0,get:function(){return J9.Name}});var hW=nP();Object.defineProperty(u6,"Scope",{enumerable:!0,get:function(){return hW.Scope}});Object.defineProperty(u6,"ValueScope",{enumerable:!0,get:function(){return hW.ValueScope}});Object.defineProperty(u6,"ValueScopeName",{enumerable:!0,get:function(){return hW.ValueScopeName}});Object.defineProperty(u6,"varKinds",{enumerable:!0,get:function(){return hW.varKinds}});u6.operators={GT:new K1._Code(">"),GTE:new K1._Code(">="),LT:new K1._Code("<"),LTE:new K1._Code("<="),EQ:new K1._Code("==="),NEQ:new K1._Code("!=="),NOT:new K1._Code("!"),OR:new K1._Code("||"),AND:new K1._Code("&&"),ADD:new K1._Code("+")};class Q9{optimizeNodes(){return this}optimizeNames($,I){return this}}class uf extends Q9{constructor($,I,U){super();this.varKind=$,this.name=I,this.rhs=U}render({es5:$,_n:I}){let U=$?b$.varKinds.var:this.varKind,Y=this.rhs===void 0?"":` = ${this.rhs}`;return`${U} ${this.name}${Y};`+I}optimizeNames($,I){if(!$[this.name.str])return;if(this.rhs)this.rhs=aI(this.rhs,$,I);return this}get names(){return this.rhs instanceof K1._CodeOrName?this.rhs.names:{}}}class dP extends Q9{constructor($,I,U){super();this.lhs=$,this.rhs=I,this.sideEffects=U}render({_n:$}){return`${this.lhs} = ${this.rhs};`+$}optimizeNames($,I){if(this.lhs instanceof K1.Name&&!$[this.lhs.str]&&!this.sideEffects)return;return this.rhs=aI(this.rhs,$,I),this}get names(){let $=this.lhs instanceof K1.Name?{}:{...this.lhs.names};return yW($,this.rhs)}}class ff extends dP{constructor($,I,U,Y){super($,U,Y);this.op=I}render({_n:$}){return`${this.lhs} ${this.op}= ${this.rhs};`+$}}class bf extends Q9{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`${this.label}:`+$}}class nf extends Q9{constructor($){super();this.label=$,this.names={}}render({_n:$}){return`break${this.label?` ${this.label}`:""};`+$}}class pf extends Q9{constructor($){super();this.error=$}render({_n:$}){return`throw ${this.error};`+$}get names(){return this.error.names}}class cf extends Q9{constructor($){super();this.code=$}render({_n:$}){return`${this.code};`+$}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames($,I){return this.code=aI(this.code,$,I),this}get names(){return this.code instanceof K1._CodeOrName?this.code.names:{}}}class xW extends Q9{constructor($=[]){super();this.nodes=$}render($){return this.nodes.reduce((I,U)=>I+U.render($),"")}optimizeNodes(){let{nodes:$}=this,I=$.length;while(I--){let U=$[I].optimizeNodes();if(Array.isArray(U))$.splice(I,1,...U);else if(U)$[I]=U;else $.splice(I,1)}return $.length>0?this:void 0}optimizeNames($,I){let{nodes:U}=this,Y=U.length;while(Y--){let J=U[Y];if(J.optimizeNames($,I))continue;KF0($,J.names),U.splice(Y,1)}return U.length>0?this:void 0}get names(){return this.nodes.reduce(($,I)=>R7($,I.names),{})}}class K9 extends xW{render($){return"{"+$._n+super.render($)+"}"+$._n}}class df extends xW{}class _Q extends K9{}_Q.kind="else";class a8 extends K9{constructor($,I){super(I);this.condition=$}render($){let I=`if(${this.condition})`+super.render($);if(this.else)I+="else "+this.else.render($);return I}optimizeNodes(){super.optimizeNodes();let $=this.condition;if($===!0)return this.nodes;let I=this.else;if(I){let U=I.optimizeNodes();I=this.else=Array.isArray(U)?new _Q(U):U}if(I){if($===!1)return I instanceof a8?I:I.nodes;if(this.nodes.length)return this;return new a8(tf($),I instanceof a8?[I]:I.nodes)}if($===!1||!this.nodes.length)return;return this}optimizeNames($,I){var U;if(this.else=(U=this.else)===null||U===void 0?void 0:U.optimizeNames($,I),!(super.optimizeNames($,I)||this.else))return;return this.condition=aI(this.condition,$,I),this}get names(){let $=super.names;if(yW($,this.condition),this.else)R7($,this.else.names);return $}}a8.kind="if";class tI extends K9{}tI.kind="for";class mf extends tI{constructor($){super();this.iteration=$}render($){return`for(${this.iteration})`+super.render($)}optimizeNames($,I){if(!super.optimizeNames($,I))return;return this.iteration=aI(this.iteration,$,I),this}get names(){return R7(super.names,this.iteration.names)}}class lf extends tI{constructor($,I,U,Y){super();this.varKind=$,this.name=I,this.from=U,this.to=Y}render($){let I=$.es5?b$.varKinds.var:this.varKind,{name:U,from:Y,to:J}=this;return`for(${I} ${U}=${Y}; ${U}<${J}; ${U}++)`+super.render($)}get names(){let $=yW(super.names,this.from);return yW($,this.to)}}class pP extends tI{constructor($,I,U,Y){super();this.loop=$,this.varKind=I,this.name=U,this.iterable=Y}render($){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render($)}optimizeNames($,I){if(!super.optimizeNames($,I))return;return this.iterable=aI(this.iterable,$,I),this}get names(){return R7(super.names,this.iterable.names)}}class jW extends K9{constructor($,I,U){super();this.name=$,this.args=I,this.async=U}render($){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render($)}}jW.kind="func";class _W extends xW{render($){return"return "+super.render($)}}_W.kind="return";class of extends K9{render($){let I="try"+super.render($);if(this.catch)I+=this.catch.render($);if(this.finally)I+=this.finally.render($);return I}optimizeNodes(){var $,I;return super.optimizeNodes(),($=this.catch)===null||$===void 0||$.optimizeNodes(),(I=this.finally)===null||I===void 0||I.optimizeNodes(),this}optimizeNames($,I){var U,Y;return super.optimizeNames($,I),(U=this.catch)===null||U===void 0||U.optimizeNames($,I),(Y=this.finally)===null||Y===void 0||Y.optimizeNames($,I),this}get names(){let $=super.names;if(this.catch)R7($,this.catch.names);if(this.finally)R7($,this.finally.names);return $}}class SW extends K9{constructor($){super();this.error=$}render($){return`catch(${this.error})`+super.render($)}}SW.kind="catch";class gW extends K9{render($){return"finally"+super.render($)}}gW.kind="finally";class rf{constructor($,I={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...I,_n:I.lines?`
`:""},this._extScope=$,this._scope=new b$.Scope({parent:$}),this._nodes=[new df]}toString(){return this._root.render(this.opts)}name($){return this._scope.name($)}scopeName($){return this._extScope.name($)}scopeValue($,I){let U=this._extScope.value($,I);return(this._values[U.prefix]||(this._values[U.prefix]=new Set)).add(U),U}getScopeValue($,I){return this._extScope.getValue($,I)}scopeRefs($){return this._extScope.scopeRefs($,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def($,I,U,Y){let J=this._scope.toName(I);if(U!==void 0&&Y)this._constants[J.str]=U;return this._leafNode(new uf($,J,U)),J}const($,I,U){return this._def(b$.varKinds.const,$,I,U)}let($,I,U){return this._def(b$.varKinds.let,$,I,U)}var($,I,U){return this._def(b$.varKinds.var,$,I,U)}assign($,I,U){return this._leafNode(new dP($,I,U))}add($,I){return this._leafNode(new ff($,u6.operators.ADD,I))}code($){if(typeof $=="function")$();else if($!==K1.nil)this._leafNode(new cf($));return this}object(...$){let I=["{"];for(let[U,Y]of $){if(I.length>1)I.push(",");if(I.push(U),U!==Y||this.opts.es5)I.push(":"),(0,K1.addCodeArg)(I,Y)}return I.push("}"),new K1._Code(I)}if($,I,U){if(this._blockNode(new a8($)),I&&U)this.code(I).else().code(U).endIf();else if(I)this.code(I).endIf();else if(U)throw Error('CodeGen: "else" body without "then" body');return this}elseIf($){return this._elseNode(new a8($))}else(){return this._elseNode(new _Q)}endIf(){return this._endBlockNode(a8,_Q)}_for($,I){if(this._blockNode($),I)this.code(I).endFor();return this}for($,I){return this._for(new mf($),I)}forRange($,I,U,Y,J=this.opts.es5?b$.varKinds.var:b$.varKinds.let){let Q=this._scope.toName($);return this._for(new lf(J,Q,I,U),()=>Y(Q))}forOf($,I,U,Y=b$.varKinds.const){let J=this._scope.toName($);if(this.opts.es5){let Q=I instanceof K1.Name?I:this.var("_arr",I);return this.forRange("_i",0,K1._`${Q}.length`,(K)=>{this.var(J,K1._`${Q}[${K}]`),U(J)})}return this._for(new pP("of",Y,J,I),()=>U(J))}forIn($,I,U,Y=this.opts.es5?b$.varKinds.var:b$.varKinds.const){if(this.opts.ownProperties)return this.forOf($,K1._`Object.keys(${I})`,U);let J=this._scope.toName($);return this._for(new pP("in",Y,J,I),()=>U(J))}endFor(){return this._endBlockNode(tI)}label($){return this._leafNode(new bf($))}break($){return this._leafNode(new nf($))}return($){let I=new _W;if(this._blockNode(I),this.code($),I.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(_W)}try($,I,U){if(!I&&!U)throw Error('CodeGen: "try" without "catch" and "finally"');let Y=new of;if(this._blockNode(Y),this.code($),I){let J=this.name("e");this._currNode=Y.catch=new SW(J),I(J)}if(U)this._currNode=Y.finally=new gW,this.code(U);return this._endBlockNode(SW,gW)}throw($){return this._leafNode(new pf($))}block($,I){if(this._blockStarts.push(this._nodes.length),$)this.code($).endBlock(I);return this}endBlock($){let I=this._blockStarts.pop();if(I===void 0)throw Error("CodeGen: not in self-balancing block");let U=this._nodes.length-I;if(U<0||$!==void 0&&U!==$)throw Error(`CodeGen: wrong number of nodes: ${U} vs ${$} expected`);return this._nodes.length=I,this}func($,I=K1.nil,U,Y){if(this._blockNode(new jW($,I,U)),Y)this.code(Y).endFunc();return this}endFunc(){return this._endBlockNode(jW)}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($,I){let U=this._currNode;if(U instanceof $||I&&U instanceof I)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${I?`${$.kind}/${I.kind}`:$.kind}"`)}_elseNode($){let I=this._currNode;if(!(I instanceof a8))throw Error('CodeGen: "else" without "if"');return this._currNode=I.else=$,this}get _root(){return this._nodes[0]}get _currNode(){let $=this._nodes;return $[$.length-1]}set _currNode($){let I=this._nodes;I[I.length-1]=$}}u6.CodeGen=rf;function R7($,I){for(let U in I)$[U]=($[U]||0)+(I[U]||0);return $}function yW($,I){return I instanceof K1._CodeOrName?R7($,I.names):$}function aI($,I,U){if($ instanceof K1.Name)return Y($);if(!J($))return $;return new K1._Code($._items.reduce((Q,K)=>{if(K instanceof K1.Name)K=Y(K);if(K instanceof K1._Code)Q.push(...K._items);else Q.push(K);return Q},[]));function Y(Q){let K=U[Q.str];if(K===void 0||I[Q.str]!==1)return Q;return delete I[Q.str],K}function J(Q){return Q instanceof K1._Code&&Q._items.some((K)=>K instanceof K1.Name&&I[K.str]===1&&U[K.str]!==void 0)}}function KF0($,I){for(let U in I)$[U]=($[U]||0)-(I[U]||0)}function tf($){return typeof $=="boolean"||typeof $=="number"||$===null?!$:K1._`!${cP($)}`}u6.not=tf;var qF0=af(u6.operators.AND);function GF0(...$){return $.reduce(qF0)}u6.and=GF0;var HF0=af(u6.operators.OR);function WF0(...$){return $.reduce(HF0)}u6.or=WF0;function af($){return(I,U)=>I===K1.nil?U:U===K1.nil?I:K1._`${cP(I)} ${$} ${cP(U)}`}function cP($){return $ instanceof K1.Name?$:K1._`(${$})`}});var V1=O((Kb)=>{Object.defineProperty(Kb,"__esModule",{value:!0});Kb.checkStrictMode=Kb.getErrorPath=Kb.Type=Kb.useFunc=Kb.setEvaluated=Kb.evaluatedPropsToName=Kb.mergeEvaluated=Kb.eachItem=Kb.unescapeJsonPointer=Kb.escapeJsonPointer=Kb.escapeFragment=Kb.unescapeFragment=Kb.schemaRefOrVal=Kb.schemaHasRulesButRef=Kb.schemaHasRules=Kb.checkUnknownRules=Kb.alwaysValidSchema=Kb.toHash=void 0;var f1=t0(),XF0=jQ();function wF0($){let I={};for(let U of $)I[U]=!0;return I}Kb.toHash=wF0;function LF0($,I){if(typeof I=="boolean")return I;if(Object.keys(I).length===0)return!0;return Ib($,I),!Ub(I,$.self.RULES.all)}Kb.alwaysValidSchema=LF0;function Ib($,I=$.schema){let{opts:U,self:Y}=$;if(!U.strictSchema)return;if(typeof I==="boolean")return;let J=Y.RULES.keywords;for(let Q in I)if(!J[Q])Qb($,`unknown keyword: "${Q}"`)}Kb.checkUnknownRules=Ib;function Ub($,I){if(typeof $=="boolean")return!$;for(let U in $)if(I[U])return!0;return!1}Kb.schemaHasRules=Ub;function DF0($,I){if(typeof $=="boolean")return!$;for(let U in $)if(U!=="$ref"&&I.all[U])return!0;return!1}Kb.schemaHasRulesButRef=DF0;function OF0({topSchemaRef:$,schemaPath:I},U,Y,J){if(!J){if(typeof U=="number"||typeof U=="boolean")return U;if(typeof U=="string")return f1._`${U}`}return f1._`${$}${I}${(0,f1.getProperty)(Y)}`}Kb.schemaRefOrVal=OF0;function NF0($){return Yb(decodeURIComponent($))}Kb.unescapeFragment=NF0;function FF0($){return encodeURIComponent(lP($))}Kb.escapeFragment=FF0;function lP($){if(typeof $=="number")return`${$}`;return $.replace(/~/g,"~0").replace(/\//g,"~1")}Kb.escapeJsonPointer=lP;function Yb($){return $.replace(/~1/g,"/").replace(/~0/g,"~")}Kb.unescapeJsonPointer=Yb;function MF0($,I){if(Array.isArray($))for(let U of $)I(U);else I($)}Kb.eachItem=MF0;function ef({mergeNames:$,mergeToName:I,mergeValues:U,resultToName:Y}){return(J,Q,K,q)=>{let G=K===void 0?Q:K instanceof f1.Name?(Q instanceof f1.Name?$(J,Q,K):I(J,Q,K),K):Q instanceof f1.Name?(I(J,K,Q),Q):U(Q,K);return q===f1.Name&&!(G instanceof f1.Name)?Y(J,G):G}}Kb.mergeEvaluated={props:ef({mergeNames:($,I,U)=>$.if(f1._`${U} !== true && ${I} !== undefined`,()=>{$.if(f1._`${I} === true`,()=>$.assign(U,!0),()=>$.assign(U,f1._`${U} || {}`).code(f1._`Object.assign(${U}, ${I})`))}),mergeToName:($,I,U)=>$.if(f1._`${U} !== true`,()=>{if(I===!0)$.assign(U,!0);else $.assign(U,f1._`${U} || {}`),oP($,U,I)}),mergeValues:($,I)=>$===!0?!0:{...$,...I},resultToName:Jb}),items:ef({mergeNames:($,I,U)=>$.if(f1._`${U} !== true && ${I} !== undefined`,()=>$.assign(U,f1._`${I} === true ? true : ${U} > ${I} ? ${U} : ${I}`)),mergeToName:($,I,U)=>$.if(f1._`${U} !== true`,()=>$.assign(U,I===!0?!0:f1._`${U} > ${I} ? ${U} : ${I}`)),mergeValues:($,I)=>$===!0?!0:Math.max($,I),resultToName:($,I)=>$.var("items",I)})};function Jb($,I){if(I===!0)return $.var("props",!0);let U=$.var("props",f1._`{}`);if(I!==void 0)oP($,U,I);return U}Kb.evaluatedPropsToName=Jb;function oP($,I,U){Object.keys(U).forEach((Y)=>$.assign(f1._`${I}${(0,f1.getProperty)(Y)}`,!0))}Kb.setEvaluated=oP;var $b={};function AF0($,I){return $.scopeValue("func",{ref:I,code:$b[I.code]||($b[I.code]=new XF0._Code(I.code))})}Kb.useFunc=AF0;var mP;(function($){$[$.Num=0]="Num",$[$.Str=1]="Str"})(mP||(Kb.Type=mP={}));function PF0($,I,U){if($ instanceof f1.Name){let Y=I===mP.Num;return U?Y?f1._`"[" + ${$} + "]"`:f1._`"['" + ${$} + "']"`:Y?f1._`"/" + ${$}`:f1._`"/" + ${$}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return U?(0,f1.getProperty)($).toString():"/"+lP($)}Kb.getErrorPath=PF0;function Qb($,I,U=$.opts.strictSchema){if(!U)return;if(I=`strict mode: ${I}`,U===!0)throw Error(I);$.self.logger.warn(I)}Kb.checkStrictMode=Qb});var s8=O((Gb)=>{Object.defineProperty(Gb,"__esModule",{value:!0});var z6=t0(),iF0={data:new z6.Name("data"),valCxt:new z6.Name("valCxt"),instancePath:new z6.Name("instancePath"),parentData:new z6.Name("parentData"),parentDataProperty:new z6.Name("parentDataProperty"),rootData:new z6.Name("rootData"),dynamicAnchors:new z6.Name("dynamicAnchors"),vErrors:new z6.Name("vErrors"),errors:new z6.Name("errors"),this:new z6.Name("this"),self:new z6.Name("self"),scope:new z6.Name("scope"),json:new z6.Name("json"),jsonPos:new z6.Name("jsonPos"),jsonLen:new z6.Name("jsonLen"),jsonPart:new z6.Name("jsonPart")};Gb.default=iF0});var SQ=O((Zb)=>{Object.defineProperty(Zb,"__esModule",{value:!0});Zb.extendErrors=Zb.resetErrorsCount=Zb.reportExtraError=Zb.reportError=Zb.keyword$DataError=Zb.keywordError=void 0;var Z1=t0(),uW=V1(),E6=s8();Zb.keywordError={message:({keyword:$})=>Z1.str`must pass "${$}" keyword validation`};Zb.keyword$DataError={message:({keyword:$,schemaType:I})=>I?Z1.str`"${$}" keyword must be ${I} ($data)`:Z1.str`"${$}" keyword is invalid ($data)`};function pF0($,I=Zb.keywordError,U,Y){let{it:J}=$,{gen:Q,compositeRule:K,allErrors:q}=J,G=Vb($,I,U);if(Y!==null&&Y!==void 0?Y:K||q)Hb(Q,G);else Wb(J,Z1._`[${G}]`)}Zb.reportError=pF0;function cF0($,I=Zb.keywordError,U){let{it:Y}=$,{gen:J,compositeRule:Q,allErrors:K}=Y,q=Vb($,I,U);if(Hb(J,q),!(Q||K))Wb(Y,E6.default.vErrors)}Zb.reportExtraError=cF0;function dF0($,I){$.assign(E6.default.errors,I),$.if(Z1._`${E6.default.vErrors} !== null`,()=>$.if(I,()=>$.assign(Z1._`${E6.default.vErrors}.length`,I),()=>$.assign(E6.default.vErrors,null)))}Zb.resetErrorsCount=dF0;function mF0({gen:$,keyword:I,schemaValue:U,data:Y,errsCount:J,it:Q}){if(J===void 0)throw Error("ajv implementation error");let K=$.name("err");$.forRange("i",J,E6.default.errors,(q)=>{if($.const(K,Z1._`${E6.default.vErrors}[${q}]`),$.if(Z1._`${K}.instancePath === undefined`,()=>$.assign(Z1._`${K}.instancePath`,(0,Z1.strConcat)(E6.default.instancePath,Q.errorPath))),$.assign(Z1._`${K}.schemaPath`,Z1.str`${Q.errSchemaPath}/${I}`),Q.opts.verbose)$.assign(Z1._`${K}.schema`,U),$.assign(Z1._`${K}.data`,Y)})}Zb.extendErrors=mF0;function Hb($,I){let U=$.const("err",I);$.if(Z1._`${E6.default.vErrors} === null`,()=>$.assign(E6.default.vErrors,Z1._`[${U}]`),Z1._`${E6.default.vErrors}.push(${U})`),$.code(Z1._`${E6.default.errors}++`)}function Wb($,I){let{gen:U,validateName:Y,schemaEnv:J}=$;if(J.$async)U.throw(Z1._`new ${$.ValidationError}(${I})`);else U.assign(Z1._`${Y}.errors`,I),U.return(!1)}var v7={keyword:new Z1.Name("keyword"),schemaPath:new Z1.Name("schemaPath"),params:new Z1.Name("params"),propertyName:new Z1.Name("propertyName"),message:new Z1.Name("message"),schema:new Z1.Name("schema"),parentSchema:new Z1.Name("parentSchema")};function Vb($,I,U){let{createErrors:Y}=$.it;if(Y===!1)return Z1._`{}`;return lF0($,I,U)}function lF0($,I,U={}){let{gen:Y,it:J}=$,Q=[oF0(J,U),rF0($,U)];return tF0($,I,Q),Y.object(...Q)}function oF0({errorPath:$},{instancePath:I}){let U=I?Z1.str`${$}${(0,uW.getErrorPath)(I,uW.Type.Str)}`:$;return[E6.default.instancePath,(0,Z1.strConcat)(E6.default.instancePath,U)]}function rF0({keyword:$,it:{errSchemaPath:I}},{schemaPath:U,parentSchema:Y}){let J=Y?I:Z1.str`${I}/${$}`;if(U)J=Z1.str`${J}${(0,uW.getErrorPath)(U,uW.Type.Str)}`;return[v7.schemaPath,J]}function tF0($,{params:I,message:U},Y){let{keyword:J,data:Q,schemaValue:K,it:q}=$,{opts:G,propertyName:H,topSchemaRef:W,schemaPath:V}=q;if(Y.push([v7.keyword,J],[v7.params,typeof I=="function"?I($):I||Z1._`{}`]),G.messages)Y.push([v7.message,typeof U=="function"?U($):U]);if(G.verbose)Y.push([v7.schema,K],[v7.parentSchema,Z1._`${W}${V}`],[E6.default.data,Q]);if(H)Y.push([v7.propertyName,H])}});var Db=O((wb)=>{Object.defineProperty(wb,"__esModule",{value:!0});wb.boolOrEmptySchema=wb.topBoolOrEmptySchema=void 0;var IM0=SQ(),UM0=t0(),YM0=s8(),JM0={message:"boolean schema is false"};function QM0($){let{gen:I,schema:U,validateName:Y}=$;if(U===!1)Xb($,!1);else if(typeof U=="object"&&U.$async===!0)I.return(YM0.default.data);else I.assign(UM0._`${Y}.errors`,null),I.return(!0)}wb.topBoolOrEmptySchema=QM0;function KM0($,I){let{gen:U,schema:Y}=$;if(Y===!1)U.var(I,!1),Xb($);else U.var(I,!0)}wb.boolOrEmptySchema=KM0;function Xb($,I){let{gen:U,data:Y}=$,J={gen:U,keyword:"false schema",data:Y,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:$};(0,IM0.reportError)(J,JM0,void 0,I)}});var tP=O((Ob)=>{Object.defineProperty(Ob,"__esModule",{value:!0});Ob.getRules=Ob.isJSONType=void 0;var GM0=["string","number","integer","boolean","null","object","array"],HM0=new Set(GM0);function WM0($){return typeof $=="string"&&HM0.has($)}Ob.isJSONType=WM0;function VM0(){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:{}}}Ob.getRules=VM0});var aP=O((Ab)=>{Object.defineProperty(Ab,"__esModule",{value:!0});Ab.shouldUseRule=Ab.shouldUseGroup=Ab.schemaHasRulesForType=void 0;function zM0({schema:$,self:I},U){let Y=I.RULES.types[U];return Y&&Y!==!0&&Fb($,Y)}Ab.schemaHasRulesForType=zM0;function Fb($,I){return I.rules.some((U)=>Mb($,U))}Ab.shouldUseGroup=Fb;function Mb($,I){var U;return $[I.keyword]!==void 0||((U=I.definition.implements)===null||U===void 0?void 0:U.some((Y)=>$[Y]!==void 0))}Ab.shouldUseRule=Mb});var gQ=O((Rb)=>{Object.defineProperty(Rb,"__esModule",{value:!0});Rb.reportTypeError=Rb.checkDataTypes=Rb.checkDataType=Rb.coerceAndCheckDataType=Rb.getJSONTypes=Rb.getSchemaTypes=Rb.DataType=void 0;var LM0=tP(),DM0=aP(),OM0=SQ(),r0=t0(),Tb=V1(),sI;(function($){$[$.Correct=0]="Correct",$[$.Wrong=1]="Wrong"})(sI||(Rb.DataType=sI={}));function NM0($){let I=Eb($.type);if(I.includes("null")){if($.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!I.length&&$.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if($.nullable===!0)I.push("null")}return I}Rb.getSchemaTypes=NM0;function Eb($){let I=Array.isArray($)?$:$?[$]:[];if(I.every(LM0.isJSONType))return I;throw Error("type must be JSONType or JSONType[]: "+I.join(","))}Rb.getJSONTypes=Eb;function FM0($,I){let{gen:U,data:Y,opts:J}=$,Q=MM0(I,J.coerceTypes),K=I.length>0&&!(Q.length===0&&I.length===1&&(0,DM0.schemaHasRulesForType)($,I[0]));if(K){let q=eP(I,Y,J.strictNumbers,sI.Wrong);U.if(q,()=>{if(Q.length)AM0($,I,Q);else $T($)})}return K}Rb.coerceAndCheckDataType=FM0;var Bb=new Set(["string","number","integer","boolean","null"]);function MM0($,I){return I?$.filter((U)=>Bb.has(U)||I==="array"&&U==="array"):[]}function AM0($,I,U){let{gen:Y,data:J,opts:Q}=$,K=Y.let("dataType",r0._`typeof ${J}`),q=Y.let("coerced",r0._`undefined`);if(Q.coerceTypes==="array")Y.if(r0._`${K} == 'object' && Array.isArray(${J}) && ${J}.length == 1`,()=>Y.assign(J,r0._`${J}[0]`).assign(K,r0._`typeof ${J}`).if(eP(I,J,Q.strictNumbers),()=>Y.assign(q,J)));Y.if(r0._`${q} !== undefined`);for(let H of U)if(Bb.has(H)||H==="array"&&Q.coerceTypes==="array")G(H);Y.else(),$T($),Y.endIf(),Y.if(r0._`${q} !== undefined`,()=>{Y.assign(J,q),PM0($,q)});function G(H){switch(H){case"string":Y.elseIf(r0._`${K} == "number" || ${K} == "boolean"`).assign(q,r0._`"" + ${J}`).elseIf(r0._`${J} === null`).assign(q,r0._`""`);return;case"number":Y.elseIf(r0._`${K} == "boolean" || ${J} === null
|| (${K} == "string" && ${J} && ${J} == +${J})`).assign(q,r0._`+${J}`);return;case"integer":Y.elseIf(r0._`${K} === "boolean" || ${J} === null
|| (${K} === "string" && ${J} && ${J} == +${J} && !(${J} % 1))`).assign(q,r0._`+${J}`);return;case"boolean":Y.elseIf(r0._`${J} === "false" || ${J} === 0 || ${J} === null`).assign(q,!1).elseIf(r0._`${J} === "true" || ${J} === 1`).assign(q,!0);return;case"null":Y.elseIf(r0._`${J} === "" || ${J} === 0 || ${J} === false`),Y.assign(q,null);return;case"array":Y.elseIf(r0._`${K} === "string" || ${K} === "number"
|| ${K} === "boolean" || ${J} === null`).assign(q,r0._`[${J}]`)}}}function PM0({gen:$,parentData:I,parentDataProperty:U},Y){$.if(r0._`${I} !== undefined`,()=>$.assign(r0._`${I}[${U}]`,Y))}function sP($,I,U,Y=sI.Correct){let J=Y===sI.Correct?r0.operators.EQ:r0.operators.NEQ,Q;switch($){case"null":return r0._`${I} ${J} null`;case"array":Q=r0._`Array.isArray(${I})`;break;case"object":Q=r0._`${I} && typeof ${I} == "object" && !Array.isArray(${I})`;break;case"integer":Q=K(r0._`!(${I} % 1) && !isNaN(${I})`);break;case"number":Q=K();break;default:return r0._`typeof ${I} ${J} ${$}`}return Y===sI.Correct?Q:(0,r0.not)(Q);function K(q=r0.nil){return(0,r0.and)(r0._`typeof ${I} == "number"`,q,U?r0._`isFinite(${I})`:r0.nil)}}Rb.checkDataType=sP;function eP($,I,U,Y){if($.length===1)return sP($[0],I,U,Y);let J,Q=(0,Tb.toHash)($);if(Q.array&&Q.object){let K=r0._`typeof ${I} != "object"`;J=Q.null?K:r0._`!${I} || ${K}`,delete Q.null,delete Q.array,delete Q.object}else J=r0.nil;if(Q.number)delete Q.integer;for(let K in Q)J=(0,r0.and)(J,sP(K,I,U,Y));return J}Rb.checkDataTypes=eP;var TM0={message:({schema:$})=>`must be ${$}`,params:({schema:$,schemaValue:I})=>typeof $=="string"?r0._`{type: ${$}}`:r0._`{type: ${I}}`};function $T($){let I=EM0($);(0,OM0.reportError)(I,TM0)}Rb.reportTypeError=$T;function EM0($){let{gen:I,data:U,schema:Y}=$,J=(0,Tb.schemaRefOrVal)($,Y,"type");return{gen:I,keyword:"type",data:U,schema:Y.type,schemaCode:J,schemaValue:J,parentSchema:Y,params:{},it:$}}});var Sb=O((jb)=>{Object.defineProperty(jb,"__esModule",{value:!0});jb.assignDefaults=void 0;var eI=t0(),SM0=V1();function gM0($,I){let{properties:U,items:Y}=$.schema;if(I==="object"&&U)for(let J in U)Cb($,J,U[J].default);else if(I==="array"&&Array.isArray(Y))Y.forEach((J,Q)=>Cb($,Q,J.default))}jb.assignDefaults=gM0;function Cb($,I,U){let{gen:Y,compositeRule:J,data:Q,opts:K}=$;if(U===void 0)return;let q=eI._`${Q}${(0,eI.getProperty)(I)}`;if(J){(0,SM0.checkStrictMode)($,`default is ignored for: ${q}`);return}let G=eI._`${q} === undefined`;if(K.useDefaults==="empty")G=eI._`${G} || ${q} === null || ${q} === ""`;Y.if(G,eI._`${q} = ${(0,eI.stringify)(U)}`)}});var D$=O((hb)=>{Object.defineProperty(hb,"__esModule",{value:!0});hb.validateUnion=hb.validateArray=hb.usePattern=hb.callValidateCode=hb.schemaProperties=hb.allSchemaProperties=hb.noPropertyInData=hb.propertyInData=hb.isOwnProperty=hb.hasPropFunc=hb.reportMissingProp=hb.checkMissingProp=hb.checkReportMissingProp=void 0;var m1=t0(),IT=V1(),q9=s8(),yM0=V1();function hM0($,I){let{gen:U,data:Y,it:J}=$;U.if(YT(U,Y,I,J.opts.ownProperties),()=>{$.setParams({missingProperty:m1._`${I}`},!0),$.error()})}hb.checkReportMissingProp=hM0;function xM0({gen:$,data:I,it:{opts:U}},Y,J){return(0,m1.or)(...Y.map((Q)=>(0,m1.and)(YT($,I,Q,U.ownProperties),m1._`${J} = ${Q}`)))}hb.checkMissingProp=xM0;function kM0($,I){$.setParams({missingProperty:I},!0),$.error()}hb.reportMissingProp=kM0;function gb($){return $.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:m1._`Object.prototype.hasOwnProperty`})}hb.hasPropFunc=gb;function UT($,I,U){return m1._`${gb($)}.call(${I}, ${U})`}hb.isOwnProperty=UT;function uM0($,I,U,Y){let J=m1._`${I}${(0,m1.getProperty)(U)} !== undefined`;return Y?m1._`${J} && ${UT($,I,U)}`:J}hb.propertyInData=uM0;function YT($,I,U,Y){let J=m1._`${I}${(0,m1.getProperty)(U)} === undefined`;return Y?(0,m1.or)(J,(0,m1.not)(UT($,I,U))):J}hb.noPropertyInData=YT;function yb($){return $?Object.keys($).filter((I)=>I!=="__proto__"):[]}hb.allSchemaProperties=yb;function fM0($,I){return yb(I).filter((U)=>!(0,IT.alwaysValidSchema)($,I[U]))}hb.schemaProperties=fM0;function bM0({schemaCode:$,data:I,it:{gen:U,topSchemaRef:Y,schemaPath:J,errorPath:Q},it:K},q,G,H){let W=H?m1._`${$}, ${I}, ${Y}${J}`:I,V=[[q9.default.instancePath,(0,m1.strConcat)(q9.default.instancePath,Q)],[q9.default.parentData,K.parentData],[q9.default.parentDataProperty,K.parentDataProperty],[q9.default.rootData,q9.default.rootData]];if(K.opts.dynamicRef)V.push([q9.default.dynamicAnchors,q9.default.dynamicAnchors]);let z=m1._`${W}, ${U.object(...V)}`;return G!==m1.nil?m1._`${q}.call(${G}, ${z})`:m1._`${q}(${z})`}hb.callValidateCode=bM0;var iM0=m1._`new RegExp`;function nM0({gen:$,it:{opts:I}},U){let Y=I.unicodeRegExp?"u":"",{regExp:J}=I.code,Q=J(U,Y);return $.scopeValue("pattern",{key:Q.toString(),ref:Q,code:m1._`${J.code==="new RegExp"?iM0:(0,yM0.useFunc)($,J)}(${U}, ${Y})`})}hb.usePattern=nM0;function pM0($){let{gen:I,data:U,keyword:Y,it:J}=$,Q=I.name("valid");if(J.allErrors){let q=I.let("valid",!0);return K(()=>I.assign(q,!1)),q}return I.var(Q,!0),K(()=>I.break()),Q;function K(q){let G=I.const("len",m1._`${U}.length`);I.forRange("i",0,G,(H)=>{$.subschema({keyword:Y,dataProp:H,dataPropType:IT.Type.Num},Q),I.if((0,m1.not)(Q),q)})}}hb.validateArray=pM0;function cM0($){let{gen:I,schema:U,keyword:Y,it:J}=$;if(!Array.isArray(U))throw Error("ajv implementation error");if(U.some((G)=>(0,IT.alwaysValidSchema)(J,G))&&!J.opts.unevaluated)return;let K=I.let("valid",!1),q=I.name("_valid");I.block(()=>U.forEach((G,H)=>{let W=$.subschema({keyword:Y,schemaProp:H,compositeRule:!0},q);if(I.assign(K,m1._`${K} || ${q}`),!$.mergeValidEvaluated(W,q))I.if((0,m1.not)(K))})),$.result(K,()=>$.reset(),()=>$.error(!0))}hb.validateUnion=cM0});var ib=O((fb)=>{Object.defineProperty(fb,"__esModule",{value:!0});fb.validateKeywordUsage=fb.validSchemaType=fb.funcKeywordCode=fb.macroKeywordCode=void 0;var B6=t0(),C7=s8(),YA0=D$(),JA0=SQ();function QA0($,I){let{gen:U,keyword:Y,schema:J,parentSchema:Q,it:K}=$,q=I.macro.call(K.self,J,Q,K),G=ub(U,Y,q);if(K.opts.validateSchema!==!1)K.self.validateSchema(q,!0);let H=U.name("valid");$.subschema({schema:q,schemaPath:B6.nil,errSchemaPath:`${K.errSchemaPath}/${Y}`,topSchemaRef:G,compositeRule:!0},H),$.pass(H,()=>$.error(!0))}fb.macroKeywordCode=QA0;function KA0($,I){var U;let{gen:Y,keyword:J,schema:Q,parentSchema:K,$data:q,it:G}=$;GA0(G,I);let H=!q&&I.compile?I.compile.call(G.self,Q,K,G):I.validate,W=ub(Y,J,H),V=Y.let("valid");$.block$data(V,z),$.ok((U=I.valid)!==null&&U!==void 0?U:V);function z(){if(I.errors===!1){if(L(),I.modifying)kb($);D(()=>$.error())}else{let N=I.async?Z():w();if(I.modifying)kb($);D(()=>qA0($,N))}}function Z(){let N=Y.let("ruleErrs",null);return Y.try(()=>L(B6._`await `),(E)=>Y.assign(V,!1).if(B6._`${E} instanceof ${G.ValidationError}`,()=>Y.assign(N,B6._`${E}.errors`),()=>Y.throw(E))),N}function w(){let N=B6._`${W}.errors`;return Y.assign(N,null),L(B6.nil),N}function L(N=I.async?B6._`await `:B6.nil){let E=G.opts.passContext?C7.default.this:C7.default.self,T=!(("compile"in I)&&!q||I.schema===!1);Y.assign(V,B6._`${N}${(0,YA0.callValidateCode)($,W,E,T)}`,I.modifying)}function D(N){var E;Y.if((0,B6.not)((E=I.valid)!==null&&E!==void 0?E:V),N)}}fb.funcKeywordCode=KA0;function kb($){let{gen:I,data:U,it:Y}=$;I.if(Y.parentData,()=>I.assign(U,B6._`${Y.parentData}[${Y.parentDataProperty}]`))}function qA0($,I){let{gen:U}=$;U.if(B6._`Array.isArray(${I})`,()=>{U.assign(C7.default.vErrors,B6._`${C7.default.vErrors} === null ? ${I} : ${C7.default.vErrors}.concat(${I})`).assign(C7.default.errors,B6._`${C7.default.vErrors}.length`),(0,JA0.extendErrors)($)},()=>$.error())}function GA0({schemaEnv:$},I){if(I.async&&!$.$async)throw Error("async keyword in sync schema")}function ub($,I,U){if(U===void 0)throw Error(`keyword "${I}" failed to compile`);return $.scopeValue("keyword",typeof U=="function"?{ref:U}:{ref:U,code:(0,B6.stringify)(U)})}function HA0($,I,U=!1){return!I.length||I.some((Y)=>Y==="array"?Array.isArray($):Y==="object"?$&&typeof $=="object"&&!Array.isArray($):typeof $==Y||U&&typeof $>"u")}fb.validSchemaType=HA0;function WA0({schema:$,opts:I,self:U,errSchemaPath:Y},J,Q){if(Array.isArray(J.keyword)?!J.keyword.includes(Q):J.keyword!==Q)throw Error("ajv implementation error");let K=J.dependencies;if(K===null||K===void 0?void 0:K.some((q)=>!Object.prototype.hasOwnProperty.call($,q)))throw Error(`parent schema must have dependencies of ${Q}: ${K.join(",")}`);if(J.validateSchema){if(!J.validateSchema($[Q])){let G=`keyword "${Q}" value is invalid at path "${Y}": `+U.errorsText(J.validateSchema.errors);if(I.validateSchema==="log")U.logger.error(G);else throw Error(G)}}}fb.validateKeywordUsage=WA0});var db=O((pb)=>{Object.defineProperty(pb,"__esModule",{value:!0});pb.extendSubschemaMode=pb.extendSubschemaData=pb.getSubschema=void 0;var W8=t0(),nb=V1();function XA0($,{keyword:I,schemaProp:U,schema:Y,schemaPath:J,errSchemaPath:Q,topSchemaRef:K}){if(I!==void 0&&Y!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(I!==void 0){let q=$.schema[I];return U===void 0?{schema:q,schemaPath:W8._`${$.schemaPath}${(0,W8.getProperty)(I)}`,errSchemaPath:`${$.errSchemaPath}/${I}`}:{schema:q[U],schemaPath:W8._`${$.schemaPath}${(0,W8.getProperty)(I)}${(0,W8.getProperty)(U)}`,errSchemaPath:`${$.errSchemaPath}/${I}/${(0,nb.escapeFragment)(U)}`}}if(Y!==void 0){if(J===void 0||Q===void 0||K===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:Y,schemaPath:J,topSchemaRef:K,errSchemaPath:Q}}throw Error('either "keyword" or "schema" must be passed')}pb.getSubschema=XA0;function wA0($,I,{dataProp:U,dataPropType:Y,data:J,dataTypes:Q,propertyName:K}){if(J!==void 0&&U!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=I;if(U!==void 0){let{errorPath:H,dataPathArr:W,opts:V}=I,z=q.let("data",W8._`${I.data}${(0,W8.getProperty)(U)}`,!0);G(z),$.errorPath=W8.str`${H}${(0,nb.getErrorPath)(U,Y,V.jsPropertySyntax)}`,$.parentDataProperty=W8._`${U}`,$.dataPathArr=[...W,$.parentDataProperty]}if(J!==void 0){let H=J instanceof W8.Name?J:q.let("data",J,!0);if(G(H),K!==void 0)$.propertyName=K}if(Q)$.dataTypes=Q;function G(H){$.data=H,$.dataLevel=I.dataLevel+1,$.dataTypes=[],I.definedProperties=new Set,$.parentData=I.data,$.dataNames=[...I.dataNames,H]}}pb.extendSubschemaData=wA0;function LA0($,{jtdDiscriminator:I,jtdMetadata:U,compositeRule:Y,createErrors:J,allErrors:Q}){if(Y!==void 0)$.compositeRule=Y;if(J!==void 0)$.createErrors=J;if(Q!==void 0)$.allErrors=Q;$.jtdDiscriminator=I,$.jtdMetadata=U}pb.extendSubschemaMode=LA0});var JT=O((wL1,mb)=>{mb.exports=function $(I,U){if(I===U)return!0;if(I&&U&&typeof I=="object"&&typeof U=="object"){if(I.constructor!==U.constructor)return!1;var Y,J,Q;if(Array.isArray(I)){if(Y=I.length,Y!=U.length)return!1;for(J=Y;J--!==0;)if(!$(I[J],U[J]))return!1;return!0}if(I.constructor===RegExp)return I.source===U.source&&I.flags===U.flags;if(I.valueOf!==Object.prototype.valueOf)return I.valueOf()===U.valueOf();if(I.toString!==Object.prototype.toString)return I.toString()===U.toString();if(Q=Object.keys(I),Y=Q.length,Y!==Object.keys(U).length)return!1;for(J=Y;J--!==0;)if(!Object.prototype.hasOwnProperty.call(U,Q[J]))return!1;for(J=Y;J--!==0;){var K=Q[J];if(!$(I[K],U[K]))return!1}return!0}return I!==I&&U!==U}});var ob=O((LL1,lb)=>{var G9=lb.exports=function($,I,U){if(typeof I=="function")U=I,I={};U=I.cb||U;var Y=typeof U=="function"?U:U.pre||function(){},J=U.post||function(){};fW(I,Y,J,$,"",$)};G9.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};G9.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};G9.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};G9.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 fW($,I,U,Y,J,Q,K,q,G,H){if(Y&&typeof Y=="object"&&!Array.isArray(Y)){I(Y,J,Q,K,q,G,H);for(var W in Y){var V=Y[W];if(Array.isArray(V)){if(W in G9.arrayKeywords)for(var z=0;z<V.length;z++)fW($,I,U,V[z],J+"/"+W+"/"+z,Q,J,W,Y,z)}else if(W in G9.propsKeywords){if(V&&typeof V=="object")for(var Z in V)fW($,I,U,V[Z],J+"/"+W+"/"+NA0(Z),Q,J,W,Y,Z)}else if(W in G9.keywords||$.allKeys&&!(W in G9.skipKeywords))fW($,I,U,V,J+"/"+W,Q,J,W,Y)}U(Y,J,Q,K,q,G,H)}}function NA0($){return $.replace(/~/g,"~0").replace(/\//g,"~1")}});var yQ=O((sb)=>{Object.defineProperty(sb,"__esModule",{value:!0});sb.getSchemaRefs=sb.resolveUrl=sb.normalizeId=sb._getFullPath=sb.getFullPath=sb.inlineRef=void 0;var FA0=V1(),MA0=JT(),AA0=ob(),PA0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function TA0($,I=!0){if(typeof $=="boolean")return!0;if(I===!0)return!QT($);if(!I)return!1;return rb($)<=I}sb.inlineRef=TA0;var EA0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function QT($){for(let I in $){if(EA0.has(I))return!0;let U=$[I];if(Array.isArray(U)&&U.some(QT))return!0;if(typeof U=="object"&&QT(U))return!0}return!1}function rb($){let I=0;for(let U in $){if(U==="$ref")return 1/0;if(I++,PA0.has(U))continue;if(typeof $[U]=="object")(0,FA0.eachItem)($[U],(Y)=>I+=rb(Y));if(I===1/0)return 1/0}return I}function tb($,I="",U){if(U!==!1)I=$U(I);let Y=$.parse(I);return ab($,Y)}sb.getFullPath=tb;function ab($,I){return $.serialize(I).split("#")[0]+"#"}sb._getFullPath=ab;var BA0=/#\/?$/;function $U($){return $?$.replace(BA0,""):""}sb.normalizeId=$U;function RA0($,I,U){return U=$U(U),$.resolve(I,U)}sb.resolveUrl=RA0;var vA0=/^[a-z_][-a-z0-9._]*$/i;function CA0($,I){if(typeof $=="boolean")return{};let{schemaId:U,uriResolver:Y}=this.opts,J=$U($[U]||I),Q={"":J},K=tb(Y,J,!1),q={},G=new Set;return AA0($,{allKeys:!0},(V,z,Z,w)=>{if(w===void 0)return;let L=K+z,D=Q[w];if(typeof V[U]=="string")D=N.call(this,V[U]);E.call(this,V.$anchor),E.call(this,V.$dynamicAnchor),Q[z]=D;function N(T){let A=this.opts.uriResolver.resolve;if(T=$U(D?A(D,T):T),G.has(T))throw W(T);G.add(T);let v=this.refs[T];if(typeof v=="string")v=this.refs[v];if(typeof v=="object")H(V,v.schema,T);else if(T!==$U(L))if(T[0]==="#")H(V,q[T],T),q[T]=V;else this.refs[T]=L;return T}function E(T){if(typeof T=="string"){if(!vA0.test(T))throw Error(`invalid anchor "${T}"`);N.call(this,`#${T}`)}}}),q;function H(V,z,Z){if(z!==void 0&&!MA0(V,z))throw W(Z)}function W(V){return Error(`reference "${V}" resolves to more than one schema`)}}sb.getSchemaRefs=CA0});var kQ=O((Xi)=>{Object.defineProperty(Xi,"__esModule",{value:!0});Xi.getData=Xi.KeywordCxt=Xi.validateFunctionCode=void 0;var Ji=Db(),$i=gQ(),qT=aP(),bW=gQ(),hA0=Sb(),xQ=ib(),KT=db(),S0=t0(),n0=s8(),xA0=yQ(),e8=V1(),hQ=SQ();function kA0($){if(qi($)){if(Gi($),Ki($)){bA0($);return}}Qi($,()=>(0,Ji.topBoolOrEmptySchema)($))}Xi.validateFunctionCode=kA0;function Qi({gen:$,validateName:I,schema:U,schemaEnv:Y,opts:J},Q){if(J.code.es5)$.func(I,S0._`${n0.default.data}, ${n0.default.valCxt}`,Y.$async,()=>{$.code(S0._`"use strict"; ${Ii(U,J)}`),fA0($,J),$.code(Q)});else $.func(I,S0._`${n0.default.data}, ${uA0(J)}`,Y.$async,()=>$.code(Ii(U,J)).code(Q))}function uA0($){return S0._`{${n0.default.instancePath}="", ${n0.default.parentData}, ${n0.default.parentDataProperty}, ${n0.default.rootData}=${n0.default.data}${$.dynamicRef?S0._`, ${n0.default.dynamicAnchors}={}`:S0.nil}}={}`}function fA0($,I){$.if(n0.default.valCxt,()=>{if($.var(n0.default.instancePath,S0._`${n0.default.valCxt}.${n0.default.instancePath}`),$.var(n0.default.parentData,S0._`${n0.default.valCxt}.${n0.default.parentData}`),$.var(n0.default.parentDataProperty,S0._`${n0.default.valCxt}.${n0.default.parentDataProperty}`),$.var(n0.default.rootData,S0._`${n0.default.valCxt}.${n0.default.rootData}`),I.dynamicRef)$.var(n0.default.dynamicAnchors,S0._`${n0.default.valCxt}.${n0.default.dynamicAnchors}`)},()=>{if($.var(n0.default.instancePath,S0._`""`),$.var(n0.default.parentData,S0._`undefined`),$.var(n0.default.parentDataProperty,S0._`undefined`),$.var(n0.default.rootData,n0.default.data),I.dynamicRef)$.var(n0.default.dynamicAnchors,S0._`{}`)})}function bA0($){let{schema:I,opts:U,gen:Y}=$;Qi($,()=>{if(U.$comment&&I.$comment)Wi($);if(dA0($),Y.let(n0.default.vErrors,null),Y.let(n0.default.errors,0),U.unevaluated)iA0($);Hi($),oA0($)});return}function iA0($){let{gen:I,validateName:U}=$;$.evaluated=I.const("evaluated",S0._`${U}.evaluated`),I.if(S0._`${$.evaluated}.dynamicProps`,()=>I.assign(S0._`${$.evaluated}.props`,S0._`undefined`)),I.if(S0._`${$.evaluated}.dynamicItems`,()=>I.assign(S0._`${$.evaluated}.items`,S0._`undefined`))}function Ii($,I){let U=typeof $=="object"&&$[I.schemaId];return U&&(I.code.source||I.code.process)?S0._`/*# sourceURL=${U} */`:S0.nil}function nA0($,I){if(qi($)){if(Gi($),Ki($)){pA0($,I);return}}(0,Ji.boolOrEmptySchema)($,I)}function Ki({schema:$,self:I}){if(typeof $=="boolean")return!$;for(let U in $)if(I.RULES.all[U])return!0;return!1}function qi($){return typeof $.schema!="boolean"}function pA0($,I){let{schema:U,gen:Y,opts:J}=$;if(J.$comment&&U.$comment)Wi($);mA0($),lA0($);let Q=Y.const("_errs",n0.default.errors);Hi($,Q),Y.var(I,S0._`${Q} === ${n0.default.errors}`)}function Gi($){(0,e8.checkUnknownRules)($),cA0($)}function Hi($,I){if($.opts.jtd)return Ui($,[],!1,I);let U=(0,$i.getSchemaTypes)($.schema),Y=(0,$i.coerceAndCheckDataType)($,U);Ui($,U,!Y,I)}function cA0($){let{schema:I,errSchemaPath:U,opts:Y,self:J}=$;if(I.$ref&&Y.ignoreKeywordsWithRef&&(0,e8.schemaHasRulesButRef)(I,J.RULES))J.logger.warn(`$ref: keywords ignored in schema at path "${U}"`)}function dA0($){let{schema:I,opts:U}=$;if(I.default!==void 0&&U.useDefaults&&U.strictSchema)(0,e8.checkStrictMode)($,"default is ignored in the schema root")}function mA0($){let I=$.schema[$.opts.schemaId];if(I)$.baseId=(0,xA0.resolveUrl)($.opts.uriResolver,$.baseId,I)}function lA0($){if($.schema.$async&&!$.schemaEnv.$async)throw Error("async schema in sync schema")}function Wi({gen:$,schemaEnv:I,schema:U,errSchemaPath:Y,opts:J}){let Q=U.$comment;if(J.$comment===!0)$.code(S0._`${n0.default.self}.logger.log(${Q})`);else if(typeof J.$comment=="function"){let K=S0.str`${Y}/$comment`,q=$.scopeValue("root",{ref:I.root});$.code(S0._`${n0.default.self}.opts.$comment(${Q}, ${K}, ${q}.schema)`)}}function oA0($){let{gen:I,schemaEnv:U,validateName:Y,ValidationError:J,opts:Q}=$;if(U.$async)I.if(S0._`${n0.default.errors} === 0`,()=>I.return(n0.default.data),()=>I.throw(S0._`new ${J}(${n0.default.vErrors})`));else{if(I.assign(S0._`${Y}.errors`,n0.default.vErrors),Q.unevaluated)rA0($);I.return(S0._`${n0.default.errors} === 0`)}}function rA0({gen:$,evaluated:I,props:U,items:Y}){if(U instanceof S0.Name)$.assign(S0._`${I}.props`,U);if(Y instanceof S0.Name)$.assign(S0._`${I}.items`,Y)}function Ui($,I,U,Y){let{gen:J,schema:Q,data:K,allErrors:q,opts:G,self:H}=$,{RULES:W}=H;if(Q.$ref&&(G.ignoreKeywordsWithRef||!(0,e8.schemaHasRulesButRef)(Q,W))){J.block(()=>Zi($,"$ref",W.all.$ref.definition));return}if(!G.jtd)tA0($,I);J.block(()=>{for(let z of W.rules)V(z);V(W.post)});function V(z){if(!(0,qT.shouldUseGroup)(Q,z))return;if(z.type){if(J.if((0,bW.checkDataType)(z.type,K,G.strictNumbers)),Yi($,z),I.length===1&&I[0]===z.type&&U)J.else(),(0,bW.reportTypeError)($);J.endIf()}else Yi($,z);if(!q)J.if(S0._`${n0.default.errors} === ${Y||0}`)}}function Yi($,I){let{gen:U,schema:Y,opts:{useDefaults:J}}=$;if(J)(0,hA0.assignDefaults)($,I.type);U.block(()=>{for(let Q of I.rules)if((0,qT.shouldUseRule)(Y,Q))Zi($,Q.keyword,Q.definition,I.type)})}function tA0($,I){if($.schemaEnv.meta||!$.opts.strictTypes)return;if(aA0($,I),!$.opts.allowUnionTypes)sA0($,I);eA0($,$.dataTypes)}function aA0($,I){if(!I.length)return;if(!$.dataTypes.length){$.dataTypes=I;return}I.forEach((U)=>{if(!Vi($.dataTypes,U))GT($,`type "${U}" not allowed by context "${$.dataTypes.join(",")}"`)}),IP0($,I)}function sA0($,I){if(I.length>1&&!(I.length===2&&I.includes("null")))GT($,"use allowUnionTypes to allow union type keyword")}function eA0($,I){let U=$.self.RULES.all;for(let Y in U){let J=U[Y];if(typeof J=="object"&&(0,qT.shouldUseRule)($.schema,J)){let{type:Q}=J.definition;if(Q.length&&!Q.some((K)=>$P0(I,K)))GT($,`missing type "${Q.join(",")}" for keyword "${Y}"`)}}}function $P0($,I){return $.includes(I)||I==="number"&&$.includes("integer")}function Vi($,I){return $.includes(I)||I==="integer"&&$.includes("number")}function IP0($,I){let U=[];for(let Y of $.dataTypes)if(Vi(I,Y))U.push(Y);else if(I.includes("integer")&&Y==="number")U.push("integer");$.dataTypes=U}function GT($,I){let U=$.schemaEnv.baseId+$.errSchemaPath;I+=` at "${U}" (strictTypes)`,(0,e8.checkStrictMode)($,I,$.opts.strictTypes)}class HT{constructor($,I,U){if((0,xQ.validateKeywordUsage)($,I,U),this.gen=$.gen,this.allErrors=$.allErrors,this.keyword=U,this.data=$.data,this.schema=$.schema[U],this.$data=I.$data&&$.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,e8.schemaRefOrVal)($,this.schema,U,this.$data),this.schemaType=I.schemaType,this.parentSchema=$.schema,this.params={},this.it=$,this.def=I,this.$data)this.schemaCode=$.gen.const("vSchema",zi(this.$data,$));else if(this.schemaCode=this.schemaValue,!(0,xQ.validSchemaType)(this.schema,I.schemaType,I.allowUndefined))throw Error(`${U} value must be ${JSON.stringify(I.schemaType)}`);if("code"in I?I.trackErrors:I.errors!==!1)this.errsCount=$.gen.const("_errs",n0.default.errors)}result($,I,U){this.failResult((0,S0.not)($),I,U)}failResult($,I,U){if(this.gen.if($),U)U();else this.error();if(I){if(this.gen.else(),I(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass($,I){this.failResult((0,S0.not)($),void 0,I)}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:I}=this;this.fail(S0._`${I} !== undefined && (${(0,S0.or)(this.invalid$data(),$)})`)}error($,I,U){if(I){this.setParams(I),this._error($,U),this.setParams({});return}this._error($,U)}_error($,I){($?hQ.reportExtraError:hQ.reportError)(this,this.def.error,I)}$dataError(){(0,hQ.reportError)(this,this.def.$dataError||hQ.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,hQ.resetErrorsCount)(this.gen,this.errsCount)}ok($){if(!this.allErrors)this.gen.if($)}setParams($,I){if(I)Object.assign(this.params,$);else this.params=$}block$data($,I,U=S0.nil){this.gen.block(()=>{this.check$data($,U),I()})}check$data($=S0.nil,I=S0.nil){if(!this.$data)return;let{gen:U,schemaCode:Y,schemaType:J,def:Q}=this;if(U.if((0,S0.or)(S0._`${Y} === undefined`,I)),$!==S0.nil)U.assign($,!0);if(J.length||Q.validateSchema){if(U.elseIf(this.invalid$data()),this.$dataError(),$!==S0.nil)U.assign($,!1)}U.else()}invalid$data(){let{gen:$,schemaCode:I,schemaType:U,def:Y,it:J}=this;return(0,S0.or)(Q(),K());function Q(){if(U.length){if(!(I instanceof S0.Name))throw Error("ajv implementation error");let q=Array.isArray(U)?U:[U];return S0._`${(0,bW.checkDataTypes)(q,I,J.opts.strictNumbers,bW.DataType.Wrong)}`}return S0.nil}function K(){if(Y.validateSchema){let q=$.scopeValue("validate$data",{ref:Y.validateSchema});return S0._`!${q}(${I})`}return S0.nil}}subschema($,I){let U=(0,KT.getSubschema)(this.it,$);(0,KT.extendSubschemaData)(U,this.it,$),(0,KT.extendSubschemaMode)(U,$);let Y={...this.it,...U,items:void 0,props:void 0};return nA0(Y,I),Y}mergeEvaluated($,I){let{it:U,gen:Y}=this;if(!U.opts.unevaluated)return;if(U.props!==!0&&$.props!==void 0)U.props=e8.mergeEvaluated.props(Y,$.props,U.props,I);if(U.items!==!0&&$.items!==void 0)U.items=e8.mergeEvaluated.items(Y,$.items,U.items,I)}mergeValidEvaluated($,I){let{it:U,gen:Y}=this;if(U.opts.unevaluated&&(U.props!==!0||U.items!==!0))return Y.if(I,()=>this.mergeEvaluated($,S0.Name)),!0}}Xi.KeywordCxt=HT;function Zi($,I,U,Y){let J=new HT($,U,I);if("code"in U)U.code(J,Y);else if(J.$data&&U.validate)(0,xQ.funcKeywordCode)(J,U);else if("macro"in U)(0,xQ.macroKeywordCode)(J,U);else if(U.compile||U.validate)(0,xQ.funcKeywordCode)(J,U)}var UP0=/^\/(?:[^~]|~0|~1)*$/,YP0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function zi($,{dataLevel:I,dataNames:U,dataPathArr:Y}){let J,Q;if($==="")return n0.default.rootData;if($[0]==="/"){if(!UP0.test($))throw Error(`Invalid JSON-pointer: ${$}`);J=$,Q=n0.default.rootData}else{let H=YP0.exec($);if(!H)throw Error(`Invalid JSON-pointer: ${$}`);let W=+H[1];if(J=H[2],J==="#"){if(W>=I)throw Error(G("property/index",W));return Y[I-W]}if(W>I)throw Error(G("data",W));if(Q=U[I-W],!J)return Q}let K=Q,q=J.split("/");for(let H of q)if(H)Q=S0._`${Q}${(0,S0.getProperty)((0,e8.unescapeJsonPointer)(H))}`,K=S0._`${K} && ${Q}`;return K;function G(H,W){return`Cannot access ${H} ${W} levels up, current level is ${I}`}}Xi.getData=zi});var iW=O((Di)=>{Object.defineProperty(Di,"__esModule",{value:!0});class Li extends Error{constructor($){super("validation failed");this.errors=$,this.ajv=this.validation=!0}}Di.default=Li});var uQ=O((Ni)=>{Object.defineProperty(Ni,"__esModule",{value:!0});var WT=yQ();class Oi extends Error{constructor($,I,U,Y){super(Y||`can't resolve reference ${U} from id ${I}`);this.missingRef=(0,WT.resolveUrl)($,I,U),this.missingSchema=(0,WT.normalizeId)((0,WT.getFullPath)($,this.missingRef))}}Ni.default=Oi});var pW=O((Ai)=>{Object.defineProperty(Ai,"__esModule",{value:!0});Ai.resolveSchema=Ai.getCompilingSchema=Ai.resolveRef=Ai.compileSchema=Ai.SchemaEnv=void 0;var i$=t0(),GP0=iW(),j7=s8(),n$=yQ(),Fi=V1(),HP0=kQ();class fQ{constructor($){var I;this.refs={},this.dynamicAnchors={};let U;if(typeof $.schema=="object")U=$.schema;this.schema=$.schema,this.schemaId=$.schemaId,this.root=$.root||this,this.baseId=(I=$.baseId)!==null&&I!==void 0?I:(0,n$.normalizeId)(U===null||U===void 0?void 0:U[$.schemaId||"$id"]),this.schemaPath=$.schemaPath,this.localRefs=$.localRefs,this.meta=$.meta,this.$async=U===null||U===void 0?void 0:U.$async,this.refs={}}}Ai.SchemaEnv=fQ;function ZT($){let I=Mi.call(this,$);if(I)return I;let U=(0,n$.getFullPath)(this.opts.uriResolver,$.root.baseId),{es5:Y,lines:J}=this.opts.code,{ownProperties:Q}=this.opts,K=new i$.CodeGen(this.scope,{es5:Y,lines:J,ownProperties:Q}),q;if($.$async)q=K.scopeValue("Error",{ref:GP0.default,code:i$._`require("ajv/dist/runtime/validation_error").default`});let G=K.scopeName("validate");$.validateName=G;let H={gen:K,allErrors:this.opts.allErrors,data:j7.default.data,parentData:j7.default.parentData,parentDataProperty:j7.default.parentDataProperty,dataNames:[j7.default.data],dataPathArr:[i$.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:K.scopeValue("schema",this.opts.code.source===!0?{ref:$.schema,code:(0,i$.stringify)($.schema)}:{ref:$.schema}),validateName:G,ValidationError:q,schema:$.schema,schemaEnv:$,rootId:U,baseId:$.baseId||U,schemaPath:i$.nil,errSchemaPath:$.schemaPath||(this.opts.jtd?"":"#"),errorPath:i$._`""`,opts:this.opts,self:this},W;try{this._compilations.add($),(0,HP0.validateFunctionCode)(H),K.optimize(this.opts.code.optimize);let V=K.toString();if(W=`${K.scopeRefs(j7.default.scope)}return ${V}`,this.opts.code.process)W=this.opts.code.process(W,$);let Z=Function(`${j7.default.self}`,`${j7.default.scope}`,W)(this,this.scope.get());if(this.scope.value(G,{ref:Z}),Z.errors=null,Z.schema=$.schema,Z.schemaEnv=$,$.$async)Z.$async=!0;if(this.opts.code.source===!0)Z.source={validateName:G,validateCode:V,scopeValues:K._values};if(this.opts.unevaluated){let{props:w,items:L}=H;if(Z.evaluated={props:w instanceof i$.Name?void 0:w,items:L instanceof i$.Name?void 0:L,dynamicProps:w instanceof i$.Name,dynamicItems:L instanceof i$.Name},Z.source)Z.source.evaluated=(0,i$.stringify)(Z.evaluated)}return $.validate=Z,$}catch(V){if(delete $.validate,delete $.validateName,W)this.logger.error("Error compiling schema, function code:",W);throw V}finally{this._compilations.delete($)}}Ai.compileSchema=ZT;function WP0($,I,U){var Y;U=(0,n$.resolveUrl)(this.opts.uriResolver,I,U);let J=$.refs[U];if(J)return J;let Q=zP0.call(this,$,U);if(Q===void 0){let K=(Y=$.localRefs)===null||Y===void 0?void 0:Y[U],{schemaId:q}=this.opts;if(K)Q=new fQ({schema:K,schemaId:q,root:$,baseId:I})}if(Q===void 0)return;return $.refs[U]=VP0.call(this,Q)}Ai.resolveRef=WP0;function VP0($){if((0,n$.inlineRef)($.schema,this.opts.inlineRefs))return $.schema;return $.validate?$:ZT.call(this,$)}function Mi($){for(let I of this._compilations)if(ZP0(I,$))return I}Ai.getCompilingSchema=Mi;function ZP0($,I){return $.schema===I.schema&&$.root===I.root&&$.baseId===I.baseId}function zP0($,I){let U;while(typeof(U=this.refs[I])=="string")I=U;return U||this.schemas[I]||nW.call(this,$,I)}function nW($,I){let U=this.opts.uriResolver.parse(I),Y=(0,n$._getFullPath)(this.opts.uriResolver,U),J=(0,n$.getFullPath)(this.opts.uriResolver,$.baseId,void 0);if(Object.keys($.schema).length>0&&Y===J)return VT.call(this,U,$);let Q=(0,n$.normalizeId)(Y),K=this.refs[Q]||this.schemas[Q];if(typeof K=="string"){let q=nW.call(this,$,K);if(typeof(q===null||q===void 0?void 0:q.schema)!=="object")return;return VT.call(this,U,q)}if(typeof(K===null||K===void 0?void 0:K.schema)!=="object")return;if(!K.validate)ZT.call(this,K);if(Q===(0,n$.normalizeId)(I)){let{schema:q}=K,{schemaId:G}=this.opts,H=q[G];if(H)J=(0,n$.resolveUrl)(this.opts.uriResolver,J,H);return new fQ({schema:q,schemaId:G,root:$,baseId:J})}return VT.call(this,U,K)}Ai.resolveSchema=nW;var XP0=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function VT($,{baseId:I,schema:U,root:Y}){var J;if(((J=$.fragment)===null||J===void 0?void 0:J[0])!=="/")return;for(let q of $.fragment.slice(1).split("/")){if(typeof U==="boolean")return;let G=U[(0,Fi.unescapeFragment)(q)];if(G===void 0)return;U=G;let H=typeof U==="object"&&U[this.opts.schemaId];if(!XP0.has(q)&&H)I=(0,n$.resolveUrl)(this.opts.uriResolver,I,H)}let Q;if(typeof U!="boolean"&&U.$ref&&!(0,Fi.schemaHasRulesButRef)(U,this.RULES)){let q=(0,n$.resolveUrl)(this.opts.uriResolver,I,U.$ref);Q=nW.call(this,Y,q)}let{schemaId:K}=this.opts;if(Q=Q||new fQ({schema:U,schemaId:K,root:Y,baseId:I}),Q.schema!==Q.root.schema)return Q;return}});var Ti=O((AL1,NP0)=>{NP0.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 wT=O((PL1,ji)=>{var FP0=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),Bi=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),zT=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),Ri=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),MP0=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function XT($){let I="",U=0,Y=0;for(Y=0;Y<$.length;Y++){if(U=$[Y].charCodeAt(0),U===48)continue;if(!(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))return"";I+=$[Y];break}for(Y+=1;Y<$.length;Y++){if(U=$[Y].charCodeAt(0),!(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))return"";I+=$[Y]}return I}var AP0=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function Ei($){return $.length=0,!0}function PP0($,I,U){if($.length){let Y=XT($);if(Y!=="")I.push(Y);else return U.error=!0,!1;$.length=0}return!0}function TP0($){let I=0,U={error:!1,address:"",zone:""},Y=[],J=[],Q=!1,K=!1,q=PP0;for(let G=0;G<$.length;G++){let H=$[G];if(H==="["||H==="]")continue;if(H===":"){if(Q===!0)K=!0;if(!q(J,Y,U))break;if(++I>7){U.error=!0;break}if(G>0&&$[G-1]===":")Q=!0;Y.push(":");continue}else if(H==="%"){if(!q(J,Y,U))break;q=Ei}else{J.push(H);continue}}if(J.length)if(q===Ei)U.zone=J.join("");else if(K)Y.push(J.join(""));else Y.push(XT(J));return U.address=Y.join(""),U}function vi($){if(EP0($,":")<2)return{host:$,isIPV6:!1};let I=TP0($);if(!I.error){let{address:U,address:Y}=I;if(I.zone)U+="%"+I.zone,Y+="%25"+I.zone;return{host:U,isIPV6:!0,escapedHost:Y}}else return{host:$,isIPV6:!1}}function EP0($,I){let U=0;for(let Y=0;Y<$.length;Y++)if($[Y]===I)U++;return U}function BP0($){let I=$,U=[],Y=-1,J=0;while(J=I.length){if(J===1)if(I===".")break;else if(I==="/"){U.push("/");break}else{U.push(I);break}else if(J===2){if(I[0]==="."){if(I[1]===".")break;else if(I[1]==="/"){I=I.slice(2);continue}}else if(I[0]==="/"){if(I[1]==="."||I[1]==="/"){U.push("/");break}}}else if(J===3){if(I==="/.."){if(U.length!==0)U.pop();U.push("/");break}}if(I[0]==="."){if(I[1]==="."){if(I[2]==="/"){I=I.slice(3);continue}}else if(I[1]==="/"){I=I.slice(2);continue}}else if(I[0]==="/"){if(I[1]==="."){if(I[2]==="/"){I=I.slice(2);continue}else if(I[2]==="."){if(I[3]==="/"){if(I=I.slice(3),U.length!==0)U.pop();continue}}}}if((Y=I.indexOf("/",1))===-1){U.push(I);break}else U.push(I.slice(0,Y)),I=I.slice(Y)}return U.join("")}var RP0={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},vP0=/[@/?#:]/g,CP0=/[@/?#]/g;function Ci($,I){let U=I?CP0:vP0;return U.lastIndex=0,$.replace(U,(Y)=>RP0[Y])}function jP0($,I=!1){if($.indexOf("%")===-1)return $;let U="";for(let Y=0;Y<$.length;Y++){if($[Y]==="%"&&Y+2<$.length){let J=$.slice(Y+1,Y+3);if(zT(J)){let Q=J.toUpperCase(),K=String.fromCharCode(parseInt(Q,16));if(I&&Ri(K))U+=K;else U+="%"+Q;Y+=2;continue}}U+=$[Y]}return U}function _P0($){let I="";for(let U=0;U<$.length;U++){if($[U]==="%"&&U+2<$.length){let Y=$.slice(U+1,U+3);if(zT(Y)){let J=Y.toUpperCase(),Q=String.fromCharCode(parseInt(J,16));if(Q!=="."&&Ri(Q))I+=Q;else I+="%"+J;U+=2;continue}}if(MP0($[U]))I+=$[U];else I+=escape($[U])}return I}function SP0($){let I="";for(let U=0;U<$.length;U++){if($[U]==="%"&&U+2<$.length){let Y=$.slice(U+1,U+3);if(zT(Y)){I+="%"+Y.toUpperCase(),U+=2;continue}}I+=escape($[U])}return I}function gP0($){let I=[];if($.userinfo!==void 0)I.push($.userinfo),I.push("@");if($.host!==void 0){let U=unescape($.host);if(!Bi(U)){let Y=vi(U);if(Y.isIPV6===!0)U=`[${Y.escapedHost}]`;else U=Ci(U,!1)}I.push(U)}if(typeof $.port==="number"||typeof $.port==="string")I.push(":"),I.push(String($.port));return I.length?I.join(""):void 0}ji.exports={nonSimpleDomain:AP0,recomposeAuthority:gP0,reescapeHostDelimiters:Ci,normalizePercentEncoding:jP0,normalizePathEncoding:_P0,escapePreservingEscapes:SP0,removeDotSegments:BP0,isIPv4:Bi,isUUID:FP0,normalizeIPv6:vi,stringArrayToHexStripped:XT}});var hi=O((TL1,yi)=>{var{isUUID:yP0}=wT(),hP0=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,xP0=["http","https","ws","wss","urn","urn:uuid"];function kP0($){return xP0.indexOf($)!==-1}function LT($){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 _i($){if(!$.host)$.error=$.error||"HTTP URIs must have a host.";return $}function Si($){let I=String($.scheme).toLowerCase()==="https";if($.port===(I?443:80)||$.port==="")$.port=void 0;if(!$.path)$.path="/";return $}function uP0($){return $.secure=LT($),$.resourceName=($.path||"/")+($.query?"?"+$.query:""),$.path=void 0,$.query=void 0,$}function fP0($){if($.port===(LT($)?443:80)||$.port==="")$.port=void 0;if(typeof $.secure==="boolean")$.scheme=$.secure?"wss":"ws",$.secure=void 0;if($.resourceName){let[I,U]=$.resourceName.split("?");$.path=I&&I!=="/"?I:void 0,$.query=U,$.resourceName=void 0}return $.fragment=void 0,$}function bP0($,I){if(!$.path)return $.error="URN can not be parsed",$;let U=$.path.match(hP0);if(U){let Y=I.scheme||$.scheme||"urn";$.nid=U[1].toLowerCase(),$.nss=U[2];let J=`${Y}:${I.nid||$.nid}`,Q=DT(J);if($.path=void 0,Q)$=Q.parse($,I)}else $.error=$.error||"URN can not be parsed.";return $}function iP0($,I){if($.nid===void 0)throw Error("URN without nid cannot be serialized");let U=I.scheme||$.scheme||"urn",Y=$.nid.toLowerCase(),J=`${U}:${I.nid||Y}`,Q=DT(J);if(Q)$=Q.serialize($,I);let K=$,q=$.nss;return K.path=`${Y||I.nid}:${q}`,I.skipEscape=!0,K}function nP0($,I){let U=$;if(U.uuid=U.nss,U.nss=void 0,!I.tolerant&&(!U.uuid||!yP0(U.uuid)))U.error=U.error||"UUID is not valid.";return U}function pP0($){let I=$;return I.nss=($.uuid||"").toLowerCase(),I}var gi={scheme:"http",domainHost:!0,parse:_i,serialize:Si},cP0={scheme:"https",domainHost:gi.domainHost,parse:_i,serialize:Si},cW={scheme:"ws",domainHost:!0,parse:uP0,serialize:fP0},dP0={scheme:"wss",domainHost:cW.domainHost,parse:cW.parse,serialize:cW.serialize},mP0={scheme:"urn",parse:bP0,serialize:iP0,skipNormalize:!0},lP0={scheme:"urn:uuid",parse:nP0,serialize:pP0,skipNormalize:!0},dW={http:gi,https:cP0,ws:cW,wss:dP0,urn:mP0,"urn:uuid":lP0};Object.setPrototypeOf(dW,null);function DT($){return $&&(dW[$]||dW[$.toLowerCase()])||void 0}yi.exports={wsIsSecure:LT,SCHEMES:dW,isValidSchemeName:kP0,getSchemeHandler:DT}});var ii=O((EL1,mW)=>{var{normalizeIPv6:oP0,removeDotSegments:bQ,recomposeAuthority:rP0,normalizePercentEncoding:tP0,normalizePathEncoding:aP0,escapePreservingEscapes:sP0,reescapeHostDelimiters:eP0,isIPv4:$T0,nonSimpleDomain:IT0}=wT(),{SCHEMES:UT0,getSchemeHandler:ki}=hi();function YT0($,I){if(typeof $==="string")$=GT0($,I);else if(typeof $==="object")$=IU(_7($,I),I);return $}function JT0($,I,U){let Y=U?Object.assign({scheme:"null"},U):{scheme:"null"},J=ui(IU($,Y),IU(I,Y),Y,!0);return Y.skipEscape=!0,_7(J,Y)}function ui($,I,U,Y){let J={};if(!Y)$=IU(_7($,U),U),I=IU(_7(I,U),U);if(U=U||{},!U.tolerant&&I.scheme)J.scheme=I.scheme,J.userinfo=I.userinfo,J.host=I.host,J.port=I.port,J.path=bQ(I.path||""),J.query=I.query;else{if(I.userinfo!==void 0||I.host!==void 0||I.port!==void 0)J.userinfo=I.userinfo,J.host=I.host,J.port=I.port,J.path=bQ(I.path||""),J.query=I.query;else{if(!I.path)if(J.path=$.path,I.query!==void 0)J.query=I.query;else J.query=$.query;else{if(I.path[0]==="/")J.path=bQ(I.path);else{if(($.userinfo!==void 0||$.host!==void 0||$.port!==void 0)&&!$.path)J.path="/"+I.path;else if(!$.path)J.path=I.path;else J.path=$.path.slice(0,$.path.lastIndexOf("/")+1)+I.path;J.path=bQ(J.path)}J.query=I.query}J.userinfo=$.userinfo,J.host=$.host,J.port=$.port}J.scheme=$.scheme}return J.fragment=I.fragment,J}function QT0($,I,U){let Y=xi($,U),J=xi(I,U);return Y!==void 0&&J!==void 0&&Y.toLowerCase()===J.toLowerCase()}function _7($,I){let U={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:""},Y=Object.assign({},I),J=[],Q=ki(Y.scheme||U.scheme);if(Q&&Q.serialize)Q.serialize(U,Y);if(U.path!==void 0)if(!Y.skipEscape){if(U.path=sP0(U.path),U.scheme!==void 0)U.path=U.path.split("%3A").join(":")}else U.path=tP0(U.path);if(Y.reference!=="suffix"&&U.scheme)J.push(U.scheme,":");let K=rP0(U);if(K!==void 0){if(Y.reference!=="suffix")J.push("//");if(J.push(K),U.path&&U.path[0]!=="/")J.push("/")}if(U.path!==void 0){let q=U.path;if(!Y.absolutePath&&(!Q||!Q.absolutePath))q=bQ(q);if(K===void 0&&q[0]==="/"&&q[1]==="/")q="/%2F"+q.slice(2);J.push(q)}if(U.query!==void 0)J.push("?",U.query);if(U.fragment!==void 0)J.push("#",U.fragment);return J.join("")}var KT0=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function qT0($,I){if(I[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 fi($,I){let U=Object.assign({},I),Y={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},J=!1,Q=!1;if(U.reference==="suffix")if(U.scheme)$=U.scheme+":"+$;else $="//"+$;let K=$.match(KT0);if(K){if(Y.scheme=K[1],Y.userinfo=K[3],Y.host=K[4],Y.port=parseInt(K[5],10),Y.path=K[6]||"",Y.query=K[7],Y.fragment=K[8],isNaN(Y.port))Y.port=K[5];let q=qT0(Y,K);if(q!==void 0)Y.error=Y.error||q,J=!0;if(Y.host)if($T0(Y.host)===!1){let W=oP0(Y.host);Y.host=W.host.toLowerCase(),Q=W.isIPV6}else Q=!0;if(Y.scheme===void 0&&Y.userinfo===void 0&&Y.host===void 0&&Y.port===void 0&&Y.query===void 0&&!Y.path)Y.reference="same-document";else if(Y.scheme===void 0)Y.reference="relative";else if(Y.fragment===void 0)Y.reference="absolute";else Y.reference="uri";if(U.reference&&U.reference!=="suffix"&&U.reference!==Y.reference)Y.error=Y.error||"URI is not a "+U.reference+" reference.";let G=ki(U.scheme||Y.scheme);if(!U.unicodeSupport&&(!G||!G.unicodeSupport)){if(Y.host&&(U.domainHost||G&&G.domainHost)&&Q===!1&&IT0(Y.host))try{Y.host=URL.domainToASCII(Y.host.toLowerCase())}catch(H){Y.error=Y.error||"Host's domain name can not be converted to ASCII: "+H}}if(!G||G&&!G.skipNormalize){if($.indexOf("%")!==-1){if(Y.scheme!==void 0)Y.scheme=unescape(Y.scheme);if(Y.host!==void 0)Y.host=eP0(unescape(Y.host),Q)}if(Y.path)Y.path=aP0(Y.path);if(Y.fragment)try{Y.fragment=encodeURI(decodeURIComponent(Y.fragment))}catch{Y.error=Y.error||"URI malformed"}}if(G&&G.parse)G.parse(Y,U)}else Y.error=Y.error||"URI can not be parsed.";return{parsed:Y,malformedAuthorityOrPort:J}}function IU($,I){return fi($,I).parsed}function GT0($,I){return bi($,I).normalized}function bi($,I){let{parsed:U,malformedAuthorityOrPort:Y}=fi($,I);return{normalized:Y?$:_7(U,I),malformedAuthorityOrPort:Y}}function xi($,I){if(typeof $==="string"){let{normalized:U,malformedAuthorityOrPort:Y}=bi($,I);return Y?void 0:U}if(typeof $==="object")return _7($,I)}var OT={SCHEMES:UT0,normalize:YT0,resolve:JT0,resolveComponent:ui,equal:QT0,serialize:_7,parse:IU};mW.exports=OT;mW.exports.default=OT;mW.exports.fastUri=OT});var ci=O((pi)=>{Object.defineProperty(pi,"__esModule",{value:!0});var ni=ii();ni.code='require("ajv/dist/runtime/uri").default';pi.default=ni});var si=O(($5)=>{Object.defineProperty($5,"__esModule",{value:!0});$5.CodeGen=$5.Name=$5.nil=$5.stringify=$5.str=$5._=$5.KeywordCxt=void 0;var WT0=kQ();Object.defineProperty($5,"KeywordCxt",{enumerable:!0,get:function(){return WT0.KeywordCxt}});var UU=t0();Object.defineProperty($5,"_",{enumerable:!0,get:function(){return UU._}});Object.defineProperty($5,"str",{enumerable:!0,get:function(){return UU.str}});Object.defineProperty($5,"stringify",{enumerable:!0,get:function(){return UU.stringify}});Object.defineProperty($5,"nil",{enumerable:!0,get:function(){return UU.nil}});Object.defineProperty($5,"Name",{enumerable:!0,get:function(){return UU.Name}});Object.defineProperty($5,"CodeGen",{enumerable:!0,get:function(){return UU.CodeGen}});var VT0=iW(),ri=uQ(),ZT0=tP(),iQ=pW(),zT0=t0(),nQ=yQ(),lW=gQ(),FT=V1(),di=Ti(),XT0=ci(),ti=($,I)=>new RegExp($,I);ti.code="new RegExp";var wT0=["removeAdditional","useDefaults","coerceTypes"],LT0=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),DT0={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."},OT0={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},mi=200;function NT0($){var I,U,Y,J,Q,K,q,G,H,W,V,z,Z,w,L,D,N,E,T,A,v,u,g,b,C;let p=$.strict,n=(I=$.code)===null||I===void 0?void 0:I.optimize,S=n===!0||n===void 0?1:n||0,f=(Y=(U=$.code)===null||U===void 0?void 0:U.regExp)!==null&&Y!==void 0?Y:ti,i=(J=$.uriResolver)!==null&&J!==void 0?J:XT0.default;return{strictSchema:(K=(Q=$.strictSchema)!==null&&Q!==void 0?Q:p)!==null&&K!==void 0?K:!0,strictNumbers:(G=(q=$.strictNumbers)!==null&&q!==void 0?q:p)!==null&&G!==void 0?G:!0,strictTypes:(W=(H=$.strictTypes)!==null&&H!==void 0?H:p)!==null&&W!==void 0?W:"log",strictTuples:(z=(V=$.strictTuples)!==null&&V!==void 0?V:p)!==null&&z!==void 0?z:"log",strictRequired:(w=(Z=$.strictRequired)!==null&&Z!==void 0?Z:p)!==null&&w!==void 0?w:!1,code:$.code?{...$.code,optimize:S,regExp:f}:{optimize:S,regExp:f},loopRequired:(L=$.loopRequired)!==null&&L!==void 0?L:mi,loopEnum:(D=$.loopEnum)!==null&&D!==void 0?D:mi,meta:(N=$.meta)!==null&&N!==void 0?N:!0,messages:(E=$.messages)!==null&&E!==void 0?E:!0,inlineRefs:(T=$.inlineRefs)!==null&&T!==void 0?T:!0,schemaId:(A=$.schemaId)!==null&&A!==void 0?A:"$id",addUsedSchema:(v=$.addUsedSchema)!==null&&v!==void 0?v:!0,validateSchema:(u=$.validateSchema)!==null&&u!==void 0?u:!0,validateFormats:(g=$.validateFormats)!==null&&g!==void 0?g:!0,unicodeRegExp:(b=$.unicodeRegExp)!==null&&b!==void 0?b:!0,int32range:(C=$.int32range)!==null&&C!==void 0?C:!0,uriResolver:i}}class oW{constructor($={}){this.schemas={},this.refs={},this.formats=Object.create(null),this._compilations=new Set,this._loading={},this._cache=new Map,$=this.opts={...$,...NT0($)};let{es5:I,lines:U}=this.opts.code;this.scope=new zT0.ValueScope({scope:{},prefixes:LT0,es5:I,lines:U}),this.logger=ET0($.logger);let Y=$.validateFormats;if($.validateFormats=!1,this.RULES=(0,ZT0.getRules)(),li.call(this,DT0,$,"NOT SUPPORTED"),li.call(this,OT0,$,"DEPRECATED","warn"),this._metaOpts=PT0.call(this),$.formats)MT0.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),$.keywords)AT0.call(this,$.keywords);if(typeof $.meta=="object")this.addMetaSchema($.meta);FT0.call(this),$.validateFormats=Y}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:$,meta:I,schemaId:U}=this.opts,Y=di;if(U==="id")Y={...di},Y.id=Y.$id,delete Y.$id;if(I&&$)this.addMetaSchema(Y,Y[U],!1)}defaultMeta(){let{meta:$,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof $=="object"?$[I]||$:void 0}validate($,I){let U;if(typeof $=="string"){if(U=this.getSchema($),!U)throw Error(`no schema with key or ref "${$}"`)}else U=this.compile($);let Y=U(I);if(!("$async"in U))this.errors=U.errors;return Y}compile($,I){let U=this._addSchema($,I);return U.validate||this._compileSchemaEnv(U)}compileAsync($,I){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:U}=this.opts;return Y.call(this,$,I);async function Y(H,W){await J.call(this,H.$schema);let V=this._addSchema(H,W);return V.validate||Q.call(this,V)}async function J(H){if(H&&!this.getSchema(H))await Y.call(this,{$ref:H},!0)}async function Q(H){try{return this._compileSchemaEnv(H)}catch(W){if(!(W instanceof ri.default))throw W;return K.call(this,W),await q.call(this,W.missingSchema),Q.call(this,H)}}function K({missingSchema:H,missingRef:W}){if(this.refs[H])throw Error(`AnySchema ${H} is loaded but ${W} cannot be resolved`)}async function q(H){let W=await G.call(this,H);if(!this.refs[H])await J.call(this,W.$schema);if(!this.refs[H])this.addSchema(W,H,I)}async function G(H){let W=this._loading[H];if(W)return W;try{return await(this._loading[H]=U(H))}finally{delete this._loading[H]}}}addSchema($,I,U,Y=this.opts.validateSchema){if(Array.isArray($)){for(let Q of $)this.addSchema(Q,void 0,U,Y);return this}let J;if(typeof $==="object"){let{schemaId:Q}=this.opts;if(J=$[Q],J!==void 0&&typeof J!="string")throw Error(`schema ${Q} must be string`)}return I=(0,nQ.normalizeId)(I||J),this._checkUnique(I),this.schemas[I]=this._addSchema($,U,I,Y,!0),this}addMetaSchema($,I,U=this.opts.validateSchema){return this.addSchema($,I,!0,U),this}validateSchema($,I){if(typeof $=="boolean")return!0;let U;if(U=$.$schema,U!==void 0&&typeof U!="string")throw Error("$schema must be a string");if(U=U||this.opts.defaultMeta||this.defaultMeta(),!U)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let Y=this.validate(U,$);if(!Y&&I){let J="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(J);else throw Error(J)}return Y}getSchema($){let I;while(typeof(I=oi.call(this,$))=="string")$=I;if(I===void 0){let{schemaId:U}=this.opts,Y=new iQ.SchemaEnv({schema:{},schemaId:U});if(I=iQ.resolveSchema.call(this,Y,$),!I)return;this.refs[$]=I}return I.validate||this._compileSchemaEnv(I)}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 I=oi.call(this,$);if(typeof I=="object")this._cache.delete(I.schema);return delete this.schemas[$],delete this.refs[$],this}case"object":{let I=$;this._cache.delete(I);let U=$[this.opts.schemaId];if(U)U=(0,nQ.normalizeId)(U),delete this.schemas[U],delete this.refs[U];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary($){for(let I of $)this.addKeyword(I);return this}addKeyword($,I){let U;if(typeof $=="string"){if(U=$,typeof I=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=U}else if(typeof $=="object"&&I===void 0){if(I=$,U=I.keyword,Array.isArray(U)&&!U.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(RT0.call(this,U,I),!I)return(0,FT.eachItem)(U,(J)=>NT.call(this,J)),this;CT0.call(this,I);let Y={...I,type:(0,lW.getJSONTypes)(I.type),schemaType:(0,lW.getJSONTypes)(I.schemaType)};return(0,FT.eachItem)(U,Y.type.length===0?(J)=>NT.call(this,J,Y):(J)=>Y.type.forEach((Q)=>NT.call(this,J,Y,Q))),this}getKeyword($){let I=this.RULES.all[$];return typeof I=="object"?I.definition:!!I}removeKeyword($){let{RULES:I}=this;delete I.keywords[$],delete I.all[$];for(let U of I.rules){let Y=U.rules.findIndex((J)=>J.keyword===$);if(Y>=0)U.rules.splice(Y,1)}return this}addFormat($,I){if(typeof I=="string")I=new RegExp(I);return this.formats[$]=I,this}errorsText($=this.errors,{separator:I=", ",dataVar:U="data"}={}){if(!$||$.length===0)return"No errors";return $.map((Y)=>`${U}${Y.instancePath} ${Y.message}`).reduce((Y,J)=>Y+I+J)}$dataMetaSchema($,I){let U=this.RULES.all;$=JSON.parse(JSON.stringify($));for(let Y of I){let J=Y.split("/").slice(1),Q=$;for(let K of J)Q=Q[K];for(let K in U){let q=U[K];if(typeof q!="object")continue;let{$data:G}=q.definition,H=Q[K];if(G&&H)Q[K]=ai(H)}}return $}_removeAllSchemas($,I){for(let U in $){let Y=$[U];if(!I||I.test(U)){if(typeof Y=="string")delete $[U];else if(Y&&!Y.meta)this._cache.delete(Y.schema),delete $[U]}}}_addSchema($,I,U,Y=this.opts.validateSchema,J=this.opts.addUsedSchema){let Q,{schemaId:K}=this.opts;if(typeof $=="object")Q=$[K];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;U=(0,nQ.normalizeId)(Q||U);let G=nQ.getSchemaRefs.call(this,$,U);if(q=new iQ.SchemaEnv({schema:$,schemaId:K,meta:I,baseId:U,localRefs:G}),this._cache.set(q.schema,q),J&&!U.startsWith("#")){if(U)this._checkUnique(U);this.refs[U]=q}if(Y)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 iQ.compileSchema.call(this,$);if(!$.validate)throw Error("ajv implementation error");return $.validate}_compileMetaSchema($){let I=this.opts;this.opts=this._metaOpts;try{iQ.compileSchema.call(this,$)}finally{this.opts=I}}}oW.ValidationError=VT0.default;oW.MissingRefError=ri.default;$5.default=oW;function li($,I,U,Y="error"){for(let J in $){let Q=J;if(Q in I)this.logger[Y](`${U}: option ${J}. ${$[Q]}`)}}function oi($){return $=(0,nQ.normalizeId)($),this.schemas[$]||this.refs[$]}function FT0(){let $=this.opts.schemas;if(!$)return;if(Array.isArray($))this.addSchema($);else for(let I in $)this.addSchema($[I],I)}function MT0(){for(let $ in this.opts.formats){let I=this.opts.formats[$];if(I)this.addFormat($,I)}}function AT0($){if(Array.isArray($)){this.addVocabulary($);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let I in $){let U=$[I];if(!U.keyword)U.keyword=I;this.addKeyword(U)}}function PT0(){let $={...this.opts};for(let I of wT0)delete $[I];return $}var TT0={log(){},warn(){},error(){}};function ET0($){if($===!1)return TT0;if($===void 0)return console;if($.log&&$.warn&&$.error)return $;throw Error("logger must implement log, warn and error methods")}var BT0=/^[a-z_$][a-z0-9_$:-]*$/i;function RT0($,I){let{RULES:U}=this;if((0,FT.eachItem)($,(Y)=>{if(U.keywords[Y])throw Error(`Keyword ${Y} is already defined`);if(!BT0.test(Y))throw Error(`Keyword ${Y} has invalid name`)}),!I)return;if(I.$data&&!(("code"in I)||("validate"in I)))throw Error('$data keyword must have "code" or "validate" function')}function NT($,I,U){var Y;let J=I===null||I===void 0?void 0:I.post;if(U&&J)throw Error('keyword with "post" flag cannot have "type"');let{RULES:Q}=this,K=J?Q.post:Q.rules.find(({type:G})=>G===U);if(!K)K={type:U,rules:[]},Q.rules.push(K);if(Q.keywords[$]=!0,!I)return;let q={keyword:$,definition:{...I,type:(0,lW.getJSONTypes)(I.type),schemaType:(0,lW.getJSONTypes)(I.schemaType)}};if(I.before)vT0.call(this,K,q,I.before);else K.rules.push(q);Q.all[$]=q,(Y=I.implements)===null||Y===void 0||Y.forEach((G)=>this.addKeyword(G))}function vT0($,I,U){let Y=$.rules.findIndex((J)=>J.keyword===U);if(Y>=0)$.rules.splice(Y,0,I);else $.rules.push(I),this.logger.warn(`rule ${U} is not defined`)}function CT0($){let{metaSchema:I}=$;if(I===void 0)return;if($.$data&&this.opts.$data)I=ai(I);$.validateSchema=this.compile(I,!0)}var jT0={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function ai($){return{anyOf:[$,jT0]}}});var $n=O((ei)=>{Object.defineProperty(ei,"__esModule",{value:!0});var gT0={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};ei.default=gT0});var Kn=O((Jn)=>{Object.defineProperty(Jn,"__esModule",{value:!0});Jn.callRef=Jn.getValidate=void 0;var hT0=uQ(),In=D$(),f6=t0(),YU=s8(),Un=pW(),rW=V1(),xT0={keyword:"$ref",schemaType:"string",code($){let{gen:I,schema:U,it:Y}=$,{baseId:J,schemaEnv:Q,validateName:K,opts:q,self:G}=Y,{root:H}=Q;if((U==="#"||U==="#/")&&J===H.baseId)return V();let W=Un.resolveRef.call(G,H,J,U);if(W===void 0)throw new hT0.default(Y.opts.uriResolver,J,U);if(W instanceof Un.SchemaEnv)return z(W);return Z(W);function V(){if(Q===H)return tW($,K,Q,Q.$async);let w=I.scopeValue("root",{ref:H});return tW($,f6._`${w}.validate`,H,H.$async)}function z(w){let L=Yn($,w);tW($,L,w,w.$async)}function Z(w){let L=I.scopeValue("schema",q.code.source===!0?{ref:w,code:(0,f6.stringify)(w)}:{ref:w}),D=I.name("valid"),N=$.subschema({schema:w,dataTypes:[],schemaPath:f6.nil,topSchemaRef:L,errSchemaPath:U},D);$.mergeEvaluated(N),$.ok(D)}}};function Yn($,I){let{gen:U}=$;return I.validate?U.scopeValue("validate",{ref:I.validate}):f6._`${U.scopeValue("wrapper",{ref:I})}.validate`}Jn.getValidate=Yn;function tW($,I,U,Y){let{gen:J,it:Q}=$,{allErrors:K,schemaEnv:q,opts:G}=Q,H=G.passContext?YU.default.this:f6.nil;if(Y)W();else V();function W(){if(!q.$async)throw Error("async schema referenced by sync schema");let w=J.let("valid");J.try(()=>{if(J.code(f6._`await ${(0,In.callValidateCode)($,I,H)}`),Z(I),!K)J.assign(w,!0)},(L)=>{if(J.if(f6._`!(${L} instanceof ${Q.ValidationError})`,()=>J.throw(L)),z(L),!K)J.assign(w,!1)}),$.ok(w)}function V(){$.result((0,In.callValidateCode)($,I,H),()=>Z(I),()=>z(I))}function z(w){let L=f6._`${w}.errors`;J.assign(YU.default.vErrors,f6._`${YU.default.vErrors} === null ? ${L} : ${YU.default.vErrors}.concat(${L})`),J.assign(YU.default.errors,f6._`${YU.default.vErrors}.length`)}function Z(w){var L;if(!Q.opts.unevaluated)return;let D=(L=U===null||U===void 0?void 0:U.validate)===null||L===void 0?void 0:L.evaluated;if(Q.props!==!0)if(D&&!D.dynamicProps){if(D.props!==void 0)Q.props=rW.mergeEvaluated.props(J,D.props,Q.props)}else{let N=J.var("props",f6._`${w}.evaluated.props`);Q.props=rW.mergeEvaluated.props(J,N,Q.props,f6.Name)}if(Q.items!==!0)if(D&&!D.dynamicItems){if(D.items!==void 0)Q.items=rW.mergeEvaluated.items(J,D.items,Q.items)}else{let N=J.var("items",f6._`${w}.evaluated.items`);Q.items=rW.mergeEvaluated.items(J,N,Q.items,f6.Name)}}}Jn.callRef=tW;Jn.default=xT0});var Gn=O((qn)=>{Object.defineProperty(qn,"__esModule",{value:!0});var fT0=$n(),bT0=Kn(),iT0=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",fT0.default,bT0.default];qn.default=iT0});var Wn=O((Hn)=>{Object.defineProperty(Hn,"__esModule",{value:!0});var aW=t0(),H9=aW.operators,sW={maximum:{okStr:"<=",ok:H9.LTE,fail:H9.GT},minimum:{okStr:">=",ok:H9.GTE,fail:H9.LT},exclusiveMaximum:{okStr:"<",ok:H9.LT,fail:H9.GTE},exclusiveMinimum:{okStr:">",ok:H9.GT,fail:H9.LTE}},pT0={message:({keyword:$,schemaCode:I})=>aW.str`must be ${sW[$].okStr} ${I}`,params:({keyword:$,schemaCode:I})=>aW._`{comparison: ${sW[$].okStr}, limit: ${I}}`},cT0={keyword:Object.keys(sW),type:"number",schemaType:"number",$data:!0,error:pT0,code($){let{keyword:I,data:U,schemaCode:Y}=$;$.fail$data(aW._`${U} ${sW[I].fail} ${Y} || isNaN(${U})`)}};Hn.default=cT0});var Zn=O((Vn)=>{Object.defineProperty(Vn,"__esModule",{value:!0});var pQ=t0(),mT0={message:({schemaCode:$})=>pQ.str`must be multiple of ${$}`,params:({schemaCode:$})=>pQ._`{multipleOf: ${$}}`},lT0={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:mT0,code($){let{gen:I,data:U,schemaCode:Y,it:J}=$,Q=J.opts.multipleOfPrecision,K=I.let("res"),q=Q?pQ._`Math.abs(Math.round(${K}) - ${K}) > 1e-${Q}`:pQ._`${K} !== parseInt(${K})`;$.fail$data(pQ._`(${Y} === 0 || (${K} = ${U}/${Y}, ${q}))`)}};Vn.default=lT0});var wn=O((Xn)=>{Object.defineProperty(Xn,"__esModule",{value:!0});function zn($){let I=$.length,U=0,Y=0,J;while(Y<I)if(U++,J=$.charCodeAt(Y++),J>=55296&&J<=56319&&Y<I){if(J=$.charCodeAt(Y),(J&64512)===56320)Y++}return U}Xn.default=zn;zn.code='require("ajv/dist/runtime/ucs2length").default'});var Dn=O((Ln)=>{Object.defineProperty(Ln,"__esModule",{value:!0});var S7=t0(),tT0=V1(),aT0=wn(),sT0={message({keyword:$,schemaCode:I}){let U=$==="maxLength"?"more":"fewer";return S7.str`must NOT have ${U} than ${I} characters`},params:({schemaCode:$})=>S7._`{limit: ${$}}`},eT0={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:sT0,code($){let{keyword:I,data:U,schemaCode:Y,it:J}=$,Q=I==="maxLength"?S7.operators.GT:S7.operators.LT,K=J.opts.unicode===!1?S7._`${U}.length`:S7._`${(0,tT0.useFunc)($.gen,aT0.default)}(${U})`;$.fail$data(S7._`${K} ${Q} ${Y}`)}};Ln.default=eT0});var Nn=O((On)=>{Object.defineProperty(On,"__esModule",{value:!0});var IE0=D$(),UE0=V1(),JU=t0(),YE0={message:({schemaCode:$})=>JU.str`must match pattern "${$}"`,params:({schemaCode:$})=>JU._`{pattern: ${$}}`},JE0={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:YE0,code($){let{gen:I,data:U,$data:Y,schema:J,schemaCode:Q,it:K}=$,q=K.opts.unicodeRegExp?"u":"";if(Y){let{regExp:G}=K.opts.code,H=G.code==="new RegExp"?JU._`new RegExp`:(0,UE0.useFunc)(I,G),W=I.let("valid");I.try(()=>I.assign(W,JU._`${H}(${Q}, ${q}).test(${U})`),()=>I.assign(W,!1)),$.fail$data(JU._`!${W}`)}else{let G=(0,IE0.usePattern)($,J);$.fail$data(JU._`!${G}.test(${U})`)}}};On.default=JE0});var Mn=O((Fn)=>{Object.defineProperty(Fn,"__esModule",{value:!0});var cQ=t0(),KE0={message({keyword:$,schemaCode:I}){let U=$==="maxProperties"?"more":"fewer";return cQ.str`must NOT have ${U} than ${I} properties`},params:({schemaCode:$})=>cQ._`{limit: ${$}}`},qE0={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:KE0,code($){let{keyword:I,data:U,schemaCode:Y}=$,J=I==="maxProperties"?cQ.operators.GT:cQ.operators.LT;$.fail$data(cQ._`Object.keys(${U}).length ${J} ${Y}`)}};Fn.default=qE0});var Pn=O((An)=>{Object.defineProperty(An,"__esModule",{value:!0});var dQ=D$(),mQ=t0(),HE0=V1(),WE0={message:({params:{missingProperty:$}})=>mQ.str`must have required property '${$}'`,params:({params:{missingProperty:$}})=>mQ._`{missingProperty: ${$}}`},VE0={keyword:"required",type:"object",schemaType:"array",$data:!0,error:WE0,code($){let{gen:I,schema:U,schemaCode:Y,data:J,$data:Q,it:K}=$,{opts:q}=K;if(!Q&&U.length===0)return;let G=U.length>=q.loopRequired;if(K.allErrors)H();else W();if(q.strictRequired){let Z=$.parentSchema.properties,{definedProperties:w}=$.it;for(let L of U)if((Z===null||Z===void 0?void 0:Z[L])===void 0&&!w.has(L)){let D=K.schemaEnv.baseId+K.errSchemaPath,N=`required property "${L}" is not defined at "${D}" (strictRequired)`;(0,HE0.checkStrictMode)(K,N,K.opts.strictRequired)}}function H(){if(G||Q)$.block$data(mQ.nil,V);else for(let Z of U)(0,dQ.checkReportMissingProp)($,Z)}function W(){let Z=I.let("missing");if(G||Q){let w=I.let("valid",!0);$.block$data(w,()=>z(Z,w)),$.ok(w)}else I.if((0,dQ.checkMissingProp)($,U,Z)),(0,dQ.reportMissingProp)($,Z),I.else()}function V(){I.forOf("prop",Y,(Z)=>{$.setParams({missingProperty:Z}),I.if((0,dQ.noPropertyInData)(I,J,Z,q.ownProperties),()=>$.error())})}function z(Z,w){$.setParams({missingProperty:Z}),I.forOf(Z,Y,()=>{I.assign(w,(0,dQ.propertyInData)(I,J,Z,q.ownProperties)),I.if((0,mQ.not)(w),()=>{$.error(),I.break()})},mQ.nil)}}};An.default=VE0});var En=O((Tn)=>{Object.defineProperty(Tn,"__esModule",{value:!0});var lQ=t0(),zE0={message({keyword:$,schemaCode:I}){let U=$==="maxItems"?"more":"fewer";return lQ.str`must NOT have ${U} than ${I} items`},params:({schemaCode:$})=>lQ._`{limit: ${$}}`},XE0={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:zE0,code($){let{keyword:I,data:U,schemaCode:Y}=$,J=I==="maxItems"?lQ.operators.GT:lQ.operators.LT;$.fail$data(lQ._`${U}.length ${J} ${Y}`)}};Tn.default=XE0});var eW=O((Rn)=>{Object.defineProperty(Rn,"__esModule",{value:!0});var Bn=JT();Bn.code='require("ajv/dist/runtime/equal").default';Rn.default=Bn});var Cn=O((vn)=>{Object.defineProperty(vn,"__esModule",{value:!0});var MT=gQ(),a4=t0(),DE0=V1(),OE0=eW(),NE0={message:({params:{i:$,j:I}})=>a4.str`must NOT have duplicate items (items ## ${I} and ${$} are identical)`,params:({params:{i:$,j:I}})=>a4._`{i: ${$}, j: ${I}}`},FE0={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:NE0,code($){let{gen:I,data:U,$data:Y,schema:J,parentSchema:Q,schemaCode:K,it:q}=$;if(!Y&&!J)return;let G=I.let("valid"),H=Q.items?(0,MT.getSchemaTypes)(Q.items):[];$.block$data(G,W,a4._`${K} === false`),$.ok(G);function W(){let w=I.let("i",a4._`${U}.length`),L=I.let("j");$.setParams({i:w,j:L}),I.assign(G,!0),I.if(a4._`${w} > 1`,()=>(V()?z:Z)(w,L))}function V(){return H.length>0&&!H.some((w)=>w==="object"||w==="array")}function z(w,L){let D=I.name("item"),N=(0,MT.checkDataTypes)(H,D,q.opts.strictNumbers,MT.DataType.Wrong),E=I.const("indices",a4._`{}`);I.for(a4._`;${w}--;`,()=>{if(I.let(D,a4._`${U}[${w}]`),I.if(N,a4._`continue`),H.length>1)I.if(a4._`typeof ${D} == "string"`,a4._`${D} += "_"`);I.if(a4._`typeof ${E}[${D}] == "number"`,()=>{I.assign(L,a4._`${E}[${D}]`),$.error(),I.assign(G,!1).break()}).code(a4._`${E}[${D}] = ${w}`)})}function Z(w,L){let D=(0,DE0.useFunc)(I,OE0.default),N=I.name("outer");I.label(N).for(a4._`;${w}--;`,()=>I.for(a4._`${L} = ${w}; ${L}--;`,()=>I.if(a4._`${D}(${U}[${w}], ${U}[${L}])`,()=>{$.error(),I.assign(G,!1).break(N)})))}}};vn.default=FE0});var _n=O((jn)=>{Object.defineProperty(jn,"__esModule",{value:!0});var AT=t0(),AE0=V1(),PE0=eW(),TE0={message:"must be equal to constant",params:({schemaCode:$})=>AT._`{allowedValue: ${$}}`},EE0={keyword:"const",$data:!0,error:TE0,code($){let{gen:I,data:U,$data:Y,schemaCode:J,schema:Q}=$;if(Y||Q&&typeof Q=="object")$.fail$data(AT._`!${(0,AE0.useFunc)(I,PE0.default)}(${U}, ${J})`);else $.fail(AT._`${Q} !== ${U}`)}};jn.default=EE0});var gn=O((Sn)=>{Object.defineProperty(Sn,"__esModule",{value:!0});var oQ=t0(),RE0=V1(),vE0=eW(),CE0={message:"must be equal to one of the allowed values",params:({schemaCode:$})=>oQ._`{allowedValues: ${$}}`},jE0={keyword:"enum",schemaType:"array",$data:!0,error:CE0,code($){let{gen:I,data:U,$data:Y,schema:J,schemaCode:Q,it:K}=$;if(!Y&&J.length===0)throw Error("enum must have non-empty array");let q=J.length>=K.opts.loopEnum,G,H=()=>G!==null&&G!==void 0?G:G=(0,RE0.useFunc)(I,vE0.default),W;if(q||Y)W=I.let("valid"),$.block$data(W,V);else{if(!Array.isArray(J))throw Error("ajv implementation error");let Z=I.const("vSchema",Q);W=(0,oQ.or)(...J.map((w,L)=>z(Z,L)))}$.pass(W);function V(){I.assign(W,!1),I.forOf("v",Q,(Z)=>I.if(oQ._`${H()}(${U}, ${Z})`,()=>I.assign(W,!0).break()))}function z(Z,w){let L=J[w];return typeof L==="object"&&L!==null?oQ._`${H()}(${U}, ${Z}[${w}])`:oQ._`${U} === ${L}`}}};Sn.default=jE0});var hn=O((yn)=>{Object.defineProperty(yn,"__esModule",{value:!0});var SE0=Wn(),gE0=Zn(),yE0=Dn(),hE0=Nn(),xE0=Mn(),kE0=Pn(),uE0=En(),fE0=Cn(),bE0=_n(),iE0=gn(),nE0=[SE0.default,gE0.default,yE0.default,hE0.default,xE0.default,kE0.default,uE0.default,fE0.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},bE0.default,iE0.default];yn.default=nE0});var TT=O((kn)=>{Object.defineProperty(kn,"__esModule",{value:!0});kn.validateAdditionalItems=void 0;var g7=t0(),PT=V1(),cE0={message:({params:{len:$}})=>g7.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>g7._`{limit: ${$}}`},dE0={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:cE0,code($){let{parentSchema:I,it:U}=$,{items:Y}=I;if(!Array.isArray(Y)){(0,PT.checkStrictMode)(U,'"additionalItems" is ignored when "items" is not an array of schemas');return}xn($,Y)}};function xn($,I){let{gen:U,schema:Y,data:J,keyword:Q,it:K}=$;K.items=!0;let q=U.const("len",g7._`${J}.length`);if(Y===!1)$.setParams({len:I.length}),$.pass(g7._`${q} <= ${I.length}`);else if(typeof Y=="object"&&!(0,PT.alwaysValidSchema)(K,Y)){let H=U.var("valid",g7._`${q} <= ${I.length}`);U.if((0,g7.not)(H),()=>G(H)),$.ok(H)}function G(H){U.forRange("i",I.length,q,(W)=>{if($.subschema({keyword:Q,dataProp:W,dataPropType:PT.Type.Num},H),!K.allErrors)U.if((0,g7.not)(H),()=>U.break())})}}kn.validateAdditionalItems=xn;kn.default=dE0});var ET=O((nn)=>{Object.defineProperty(nn,"__esModule",{value:!0});nn.validateTuple=void 0;var fn=t0(),$V=V1(),lE0=D$(),oE0={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code($){let{schema:I,it:U}=$;if(Array.isArray(I))return bn($,"additionalItems",I);if(U.items=!0,(0,$V.alwaysValidSchema)(U,I))return;$.ok((0,lE0.validateArray)($))}};function bn($,I,U=$.schema){let{gen:Y,parentSchema:J,data:Q,keyword:K,it:q}=$;if(W(J),q.opts.unevaluated&&U.length&&q.items!==!0)q.items=$V.mergeEvaluated.items(Y,U.length,q.items);let G=Y.name("valid"),H=Y.const("len",fn._`${Q}.length`);U.forEach((V,z)=>{if((0,$V.alwaysValidSchema)(q,V))return;Y.if(fn._`${H} > ${z}`,()=>$.subschema({keyword:K,schemaProp:z,dataProp:z},G)),$.ok(G)});function W(V){let{opts:z,errSchemaPath:Z}=q,w=U.length,L=w===V.minItems&&(w===V.maxItems||V[I]===!1);if(z.strictTuples&&!L){let D=`"${K}" is ${w}-tuple, but minItems or maxItems/${I} are not specified or different at path "${Z}"`;(0,$V.checkStrictMode)(q,D,z.strictTuples)}}}nn.validateTuple=bn;nn.default=oE0});var dn=O((cn)=>{Object.defineProperty(cn,"__esModule",{value:!0});var tE0=ET(),aE0={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:($)=>(0,tE0.validateTuple)($,"items")};cn.default=aE0});var on=O((ln)=>{Object.defineProperty(ln,"__esModule",{value:!0});var mn=t0(),eE0=V1(),$B0=D$(),IB0=TT(),UB0={message:({params:{len:$}})=>mn.str`must NOT have more than ${$} items`,params:({params:{len:$}})=>mn._`{limit: ${$}}`},YB0={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:UB0,code($){let{schema:I,parentSchema:U,it:Y}=$,{prefixItems:J}=U;if(Y.items=!0,(0,eE0.alwaysValidSchema)(Y,I))return;if(J)(0,IB0.validateAdditionalItems)($,J);else $.ok((0,$B0.validateArray)($))}};ln.default=YB0});var tn=O((rn)=>{Object.defineProperty(rn,"__esModule",{value:!0});var O$=t0(),IV=V1(),QB0={message:({params:{min:$,max:I}})=>I===void 0?O$.str`must contain at least ${$} valid item(s)`:O$.str`must contain at least ${$} and no more than ${I} valid item(s)`,params:({params:{min:$,max:I}})=>I===void 0?O$._`{minContains: ${$}}`:O$._`{minContains: ${$}, maxContains: ${I}}`},KB0={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:QB0,code($){let{gen:I,schema:U,parentSchema:Y,data:J,it:Q}=$,K,q,{minContains:G,maxContains:H}=Y;if(Q.opts.next)K=G===void 0?1:G,q=H;else K=1;let W=I.const("len",O$._`${J}.length`);if($.setParams({min:K,max:q}),q===void 0&&K===0){(0,IV.checkStrictMode)(Q,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(q!==void 0&&K>q){(0,IV.checkStrictMode)(Q,'"minContains" > "maxContains" is always invalid'),$.fail();return}if((0,IV.alwaysValidSchema)(Q,U)){let L=O$._`${W} >= ${K}`;if(q!==void 0)L=O$._`${L} && ${W} <= ${q}`;$.pass(L);return}Q.items=!0;let V=I.name("valid");if(q===void 0&&K===1)Z(V,()=>I.if(V,()=>I.break()));else if(K===0){if(I.let(V,!0),q!==void 0)I.if(O$._`${J}.length > 0`,z)}else I.let(V,!1),z();$.result(V,()=>$.reset());function z(){let L=I.name("_valid"),D=I.let("count",0);Z(L,()=>I.if(L,()=>w(D)))}function Z(L,D){I.forRange("i",0,W,(N)=>{$.subschema({keyword:"contains",dataProp:N,dataPropType:IV.Type.Num,compositeRule:!0},L),D()})}function w(L){if(I.code(O$._`${L}++`),q===void 0)I.if(O$._`${L} >= ${K}`,()=>I.assign(V,!0).break());else if(I.if(O$._`${L} > ${q}`,()=>I.assign(V,!1).break()),K===1)I.assign(V,!0);else I.if(O$._`${L} >= ${K}`,()=>I.assign(V,!0))}}};rn.default=KB0});var Up=O((en)=>{Object.defineProperty(en,"__esModule",{value:!0});en.validateSchemaDeps=en.validatePropertyDeps=en.error=void 0;var BT=t0(),GB0=V1(),rQ=D$();en.error={message:({params:{property:$,depsCount:I,deps:U}})=>{let Y=I===1?"property":"properties";return BT.str`must have ${Y} ${U} when property ${$} is present`},params:({params:{property:$,depsCount:I,deps:U,missingProperty:Y}})=>BT._`{property: ${$},
missingProperty: ${Y},
depsCount: ${I},
deps: ${U}}`};var HB0={keyword:"dependencies",type:"object",schemaType:"object",error:en.error,code($){let[I,U]=WB0($);an($,I),sn($,U)}};function WB0({schema:$}){let I={},U={};for(let Y in $){if(Y==="__proto__")continue;let J=Array.isArray($[Y])?I:U;J[Y]=$[Y]}return[I,U]}function an($,I=$.schema){let{gen:U,data:Y,it:J}=$;if(Object.keys(I).length===0)return;let Q=U.let("missing");for(let K in I){let q=I[K];if(q.length===0)continue;let G=(0,rQ.propertyInData)(U,Y,K,J.opts.ownProperties);if($.setParams({property:K,depsCount:q.length,deps:q.join(", ")}),J.allErrors)U.if(G,()=>{for(let H of q)(0,rQ.checkReportMissingProp)($,H)});else U.if(BT._`${G} && (${(0,rQ.checkMissingProp)($,q,Q)})`),(0,rQ.reportMissingProp)($,Q),U.else()}}en.validatePropertyDeps=an;function sn($,I=$.schema){let{gen:U,data:Y,keyword:J,it:Q}=$,K=U.name("valid");for(let q in I){if((0,GB0.alwaysValidSchema)(Q,I[q]))continue;U.if((0,rQ.propertyInData)(U,Y,q,Q.opts.ownProperties),()=>{let G=$.subschema({keyword:J,schemaProp:q},K);$.mergeValidEvaluated(G,K)},()=>U.var(K,!0)),$.ok(K)}}en.validateSchemaDeps=sn;en.default=HB0});var Qp=O((Jp)=>{Object.defineProperty(Jp,"__esModule",{value:!0});var Yp=t0(),zB0=V1(),XB0={message:"property name must be valid",params:({params:$})=>Yp._`{propertyName: ${$.propertyName}}`},wB0={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:XB0,code($){let{gen:I,schema:U,data:Y,it:J}=$;if((0,zB0.alwaysValidSchema)(J,U))return;let Q=I.name("valid");I.forIn("key",Y,(K)=>{$.setParams({propertyName:K}),$.subschema({keyword:"propertyNames",data:K,dataTypes:["string"],propertyName:K,compositeRule:!0},Q),I.if((0,Yp.not)(Q),()=>{if($.error(!0),!J.allErrors)I.break()})}),$.ok(Q)}};Jp.default=wB0});var RT=O((Kp)=>{Object.defineProperty(Kp,"__esModule",{value:!0});var UV=D$(),p$=t0(),DB0=s8(),YV=V1(),OB0={message:"must NOT have additional properties",params:({params:$})=>p$._`{additionalProperty: ${$.additionalProperty}}`},NB0={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:OB0,code($){let{gen:I,schema:U,parentSchema:Y,data:J,errsCount:Q,it:K}=$;if(!Q)throw Error("ajv implementation error");let{allErrors:q,opts:G}=K;if(K.props=!0,G.removeAdditional!=="all"&&(0,YV.alwaysValidSchema)(K,U))return;let H=(0,UV.allSchemaProperties)(Y.properties),W=(0,UV.allSchemaProperties)(Y.patternProperties);V(),$.ok(p$._`${Q} === ${DB0.default.errors}`);function V(){I.forIn("key",J,(D)=>{if(!H.length&&!W.length)w(D);else I.if(z(D),()=>w(D))})}function z(D){let N;if(H.length>8){let E=(0,YV.schemaRefOrVal)(K,Y.properties,"properties");N=(0,UV.isOwnProperty)(I,E,D)}else if(H.length)N=(0,p$.or)(...H.map((E)=>p$._`${D} === ${E}`));else N=p$.nil;if(W.length)N=(0,p$.or)(N,...W.map((E)=>p$._`${(0,UV.usePattern)($,E)}.test(${D})`));return(0,p$.not)(N)}function Z(D){I.code(p$._`delete ${J}[${D}]`)}function w(D){if(G.removeAdditional==="all"||G.removeAdditional&&U===!1){Z(D);return}if(U===!1){if($.setParams({additionalProperty:D}),$.error(),!q)I.break();return}if(typeof U=="object"&&!(0,YV.alwaysValidSchema)(K,U)){let N=I.name("valid");if(G.removeAdditional==="failing")L(D,N,!1),I.if((0,p$.not)(N),()=>{$.reset(),Z(D)});else if(L(D,N),!q)I.if((0,p$.not)(N),()=>I.break())}}function L(D,N,E){let T={keyword:"additionalProperties",dataProp:D,dataPropType:YV.Type.Str};if(E===!1)Object.assign(T,{compositeRule:!0,createErrors:!1,allErrors:!1});$.subschema(T,N)}}};Kp.default=NB0});var Wp=O((Hp)=>{Object.defineProperty(Hp,"__esModule",{value:!0});var MB0=kQ(),qp=D$(),vT=V1(),Gp=RT(),AB0={keyword:"properties",type:"object",schemaType:"object",code($){let{gen:I,schema:U,parentSchema:Y,data:J,it:Q}=$;if(Q.opts.removeAdditional==="all"&&Y.additionalProperties===void 0)Gp.default.code(new MB0.KeywordCxt(Q,Gp.default,"additionalProperties"));let K=(0,qp.allSchemaProperties)(U);for(let V of K)Q.definedProperties.add(V);if(Q.opts.unevaluated&&K.length&&Q.props!==!0)Q.props=vT.mergeEvaluated.props(I,(0,vT.toHash)(K),Q.props);let q=K.filter((V)=>!(0,vT.alwaysValidSchema)(Q,U[V]));if(q.length===0)return;let G=I.name("valid");for(let V of q){if(H(V))W(V);else{if(I.if((0,qp.propertyInData)(I,J,V,Q.opts.ownProperties)),W(V),!Q.allErrors)I.else().var(G,!0);I.endIf()}$.it.definedProperties.add(V),$.ok(G)}function H(V){return Q.opts.useDefaults&&!Q.compositeRule&&U[V].default!==void 0}function W(V){$.subschema({keyword:"properties",schemaProp:V,dataProp:V},G)}}};Hp.default=AB0});var wp=O((Xp)=>{Object.defineProperty(Xp,"__esModule",{value:!0});var Vp=D$(),JV=t0(),Zp=V1(),zp=V1(),TB0={keyword:"patternProperties",type:"object",schemaType:"object",code($){let{gen:I,schema:U,data:Y,parentSchema:J,it:Q}=$,{opts:K}=Q,q=(0,Vp.allSchemaProperties)(U),G=q.filter((L)=>(0,Zp.alwaysValidSchema)(Q,U[L]));if(q.length===0||G.length===q.length&&(!Q.opts.unevaluated||Q.props===!0))return;let H=K.strictSchema&&!K.allowMatchingProperties&&J.properties,W=I.name("valid");if(Q.props!==!0&&!(Q.props instanceof JV.Name))Q.props=(0,zp.evaluatedPropsToName)(I,Q.props);let{props:V}=Q;z();function z(){for(let L of q){if(H)Z(L);if(Q.allErrors)w(L);else I.var(W,!0),w(L),I.if(W)}}function Z(L){for(let D in H)if(new RegExp(L).test(D))(0,Zp.checkStrictMode)(Q,`property ${D} matches pattern ${L} (use allowMatchingProperties)`)}function w(L){I.forIn("key",Y,(D)=>{I.if(JV._`${(0,Vp.usePattern)($,L)}.test(${D})`,()=>{let N=G.includes(L);if(!N)$.subschema({keyword:"patternProperties",schemaProp:L,dataProp:D,dataPropType:zp.Type.Str},W);if(Q.opts.unevaluated&&V!==!0)I.assign(JV._`${V}[${D}]`,!0);else if(!N&&!Q.allErrors)I.if((0,JV.not)(W),()=>I.break())})})}}};Xp.default=TB0});var Dp=O((Lp)=>{Object.defineProperty(Lp,"__esModule",{value:!0});var BB0=V1(),RB0={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code($){let{gen:I,schema:U,it:Y}=$;if((0,BB0.alwaysValidSchema)(Y,U)){$.fail();return}let J=I.name("valid");$.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},J),$.failResult(J,()=>$.reset(),()=>$.error())},error:{message:"must NOT be valid"}};Lp.default=RB0});var Np=O((Op)=>{Object.defineProperty(Op,"__esModule",{value:!0});var CB0=D$(),jB0={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:CB0.validateUnion,error:{message:"must match a schema in anyOf"}};Op.default=jB0});var Mp=O((Fp)=>{Object.defineProperty(Fp,"__esModule",{value:!0});var QV=t0(),SB0=V1(),gB0={message:"must match exactly one schema in oneOf",params:({params:$})=>QV._`{passingSchemas: ${$.passing}}`},yB0={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:gB0,code($){let{gen:I,schema:U,parentSchema:Y,it:J}=$;if(!Array.isArray(U))throw Error("ajv implementation error");if(J.opts.discriminator&&Y.discriminator)return;let Q=U,K=I.let("valid",!1),q=I.let("passing",null),G=I.name("_valid");$.setParams({passing:q}),I.block(H),$.result(K,()=>$.reset(),()=>$.error(!0));function H(){Q.forEach((W,V)=>{let z;if((0,SB0.alwaysValidSchema)(J,W))I.var(G,!0);else z=$.subschema({keyword:"oneOf",schemaProp:V,compositeRule:!0},G);if(V>0)I.if(QV._`${G} && ${K}`).assign(K,!1).assign(q,QV._`[${q}, ${V}]`).else();I.if(G,()=>{if(I.assign(K,!0),I.assign(q,V),z)$.mergeEvaluated(z,QV.Name)})})}}};Fp.default=yB0});var Pp=O((Ap)=>{Object.defineProperty(Ap,"__esModule",{value:!0});var xB0=V1(),kB0={keyword:"allOf",schemaType:"array",code($){let{gen:I,schema:U,it:Y}=$;if(!Array.isArray(U))throw Error("ajv implementation error");let J=I.name("valid");U.forEach((Q,K)=>{if((0,xB0.alwaysValidSchema)(Y,Q))return;let q=$.subschema({keyword:"allOf",schemaProp:K},J);$.ok(J),$.mergeEvaluated(q)})}};Ap.default=kB0});var Rp=O((Bp)=>{Object.defineProperty(Bp,"__esModule",{value:!0});var KV=t0(),Ep=V1(),fB0={message:({params:$})=>KV.str`must match "${$.ifClause}" schema`,params:({params:$})=>KV._`{failingKeyword: ${$.ifClause}}`},bB0={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:fB0,code($){let{gen:I,parentSchema:U,it:Y}=$;if(U.then===void 0&&U.else===void 0)(0,Ep.checkStrictMode)(Y,'"if" without "then" and "else" is ignored');let J=Tp(Y,"then"),Q=Tp(Y,"else");if(!J&&!Q)return;let K=I.let("valid",!0),q=I.name("_valid");if(G(),$.reset(),J&&Q){let W=I.let("ifClause");$.setParams({ifClause:W}),I.if(q,H("then",W),H("else",W))}else if(J)I.if(q,H("then"));else I.if((0,KV.not)(q),H("else"));$.pass(K,()=>$.error(!0));function G(){let W=$.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},q);$.mergeEvaluated(W)}function H(W,V){return()=>{let z=$.subschema({keyword:W},q);if(I.assign(K,q),$.mergeValidEvaluated(z,K),V)I.assign(V,KV._`${W}`);else $.setParams({ifClause:W})}}}};function Tp($,I){let U=$.schema[I];return U!==void 0&&!(0,Ep.alwaysValidSchema)($,U)}Bp.default=bB0});var Cp=O((vp)=>{Object.defineProperty(vp,"__esModule",{value:!0});var nB0=V1(),pB0={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:$,parentSchema:I,it:U}){if(I.if===void 0)(0,nB0.checkStrictMode)(U,`"${$}" without "if" is ignored`)}};vp.default=pB0});var _p=O((jp)=>{Object.defineProperty(jp,"__esModule",{value:!0});var dB0=TT(),mB0=dn(),lB0=ET(),oB0=on(),rB0=tn(),tB0=Up(),aB0=Qp(),sB0=RT(),eB0=Wp(),$R0=wp(),IR0=Dp(),UR0=Np(),YR0=Mp(),JR0=Pp(),QR0=Rp(),KR0=Cp();function qR0($=!1){let I=[IR0.default,UR0.default,YR0.default,JR0.default,QR0.default,KR0.default,aB0.default,sB0.default,tB0.default,eB0.default,$R0.default];if($)I.push(mB0.default,oB0.default);else I.push(dB0.default,lB0.default);return I.push(rB0.default),I}jp.default=qR0});var gp=O((Sp)=>{Object.defineProperty(Sp,"__esModule",{value:!0});var N4=t0(),HR0={message:({schemaCode:$})=>N4.str`must match format "${$}"`,params:({schemaCode:$})=>N4._`{format: ${$}}`},WR0={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:HR0,code($,I){let{gen:U,data:Y,$data:J,schema:Q,schemaCode:K,it:q}=$,{opts:G,errSchemaPath:H,schemaEnv:W,self:V}=q;if(!G.validateFormats)return;if(J)z();else Z();function z(){let w=U.scopeValue("formats",{ref:V.formats,code:G.code.formats}),L=U.const("fDef",N4._`${w}[${K}]`),D=U.let("fType"),N=U.let("format");U.if(N4._`typeof ${L} == "object" && !(${L} instanceof RegExp)`,()=>U.assign(D,N4._`${L}.type || "string"`).assign(N,N4._`${L}.validate`),()=>U.assign(D,N4._`"string"`).assign(N,L)),$.fail$data((0,N4.or)(E(),T()));function E(){if(G.strictSchema===!1)return N4.nil;return N4._`${K} && !${N}`}function T(){let A=W.$async?N4._`(${L}.async ? await ${N}(${Y}) : ${N}(${Y}))`:N4._`${N}(${Y})`,v=N4._`(typeof ${N} == "function" ? ${A} : ${N}.test(${Y}))`;return N4._`${N} && ${N} !== true && ${D} === ${I} && !${v}`}}function Z(){let w=V.formats[Q];if(!w){E();return}if(w===!0)return;let[L,D,N]=T(w);if(L===I)$.pass(A());function E(){if(G.strictSchema===!1){V.logger.warn(v());return}throw Error(v());function v(){return`unknown format "${Q}" ignored in schema at path "${H}"`}}function T(v){let u=v instanceof RegExp?(0,N4.regexpCode)(v):G.code.formats?N4._`${G.code.formats}${(0,N4.getProperty)(Q)}`:void 0,g=U.scopeValue("formats",{key:Q,ref:v,code:u});if(typeof v=="object"&&!(v instanceof RegExp))return[v.type||"string",v.validate,N4._`${g}.validate`];return["string",v,g]}function A(){if(typeof w=="object"&&!(w instanceof RegExp)&&w.async){if(!W.$async)throw Error("async format in sync schema");return N4._`await ${N}(${Y})`}return typeof D=="function"?N4._`${N}(${Y})`:N4._`${N}.test(${Y})`}}}};Sp.default=WR0});var hp=O((yp)=>{Object.defineProperty(yp,"__esModule",{value:!0});var ZR0=gp(),zR0=[ZR0.default];yp.default=zR0});var up=O((xp)=>{Object.defineProperty(xp,"__esModule",{value:!0});xp.contentVocabulary=xp.metadataVocabulary=void 0;xp.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];xp.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var ip=O((bp)=>{Object.defineProperty(bp,"__esModule",{value:!0});var LR0=Gn(),DR0=hn(),OR0=_p(),NR0=hp(),fp=up(),FR0=[LR0.default,DR0.default,(0,OR0.default)(),NR0.default,fp.metadataVocabulary,fp.contentVocabulary];bp.default=FR0});var dp=O((pp)=>{Object.defineProperty(pp,"__esModule",{value:!0});pp.DiscrError=void 0;var np;(function($){$.Tag="tag",$.Mapping="mapping"})(np||(pp.DiscrError=np={}))});var op=O((lp)=>{Object.defineProperty(lp,"__esModule",{value:!0});var QU=t0(),CT=dp(),mp=pW(),AR0=uQ(),PR0=V1(),TR0={message:({params:{discrError:$,tagName:I}})=>$===CT.DiscrError.Tag?`tag "${I}" must be string`:`value of tag "${I}" must be in oneOf`,params:({params:{discrError:$,tag:I,tagName:U}})=>QU._`{error: ${$}, tag: ${U}, tagValue: ${I}}`},ER0={keyword:"discriminator",type:"object",schemaType:"object",error:TR0,code($){let{gen:I,data:U,schema:Y,parentSchema:J,it:Q}=$,{oneOf:K}=J;if(!Q.opts.discriminator)throw Error("discriminator: requires discriminator option");let q=Y.propertyName;if(typeof q!="string")throw Error("discriminator: requires propertyName");if(Y.mapping)throw Error("discriminator: mapping is not supported");if(!K)throw Error("discriminator: requires oneOf keyword");let G=I.let("valid",!1),H=I.const("tag",QU._`${U}${(0,QU.getProperty)(q)}`);I.if(QU._`typeof ${H} == "string"`,()=>W(),()=>$.error(!1,{discrError:CT.DiscrError.Tag,tag:H,tagName:q})),$.ok(G);function W(){let Z=z();I.if(!1);for(let w in Z)I.elseIf(QU._`${H} === ${w}`),I.assign(G,V(Z[w]));I.else(),$.error(!1,{discrError:CT.DiscrError.Mapping,tag:H,tagName:q}),I.endIf()}function V(Z){let w=I.name("valid"),L=$.subschema({keyword:"oneOf",schemaProp:Z},w);return $.mergeEvaluated(L,QU.Name),w}function z(){var Z;let w={},L=N(J),D=!0;for(let A=0;A<K.length;A++){let v=K[A];if((v===null||v===void 0?void 0:v.$ref)&&!(0,PR0.schemaHasRulesButRef)(v,Q.self.RULES)){let g=v.$ref;if(v=mp.resolveRef.call(Q.self,Q.schemaEnv.root,Q.baseId,g),v instanceof mp.SchemaEnv)v=v.schema;if(v===void 0)throw new AR0.default(Q.opts.uriResolver,Q.baseId,g)}let u=(Z=v===null||v===void 0?void 0:v.properties)===null||Z===void 0?void 0:Z[q];if(typeof u!="object")throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${q}"`);D=D&&(L||N(v)),E(u,A)}if(!D)throw Error(`discriminator: "${q}" must be required`);return w;function N({required:A}){return Array.isArray(A)&&A.includes(q)}function E(A,v){if(A.const)T(A.const,v);else if(A.enum)for(let u of A.enum)T(u,v);else throw Error(`discriminator: "properties/${q}" must have "const" or "enum"`)}function T(A,v){if(typeof A!="string"||A in w)throw Error(`discriminator: "${q}" values must be unique strings`);w[A]=v}}}};lp.default=ER0});var rp=O((ND1,RR0)=>{RR0.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 _T=O((b6,jT)=>{Object.defineProperty(b6,"__esModule",{value:!0});b6.MissingRefError=b6.ValidationError=b6.CodeGen=b6.Name=b6.nil=b6.stringify=b6.str=b6._=b6.KeywordCxt=b6.Ajv=void 0;var vR0=si(),CR0=ip(),jR0=op(),tp=rp(),_R0=["/properties"],qV="http://json-schema.org/draft-07/schema";class tQ extends vR0.default{_addVocabularies(){if(super._addVocabularies(),CR0.default.forEach(($)=>this.addVocabulary($)),this.opts.discriminator)this.addKeyword(jR0.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let $=this.opts.$data?this.$dataMetaSchema(tp,_R0):tp;this.addMetaSchema($,qV,!1),this.refs["http://json-schema.org/schema"]=qV}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(qV)?qV:void 0)}}b6.Ajv=tQ;jT.exports=b6=tQ;jT.exports.Ajv=tQ;Object.defineProperty(b6,"__esModule",{value:!0});b6.default=tQ;var SR0=kQ();Object.defineProperty(b6,"KeywordCxt",{enumerable:!0,get:function(){return SR0.KeywordCxt}});var KU=t0();Object.defineProperty(b6,"_",{enumerable:!0,get:function(){return KU._}});Object.defineProperty(b6,"str",{enumerable:!0,get:function(){return KU.str}});Object.defineProperty(b6,"stringify",{enumerable:!0,get:function(){return KU.stringify}});Object.defineProperty(b6,"nil",{enumerable:!0,get:function(){return KU.nil}});Object.defineProperty(b6,"Name",{enumerable:!0,get:function(){return KU.Name}});Object.defineProperty(b6,"CodeGen",{enumerable:!0,get:function(){return KU.CodeGen}});var gR0=iW();Object.defineProperty(b6,"ValidationError",{enumerable:!0,get:function(){return gR0.default}});var yR0=uQ();Object.defineProperty(b6,"MissingRefError",{enumerable:!0,get:function(){return yR0.default}})});var Kc=O((Jc)=>{Object.defineProperty(Jc,"__esModule",{value:!0});Jc.formatNames=Jc.fastFormats=Jc.fullFormats=void 0;function V8($,I){return{validate:$,compare:I}}Jc.fullFormats={date:V8($c,hT),time:V8(gT(!0),xT),"date-time":V8(ap(!0),Uc),"iso-time":V8(gT(),Ic),"iso-date-time":V8(ap(),Yc),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:nR0,"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:rR0,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:pR0,int32:{type:"number",validate:mR0},int64:{type:"number",validate:lR0},float:{type:"number",validate:ep},double:{type:"number",validate:ep},password:!0,binary:!0};Jc.fastFormats={...Jc.fullFormats,date:V8(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,hT),time:V8(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,xT),"date-time":V8(/^\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,Uc),"iso-time":V8(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,Ic),"iso-date-time":V8(/^\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,Yc),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};Jc.formatNames=Object.keys(Jc.fullFormats);function kR0($){return $%4===0&&($%100!==0||$%400===0)}var uR0=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,fR0=[0,31,28,31,30,31,30,31,31,30,31,30,31];function $c($){let I=uR0.exec($);if(!I)return!1;let U=+I[1],Y=+I[2],J=+I[3];return Y>=1&&Y<=12&&J>=1&&J<=(Y===2&&kR0(U)?29:fR0[Y])}function hT($,I){if(!($&&I))return;if($>I)return 1;if($<I)return-1;return 0}var ST=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function gT($){return function(U){let Y=ST.exec(U);if(!Y)return!1;let J=+Y[1],Q=+Y[2],K=+Y[3],q=Y[4],G=Y[5]==="-"?-1:1,H=+(Y[6]||0),W=+(Y[7]||0);if(H>23||W>59||$&&!q)return!1;if(J<=23&&Q<=59&&K<60)return!0;let V=Q-W*G,z=J-H*G-(V<0?1:0);return(z===23||z===-1)&&(V===59||V===-1)&&K<61}}function xT($,I){if(!($&&I))return;let U=new Date("2020-01-01T"+$).valueOf(),Y=new Date("2020-01-01T"+I).valueOf();if(!(U&&Y))return;return U-Y}function Ic($,I){if(!($&&I))return;let U=ST.exec($),Y=ST.exec(I);if(!(U&&Y))return;if($=U[1]+U[2]+U[3],I=Y[1]+Y[2]+Y[3],$>I)return 1;if($<I)return-1;return 0}var yT=/t|\s/i;function ap($){let I=gT($);return function(Y){let J=Y.split(yT);return J.length===2&&$c(J[0])&&I(J[1])}}function Uc($,I){if(!($&&I))return;let U=new Date($).valueOf(),Y=new Date(I).valueOf();if(!(U&&Y))return;return U-Y}function Yc($,I){if(!($&&I))return;let[U,Y]=$.split(yT),[J,Q]=I.split(yT),K=hT(U,J);if(K===void 0)return;return K||xT(Y,Q)}var bR0=/\/|:/,iR0=/^(?:[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 nR0($){return bR0.test($)&&iR0.test($)}var sp=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function pR0($){return sp.lastIndex=0,sp.test($)}var cR0=-2147483648,dR0=2147483647;function mR0($){return Number.isInteger($)&&$<=dR0&&$>=cR0}function lR0($){return Number.isInteger($)}function ep(){return!0}var oR0=/[^\\]\\Z/;function rR0($){if(oR0.test($))return!1;try{return new RegExp($),!0}catch(I){return!1}}});var Gc=O((qc)=>{Object.defineProperty(qc,"__esModule",{value:!0});qc.formatLimitDefinition=void 0;var aR0=_T(),c$=t0(),W9=c$.operators,GV={formatMaximum:{okStr:"<=",ok:W9.LTE,fail:W9.GT},formatMinimum:{okStr:">=",ok:W9.GTE,fail:W9.LT},formatExclusiveMaximum:{okStr:"<",ok:W9.LT,fail:W9.GTE},formatExclusiveMinimum:{okStr:">",ok:W9.GT,fail:W9.LTE}},sR0={message:({keyword:$,schemaCode:I})=>c$.str`should be ${GV[$].okStr} ${I}`,params:({keyword:$,schemaCode:I})=>c$._`{comparison: ${GV[$].okStr}, limit: ${I}}`};qc.formatLimitDefinition={keyword:Object.keys(GV),type:"string",schemaType:"string",$data:!0,error:sR0,code($){let{gen:I,data:U,schemaCode:Y,keyword:J,it:Q}=$,{opts:K,self:q}=Q;if(!K.validateFormats)return;let G=new aR0.KeywordCxt(Q,q.RULES.all.format.definition,"format");if(G.$data)H();else W();function H(){let z=I.scopeValue("formats",{ref:q.formats,code:K.code.formats}),Z=I.const("fmt",c$._`${z}[${G.schemaCode}]`);$.fail$data((0,c$.or)(c$._`typeof ${Z} != "object"`,c$._`${Z} instanceof RegExp`,c$._`typeof ${Z}.compare != "function"`,V(Z)))}function W(){let z=G.schema,Z=q.formats[z];if(!Z||Z===!0)return;if(typeof Z!="object"||Z instanceof RegExp||typeof Z.compare!="function")throw Error(`"${J}": format "${z}" does not define "compare" function`);let w=I.scopeValue("formats",{key:z,ref:Z,code:K.code.formats?c$._`${K.code.formats}${(0,c$.getProperty)(z)}`:void 0});$.fail$data(V(w))}function V(z){return c$._`${z}.compare(${U}, ${Y}) ${GV[J].fail} 0`}},dependencies:["format"]};var eR0=($)=>{return $.addKeyword(qc.formatLimitDefinition),$};qc.default=eR0});var Zc=O((aQ,Vc)=>{Object.defineProperty(aQ,"__esModule",{value:!0});var qU=Kc(),Iv0=Gc(),fT=t0(),Hc=new fT.Name("fullFormats"),Uv0=new fT.Name("fastFormats"),bT=($,I={keywords:!0})=>{if(Array.isArray(I))return Wc($,I,qU.fullFormats,Hc),$;let[U,Y]=I.mode==="fast"?[qU.fastFormats,Uv0]:[qU.fullFormats,Hc],J=I.formats||qU.formatNames;if(Wc($,J,U,Y),I.keywords)(0,Iv0.default)($);return $};bT.get=($,I="full")=>{let Y=(I==="fast"?qU.fastFormats:qU.fullFormats)[$];if(!Y)throw Error(`Unknown format "${$}"`);return Y};function Wc($,I,U,Y){var J,Q;(J=(Q=$.opts.code).formats)!==null&&J!==void 0||(Q.formats=fT._`require("ajv-formats/dist/formats").${Y}`);for(let K of I)$.addFormat(K,U[K])}Vc.exports=aQ=bT;Object.defineProperty(aQ,"__esModule",{value:!0});aQ.default=bT});var z4=O((XF1,Mm)=>{var{toString:Fm}=Object.prototype,XC0=/["&<>]/,J5={each:function(I,U){if(I)if(Array.isArray(I))I.forEach(U);else Object.keys(I).forEach((Y)=>{U(I[Y],Y)})},some:function(I,U){if(I){if(Array.isArray(I))return I.some(U);return Object.keys(I).some((Y)=>U(I[Y],Y))}return!1},every:function(I,U){if(I){if(Array.isArray(I))return I.every(U);return Object.keys(I).every((Y)=>U(I[Y],Y))}return!0},map:function(I,U){if(I){if(Array.isArray(I))return I.map(U);return Object.keys(I).map((Y)=>U(I[Y],Y))}return[]},keyBy($,I){return $.reduce((U,Y)=>{return U[Y[I]]=Y,U},{})},isEqual:function(I,U){let Y=typeof I,J=typeof U,Q=Array.isArray(I),K=Array.isArray(U),q;if(Y!==J)return!1;switch(typeof I){case"object":if(Q||K){if(Q&&K)return I.length===U.length&&I.every((G,H)=>{let W=U[H];return J5.isEqual(G,W)});return!1}if(I===null||U===null)return I===U;if(q=Object.keys(I),Object.keys(U).length!==q.length)return!1;for(let G of q)if(!U.hasOwnProperty(G))return!1;return J5.every(I,(G,H)=>{let W=U[H];return J5.isEqual(G,W)});default:return I===U}},escapeHtml($){let I=XC0.exec($);if(!I)return $;let U="",Y="",J=0,Q=I.index;for(;Q<$.length;Q++){switch($.charAt(Q)){case'"':Y="&quot;";break;case"&":Y="&amp;";break;case"'":Y="&apos;";break;case"<":Y="&lt;";break;case">":Y="&gt;";break;default:continue}if(J!==Q)U+=$.substring(J,Q);J=Q+1,U+=Y}if(J!==Q)return U+$.substring(J,Q);return U},strcmp($,I){if($<I)return-1;if($>I)return 1;return 0},isUndefined($){return Fm.call($)==="[object Undefined]"},isObject($){return Fm.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:I}=arguments,U,Y,J;function Q(K,q){if(U=$[q],J=Array.isArray(K),J5.isObject(K)||J){if(J)J=!1,Y=U&&Array.isArray(U)?U:[];else Y=U&&J5.isObject(U)?U:{};$[q]=J5.deepMerge(Y,K)}else if(!J5.isUndefined(K))$[q]=K}for(let K=0;K<I;K++)J5.each(arguments[K],Q);return $}};Mm.exports=J5});var G4=O((wF1,Am)=>{var wC0=/^[A-Z]+\d+$/,Z2={_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 I,U,Y,J,Q,K=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(K<=26)I=this._dictionary[K-1],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){K=27;while(K<=702)U=K-27,Y=U%26,J=Math.floor(U/26),I=this._dictionary[J]+this._dictionary[Y],this._n2l[K]=I,this._l2n[I]=K,K++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){K=703;while(K<=16384)U=K-703,Y=U%26,J=Math.floor(U/26)%26,Q=Math.floor(U/676),I=this._dictionary[Q]+this._dictionary[J]+this._dictionary[Y],this._n2l[K]=I,this._l2n[I]=K,K++;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(!wC0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let I=$.length<5&&this._hash[$];if(I)return I;let U=!1,Y="",J=0,Q=!1,K="",q=0;for(let H=0,W;H<$.length;H++)if(W=$.charCodeAt(H),!Q&&W>=65&&W<=90)U=!0,Y+=$[H],J=J*26+W-64;else if(W>=48&&W<=57)Q=!0,K+=$[H],q=q*10+W-48;else if(Q&&U&&W!==36)break;if(!U)J=void 0;else if(J>16384)throw Error(`Out of bounds. Invalid column letter: ${Y}`);if(!Q)q=void 0;$=Y+K;let G={address:$,col:J,row:q,$col$row:`$${Y}$${K}`};if(J<=100&&q<=100)this._hash[$]=G,this._hash[G.$col$row]=G;return G},getAddress($,I){if(I){let U=this.n2l(I)+$;return this.decodeAddress(U)}return this.decodeAddress($)},decode($){let I=$.split(":");if(I.length===2){let U=this.decodeAddress(I[0]),Y=this.decodeAddress(I[1]),J={top:Math.min(U.row,Y.row),left:Math.min(U.col,Y.col),bottom:Math.max(U.row,Y.row),right:Math.max(U.col,Y.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 I=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),U=I[1]||I[2],Y=I[3],J=Y.split(":");if(J.length>1){let K=this.decodeAddress(J[0]),q=this.decodeAddress(J[1]),G=Math.min(K.row,q.row),H=Math.min(K.col,q.col),W=Math.max(K.row,q.row),V=Math.max(K.col,q.col);return K=this.n2l(H)+G,q=this.n2l(V)+W,{top:G,left:H,bottom:W,right:V,sheetName:U,tl:{address:K,col:H,row:G,$col$row:`$${this.n2l(H)}$${G}`,sheetName:U},br:{address:q,col:V,row:W,$col$row:`$${this.n2l(V)}$${W}`,sheetName:U},dimensions:`${K}:${q}`}}if(Y.startsWith("#"))return U?{sheetName:U,error:Y}:{error:Y};let Q=this.decodeAddress(Y);return U?{sheetName:U,...Q}:Q},encodeAddress($,I){return Z2.n2l(I)+$},encode(){switch(arguments.length){case 2:return Z2.encodeAddress(arguments[0],arguments[1]);case 4:return`${Z2.encodeAddress(arguments[0],arguments[1])}:${Z2.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,I){let[U,Y,,J,Q]=$,[K,q]=I;return K>=U&&K<=J&&q>=Y&&q<=Q}};Am.exports=Z2});var Q5=O((LF1,Pm)=>{var w8=G4();class RE{constructor(){this.decode(arguments)}setTLBR($,I,U,Y,J){if(arguments.length<4){let Q=w8.decodeAddress($),K=w8.decodeAddress(I);this.model={top:Math.min(Q.row,K.row),left:Math.min(Q.col,K.col),bottom:Math.max(Q.row,K.row),right:Math.max(Q.col,K.col),sheetName:U},this.setTLBR(Q.row,Q.col,K.row,K.col,J)}else this.model={top:Math.min($,U),left:Math.min(I,Y),bottom:Math.max($,U),right:Math.max(I,Y),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 I=$[0];if(I instanceof RE)this.model={top:I.model.top,left:I.model.left,bottom:I.model.bottom,right:I.model.right,sheetName:I.sheetName};else if(I instanceof Array)this.decode(I);else if(I.top&&I.left&&I.bottom&&I.right)this.model={top:I.top,left:I.left,bottom:I.bottom,right:I.right,sheetName:I.sheetName};else{let U=w8.decodeEx(I);if(U.top)this.model={top:U.top,left:U.left,bottom:U.bottom,right:U.right,sheetName:U.sheetName};else this.model={top:U.row,left:U.col,bottom:U.row,right:U.col,sheetName:U.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($,I,U,Y){if(!this.model.top||$<this.top)this.top=$;if(!this.model.left||I<this.left)this.left=I;if(!this.model.bottom||U>this.bottom)this.bottom=U;if(!this.model.right||Y>this.right)this.right=Y}expandRow($){if($){let{dimensions:I,number:U}=$;if(I)this.expand(U,I.min,U,I.max)}}expandToAddress($){let I=w8.decodeEx($);this.expand(I.row,I.col,I.row,I.col)}get tl(){return w8.n2l(this.left)+this.top}get $t$l(){return`$${w8.n2l(this.left)}$${this.top}`}get br(){return w8.n2l(this.right)+this.bottom}get $b$r(){return`$${w8.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 I=w8.decodeEx($);return this.containsEx(I)}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 I=this.left;I<=this.right;I++)for(let U=this.top;U<=this.bottom;U++)$(w8.encodeAddress(U,I),U,I)}}Pm.exports=RE});var l$=O((DF1,Tm)=>{Tm.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 Bm=O((OF1,Em)=>{var yV=G4(),LC0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,DC0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function OC0($,I,U){let Y=yV.decode(I),J=yV.decode(U);return $.replace(LC0,(Q,K,q,G,H)=>{if(H)return Q;let W=DC0.exec(G);if(W){let V=W[1],z=W[2].toUpperCase(),Z=W[3],w=W[4];if(z.length>3||z.length===3&&z>"XFD")return Q;let L=yV.l2n(z),D=parseInt(w,10);if(!V)L+=J.col-Y.col;if(!Z)D+=J.row-Y.row;return(K||"")+(V||"")+yV.n2l(L)+(Z||"")+D}return Q})}Em.exports={slideFormula:OC0}});var vm=O((NF1,Rm)=>{var NC0=z4();class z2{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 NC0.deepMerge({},z2.DEFAULT_CONFIGS,$)}set model($){let{note:I}=$,{texts:U}=I;if(U.length===1&&Object.keys(U[0]).length===1)this.note=U[0].text;else this.note=I}static fromModel($){let I=new z2;return I.model=$,I}}z2.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};Rm.exports=z2});var pm=O((FF1,nm)=>{var FC0=G4(),MC0=z4(),o$=l$(),{slideFormula:AC0}=Bm(),Cm=vm();class F0{constructor($,I,U){if(!$||!I)throw Error("A Cell needs a Row");this._row=$,this._column=I,FC0.validateAddress(U),this._address=U,this._value=X9.create(F0.Types.Null,this),this.style=this._mergeStyle($.style,I.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($,I,U){let Y=$&&$.numFmt||I&&I.numFmt;if(Y)U.numFmt=Y;let J=$&&$.font||I&&I.font;if(J)U.font=J;let Q=$&&$.alignment||I&&I.alignment;if(Q)U.alignment=Q;let K=$&&$.border||I&&I.border;if(K)U.border=K;let q=$&&$.fill||I&&I.fill;if(q)U.fill=q;let G=$&&$.protection||I&&I.protection;if(G)U.protection=G;return U}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===F0.Types.Merge}merge($,I){if(this._value.release(),this._value=X9.create(F0.Types.Merge,this,$),!I)this.style=$.style}unmerge(){if(this.type===F0.Types.Merge)this._value.release(),this._value=X9.create(F0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==F0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===F0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===F0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===F0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=X9.create(X9.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new Cm($)}get text(){return this._value.toString()}get html(){return MC0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===F0.Types.String)this._value=X9.create(F0.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:I}=this.workbook;I.removeAllNames(this.fullAddress),$.forEach((U)=>{I.addEx(this.fullAddress,U)})}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=X9.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=Cm.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}F0.Types=o$.ValueType;class jm{constructor($){this.model={address:$.address,type:F0.Types.Null}}get value(){return null}set value($){}get type(){return F0.Types.Null}get effectiveType(){return F0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class _m{constructor($,I){this.model={address:$.address,type:F0.Types.Number,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Number}get effectiveType(){return F0.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 Sm{constructor($,I){this.model={address:$.address,type:F0.Types.String,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.String}get effectiveType(){return F0.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 gm{constructor($,I){this.model={address:$.address,type:F0.Types.String,value:I}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return F0.Types.RichText}get effectiveType(){return F0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class ym{constructor($,I){this.model={address:$.address,type:F0.Types.Date,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Date}get effectiveType(){return F0.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 hm{constructor($,I){if(this.model={address:$.address,type:F0.Types.Hyperlink,text:I?I.text:void 0,hyperlink:I?I.hyperlink:void 0},I&&I.tooltip)this.model.tooltip=I.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 F0.Types.Hyperlink}get effectiveType(){return F0.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 xm{constructor($,I){if(this.model={address:$.address,type:F0.Types.Merge,master:I?I.address:void 0},this._master=I,I)I.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof F0){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 F0.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 km{constructor($,I){this.cell=$,this.model={address:$.address,type:F0.Types.Formula,shareType:I?I.shareType:void 0,ref:I?I.ref:void 0,formula:I?I.formula:void 0,sharedFormula:I?I.sharedFormula:void 0,result:I?I.result:void 0}}_copyModel($){let I={},U=(Y)=>{let J=$[Y];if(J)I[Y]=J};return U("formula"),U("result"),U("ref"),U("shareType"),U("sharedFormula"),I}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(X9.getType($)){case F0.Types.Null:case F0.Types.String:case F0.Types.Number:case F0.Types.Date:break;case F0.Types.Hyperlink:case F0.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),I=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:I}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return o$.FormulaType.Master;if(this.model.sharedFormula)return o$.FormulaType.Shared;return o$.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return F0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return o$.ValueType.Null;if($ instanceof String||typeof $==="string")return o$.ValueType.String;if(typeof $==="number")return o$.ValueType.Number;if($ instanceof Date)return o$.ValueType.Date;if($.text&&$.hyperlink)return o$.ValueType.Hyperlink;if($.formula)return o$.ValueType.Formula;return o$.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,I=$.findCell(this.model.sharedFormula);this._translatedFormula=I&&AC0(I.formula,I.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class um{constructor($,I){this.model={address:$.address,type:F0.Types.SharedString,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.SharedString}get effectiveType(){return F0.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 fm{constructor($,I){this.model={address:$.address,type:F0.Types.Boolean,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Boolean}get effectiveType(){return F0.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 bm{constructor($,I){this.model={address:$.address,type:F0.Types.Error,value:I}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return F0.Types.Error}get effectiveType(){return F0.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 im{constructor($,I){this.model={address:$.address,type:F0.Types.String,value:JSON.stringify(I),rawValue:I}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return F0.Types.String}get effectiveType(){return F0.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 X9={getType($){if($===null||$===void 0)return F0.Types.Null;if($ instanceof String||typeof $==="string")return F0.Types.String;if(typeof $==="number")return F0.Types.Number;if(typeof $==="boolean")return F0.Types.Boolean;if($ instanceof Date)return F0.Types.Date;if($.text&&$.hyperlink)return F0.Types.Hyperlink;if($.formula||$.sharedFormula)return F0.Types.Formula;if($.richText)return F0.Types.RichText;if($.sharedString)return F0.Types.SharedString;if($.error)return F0.Types.Error;return F0.Types.JSON},types:[{t:F0.Types.Null,f:jm},{t:F0.Types.Number,f:_m},{t:F0.Types.String,f:Sm},{t:F0.Types.Date,f:ym},{t:F0.Types.Hyperlink,f:hm},{t:F0.Types.Formula,f:km},{t:F0.Types.Merge,f:xm},{t:F0.Types.JSON,f:im},{t:F0.Types.SharedString,f:um},{t:F0.Types.RichText,f:gm},{t:F0.Types.Boolean,f:fm},{t:F0.Types.Error,f:bm}].reduce(($,I)=>{return $[I.t]=I.f,$},[]),create($,I,U){let Y=this.types[$];if(!Y)throw Error(`Could not create Value of type ${$}`);return new Y(I,U)}};nm.exports=F0});var xV=O((MF1,mm)=>{var PC0=z4(),hV=l$(),h7=G4(),cm=pm();class dm{constructor($,I){this._worksheet=$,this._number=I,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 I=this._cells[$.col-1];if(!I){let U=this._worksheet.getColumn($.col);I=new cm(this,U,$.address),this._cells[$.col-1]=I}return I}getCell($){if(typeof $==="string"){let I=this._worksheet.getColumnKey($);if(I)$=I.number;else $=h7.l2n($)}return this._cells[$-1]||this.getCellEx({address:h7.encodeAddress(this._number,$),row:this._number,col:$})}splice($,I,...U){let Y=$+I,J=U.length-I,Q=this._cells.length,K,q,G;if(J<0){for(K=$+U.length;K<=Q;K++)if(G=this._cells[K-1],q=this._cells[K-J-1],q)G=this.getCell(K),G.value=q.value,G.style=q.style,G._comment=q._comment;else if(G)G.value=null,G.style={},G._comment=void 0}else if(J>0)for(K=Q;K>=Y;K--)if(q=this._cells[K-1],q)G=this.getCell(K+J),G.value=q.value,G.style=q.style,G._comment=q._comment;else this._cells[K+J-1]=void 0;for(K=0;K<U.length;K++)G=this.getCell($+K),G.value=U[K],G.style={},G._comment=void 0}eachCell($,I){if(!I)I=$,$=null;if($&&$.includeEmpty){let U=this._cells.length;for(let Y=1;Y<=U;Y++)I(this.getCell(Y),Y)}else this._cells.forEach((U,Y)=>{if(U&&U.type!==hV.ValueType.Null)I(U,Y+1)})}addPageBreak($,I){let U=this._worksheet,Y=Math.max(0,$-1)||0,J=Math.max(0,I-1)||16838,Q={id:this._number,max:J,man:1};if(Y)Q.min=Y;U.rowBreaks.push(Q)}get values(){let $=[];return this._cells.forEach((I)=>{if(I&&I.type!==hV.ValueType.Null)$[I.col]=I.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let I=0;if($.hasOwnProperty("0"))I=1;$.forEach((U,Y)=>{if(U!==void 0)this.getCellEx({address:h7.encodeAddress(this._number,Y+I),row:this._number,col:Y+I}).value=U})}else this._worksheet.eachColumnKey((I,U)=>{if($[U]!==void 0)this.getCellEx({address:h7.encodeAddress(this._number,I.number),row:this._number,col:I.number}).value=$[U]})}get hasValues(){return PC0.some(this._cells,($)=>$&&$.type!==hV.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,I=0;return this._cells.forEach((U)=>{if(U&&U.type!==hV.ValueType.Null){if(!$||$>U.col)$=U.col;if(I<U.col)I=U.col}}),$>0?{min:$,max:I}:null}_applyStyle($,I){return this.style[$]=I,this._cells.forEach((U)=>{if(U)U[$]=I}),I}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 $=[],I=0,U=0;return this._cells.forEach((Y)=>{if(Y){let J=Y.model;if(J){if(!I||I>Y.col)I=Y.col;if(U<Y.col)U=Y.col;$.push(J)}}}),this.height||$.length?{cells:$,number:this.number,min:I,max:U,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 I;if($.cells.forEach((U)=>{switch(U.type){case cm.Types.Merge:break;default:{let Y;if(U.address)Y=h7.decodeAddress(U.address);else if(I){let{row:Q}=I,K=I.col+1;Y={row:Q,col:K,address:h7.encodeAddress(Q,K),$col$row:`$${h7.n2l(K)}$${Q}`}}I=Y;let J=this.getCellEx(Y);J.model=U;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}mm.exports=dm});var uV=O((AF1,lm)=>{var TC0=z4(),EC0=l$(),BC0=G4();class kV{constructor($,I,U){if(this._worksheet=$,this._number=I,U!==!1)this.defn=U}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return BC0.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((I,U)=>{this._worksheet.getCell(U+1,this.number).value=I});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&&TC0.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($,I){let U=this.number;if(!I)I=$,$=null;this._worksheet.eachRow($,(Y,J)=>{I(Y.getCell(U),J)})}get values(){let $=[];return this.eachCell((I,U)=>{if(I&&I.type!==EC0.ValueType.Null)$[U]=I.value}),$}set values($){if(!$)return;let I=this.number,U=0;if($.hasOwnProperty("0"))U=1;$.forEach((Y,J)=>{this._worksheet.getCell(J+U,I).value=Y})}_applyStyle($,I){return this.style[$]=I,this.eachCell((U)=>{U[$]=I}),I}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 I=[],U=null;if($)$.forEach((Y,J)=>{if(Y.isDefault){if(U)U=null}else if(!U||!Y.equivalentTo(U))U={min:J+1,max:J+1,width:Y.width!==void 0?Y.width:9,style:Y.style,isCustomWidth:Y.isCustomWidth,hidden:Y.hidden,outlineLevel:Y.outlineLevel,collapsed:Y.collapsed},I.push(U);else U.max=J+1});return I.length?I:void 0}static fromModel($,I){I=I||[];let U=[],Y=1,J=0;I=I.sort(function(Q,K){return Q.min-K.min});while(J<I.length){let Q=I[J++];while(Y<Q.min)U.push(new kV($,Y++));while(Y<=Q.max)U.push(new kV($,Y++,Q))}return U.length?U:null}}lm.exports=kV});var rm=O((PF1,om)=>{var RC0=G4();class fV{constructor($,I,U=0){if(this.worksheet=$,!I)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof I==="string"){let Y=RC0.decodeAddress(I);this.nativeCol=Y.col+U,this.nativeColOff=0,this.nativeRow=Y.row+U,this.nativeRowOff=0}else if(I.nativeCol!==void 0)this.nativeCol=I.nativeCol||0,this.nativeColOff=I.nativeColOff||0,this.nativeRow=I.nativeRow||0,this.nativeRowOff=I.nativeRowOff||0;else if(I.col!==void 0)this.col=I.col+U,this.row=I.row+U;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof fV||$==null?$:new fV($)}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}}om.exports=fV});var sm=O((TF1,am)=>{var vC0=G4(),bV=rm();class tm{constructor($,I){this.worksheet=$,this.model=I}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:I,range:U,hyperlinks:Y}){if(this.type=$,this.imageId=I,$==="image")if(typeof U==="string"){let J=vC0.decode(U);this.range={tl:new bV(this.worksheet,{col:J.left,row:J.top},-1),br:new bV(this.worksheet,{col:J.right,row:J.bottom},0),editAs:"oneCell"}}else this.range={tl:new bV(this.worksheet,U.tl,0),br:U.br&&new bV(this.worksheet,U.br,0),ext:U.ext,editAs:U.editAs,hyperlinks:Y||U.hyperlinks}}}am.exports=tm});var Ul=O((EF1,Il)=>{var iV=G4();class em{constructor($,I,U){this.table=$,this.column=I,this.index=U}_set($,I){this.table.cacheState(),this.column[$]=I}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 $l{constructor($,I){if(this.worksheet=$,I)this.table=I,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,I=(G,H,W)=>{if(G[H]===void 0)G[H]=W};I($,"headerRow",!0),I($,"totalsRow",!1),I($,"style",{}),I($.style,"theme","TableStyleMedium2"),I($.style,"showFirstColumn",!1),I($.style,"showLastColumn",!1),I($.style,"showRowStripes",!1),I($.style,"showColumnStripes",!1);let U=(G,H)=>{if(!G)throw Error(H)};U($.ref,"Table must have ref"),U($.columns,"Table must have column definitions"),U($.rows,"Table must have row definitions"),$.tl=iV.decodeAddress($.ref);let{row:Y,col:J}=$.tl;U(Y>0,"Table must be on valid row"),U(J>0,"Table must be on valid col");let{width:Q,filterHeight:K,tableHeight:q}=this;$.autoFilterRef=iV.encode(Y,J,Y+K-1,J+Q-1),$.tableRef=iV.encode(Y,J,Y+q-1,J+Q-1),$.columns.forEach((G,H)=>{if(U(G.name,`Column ${H} must have a name`),H===0)I(G,"totalsRowLabel","Total");else I(G,"totalsRowFunction","none"),G.totalsRowFormula=this.getFormula(G)})}store(){let $=(K,q)=>{if(q)Object.keys(q).forEach((G)=>{K[G]=q[G]})},{worksheet:I,table:U}=this,{row:Y,col:J}=U.tl,Q=0;if(U.headerRow){let K=I.getRow(Y+Q++);U.columns.forEach((q,G)=>{let{style:H,name:W}=q,V=K.getCell(J+G);V.value=W,$(V,H)})}if(U.rows.forEach((K)=>{let q=I.getRow(Y+Q++);K.forEach((G,H)=>{let W=q.getCell(J+H);W.value=G,$(W,U.columns[H].style)})}),U.totalsRow){let K=I.getRow(Y+Q++);U.columns.forEach((q,G)=>{let H=K.getCell(J+G);if(G===0)H.value=q.totalsRowLabel;else if(this.getFormula(q))H.value={formula:q.totalsRowFormula,result:q.totalsRowResult};else H.value=null;$(H,q.style)})}}load($){let{table:I}=this,{row:U,col:Y}=I.tl,J=0;if(I.headerRow){let Q=$.getRow(U+J++);I.columns.forEach((K,q)=>{let G=Q.getCell(Y+q);G.value=K.name})}if(I.rows.forEach((Q)=>{let K=$.getRow(U+J++);Q.forEach((q,G)=>{let H=K.getCell(Y+G);H.value=q})}),I.totalsRow){let Q=$.getRow(U+J++);I.columns.forEach((K,q)=>{let G=Q.getCell(Y+q);if(q===0)G.value=K.totalsRowLabel;else if(this.getFormula(K))G.value={formula:K.totalsRowFormula,result:K.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 $=iV.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let I=0;I<this._cache.tableHeight;I++){let U=this.worksheet.getRow($.row+I);for(let Y=0;Y<this._cache.width;Y++){let J=U.getCell($.col+Y);J.value=null}}else{for(let I=this.tableHeight;I<this._cache.tableHeight;I++){let U=this.worksheet.getRow($.row+I);for(let Y=0;Y<this._cache.width;Y++){let J=U.getCell($.col+Y);J.value=null}}for(let I=0;I<this.tableHeight;I++){let U=this.worksheet.getRow($.row+I);for(let Y=this.width;Y<this._cache.width;Y++){let J=U.getCell($.col+Y);J.value=null}}}this.store()}addRow($,I){if(this.cacheState(),I===void 0)this.table.rows.push($);else this.table.rows.splice(I,0,$)}removeRows($,I=1){this.cacheState(),this.table.rows.splice($,I)}getColumn($){let I=this.table.columns[$];return new em(this,I,$)}addColumn($,I,U){if(this.cacheState(),U===void 0)this.table.columns.push($),this.table.rows.forEach((Y,J)=>{Y.push(I[J])});else this.table.columns.splice(U,0,$),this.table.rows.forEach((Y,J)=>{Y.splice(U,0,I[J])})}removeColumns($,I=1){this.cacheState(),this.table.columns.splice($,I),this.table.rows.forEach((U)=>{U.splice($,I)})}_assign($,I,U){this.cacheState(),$[I]=U}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=$}}Il.exports=$l});var vE=O((BF1,Jl)=>{class Yl{constructor($){this.model=$||{}}add($,I){return this.model[$]=I}find($){return this.model[$]}remove($){this.model[$]=void 0}}Jl.exports=Yl});var jE=O((RF1,Ql)=>{var CE=r("crypto"),CC0={hash($,...I){let U=CE.createHash($);return U.update(Buffer.concat(I)),U.digest()},convertPasswordToHash($,I,U,Y){if(I=I.toLowerCase(),CE.getHashes().indexOf(I)<0)throw Error(`Hash algorithm '${I}' not supported!`);let Q=Buffer.from($,"utf16le"),K=this.hash(I,Buffer.from(U,"base64"),Q);for(let q=0;q<Y;q++){let G=Buffer.alloc(4);G.writeUInt32LE(q,0),K=this.hash(I,K,G)}return K.toString("base64")},randomBytes($){return CE.randomBytes($)}};Ql.exports=CC0});var ql=O((SC0)=>{var Kl=($,I)=>({...$,...I.reduce((U,Y)=>{if($[Y])U[Y]={...$[Y]};return U},{})}),L8=($,I,U,Y=[])=>{if($[U])I[U]=Kl($[U],Y)},jC0=($)=>Object.keys($).length===0,_C0=($)=>{if(!$)return $;if(jC0($))return{};let I={...$};if(L8($,I,"font",["color"]),L8($,I,"alignment"),L8($,I,"protection"),$.border)L8($,I,"border"),L8($.border,I.border,"top",["color"]),L8($.border,I.border,"left",["color"]),L8($.border,I.border,"bottom",["color"]),L8($.border,I.border,"right",["color"]),L8($.border,I.border,"diagonal",["color"]);if($.fill){if(L8($,I,"fill",["fgColor","bgColor","center"]),$.fill.stops)I.fill.stops=$.fill.stops.map((U)=>Kl(U,["color"]))}return I};SC0.copyStyle=_C0});var wl=O((CF1,Xl)=>{var X2=z4(),w2=G4(),L2=Q5(),Gl=xV(),nV=uV(),yC0=l$(),_E=sm(),Hl=Ul(),Wl=vE(),Vl=jE(),{copyStyle:Zl}=ql();class zl{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 Wl,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((I)=>I&&I.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 L2;return this._rows.forEach((I)=>{if(I){let U=I.dimensions;if(U)$.expand(I.number,U.min,I.number,U.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((Y,J)=>{let Q=J.header&&1||J.headers&&J.headers.length||0;return Math.max(Y,Q)},0);let I=1,U=this._columns=[];$.forEach((Y)=>{let J=new nV(this,I++,!1);U.push(J),J.defn=Y})}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){X2.each(this._keys,$)}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=w2.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new nV(this,I++))}return this._columns[$-1]}spliceColumns($,I,...U){let J=this._rows.length;if(U.length>0)for(let G=0;G<J;G++){let H=[$,I];U.forEach((V)=>{H.push(V[G]||null)});let W=this.getRow(G+1);W.splice.apply(W,H)}else this._rows.forEach((G)=>{if(G)G.splice($,I)});let Q=U.length-I,K=$+I,q=this._columns.length;if(Q<0)for(let G=$+U.length;G<=q;G++)this.getColumn(G).defn=this.getColumn(G-Q).defn;else if(Q>0)for(let G=q;G>=K;G--)this.getColumn(G+Q).defn=this.getColumn(G).defn;for(let G=$;G<$+U.length;G++)this.getColumn(G).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,I,U.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((I)=>{$=Math.max($,I.cellCount)}),$}get actualColumnCount(){let $=[],I=0;return this.eachRow((U)=>{U.eachCell(({col:Y})=>{if(!$[Y])$[Y]=!0,I++})}),I}_commitRow(){}get _lastRowNumber(){let $=this._rows,I=$.length;while(I>0&&$[I-1]===void 0)I--;return I}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($,I){return this._rows.slice($-1,$-1+I)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let I=this._rows[$-1];if(!I)I=this._rows[$-1]=new Gl(this,$);return I}getRows($,I){if(I<1)return;let U=[];for(let Y=$;Y<$+I;Y++)U.push(this.getRow(Y));return U}addRow($,I="n"){let U=this._nextRow,Y=this.getRow(U);return Y.values=$,this._setStyleOption(U,I[0]==="i"?I:"n"),Y}addRows($,I="n"){let U=[];return $.forEach((Y)=>{U.push(this.addRow(Y,I))}),U}insertRow($,I,U="n"){return this.spliceRows($,0,I),this._setStyleOption($,U),this.getRow($)}insertRows($,I,U="n"){if(this.spliceRows($,0,...I),U!=="n"){for(let Y=0;Y<I.length;Y++)if(U[0]==="o"&&this.findRow(I.length+$+Y)!==void 0)this._copyStyle(I.length+$+Y,$+Y,U[1]==="+");else if(U[0]==="i"&&this.findRow($-1)!==void 0)this._copyStyle($-1,$+Y,U[1]==="+")}return this.getRows($,I.length)}_setStyleOption($,I="n"){if(I[0]==="o"&&this.findRow($+1)!==void 0)this._copyStyle($+1,$,I[1]==="+");else if(I[0]==="i"&&this.findRow($-1)!==void 0)this._copyStyle($-1,$,I[1]==="+")}_copyStyle($,I,U=!1){let Y=this.getRow($),J=this.getRow(I);J.style=Zl(Y.style),Y.eachCell({includeEmpty:U},(Q,K)=>{J.getCell(K).style=Zl(Q.style)}),J.height=Y.height}duplicateRow($,I,U=!1){let Y=this._rows[$-1],J=Array(I).fill(Y.values);this.spliceRows($+1,U?0:I,...J);for(let Q=0;Q<I;Q++){let K=this._rows[$+Q];K.style=Y.style,K.height=Y.height,Y.eachCell({includeEmpty:!0},(q,G)=>{K.getCell(G).style=q.style})}}spliceRows($,I,...U){let Y=$+I,J=U.length,Q=J-I,K=this._rows.length,q,G;if(Q<0){if($===K)this._rows[K-1]=void 0;for(q=Y;q<=K;q++)if(G=this._rows[q-1],G){let H=this.getRow(q+Q);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,V)=>{H.getCell(V).style=W.style}),this._rows[q-1]=void 0}else this._rows[q+Q-1]=void 0}else if(Q>0)for(q=K;q>=Y;q--)if(G=this._rows[q-1],G){let H=this.getRow(q+Q);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,V)=>{if(H.getCell(V).style=W.style,W._value.constructor.name==="MergeValue"){let z=this.getRow(W._row._number+J).getCell(V),Z=W._value._master,w=this.getRow(Z._row._number+J).getCell(Z._column._number);z.merge(w)}})}else this._rows[q+Q-1]=void 0;for(q=0;q<J;q++){let H=this.getRow($+q);H.style={},H.values=U[q]}this.workbook.definedNames.spliceRows(this.name,$,I,J)}eachRow($,I){if(!I)I=$,$=void 0;if($&&$.includeEmpty){let U=this._rows.length;for(let Y=1;Y<=U;Y++)I(this.getRow(Y),Y)}else this._rows.forEach((U)=>{if(U&&U.hasValues)I(U,U.number)})}getSheetValues(){let $=[];return this._rows.forEach((I)=>{if(I)$[I.number]=I.values}),$}findCell($,I){let U=w2.getAddress($,I),Y=this._rows[U.row-1];return Y?Y.findCell(U.col):void 0}getCell($,I){let U=w2.getAddress($,I);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let I=new L2($);this._mergeCellsInternal(I)}mergeCellsWithoutStyle(...$){let I=new L2($);this._mergeCellsInternal(I,!0)}_mergeCellsInternal($,I){X2.each(this._merges,(Y)=>{if(Y.intersects($))throw Error("Cannot merge already merged cells")});let U=this.getCell($.top,$.left);for(let Y=$.top;Y<=$.bottom;Y++)for(let J=$.left;J<=$.right;J++)if(Y>$.top||J>$.left)this.getCell(Y,J).merge(U,I);this._merges[U.address]=$}_unMergeMaster($){let I=this._merges[$.address];if(I){for(let U=I.top;U<=I.bottom;U++)for(let Y=I.left;Y<=I.right;Y++)this.getCell(U,Y).unmerge();delete this._merges[$.address]}}get hasMerges(){return X2.some(this._merges,Boolean)}unMergeCells(...$){let I=new L2($);for(let U=I.top;U<=I.bottom;U++)for(let Y=I.left;Y<=I.right;Y++){let J=this.findCell(U,Y);if(J){if(J.type===yC0.ValueType.Merge)this._unMergeMaster(J.master);else if(this._merges[J.address])this._unMergeMaster(J)}}}fillFormula($,I,U,Y="shared"){let J=w2.decode($),{top:Q,left:K,bottom:q,right:G}=J,H=G-K+1,W=w2.encodeAddress(Q,K),V=Y==="shared",z;if(typeof U==="function")z=U;else if(Array.isArray(U))if(Array.isArray(U[0]))z=(w,L)=>U[w-Q][L-K];else z=(w,L)=>U[(w-Q)*H+(L-K)];else z=()=>{return};let Z=!0;for(let w=Q;w<=q;w++)for(let L=K;L<=G;L++)if(Z)this.getCell(w,L).value={shareType:Y,formula:I,ref:$,result:z(w,L)},Z=!1;else this.getCell(w,L).value=V?{sharedFormula:W,result:z(w,L)}:z(w,L)}addImage($,I){let U={type:"image",imageId:$,range:I};this._media.push(new _E(this,U))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let I={type:"background",imageId:$};this._media.push(new _E(this,I))}getBackgroundImageId(){let $=this._media.find((I)=>I.type==="background");return $&&$.imageId}protect($,I){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},I&&"spinCount"in I)I.spinCount=Number.isFinite(I.spinCount)?Math.round(Math.max(0,I.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=Vl.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=I&&"spinCount"in I?I.spinCount:1e5,this.sheetProtection.hashValue=Vl.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(I){if(this.sheetProtection=Object.assign(this.sheetProtection,I),!$&&"spinCount"in I)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}addTable($){let I=new Hl(this,$);return this.tables[$.name]=I,I}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((Y)=>Y.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((Y)=>Y.model),conditionalFormattings:this.conditionalFormattings};$.cols=nV.toModel(this.columns);let I=$.rows=[],U=$.dimensions=new L2;return this._rows.forEach((Y)=>{let J=Y&&Y.model;if(J)U.expand(J.number,J.min,J.number,J.max),I.push(J)}),$.merges=[],X2.each(this._merges,(Y)=>{$.merges.push(Y.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((I)=>{let U=new Gl(this,I.number);this._rows[U.number-1]=U,U.model=I})}_parseMergeCells($){X2.each($.mergeCells,(I)=>{this.mergeCellsWithoutStyle(I)})}set model($){this.name=$.name,this._columns=nV.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new Wl($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((I)=>new _E(this,I)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((I,U)=>{let Y=new Hl;return Y.model=U,I[U.name]=Y,I},{}),this.conditionalFormattings=$.conditionalFormattings}}Xl.exports=zl});var Nl=O((jF1,Ol)=>{var Ll=z4(),pV=G4();class Dl{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(pV.decodeEx($))}getCell($){return this.findCellEx(pV.decodeEx($),!0)}findCell($){return this.findCellEx(pV.decodeEx($),!1)}findCellAt($,I,U){let Y=this.sheets[$],J=Y&&Y[I];return J&&J[U]}addCellEx($){if($.top)for(let I=$.top;I<=$.bottom;I++)for(let U=$.left;U<=$.right;U++)this.getCellAt($.sheetName,I,U);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,I){let U=this.findSheet($,I),Y=this.findSheetRow(U,$,I);return this.findRowCell(Y,$,I)}getCellAt($,I,U){let Y=this.sheets[$]||(this.sheets[$]=[]),J=Y[I]||(Y[I]=[]);return J[U]||(J[U]={sheetName:$,address:pV.n2l(U)+I,row:I,col:U})}removeCellEx($){let I=this.findSheet($);if(!I)return;let U=this.findSheetRow(I,$);if(!U)return;delete U[$.col]}forEachInSheet($,I){let U=this.sheets[$];if(U)U.forEach((Y,J)=>{if(Y)Y.forEach((Q,K)=>{if(Q)I(Q,J,K)})})}forEach($){Ll.each(this.sheets,(I,U)=>{this.forEachInSheet(U,$)})}map($){let I=[];return this.forEach((U)=>{I.push($(U))}),I}findSheet($,I){let U=$.sheetName;if(this.sheets[U])return this.sheets[U];if(I)return this.sheets[U]=[];return}findSheetRow($,I,U){let{row:Y}=I;if($&&$[Y])return $[Y];if(U)return $[Y]=[];return}findRowCell($,I,U){let{col:Y}=I;if($&&$[Y])return $[Y];if(U)return $[Y]=this.template?Object.assign(I,JSON.parse(JSON.stringify(this.template))):I;return}spliceRows($,I,U,Y){let J=this.sheets[$];if(J){let Q=[];for(let K=0;K<Y;K++)Q.push([]);J.splice(I,U,...Q)}}spliceColumns($,I,U,Y){let J=this.sheets[$];if(J){let Q=[];for(let K=0;K<Y;K++)Q.push(null);Ll.each(J,(K)=>{K.splice(I,U,...Q)})}}}Ol.exports=Dl});var SE=O((_F1,Al)=>{var DU=z4(),D2=G4(),Fl=Nl(),hC0=Q5(),xC0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class Ml{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new Fl)}add($,I){let U=D2.decodeEx($);this.addEx(U,I)}addEx($,I){let U=this.getMatrix(I);if($.top)for(let Y=$.left;Y<=$.right;Y++)for(let J=$.top;J<=$.bottom;J++){let Q={sheetName:$.sheetName,address:D2.n2l(Y)+J,row:J,col:Y};U.addCellEx(Q)}else U.addCellEx($)}remove($,I){let U=D2.decodeEx($);this.removeEx(U,I)}removeEx($,I){this.getMatrix(I).removeCellEx($)}removeAllNames($){DU.each(this.matrixMap,(I)=>{I.removeCellEx($)})}forEach($){DU.each(this.matrixMap,(I,U)=>{I.forEach((Y)=>{$(U,Y)})})}getNames($){return this.getNamesEx(D2.decodeEx($))}getNamesEx($){return DU.map(this.matrixMap,(I,U)=>I.findCellEx($)&&U).filter(Boolean)}_explore($,I){I.mark=!1;let{sheetName:U}=I,Y=new hC0(I.row,I.col,I.row,I.col,U),J,Q;function K(G,H){let W=$.findCellAt(U,G,I.col);if(!W||!W.mark)return!1;return Y[H]=G,W.mark=!1,!0}for(Q=I.row-1;K(Q,"top");Q--);for(Q=I.row+1;K(Q,"bottom");Q++);function q(G,H){let W=[];for(Q=Y.top;Q<=Y.bottom;Q++){let V=$.findCellAt(U,Q,G);if(V&&V.mark)W.push(V);else return!1}Y[H]=G;for(let V=0;V<W.length;V++)W[V].mark=!1;return!0}for(J=I.col-1;q(J,"left");J--);for(J=I.col+1;q(J,"right");J++);return Y}getRanges($,I){if(I=I||this.matrixMap[$],!I)return{name:$,ranges:[]};I.forEach((Y)=>{Y.mark=!0});let U=I.map((Y)=>Y.mark&&this._explore(I,Y)).filter(Boolean).map((Y)=>Y.$shortRange);return{name:$,ranges:U}}normaliseMatrix($,I){$.forEachInSheet(I,(U,Y,J)=>{if(U){if(U.row!==Y||U.col!==J)U.row=Y,U.col=J,U.address=D2.n2l(J)+Y}})}spliceRows($,I,U,Y){DU.each(this.matrixMap,(J)=>{J.spliceRows($,I,U,Y),this.normaliseMatrix(J,$)})}spliceColumns($,I,U,Y){DU.each(this.matrixMap,(J)=>{J.spliceColumns($,I,U,Y),this.normaliseMatrix(J,$)})}get model(){return DU.map(this.matrixMap,($,I)=>this.getRanges(I,$)).filter(($)=>$.ranges.length)}set model($){let I=this.matrixMap={};$.forEach((U)=>{let Y=I[U.name]=new Fl;U.ranges.forEach((J)=>{if(xC0.test(J.split("!").pop()||""))Y.addCell(J)})})}}Al.exports=Ml});var F4=O((SF1,gE)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)gE.exports={nextTick:kC0};else gE.exports=process;function kC0($,I,U,Y){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var J=arguments.length,Q,K;switch(J){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,I)});case 3:return process.nextTick(function(){$.call(null,I,U)});case 4:return process.nextTick(function(){$.call(null,I,U,Y)});default:Q=Array(J-1),K=0;while(K<Q.length)Q[K++]=arguments[K];return process.nextTick(function(){$.apply(null,Q)})}}});var OU=O((gF1,Pl)=>{var uC0={}.toString;Pl.exports=Array.isArray||function($){return uC0.call($)=="[object Array]"}});var M4=O((yE,El)=>{var cV=r("buffer"),K5=cV.Buffer;function Tl($,I){for(var U in $)I[U]=$[U]}if(K5.from&&K5.alloc&&K5.allocUnsafe&&K5.allocUnsafeSlow)El.exports=cV;else Tl(cV,yE),yE.Buffer=NU;function NU($,I,U){return K5($,I,U)}Tl(K5,NU);NU.from=function($,I,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return K5($,I,U)};NU.alloc=function($,I,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var Y=K5($);if(I!==void 0)if(typeof U==="string")Y.fill(I,U);else Y.fill(I);else Y.fill(0);return Y};NU.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return K5($)};NU.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return cV.SlowBuffer($)}});var n1=O((eC0)=>{function fC0($){if(Array.isArray)return Array.isArray($);return dV($)==="[object Array]"}eC0.isArray=fC0;function bC0($){return typeof $==="boolean"}eC0.isBoolean=bC0;function iC0($){return $===null}eC0.isNull=iC0;function nC0($){return $==null}eC0.isNullOrUndefined=nC0;function pC0($){return typeof $==="number"}eC0.isNumber=pC0;function cC0($){return typeof $==="string"}eC0.isString=cC0;function dC0($){return typeof $==="symbol"}eC0.isSymbol=dC0;function mC0($){return $===void 0}eC0.isUndefined=mC0;function lC0($){return dV($)==="[object RegExp]"}eC0.isRegExp=lC0;function oC0($){return typeof $==="object"&&$!==null}eC0.isObject=oC0;function rC0($){return dV($)==="[object Date]"}eC0.isDate=rC0;function tC0($){return dV($)==="[object Error]"||$ instanceof Error}eC0.isError=tC0;function aC0($){return typeof $==="function"}eC0.isFunction=aC0;function sC0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}eC0.isPrimitive=sC0;eC0.isBuffer=r("buffer").Buffer.isBuffer;function dV($){return Object.prototype.toString.call($)}});var Bl=O((hF1,hE)=>{if(typeof Object.create==="function")hE.exports=function(I,U){if(U)I.super_=U,I.prototype=Object.create(U.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}})};else hE.exports=function(I,U){if(U){I.super_=U;var Y=function(){};Y.prototype=U.prototype,I.prototype=new Y,I.prototype.constructor=I}}});var p0=O((xF1,xE)=>{try{if(mV=r("util"),typeof mV.inherits!=="function")throw"";xE.exports=mV.inherits}catch($){xE.exports=Bl()}var mV});var vl=O((kF1,kE)=>{function wj0($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var Rl=M4().Buffer,O2=r("util");function Lj0($,I,U){$.copy(I,U)}kE.exports=function(){function $(){wj0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return Rl.alloc(0);var Y=Rl.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)Lj0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(O2&&O2.inspect&&O2.inspect.custom)kE.exports.prototype[O2.inspect.custom]=function(){var $=O2.inspect({length:this.length});return this.constructor.name+" "+$}});var uE=O((uF1,Cl)=>{var lV=F4();function Dj0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)lV.nextTick(oV,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,lV.nextTick(oV,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)lV.nextTick(oV,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,lV.nextTick(oV,U,Q)}else if(I)I(Q)}),this}function Oj0(){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 oV($,I){$.emit("error",I)}Cl.exports={destroy:Dj0,undestroy:Oj0}});var x7=O((fF1,jl)=>{jl.exports=r("util").deprecate});var bE=O((bF1,ul)=>{var k7=F4();ul.exports=P4;function Sl($){var I=this;this.next=null,this.entry=null,this.finish=function(){xj0(I,$)}}var Nj0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:k7.nextTick,FU;P4.WritableState=F2;var gl=Object.create(n1());gl.inherits=p0();var Fj0={deprecate:x7()},yl=r("stream"),tV=M4().Buffer,Mj0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Aj0($){return tV.from($)}function Pj0($){return tV.isBuffer($)||$ instanceof Mj0}var hl=uE();gl.inherits(P4,yl);function Tj0(){}function F2($,I){FU=FU||u7(),$=$||{};var U=I instanceof FU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;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 K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){_j0(I,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 Sl(this)}F2.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(F2.prototype,"buffer",{get:Fj0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var rV;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")rV=Function.prototype[Symbol.hasInstance],Object.defineProperty(P4,Symbol.hasInstance,{value:function($){if(rV.call(this,$))return!0;if(this!==P4)return!1;return $&&$._writableState instanceof F2}});else rV=function($){return $ instanceof this};function P4($){if(FU=FU||u7(),!rV.call(P4,this)&&!(this instanceof FU))return new P4($);if(this._writableState=new F2($,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}yl.call(this)}P4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function Ej0($,I){var U=Error("write after end");$.emit("error",U),k7.nextTick(I,U)}function Bj0($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),k7.nextTick(Y,Q),J=!1;return J}P4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&Pj0($);if(Q&&!tV.isBuffer($))$=Aj0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=Tj0;if(Y.ended)Ej0(this,U);else if(Q||Bj0(this,Y,$,U))Y.pendingcb++,J=vj0(this,Y,Q,$,I,U);return J};P4.prototype.cork=function(){var $=this._writableState;$.corked++};P4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)xl(this,$)}};P4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function Rj0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=tV.from(I,U);return I}Object.defineProperty(P4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function vj0($,I,U,Y,J,Q){if(!U){var K=Rj0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else fE($,I,!1,q,Y,J,Q);return G}function fE($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function Cj0($,I,U,Y,J){if(--I.pendingcb,U)k7.nextTick(J,Y),k7.nextTick(N2,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),N2($,I)}function jj0($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function _j0($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(jj0(U),I)Cj0($,U,Y,I,J);else{var Q=kl(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)xl($,U);if(Y)Nj0(_l,$,U,Q,J);else _l($,U,Q,J)}}function _l($,I,U,Y){if(!U)Sj0($,I);I.pendingcb--,Y(),N2($,I)}function Sj0($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function xl($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,fE($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new Sl(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(fE($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}P4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};P4.prototype._writev=null;P4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)hj0(this,Y,U)};function kl($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function gj0($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),N2($,I)})}function yj0($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,k7.nextTick(gj0,$,I);else I.prefinished=!0,$.emit("prefinish")}function N2($,I){var U=kl(I);if(U){if(yj0($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function hj0($,I,U){if(I.ending=!0,N2($,I),U)if(I.finished)k7.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function xj0($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(P4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});P4.prototype.destroy=hl.destroy;P4.prototype._undestroy=hl.undestroy;P4.prototype._destroy=function($,I){this.end(),I($)}});var u7=O((iF1,nl)=>{var fl=F4(),kj0=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};nl.exports=q5;var bl=Object.create(n1());bl.inherits=p0();var il=nE(),iE=bE();bl.inherits(q5,il);{aV=kj0(iE.prototype);for(M2=0;M2<aV.length;M2++)if(A2=aV[M2],!q5.prototype[A2])q5.prototype[A2]=iE.prototype[A2]}var aV,A2,M2;function q5($){if(!(this instanceof q5))return new q5($);if(il.call(this,$),iE.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",uj0)}Object.defineProperty(q5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function uj0(){if(this.allowHalfOpen||this._writableState.ended)return;fl.nextTick(fj0,this)}function fj0($){$.end()}Object.defineProperty(q5.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=$}});q5.prototype._destroy=function($,I){this.push(null),this.end(),fl.nextTick(I,$)}});var dE=O((ej0)=>{var cE=M4().Buffer,pl=cE.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 bj0($){if(!$)return"utf8";var I;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(I)return;$=(""+$).toLowerCase(),I=!0}}function ij0($){var I=bj0($);if(typeof I!=="string"&&(cE.isEncoding===pl||!pl($)))throw Error("Unknown encoding: "+$);return I||$}ej0.StringDecoder=P2;function P2($){this.encoding=ij0($);var I;switch(this.encoding){case"utf16le":this.text=lj0,this.end=oj0,I=4;break;case"utf8":this.fillLast=cj0,I=4;break;case"base64":this.text=rj0,this.end=tj0,I=3;break;default:this.write=aj0,this.end=sj0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=cE.allocUnsafe(I)}P2.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};P2.prototype.end=mj0;P2.prototype.text=dj0;P2.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 pE($){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 nj0($,I,U){var Y=I.length-1;if(Y<U)return 0;var J=pE(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=pE(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=pE(I[Y]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function pj0($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function cj0($){var I=this.lastTotal-this.lastNeed,U=pj0(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function dj0($,I){var U=nj0(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function mj0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function lj0($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function oj0($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function rj0($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function tj0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function aj0($){return $.toString(this.encoding)}function sj0($){return $&&$.length?this.write($):""}});var nE=O((cF1,Io)=>{var AU=F4();Io.exports=l1;var I_0=OU(),T2;l1.ReadableState=tl;var pF1=r("events").EventEmitter,ll=function($,I){return $.listeners(I).length},tE=r("stream"),E2=M4().Buffer,U_0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Y_0($){return E2.from($)}function J_0($){return E2.isBuffer($)||$ instanceof U_0}var ol=Object.create(n1());ol.inherits=p0();var mE=r("util"),A1=void 0;if(mE&&mE.debuglog)A1=mE.debuglog("stream");else A1=function(){};var Q_0=vl(),rl=uE(),MU;ol.inherits(l1,tE);var lE=["error","close","destroy","pause","resume"];function K_0($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(I_0($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function tl($,I){T2=T2||u7(),$=$||{};var U=I instanceof T2;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Q_0,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(!MU)MU=dE().StringDecoder;this.decoder=new MU($.encoding),this.encoding=$.encoding}}function l1($){if(T2=T2||u7(),!(this instanceof l1))return new l1($);if(this._readableState=new tl($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}tE.call(this)}Object.defineProperty(l1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});l1.prototype.destroy=rl.destroy;l1.prototype._undestroy=rl.undestroy;l1.prototype._destroy=function($,I){this.push(null),I($)};l1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=E2.from($,I),I="";Y=!0}}else Y=!0;return al(this,$,I,!1,Y)};l1.prototype.unshift=function($){return al(this,$,null,!0,!1)};function al($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,W_0($,Q);else{var K;if(!J)K=q_0(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==E2.prototype)I=Y_0(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else oE($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)oE($,Q,I,!1);else sl($,Q);else oE($,Q,I,!1)}else if(!Y)Q.reading=!1}return G_0(Q)}function oE($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)sV($)}sl($,I)}function q_0($,I){var U;if(!J_0(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function G_0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}l1.prototype.isPaused=function(){return this._readableState.flowing===!1};l1.prototype.setEncoding=function($){if(!MU)MU=dE().StringDecoder;return this._readableState.decoder=new MU($),this._readableState.encoding=$,this};var cl=8388608;function H_0($){if($>=cl)$=cl;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function dl($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=H_0($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}l1.prototype.read=function($){A1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(A1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)rE(this);else sV(this);return null}if($=dl($,I),$===0&&I.ended){if(I.length===0)rE(this);return null}var Y=I.needReadable;if(A1("need readable",Y),I.length===0||I.length-$<I.highWaterMark)Y=!0,A1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,A1("reading or ended",Y);else if(Y){if(A1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=dl(U,I)}var J;if($>0)J=el($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)rE(this)}if(J!==null)this.emit("data",J);return J};function W_0($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,sV($)}function sV($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(A1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)AU.nextTick(ml,$);else ml($)}function ml($){A1("emit readable"),$.emit("readable"),aE($)}function sl($,I){if(!I.readingMore)I.readingMore=!0,AU.nextTick(V_0,$,I)}function V_0($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length<I.highWaterMark)if(A1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}l1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};l1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,A1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)AU.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(N,E){if(A1("onunpipe"),N===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){A1("onend"),$.end()}var G=Z_0(U);$.on("drain",G);var H=!1;function W(){if(A1("cleanup"),$.removeListener("close",w),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",z),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",z);function z(N){A1("ondata"),V=!1;var E=$.write(N);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&$o(Y.pipes,$)!==-1)&&!H)A1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(A1("onerror",N),D(),$.removeListener("error",Z),ll($,"error")===0)$.emit("error",N)}K_0($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){A1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){A1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)A1("pipe resume"),U.resume();return $};function Z_0($){return function(){var I=$._readableState;if(A1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&ll($,"data"))I.flowing=!0,aE($)}}l1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=$o(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};l1.prototype.on=function($,I){var U=tE.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)AU.nextTick(z_0,this);else if(Y.length)sV(this)}}return U};l1.prototype.addListener=l1.prototype.on;function z_0($){A1("readable nexttick read 0"),$.read(0)}l1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)A1("resume"),$.flowing=!0,X_0(this,$);return this};function X_0($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,AU.nextTick(w_0,$,I)}function w_0($,I){if(!I.reading)A1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),aE($),I.flowing&&!I.reading)$.read(0)}l1.prototype.pause=function(){if(A1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)A1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function aE($){var I=$._readableState;A1("flow",I.flowing);while(I.flowing&&$.read()!==null);}l1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(A1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(A1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<lE.length;Q++)$.on(lE[Q],this.emit.bind(this,lE[Q]));return this._read=function(K){if(A1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(l1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});l1._fromList=el;function el($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=L_0($,I.buffer,I.decoder);return U}function L_0($,I,U){var Y;if($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?D_0($,I):O_0($,I);return Y}function D_0($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function O_0($,I){var U=E2.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function rE($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,AU.nextTick(N_0,I,$)}function N_0($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function $o($,I){for(var U=0,Y=$.length;U<Y;U++)if($[U]===I)return U;return-1}});var sE=O((dF1,Jo)=>{Jo.exports=G5;var eV=u7(),Yo=Object.create(n1());Yo.inherits=p0();Yo.inherits(G5,eV);function F_0($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function G5($){if(!(this instanceof G5))return new G5($);if(eV.call(this,$),this._transformState={afterTransform:F_0.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",M_0)}function M_0(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){Uo($,I,U)});else Uo(this,null,null)}G5.prototype.push=function($,I){return this._transformState.needTransform=!1,eV.prototype.push.call(this,$,I)};G5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};G5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};G5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};G5.prototype._destroy=function($,I){var U=this;eV.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function Uo($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);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 Go=O((mF1,qo)=>{qo.exports=B2;var Qo=sE(),Ko=Object.create(n1());Ko.inherits=p0();Ko.inherits(B2,Qo);function B2($){if(!(this instanceof B2))return new B2($);Qo.call(this,$)}B2.prototype._transform=function($,I,U){U(null,$)}});var eE=O((s4,$Z)=>{var D8=r("stream");if(process.env.READABLE_STREAM==="disable"&&D8)$Z.exports=D8,s4=$Z.exports=D8.Readable,s4.Readable=D8.Readable,s4.Writable=D8.Writable,s4.Duplex=D8.Duplex,s4.Transform=D8.Transform,s4.PassThrough=D8.PassThrough,s4.Stream=D8;else s4=$Z.exports=nE(),s4.Stream=D8||s4,s4.Readable=s4,s4.Writable=bE(),s4.Duplex=u7(),s4.Transform=sE(),s4.PassThrough=Go()});var H5=O((P_0)=>{P_0.base64=!0;P_0.array=!0;P_0.string=!0;P_0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";P_0.nodebuffer=typeof Buffer<"u";P_0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")P_0.blob=!1;else{IZ=new ArrayBuffer(0);try{P_0.blob=new Blob([IZ],{type:"application/zip"}).size===0}catch($){try{IB=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,UZ=new IB,UZ.append(IZ),P_0.blob=UZ.getBlob("application/zip").size===0}catch(I){P_0.blob=!1}}}var IZ,IB,UZ;try{P_0.nodestream=!!eE().Readable}catch($){P_0.nodestream=!1}});var UB=O((S_0)=>{var j_0=H4(),__0=H5(),O8="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";S_0.encode=function($){var I=[],U,Y,J,Q,K,q,G,H=0,W=$.length,V=W,z=j_0.getTypeOf($)!=="string";while(H<$.length){if(V=W-H,!z)U=$.charCodeAt(H++),Y=H<W?$.charCodeAt(H++):0,J=H<W?$.charCodeAt(H++):0;else U=$[H++],Y=H<W?$[H++]:0,J=H<W?$[H++]:0;Q=U>>2,K=(U&3)<<4|Y>>4,q=V>1?(Y&15)<<2|J>>6:64,G=V>2?J&63:64,I.push(O8.charAt(Q)+O8.charAt(K)+O8.charAt(q)+O8.charAt(G))}return I.join("")};S_0.decode=function($){var I,U,Y,J,Q,K,q,G=0,H=0,W="data:";if($.substr(0,W.length)===W)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var V=$.length*3/4;if($.charAt($.length-1)===O8.charAt(64))V--;if($.charAt($.length-2)===O8.charAt(64))V--;if(V%1!==0)throw Error("Invalid base64 input, bad content length.");var z;if(__0.uint8array)z=new Uint8Array(V|0);else z=Array(V|0);while(G<$.length){if(J=O8.indexOf($.charAt(G++)),Q=O8.indexOf($.charAt(G++)),K=O8.indexOf($.charAt(G++)),q=O8.indexOf($.charAt(G++)),I=J<<2|Q>>4,U=(Q&15)<<4|K>>2,Y=(K&3)<<6|q,z[H++]=I,K!==64)z[H++]=U;if(q!==64)z[H++]=Y}return z}});var R2=O((rF1,Ho)=>{Ho.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,I){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,I);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,I)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var I=new Buffer($);return I.fill(0),I}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var Zo=O((aF1,Vo)=>{var tF1=global.MutationObserver||global.WebKitMutationObserver,Wo;Wo=function(){process.nextTick(f_0)};var h_0,x_0,k_0,u_0,YB,v2=[];function f_0(){YB=!0;var $,I,U=v2.length;while(U){I=v2,v2=[],$=-1;while(++$<U)I[$]();U=v2.length}YB=!1}Vo.exports=b_0;function b_0($){if(v2.push($)===1&&!YB)Wo()}});var No=O((sF1,Oo)=>{var zo=Zo();function TU(){}var X6={},Xo=["REJECTED"],JB=["FULFILLED"],wo=["PENDING"];PU=["UNHANDLED"];var PU;Oo.exports=w9;function w9($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=wo,this.queue=[],this.outcome=void 0,this.handled=PU,$!==TU)Lo(this,$)}w9.prototype.finally=function($){if(typeof $!=="function")return this;var I=this.constructor;return this.then(U,Y);function U(J){function Q(){return J}return I.resolve($()).then(Q)}function Y(J){function Q(){throw J}return I.resolve($()).then(Q)}};w9.prototype.catch=function($){return this.then(null,$)};w9.prototype.then=function($,I){if(typeof $!=="function"&&this.state===JB||typeof I!=="function"&&this.state===Xo)return this;var U=new this.constructor(TU);if(this.handled===PU)this.handled=null;if(this.state!==wo){var Y=this.state===JB?$:I;QB(U,Y,this.outcome)}else this.queue.push(new C2(U,$,I));return U};function C2($,I,U){if(this.promise=$,typeof I==="function")this.onFulfilled=I,this.callFulfilled=this.otherCallFulfilled;if(typeof U==="function")this.onRejected=U,this.callRejected=this.otherCallRejected}C2.prototype.callFulfilled=function($){X6.resolve(this.promise,$)};C2.prototype.otherCallFulfilled=function($){QB(this.promise,this.onFulfilled,$)};C2.prototype.callRejected=function($){X6.reject(this.promise,$)};C2.prototype.otherCallRejected=function($){QB(this.promise,this.onRejected,$)};function QB($,I,U){zo(function(){var Y;try{Y=I(U)}catch(J){return X6.reject($,J)}if(Y===$)X6.reject($,TypeError("Cannot resolve promise with itself"));else X6.resolve($,Y)})}X6.resolve=function($,I){var U=Do(i_0,I);if(U.status==="error")return X6.reject($,U.value);var Y=U.value;if(Y)Lo($,Y);else{$.state=JB,$.outcome=I;var J=-1,Q=$.queue.length;while(++J<Q)$.queue[J].callFulfilled(I)}return $};X6.reject=function($,I){if($.state=Xo,$.outcome=I,$.handled===PU)zo(function(){if($.handled===PU)process.emit("unhandledRejection",I,$)});var U=-1,Y=$.queue.length;while(++U<Y)$.queue[U].callRejected(I);return $};function i_0($){var I=$&&$.then;if($&&(typeof $==="object"||typeof $==="function")&&typeof I==="function")return function(){I.apply($,arguments)}}function Lo($,I){var U=!1;function Y(q){if(U)return;U=!0,X6.reject($,q)}function J(q){if(U)return;U=!0,X6.resolve($,q)}function Q(){I(J,Y)}var K=Do(Q);if(K.status==="error")Y(K.value)}function Do($,I){var U={};try{U.value=$(I),U.status="success"}catch(Y){U.status="error",U.value=Y}return U}w9.resolve=n_0;function n_0($){if($ instanceof this)return $;return X6.resolve(new this(TU),$)}w9.reject=p_0;function p_0($){var I=new this(TU);return X6.reject(I,$)}w9.all=c_0;function c_0($){var I=this;if(Object.prototype.toString.call($)!=="[object Array]")return this.reject(TypeError("must be an array"));var U=$.length,Y=!1;if(!U)return this.resolve([]);var J=Array(U),Q=0,K=-1,q=new this(TU);while(++K<U)G($[K],K);return q;function G(H,W){I.resolve(H).then(V,function(z){if(!Y)Y=!0,X6.reject(q,z)});function V(z){if(J[W]=z,++Q===U&&!Y)Y=!0,X6.resolve(q,J)}}}w9.race=d_0;function d_0($){var I=this;if(Object.prototype.toString.call($)!=="[object Array]")return this.reject(TypeError("must be an array"));var U=$.length,Y=!1;if(!U)return this.resolve([]);var J=-1,Q=new this(TU);while(++J<U)K($[J]);return Q;function K(q){I.resolve(q).then(function(G){if(!Y)Y=!0,X6.resolve(Q,G)},function(G){if(!Y)Y=!0,X6.reject(Q,G)})}}});var EU=O((eF1,Fo)=>{var KB=null;if(typeof Promise<"u")KB=Promise;else KB=No();Fo.exports={Promise:KB}});var qB=O((Mo)=>{(function($,I){if($.setImmediate)return;var U=1,Y={},J=!1,Q=$.document,K;function q(E){if(typeof E!=="function")E=Function(""+E);var T=Array(arguments.length-1);for(var A=0;A<T.length;A++)T[A]=arguments[A+1];var v={callback:E,args:T};return Y[U]=v,K(U),U++}function G(E){delete Y[E]}function H(E){var{callback:T,args:A}=E;switch(A.length){case 0:T();break;case 1:T(A[0]);break;case 2:T(A[0],A[1]);break;case 3:T(A[0],A[1],A[2]);break;default:T.apply(I,A);break}}function W(E){if(J)setTimeout(W,0,E);else{var T=Y[E];if(T){J=!0;try{H(T)}finally{G(E),J=!1}}}}function V(){K=function(E){process.nextTick(function(){W(E)})}}function z(){if($.postMessage&&!$.importScripts){var E=!0,T=$.onmessage;return $.onmessage=function(){E=!1},$.postMessage("","*"),$.onmessage=T,E}}function Z(){var E="setImmediate$"+Math.random()+"$",T=function(A){if(A.source===$&&typeof A.data==="string"&&A.data.indexOf(E)===0)W(+A.data.slice(E.length))};if($.addEventListener)$.addEventListener("message",T,!1);else $.attachEvent("onmessage",T);K=function(A){$.postMessage(E+A,"*")}}function w(){var E=new MessageChannel;E.port1.onmessage=function(T){var A=T.data;W(A)},K=function(T){E.port2.postMessage(T)}}function L(){var E=Q.documentElement;K=function(T){var A=Q.createElement("script");A.onreadystatechange=function(){W(T),A.onreadystatechange=null,E.removeChild(A),A=null},E.appendChild(A)}}function D(){K=function(E){setTimeout(W,0,E)}}var N=Object.getPrototypeOf&&Object.getPrototypeOf($);if(N=N&&N.setTimeout?N:$,{}.toString.call($.process)==="[object process]")V();else if(z())Z();else if($.MessageChannel)w();else if(Q&&"onreadystatechange"in Q.createElement("script"))L();else D();N.setImmediate=q,N.clearImmediate=G})(typeof self>"u"?typeof global>"u"?Mo:global:self)});var H4=O((o_0)=>{var L9=H5(),m_0=UB(),BU=R2(),GB=EU();qB();function l_0($){var I=null;if(L9.uint8array)I=new Uint8Array($.length);else I=Array($.length);return JZ($,I)}o_0.newBlob=function($,I){o_0.checkSupport("blob");try{return new Blob([$],{type:I})}catch(J){try{var U=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,Y=new U;return Y.append($),Y.getBlob(I)}catch(Q){throw Error("Bug : can't construct the Blob.")}}};function j2($){return $}function JZ($,I){for(var U=0;U<$.length;++U)I[U]=$.charCodeAt(U)&255;return I}var YZ={stringifyByChunk:function($,I,U){var Y=[],J=0,Q=$.length;if(Q<=U)return String.fromCharCode.apply(null,$);while(J<Q){if(I==="array"||I==="nodebuffer")Y.push(String.fromCharCode.apply(null,$.slice(J,Math.min(J+U,Q))));else Y.push(String.fromCharCode.apply(null,$.subarray(J,Math.min(J+U,Q))));J+=U}return Y.join("")},stringifyByChar:function($){var I="";for(var U=0;U<$.length;U++)I+=String.fromCharCode($[U]);return I},applyCanBeUsed:{uint8array:function(){try{return L9.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch($){return!1}}(),nodebuffer:function(){try{return L9.nodebuffer&&String.fromCharCode.apply(null,BU.allocBuffer(1)).length===1}catch($){return!1}}()}};function _2($){var I=65536,U=o_0.getTypeOf($),Y=!0;if(U==="uint8array")Y=YZ.applyCanBeUsed.uint8array;else if(U==="nodebuffer")Y=YZ.applyCanBeUsed.nodebuffer;if(Y)while(I>1)try{return YZ.stringifyByChunk($,U,I)}catch(J){I=Math.floor(I/2)}return YZ.stringifyByChar($)}o_0.applyFromCharCode=_2;function QZ($,I){for(var U=0;U<$.length;U++)I[U]=$[U];return I}var D9={};D9.string={string:j2,array:function($){return JZ($,Array($.length))},arraybuffer:function($){return D9.string.uint8array($).buffer},uint8array:function($){return JZ($,new Uint8Array($.length))},nodebuffer:function($){return JZ($,BU.allocBuffer($.length))}};D9.array={string:_2,array:j2,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return BU.newBufferFrom($)}};D9.arraybuffer={string:function($){return _2(new Uint8Array($))},array:function($){return QZ(new Uint8Array($),Array($.byteLength))},arraybuffer:j2,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return BU.newBufferFrom(new Uint8Array($))}};D9.uint8array={string:_2,array:function($){return QZ($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:j2,nodebuffer:function($){return BU.newBufferFrom($)}};D9.nodebuffer={string:_2,array:function($){return QZ($,Array($.length))},arraybuffer:function($){return D9.nodebuffer.uint8array($).buffer},uint8array:function($){return QZ($,new Uint8Array($.length))},nodebuffer:j2};o_0.transformTo=function($,I){if(!I)I="";if(!$)return I;o_0.checkSupport($);var U=o_0.getTypeOf(I),Y=D9[U][$](I);return Y};o_0.resolve=function($){var I=$.split("/"),U=[];for(var Y=0;Y<I.length;Y++){var J=I[Y];if(J==="."||J===""&&Y!==0&&Y!==I.length-1)continue;else if(J==="..")U.pop();else U.push(J)}return U.join("/")};o_0.getTypeOf=function($){if(typeof $==="string")return"string";if(Object.prototype.toString.call($)==="[object Array]")return"array";if(L9.nodebuffer&&BU.isBuffer($))return"nodebuffer";if(L9.uint8array&&$ instanceof Uint8Array)return"uint8array";if(L9.arraybuffer&&$ instanceof ArrayBuffer)return"arraybuffer"};o_0.checkSupport=function($){var I=L9[$.toLowerCase()];if(!I)throw Error($+" is not supported by this platform")};o_0.MAX_VALUE_16BITS=65535;o_0.MAX_VALUE_32BITS=-1;o_0.pretty=function($){var I="",U,Y;for(Y=0;Y<($||"").length;Y++)U=$.charCodeAt(Y),I+="\\x"+(U<16?"0":"")+U.toString(16).toUpperCase();return I};o_0.delay=function($,I,U){setImmediate(function(){$.apply(U||null,I||[])})};o_0.inherits=function($,I){var U=function(){};U.prototype=I.prototype,$.prototype=new U};o_0.extend=function(){var $={},I,U;for(I=0;I<arguments.length;I++)for(U in arguments[I])if(Object.prototype.hasOwnProperty.call(arguments[I],U)&&typeof $[U]>"u")$[U]=arguments[I][U];return $};o_0.prepareContent=function($,I,U,Y,J){var Q=GB.Promise.resolve(I).then(function(K){var q=L9.blob&&(K instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(K))!==-1);if(q&&typeof FileReader<"u")return new GB.Promise(function(G,H){var W=new FileReader;W.onload=function(V){G(V.target.result)},W.onerror=function(V){H(V.target.error)},W.readAsArrayBuffer(K)});else return K});return Q.then(function(K){var q=o_0.getTypeOf(K);if(!q)return GB.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(q==="arraybuffer")K=o_0.transformTo("uint8array",K);else if(q==="string"){if(J)K=m_0.decode(K);else if(U){if(Y!==!0)K=l_0(K)}}return K})}});var U$=O((UM1,Eo)=>{function To($){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}To.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($,I){return this._listeners[$].push(I),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,I){if(this._listeners[$])for(var U=0;U<this._listeners[$].length;U++)this._listeners[$][U].call(this,I)},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 I=this;return $.on("data",function(U){I.processChunk(U)}),$.on("end",function(){I.end()}),$.on("error",function(U){I.error(U)}),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($,I){return this.extraStreamInfo[$]=I,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 $}};Eo.exports=To});var vU=O((HS0)=>{var RU=H4(),f7=H5(),QS0=R2(),KZ=U$(),S2=Array(256);for(N8=0;N8<256;N8++)S2[N8]=N8>=252?6:N8>=248?5:N8>=240?4:N8>=224?3:N8>=192?2:1;var N8;S2[254]=S2[254]=1;var KS0=function($){var I,U,Y,J,Q,K=$.length,q=0;for(J=0;J<K;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}q+=U<128?1:U<2048?2:U<65536?3:4}if(f7.uint8array)I=new Uint8Array(q);else I=Array(q);for(Q=0,J=0;Q<q;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}if(U<128)I[Q++]=U;else if(U<2048)I[Q++]=192|U>>>6,I[Q++]=128|U&63;else if(U<65536)I[Q++]=224|U>>>12,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63;else I[Q++]=240|U>>>18,I[Q++]=128|U>>>12&63,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63}return I},qS0=function($,I){var U;if(I=I||$.length,I>$.length)I=$.length;U=I-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return I;if(U===0)return I;return U+S2[$[U]]>I?U:I},GS0=function($){var I,U,Y,J,Q=$.length,K=Array(Q*2);for(U=0,I=0;I<Q;){if(Y=$[I++],Y<128){K[U++]=Y;continue}if(J=S2[Y],J>4){K[U++]=65533,I+=J-1;continue}Y&=J===2?31:J===3?15:7;while(J>1&&I<Q)Y=Y<<6|$[I++]&63,J--;if(J>1){K[U++]=65533;continue}if(Y<65536)K[U++]=Y;else Y-=65536,K[U++]=55296|Y>>10&1023,K[U++]=56320|Y&1023}if(K.length!==U)if(K.subarray)K=K.subarray(0,U);else K.length=U;return RU.applyFromCharCode(K)};HS0.utf8encode=function(I){if(f7.nodebuffer)return QS0.newBufferFrom(I,"utf-8");return KS0(I)};HS0.utf8decode=function(I){if(f7.nodebuffer)return RU.transformTo("nodebuffer",I).toString("utf-8");return I=RU.transformTo(f7.uint8array?"uint8array":"array",I),GS0(I)};function qZ(){KZ.call(this,"utf-8 decode"),this.leftOver=null}RU.inherits(qZ,KZ);qZ.prototype.processChunk=function($){var I=RU.transformTo(f7.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(f7.uint8array){var U=I;I=new Uint8Array(U.length+this.leftOver.length),I.set(this.leftOver,0),I.set(U,this.leftOver.length)}else I=this.leftOver.concat(I);this.leftOver=null}var Y=qS0(I),J=I;if(Y!==I.length)if(f7.uint8array)J=I.subarray(0,Y),this.leftOver=I.subarray(Y,I.length);else J=I.slice(0,Y),this.leftOver=I.slice(Y,I.length);this.push({data:HS0.utf8decode(J),meta:$.meta})};qZ.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:HS0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};HS0.Utf8DecodeWorker=qZ;function WB(){KZ.call(this,"utf-8 encode")}RU.inherits(WB,KZ);WB.prototype.processChunk=function($){this.push({data:HS0.utf8encode($.data),meta:$.meta})};HS0.Utf8EncodeWorker=WB});var jo=O((JM1,Co)=>{var Ro=U$(),vo=H4();function ZB($){Ro.call(this,"ConvertWorker to "+$),this.destType=$}vo.inherits(ZB,Ro);ZB.prototype.processChunk=function($){this.push({data:vo.transformTo(this.destType,$.data),meta:$.meta})};Co.exports=ZB});var go=O((QM1,So)=>{var _o=eE().Readable,ZS0=H4();ZS0.inherits(zB,_o);function zB($,I,U){_o.call(this,I),this._helper=$;var Y=this;$.on("data",function(J,Q){if(!Y.push(J))Y._helper.pause();if(U)U(Q)}).on("error",function(J){Y.emit("error",J)}).on("end",function(){Y.push(null)})}zB.prototype._read=function(){this._helper.resume()};So.exports=zB});var XB=O((KM1,xo)=>{var b7=H4(),zS0=jo(),XS0=U$(),wS0=UB(),LS0=H5(),DS0=EU(),yo=null;if(LS0.nodestream)try{yo=go()}catch($){}function OS0($,I,U){switch($){case"blob":return b7.newBlob(b7.transformTo("arraybuffer",I),U);case"base64":return wS0.encode(I);default:return b7.transformTo($,I)}}function NS0($,I){var U,Y=0,J=null,Q=0;for(U=0;U<I.length;U++)Q+=I[U].length;switch($){case"string":return I.join("");case"array":return Array.prototype.concat.apply([],I);case"uint8array":J=new Uint8Array(Q);for(U=0;U<I.length;U++)J.set(I[U],Y),Y+=I[U].length;return J;case"nodebuffer":return Buffer.concat(I);default:throw Error("concat : unsupported type '"+$+"'")}}function FS0($,I){return new DS0.Promise(function(U,Y){var J=[],Q=$._internalType,K=$._outputType,q=$._mimeType;$.on("data",function(G,H){if(J.push(G),I)I(H)}).on("error",function(G){J=[],Y(G)}).on("end",function(){try{var G=OS0(K,NS0(Q,J),q);U(G)}catch(H){Y(H)}J=[]}).resume()})}function ho($,I,U){var Y=I;switch(I){case"blob":case"arraybuffer":Y="uint8array";break;case"base64":Y="string";break}try{this._internalType=Y,this._outputType=I,this._mimeType=U,b7.checkSupport(Y),this._worker=$.pipe(new zS0(Y)),$.lock()}catch(J){this._worker=new XS0("error"),this._worker.error(J)}}ho.prototype={accumulate:function($){return FS0(this,$)},on:function($,I){var U=this;if($==="data")this._worker.on($,function(Y){I.call(U,Y.data,Y.meta)});else this._worker.on($,function(){b7.delay(I,arguments,U)});return this},resume:function(){return b7.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function($){if(b7.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw Error(this._outputType+" is not supported by this method");return new yo(this,{objectMode:this._outputType!=="nodebuffer"},$)}};xo.exports=ho});var wB=O((MS0)=>{MS0.base64=!1;MS0.binary=!1;MS0.dir=!1;MS0.createFolders=!0;MS0.date=null;MS0.compression=null;MS0.compressionOptions=null;MS0.comment=null;MS0.unixPermissions=null;MS0.dosPermissions=null});var LB=O((GM1,ko)=>{var GZ=H4(),HZ=U$(),SS0=16384;function CU($){HZ.call(this,"DataWorker");var I=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(U){if(I.dataIsReady=!0,I.data=U,I.max=U&&U.length||0,I.type=GZ.getTypeOf(U),!I.isPaused)I._tickAndRepeat()},function(U){I.error(U)})}GZ.inherits(CU,HZ);CU.prototype.cleanUp=function(){HZ.prototype.cleanUp.call(this),this.data=null};CU.prototype.resume=function(){if(!HZ.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,GZ.delay(this._tickAndRepeat,[],this);return!0};CU.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)GZ.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};CU.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=SS0,I=null,U=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":I=this.data.substring(this.index,U);break;case"uint8array":I=this.data.subarray(this.index,U);break;case"array":case"nodebuffer":I=this.data.slice(this.index,U);break}return this.index=U,this.push({data:I,meta:{percent:this.max?this.index/this.max*100:0}})}};ko.exports=CU});var WZ=O((HM1,fo)=>{var gS0=H4();function yS0(){var $,I=[];for(var U=0;U<256;U++){$=U;for(var Y=0;Y<8;Y++)$=$&1?3988292384^$>>>1:$>>>1;I[U]=$}return I}var uo=yS0();function hS0($,I,U,Y){var J=uo,Q=Y+U;$=$^-1;for(var K=Y;K<Q;K++)$=$>>>8^J[($^I[K])&255];return $^-1}function xS0($,I,U,Y){var J=uo,Q=Y+U;$=$^-1;for(var K=Y;K<Q;K++)$=$>>>8^J[($^I.charCodeAt(K))&255];return $^-1}fo.exports=function(I,U){if(typeof I>"u"||!I.length)return 0;var Y=gS0.getTypeOf(I)!=="string";if(Y)return hS0(U|0,I,I.length,0);else return xS0(U|0,I,I.length,0)}});var OB=O((WM1,io)=>{var bo=U$(),kS0=WZ(),uS0=H4();function DB(){bo.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}uS0.inherits(DB,bo);DB.prototype.processChunk=function($){this.streamInfo.crc32=kS0($.data,this.streamInfo.crc32||0),this.push($)};io.exports=DB});var po=O((VM1,no)=>{var fS0=H4(),NB=U$();function FB($){NB.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}fS0.inherits(FB,NB);FB.prototype.processChunk=function($){if($){var I=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=I+$.data.length}NB.prototype.processChunk.call(this,$)};no.exports=FB});var VZ=O((ZM1,lo)=>{var co=EU(),mo=LB(),bS0=OB(),MB=po();function AB($,I,U,Y,J){this.compressedSize=$,this.uncompressedSize=I,this.crc32=U,this.compression=Y,this.compressedContent=J}AB.prototype={getContentWorker:function(){var $=new mo(co.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new MB("data_length")),I=this;return $.on("end",function(){if(this.streamInfo.data_length!==I.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new mo(co.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};AB.createWorkerFrom=function($,I,U){return $.pipe(new bS0).pipe(new MB("uncompressedSize")).pipe(I.compressWorker(U)).pipe(new MB("compressedSize")).withStreamInfo("compression",I)};lo.exports=AB});var ao=O((zM1,to)=>{var iS0=XB(),nS0=LB(),PB=vU(),TB=VZ(),oo=U$(),EB=function($,I,U){this.name=$,this.dir=U.dir,this.date=U.date,this.comment=U.comment,this.unixPermissions=U.unixPermissions,this.dosPermissions=U.dosPermissions,this._data=I,this._dataBinary=U.binary,this.options={compression:U.compression,compressionOptions:U.compressionOptions}};EB.prototype={internalStream:function($){var I=null,U="string";try{if(!$)throw Error("No output type specified.");U=$.toLowerCase();var Y=U==="string"||U==="text";if(U==="binarystring"||U==="text")U="string";I=this._decompressWorker();var J=!this._dataBinary;if(J&&!Y)I=I.pipe(new PB.Utf8EncodeWorker);if(!J&&Y)I=I.pipe(new PB.Utf8DecodeWorker)}catch(Q){I=new oo("error"),I.error(Q)}return new iS0(I,U,"")},async:function($,I){return this.internalStream($).accumulate(I)},nodeStream:function($,I){return this.internalStream($||"nodebuffer").toNodejsStream(I)},_compressWorker:function($,I){if(this._data instanceof TB&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var U=this._decompressWorker();if(!this._dataBinary)U=U.pipe(new PB.Utf8EncodeWorker);return TB.createWorkerFrom(U,$,I)}},_decompressWorker:function(){if(this._data instanceof TB)return this._data.getContentWorker();else if(this._data instanceof oo)return this._data;else return new nS0(this._data)}};var ro=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],pS0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(g2=0;g2<ro.length;g2++)EB.prototype[ro[g2]]=pS0;var g2;to.exports=EB});var W5=O((BB)=>{var lS0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function oS0($,I){return Object.prototype.hasOwnProperty.call($,I)}BB.assign=function($){var I=Array.prototype.slice.call(arguments,1);while(I.length){var U=I.shift();if(!U)continue;if(typeof U!=="object")throw TypeError(U+"must be non-object");for(var Y in U)if(oS0(U,Y))$[Y]=U[Y]}return $};BB.shrinkBuf=function($,I){if($.length===I)return $;if($.subarray)return $.subarray(0,I);return $.length=I,$};var rS0={arraySet:function($,I,U,Y,J){if(I.subarray&&$.subarray){$.set(I.subarray(U,U+Y),J);return}for(var Q=0;Q<Y;Q++)$[J+Q]=I[U+Q]},flattenChunks:function($){var I,U,Y,J,Q,K;Y=0;for(I=0,U=$.length;I<U;I++)Y+=$[I].length;K=new Uint8Array(Y),J=0;for(I=0,U=$.length;I<U;I++)Q=$[I],K.set(Q,J),J+=Q.length;return K}},tS0={arraySet:function($,I,U,Y,J){for(var Q=0;Q<Y;Q++)$[J+Q]=I[U+Q]},flattenChunks:function($){return[].concat.apply([],$)}};BB.setTyped=function($){if($)BB.Buf8=Uint8Array,BB.Buf16=Uint16Array,BB.Buf32=Int32Array,BB.assign(BB,rS0);else BB.Buf8=Array,BB.Buf16=Array,BB.Buf32=Array,BB.assign(BB,tS0)};BB.setTyped(lS0)});var Mr=O((Ng0)=>{var sS0=W5(),eS0=4,eo=0,$r=1,$g0=2;function _U($){var I=$.length;while(--I>=0)$[I]=0}var Ig0=0,Kr=1,Ug0=2,Yg0=3,Jg0=258,yB=29,f2=256,h2=f2+1+yB,jU=30,hB=19,qr=2*h2+1,i7=15,vB=16,Qg0=7,xB=256,Gr=16,Hr=17,Wr=18,SB=[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],ZZ=[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],Kg0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Vr=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],qg0=512,V5=Array((h2+2)*2);_U(V5);var y2=Array(jU*2);_U(y2);var x2=Array(qg0);_U(x2);var k2=Array(Jg0-Yg0+1);_U(k2);var kB=Array(yB);_U(kB);var zZ=Array(jU);_U(zZ);function CB($,I,U,Y,J){this.static_tree=$,this.extra_bits=I,this.extra_base=U,this.elems=Y,this.max_length=J,this.has_stree=$&&$.length}var Zr,zr,Xr;function jB($,I){this.dyn_tree=$,this.max_code=0,this.stat_desc=I}function wr($){return $<256?x2[$]:x2[256+($>>>7)]}function u2($,I){$.pending_buf[$.pending++]=I&255,$.pending_buf[$.pending++]=I>>>8&255}function n6($,I,U){if($.bi_valid>vB-U)$.bi_buf|=I<<$.bi_valid&65535,u2($,$.bi_buf),$.bi_buf=I>>vB-$.bi_valid,$.bi_valid+=U-vB;else $.bi_buf|=I<<$.bi_valid&65535,$.bi_valid+=U}function F8($,I,U){n6($,U[I*2],U[I*2+1])}function Lr($,I){var U=0;do U|=$&1,$>>>=1,U<<=1;while(--I>0);return U>>>1}function Gg0($){if($.bi_valid===16)u2($,$.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 Hg0($,I){var{dyn_tree:U,max_code:Y}=I,J=I.stat_desc.static_tree,Q=I.stat_desc.has_stree,K=I.stat_desc.extra_bits,q=I.stat_desc.extra_base,G=I.stat_desc.max_length,H,W,V,z,Z,w,L=0;for(z=0;z<=i7;z++)$.bl_count[z]=0;U[$.heap[$.heap_max]*2+1]=0;for(H=$.heap_max+1;H<qr;H++){if(W=$.heap[H],z=U[U[W*2+1]*2+1]+1,z>G)z=G,L++;if(U[W*2+1]=z,W>Y)continue;if($.bl_count[z]++,Z=0,W>=q)Z=K[W-q];if(w=U[W*2],$.opt_len+=w*(z+Z),Q)$.static_len+=w*(J[W*2+1]+Z)}if(L===0)return;do{z=G-1;while($.bl_count[z]===0)z--;$.bl_count[z]--,$.bl_count[z+1]+=2,$.bl_count[G]--,L-=2}while(L>0);for(z=G;z!==0;z--){W=$.bl_count[z];while(W!==0){if(V=$.heap[--H],V>Y)continue;if(U[V*2+1]!==z)$.opt_len+=(z-U[V*2+1])*U[V*2],U[V*2+1]=z;W--}}}function Dr($,I,U){var Y=Array(i7+1),J=0,Q,K;for(Q=1;Q<=i7;Q++)Y[Q]=J=J+U[Q-1]<<1;for(K=0;K<=I;K++){var q=$[K*2+1];if(q===0)continue;$[K*2]=Lr(Y[q]++,q)}}function Wg0(){var $,I,U,Y,J,Q=Array(i7+1);U=0;for(Y=0;Y<yB-1;Y++){kB[Y]=U;for($=0;$<1<<SB[Y];$++)k2[U++]=Y}k2[U-1]=Y,J=0;for(Y=0;Y<16;Y++){zZ[Y]=J;for($=0;$<1<<ZZ[Y];$++)x2[J++]=Y}J>>=7;for(;Y<jU;Y++){zZ[Y]=J<<7;for($=0;$<1<<ZZ[Y]-7;$++)x2[256+J++]=Y}for(I=0;I<=i7;I++)Q[I]=0;$=0;while($<=143)V5[$*2+1]=8,$++,Q[8]++;while($<=255)V5[$*2+1]=9,$++,Q[9]++;while($<=279)V5[$*2+1]=7,$++,Q[7]++;while($<=287)V5[$*2+1]=8,$++,Q[8]++;Dr(V5,h2+1,Q);for($=0;$<jU;$++)y2[$*2+1]=5,y2[$*2]=Lr($,5);Zr=new CB(V5,SB,f2+1,h2,i7),zr=new CB(y2,ZZ,0,jU,i7),Xr=new CB([],Kg0,0,hB,Qg0)}function Or($){var I;for(I=0;I<h2;I++)$.dyn_ltree[I*2]=0;for(I=0;I<jU;I++)$.dyn_dtree[I*2]=0;for(I=0;I<hB;I++)$.bl_tree[I*2]=0;$.dyn_ltree[xB*2]=1,$.opt_len=$.static_len=0,$.last_lit=$.matches=0}function Nr($){if($.bi_valid>8)u2($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function Vg0($,I,U,Y){if(Nr($),Y)u2($,U),u2($,~U);sS0.arraySet($.pending_buf,$.window,I,U,$.pending),$.pending+=U}function Ir($,I,U,Y){var J=I*2,Q=U*2;return $[J]<$[Q]||$[J]===$[Q]&&Y[I]<=Y[U]}function _B($,I,U){var Y=$.heap[U],J=U<<1;while(J<=$.heap_len){if(J<$.heap_len&&Ir(I,$.heap[J+1],$.heap[J],$.depth))J++;if(Ir(I,Y,$.heap[J],$.depth))break;$.heap[U]=$.heap[J],U=J,J<<=1}$.heap[U]=Y}function Ur($,I,U){var Y,J,Q=0,K,q;if($.last_lit!==0)do if(Y=$.pending_buf[$.d_buf+Q*2]<<8|$.pending_buf[$.d_buf+Q*2+1],J=$.pending_buf[$.l_buf+Q],Q++,Y===0)F8($,J,I);else{if(K=k2[J],F8($,K+f2+1,I),q=SB[K],q!==0)J-=kB[K],n6($,J,q);if(Y--,K=wr(Y),F8($,K,U),q=ZZ[K],q!==0)Y-=zZ[K],n6($,Y,q)}while(Q<$.last_lit);F8($,xB,I)}function gB($,I){var U=I.dyn_tree,Y=I.stat_desc.static_tree,J=I.stat_desc.has_stree,Q=I.stat_desc.elems,K,q,G=-1,H;$.heap_len=0,$.heap_max=qr;for(K=0;K<Q;K++)if(U[K*2]!==0)$.heap[++$.heap_len]=G=K,$.depth[K]=0;else U[K*2+1]=0;while($.heap_len<2)if(H=$.heap[++$.heap_len]=G<2?++G:0,U[H*2]=1,$.depth[H]=0,$.opt_len--,J)$.static_len-=Y[H*2+1];I.max_code=G;for(K=$.heap_len>>1;K>=1;K--)_B($,U,K);H=Q;do K=$.heap[1],$.heap[1]=$.heap[$.heap_len--],_B($,U,1),q=$.heap[1],$.heap[--$.heap_max]=K,$.heap[--$.heap_max]=q,U[H*2]=U[K*2]+U[q*2],$.depth[H]=($.depth[K]>=$.depth[q]?$.depth[K]:$.depth[q])+1,U[K*2+1]=U[q*2+1]=H,$.heap[1]=H++,_B($,U,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],Hg0($,I),Dr(U,G,$.bl_count)}function Yr($,I,U){var Y,J=-1,Q,K=I[1],q=0,G=7,H=4;if(K===0)G=138,H=3;I[(U+1)*2+1]=65535;for(Y=0;Y<=U;Y++){if(Q=K,K=I[(Y+1)*2+1],++q<G&&Q===K)continue;else if(q<H)$.bl_tree[Q*2]+=q;else if(Q!==0){if(Q!==J)$.bl_tree[Q*2]++;$.bl_tree[Gr*2]++}else if(q<=10)$.bl_tree[Hr*2]++;else $.bl_tree[Wr*2]++;if(q=0,J=Q,K===0)G=138,H=3;else if(Q===K)G=6,H=3;else G=7,H=4}}function Jr($,I,U){var Y,J=-1,Q,K=I[1],q=0,G=7,H=4;if(K===0)G=138,H=3;for(Y=0;Y<=U;Y++){if(Q=K,K=I[(Y+1)*2+1],++q<G&&Q===K)continue;else if(q<H)do F8($,Q,$.bl_tree);while(--q!==0);else if(Q!==0){if(Q!==J)F8($,Q,$.bl_tree),q--;F8($,Gr,$.bl_tree),n6($,q-3,2)}else if(q<=10)F8($,Hr,$.bl_tree),n6($,q-3,3);else F8($,Wr,$.bl_tree),n6($,q-11,7);if(q=0,J=Q,K===0)G=138,H=3;else if(Q===K)G=6,H=3;else G=7,H=4}}function Zg0($){var I;Yr($,$.dyn_ltree,$.l_desc.max_code),Yr($,$.dyn_dtree,$.d_desc.max_code),gB($,$.bl_desc);for(I=hB-1;I>=3;I--)if($.bl_tree[Vr[I]*2+1]!==0)break;return $.opt_len+=3*(I+1)+5+5+4,I}function zg0($,I,U,Y){var J;n6($,I-257,5),n6($,U-1,5),n6($,Y-4,4);for(J=0;J<Y;J++)n6($,$.bl_tree[Vr[J]*2+1],3);Jr($,$.dyn_ltree,I-1),Jr($,$.dyn_dtree,U-1)}function Xg0($){var I=4093624447,U;for(U=0;U<=31;U++,I>>>=1)if(I&1&&$.dyn_ltree[U*2]!==0)return eo;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return $r;for(U=32;U<f2;U++)if($.dyn_ltree[U*2]!==0)return $r;return eo}var Qr=!1;function wg0($){if(!Qr)Wg0(),Qr=!0;$.l_desc=new jB($.dyn_ltree,Zr),$.d_desc=new jB($.dyn_dtree,zr),$.bl_desc=new jB($.bl_tree,Xr),$.bi_buf=0,$.bi_valid=0,Or($)}function Fr($,I,U,Y){n6($,(Ig0<<1)+(Y?1:0),3),Vg0($,I,U,!0)}function Lg0($){n6($,Kr<<1,3),F8($,xB,V5),Gg0($)}function Dg0($,I,U,Y){var J,Q,K=0;if($.level>0){if($.strm.data_type===$g0)$.strm.data_type=Xg0($);if(gB($,$.l_desc),gB($,$.d_desc),K=Zg0($),J=$.opt_len+3+7>>>3,Q=$.static_len+3+7>>>3,Q<=J)J=Q}else J=Q=U+5;if(U+4<=J&&I!==-1)Fr($,I,U,Y);else if($.strategy===eS0||Q===J)n6($,(Kr<<1)+(Y?1:0),3),Ur($,V5,y2);else n6($,(Ug0<<1)+(Y?1:0),3),zg0($,$.l_desc.max_code+1,$.d_desc.max_code+1,K+1),Ur($,$.dyn_ltree,$.dyn_dtree);if(Or($),Y)Nr($)}function Og0($,I,U){if($.pending_buf[$.d_buf+$.last_lit*2]=I>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=I&255,$.pending_buf[$.l_buf+$.last_lit]=U&255,$.last_lit++,I===0)$.dyn_ltree[U*2]++;else $.matches++,I--,$.dyn_ltree[(k2[U]+f2+1)*2]++,$.dyn_dtree[wr(I)*2]++;return $.last_lit===$.lit_bufsize-1}Ng0._tr_init=wg0;Ng0._tr_stored_block=Fr;Ng0._tr_flush_block=Dg0;Ng0._tr_tally=Og0;Ng0._tr_align=Lg0});var uB=O((LM1,Ar)=>{function Eg0($,I,U,Y){var J=$&65535|0,Q=$>>>16&65535|0,K=0;while(U!==0){K=U>2000?2000:U,U-=K;do J=J+I[Y++]|0,Q=Q+J|0;while(--K);J%=65521,Q%=65521}return J|Q<<16|0}Ar.exports=Eg0});var fB=O((DM1,Pr)=>{function Bg0(){var $,I=[];for(var U=0;U<256;U++){$=U;for(var Y=0;Y<8;Y++)$=$&1?3988292384^$>>>1:$>>>1;I[U]=$}return I}var Rg0=Bg0();function vg0($,I,U,Y){var J=Rg0,Q=Y+U;$^=-1;for(var K=Y;K<Q;K++)$=$>>>8^J[($^I[K])&255];return $^-1}Pr.exports=vg0});var XZ=O((OM1,Tr)=>{Tr.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 gr=O((qy0)=>{var R6=W5(),M$=Mr(),vr=uB(),O9=fB(),Cg0=XZ(),d7=0,jg0=1,_g0=3,P9=4,Er=5,A8=0,Br=1,A$=-2,Sg0=-3,bB=-5,gg0=-1,yg0=1,wZ=2,hg0=3,xg0=4,kg0=0,ug0=2,NZ=8,fg0=9,bg0=15,ig0=8,ng0=29,pg0=256,nB=pg0+1+ng0,cg0=30,dg0=19,mg0=2*nB+1,lg0=15,q1=3,M9=258,r$=M9+q1+1,og0=32,FZ=42,pB=69,LZ=73,DZ=91,OZ=103,n7=113,i2=666,S4=1,n2=2,p7=3,yU=4,rg0=3;function A9($,I){return $.msg=Cg0[I],I}function Rr($){return($<<1)-($>4?9:0)}function F9($){var I=$.length;while(--I>=0)$[I]=0}function N9($){var I=$.state,U=I.pending;if(U>$.avail_out)U=$.avail_out;if(U===0)return;if(R6.arraySet($.output,I.pending_buf,I.pending_out,U,$.next_out),$.next_out+=U,I.pending_out+=U,$.total_out+=U,$.avail_out-=U,I.pending-=U,I.pending===0)I.pending_out=0}function e4($,I){M$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,I),$.block_start=$.strstart,N9($.strm)}function N1($,I){$.pending_buf[$.pending++]=I}function b2($,I){$.pending_buf[$.pending++]=I>>>8&255,$.pending_buf[$.pending++]=I&255}function tg0($,I,U,Y){var J=$.avail_in;if(J>Y)J=Y;if(J===0)return 0;if($.avail_in-=J,R6.arraySet(I,$.input,$.next_in,J,U),$.state.wrap===1)$.adler=vr($.adler,I,J,U);else if($.state.wrap===2)$.adler=O9($.adler,I,J,U);return $.next_in+=J,$.total_in+=J,J}function Cr($,I){var{max_chain_length:U,strstart:Y}=$,J,Q,K=$.prev_length,q=$.nice_match,G=$.strstart>$.w_size-r$?$.strstart-($.w_size-r$):0,H=$.window,W=$.w_mask,V=$.prev,z=$.strstart+M9,Z=H[Y+K-1],w=H[Y+K];if($.prev_length>=$.good_match)U>>=2;if(q>$.lookahead)q=$.lookahead;do{if(J=I,H[J+K]!==w||H[J+K-1]!==Z||H[J]!==H[Y]||H[++J]!==H[Y+1])continue;Y+=2,J++;do;while(H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&H[++Y]===H[++J]&&Y<z);if(Q=M9-(z-Y),Y=z-M9,Q>K){if($.match_start=I,K=Q,Q>=q)break;Z=H[Y+K-1],w=H[Y+K]}}while((I=V[I&W])>G&&--U!==0);if(K<=$.lookahead)return K;return $.lookahead}function c7($){var I=$.w_size,U,Y,J,Q,K;do{if(Q=$.window_size-$.lookahead-$.strstart,$.strstart>=I+(I-r$)){R6.arraySet($.window,$.window,I,I,0),$.match_start-=I,$.strstart-=I,$.block_start-=I,Y=$.hash_size,U=Y;do J=$.head[--U],$.head[U]=J>=I?J-I:0;while(--Y);Y=I,U=Y;do J=$.prev[--U],$.prev[U]=J>=I?J-I:0;while(--Y);Q+=I}if($.strm.avail_in===0)break;if(Y=tg0($.strm,$.window,$.strstart+$.lookahead,Q),$.lookahead+=Y,$.lookahead+$.insert>=q1){K=$.strstart-$.insert,$.ins_h=$.window[K],$.ins_h=($.ins_h<<$.hash_shift^$.window[K+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[K+q1-1])&$.hash_mask,$.prev[K&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=K,K++,$.insert--,$.lookahead+$.insert<q1)break}}while($.lookahead<r$&&$.strm.avail_in!==0)}function ag0($,I){var U=65535;if(U>$.pending_buf_size-5)U=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(c7($),$.lookahead===0&&I===d7)return S4;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var Y=$.block_start+U;if($.strstart===0||$.strstart>=Y){if($.lookahead=$.strstart-Y,$.strstart=Y,e4($,!1),$.strm.avail_out===0)return S4}if($.strstart-$.block_start>=$.w_size-r$){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.strstart>$.block_start){if(e4($,!1),$.strm.avail_out===0)return S4}return S4}function iB($,I){var U,Y;for(;;){if($.lookahead<r$){if(c7($),$.lookahead<r$&&I===d7)return S4;if($.lookahead===0)break}if(U=0,$.lookahead>=q1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(U!==0&&$.strstart-U<=$.w_size-r$)$.match_length=Cr($,U);if($.match_length>=q1)if(Y=M$._tr_tally($,$.strstart-$.match_start,$.match_length-q1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=q1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.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 Y=M$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(Y){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=$.strstart<q1-1?$.strstart:q1-1,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return n2}function SU($,I){var U,Y,J;for(;;){if($.lookahead<r$){if(c7($),$.lookahead<r$&&I===d7)return S4;if($.lookahead===0)break}if(U=0,$.lookahead>=q1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=q1-1,U!==0&&$.prev_length<$.max_lazy_match&&$.strstart-U<=$.w_size-r$){if($.match_length=Cr($,U),$.match_length<=5&&($.strategy===yg0||$.match_length===q1&&$.strstart-$.match_start>4096))$.match_length=q1-1}if($.prev_length>=q1&&$.match_length<=$.prev_length){J=$.strstart+$.lookahead-q1,Y=M$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-q1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=J)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+q1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=q1-1,$.strstart++,Y){if(e4($,!1),$.strm.avail_out===0)return S4}}else if($.match_available){if(Y=M$._tr_tally($,0,$.window[$.strstart-1]),Y)e4($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return S4}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)Y=M$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart<q1-1?$.strstart:q1-1,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return n2}function sg0($,I){var U,Y,J,Q,K=$.window;for(;;){if($.lookahead<=M9){if(c7($),$.lookahead<=M9&&I===d7)return S4;if($.lookahead===0)break}if($.match_length=0,$.lookahead>=q1&&$.strstart>0){if(J=$.strstart-1,Y=K[J],Y===K[++J]&&Y===K[++J]&&Y===K[++J]){Q=$.strstart+M9;do;while(Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&Y===K[++J]&&J<Q);if($.match_length=M9-(Q-J),$.match_length>$.lookahead)$.match_length=$.lookahead}}if($.match_length>=q1)U=M$._tr_tally($,1,$.match_length-q1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else U=M$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(U){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return n2}function eg0($,I){var U;for(;;){if($.lookahead===0){if(c7($),$.lookahead===0){if(I===d7)return S4;break}}if($.match_length=0,U=M$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,U){if(e4($,!1),$.strm.avail_out===0)return S4}}if($.insert=0,I===P9){if(e4($,!0),$.strm.avail_out===0)return p7;return yU}if($.last_lit){if(e4($,!1),$.strm.avail_out===0)return S4}return n2}function M8($,I,U,Y,J){this.good_length=$,this.max_lazy=I,this.nice_length=U,this.max_chain=Y,this.func=J}var gU;gU=[new M8(0,0,0,0,ag0),new M8(4,4,8,4,iB),new M8(4,5,16,8,iB),new M8(4,6,32,32,iB),new M8(4,4,16,16,SU),new M8(8,16,32,32,SU),new M8(8,16,128,128,SU),new M8(8,32,128,256,SU),new M8(32,128,258,1024,SU),new M8(32,258,258,4096,SU)];function $y0($){$.window_size=2*$.w_size,F9($.head),$.max_lazy_match=gU[$.level].max_lazy,$.good_match=gU[$.level].good_length,$.nice_match=gU[$.level].nice_length,$.max_chain_length=gU[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=q1-1,$.match_available=0,$.ins_h=0}function Iy0(){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=NZ,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 R6.Buf16(mg0*2),this.dyn_dtree=new R6.Buf16((2*cg0+1)*2),this.bl_tree=new R6.Buf16((2*dg0+1)*2),F9(this.dyn_ltree),F9(this.dyn_dtree),F9(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new R6.Buf16(lg0+1),this.heap=new R6.Buf16(2*nB+1),F9(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new R6.Buf16(2*nB+1),F9(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 jr($){var I;if(!$||!$.state)return A9($,A$);if($.total_in=$.total_out=0,$.data_type=ug0,I=$.state,I.pending=0,I.pending_out=0,I.wrap<0)I.wrap=-I.wrap;return I.status=I.wrap?FZ:n7,$.adler=I.wrap===2?0:1,I.last_flush=d7,M$._tr_init(I),A8}function _r($){var I=jr($);if(I===A8)$y0($.state);return I}function Uy0($,I){if(!$||!$.state)return A$;if($.state.wrap!==2)return A$;return $.state.gzhead=I,A8}function Sr($,I,U,Y,J,Q){if(!$)return A$;var K=1;if(I===gg0)I=6;if(Y<0)K=0,Y=-Y;else if(Y>15)K=2,Y-=16;if(J<1||J>fg0||U!==NZ||Y<8||Y>15||I<0||I>9||Q<0||Q>xg0)return A9($,A$);if(Y===8)Y=9;var q=new Iy0;return $.state=q,q.strm=$,q.wrap=K,q.gzhead=null,q.w_bits=Y,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+q1-1)/q1),q.window=new R6.Buf8(q.w_size*2),q.head=new R6.Buf16(q.hash_size),q.prev=new R6.Buf16(q.w_size),q.lit_bufsize=1<<J+6,q.pending_buf_size=q.lit_bufsize*4,q.pending_buf=new R6.Buf8(q.pending_buf_size),q.d_buf=1*q.lit_bufsize,q.l_buf=3*q.lit_bufsize,q.level=I,q.strategy=Q,q.method=U,_r($)}function Yy0($,I){return Sr($,I,NZ,bg0,ig0,kg0)}function Jy0($,I){var U,Y,J,Q;if(!$||!$.state||I>Er||I<0)return $?A9($,A$):A$;if(Y=$.state,!$.output||!$.input&&$.avail_in!==0||Y.status===i2&&I!==P9)return A9($,$.avail_out===0?bB:A$);if(Y.strm=$,U=Y.last_flush,Y.last_flush=I,Y.status===FZ)if(Y.wrap===2)if($.adler=0,N1(Y,31),N1(Y,139),N1(Y,8),!Y.gzhead)N1(Y,0),N1(Y,0),N1(Y,0),N1(Y,0),N1(Y,0),N1(Y,Y.level===9?2:Y.strategy>=wZ||Y.level<2?4:0),N1(Y,rg0),Y.status=n7;else{if(N1(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(!Y.gzhead.extra?0:4)+(!Y.gzhead.name?0:8)+(!Y.gzhead.comment?0:16)),N1(Y,Y.gzhead.time&255),N1(Y,Y.gzhead.time>>8&255),N1(Y,Y.gzhead.time>>16&255),N1(Y,Y.gzhead.time>>24&255),N1(Y,Y.level===9?2:Y.strategy>=wZ||Y.level<2?4:0),N1(Y,Y.gzhead.os&255),Y.gzhead.extra&&Y.gzhead.extra.length)N1(Y,Y.gzhead.extra.length&255),N1(Y,Y.gzhead.extra.length>>8&255);if(Y.gzhead.hcrc)$.adler=O9($.adler,Y.pending_buf,Y.pending,0);Y.gzindex=0,Y.status=pB}else{var K=NZ+(Y.w_bits-8<<4)<<8,q=-1;if(Y.strategy>=wZ||Y.level<2)q=0;else if(Y.level<6)q=1;else if(Y.level===6)q=2;else q=3;if(K|=q<<6,Y.strstart!==0)K|=og0;if(K+=31-K%31,Y.status=n7,b2(Y,K),Y.strstart!==0)b2(Y,$.adler>>>16),b2(Y,$.adler&65535);$.adler=1}if(Y.status===pB)if(Y.gzhead.extra){J=Y.pending;while(Y.gzindex<(Y.gzhead.extra.length&65535)){if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(N9($),J=Y.pending,Y.pending===Y.pending_buf_size)break}N1(Y,Y.gzhead.extra[Y.gzindex]&255),Y.gzindex++}if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(Y.gzindex===Y.gzhead.extra.length)Y.gzindex=0,Y.status=LZ}else Y.status=LZ;if(Y.status===LZ)if(Y.gzhead.name){J=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(N9($),J=Y.pending,Y.pending===Y.pending_buf_size){Q=1;break}}if(Y.gzindex<Y.gzhead.name.length)Q=Y.gzhead.name.charCodeAt(Y.gzindex++)&255;else Q=0;N1(Y,Q)}while(Q!==0);if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(Q===0)Y.gzindex=0,Y.status=DZ}else Y.status=DZ;if(Y.status===DZ)if(Y.gzhead.comment){J=Y.pending;do{if(Y.pending===Y.pending_buf_size){if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(N9($),J=Y.pending,Y.pending===Y.pending_buf_size){Q=1;break}}if(Y.gzindex<Y.gzhead.comment.length)Q=Y.gzhead.comment.charCodeAt(Y.gzindex++)&255;else Q=0;N1(Y,Q)}while(Q!==0);if(Y.gzhead.hcrc&&Y.pending>J)$.adler=O9($.adler,Y.pending_buf,Y.pending-J,J);if(Q===0)Y.status=OZ}else Y.status=OZ;if(Y.status===OZ)if(Y.gzhead.hcrc){if(Y.pending+2>Y.pending_buf_size)N9($);if(Y.pending+2<=Y.pending_buf_size)N1(Y,$.adler&255),N1(Y,$.adler>>8&255),$.adler=0,Y.status=n7}else Y.status=n7;if(Y.pending!==0){if(N9($),$.avail_out===0)return Y.last_flush=-1,A8}else if($.avail_in===0&&Rr(I)<=Rr(U)&&I!==P9)return A9($,bB);if(Y.status===i2&&$.avail_in!==0)return A9($,bB);if($.avail_in!==0||Y.lookahead!==0||I!==d7&&Y.status!==i2){var G=Y.strategy===wZ?eg0(Y,I):Y.strategy===hg0?sg0(Y,I):gU[Y.level].func(Y,I);if(G===p7||G===yU)Y.status=i2;if(G===S4||G===p7){if($.avail_out===0)Y.last_flush=-1;return A8}if(G===n2){if(I===jg0)M$._tr_align(Y);else if(I!==Er){if(M$._tr_stored_block(Y,0,0,!1),I===_g0){if(F9(Y.head),Y.lookahead===0)Y.strstart=0,Y.block_start=0,Y.insert=0}}if(N9($),$.avail_out===0)return Y.last_flush=-1,A8}}if(I!==P9)return A8;if(Y.wrap<=0)return Br;if(Y.wrap===2)N1(Y,$.adler&255),N1(Y,$.adler>>8&255),N1(Y,$.adler>>16&255),N1(Y,$.adler>>24&255),N1(Y,$.total_in&255),N1(Y,$.total_in>>8&255),N1(Y,$.total_in>>16&255),N1(Y,$.total_in>>24&255);else b2(Y,$.adler>>>16),b2(Y,$.adler&65535);if(N9($),Y.wrap>0)Y.wrap=-Y.wrap;return Y.pending!==0?A8:Br}function Qy0($){var I;if(!$||!$.state)return A$;if(I=$.state.status,I!==FZ&&I!==pB&&I!==LZ&&I!==DZ&&I!==OZ&&I!==n7&&I!==i2)return A9($,A$);return $.state=null,I===n7?A9($,Sg0):A8}function Ky0($,I){var U=I.length,Y,J,Q,K,q,G,H,W;if(!$||!$.state)return A$;if(Y=$.state,K=Y.wrap,K===2||K===1&&Y.status!==FZ||Y.lookahead)return A$;if(K===1)$.adler=vr($.adler,I,U,0);if(Y.wrap=0,U>=Y.w_size){if(K===0)F9(Y.head),Y.strstart=0,Y.block_start=0,Y.insert=0;W=new R6.Buf8(Y.w_size),R6.arraySet(W,I,U-Y.w_size,Y.w_size,0),I=W,U=Y.w_size}q=$.avail_in,G=$.next_in,H=$.input,$.avail_in=U,$.next_in=0,$.input=I,c7(Y);while(Y.lookahead>=q1){J=Y.strstart,Q=Y.lookahead-(q1-1);do Y.ins_h=(Y.ins_h<<Y.hash_shift^Y.window[J+q1-1])&Y.hash_mask,Y.prev[J&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=J,J++;while(--Q);Y.strstart=J,Y.lookahead=q1-1,c7(Y)}return Y.strstart+=Y.lookahead,Y.block_start=Y.strstart,Y.insert=Y.lookahead,Y.lookahead=0,Y.match_length=Y.prev_length=q1-1,Y.match_available=0,$.next_in=G,$.input=H,$.avail_in=q,Y.wrap=K,A8}qy0.deflateInit=Yy0;qy0.deflateInit2=Sr;qy0.deflateReset=_r;qy0.deflateResetKeep=jr;qy0.deflateSetHeader=Uy0;qy0.deflate=Jy0;qy0.deflateEnd=Qy0;qy0.deflateSetDictionary=Ky0;qy0.deflateInfo="pako deflate (from Nodeca project)"});var cB=O((Dy0)=>{var MZ=W5(),yr=!0,hr=!0;try{String.fromCharCode.apply(null,[0])}catch($){yr=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){hr=!1}var p2=new MZ.Buf8(256);for(P8=0;P8<256;P8++)p2[P8]=P8>=252?6:P8>=248?5:P8>=240?4:P8>=224?3:P8>=192?2:1;var P8;p2[254]=p2[254]=1;Dy0.string2buf=function($){var I,U,Y,J,Q,K=$.length,q=0;for(J=0;J<K;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}q+=U<128?1:U<2048?2:U<65536?3:4}I=new MZ.Buf8(q);for(Q=0,J=0;Q<q;J++){if(U=$.charCodeAt(J),(U&64512)===55296&&J+1<K){if(Y=$.charCodeAt(J+1),(Y&64512)===56320)U=65536+(U-55296<<10)+(Y-56320),J++}if(U<128)I[Q++]=U;else if(U<2048)I[Q++]=192|U>>>6,I[Q++]=128|U&63;else if(U<65536)I[Q++]=224|U>>>12,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63;else I[Q++]=240|U>>>18,I[Q++]=128|U>>>12&63,I[Q++]=128|U>>>6&63,I[Q++]=128|U&63}return I};function xr($,I){if(I<65534){if($.subarray&&hr||!$.subarray&&yr)return String.fromCharCode.apply(null,MZ.shrinkBuf($,I))}var U="";for(var Y=0;Y<I;Y++)U+=String.fromCharCode($[Y]);return U}Dy0.buf2binstring=function($){return xr($,$.length)};Dy0.binstring2buf=function($){var I=new MZ.Buf8($.length);for(var U=0,Y=I.length;U<Y;U++)I[U]=$.charCodeAt(U);return I};Dy0.buf2string=function($,I){var U,Y,J,Q,K=I||$.length,q=Array(K*2);for(Y=0,U=0;U<K;){if(J=$[U++],J<128){q[Y++]=J;continue}if(Q=p2[J],Q>4){q[Y++]=65533,U+=Q-1;continue}J&=Q===2?31:Q===3?15:7;while(Q>1&&U<K)J=J<<6|$[U++]&63,Q--;if(Q>1){q[Y++]=65533;continue}if(J<65536)q[Y++]=J;else J-=65536,q[Y++]=55296|J>>10&1023,q[Y++]=56320|J&1023}return xr(q,Y)};Dy0.utf8border=function($,I){var U;if(I=I||$.length,I>$.length)I=$.length;U=I-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return I;if(U===0)return I;return U+p2[$[U]]>I?U:I}});var dB=O((MM1,kr)=>{function Py0(){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}kr.exports=Py0});var ir=O((_y0)=>{var c2=gr(),d2=W5(),lB=cB(),oB=XZ(),Ty0=dB(),br=Object.prototype.toString,Ey0=0,mB=4,hU=0,ur=1,fr=2,By0=-1,Ry0=0,vy0=8;function m7($){if(!(this instanceof m7))return new m7($);this.options=d2.assign({level:By0,method:vy0,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ry0,to:""},$||{});var I=this.options;if(I.raw&&I.windowBits>0)I.windowBits=-I.windowBits;else if(I.gzip&&I.windowBits>0&&I.windowBits<16)I.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ty0,this.strm.avail_out=0;var U=c2.deflateInit2(this.strm,I.level,I.method,I.windowBits,I.memLevel,I.strategy);if(U!==hU)throw Error(oB[U]);if(I.header)c2.deflateSetHeader(this.strm,I.header);if(I.dictionary){var Y;if(typeof I.dictionary==="string")Y=lB.string2buf(I.dictionary);else if(br.call(I.dictionary)==="[object ArrayBuffer]")Y=new Uint8Array(I.dictionary);else Y=I.dictionary;if(U=c2.deflateSetDictionary(this.strm,Y),U!==hU)throw Error(oB[U]);this._dict_set=!0}}m7.prototype.push=function($,I){var U=this.strm,Y=this.options.chunkSize,J,Q;if(this.ended)return!1;if(Q=I===~~I?I:I===!0?mB:Ey0,typeof $==="string")U.input=lB.string2buf($);else if(br.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new d2.Buf8(Y),U.next_out=0,U.avail_out=Y;if(J=c2.deflate(U,Q),J!==ur&&J!==hU)return this.onEnd(J),this.ended=!0,!1;if(U.avail_out===0||U.avail_in===0&&(Q===mB||Q===fr))if(this.options.to==="string")this.onData(lB.buf2binstring(d2.shrinkBuf(U.output,U.next_out)));else this.onData(d2.shrinkBuf(U.output,U.next_out))}while((U.avail_in>0||U.avail_out===0)&&J!==ur);if(Q===mB)return J=c2.deflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===hU;if(Q===fr)return this.onEnd(hU),U.avail_out=0,!0;return!0};m7.prototype.onData=function($){this.chunks.push($)};m7.prototype.onEnd=function($){if($===hU)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=d2.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function rB($,I){var U=new m7(I);if(U.push($,!0),U.err)throw U.msg||oB[U.err];return U.result}function Cy0($,I){return I=I||{},I.raw=!0,rB($,I)}function jy0($,I){return I=I||{},I.gzip=!0,rB($,I)}_y0.Deflate=m7;_y0.deflate=rB;_y0.deflateRaw=Cy0;_y0.gzip=jy0});var pr=O((PM1,nr)=>{var AZ=30,xy0=12;nr.exports=function(I,U){var Y,J,Q,K,q,G,H,W,V,z,Z,w,L,D,N,E,T,A,v,u,g,b,C,p,n;Y=I.state,J=I.next_in,p=I.input,Q=J+(I.avail_in-5),K=I.next_out,n=I.output,q=K-(U-I.avail_out),G=K+(I.avail_out-257),H=Y.dmax,W=Y.wsize,V=Y.whave,z=Y.wnext,Z=Y.window,w=Y.hold,L=Y.bits,D=Y.lencode,N=Y.distcode,E=(1<<Y.lenbits)-1,T=(1<<Y.distbits)-1;$:do{if(L<15)w+=p[J++]<<L,L+=8,w+=p[J++]<<L,L+=8;A=D[w&E];I:for(;;){if(v=A>>>24,w>>>=v,L-=v,v=A>>>16&255,v===0)n[K++]=A&65535;else if(v&16){if(u=A&65535,v&=15,v){if(L<v)w+=p[J++]<<L,L+=8;u+=w&(1<<v)-1,w>>>=v,L-=v}if(L<15)w+=p[J++]<<L,L+=8,w+=p[J++]<<L,L+=8;A=N[w&T];U:for(;;){if(v=A>>>24,w>>>=v,L-=v,v=A>>>16&255,v&16){if(g=A&65535,v&=15,L<v){if(w+=p[J++]<<L,L+=8,L<v)w+=p[J++]<<L,L+=8}if(g+=w&(1<<v)-1,g>H){I.msg="invalid distance too far back",Y.mode=AZ;break $}if(w>>>=v,L-=v,v=K-q,g>v){if(v=g-v,v>V){if(Y.sane){I.msg="invalid distance too far back",Y.mode=AZ;break $}}if(b=0,C=Z,z===0){if(b+=W-v,v<u){u-=v;do n[K++]=Z[b++];while(--v);b=K-g,C=n}}else if(z<v){if(b+=W+z-v,v-=z,v<u){u-=v;do n[K++]=Z[b++];while(--v);if(b=0,z<u){v=z,u-=v;do n[K++]=Z[b++];while(--v);b=K-g,C=n}}}else if(b+=z-v,v<u){u-=v;do n[K++]=Z[b++];while(--v);b=K-g,C=n}while(u>2)n[K++]=C[b++],n[K++]=C[b++],n[K++]=C[b++],u-=3;if(u){if(n[K++]=C[b++],u>1)n[K++]=C[b++]}}else{b=K-g;do n[K++]=n[b++],n[K++]=n[b++],n[K++]=n[b++],u-=3;while(u>2);if(u){if(n[K++]=n[b++],u>1)n[K++]=n[b++]}}}else if((v&64)===0){A=N[(A&65535)+(w&(1<<v)-1)];continue U}else{I.msg="invalid distance code",Y.mode=AZ;break $}break}}else if((v&64)===0){A=D[(A&65535)+(w&(1<<v)-1)];continue I}else if(v&32){Y.mode=xy0;break $}else{I.msg="invalid literal/length code",Y.mode=AZ;break $}break}}while(J<Q&&K<G);u=L>>3,J-=u,L-=u<<3,w&=(1<<L)-1,I.next_in=J,I.next_out=K,I.avail_in=J<Q?5+(Q-J):5-(J-Q),I.avail_out=K<G?257+(G-K):257-(K-G),Y.hold=w,Y.bits=L;return}});var tr=O((TM1,rr)=>{var cr=W5(),xU=15,dr=852,mr=592,lr=0,tB=1,or=2,ky0=[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],uy0=[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],fy0=[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],by0=[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];rr.exports=function(I,U,Y,J,Q,K,q,G){var H=G.bits,W=0,V=0,z=0,Z=0,w=0,L=0,D=0,N=0,E=0,T=0,A,v,u,g,b,C=null,p=0,n,S=new cr.Buf16(xU+1),f=new cr.Buf16(xU+1),i=null,Y0=0,B,k,d;for(W=0;W<=xU;W++)S[W]=0;for(V=0;V<J;V++)S[U[Y+V]]++;w=H;for(Z=xU;Z>=1;Z--)if(S[Z]!==0)break;if(w>Z)w=Z;if(Z===0)return Q[K++]=20971520,Q[K++]=20971520,G.bits=1,0;for(z=1;z<Z;z++)if(S[z]!==0)break;if(w<z)w=z;N=1;for(W=1;W<=xU;W++)if(N<<=1,N-=S[W],N<0)return-1;if(N>0&&(I===lr||Z!==1))return-1;f[1]=0;for(W=1;W<xU;W++)f[W+1]=f[W]+S[W];for(V=0;V<J;V++)if(U[Y+V]!==0)q[f[U[Y+V]]++]=V;if(I===lr)C=i=q,n=19;else if(I===tB)C=ky0,p-=257,i=uy0,Y0-=257,n=256;else C=fy0,i=by0,n=-1;if(T=0,V=0,W=z,b=K,L=w,D=0,u=-1,E=1<<w,g=E-1,I===tB&&E>dr||I===or&&E>mr)return 1;for(;;){if(B=W-D,q[V]<n)k=0,d=q[V];else if(q[V]>n)k=i[Y0+q[V]],d=C[p+q[V]];else k=96,d=0;A=1<<W-D,v=1<<L,z=v;do v-=A,Q[b+(T>>D)+v]=B<<24|k<<16|d|0;while(v!==0);A=1<<W-1;while(T&A)A>>=1;if(A!==0)T&=A-1,T+=A;else T=0;if(V++,--S[W]===0){if(W===Z)break;W=U[Y+q[V]]}if(W>w&&(T&g)!==u){if(D===0)D=w;b+=z,L=W-D,N=1<<L;while(L+D<Z){if(N-=S[L+D],N<=0)break;L++,N<<=1}if(E+=1<<L,I===tB&&E>dr||I===or&&E>mr)return 1;u=T&g,Q[u]=w<<24|L<<16|b-K|0}}if(T!==0)Q[b+T]=W-D<<24|4194304|0;return G.bits=w,0}});var _t=O((Qh0)=>{var Y$=W5(),UR=uB(),T8=fB(),iy0=pr(),m2=tr(),ny0=0,At=1,Pt=2,ar=4,py0=5,PZ=6,l7=0,cy0=1,dy0=2,P$=-2,Tt=-3,YR=-4,my0=-5,sr=8,Et=1,er=2,$t=3,It=4,Ut=5,Yt=6,Jt=7,Qt=8,Kt=9,qt=10,BZ=11,Z5=12,aB=13,Gt=14,sB=15,Ht=16,Wt=17,Vt=18,Zt=19,TZ=20,EZ=21,zt=22,Xt=23,wt=24,Lt=25,Dt=26,eB=27,Ot=28,Nt=29,Y4=30,JR=31,ly0=32,oy0=852,ry0=592,ty0=15,ay0=ty0;function Ft($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function sy0(){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 Y$.Buf16(320),this.work=new Y$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Bt($){var I;if(!$||!$.state)return P$;if(I=$.state,$.total_in=$.total_out=I.total=0,$.msg="",I.wrap)$.adler=I.wrap&1;return I.mode=Et,I.last=0,I.havedict=0,I.dmax=32768,I.head=null,I.hold=0,I.bits=0,I.lencode=I.lendyn=new Y$.Buf32(oy0),I.distcode=I.distdyn=new Y$.Buf32(ry0),I.sane=1,I.back=-1,l7}function Rt($){var I;if(!$||!$.state)return P$;return I=$.state,I.wsize=0,I.whave=0,I.wnext=0,Bt($)}function vt($,I){var U,Y;if(!$||!$.state)return P$;if(Y=$.state,I<0)U=0,I=-I;else if(U=(I>>4)+1,I<48)I&=15;if(I&&(I<8||I>15))return P$;if(Y.window!==null&&Y.wbits!==I)Y.window=null;return Y.wrap=U,Y.wbits=I,Rt($)}function Ct($,I){var U,Y;if(!$)return P$;if(Y=new sy0,$.state=Y,Y.window=null,U=vt($,I),U!==l7)$.state=null;return U}function ey0($){return Ct($,ay0)}var Mt=!0,$R,IR;function $h0($){if(Mt){var I;$R=new Y$.Buf32(512),IR=new Y$.Buf32(32),I=0;while(I<144)$.lens[I++]=8;while(I<256)$.lens[I++]=9;while(I<280)$.lens[I++]=7;while(I<288)$.lens[I++]=8;m2(At,$.lens,0,288,$R,0,$.work,{bits:9}),I=0;while(I<32)$.lens[I++]=5;m2(Pt,$.lens,0,32,IR,0,$.work,{bits:5}),Mt=!1}$.lencode=$R,$.lenbits=9,$.distcode=IR,$.distbits=5}function jt($,I,U,Y){var J,Q=$.state;if(Q.window===null)Q.wsize=1<<Q.wbits,Q.wnext=0,Q.whave=0,Q.window=new Y$.Buf8(Q.wsize);if(Y>=Q.wsize)Y$.arraySet(Q.window,I,U-Q.wsize,Q.wsize,0),Q.wnext=0,Q.whave=Q.wsize;else{if(J=Q.wsize-Q.wnext,J>Y)J=Y;if(Y$.arraySet(Q.window,I,U-Y,J,Q.wnext),Y-=J,Y)Y$.arraySet(Q.window,I,U-Y,Y,0),Q.wnext=Y,Q.whave=Q.wsize;else{if(Q.wnext+=J,Q.wnext===Q.wsize)Q.wnext=0;if(Q.whave<Q.wsize)Q.whave+=J}}return 0}function Ih0($,I){var U,Y,J,Q,K,q,G,H,W,V,z,Z,w,L,D=0,N,E,T,A,v,u,g,b,C=new Y$.Buf8(4),p,n,S=[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 P$;if(U=$.state,U.mode===Z5)U.mode=aB;K=$.next_out,J=$.output,G=$.avail_out,Q=$.next_in,Y=$.input,q=$.avail_in,H=U.hold,W=U.bits,V=q,z=G,b=l7;$:for(;;)switch(U.mode){case Et:if(U.wrap===0){U.mode=aB;break}while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.wrap&2&&H===35615){U.check=0,C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0),H=0,W=0,U.mode=er;break}if(U.flags=0,U.head)U.head.done=!1;if(!(U.wrap&1)||(((H&255)<<8)+(H>>8))%31){$.msg="incorrect header check",U.mode=Y4;break}if((H&15)!==sr){$.msg="unknown compression method",U.mode=Y4;break}if(H>>>=4,W-=4,g=(H&15)+8,U.wbits===0)U.wbits=g;else if(g>U.wbits){$.msg="invalid window size",U.mode=Y4;break}U.dmax=1<<g,$.adler=U.check=1,U.mode=H&512?qt:Z5,H=0,W=0;break;case er:while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.flags=H,(U.flags&255)!==sr){$.msg="unknown compression method",U.mode=Y4;break}if(U.flags&57344){$.msg="unknown header flags set",U.mode=Y4;break}if(U.head)U.head.text=H>>8&1;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0,U.mode=$t;case $t:while(W<32){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.head)U.head.time=H;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,C[2]=H>>>16&255,C[3]=H>>>24&255,U.check=T8(U.check,C,4,0);H=0,W=0,U.mode=It;case It:while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.head)U.head.xflags=H&255,U.head.os=H>>8;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0,U.mode=Ut;case Ut:if(U.flags&1024){while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.length=H,U.head)U.head.extra_len=H;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=T8(U.check,C,2,0);H=0,W=0}else if(U.head)U.head.extra=null;U.mode=Yt;case Yt:if(U.flags&1024){if(Z=U.length,Z>q)Z=q;if(Z){if(U.head){if(g=U.head.extra_len-U.length,!U.head.extra)U.head.extra=Array(U.head.extra_len);Y$.arraySet(U.head.extra,Y,Q,Z,g)}if(U.flags&512)U.check=T8(U.check,Y,Z,Q);q-=Z,Q+=Z,U.length-=Z}if(U.length)break $}U.length=0,U.mode=Jt;case Jt:if(U.flags&2048){if(q===0)break $;Z=0;do if(g=Y[Q+Z++],U.head&&g&&U.length<65536)U.head.name+=String.fromCharCode(g);while(g&&Z<q);if(U.flags&512)U.check=T8(U.check,Y,Z,Q);if(q-=Z,Q+=Z,g)break $}else if(U.head)U.head.name=null;U.length=0,U.mode=Qt;case Qt:if(U.flags&4096){if(q===0)break $;Z=0;do if(g=Y[Q+Z++],U.head&&g&&U.length<65536)U.head.comment+=String.fromCharCode(g);while(g&&Z<q);if(U.flags&512)U.check=T8(U.check,Y,Z,Q);if(q-=Z,Q+=Z,g)break $}else if(U.head)U.head.comment=null;U.mode=Kt;case Kt:if(U.flags&512){while(W<16){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(H!==(U.check&65535)){$.msg="header crc mismatch",U.mode=Y4;break}H=0,W=0}if(U.head)U.head.hcrc=U.flags>>9&1,U.head.done=!0;$.adler=U.check=0,U.mode=Z5;break;case qt:while(W<32){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}$.adler=U.check=Ft(H),H=0,W=0,U.mode=BZ;case BZ:if(U.havedict===0)return $.next_out=K,$.avail_out=G,$.next_in=Q,$.avail_in=q,U.hold=H,U.bits=W,dy0;$.adler=U.check=1,U.mode=Z5;case Z5:if(I===py0||I===PZ)break $;case aB:if(U.last){H>>>=W&7,W-=W&7,U.mode=eB;break}while(W<3){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}switch(U.last=H&1,H>>>=1,W-=1,H&3){case 0:U.mode=Gt;break;case 1:if($h0(U),U.mode=TZ,I===PZ){H>>>=2,W-=2;break $}break;case 2:U.mode=Wt;break;case 3:$.msg="invalid block type",U.mode=Y4}H>>>=2,W-=2;break;case Gt:H>>>=W&7,W-=W&7;while(W<32){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if((H&65535)!==(H>>>16^65535)){$.msg="invalid stored block lengths",U.mode=Y4;break}if(U.length=H&65535,H=0,W=0,U.mode=sB,I===PZ)break $;case sB:U.mode=Ht;case Ht:if(Z=U.length,Z){if(Z>q)Z=q;if(Z>G)Z=G;if(Z===0)break $;Y$.arraySet(J,Y,Q,Z,K),q-=Z,Q+=Z,G-=Z,K+=Z,U.length-=Z;break}U.mode=Z5;break;case Wt:while(W<14){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(U.nlen=(H&31)+257,H>>>=5,W-=5,U.ndist=(H&31)+1,H>>>=5,W-=5,U.ncode=(H&15)+4,H>>>=4,W-=4,U.nlen>286||U.ndist>30){$.msg="too many length or distance symbols",U.mode=Y4;break}U.have=0,U.mode=Vt;case Vt:while(U.have<U.ncode){while(W<3){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}U.lens[S[U.have++]]=H&7,H>>>=3,W-=3}while(U.have<19)U.lens[S[U.have++]]=0;if(U.lencode=U.lendyn,U.lenbits=7,p={bits:U.lenbits},b=m2(ny0,U.lens,0,19,U.lencode,0,U.work,p),U.lenbits=p.bits,b){$.msg="invalid code lengths set",U.mode=Y4;break}U.have=0,U.mode=Zt;case Zt:while(U.have<U.nlen+U.ndist){for(;;){if(D=U.lencode[H&(1<<U.lenbits)-1],N=D>>>24,E=D>>>16&255,T=D&65535,N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(T<16)H>>>=N,W-=N,U.lens[U.have++]=T;else{if(T===16){n=N+2;while(W<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(H>>>=N,W-=N,U.have===0){$.msg="invalid bit length repeat",U.mode=Y4;break}g=U.lens[U.have-1],Z=3+(H&3),H>>>=2,W-=2}else if(T===17){n=N+3;while(W<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=N,W-=N,g=0,Z=3+(H&7),H>>>=3,W-=3}else{n=N+7;while(W<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=N,W-=N,g=0,Z=11+(H&127),H>>>=7,W-=7}if(U.have+Z>U.nlen+U.ndist){$.msg="invalid bit length repeat",U.mode=Y4;break}while(Z--)U.lens[U.have++]=g}}if(U.mode===Y4)break;if(U.lens[256]===0){$.msg="invalid code -- missing end-of-block",U.mode=Y4;break}if(U.lenbits=9,p={bits:U.lenbits},b=m2(At,U.lens,0,U.nlen,U.lencode,0,U.work,p),U.lenbits=p.bits,b){$.msg="invalid literal/lengths set",U.mode=Y4;break}if(U.distbits=6,U.distcode=U.distdyn,p={bits:U.distbits},b=m2(Pt,U.lens,U.nlen,U.ndist,U.distcode,0,U.work,p),U.distbits=p.bits,b){$.msg="invalid distances set",U.mode=Y4;break}if(U.mode=TZ,I===PZ)break $;case TZ:U.mode=EZ;case EZ:if(q>=6&&G>=258){if($.next_out=K,$.avail_out=G,$.next_in=Q,$.avail_in=q,U.hold=H,U.bits=W,iy0($,z),K=$.next_out,J=$.output,G=$.avail_out,Q=$.next_in,Y=$.input,q=$.avail_in,H=U.hold,W=U.bits,U.mode===Z5)U.back=-1;break}U.back=0;for(;;){if(D=U.lencode[H&(1<<U.lenbits)-1],N=D>>>24,E=D>>>16&255,T=D&65535,N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(E&&(E&240)===0){A=N,v=E,u=T;for(;;){if(D=U.lencode[u+((H&(1<<A+v)-1)>>A)],N=D>>>24,E=D>>>16&255,T=D&65535,A+N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=A,W-=A,U.back+=A}if(H>>>=N,W-=N,U.back+=N,U.length=T,E===0){U.mode=Dt;break}if(E&32){U.back=-1,U.mode=Z5;break}if(E&64){$.msg="invalid literal/length code",U.mode=Y4;break}U.extra=E&15,U.mode=zt;case zt:if(U.extra){n=U.extra;while(W<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}U.length+=H&(1<<U.extra)-1,H>>>=U.extra,W-=U.extra,U.back+=U.extra}U.was=U.length,U.mode=Xt;case Xt:for(;;){if(D=U.distcode[H&(1<<U.distbits)-1],N=D>>>24,E=D>>>16&255,T=D&65535,N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if((E&240)===0){A=N,v=E,u=T;for(;;){if(D=U.distcode[u+((H&(1<<A+v)-1)>>A)],N=D>>>24,E=D>>>16&255,T=D&65535,A+N<=W)break;if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}H>>>=A,W-=A,U.back+=A}if(H>>>=N,W-=N,U.back+=N,E&64){$.msg="invalid distance code",U.mode=Y4;break}U.offset=T,U.extra=E&15,U.mode=wt;case wt:if(U.extra){n=U.extra;while(W<n){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}U.offset+=H&(1<<U.extra)-1,H>>>=U.extra,W-=U.extra,U.back+=U.extra}if(U.offset>U.dmax){$.msg="invalid distance too far back",U.mode=Y4;break}U.mode=Lt;case Lt:if(G===0)break $;if(Z=z-G,U.offset>Z){if(Z=U.offset-Z,Z>U.whave){if(U.sane){$.msg="invalid distance too far back",U.mode=Y4;break}}if(Z>U.wnext)Z-=U.wnext,w=U.wsize-Z;else w=U.wnext-Z;if(Z>U.length)Z=U.length;L=U.window}else L=J,w=K-U.offset,Z=U.length;if(Z>G)Z=G;G-=Z,U.length-=Z;do J[K++]=L[w++];while(--Z);if(U.length===0)U.mode=EZ;break;case Dt:if(G===0)break $;J[K++]=U.length,G--,U.mode=EZ;break;case eB:if(U.wrap){while(W<32){if(q===0)break $;q--,H|=Y[Q++]<<W,W+=8}if(z-=G,$.total_out+=z,U.total+=z,z)$.adler=U.check=U.flags?T8(U.check,J,z,K-z):UR(U.check,J,z,K-z);if(z=G,(U.flags?H:Ft(H))!==U.check){$.msg="incorrect data check",U.mode=Y4;break}H=0,W=0}U.mode=Ot;case Ot:if(U.wrap&&U.flags){while(W<32){if(q===0)break $;q--,H+=Y[Q++]<<W,W+=8}if(H!==(U.total&4294967295)){$.msg="incorrect length check",U.mode=Y4;break}H=0,W=0}U.mode=Nt;case Nt:b=cy0;break $;case Y4:b=Tt;break $;case JR:return YR;case ly0:default:return P$}if($.next_out=K,$.avail_out=G,$.next_in=Q,$.avail_in=q,U.hold=H,U.bits=W,U.wsize||z!==$.avail_out&&U.mode<Y4&&(U.mode<eB||I!==ar)){if(jt($,$.output,$.next_out,z-$.avail_out))return U.mode=JR,YR}if(V-=$.avail_in,z-=$.avail_out,$.total_in+=V,$.total_out+=z,U.total+=z,U.wrap&&z)$.adler=U.check=U.flags?T8(U.check,J,z,$.next_out-z):UR(U.check,J,z,$.next_out-z);if($.data_type=U.bits+(U.last?64:0)+(U.mode===Z5?128:0)+(U.mode===TZ||U.mode===sB?256:0),(V===0&&z===0||I===ar)&&b===l7)b=my0;return b}function Uh0($){if(!$||!$.state)return P$;var I=$.state;if(I.window)I.window=null;return $.state=null,l7}function Yh0($,I){var U;if(!$||!$.state)return P$;if(U=$.state,(U.wrap&2)===0)return P$;return U.head=I,I.done=!1,l7}function Jh0($,I){var U=I.length,Y,J,Q;if(!$||!$.state)return P$;if(Y=$.state,Y.wrap!==0&&Y.mode!==BZ)return P$;if(Y.mode===BZ){if(J=1,J=UR(J,I,U,0),J!==Y.check)return Tt}if(Q=jt($,I,U,U),Q)return Y.mode=JR,YR;return Y.havedict=1,l7}Qh0.inflateReset=Rt;Qh0.inflateReset2=vt;Qh0.inflateResetKeep=Bt;Qh0.inflateInit=ey0;Qh0.inflateInit2=Ct;Qh0.inflate=Ih0;Qh0.inflateEnd=Uh0;Qh0.inflateGetHeader=Yh0;Qh0.inflateSetDictionary=Jh0;Qh0.inflateInfo="pako inflate (from Nodeca project)"});var QR=O((BM1,St)=>{St.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 yt=O((RM1,gt)=>{function Lh0(){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}gt.exports=Lh0});var xt=O((Fh0)=>{var kU=_t(),l2=W5(),RZ=cB(),A4=QR(),KR=XZ(),Dh0=dB(),Oh0=yt(),ht=Object.prototype.toString;function o7($){if(!(this instanceof o7))return new o7($);this.options=l2.assign({chunkSize:16384,windowBits:0,to:""},$||{});var I=this.options;if(I.raw&&I.windowBits>=0&&I.windowBits<16){if(I.windowBits=-I.windowBits,I.windowBits===0)I.windowBits=-15}if(I.windowBits>=0&&I.windowBits<16&&!($&&$.windowBits))I.windowBits+=32;if(I.windowBits>15&&I.windowBits<48){if((I.windowBits&15)===0)I.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Dh0,this.strm.avail_out=0;var U=kU.inflateInit2(this.strm,I.windowBits);if(U!==A4.Z_OK)throw Error(KR[U]);if(this.header=new Oh0,kU.inflateGetHeader(this.strm,this.header),I.dictionary){if(typeof I.dictionary==="string")I.dictionary=RZ.string2buf(I.dictionary);else if(ht.call(I.dictionary)==="[object ArrayBuffer]")I.dictionary=new Uint8Array(I.dictionary);if(I.raw){if(U=kU.inflateSetDictionary(this.strm,I.dictionary),U!==A4.Z_OK)throw Error(KR[U])}}}o7.prototype.push=function($,I){var U=this.strm,Y=this.options.chunkSize,J=this.options.dictionary,Q,K,q,G,H,W=!1;if(this.ended)return!1;if(K=I===~~I?I:I===!0?A4.Z_FINISH:A4.Z_NO_FLUSH,typeof $==="string")U.input=RZ.binstring2buf($);else if(ht.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new l2.Buf8(Y),U.next_out=0,U.avail_out=Y;if(Q=kU.inflate(U,A4.Z_NO_FLUSH),Q===A4.Z_NEED_DICT&&J)Q=kU.inflateSetDictionary(this.strm,J);if(Q===A4.Z_BUF_ERROR&&W===!0)Q=A4.Z_OK,W=!1;if(Q!==A4.Z_STREAM_END&&Q!==A4.Z_OK)return this.onEnd(Q),this.ended=!0,!1;if(U.next_out){if(U.avail_out===0||Q===A4.Z_STREAM_END||U.avail_in===0&&(K===A4.Z_FINISH||K===A4.Z_SYNC_FLUSH))if(this.options.to==="string"){if(q=RZ.utf8border(U.output,U.next_out),G=U.next_out-q,H=RZ.buf2string(U.output,q),U.next_out=G,U.avail_out=Y-G,G)l2.arraySet(U.output,U.output,q,G,0);this.onData(H)}else this.onData(l2.shrinkBuf(U.output,U.next_out))}if(U.avail_in===0&&U.avail_out===0)W=!0}while((U.avail_in>0||U.avail_out===0)&&Q!==A4.Z_STREAM_END);if(Q===A4.Z_STREAM_END)K=A4.Z_FINISH;if(K===A4.Z_FINISH)return Q=kU.inflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===A4.Z_OK;if(K===A4.Z_SYNC_FLUSH)return this.onEnd(A4.Z_OK),U.avail_out=0,!0;return!0};o7.prototype.onData=function($){this.chunks.push($)};o7.prototype.onEnd=function($){if($===A4.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=l2.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function qR($,I){var U=new o7(I);if(U.push($,!0),U.err)throw U.msg||KR[U.err];return U.result}function Nh0($,I){return I=I||{},I.raw=!0,qR($,I)}Fh0.Inflate=o7;Fh0.inflate=qR;Fh0.inflateRaw=Nh0;Fh0.ungzip=qR});var ft=O((CM1,ut)=>{var Eh0=W5().assign,Bh0=ir(),Rh0=xt(),vh0=QR(),kt={};Eh0(kt,Bh0,Rh0,vh0);ut.exports=kt});var it=O((Sh0)=>{var Ch0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",jh0=ft(),bt=H4(),vZ=U$(),_h0=Ch0?"uint8array":"array";Sh0.magic="\b\x00";function r7($,I){vZ.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=I,this.meta={}}bt.inherits(r7,vZ);r7.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(bt.transformTo(_h0,$.data),!1)};r7.prototype.flush=function(){if(vZ.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};r7.prototype.cleanUp=function(){vZ.prototype.cleanUp.call(this),this._pako=null};r7.prototype._createPako=function(){this._pako=new jh0[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(I){$.push({data:I,meta:$.meta})}};Sh0.compressWorker=function($){return new r7("Deflate",$)};Sh0.uncompressWorker=function(){return new r7("Inflate",{})}});var GR=O((xh0)=>{var nt=U$();xh0.STORE={magic:"\x00\x00",compressWorker:function(){return new nt("STORE compression")},uncompressWorker:function(){return new nt("STORE decompression")}};xh0.DEFLATE=it()});var HR=O((fh0)=>{fh0.LOCAL_FILE_HEADER="PK\x03\x04";fh0.CENTRAL_FILE_HEADER="PK\x01\x02";fh0.CENTRAL_DIRECTORY_END="PK\x05\x06";fh0.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";fh0.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";fh0.DATA_DESCRIPTOR="PK\x07\b"});var mt=O((gM1,dt)=>{var uU=H4(),fU=U$(),WR=vU(),pt=WZ(),CZ=HR(),p1=function($,I){var U="",Y;for(Y=0;Y<I;Y++)U+=String.fromCharCode($&255),$=$>>>8;return U},mh0=function($,I){var U=$;if(!$)U=I?16893:33204;return(U&65535)<<16},lh0=function($){return($||0)&63},ct=function($,I,U,Y,J,Q){var{file:K,compression:q}=$,G=Q!==WR.utf8encode,H=uU.transformTo("string",Q(K.name)),W=uU.transformTo("string",WR.utf8encode(K.name)),V=K.comment,z=uU.transformTo("string",Q(V)),Z=uU.transformTo("string",WR.utf8encode(V)),w=W.length!==K.name.length,L=Z.length!==V.length,D,N,E="",T="",A="",v=K.dir,u=K.date,g={crc32:0,compressedSize:0,uncompressedSize:0};if(!I||U)g.crc32=$.crc32,g.compressedSize=$.compressedSize,g.uncompressedSize=$.uncompressedSize;var b=0;if(I)b|=8;if(!G&&(w||L))b|=2048;var C=0,p=0;if(v)C|=16;if(J==="UNIX")p=798,C|=mh0(K.unixPermissions,v);else p=20,C|=lh0(K.dosPermissions,v);if(D=u.getUTCHours(),D=D<<6,D=D|u.getUTCMinutes(),D=D<<5,D=D|u.getUTCSeconds()/2,N=u.getUTCFullYear()-1980,N=N<<4,N=N|u.getUTCMonth()+1,N=N<<5,N=N|u.getUTCDate(),w)T=p1(1,1)+p1(pt(H),4)+W,E+="up"+p1(T.length,2)+T;if(L)A=p1(1,1)+p1(pt(z),4)+Z,E+="uc"+p1(A.length,2)+A;var n="";n+=`
\x00`,n+=p1(b,2),n+=q.magic,n+=p1(D,2),n+=p1(N,2),n+=p1(g.crc32,4),n+=p1(g.compressedSize,4),n+=p1(g.uncompressedSize,4),n+=p1(H.length,2),n+=p1(E.length,2);var S=CZ.LOCAL_FILE_HEADER+n+H+E,f=CZ.CENTRAL_FILE_HEADER+p1(p,2)+n+p1(z.length,2)+"\x00\x00\x00\x00"+p1(C,4)+p1(Y,4)+H+E+z;return{fileRecord:S,dirRecord:f}},oh0=function($,I,U,Y,J){var Q="",K=uU.transformTo("string",J(Y));return Q=CZ.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+p1($,2)+p1($,2)+p1(I,4)+p1(U,4)+p1(K.length,2)+K,Q},rh0=function($){var I="";return I=CZ.DATA_DESCRIPTOR+p1($.crc32,4)+p1($.compressedSize,4)+p1($.uncompressedSize,4),I};function t$($,I,U,Y){fU.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=I,this.zipPlatform=U,this.encodeFileName=Y,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}uU.inherits(t$,fU);t$.prototype.push=function($){var I=$.meta.percent||0,U=this.entriesCount,Y=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,fU.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:U?(I+100*(U-Y-1))/U:100}})};t$.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var I=this.streamFiles&&!$.file.dir;if(I){var U=ct($,I,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:U.fileRecord,meta:{percent:0}})}else this.accumulate=!0};t$.prototype.closedSource=function($){this.accumulate=!1;var I=this.streamFiles&&!$.file.dir,U=ct($,I,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(U.dirRecord),I)this.push({data:rh0($),meta:{percent:100}});else{this.push({data:U.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};t$.prototype.flush=function(){var $=this.bytesWritten;for(var I=0;I<this.dirRecords.length;I++)this.push({data:this.dirRecords[I],meta:{percent:100}});var U=this.bytesWritten-$,Y=oh0(this.dirRecords.length,U,$,this.zipComment,this.encodeFileName);this.push({data:Y,meta:{percent:100}})};t$.prototype.prepareNextSource=function(){if(this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused)this.previous.pause();else this.previous.resume()};t$.prototype.registerPrevious=function($){this._sources.push($);var I=this;return $.on("data",function(U){I.processChunk(U)}),$.on("end",function(){if(I.closedSource(I.previous.streamInfo),I._sources.length)I.prepareNextSource();else I.end()}),$.on("error",function(U){I.error(U)}),this};t$.prototype.resume=function(){if(!fU.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};t$.prototype.error=function($){var I=this._sources;if(!fU.prototype.error.call(this,$))return!1;for(var U=0;U<I.length;U++)try{I[U].error($)}catch(Y){}return!0};t$.prototype.lock=function(){fU.prototype.lock.call(this);var $=this._sources;for(var I=0;I<$.length;I++)$[I].lock()};dt.exports=t$});var lt=O((eh0)=>{var th0=GR(),ah0=mt(),sh0=function($,I){var U=$||I,Y=th0[U];if(!Y)throw Error(U+" is not a valid compression method !");return Y};eh0.generateWorker=function($,I,U){var Y=new ah0(I.streamFiles,U,I.platform,I.encodeFileName),J=0;try{$.forEach(function(Q,K){J++;var q=sh0(K.options.compression,I.compression),G=K.options.compressionOptions||I.compressionOptions||{},H=K.dir,W=K.date;K._compressWorker(q,G).withStreamInfo("file",{name:Q,dir:H,date:W,comment:K.comment||"",unixPermissions:K.unixPermissions,dosPermissions:K.dosPermissions}).pipe(Y)}),Y.entriesCount=J}catch(Q){Y.error(Q)}return Y}});var rt=O((hM1,ot)=>{var Ix0=H4(),jZ=U$();function o2($,I){jZ.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(I)}Ix0.inherits(o2,jZ);o2.prototype._bindStream=function($){var I=this;this._stream=$,$.pause(),$.on("data",function(U){I.push({data:U,meta:{percent:0}})}).on("error",function(U){if(I.isPaused)this.generatedError=U;else I.error(U)}).on("end",function(){if(I.isPaused)I._upstreamEnded=!0;else I.end()})};o2.prototype.pause=function(){if(!jZ.prototype.pause.call(this))return!1;return this._stream.pause(),!0};o2.prototype.resume=function(){if(!jZ.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};ot.exports=o2});var Qa=O((xM1,Ja)=>{var Ux0=vU(),r2=H4(),et=U$(),Yx0=XB(),$a=wB(),tt=VZ(),Jx0=ao(),Qx0=lt(),at=R2(),Kx0=rt(),Ia=function($,I,U){var Y=r2.getTypeOf(I),J,Q=r2.extend(U||{},$a);if(Q.date=Q.date||new Date,Q.compression!==null)Q.compression=Q.compression.toUpperCase();if(typeof Q.unixPermissions==="string")Q.unixPermissions=parseInt(Q.unixPermissions,8);if(Q.unixPermissions&&Q.unixPermissions&16384)Q.dir=!0;if(Q.dosPermissions&&Q.dosPermissions&16)Q.dir=!0;if(Q.dir)$=Ua($);if(Q.createFolders&&(J=qx0($)))Ya.call(this,J,!0);var K=Y==="string"&&Q.binary===!1&&Q.base64===!1;if(!U||typeof U.binary>"u")Q.binary=!K;var q=I instanceof tt&&I.uncompressedSize===0;if(q||Q.dir||!I||I.length===0)Q.base64=!1,Q.binary=!0,I="",Q.compression="STORE",Y="string";var G=null;if(I instanceof tt||I instanceof et)G=I;else if(at.isNode&&at.isStream(I))G=new Kx0($,I);else G=r2.prepareContent($,I,Q.binary,Q.optimizedBinaryString,Q.base64);var H=new Jx0($,G,Q);this.files[$]=H},qx0=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var I=$.lastIndexOf("/");return I>0?$.substring(0,I):""},Ua=function($){if($.slice(-1)!=="/")$+="/";return $},Ya=function($,I){if(I=typeof I<"u"?I:$a.createFolders,$=Ua($),!this.files[$])Ia.call(this,$,null,{dir:!0,createFolders:I});return this.files[$]};function st($){return Object.prototype.toString.call($)==="[object RegExp]"}var Gx0={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var I,U,Y;for(I in this.files)if(Y=this.files[I],U=I.slice(this.root.length,I.length),U&&I.slice(0,this.root.length)===this.root)$(U,Y)},filter:function($){var I=[];return this.forEach(function(U,Y){if($(U,Y))I.push(Y)}),I},file:function($,I,U){if(arguments.length===1)if(st($)){var Y=$;return this.filter(function(Q,K){return!K.dir&&Y.test(Q)})}else{var J=this.files[this.root+$];if(J&&!J.dir)return J;else return null}else $=this.root+$,Ia.call(this,$,I,U);return this},folder:function($){if(!$)return this;if(st($))return this.filter(function(J,Q){return Q.dir&&$.test(J)});var I=this.root+$,U=Ya.call(this,I),Y=this.clone();return Y.root=U.name,Y},remove:function($){$=this.root+$;var I=this.files[$];if(!I){if($.slice(-1)!=="/")$+="/";I=this.files[$]}if(I&&!I.dir)delete this.files[$];else{var U=this.filter(function(J,Q){return Q.name.slice(0,$.length)===$});for(var Y=0;Y<U.length;Y++)delete this.files[U[Y].name]}return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function($){var I,U={};try{if(U=r2.extend($||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Ux0.utf8encode}),U.type=U.type.toLowerCase(),U.compression=U.compression.toUpperCase(),U.type==="binarystring")U.type="string";if(!U.type)throw Error("No output type specified.");if(r2.checkSupport(U.type),U.platform==="darwin"||U.platform==="freebsd"||U.platform==="linux"||U.platform==="sunos")U.platform="UNIX";if(U.platform==="win32")U.platform="DOS";var Y=U.comment||this.comment||"";I=Qx0.generateWorker(this,U,Y)}catch(J){I=new et("error"),I.error(J)}return new Yx0(I,U.type||"string",U.mimeType)},generateAsync:function($,I){return this.generateInternalStream($).accumulate(I)},generateNodeStream:function($,I){if($=$||{},!$.type)$.type="nodebuffer";return this.generateInternalStream($).toNodejsStream(I)}};Ja.exports=Gx0});var VR=O((kM1,qa)=>{var Hx0=H4();function Ka($){this.data=$,this.length=$.length,this.index=0,this.zero=0}Ka.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 I=0,U;this.checkOffset($);for(U=this.index+$-1;U>=this.index;U--)I=(I<<8)+this.byteAt(U);return this.index+=$,I},readString:function($){return Hx0.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))}};qa.exports=Ka});var ZR=O((uM1,Ha)=>{var Ga=VR(),Wx0=H4();function bU($){Ga.call(this,$);for(var I=0;I<this.data.length;I++)$[I]=$[I]&255}Wx0.inherits(bU,Ga);bU.prototype.byteAt=function($){return this.data[this.zero+$]};bU.prototype.lastIndexOfSignature=function($){var I=$.charCodeAt(0),U=$.charCodeAt(1),Y=$.charCodeAt(2),J=$.charCodeAt(3);for(var Q=this.length-4;Q>=0;--Q)if(this.data[Q]===I&&this.data[Q+1]===U&&this.data[Q+2]===Y&&this.data[Q+3]===J)return Q-this.zero;return-1};bU.prototype.readAndCheckSignature=function($){var I=$.charCodeAt(0),U=$.charCodeAt(1),Y=$.charCodeAt(2),J=$.charCodeAt(3),Q=this.readData(4);return I===Q[0]&&U===Q[1]&&Y===Q[2]&&J===Q[3]};bU.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};Ha.exports=bU});var Za=O((fM1,Va)=>{var Wa=VR(),Vx0=H4();function iU($){Wa.call(this,$)}Vx0.inherits(iU,Wa);iU.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};iU.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};iU.prototype.readAndCheckSignature=function($){var I=this.readData(4);return $===I};iU.prototype.readData=function($){this.checkOffset($);var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};Va.exports=iU});var XR=O((bM1,Xa)=>{var za=ZR(),Zx0=H4();function zR($){za.call(this,$)}Zx0.inherits(zR,za);zR.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var I=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};Xa.exports=zR});var Da=O((iM1,La)=>{var wa=XR(),zx0=H4();function wR($){wa.call(this,$)}zx0.inherits(wR,wa);wR.prototype.readData=function($){this.checkOffset($);var I=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,I};La.exports=wR});var LR=O((nM1,Na)=>{var _Z=H4(),Oa=H5(),Xx0=ZR(),wx0=Za(),Lx0=Da(),Dx0=XR();Na.exports=function($){var I=_Z.getTypeOf($);if(_Z.checkSupport(I),I==="string"&&!Oa.uint8array)return new wx0($);if(I==="nodebuffer")return new Lx0($);if(Oa.uint8array)return new Dx0(_Z.transformTo("uint8array",$));return new Xx0(_Z.transformTo("array",$))}});var Pa=O((pM1,Aa)=>{var DR=LR(),T9=H4(),Ox0=VZ(),Fa=WZ(),SZ=vU(),gZ=GR(),Nx0=H5(),Fx0=0,Mx0=3,Ax0=function($){for(var I in gZ){if(!Object.prototype.hasOwnProperty.call(gZ,I))continue;if(gZ[I].magic===$)return gZ[I]}return null};function Ma($,I){this.options=$,this.loadOptions=I}Ma.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var I,U;if($.skip(22),this.fileNameLength=$.readInt(2),U=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(U),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(I=Ax0(this.compressionMethod),I===null)throw Error("Corrupted zip : compression "+T9.pretty(this.compressionMethod)+" unknown (inner file : "+T9.transformTo("string",this.fileName)+")");this.decompressed=new Ox0(this.compressedSize,this.uncompressedSize,this.crc32,I,$.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 I=$.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(I),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,$===Fx0)this.dosPermissions=this.externalFileAttributes&63;if($===Mx0)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=DR(this.extraFields[1].value);if(this.uncompressedSize===T9.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===T9.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===T9.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===T9.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var I=$.index+this.extraFieldsLength,U,Y,J;if(!this.extraFields)this.extraFields={};while($.index+4<I)U=$.readInt(2),Y=$.readInt(2),J=$.readData(Y),this.extraFields[U]={id:U,length:Y,value:J};$.setIndex(I)},handleUTF8:function(){var $=Nx0.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=SZ.utf8decode(this.fileName),this.fileCommentStr=SZ.utf8decode(this.fileComment);else{var I=this.findExtraFieldUnicodePath();if(I!==null)this.fileNameStr=I;else{var U=T9.transformTo($,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(U)}var Y=this.findExtraFieldUnicodeComment();if(Y!==null)this.fileCommentStr=Y;else{var J=T9.transformTo($,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(J)}}},findExtraFieldUnicodePath:function(){var $=this.extraFields[28789];if($){var I=DR($.value);if(I.readInt(1)!==1)return null;if(Fa(this.fileName)!==I.readInt(4))return null;return SZ.utf8decode(I.readData($.length-5))}return null},findExtraFieldUnicodeComment:function(){var $=this.extraFields[25461];if($){var I=DR($.value);if(I.readInt(1)!==1)return null;if(Fa(this.fileComment)!==I.readInt(4))return null;return SZ.utf8decode(I.readData($.length-5))}return null}};Aa.exports=Ma});var Ba=O((cM1,Ea)=>{var Px0=LR(),z5=H4(),a$=HR(),Tx0=Pa(),Ex0=H5();function Ta($){this.files=[],this.loadOptions=$}Ta.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var I=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+z5.pretty(I)+", expected "+z5.pretty($)+")")}},isSignature:function($,I){var U=this.reader.index;this.reader.setIndex($);var Y=this.reader.readString(4),J=Y===I;return this.reader.setIndex(U),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),I=Ex0.uint8array?"uint8array":"array",U=z5.transformTo(I,$);this.zipComment=this.loadOptions.decodeFileName(U)},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,I=0,U,Y,J;while(I<$)U=this.reader.readInt(2),Y=this.reader.readInt(4),J=this.reader.readData(Y),this.zip64ExtensibleData[U]={id:U,length:Y,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 $,I;for($=0;$<this.files.length;$++)I=this.files[$],this.reader.setIndex(I.localHeaderOffset),this.checkSignature(a$.LOCAL_FILE_HEADER),I.readLocalPart(this.reader),I.handleUTF8(),I.processAttributes()},readCentralDir:function(){var $;this.reader.setIndex(this.centralDirOffset);while(this.reader.readAndCheckSignature(a$.CENTRAL_FILE_HEADER))$=new Tx0({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(a$.CENTRAL_DIRECTORY_END);if($<0){var I=!this.isSignature(0,a$.LOCAL_FILE_HEADER);if(I)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 U=$;if(this.checkSignature(a$.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===z5.MAX_VALUE_16BITS||this.diskWithCentralDirStart===z5.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===z5.MAX_VALUE_16BITS||this.centralDirRecords===z5.MAX_VALUE_16BITS||this.centralDirSize===z5.MAX_VALUE_32BITS||this.centralDirOffset===z5.MAX_VALUE_32BITS){if(this.zip64=!0,$=this.reader.lastIndexOfSignature(a$.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(a$.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a$.ZIP64_CENTRAL_DIRECTORY_END)){if(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a$.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(a$.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var Y=this.centralDirOffset+this.centralDirSize;if(this.zip64)Y+=20,Y+=12+this.zip64EndOfCentralSize;var J=U-Y;if(J>0)if(this.isSignature(U,a$.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=Px0($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};Ea.exports=Ta});var Ca=O((dM1,va)=>{var OR=H4(),yZ=EU(),Bx0=vU(),Rx0=Ba(),vx0=OB(),Ra=R2();function Cx0($){return new yZ.Promise(function(I,U){var Y=$.decompressed.getContentWorker().pipe(new vx0);Y.on("error",function(J){U(J)}).on("end",function(){if(Y.streamInfo.crc32!==$.decompressed.crc32)U(Error("Corrupted zip : CRC32 mismatch"));else I()}).resume()})}va.exports=function($,I){var U=this;if(I=OR.extend(I||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Bx0.utf8decode}),Ra.isNode&&Ra.isStream($))return yZ.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return OR.prepareContent("the loaded zip file",$,!0,I.optimizedBinaryString,I.base64).then(function(Y){var J=new Rx0(I);return J.load(Y),J}).then(function(J){var Q=[yZ.Promise.resolve(J)],K=J.files;if(I.checkCRC32)for(var q=0;q<K.length;q++)Q.push(Cx0(K[q]));return yZ.Promise.all(Q)}).then(function(J){var Q=J.shift(),K=Q.files;for(var q=0;q<K.length;q++){var G=K[q],H=G.fileNameStr,W=OR.resolve(G.fileNameStr);if(U.file(W,G.decompressed,{binary:!0,optimizedBinaryString:!0,date:G.date,dir:G.dir,comment:G.fileCommentStr.length?G.fileCommentStr:null,unixPermissions:G.unixPermissions,dosPermissions:G.dosPermissions,createFolders:I.createFolders}),!G.dir)U.file(W).unsafeOriginalName=H}if(Q.zipComment.length)U.comment=Q.zipComment;return U})}});var NR=O((mM1,ja)=>{function T$(){if(!(this instanceof T$))return new T$;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 T$;for(var I in this)if(typeof this[I]!=="function")$[I]=this[I];return $}}T$.prototype=Qa();T$.prototype.loadAsync=Ca();T$.support=H5();T$.defaults=wB();T$.version="3.10.1";T$.loadAsync=function($,I){return new T$().loadAsync($,I)};T$.external=EU();ja.exports=T$});var xa=O((lM1,ha)=>{function _a($,I){var U=Object.keys($);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols($);I&&(Y=Y.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),U.push.apply(U,Y)}return U}function Sa($){for(var I=1;I<arguments.length;I++){var U=arguments[I]!=null?arguments[I]:{};I%2?_a(Object(U),!0).forEach(function(Y){jx0($,Y,U[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(U)):_a(Object(U)).forEach(function(Y){Object.defineProperty($,Y,Object.getOwnPropertyDescriptor(U,Y))})}return $}function jx0($,I,U){if(I=ya(I),I in $)Object.defineProperty($,I,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[I]=U;return $}function _x0($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}function ga($,I){for(var U=0;U<I.length;U++){var Y=I[U];if(Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y)Y.writable=!0;Object.defineProperty($,ya(Y.key),Y)}}function Sx0($,I,U){if(I)ga($.prototype,I);if(U)ga($,U);return Object.defineProperty($,"prototype",{writable:!1}),$}function ya($){var I=gx0($,"string");return typeof I==="symbol"?I:String(I)}function gx0($,I){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var Y=U.call($,I||"default");if(typeof Y!=="object")return Y;throw TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)($)}var yx0=r("buffer"),hZ=yx0.Buffer,hx0=r("util"),FR=hx0.inspect,xx0=FR&&FR.custom||"inspect";function kx0($,I,U){hZ.prototype.copy.call($,I,U)}ha.exports=function(){function $(){_x0(this,$),this.head=null,this.tail=null,this.length=0}return Sx0($,[{key:"push",value:function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length}},{key:"unshift",value:function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J}},{key:"concat",value:function(U){if(this.length===0)return hZ.alloc(0);var Y=hZ.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)kx0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y}},{key:"consume",value:function(U,Y){var J;if(U<this.head.data.length)J=this.head.data.slice(0,U),this.head.data=this.head.data.slice(U);else if(U===this.head.data.length)J=this.shift();else J=Y?this._getString(U):this._getBuffer(U);return J}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(U){var Y=this.head,J=1,Q=Y.data;U-=Q.length;while(Y=Y.next){var K=Y.data,q=U>K.length?K.length:U;if(q===K.length)Q+=K;else Q+=K.slice(0,U);if(U-=q,U===0){if(q===K.length)if(++J,Y.next)this.head=Y.next;else this.head=this.tail=null;else this.head=Y,Y.data=K.slice(q);break}++J}return this.length-=J,Q}},{key:"_getBuffer",value:function(U){var Y=hZ.allocUnsafe(U),J=this.head,Q=1;J.data.copy(Y),U-=J.data.length;while(J=J.next){var K=J.data,q=U>K.length?K.length:U;if(K.copy(Y,Y.length-U,0,q),U-=q,U===0){if(q===K.length)if(++Q,J.next)this.head=J.next;else this.head=this.tail=null;else this.head=J,J.data=K.slice(q);break}++Q}return this.length-=Q,Y}},{key:xx0,value:function(U,Y){return FR(this,Sa(Sa({},Y),{},{depth:0,customInspect:!1}))}}]),$}()});var AR=O((oM1,ua)=>{function ux0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)process.nextTick(MR,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(MR,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q)if(!U._writableState)process.nextTick(ka,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,process.nextTick(ka,U,Q);else process.nextTick(xZ,U);else if(I)process.nextTick(xZ,U),I(Q);else process.nextTick(xZ,U)}),this}function ka($,I){MR($,I),xZ($)}function xZ($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function fx0(){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 MR($,I){$.emit("error",I)}function bx0($,I){var{_readableState:U,_writableState:Y}=$;if(U&&U.autoDestroy||Y&&Y.autoDestroy)$.destroy(I);else $.emit("error",I)}ua.exports={destroy:ux0,undestroy:fx0,errorOrDestroy:bx0}});var E9=O((cx0,ia)=>{var ba={};function E$($,I,U){if(!U)U=Error;function Y(Q,K,q){if(typeof I==="string")return I;else return I(Q,K,q)}class J extends U{constructor(Q,K,q){super(Y(Q,K,q))}}J.prototype.name=U.name,J.prototype.code=$,ba[$]=J}function fa($,I){if(Array.isArray($)){let U=$.length;if($=$.map((Y)=>String(Y)),U>2)return`one of ${I} ${$.slice(0,U-1).join(", ")}, or `+$[U-1];else if(U===2)return`one of ${I} ${$[0]} or ${$[1]}`;else return`of ${I} ${$[0]}`}else return`of ${I} ${String($)}`}function ix0($,I,U){return $.substr(!U||U<0?0:+U,I.length)===I}function nx0($,I,U){if(U===void 0||U>$.length)U=$.length;return $.substring(U-I.length,U)===I}function px0($,I,U){if(typeof U!=="number")U=0;if(U+I.length>$.length)return!1;else return $.indexOf(I,U)!==-1}E$("ERR_INVALID_OPT_VALUE",function($,I){return'The value "'+I+'" is invalid for option "'+$+'"'},TypeError);E$("ERR_INVALID_ARG_TYPE",function($,I,U){let Y;if(typeof I==="string"&&ix0(I,"not "))Y="must not be",I=I.replace(/^not /,"");else Y="must be";let J;if(nx0($," argument"))J=`The ${$} ${Y} ${fa(I,"type")}`;else{let Q=px0($,".")?"property":"argument";J=`The "${$}" ${Q} ${Y} ${fa(I,"type")}`}return J+=`. Received type ${typeof U}`,J},TypeError);E$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");E$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});E$("ERR_STREAM_PREMATURE_CLOSE","Premature close");E$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});E$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");E$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");E$("ERR_STREAM_WRITE_AFTER_END","write after end");E$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);E$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");cx0.codes=ba});var PR=O((rM1,na)=>{var mx0=E9().codes.ERR_INVALID_OPT_VALUE;function lx0($,I,U){return $.highWaterMark!=null?$.highWaterMark:I?$[U]:null}function ox0($,I,U,Y){var J=lx0(I,Y,U);if(J!=null){if(!(isFinite(J)&&Math.floor(J)===J)||J<0){var Q=Y?U:"highWaterMark";throw new mx0(Q,J)}return Math.floor(J)}return $.objectMode?16:16384}na.exports={getHighWaterMark:ox0}});var BR=O((tM1,oa)=>{oa.exports=X4;function ca($){var I=this;this.next=null,this.entry=null,this.finish=function(){Mk0(I,$)}}var nU;X4.WritableState=a2;var rx0={deprecate:x7()},da=r("stream"),uZ=r("buffer").Buffer,tx0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ax0($){return uZ.from($)}function sx0($){return uZ.isBuffer($)||$ instanceof tx0}var ER=AR(),ex0=PR(),$k0=ex0.getHighWaterMark,B9=E9().codes,Ik0=B9.ERR_INVALID_ARG_TYPE,Uk0=B9.ERR_METHOD_NOT_IMPLEMENTED,Yk0=B9.ERR_MULTIPLE_CALLBACK,Jk0=B9.ERR_STREAM_CANNOT_PIPE,Qk0=B9.ERR_STREAM_DESTROYED,Kk0=B9.ERR_STREAM_NULL_VALUES,qk0=B9.ERR_STREAM_WRITE_AFTER_END,Gk0=B9.ERR_UNKNOWN_ENCODING,pU=ER.errorOrDestroy;p0()(X4,da);function Hk0(){}function a2($,I,U){if(nU=nU||t7(),$=$||{},typeof U!=="boolean")U=I instanceof nU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=$k0(this,$,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Y=$.decodeStrings===!1;this.decodeStrings=!Y,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(J){Lk0(I,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 ca(this)}a2.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(a2.prototype,"buffer",{get:rx0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var kZ;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")kZ=Function.prototype[Symbol.hasInstance],Object.defineProperty(X4,Symbol.hasInstance,{value:function(I){if(kZ.call(this,I))return!0;if(this!==X4)return!1;return I&&I._writableState instanceof a2}});else kZ=function(I){return I instanceof this};function X4($){nU=nU||t7();var I=this instanceof nU;if(!I&&!kZ.call(X4,this))return new X4($);if(this._writableState=new a2($,this,I),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}da.call(this)}X4.prototype.pipe=function(){pU(this,new Jk0)};function Wk0($,I){var U=new qk0;pU($,U),process.nextTick(I,U)}function Vk0($,I,U,Y){var J;if(U===null)J=new Kk0;else if(typeof U!=="string"&&!I.objectMode)J=new Ik0("chunk",["string","Buffer"],U);if(J)return pU($,J),process.nextTick(Y,J),!1;return!0}X4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&sx0($);if(Q&&!uZ.isBuffer($))$=ax0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=Hk0;if(Y.ending)Wk0(this,U);else if(Q||Vk0(this,Y,$,U))Y.pendingcb++,J=zk0(this,Y,Q,$,I,U);return J};X4.prototype.cork=function(){this._writableState.corked++};X4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)ma(this,$)}};X4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw new Gk0(I);return this._writableState.defaultEncoding=I,this};Object.defineProperty(X4.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Zk0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=uZ.from(I,U);return I}Object.defineProperty(X4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function zk0($,I,U,Y,J,Q){if(!U){var K=Zk0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else TR($,I,!1,q,Y,J,Q);return G}function TR($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,I.destroyed)I.onwrite(new Qk0("write"));else if(U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function Xk0($,I,U,Y,J){if(--I.pendingcb,U)process.nextTick(J,Y),process.nextTick(t2,$,I),$._writableState.errorEmitted=!0,pU($,Y);else J(Y),$._writableState.errorEmitted=!0,pU($,Y),t2($,I)}function wk0($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function Lk0($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(typeof J!=="function")throw new Yk0;if(wk0(U),I)Xk0($,U,Y,I,J);else{var Q=la(U)||$.destroyed;if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)ma($,U);if(Y)process.nextTick(pa,$,U,Q,J);else pa($,U,Q,J)}}function pa($,I,U,Y){if(!U)Dk0($,I);I.pendingcb--,Y(),t2($,I)}function Dk0($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function ma($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,TR($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new ca(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(TR($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}X4.prototype._write=function($,I,U){U(new Uk0("_write()"))};X4.prototype._writev=null;X4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)Fk0(this,Y,U);return this};Object.defineProperty(X4.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function la($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function Ok0($,I){$._final(function(U){if(I.pendingcb--,U)pU($,U);I.prefinished=!0,$.emit("prefinish"),t2($,I)})}function Nk0($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function"&&!I.destroyed)I.pendingcb++,I.finalCalled=!0,process.nextTick(Ok0,$,I);else I.prefinished=!0,$.emit("prefinish")}function t2($,I){var U=la(I);if(U){if(Nk0($,I),I.pendingcb===0){if(I.finished=!0,$.emit("finish"),I.autoDestroy){var Y=$._readableState;if(!Y||Y.autoDestroy&&Y.endEmitted)$.destroy()}}}return U}function Fk0($,I,U){if(I.ending=!0,t2($,I),U)if(I.finished)process.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function Mk0($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(X4.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(I){if(!this._writableState)return;this._writableState.destroyed=I}});X4.prototype.destroy=ER.destroy;X4.prototype._undestroy=ER.undestroy;X4.prototype._destroy=function($,I){I($)}});var t7=O((aM1,ta)=>{var Ak0=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};ta.exports=E8;var ra=vR(),RR=BR();p0()(E8,ra);{fZ=Ak0(RR.prototype);for(s2=0;s2<fZ.length;s2++)if(e2=fZ[s2],!E8.prototype[e2])E8.prototype[e2]=RR.prototype[e2]}var fZ,e2,s2;function E8($){if(!(this instanceof E8))return new E8($);if(ra.call(this,$),RR.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",Pk0)}}Object.defineProperty(E8.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});Object.defineProperty(E8.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(E8.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Pk0(){if(this._writableState.ended)return;process.nextTick(Tk0,this)}function Tk0($){$.end()}Object.defineProperty(E8.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(I){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=I,this._writableState.destroyed=I}})});var ea=O((CR,sa)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var bZ=r("buffer"),B8=bZ.Buffer;function aa($,I){for(var U in $)I[U]=$[U]}if(B8.from&&B8.alloc&&B8.allocUnsafe&&B8.allocUnsafeSlow)sa.exports=bZ;else aa(bZ,CR),CR.Buffer=a7;function a7($,I,U){return B8($,I,U)}a7.prototype=Object.create(B8.prototype);aa(B8,a7);a7.from=function($,I,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return B8($,I,U)};a7.alloc=function($,I,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var Y=B8($);if(I!==void 0)if(typeof U==="string")Y.fill(I,U);else Y.fill(I);else Y.fill(0);return Y};a7.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return B8($)};a7.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return bZ.SlowBuffer($)}});var SR=O((uk0)=>{var _R=ea().Buffer,$s=_R.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 Ek0($){if(!$)return"utf8";var I;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(I)return;$=(""+$).toLowerCase(),I=!0}}function Bk0($){var I=Ek0($);if(typeof I!=="string"&&(_R.isEncoding===$s||!$s($)))throw Error("Unknown encoding: "+$);return I||$}uk0.StringDecoder=$K;function $K($){this.encoding=Bk0($);var I;switch(this.encoding){case"utf16le":this.text=Sk0,this.end=gk0,I=4;break;case"utf8":this.fillLast=Ck0,I=4;break;case"base64":this.text=yk0,this.end=hk0,I=3;break;default:this.write=xk0,this.end=kk0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=_R.allocUnsafe(I)}$K.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};$K.prototype.end=_k0;$K.prototype.text=jk0;$K.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 jR($){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 Rk0($,I,U){var Y=I.length-1;if(Y<U)return 0;var J=jR(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=jR(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=jR(I[Y]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function vk0($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function Ck0($){var I=this.lastTotal-this.lastNeed,U=vk0(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function jk0($,I){var U=Rk0(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function _k0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function Sk0($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function gk0($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function yk0($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function hk0($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function xk0($){return $.toString(this.encoding)}function kk0($){return $&&$.length?this.write($):""}});var iZ=O((eM1,Ys)=>{var Is=E9().codes.ERR_STREAM_PREMATURE_CLOSE;function bk0($){var I=!1;return function(){if(I)return;I=!0;for(var U=arguments.length,Y=Array(U),J=0;J<U;J++)Y[J]=arguments[J];$.apply(this,Y)}}function ik0(){}function nk0($){return $.setHeader&&typeof $.abort==="function"}function Us($,I,U){if(typeof I==="function")return Us($,null,I);if(!I)I={};U=bk0(U||ik0);var Y=I.readable||I.readable!==!1&&$.readable,J=I.writable||I.writable!==!1&&$.writable,Q=function(){if(!$.writable)q()},K=$._writableState&&$._writableState.finished,q=function(){if(J=!1,K=!0,!Y)U.call($)},G=$._readableState&&$._readableState.endEmitted,H=function(){if(Y=!1,G=!0,!J)U.call($)},W=function(w){U.call($,w)},V=function(){var w;if(Y&&!G){if(!$._readableState||!$._readableState.ended)w=new Is;return U.call($,w)}if(J&&!K){if(!$._writableState||!$._writableState.ended)w=new Is;return U.call($,w)}},z=function(){$.req.on("finish",q)};if(nk0($))if($.on("complete",q),$.on("abort",V),$.req)z();else $.on("request",z);else if(J&&!$._writableState)$.on("end",Q),$.on("close",Q);if($.on("end",H),$.on("finish",q),I.error!==!1)$.on("error",W);return $.on("close",V),function(){if($.removeListener("complete",q),$.removeListener("abort",V),$.removeListener("request",z),$.req)$.req.removeListener("finish",q);$.removeListener("end",Q),$.removeListener("close",Q),$.removeListener("finish",q),$.removeListener("end",H),$.removeListener("error",W),$.removeListener("close",V)}}Ys.exports=Us});var Qs=O(($A1,Js)=>{var nZ;function R9($,I,U){if(I=pk0(I),I in $)Object.defineProperty($,I,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[I]=U;return $}function pk0($){var I=ck0($,"string");return typeof I==="symbol"?I:String(I)}function ck0($,I){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var Y=U.call($,I||"default");if(typeof Y!=="object")return Y;throw TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)($)}var dk0=iZ(),v9=Symbol("lastResolve"),s7=Symbol("lastReject"),IK=Symbol("error"),pZ=Symbol("ended"),e7=Symbol("lastPromise"),gR=Symbol("handlePromise"),$3=Symbol("stream");function C9($,I){return{value:$,done:I}}function mk0($){var I=$[v9];if(I!==null){var U=$[$3].read();if(U!==null)$[e7]=null,$[v9]=null,$[s7]=null,I(C9(U,!1))}}function lk0($){process.nextTick(mk0,$)}function ok0($,I){return function(U,Y){$.then(function(){if(I[pZ]){U(C9(void 0,!0));return}I[gR](U,Y)},Y)}}var rk0=Object.getPrototypeOf(function(){}),tk0=Object.setPrototypeOf((nZ={get stream(){return this[$3]},next:function(){var I=this,U=this[IK];if(U!==null)return Promise.reject(U);if(this[pZ])return Promise.resolve(C9(void 0,!0));if(this[$3].destroyed)return new Promise(function(K,q){process.nextTick(function(){if(I[IK])q(I[IK]);else K(C9(void 0,!0))})});var Y=this[e7],J;if(Y)J=new Promise(ok0(Y,this));else{var Q=this[$3].read();if(Q!==null)return Promise.resolve(C9(Q,!1));J=new Promise(this[gR])}return this[e7]=J,J}},R9(nZ,Symbol.asyncIterator,function(){return this}),R9(nZ,"return",function(){var I=this;return new Promise(function(U,Y){I[$3].destroy(null,function(J){if(J){Y(J);return}U(C9(void 0,!0))})})}),nZ),rk0),ak0=function(I){var U,Y=Object.create(tk0,(U={},R9(U,$3,{value:I,writable:!0}),R9(U,v9,{value:null,writable:!0}),R9(U,s7,{value:null,writable:!0}),R9(U,IK,{value:null,writable:!0}),R9(U,pZ,{value:I._readableState.endEmitted,writable:!0}),R9(U,gR,{value:function(Q,K){var q=Y[$3].read();if(q)Y[e7]=null,Y[v9]=null,Y[s7]=null,Q(C9(q,!1));else Y[v9]=Q,Y[s7]=K},writable:!0}),U));return Y[e7]=null,dk0(I,function(J){if(J&&J.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Q=Y[s7];if(Q!==null)Y[e7]=null,Y[v9]=null,Y[s7]=null,Q(J);Y[IK]=J;return}var K=Y[v9];if(K!==null)Y[e7]=null,Y[v9]=null,Y[s7]=null,K(C9(void 0,!0));Y[pZ]=!0}),I.on("readable",lk0.bind(null,Y)),Y};Js.exports=ak0});var Hs=O((IA1,Gs)=>{function Ks($,I,U,Y,J,Q,K){try{var q=$[Q](K),G=q.value}catch(H){U(H);return}if(q.done)I(G);else Promise.resolve(G).then(Y,J)}function sk0($){return function(){var I=this,U=arguments;return new Promise(function(Y,J){var Q=$.apply(I,U);function K(G){Ks(Q,Y,J,K,q,"next",G)}function q(G){Ks(Q,Y,J,K,q,"throw",G)}K(void 0)})}}function qs($,I){var U=Object.keys($);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols($);I&&(Y=Y.filter(function(J){return Object.getOwnPropertyDescriptor($,J).enumerable})),U.push.apply(U,Y)}return U}function ek0($){for(var I=1;I<arguments.length;I++){var U=arguments[I]!=null?arguments[I]:{};I%2?qs(Object(U),!0).forEach(function(Y){$u0($,Y,U[Y])}):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(U)):qs(Object(U)).forEach(function(Y){Object.defineProperty($,Y,Object.getOwnPropertyDescriptor(U,Y))})}return $}function $u0($,I,U){if(I=Iu0(I),I in $)Object.defineProperty($,I,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[I]=U;return $}function Iu0($){var I=Uu0($,"string");return typeof I==="symbol"?I:String(I)}function Uu0($,I){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var Y=U.call($,I||"default");if(typeof Y!=="object")return Y;throw TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)($)}var Yu0=E9().codes.ERR_INVALID_ARG_TYPE;function Ju0($,I,U){var Y;if(I&&typeof I.next==="function")Y=I;else if(I&&I[Symbol.asyncIterator])Y=I[Symbol.asyncIterator]();else if(I&&I[Symbol.iterator])Y=I[Symbol.iterator]();else throw new Yu0("iterable",["Iterable"],I);var J=new $(ek0({objectMode:!0},U)),Q=!1;J._read=function(){if(!Q)Q=!0,K()};function K(){return q.apply(this,arguments)}function q(){return q=sk0(function*(){try{var G=yield Y.next(),H=G.value,W=G.done;if(W)J.push(null);else if(J.push(yield H))K();else Q=!1}catch(V){J.destroy(V)}}),q.apply(this,arguments)}return J}Gs.exports=Ju0});var vR=O((YA1,Ns)=>{Ns.exports=X1;var cU;X1.ReadableState=zs;var UA1=r("events").EventEmitter,Zs=function(I,U){return I.listeners(U).length},YK=r("stream"),cZ=r("buffer").Buffer,Qu0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ku0($){return cZ.from($)}function qu0($){return cZ.isBuffer($)||$ instanceof Qu0}var yR=r("util"),I1;if(yR&&yR.debuglog)I1=yR.debuglog("stream");else I1=function(){};var Gu0=xa(),iR=AR(),Hu0=PR(),Wu0=Hu0.getHighWaterMark,dZ=E9().codes,Vu0=dZ.ERR_INVALID_ARG_TYPE,Zu0=dZ.ERR_STREAM_PUSH_AFTER_EOF,zu0=dZ.ERR_METHOD_NOT_IMPLEMENTED,Xu0=dZ.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,dU,hR,xR;p0()(X1,YK);var UK=iR.errorOrDestroy,kR=["error","close","destroy","pause","resume"];function wu0($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(Array.isArray($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function zs($,I,U){if(cU=cU||t7(),$=$||{},typeof U!=="boolean")U=I instanceof cU;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=Wu0(this,$,"readableHighWaterMark",U),this.buffer=new Gu0,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(!dU)dU=SR().StringDecoder;this.decoder=new dU($.encoding),this.encoding=$.encoding}}function X1($){if(cU=cU||t7(),!(this instanceof X1))return new X1($);var I=this instanceof cU;if(this._readableState=new zs($,this,I),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}YK.call(this)}Object.defineProperty(X1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(I){if(!this._readableState)return;this._readableState.destroyed=I}});X1.prototype.destroy=iR.destroy;X1.prototype._undestroy=iR.undestroy;X1.prototype._destroy=function($,I){I($)};X1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=cZ.from($,I),I="";Y=!0}}else Y=!0;return Xs(this,$,I,!1,Y)};X1.prototype.unshift=function($){return Xs(this,$,null,!0,!1)};function Xs($,I,U,Y,J){I1("readableAddChunk",I);var Q=$._readableState;if(I===null)Q.reading=!1,Ou0($,Q);else{var K;if(!J)K=Lu0(Q,I);if(K)UK($,K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==cZ.prototype)I=Ku0(I);if(Y)if(Q.endEmitted)UK($,new Xu0);else uR($,Q,I,!0);else if(Q.ended)UK($,new Zu0);else if(Q.destroyed)return!1;else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)uR($,Q,I,!1);else bR($,Q);else uR($,Q,I,!1)}else if(!Y)Q.reading=!1,bR($,Q)}return!Q.ended&&(Q.length<Q.highWaterMark||Q.length===0)}function uR($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)I.awaitDrain=0,$.emit("data",U);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)mZ($)}bR($,I)}function Lu0($,I){var U;if(!qu0(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=new Vu0("chunk",["string","Buffer","Uint8Array"],I);return U}X1.prototype.isPaused=function(){return this._readableState.flowing===!1};X1.prototype.setEncoding=function($){if(!dU)dU=SR().StringDecoder;var I=new dU($);this._readableState.decoder=I,this._readableState.encoding=this._readableState.decoder.encoding;var U=this._readableState.buffer.head,Y="";while(U!==null)Y+=I.write(U.data),U=U.next;if(this._readableState.buffer.clear(),Y!=="")this._readableState.buffer.push(Y);return this._readableState.length=Y.length,this};var Ws=1073741824;function Du0($){if($>=Ws)$=Ws;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function Vs($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=Du0($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}X1.prototype.read=function($){I1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&((I.highWaterMark!==0?I.length>=I.highWaterMark:I.length>0)||I.ended)){if(I1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)fR(this);else mZ(this);return null}if($=Vs($,I),$===0&&I.ended){if(I.length===0)fR(this);return null}var Y=I.needReadable;if(I1("need readable",Y),I.length===0||I.length-$<I.highWaterMark)Y=!0,I1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,I1("reading or ended",Y);else if(Y){if(I1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=Vs(U,I)}var J;if($>0)J=Ds($,I);else J=null;if(J===null)I.needReadable=I.length<=I.highWaterMark,$=0;else I.length-=$,I.awaitDrain=0;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)fR(this)}if(J!==null)this.emit("data",J);return J};function Ou0($,I){if(I1("onEofChunk"),I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}if(I.ended=!0,I.sync)mZ($);else if(I.needReadable=!1,!I.emittedReadable)I.emittedReadable=!0,ws($)}function mZ($){var I=$._readableState;if(I1("emitReadable",I.needReadable,I.emittedReadable),I.needReadable=!1,!I.emittedReadable)I1("emitReadable",I.flowing),I.emittedReadable=!0,process.nextTick(ws,$)}function ws($){var I=$._readableState;if(I1("emitReadable_",I.destroyed,I.length,I.ended),!I.destroyed&&(I.length||I.ended))$.emit("readable"),I.emittedReadable=!1;I.needReadable=!I.flowing&&!I.ended&&I.length<=I.highWaterMark,nR($)}function bR($,I){if(!I.readingMore)I.readingMore=!0,process.nextTick(Nu0,$,I)}function Nu0($,I){while(!I.reading&&!I.ended&&(I.length<I.highWaterMark||I.flowing&&I.length===0)){var U=I.length;if(I1("maybeReadMore read 0"),$.read(0),U===I.length)break}I.readingMore=!1}X1.prototype._read=function($){UK(this,new zu0("_read()"))};X1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,I1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:L;if(Y.endEmitted)process.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(D,N){if(I1("onunpipe"),D===U){if(N&&N.hasUnpiped===!1)N.hasUnpiped=!0,W()}}function q(){I1("onend"),$.end()}var G=Fu0(U);$.on("drain",G);var H=!1;function W(){if(I1("cleanup"),$.removeListener("close",Z),$.removeListener("finish",w),$.removeListener("drain",G),$.removeListener("error",z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",L),U.removeListener("data",V),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}U.on("data",V);function V(D){I1("ondata");var N=$.write(D);if(I1("dest.write",N),N===!1){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&Os(Y.pipes,$)!==-1)&&!H)I1("false write response, pause",Y.awaitDrain),Y.awaitDrain++;U.pause()}}function z(D){if(I1("onerror",D),L(),$.removeListener("error",z),Zs($,"error")===0)UK($,D)}wu0($,"error",z);function Z(){$.removeListener("finish",w),L()}$.once("close",Z);function w(){I1("onfinish"),$.removeListener("close",Z),L()}$.once("finish",w);function L(){I1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)I1("pipe resume"),U.resume();return $};function Fu0($){return function(){var U=$._readableState;if(I1("pipeOnDrain",U.awaitDrain),U.awaitDrain)U.awaitDrain--;if(U.awaitDrain===0&&Zs($,"data"))U.flowing=!0,nR($)}}X1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=Os(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};X1.prototype.on=function($,I){var U=YK.prototype.on.call(this,$,I),Y=this._readableState;if($==="data"){if(Y.readableListening=this.listenerCount("readable")>0,Y.flowing!==!1)this.resume()}else if($==="readable"){if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.flowing=!1,Y.emittedReadable=!1,I1("on readable",Y.length,Y.reading),Y.length)mZ(this);else if(!Y.reading)process.nextTick(Mu0,this)}}return U};X1.prototype.addListener=X1.prototype.on;X1.prototype.removeListener=function($,I){var U=YK.prototype.removeListener.call(this,$,I);if($==="readable")process.nextTick(Ls,this);return U};X1.prototype.removeAllListeners=function($){var I=YK.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(Ls,this);return I};function Ls($){var I=$._readableState;if(I.readableListening=$.listenerCount("readable")>0,I.resumeScheduled&&!I.paused)I.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function Mu0($){I1("readable nexttick read 0"),$.read(0)}X1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)I1("resume"),$.flowing=!$.readableListening,Au0(this,$);return $.paused=!1,this};function Au0($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,process.nextTick(Pu0,$,I)}function Pu0($,I){if(I1("resume",I.reading),!I.reading)$.read(0);if(I.resumeScheduled=!1,$.emit("resume"),nR($),I.flowing&&!I.reading)$.read(0)}X1.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._readableState.paused=!0,this};function nR($){var I=$._readableState;I1("flow",I.flowing);while(I.flowing&&$.read()!==null);}X1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(I1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(I1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!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 Q=0;Q<kR.length;Q++)$.on(kR[Q],this.emit.bind(this,kR[Q]));return this._read=function(K){if(I1("wrapped _read",K),Y)Y=!1,$.resume()},this};if(typeof Symbol==="function")X1.prototype[Symbol.asyncIterator]=function(){if(hR===void 0)hR=Qs();return hR(this)};Object.defineProperty(X1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});Object.defineProperty(X1.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(X1.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(I){if(this._readableState)this._readableState.flowing=I}});X1._fromList=Ds;Object.defineProperty(X1.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Ds($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.first();else U=I.buffer.concat(I.length);I.buffer.clear()}else U=I.buffer.consume($,I.decoder);return U}function fR($){var I=$._readableState;if(I1("endReadable",I.endEmitted),!I.endEmitted)I.ended=!0,process.nextTick(Tu0,I,$)}function Tu0($,I){if(I1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,I.readable=!1,I.emit("end"),$.autoDestroy){var U=I._writableState;if(!U||U.autoDestroy&&U.finished)I.destroy()}}}if(typeof Symbol==="function")X1.from=function($,I){if(xR===void 0)xR=Hs();return xR(X1,$,I)};function Os($,I){for(var U=0,Y=$.length;U<Y;U++)if($[U]===I)return U;return-1}});var pR=O((JA1,Ms)=>{Ms.exports=X5;var lZ=E9().codes,Eu0=lZ.ERR_METHOD_NOT_IMPLEMENTED,Bu0=lZ.ERR_MULTIPLE_CALLBACK,Ru0=lZ.ERR_TRANSFORM_ALREADY_TRANSFORMING,vu0=lZ.ERR_TRANSFORM_WITH_LENGTH_0,oZ=t7();p0()(X5,oZ);function Cu0($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(Y===null)return this.emit("error",new Bu0);if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function X5($){if(!(this instanceof X5))return new X5($);if(oZ.call(this,$),this._transformState={afterTransform:Cu0.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",ju0)}function ju0(){var $=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(I,U){Fs($,I,U)});else Fs(this,null,null)}X5.prototype.push=function($,I){return this._transformState.needTransform=!1,oZ.prototype.push.call(this,$,I)};X5.prototype._transform=function($,I,U){U(new Eu0("_transform()"))};X5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};X5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};X5.prototype._destroy=function($,I){oZ.prototype._destroy.call(this,$,function(U){I(U)})};function Fs($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);if($._writableState.length)throw new vu0;if($._transformState.transforming)throw new Ru0;return $.push(null)}});var Ts=O((QA1,Ps)=>{Ps.exports=JK;var As=pR();p0()(JK,As);function JK($){if(!(this instanceof JK))return new JK($);As.call(this,$)}JK.prototype._transform=function($,I,U){U(null,$)}});var Cs=O((KA1,vs)=>{var cR;function _u0($){var I=!1;return function(){if(I)return;I=!0,$.apply(void 0,arguments)}}var Rs=E9().codes,Su0=Rs.ERR_MISSING_ARGS,gu0=Rs.ERR_STREAM_DESTROYED;function Es($){if($)throw $}function yu0($){return $.setHeader&&typeof $.abort==="function"}function hu0($,I,U,Y){Y=_u0(Y);var J=!1;if($.on("close",function(){J=!0}),cR===void 0)cR=iZ();cR($,{readable:I,writable:U},function(K){if(K)return Y(K);J=!0,Y()});var Q=!1;return function(K){if(J)return;if(Q)return;if(Q=!0,yu0($))return $.abort();if(typeof $.destroy==="function")return $.destroy();Y(K||new gu0("pipe"))}}function Bs($){$()}function xu0($,I){return $.pipe(I)}function ku0($){if(!$.length)return Es;if(typeof $[$.length-1]!=="function")return Es;return $.pop()}function uu0(){for(var $=arguments.length,I=Array($),U=0;U<$;U++)I[U]=arguments[U];var Y=ku0(I);if(Array.isArray(I[0]))I=I[0];if(I.length<2)throw new Su0("streams");var J,Q=I.map(function(K,q){var G=q<I.length-1,H=q>0;return hu0(K,G,H,function(W){if(!J)J=W;if(W)Q.forEach(Bs);if(G)return;Q.forEach(Bs),Y(J)})});return I.reduce(xu0)}vs.exports=uu0});var w6=O((B$,KK)=>{var QK=r("stream");if(process.env.READABLE_STREAM==="disable"&&QK)KK.exports=QK.Readable,Object.assign(KK.exports,QK),KK.exports.Stream=QK;else B$=KK.exports=vR(),B$.Stream=QK||B$,B$.Readable=B$,B$.Writable=BR(),B$.Duplex=t7(),B$.Transform=pR(),B$.PassThrough=Ts(),B$.finished=iZ(),B$.pipeline=Cs()});var L6=O((qA1,Ss)=>{var js=r("fs"),fu0=function($,I,U,Y){if($.super_=I,!Y)Y=U,U=null;if(U)Object.keys(U).forEach((Q)=>{Object.defineProperty($,Q,Object.getOwnPropertyDescriptor(U,Q))});let J={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(Y)Object.keys(Y).forEach((Q)=>{J[Q]=Object.getOwnPropertyDescriptor(Y,Q)});$.prototype=Object.create(I.prototype,J)},bu0=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,_s={nop(){},promiseImmediate($){return new Promise((I)=>{if(global.setImmediate)setImmediate(()=>{I($)});else setTimeout(()=>{I($)},1)})},inherits:fu0,dateToExcel($,I){return 25569+$.getTime()/86400000-(I?1462:0)},excelToDate($,I){let U=Math.round(($-25569+(I?1462:0))*24*3600*1000);return new Date(U)},parsePath($){let I=$.lastIndexOf("/");return{path:$.substring(0,I),name:$.substring(I+1)}},getRelsPath($){let I=_s.parsePath($);return`${I.path}/_rels/${I.name}.rels`},xmlEncode($){let I=bu0.exec($);if(!I)return $;let U="",Y="",J=0,Q=I.index;for(;Q<$.length;Q++){let K=$.charCodeAt(Q);switch(K){case 34:Y="&quot;";break;case 38:Y="&amp;";break;case 39:Y="&apos;";break;case 60:Y="&lt;";break;case 62:Y="&gt;";break;case 127:Y="";break;default:{if(K<=31&&(K<=8||K>=11&&K!==13)){Y="";break}continue}}if(J!==Q)U+=$.substring(J,Q);if(J=Q+1,Y)U+=Y}if(J!==Q)return U+$.substring(J,Q);return U},xmlDecode($){return $.replace(/&([a-z]*);/g,(I)=>{switch(I){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return I}})},validInt($){let I=parseInt($,10);return!Number.isNaN(I)?I:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((I)=>{js.access($,js.constants.F_OK,(U)=>{I(!U)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};Ss.exports=_s});var dR=O((GA1,ys)=>{class gs{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 I=this._buf.length*2;while(I<$)I*=2;let U=Buffer.alloc(I);this._buf.copy(U,0),this._buf=U}addText($){this._buffer=void 0;let I=this._inPos+this._buf.write($,this._inPos,this._encoding);while(I>=this._buf.length-4)this._grow(this._inPos+$.length),I=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=I}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}}}ys.exports=gs});var qK=O((HA1,is)=>{var iu0=w6(),hs=L6(),nu0=dR();class xs{constructor($,I){this._data=$,this._encoding=I}get length(){return this.toBuffer().length}copy($,I,U,Y){return this.toBuffer().copy($,I,U,Y)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class ks{constructor($){this._data=$}get length(){return this._data.length}copy($,I,U,Y){return this._data._buf.copy($,I,U,Y)}toBuffer(){return this._data.toBuffer()}}class us{constructor($){this._data=$}get length(){return this._data.length}copy($,I,U,Y){this._data.copy($,I,U,Y)}toBuffer(){return this._data}}class fs{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 I;if($===0)return null;if($===void 0||$>=this.length)return I=this.toBuffer(),this.iRead=this.iWrite,I;return I=Buffer.alloc($),this.buffer.copy(I,0,this.iRead,$),this.iRead+=$,I}write($,I,U){let Y=Math.min(U,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,I,I+Y),this.iWrite+=Y,Y}}var bs=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};hs.inherits(bs,iu0.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 I=this.buffers[this.buffers.length-1];if(!I.full)return I}let $=new fs(this.bufSize);return this.buffers.push($),$},async _pipe($){let I=function(U){return new Promise((Y)=>{U.write($.toBuffer(),()=>{Y()})})};await Promise.all(this.pipes.map(I))},_writeToBuffers($){let I=0,U=$.length;while(I<U){let Y=this._getWritableBuffer();I+=Y.write($,I,U-I)}},async write($,I,U){if(I instanceof Function)U=I,I="utf8";U=U||hs.nop;let Y;if($ instanceof nu0)Y=new ks($);else if($ instanceof Buffer)Y=new us($);else if(typeof $==="string"||$ instanceof String||$ instanceof ArrayBuffer)Y=new xs($,I);else throw Error("Chunk must be one of type String, Buffer or StringBuf.");if(this.pipes.length)if(this.batch){this._writeToBuffers(Y);while(!this.corked&&this.buffers.length>1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(Y),U();else this._writeToBuffers(Y),process.nextTick(U);else{if(!this.paused)this.emit("data",Y.toBuffer());this._writeToBuffers(Y),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($,I,U){let Y=(J)=>{if(J)U(J);else this._flush(),this.pipes.forEach((Q)=>{Q.end()}),this.emit("finish")};if($)this.write($,I,Y);else Y()},read($){let I;if($){I=[];while($&&this.buffers.length&&!this.buffers[0].eod){let U=this.buffers[0],Y=U.read($);if($-=Y.length,I.push(Y),U.eod&&U.full)this.buffers.shift()}return Buffer.concat(I)}return I=this.buffers.map((U)=>U.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(I)},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((I)=>I!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});is.exports=bs});var cs=O((cu0)=>{var ns=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:ps}=r("buffer");function pu0($){if(typeof $!=="string")return $;if(ns)return ps.from(ns.encode($).buffer);return ps.from($)}cu0.stringToBuffer=pu0});var ls=O((ZA1,ms)=>{var mu0=r("events"),lu0=NR(),ou0=qK(),{stringToBuffer:VA1}=cs();class ds extends mu0.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new lu0,this.stream=new ou0}append($,I){if(I.hasOwnProperty("base64")&&I.base64)this.zip.file(I.name,$,{base64:!0});else this.zip.file(I.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($,I){return this.stream.pipe($,I)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}ms.exports={ZipWriter:ds}});var $6=O((zA1,ts)=>{var ru0=z4(),os=L6();function rs($,I,U){$.push(` ${I}="${os.xmlEncode(U.toString())}"`)}function mR($,I){if(I){let U=[];ru0.each(I,(Y,J)=>{if(Y!==void 0)rs(U,J,Y)}),$.push(U.join(""))}}class lR{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 I=this._xml;I.push("<?xml"),mR(I,$),I.push(`?>
`)}openNode($,I){let U=this.tos,Y=this._xml;if(U&&this.open)Y.push(">");this._stack.push($),Y.push("<"),Y.push($),mR(Y,I),this.leaf=!0,this.open=!0}addAttribute($,I){if(!this.open)throw Error("Cannot write attributes to node if it is not open");if(I!==void 0)rs(this._xml,$,I)}addAttributes($){if(!this.open)throw Error("Cannot write attributes to node if it is not open");mR(this._xml,$)}writeText($){let I=this._xml;if(this.open)I.push(">"),this.open=!1;this.leaf=!1,I.push(os.xmlEncode($.toString()))}writeXml($){if(this.open)this._xml.push(">"),this.open=!1;this.leaf=!1,this._xml.push($)}closeNode(){let $=this._stack.pop(),I=this._xml;if(this.leaf)I.push("/>");else I.push("</"),I.push($),I.push(">");this.open=!1,this.leaf=!1}leafNode($,I,U){if(this.openNode($,I),U!==void 0)this.writeText(U);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("")}}lR.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"};ts.exports=lR});var oR=O((au0)=>{var as=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function tu0($){if(typeof $==="string")return $;if(as)return as.decode($);return $.toString()}au0.bufferToString=tu0});var Ue=O((es)=>{Object.defineProperty(es,"__esModule",{value:!0});es.CHAR=`
\r -퟿-�\uD800\uDC00-\uDBFF\uDFFF`;es.S=` \r
`;es.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";es.NAME_CHAR="-"+es.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";es.CHAR_RE=new RegExp("^["+es.CHAR+"]$","u");es.S_RE=new RegExp("^["+es.S+"]+$","u");es.NAME_START_CHAR_RE=new RegExp("^["+es.NAME_START_CHAR+"]$","u");es.NAME_CHAR_RE=new RegExp("^["+es.NAME_CHAR+"]$","u");es.NAME_RE=new RegExp("^["+es.NAME_START_CHAR+"]["+es.NAME_CHAR+"]*$","u");es.NMTOKEN_RE=new RegExp("^["+es.NAME_CHAR+"]+$","u");var rR=9,tR=10,aR=13,sR=32;es.S_LIST=[sR,tR,aR,rR];function eu0($){return $>=sR&&$<=55295||$===tR||$===aR||$===rR||$>=57344&&$<=65533||$>=65536&&$<=1114111}es.isChar=eu0;function $f0($){return $===sR||$===tR||$===aR||$===rR}es.isS=$f0;function ss($){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}es.isNameStartChar=ss;function If0($){return ss($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}es.isNameChar=If0});var Ze=O((Ge)=>{Object.defineProperty(Ge,"__esModule",{value:!0});Ge.CHAR="\x01-퟿-�\uD800\uDC00-\uDBFF\uDFFF";Ge.RESTRICTED_CHAR="\x01-\b\v\f\x0E-\x1F-„†-Ÿ";Ge.S=` \r
`;Ge.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";Ge.NAME_CHAR="-"+Ge.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";Ge.CHAR_RE=new RegExp("^["+Ge.CHAR+"]$","u");Ge.RESTRICTED_CHAR_RE=new RegExp("^["+Ge.RESTRICTED_CHAR+"]$","u");Ge.S_RE=new RegExp("^["+Ge.S+"]+$","u");Ge.NAME_START_CHAR_RE=new RegExp("^["+Ge.NAME_START_CHAR+"]$","u");Ge.NAME_CHAR_RE=new RegExp("^["+Ge.NAME_CHAR+"]$","u");Ge.NAME_RE=new RegExp("^["+Ge.NAME_START_CHAR+"]["+Ge.NAME_CHAR+"]*$","u");Ge.NMTOKEN_RE=new RegExp("^["+Ge.NAME_CHAR+"]+$","u");var Ye=9,Je=10,Qe=13,Ke=32;Ge.S_LIST=[Ke,Je,Qe,Ye];function zf0($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}Ge.isChar=zf0;function Xf0($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}Ge.isRestrictedChar=Xf0;function wf0($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}Ge.isCharAndNotRestricted=wf0;function Lf0($){return $===Ke||$===Je||$===Qe||$===Ye}Ge.isS=Lf0;function qe($){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}Ge.isNameStartChar=qe;function Df0($){return qe($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}Ge.isNameChar=Df0});var we=O((Xe)=>{Object.defineProperty(Xe,"__esModule",{value:!0});Xe.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";Xe.NC_NAME_CHAR="-"+Xe.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";Xe.NC_NAME_START_CHAR_RE=new RegExp("^["+Xe.NC_NAME_START_CHAR+"]$","u");Xe.NC_NAME_CHAR_RE=new RegExp("^["+Xe.NC_NAME_CHAR+"]$","u");Xe.NC_NAME_RE=new RegExp("^["+Xe.NC_NAME_START_CHAR+"]["+Xe.NC_NAME_CHAR+"]*$","u");function ze($){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}Xe.isNCNameStartChar=ze;function Sf0($){return ze($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}Xe.isNCNameChar=Sf0});var ke=O((xe)=>{Object.defineProperty(xe,"__esModule",{value:!0});var tU=Ue(),uf0=Ze(),Zv=we(),p6=tU.isS,ff0=tU.isChar,GK=tU.isNameStartChar,Le=tU.isNameChar,je=tU.S_LIST,bf0=tU.NAME_RE,if0=uf0.isChar,nf0=Zv.isNCNameStartChar,pf0=Zv.isNCNameChar,cf0=Zv.NC_NAME_RE,Qz="http://www.w3.org/XML/1998/namespace",rU="http://www.w3.org/2000/xmlns/",df0={__proto__:null,xml:Qz,xmlns:rU},mf0={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},J4=-1,R8=-2,De=0,lf0=1,$v=2,of0=3,mU=4,rf0=5,tf0=6,af0=7,Iv=8,sf0=9,ef0=10,$b0=11,Ib0=12,v6=13,$z=14,Uv=15,Ub0=16,Yv=17,Yb0=18,Jb0=19,Jv=20,Qb0=21,Kb0=22,qb0=23,Oe=24,Qv=25,Iz=26,Ne=27,Gb0=28,Hb0=29,Fe=30,Wb0=31,Vb0=32,I3=33,Zb0=34,Kv=35,HK=36,qv=37,zb0=38,Me=39,Ae=40,Xb0=41,Pe=42,wb0=43,Lb0=44,Gv=9,s$=10,Hv=13,Te=32,Ee=33,_e=34,WK=38,Se=39,Uz=45,Yz=47,Db0=59,j9=60,lU=61,g4=62,I6=63,ge=91,oU=93,Be=133,Re=8232,Jz=($)=>$===_e||$===Se,ye=[_e,Se],Ob0=[...ye,ge,g4],Nb0=[...ye,j9,oU],Fb0=[lU,I6,...je],Mb0=[...je,g4,WK,j9];function Vv($,I,U){switch(I){case"xml":if(U!==Qz)$.fail(`xml prefix must be bound to ${Qz}.`);break;case"xmlns":if(U!==rU)$.fail(`xmlns prefix must be bound to ${rU}.`);break;default:}switch(U){case rU:$.fail(I===""?`the default namespace may not be set to ${U}.`:`may not assign a prefix (even "xmlns") to the URI ${rU}.`);break;case Qz:switch(I){case"xml":break;case"":$.fail(`the default namespace may not be set to ${U}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function Ab0($,I){for(let U of Object.keys(I))Vv($,U,I[U])}var Pb0=($)=>cf0.test($),Tb0=($)=>bf0.test($),U3=0,ve=1,Wv=2;xe.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var Ce={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 he{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let I=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,I){this.nameStartCheck=nf0,this.nameCheck=pf0,this.isName=Pb0,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},df0);let U=this.opt.additionalNamespaces;if(U!=null)Ab0(this,U),Object.assign(this.ns,U)}else this.nameStartCheck=GK,this.nameCheck=Le,this.isName=Tb0,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=U3,this.attribList=[];let{fragmentOpt:I}=this;this.state=I?v6:De,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=I,this.xmlDeclPossible=!I,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:U}=this.opt;if(U===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");U="1.0"}this.setXMLVersion(U),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(mf0),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,I){this[Ce[$]]=I}off($){this[Ce[$]]=void 0}makeError($){var I;let U=(I=this.fileName)!==null&&I!==void 0?I:"";if(this.trackPosition){if(U.length>0)U+=":";U+=`${this.line}:${this.column}`}if(U.length>0)U+=": ";return Error(U+$)}fail($){let I=this.makeError($),U=this.errorHandler;if(U===void 0)throw I;else U(I);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let I=!1;if($===null)I=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let U=$.length,Y=$.charCodeAt(U-1);if(!I&&(Y===Hv||Y>=55296&&Y<=56319))this.carriedFromPrevious=$[U-1],U--,$=$.slice(0,U);let{stateTable:J}=this;this.chunk=$,this.i=0;while(this.i<U)J[this.state].call(this);return this.chunkPosition+=U,I?this.end():this}close(){return this.write(null)}getCode10(){let{chunk:$,i:I}=this;if(this.prevI=I,this.i=I+1,I>=$.length)return J4;let U=$.charCodeAt(I);if(this.column++,U<55296){if(U>=Te||U===Gv)return U;switch(U){case s$:return this.line++,this.column=0,this.positionAtNewLine=this.position,s$;case Hv:if($.charCodeAt(I+1)===s$)this.i=I+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,R8;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let Y=65536+(U-55296)*1024+($.charCodeAt(I+1)-56320);if(this.i=I+2,Y>1114111)this.fail("disallowed character.");return Y}getCode11(){let{chunk:$,i:I}=this;if(this.prevI=I,this.i=I+1,I>=$.length)return J4;let U=$.charCodeAt(I);if(this.column++,U<55296){if(U>31&&U<127||U>159&&U!==Re||U===Gv)return U;switch(U){case s$:return this.line++,this.column=0,this.positionAtNewLine=this.position,s$;case Hv:{let J=$.charCodeAt(I+1);if(J===s$||J===Be)this.i=I+2}case Be:case Re:return this.line++,this.column=0,this.positionAtNewLine=this.position,R8;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let Y=65536+(U-55296)*1024+($.charCodeAt(I+1)-56320);if(this.i=I+2,Y>1114111)this.fail("disallowed character.");return Y}getCodeNorm(){let $=this.getCode();return $===R8?s$:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:I}=this,{chunk:U}=this;while(!0){let Y=this.getCode(),J=Y===R8,Q=J?s$:Y;if(Q===J4||$.includes(Q))return this.text+=U.slice(I,this.prevI),Q;if(J)this.text+=`${U.slice(I,this.prevI)}
`,I=this.i}}captureToChar($){let{i:I}=this,{chunk:U}=this;while(!0){let Y=this.getCode();switch(Y){case R8:this.text+=`${U.slice(I,this.prevI)}
`,I=this.i,Y=s$;break;case J4:return this.text+=U.slice(I),!1;default:}if(Y===$)return this.text+=U.slice(I,this.prevI),!0}}captureNameChars(){let{chunk:$,i:I}=this;while(!0){let U=this.getCode();if(U===J4)return this.name+=$.slice(I),J4;if(!Le(U))return this.name+=$.slice(I,this.prevI),U===R8?s$:U}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===J4||!p6($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=ff0,this.getCode=this.getCode10;else this.isChar=if0,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=lf0}sBeginWhitespace(){let $=this.i,I=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(I){case j9:if(this.state=Uv,this.text.length!==0)throw Error("no-empty text at start");break;case J4:break;default:this.unget(),this.state=v6,this.xmlDeclPossible=!1}}sDoctype(){var $;let I=this.captureTo(Ob0);switch(I){case g4:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=v6,this.doctype=!0;break}case J4:break;default:if(this.text+=String.fromCodePoint(I),I===ge)this.state=mU;else if(Jz(I))this.state=of0,this.q=I}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=$v}sDTD(){let $=this.captureTo(Nb0);if($===J4)return;if(this.text+=String.fromCodePoint($),$===oU)this.state=$v;else if($===j9)this.state=tf0;else if(Jz($))this.state=rf0,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=mU,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case Ee:this.state=af0,this.openWakaBang="";break;case I6:this.state=$b0;break;default:this.state=mU}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),I=this.openWakaBang+=$;if(this.text+=$,I!=="-")this.state=I==="--"?Iv:mU,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(Uz))this.text+="-",this.state=sf0}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===Uz?ef0:Iv}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===g4)this.state=mU;else this.fail("malformed comment."),this.state=Iv}sDTDPI(){if(this.captureToChar(I6))this.text+="?",this.state=Ib0}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===g4)this.state=mU}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:I}=this;$:while(!0)switch(this.getCode()){case R8:this.entity+=`${I.slice($,this.prevI)}
`,$=this.i;break;case Db0:{let{entityReturnState:U}=this,Y=this.entity+I.slice($,this.prevI);this.state=U;let J;if(Y==="")this.fail("empty entity name."),J="&;";else J=this.parseEntity(Y),this.entity="";if(U!==v6||this.textHandler!==void 0)this.text+=J;break $}case J4:this.entity+=I.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(GK($))this.state=Zb0,this.unget(),this.xmlDeclPossible=!1;else switch($){case Yz:this.state=wb0,this.xmlDeclPossible=!1;break;case Ee:this.state=Ub0,this.openWakaBang="",this.xmlDeclPossible=!1;break;case I6:this.state=qb0;break;default:this.fail("disallowed character in tag name"),this.state=v6,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=Jv,this.openWakaBang="";break;case"--":this.state=Yv,this.openWakaBang="";break;case"DOCTYPE":if(this.state=$v,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(Uz))this.state=Yb0}sCommentEnding(){var $;let I=this.getCodeNorm();if(I===Uz)this.state=Jb0,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(I)}`,this.state=Yv}sCommentEnded(){let $=this.getCodeNorm();if($!==g4)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=Yv;else this.state=v6}sCData(){if(this.captureToChar(oU))this.state=Qb0}sCDataEnding(){let $=this.getCodeNorm();if($===oU)this.state=Kb0;else this.text+=`]${String.fromCodePoint($)}`,this.state=Jv}sCDataEnding2(){var $;let I=this.getCodeNorm();switch(I){case g4:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=v6;break}case oU:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(I)}`,this.state=Jv}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=Oe;else if($===I6||p6($))this.fail("processing instruction without a target."),this.state=$===I6?Iz:Qv;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=Oe}sPIRest(){let{chunk:$,i:I}=this;while(!0){let U=this.getCodeNorm();if(U===J4){this.piTarget+=$.slice(I);return}if(!this.nameCheck(U)){this.piTarget+=$.slice(I,this.prevI);let Y=U===I6;if(Y||p6(U))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=Y?I3:Ne}else this.state=Y?Iz:Qv;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(U);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===I6)this.state=Iz;else if(!p6($))this.text=String.fromCodePoint($)}else if(this.captureToChar(I6))this.state=Iz}sPIEnding(){var $;let I=this.getCodeNorm();if(I===g4){let{piTarget:U}=this;if(U.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:U,body:this.text}),this.piTarget=this.text="",this.state=v6}else if(I===I6)this.text+="?";else this.text+=`?${String.fromCodePoint(I)}`,this.state=Qv;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===I6){this.state=I3;return}if($!==J4)this.state=Gb0,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(Fb0);if($===I6){this.state=I3,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(p6($)||$===lU))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=$===lU?Fe:Hb0}sXMLDeclEq(){let $=this.getCodeNorm();if($===I6){this.state=I3,this.fail("XML declaration is incomplete.");return}if(p6($))return;if($!==lU)this.fail("value required.");this.state=Fe}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===I6){this.state=I3,this.fail("XML declaration is incomplete.");return}if(p6($))return;if(!Jz($))this.fail("value must be quoted."),this.q=Te;else this.q=$;this.state=Wb0}sXMLDeclValue(){let $=this.captureTo([this.q,I6]);if($===I6){this.state=I3,this.text="",this.fail("XML declaration is incomplete.");return}if($===J4)return;let I=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let U=I;if(this.xmlDecl.version=U,!/^1\.[0-9]+$/.test(U))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(U);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(I))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=I;break;case"standalone":if(I!=="yes"&&I!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=I;break;default:}this.name="",this.state=Vb0}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===I6){this.state=I3;return}if(!p6($))this.fail("whitespace required."),this.unget();this.state=Ne}sXMLDeclEnding(){var $;if(this.getCodeNorm()===g4){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=v6}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let I=this.captureNameChars();if(I===J4)return;let U=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=U.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,U),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(I){case g4:this.openTag();break;case Yz:this.state=Kv;break;default:if(!p6(I))this.fail("disallowed character in tag name.");this.state=HK}}sOpenTagSlash(){if(this.getCode()===g4)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=HK}sAttrib(){let $=this.skipSpaces();if($===J4)return;if(GK($))this.unget(),this.state=qv;else if($===g4)this.openTag();else if($===Yz)this.state=Kv;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===lU)this.state=Me;else if(p6($))this.state=zb0;else if($===g4)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==J4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case J4:return;case lU:this.state=Me;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===g4)this.openTag();else if(GK($))this.unget(),this.state=qv;else this.fail("disallowed character in attribute name."),this.state=HK}}sAttribValue(){let $=this.getCodeNorm();if(Jz($))this.q=$,this.state=Ae;else if(!p6($))this.fail("unquoted attribute value."),this.state=Pe,this.unget()}sAttribValueQuoted(){let{q:$,chunk:I}=this,{i:U}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+I.slice(U,this.prevI)),this.name=this.text="",this.q=null,this.state=Xb0;return;case WK:this.text+=I.slice(U,this.prevI),this.state=$z,this.entityReturnState=Ae;return;case s$:case R8:case Gv:this.text+=`${I.slice(U,this.prevI)} `,U=this.i;break;case j9:this.text+=I.slice(U,this.prevI),this.fail("disallowed character.");return;case J4:this.text+=I.slice(U);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(p6($))this.state=HK;else if($===g4)this.openTag();else if($===Yz)this.state=Kv;else if(GK($))this.fail("no whitespace between attributes."),this.unget(),this.state=qv;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(Mb0);switch($){case WK:this.state=$z,this.entityReturnState=Pe;break;case j9:this.fail("disallowed character.");break;case J4: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="",$===g4)this.openTag();else this.state=HK}}sCloseTag(){let $=this.captureNameChars();if($===g4)this.closeTag();else if(p6($))this.state=Lb0;else if($!==J4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case g4:this.closeTag();break;case J4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:I}=this,{chunk:U,textHandler:Y}=this;$:while(!0)switch(this.getCode()){case j9:{if(this.state=Uv,Y!==void 0){let{text:J}=this,Q=U.slice($,this.prevI);if(J.length!==0)Y(J+Q),this.text="";else if(Q.length!==0)Y(Q)}I=U3;break $}case WK:if(this.state=$z,this.entityReturnState=v6,Y!==void 0)this.text+=U.slice($,this.prevI);I=U3;break $;case oU:switch(I){case U3:I=ve;break;case ve:I=Wv;break;case Wv:break;default:throw Error("impossible state")}break;case g4:if(I===Wv)this.fail('the string "]]>" is disallowed in char data.');I=U3;break;case R8:if(Y!==void 0)this.text+=`${U.slice($,this.prevI)}
`;$=this.i,I=U3;break;case J4:if(Y!==void 0)this.text+=U.slice($);break $;default:I=U3}this.forbiddenState=I}handleTextOutsideRoot(){let{i:$}=this,{chunk:I,textHandler:U}=this,Y=!1;$:while(!0){let J=this.getCode();switch(J){case j9:{if(this.state=Uv,U!==void 0){let{text:Q}=this,K=I.slice($,this.prevI);if(Q.length!==0)U(Q+K),this.text="";else if(K.length!==0)U(K)}break $}case WK:if(this.state=$z,this.entityReturnState=v6,U!==void 0)this.text+=I.slice($,this.prevI);Y=!0;break $;case R8:if(U!==void 0)this.text+=`${I.slice($,this.prevI)}
`;$=this.i;break;case J4:if(U!==void 0)this.text+=I.slice($);break $;default:if(!p6(J))Y=!0}}if(!Y)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($,I){var U;let{prefix:Y,local:J}=this.qname($),Q={name:$,prefix:Y,local:J,value:I};if(this.attribList.push(Q),(U=this.attributeHandler)===null||U===void 0||U.call(this,Q),Y==="xmlns"){let K=I.trim();if(this.currentXMLVersion==="1.0"&&K==="")this.fail("invalid attempt to undefine prefix in XML 1.0");this.topNS[J]=K,Vv(this,J,K)}else if($==="xmlns"){let K=I.trim();this.topNS[""]=K,Vv(this,"",K)}}pushAttribPlain($,I){var U;let Y={name:$,value:I};this.attribList.push(Y),(U=this.attributeHandler)===null||U===void 0||U.call(this,Y)}end(){var $,I;if(!this.sawRoot)this.fail("document must contain a root element.");let{tags:U}=this;while(U.length>0){let J=U.pop();this.fail(`unclosed tag: ${J.name}`)}if(this.state!==De&&this.state!==v6)this.fail("unexpected end.");let{text:Y}=this;if(Y.length!==0)($=this.textHandler)===null||$===void 0||$.call(this,Y),this.text="";return this._closed=!0,(I=this.endHandler)===null||I===void 0||I.call(this),this._init(),this}resolve($){var I,U;let Y=this.topNS[$];if(Y!==void 0)return Y;let{tags:J}=this;for(let Q=J.length-1;Q>=0;Q--)if(Y=J[Q].ns[$],Y!==void 0)return Y;if(Y=this.ns[$],Y!==void 0)return Y;return(U=(I=this.opt).resolvePrefix)===null||U===void 0?void 0:U.call(I,$)}qname($){let I=$.indexOf(":");if(I===-1)return{prefix:"",local:$};let U=$.slice(I+1),Y=$.slice(0,I);if(Y===""||U===""||U.includes(":"))this.fail(`malformed name: ${$}.`);return{prefix:Y,local:U}}processAttribsNS(){var $;let{attribList:I}=this,U=this.tag;{let{prefix:Q,local:K}=this.qname(U.name);U.prefix=Q,U.local=K;let q=U.uri=($=this.resolve(Q))!==null&&$!==void 0?$:"";if(Q!==""){if(Q==="xmlns")this.fail('tags may not have "xmlns" as prefix.');if(q==="")this.fail(`unbound namespace prefix: ${JSON.stringify(Q)}.`),U.uri=Q}}if(I.length===0)return;let{attributes:Y}=U,J=new Set;for(let Q of I){let{name:K,prefix:q,local:G}=Q,H,W;if(q==="")H=K==="xmlns"?rU:"",W=K;else{if(H=this.resolve(q),H===void 0)this.fail(`unbound namespace prefix: ${JSON.stringify(q)}.`),H=q;W=`{${H}}${G}`}if(J.has(W))this.fail(`duplicate attribute: ${W}.`);J.add(W),Q.uri=H,Y[K]=Q}this.attribList=[]}processAttribsPlain(){let{attribList:$}=this,I=this.tag.attributes;for(let{name:U,value:Y}of $){if(I[U]!==void 0)this.fail(`duplicate attribute: ${U}.`);I[U]=Y}this.attribList=[]}openTag(){var $;this.processAttribs();let{tags:I}=this,U=this.tag;U.isSelfClosing=!1,($=this.openTagHandler)===null||$===void 0||$.call(this,U),I.push(U),this.state=v6,this.name=""}openSelfClosingTag(){var $,I,U;this.processAttribs();let{tags:Y}=this,J=this.tag;if(J.isSelfClosing=!0,($=this.openTagHandler)===null||$===void 0||$.call(this,J),(I=this.closeTagHandler)===null||I===void 0||I.call(this,J),(this.tag=(U=Y[Y.length-1])!==null&&U!==void 0?U:null)===null)this.closedRoot=!0;this.state=v6,this.name=""}closeTag(){let{tags:$,name:I}=this;if(this.state=v6,this.name="",I===""){this.fail("weird empty close tag."),this.text+="</>";return}let U=this.closeTagHandler,Y=$.length;while(Y-- >0){let J=this.tag=$.pop();if(this.topNS=J.ns,U===null||U===void 0||U(J),J.name===I)break;this.fail("unexpected close tag.")}if(Y===0)this.closedRoot=!0;else if(Y<0)this.fail(`unmatched closing tag: ${I}.`),this.text+=`</${I}>`}parseEntity($){if($[0]!=="#"){let U=this.ENTITIES[$];if(U!==void 0)return U;return this.fail(this.isName($)?"undefined entity.":"disallowed character in entity name."),`&${$};`}let I=NaN;if($[1]==="x"&&/^#x[0-9a-f]+$/i.test($))I=parseInt($.slice(2),16);else if(/^#[0-9]+$/.test($))I=parseInt($.slice(1),10);if(!this.isChar(I))return this.fail("malformed character entity."),`&${$};`;return String.fromCodePoint(I)}}xe.SaxesParser=he});var VK=O((NA1,ue)=>{var{SaxesParser:Rb0}=ke(),{PassThrough:vb0}=w6(),{bufferToString:Cb0}=oR();ue.exports=async function*($){if($.pipe&&!$[Symbol.asyncIterator])$=$.pipe(new vb0);let I=new Rb0,U;I.on("error",(J)=>{U=J});let Y=[];I.on("opentag",(J)=>Y.push({eventType:"opentag",value:J})),I.on("text",(J)=>Y.push({eventType:"text",value:J})),I.on("closetag",(J)=>Y.push({eventType:"closetag",value:J}));for await(let J of $){if(I.write(Cb0(J)),U)throw U;yield Y,Y=[]}}});var X0=O((FA1,fe)=>{var jb0=VK(),_b0=$6();class aU{prepare(){}render(){}parseOpen($){}parseText($){}parseClose($){}reconcile($,I){}reset(){if(this.model=null,this.map)Object.values(this.map).forEach(($)=>{if($ instanceof aU)$.reset();else if($.xform)$.xform.reset()})}mergeModel($){this.model=Object.assign(this.model||{},$)}async parse($){for await(let I of $)for(let{eventType:U,value:Y}of I)if(U==="opentag")this.parseOpen(Y);else if(U==="text")this.parseText(Y);else if(U==="closetag"){if(!this.parseClose(Y.name))return this.model}return this.model}async parseStream($){return this.parse(jb0($))}get xml(){return this.toXml(this.model)}toXml($){let I=new _b0;return this.render(I,$),I.xml}static toAttribute($,I,U=!1){if($===void 0){if(U)return I}else if(U||$!==I)return $.toString();return}static toStringAttribute($,I,U=!1){return aU.toAttribute($,I,U)}static toStringValue($,I){return $===void 0?I:$}static toBoolAttribute($,I,U=!1){if($===void 0){if(U)return I}else if(U||$!==I)return $?"1":"0";return}static toBoolValue($,I){return $===void 0?I:$==="1"}static toIntAttribute($,I,U=!1){return aU.toAttribute($,I,U)}static toIntValue($,I){return $===void 0?I:parseInt($,10)}static toFloatAttribute($,I,U=!1){return aU.toAttribute($,I,U)}static toFloatValue($,I){return $===void 0?I:parseFloat($)}}fe.exports=aU});var sU=O((MA1,ne)=>{var Sb0=X0(),gb0=$6();function be($,I){if($.openNode(I.tag,I.$),I.c)I.c.forEach((U)=>{be($,U)});if(I.t)$.writeText(I.t);$.closeNode()}class ie extends Sb0{constructor($){super();this._model=$}render($){if(!this._xml){let I=new gb0;be(I,this._model),this._xml=I.xml}$.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose($){switch($){case this._model.tag:return!1;default:return!0}}}ne.exports=ie});var _9=O((AA1,ce)=>{var yb0=X0();class pe extends yb0{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($,I){let{childXform:U}=this;if($)$.forEach((Y,J)=>{I.index=J,U.prepare(Y,I)})}render($,I){if(this.always||I&&I.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,I&&I.length||0);let{childXform:U}=this;(I||[]).forEach((Y,J)=>{U.render($,Y,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($,I){if($){let{childXform:U}=this;$.forEach((Y)=>{U.reconcile(Y,I)})}}}ce.exports=pe});var S9=O((PA1,me)=>{var hb0=X0();class de extends hb0{constructor($){super();this.name=$||"color"}get tag(){return this.name}render($,I){if(I){if($.openNode(this.name),I.argb)$.addAttribute("rgb",I.argb);else if(I.theme!==void 0){if($.addAttribute("theme",I.theme),I.tint!==void 0)$.addAttribute("tint",I.tint)}else if(I.indexed!==void 0)$.addAttribute("indexed",I.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}}me.exports=de});var re=O((TA1,oe)=>{var xb0=X0();class le extends xb0{constructor($){super();this.tag=$.tag,this.attr=$.attr}render($,I){if(I)$.openNode(this.tag),$.closeNode()}parseOpen($){if($.name===this.tag)this.model=!0}parseText(){}parseClose(){return!1}}oe.exports=le});var Kz=O((EA1,ae)=>{var kb0=X0();class te extends kb0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this.zero=$.zero}render($,I){if(I||this.zero){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,I);else $.writeText(I);$.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}}ae.exports=te});var qz=O((BA1,ee)=>{var ub0=X0();class se extends ub0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs}render($,I){if(I!==void 0){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,I);else $.writeText(I);$.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}}ee.exports=se});var I00=O((RA1,$00)=>{var fb0=X0();class Gz extends fb0{constructor($){super();this.model=$}get tag(){return"u"}render($,I){if(I=I||this.model,I===!0)$.leafNode("u");else{let U=Gz.Attributes[I];if(U)$.leafNode("u",U)}}parseOpen($){if($.name==="u")this.model=$.attributes.val||!0}parseText(){}parseClose(){return!1}}Gz.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}};$00.exports=Gz});var Wz=O((vA1,U00)=>{var bb0=S9(),Y3=re(),zv=Kz(),Xv=qz(),ib0=I00(),nb0=z4(),pb0=X0();class Hz extends pb0{constructor($){super();this.options=$||Hz.OPTIONS,this.map={b:{prop:"bold",xform:new Y3({tag:"b",attr:"val"})},i:{prop:"italic",xform:new Y3({tag:"i",attr:"val"})},u:{prop:"underline",xform:new ib0},charset:{prop:"charset",xform:new zv({tag:"charset",attr:"val"})},color:{prop:"color",xform:new bb0},condense:{prop:"condense",xform:new Y3({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new Y3({tag:"extend",attr:"val"})},family:{prop:"family",xform:new zv({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new Y3({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new Xv({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new Xv({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new Y3({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new Y3({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new zv({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new Xv({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render($,I){let{map:U}=this;$.openNode(this.options.tagName),nb0.each(this.map,(Y,J)=>{U[J].xform.render($,I[Y.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 I=this.map[$];if(this.parser.model)this.model[I.prop]=this.parser.model;return this.parser=void 0,!0}switch($){case this.options.tagName:return!1;default:return!0}}}Hz.OPTIONS={tagName:"font",fontNameTag:"name"};U00.exports=Hz});var Nv=O((CA1,Y00)=>{var Vz=X0(),wv=S9();class Lv extends Vz{constructor(){super();this.map={color:new wv}}get tag(){return"stop"}render($,I){$.openNode("stop"),$.addAttribute("position",I.position),this.map.color.render($,I.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 Dv extends Vz{constructor(){super();this.map={fgColor:new wv("fgColor"),bgColor:new wv("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render($,I){if($.openNode("patternFill"),$.addAttribute("patternType",I.pattern),I.fgColor)this.map.fgColor.render($,I.fgColor);if(I.bgColor)this.map.bgColor.render($,I.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 Ov extends Vz{constructor(){super();this.map={stop:new Lv}}get name(){return"gradient"}get tag(){return"gradientFill"}render($,I){switch($.openNode("gradientFill"),I.gradient){case"angle":$.addAttribute("degree",I.degree);break;case"path":if($.addAttribute("type","path"),I.center.left){if($.addAttribute("left",I.center.left),I.center.right===void 0)$.addAttribute("right",I.center.left)}if(I.center.right)$.addAttribute("right",I.center.right);if(I.center.top){if($.addAttribute("top",I.center.top),I.center.bottom===void 0)$.addAttribute("bottom",I.center.top)}if(I.center.bottom)$.addAttribute("bottom",I.center.bottom);break;default:break}let U=this.map.stop;I.stops.forEach((Y)=>{U.render($,Y)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"gradientFill":{let I=this.model={stops:[]};if($.attributes.degree)I.gradient="angle",I.degree=parseInt($.attributes.degree,10);else if($.attributes.type==="path"){if(I.gradient="path",I.center={left:$.attributes.left?parseFloat($.attributes.left):0,top:$.attributes.top?parseFloat($.attributes.top):0},$.attributes.right!==$.attributes.left)I.center.right=$.attributes.right?parseFloat($.attributes.right):0;if($.attributes.bottom!==$.attributes.top)I.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 J3 extends Vz{constructor(){super();this.map={patternFill:new Dv,gradientFill:new Ov}}get tag(){return"fill"}render($,I){switch($.addRollback(),$.openNode("fill"),I.type){case"pattern":this.map.patternFill.render($,I);break;case"gradient":this.map.gradientFill.render($,I);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 J3.validPatternValues[$]}}J3.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(($,I)=>{return $[I]=!0,$},{});J3.StopXform=Lv;J3.PatternFillXform=Dv;J3.GradientFillXform=Ov;Y00.exports=J3});var Fv=O((jA1,q00)=>{var Q00=X0(),J00=L6(),cb0=S9();class g9 extends Q00{constructor($){super();this.name=$,this.map={color:new cb0}}get tag(){return this.name}render($,I,U){let Y=I&&I.color||U||this.defaultColor;if($.openNode(this.name),I&&I.style){if($.addAttribute("style",I.style),Y)this.map.color.render($,Y)}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.name:{let{style:I}=$.attributes;if(I)this.model={style:I};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 g9.validStyleValues[$]}}g9.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(($,I)=>{return $[I]=!0,$},{});class K00 extends Q00{constructor(){super();this.map={top:new g9("top"),left:new g9("left"),bottom:new g9("bottom"),right:new g9("right"),diagonal:new g9("diagonal")}}render($,I){let{color:U}=I;if($.openNode("border"),I.diagonal&&I.diagonal.style){if(I.diagonal.up)$.addAttribute("diagonalUp","1");if(I.diagonal.down)$.addAttribute("diagonalDown","1")}function Y(J,Q){if(J&&!J.color&&I.color)J={...J,color:I.color};Q.render($,J,U)}Y(I.left,this.map.left),Y(I.right,this.map.right),Y(I.top,this.map.top),Y(I.bottom,this.map.bottom),Y(I.diagonal,this.map.diagonal),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"border":return this.reset(),this.diagonalUp=J00.parseBoolean($.attributes.diagonalUp),this.diagonalDown=J00.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 I=this.model={},U=function(Y,J,Q){if(J){if(Q)Object.assign(J,Q);I[Y]=J}};U("left",this.map.left.model),U("right",this.map.right.model),U("top",this.map.top.model),U("bottom",this.map.bottom.model),U("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}q00.exports=K00});var H00=O((_A1,G00)=>{G00.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 Av=O((SA1,W00)=>{var db0=z4(),Mv=H00(),mb0=X0();function lb0(){let $={};return db0.each(Mv,(I,U)=>{if(I.f)$[I.f]=parseInt(U,10)}),$}var ob0=lb0();class Zz extends mb0{constructor($,I){super();this.id=$,this.formatCode=I}get tag(){return"numFmt"}render($,I){$.leafNode("numFmt",{numFmtId:I.id,formatCode:I.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}}Zz.getDefaultFmtId=function(I){return ob0[I]};Zz.getDefaultFmtCode=function(I){return Mv[I]&&Mv[I].f};W00.exports=Zz});var Pv=O((gA1,X00)=>{var V00=l$(),ZK=L6(),rb0=X0(),Q3={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(($,I)=>{return $[I]=!0,$},{}),horizontal($){return this.horizontalValues[$]?$:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(($,I)=>{return $[I]=!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 $=ZK.validInt($),$>=-90&&$<=90?$:void 0}},indent($){return $=ZK.validInt($),Math.max(0,$)},readingOrder($){switch($){case"ltr":return V00.ReadingOrder.LeftToRight;case"rtl":return V00.ReadingOrder.RightToLeft;default:return}}},Z00={toXml($){if($=Q3.textRotation($),$){if($==="vertical")return 255;let I=Math.round($);if(I>=0&&I<=90)return I;if(I<0&&I>=-90)return 90-I}return},toModel($){let I=ZK.validInt($);if(I!==void 0){if(I===255)return"vertical";if(I>=0&&I<=90)return I;if(I>90&&I<=180)return 90-I}return}};class z00 extends rb0{get tag(){return"alignment"}render($,I){$.addRollback(),$.openNode("alignment");let U=!1;function Y(J,Q){if(Q)$.addAttribute(J,Q),U=!0}if(Y("horizontal",Q3.horizontal(I.horizontal)),Y("vertical",Q3.vertical(I.vertical)),Y("wrapText",Q3.wrapText(I.wrapText)?"1":!1),Y("shrinkToFit",Q3.shrinkToFit(I.shrinkToFit)?"1":!1),Y("indent",Q3.indent(I.indent)),Y("textRotation",Z00.toXml(I.textRotation)),Y("readingOrder",Q3.readingOrder(I.readingOrder)),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let I={},U=!1;function Y(J,Q,K){if(J)I[Q]=K,U=!0}Y($.attributes.horizontal,"horizontal",$.attributes.horizontal),Y($.attributes.vertical,"vertical",$.attributes.vertical==="center"?"middle":$.attributes.vertical),Y($.attributes.wrapText,"wrapText",ZK.parseBoolean($.attributes.wrapText)),Y($.attributes.shrinkToFit,"shrinkToFit",ZK.parseBoolean($.attributes.shrinkToFit)),Y($.attributes.indent,"indent",parseInt($.attributes.indent,10)),Y($.attributes.textRotation,"textRotation",Z00.toModel($.attributes.textRotation)),Y($.attributes.readingOrder,"readingOrder",$.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=U?I:null}parseText(){}parseClose(){return!1}}X00.exports=z00});var Tv=O((yA1,D00)=>{var tb0=X0(),w00={boolean($,I){if($===void 0)return I;return $}};class L00 extends tb0{get tag(){return"protection"}render($,I){$.addRollback(),$.openNode("protection");let U=!1;function Y(J,Q){if(Q!==void 0)$.addAttribute(J,Q),U=!0}if(Y("locked",w00.boolean(I.locked,!0)?void 0:"0"),Y("hidden",w00.boolean(I.hidden,!1)?"1":void 0),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let I={locked:$.attributes.locked!=="0",hidden:$.attributes.hidden==="1"},U=!I.locked||I.hidden;this.model=U?I:null}parseText(){}parseClose(){return!1}}D00.exports=L00});var F00=O((hA1,N00)=>{var ab0=X0(),sb0=Pv(),eb0=Tv();class O00 extends ab0{constructor($){super();this.xfId=!!($&&$.xfId),this.map={alignment:new sb0,protection:new eb0}}get tag(){return"xf"}render($,I){if($.openNode("xf",{numFmtId:I.numFmtId||0,fontId:I.fontId||0,fillId:I.fillId||0,borderId:I.borderId||0}),this.xfId)$.addAttribute("xfId",I.xfId||0);if(I.numFmtId)$.addAttribute("applyNumberFormat","1");if(I.fontId)$.addAttribute("applyFont","1");if(I.fillId)$.addAttribute("applyFill","1");if(I.borderId)$.addAttribute("applyBorder","1");if(I.alignment)$.addAttribute("applyAlignment","1");if(I.protection)$.addAttribute("applyProtection","1");if(I.alignment)this.map.alignment.render($,I.alignment);if(I.protection)this.map.protection.render($,I.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"}}N00.exports=O00});var P00=O((xA1,A00)=>{var $i0=X0(),Ii0=Pv(),Ui0=Fv(),Yi0=Nv(),Ji0=Wz(),Qi0=Av(),Ki0=Tv();class M00 extends $i0{constructor(){super();this.map={alignment:new Ii0,border:new Ui0,fill:new Yi0,font:new Ji0,numFmt:new Qi0,protection:new Ki0}}get tag(){return"dxf"}render($,I){if($.openNode(this.tag),I.font)this.map.font.render($,I.font);if(I.numFmt&&I.numFmtId){let U={id:I.numFmtId,formatCode:I.numFmt};this.map.numFmt.render($,U)}if(I.fill)this.map.fill.render($,I.fill);if(I.alignment)this.map.alignment.render($,I.alignment);if(I.border)this.map.border.render($,I.border);if(I.protection)this.map.protection.render($,I.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}}A00.exports=M00});var wz=O((kA1,v00)=>{var Xz=l$(),qi0=$6(),Gi0=X0(),zz=sU(),K3=_9(),T00=Wz(),E00=Nv(),B00=Fv(),zK=Av(),Ev=F00(),Hi0=P00();class J$ extends Gi0{constructor($){super();if(this.map={numFmts:new K3({tag:"numFmts",count:!0,childXform:new zK}),fonts:new K3({tag:"fonts",count:!0,childXform:new T00,$:{"x14ac:knownFonts":1}}),fills:new K3({tag:"fills",count:!0,childXform:new E00}),borders:new K3({tag:"borders",count:!0,childXform:new B00}),cellStyleXfs:new K3({tag:"cellStyleXfs",count:!0,childXform:new Ev}),cellXfs:new K3({tag:"cellXfs",count:!0,childXform:new Ev({xfId:!0})}),dxfs:new K3({tag:"dxfs",always:!0,count:!0,childXform:new Hi0}),numFmt:new zK,font:new T00,fill:new E00,border:new B00,style:new Ev({xfId:!0}),cellStyles:J$.STATIC_XFORMS.cellStyles,tableStyles:J$.STATIC_XFORMS.tableStyles,extLst:J$.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($,I){if(I=I||this.model,$.openXml(qi0.StdDocAttributes),$.openNode("styleSheet",J$.STYLESHEET_ATTRIBUTES),this.index){if(I.numFmts&&I.numFmts.length)$.openNode("numFmts",{count:I.numFmts.length}),I.numFmts.forEach((U)=>{$.writeXml(U)}),$.closeNode();if(!I.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});$.openNode("fonts",{count:I.fonts.length,"x14ac:knownFonts":1}),I.fonts.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("fills",{count:I.fills.length}),I.fills.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("borders",{count:I.borders.length}),I.borders.forEach((U)=>{$.writeXml(U)}),$.closeNode(),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),$.openNode("cellXfs",{count:I.styles.length}),I.styles.forEach((U)=>{$.writeXml(U)}),$.closeNode()}else this.map.numFmts.render($,I.numFmts),this.map.fonts.render($,I.fonts),this.map.fills.render($,I.fills),this.map.borders.render($,I.borders),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render($,I.styles);J$.STATIC_XFORMS.cellStyles.render($),this.map.dxfs.render($,I.dxfs),J$.STATIC_XFORMS.tableStyles.render($),J$.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 I=(U,Y)=>{if(Y.model&&Y.model.length)this.model[U]=Y.model};if(I("numFmts",this.map.numFmts),I("fonts",this.map.fonts),I("fills",this.map.fills),I("borders",this.map.borders),I("styles",this.map.cellXfs),I("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let U=this.index.numFmt;this.model.numFmts.forEach((Y)=>{U[Y.id]=Y.formatCode})}return!1}default:return!0}}addStyleModel($,I){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 U={};if(I=I||Xz.ValueType.Number,$.numFmt)U.numFmtId=this._addNumFmtStr($.numFmt);else switch(I){case Xz.ValueType.Number:U.numFmtId=this._addNumFmtStr("General");break;case Xz.ValueType.Date:U.numFmtId=this._addNumFmtStr("mm-dd-yy");break;default:break}if($.font)U.fontId=this._addFont($.font);if($.border)U.borderId=this._addBorder($.border);if($.fill)U.fillId=this._addFill($.fill);if($.alignment)U.alignment=$.alignment;if($.protection)U.protection=$.protection;let Y=this._addStyle(U);if(this.weakMap)this.weakMap.set($,Y);return Y}getStyleModel($){let I=this.model.styles[$];if(!I)return null;let U=this.index.model[$];if(U)return U;if(U=this.index.model[$]={},I.numFmtId){let J=this.index.numFmt[I.numFmtId]||zK.getDefaultFmtCode(I.numFmtId);if(J)U.numFmt=J}function Y(J,Q,K){if(K||K===0){let q=Q[K];if(q)U[J]=q}}if(Y("font",this.model.fonts,I.fontId),Y("border",this.model.borders,I.borderId),Y("fill",this.model.fills,I.fillId),I.alignment)U.alignment=I.alignment;if(I.protection)U.protection=I.protection;return U}addDxfStyle($){if($.numFmt)$.numFmtId=this._addNumFmtStr($.numFmt);return this.model.dxfs.push($),this.model.dxfs.length-1}getDxfStyle($){return this.model.dxfs[$]}_addStyle($){let I=this.map.style.toXml($),U=this.index.style[I];if(U===void 0)U=this.index.style[I]=this.model.styles.length,this.model.styles.push(I);return U}_addNumFmtStr($){let I=zK.getDefaultFmtId($);if(I!==void 0)return I;if(I=this.index.numFmt[$],I!==void 0)return I;I=this.index.numFmt[$]=164+this.model.numFmts.length;let U=this.map.numFmt.toXml({id:I,formatCode:$});return this.model.numFmts.push(U),I}_addFont($){let I=this.map.font.toXml($),U=this.index.font[I];if(U===void 0)U=this.index.font[I]=this.model.fonts.length,this.model.fonts.push(I);return U}_addBorder($){let I=this.map.border.toXml($),U=this.index.border[I];if(U===void 0)U=this.index.border[I]=this.model.borders.length,this.model.borders.push(I);return U}_addFill($){let I=this.map.fill.toXml($),U=this.index.fill[I];if(U===void 0)U=this.index.fill[I]=this.model.fills.length,this.model.fills.push(I);return U}}J$.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"};J$.STATIC_XFORMS={cellStyles:new zz({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new zz({tag:"dxfs",$:{count:0}}),tableStyles:new zz({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new zz({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 R00 extends J${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($,I){switch(I){case Xz.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let $={numFmtId:zK.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push($)}return this._dateStyleId}getStyleModel(){return{}}}J$.Mock=R00;v00.exports=J$});var _00=O((uA1,j00)=>{var Wi0=X0();class C00 extends Wi0{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this._format=$.format||function(I){try{if(Number.isNaN(I.getTime()))return"";return I.toISOString()}catch(U){return""}},this._parse=$.parse||function(I){return new Date(I)}}render($,I){if(I){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,this._format(I));else $.writeText(this._format(I));$.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}}j00.exports=C00});var Rv=O((fA1,S00)=>{var Vi0=$6(),Zi0=X0(),Bv=_00(),R$=qz(),zi0=Kz();class e$ extends Zi0{constructor(){super();this.map={"dc:creator":new R$({tag:"dc:creator"}),"dc:title":new R$({tag:"dc:title"}),"dc:subject":new R$({tag:"dc:subject"}),"dc:description":new R$({tag:"dc:description"}),"dc:identifier":new R$({tag:"dc:identifier"}),"dc:language":new R$({tag:"dc:language"}),"cp:keywords":new R$({tag:"cp:keywords"}),"cp:category":new R$({tag:"cp:category"}),"cp:lastModifiedBy":new R$({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new Bv({tag:"cp:lastPrinted",format:e$.DateFormat}),"cp:revision":new zi0({tag:"cp:revision"}),"cp:version":new R$({tag:"cp:version"}),"cp:contentStatus":new R$({tag:"cp:contentStatus"}),"cp:contentType":new R$({tag:"cp:contentType"}),"dcterms:created":new Bv({tag:"dcterms:created",attrs:e$.DateAttrs,format:e$.DateFormat}),"dcterms:modified":new Bv({tag:"dcterms:modified",attrs:e$.DateAttrs,format:e$.DateFormat})}}render($,I){$.openXml(Vi0.StdDocAttributes),$.openNode("cp:coreProperties",e$.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render($,I.creator),this.map["dc:title"].render($,I.title),this.map["dc:subject"].render($,I.subject),this.map["dc:description"].render($,I.description),this.map["dc:identifier"].render($,I.identifier),this.map["dc:language"].render($,I.language),this.map["cp:keywords"].render($,I.keywords),this.map["cp:category"].render($,I.category),this.map["cp:lastModifiedBy"].render($,I.lastModifiedBy),this.map["cp:lastPrinted"].render($,I.lastPrinted),this.map["cp:revision"].render($,I.revision),this.map["cp:version"].render($,I.version),this.map["cp:contentStatus"].render($,I.contentStatus),this.map["cp:contentType"].render($,I.contentType),this.map["dcterms:created"].render($,I.created),this.map["dcterms:modified"].render($,I.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: ${$}`)}}}e$.DateFormat=function($){return $.toISOString().replace(/[.]\d{3}/,"")};e$.DateAttrs={"xsi:type":"dcterms:W3CDTF"};e$.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"};S00.exports=e$});var Lz=O((bA1,y00)=>{var Xi0=X0();class g00 extends Xi0{get tag(){return"t"}render($,I){if($.openNode("t"),/^\s|\n|\s$/.test(I))$.addAttribute("xml:space","preserve");$.writeText(I),$.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,($,I)=>String.fromCharCode(parseInt(I,16)))}parseOpen($){switch($.name){case"t":return this._text=[],!0;default:return!1}}parseText($){this._text.push($)}parseClose(){return!1}}y00.exports=g00});var XK=O((iA1,h00)=>{var wi0=Lz(),Li0=Wz(),Di0=X0();class Dz extends Di0{constructor($){super();this.model=$}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new wi0)}get fontXform(){return this._fontXform||(this._fontXform=new Li0(Dz.FONT_OPTIONS))}render($,I){if(I=I||this.model,$.openNode("r"),I.font)this.fontXform.render($,I.font);this.textXform.render($,I.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}}}Dz.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"};h00.exports=Dz});var u00=O((nA1,k00)=>{var Oi0=Lz(),Ni0=XK(),Fi0=X0();class x00 extends Fi0{constructor(){super();this.map={r:new Ni0,t:new Oi0}}get tag(){return"rPh"}render($,I){if($.openNode(this.tag,{sb:I.sb||0,eb:I.eb||0}),I&&I.hasOwnProperty("richText")&&I.richText){let{r:U}=this.map;I.richText.forEach((Y)=>{U.render($,Y)})}else if(I)this.map.t.render($,I.text);$.closeNode()}parseOpen($){let{name:I}=$;if(this.parser)return this.parser.parseOpen($),!0;if(I===this.tag)return this.model={sb:parseInt($.attributes.sb,10),eb:parseInt($.attributes.eb,10)},!0;if(this.parser=this.map[I],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 I=this.model.richText;if(!I)I=this.model.richText=[];I.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}}}k00.exports=x00});var i00=O((pA1,b00)=>{var Mi0=Lz(),Ai0=XK(),Pi0=u00(),Ti0=X0();class f00 extends Ti0{constructor($){super();this.model=$,this.map={r:new Ai0,t:new Mi0,rPh:new Pi0}}get tag(){return"si"}render($,I){if($.openNode(this.tag),I&&I.hasOwnProperty("richText")&&I.richText)if(I.richText.length)I.richText.forEach((U)=>{this.map.r.render($,U)});else this.map.t.render($,"");else if(I!==void 0&&I!==null)this.map.t.render($,I);$.closeNode()}parseOpen($){let{name:I}=$;if(this.parser)return this.parser.parseOpen($),!0;if(I===this.tag)return this.model={},!0;if(this.parser=this.map[I],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 I=this.model.richText;if(!I)I=this.model.richText=[];I.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}}}b00.exports=f00});var vv=O((cA1,p00)=>{var Ei0=$6(),Bi0=X0(),Ri0=i00();class n00 extends Bi0{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 Ri0)}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 I=this.hash[$];if(I===void 0)I=this.hash[$]=this.model.values.length,this.model.values.push($);return this.model.count++,I}addRichText($){let I=this.sharedStringXform.toXml($),U=this.rich[I];if(U===void 0)U=this.rich[I]=this.model.values.length,this.model.values.push($);return this.model.count++,U}render($,I){I=I||this._values,$.openXml(Ei0.StdDocAttributes),$.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:I.count,uniqueCount:I.values.length});let U=this.sharedStringXform;I.values.forEach((Y)=>{U.render($,Y)}),$.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: ${$}`)}}}p00.exports=n00});var m00=O((dA1,d00)=>{var vi0=X0();class c00 extends vi0{render($,I){$.leafNode("Relationship",I)}parseOpen($){switch($.name){case"Relationship":return this.model=$.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}d00.exports=c00});var Nz=O((mA1,l00)=>{var Ci0=$6(),ji0=X0(),_i0=m00();class Oz extends ji0{constructor(){super();this.map={Relationship:new _i0}}render($,I){I=I||this._values,$.openXml(Ci0.StdDocAttributes),$.openNode("Relationships",Oz.RELATIONSHIPS_ATTRIBUTES),I.forEach((U)=>{this.map.Relationship.render($,U)}),$.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: ${$}`)}}}Oz.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"};l00.exports=Oz});var Cv=O((lA1,o00)=>{var Si0=$6(),gi0=X0();class Fz extends gi0{render($,I){$.openXml(Si0.StdDocAttributes),$.openNode("Types",Fz.PROPERTY_ATTRIBUTES);let U={};if((I.media||[]).forEach((J)=>{if(J.type==="image"){let Q=J.extension;if(!U[Q])U[Q]=!0,$.leafNode("Default",{Extension:Q,ContentType:`image/${Q}`})}}),$.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"}),I.worksheets.forEach((J)=>{let Q=`/xl/worksheets/sheet${J.id}.xml`;$.leafNode("Override",{PartName:Q,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"}),I.sharedStrings&&I.sharedStrings.count)$.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"});if(I.tables)I.tables.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/tables/${J.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})});if(I.drawings)I.drawings.forEach((J)=>{$.leafNode("Override",{PartName:`/xl/drawings/${J.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})});if(I.commentRefs)$.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),I.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}}Fz.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"};o00.exports=Fz});var a00=O((oA1,t00)=>{var yi0=X0();class r00 extends yi0{render($,I){$.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,I.length),$.closeNode(),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="HeadingPairs"}parseText(){}parseClose($){return $!=="HeadingPairs"}}t00.exports=r00});var $10=O((rA1,e00)=>{var hi0=X0();class s00 extends hi0{render($,I){$.openNode("TitlesOfParts"),$.openNode("vt:vector",{size:I.length,baseType:"lpstr"}),I.forEach((U)=>{$.leafNode("vt:lpstr",void 0,U.name)}),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="TitlesOfParts"}parseText(){}parseClose($){return $!=="TitlesOfParts"}}e00.exports=s00});var jv=O((tA1,U10)=>{var xi0=$6(),ki0=X0(),I10=qz(),ui0=a00(),fi0=$10();class eU extends ki0{constructor(){super();this.map={Company:new I10({tag:"Company"}),Manager:new I10({tag:"Manager"}),HeadingPairs:new ui0,TitleOfParts:new fi0}}render($,I){$.openXml(xi0.StdDocAttributes),$.openNode("Properties",eU.PROPERTY_ATTRIBUTES),$.leafNode("Application",void 0,"Microsoft Excel"),$.leafNode("DocSecurity",void 0,"0"),$.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render($,I.worksheets),this.map.TitleOfParts.render($,I.worksheets),this.map.Company.render($,I.company||""),this.map.Manager.render($,I.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}}}eU.DateFormat=function($){return $.toISOString().replace(/[.]\d{3,6}/,"")};eU.DateAttrs={"xsi:type":"dcterms:W3CDTF"};eU.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"};U10.exports=eU});var Q10=O((aA1,J10)=>{var bi0=X0(),ii0=G4();class Y10 extends bi0{render($,I){$.openNode("definedName",{name:I.name,localSheetId:I.localSheetId}),$.writeText(I.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:ni0(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0)this.model.localSheetId=parseInt(this._parsedLocalSheetId,10);return!1}}function _v($){try{return ii0.decodeEx($),!0}catch(I){return!1}}function ni0($){let I=[],U=!1,Y="";return $.split(",").forEach((J)=>{if(!J)return;let Q=(J.match(/'/g)||[]).length;if(!Q){if(U)Y+=`${J},`;else if(_v(J))I.push(J);return}let K=Q%2===0;if(!U&&K&&_v(J))I.push(J);else if(U&&!K){if(U=!1,_v(Y+J))I.push(Y+J);Y=""}else U=!0,Y+=`${J},`}),I}J10.exports=Y10});var G10=O((sA1,q10)=>{var pi0=L6(),ci0=X0();class K10 extends ci0{render($,I){$.leafNode("sheet",{sheetId:I.id,name:I.name,state:I.state,"r:id":I.rId})}parseOpen($){if($.name==="sheet")return this.model={name:pi0.xmlDecode($.attributes.name),id:parseInt($.attributes.sheetId,10),state:$.attributes.state,rId:$.attributes["r:id"]},!0;return!1}parseText(){}parseClose(){return!1}}q10.exports=K10});var V10=O((eA1,W10)=>{var di0=X0();class H10 extends di0{render($,I){let U={xWindow:I.x||0,yWindow:I.y||0,windowWidth:I.width||12000,windowHeight:I.height||24000,firstSheet:I.firstSheet,activeTab:I.activeTab};if(I.visibility&&I.visibility!=="visible")U.visibility=I.visibility;$.leafNode("workbookView",U)}parseOpen($){if($.name==="workbookView"){let I=this.model={},U=function(J,Q,K){let q=Q!==void 0?I[J]=Q:K;if(q!==void 0)I[J]=q},Y=function(J,Q,K){let q=Q!==void 0?I[J]=parseInt(Q,10):K;if(q!==void 0)I[J]=q};return Y("x",$.attributes.xWindow,0),Y("y",$.attributes.yWindow,0),Y("width",$.attributes.windowWidth,25000),Y("height",$.attributes.windowHeight,1e4),U("visibility",$.attributes.visibility,"visible"),Y("activeTab",$.attributes.activeTab,void 0),Y("firstSheet",$.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}W10.exports=H10});var X10=O(($P1,z10)=>{var mi0=X0();class Z10 extends mi0{render($,I){$.leafNode("workbookPr",{date1904:I.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}}z10.exports=Z10});var D10=O((IP1,L10)=>{var li0=X0();class w10 extends li0{render($,I){$.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:I.fullCalcOnLoad?1:void 0})}parseOpen($){if($.name==="calcPr")return this.model={},!0;return!1}parseText(){}parseClose(){return!1}}L10.exports=w10});var Mz=O((UP1,O10)=>{var oi0=z4(),ri0=G4(),ti0=$6(),ai0=X0(),si0=sU(),Sv=_9(),ei0=Q10(),$n0=G10(),In0=V10(),Un0=X10(),Yn0=D10();class $Y extends ai0{constructor(){super();this.map={fileVersion:$Y.STATIC_XFORMS.fileVersion,workbookPr:new Un0,bookViews:new Sv({tag:"bookViews",count:!1,childXform:new In0}),sheets:new Sv({tag:"sheets",count:!1,childXform:new $n0}),definedNames:new Sv({tag:"definedNames",count:!1,childXform:new ei0}),calcPr:new Yn0}}prepare($){$.sheets=$.worksheets;let I=[],U=0;if($.sheets.forEach((Y)=>{if(Y.pageSetup&&Y.pageSetup.printArea)Y.pageSetup.printArea.split("&&").forEach((J)=>{let Q=J.split(":"),K={name:"_xlnm.Print_Area",ranges:[`'${Y.name}'!$${Q[0]}:$${Q[1]}`],localSheetId:U};I.push(K)});if(Y.pageSetup&&(Y.pageSetup.printTitlesRow||Y.pageSetup.printTitlesColumn)){let J=[];if(Y.pageSetup.printTitlesColumn){let K=Y.pageSetup.printTitlesColumn.split(":");J.push(`'${Y.name}'!$${K[0]}:$${K[1]}`)}if(Y.pageSetup.printTitlesRow){let K=Y.pageSetup.printTitlesRow.split(":");J.push(`'${Y.name}'!$${K[0]}:$${K[1]}`)}let Q={name:"_xlnm.Print_Titles",ranges:J,localSheetId:U};I.push(Q)}U++}),I.length)$.definedNames=$.definedNames.concat(I);($.media||[]).forEach((Y,J)=>{Y.name=Y.type+(J+1)})}render($,I){$.openXml(ti0.StdDocAttributes),$.openNode("workbook",$Y.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render($),this.map.workbookPr.render($,I.properties),this.map.bookViews.render($,I.views),this.map.sheets.render($,I.sheets),this.map.definedNames.render($,I.definedNames),this.map.calcPr.render($,I.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 I=($.workbookRels||[]).reduce((K,q)=>{return K[q.Id]=q,K},{}),U=[],Y,J=0;($.sheets||[]).forEach((K)=>{let q=I[K.rId];if(!q)return;if(Y=$.worksheetHash[`xl/${q.Target.replace(/^(\s|\/xl\/)+/,"")}`],Y)Y.name=K.name,Y.id=K.id,Y.state=K.state,U[J++]=Y});let Q=[];oi0.each($.definedNames,(K)=>{if(K.name==="_xlnm.Print_Area"){if(Y=U[K.localSheetId],Y){if(!Y.pageSetup)Y.pageSetup={};let q=ri0.decodeEx(K.ranges[0]);Y.pageSetup.printArea=Y.pageSetup.printArea?`${Y.pageSetup.printArea}&&${q.dimensions}`:q.dimensions}}else if(K.name==="_xlnm.Print_Titles"){if(Y=U[K.localSheetId],Y){if(!Y.pageSetup)Y.pageSetup={};let q=K.ranges.join(","),G=/\$/g,H=/\$\d+:\$\d+/,W=q.match(H);if(W&&W.length){let Z=W[0];Y.pageSetup.printTitlesRow=Z.replace(G,"")}let V=/\$[A-Z]+:\$[A-Z]+/,z=q.match(V);if(z&&z.length){let Z=z[0];Y.pageSetup.printTitlesColumn=Z.replace(G,"")}}}else Q.push(K)}),$.definedNames=Q,$.media.forEach((K,q)=>{K.index=q})}}$Y.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"};$Y.STATIC_XFORMS={fileVersion:new si0({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})};O10.exports=$Y});var y9=O((YP1,N10)=>{N10.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 E10=O((JP1,T10)=>{var F10=z4(),Jn0=Q5(),M10=G4(),A10=l$();class P10{constructor(){this.merges={}}add($){if(this.merges[$.master])this.merges[$.master].expandToAddress($.address);else{let I=`${$.master}:${$.address}`;this.merges[$.master]=new Jn0(I)}}get mergeCells(){return F10.map(this.merges,($)=>$.range)}reconcile($,I){F10.each($,(U)=>{let Y=M10.decode(U);for(let J=Y.top;J<=Y.bottom;J++){let Q=I[J-1];for(let K=Y.left;K<=Y.right;K++){let q=Q.cells[K-1];if(!q)Q.cells[K]={type:A10.ValueType.Null,address:M10.encodeAddress(J,K)};else if(q.type===A10.ValueType.Merge)q.master=Y.tl}}})}getMasterAddress($){let I=this.hash[$];return I&&I.tl}}T10.exports=P10});var C10=O((QP1,v10)=>{var h9=L6(),Qn0=X0(),Kn0=Q5(),u0=l$(),qn0=XK();function B10($){if($===null||$===void 0)return u0.ValueType.Null;if($ instanceof String||typeof $==="string")return u0.ValueType.String;if(typeof $==="number")return u0.ValueType.Number;if(typeof $==="boolean")return u0.ValueType.Boolean;if($ instanceof Date)return u0.ValueType.Date;if($.text&&$.hyperlink)return u0.ValueType.Hyperlink;if($.formula)return u0.ValueType.Formula;if($.error)return u0.ValueType.Error;throw Error("I could not understand type of value")}function Gn0($){switch($.type){case u0.ValueType.Formula:return B10($.result);default:return $.type}}class R10 extends Qn0{constructor(){super();this.richTextXForm=new qn0}get tag(){return"c"}prepare($,I){let U=I.styles.addStyleModel($.style||{},Gn0($));if(U)$.styleId=U;if($.comment)I.comments.push({...$.comment,ref:$.address});switch($.type){case u0.ValueType.String:case u0.ValueType.RichText:if(I.sharedStrings)$.ssId=I.sharedStrings.add($.value);break;case u0.ValueType.Date:if(I.date1904)$.date1904=!0;break;case u0.ValueType.Hyperlink:if(I.sharedStrings&&$.text!==void 0&&$.text!==null)$.ssId=I.sharedStrings.add($.text);I.hyperlinks.push({address:$.address,target:$.hyperlink,tooltip:$.tooltip});break;case u0.ValueType.Merge:I.merges.add($);break;case u0.ValueType.Formula:if(I.date1904)$.date1904=!0;if($.shareType==="shared")$.si=I.siFormulae++;if($.formula)I.formulae[$.address]=$;else if($.sharedFormula){let Y=I.formulae[$.sharedFormula];if(!Y)throw Error(`Shared Formula master must exist above and or left of clone for cell ${$.address}`);if(Y.si===void 0)Y.shareType="shared",Y.si=I.siFormulae++,Y.range=new Kn0(Y.address,$.address);else if(Y.range)Y.range.expandToAddress($.address);$.si=Y.si}break;default:break}}renderFormula($,I){let U=null;switch(I.shareType){case"shared":U={t:"shared",ref:I.ref||I.range.range,si:I.si};break;case"array":U={t:"array",ref:I.ref};break;default:if(I.si!==void 0)U={t:"shared",si:I.si};break}switch(B10(I.result)){case u0.ValueType.Null:$.leafNode("f",U,I.formula);break;case u0.ValueType.String:$.addAttribute("t","str"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result);break;case u0.ValueType.Number:$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result);break;case u0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result?1:0);break;case u0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("f",U,I.formula),$.leafNode("v",null,I.result.error);break;case u0.ValueType.Date:$.leafNode("f",U,I.formula),$.leafNode("v",null,h9.dateToExcel(I.result,I.date1904));break;default:throw Error("I could not understand type of value")}}render($,I){if(I.type===u0.ValueType.Null&&!I.styleId)return;if($.openNode("c"),$.addAttribute("r",I.address),I.styleId)$.addAttribute("s",I.styleId);switch(I.type){case u0.ValueType.Null:break;case u0.ValueType.Number:$.leafNode("v",null,I.value);break;case u0.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("v",null,I.value?"1":"0");break;case u0.ValueType.Error:$.addAttribute("t","e"),$.leafNode("v",null,I.value.error);break;case u0.ValueType.String:case u0.ValueType.RichText:if(I.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,I.ssId);else if(I.value&&I.value.richText)$.addAttribute("t","inlineStr"),$.openNode("is"),I.value.richText.forEach((U)=>{this.richTextXForm.render($,U)}),$.closeNode("is");else $.addAttribute("t","str"),$.leafNode("v",null,I.value);break;case u0.ValueType.Date:$.leafNode("v",null,h9.dateToExcel(I.value,I.date1904));break;case u0.ValueType.Hyperlink:if(I.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,I.ssId);else $.addAttribute("t","str"),$.leafNode("v",null,I.text);break;case u0.ValueType.Formula:this.renderFormula($,I);break;case u0.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:I}=this;if(I.formula||I.shareType){if(I.type=u0.ValueType.Formula,I.value){if(this.t==="str")I.result=h9.xmlDecode(I.value);else if(this.t==="b")I.result=parseInt(I.value,10)!==0;else if(this.t==="e")I.result={error:I.value};else I.result=parseFloat(I.value);I.value=void 0}}else if(I.value!==void 0)switch(this.t){case"s":I.type=u0.ValueType.String,I.value=parseInt(I.value,10);break;case"str":I.type=u0.ValueType.String,I.value=h9.xmlDecode(I.value);break;case"inlineStr":I.type=u0.ValueType.String;break;case"b":I.type=u0.ValueType.Boolean,I.value=parseInt(I.value,10)!==0;break;case"e":I.type=u0.ValueType.Error,I.value={error:I.value};break;default:I.type=u0.ValueType.Number,I.value=parseFloat(I.value);break}else if(I.styleId)I.type=u0.ValueType.Null;else I.type=u0.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($,I){let U=$.styleId&&I.styles&&I.styles.getStyleModel($.styleId);if(U)$.style=U;if($.styleId!==void 0)$.styleId=void 0;switch($.type){case u0.ValueType.String:if(typeof $.value==="number"){if(I.sharedStrings)$.value=I.sharedStrings.getString($.value)}if($.value.richText)$.type=u0.ValueType.RichText;break;case u0.ValueType.Number:if(U&&h9.isDateFmt(U.numFmt))$.type=u0.ValueType.Date,$.value=h9.excelToDate($.value,I.date1904);break;case u0.ValueType.Formula:if($.result!==void 0&&U&&h9.isDateFmt(U.numFmt))$.result=h9.excelToDate($.result,I.date1904);if($.shareType==="shared"){if($.ref)I.formulae[$.si]=$.address;else $.sharedFormula=I.formulae[$.si],delete $.shareType;delete $.si}break;default:break}let Y=I.hyperlinkMap[$.address];if(Y){if($.type===u0.ValueType.Formula)$.text=$.result,$.result=void 0;else $.text=$.value,$.value=void 0;$.type=u0.ValueType.Hyperlink,$.hyperlink=Y}let J=I.commentsMap&&I.commentsMap[$.address];if(J)$.comment=J}}v10.exports=R10});var yv=O((KP1,_10)=>{var Hn0=X0(),gv=L6(),Wn0=C10();class j10 extends Hn0{constructor($){super();this.maxItems=$&&$.maxItems,this.map={c:new Wn0}}get tag(){return"row"}prepare($,I){let U=I.styles.addStyleModel($.style);if(U)$.styleId=U;let Y=this.map.c;$.cells.forEach((J)=>{Y.prepare(J,I)})}render($,I,U){if($.openNode("row"),$.addAttribute("r",I.number),I.height)$.addAttribute("ht",I.height),$.addAttribute("customHeight","1");if(I.hidden)$.addAttribute("hidden","1");if(I.min>0&&I.max>0&&I.min<=I.max)$.addAttribute("spans",`${I.min}:${I.max}`);if(I.styleId)$.addAttribute("s",I.styleId),$.addAttribute("customFormat","1");if($.addAttribute("x14ac:dyDescent","0.25"),I.outlineLevel)$.addAttribute("outlineLevel",I.outlineLevel);if(I.collapsed)$.addAttribute("collapsed","1");let Y=this.map.c;I.cells.forEach((J)=>{Y.render($,J,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="row"){this.numRowsSeen+=1;let I=$.attributes.spans?$.attributes.spans.split(":").map((Y)=>parseInt(Y,10)):[void 0,void 0],U=this.model={number:parseInt($.attributes.r,10),min:I[0],max:I[1],cells:[]};if($.attributes.s)U.styleId=parseInt($.attributes.s,10);if(gv.parseBoolean($.attributes.hidden))U.hidden=!0;if(gv.parseBoolean($.attributes.bestFit))U.bestFit=!0;if($.attributes.ht)U.height=parseFloat($.attributes.ht);if($.attributes.outlineLevel)U.outlineLevel=parseInt($.attributes.outlineLevel,10);if(gv.parseBoolean($.attributes.collapsed))U.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($,I){if($.style=$.styleId?I.styles.getStyleModel($.styleId):{},$.styleId!==void 0)$.styleId=void 0;let U=this.map.c;$.cells.forEach((Y)=>{U.reconcile(Y,I)})}}_10.exports=j10});var xv=O((qP1,g10)=>{var hv=L6(),Vn0=X0();class S10 extends Vn0{get tag(){return"col"}prepare($,I){let U=I.styles.addStyleModel($.style||{});if(U)$.styleId=U}render($,I){if($.openNode("col"),$.addAttribute("min",I.min),$.addAttribute("max",I.max),I.width)$.addAttribute("width",I.width);if(I.styleId)$.addAttribute("style",I.styleId);if(I.hidden)$.addAttribute("hidden","1");if(I.bestFit)$.addAttribute("bestFit","1");if(I.outlineLevel)$.addAttribute("outlineLevel",I.outlineLevel);if(I.collapsed)$.addAttribute("collapsed","1");$.addAttribute("customWidth","1"),$.closeNode()}parseOpen($){if($.name==="col"){let I=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)I.styleId=parseInt($.attributes.style,10);if(hv.parseBoolean($.attributes.hidden))I.hidden=!0;if(hv.parseBoolean($.attributes.bestFit))I.bestFit=!0;if($.attributes.outlineLevel)I.outlineLevel=parseInt($.attributes.outlineLevel,10);if(hv.parseBoolean($.attributes.collapsed))I.collapsed=!0;return!0}return!1}parseText(){}parseClose(){return!1}reconcile($,I){if($.styleId)$.style=I.styles.getStyleModel($.styleId)}}g10.exports=S10});var x10=O((GP1,h10)=>{var Zn0=X0();class y10 extends Zn0{get tag(){return"dimension"}render($,I){if(I)$.leafNode("dimension",{ref:I})}parseOpen($){if($.name==="dimension")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}h10.exports=y10});var kv=O((HP1,u10)=>{var zn0=X0();class k10 extends zn0{get tag(){return"hyperlink"}render($,I){if(this.isInternalLink(I))$.leafNode("hyperlink",{ref:I.address,"r:id":I.rId,tooltip:I.tooltip,location:I.target});else $.leafNode("hyperlink",{ref:I.address,"r:id":I.rId,tooltip:I.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)}}u10.exports=k10});var i10=O((WP1,b10)=>{var Xn0=X0();class f10 extends Xn0{get tag(){return"mergeCell"}render($,I){$.leafNode("mergeCell",{ref:I})}parseOpen($){if($.name==="mergeCell")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}b10.exports=f10});var bv=O((VP1,p10)=>{var wK=z4(),fv=L6(),IY=G4(),wn0=X0(),Ln0=Q5();function UY($,I,U,Y){let J=I[U];if(J!==void 0)$[U]=J;else if(Y!==void 0)$[U]=Y}function uv($,I,U,Y){let J=I[U];if(J!==void 0)$[U]=fv.parseBoolean(J);else if(Y!==void 0)$[U]=Y}function Dn0($){let I=wK.map($,(J,Q)=>({address:Q,dataValidation:J,marked:!1})).sort((J,Q)=>wK.strcmp(J.address,Q.address)),U=wK.keyBy(I,"address"),Y=(J,Q,K)=>{for(let q=0;q<Q;q++){let G=IY.encodeAddress(J.row+q,K);if(!$[G]||!wK.isEqual($[J.address],$[G]))return!1}return!0};return I.map((J)=>{if(!J.marked){let Q=IY.decodeEx(J.address);if(Q.dimensions)return U[Q.dimensions].marked=!0,{...J.dataValidation,sqref:J.address};let K=1,q=IY.encodeAddress(Q.row+K,Q.col);while($[q]&&wK.isEqual(J.dataValidation,$[q]))K++,q=IY.encodeAddress(Q.row+K,Q.col);let G=1;while(Y(Q,K,Q.col+G))G++;for(let H=0;H<K;H++)for(let W=0;W<G;W++)q=IY.encodeAddress(Q.row+H,Q.col+W),U[q].marked=!0;if(K>1||G>1){let H=Q.row+(K-1),W=Q.col+(G-1);return{...J.dataValidation,sqref:`${J.address}:${IY.encodeAddress(H,W)}`}}return{...J.dataValidation,sqref:J.address}}return null}).filter(Boolean)}class n10 extends wn0{get tag(){return"dataValidations"}render($,I){let U=Dn0(I);if(U.length)$.openNode("dataValidations",{count:U.length}),U.forEach((Y)=>{if($.openNode("dataValidation"),Y.type!=="any"){if($.addAttribute("type",Y.type),Y.operator&&Y.type!=="list"&&Y.operator!=="between")$.addAttribute("operator",Y.operator);if(Y.allowBlank)$.addAttribute("allowBlank","1")}if(Y.showInputMessage)$.addAttribute("showInputMessage","1");if(Y.promptTitle)$.addAttribute("promptTitle",Y.promptTitle);if(Y.prompt)$.addAttribute("prompt",Y.prompt);if(Y.showErrorMessage)$.addAttribute("showErrorMessage","1");if(Y.errorStyle)$.addAttribute("errorStyle",Y.errorStyle);if(Y.errorTitle)$.addAttribute("errorTitle",Y.errorTitle);if(Y.error)$.addAttribute("error",Y.error);$.addAttribute("sqref",Y.sqref),(Y.formulae||[]).forEach((J,Q)=>{if($.openNode(`formula${Q+1}`),Y.type==="date")$.writeText(fv.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 I={type:$.attributes.type||"any",formulae:[]};if($.attributes.type)uv(I,$.attributes,"allowBlank");switch(uv(I,$.attributes,"showInputMessage"),uv(I,$.attributes,"showErrorMessage"),I.type){case"any":case"list":case"custom":break;default:UY(I,$.attributes,"operator","between");break}return UY(I,$.attributes,"promptTitle"),UY(I,$.attributes,"prompt"),UY(I,$.attributes,"errorStyle"),UY(I,$.attributes,"errorTitle"),UY(I,$.attributes,"error"),this._dataValidation=I,!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((U)=>{if(U.includes(":"))new Ln0(U).forEachAddress((J)=>{this.model[J]=this._dataValidation});else this.model[U]=this._dataValidation}),!0}case"formula1":case"formula2":{let I=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":I=parseInt(I,10);break;case"decimal":I=parseFloat(I);break;case"date":I=fv.excelToDate(parseFloat(I));break;default:break}return this._dataValidation.formulae.push(I),this._formula=void 0,!0}default:return!0}}}p10.exports=n10});var m10=O((ZP1,d10)=>{var On0=X0();class c10 extends On0{get tag(){return"pageSetUpPr"}render($,I){if(I&&I.fitToPage)return $.leafNode(this.tag,{fitToPage:I.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}}d10.exports=c10});var r10=O((zP1,o10)=>{var Nn0=X0(),YY=($)=>typeof $<"u";class l10 extends Nn0{get tag(){return"outlinePr"}render($,I){if(I&&(YY(I.summaryBelow)||YY(I.summaryRight)))return $.leafNode(this.tag,{summaryBelow:YY(I.summaryBelow)?Number(I.summaryBelow):void 0,summaryRight:YY(I.summaryRight)?Number(I.summaryRight):void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={summaryBelow:YY($.attributes.summaryBelow)?Boolean(Number($.attributes.summaryBelow)):void 0,summaryRight:YY($.attributes.summaryRight)?Boolean(Number($.attributes.summaryRight)):void 0},!0;return!1}parseText(){}parseClose(){return!1}}o10.exports=l10});var iv=O((XP1,a10)=>{var Fn0=X0(),Mn0=S9(),An0=m10(),Pn0=r10();class t10 extends Fn0{constructor(){super();this.map={tabColor:new Mn0("tabColor"),pageSetUpPr:new An0,outlinePr:new Pn0}}get tag(){return"sheetPr"}render($,I){if(I){$.addRollback(),$.openNode("sheetPr");let U=!1;if(U=this.map.tabColor.render($,I.tabColor)||U,U=this.map.pageSetUpPr.render($,I.pageSetup)||U,U=this.map.outlinePr.render($,I.outlineProperties)||U,U)$.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}}a10.exports=t10});var nv=O((wP1,e10)=>{var Tn0=z4(),En0=X0();class s10 extends En0{get tag(){return"sheetFormatPr"}render($,I){if(I){let U={defaultRowHeight:I.defaultRowHeight,outlineLevelRow:I.outlineLevelRow,outlineLevelCol:I.outlineLevelCol,"x14ac:dyDescent":I.dyDescent};if(I.defaultColWidth)U.defaultColWidth=I.defaultColWidth;if(!I.defaultRowHeight||I.defaultRowHeight!==15)U.customHeight="1";if(Tn0.some(U,(Y)=>Y!==void 0))$.leafNode("sheetFormatPr",U)}}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}}e10.exports=s10});var pv=O((LP1,I40)=>{var Bn0=G4(),Rn0=X0(),vn0={frozen:"frozen",frozenSplit:"frozen",split:"split"};class $40 extends Rn0{get tag(){return"sheetView"}prepare($){switch($.state){case"frozen":case"split":break;default:$.state="normal";break}}render($,I){$.openNode("sheetView",{workbookViewId:I.workbookViewId||0});let U=function(q,G,H){if(H)$.addAttribute(q,G)};U("rightToLeft","1",I.rightToLeft===!0),U("tabSelected","1",I.tabSelected),U("showRuler","0",I.showRuler===!1),U("showRowColHeaders","0",I.showRowColHeaders===!1),U("showGridLines","0",I.showGridLines===!1),U("zoomScale",I.zoomScale,I.zoomScale),U("zoomScaleNormal",I.zoomScaleNormal,I.zoomScaleNormal),U("view",I.style,I.style);let Y,J,Q,K;switch(I.state){case"frozen":J=I.xSplit||0,Q=I.ySplit||0,Y=I.topLeftCell||Bn0.getAddress(Q+1,J+1).address,K=I.xSplit&&I.ySplit&&"bottomRight"||I.xSplit&&"topRight"||"bottomLeft",$.leafNode("pane",{xSplit:I.xSplit||void 0,ySplit:I.ySplit||void 0,topLeftCell:Y,activePane:K,state:"frozen"}),$.leafNode("selection",{pane:K,activeCell:I.activeCell,sqref:I.activeCell});break;case"split":if(I.activePane==="topLeft")I.activePane=void 0;$.leafNode("pane",{xSplit:I.xSplit||void 0,ySplit:I.ySplit||void 0,topLeftCell:I.topLeftCell,activePane:I.activePane}),$.leafNode("selection",{pane:I.activePane,activeCell:I.activeCell,sqref:I.activeCell});break;case"normal":if(I.activeCell)$.leafNode("selection",{activeCell:I.activeCell,sqref:I.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 I=$.attributes.pane||"topLeft";return this.selections[I]={pane:I,activeCell:$.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose($){let I,U;switch($){case"sheetView":if(this.sheetView&&this.pane){if(I=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:vn0[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")I.activePane=this.pane.activePane;if(U=this.selections[this.pane.activePane],U&&U.activeCell)I.activeCell=U.activeCell;if(this.sheetView.style)I.style=this.sheetView.style}else{if(I=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},U=this.selections.topLeft,U&&U.activeCell)I.activeCell=U.activeCell;if(this.sheetView.style)I.style=this.sheetView.style}return!1;default:return!0}}reconcile(){}}I40.exports=$40});var cv=O((DP1,Y40)=>{var Cn0=z4(),jn0=X0();function c6($,I){return $?I:void 0}function v$($,I){return $===I?!0:void 0}class U40 extends jn0{get tag(){return"sheetProtection"}render($,I){if(I){let U={sheet:c6(I.sheet,"1"),selectLockedCells:I.selectLockedCells===!1?"1":void 0,selectUnlockedCells:I.selectUnlockedCells===!1?"1":void 0,formatCells:c6(I.formatCells,"0"),formatColumns:c6(I.formatColumns,"0"),formatRows:c6(I.formatRows,"0"),insertColumns:c6(I.insertColumns,"0"),insertRows:c6(I.insertRows,"0"),insertHyperlinks:c6(I.insertHyperlinks,"0"),deleteColumns:c6(I.deleteColumns,"0"),deleteRows:c6(I.deleteRows,"0"),sort:c6(I.sort,"0"),autoFilter:c6(I.autoFilter,"0"),pivotTables:c6(I.pivotTables,"0")};if(I.sheet)U.algorithmName=I.algorithmName,U.hashValue=I.hashValue,U.saltValue=I.saltValue,U.spinCount=I.spinCount,U.objects=c6(I.objects===!1,"1"),U.scenarios=c6(I.scenarios===!1,"1");if(Cn0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:if(this.model={sheet:v$($.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:v$($.attributes.formatCells,"0"),formatColumns:v$($.attributes.formatColumns,"0"),formatRows:v$($.attributes.formatRows,"0"),insertColumns:v$($.attributes.insertColumns,"0"),insertRows:v$($.attributes.insertRows,"0"),insertHyperlinks:v$($.attributes.insertHyperlinks,"0"),deleteColumns:v$($.attributes.deleteColumns,"0"),deleteRows:v$($.attributes.deleteRows,"0"),sort:v$($.attributes.sort,"0"),autoFilter:v$($.attributes.autoFilter,"0"),pivotTables:v$($.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}}Y40.exports=U40});var dv=O((OP1,Q40)=>{var _n0=z4(),Sn0=X0();class J40 extends Sn0{get tag(){return"pageMargins"}render($,I){if(I){let U={left:I.left,right:I.right,top:I.top,bottom:I.bottom,header:I.header,footer:I.footer};if(_n0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}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}}Q40.exports=J40});var mv=O((NP1,q40)=>{var gn0=z4(),yn0=X0();function Az($){return $?"1":void 0}function hn0($){switch($){case"overThenDown":return $;default:return}}function xn0($){switch($){case"atEnd":case"asDisplyed":return $;default:return}}function kn0($){switch($){case"dash":case"blank":case"NA":return $;default:return}}function un0($){return $!==void 0?parseInt($,10):void 0}class K40 extends yn0{get tag(){return"pageSetup"}render($,I){if(I){let U={paperSize:I.paperSize,orientation:I.orientation,horizontalDpi:I.horizontalDpi,verticalDpi:I.verticalDpi,pageOrder:hn0(I.pageOrder),blackAndWhite:Az(I.blackAndWhite),draft:Az(I.draft),cellComments:xn0(I.cellComments),errors:kn0(I.errors),scale:I.scale,fitToWidth:I.fitToWidth,fitToHeight:I.fitToHeight,firstPageNumber:I.firstPageNumber,useFirstPageNumber:Az(I.firstPageNumber),usePrinterDefaults:Az(I.usePrinterDefaults),copies:I.copies};if(gn0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={paperSize:un0($.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}}q40.exports=K40});var W40=O((FP1,H40)=>{var fn0=z4(),bn0=X0();function Pz($){return $?"1":void 0}class G40 extends bn0{get tag(){return"printOptions"}render($,I){if(I){let U={headings:Pz(I.showRowColHeaders),gridLines:Pz(I.showGridLines),horizontalCentered:Pz(I.horizontalCentered),verticalCentered:Pz(I.verticalCentered)};if(fn0.some(U,(Y)=>Y!==void 0))$.leafNode(this.tag,U)}}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}}H40.exports=G40});var lv=O((MP1,Z40)=>{var in0=G4(),nn0=X0();class V40 extends nn0{get tag(){return"autoFilter"}render($,I){if(I)if(typeof I==="string")$.leafNode("autoFilter",{ref:I});else{let U=function(Q){if(typeof Q==="string")return Q;return in0.getAddress(Q.row,Q.column).address},Y=U(I.from),J=U(I.to);if(Y&&J)$.leafNode("autoFilter",{ref:`${Y}:${J}`})}}parseOpen($){if($.name==="autoFilter")this.model=$.attributes.ref}}Z40.exports=V40});var ov=O((AP1,X40)=>{var pn0=X0();class z40 extends pn0{get tag(){return"picture"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}X40.exports=z40});var D40=O((PP1,L40)=>{var cn0=X0();class w40 extends cn0{get tag(){return"drawing"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}L40.exports=w40});var F40=O((TP1,N40)=>{var dn0=X0();class O40 extends dn0{get tag(){return"tablePart"}render($,I){if(I)$.leafNode(this.tag,{"r:id":I.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}N40.exports=O40});var P40=O((EP1,A40)=>{var mn0=X0();class M40 extends mn0{get tag(){return"brk"}render($,I){$.leafNode("brk",I)}parseOpen($){if($.name==="brk")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}A40.exports=M40});var rv=O((BP1,E40)=>{var ln0=P40(),on0=_9();class T40 extends on0{constructor(){let $={tag:"rowBreaks",count:!0,childXform:new ln0};super($)}render($,I){if(I&&I.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,I.length),$.addAttribute("manualBreakCount",I.length);let{childXform:U}=this;I.forEach((Y)=>{U.render($,Y)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}}E40.exports=T40});var tv=O((RP1,R40)=>{var rn0=X0();class B40 extends rn0{get tag(){return"headerFooter"}render($,I){if(I){$.addRollback();let U=!1;if($.openNode("headerFooter"),I.differentFirst)$.addAttribute("differentFirst","1"),U=!0;if(I.differentOddEven)$.addAttribute("differentOddEven","1"),U=!0;if(I.oddHeader&&typeof I.oddHeader==="string")$.leafNode("oddHeader",null,I.oddHeader),U=!0;if(I.oddFooter&&typeof I.oddFooter==="string")$.leafNode("oddFooter",null,I.oddFooter),U=!0;if(I.evenHeader&&typeof I.evenHeader==="string")$.leafNode("evenHeader",null,I.evenHeader),U=!0;if(I.evenFooter&&typeof I.evenFooter==="string")$.leafNode("evenFooter",null,I.evenFooter),U=!0;if(I.firstHeader&&typeof I.firstHeader==="string")$.leafNode("firstHeader",null,I.firstHeader),U=!0;if(I.firstFooter&&typeof I.firstFooter==="string")$.leafNode("firstFooter",null,I.firstFooter),U=!0;if(U)$.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}}}R40.exports=B40});var d6=O((vP1,C40)=>{var tn0=X0();class v40 extends tn0{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($,I){this.model[$]=I.model}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.onParserClose($,this.parser),this.parser=void 0;return!0}return $!==this.tag}}C40.exports=v40});var Tz=O((CP1,S40)=>{var j40=X0();class _40 extends j40{get tag(){return"cfvo"}render($,I){$.leafNode(this.tag,{type:I.type,val:I.value})}parseOpen($){this.model={type:$.attributes.type,value:j40.toFloatValue($.attributes.val)}}parseClose($){return $!==this.tag}}S40.exports=_40});var h40=O((jP1,y40)=>{var an0=d6(),sn0=S9(),en0=Tz();class g40 extends an0{constructor(){super();this.map={cfvo:this.cfvoXform=new en0,color:this.colorXform=new sn0}}get tag(){return"dataBar"}render($,I){$.openNode(this.tag),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.colorXform.render($,I.color),$.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose($,I){switch($){case"cfvo":this.model.cfvo.push(I.model);break;case"color":this.model.color=I.model;break}}}y40.exports=g40});var i40=O((_P1,b40)=>{var $p0=X0(),x40=d6();class k40 extends $p0{get tag(){return"x14:id"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}class u40 extends x40{constructor(){super();this.map={"x14:id":this.idXform=new k40}}get tag(){return"ext"}render($,I){$.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render($,I.x14Id),$.closeNode()}createNewModel(){return{}}onParserClose($,I){this.model.x14Id=I.model}}class f40 extends x40{constructor(){super();this.map={ext:new u40}}get tag(){return"extLst"}render($,I){$.openNode(this.tag),this.map.ext.render($,I),$.closeNode()}createNewModel(){return{}}onParserClose($,I){Object.assign(this.model,I.model)}}b40.exports=f40});var c40=O((SP1,p40)=>{var Ip0=X0();class n40 extends Ip0{get tag(){return"formula"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}p40.exports=n40});var l40=O((gP1,m40)=>{var Up0=d6(),Yp0=S9(),Jp0=Tz();class d40 extends Up0{constructor(){super();this.map={cfvo:this.cfvoXform=new Jp0,color:this.colorXform=new Yp0}}get tag(){return"colorScale"}render($,I){$.openNode(this.tag),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),I.color.forEach((U)=>{this.colorXform.render($,U)}),$.closeNode()}createNewModel($){return{cfvo:[],color:[]}}onParserClose($,I){this.model[$].push(I.model)}}m40.exports=d40});var t40=O((yP1,r40)=>{var JY=X0(),Qp0=d6(),Kp0=Tz();class o40 extends Qp0{constructor(){super();this.map={cfvo:this.cfvoXform=new Kp0}}get tag(){return"iconSet"}render($,I){$.openNode(this.tag,{iconSet:JY.toStringAttribute(I.iconSet,"3TrafficLights"),reverse:JY.toBoolAttribute(I.reverse,!1),showValue:JY.toBoolAttribute(I.showValue,!0)}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{iconSet:JY.toStringValue($.iconSet,"3TrafficLights"),reverse:JY.toBoolValue($.reverse),showValue:JY.toBoolValue($.showValue),cfvo:[]}}onParserClose($,I){this.model[$].push(I.model)}}r40.exports=o40});var e40=O((hP1,s40)=>{var $8=X0(),qp0=d6(),a40=Q5(),Gp0=h40(),Hp0=i40(),Wp0=c40(),Vp0=l40(),Zp0=t40(),zp0={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},Xp0=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let I=new a40($.ref),{tl:U}=I;switch($.operator){case"containsText":return`NOT(ISERROR(SEARCH("${$.text}",${U})))`;case"containsBlanks":return`LEN(TRIM(${U}))=0`;case"notContainsBlanks":return`LEN(TRIM(${U}))>0`;case"containsErrors":return`ISERROR(${U})`;case"notContainsErrors":return`NOT(ISERROR(${U}))`;default:return}},wp0=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let I=new a40($.ref),{tl:U}=I;switch($.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${U},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${U},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${U},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${U},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${U},1)=TODAY()-1`;case"today":return`FLOOR(${U},1)=TODAY()`;case"tomorrow":return`FLOOR(${U},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${U},1)<=6,FLOOR(${U},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0-1)),YEAR(${U})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${U})=MONTH(TODAY()),YEAR(${U})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0+1)),YEAR(${U})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},Lp0=($)=>{let{type:I,operator:U}=$;switch(I){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:I};default:return{type:I,operator:U}}};class av extends qp0{constructor(){super();this.map={dataBar:this.databarXform=new Gp0,extLst:this.extLstRefXform=new Hp0,formula:this.formulaXform=new Wp0,colorScale:this.colorScaleXform=new Vp0,iconSet:this.iconSetXform=new Zp0}}get tag(){return"cfRule"}static isPrimitive($){if($.type==="iconSet"){if($.custom||zp0[$.iconSet])return!1}return!0}render($,I){switch(I.type){case"expression":this.renderExpression($,I);break;case"cellIs":this.renderCellIs($,I);break;case"top10":this.renderTop10($,I);break;case"aboveAverage":this.renderAboveAverage($,I);break;case"dataBar":this.renderDataBar($,I);break;case"colorScale":this.renderColorScale($,I);break;case"iconSet":this.renderIconSet($,I);break;case"containsText":this.renderText($,I);break;case"timePeriod":this.renderTimePeriod($,I);break}}renderExpression($,I){$.openNode(this.tag,{type:"expression",dxfId:I.dxfId,priority:I.priority}),this.formulaXform.render($,I.formulae[0]),$.closeNode()}renderCellIs($,I){$.openNode(this.tag,{type:"cellIs",dxfId:I.dxfId,priority:I.priority,operator:I.operator}),I.formulae.forEach((U)=>{this.formulaXform.render($,U)}),$.closeNode()}renderTop10($,I){$.leafNode(this.tag,{type:"top10",dxfId:I.dxfId,priority:I.priority,percent:$8.toBoolAttribute(I.percent,!1),bottom:$8.toBoolAttribute(I.bottom,!1),rank:$8.toIntValue(I.rank,10,!0)})}renderAboveAverage($,I){$.leafNode(this.tag,{type:"aboveAverage",dxfId:I.dxfId,priority:I.priority,aboveAverage:$8.toBoolAttribute(I.aboveAverage,!0)})}renderDataBar($,I){$.openNode(this.tag,{type:"dataBar",priority:I.priority}),this.databarXform.render($,I),this.extLstRefXform.render($,I),$.closeNode()}renderColorScale($,I){$.openNode(this.tag,{type:"colorScale",priority:I.priority}),this.colorScaleXform.render($,I),$.closeNode()}renderIconSet($,I){if(!av.isPrimitive(I))return;$.openNode(this.tag,{type:"iconSet",priority:I.priority}),this.iconSetXform.render($,I),$.closeNode()}renderText($,I){$.openNode(this.tag,{type:I.operator,dxfId:I.dxfId,priority:I.priority,operator:$8.toStringAttribute(I.operator,"containsText")});let U=Xp0(I);if(U)this.formulaXform.render($,U);$.closeNode()}renderTimePeriod($,I){$.openNode(this.tag,{type:"timePeriod",dxfId:I.dxfId,priority:I.priority,timePeriod:I.timePeriod});let U=wp0(I);if(U)this.formulaXform.render($,U);$.closeNode()}createNewModel({attributes:$}){return{...Lp0($),dxfId:$8.toIntValue($.dxfId),priority:$8.toIntValue($.priority),timePeriod:$.timePeriod,percent:$8.toBoolValue($.percent),bottom:$8.toBoolValue($.bottom),rank:$8.toIntValue($.rank),aboveAverage:$8.toBoolValue($.aboveAverage)}}onParserClose($,I){switch($){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,I.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(I.model);break}}}s40.exports=av});var U60=O((xP1,I60)=>{var Dp0=d6(),sv=e40();class $60 extends Dp0{constructor(){super();this.map={cfRule:new sv}}get tag(){return"conditionalFormatting"}render($,I){if(!I.rules.some(sv.isPrimitive))return;$.openNode(this.tag,{sqref:I.ref}),I.rules.forEach((U)=>{if(sv.isPrimitive(U))U.ref=I.ref,this.map.cfRule.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{ref:$.sqref,rules:[]}}onParserClose($,I){this.model.rules.push(I.model)}}I60.exports=$60});var ev=O((kP1,J60)=>{var Op0=X0(),Np0=U60();class Y60 extends Op0{constructor(){super();this.cfXform=new Np0}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare($,I){let U=$.reduce((Y,J)=>Math.max(Y,...J.rules.map((Q)=>Q.priority||0)),1);$.forEach((Y)=>{Y.rules.forEach((J)=>{if(!J.priority)J.priority=U++;if(J.style)J.dxfId=I.styles.addDxfStyle(J.style)})})}render($,I){I.forEach((U)=>{this.cfXform.render($,U)})}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($,I){$.forEach((U)=>{U.rules.forEach((Y)=>{if(Y.dxfId!==void 0)Y.style=I.styles.getDxfStyle(Y.dxfId),delete Y.dxfId})})}}J60.exports=Y60});var $C=O((Q60)=>{Object.defineProperty(Q60,"__esModule",{value:!0});Q60.default=Ap0;var Fp0=Mp0(r("crypto"));function Mp0($){return $&&$.__esModule?$:{default:$}}var Bz=new Uint8Array(256),Ez=Bz.length;function Ap0(){if(Ez>Bz.length-16)Fp0.default.randomFillSync(Bz),Ez=0;return Bz.slice(Ez,Ez+=16)}});var G60=O((K60)=>{Object.defineProperty(K60,"__esModule",{value:!0});K60.default=void 0;var Tp0=/^(?:[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;K60.default=Tp0});var LK=O((H60)=>{Object.defineProperty(H60,"__esModule",{value:!0});H60.default=void 0;var Ep0=Bp0(G60());function Bp0($){return $&&$.__esModule?$:{default:$}}function Rp0($){return typeof $==="string"&&Ep0.default.test($)}var vp0=Rp0;H60.default=vp0});var DK=O((V60)=>{Object.defineProperty(V60,"__esModule",{value:!0});V60.default=void 0;var Cp0=jp0(LK());function jp0($){return $&&$.__esModule?$:{default:$}}var U6=[];for(let $=0;$<256;++$)U6.push(($+256).toString(16).substr(1));function _p0($,I=0){let U=(U6[$[I+0]]+U6[$[I+1]]+U6[$[I+2]]+U6[$[I+3]]+"-"+U6[$[I+4]]+U6[$[I+5]]+"-"+U6[$[I+6]]+U6[$[I+7]]+"-"+U6[$[I+8]]+U6[$[I+9]]+"-"+U6[$[I+10]]+U6[$[I+11]]+U6[$[I+12]]+U6[$[I+13]]+U6[$[I+14]]+U6[$[I+15]]).toLowerCase();if(!(0,Cp0.default)(U))throw TypeError("Stringified UUID is invalid");return U}var Sp0=_p0;V60.default=Sp0});var D60=O((w60)=>{Object.defineProperty(w60,"__esModule",{value:!0});w60.default=void 0;var gp0=X60($C()),yp0=X60(DK());function X60($){return $&&$.__esModule?$:{default:$}}var z60,IC,UC=0,YC=0;function hp0($,I,U){let Y=I&&U||0,J=I||Array(16);$=$||{};let Q=$.node||z60,K=$.clockseq!==void 0?$.clockseq:IC;if(Q==null||K==null){let z=$.random||($.rng||gp0.default)();if(Q==null)Q=z60=[z[0]|1,z[1],z[2],z[3],z[4],z[5]];if(K==null)K=IC=(z[6]<<8|z[7])&16383}let q=$.msecs!==void 0?$.msecs:Date.now(),G=$.nsecs!==void 0?$.nsecs:YC+1,H=q-UC+(G-YC)/1e4;if(H<0&&$.clockseq===void 0)K=K+1&16383;if((H<0||q>UC)&&$.nsecs===void 0)G=0;if(G>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");UC=q,YC=G,IC=K,q+=12219292800000;let W=((q&268435455)*1e4+G)%4294967296;J[Y++]=W>>>24&255,J[Y++]=W>>>16&255,J[Y++]=W>>>8&255,J[Y++]=W&255;let V=q/4294967296*1e4&268435455;J[Y++]=V>>>8&255,J[Y++]=V&255,J[Y++]=V>>>24&15|16,J[Y++]=V>>>16&255,J[Y++]=K>>>8|128,J[Y++]=K&255;for(let z=0;z<6;++z)J[Y+z]=Q[z];return I||(0,yp0.default)(J)}var xp0=hp0;w60.default=xp0});var JC=O((O60)=>{Object.defineProperty(O60,"__esModule",{value:!0});O60.default=void 0;var kp0=up0(LK());function up0($){return $&&$.__esModule?$:{default:$}}function fp0($){if(!(0,kp0.default)($))throw TypeError("Invalid UUID");let I,U=new Uint8Array(16);return U[0]=(I=parseInt($.slice(0,8),16))>>>24,U[1]=I>>>16&255,U[2]=I>>>8&255,U[3]=I&255,U[4]=(I=parseInt($.slice(9,13),16))>>>8,U[5]=I&255,U[6]=(I=parseInt($.slice(14,18),16))>>>8,U[7]=I&255,U[8]=(I=parseInt($.slice(19,23),16))>>>8,U[9]=I&255,U[10]=(I=parseInt($.slice(24,36),16))/1099511627776&255,U[11]=I/4294967296&255,U[12]=I>>>24&255,U[13]=I>>>16&255,U[14]=I>>>8&255,U[15]=I&255,U}var bp0=fp0;O60.default=bp0});var QC=O((P60)=>{Object.defineProperty(P60,"__esModule",{value:!0});P60.default=cp0;P60.URL=P60.DNS=void 0;var ip0=F60(DK()),np0=F60(JC());function F60($){return $&&$.__esModule?$:{default:$}}function pp0($){$=unescape(encodeURIComponent($));let I=[];for(let U=0;U<$.length;++U)I.push($.charCodeAt(U));return I}var M60="6ba7b810-9dad-11d1-80b4-00c04fd430c8";P60.DNS=M60;var A60="6ba7b811-9dad-11d1-80b4-00c04fd430c8";P60.URL=A60;function cp0($,I,U){function Y(J,Q,K,q){if(typeof J==="string")J=pp0(J);if(typeof Q==="string")Q=(0,np0.default)(Q);if(Q.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let G=new Uint8Array(16+J.length);if(G.set(Q),G.set(J,Q.length),G=U(G),G[6]=G[6]&15|I,G[8]=G[8]&63|128,K){q=q||0;for(let H=0;H<16;++H)K[q+H]=G[H];return K}return(0,ip0.default)(G)}try{Y.name=$}catch(J){}return Y.DNS=M60,Y.URL=A60,Y}});var R60=O((E60)=>{Object.defineProperty(E60,"__esModule",{value:!0});E60.default=void 0;var lp0=op0(r("crypto"));function op0($){return $&&$.__esModule?$:{default:$}}function rp0($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return lp0.default.createHash("md5").update($).digest()}var tp0=rp0;E60.default=tp0});var _60=O((C60)=>{Object.defineProperty(C60,"__esModule",{value:!0});C60.default=void 0;var ap0=v60(QC()),sp0=v60(R60());function v60($){return $&&$.__esModule?$:{default:$}}var ep0=(0,ap0.default)("v3",48,sp0.default),$c0=ep0;C60.default=$c0});var h60=O((g60)=>{Object.defineProperty(g60,"__esModule",{value:!0});g60.default=void 0;var Ic0=S60($C()),Uc0=S60(DK());function S60($){return $&&$.__esModule?$:{default:$}}function Yc0($,I,U){$=$||{};let Y=$.random||($.rng||Ic0.default)();if(Y[6]=Y[6]&15|64,Y[8]=Y[8]&63|128,I){U=U||0;for(let J=0;J<16;++J)I[U+J]=Y[J];return I}return(0,Uc0.default)(Y)}var Jc0=Yc0;g60.default=Jc0});var u60=O((x60)=>{Object.defineProperty(x60,"__esModule",{value:!0});x60.default=void 0;var Qc0=Kc0(r("crypto"));function Kc0($){return $&&$.__esModule?$:{default:$}}function qc0($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return Qc0.default.createHash("sha1").update($).digest()}var Gc0=qc0;x60.default=Gc0});var n60=O((b60)=>{Object.defineProperty(b60,"__esModule",{value:!0});b60.default=void 0;var Hc0=f60(QC()),Wc0=f60(u60());function f60($){return $&&$.__esModule?$:{default:$}}var Vc0=(0,Hc0.default)("v5",80,Wc0.default),Zc0=Vc0;b60.default=Zc0});var d60=O((p60)=>{Object.defineProperty(p60,"__esModule",{value:!0});p60.default=void 0;var zc0="00000000-0000-0000-0000-000000000000";p60.default=zc0});var o60=O((m60)=>{Object.defineProperty(m60,"__esModule",{value:!0});m60.default=void 0;var Xc0=wc0(LK());function wc0($){return $&&$.__esModule?$:{default:$}}function Lc0($){if(!(0,Xc0.default)($))throw TypeError("Invalid UUID");return parseInt($.substr(14,1),16)}var Dc0=Lc0;m60.default=Dc0});var r60=O((I8)=>{Object.defineProperty(I8,"__esModule",{value:!0});Object.defineProperty(I8,"v1",{enumerable:!0,get:function(){return Oc0.default}});Object.defineProperty(I8,"v3",{enumerable:!0,get:function(){return Nc0.default}});Object.defineProperty(I8,"v4",{enumerable:!0,get:function(){return Fc0.default}});Object.defineProperty(I8,"v5",{enumerable:!0,get:function(){return Mc0.default}});Object.defineProperty(I8,"NIL",{enumerable:!0,get:function(){return Ac0.default}});Object.defineProperty(I8,"version",{enumerable:!0,get:function(){return Pc0.default}});Object.defineProperty(I8,"validate",{enumerable:!0,get:function(){return Tc0.default}});Object.defineProperty(I8,"stringify",{enumerable:!0,get:function(){return Ec0.default}});Object.defineProperty(I8,"parse",{enumerable:!0,get:function(){return Bc0.default}});var Oc0=w5(D60()),Nc0=w5(_60()),Fc0=w5(h60()),Mc0=w5(n60()),Ac0=w5(d60()),Pc0=w5(o60()),Tc0=w5(LK()),Ec0=w5(DK()),Bc0=w5(JC());function w5($){return $&&$.__esModule?$:{default:$}}});var s60=O((eP1,a60)=>{var Rc0=X0();class t60 extends Rc0{get tag(){return"xm:f"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}a60.exports=t60});var KC=O(($T1,$$0)=>{var vc0=d6(),Cc0=s60();class e60 extends vc0{constructor(){super();this.map={"xm:f":this.fExtXform=new Cc0}}get tag(){return"x14:cfvo"}render($,I){if($.openNode(this.tag,{type:I.type}),I.value!==void 0)this.fExtXform.render($,I.value);$.closeNode()}createNewModel($){return{type:$.attributes.type}}onParserClose($,I){switch($){case"xm:f":this.model.value=I.model?parseFloat(I.model):0;break}}}$$0.exports=e60});var Y$0=O((IT1,U$0)=>{var D6=X0(),jc0=d6(),Rz=S9(),_c0=KC();class I$0 extends jc0{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new _c0,"x14:borderColor":this.borderColorXform=new Rz("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new Rz("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new Rz("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new Rz("x14:axisColor")}}static isExt($){return!$.gradient}get tag(){return"x14:dataBar"}render($,I){$.openNode(this.tag,{minLength:D6.toIntAttribute(I.minLength,0,!0),maxLength:D6.toIntAttribute(I.maxLength,100,!0),border:D6.toBoolAttribute(I.border,!1),gradient:D6.toBoolAttribute(I.gradient,!0),negativeBarColorSameAsPositive:D6.toBoolAttribute(I.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:D6.toBoolAttribute(I.negativeBarBorderColorSameAsPositive,!0),axisPosition:D6.toAttribute(I.axisPosition,"auto"),direction:D6.toAttribute(I.direction,"leftToRight")}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.borderColorXform.render($,I.borderColor),this.negativeBorderColorXform.render($,I.negativeBorderColor),this.negativeFillColorXform.render($,I.negativeFillColor),this.axisColorXform.render($,I.axisColor),$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],minLength:D6.toIntValue($.minLength,0),maxLength:D6.toIntValue($.maxLength,100),border:D6.toBoolValue($.border,!1),gradient:D6.toBoolValue($.gradient,!0),negativeBarColorSameAsPositive:D6.toBoolValue($.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:D6.toBoolValue($.negativeBarBorderColorSameAsPositive,!0),axisPosition:D6.toStringValue($.axisPosition,"auto"),direction:D6.toStringValue($.direction,"leftToRight")}}onParserClose($,I){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(I.model);break;default:this.model[U]=I.model;break}}}U$0.exports=I$0});var q$0=O((UT1,K$0)=>{var J$0=X0();class Q$0 extends J$0{get tag(){return"x14:cfIcon"}render($,I){$.leafNode(this.tag,{iconSet:I.iconSet,iconId:I.iconId})}parseOpen({attributes:$}){this.model={iconSet:$.iconSet,iconId:J$0.toIntValue($.iconId)}}parseClose($){return $!==this.tag}}K$0.exports=Q$0});var W$0=O((YT1,H$0)=>{var q3=X0(),Sc0=d6(),gc0=KC(),yc0=q$0();class G$0 extends Sc0{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new gc0,"x14:cfIcon":this.cfIconXform=new yc0}}get tag(){return"x14:iconSet"}render($,I){if($.openNode(this.tag,{iconSet:q3.toStringAttribute(I.iconSet),reverse:q3.toBoolAttribute(I.reverse,!1),showValue:q3.toBoolAttribute(I.showValue,!0),custom:q3.toBoolAttribute(I.icons,!1)}),I.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),I.icons)I.icons.forEach((U,Y)=>{U.iconId=Y,this.cfIconXform.render($,U)});$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],iconSet:q3.toStringValue($.iconSet,"3TrafficLights"),reverse:q3.toBoolValue($.reverse,!1),showValue:q3.toBoolValue($.showValue,!0)}}onParserClose($,I){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(I.model);break;case"cfIcon":if(!this.model.icons)this.model.icons=[];this.model.icons.push(I.model);break;default:this.model[U]=I.model;break}}}H$0.exports=G$0});var qC=O((JT1,z$0)=>{var{v4:V$0}=r60(),hc0=X0(),xc0=d6(),Z$0=Y$0(),kc0=W$0(),uc0={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class vz extends xc0{constructor(){super();this.map={"x14:dataBar":this.databarXform=new Z$0,"x14:iconSet":this.iconSetXform=new kc0}}get tag(){return"x14:cfRule"}static isExt($){if($.type==="dataBar")return Z$0.isExt($);if($.type==="iconSet"){if($.custom||uc0[$.iconSet])return!0}return!1}prepare($){if(vz.isExt($))$.x14Id=`{${V$0()}}`.toUpperCase()}render($,I){if(!vz.isExt(I))return;switch(I.type){case"dataBar":this.renderDataBar($,I);break;case"iconSet":this.renderIconSet($,I);break}}renderDataBar($,I){$.openNode(this.tag,{type:"dataBar",id:I.x14Id}),this.databarXform.render($,I),$.closeNode()}renderIconSet($,I){$.openNode(this.tag,{type:"iconSet",priority:I.priority,id:I.x14Id||`{${V$0()}}`}),this.iconSetXform.render($,I),$.closeNode()}createNewModel({attributes:$}){return{type:$.type,x14Id:$.id,priority:hc0.toIntValue($.priority)}}onParserClose($,I){Object.assign(this.model,I.model)}}z$0.exports=vz});var L$0=O((QT1,w$0)=>{var fc0=X0();class X$0 extends fc0{get tag(){return"xm:sqref"}render($,I){$.leafNode(this.tag,null,I)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}w$0.exports=X$0});var N$0=O((KT1,O$0)=>{var bc0=d6(),ic0=L$0(),GC=qC();class D$0 extends bc0{constructor(){super();this.map={"xm:sqref":this.sqRef=new ic0,"x14:cfRule":this.cfRule=new GC}}get tag(){return"x14:conditionalFormatting"}prepare($,I){$.rules.forEach((U)=>{this.cfRule.prepare(U,I)})}render($,I){if(!I.rules.some(GC.isExt))return;$.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),I.rules.filter(GC.isExt).forEach((U)=>this.cfRule.render($,U)),this.sqRef.render($,I.ref),$.closeNode()}createNewModel(){return{rules:[]}}onParserClose($,I){switch($){case"xm:sqref":this.model.ref=I.model;break;case"x14:cfRule":this.model.rules.push(I.model);break}}}O$0.exports=D$0});var A$0=O((qT1,M$0)=>{var nc0=d6(),pc0=qC(),cc0=N$0();class F$0 extends nc0{constructor(){super();this.map={"x14:conditionalFormatting":this.cfXform=new cc0}}get tag(){return"x14:conditionalFormattings"}hasContent($){if($.hasExtContent===void 0)$.hasExtContent=$.some((I)=>I.rules.some(pc0.isExt));return $.hasExtContent}prepare($,I){$.forEach((U)=>{this.cfXform.prepare(U,I)})}render($,I){if(this.hasContent(I))$.openNode(this.tag),I.forEach((U)=>this.cfXform.render($,U)),$.closeNode()}createNewModel(){return[]}onParserClose($,I){this.model.push(I.model)}}M$0.exports=F$0});var R$0=O((GT1,B$0)=>{var P$0=d6(),dc0=A$0();class T$0 extends P$0{constructor(){super();this.map={"x14:conditionalFormattings":this.conditionalFormattings=new dc0}}get tag(){return"ext"}hasContent($){return this.conditionalFormattings.hasContent($.conditionalFormattings)}prepare($,I){this.conditionalFormattings.prepare($.conditionalFormattings,I)}render($,I){$.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render($,I.conditionalFormattings),$.closeNode()}createNewModel(){return{}}onParserClose($,I){this.model[$]=I.model}}class E$0 extends P$0{constructor(){super();this.map={ext:this.ext=new T$0}}get tag(){return"extLst"}prepare($,I){this.ext.prepare($,I)}hasContent($){return this.ext.hasContent($)}render($,I){if(!this.hasContent(I))return;$.openNode("extLst"),this.ext.render($,I),$.closeNode()}createNewModel(){return{}}onParserClose($,I){Object.assign(this.model,I.model)}}B$0.exports=E$0});var C$0=O((HT1,v$0)=>{var mc0=z4(),lc0=G4(),oc0=$6(),L5=y9(),rc0=E10(),tc0=X0(),QY=_9(),ac0=yv(),sc0=xv(),ec0=x10(),$d0=kv(),Id0=i10(),Ud0=bv(),Yd0=iv(),Jd0=nv(),Qd0=pv(),Kd0=cv(),qd0=dv(),Gd0=mv(),Hd0=W40(),Wd0=lv(),Vd0=ov(),Zd0=D40(),zd0=F40(),Xd0=rv(),wd0=tv(),Ld0=ev(),Dd0=R$0(),Od0=($,I)=>{Object.keys(I).forEach((U)=>{let Y=$[U],J=I[U];if(Y===void 0&&J!==void 0)$[U]=J})},Nd0=($,I)=>{if(!I||!I.length)return $;if(!$||!$.length)return I;let U={},Y={};return $.forEach((J)=>{U[J.ref]=J,J.rules.forEach((Q)=>{let{x14Id:K}=Q;if(K)Y[K]=Q})}),I.forEach((J)=>{J.rules.forEach((Q)=>{let K=Y[Q.x14Id];if(K)Od0(K,Q);else if(U[J.ref])U[J.ref].rules.push(Q);else $.push({ref:J.ref,rules:[Q]})})}),$};class Cz extends tc0{constructor($){super();let{maxRows:I,maxCols:U,ignoreNodes:Y}=$||{};this.ignoreNodes=Y||[],this.map={sheetPr:new Yd0,dimension:new ec0,sheetViews:new QY({tag:"sheetViews",count:!1,childXform:new Qd0}),sheetFormatPr:new Jd0,cols:new QY({tag:"cols",count:!1,childXform:new sc0}),sheetData:new QY({tag:"sheetData",count:!1,empty:!0,childXform:new ac0({maxItems:U}),maxItems:I}),autoFilter:new Wd0,mergeCells:new QY({tag:"mergeCells",count:!0,childXform:new Id0}),rowBreaks:new Xd0,hyperlinks:new QY({tag:"hyperlinks",count:!1,childXform:new $d0}),pageMargins:new qd0,dataValidations:new Ud0,pageSetup:new Gd0,headerFooter:new wd0,printOptions:new Hd0,picture:new Vd0,drawing:new Zd0,sheetProtection:new Kd0,tableParts:new QY({tag:"tableParts",count:!0,childXform:new zd0}),conditionalFormatting:new Ld0,extLst:new Dd0}}prepare($,I){I.merges=new rc0,$.hyperlinks=I.hyperlinks=[],$.comments=I.comments=[],I.formulae={},I.siFormulae=0,this.map.cols.prepare($.cols,I),this.map.sheetData.prepare($.rows,I),this.map.conditionalFormatting.prepare($.conditionalFormattings,I),$.mergeCells=I.merges.mergeCells;let U=$.rels=[];function Y(K){return`rId${K.length+1}`}if($.hyperlinks.forEach((K)=>{let q=Y(U);K.rId=q,U.push({Id:q,Type:L5.Hyperlink,Target:K.target,TargetMode:"External"})}),$.comments.length>0){let K={Id:Y(U),Type:L5.Comments,Target:`../comments${$.id}.xml`};U.push(K);let q={Id:Y(U),Type:L5.VmlDrawing,Target:`../drawings/vmlDrawing${$.id}.vml`};U.push(q),$.comments.forEach((G)=>{G.refAddress=lc0.decodeAddress(G.ref)}),I.commentRefs.push({commentName:`comments${$.id}`,vmlDrawing:`vmlDrawing${$.id}`})}let J=[],Q;$.media.forEach((K)=>{if(K.type==="background"){let q=Y(U);Q=I.media[K.imageId],U.push({Id:q,Type:L5.Image,Target:`../media/${Q.name}.${Q.extension}`}),$.background={rId:q},$.image=I.media[K.imageId]}else if(K.type==="image"){let{drawing:q}=$;if(Q=I.media[K.imageId],!q)q=$.drawing={rId:Y(U),name:`drawing${++I.drawingsCount}`,anchors:[],rels:[]},I.drawings.push(q),U.push({Id:q.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${q.name}.xml`});let G=this.preImageId===K.imageId?J[K.imageId]:J[q.rels.length];if(!G)G=Y(q.rels),J[q.rels.length]=G,q.rels.push({Id:G,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${Q.name}.${Q.extension}`});let H={picture:{rId:G},range:K.range};if(K.hyperlinks&&K.hyperlinks.hyperlink){let W=Y(q.rels);J[q.rels.length]=W,H.picture.hyperlinks={tooltip:K.hyperlinks.tooltip,rId:W},q.rels.push({Id:W,Type:L5.Hyperlink,Target:K.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=K.imageId,q.anchors.push(H)}}),$.tables.forEach((K)=>{let q=Y(U);K.rId=q,U.push({Id:q,Type:L5.Table,Target:`../tables/${K.target}`}),K.columns.forEach((G)=>{let{style:H}=G;if(H)G.dxfId=I.styles.addDxfStyle(H)})}),this.map.extLst.prepare($,I)}render($,I){$.openXml(oc0.StdDocAttributes),$.openNode("worksheet",Cz.WORKSHEET_ATTRIBUTES);let U=I.properties?{defaultRowHeight:I.properties.defaultRowHeight,dyDescent:I.properties.dyDescent,outlineLevelCol:I.properties.outlineLevelCol,outlineLevelRow:I.properties.outlineLevelRow}:void 0;if(I.properties&&I.properties.defaultColWidth)U.defaultColWidth=I.properties.defaultColWidth;let Y={outlineProperties:I.properties&&I.properties.outlineProperties,tabColor:I.properties&&I.properties.tabColor,pageSetup:I.pageSetup&&I.pageSetup.fitToPage?{fitToPage:I.pageSetup.fitToPage}:void 0},J=I.pageSetup&&I.pageSetup.margins,Q={showRowColHeaders:I.pageSetup&&I.pageSetup.showRowColHeaders,showGridLines:I.pageSetup&&I.pageSetup.showGridLines,horizontalCentered:I.pageSetup&&I.pageSetup.horizontalCentered,verticalCentered:I.pageSetup&&I.pageSetup.verticalCentered},K=I.sheetProtection;if(this.map.sheetPr.render($,Y),this.map.dimension.render($,I.dimensions),this.map.sheetViews.render($,I.views),this.map.sheetFormatPr.render($,U),this.map.cols.render($,I.cols),this.map.sheetData.render($,I.rows),this.map.sheetProtection.render($,K),this.map.autoFilter.render($,I.autoFilter),this.map.mergeCells.render($,I.mergeCells),this.map.conditionalFormatting.render($,I.conditionalFormattings),this.map.dataValidations.render($,I.dataValidations),this.map.hyperlinks.render($,I.hyperlinks),this.map.printOptions.render($,Q),this.map.pageMargins.render($,J),this.map.pageSetup.render($,I.pageSetup),this.map.headerFooter.render($,I.headerFooter),this.map.rowBreaks.render($,I.rowBreaks),this.map.drawing.render($,I.drawing),this.map.picture.render($,I.background),this.map.tableParts.render($,I.tables),this.map.extLst.render($,I),I.rels)I.rels.forEach((q)=>{if(q.Type===L5.VmlDrawing)$.leafNode("legacyDrawing",{"r:id":q.Id})});$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="worksheet")return mc0.each(this.map,(I)=>{I.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 I=this.map.sheetFormatPr.model||{};if(this.map.sheetPr.model&&this.map.sheetPr.model.tabColor)I.tabColor=this.map.sheetPr.model.tabColor;if(this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties)I.outlineProperties=this.map.sheetPr.model.outlineProperties;let U={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},Y=Object.assign(U,this.map.pageSetup.model,this.map.printOptions.model),J=Nd0(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:I,views:this.map.sheetViews.model,pageSetup:Y,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($,I){let U=($.relationships||[]).reduce((J,Q)=>{if(J[Q.Id]=Q,Q.Type===L5.Comments)$.comments=I.comments[Q.Target].comments;if(Q.Type===L5.VmlDrawing&&$.comments&&$.comments.length){let K=I.vmlDrawings[Q.Target].comments;$.comments.forEach((q,G)=>{q.note=Object.assign({},q.note,K[G])})}return J},{});if(I.commentsMap=($.comments||[]).reduce((J,Q)=>{if(Q.ref)J[Q.ref]=Q;return J},{}),I.hyperlinkMap=($.hyperlinks||[]).reduce((J,Q)=>{if(Q.rId)J[Q.address]=U[Q.rId].Target;return J},{}),I.formulae={},$.rows=$.rows&&$.rows.filter(Boolean)||[],$.rows.forEach((J)=>{J.cells=J.cells&&J.cells.filter(Boolean)||[]}),this.map.cols.reconcile($.cols,I),this.map.sheetData.reconcile($.rows,I),this.map.conditionalFormatting.reconcile($.conditionalFormattings,I),$.media=[],$.drawing){let Q=U[$.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Q){let K=Q[1];I.drawings[K].anchors.forEach((G)=>{if(G.medium){let H={type:"image",imageId:G.medium.index,range:G.range,hyperlinks:G.picture.hyperlinks};$.media.push(H)}})}}let Y=$.background&&U[$.background.rId];if(Y){let J=Y.Target.split("/media/")[1],Q=I.mediaIndex&&I.mediaIndex[J];if(Q!==void 0)$.media.push({type:"background",imageId:Q})}$.tables=($.tables||[]).map((J)=>{let Q=U[J.rId];return I.tables[Q.Target]}),delete $.relationships,delete $.hyperlinks,delete $.comments}}Cz.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"};v$0.exports=Cz});var HC=O((WT1,_$0)=>{var Fd0=X0();class j$0 extends Fd0{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($,I){if($&&$.rId){let Y=I.rels[$.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(Y){let J=Y[1],Q=I.mediaIndex[J];return I.media[Q]}}return}}_$0.exports=j$0});var WC=O((VT1,g$0)=>{var Md0=X0(),jz=Kz();class S$0 extends Md0{constructor($){super();this.tag=$.tag,this.map={"xdr:col":new jz({tag:"xdr:col",zero:!0}),"xdr:colOff":new jz({tag:"xdr:colOff",zero:!0}),"xdr:row":new jz({tag:"xdr:row",zero:!0}),"xdr:rowOff":new jz({tag:"xdr:rowOff",zero:!0})}}render($,I){$.openNode(this.tag),this.map["xdr:col"].render($,I.nativeCol),this.map["xdr:colOff"].render($,I.nativeColOff),this.map["xdr:row"].render($,I.nativeRow),this.map["xdr:rowOff"].render($,I.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}}}g$0.exports=S$0});var x$0=O((ZT1,h$0)=>{var Ad0=X0();class y$0 extends Ad0{get tag(){return"a:blip"}render($,I){$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":I.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}}}h$0.exports=y$0});var f$0=O((zT1,u$0)=>{var Pd0=X0(),Td0=x$0();class k$0 extends Pd0{constructor(){super();this.map={"a:blip":new Td0}}get tag(){return"xdr:blipFill"}render($,I){$.openNode(this.tag),this.map["a:blip"].render($,I),$.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}}}u$0.exports=k$0});var n$0=O((XT1,i$0)=>{var Ed0=X0();class b$0 extends Ed0{get tag(){return"a:hlinkClick"}render($,I){if(!(I.hyperlinks&&I.hyperlinks.rId))return;$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":I.hyperlinks.rId,tooltip:I.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}}i$0.exports=b$0});var d$0=O((wT1,c$0)=>{var Bd0=X0();class p$0 extends Bd0{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}}}c$0.exports=p$0});var o$0=O((LT1,l$0)=>{var Rd0=X0(),vd0=n$0(),Cd0=d$0();class m$0 extends Rd0{constructor(){super();this.map={"a:hlinkClick":new vd0,"a:extLst":new Cd0}}get tag(){return"xdr:cNvPr"}render($,I){$.openNode(this.tag,{id:I.index,name:`Picture ${I.index}`}),this.map["a:hlinkClick"].render($,I),this.map["a:extLst"].render($,I),$.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}}}l$0.exports=m$0});var a$0=O((DT1,t$0)=>{var jd0=X0();class r$0 extends jd0{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}}}t$0.exports=r$0});var $80=O((OT1,e$0)=>{var _d0=X0(),Sd0=o$0(),gd0=a$0();class s$0 extends _d0{constructor(){super();this.map={"xdr:cNvPr":new Sd0,"xdr:cNvPicPr":new gd0}}get tag(){return"xdr:nvPicPr"}render($,I){$.openNode(this.tag),this.map["xdr:cNvPr"].render($,I),this.map["xdr:cNvPicPr"].render($,I),$.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}}}e$0.exports=s$0});var U80=O((NT1,I80)=>{I80.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 VC=O((FT1,J80)=>{var yd0=X0(),hd0=sU(),xd0=f$0(),kd0=$80(),ud0=U80();class Y80 extends yd0{constructor(){super();this.map={"xdr:nvPicPr":new kd0,"xdr:blipFill":new xd0,"xdr:spPr":new hd0(ud0)}}get tag(){return"xdr:pic"}prepare($,I){$.index=I.index+1}render($,I){$.openNode(this.tag),this.map["xdr:nvPicPr"].render($,I),this.map["xdr:blipFill"].render($,I),this.map["xdr:spPr"].render($,I),$.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}}}J80.exports=Y80});var G80=O((MT1,q80)=>{var fd0=HC(),bd0=sU(),Q80=WC(),id0=VC();class K80 extends fd0{constructor(){super();this.map={"xdr:from":new Q80({tag:"xdr:from"}),"xdr:to":new Q80({tag:"xdr:to"}),"xdr:pic":new id0,"xdr:clientData":new bd0({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare($,I){this.map["xdr:pic"].prepare($.picture,I)}render($,I){$.openNode(this.tag,{editAs:I.range.editAs||"oneCell"}),this.map["xdr:from"].render($,I.range.tl),this.map["xdr:to"].render($,I.range.br),this.map["xdr:pic"].render($,I.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($,I){$.medium=this.reconcilePicture($.picture,I)}}q80.exports=K80});var V80=O((AT1,W80)=>{var nd0=X0();class H80 extends nd0{constructor($){super();this.tag=$.tag,this.map={}}render($,I){$.openNode(this.tag);let U=Math.floor(I.width*9525),Y=Math.floor(I.height*9525);$.addAttribute("cx",U),$.addAttribute("cy",Y),$.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}}W80.exports=H80});var X80=O((PT1,z80)=>{var pd0=HC(),cd0=sU(),dd0=WC(),md0=V80(),ld0=VC();class Z80 extends pd0{constructor(){super();this.map={"xdr:from":new dd0({tag:"xdr:from"}),"xdr:ext":new md0({tag:"xdr:ext"}),"xdr:pic":new ld0,"xdr:clientData":new cd0({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare($,I){this.map["xdr:pic"].prepare($.picture,I)}render($,I){$.openNode(this.tag,{editAs:I.range.editAs||"oneCell"}),this.map["xdr:from"].render($,I.range.tl),this.map["xdr:ext"].render($,I.range.ext),this.map["xdr:pic"].render($,I.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($,I){$.medium=this.reconcilePicture($.picture,I)}}z80.exports=Z80});var L80=O((TT1,w80)=>{var od0=G4(),rd0=$6(),td0=X0(),ad0=G80(),sd0=X80();function ed0($){return(typeof $.range==="string"?od0.decode($.range):$.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}class _z extends td0{constructor(){super();this.map={"xdr:twoCellAnchor":new ad0,"xdr:oneCellAnchor":new sd0}}prepare($){$.anchors.forEach((I,U)=>{I.anchorType=ed0(I),this.map[I.anchorType].prepare(I,{index:U})})}get tag(){return"xdr:wsDr"}render($,I){$.openXml(rd0.StdDocAttributes),$.openNode(this.tag,_z.DRAWING_ATTRIBUTES),I.anchors.forEach((U)=>{this.map[U.anchorType].render($,U)}),$.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($,I){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,I);else this.map["xdr:oneCellAnchor"].reconcile(U,I)})}}_z.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"};w80.exports=_z});var N80=O((ET1,O80)=>{var $m0=X0();class D80 extends $m0{get tag(){return"customFilter"}render($,I){$.leafNode(this.tag,{val:I.val,operator:I.operator})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val,operator:$.attributes.operator},!0;return!1}parseText(){}parseClose(){return!1}}O80.exports=D80});var A80=O((BT1,M80)=>{var Im0=X0();class F80 extends Im0{get tag(){return"filter"}render($,I){$.leafNode(this.tag,{val:I.val})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val},!0;return!1}parseText(){}parseClose(){return!1}}M80.exports=F80});var B80=O((RT1,E80)=>{var Um0=X0(),P80=_9(),Ym0=N80(),Jm0=A80();class T80 extends Um0{constructor(){super();this.map={customFilters:new P80({tag:"customFilters",count:!1,empty:!0,childXform:new Ym0}),filters:new P80({tag:"filters",count:!1,empty:!0,childXform:new Jm0})}}get tag(){return"filterColumn"}prepare($,I){$.colId=I.index.toString()}render($,I){if(I.customFilters)return $.openNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),this.map.customFilters.render($,I.customFilters),$.closeNode(),!0;return $.leafNode(this.tag,{colId:I.colId,hiddenButton:I.filterButton?"0":"1"}),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{attributes:I}=$;switch($.name){case this.tag:return this.model={filterButton:I.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}}}E80.exports=T80});var C80=O((vT1,v80)=>{var Qm0=X0(),Km0=B80();class R80 extends Qm0{constructor(){super();this.map={filterColumn:new Km0}}get tag(){return"autoFilter"}prepare($){$.columns.forEach((I,U)=>{this.map.filterColumn.prepare(I,{index:U})})}render($,I){return $.openNode(this.tag,{ref:I.autoFilterRef}),I.columns.forEach((U)=>{this.map.filterColumn.render($,U)}),$.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: ${$}`)}}}v80.exports=R80});var S80=O((CT1,_80)=>{var qm0=X0();class j80 extends qm0{get tag(){return"tableColumn"}prepare($,I){$.id=I.index+1}render($,I){return $.leafNode(this.tag,{id:I.id.toString(),name:I.name,totalsRowLabel:I.totalsRowLabel,totalsRowFunction:I.totalsRowFunction,dxfId:I.dxfId}),!0}parseOpen($){if($.name===this.tag){let{attributes:I}=$;return this.model={name:I.name,totalsRowLabel:I.totalsRowLabel,totalsRowFunction:I.totalsRowFunction,dxfId:I.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}_80.exports=j80});var h80=O((jT1,y80)=>{var Gm0=X0();class g80 extends Gm0{get tag(){return"tableStyleInfo"}render($,I){return $.leafNode(this.tag,{name:I.theme?I.theme:void 0,showFirstColumn:I.showFirstColumn?"1":"0",showLastColumn:I.showLastColumn?"1":"0",showRowStripes:I.showRowStripes?"1":"0",showColumnStripes:I.showColumnStripes?"1":"0"}),!0}parseOpen($){if($.name===this.tag){let{attributes:I}=$;return this.model={theme:I.name?I.name:null,showFirstColumn:I.showFirstColumn==="1",showLastColumn:I.showLastColumn==="1",showRowStripes:I.showRowStripes==="1",showColumnStripes:I.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}y80.exports=g80});var k80=O((_T1,x80)=>{var Hm0=$6(),Wm0=X0(),Vm0=_9(),Zm0=C80(),zm0=S80(),Xm0=h80();class Sz extends Wm0{constructor(){super();this.map={autoFilter:new Zm0,tableColumns:new Vm0({tag:"tableColumns",count:!0,empty:!0,childXform:new zm0}),tableStyleInfo:new Xm0}}prepare($,I){this.map.autoFilter.prepare($),this.map.tableColumns.prepare($.columns,I)}get tag(){return"table"}render($,I){$.openXml(Hm0.StdDocAttributes),$.openNode(this.tag,{...Sz.TABLE_ATTRIBUTES,id:I.id,name:I.name,displayName:I.displayName||I.name,ref:I.tableRef,totalsRowCount:I.totalsRow?"1":void 0,totalsRowShown:I.totalsRow?void 0:"1",headerRowCount:I.headerRow?"1":"0"}),this.map.autoFilter.render($,I),this.map.tableColumns.render($,I.columns),this.map.tableStyleInfo.render($,I.style),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{name:I,attributes:U}=$;switch(I){case this.tag:this.reset(),this.model={name:U.name,displayName:U.displayName||U.name,tableRef:U.ref,totalsRow:U.totalsRowCount==="1",headerRow:U.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((I,U)=>{this.model.columns[U].filterButton=I.filterButton});return this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile($,I){$.columns.forEach((U)=>{if(U.dxfId!==void 0)U.style=I.styles.getDxfStyle(U.dxfId)})}}Sz.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"};x80.exports=Sz});var ZC=O((ST1,u80)=>{var wm0=XK(),Lm0=L6(),Dm0=X0(),Om0=u80.exports=function($){this.model=$};Lm0.inherits(Om0,Dm0,{get tag(){return"r"},get richTextXform(){if(!this._richTextXform)this._richTextXform=new wm0;return this._richTextXform},render($,I){if(I=I||this.model,$.openNode("comment",{ref:I.ref,authorId:0}),$.openNode("text"),I&&I.note&&I.note.texts)I.note.texts.forEach((U)=>{this.richTextXform.render($,U)});$.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 i80=O((gT1,b80)=>{var Nm0=$6(),Fm0=L6(),Mm0=X0(),Am0=ZC(),f80=b80.exports=function(){this.map={comment:new Am0}};Fm0.inherits(f80,Mm0,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render($,I){I=I||this.model,$.openXml(Nm0.StdDocAttributes),$.openNode("comments",f80.COMMENTS_ATTRIBUTES),$.openNode("authors"),$.leafNode("author",null,"Author"),$.closeNode(),$.openNode("commentList"),I.comments.forEach((U)=>{this.map.comment.render($,U)}),$.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 c80=O((yT1,p80)=>{var Pm0=X0();class n80 extends Pm0{get tag(){return"v:textbox"}conversionUnit($,I,U){return`${parseFloat($)*I.toFixed(2)}${U}`}reverseConversionUnit($){return($||"").split(",").map((I)=>{return Number(parseFloat(this.conversionUnit(parseFloat(I),0.1,"")).toFixed(2))})}render($,I){let U={style:"mso-direction-alt:auto"};if(I&&I.note){let{inset:Y}=I.note&&I.note.margins;if(Array.isArray(Y))Y=Y.map((J)=>{return this.conversionUnit(J,10,"mm")}).join(",");if(Y)U.inset=Y}$.openNode("v:textbox",U),$.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}}}p80.exports=n80});var l80=O((hT1,m80)=>{var Tm0=X0();class d80 extends Tm0{get tag(){return"x:Anchor"}getAnchorRect($){let I=Math.floor($.left),U=Math.floor(($.left-I)*68),Y=Math.floor($.top),J=Math.floor(($.top-Y)*18),Q=Math.floor($.right),K=Math.floor(($.right-Q)*68),q=Math.floor($.bottom),G=Math.floor(($.bottom-q)*18);return[I,U,Y,J,Q,K,q,G]}getDefaultRect($){let I=$.col,U=6,Y=Math.max($.row-2,0),J=14,Q=I+2,K=2,q=Y+4,G=16;return[I,6,Y,14,Q,2,q,16]}render($,I){let U=I.anchor?this.getAnchorRect(I.anchor):this.getDefaultRect(I.refAddress);$.leafNode("x:Anchor",null,U.join(", "))}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}m80.exports=d80});var t80=O((xT1,r80)=>{var Em0=X0();class o80 extends Em0{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,I){$.leafNode(this.tag,null,I)}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}r80.exports=o80});var e80=O((kT1,s80)=>{var Bm0=X0();class a80 extends Bm0{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,I,U){if(I===U[2])$.leafNode(this.tag);else if(this.tag==="x:SizeWithCells"&&I===U[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}}s80.exports=a80});var J50=O((uT1,Y50)=>{var Rm0=X0(),vm0=l80(),$50=t80(),I50=e80(),zC=["twoCells","oneCells","absolute"];class U50 extends Rm0{constructor(){super();this.map={"x:Anchor":new vm0,"x:Locked":new $50({tag:"x:Locked"}),"x:LockText":new $50({tag:"x:LockText"}),"x:SizeWithCells":new I50({tag:"x:SizeWithCells"}),"x:MoveWithCells":new I50({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render($,I){let{protection:U,editAs:Y}=I.note;$.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render($,Y,zC),this.map["x:SizeWithCells"].render($,Y,zC),this.map["x:Anchor"].render($,I),this.map["x:Locked"].render($,U.locked),$.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render($,U.lockText),$.leafNode("x:Row",null,I.refAddress.row-1),$.leafNode("x:Column",null,I.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),I=Object.keys($).length;this.model.editAs=zC[I],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}}Y50.exports=U50});var XC=O((fT1,Q50)=>{var Cm0=X0(),jm0=c80(),_m0=J50();class gz extends Cm0{constructor(){super();this.map={"v:textbox":new jm0,"x:ClientData":new _m0}}get tag(){return"v:shape"}render($,I,U){$.openNode("v:shape",gz.V_SHAPE_ATTRIBUTES(I,U)),$.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($,I),this.map["x:ClientData"].render($,I),$.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}}}gz.V_SHAPE_ATTRIBUTES=($,I)=>({id:`_x0000_s${1025+I}`,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});Q50.exports=gz});var q50=O((bT1,K50)=>{var Sm0=$6(),gm0=X0(),ym0=XC();class yz extends gm0{constructor(){super();this.map={"v:shape":new ym0}}get tag(){return"xml"}render($,I){$.openXml(Sm0.StdDocAttributes),$.openNode(this.tag,yz.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(),I.comments.forEach((U,Y)=>{this.map["v:shape"].render($,U,Y)}),$.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($,I){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,I);else this.map["xdr:oneCellAnchor"].reconcile(U,I)})}}yz.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"};K50.exports=yz});var wC=O((iT1,G50)=>{G50.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 PC=O((pT1,z50)=>{var AC=r("fs"),hm0=NR(),{PassThrough:LC}=w6(),xm0=ls(),DC=qK(),km0=L6(),hz=$6(),{bufferToString:nT1}=oR(),OC=wz(),H50=Rv(),NC=vv(),G3=Nz(),um0=Cv(),W50=jv(),xz=Mz(),kz=C$0(),FC=L80(),MC=k80(),V50=i80(),Z50=q50(),fm0=wC();function bm0($,I){return new Promise((U,Y)=>{AC.readFile($,I,(J,Q)=>{if(J)Y(J);else U(Q)})})}class v8{constructor($){this.workbook=$}async readFile($,I){if(!await km0.fs.exists($))throw Error(`File not found: ${$}`);let U=AC.createReadStream($);try{let Y=await this.read(U,I);return U.close(),Y}catch(Y){throw U.close(),Y}}parseRels($){return new G3().parseStream($)}parseWorkbook($){return new xz().parseStream($)}parseSharedStrings($){return new NC().parseStream($)}reconcile($,I){let U=new xz,Y=new kz(I),J=new FC,Q=new MC;U.reconcile($);let K={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((H)=>{let W=$.drawings[H],V=$.drawingRels[H];if(V)K.rels=V.reduce((z,Z)=>{return z[Z.Id]=Z,z},{}),(W.anchors||[]).forEach((z)=>{let Z=z.picture&&z.picture.hyperlinks;if(Z&&K.rels[Z.rId])Z.hyperlink=K.rels[Z.rId].Target,delete Z.rId}),J.reconcile(W,K)});let q={styles:$.styles};Object.values($.tables).forEach((H)=>{Q.reconcile(H,q)});let G={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((H)=>{H.relationships=$.worksheetRels[H.sheetNo],Y.reconcile(H,G)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,I,U,Y,J){let K=await new kz(Y).parseStream($);K.sheetNo=U,I.worksheetHash[J]=K,I.worksheets.push(K)}async _processCommentEntry($,I,U){let J=await new V50().parseStream($);I.comments[`../${U}.xml`]=J}async _processTableEntry($,I,U){let J=await new MC().parseStream($);I.tables[`../tables/${U}.xml`]=J}async _processWorksheetRelsEntry($,I,U){let J=await new G3().parseStream($);I.worksheetRels[U]=J}async _processMediaEntry($,I,U){let Y=U.lastIndexOf(".");if(Y>=1){let J=U.substr(Y+1),Q=U.substr(0,Y);await new Promise((K,q)=>{let G=new DC;G.on("finish",()=>{I.mediaIndex[U]=I.media.length,I.mediaIndex[Q]=I.media.length;let H={type:"image",name:Q,extension:J,buffer:G.toBuffer()};I.media.push(H),K()}),$.on("error",(H)=>{q(H)}),$.pipe(G)})}}async _processDrawingEntry($,I,U){let J=await new FC().parseStream($);I.drawings[U]=J}async _processDrawingRelsEntry($,I,U){let J=await new G3().parseStream($);I.drawingRels[U]=J}async _processVmlDrawingEntry($,I,U){let J=await new Z50().parseStream($);I.vmlDrawings[`../drawings/${U}.vml`]=J}async _processThemeEntry($,I,U){await new Promise((Y,J)=>{let Q=new DC;$.on("error",J),Q.on("error",J),Q.on("finish",()=>{I.themes[U]=Q.read().toString(),Y()}),$.pipe(Q)})}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($,I){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new LC);let U=[];for await(let Y of $)U.push(Y);return this.load(Buffer.concat(U),I)}async load($,I){let U;if(I&&I.base64)U=Buffer.from($.toString(),"base64");else U=$;let Y={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},J=await hm0.loadAsync(U);for(let Q of Object.values(J.files))if(!Q.dir){let K=Q.name;if(K[0]==="/")K=K.substr(1);let q;if(K.match(/xl\/media\//)||K.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))q=new LC,q.write(await Q.async("nodebuffer"));else{q=new LC({writableObjectMode:!0,readableObjectMode:!0});let G;G=await Q.async("string");let H=16384;for(let W=0;W<G.length;W+=H)q.write(G.substring(W,W+H))}switch(q.end(),K){case"_rels/.rels":Y.globalRels=await this.parseRels(q);break;case"xl/workbook.xml":{let G=await this.parseWorkbook(q);Y.sheets=G.sheets,Y.definedNames=G.definedNames,Y.views=G.views,Y.properties=G.properties,Y.calcProperties=G.calcProperties;break}case"xl/_rels/workbook.xml.rels":Y.workbookRels=await this.parseRels(q);break;case"xl/sharedStrings.xml":Y.sharedStrings=new NC,await Y.sharedStrings.parseStream(q);break;case"xl/styles.xml":Y.styles=new OC,await Y.styles.parseStream(q);break;case"docProps/app.xml":{let H=await new W50().parseStream(q);Y.company=H.company,Y.manager=H.manager;break}case"docProps/core.xml":{let H=await new H50().parseStream(q);Object.assign(Y,H);break}default:{let G=K.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(G){await this._processWorksheetEntry(q,Y,G[1],I,K);break}if(G=K.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),G){await this._processWorksheetRelsEntry(q,Y,G[1]);break}if(G=K.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),G){await this._processThemeEntry(q,Y,G[1]);break}if(G=K.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),G){await this._processMediaEntry(q,Y,G[1]);break}if(G=K.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),G){await this._processDrawingEntry(q,Y,G[1]);break}if(G=K.match(/xl\/(comments\d+)[.]xml/),G){await this._processCommentEntry(q,Y,G[1]);break}if(G=K.match(/xl\/tables\/(table\d+)[.]xml/),G){await this._processTableEntry(q,Y,G[1]);break}if(G=K.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),G){await this._processDrawingRelsEntry(q,Y,G[1]);break}if(G=K.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),G){await this._processVmlDrawingEntry(q,Y,G[1]);break}}}}return this.reconcile(Y,I),this.workbook.model=Y,this.workbook}async addMedia($,I){await Promise.all(I.media.map(async(U)=>{if(U.type==="image"){let Y=`xl/media/${U.name}.${U.extension}`;if(U.filename){let J=await bm0(U.filename);return $.append(J,{name:Y})}if(U.buffer)return $.append(U.buffer,{name:Y});if(U.base64){let J=U.base64,Q=J.substring(J.indexOf(",")+1);return $.append(Q,{name:Y,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,I){let U=new FC,Y=new G3;I.worksheets.forEach((J)=>{let{drawing:Q}=J;if(Q){U.prepare(Q,{});let K=U.toXml(Q);$.append(K,{name:`xl/drawings/${Q.name}.xml`}),K=Y.toXml(Q.rels),$.append(K,{name:`xl/drawings/_rels/${Q.name}.xml.rels`})}})}addTables($,I){let U=new MC;I.worksheets.forEach((Y)=>{let{tables:J}=Y;J.forEach((Q)=>{U.prepare(Q,{});let K=U.toXml(Q);$.append(K,{name:`xl/tables/${Q.target}`})})})}async addContentTypes($,I){let Y=new um0().toXml(I);$.append(Y,{name:"[Content_Types].xml"})}async addApp($,I){let Y=new W50().toXml(I);$.append(Y,{name:"docProps/app.xml"})}async addCore($,I){let U=new H50;$.append(U.toXml(I),{name:"docProps/core.xml"})}async addThemes($,I){let U=I.themes||{theme1:fm0};Object.keys(U).forEach((Y)=>{let J=U[Y],Q=`xl/theme/${Y}.xml`;$.append(J,{name:Q})})}async addOfficeRels($){let U=new G3().toXml([{Id:"rId1",Type:v8.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:v8.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:v8.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(U,{name:"_rels/.rels"})}async addWorkbookRels($,I){let U=1,Y=[{Id:`rId${U++}`,Type:v8.RelType.Styles,Target:"styles.xml"},{Id:`rId${U++}`,Type:v8.RelType.Theme,Target:"theme/theme1.xml"}];if(I.sharedStrings.count)Y.push({Id:`rId${U++}`,Type:v8.RelType.SharedStrings,Target:"sharedStrings.xml"});I.worksheets.forEach((K)=>{K.rId=`rId${U++}`,Y.push({Id:K.rId,Type:v8.RelType.Worksheet,Target:`worksheets/sheet${K.id}.xml`})});let Q=new G3().toXml(Y);$.append(Q,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,I){if(I.sharedStrings&&I.sharedStrings.count)$.append(I.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,I){let{xml:U}=I.styles;if(U)$.append(U,{name:"xl/styles.xml"})}async addWorkbook($,I){let U=new xz;$.append(U.toXml(I),{name:"xl/workbook.xml"})}async addWorksheets($,I){let U=new kz,Y=new G3,J=new V50,Q=new Z50;I.worksheets.forEach((K)=>{let q=new hz;if(U.render(q,K),$.append(q.xml,{name:`xl/worksheets/sheet${K.id}.xml`}),K.rels&&K.rels.length)q=new hz,Y.render(q,K.rels),$.append(q.xml,{name:`xl/worksheets/_rels/sheet${K.id}.xml.rels`});if(K.comments.length>0)q=new hz,J.render(q,K),$.append(q.xml,{name:`xl/comments${K.id}.xml`}),q=new hz,Q.render(q,K),$.append(q.xml,{name:`xl/drawings/vmlDrawing${K.id}.vml`})})}_finalize($){return new Promise((I,U)=>{$.on("finish",()=>{I(this)}),$.on("error",U),$.finalize()})}prepareModel($,I){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=I.useSharedStrings!==void 0?I.useSharedStrings:!0,$.useStyles=I.useStyles!==void 0?I.useStyles:!0,$.sharedStrings=new NC,$.styles=$.useStyles?new OC(!0):new OC.Mock;let U=new xz,Y=new kz;U.prepare($);let J={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};J.drawings=$.drawings=[],J.commentRefs=$.commentRefs=[];let Q=0;$.tables=[],$.worksheets.forEach((K)=>{K.tables.forEach((q)=>{Q++,q.target=`table${Q}.xml`,q.id=Q,$.tables.push(q)}),Y.prepare(K,J)})}async write($,I){I=I||{};let{model:U}=this.workbook,Y=new xm0.ZipWriter(I.zip);return Y.pipe($),this.prepareModel(U,I),await this.addContentTypes(Y,U),await this.addOfficeRels(Y,U),await this.addWorkbookRels(Y,U),await this.addWorksheets(Y,U),await this.addSharedStrings(Y,U),await this.addDrawings(Y,U),await this.addTables(Y,U),await Promise.all([this.addThemes(Y,U),this.addStyles(Y,U)]),await this.addMedia(Y,U),await Promise.all([this.addApp(Y,U),this.addCore(Y,U)]),await this.addWorkbook(Y,U),this._finalize(Y)}writeFile($,I){let U=AC.createWriteStream($);return new Promise((Y,J)=>{U.on("finish",()=>{Y()}),U.on("error",(Q)=>{J(Q)}),this.write(U,I).then(()=>{U.end()}).catch((Q)=>{J(Q)})})}async writeBuffer($){let I=new DC;return await this.write(I,$),I.read()}}v8.RelType=y9();z50.exports=v8});var TC=O((w50)=>{Object.defineProperty(w50,"__esModule",{value:!0});w50.FormatterOptions=void 0;class X50{constructor($={}){var I;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&&((I=$.writeHeaders)!==null&&I!==void 0?I:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}w50.FormatterOptions=X50});var uz=O((dT1,F50)=>{var im0="[object AsyncFunction]",nm0="[object Function]",pm0="[object GeneratorFunction]",cm0="[object Null]",dm0="[object Proxy]",mm0="[object Undefined]",lm0=typeof global=="object"&&global&&global.Object===Object&&global,om0=typeof self=="object"&&self&&self.Object===Object&&self,rm0=lm0||om0||Function("return this")(),O50=Object.prototype,tm0=O50.hasOwnProperty,N50=O50.toString,D50=rm0.Symbol,H3=D50?D50.toStringTag:void 0;function am0($){if($==null)return $===void 0?mm0:cm0;return H3&&H3 in Object($)?sm0($):em0($)}function sm0($){var I=tm0.call($,H3),U=$[H3];try{$[H3]=void 0;var Y=!0}catch(Q){}var J=N50.call($);if(Y)if(I)$[H3]=U;else delete $[H3];return J}function em0($){return N50.call($)}function $l0($){if(!Il0($))return!1;var I=am0($);return I==nm0||I==pm0||I==im0||I==dm0}function Il0($){var I=typeof $;return $!=null&&(I=="object"||I=="function")}F50.exports=$l0});var I90=O((fz,qY)=>{var Ul0=200,hC="__lodash_hash_undefined__",lz=1,S50=2,g50=9007199254740991,bz="[object Arguments]",vC="[object Array]",Yl0="[object AsyncFunction]",y50="[object Boolean]",h50="[object Date]",x50="[object Error]",k50="[object Function]",Jl0="[object GeneratorFunction]",iz="[object Map]",u50="[object Number]",Ql0="[object Null]",KY="[object Object]",M50="[object Promise]",Kl0="[object Proxy]",f50="[object RegExp]",nz="[object Set]",b50="[object String]",ql0="[object Symbol]",Gl0="[object Undefined]",CC="[object WeakMap]",i50="[object ArrayBuffer]",pz="[object DataView]",Hl0="[object Float32Array]",Wl0="[object Float64Array]",Vl0="[object Int8Array]",Zl0="[object Int16Array]",zl0="[object Int32Array]",Xl0="[object Uint8Array]",wl0="[object Uint8ClampedArray]",Ll0="[object Uint16Array]",Dl0="[object Uint32Array]",Ol0=/[\\^$.*+?()[\]{}|]/g,Nl0=/^\[object .+?Constructor\]$/,Fl0=/^(?:0|[1-9]\d*)$/,o1={};o1[Hl0]=o1[Wl0]=o1[Vl0]=o1[Zl0]=o1[zl0]=o1[Xl0]=o1[wl0]=o1[Ll0]=o1[Dl0]=!0;o1[bz]=o1[vC]=o1[i50]=o1[y50]=o1[pz]=o1[h50]=o1[x50]=o1[k50]=o1[iz]=o1[u50]=o1[KY]=o1[f50]=o1[nz]=o1[b50]=o1[CC]=!1;var n50=typeof global=="object"&&global&&global.Object===Object&&global,Ml0=typeof self=="object"&&self&&self.Object===Object&&self,D5=n50||Ml0||Function("return this")(),p50=typeof fz=="object"&&fz&&!fz.nodeType&&fz,A50=p50&&typeof qY=="object"&&qY&&!qY.nodeType&&qY,c50=A50&&A50.exports===p50,EC=c50&&n50.process,P50=function(){try{return EC&&EC.binding&&EC.binding("util")}catch($){}}(),T50=P50&&P50.isTypedArray;function Al0($,I){var U=-1,Y=$==null?0:$.length,J=0,Q=[];while(++U<Y){var K=$[U];if(I(K,U,$))Q[J++]=K}return Q}function Pl0($,I){var U=-1,Y=I.length,J=$.length;while(++U<Y)$[J+U]=I[U];return $}function Tl0($,I){var U=-1,Y=$==null?0:$.length;while(++U<Y)if(I($[U],U,$))return!0;return!1}function El0($,I){var U=-1,Y=Array($);while(++U<$)Y[U]=I(U);return Y}function Bl0($){return function(I){return $(I)}}function Rl0($,I){return $.has(I)}function vl0($,I){return $==null?void 0:$[I]}function Cl0($){var I=-1,U=Array($.size);return $.forEach(function(Y,J){U[++I]=[J,Y]}),U}function jl0($,I){return function(U){return $(I(U))}}function _l0($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var Sl0=Array.prototype,gl0=Function.prototype,oz=Object.prototype,BC=D5["__core-js_shared__"],d50=gl0.toString,C8=oz.hasOwnProperty,E50=function(){var $=/[^.]+$/.exec(BC&&BC.keys&&BC.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),m50=oz.toString,yl0=RegExp("^"+d50.call(C8).replace(Ol0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B50=c50?D5.Buffer:void 0,cz=D5.Symbol,R50=D5.Uint8Array,l50=oz.propertyIsEnumerable,hl0=Sl0.splice,W3=cz?cz.toStringTag:void 0,v50=Object.getOwnPropertySymbols,xl0=B50?B50.isBuffer:void 0,kl0=jl0(Object.keys,Object),jC=GY(D5,"DataView"),OK=GY(D5,"Map"),_C=GY(D5,"Promise"),SC=GY(D5,"Set"),gC=GY(D5,"WeakMap"),NK=GY(Object,"create"),ul0=z3(jC),fl0=z3(OK),bl0=z3(_C),il0=z3(SC),nl0=z3(gC),C50=cz?cz.prototype:void 0,RC=C50?C50.valueOf:void 0;function V3($){var I=-1,U=$==null?0:$.length;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function pl0(){this.__data__=NK?NK(null):{},this.size=0}function cl0($){var I=this.has($)&&delete this.__data__[$];return this.size-=I?1:0,I}function dl0($){var I=this.__data__;if(NK){var U=I[$];return U===hC?void 0:U}return C8.call(I,$)?I[$]:void 0}function ml0($){var I=this.__data__;return NK?I[$]!==void 0:C8.call(I,$)}function ll0($,I){var U=this.__data__;return this.size+=this.has($)?0:1,U[$]=NK&&I===void 0?hC:I,this}V3.prototype.clear=pl0;V3.prototype.delete=cl0;V3.prototype.get=dl0;V3.prototype.has=ml0;V3.prototype.set=ll0;function O5($){var I=-1,U=$==null?0:$.length;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function ol0(){this.__data__=[],this.size=0}function rl0($){var I=this.__data__,U=rz(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else hl0.call(I,U,1);return--this.size,!0}function tl0($){var I=this.__data__,U=rz(I,$);return U<0?void 0:I[U][1]}function al0($){return rz(this.__data__,$)>-1}function sl0($,I){var U=this.__data__,Y=rz(U,$);if(Y<0)++this.size,U.push([$,I]);else U[Y][1]=I;return this}O5.prototype.clear=ol0;O5.prototype.delete=rl0;O5.prototype.get=tl0;O5.prototype.has=al0;O5.prototype.set=sl0;function Z3($){var I=-1,U=$==null?0:$.length;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function el0(){this.size=0,this.__data__={hash:new V3,map:new(OK||O5),string:new V3}}function $o0($){var I=tz(this,$).delete($);return this.size-=I?1:0,I}function Io0($){return tz(this,$).get($)}function Uo0($){return tz(this,$).has($)}function Yo0($,I){var U=tz(this,$),Y=U.size;return U.set($,I),this.size+=U.size==Y?0:1,this}Z3.prototype.clear=el0;Z3.prototype.delete=$o0;Z3.prototype.get=Io0;Z3.prototype.has=Uo0;Z3.prototype.set=Yo0;function dz($){var I=-1,U=$==null?0:$.length;this.__data__=new Z3;while(++I<U)this.add($[I])}function Jo0($){return this.__data__.set($,hC),this}function Qo0($){return this.__data__.has($)}dz.prototype.add=dz.prototype.push=Jo0;dz.prototype.has=Qo0;function k9($){var I=this.__data__=new O5($);this.size=I.size}function Ko0(){this.__data__=new O5,this.size=0}function qo0($){var I=this.__data__,U=I.delete($);return this.size=I.size,U}function Go0($){return this.__data__.get($)}function Ho0($){return this.__data__.has($)}function Wo0($,I){var U=this.__data__;if(U instanceof O5){var Y=U.__data__;if(!OK||Y.length<Ul0-1)return Y.push([$,I]),this.size=++U.size,this;U=this.__data__=new Z3(Y)}return U.set($,I),this.size=U.size,this}k9.prototype.clear=Ko0;k9.prototype.delete=qo0;k9.prototype.get=Go0;k9.prototype.has=Ho0;k9.prototype.set=Wo0;function Vo0($,I){var U=mz($),Y=!U&&Bo0($),J=!U&&!Y&&yC($),Q=!U&&!Y&&!J&&$90($),K=U||Y||J||Q,q=K?El0($.length,String):[],G=q.length;for(var H in $)if((I||C8.call($,H))&&!(K&&(H=="length"||J&&(H=="offset"||H=="parent")||Q&&(H=="buffer"||H=="byteLength"||H=="byteOffset")||Mo0(H,G))))q.push(H);return q}function rz($,I){var U=$.length;while(U--)if(t50($[U][0],I))return U;return-1}function Zo0($,I,U){var Y=I($);return mz($)?Y:Pl0(Y,U($))}function MK($){if($==null)return $===void 0?Gl0:Ql0;return W3&&W3 in Object($)?No0($):Eo0($)}function j50($){return FK($)&&MK($)==bz}function o50($,I,U,Y,J){if($===I)return!0;if($==null||I==null||!FK($)&&!FK(I))return $!==$&&I!==I;return zo0($,I,U,Y,o50,J)}function zo0($,I,U,Y,J,Q){var K=mz($),q=mz(I),G=K?vC:x9($),H=q?vC:x9(I);G=G==bz?KY:G,H=H==bz?KY:H;var W=G==KY,V=H==KY,z=G==H;if(z&&yC($)){if(!yC(I))return!1;K=!0,W=!1}if(z&&!W)return Q||(Q=new k9),K||$90($)?r50($,I,U,Y,J,Q):Do0($,I,G,U,Y,J,Q);if(!(U&lz)){var Z=W&&C8.call($,"__wrapped__"),w=V&&C8.call(I,"__wrapped__");if(Z||w){var L=Z?$.value():$,D=w?I.value():I;return Q||(Q=new k9),J(L,D,U,Y,Q)}}if(!z)return!1;return Q||(Q=new k9),Oo0($,I,U,Y,J,Q)}function Xo0($){if(!e50($)||Po0($))return!1;var I=a50($)?yl0:Nl0;return I.test(z3($))}function wo0($){return FK($)&&s50($.length)&&!!o1[MK($)]}function Lo0($){if(!To0($))return kl0($);var I=[];for(var U in Object($))if(C8.call($,U)&&U!="constructor")I.push(U);return I}function r50($,I,U,Y,J,Q){var K=U&lz,q=$.length,G=I.length;if(q!=G&&!(K&&G>q))return!1;var H=Q.get($);if(H&&Q.get(I))return H==I;var W=-1,V=!0,z=U&S50?new dz:void 0;Q.set($,I),Q.set(I,$);while(++W<q){var Z=$[W],w=I[W];if(Y)var L=K?Y(w,Z,W,I,$,Q):Y(Z,w,W,$,I,Q);if(L!==void 0){if(L)continue;V=!1;break}if(z){if(!Tl0(I,function(D,N){if(!Rl0(z,N)&&(Z===D||J(Z,D,U,Y,Q)))return z.push(N)})){V=!1;break}}else if(!(Z===w||J(Z,w,U,Y,Q))){V=!1;break}}return Q.delete($),Q.delete(I),V}function Do0($,I,U,Y,J,Q,K){switch(U){case pz:if($.byteLength!=I.byteLength||$.byteOffset!=I.byteOffset)return!1;$=$.buffer,I=I.buffer;case i50:if($.byteLength!=I.byteLength||!Q(new R50($),new R50(I)))return!1;return!0;case y50:case h50:case u50:return t50(+$,+I);case x50:return $.name==I.name&&$.message==I.message;case f50:case b50:return $==I+"";case iz:var q=Cl0;case nz:var G=Y&lz;if(q||(q=_l0),$.size!=I.size&&!G)return!1;var H=K.get($);if(H)return H==I;Y|=S50,K.set($,I);var W=r50(q($),q(I),Y,J,Q,K);return K.delete($),W;case ql0:if(RC)return RC.call($)==RC.call(I)}return!1}function Oo0($,I,U,Y,J,Q){var K=U&lz,q=_50($),G=q.length,H=_50(I),W=H.length;if(G!=W&&!K)return!1;var V=G;while(V--){var z=q[V];if(!(K?z in I:C8.call(I,z)))return!1}var Z=Q.get($);if(Z&&Q.get(I))return Z==I;var w=!0;Q.set($,I),Q.set(I,$);var L=K;while(++V<G){z=q[V];var D=$[z],N=I[z];if(Y)var E=K?Y(N,D,z,I,$,Q):Y(D,N,z,$,I,Q);if(!(E===void 0?D===N||J(D,N,U,Y,Q):E)){w=!1;break}L||(L=z=="constructor")}if(w&&!L){var T=$.constructor,A=I.constructor;if(T!=A&&(("constructor"in $)&&("constructor"in I))&&!(typeof T=="function"&&T instanceof T&&typeof A=="function"&&A instanceof A))w=!1}return Q.delete($),Q.delete(I),w}function _50($){return Zo0($,Co0,Fo0)}function tz($,I){var U=$.__data__;return Ao0(I)?U[typeof I=="string"?"string":"hash"]:U.map}function GY($,I){var U=vl0($,I);return Xo0(U)?U:void 0}function No0($){var I=C8.call($,W3),U=$[W3];try{$[W3]=void 0;var Y=!0}catch(Q){}var J=m50.call($);if(Y)if(I)$[W3]=U;else delete $[W3];return J}var Fo0=!v50?jo0:function($){if($==null)return[];return $=Object($),Al0(v50($),function(I){return l50.call($,I)})},x9=MK;if(jC&&x9(new jC(new ArrayBuffer(1)))!=pz||OK&&x9(new OK)!=iz||_C&&x9(_C.resolve())!=M50||SC&&x9(new SC)!=nz||gC&&x9(new gC)!=CC)x9=function($){var I=MK($),U=I==KY?$.constructor:void 0,Y=U?z3(U):"";if(Y)switch(Y){case ul0:return pz;case fl0:return iz;case bl0:return M50;case il0:return nz;case nl0:return CC}return I};function Mo0($,I){return I=I==null?g50:I,!!I&&(typeof $=="number"||Fl0.test($))&&($>-1&&$%1==0&&$<I)}function Ao0($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function Po0($){return!!E50&&E50 in $}function To0($){var I=$&&$.constructor,U=typeof I=="function"&&I.prototype||oz;return $===U}function Eo0($){return m50.call($)}function z3($){if($!=null){try{return d50.call($)}catch(I){}try{return $+""}catch(I){}}return""}function t50($,I){return $===I||$!==$&&I!==I}var Bo0=j50(function(){return arguments}())?j50:function($){return FK($)&&C8.call($,"callee")&&!l50.call($,"callee")},mz=Array.isArray;function Ro0($){return $!=null&&s50($.length)&&!a50($)}var yC=xl0||_o0;function vo0($,I){return o50($,I)}function a50($){if(!e50($))return!1;var I=MK($);return I==k50||I==Jl0||I==Yl0||I==Kl0}function s50($){return typeof $=="number"&&$>-1&&$%1==0&&$<=g50}function e50($){var I=typeof $;return $!=null&&(I=="object"||I=="function")}function FK($){return $!=null&&typeof $=="object"}var $90=T50?Bl0(T50):wo0;function Co0($){return Ro0($)?Vo0($):Lo0($)}function jo0(){return[]}function _o0(){return!1}qY.exports=vo0});var Y90=O((lT1,U90)=>{var So0="[object Boolean]",go0=Object.prototype,yo0=go0.toString;function ho0($){return $===!0||$===!1||xo0($)&&yo0.call($)==So0}function xo0($){return!!$&&typeof $=="object"}U90.exports=ho0});var xC=O((oT1,J90)=>{function ko0($){return $==null}J90.exports=ko0});var kC=O((rT1,H90)=>{var uo0=1/0,fo0="[object Symbol]",G90=/[\\^$.*+?()[\]{}|]/g,bo0=RegExp(G90.source),io0=typeof global=="object"&&global&&global.Object===Object&&global,no0=typeof self=="object"&&self&&self.Object===Object&&self,po0=io0||no0||Function("return this")(),co0=Object.prototype,do0=co0.toString,Q90=po0.Symbol,K90=Q90?Q90.prototype:void 0,q90=K90?K90.toString:void 0;function mo0($){if(typeof $=="string")return $;if(oo0($))return q90?q90.call($):"";var I=$+"";return I=="0"&&1/$==-uo0?"-0":I}function lo0($){return!!$&&typeof $=="object"}function oo0($){return typeof $=="symbol"||lo0($)&&do0.call($)==fo0}function ro0($){return $==null?"":mo0($)}function to0($){return $=ro0($),$&&bo0.test($)?$.replace(G90,"\\$&"):$}H90.exports=to0});var fC=O((HY)=>{var uC=HY&&HY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(HY,"__esModule",{value:!0});HY.FieldFormatter=void 0;var ao0=uC(Y90()),so0=uC(xC()),eo0=uC(kC());class W90{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let I=`[${$.delimiter}${eo0.default($.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(I)}set headers($){this._headers=$}shouldQuote($,I){let U=I?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(ao0.default(U))return U;if(Array.isArray(U))return U[$];if(this._headers!==null)return U[this._headers[$]];return!1}format($,I,U){let Y=`${so0.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:J}=this;if(J.quote!==""){if(Y.indexOf(J.quote)!==-1)return this.quoteField(Y.replace(this.REPLACE_REGEXP,J.escapedQuote))}if(Y.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(I,U))return this.quoteField(Y);return Y}quoteField($){let{quote:I}=this.formatterOptions;return`${I}${$}${I}`}}HY.FieldFormatter=W90});var bC=O((V90)=>{Object.defineProperty(V90,"__esModule",{value:!0});V90.isSyncTransform=void 0;V90.isSyncTransform=($)=>$.length===1});var X90=O((WY)=>{var z90=WY&&WY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(WY,"__esModule",{value:!0});WY.RowFormatter=void 0;var $r0=z90(uz()),Ir0=z90(I90()),Ur0=fC(),Yr0=bC();class X3{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new Ur0.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(X3.isRowHashArray($))return $.map((I)=>I[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(Yr0.isSyncTransform($))return(I,U)=>{let Y=null;try{Y=$(I)}catch(J){return U(J)}return U(null,Y)};return(I,U)=>{$(I,U)}}set rowTransform($){if(!$r0.default($))throw TypeError("The transform should be a function");this._rowTransform=X3.createTransform($)}format($,I){this.callTransformer($,(U,Y)=>{if(U)return I(U);if(!$)return I(null);let J=[];if(Y){let{shouldFormatColumns:Q,headers:K}=this.checkHeaders(Y);if(this.shouldWriteHeaders&&K&&!this.hasWrittenHeaders)J.push(this.formatColumns(K,!0)),this.hasWrittenHeaders=!0;if(Q){let q=this.gatherColumns(Y);J.push(this.formatColumns(q,!1))}}return I(null,J)})}finish($){let I=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));I.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)I.push(this.formatterOptions.rowDelimiter);return $(null,I)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let I=X3.gatherHeaders($);if(this.headers=I,this.fieldFormatter.headers=I,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!Ir0.default(I,$),headers:I}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((I)=>$[I]);if(X3.isRowHashArray($))return this.headers.map((I,U)=>{let Y=$[U];if(Y)return Y[1];return""});if(X3.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((I,U)=>$[U])}callTransformer($,I){if(!this._rowTransform)return I(null,$);return this._rowTransform($,I)}formatColumns($,I){let U=$.map((J,Q)=>this.fieldFormatter.format(J,Q,I)).join(this.formatterOptions.delimiter),{rowCount:Y}=this;if(this.rowCount+=1,Y)return[this.formatterOptions.rowDelimiter,U].join("");return U}}WY.RowFormatter=X3});var w90=O((az)=>{Object.defineProperty(az,"__esModule",{value:!0});az.FieldFormatter=az.RowFormatter=void 0;var Jr0=X90();Object.defineProperty(az,"RowFormatter",{enumerable:!0,get:function(){return Jr0.RowFormatter}});var Qr0=fC();Object.defineProperty(az,"FieldFormatter",{enumerable:!0,get:function(){return Qr0.FieldFormatter}})});var iC=O((D90)=>{Object.defineProperty(D90,"__esModule",{value:!0});D90.CsvFormatterStream=void 0;var qr0=r("stream"),Gr0=w90();class L90 extends qr0.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new Gr0.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,I,U){let Y=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(J,Q)=>{if(J)return Y=!0,U(J);if(Q)Q.forEach((K)=>{this.push(Buffer.from(K,"utf8"))});return Y=!0,U()})}catch(J){if(Y)throw J;U(J)}}_flush($){this.rowFormatter.finish((I,U)=>{if(I)return $(I);if(U)U.forEach((Y)=>{this.push(Buffer.from(Y,"utf8"))});return $()})}}D90.CsvFormatterStream=L90});var F90=O((F1)=>{var N90=F1&&F1.__createBinding||(Object.create?function($,I,U,Y){if(Y===void 0)Y=U;Object.defineProperty($,Y,{enumerable:!0,get:function(){return I[U]}})}:function($,I,U,Y){if(Y===void 0)Y=U;$[Y]=I[U]}),Hr0=F1&&F1.__setModuleDefault||(Object.create?function($,I){Object.defineProperty($,"default",{enumerable:!0,value:I})}:function($,I){$.default=I}),Wr0=F1&&F1.__importStar||function($){if($&&$.__esModule)return $;var I={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))N90(I,$,U)}return Hr0(I,$),I},Vr0=F1&&F1.__exportStar||function($,I){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(I,U))N90(I,$,U)};Object.defineProperty(F1,"__esModule",{value:!0});F1.writeToPath=F1.writeToString=F1.writeToBuffer=F1.writeToStream=F1.write=F1.format=F1.FormatterOptions=F1.CsvFormatterStream=void 0;var Zr0=r("util"),zr0=r("stream"),Xr0=Wr0(r("fs")),wr0=TC(),Lr0=iC();Vr0(bC(),F1);var Dr0=iC();Object.defineProperty(F1,"CsvFormatterStream",{enumerable:!0,get:function(){return Dr0.CsvFormatterStream}});var Or0=TC();Object.defineProperty(F1,"FormatterOptions",{enumerable:!0,get:function(){return Or0.FormatterOptions}});F1.format=($)=>new Lr0.CsvFormatterStream(new wr0.FormatterOptions($));F1.write=($,I)=>{let U=F1.format(I),Y=Zr0.promisify((J,Q)=>{U.write(J,void 0,Q)});return $.reduce((J,Q)=>J.then(()=>Y(Q)),Promise.resolve()).then(()=>U.end()).catch((J)=>{U.emit("error",J)}),U};F1.writeToStream=($,I,U)=>F1.write(I,U).pipe($);F1.writeToBuffer=($,I={})=>{let U=[],Y=new zr0.Writable({write(J,Q,K){U.push(J),K()}});return new Promise((J,Q)=>{Y.on("error",Q).on("finish",()=>J(Buffer.concat(U))),F1.write($,I).pipe(Y)})};F1.writeToString=($,I)=>F1.writeToBuffer($,I).then((U)=>U.toString());F1.writeToPath=($,I,U)=>{let Y=Xr0.createWriteStream($,{encoding:"utf8"});return F1.write(I,U).pipe(Y)}});var nC=O((VY)=>{var M90=VY&&VY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(VY,"__esModule",{value:!0});VY.ParserOptions=void 0;var Nr0=M90(kC()),Fr0=M90(xC());class A90{constructor($){var I;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=Nr0.default(this.delimiter),this.escapeChar=(I=this.escape)!==null&&I!==void 0?I:this.quote,this.supportsComments=!Fr0.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}VY.ParserOptions=A90});var pC=O((P90)=>{Object.defineProperty(P90,"__esModule",{value:!0});P90.isSyncValidate=P90.isSyncTransform=void 0;P90.isSyncTransform=($)=>$.length===1;P90.isSyncValidate=($)=>$.length===1});var R90=O((ZY)=>{var Ar0=ZY&&ZY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(ZY,"__esModule",{value:!0});ZY.RowTransformerValidator=void 0;var E90=Ar0(uz()),B90=pC();class sz{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(B90.isSyncTransform($))return(I,U)=>{let Y=null;try{Y=$(I)}catch(J){return U(J)}return U(null,Y)};return $}static createValidator($){if(B90.isSyncValidate($))return(I,U)=>{U(null,{row:I,isValid:$(I)})};return(I,U)=>{$(I,(Y,J,Q)=>{if(Y)return U(Y);if(J)return U(null,{row:I,isValid:J,reason:Q});return U(null,{row:I,isValid:!1,reason:Q})})}}set rowTransform($){if(!E90.default($))throw TypeError("The transform should be a function");this._rowTransform=sz.createTransform($)}set rowValidator($){if(!E90.default($))throw TypeError("The validate should be a function");this._rowValidator=sz.createValidator($)}transformAndValidate($,I){return this.callTransformer($,(U,Y)=>{if(U)return I(U);if(!Y)return I(null,{row:null,isValid:!0});return this.callValidator(Y,(J,Q)=>{if(J)return I(J);if(Q&&!Q.isValid)return I(null,{row:Y,isValid:!1,reason:Q.reason});return I(null,{row:Y,isValid:!0})})})}callTransformer($,I){if(!this._rowTransform)return I(null,$);return this._rowTransform($,I)}callValidator($,I){if(!this._rowValidator)return I(null,{row:$,isValid:!0});return this._rowValidator($,I)}}ZY.RowTransformerValidator=sz});var C90=O((KE1,v90)=>{function Pr0($){return $===void 0}v90.exports=Pr0});var x90=O((qE1,h90)=>{var Tr0=200,mC="__lodash_hash_undefined__",Er0=1/0,Br0="[object Function]",Rr0="[object GeneratorFunction]",vr0=/[\\^$.*+?()[\]{}|]/g,Cr0=/^\[object .+?Constructor\]$/,jr0=typeof global=="object"&&global&&global.Object===Object&&global,_r0=typeof self=="object"&&self&&self.Object===Object&&self,lC=jr0||_r0||Function("return this")();function Sr0($,I){var U=$?$.length:0;return!!U&&hr0($,I,0)>-1}function gr0($,I,U){var Y=-1,J=$?$.length:0;while(++Y<J)if(U(I,$[Y]))return!0;return!1}function yr0($,I,U,Y){var J=$.length,Q=U+(Y?1:-1);while(Y?Q--:++Q<J)if(I($[Q],Q,$))return Q;return-1}function hr0($,I,U){if(I!==I)return yr0($,xr0,U);var Y=U-1,J=$.length;while(++Y<J)if($[Y]===I)return Y;return-1}function xr0($){return $!==$}function kr0($,I){return $.has(I)}function ur0($,I){return $==null?void 0:$[I]}function fr0($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function _90($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var br0=Array.prototype,ir0=Function.prototype,S90=Object.prototype,cC=lC["__core-js_shared__"],j90=function(){var $=/[^.]+$/.exec(cC&&cC.keys&&cC.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),g90=ir0.toString,oC=S90.hasOwnProperty,nr0=S90.toString,pr0=RegExp("^"+g90.call(oC).replace(vr0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cr0=br0.splice,dr0=rC(lC,"Map"),dC=rC(lC,"Set"),AK=rC(Object,"create");function w3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function mr0(){this.__data__=AK?AK(null):{}}function lr0($){return this.has($)&&delete this.__data__[$]}function or0($){var I=this.__data__;if(AK){var U=I[$];return U===mC?void 0:U}return oC.call(I,$)?I[$]:void 0}function rr0($){var I=this.__data__;return AK?I[$]!==void 0:oC.call(I,$)}function tr0($,I){var U=this.__data__;return U[$]=AK&&I===void 0?mC:I,this}w3.prototype.clear=mr0;w3.prototype.delete=lr0;w3.prototype.get=or0;w3.prototype.has=rr0;w3.prototype.set=tr0;function zY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function ar0(){this.__data__=[]}function sr0($){var I=this.__data__,U=$X(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else cr0.call(I,U,1);return!0}function er0($){var I=this.__data__,U=$X(I,$);return U<0?void 0:I[U][1]}function $t0($){return $X(this.__data__,$)>-1}function It0($,I){var U=this.__data__,Y=$X(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}zY.prototype.clear=ar0;zY.prototype.delete=sr0;zY.prototype.get=er0;zY.prototype.has=$t0;zY.prototype.set=It0;function XY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function Ut0(){this.__data__={hash:new w3,map:new(dr0||zY),string:new w3}}function Yt0($){return IX(this,$).delete($)}function Jt0($){return IX(this,$).get($)}function Qt0($){return IX(this,$).has($)}function Kt0($,I){return IX(this,$).set($,I),this}XY.prototype.clear=Ut0;XY.prototype.delete=Yt0;XY.prototype.get=Jt0;XY.prototype.has=Qt0;XY.prototype.set=Kt0;function ez($){var I=-1,U=$?$.length:0;this.__data__=new XY;while(++I<U)this.add($[I])}function qt0($){return this.__data__.set($,mC),this}function Gt0($){return this.__data__.has($)}ez.prototype.add=ez.prototype.push=qt0;ez.prototype.has=Gt0;function $X($,I){var U=$.length;while(U--)if(Lt0($[U][0],I))return U;return-1}function Ht0($){if(!y90($)||zt0($))return!1;var I=Dt0($)||fr0($)?pr0:Cr0;return I.test(Xt0($))}function Wt0($,I,U){var Y=-1,J=Sr0,Q=$.length,K=!0,q=[],G=q;if(U)K=!1,J=gr0;else if(Q>=Tr0){var H=I?null:Vt0($);if(H)return _90(H);K=!1,J=kr0,G=new ez}else G=I?[]:q;$:while(++Y<Q){var W=$[Y],V=I?I(W):W;if(W=U||W!==0?W:0,K&&V===V){var z=G.length;while(z--)if(G[z]===V)continue $;if(I)G.push(V);q.push(W)}else if(!J(G,V,U)){if(G!==q)G.push(V);q.push(W)}}return q}var Vt0=!(dC&&1/_90(new dC([,-0]))[1]==Er0)?Ot0:function($){return new dC($)};function IX($,I){var U=$.__data__;return Zt0(I)?U[typeof I=="string"?"string":"hash"]:U.map}function rC($,I){var U=ur0($,I);return Ht0(U)?U:void 0}function Zt0($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function zt0($){return!!j90&&j90 in $}function Xt0($){if($!=null){try{return g90.call($)}catch(I){}try{return $+""}catch(I){}}return""}function wt0($){return $&&$.length?Wt0($):[]}function Lt0($,I){return $===I||$!==$&&I!==I}function Dt0($){var I=y90($)?nr0.call($):"";return I==Br0||I==Rr0}function y90($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function Ot0(){}h90.exports=wt0});var w70=O((UX,LY)=>{var Nt0=200,Ft0="Expected a function",Qj="__lodash_hash_undefined__",WX=1,DY=2,m90=1/0,l90=9007199254740991,YX="[object Arguments]",sC="[object Array]",o90="[object Boolean]",r90="[object Date]",t90="[object Error]",a90="[object Function]",Mt0="[object GeneratorFunction]",JX="[object Map]",s90="[object Number]",wY="[object Object]",k90="[object Promise]",e90="[object RegExp]",QX="[object Set]",$70="[object String]",I70="[object Symbol]",eC="[object WeakMap]",U70="[object ArrayBuffer]",KX="[object DataView]",At0="[object Float32Array]",Pt0="[object Float64Array]",Tt0="[object Int8Array]",Et0="[object Int16Array]",Bt0="[object Int32Array]",Rt0="[object Uint8Array]",vt0="[object Uint8ClampedArray]",Ct0="[object Uint16Array]",jt0="[object Uint32Array]",_t0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St0=/^\w*$/,gt0=/^\./,yt0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ht0=/[\\^$.*+?()[\]{}|]/g,xt0=/\\(\\)?/g,kt0=/^\[object .+?Constructor\]$/,ut0=/^(?:0|[1-9]\d*)$/,r1={};r1[At0]=r1[Pt0]=r1[Tt0]=r1[Et0]=r1[Bt0]=r1[Rt0]=r1[vt0]=r1[Ct0]=r1[jt0]=!0;r1[YX]=r1[sC]=r1[U70]=r1[o90]=r1[KX]=r1[r90]=r1[t90]=r1[a90]=r1[JX]=r1[s90]=r1[wY]=r1[e90]=r1[QX]=r1[$70]=r1[eC]=!1;var Y70=typeof global=="object"&&global&&global.Object===Object&&global,ft0=typeof self=="object"&&self&&self.Object===Object&&self,b9=Y70||ft0||Function("return this")(),J70=typeof UX=="object"&&UX&&!UX.nodeType&&UX,u90=J70&&typeof LY=="object"&&LY&&!LY.nodeType&&LY,bt0=u90&&u90.exports===J70,f90=bt0&&Y70.process,b90=function(){try{return f90&&f90.binding("util")}catch($){}}(),i90=b90&&b90.isTypedArray;function it0($,I,U,Y){var J=-1,Q=$?$.length:0;while(++J<Q){var K=$[J];I(Y,K,U(K),$)}return Y}function nt0($,I){var U=-1,Y=$?$.length:0;while(++U<Y)if(I($[U],U,$))return!0;return!1}function pt0($){return function(I){return I==null?void 0:I[$]}}function ct0($,I){var U=-1,Y=Array($);while(++U<$)Y[U]=I(U);return Y}function dt0($){return function(I){return $(I)}}function mt0($,I){return $==null?void 0:$[I]}function $j($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function lt0($){var I=-1,U=Array($.size);return $.forEach(function(Y,J){U[++I]=[J,Y]}),U}function ot0($,I){return function(U){return $(I(U))}}function rt0($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var tt0=Array.prototype,at0=Function.prototype,VX=Object.prototype,tC=b9["__core-js_shared__"],n90=function(){var $=/[^.]+$/.exec(tC&&tC.keys&&tC.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),Q70=at0.toString,j8=VX.hasOwnProperty,OY=VX.toString,st0=RegExp("^"+Q70.call(j8).replace(ht0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),p90=b9.Symbol,c90=b9.Uint8Array,et0=VX.propertyIsEnumerable,$a0=tt0.splice,Ia0=ot0(Object.keys,Object),Ij=NY(b9,"DataView"),PK=NY(b9,"Map"),Uj=NY(b9,"Promise"),Yj=NY(b9,"Set"),Jj=NY(b9,"WeakMap"),TK=NY(Object,"create"),Ua0=D3(Ij),Ya0=D3(PK),Ja0=D3(Uj),Qa0=D3(Yj),Ka0=D3(Jj),qX=p90?p90.prototype:void 0,aC=qX?qX.valueOf:void 0,d90=qX?qX.toString:void 0;function L3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function qa0(){this.__data__=TK?TK(null):{}}function Ga0($){return this.has($)&&delete this.__data__[$]}function Ha0($){var I=this.__data__;if(TK){var U=I[$];return U===Qj?void 0:U}return j8.call(I,$)?I[$]:void 0}function Wa0($){var I=this.__data__;return TK?I[$]!==void 0:j8.call(I,$)}function Va0($,I){var U=this.__data__;return U[$]=TK&&I===void 0?Qj:I,this}L3.prototype.clear=qa0;L3.prototype.delete=Ga0;L3.prototype.get=Ha0;L3.prototype.has=Wa0;L3.prototype.set=Va0;function F5($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function Za0(){this.__data__=[]}function za0($){var I=this.__data__,U=ZX(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else $a0.call(I,U,1);return!0}function Xa0($){var I=this.__data__,U=ZX(I,$);return U<0?void 0:I[U][1]}function wa0($){return ZX(this.__data__,$)>-1}function La0($,I){var U=this.__data__,Y=ZX(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}F5.prototype.clear=Za0;F5.prototype.delete=za0;F5.prototype.get=Xa0;F5.prototype.has=wa0;F5.prototype.set=La0;function M5($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function Da0(){this.__data__={hash:new L3,map:new(PK||F5),string:new L3}}function Oa0($){return zX(this,$).delete($)}function Na0($){return zX(this,$).get($)}function Fa0($){return zX(this,$).has($)}function Ma0($,I){return zX(this,$).set($,I),this}M5.prototype.clear=Da0;M5.prototype.delete=Oa0;M5.prototype.get=Na0;M5.prototype.has=Fa0;M5.prototype.set=Ma0;function GX($){var I=-1,U=$?$.length:0;this.__data__=new M5;while(++I<U)this.add($[I])}function Aa0($){return this.__data__.set($,Qj),this}function Pa0($){return this.__data__.has($)}GX.prototype.add=GX.prototype.push=Aa0;GX.prototype.has=Pa0;function N5($){this.__data__=new F5($)}function Ta0(){this.__data__=new F5}function Ea0($){return this.__data__.delete($)}function Ba0($){return this.__data__.get($)}function Ra0($){return this.__data__.has($)}function va0($,I){var U=this.__data__;if(U instanceof F5){var Y=U.__data__;if(!PK||Y.length<Nt0-1)return Y.push([$,I]),this;U=this.__data__=new M5(Y)}return U.set($,I),this}N5.prototype.clear=Ta0;N5.prototype.delete=Ea0;N5.prototype.get=Ba0;N5.prototype.has=Ra0;N5.prototype.set=va0;function Ca0($,I){var U=f9($)||z70($)?ct0($.length,String):[],Y=U.length,J=!!Y;for(var Q in $)if((I||j8.call($,Q))&&!(J&&(Q=="length"||H70(Q,Y))))U.push(Q);return U}function ZX($,I){var U=$.length;while(U--)if(Z70($[U][0],I))return U;return-1}function ja0($,I,U,Y){return _a0($,function(J,Q,K){I(Y,J,U(J),K)}),Y}var _a0=la0(ga0),Sa0=oa0();function ga0($,I){return $&&Sa0($,I,HX)}function K70($,I){I=XX(I,$)?[I]:q70(I);var U=0,Y=I.length;while($!=null&&U<Y)$=$[wX(I[U++])];return U&&U==Y?$:void 0}function ya0($){return OY.call($)}function ha0($,I){return $!=null&&I in Object($)}function Kj($,I,U,Y,J){if($===I)return!0;if($==null||I==null||!LX($)&&!DX(I))return $!==$&&I!==I;return xa0($,I,Kj,U,Y,J)}function xa0($,I,U,Y,J,Q){var K=f9($),q=f9(I),G=sC,H=sC;if(!K)G=u9($),G=G==YX?wY:G;if(!q)H=u9(I),H=H==YX?wY:H;var W=G==wY&&!$j($),V=H==wY&&!$j(I),z=G==H;if(z&&!W)return Q||(Q=new N5),K||Qs0($)?G70($,I,U,Y,J,Q):ra0($,I,G,U,Y,J,Q);if(!(J&DY)){var Z=W&&j8.call($,"__wrapped__"),w=V&&j8.call(I,"__wrapped__");if(Z||w){var L=Z?$.value():$,D=w?I.value():I;return Q||(Q=new N5),U(L,D,Y,J,Q)}}if(!z)return!1;return Q||(Q=new N5),ta0($,I,U,Y,J,Q)}function ka0($,I,U,Y){var J=U.length,Q=J,K=!Y;if($==null)return!Q;$=Object($);while(J--){var q=U[J];if(K&&q[2]?q[1]!==$[q[0]]:!(q[0]in $))return!1}while(++J<Q){q=U[J];var G=q[0],H=$[G],W=q[1];if(K&&q[2]){if(H===void 0&&!(G in $))return!1}else{var V=new N5;if(Y)var z=Y(H,W,G,$,I,V);if(!(z===void 0?Kj(W,H,Y,WX|DY,V):z))return!1}}return!0}function ua0($){if(!LX($)||$s0($))return!1;var I=X70($)||$j($)?st0:kt0;return I.test(D3($))}function fa0($){return DX($)&&Hj($.length)&&!!r1[OY.call($)]}function ba0($){if(typeof $=="function")return $;if($==null)return Hs0;if(typeof $=="object")return f9($)?pa0($[0],$[1]):na0($);return Ws0($)}function ia0($){if(!Is0($))return Ia0($);var I=[];for(var U in Object($))if(j8.call($,U)&&U!="constructor")I.push(U);return I}function na0($){var I=aa0($);if(I.length==1&&I[0][2])return V70(I[0][0],I[0][1]);return function(U){return U===$||ka0(U,$,I)}}function pa0($,I){if(XX($)&&W70(I))return V70(wX($),I);return function(U){var Y=qs0(U,$);return Y===void 0&&Y===I?Gs0(U,$):Kj(I,Y,void 0,WX|DY)}}function ca0($){return function(I){return K70(I,$)}}function da0($){if(typeof $=="string")return $;if(Wj($))return d90?d90.call($):"";var I=$+"";return I=="0"&&1/$==-m90?"-0":I}function q70($){return f9($)?$:Us0($)}function ma0($,I){return function(U,Y){var J=f9(U)?it0:ja0,Q=I?I():{};return J(U,$,ba0(Y,2),Q)}}function la0($,I){return function(U,Y){if(U==null)return U;if(!Gj(U))return $(U,Y);var J=U.length,Q=I?J:-1,K=Object(U);while(I?Q--:++Q<J)if(Y(K[Q],Q,K)===!1)break;return U}}function oa0($){return function(I,U,Y){var J=-1,Q=Object(I),K=Y(I),q=K.length;while(q--){var G=K[$?q:++J];if(U(Q[G],G,Q)===!1)break}return I}}function G70($,I,U,Y,J,Q){var K=J&DY,q=$.length,G=I.length;if(q!=G&&!(K&&G>q))return!1;var H=Q.get($);if(H&&Q.get(I))return H==I;var W=-1,V=!0,z=J&WX?new GX:void 0;Q.set($,I),Q.set(I,$);while(++W<q){var Z=$[W],w=I[W];if(Y)var L=K?Y(w,Z,W,I,$,Q):Y(Z,w,W,$,I,Q);if(L!==void 0){if(L)continue;V=!1;break}if(z){if(!nt0(I,function(D,N){if(!z.has(N)&&(Z===D||U(Z,D,Y,J,Q)))return z.add(N)})){V=!1;break}}else if(!(Z===w||U(Z,w,Y,J,Q))){V=!1;break}}return Q.delete($),Q.delete(I),V}function ra0($,I,U,Y,J,Q,K){switch(U){case KX:if($.byteLength!=I.byteLength||$.byteOffset!=I.byteOffset)return!1;$=$.buffer,I=I.buffer;case U70:if($.byteLength!=I.byteLength||!Y(new c90($),new c90(I)))return!1;return!0;case o90:case r90:case s90:return Z70(+$,+I);case t90:return $.name==I.name&&$.message==I.message;case e90:case $70:return $==I+"";case JX:var q=lt0;case QX:var G=Q&DY;if(q||(q=rt0),$.size!=I.size&&!G)return!1;var H=K.get($);if(H)return H==I;Q|=WX,K.set($,I);var W=G70(q($),q(I),Y,J,Q,K);return K.delete($),W;case I70:if(aC)return aC.call($)==aC.call(I)}return!1}function ta0($,I,U,Y,J,Q){var K=J&DY,q=HX($),G=q.length,H=HX(I),W=H.length;if(G!=W&&!K)return!1;var V=G;while(V--){var z=q[V];if(!(K?z in I:j8.call(I,z)))return!1}var Z=Q.get($);if(Z&&Q.get(I))return Z==I;var w=!0;Q.set($,I),Q.set(I,$);var L=K;while(++V<G){z=q[V];var D=$[z],N=I[z];if(Y)var E=K?Y(N,D,z,I,$,Q):Y(D,N,z,$,I,Q);if(!(E===void 0?D===N||U(D,N,Y,J,Q):E)){w=!1;break}L||(L=z=="constructor")}if(w&&!L){var T=$.constructor,A=I.constructor;if(T!=A&&(("constructor"in $)&&("constructor"in I))&&!(typeof T=="function"&&T instanceof T&&typeof A=="function"&&A instanceof A))w=!1}return Q.delete($),Q.delete(I),w}function zX($,I){var U=$.__data__;return ea0(I)?U[typeof I=="string"?"string":"hash"]:U.map}function aa0($){var I=HX($),U=I.length;while(U--){var Y=I[U],J=$[Y];I[U]=[Y,J,W70(J)]}return I}function NY($,I){var U=mt0($,I);return ua0(U)?U:void 0}var u9=ya0;if(Ij&&u9(new Ij(new ArrayBuffer(1)))!=KX||PK&&u9(new PK)!=JX||Uj&&u9(Uj.resolve())!=k90||Yj&&u9(new Yj)!=QX||Jj&&u9(new Jj)!=eC)u9=function($){var I=OY.call($),U=I==wY?$.constructor:void 0,Y=U?D3(U):void 0;if(Y)switch(Y){case Ua0:return KX;case Ya0:return JX;case Ja0:return k90;case Qa0:return QX;case Ka0:return eC}return I};function sa0($,I,U){I=XX(I,$)?[I]:q70(I);var Y,J=-1,K=I.length;while(++J<K){var Q=wX(I[J]);if(!(Y=$!=null&&U($,Q)))break;$=$[Q]}if(Y)return Y;var K=$?$.length:0;return!!K&&Hj(K)&&H70(Q,K)&&(f9($)||z70($))}function H70($,I){return I=I==null?l90:I,!!I&&(typeof $=="number"||ut0.test($))&&($>-1&&$%1==0&&$<I)}function XX($,I){if(f9($))return!1;var U=typeof $;if(U=="number"||U=="symbol"||U=="boolean"||$==null||Wj($))return!0;return St0.test($)||!_t0.test($)||I!=null&&$ in Object(I)}function ea0($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function $s0($){return!!n90&&n90 in $}function Is0($){var I=$&&$.constructor,U=typeof I=="function"&&I.prototype||VX;return $===U}function W70($){return $===$&&!LX($)}function V70($,I){return function(U){if(U==null)return!1;return U[$]===I&&(I!==void 0||($ in Object(U)))}}var Us0=qj(function($){$=Ks0($);var I=[];if(gt0.test($))I.push("");return $.replace(yt0,function(U,Y,J,Q){I.push(J?Q.replace(xt0,"$1"):Y||U)}),I});function wX($){if(typeof $=="string"||Wj($))return $;var I=$+"";return I=="0"&&1/$==-m90?"-0":I}function D3($){if($!=null){try{return Q70.call($)}catch(I){}try{return $+""}catch(I){}}return""}var Ys0=ma0(function($,I,U){if(j8.call($,U))$[U].push(I);else $[U]=[I]});function qj($,I){if(typeof $!="function"||I&&typeof I!="function")throw TypeError(Ft0);var U=function(){var Y=arguments,J=I?I.apply(this,Y):Y[0],Q=U.cache;if(Q.has(J))return Q.get(J);var K=$.apply(this,Y);return U.cache=Q.set(J,K),K};return U.cache=new(qj.Cache||M5),U}qj.Cache=M5;function Z70($,I){return $===I||$!==$&&I!==I}function z70($){return Js0($)&&j8.call($,"callee")&&(!et0.call($,"callee")||OY.call($)==YX)}var f9=Array.isArray;function Gj($){return $!=null&&Hj($.length)&&!X70($)}function Js0($){return DX($)&&Gj($)}function X70($){var I=LX($)?OY.call($):"";return I==a90||I==Mt0}function Hj($){return typeof $=="number"&&$>-1&&$%1==0&&$<=l90}function LX($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function DX($){return!!$&&typeof $=="object"}function Wj($){return typeof $=="symbol"||DX($)&&OY.call($)==I70}var Qs0=i90?dt0(i90):fa0;function Ks0($){return $==null?"":da0($)}function qs0($,I,U){var Y=$==null?void 0:K70($,I);return Y===void 0?U:Y}function Gs0($,I){return $!=null&&sa0($,I,ha0)}function HX($){return Gj($)?Ca0($):ia0($)}function Hs0($){return $}function Ws0($){return XX($)?pt0(wX($)):ca0($)}LY.exports=Ys0});var O70=O((FY)=>{var OX=FY&&FY.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(FY,"__esModule",{value:!0});FY.HeaderTransformer=void 0;var L70=OX(C90()),Vs0=OX(uz()),Zs0=OX(x90()),zs0=OX(w70());class D70{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(Vs0.default($.headers))this.headersTransform=$.headers}transform($,I){if(!this.shouldMapRow($))return I(null,{row:null,isValid:!0});return I(null,this.processRow($))}shouldMapRow($){let{parserOptions:I}=this;if(!this.headersTransform&&I.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:I}=this;if(!I.discardUnmappedColumns&&$.length>this.headersLength){if(!I.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(I.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 I={},{headers:U,headersLength:Y}=this;for(let J=0;J<Y;J+=1){let Q=U[J];if(!L70.default(Q)){let K=$[J];if(L70.default(K))I[Q]="";else I[Q]=K}}return I}setHeaders($){var I;let U=$.filter((Y)=>!!Y);if(Zs0.default(U).length!==U.length){let Y=zs0.default(U),J=Object.keys(Y).filter((Q)=>Y[Q].length>1);throw Error(`Duplicate headers found ${JSON.stringify(J)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((I=this.headers)===null||I===void 0?void 0:I.length)||0}}FY.HeaderTransformer=D70});var N70=O((NX)=>{Object.defineProperty(NX,"__esModule",{value:!0});NX.HeaderTransformer=NX.RowTransformerValidator=void 0;var Xs0=R90();Object.defineProperty(NX,"RowTransformerValidator",{enumerable:!0,get:function(){return Xs0.RowTransformerValidator}});var ws0=O70();Object.defineProperty(NX,"HeaderTransformer",{enumerable:!0,get:function(){return ws0.HeaderTransformer}})});var i9=O((M70)=>{Object.defineProperty(M70,"__esModule",{value:!0});M70.Token=void 0;class F70{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let I=$.token;return I==="\r"||I===`
`||I===`\r
`}static isTokenCarriageReturn($,I){return $.token===I.carriageReturn}static isTokenComment($,I){return I.supportsComments&&!!$&&$.token===I.comment}static isTokenEscapeCharacter($,I){return $.token===I.escapeChar}static isTokenQuote($,I){return $.token===I.quote}static isTokenDelimiter($,I){return $.token===I.delimiter}}M70.Token=F70});var Vj=O((E70)=>{Object.defineProperty(E70,"__esModule",{value:!0});E70.Scanner=void 0;var P70=i9(),Ds0=/((?:\r\n)|\n|\r)/;class T70{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,I=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(I)===-1)return null;let U=I.exec($);if(U==null)return null;let Y=U[1],J=this.cursor+(U.index||0);return new P70.Token({token:Y,startCursor:J,endCursor:J+Y.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:I}=this;if(I<=$)return null;return new P70.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=Ds0.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}}E70.Scanner=T70});var FX=O((v70)=>{Object.defineProperty(v70,"__esModule",{value:!0});v70.ColumnFormatter=void 0;class R70{constructor($){if($.trim)this.format=(I)=>I.trim();else if($.ltrim)this.format=(I)=>I.trimLeft();else if($.rtrim)this.format=(I)=>I.trimRight();else this.format=(I)=>I}}v70.ColumnFormatter=R70});var Zj=O((S70)=>{Object.defineProperty(S70,"__esModule",{value:!0});S70.NonQuotedColumnParser=void 0;var Os0=FX(),j70=i9();class _70{constructor($){this.parserOptions=$,this.columnFormatter=new Os0.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:I}=this,U=[],Y=$.nextCharacterToken;for(;Y;Y=$.nextCharacterToken){if(j70.Token.isTokenDelimiter(Y,I)||j70.Token.isTokenRowDelimiter(Y))break;U.push(Y.token),$.advancePastToken(Y)}return this.columnFormatter.format(U.join(""))}}S70.NonQuotedColumnParser=_70});var zj=O((h70)=>{Object.defineProperty(h70,"__esModule",{value:!0});h70.QuotedColumnParser=void 0;var Ns0=FX(),MY=i9();class y70{constructor($){this.parserOptions=$,this.columnFormatter=new Ns0.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let I=$.cursor,{foundClosingQuote:U,col:Y}=this.gatherDataBetweenQuotes($);if(!U){if($.advanceTo(I),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),Y}gatherDataBetweenQuotes($){let{parserOptions:I}=this,U=!1,Y=!1,J=[],Q=$.nextCharacterToken;for(;!Y&&Q!==null;Q=$.nextCharacterToken){let K=MY.Token.isTokenQuote(Q,I);if(!U&&K)U=!0;else if(U)if(MY.Token.isTokenEscapeCharacter(Q,I)){$.advancePastToken(Q);let q=$.nextCharacterToken;if(q!==null&&(MY.Token.isTokenQuote(q,I)||MY.Token.isTokenEscapeCharacter(q,I)))J.push(q.token),Q=q;else if(K)Y=!0;else J.push(Q.token)}else if(K)Y=!0;else J.push(Q.token);$.advancePastToken(Q)}return{col:this.columnFormatter.format(J.join("")),foundClosingQuote:Y}}checkForMalformedColumn($){let{parserOptions:I}=this,{nextNonSpaceToken:U}=$;if(U){let Y=MY.Token.isTokenDelimiter(U,I),J=MY.Token.isTokenRowDelimiter(U);if(!(Y||J)){let Q=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${I.escapedDelimiter}' OR new line got: '${U.token}'. at '${Q}`)}$.advanceToToken(U)}else if(!$.hasMoreData)$.advancePastLine()}}h70.QuotedColumnParser=y70});var b70=O((u70)=>{Object.defineProperty(u70,"__esModule",{value:!0});u70.ColumnParser=void 0;var Fs0=Zj(),Ms0=zj(),As0=i9();class k70{constructor($){this.parserOptions=$,this.quotedColumnParser=new Ms0.QuotedColumnParser($),this.nonQuotedColumnParser=new Fs0.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:I}=$;if(I!==null&&As0.Token.isTokenQuote(I,this.parserOptions))return $.advanceToToken(I),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}u70.ColumnParser=k70});var Xj=O((AY)=>{Object.defineProperty(AY,"__esModule",{value:!0});AY.ColumnFormatter=AY.QuotedColumnParser=AY.NonQuotedColumnParser=AY.ColumnParser=void 0;var Ps0=b70();Object.defineProperty(AY,"ColumnParser",{enumerable:!0,get:function(){return Ps0.ColumnParser}});var Ts0=Zj();Object.defineProperty(AY,"NonQuotedColumnParser",{enumerable:!0,get:function(){return Ts0.NonQuotedColumnParser}});var Es0=zj();Object.defineProperty(AY,"QuotedColumnParser",{enumerable:!0,get:function(){return Es0.QuotedColumnParser}});var Bs0=FX();Object.defineProperty(AY,"ColumnFormatter",{enumerable:!0,get:function(){return Bs0.ColumnFormatter}})});var Lj=O((n70)=>{Object.defineProperty(n70,"__esModule",{value:!0});n70.RowParser=void 0;var vs0=Xj(),PY=i9(),wj="";class i70{constructor($){this.parserOptions=$,this.columnParser=new vs0.ColumnParser($)}static isEmptyRow($){return $.join(wj).replace(/\s+/g,wj)===wj}parse($){let{parserOptions:I}=this,{hasMoreData:U}=$,Y=$,J=[],Q=this.getStartToken(Y,J);while(Q){if(PY.Token.isTokenRowDelimiter(Q)){if(Y.advancePastToken(Q),!Y.hasMoreCharacters&&PY.Token.isTokenCarriageReturn(Q,I)&&U)return null;return Y.truncateToCursor(),J}if(!this.shouldSkipColumnParse(Y,Q,J)){let K=this.columnParser.parse(Y);if(K===null)return null;J.push(K)}Q=Y.nextNonSpaceToken}if(!U)return Y.truncateToCursor(),J;return null}getStartToken($,I){let U=$.nextNonSpaceToken;if(U!==null&&PY.Token.isTokenDelimiter(U,this.parserOptions))return I.push(""),$.nextNonSpaceToken;return U}shouldSkipColumnParse($,I,U){let{parserOptions:Y}=this;if(PY.Token.isTokenDelimiter(I,Y)){$.advancePastToken(I);let J=$.nextCharacterToken;if(!$.hasMoreCharacters||J!==null&&PY.Token.isTokenRowDelimiter(J))return U.push(""),!0;if(J!==null&&PY.Token.isTokenDelimiter(J,Y))return U.push(""),!0}return!1}}n70.RowParser=i70});var l70=O((d70)=>{Object.defineProperty(d70,"__esModule",{value:!0});d70.Parser=void 0;var Cs0=Vj(),c70=Lj(),js0=i9();class Dj{constructor($){this.parserOptions=$,this.rowParser=new c70.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,I){let U=new Cs0.Scanner({line:Dj.removeBOM($),parserOptions:this.parserOptions,hasMoreData:I});if(this.parserOptions.supportsComments)return this.parseWithComments(U);return this.parseWithoutComments(U)}parseWithoutComments($){let I=[],U=!0;while(U)U=this.parseRow($,I);return{line:$.line,rows:I}}parseWithComments($){let{parserOptions:I}=this,U=[];for(let Y=$.nextCharacterToken;Y!==null;Y=$.nextCharacterToken)if(js0.Token.isTokenComment(Y,I)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:U};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:U};$.truncateToCursor()}else if(!this.parseRow($,U))break;return{line:$.line,rows:U}}parseRow($,I){if(!$.nextNonSpaceToken)return!1;let Y=this.rowParser.parse($);if(Y===null)return!1;if(this.parserOptions.ignoreEmpty&&c70.RowParser.isEmptyRow(Y))return!0;return I.push(Y),!0}}d70.Parser=Dj});var o70=O((A5)=>{Object.defineProperty(A5,"__esModule",{value:!0});A5.QuotedColumnParser=A5.NonQuotedColumnParser=A5.ColumnParser=A5.Token=A5.Scanner=A5.RowParser=A5.Parser=void 0;var _s0=l70();Object.defineProperty(A5,"Parser",{enumerable:!0,get:function(){return _s0.Parser}});var Ss0=Lj();Object.defineProperty(A5,"RowParser",{enumerable:!0,get:function(){return Ss0.RowParser}});var gs0=Vj();Object.defineProperty(A5,"Scanner",{enumerable:!0,get:function(){return gs0.Scanner}});var ys0=i9();Object.defineProperty(A5,"Token",{enumerable:!0,get:function(){return ys0.Token}});var Oj=Xj();Object.defineProperty(A5,"ColumnParser",{enumerable:!0,get:function(){return Oj.ColumnParser}});Object.defineProperty(A5,"NonQuotedColumnParser",{enumerable:!0,get:function(){return Oj.NonQuotedColumnParser}});Object.defineProperty(A5,"QuotedColumnParser",{enumerable:!0,get:function(){return Oj.QuotedColumnParser}})});var Nj=O((t70)=>{Object.defineProperty(t70,"__esModule",{value:!0});t70.CsvParserStream=void 0;var xs0=r("string_decoder"),ks0=r("stream"),r70=N70(),us0=o70();class MX extends ks0.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 us0.Parser($),this.headerTransformer=new r70.HeaderTransformer($),this.decoder=new xs0.StringDecoder($.encoding),this.rowTransformerValidator=new r70.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($,...I){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...I)}_transform($,I,U){if(this.hasHitRowLimit)return U();let Y=MX.wrapDoneCallback(U);try{let{lines:J}=this,Q=J+this.decoder.write($),K=this.parse(Q,!0);return this.processRows(K,Y)}catch(J){return Y(J)}}_flush($){let I=MX.wrapDoneCallback($);if(this.hasHitRowLimit)return I();try{let U=this.lines+this.decoder.end(),Y=this.parse(U,!1);return this.processRows(Y,I)}catch(U){return I(U)}}parse($,I){if(!$)return[];let{line:U,rows:Y}=this.parser.parse($,I);return this.lines=U,Y}processRows($,I){let U=$.length,Y=(J)=>{let Q=(G)=>{if(G)return I(G);if(J%100===0){setImmediate(()=>Y(J+1));return}return Y(J+1)};if(this.checkAndEmitHeaders(),J>=U||this.hasHitRowLimit)return I();if(this.parsedLineCount+=1,this.shouldSkipLine)return Q();let K=$[J];this.rowCount+=1,this.parsedRowCount+=1;let q=this.rowCount;return this.transformRow(K,(G,H)=>{if(G)return this.rowCount-=1,Q(G);if(!H)return Q(Error("expected transform result"));if(!H.isValid)this.emit("data-invalid",H.row,q,H.reason);else if(H.row)return this.pushRow(H.row,Q);return Q()})};Y(0)}transformRow($,I){try{this.headerTransformer.transform($,(U,Y)=>{if(U)return I(U);if(!Y)return I(Error("Expected result from header transform"));if(!Y.isValid){if(this.shouldEmitRows)return I(null,{isValid:!1,row:$});return this.skipRow(I)}if(Y.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(Y.row,I);return this.skipRow(I)}return this.rowCount-=1,this.parsedRowCount-=1,I(null,{row:null,isValid:!0})})}catch(U){I(U)}}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($,I){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);I()}catch(U){I(U)}}static wrapDoneCallback($){let I=!1;return(U,...Y)=>{if(U){if(I)throw U;I=!0,$(U);return}$(...Y)}}}t70.CsvParserStream=MX});var e70=O((W4)=>{var s70=W4&&W4.__createBinding||(Object.create?function($,I,U,Y){if(Y===void 0)Y=U;Object.defineProperty($,Y,{enumerable:!0,get:function(){return I[U]}})}:function($,I,U,Y){if(Y===void 0)Y=U;$[Y]=I[U]}),fs0=W4&&W4.__setModuleDefault||(Object.create?function($,I){Object.defineProperty($,"default",{enumerable:!0,value:I})}:function($,I){$.default=I}),bs0=W4&&W4.__importStar||function($){if($&&$.__esModule)return $;var I={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))s70(I,$,U)}return fs0(I,$),I},is0=W4&&W4.__exportStar||function($,I){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(I,U))s70(I,$,U)};Object.defineProperty(W4,"__esModule",{value:!0});W4.parseString=W4.parseFile=W4.parseStream=W4.parse=W4.ParserOptions=W4.CsvParserStream=void 0;var ns0=bs0(r("fs")),ps0=r("stream"),AX=nC(),PX=Nj();is0(pC(),W4);var cs0=Nj();Object.defineProperty(W4,"CsvParserStream",{enumerable:!0,get:function(){return cs0.CsvParserStream}});var ds0=nC();Object.defineProperty(W4,"ParserOptions",{enumerable:!0,get:function(){return ds0.ParserOptions}});W4.parse=($)=>new PX.CsvParserStream(new AX.ParserOptions($));W4.parseStream=($,I)=>$.pipe(new PX.CsvParserStream(new AX.ParserOptions(I)));W4.parseFile=($,I={})=>ns0.createReadStream($).pipe(new PX.CsvParserStream(new AX.ParserOptions(I)));W4.parseString=($,I)=>{let U=new ps0.Readable;return U.push($),U.push(null),U.pipe(new PX.CsvParserStream(new AX.ParserOptions(I)))}});var $30=O((O6)=>{Object.defineProperty(O6,"__esModule",{value:!0});O6.CsvParserStream=O6.ParserOptions=O6.parseFile=O6.parseStream=O6.parseString=O6.parse=O6.FormatterOptions=O6.CsvFormatterStream=O6.writeToPath=O6.writeToString=O6.writeToBuffer=O6.writeToStream=O6.write=O6.format=void 0;var n9=F90();Object.defineProperty(O6,"format",{enumerable:!0,get:function(){return n9.format}});Object.defineProperty(O6,"write",{enumerable:!0,get:function(){return n9.write}});Object.defineProperty(O6,"writeToStream",{enumerable:!0,get:function(){return n9.writeToStream}});Object.defineProperty(O6,"writeToBuffer",{enumerable:!0,get:function(){return n9.writeToBuffer}});Object.defineProperty(O6,"writeToString",{enumerable:!0,get:function(){return n9.writeToString}});Object.defineProperty(O6,"writeToPath",{enumerable:!0,get:function(){return n9.writeToPath}});Object.defineProperty(O6,"CsvFormatterStream",{enumerable:!0,get:function(){return n9.CsvFormatterStream}});Object.defineProperty(O6,"FormatterOptions",{enumerable:!0,get:function(){return n9.FormatterOptions}});var TY=e70();Object.defineProperty(O6,"parse",{enumerable:!0,get:function(){return TY.parse}});Object.defineProperty(O6,"parseString",{enumerable:!0,get:function(){return TY.parseString}});Object.defineProperty(O6,"parseStream",{enumerable:!0,get:function(){return TY.parseStream}});Object.defineProperty(O6,"parseFile",{enumerable:!0,get:function(){return TY.parseFile}});Object.defineProperty(O6,"ParserOptions",{enumerable:!0,get:function(){return TY.ParserOptions}});Object.defineProperty(O6,"CsvParserStream",{enumerable:!0,get:function(){return TY.CsvParserStream}})});var I30=O((Fj,Mj)=>{(function($,I){typeof Fj=="object"&&typeof Mj<"u"?Mj.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=I()})(Fj,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"},I=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,U=/\d/,Y=/\d\d/,J=/\d\d?/,Q=/\d*[^-_:/,()\s\d]+/,K={},q=function(w){return(w=+w)+(w>68?1900:2000)},G=function(w){return function(L){this[w]=+L}},H=[/[+-]\d\d:?(\d\d)?|Z/,function(w){(this.zone||(this.zone={})).offset=function(L){if(!L)return 0;if(L==="Z")return 0;var D=L.match(/([+-]|\d\d)/g),N=60*D[1]+(+D[2]||0);return N===0?0:D[0]==="+"?-N:N}(w)}],W=function(w){var L=K[w];return L&&(L.indexOf?L:L.s.concat(L.f))},V=function(w,L){var D,N=K.meridiem;if(N){for(var E=1;E<=24;E+=1)if(w.indexOf(N(E,0,L))>-1){D=E>12;break}}else D=w===(L?"pm":"PM");return D},z={A:[Q,function(w){this.afternoon=V(w,!1)}],a:[Q,function(w){this.afternoon=V(w,!0)}],Q:[U,function(w){this.month=3*(w-1)+1}],S:[U,function(w){this.milliseconds=100*+w}],SS:[Y,function(w){this.milliseconds=10*+w}],SSS:[/\d{3}/,function(w){this.milliseconds=+w}],s:[J,G("seconds")],ss:[J,G("seconds")],m:[J,G("minutes")],mm:[J,G("minutes")],H:[J,G("hours")],h:[J,G("hours")],HH:[J,G("hours")],hh:[J,G("hours")],D:[J,G("day")],DD:[Y,G("day")],Do:[Q,function(w){var L=K.ordinal,D=w.match(/\d+/);if(this.day=D[0],L)for(var N=1;N<=31;N+=1)L(N).replace(/\[|\]/g,"")===w&&(this.day=N)}],w:[J,G("week")],ww:[Y,G("week")],M:[J,G("month")],MM:[Y,G("month")],MMM:[Q,function(w){var L=W("months"),D=(W("monthsShort")||L.map(function(N){return N.slice(0,3)})).indexOf(w)+1;if(D<1)throw Error();this.month=D%12||D}],MMMM:[Q,function(w){var L=W("months").indexOf(w)+1;if(L<1)throw Error();this.month=L%12||L}],Y:[/[+-]?\d+/,G("year")],YY:[Y,function(w){this.year=q(w)}],YYYY:[/\d{4}/,G("year")],Z:H,ZZ:H};function Z(w){var L,D;L=w,D=K&&K.formats;for(var N=(w=L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,C,p){var n=p&&p.toUpperCase();return C||D[p]||$[p]||D[n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,f,i){return f||i.slice(1)})})).match(I),E=N.length,T=0;T<E;T+=1){var A=N[T],v=z[A],u=v&&v[0],g=v&&v[1];N[T]=g?{regex:u,parser:g}:A.replace(/^\[|\]$/g,"")}return function(b){for(var C={},p=0,n=0;p<E;p+=1){var S=N[p];if(typeof S=="string")n+=S.length;else{var{regex:f,parser:i}=S,Y0=b.slice(n),B=f.exec(Y0)[0];i.call(C,B),b=b.replace(B,"")}}return function(k){var d=k.afternoon;if(d!==void 0){var t=k.hours;d?t<12&&(k.hours+=12):t===12&&(k.hours=0),delete k.afternoon}}(C),C}}return function(w,L,D){D.p.customParseFormat=!0,w&&w.parseTwoDigitYear&&(q=w.parseTwoDigitYear);var N=L.prototype,E=N.parse;N.parse=function(T){var{date:A,utc:v,args:u}=T;this.$u=v;var g=u[1];if(typeof g=="string"){var b=u[2]===!0,C=u[3]===!0,p=b||C,n=u[2];C&&(n=u[2]),K=this.$locale(),!b&&n&&(K=D.Ls[n]),this.$d=function(Y0,B,k,d){try{if(["x","X"].indexOf(B)>-1)return new Date((B==="X"?1000:1)*Y0);var t=Z(B)(Y0),K0=t.year,W0=t.month,M0=t.day,B0=t.hours,w1=t.minutes,f0=t.seconds,G1=t.milliseconds,O0=t.zone,g0=t.week,d0=new Date,Q4=M0||(K0||W0?1:d0.getDate()),j4=K0||d0.getFullYear(),W$=0;K0&&!W0||(W$=W0>0?W0-1:d0.getMonth());var x$,c8=B0||0,k$=w1||0,V$=f0||0,d8=G1||0;return O0?new Date(Date.UTC(j4,W$,Q4,c8,k$,V$,d8+60*O0.offset*1000)):k?new Date(Date.UTC(j4,W$,Q4,c8,k$,V$,d8)):(x$=new Date(j4,W$,Q4,c8,k$,V$,d8),g0&&(x$=d(x$).week(g0).toDate()),x$)}catch(a6){return new Date("")}}(A,g,v,D),this.init(),n&&n!==!0&&(this.$L=this.locale(n).$L),p&&A!=this.format(g)&&(this.$d=new Date("")),K={}}else if(g instanceof Array)for(var S=g.length,f=1;f<=S;f+=1){u[1]=g[f-1];var i=D.apply(this,u);if(i.isValid()){this.$d=i.$d,this.$L=i.$L,this.init();break}f===S&&(this.$d=new Date(""))}else E.call(this,T)}}})});var U30=O((Aj,Pj)=>{(function($,I){typeof Aj=="object"&&typeof Pj<"u"?Pj.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=I()})(Aj,function(){var $="minute",I=/[+-]\d\d(?::?\d\d)?/g,U=/([+-]|\d\d)/g;return function(Y,J,Q){var K=J.prototype;Q.utc=function(Z){var w={date:Z,utc:!0,args:arguments};return new J(w)},K.utc=function(Z){var w=Q(this.toDate(),{locale:this.$L,utc:!0});return Z?w.add(this.utcOffset(),$):w},K.local=function(){return Q(this.toDate(),{locale:this.$L,utc:!1})};var q=K.parse;K.parse=function(Z){Z.utc&&(this.$u=!0),this.$utils().u(Z.$offset)||(this.$offset=Z.$offset),q.call(this,Z)};var G=K.init;K.init=function(){if(this.$u){var Z=this.$d;this.$y=Z.getUTCFullYear(),this.$M=Z.getUTCMonth(),this.$D=Z.getUTCDate(),this.$W=Z.getUTCDay(),this.$H=Z.getUTCHours(),this.$m=Z.getUTCMinutes(),this.$s=Z.getUTCSeconds(),this.$ms=Z.getUTCMilliseconds()}else G.call(this)};var H=K.utcOffset;K.utcOffset=function(Z,w){var L=this.$utils().u;if(L(Z))return this.$u?0:L(this.$offset)?H.call(this):this.$offset;if(typeof Z=="string"&&(Z=function(T){T===void 0&&(T="");var A=T.match(I);if(!A)return null;var v=(""+A[0]).match(U)||["-",0,0],u=v[0],g=60*+v[1]+ +v[2];return g===0?0:u==="+"?g:-g}(Z),Z===null))return this;var D=Math.abs(Z)<=16?60*Z:Z;if(D===0)return this.utc(w);var N=this.clone();if(w)return N.$offset=D,N.$u=!1,N;var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(D+E,$)).$offset=D,N.$x.$localOffset=E,N};var W=K.format;K.format=function(Z){var w=Z||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return W.call(this,w)},K.valueOf=function(){var Z=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*Z},K.isUTC=function(){return!!this.$u},K.toISOString=function(){return this.toDate().toISOString()},K.toString=function(){return this.toDate().toUTCString()};var V=K.toDate;K.toDate=function(Z){return Z==="s"&&this.$offset?Q(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():V.call(this)};var z=K.diff;K.diff=function(Z,w,L){if(Z&&this.$u===Z.$u)return z.call(this,Z,w,L);var D=this.local(),N=Q(Z).local();return z.call(D,N,w,L)}}})});var Y30=O((Tj,Ej)=>{(function($,I){typeof Tj=="object"&&typeof Ej<"u"?Ej.exports=I():typeof define=="function"&&define.amd?define(I):($=typeof globalThis<"u"?globalThis:$||self).dayjs=I()})(Tj,function(){var $=1000,I=60000,U=3600000,Y="millisecond",J="second",Q="minute",K="hour",q="day",G="week",H="month",W="quarter",V="year",z="date",Z="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,L=/\[([^\]]+)]|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,D={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(S){var f=["th","st","nd","rd"],i=S%100;return"["+S+(f[(i-20)%10]||f[i]||f[0])+"]"}},N=function(S,f,i){var Y0=String(S);return!Y0||Y0.length>=f?S:""+Array(f+1-Y0.length).join(i)+S},E={s:N,z:function(S){var f=-S.utcOffset(),i=Math.abs(f),Y0=Math.floor(i/60),B=i%60;return(f<=0?"+":"-")+N(Y0,2,"0")+":"+N(B,2,"0")},m:function S(f,i){if(f.date()<i.date())return-S(i,f);var Y0=12*(i.year()-f.year())+(i.month()-f.month()),B=f.clone().add(Y0,H),k=i-B<0,d=f.clone().add(Y0+(k?-1:1),H);return+(-(Y0+(i-B)/(k?B-d:d-B))||0)},a:function(S){return S<0?Math.ceil(S)||0:Math.floor(S)},p:function(S){return{M:H,y:V,w:G,d:q,D:z,h:K,m:Q,s:J,ms:Y,Q:W}[S]||String(S||"").toLowerCase().replace(/s$/,"")},u:function(S){return S===void 0}},T="en",A={};A[T]=D;var v="$isDayjsObject",u=function(S){return S instanceof p||!(!S||!S[v])},g=function S(f,i,Y0){var B;if(!f)return T;if(typeof f=="string"){var k=f.toLowerCase();A[k]&&(B=k),i&&(A[k]=i,B=k);var d=f.split("-");if(!B&&d.length>1)return S(d[0])}else{var t=f.name;A[t]=f,B=t}return!Y0&&B&&(T=B),B||!Y0&&T},b=function(S,f){if(u(S))return S.clone();var i=typeof f=="object"?f:{};return i.date=S,i.args=arguments,new p(i)},C=E;C.l=g,C.i=u,C.w=function(S,f){return b(S,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var p=function(){function S(i){this.$L=g(i.locale,null,!0),this.parse(i),this.$x=this.$x||i.x||{},this[v]=!0}var f=S.prototype;return f.parse=function(i){this.$d=function(Y0){var{date:B,utc:k}=Y0;if(B===null)return new Date(NaN);if(C.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var d=B.match(w);if(d){var t=d[2]-1||0,K0=(d[7]||"0").substring(0,3);return k?new Date(Date.UTC(d[1],t,d[3]||1,d[4]||0,d[5]||0,d[6]||0,K0)):new Date(d[1],t,d[3]||1,d[4]||0,d[5]||0,d[6]||0,K0)}}return new Date(B)}(i),this.init()},f.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()},f.$utils=function(){return C},f.isValid=function(){return this.$d.toString()!==Z},f.isSame=function(i,Y0){var B=b(i);return this.startOf(Y0)<=B&&B<=this.endOf(Y0)},f.isAfter=function(i,Y0){return b(i)<this.startOf(Y0)},f.isBefore=function(i,Y0){return this.endOf(Y0)<b(i)},f.$g=function(i,Y0,B){return C.u(i)?this[Y0]:this.set(B,i)},f.unix=function(){return Math.floor(this.valueOf()/1000)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(i,Y0){var B=this,k=!!C.u(Y0)||Y0,d=C.p(i),t=function(O0,g0){var d0=C.w(B.$u?Date.UTC(B.$y,g0,O0):new Date(B.$y,g0,O0),B);return k?d0:d0.endOf(q)},K0=function(O0,g0){return C.w(B.toDate()[O0].apply(B.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(g0)),B)},W0=this.$W,M0=this.$M,B0=this.$D,w1="set"+(this.$u?"UTC":"");switch(d){case V:return k?t(1,0):t(31,11);case H:return k?t(1,M0):t(0,M0+1);case G:var f0=this.$locale().weekStart||0,G1=(W0<f0?W0+7:W0)-f0;return t(k?B0-G1:B0+(6-G1),M0);case q:case z:return K0(w1+"Hours",0);case K:return K0(w1+"Minutes",1);case Q:return K0(w1+"Seconds",2);case J:return K0(w1+"Milliseconds",3);default:return this.clone()}},f.endOf=function(i){return this.startOf(i,!1)},f.$set=function(i,Y0){var B,k=C.p(i),d="set"+(this.$u?"UTC":""),t=(B={},B[q]=d+"Date",B[z]=d+"Date",B[H]=d+"Month",B[V]=d+"FullYear",B[K]=d+"Hours",B[Q]=d+"Minutes",B[J]=d+"Seconds",B[Y]=d+"Milliseconds",B)[k],K0=k===q?this.$D+(Y0-this.$W):Y0;if(k===H||k===V){var W0=this.clone().set(z,1);W0.$d[t](K0),W0.init(),this.$d=W0.set(z,Math.min(this.$D,W0.daysInMonth())).$d}else t&&this.$d[t](K0);return this.init(),this},f.set=function(i,Y0){return this.clone().$set(i,Y0)},f.get=function(i){return this[C.p(i)]()},f.add=function(i,Y0){var B,k=this;i=Number(i);var d=C.p(Y0),t=function(M0){var B0=b(k);return C.w(B0.date(B0.date()+Math.round(M0*i)),k)};if(d===H)return this.set(H,this.$M+i);if(d===V)return this.set(V,this.$y+i);if(d===q)return t(1);if(d===G)return t(7);var K0=(B={},B[Q]=I,B[K]=U,B[J]=$,B)[d]||1,W0=this.$d.getTime()+i*K0;return C.w(W0,this)},f.subtract=function(i,Y0){return this.add(-1*i,Y0)},f.format=function(i){var Y0=this,B=this.$locale();if(!this.isValid())return B.invalidDate||Z;var k=i||"YYYY-MM-DDTHH:mm:ssZ",d=C.z(this),t=this.$H,K0=this.$m,W0=this.$M,M0=B.weekdays,B0=B.months,w1=B.meridiem,f0=function(g0,d0,Q4,j4){return g0&&(g0[d0]||g0(Y0,k))||Q4[d0].slice(0,j4)},G1=function(g0){return C.s(t%12||12,g0,"0")},O0=w1||function(g0,d0,Q4){var j4=g0<12?"AM":"PM";return Q4?j4.toLowerCase():j4};return k.replace(L,function(g0,d0){return d0||function(Q4){switch(Q4){case"YY":return String(Y0.$y).slice(-2);case"YYYY":return C.s(Y0.$y,4,"0");case"M":return W0+1;case"MM":return C.s(W0+1,2,"0");case"MMM":return f0(B.monthsShort,W0,B0,3);case"MMMM":return f0(B0,W0);case"D":return Y0.$D;case"DD":return C.s(Y0.$D,2,"0");case"d":return String(Y0.$W);case"dd":return f0(B.weekdaysMin,Y0.$W,M0,2);case"ddd":return f0(B.weekdaysShort,Y0.$W,M0,3);case"dddd":return M0[Y0.$W];case"H":return String(t);case"HH":return C.s(t,2,"0");case"h":return G1(1);case"hh":return G1(2);case"a":return O0(t,K0,!0);case"A":return O0(t,K0,!1);case"m":return String(K0);case"mm":return C.s(K0,2,"0");case"s":return String(Y0.$s);case"ss":return C.s(Y0.$s,2,"0");case"SSS":return C.s(Y0.$ms,3,"0");case"Z":return d}return null}(g0)||d.replace(":","")})},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(i,Y0,B){var k,d=this,t=C.p(Y0),K0=b(i),W0=(K0.utcOffset()-this.utcOffset())*I,M0=this-K0,B0=function(){return C.m(d,K0)};switch(t){case V:k=B0()/12;break;case H:k=B0();break;case W:k=B0()/3;break;case G:k=(M0-W0)/604800000;break;case q:k=(M0-W0)/86400000;break;case K:k=M0/U;break;case Q:k=M0/I;break;case J:k=M0/$;break;default:k=M0}return B?k:C.a(k)},f.daysInMonth=function(){return this.endOf(H).$D},f.$locale=function(){return A[this.$L]},f.locale=function(i,Y0){if(!i)return this.$L;var B=this.clone(),k=g(i,Y0,!0);return k&&(B.$L=k),B},f.clone=function(){return C.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},S}(),n=p.prototype;return b.prototype=n,[["$ms",Y],["$s",J],["$m",Q],["$H",K],["$W",q],["$M",H],["$y",V],["$D",z]].forEach(function(S){n[S[1]]=function(f){return this.$g(f,S[0],S[1])}}),b.extend=function(S,f){return S.$i||(S(f,p,b),S.$i=!0),b},b.locale=g,b.isDayjs=u,b.unix=function(S){return b(1000*S)},b.en=A[T],b.Ls=A,b.p={},b})});var G30=O((lE1,q30)=>{var J30=r("fs"),Q30=$30(),ls0=I30(),os0=U30(),EK=Y30().extend(ls0).extend(os0),rs0=qK(),{fs:{exists:ts0}}=L6(),as0={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 K30{constructor($){this.workbook=$,this.worksheet=null}async readFile($,I){if(I=I||{},!await ts0($))throw Error(`File not found: ${$}`);let U=J30.createReadStream($),Y=await this.read(U,I);return U.close(),Y}read($,I){return I=I||{},new Promise((U,Y)=>{let J=this.workbook.addWorksheet(I.sheetName),Q=I.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],K=I.map||function(G){if(G==="")return null;let H=Number(G);if(!Number.isNaN(H)&&H!==1/0)return H;let W=Q.reduce((z,Z)=>{if(z)return z;let w=EK(G,Z,!0);if(w.isValid())return w;return null},null);if(W)return new Date(W.valueOf());let V=as0[G];if(V!==void 0)return V;return G},q=Q30.parse(I.parserOptions).on("data",(G)=>{J.addRow(G.map(K))}).on("end",()=>{q.emit("worksheet",J)});q.on("worksheet",U).on("error",Y),$.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($,I){return new Promise((U,Y)=>{I=I||{};let J=this.workbook.getWorksheet(I.sheetName||I.sheetId),Q=Q30.format(I.formatterOptions);$.on("finish",()=>{U()}),Q.on("error",Y),Q.pipe($);let{dateFormat:K,dateUTC:q}=I,G=I.map||((V)=>{if(V){if(V.text||V.hyperlink)return V.hyperlink||V.text||"";if(V.formula||V.result)return V.result||"";if(V instanceof Date){if(K)return q?EK.utc(V).format(K):EK(V).format(K);return q?EK.utc(V).format():EK(V).format()}if(V.error)return V.error;if(typeof V==="object")return JSON.stringify(V)}return V}),H=I.includeEmptyRows===void 0||I.includeEmptyRows,W=1;if(J)J.eachRow((V,z)=>{if(H)while(W++<z-1)Q.write([]);let{values:Z}=V;Z.shift(),Q.write(Z.map(G)),W=z});Q.end()})}writeFile($,I){I=I||{};let U={encoding:I.encoding||"utf8"},Y=J30.createWriteStream($,U);return this.write(Y,I)}async writeBuffer($){let I=new rs0;return await this.write(I,$),I.read()}}q30.exports=K30});var Z30=O((oE1,V30)=>{var H30=wl(),ss0=SE(),es0=PC(),$e0=G30();class W30{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 ss0}get xlsx(){if(!this._xlsx)this._xlsx=new es0(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new $e0(this);return this._csv}get nextId(){for(let $=1;$<this._worksheets.length;$++)if(!this._worksheets[$])return $;return this._worksheets.length||1}addWorksheet($,I){let U=this.nextId;if(I){if(typeof I==="string")console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),I={properties:{tabColor:{argb:I}}};else if(I.argb||I.theme||I.indexed)console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),I={properties:{tabColor:I}}}let Y=this._worksheets.reduce((K,q)=>(q&&q.orderNo)>K?q.orderNo:K,0),J=Object.assign({},I,{id:U,name:$,orderNo:Y+1,workbook:this}),Q=new H30(J);return this._worksheets[U]=Q,Q}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let I=this.getWorksheet($);if(I)I.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((I)=>I&&I.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,I)=>$.orderNo-I.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((I)=>{$(I,I.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let I=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),I}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((I)=>{let{id:U,name:Y,state:J}=I,Q=$.sheets&&$.sheets.findIndex((q)=>q.id===U),K=this._worksheets[U]=new H30({id:U,name:Y,orderNo:Q,state:J,workbook:this});K.model=I}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}V30.exports=W30});var w30=O((rE1,X30)=>{var Ie0=PC();class z30{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new Ie0(this);return this._xlsx}}X30.exports=z30});var D30=O((tE1,L30)=>{var Ue0=typeof process==="object"&&process&&process.platform==="win32";L30.exports=Ue0?{sep:"\\"}:{sep:"/"}});var Bj=O((aE1,M30)=>{M30.exports=N30;function N30($,I,U){if($ instanceof RegExp)$=O30($,U);if(I instanceof RegExp)I=O30(I,U);var Y=F30($,I,U);return Y&&{start:Y[0],end:Y[1],pre:U.slice(0,Y[0]),body:U.slice(Y[0]+$.length,Y[1]),post:U.slice(Y[1]+I.length)}}function O30($,I){var U=I.match($);return U?U[0]:null}N30.range=F30;function F30($,I,U){var Y,J,Q,K,q,G=U.indexOf($),H=U.indexOf(I,G+1),W=G;if(G>=0&&H>0){if($===I)return[G,H];Y=[],Q=U.length;while(W>=0&&!q){if(W==G)Y.push(W),G=U.indexOf($,W+1);else if(Y.length==1)q=[Y.pop(),H];else{if(J=Y.pop(),J<Q)Q=J,K=H;H=U.indexOf(I,W+1)}W=G<H&&G>=0?G:H}if(Y.length)q=[Q,K]}return q}});var C30=O((sE1,v30)=>{var A30=Bj();v30.exports=qe0;var P30="\x00SLASH"+Math.random()+"\x00",T30="\x00OPEN"+Math.random()+"\x00",Cj="\x00CLOSE"+Math.random()+"\x00",E30="\x00COMMA"+Math.random()+"\x00",B30="\x00PERIOD"+Math.random()+"\x00",Ye0=1e5,Je0=4000000;function Rj($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function Qe0($){return $.split("\\\\").join(P30).split("\\{").join(T30).split("\\}").join(Cj).split("\\,").join(E30).split("\\.").join(B30)}function Ke0($){return $.split(P30).join("\\").split(T30).join("{").split(Cj).join("}").split(E30).join(",").split(B30).join(".")}function R30($){if(!$)return[""];var I=[],U=A30("{","}",$);if(!U)return $.split(",");var{pre:Y,body:J,post:Q}=U,K=Y.split(",");K[K.length-1]+="{"+J+"}";var q=R30(Q);if(Q.length)K[K.length-1]+=q.shift(),K.push.apply(K,q);return I.push.apply(I,K),I}function qe0($,I){if(!$)return[];I=I||{};var U=I.max==null?Ye0:I.max,Y=I.maxLength==null?Je0:I.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return vj(Qe0($),U,Y,!0).map(Ke0)}function Ge0($){return"{"+$+"}"}function He0($){return/^-?0\d/.test($)}function We0($,I){return $<=I}function Ve0($,I){return $>=I}function BK($,I,U,Y,J,Q){var K=[],q=0;for(var G=0;G<$.length;G++)for(var H=0;H<U.length;H++){if(K.length>=Y)return K;var W=$[G]+I+U[H];if(Q&&!W)continue;if(q+W.length>J)return K;K.push(W),q+=W.length}return K}function Ze0($,I,U,Y){var J=$.split(/\.\./),Q=[];if(J[0]===void 0||J[1]===void 0)return Q;var K=Rj(J[0]),q=Rj(J[1]),G=Math.max(J[0].length,J[1].length),H=J.length===3&&J[2]!==void 0?Math.max(Math.abs(Rj(J[2])),1):1,W=We0,V=q<K;if(V)H*=-1,W=Ve0;var z=J.some(He0),Z=0;for(var w=K;W(w,q)&&Q.length<U;w+=H){var L;if(I){if(L=String.fromCharCode(w),L==="\\")L=""}else if(L=String(w),z){var D=G-L.length;if(D>0){var N=Array(D+1).join("0");if(w<0)L="-"+N+L.slice(1);else L=N+L}}if(Z+L.length>Y)break;Q.push(L),Z+=L.length}return Q}function vj($,I,U,Y){var J=[""],Q=!1,K=!0;for(;;){let A=A30("{","}",$);if(!A)return BK(J,$,[""],I,U,Q);let v=A.pre;if(/\$$/.test(v)){if(J=BK(J,v+"{"+A.body+"}",[""],I,U,Q&&!A.post.length),K=!1,!A.post.length)break;$=A.post;continue}var q=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),H=q||G,W=A.body.indexOf(",")>=0;if(!H&&!W){if(A.post.match(/,(?!,).*\}/)){$=A.pre+"{"+A.body+Cj+A.post,Y=!0;continue}return BK(J,v+"{"+A.body+"}"+A.post,[""],I,U,Q)}if(K)Q=Y&&!H,K=!1;var V;if(H)V=Ze0(A.body,G,I,U);else{var z=R30(A.body);if(z.length===1&&z[0]!==void 0){if(z=vj(z[0],I,U,!1).map(Ge0),z.length===1){if(J=BK(J,v+z[0],[""],I,U,Q&&!A.post.length),!A.post.length)break;$=A.post;continue}}var Z=Q&&!A.post.length&&!v;for(var w=0;Z&&w<J.length;w++)if(J[w])Z=!1;V=[];var L=0;$:for(var D=0;D<z.length;D++){var N=vj(z[D],I,U,!1);for(var E=0;E<N.length;E++){var T=N[E];if(Z&&!T)continue;if(V.length>=I||L+T.length>U)break $;V.push(T),L+=T.length}}}if(J=BK(J,v,V,I,U,Q&&!A.post.length),!A.post.length)break;$=A.post}return J}});var h30=O((eE1,yj)=>{var Q$=yj.exports=($,I,U={})=>{if(TX(I),!U.nocomment&&I.charAt(0)==="#")return!1;return new RK(I,U).match($)};yj.exports=Q$;var Sj=D30();Q$.sep=Sj.sep;var C6=Symbol("globstar **");Q$.GLOBSTAR=C6;var ze0=C30(),j30={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},gj="[^/]",jj=gj+"*?",Xe0="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",we0="(?:(?!(?:\\/|^)\\.).)*?",g30=($)=>$.split("").reduce((I,U)=>{return I[U]=!0,I},{}),_30=g30("().*{}+?[]^$\\!"),Le0=g30("[.("),S30=/\/+/;Q$.filter=($,I={})=>(U,Y,J)=>Q$(U,$,I);var p9=($,I={})=>{let U={};return Object.keys($).forEach((Y)=>U[Y]=$[Y]),Object.keys(I).forEach((Y)=>U[Y]=I[Y]),U};Q$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return Q$;let I=Q$,U=(Y,J,Q)=>I(Y,J,p9($,Q));return U.Minimatch=class extends I.Minimatch{constructor(J,Q){super(J,p9($,Q))}},U.Minimatch.defaults=(Y)=>I.defaults(p9($,Y)).Minimatch,U.filter=(Y,J)=>I.filter(Y,p9($,J)),U.defaults=(Y)=>I.defaults(p9($,Y)),U.makeRe=(Y,J)=>I.makeRe(Y,p9($,J)),U.braceExpand=(Y,J)=>I.braceExpand(Y,p9($,J)),U.match=(Y,J,Q)=>I.match(Y,J,p9($,Q)),U};Q$.braceExpand=($,I)=>y30($,I);var y30=($,I={})=>{if(TX($),I.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return ze0($)},De0=65536,TX=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>De0)throw TypeError("pattern is too long")},_j=Symbol("subparse");Q$.makeRe=($,I)=>new RK($,I||{}).makeRe();Q$.match=($,I,U={})=>{let Y=new RK(I,U);if($=$.filter((J)=>Y.match(J)),Y.options.nonull&&!$.length)$.push(I);return $};var Oe0=($)=>$.replace(/\\(.)/g,"$1"),Ne0=($)=>$.replace(/\\([^-\]])/g,"$1"),Fe0=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Me0=($)=>$.replace(/[[\]\\]/g,"\\$&");class RK{constructor($,I){if(TX($),!I)I={};if(this.options=I,this.maxGlobstarRecursion=I.maxGlobstarRecursion!==void 0?I.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!I.windowsPathsNoEscape||I.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!I.partial,this.make()}debug(){}make(){let $=this.pattern,I=this.options;if(!I.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let U=this.globSet=this.braceExpand();if(I.debug)this.debug=(...Y)=>console.error(...Y);this.debug(this.pattern,U),U=this.globParts=U.map((Y)=>Y.split(S30)),this.debug(this.pattern,U),U=U.map((Y,J,Q)=>Y.map(this.parse,this)),this.debug(this.pattern,U),U=U.filter((Y)=>Y.indexOf(!1)===-1),this.debug(this.pattern,U),this.set=U}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,I=!1,U=0;for(let Y=0;Y<$.length&&$.charAt(Y)==="!";Y++)I=!I,U++;if(U)this.pattern=$.slice(U);this.negate=I}matchOne($,I,U){if(I.indexOf(C6)!==-1)return this._matchGlobstar($,I,U,0,0);return this._matchOne($,I,U,0,0)}_matchGlobstar($,I,U,Y,J){let Q=-1;for(let N=J;N<I.length;N++)if(I[N]===C6){Q=N;break}let K=-1;for(let N=I.length-1;N>=0;N--)if(I[N]===C6){K=N;break}let q=I.slice(J,Q),G=U?I.slice(Q+1):I.slice(Q+1,K),H=U?[]:I.slice(K+1);if(q.length){let N=$.slice(Y,Y+q.length);if(!this._matchOne(N,q,U,0,0))return!1;Y+=q.length}let W=0;if(H.length){if(H.length+Y>$.length)return!1;let N=$.length-H.length;if(this._matchOne($,H,U,N,0))W=H.length;else{if($[$.length-1]!==""||Y+H.length===$.length)return!1;if(!this._matchOne($,H,U,N-1,0))return!1;W=H.length+1}}if(!G.length){let N=!!W;for(let E=Y;E<$.length-W;E++){let T=String($[E]);if(N=!0,T==="."||T===".."||!this.options.dot&&T.charAt(0)===".")return!1}return U||N}let V=[[[],0]],z=V[0],Z=0,w=[0];for(let N of G)if(N===C6)w.push(Z),z=[[],0],V.push(z);else z[0].push(N),Z++;let L=V.length-1,D=$.length-W;for(let N of V)N[1]=D-(w[L--]+N[0].length);return!!this._matchGlobStarBodySections($,V,Y,0,U,0,!!W)}_matchGlobStarBodySections($,I,U,Y,J,Q,K){let q=I[Y];if(!q){for(let W=U;W<$.length;W++){K=!0;let V=$[W];if(V==="."||V===".."||!this.options.dot&&V.charAt(0)===".")return!1}return K}let[G,H]=q;while(U<=H){if(this._matchOne($.slice(0,U+G.length),G,J,U,0)&&Q<this.maxGlobstarRecursion){let z=this._matchGlobStarBodySections($,I,U+G.length,Y+1,J,Q+1,K);if(z!==!1)return z}let V=$[U];if(V==="."||V===".."||!this.options.dot&&V.charAt(0)===".")return!1;U++}return J||null}_matchOne($,I,U,Y,J){let Q,K,q,G;for(Q=Y,K=J,q=$.length,G=I.length;Q<q&&K<G;Q++,K++){this.debug("matchOne loop");let H=I[K],W=$[Q];if(this.debug(I,H,W),H===!1||H===C6)return!1;let V;if(typeof H==="string")V=W===H,this.debug("string match",H,W,V);else V=W.match(H),this.debug("pattern match",H,W,V);if(!V)return!1}if(Q===q&&K===G)return!0;else if(Q===q)return U;else if(K===G)return Q===q-1&&$[Q]==="";throw Error("wtf?")}braceExpand(){return y30(this.pattern,this.options)}parse($,I){TX($);let U=this.options;if($==="**")if(!U.noglobstar)return C6;else $="*";if($==="")return"";let Y="",J=!1,Q=!1,K=[],q=[],G,H=!1,W=-1,V=-1,z,Z,w,L=$.charAt(0)===".",D=U.dot||L,N=()=>L?"":D?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=(u)=>u.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",T=()=>{if(G){switch(G){case"*":Y+=jj,J=!0;break;case"?":Y+=gj,J=!0;break;default:Y+="\\"+G;break}this.debug("clearStateChar %j %j",G,Y),G=!1}};for(let u=0,g;u<$.length&&(g=$.charAt(u));u++){if(this.debug("%s\t%s %s %j",$,u,Y,g),Q){if(g==="/")return!1;if(_30[g])Y+="\\";Y+=g,Q=!1;continue}switch(g){case"/":return!1;case"\\":if(H&&$.charAt(u+1)==="-"){Y+=g;continue}T(),Q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,u,Y,g),H){if(this.debug(" in class"),g==="!"&&u===V+1)g="^";Y+=g;continue}if(g==="*"&&G==="*")continue;if(this.debug("call clearStateChar %j",G),T(),G=g,U.noext)T();continue;case"(":{if(H){Y+="(";continue}if(!G){Y+="\\(";continue}let b={type:G,start:u-1,reStart:Y.length,open:j30[G].open,close:j30[G].close};if(this.debug(this.pattern,"\t",b),K.push(b),Y+=b.open,b.start===0&&b.type!=="!")L=!0,Y+=E($.slice(u+1));this.debug("plType %j %j",G,Y),G=!1;continue}case")":{let b=K[K.length-1];if(H||!b){Y+="\\)";continue}if(K.pop(),T(),J=!0,Z=b,Y+=Z.close,Z.type==="!")q.push(Object.assign(Z,{reEnd:Y.length}));continue}case"|":{let b=K[K.length-1];if(H||!b){Y+="\\|";continue}if(T(),Y+="|",b.start===0&&b.type!=="!")L=!0,Y+=E($.slice(u+1));continue}case"[":if(T(),H){Y+="\\"+g;continue}H=!0,V=u,W=Y.length,Y+=g;continue;case"]":if(u===V+1||!H){Y+="\\"+g;continue}z=$.substring(V+1,u);try{RegExp("["+Me0(Ne0(z))+"]"),Y+=g}catch(b){Y=Y.substring(0,W)+"(?:$.)"}J=!0,H=!1;continue;default:if(T(),_30[g]&&!(g==="^"&&H))Y+="\\";Y+=g;break}}if(H)z=$.slice(V+1),w=this.parse(z,_j),Y=Y.substring(0,W)+"\\["+w[0],J=J||w[1];for(Z=K.pop();Z;Z=K.pop()){let u;u=Y.slice(Z.reStart+Z.open.length),this.debug("setting tail",Y,Z),u=u.replace(/((?:\\{2}){0,64})(\\?)\|/g,(b,C,p)=>{if(!p)p="\\";return C+C+p+"|"}),this.debug(`tail=%j
%s`,u,u,Z,Y);let g=Z.type==="*"?jj:Z.type==="?"?gj:"\\"+Z.type;J=!0,Y=Y.slice(0,Z.reStart)+g+"\\("+u}if(T(),Q)Y+="\\\\";let A=Le0[Y.charAt(0)];for(let u=q.length-1;u>-1;u--){let g=q[u],b=Y.slice(0,g.reStart),C=Y.slice(g.reStart,g.reEnd-8),p=Y.slice(g.reEnd),n=Y.slice(g.reEnd-8,g.reEnd)+p,S=b.split(")").length,f=b.split("(").length-S,i=p;for(let B=0;B<f;B++)i=i.replace(/\)[+*?]?/,"");p=i;let Y0=p===""&&I!==_j?"(?:$|\\/)":"";Y=b+C+p+Y0+n}if(Y!==""&&J)Y="(?=.)"+Y;if(A)Y=N()+Y;if(I===_j)return[Y,J];if(U.nocase&&!J)J=$.toUpperCase()!==$.toLowerCase();if(!J)return Oe0($);let v=U.nocase?"i":"";try{return Object.assign(new RegExp("^"+Y+"$",v),{_glob:$,_src:Y})}catch(u){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 I=this.options,U=I.noglobstar?jj:I.dot?Xe0:we0,Y=I.nocase?"i":"",J=$.map((Q)=>{return Q=Q.map((K)=>typeof K==="string"?Fe0(K):K===C6?C6:K._src).reduce((K,q)=>{if(!(K[K.length-1]===C6&&q===C6))K.push(q);return K},[]),Q.forEach((K,q)=>{if(K!==C6||Q[q-1]===C6)return;if(q===0)if(Q.length>1)Q[q+1]="(?:\\/|"+U+"\\/)?"+Q[q+1];else Q[q]=U;else if(q===Q.length-1)Q[q-1]+="(?:\\/|"+U+")?";else Q[q-1]+="(?:\\/|\\/"+U+"\\/)"+Q[q+1],Q[q+1]=C6}),Q.filter((K)=>K!==C6).join("/")}).join("|");if(J="^(?:"+J+")$",this.negate)J="^(?!"+J+").*$";try{this.regexp=new RegExp(J,Y)}catch(Q){this.regexp=!1}return this.regexp}match($,I=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&I)return!0;let U=this.options;if(Sj.sep!=="/")$=$.split(Sj.sep).join("/");$=$.split(S30),this.debug(this.pattern,"split",$);let Y=this.set;this.debug(this.pattern,"set",Y);let J;for(let Q=$.length-1;Q>=0;Q--)if(J=$[Q],J)break;for(let Q=0;Q<Y.length;Q++){let K=Y[Q],q=$;if(U.matchBase&&K.length===1)q=[J];if(this.matchOne(q,K,I)){if(U.flipNegate)return!0;return!this.negate}}if(U.flipNegate)return!1;return this.negate}static defaults($){return Q$.defaults($).Minimatch}}Q$.Minimatch=RK});var b30=O(($B1,f30)=>{f30.exports=u30;var xj=r("fs"),{EventEmitter:Ae0}=r("events"),{Minimatch:hj}=h30(),{resolve:Pe0}=r("path");function Te0($,I){return new Promise((U,Y)=>{xj.readdir($,{withFileTypes:!0},(J,Q)=>{if(J)switch(J.code){case"ENOTDIR":if(I)Y(J);else U([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":U([]);break;case"ELOOP":default:Y(J);break}else U(Q)})})}function x30($,I){return new Promise((U,Y)=>{(I?xj.stat:xj.lstat)($,(Q,K)=>{if(Q)switch(Q.code){case"ENOENT":if(I)U(x30($,!1));else U(null);break;default:U(null);break}else U(K)})})}async function*k30($,I,U,Y,J,Q){let K=await Te0(I+$,Q);for(let q of K){let G=q.name;if(G===void 0)G=q,Y=!0;let H=$+"/"+G,W=H.slice(1),V=I+"/"+W,z=null;if(Y||U)z=await x30(V,U);if(!z&&q.name!==void 0)z=q;if(z===null)z={isDirectory:()=>!1};if(z.isDirectory()){if(!J(W))yield{relative:W,absolute:V,stats:z},yield*k30(H,I,U,Y,J,!1)}else yield{relative:W,absolute:V,stats:z}}}async function*Ee0($,I,U,Y){yield*k30("",$,I,U,Y,!0)}function Be0($){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 kj extends Ae0{constructor($,I,U){super();if(typeof I==="function")U=I,I=null;if(this.options=Be0(I||{}),this.matchers=[],this.options.pattern){let Y=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=Y.map((J)=>new hj(J,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let Y=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=Y.map((J)=>new hj(J,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let Y=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=Y.map((J)=>new hj(J,{dot:!0}))}if(this.iterator=Ee0(Pe0($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,U)this._matches=[],this.on("match",(Y)=>this._matches.push(this.options.absolute?Y.absolute:Y.relative)),this.on("error",(Y)=>U(Y)),this.on("end",()=>U(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((I)=>I.match($))}_fileMatches($,I){let U=$+(I?"/":"");return(this.matchers.length===0||this.matchers.some((Y)=>Y.match(U)))&&!this.ignoreMatchers.some((Y)=>Y.match(U))&&(!this.options.nodir||!I)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let I=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,I)){let U=$.value.relative,Y=$.value.absolute;if(this.options.mark&&I)U+="/",Y+="/";if(this.options.stat)this.emit("match",{relative:U,absolute:Y,stat:$.value.stats});else this.emit("match",{relative:U,absolute:Y})}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 u30($,I,U){return new kj($,I,U)}u30.ReaddirGlob=kj});var n30=O((EX,i30)=>{(function($,I){typeof EX==="object"&&typeof i30<"u"?I(EX):typeof define==="function"&&define.amd?define(["exports"],I):($=typeof globalThis<"u"?globalThis:$||self,I($.async={}))})(EX,function($){function I(P,...R){return(...y)=>P(...R,...y)}function U(P){return function(...R){var y=R.pop();return P.call(this,R,y)}}var Y=typeof queueMicrotask==="function"&&queueMicrotask,J=typeof setImmediate==="function"&&setImmediate,Q=typeof process==="object"&&typeof process.nextTick==="function";function K(P){setTimeout(P,0)}function q(P){return(R,...y)=>P(()=>R(...y))}var G;if(Y)G=queueMicrotask;else if(J)G=setImmediate;else if(Q)G=process.nextTick;else G=K;var H=q(G);function W(P){if(Z(P))return function(...R){let y=R.pop(),c=P.apply(this,R);return V(c,y)};return U(function(R,y){var c;try{c=P.apply(this,R)}catch($0){return y($0)}if(c&&typeof c.then==="function")return V(c,y);else y(null,c)})}function V(P,R){return P.then((y)=>{z(R,null,y)},(y)=>{z(R,y&&(y instanceof Error||y.message)?y:Error(y))})}function z(P,R,y){try{P(R,y)}catch(c){H(($0)=>{throw $0},c)}}function Z(P){return P[Symbol.toStringTag]==="AsyncFunction"}function w(P){return P[Symbol.toStringTag]==="AsyncGenerator"}function L(P){return typeof P[Symbol.asyncIterator]==="function"}function D(P){if(typeof P!=="function")throw Error("expected a function");return Z(P)?W(P):P}function N(P,R){if(!R)R=P.length;if(!R)throw Error("arity is undefined");function y(...c){if(typeof c[R-1]==="function")return P.apply(this,c);return new Promise(($0,U0)=>{c[R-1]=(q0,...G0)=>{if(q0)return U0(q0);$0(G0.length>1?G0:G0[0])},P.apply(this,c)})}return y}function E(P){return function(y,...c){return N(function(U0){var q0=this;return P(y,(G0,Z0)=>{D(G0).apply(q0,c.concat(Z0))},U0)})}}function T(P,R,y,c){R=R||[];var $0=[],U0=0,q0=D(y);return P(R,(G0,Z0,C0)=>{var Q1=U0++;q0(G0,(L1,H1)=>{$0[Q1]=H1,C0(L1)})},(G0)=>{c(G0,$0)})}function A(P){return P&&typeof P.length==="number"&&P.length>=0&&P.length%1===0}let v={};function u(P){function R(...y){if(P===null)return;var c=P;P=null,c.apply(this,y)}return Object.assign(R,P),R}function g(P){return P[Symbol.iterator]&&P[Symbol.iterator]()}function b(P){var R=-1,y=P.length;return function(){return++R<y?{value:P[R],key:R}:null}}function C(P){var R=-1;return function(){var c=P.next();if(c.done)return null;return R++,{value:c.value,key:R}}}function p(P){var R=P?Object.keys(P):[],y=-1,c=R.length;return function $0(){var U0=R[++y];if(U0==="__proto__")return $0();return y<c?{value:P[U0],key:U0}:null}}function n(P){if(A(P))return b(P);var R=g(P);return R?C(R):p(P)}function S(P){return function(...R){if(P===null)throw Error("Callback was already called.");var y=P;P=null,y.apply(this,R)}}function f(P,R,y,c){let $0=!1,U0=!1,q0=!1,G0=0,Z0=0;function C0(){if(G0>=R||q0||$0)return;q0=!0,P.next().then(({value:H1,done:Z$})=>{if(U0||$0)return;if(q0=!1,Z$){if($0=!0,G0<=0)c(null);return}G0++,y(H1,Z0,Q1),Z0++,C0()}).catch(L1)}function Q1(H1,Z$){if(G0-=1,U0)return;if(H1)return L1(H1);if(H1===!1){$0=!0,U0=!0;return}if(Z$===v||$0&&G0<=0)return $0=!0,c(null);C0()}function L1(H1){if(U0)return;q0=!1,$0=!0,c(H1)}C0()}var i=(P)=>{return(R,y,c)=>{if(c=u(c),P<=0)throw RangeError("concurrency limit cannot be less than 1");if(!R)return c(null);if(w(R))return f(R,P,y,c);if(L(R))return f(R[Symbol.asyncIterator](),P,y,c);var $0=n(R),U0=!1,q0=!1,G0=0,Z0=!1;function C0(L1,H1){if(q0)return;if(G0-=1,L1)U0=!0,c(L1);else if(L1===!1)U0=!0,q0=!0;else if(H1===v||U0&&G0<=0)return U0=!0,c(null);else if(!Z0)Q1()}function Q1(){Z0=!0;while(G0<P&&!U0){var L1=$0();if(L1===null){if(U0=!0,G0<=0)c(null);return}G0+=1,y(L1.value,L1.key,S(C0))}Z0=!1}Q1()}};function Y0(P,R,y,c){return i(R)(P,D(y),c)}var B=N(Y0,4);function k(P,R,y){y=u(y);var c=0,$0=0,{length:U0}=P,q0=!1;if(U0===0)y(null);function G0(Z0,C0){if(Z0===!1)q0=!0;if(q0===!0)return;if(Z0)y(Z0);else if(++$0===U0||C0===v)y(null)}for(;c<U0;c++)R(P[c],c,S(G0))}function d(P,R,y){return B(P,1/0,R,y)}function t(P,R,y){var c=A(P)?k:d;return c(P,D(R),y)}var K0=N(t,3);function W0(P,R,y){return T(K0,P,R,y)}var M0=N(W0,3),B0=E(M0);function w1(P,R,y){return B(P,1,R,y)}var f0=N(w1,3);function G1(P,R,y){return T(f0,P,R,y)}var O0=N(G1,3),g0=E(O0);let d0=Symbol("promiseCallback");function Q4(){let P,R;function y(c,...$0){if(c)return R(c);P($0.length>1?$0:$0[0])}return y[d0]=new Promise((c,$0)=>{P=c,R=$0}),y}function j4(P,R,y){if(typeof R!=="number")y=R,R=null;y=u(y||Q4());var c=Object.keys(P).length;if(!c)return y(null);if(!R)R=c;var $0={},U0=0,q0=!1,G0=!1,Z0=Object.create(null),C0=[],Q1=[],L1={};Object.keys(P).forEach((R0)=>{var x0=P[R0];if(!Array.isArray(x0)){H1(R0,[x0]),Q1.push(R0);return}var W1=x0.slice(0,x0.length-1),I4=W1.length;if(I4===0){H1(R0,x0),Q1.push(R0);return}L1[R0]=I4,W1.forEach((u4)=>{if(!P[u4])throw Error("async.auto task `"+R0+"` has a non-existent dependency `"+u4+"` in "+W1.join(", "));HI(u4,()=>{if(I4--,I4===0)H1(R0,x0)})})}),D1(),Z$();function H1(R0,x0){C0.push(()=>jJ(R0,x0))}function Z$(){if(q0)return;if(C0.length===0&&U0===0)return y(null,$0);while(C0.length&&U0<R){var R0=C0.shift();R0()}}function HI(R0,x0){var W1=Z0[R0];if(!W1)W1=Z0[R0]=[];W1.push(x0)}function L7(R0){var x0=Z0[R0]||[];x0.forEach((W1)=>W1()),Z$()}function jJ(R0,x0){if(G0)return;var W1=S((u4,...z$)=>{if(U0--,u4===!1){q0=!0;return}if(z$.length<2)[z$]=z$;if(u4){var WI={};if(Object.keys($0).forEach((D7)=>{WI[D7]=$0[D7]}),WI[R0]=z$,G0=!0,Z0=Object.create(null),q0)return;y(u4,WI)}else $0[R0]=z$,L7(R0)});U0++;var I4=D(x0[x0.length-1]);if(x0.length>1)I4($0,W1);else I4(W1)}function D1(){var R0,x0=0;while(Q1.length)R0=Q1.pop(),x0++,h0(R0).forEach((W1)=>{if(--L1[W1]===0)Q1.push(W1)});if(x0!==c)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function h0(R0){var x0=[];return Object.keys(P).forEach((W1)=>{let I4=P[W1];if(Array.isArray(I4)&&I4.indexOf(R0)>=0)x0.push(W1)}),x0}return y[d0]}var W$=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,x$=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,c8=/,/,k$=/(=.+)?(\s*)$/;function V$(P){let R="",y=0,c=P.indexOf("*/");while(y<P.length)if(P[y]==="/"&&P[y+1]==="/"){let $0=P.indexOf(`
`,y);y=$0===-1?P.length:$0}else if(c!==-1&&P[y]==="/"&&P[y+1]==="*"){let $0=P.indexOf("*/",y);if($0!==-1)y=$0+2,c=P.indexOf("*/",y);else R+=P[y],y++}else R+=P[y],y++;return R}function d8(P){let R=V$(P.toString()),y=R.match(W$);if(!y)y=R.match(x$);if(!y)throw Error(`could not parse args in autoInject
Source:
`+R);let[,c]=y;return c.replace(/\s/g,"").split(c8).map(($0)=>$0.replace(k$,"").trim())}function a6(P,R){var y={};return Object.keys(P).forEach((c)=>{var $0=P[c],U0,q0=Z($0),G0=!q0&&$0.length===1||q0&&$0.length===0;if(Array.isArray($0))U0=[...$0],$0=U0.pop(),y[c]=U0.concat(U0.length>0?Z0:$0);else if(G0)y[c]=$0;else{if(U0=d8($0),$0.length===0&&!q0&&U0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!q0)U0.pop();y[c]=U0.concat(Z0)}function Z0(C0,Q1){var L1=U0.map((H1)=>C0[H1]);L1.push(Q1),D($0)(...L1)}}),j4(y,R)}class w7{constructor(){this.head=this.tail=null,this.length=0}removeLink(P){if(P.prev)P.prev.next=P.next;else this.head=P.next;if(P.next)P.next.prev=P.prev;else this.tail=P.prev;return P.prev=P.next=null,this.length-=1,P}empty(){while(this.head)this.shift();return this}insertAfter(P,R){if(R.prev=P,R.next=P.next,P.next)P.next.prev=R;else this.tail=R;P.next=R,this.length+=1}insertBefore(P,R){if(R.prev=P.prev,R.next=P,P.prev)P.prev.next=R;else this.head=R;P.prev=R,this.length+=1}unshift(P){if(this.head)this.insertBefore(this.head,P);else s6(this,P)}push(P){if(this.tail)this.insertAfter(this.tail,P);else s6(this,P)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var P=this.head;while(P)yield P.data,P=P.next}remove(P){var R=this.head;while(R){var{next:y}=R;if(P(R))this.removeLink(R);R=y}return this}}function s6(P,R){P.length=1,P.head=P.tail=R}function p5(P,R,y){if(R==null)R=1;else if(R===0)throw RangeError("Concurrency must not be zero");var c=D(P),$0=0,U0=[];let q0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function G0(h0,R0){q0[h0].push(R0)}function Z0(h0,R0){let x0=(...W1)=>{C0(h0,x0),R0(...W1)};q0[h0].push(x0)}function C0(h0,R0){if(!h0)return Object.keys(q0).forEach((x0)=>q0[x0]=[]);if(!R0)return q0[h0]=[];q0[h0]=q0[h0].filter((x0)=>x0!==R0)}function Q1(h0,...R0){q0[h0].forEach((x0)=>x0(...R0))}var L1=!1;function H1(h0,R0,x0,W1){if(W1!=null&&typeof W1!=="function")throw Error("task callback must be a function");D1.started=!0;var I4,u4;function z$(D7,..._J){if(D7)return x0?u4(D7):I4();if(_J.length<=1)return I4(_J[0]);I4(_J)}var WI=D1._createTaskItem(h0,x0?z$:W1||z$);if(R0)D1._tasks.unshift(WI);else D1._tasks.push(WI);if(!L1)L1=!0,H(()=>{L1=!1,D1.process()});if(x0||!W1)return new Promise((D7,_J)=>{I4=D7,u4=_J})}function Z$(h0){return function(R0,...x0){$0-=1;for(var W1=0,I4=h0.length;W1<I4;W1++){var u4=h0[W1],z$=U0.indexOf(u4);if(z$===0)U0.shift();else if(z$>0)U0.splice(z$,1);if(u4.callback(R0,...x0),R0!=null)Q1("error",R0,u4.data)}if($0<=D1.concurrency-D1.buffer)Q1("unsaturated");if(D1.idle())Q1("drain");D1.process()}}function HI(h0){if(h0.length===0&&D1.idle())return H(()=>Q1("drain")),!0;return!1}let L7=(h0)=>(R0)=>{if(!R0)return new Promise((x0,W1)=>{Z0(h0,(I4,u4)=>{if(I4)return W1(I4);x0(u4)})});C0(h0),G0(h0,R0)};var jJ=!1,D1={_tasks:new w7,_createTaskItem(h0,R0){return{data:h0,callback:R0}},*[Symbol.iterator](){yield*D1._tasks[Symbol.iterator]()},concurrency:R,payload:y,buffer:R/4,started:!1,paused:!1,push(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!1,!1,R0))}return H1(h0,!1,!1,R0)},pushAsync(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!1,!0,R0))}return H1(h0,!1,!0,R0)},kill(){C0(),D1._tasks.empty()},unshift(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!0,!1,R0))}return H1(h0,!0,!1,R0)},unshiftAsync(h0,R0){if(Array.isArray(h0)){if(HI(h0))return;return h0.map((x0)=>H1(x0,!0,!0,R0))}return H1(h0,!0,!0,R0)},remove(h0){D1._tasks.remove(h0)},process(){if(jJ)return;jJ=!0;while(!D1.paused&&$0<D1.concurrency&&D1._tasks.length){var h0=[],R0=[],x0=D1._tasks.length;if(D1.payload)x0=Math.min(x0,D1.payload);for(var W1=0;W1<x0;W1++){var I4=D1._tasks.shift();h0.push(I4),U0.push(I4),R0.push(I4.data)}if($0+=1,D1._tasks.length===0)Q1("empty");if($0===D1.concurrency)Q1("saturated");var u4=S(Z$(h0));c(R0,u4)}jJ=!1},length(){return D1._tasks.length},running(){return $0},workersList(){return U0},idle(){return D1._tasks.length+$0===0},pause(){D1.paused=!0},resume(){if(D1.paused===!1)return;D1.paused=!1,H(D1.process)}};return Object.defineProperties(D1,{saturated:{writable:!1,value:L7("saturated")},unsaturated:{writable:!1,value:L7("unsaturated")},empty:{writable:!1,value:L7("empty")},drain:{writable:!1,value:L7("drain")},error:{writable:!1,value:L7("error")}}),D1}function T0(P,R){return p5(P,1,R)}function a(P,R,y){return p5(P,R,y)}function F(P,R,y,c){c=u(c);var $0=D(y);return f0(P,(U0,q0,G0)=>{$0(R,U0,(Z0,C0)=>{R=C0,G0(Z0)})},(U0)=>c(U0,R))}var M=N(F,4);function j(...P){var R=P.map(D);return function(...y){var c=this,$0=y[y.length-1];if(typeof $0=="function")y.pop();else $0=Q4();return M(R,y,(U0,q0,G0)=>{q0.apply(c,U0.concat((Z0,...C0)=>{G0(Z0,C0)}))},(U0,q0)=>$0(U0,...q0)),$0[d0]}}function x(...P){return j(...P.reverse())}function s(P,R,y,c){return T(i(R),P,y,c)}var m=N(s,4);function e(P,R,y,c){var $0=D(y);return m(P,R,(U0,q0)=>{$0(U0,(G0,...Z0)=>{if(G0)return q0(G0);return q0(G0,Z0)})},(U0,q0)=>{var G0=[];for(var Z0=0;Z0<q0.length;Z0++)if(q0[Z0])G0=G0.concat(...q0[Z0]);return c(U0,G0)})}var J0=N(e,4);function H0(P,R,y){return J0(P,1/0,R,y)}var v0=N(H0,3);function b0(P,R,y){return J0(P,1,R,y)}var k0=N(b0,3);function J1(...P){return function(...R){var y=R.pop();return y(null,...P)}}function K4(P,R){return(y,c,$0,U0)=>{var q0=!1,G0;let Z0=D($0);y(c,(C0,Q1,L1)=>{Z0(C0,(H1,Z$)=>{if(H1||H1===!1)return L1(H1);if(P(Z$)&&!G0)return q0=!0,G0=R(!0,C0),L1(null,v);L1()})},(C0)=>{if(C0)return U0(C0);U0(null,q0?G0:R(!1))})}}function V6(P,R,y){return K4((c)=>c,(c,$0)=>$0)(K0,P,R,y)}var c5=N(V6,3);function EJ(P,R,y,c){return K4(($0)=>$0,($0,U0)=>U0)(i(R),P,y,c)}var DG=N(EJ,4);function CX0(P,R,y){return K4((c)=>c,(c,$0)=>$0)(i(1),P,R,y)}var OG=N(CX0,3);function Px(P){return(R,...y)=>D(R)(...y,(c,...$0)=>{if(typeof console==="object"){if(c){if(console.error)console.error(c)}else if(console[P])$0.forEach((U0)=>console[P](U0))}})}var Tx=Px("dir");function jX0(P,R,y){y=S(y);var c=D(P),$0=D(R),U0;function q0(Z0,...C0){if(Z0)return y(Z0);if(Z0===!1)return;U0=C0,$0(...C0,G0)}function G0(Z0,C0){if(Z0)return y(Z0);if(Z0===!1)return;if(!C0)return y(null,...U0);c(q0)}return G0(null,!0)}var BJ=N(jX0,3);function Ex(P,R,y){let c=D(R);return BJ(P,(...$0)=>{let U0=$0.pop();c(...$0,(q0,G0)=>U0(q0,!G0))},y)}function Bx(P){return(R,y,c)=>P(R,c)}function _X0(P,R,y){return K0(P,Bx(D(R)),y)}var NG=N(_X0,3);function SX0(P,R,y,c){return i(R)(P,Bx(D(y)),c)}var RJ=N(SX0,4);function gX0(P,R,y){return RJ(P,1,R,y)}var vJ=N(gX0,3);function ND(P){if(Z(P))return P;return function(...R){var y=R.pop(),c=!0;R.push((...$0)=>{if(c)H(()=>y(...$0));else y(...$0)}),P.apply(this,R),c=!1}}function yX0(P,R,y){return K4((c)=>!c,(c)=>!c)(K0,P,R,y)}var FG=N(yX0,3);function hX0(P,R,y,c){return K4(($0)=>!$0,($0)=>!$0)(i(R),P,y,c)}var MG=N(hX0,4);function xX0(P,R,y){return K4((c)=>!c,(c)=>!c)(f0,P,R,y)}var AG=N(xX0,3);function kX0(P,R,y,c){var $0=Array(R.length);P(R,(U0,q0,G0)=>{y(U0,(Z0,C0)=>{$0[q0]=!!C0,G0(Z0)})},(U0)=>{if(U0)return c(U0);var q0=[];for(var G0=0;G0<R.length;G0++)if($0[G0])q0.push(R[G0]);c(null,q0)})}function uX0(P,R,y,c){var $0=[];P(R,(U0,q0,G0)=>{y(U0,(Z0,C0)=>{if(Z0)return G0(Z0);if(C0)$0.push({index:q0,value:U0});G0(Z0)})},(U0)=>{if(U0)return c(U0);c(null,$0.sort((q0,G0)=>q0.index-G0.index).map((q0)=>q0.value))})}function PG(P,R,y,c){var $0=A(R)?kX0:uX0;return $0(P,R,D(y),c)}function fX0(P,R,y){return PG(K0,P,R,y)}var TG=N(fX0,3);function bX0(P,R,y,c){return PG(i(R),P,y,c)}var EG=N(bX0,4);function iX0(P,R,y){return PG(f0,P,R,y)}var BG=N(iX0,3);function nX0(P,R){var y=S(R),c=D(ND(P));function $0(U0){if(U0)return y(U0);if(U0===!1)return;c($0)}return $0()}var Rx=N(nX0,2);function pX0(P,R,y,c){var $0=D(y);return m(P,R,(U0,q0)=>{$0(U0,(G0,Z0)=>{if(G0)return q0(G0);return q0(G0,{key:Z0,val:U0})})},(U0,q0)=>{var G0={},{hasOwnProperty:Z0}=Object.prototype;for(var C0=0;C0<q0.length;C0++)if(q0[C0]){var{key:Q1}=q0[C0],{val:L1}=q0[C0];if(Z0.call(G0,Q1))G0[Q1].push(L1);else G0[Q1]=[L1]}return c(U0,G0)})}var RG=N(pX0,4);function vx(P,R,y){return RG(P,1/0,R,y)}function Cx(P,R,y){return RG(P,1,R,y)}var jx=Px("log");function cX0(P,R,y,c){c=u(c);var $0={},U0=D(y);return i(R)(P,(q0,G0,Z0)=>{U0(q0,G0,(C0,Q1)=>{if(C0)return Z0(C0);$0[G0]=Q1,Z0(C0)})},(q0)=>c(q0,$0))}var vG=N(cX0,4);function _x(P,R,y){return vG(P,1/0,R,y)}function Sx(P,R,y){return vG(P,1,R,y)}function gx(P,R=(y)=>y){var y=Object.create(null),c=Object.create(null),$0=D(P),U0=U((q0,G0)=>{var Z0=R(...q0);if(Z0 in y)H(()=>G0(null,...y[Z0]));else if(Z0 in c)c[Z0].push(G0);else c[Z0]=[G0],$0(...q0,(C0,...Q1)=>{if(!C0)y[Z0]=Q1;var L1=c[Z0];delete c[Z0];for(var H1=0,Z$=L1.length;H1<Z$;H1++)L1[H1](C0,...Q1)})});return U0.memo=y,U0.unmemoized=P,U0}var CG;if(Q)CG=process.nextTick;else if(J)CG=setImmediate;else CG=K;var yx=q(CG),FD=N((P,R,y)=>{var c=A(R)?[]:{};P(R,($0,U0,q0)=>{D($0)((G0,...Z0)=>{if(Z0.length<2)[Z0]=Z0;c[U0]=Z0,q0(G0)})},($0)=>y($0,c))},3);function hx(P,R){return FD(K0,P,R)}function xx(P,R,y){return FD(i(R),P,y)}function MD(P,R){var y=D(P);return p5((c,$0)=>{y(c[0],$0)},R,1)}class kx{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(P){let R;while(P>0&&AD(this.heap[P],this.heap[R=ux(P)])){let y=this.heap[P];this.heap[P]=this.heap[R],this.heap[R]=y,P=R}}percDown(P){let R;while((R=dX0(P))<this.heap.length){if(R+1<this.heap.length&&AD(this.heap[R+1],this.heap[R]))R=R+1;if(AD(this.heap[P],this.heap[R]))break;let y=this.heap[P];this.heap[P]=this.heap[R],this.heap[R]=y,P=R}}push(P){P.pushCount=++this.pushCount,this.heap.push(P),this.percUp(this.heap.length-1)}unshift(P){return this.heap.push(P)}shift(){let[P]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),P}toArray(){return[...this]}*[Symbol.iterator](){for(let P=0;P<this.heap.length;P++)yield this.heap[P].data}remove(P){let R=0;for(let y=0;y<this.heap.length;y++)if(!P(this.heap[y]))this.heap[R]=this.heap[y],R++;this.heap.splice(R);for(let y=ux(this.heap.length-1);y>=0;y--)this.percDown(y);return this}}function dX0(P){return(P<<1)+1}function ux(P){return(P+1>>1)-1}function AD(P,R){if(P.priority!==R.priority)return P.priority<R.priority;else return P.pushCount<R.pushCount}function fx(P,R){var y=MD(P,R),{push:c,pushAsync:$0}=y;y._tasks=new kx,y._createTaskItem=({data:q0,priority:G0},Z0)=>{return{data:q0,priority:G0,callback:Z0}};function U0(q0,G0){if(!Array.isArray(q0))return{data:q0,priority:G0};return q0.map((Z0)=>{return{data:Z0,priority:G0}})}return y.push=function(q0,G0=0,Z0){return c(U0(q0,G0),Z0)},y.pushAsync=function(q0,G0=0,Z0){return $0(U0(q0,G0),Z0)},delete y.unshift,delete y.unshiftAsync,y}function mX0(P,R){if(R=u(R),!Array.isArray(P))return R(TypeError("First argument to race must be an array of functions"));if(!P.length)return R();for(var y=0,c=P.length;y<c;y++)D(P[y])(R)}var bx=N(mX0,2);function jG(P,R,y,c){var $0=[...P].reverse();return M($0,R,y,c)}function _G(P){var R=D(P);return U(function(c,$0){return c.push((U0,...q0)=>{let G0={};if(U0)G0.error=U0;if(q0.length>0){var Z0=q0;if(q0.length<=1)[Z0]=q0;G0.value=Z0}$0(null,G0)}),R.apply(this,c)})}function ix(P){var R;if(Array.isArray(P))R=P.map(_G);else R={},Object.keys(P).forEach((y)=>{R[y]=_G.call(this,P[y])});return R}function PD(P,R,y,c){let $0=D(y);return PG(P,R,(U0,q0)=>{$0(U0,(G0,Z0)=>{q0(G0,!Z0)})},c)}function lX0(P,R,y){return PD(K0,P,R,y)}var nx=N(lX0,3);function oX0(P,R,y,c){return PD(i(R),P,y,c)}var px=N(oX0,4);function rX0(P,R,y){return PD(f0,P,R,y)}var cx=N(rX0,3);function dx(P){return function(){return P}}let TD=5,mx=0;function SG(P,R,y){var c={times:TD,intervalFunc:dx(mx)};if(arguments.length<3&&typeof P==="function")y=R||Q4(),R=P;else tX0(c,P),y=y||Q4();if(typeof R!=="function")throw Error("Invalid arguments for async.retry");var $0=D(R),U0=1;function q0(){$0((G0,...Z0)=>{if(G0===!1)return;if(G0&&U0++<c.times&&(typeof c.errorFilter!="function"||c.errorFilter(G0)))setTimeout(q0,c.intervalFunc(U0-1));else y(G0,...Z0)})}return q0(),y[d0]}function tX0(P,R){if(typeof R==="object")P.times=+R.times||TD,P.intervalFunc=typeof R.interval==="function"?R.interval:dx(+R.interval||mx),P.errorFilter=R.errorFilter;else if(typeof R==="number"||typeof R==="string")P.times=+R||TD;else throw Error("Invalid arguments for async.retry")}function lx(P,R){if(!R)R=P,P=null;let y=P&&P.arity||R.length;if(Z(R))y+=1;var c=D(R);return U(($0,U0)=>{if($0.length<y-1||U0==null)$0.push(U0),U0=Q4();function q0(G0){c(...$0,G0)}if(P)SG(P,q0,U0);else SG(q0,U0);return U0[d0]})}function ox(P,R){return FD(f0,P,R)}function aX0(P,R,y){return K4(Boolean,(c)=>c)(K0,P,R,y)}var gG=N(aX0,3);function sX0(P,R,y,c){return K4(Boolean,($0)=>$0)(i(R),P,y,c)}var yG=N(sX0,4);function eX0(P,R,y){return K4(Boolean,(c)=>c)(f0,P,R,y)}var hG=N(eX0,3);function $w0(P,R,y){var c=D(R);return M0(P,(U0,q0)=>{c(U0,(G0,Z0)=>{if(G0)return q0(G0);q0(G0,{value:U0,criteria:Z0})})},(U0,q0)=>{if(U0)return y(U0);y(null,q0.sort($0).map((G0)=>G0.value))});function $0(U0,q0){var G0=U0.criteria,Z0=q0.criteria;return G0<Z0?-1:G0>Z0?1:0}}var rx=N($w0,3);function tx(P,R,y){var c=D(P);return U(($0,U0)=>{var q0=!1,G0;function Z0(){var C0=P.name||"anonymous",Q1=Error('Callback function "'+C0+'" timed out.');if(Q1.code="ETIMEDOUT",y)Q1.info=y;q0=!0,U0(Q1)}$0.push((...C0)=>{if(!q0)U0(...C0),clearTimeout(G0)}),G0=setTimeout(Z0,R),c(...$0)})}function Iw0(P){var R=Array(P);while(P--)R[P]=P;return R}function xG(P,R,y,c){var $0=D(y);return m(Iw0(P),R,$0,c)}function ax(P,R,y){return xG(P,1/0,R,y)}function sx(P,R,y){return xG(P,1,R,y)}function ex(P,R,y,c){if(arguments.length<=3&&typeof R==="function")c=y,y=R,R=Array.isArray(P)?[]:{};c=u(c||Q4());var $0=D(y);return K0(P,(U0,q0,G0)=>{$0(R,U0,q0,G0)},(U0)=>c(U0,R)),c[d0]}function Uw0(P,R){var y=null,c;return vJ(P,($0,U0)=>{D($0)((q0,...G0)=>{if(q0===!1)return U0(q0);if(G0.length<2)[c]=G0;else c=G0;y=q0,U0(q0?null:{})})},()=>R(y,c))}var $k=N(Uw0);function Ik(P){return(...R)=>{return(P.unmemoized||P)(...R)}}function Yw0(P,R,y){y=S(y);var c=D(R),$0=D(P),U0=[];function q0(Z0,...C0){if(Z0)return y(Z0);if(U0=C0,Z0===!1)return;$0(G0)}function G0(Z0,C0){if(Z0)return y(Z0);if(Z0===!1)return;if(!C0)return y(null,...U0);c(q0)}return $0(G0)}var CJ=N(Yw0,3);function Uk(P,R,y){let c=D(P);return CJ(($0)=>c((U0,q0)=>$0(U0,!q0)),R,y)}function Jw0(P,R){if(R=u(R),!Array.isArray(P))return R(Error("First argument to waterfall must be an array of functions"));if(!P.length)return R();var y=0;function c(U0){var q0=D(P[y++]);q0(...U0,S($0))}function $0(U0,...q0){if(U0===!1)return;if(U0||y===P.length)return R(U0,...q0);c(q0)}c([])}var Yk=N(Jw0),Qw0={apply:I,applyEach:B0,applyEachSeries:g0,asyncify:W,auto:j4,autoInject:a6,cargo:T0,cargoQueue:a,compose:x,concat:v0,concatLimit:J0,concatSeries:k0,constant:J1,detect:c5,detectLimit:DG,detectSeries:OG,dir:Tx,doUntil:Ex,doWhilst:BJ,each:NG,eachLimit:RJ,eachOf:K0,eachOfLimit:B,eachOfSeries:f0,eachSeries:vJ,ensureAsync:ND,every:FG,everyLimit:MG,everySeries:AG,filter:TG,filterLimit:EG,filterSeries:BG,forever:Rx,groupBy:vx,groupByLimit:RG,groupBySeries:Cx,log:jx,map:M0,mapLimit:m,mapSeries:O0,mapValues:_x,mapValuesLimit:vG,mapValuesSeries:Sx,memoize:gx,nextTick:yx,parallel:hx,parallelLimit:xx,priorityQueue:fx,queue:MD,race:bx,reduce:M,reduceRight:jG,reflect:_G,reflectAll:ix,reject:nx,rejectLimit:px,rejectSeries:cx,retry:SG,retryable:lx,seq:j,series:ox,setImmediate:H,some:gG,someLimit:yG,someSeries:hG,sortBy:rx,timeout:tx,times:ax,timesLimit:xG,timesSeries:sx,transform:ex,tryEach:$k,unmemoize:Ik,until:Uk,waterfall:Yk,whilst:CJ,all:FG,allLimit:MG,allSeries:AG,any:gG,anyLimit:yG,anySeries:hG,find:c5,findLimit:DG,findSeries:OG,flatMap:v0,flatMapLimit:J0,flatMapSeries:k0,forEach:NG,forEachSeries:vJ,forEachLimit:RJ,forEachOf:K0,forEachOfSeries:f0,forEachOfLimit:B,inject:M,foldl:M,foldr:jG,select:TG,selectLimit:EG,selectSeries:BG,wrapSync:W,during:CJ,doDuring:BJ};$.all=FG,$.allLimit=MG,$.allSeries=AG,$.any=gG,$.anyLimit=yG,$.anySeries=hG,$.apply=I,$.applyEach=B0,$.applyEachSeries=g0,$.asyncify=W,$.auto=j4,$.autoInject=a6,$.cargo=T0,$.cargoQueue=a,$.compose=x,$.concat=v0,$.concatLimit=J0,$.concatSeries=k0,$.constant=J1,$.default=Qw0,$.detect=c5,$.detectLimit=DG,$.detectSeries=OG,$.dir=Tx,$.doDuring=BJ,$.doUntil=Ex,$.doWhilst=BJ,$.during=CJ,$.each=NG,$.eachLimit=RJ,$.eachOf=K0,$.eachOfLimit=B,$.eachOfSeries=f0,$.eachSeries=vJ,$.ensureAsync=ND,$.every=FG,$.everyLimit=MG,$.everySeries=AG,$.filter=TG,$.filterLimit=EG,$.filterSeries=BG,$.find=c5,$.findLimit=DG,$.findSeries=OG,$.flatMap=v0,$.flatMapLimit=J0,$.flatMapSeries=k0,$.foldl=M,$.foldr=jG,$.forEach=NG,$.forEachLimit=RJ,$.forEachOf=K0,$.forEachOfLimit=B,$.forEachOfSeries=f0,$.forEachSeries=vJ,$.forever=Rx,$.groupBy=vx,$.groupByLimit=RG,$.groupBySeries=Cx,$.inject=M,$.log=jx,$.map=M0,$.mapLimit=m,$.mapSeries=O0,$.mapValues=_x,$.mapValuesLimit=vG,$.mapValuesSeries=Sx,$.memoize=gx,$.nextTick=yx,$.parallel=hx,$.parallelLimit=xx,$.priorityQueue=fx,$.queue=MD,$.race=bx,$.reduce=M,$.reduceRight=jG,$.reflect=_G,$.reflectAll=ix,$.reject=nx,$.rejectLimit=px,$.rejectSeries=cx,$.retry=SG,$.retryable=lx,$.select=TG,$.selectLimit=EG,$.selectSeries=BG,$.seq=j,$.series=ox,$.setImmediate=H,$.some=gG,$.someLimit=yG,$.someSeries=hG,$.sortBy=rx,$.timeout=tx,$.times=ax,$.timesLimit=xG,$.timesSeries=sx,$.transform=ex,$.tryEach=$k,$.unmemoize=Ik,$.until=Uk,$.waterfall=Yk,$.whilst=CJ,$.wrapSync=W,Object.defineProperty($,"__esModule",{value:!0})})});var c30=O((IB1,p30)=>{var c9=r("constants"),Re0=process.cwd,BX=null,ve0=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!BX)BX=Re0.call(process);return BX};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(RX=process.chdir,process.chdir=function($){BX=null,RX.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,RX)}var RX;p30.exports=Ce0;function Ce0($){if(c9.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))I($);if(!$.lutimes)U($);if($.chown=Q($.chown),$.fchown=Q($.fchown),$.lchown=Q($.lchown),$.chmod=Y($.chmod),$.fchmod=Y($.fchmod),$.lchmod=Y($.lchmod),$.chownSync=K($.chownSync),$.fchownSync=K($.fchownSync),$.lchownSync=K($.lchownSync),$.chmodSync=J($.chmodSync),$.fchmodSync=J($.fchmodSync),$.lchmodSync=J($.lchmodSync),$.stat=q($.stat),$.fstat=q($.fstat),$.lstat=q($.lstat),$.statSync=G($.statSync),$.fstatSync=G($.fstatSync),$.lstatSync=G($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(W,V,z){if(z)process.nextTick(z)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(W,V,z,Z){if(Z)process.nextTick(Z)},$.lchownSync=function(){};if(ve0==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(W){function V(z,Z,w){var L=Date.now(),D=0;W(z,Z,function N(E){if(E&&(E.code==="EACCES"||E.code==="EPERM"||E.code==="EBUSY")&&Date.now()-L<60000){if(setTimeout(function(){$.stat(Z,function(T,A){if(T&&T.code==="ENOENT")W(z,Z,N);else w(E)})},D),D<100)D+=10;return}if(w)w(E)})}if(Object.setPrototypeOf)Object.setPrototypeOf(V,W);return V}($.rename);$.read=typeof $.read!=="function"?$.read:function(W){function V(z,Z,w,L,D,N){var E;if(N&&typeof N==="function"){var T=0;E=function(A,v,u){if(A&&A.code==="EAGAIN"&&T<10)return T++,W.call($,z,Z,w,L,D,E);N.apply(this,arguments)}}return W.call($,z,Z,w,L,D,E)}if(Object.setPrototypeOf)Object.setPrototypeOf(V,W);return V}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(W){return function(V,z,Z,w,L){var D=0;while(!0)try{return W.call($,V,z,Z,w,L)}catch(N){if(N.code==="EAGAIN"&&D<10){D++;continue}throw N}}}($.readSync);function I(W){W.lchmod=function(V,z,Z){W.open(V,c9.O_WRONLY|c9.O_SYMLINK,z,function(w,L){if(w){if(Z)Z(w);return}W.fchmod(L,z,function(D){W.close(L,function(N){if(Z)Z(D||N)})})})},W.lchmodSync=function(V,z){var Z=W.openSync(V,c9.O_WRONLY|c9.O_SYMLINK,z),w=!0,L;try{L=W.fchmodSync(Z,z),w=!1}finally{if(w)try{W.closeSync(Z)}catch(D){}else W.closeSync(Z)}return L}}function U(W){if(c9.hasOwnProperty("O_SYMLINK")&&W.futimes)W.lutimes=function(V,z,Z,w){W.open(V,c9.O_SYMLINK,function(L,D){if(L){if(w)w(L);return}W.futimes(D,z,Z,function(N){W.close(D,function(E){if(w)w(N||E)})})})},W.lutimesSync=function(V,z,Z){var w=W.openSync(V,c9.O_SYMLINK),L,D=!0;try{L=W.futimesSync(w,z,Z),D=!1}finally{if(D)try{W.closeSync(w)}catch(N){}else W.closeSync(w)}return L};else if(W.futimes)W.lutimes=function(V,z,Z,w){if(w)process.nextTick(w)},W.lutimesSync=function(){}}function Y(W){if(!W)return W;return function(V,z,Z){return W.call($,V,z,function(w){if(H(w))w=null;if(Z)Z.apply(this,arguments)})}}function J(W){if(!W)return W;return function(V,z){try{return W.call($,V,z)}catch(Z){if(!H(Z))throw Z}}}function Q(W){if(!W)return W;return function(V,z,Z,w){return W.call($,V,z,Z,function(L){if(H(L))L=null;if(w)w.apply(this,arguments)})}}function K(W){if(!W)return W;return function(V,z,Z){try{return W.call($,V,z,Z)}catch(w){if(!H(w))throw w}}}function q(W){if(!W)return W;return function(V,z,Z){if(typeof z==="function")Z=z,z=null;function w(L,D){if(D){if(D.uid<0)D.uid+=4294967296;if(D.gid<0)D.gid+=4294967296}if(Z)Z.apply(this,arguments)}return z?W.call($,V,z,w):W.call($,V,w)}}function G(W){if(!W)return W;return function(V,z){var Z=z?W.call($,V,z):W.call($,V);if(Z){if(Z.uid<0)Z.uid+=4294967296;if(Z.gid<0)Z.gid+=4294967296}return Z}}function H(W){if(!W)return!0;if(W.code==="ENOSYS")return!0;var V=!process.getuid||process.getuid()!==0;if(V){if(W.code==="EINVAL"||W.code==="EPERM")return!0}return!1}}});var l30=O((UB1,m30)=>{var d30=r("stream").Stream;m30.exports=je0;function je0($){return{ReadStream:I,WriteStream:U};function I(Y,J){if(!(this instanceof I))return new I(Y,J);d30.call(this);var Q=this;this.path=Y,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,J=J||{};var K=Object.keys(J);for(var q=0,G=K.length;q<G;q++){var H=K[q];this[H]=J[H]}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(){Q._read()});return}$.open(this.path,this.flags,this.mode,function(W,V){if(W){Q.emit("error",W),Q.readable=!1;return}Q.fd=V,Q.emit("open",V),Q._read()})}function U(Y,J){if(!(this instanceof U))return new U(Y,J);d30.call(this),this.path=Y,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,J=J||{};var Q=Object.keys(J);for(var K=0,q=Q.length;K<q;K++){var G=Q[K];this[G]=J[G]}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 r30=O((YB1,o30)=>{o30.exports=Se0;var _e0=Object.getPrototypeOf||function($){return $.__proto__};function Se0($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var I={__proto__:_e0($)};else var I=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(U){Object.defineProperty(I,U,Object.getOwnPropertyDescriptor($,U))}),I}});var m6=O((JB1,ij)=>{var V4=r("fs"),ge0=c30(),ye0=l30(),he0=r30(),vX=r("util"),Y6,jX;if(typeof Symbol==="function"&&typeof Symbol.for==="function")Y6=Symbol.for("graceful-fs.queue"),jX=Symbol.for("graceful-fs.previous");else Y6="___graceful-fs.queue",jX="___graceful-fs.previous";function xe0(){}function a30($,I){Object.defineProperty($,Y6,{get:function(){return I}})}var O3=xe0;if(vX.debuglog)O3=vX.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))O3=function(){var $=vX.format.apply(vX,arguments);$="GFS4: "+$.split(/\n/).join(`
GFS4: `),console.error($)};if(!V4[Y6]){if(uj=global[Y6]||[],a30(V4,uj),V4.close=function($){function I(U,Y){return $.call(V4,U,function(J){if(!J)t30();if(typeof Y==="function")Y.apply(this,arguments)})}return Object.defineProperty(I,jX,{value:$}),I}(V4.close),V4.closeSync=function($){function I(U){$.apply(V4,arguments),t30()}return Object.defineProperty(I,jX,{value:$}),I}(V4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){O3(V4[Y6]),r("assert").equal(V4[Y6].length,0)})}var uj;if(!global[Y6])a30(global,V4[Y6]);ij.exports=fj(he0(V4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!V4.__patched)ij.exports=fj(V4),V4.__patched=!0;function fj($){ge0($),$.gracefulify=fj,$.createReadStream=v,$.createWriteStream=u;var I=$.readFile;$.readFile=U;function U(C,p,n){if(typeof p==="function")n=p,p=null;return S(C,p,n);function S(f,i,Y0,B){return I(f,i,function(k){if(k&&(k.code==="EMFILE"||k.code==="ENFILE"))EY([S,[f,i,Y0],k,B||Date.now(),Date.now()]);else if(typeof Y0==="function")Y0.apply(this,arguments)})}}var Y=$.writeFile;$.writeFile=J;function J(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return Y(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var Q=$.appendFile;if(Q)$.appendFile=K;function K(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return Q(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var q=$.copyFile;if(q)$.copyFile=G;function G(C,p,n,S){if(typeof n==="function")S=n,n=0;return f(C,p,n,S);function f(i,Y0,B,k,d){return q(i,Y0,B,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}var H=$.readdir;$.readdir=V;var W=/^v[0-5]\./;function V(C,p,n){if(typeof p==="function")n=p,p=null;var S=W.test(process.version)?function(Y0,B,k,d){return H(Y0,f(Y0,B,k,d))}:function(Y0,B,k,d){return H(Y0,B,f(Y0,B,k,d))};return S(C,p,n);function f(i,Y0,B,k){return function(d,t){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))EY([S,[i,Y0,B],d,k||Date.now(),Date.now()]);else{if(t&&t.sort)t.sort();if(typeof B==="function")B.call(this,d,t)}}}}if(process.version.substr(0,4)==="v0.8"){var z=ye0($);N=z.ReadStream,T=z.WriteStream}var Z=$.ReadStream;if(Z)N.prototype=Object.create(Z.prototype),N.prototype.open=E;var w=$.WriteStream;if(w)T.prototype=Object.create(w.prototype),T.prototype.open=A;Object.defineProperty($,"ReadStream",{get:function(){return N},set:function(C){N=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return T},set:function(C){T=C},enumerable:!0,configurable:!0});var L=N;Object.defineProperty($,"FileReadStream",{get:function(){return L},set:function(C){L=C},enumerable:!0,configurable:!0});var D=T;Object.defineProperty($,"FileWriteStream",{get:function(){return D},set:function(C){D=C},enumerable:!0,configurable:!0});function N(C,p){if(this instanceof N)return Z.apply(this,arguments),this;else return N.apply(Object.create(N.prototype),arguments)}function E(){var C=this;b(C.path,C.flags,C.mode,function(p,n){if(p){if(C.autoClose)C.destroy();C.emit("error",p)}else C.fd=n,C.emit("open",n),C.read()})}function T(C,p){if(this instanceof T)return w.apply(this,arguments),this;else return T.apply(Object.create(T.prototype),arguments)}function A(){var C=this;b(C.path,C.flags,C.mode,function(p,n){if(p)C.destroy(),C.emit("error",p);else C.fd=n,C.emit("open",n)})}function v(C,p){return new $.ReadStream(C,p)}function u(C,p){return new $.WriteStream(C,p)}var g=$.open;$.open=b;function b(C,p,n,S){if(typeof n==="function")S=n,n=null;return f(C,p,n,S);function f(i,Y0,B,k,d){return g(i,Y0,B,function(t,K0){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))EY([f,[i,Y0,B,k],t,d||Date.now(),Date.now()]);else if(typeof k==="function")k.apply(this,arguments)})}}return $}function EY($){O3("ENQUEUE",$[0].name,$[1]),V4[Y6].push($),bj()}var CX;function t30(){var $=Date.now();for(var I=0;I<V4[Y6].length;++I)if(V4[Y6][I].length>2)V4[Y6][I][3]=$,V4[Y6][I][4]=$;bj()}function bj(){if(clearTimeout(CX),CX=void 0,V4[Y6].length===0)return;var $=V4[Y6].shift(),I=$[0],U=$[1],Y=$[2],J=$[3],Q=$[4];if(J===void 0)O3("RETRY",I.name,U),I.apply(null,U);else if(Date.now()-J>=60000){O3("TIMEOUT",I.name,U);var K=U.pop();if(typeof K==="function")K.call(null,Y)}else{var q=Date.now()-Q,G=Math.max(Q-J,1),H=Math.min(G*1.2,100);if(q>=H)O3("RETRY",I.name,U),I.apply(null,U.concat([J]));else V4[Y6].push($)}if(CX===void 0)CX=setTimeout(bj,0)}});var e30=O((QB1,nj)=>{function ke0($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var s30=M4().Buffer,vK=r("util");function ue0($,I,U){$.copy(I,U)}nj.exports=function(){function $(){ke0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return s30.alloc(0);var Y=s30.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)ue0(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(vK&&vK.inspect&&vK.inspect.custom)nj.exports.prototype[vK.inspect.custom]=function(){var $=vK.inspect({length:this.length});return this.constructor.name+" "+$}});var pj=O((KB1,$I0)=>{var _X=F4();function fe0($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)_X.nextTick(SX,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,_X.nextTick(SX,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)_X.nextTick(SX,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,_X.nextTick(SX,U,Q)}else if(I)I(Q)}),this}function be0(){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 SX($,I){$.emit("error",I)}$I0.exports={destroy:fe0,undestroy:be0}});var dj=O((qB1,GI0)=>{var N3=F4();GI0.exports=T4;function UI0($){var I=this;this.next=null,this.entry=null,this.finish=function(){J01(I,$)}}var ie0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:N3.nextTick,BY;T4.WritableState=jK;var YI0=Object.create(n1());YI0.inherits=p0();var ne0={deprecate:x7()},JI0=r("stream"),yX=M4().Buffer,pe0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ce0($){return yX.from($)}function de0($){return yX.isBuffer($)||$ instanceof pe0}var QI0=pj();YI0.inherits(T4,JI0);function me0(){}function jK($,I){BY=BY||F3(),$=$||{};var U=I instanceof BY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;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 K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){ee0(I,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 UI0(this)}jK.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(jK.prototype,"buffer",{get:ne0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var gX;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")gX=Function.prototype[Symbol.hasInstance],Object.defineProperty(T4,Symbol.hasInstance,{value:function($){if(gX.call(this,$))return!0;if(this!==T4)return!1;return $&&$._writableState instanceof jK}});else gX=function($){return $ instanceof this};function T4($){if(BY=BY||F3(),!gX.call(T4,this)&&!(this instanceof BY))return new T4($);if(this._writableState=new jK($,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}JI0.call(this)}T4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function le0($,I){var U=Error("write after end");$.emit("error",U),N3.nextTick(I,U)}function oe0($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),N3.nextTick(Y,Q),J=!1;return J}T4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&de0($);if(Q&&!yX.isBuffer($))$=ce0($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=me0;if(Y.ended)le0(this,U);else if(Q||oe0(this,Y,$,U))Y.pendingcb++,J=te0(this,Y,Q,$,I,U);return J};T4.prototype.cork=function(){var $=this._writableState;$.corked++};T4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)KI0(this,$)}};T4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function re0($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=yX.from(I,U);return I}Object.defineProperty(T4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function te0($,I,U,Y,J,Q){if(!U){var K=re0(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else cj($,I,!1,q,Y,J,Q);return G}function cj($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function ae0($,I,U,Y,J){if(--I.pendingcb,U)N3.nextTick(J,Y),N3.nextTick(CK,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),CK($,I)}function se0($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function ee0($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(se0(U),I)ae0($,U,Y,I,J);else{var Q=qI0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)KI0($,U);if(Y)ie0(II0,$,U,Q,J);else II0($,U,Q,J)}}function II0($,I,U,Y){if(!U)$01($,I);I.pendingcb--,Y(),CK($,I)}function $01($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function KI0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,cj($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new UI0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(cj($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}T4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};T4.prototype._writev=null;T4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)Y01(this,Y,U)};function qI0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function I01($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),CK($,I)})}function U01($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,N3.nextTick(I01,$,I);else I.prefinished=!0,$.emit("prefinish")}function CK($,I){var U=qI0(I);if(U){if(U01($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function Y01($,I,U){if(I.ending=!0,CK($,I),U)if(I.finished)N3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function J01($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(T4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});T4.prototype.destroy=QI0.destroy;T4.prototype._undestroy=QI0.undestroy;T4.prototype._destroy=function($,I){this.end(),I($)}});var F3=O((GB1,ZI0)=>{var HI0=F4(),Q01=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};ZI0.exports=P5;var WI0=Object.create(n1());WI0.inherits=p0();var VI0=lj(),mj=dj();WI0.inherits(P5,VI0);{hX=Q01(mj.prototype);for(_K=0;_K<hX.length;_K++)if(SK=hX[_K],!P5.prototype[SK])P5.prototype[SK]=mj.prototype[SK]}var hX,SK,_K;function P5($){if(!(this instanceof P5))return new P5($);if(VI0.call(this,$),mj.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",K01)}Object.defineProperty(P5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function K01(){if(this.allowHalfOpen||this._writableState.ended)return;HI0.nextTick(q01,this)}function q01($){$.end()}Object.defineProperty(P5.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=$}});P5.prototype._destroy=function($,I){this.push(null),this.end(),HI0.nextTick(I,$)}});var tj=O((M01)=>{var rj=M4().Buffer,zI0=rj.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 G01($){if(!$)return"utf8";var I;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(I)return;$=(""+$).toLowerCase(),I=!0}}function H01($){var I=G01($);if(typeof I!=="string"&&(rj.isEncoding===zI0||!zI0($)))throw Error("Unknown encoding: "+$);return I||$}M01.StringDecoder=gK;function gK($){this.encoding=H01($);var I;switch(this.encoding){case"utf16le":this.text=w01,this.end=L01,I=4;break;case"utf8":this.fillLast=Z01,I=4;break;case"base64":this.text=D01,this.end=O01,I=3;break;default:this.write=N01,this.end=F01;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=rj.allocUnsafe(I)}gK.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};gK.prototype.end=X01;gK.prototype.text=z01;gK.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 oj($){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 W01($,I,U){var Y=I.length-1;if(Y<U)return 0;var J=oj(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=oj(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=oj(I[Y]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function V01($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function Z01($){var I=this.lastTotal-this.lastNeed,U=V01(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function z01($,I){var U=W01(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function X01($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function w01($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function L01($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function D01($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function O01($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function N01($){return $.toString(this.encoding)}function F01($){return $&&$.length?this.write($):""}});var lj=O((VB1,EI0)=>{var vY=F4();EI0.exports=t1;var P01=OU(),yK;t1.ReadableState=FI0;var WB1=r("events").EventEmitter,DI0=function($,I){return $.listeners(I).length},I_=r("stream"),hK=M4().Buffer,T01=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function E01($){return hK.from($)}function B01($){return hK.isBuffer($)||$ instanceof T01}var OI0=Object.create(n1());OI0.inherits=p0();var aj=r("util"),P1=void 0;if(aj&&aj.debuglog)P1=aj.debuglog("stream");else P1=function(){};var R01=e30(),NI0=pj(),RY;OI0.inherits(t1,I_);var sj=["error","close","destroy","pause","resume"];function v01($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(P01($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function FI0($,I){yK=yK||F3(),$=$||{};var U=I instanceof yK;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new R01,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(!RY)RY=tj().StringDecoder;this.decoder=new RY($.encoding),this.encoding=$.encoding}}function t1($){if(yK=yK||F3(),!(this instanceof t1))return new t1($);if(this._readableState=new FI0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}I_.call(this)}Object.defineProperty(t1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});t1.prototype.destroy=NI0.destroy;t1.prototype._undestroy=NI0.undestroy;t1.prototype._destroy=function($,I){this.push(null),I($)};t1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=hK.from($,I),I="";Y=!0}}else Y=!0;return MI0(this,$,I,!1,Y)};t1.prototype.unshift=function($){return MI0(this,$,null,!0,!1)};function MI0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,S01($,Q);else{var K;if(!J)K=C01(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==hK.prototype)I=E01(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else ej($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)ej($,Q,I,!1);else AI0($,Q);else ej($,Q,I,!1)}else if(!Y)Q.reading=!1}return j01(Q)}function ej($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)xX($)}AI0($,I)}function C01($,I){var U;if(!B01(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function j01($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}t1.prototype.isPaused=function(){return this._readableState.flowing===!1};t1.prototype.setEncoding=function($){if(!RY)RY=tj().StringDecoder;return this._readableState.decoder=new RY($),this._readableState.encoding=$,this};var XI0=8388608;function _01($){if($>=XI0)$=XI0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function wI0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=_01($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}t1.prototype.read=function($){P1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(P1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)$_(this);else xX(this);return null}if($=wI0($,I),$===0&&I.ended){if(I.length===0)$_(this);return null}var Y=I.needReadable;if(P1("need readable",Y),I.length===0||I.length-$<I.highWaterMark)Y=!0,P1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,P1("reading or ended",Y);else if(Y){if(P1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=wI0(U,I)}var J;if($>0)J=PI0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)$_(this)}if(J!==null)this.emit("data",J);return J};function S01($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,xX($)}function xX($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(P1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)vY.nextTick(LI0,$);else LI0($)}function LI0($){P1("emit readable"),$.emit("readable"),U_($)}function AI0($,I){if(!I.readingMore)I.readingMore=!0,vY.nextTick(g01,$,I)}function g01($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length<I.highWaterMark)if(P1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}t1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};t1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,P1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)vY.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(N,E){if(P1("onunpipe"),N===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){P1("onend"),$.end()}var G=y01(U);$.on("drain",G);var H=!1;function W(){if(P1("cleanup"),$.removeListener("close",w),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",z),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",z);function z(N){P1("ondata"),V=!1;var E=$.write(N);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&TI0(Y.pipes,$)!==-1)&&!H)P1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(P1("onerror",N),D(),$.removeListener("error",Z),DI0($,"error")===0)$.emit("error",N)}v01($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){P1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){P1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)P1("pipe resume"),U.resume();return $};function y01($){return function(){var I=$._readableState;if(P1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&DI0($,"data"))I.flowing=!0,U_($)}}t1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=TI0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};t1.prototype.on=function($,I){var U=I_.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)vY.nextTick(h01,this);else if(Y.length)xX(this)}}return U};t1.prototype.addListener=t1.prototype.on;function h01($){P1("readable nexttick read 0"),$.read(0)}t1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)P1("resume"),$.flowing=!0,x01(this,$);return this};function x01($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,vY.nextTick(k01,$,I)}function k01($,I){if(!I.reading)P1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),U_($),I.flowing&&!I.reading)$.read(0)}t1.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 U_($){var I=$._readableState;P1("flow",I.flowing);while(I.flowing&&$.read()!==null);}t1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(P1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(P1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<sj.length;Q++)$.on(sj[Q],this.emit.bind(this,sj[Q]));return this._read=function(K){if(P1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(t1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});t1._fromList=PI0;function PI0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=u01($,I.buffer,I.decoder);return U}function u01($,I,U){var Y;if($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?f01($,I):b01($,I);return Y}function f01($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function b01($,I){var U=hK.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function $_($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,vY.nextTick(i01,I,$)}function i01($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function TI0($,I){for(var U=0,Y=$.length;U<Y;U++)if($[U]===I)return U;return-1}});var Y_=O((ZB1,vI0)=>{vI0.exports=T5;var kX=F3(),RI0=Object.create(n1());RI0.inherits=p0();RI0.inherits(T5,kX);function n01($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function T5($){if(!(this instanceof T5))return new T5($);if(kX.call(this,$),this._transformState={afterTransform:n01.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",p01)}function p01(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){BI0($,I,U)});else BI0(this,null,null)}T5.prototype.push=function($,I){return this._transformState.needTransform=!1,kX.prototype.push.call(this,$,I)};T5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};T5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};T5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};T5.prototype._destroy=function($,I){var U=this;kX.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function BI0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);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 SI0=O((zB1,_I0)=>{_I0.exports=xK;var CI0=Y_(),jI0=Object.create(n1());jI0.inherits=p0();jI0.inherits(xK,CI0);function xK($){if(!(this instanceof xK))return new xK($);CI0.call(this,$)}xK.prototype._transform=function($,I,U){U(null,$)}});var gI0=O((J6,uX)=>{var _8=r("stream");if(process.env.READABLE_STREAM==="disable"&&_8)uX.exports=_8,J6=uX.exports=_8.Readable,J6.Readable=_8.Readable,J6.Writable=_8.Writable,J6.Duplex=_8.Duplex,J6.Transform=_8.Transform,J6.PassThrough=_8.PassThrough,J6.Stream=_8;else J6=uX.exports=lj(),J6.Stream=_8||J6,J6.Readable=J6,J6.Writable=dj(),J6.Duplex=F3(),J6.Transform=Y_(),J6.PassThrough=SI0()});var hI0=O((XB1,yI0)=>{yI0.exports=gI0().PassThrough});var J_=O((wB1,uI0)=>{var xI0=r("util"),iX=hI0();uI0.exports={Readable:fX,Writable:bX};xI0.inherits(fX,iX);xI0.inherits(bX,iX);function kI0($,I,U){$[I]=function(){return delete $[I],U.apply(this,arguments),this[I].apply(this,arguments)}}function fX($,I){if(!(this instanceof fX))return new fX($,I);iX.call(this,I),kI0(this,"_read",function(){var U=$.call(this,I),Y=this.emit.bind(this,"error");U.on("error",Y),U.pipe(this)}),this.emit("readable")}function bX($,I){if(!(this instanceof bX))return new bX($,I);iX.call(this,I),kI0(this,"_write",function(){var U=$.call(this,I),Y=this.emit.bind(this,"error");U.on("error",Y),this.pipe(U)}),this.emit("writable")}});var nX=O((LB1,fI0)=>{/*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*/fI0.exports=function($,I){if(typeof $!=="string")throw TypeError("expected path to be a string");if($==="\\"||$==="/")return"/";var U=$.length;if(U<=1)return $;var Y="";if(U>4&&$[3]==="\\"){var J=$[2];if((J==="?"||J===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),Y="//"}var Q=$.split(/[/\\]+/);if(I!==!1&&Q[Q.length-1]==="")Q.pop();return Y+Q.join("/")}});var G_=O((DB1,mI0)=>{var iI0=9007199254740991,c01="[object Arguments]",d01="[object Function]",m01="[object GeneratorFunction]",l01=/^(?:0|[1-9]\d*)$/;function nI0($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function o01($,I){var U=-1,Y=Array($);while(++U<$)Y[U]=I(U);return Y}var kK=Object.prototype,uK=kK.hasOwnProperty,pI0=kK.toString,r01=kK.propertyIsEnumerable,bI0=Math.max;function t01($,I){var U=K11($)||Q11($)?o01($.length,String):[],Y=U.length,J=!!Y;for(var Q in $)if((I||uK.call($,Q))&&!(J&&(Q=="length"||dI0(Q,Y))))U.push(Q);return U}function a01($,I,U,Y){if($===void 0||Q_($,kK[U])&&!uK.call(Y,U))return I;return $}function s01($,I,U){var Y=$[I];if(!(uK.call($,I)&&Q_(Y,U))||U===void 0&&!(I in $))$[I]=U}function e01($){if(!q_($))return J11($);var I=Y11($),U=[];for(var Y in $)if(!(Y=="constructor"&&(I||!uK.call($,Y))))U.push(Y);return U}function cI0($,I){return I=bI0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=bI0(U.length-I,0),Q=Array(J);while(++Y<J)Q[Y]=U[I+Y];Y=-1;var K=Array(I+1);while(++Y<I)K[Y]=U[Y];return K[I]=Q,nI0($,this,K)}}function $11($,I,U,Y){U||(U={});var J=-1,Q=I.length;while(++J<Q){var K=I[J],q=Y?Y(U[K],$[K],K,U,$):void 0;s01(U,K,q===void 0?$[K]:q)}return U}function I11($){return cI0(function(I,U){var Y=-1,J=U.length,Q=J>1?U[J-1]:void 0,K=J>2?U[2]:void 0;if(Q=$.length>3&&typeof Q=="function"?(J--,Q):void 0,K&&U11(U[0],U[1],K))Q=J<3?void 0:Q,J=1;I=Object(I);while(++Y<J){var q=U[Y];if(q)$(I,q,Y,Q)}return I})}function dI0($,I){return I=I==null?iI0:I,!!I&&(typeof $=="number"||l01.test($))&&($>-1&&$%1==0&&$<I)}function U11($,I,U){if(!q_(U))return!1;var Y=typeof I;if(Y=="number"?K_(U)&&dI0(I,U.length):Y=="string"&&(I in U))return Q_(U[I],$);return!1}function Y11($){var I=$&&$.constructor,U=typeof I=="function"&&I.prototype||kK;return $===U}function J11($){var I=[];if($!=null)for(var U in Object($))I.push(U);return I}function Q_($,I){return $===I||$!==$&&I!==I}function Q11($){return q11($)&&uK.call($,"callee")&&(!r01.call($,"callee")||pI0.call($)==c01)}var K11=Array.isArray;function K_($){return $!=null&&H11($.length)&&!G11($)}function q11($){return W11($)&&K_($)}function G11($){var I=q_($)?pI0.call($):"";return I==d01||I==m01}function H11($){return typeof $=="number"&&$>-1&&$%1==0&&$<=iI0}function q_($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function W11($){return!!$&&typeof $=="object"}var V11=I11(function($,I,U,Y){$11(I,z11(I),$,Y)}),Z11=cI0(function($){return $.push(void 0,a01),nI0(V11,void 0,$)});function z11($){return K_($)?t01($,!0):e01($)}mI0.exports=Z11});var oI0=O((OB1,H_)=>{function X11($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var lI0=M4().Buffer,fK=r("util");function w11($,I,U){$.copy(I,U)}H_.exports=function(){function $(){X11(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return lI0.alloc(0);var Y=lI0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)w11(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(fK&&fK.inspect&&fK.inspect.custom)H_.exports.prototype[fK.inspect.custom]=function(){var $=fK.inspect({length:this.length});return this.constructor.name+" "+$}});var W_=O((NB1,rI0)=>{var pX=F4();function L11($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)pX.nextTick(cX,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,pX.nextTick(cX,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)pX.nextTick(cX,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,pX.nextTick(cX,U,Q)}else if(I)I(Q)}),this}function D11(){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 cX($,I){$.emit("error",I)}rI0.exports={destroy:L11,undestroy:D11}});var Z_=O((FB1,YU0)=>{var M3=F4();YU0.exports=E4;function aI0($){var I=this;this.next=null,this.entry=null,this.finish=function(){h11(I,$)}}var O11=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:M3.nextTick,CY;E4.WritableState=iK;var sI0=Object.create(n1());sI0.inherits=p0();var N11={deprecate:x7()},eI0=r("stream"),mX=M4().Buffer,F11=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function M11($){return mX.from($)}function A11($){return mX.isBuffer($)||$ instanceof F11}var $U0=W_();sI0.inherits(E4,eI0);function P11(){}function iK($,I){CY=CY||A3(),$=$||{};var U=I instanceof CY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;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 K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){j11(I,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 aI0(this)}iK.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(iK.prototype,"buffer",{get:N11.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var dX;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")dX=Function.prototype[Symbol.hasInstance],Object.defineProperty(E4,Symbol.hasInstance,{value:function($){if(dX.call(this,$))return!0;if(this!==E4)return!1;return $&&$._writableState instanceof iK}});else dX=function($){return $ instanceof this};function E4($){if(CY=CY||A3(),!dX.call(E4,this)&&!(this instanceof CY))return new E4($);if(this._writableState=new iK($,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}eI0.call(this)}E4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function T11($,I){var U=Error("write after end");$.emit("error",U),M3.nextTick(I,U)}function E11($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),M3.nextTick(Y,Q),J=!1;return J}E4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&A11($);if(Q&&!mX.isBuffer($))$=M11($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=P11;if(Y.ended)T11(this,U);else if(Q||E11(this,Y,$,U))Y.pendingcb++,J=R11(this,Y,Q,$,I,U);return J};E4.prototype.cork=function(){var $=this._writableState;$.corked++};E4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)IU0(this,$)}};E4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function B11($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=mX.from(I,U);return I}Object.defineProperty(E4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function R11($,I,U,Y,J,Q){if(!U){var K=B11(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else V_($,I,!1,q,Y,J,Q);return G}function V_($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function v11($,I,U,Y,J){if(--I.pendingcb,U)M3.nextTick(J,Y),M3.nextTick(bK,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),bK($,I)}function C11($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function j11($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(C11(U),I)v11($,U,Y,I,J);else{var Q=UU0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)IU0($,U);if(Y)O11(tI0,$,U,Q,J);else tI0($,U,Q,J)}}function tI0($,I,U,Y){if(!U)_11($,I);I.pendingcb--,Y(),bK($,I)}function _11($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function IU0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,V_($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new aI0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(V_($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}E4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};E4.prototype._writev=null;E4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)y11(this,Y,U)};function UU0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function S11($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),bK($,I)})}function g11($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,M3.nextTick(S11,$,I);else I.prefinished=!0,$.emit("prefinish")}function bK($,I){var U=UU0(I);if(U){if(g11($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function y11($,I,U){if(I.ending=!0,bK($,I),U)if(I.finished)M3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function h11($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(E4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});E4.prototype.destroy=$U0.destroy;E4.prototype._undestroy=$U0.undestroy;E4.prototype._destroy=function($,I){this.end(),I($)}});var A3=O((MB1,qU0)=>{var JU0=F4(),x11=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};qU0.exports=E5;var QU0=Object.create(n1());QU0.inherits=p0();var KU0=X_(),z_=Z_();QU0.inherits(E5,KU0);{lX=x11(z_.prototype);for(nK=0;nK<lX.length;nK++)if(pK=lX[nK],!E5.prototype[pK])E5.prototype[pK]=z_.prototype[pK]}var lX,pK,nK;function E5($){if(!(this instanceof E5))return new E5($);if(KU0.call(this,$),z_.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",k11)}Object.defineProperty(E5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function k11(){if(this.allowHalfOpen||this._writableState.ended)return;JU0.nextTick(u11,this)}function u11($){$.end()}Object.defineProperty(E5.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=$}});E5.prototype._destroy=function($,I){this.push(null),this.end(),JU0.nextTick(I,$)}});var D_=O((s11)=>{var L_=M4().Buffer,GU0=L_.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 f11($){if(!$)return"utf8";var I;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(I)return;$=(""+$).toLowerCase(),I=!0}}function b11($){var I=f11($);if(typeof I!=="string"&&(L_.isEncoding===GU0||!GU0($)))throw Error("Unknown encoding: "+$);return I||$}s11.StringDecoder=cK;function cK($){this.encoding=b11($);var I;switch(this.encoding){case"utf16le":this.text=m11,this.end=l11,I=4;break;case"utf8":this.fillLast=p11,I=4;break;case"base64":this.text=o11,this.end=r11,I=3;break;default:this.write=t11,this.end=a11;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=L_.allocUnsafe(I)}cK.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};cK.prototype.end=d11;cK.prototype.text=c11;cK.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 w_($){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 i11($,I,U){var Y=I.length-1;if(Y<U)return 0;var J=w_(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=w_(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=w_(I[Y]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function n11($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function p11($){var I=this.lastTotal-this.lastNeed,U=n11(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function c11($,I){var U=i11(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function d11($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function m11($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function l11($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function o11($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function r11($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function t11($){return $.toString(this.encoding)}function a11($){return $&&$.length?this.write($):""}});var X_=O((TB1,FU0)=>{var _Y=F4();FU0.exports=a1;var $41=OU(),dK;a1.ReadableState=wU0;var PB1=r("events").EventEmitter,ZU0=function($,I){return $.listeners(I).length},A_=r("stream"),mK=M4().Buffer,I41=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function U41($){return mK.from($)}function Y41($){return mK.isBuffer($)||$ instanceof I41}var zU0=Object.create(n1());zU0.inherits=p0();var O_=r("util"),T1=void 0;if(O_&&O_.debuglog)T1=O_.debuglog("stream");else T1=function(){};var J41=oI0(),XU0=W_(),jY;zU0.inherits(a1,A_);var N_=["error","close","destroy","pause","resume"];function Q41($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if($41($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function wU0($,I){dK=dK||A3(),$=$||{};var U=I instanceof dK;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new J41,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(!jY)jY=D_().StringDecoder;this.decoder=new jY($.encoding),this.encoding=$.encoding}}function a1($){if(dK=dK||A3(),!(this instanceof a1))return new a1($);if(this._readableState=new wU0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}A_.call(this)}Object.defineProperty(a1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});a1.prototype.destroy=XU0.destroy;a1.prototype._undestroy=XU0.undestroy;a1.prototype._destroy=function($,I){this.push(null),I($)};a1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=mK.from($,I),I="";Y=!0}}else Y=!0;return LU0(this,$,I,!1,Y)};a1.prototype.unshift=function($){return LU0(this,$,null,!0,!1)};function LU0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,H41($,Q);else{var K;if(!J)K=K41(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==mK.prototype)I=U41(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else F_($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)F_($,Q,I,!1);else DU0($,Q);else F_($,Q,I,!1)}else if(!Y)Q.reading=!1}return q41(Q)}function F_($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)oX($)}DU0($,I)}function K41($,I){var U;if(!Y41(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function q41($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}a1.prototype.isPaused=function(){return this._readableState.flowing===!1};a1.prototype.setEncoding=function($){if(!jY)jY=D_().StringDecoder;return this._readableState.decoder=new jY($),this._readableState.encoding=$,this};var HU0=8388608;function G41($){if($>=HU0)$=HU0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function WU0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=G41($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}a1.prototype.read=function($){T1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(T1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)M_(this);else oX(this);return null}if($=WU0($,I),$===0&&I.ended){if(I.length===0)M_(this);return null}var Y=I.needReadable;if(T1("need readable",Y),I.length===0||I.length-$<I.highWaterMark)Y=!0,T1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,T1("reading or ended",Y);else if(Y){if(T1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=WU0(U,I)}var J;if($>0)J=OU0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)M_(this)}if(J!==null)this.emit("data",J);return J};function H41($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,oX($)}function oX($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(T1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)_Y.nextTick(VU0,$);else VU0($)}function VU0($){T1("emit readable"),$.emit("readable"),P_($)}function DU0($,I){if(!I.readingMore)I.readingMore=!0,_Y.nextTick(W41,$,I)}function W41($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length<I.highWaterMark)if(T1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}a1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};a1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,T1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)_Y.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(N,E){if(T1("onunpipe"),N===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){T1("onend"),$.end()}var G=V41(U);$.on("drain",G);var H=!1;function W(){if(T1("cleanup"),$.removeListener("close",w),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",z),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",z);function z(N){T1("ondata"),V=!1;var E=$.write(N);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&NU0(Y.pipes,$)!==-1)&&!H)T1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(T1("onerror",N),D(),$.removeListener("error",Z),ZU0($,"error")===0)$.emit("error",N)}Q41($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){T1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){T1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)T1("pipe resume"),U.resume();return $};function V41($){return function(){var I=$._readableState;if(T1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&ZU0($,"data"))I.flowing=!0,P_($)}}a1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=NU0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};a1.prototype.on=function($,I){var U=A_.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)_Y.nextTick(Z41,this);else if(Y.length)oX(this)}}return U};a1.prototype.addListener=a1.prototype.on;function Z41($){T1("readable nexttick read 0"),$.read(0)}a1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)T1("resume"),$.flowing=!0,z41(this,$);return this};function z41($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,_Y.nextTick(X41,$,I)}function X41($,I){if(!I.reading)T1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),P_($),I.flowing&&!I.reading)$.read(0)}a1.prototype.pause=function(){if(T1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)T1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function P_($){var I=$._readableState;T1("flow",I.flowing);while(I.flowing&&$.read()!==null);}a1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(T1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(T1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<N_.length;Q++)$.on(N_[Q],this.emit.bind(this,N_[Q]));return this._read=function(K){if(T1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(a1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});a1._fromList=OU0;function OU0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=w41($,I.buffer,I.decoder);return U}function w41($,I,U){var Y;if($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?L41($,I):D41($,I);return Y}function L41($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function D41($,I){var U=mK.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function M_($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,_Y.nextTick(O41,I,$)}function O41($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function NU0($,I){for(var U=0,Y=$.length;U<Y;U++)if($[U]===I)return U;return-1}});var T_=O((EB1,PU0)=>{PU0.exports=B5;var rX=A3(),AU0=Object.create(n1());AU0.inherits=p0();AU0.inherits(B5,rX);function N41($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function B5($){if(!(this instanceof B5))return new B5($);if(rX.call(this,$),this._transformState={afterTransform:N41.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",F41)}function F41(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){MU0($,I,U)});else MU0(this,null,null)}B5.prototype.push=function($,I){return this._transformState.needTransform=!1,rX.prototype.push.call(this,$,I)};B5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};B5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};B5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};B5.prototype._destroy=function($,I){var U=this;rX.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function MU0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);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 RU0=O((BB1,BU0)=>{BU0.exports=lK;var TU0=T_(),EU0=Object.create(n1());EU0.inherits=p0();EU0.inherits(lK,TU0);function lK($){if(!(this instanceof lK))return new lK($);TU0.call(this,$)}lK.prototype._transform=function($,I,U){U(null,$)}});var vU0=O((Q6,tX)=>{var S8=r("stream");if(process.env.READABLE_STREAM==="disable"&&S8)tX.exports=S8,Q6=tX.exports=S8.Readable,Q6.Readable=S8.Readable,Q6.Writable=S8.Writable,Q6.Duplex=S8.Duplex,Q6.Transform=S8.Transform,Q6.PassThrough=S8.PassThrough,Q6.Stream=S8;else Q6=tX.exports=X_(),Q6.Stream=S8||Q6,Q6.Readable=Q6,Q6.Writable=Z_(),Q6.Duplex=A3(),Q6.Transform=T_(),Q6.PassThrough=RU0()});var B_=O((RB1,gU0)=>{var M41=9007199254740991,A41="[object Arguments]",P41="[object Function]",T41="[object GeneratorFunction]",E41=typeof global=="object"&&global&&global.Object===Object&&global,B41=typeof self=="object"&&self&&self.Object===Object&&self,R41=E41||B41||Function("return this")();function v41($,I){var U=-1,Y=I.length,J=$.length;while(++U<Y)$[J+U]=I[U];return $}var E_=Object.prototype,C41=E_.hasOwnProperty,_U0=E_.toString,CU0=R41.Symbol,j41=E_.propertyIsEnumerable,jU0=CU0?CU0.isConcatSpreadable:void 0;function SU0($,I,U,Y,J){var Q=-1,K=$.length;U||(U=_41),J||(J=[]);while(++Q<K){var q=$[Q];if(I>0&&U(q))if(I>1)SU0(q,I-1,U,Y,J);else v41(J,q);else if(!Y)J[J.length]=q}return J}function _41($){return y41($)||g41($)||!!(jU0&&$&&$[jU0])}function S41($){var I=$?$.length:0;return I?SU0($,1):[]}function g41($){return x41($)&&C41.call($,"callee")&&(!j41.call($,"callee")||_U0.call($)==A41)}var y41=Array.isArray;function h41($){return $!=null&&u41($.length)&&!k41($)}function x41($){return b41($)&&h41($)}function k41($){var I=f41($)?_U0.call($):"";return I==P41||I==T41}function u41($){return typeof $=="number"&&$>-1&&$%1==0&&$<=M41}function f41($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function b41($){return!!$&&typeof $=="object"}gU0.exports=S41});var S_=O((vB1,cU0)=>{var i41=200,C_="__lodash_hash_undefined__",n41=9007199254740991,p41="[object Arguments]",c41="[object Function]",d41="[object GeneratorFunction]",m41=/[\\^$.*+?()[\]{}|]/g,l41=/^\[object .+?Constructor\]$/,o41=typeof global=="object"&&global&&global.Object===Object&&global,r41=typeof self=="object"&&self&&self.Object===Object&&self,j_=o41||r41||Function("return this")();function t41($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function a41($,I){var U=$?$.length:0;return!!U&&U61($,I,0)>-1}function s41($,I,U){var Y=-1,J=$?$.length:0;while(++Y<J)if(U(I,$[Y]))return!0;return!1}function e41($,I){var U=-1,Y=$?$.length:0,J=Array(Y);while(++U<Y)J[U]=I($[U],U,$);return J}function $61($,I){var U=-1,Y=I.length,J=$.length;while(++U<Y)$[J+U]=I[U];return $}function I61($,I,U,Y){var J=$.length,Q=U+(Y?1:-1);while(Y?Q--:++Q<J)if(I($[Q],Q,$))return Q;return-1}function U61($,I,U){if(I!==I)return I61($,Y61,U);var Y=U-1,J=$.length;while(++Y<J)if($[Y]===I)return Y;return-1}function Y61($){return $!==$}function J61($){return function(I){return $(I)}}function Q61($,I){return $.has(I)}function K61($,I){return $==null?void 0:$[I]}function q61($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}var G61=Array.prototype,H61=Function.prototype,__=Object.prototype,R_=j_["__core-js_shared__"],yU0=function(){var $=/[^.]+$/.exec(R_&&R_.keys&&R_.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),uU0=H61.toString,sX=__.hasOwnProperty,fU0=__.toString,W61=RegExp("^"+uU0.call(sX).replace(m41,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hU0=j_.Symbol,V61=__.propertyIsEnumerable,Z61=G61.splice,xU0=hU0?hU0.isConcatSpreadable:void 0,kU0=Math.max,z61=iU0(j_,"Map"),oK=iU0(Object,"create");function P3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function X61(){this.__data__=oK?oK(null):{}}function w61($){return this.has($)&&delete this.__data__[$]}function L61($){var I=this.__data__;if(oK){var U=I[$];return U===C_?void 0:U}return sX.call(I,$)?I[$]:void 0}function D61($){var I=this.__data__;return oK?I[$]!==void 0:sX.call(I,$)}function O61($,I){var U=this.__data__;return U[$]=oK&&I===void 0?C_:I,this}P3.prototype.clear=X61;P3.prototype.delete=w61;P3.prototype.get=L61;P3.prototype.has=D61;P3.prototype.set=O61;function SY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function N61(){this.__data__=[]}function F61($){var I=this.__data__,U=eX(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else Z61.call(I,U,1);return!0}function M61($){var I=this.__data__,U=eX(I,$);return U<0?void 0:I[U][1]}function A61($){return eX(this.__data__,$)>-1}function P61($,I){var U=this.__data__,Y=eX(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}SY.prototype.clear=N61;SY.prototype.delete=F61;SY.prototype.get=M61;SY.prototype.has=A61;SY.prototype.set=P61;function gY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function T61(){this.__data__={hash:new P3,map:new(z61||SY),string:new P3}}function E61($){return $w(this,$).delete($)}function B61($){return $w(this,$).get($)}function R61($){return $w(this,$).has($)}function v61($,I){return $w(this,$).set($,I),this}gY.prototype.clear=T61;gY.prototype.delete=E61;gY.prototype.get=B61;gY.prototype.has=R61;gY.prototype.set=v61;function aX($){var I=-1,U=$?$.length:0;this.__data__=new gY;while(++I<U)this.add($[I])}function C61($){return this.__data__.set($,C_),this}function j61($){return this.__data__.has($)}aX.prototype.add=aX.prototype.push=C61;aX.prototype.has=j61;function eX($,I){var U=$.length;while(U--)if(f61($[U][0],I))return U;return-1}function _61($,I,U,Y){var J=-1,Q=a41,K=!0,q=$.length,G=[],H=I.length;if(!q)return G;if(U)I=e41(I,J61(U));if(Y)Q=s41,K=!1;else if(I.length>=i41)Q=Q61,K=!1,I=new aX(I);$:while(++J<q){var W=$[J],V=U?U(W):W;if(W=Y||W!==0?W:0,K&&V===V){var z=H;while(z--)if(I[z]===V)continue $;G.push(W)}else if(!Q(I,V,Y))G.push(W)}return G}function bU0($,I,U,Y,J){var Q=-1,K=$.length;U||(U=y61),J||(J=[]);while(++Q<K){var q=$[Q];if(I>0&&U(q))if(I>1)bU0(q,I-1,U,Y,J);else $61(J,q);else if(!Y)J[J.length]=q}return J}function S61($){if(!pU0($)||x61($))return!1;var I=nU0($)||q61($)?W61:l41;return I.test(k61($))}function g61($,I){return I=kU0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=kU0(U.length-I,0),Q=Array(J);while(++Y<J)Q[Y]=U[I+Y];Y=-1;var K=Array(I+1);while(++Y<I)K[Y]=U[Y];return K[I]=Q,t41($,this,K)}}function $w($,I){var U=$.__data__;return h61(I)?U[typeof I=="string"?"string":"hash"]:U.map}function iU0($,I){var U=K61($,I);return S61(U)?U:void 0}function y61($){return i61($)||b61($)||!!(xU0&&$&&$[xU0])}function h61($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function x61($){return!!yU0&&yU0 in $}function k61($){if($!=null){try{return uU0.call($)}catch(I){}try{return $+""}catch(I){}}return""}var u61=g61(function($,I){return v_($)?_61($,bU0(I,1,v_,!0)):[]});function f61($,I){return $===I||$!==$&&I!==I}function b61($){return v_($)&&sX.call($,"callee")&&(!V61.call($,"callee")||fU0.call($)==p41)}var i61=Array.isArray;function n61($){return $!=null&&p61($.length)&&!nU0($)}function v_($){return c61($)&&n61($)}function nU0($){var I=pU0($)?fU0.call($):"";return I==c41||I==d41}function p61($){return typeof $=="number"&&$>-1&&$%1==0&&$<=n41}function pU0($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function c61($){return!!$&&typeof $=="object"}cU0.exports=u61});var u_=O((CB1,UY0)=>{var d61=200,h_="__lodash_hash_undefined__",m61=1/0,l61=9007199254740991,o61="[object Arguments]",r61="[object Function]",t61="[object GeneratorFunction]",a61=/[\\^$.*+?()[\]{}|]/g,s61=/^\[object .+?Constructor\]$/,e61=typeof global=="object"&&global&&global.Object===Object&&global,$$1=typeof self=="object"&&self&&self.Object===Object&&self,Uw=e61||$$1||Function("return this")();function I$1($,I,U){switch(U.length){case 0:return $.call(I);case 1:return $.call(I,U[0]);case 2:return $.call(I,U[0],U[1]);case 3:return $.call(I,U[0],U[1],U[2])}return $.apply(I,U)}function U$1($,I){var U=$?$.length:0;return!!U&&K$1($,I,0)>-1}function Y$1($,I,U){var Y=-1,J=$?$.length:0;while(++Y<J)if(U(I,$[Y]))return!0;return!1}function J$1($,I){var U=-1,Y=I.length,J=$.length;while(++U<Y)$[J+U]=I[U];return $}function Q$1($,I,U,Y){var J=$.length,Q=U+(Y?1:-1);while(Y?Q--:++Q<J)if(I($[Q],Q,$))return Q;return-1}function K$1($,I,U){if(I!==I)return Q$1($,q$1,U);var Y=U-1,J=$.length;while(++Y<J)if($[Y]===I)return Y;return-1}function q$1($){return $!==$}function G$1($,I){return $.has(I)}function H$1($,I){return $==null?void 0:$[I]}function W$1($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function rU0($){var I=-1,U=Array($.size);return $.forEach(function(Y){U[++I]=Y}),U}var V$1=Array.prototype,Z$1=Function.prototype,x_=Object.prototype,g_=Uw["__core-js_shared__"],dU0=function(){var $=/[^.]+$/.exec(g_&&g_.keys&&g_.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}(),tU0=Z$1.toString,Yw=x_.hasOwnProperty,aU0=x_.toString,z$1=RegExp("^"+tU0.call(Yw).replace(a61,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mU0=Uw.Symbol,X$1=x_.propertyIsEnumerable,w$1=V$1.splice,lU0=mU0?mU0.isConcatSpreadable:void 0,oU0=Math.max,L$1=k_(Uw,"Map"),y_=k_(Uw,"Set"),rK=k_(Object,"create");function T3($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function D$1(){this.__data__=rK?rK(null):{}}function O$1($){return this.has($)&&delete this.__data__[$]}function N$1($){var I=this.__data__;if(rK){var U=I[$];return U===h_?void 0:U}return Yw.call(I,$)?I[$]:void 0}function F$1($){var I=this.__data__;return rK?I[$]!==void 0:Yw.call(I,$)}function M$1($,I){var U=this.__data__;return U[$]=rK&&I===void 0?h_:I,this}T3.prototype.clear=D$1;T3.prototype.delete=O$1;T3.prototype.get=N$1;T3.prototype.has=F$1;T3.prototype.set=M$1;function yY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function A$1(){this.__data__=[]}function P$1($){var I=this.__data__,U=Jw(I,$);if(U<0)return!1;var Y=I.length-1;if(U==Y)I.pop();else w$1.call(I,U,1);return!0}function T$1($){var I=this.__data__,U=Jw(I,$);return U<0?void 0:I[U][1]}function E$1($){return Jw(this.__data__,$)>-1}function B$1($,I){var U=this.__data__,Y=Jw(U,$);if(Y<0)U.push([$,I]);else U[Y][1]=I;return this}yY.prototype.clear=A$1;yY.prototype.delete=P$1;yY.prototype.get=T$1;yY.prototype.has=E$1;yY.prototype.set=B$1;function hY($){var I=-1,U=$?$.length:0;this.clear();while(++I<U){var Y=$[I];this.set(Y[0],Y[1])}}function R$1(){this.__data__={hash:new T3,map:new(L$1||yY),string:new T3}}function v$1($){return Qw(this,$).delete($)}function C$1($){return Qw(this,$).get($)}function j$1($){return Qw(this,$).has($)}function _$1($,I){return Qw(this,$).set($,I),this}hY.prototype.clear=R$1;hY.prototype.delete=v$1;hY.prototype.get=C$1;hY.prototype.has=j$1;hY.prototype.set=_$1;function Iw($){var I=-1,U=$?$.length:0;this.__data__=new hY;while(++I<U)this.add($[I])}function S$1($){return this.__data__.set($,h_),this}function g$1($){return this.__data__.has($)}Iw.prototype.add=Iw.prototype.push=S$1;Iw.prototype.has=g$1;function Jw($,I){var U=$.length;while(U--)if(p$1($[U][0],I))return U;return-1}function sU0($,I,U,Y,J){var Q=-1,K=$.length;U||(U=u$1),J||(J=[]);while(++Q<K){var q=$[Q];if(I>0&&U(q))if(I>1)sU0(q,I-1,U,Y,J);else J$1(J,q);else if(!Y)J[J.length]=q}return J}function y$1($){if(!IY0($)||b$1($))return!1;var I=$Y0($)||W$1($)?z$1:s61;return I.test(i$1($))}function h$1($,I){return I=oU0(I===void 0?$.length-1:I,0),function(){var U=arguments,Y=-1,J=oU0(U.length-I,0),Q=Array(J);while(++Y<J)Q[Y]=U[I+Y];Y=-1;var K=Array(I+1);while(++Y<I)K[Y]=U[Y];return K[I]=Q,I$1($,this,K)}}function x$1($,I,U){var Y=-1,J=U$1,Q=$.length,K=!0,q=[],G=q;if(U)K=!1,J=Y$1;else if(Q>=d61){var H=I?null:k$1($);if(H)return rU0(H);K=!1,J=G$1,G=new Iw}else G=I?[]:q;$:while(++Y<Q){var W=$[Y],V=I?I(W):W;if(W=U||W!==0?W:0,K&&V===V){var z=G.length;while(z--)if(G[z]===V)continue $;if(I)G.push(V);q.push(W)}else if(!J(G,V,U)){if(G!==q)G.push(V);q.push(W)}}return q}var k$1=!(y_&&1/rU0(new y_([,-0]))[1]==m61)?r$1:function($){return new y_($)};function Qw($,I){var U=$.__data__;return f$1(I)?U[typeof I=="string"?"string":"hash"]:U.map}function k_($,I){var U=H$1($,I);return y$1(U)?U:void 0}function u$1($){return d$1($)||c$1($)||!!(lU0&&$&&$[lU0])}function f$1($){var I=typeof $;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?$!=="__proto__":$===null}function b$1($){return!!dU0&&dU0 in $}function i$1($){if($!=null){try{return tU0.call($)}catch(I){}try{return $+""}catch(I){}}return""}var n$1=h$1(function($){return x$1(sU0($,1,eU0,!0))});function p$1($,I){return $===I||$!==$&&I!==I}function c$1($){return eU0($)&&Yw.call($,"callee")&&(!X$1.call($,"callee")||aU0.call($)==o61)}var d$1=Array.isArray;function m$1($){return $!=null&&l$1($.length)&&!$Y0($)}function eU0($){return o$1($)&&m$1($)}function $Y0($){var I=IY0($)?aU0.call($):"";return I==r61||I==t61}function l$1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=l61}function IY0($){var I=typeof $;return!!$&&(I=="object"||I=="function")}function o$1($){return!!$&&typeof $=="object"}function r$1(){}UY0.exports=n$1});var f_=O((jB1,QY0)=>{var t$1="[object Object]";function a$1($){var I=!1;if($!=null&&typeof $.toString!="function")try{I=!!($+"")}catch(U){}return I}function s$1($,I){return function(U){return $(I(U))}}var e$1=Function.prototype,YY0=Object.prototype,JY0=e$1.toString,$81=YY0.hasOwnProperty,I81=JY0.call(Object),U81=YY0.toString,Y81=s$1(Object.getPrototypeOf,Object);function J81($){return!!$&&typeof $=="object"}function Q81($){if(!J81($)||U81.call($)!=t$1||a$1($))return!1;var I=Y81($);if(I===null)return!0;var U=$81.call(I,"constructor")&&I.constructor;return typeof U=="function"&&U instanceof U&&JY0.call(U)==I81}QY0.exports=Q81});var KY0=O((H81)=>{var E3=r("path"),m9=process.platform==="win32",d9=r("fs"),K81=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function q81(){var $;if(K81){var I=Error();$=U}else $=Y;return $;function U(J){if(J)I.message=J.message,J=I,Y(J)}function Y(J){if(J){if(process.throwDeprecation)throw J;else if(!process.noDeprecation){var Q="fs: missing callback "+(J.stack||J.message);if(process.traceDeprecation)console.trace(Q);else console.error(Q)}}}}function G81($){return typeof $==="function"?$:q81()}var _B1=E3.normalize;if(m9)g8=/(.*?)(?:[\/\\]+|$)/g;else g8=/(.*?)(?:[\/]+|$)/g;var g8;if(m9)xY=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else xY=/^[\/]*/;var xY;H81.realpathSync=function(I,U){if(I=E3.resolve(I),U&&Object.prototype.hasOwnProperty.call(U,I))return U[I];var Y=I,J={},Q={},K,q,G,H;W();function W(){var D=xY.exec(I);if(K=D[0].length,q=D[0],G=D[0],H="",m9&&!Q[G])d9.lstatSync(G),Q[G]=!0}while(K<I.length){g8.lastIndex=K;var V=g8.exec(I);if(H=q,q+=V[0],G=H+V[1],K=g8.lastIndex,Q[G]||U&&U[G]===G)continue;var z;if(U&&Object.prototype.hasOwnProperty.call(U,G))z=U[G];else{var Z=d9.lstatSync(G);if(!Z.isSymbolicLink()){if(Q[G]=!0,U)U[G]=G;continue}var w=null;if(!m9){var L=Z.dev.toString(32)+":"+Z.ino.toString(32);if(J.hasOwnProperty(L))w=J[L]}if(w===null)d9.statSync(G),w=d9.readlinkSync(G);if(z=E3.resolve(H,w),U)U[G]=z;if(!m9)J[L]=w}I=E3.resolve(z,I.slice(K)),W()}if(U)U[Y]=I;return I};H81.realpath=function(I,U,Y){if(typeof Y!=="function")Y=G81(U),U=null;if(I=E3.resolve(I),U&&Object.prototype.hasOwnProperty.call(U,I))return process.nextTick(Y.bind(null,null,U[I]));var J=I,Q={},K={},q,G,H,W;V();function V(){var D=xY.exec(I);if(q=D[0].length,G=D[0],H=D[0],W="",m9&&!K[H])d9.lstat(H,function(N){if(N)return Y(N);K[H]=!0,z()});else process.nextTick(z)}function z(){if(q>=I.length){if(U)U[J]=I;return Y(null,I)}g8.lastIndex=q;var D=g8.exec(I);if(W=G,G+=D[0],H=W+D[1],q=g8.lastIndex,K[H]||U&&U[H]===H)return process.nextTick(z);if(U&&Object.prototype.hasOwnProperty.call(U,H))return L(U[H]);return d9.lstat(H,Z)}function Z(D,N){if(D)return Y(D);if(!N.isSymbolicLink()){if(K[H]=!0,U)U[H]=H;return process.nextTick(z)}if(!m9){var E=N.dev.toString(32)+":"+N.ino.toString(32);if(Q.hasOwnProperty(E))return w(null,Q[E],H)}d9.stat(H,function(T){if(T)return Y(T);d9.readlink(H,function(A,v){if(!m9)Q[E]=v;w(A,v)})})}function w(D,N,E){if(D)return Y(D);var T=E3.resolve(W,N);if(U)U[E]=T;L(T)}function L(D){I=E3.resolve(D,I.slice(q)),V()}}});var p_=O((gB1,WY0)=>{WY0.exports=l9;l9.realpath=l9;l9.sync=n_;l9.realpathSync=n_;l9.monkeypatch=z81;l9.unmonkeypatch=X81;var kY=r("fs"),b_=kY.realpath,i_=kY.realpathSync,Z81=process.version,qY0=/^v[0-5]\./.test(Z81),GY0=KY0();function HY0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function l9($,I,U){if(qY0)return b_($,I,U);if(typeof I==="function")U=I,I=null;b_($,I,function(Y,J){if(HY0(Y))GY0.realpath($,I,U);else U(Y,J)})}function n_($,I){if(qY0)return i_($,I);try{return i_($,I)}catch(U){if(HY0(U))return GY0.realpathSync($,I);else throw U}}function z81(){kY.realpath=l9,kY.realpathSync=n_}function X81(){kY.realpath=b_,kY.realpathSync=i_}});var ZY0=O((yB1,VY0)=>{VY0.exports=function($,I){var U=[];for(var Y=0;Y<$.length;Y++){var J=I($[Y],Y);if(w81(J))U.push.apply(U,J);else U.push(J)}return U};var w81=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var FY0=O((xB1,NY0)=>{var hB1=ZY0(),zY0=Bj();NY0.exports=F81;var XY0="\x00SLASH"+Math.random()+"\x00",wY0="\x00OPEN"+Math.random()+"\x00",m_="\x00CLOSE"+Math.random()+"\x00",LY0="\x00COMMA"+Math.random()+"\x00",DY0="\x00PERIOD"+Math.random()+"\x00",L81=1e5,D81=4000000;function c_($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function O81($){return $.split("\\\\").join(XY0).split("\\{").join(wY0).split("\\}").join(m_).split("\\,").join(LY0).split("\\.").join(DY0)}function N81($){return $.split(XY0).join("\\").split(wY0).join("{").split(m_).join("}").split(LY0).join(",").split(DY0).join(".")}function OY0($){if(!$)return[""];var I=[],U=zY0("{","}",$);if(!U)return $.split(",");var{pre:Y,body:J,post:Q}=U,K=Y.split(",");K[K.length-1]+="{"+J+"}";var q=OY0(Q);if(Q.length)K[K.length-1]+=q.shift(),K.push.apply(K,q);return I.push.apply(I,K),I}function F81($,I){if(!$)return[];I=I||{};var U=I.max==null?L81:I.max,Y=I.maxLength==null?D81:I.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return d_(O81($),U,Y,!0).map(N81)}function M81($){return"{"+$+"}"}function A81($){return/^-?0\d/.test($)}function P81($,I){return $<=I}function T81($,I){return $>=I}function tK($,I,U,Y,J,Q,K,q){var G=[],H=0;for(var W=0;W<$.length;W++)for(var V=0;V<Y.length;V++){if(G.length>=J)return G;var z=$[W]+U+Y[V];if(K&&z.length===I[W])continue;if(H+z.length>Q)return G;G.push(z),q.push(I[W]),H+=z.length}return G}function E81($,I,U,Y){var J=$.split(/\.\./),Q=[];if(J[0]===void 0||J[1]===void 0)return Q;var K=c_(J[0]),q=c_(J[1]),G=Math.max(J[0].length,J[1].length),H=J.length===3&&J[2]!==void 0?Math.max(Math.abs(c_(J[2])),1):1,W=P81,V=q<K;if(V)H*=-1,W=T81;var z=J.some(A81),Z=0;for(var w=K;W(w,q)&&Q.length<U;w+=H){var L;if(I){if(L=String.fromCharCode(w),L==="\\")L=""}else if(L=String(w),z){var D=G-L.length;if(D>0){var N=Array(D+1).join("0");if(w<0)L="-"+N+L.slice(1);else L=N+L}}if(Z+L.length>Y)break;Q.push(L),Z+=L.length}return Q}function d_($,I,U,Y){var J=[""],Q=[0],K=!1,q=!0,G;for(;;){var H=zY0("{","}",$);if(!H)return tK(J,Q,$,[""],I,U,K,[]);var W=H.pre;if(/\$$/.test(W))return tK(J,Q,$,[""],I,U,K,[]);var V=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(H.body),z=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(H.body),Z=V||z,w=H.body.indexOf(",")>=0;if(!Z&&!w){if(H.post.match(/,(?!,).*\}/)){$=H.pre+"{"+H.body+m_+H.post,Y=!0,q=!0,K=!1,Q=[];for(var L=0;L<J.length;L++)Q.push(J[L].length);continue}return tK(J,Q,W+"{"+H.body+"}"+H.post,[""],I,U,K,[])}if(q)K=Y&&!Z,q=!1;var D;if(Z)D=E81(H.body,z,I,U);else{var N=OY0(H.body);if(N.length===1&&N[0]!==void 0){if(N=d_(N[0],I,U,!1).map(M81),N.length===1){if(G=[],J=tK(J,Q,W+N[0],[""],I,U,K&&!H.post.length,G),Q=G,!H.post.length)break;$=H.post;continue}}var E=K&&!H.post.length&&!W;for(var T=0;E&&T<J.length;T++)if(J[T].length!==Q[T])E=!1;D=[];var A=0;$:for(var v=0;v<N.length;v++){var u=d_(N[v],I,U,!1);for(var g=0;g<u.length;g++){var b=u[g];if(E&&!b)continue;if(D.length>=I||A+b.length>U)break $;D.push(b),A+=b.length}}}if(G=[],J=tK(J,Q,W,D,I,U,K&&!H.post.length,G),Q=G,!H.post.length)break;$=H.post}return J}});var Gw=O((kB1,EY0)=>{EY0.exports=K$;K$.Minimatch=B4;var aK=function(){try{return r("path")}catch($){}}()||{sep:"/"};K$.sep=aK.sep;var B3=K$.GLOBSTAR=B4.GLOBSTAR={},B81=FY0(),MY0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},l_="[^/]",o_=l_+"*?",R81="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",v81="(?:(?!(?:\\/|^)\\.).)*?",AY0=C81("().*{}+?[]^$\\!");function C81($){return $.split("").reduce(function(I,U){return I[U]=!0,I},{})}var PY0=/\/+/;K$.filter=j81;function j81($,I){return I=I||{},function(U,Y,J){return K$(U,$,I)}}function o9($,I){I=I||{};var U={};return Object.keys($).forEach(function(Y){U[Y]=$[Y]}),Object.keys(I).forEach(function(Y){U[Y]=I[Y]}),U}K$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return K$;var I=K$,U=function(J,Q,K){return I(J,Q,o9($,K))};return U.Minimatch=function(J,Q){return new I.Minimatch(J,o9($,Q))},U.Minimatch.defaults=function(J){return I.defaults(o9($,J)).Minimatch},U.filter=function(J,Q){return I.filter(J,o9($,Q))},U.defaults=function(J){return I.defaults(o9($,J))},U.makeRe=function(J,Q){return I.makeRe(J,o9($,Q))},U.braceExpand=function(J,Q){return I.braceExpand(J,o9($,Q))},U.match=function(Y,J,Q){return I.match(Y,J,o9($,Q))},U};B4.defaults=function($){return K$.defaults($).Minimatch};function K$($,I,U){if(qw(I),!U)U={};if(!U.nocomment&&I.charAt(0)==="#")return!1;return new B4(I,U).match($)}function B4($,I){if(!(this instanceof B4))return new B4($,I);if(qw($),!I)I={};if($=$.trim(),!I.allowWindowsEscape&&aK.sep!=="/")$=$.split(aK.sep).join("/");this.options=I,this.maxGlobstarRecursion=I.maxGlobstarRecursion!==void 0?I.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!I.partial,this.make()}B4.prototype.debug=function(){};B4.prototype.make=_81;function _81(){var $=this.pattern,I=this.options;if(!I.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var U=this.globSet=this.braceExpand();if(I.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,U),U=this.globParts=U.map(function(Y){return Y.split(PY0)}),this.debug(this.pattern,U),U=U.map(function(Y,J,Q){return Y.map(this.parse,this)},this),this.debug(this.pattern,U),U=U.filter(function(Y){return Y.indexOf(!1)===-1}),this.debug(this.pattern,U),this.set=U}B4.prototype.parseNegate=S81;function S81(){var $=this.pattern,I=!1,U=this.options,Y=0;if(U.nonegate)return;for(var J=0,Q=$.length;J<Q&&$.charAt(J)==="!";J++)I=!I,Y++;if(Y)this.pattern=$.substr(Y);this.negate=I}K$.braceExpand=function($,I){return TY0($,I)};B4.prototype.braceExpand=TY0;function TY0($,I){if(!I)if(this instanceof B4)I=this.options;else I={};if($=typeof $>"u"?this.pattern:$,qw($),I.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return B81($)}var g81=65536,qw=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>g81)throw TypeError("pattern is too long")};B4.prototype.parse=y81;var Kw={};function y81($,I){qw($);var U=this.options;if($==="**")if(!U.noglobstar)return B3;else $="*";if($==="")return"";var Y="",J=!!U.nocase,Q=!1,K=[],q=[],G,H=!1,W=-1,V=-1,z=$.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",Z=this;function w(){if(G){switch(G){case"*":Y+=o_,J=!0;break;case"?":Y+=l_,J=!0;break;default:Y+="\\"+G;break}Z.debug("clearStateChar %j %j",G,Y),G=!1}}for(var L=0,D=$.length,N;L<D&&(N=$.charAt(L));L++){if(this.debug("%s\t%s %s %j",$,L,Y,N),Q&&AY0[N]){Y+="\\"+N,Q=!1;continue}switch(N){case"/":return!1;case"\\":w(),Q=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,L,Y,N),H){if(this.debug(" in class"),N==="!"&&L===V+1)N="^";Y+=N;continue}if(N==="*"&&G==="*")continue;if(Z.debug("call clearStateChar %j",G),w(),G=N,U.noext)w();continue;case"(":if(H){Y+="(";continue}if(!G){Y+="\\(";continue}K.push({type:G,start:L-1,reStart:Y.length,open:MY0[G].open,close:MY0[G].close}),Y+=G==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",G,Y),G=!1;continue;case")":if(H||!K.length){Y+="\\)";continue}w(),J=!0;var E=K.pop();if(Y+=E.close,E.type==="!")q.push(E);E.reEnd=Y.length;continue;case"|":if(H||!K.length||Q){Y+="\\|",Q=!1;continue}w(),Y+="|";continue;case"[":if(w(),H){Y+="\\"+N;continue}H=!0,V=L,W=Y.length,Y+=N;continue;case"]":if(L===V+1||!H){Y+="\\"+N,Q=!1;continue}var T=$.substring(V+1,L);try{RegExp("["+T+"]")}catch(K0){var A=this.parse(T,Kw);Y=Y.substr(0,W)+"\\["+A[0]+"\\]",J=J||A[1],H=!1;continue}J=!0,H=!1,Y+=N;continue;default:if(w(),Q)Q=!1;else if(AY0[N]&&!(N==="^"&&H))Y+="\\";Y+=N}}if(H)T=$.substr(V+1),A=this.parse(T,Kw),Y=Y.substr(0,W)+"\\["+A[0],J=J||A[1];for(E=K.pop();E;E=K.pop()){var v=Y.slice(E.reStart+E.open.length);this.debug("setting tail",Y,E),v=v.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(K0,W0,M0){if(!M0)M0="\\";return W0+W0+M0+"|"}),this.debug(`tail=%j
%s`,v,v,E,Y);var u=E.type==="*"?o_:E.type==="?"?l_:"\\"+E.type;J=!0,Y=Y.slice(0,E.reStart)+u+"\\("+v}if(w(),Q)Y+="\\\\";var g=!1;switch(Y.charAt(0)){case"[":case".":case"(":g=!0}for(var b=q.length-1;b>-1;b--){var C=q[b],p=Y.slice(0,C.reStart),n=Y.slice(C.reStart,C.reEnd-8),S=Y.slice(C.reEnd-8,C.reEnd),f=Y.slice(C.reEnd);S+=f;var i=p.split("(").length-1,Y0=f;for(L=0;L<i;L++)Y0=Y0.replace(/\)[+*?]?/,"");f=Y0;var B="";if(f===""&&I!==Kw)B="$";var k=p+n+f+B+S;Y=k}if(Y!==""&&J)Y="(?=.)"+Y;if(g)Y=z+Y;if(I===Kw)return[Y,J];if(!J)return x81($);var d=U.nocase?"i":"";try{var t=new RegExp("^"+Y+"$",d)}catch(K0){return new RegExp("$.")}return t._glob=$,t._src=Y,t}K$.makeRe=function($,I){return new B4($,I||{}).makeRe()};B4.prototype.makeRe=h81;function h81(){if(this.regexp||this.regexp===!1)return this.regexp;var $=this.set;if(!$.length)return this.regexp=!1,this.regexp;var I=this.options,U=I.noglobstar?o_:I.dot?R81:v81,Y=I.nocase?"i":"",J=$.map(function(Q){return Q.map(function(K){return K===B3?U:typeof K==="string"?k81(K):K._src}).join("\\/")}).join("|");if(J="^(?:"+J+")$",this.negate)J="^(?!"+J+").*$";try{this.regexp=new RegExp(J,Y)}catch(Q){this.regexp=!1}return this.regexp}K$.match=function($,I,U){U=U||{};var Y=new B4(I,U);if($=$.filter(function(J){return Y.match(J)}),Y.options.nonull&&!$.length)$.push(I);return $};B4.prototype.match=function(I,U){if(typeof U>"u")U=this.partial;if(this.debug("match",I,this.pattern),this.comment)return!1;if(this.empty)return I==="";if(I==="/"&&U)return!0;var Y=this.options;if(aK.sep!=="/")I=I.split(aK.sep).join("/");I=I.split(PY0),this.debug(this.pattern,"split",I);var J=this.set;this.debug(this.pattern,"set",J);var Q,K;for(K=I.length-1;K>=0;K--)if(Q=I[K],Q)break;for(K=0;K<J.length;K++){var q=J[K],G=I;if(Y.matchBase&&q.length===1)G=[Q];var H=this.matchOne(G,q,U);if(H){if(Y.flipNegate)return!0;return!this.negate}}if(Y.flipNegate)return!1;return this.negate};B4.prototype.matchOne=function($,I,U){if(I.indexOf(B3)!==-1)return this._matchGlobstar($,I,U,0,0);return this._matchOne($,I,U,0,0)};B4.prototype._matchGlobstar=function($,I,U,Y,J){var Q,K=-1;for(Q=J;Q<I.length;Q++)if(I[Q]===B3){K=Q;break}var q=-1;for(Q=I.length-1;Q>=0;Q--)if(I[Q]===B3){q=Q;break}var G=I.slice(J,K),H=U?I.slice(K+1):I.slice(K+1,q),W=U?[]:I.slice(q+1);if(G.length){var V=$.slice(Y,Y+G.length);if(!this._matchOne(V,G,U,0,0))return!1;Y+=G.length}var z=0;if(W.length){if(W.length+Y>$.length)return!1;var Z=$.length-W.length;if(this._matchOne($,W,U,Z,0))z=W.length;else{if($[$.length-1]!==""||Y+W.length===$.length)return!1;if(Z--,!this._matchOne($,W,U,Z,0))return!1;z=W.length+1}}if(!H.length){var w=!!z;for(Q=Y;Q<$.length-z;Q++){var L=String($[Q]);if(w=!0,L==="."||L===".."||!this.options.dot&&L.charAt(0)===".")return!1}return U||w}var D=[[[],0]],N=D[0],E=0,T=[0];for(var A=0;A<H.length;A++){var v=H[A];if(v===B3)T.push(E),N=[[],0],D.push(N);else N[0].push(v),E++}var u=D.length-1,g=$.length-z;for(var b=0;b<D.length;b++)D[b][1]=g-(T[u--]+D[b][0].length);return!!this._matchGlobStarBodySections($,D,Y,0,U,0,!!z)};B4.prototype._matchGlobStarBodySections=function($,I,U,Y,J,Q,K){var q=I[Y];if(!q){for(var G=U;G<$.length;G++){K=!0;var H=$[G];if(H==="."||H===".."||!this.options.dot&&H.charAt(0)===".")return!1}return K}var W=q[0],V=q[1];while(U<=V){var z=this._matchOne($.slice(0,U+W.length),W,J,U,0);if(z&&Q<this.maxGlobstarRecursion){var Z=this._matchGlobStarBodySections($,I,U+W.length,Y+1,J,Q+1,K);if(Z!==!1)return Z}var H=$[U];if(H==="."||H===".."||!this.options.dot&&H.charAt(0)===".")return!1;U++}return J||null};B4.prototype._matchOne=function($,I,U,Y,J){var Q,K,q,G;for(Q=Y,K=J,q=$.length,G=I.length;Q<q&&K<G;Q++,K++){this.debug("matchOne loop");var H=I[K],W=$[Q];if(this.debug(I,H,W),H===!1||H===B3)return!1;var V;if(typeof H==="string")V=W===H,this.debug("string match",H,W,V);else V=W.match(H),this.debug("pattern match",H,W,V);if(!V)return!1}if(Q===q&&K===G)return!0;else if(Q===q)return U;else if(K===G)return Q===q-1&&$[Q]==="";throw Error("wtf?")};function x81($){return $.replace(/\\(.)/g,"$1")}function k81($){return $.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Ww=O((uB1,Hw)=>{function BY0($){return $.charAt(0)==="/"}function RY0($){var I=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,U=I.exec($),Y=U[1]||"",J=Boolean(Y&&Y.charAt(1)!==":");return Boolean(U[2]||J)}Hw.exports=process.platform==="win32"?RY0:BY0;Hw.exports.posix=BY0;Hw.exports.win32=RY0});var t_=O((l81)=>{l81.setopts=p81;l81.ownProp=vY0;l81.makeAbs=sK;l81.finish=c81;l81.mark=d81;l81.isIgnored=jY0;l81.childrenIgnored=m81;function vY0($,I){return Object.prototype.hasOwnProperty.call($,I)}var u81=r("fs"),uY=r("path"),f81=Gw(),CY0=Ww(),r_=f81.Minimatch;function b81($,I){return $.localeCompare(I,"en")}function i81($,I){if($.ignore=I.ignore||[],!Array.isArray($.ignore))$.ignore=[$.ignore];if($.ignore.length)$.ignore=$.ignore.map(n81)}function n81($){var I=null;if($.slice(-3)==="/**"){var U=$.replace(/(\/\*\*)+$/,"");I=new r_(U,{dot:!0})}return{matcher:new r_($,{dot:!0}),gmatcher:I}}function p81($,I,U){if(!U)U={};if(U.matchBase&&I.indexOf("/")===-1){if(U.noglobstar)throw Error("base matching requires globstar");I="**/"+I}if($.silent=!!U.silent,$.pattern=I,$.strict=U.strict!==!1,$.realpath=!!U.realpath,$.realpathCache=U.realpathCache||Object.create(null),$.follow=!!U.follow,$.dot=!!U.dot,$.mark=!!U.mark,$.nodir=!!U.nodir,$.nodir)$.mark=!0;$.sync=!!U.sync,$.nounique=!!U.nounique,$.nonull=!!U.nonull,$.nosort=!!U.nosort,$.nocase=!!U.nocase,$.stat=!!U.stat,$.noprocess=!!U.noprocess,$.absolute=!!U.absolute,$.fs=U.fs||u81,$.maxLength=U.maxLength||1/0,$.cache=U.cache||Object.create(null),$.statCache=U.statCache||Object.create(null),$.symlinks=U.symlinks||Object.create(null),i81($,U),$.changedCwd=!1;var Y=process.cwd();if(!vY0(U,"cwd"))$.cwd=Y;else $.cwd=uY.resolve(U.cwd),$.changedCwd=$.cwd!==Y;if($.root=U.root||uY.resolve($.cwd,"/"),$.root=uY.resolve($.root),process.platform==="win32")$.root=$.root.replace(/\\/g,"/");if($.cwdAbs=CY0($.cwd)?$.cwd:sK($,$.cwd),process.platform==="win32")$.cwdAbs=$.cwdAbs.replace(/\\/g,"/");$.nomount=!!U.nomount,U.nonegate=!0,U.nocomment=!0,U.allowWindowsEscape=!1,$.minimatch=new r_(I,U),$.options=$.minimatch.options}function c81($){var I=$.nounique,U=I?[]:Object.create(null);for(var Y=0,J=$.matches.length;Y<J;Y++){var Q=$.matches[Y];if(!Q||Object.keys(Q).length===0){if($.nonull){var K=$.minimatch.globSet[Y];if(I)U.push(K);else U[K]=!0}}else{var q=Object.keys(Q);if(I)U.push.apply(U,q);else q.forEach(function(G){U[G]=!0})}}if(!I)U=Object.keys(U);if(!$.nosort)U=U.sort(b81);if($.mark){for(var Y=0;Y<U.length;Y++)U[Y]=$._mark(U[Y]);if($.nodir)U=U.filter(function(G){var H=!/\/$/.test(G),W=$.cache[G]||$.cache[sK($,G)];if(H&&W)H=W!=="DIR"&&!Array.isArray(W);return H})}if($.ignore.length)U=U.filter(function(G){return!jY0($,G)});$.found=U}function d81($,I){var U=sK($,I),Y=$.cache[U],J=I;if(Y){var Q=Y==="DIR"||Array.isArray(Y),K=I.slice(-1)==="/";if(Q&&!K)J+="/";else if(!Q&&K)J=J.slice(0,-1);if(J!==I){var q=sK($,J);$.statCache[q]=$.statCache[U],$.cache[q]=$.cache[U]}}return J}function sK($,I){var U=I;if(I.charAt(0)==="/")U=uY.join($.root,I);else if(CY0(I)||I==="")U=I;else if($.changedCwd)U=uY.resolve($.cwd,I);else U=uY.resolve(I);if(process.platform==="win32")U=U.replace(/\\/g,"/");return U}function jY0($,I){if(!$.ignore.length)return!1;return $.ignore.some(function(U){return U.matcher.match(I)||!!(U.gmatcher&&U.gmatcher.match(I))})}function m81($,I){if(!$.ignore.length)return!1;return $.ignore.some(function(U){return!!(U.gmatcher&&U.gmatcher.match(I))})}});var hY0=O((pB1,yY0)=>{yY0.exports=gY0;gY0.GlobSync=y4;var I51=p_(),_Y0=Gw(),bB1=_Y0.Minimatch,iB1=eK().Glob,nB1=r("util"),a_=r("path"),SY0=r("assert"),Vw=Ww(),R3=t_(),U51=R3.setopts,s_=R3.ownProp,Y51=R3.childrenIgnored,J51=R3.isIgnored;function gY0($,I){if(typeof I==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob
See: https://github.com/isaacs/node-glob/issues/167`);return new y4($,I).found}function y4($,I){if(!$)throw Error("must provide pattern");if(typeof I==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof y4))return new y4($,I);if(U51(this,$,I),this.noprocess)return this;var U=this.minimatch.set.length;this.matches=Array(U);for(var Y=0;Y<U;Y++)this._process(this.minimatch.set[Y],Y,!1);this._finish()}y4.prototype._finish=function(){if(SY0.ok(this instanceof y4),this.realpath){var $=this;this.matches.forEach(function(I,U){var Y=$.matches[U]=Object.create(null);for(var J in I)try{J=$._makeAbs(J);var Q=I51.realpathSync(J,$.realpathCache);Y[Q]=!0}catch(K){if(K.syscall==="stat")Y[$._makeAbs(J)]=!0;else throw K}})}R3.finish(this)};y4.prototype._process=function($,I,U){SY0.ok(this instanceof y4);var Y=0;while(typeof $[Y]==="string")Y++;var J;switch(Y){case $.length:this._processSimple($.join("/"),I);return;case 0:J=null;break;default:J=$.slice(0,Y).join("/");break}var Q=$.slice(Y),K;if(J===null)K=".";else if(Vw(J)||Vw($.map(function(H){return typeof H==="string"?H:"[*]"}).join("/"))){if(!J||!Vw(J))J="/"+J;K=J}else K=J;var q=this._makeAbs(K);if(Y51(this,K))return;var G=Q[0]===_Y0.GLOBSTAR;if(G)this._processGlobStar(J,K,q,Q,I,U);else this._processReaddir(J,K,q,Q,I,U)};y4.prototype._processReaddir=function($,I,U,Y,J,Q){var K=this._readdir(U,Q);if(!K)return;var q=Y[0],G=!!this.minimatch.negate,H=q._glob,W=this.dot||H.charAt(0)===".",V=[];for(var z=0;z<K.length;z++){var Z=K[z];if(Z.charAt(0)!=="."||W){var w;if(G&&!$)w=!Z.match(q);else w=Z.match(q);if(w)V.push(Z)}}var L=V.length;if(L===0)return;if(Y.length===1&&!this.mark&&!this.stat){if(!this.matches[J])this.matches[J]=Object.create(null);for(var z=0;z<L;z++){var Z=V[z];if($)if($.slice(-1)!=="/")Z=$+"/"+Z;else Z=$+Z;if(Z.charAt(0)==="/"&&!this.nomount)Z=a_.join(this.root,Z);this._emitMatch(J,Z)}return}Y.shift();for(var z=0;z<L;z++){var Z=V[z],D;if($)D=[$,Z];else D=[Z];this._process(D.concat(Y),J,Q)}};y4.prototype._emitMatch=function($,I){if(J51(this,I))return;var U=this._makeAbs(I);if(this.mark)I=this._mark(I);if(this.absolute)I=U;if(this.matches[$][I])return;if(this.nodir){var Y=this.cache[U];if(Y==="DIR"||Array.isArray(Y))return}if(this.matches[$][I]=!0,this.stat)this._stat(I)};y4.prototype._readdirInGlobStar=function($){if(this.follow)return this._readdir($,!1);var I,U,Y;try{U=this.fs.lstatSync($)}catch(Q){if(Q.code==="ENOENT")return null}var J=U&&U.isSymbolicLink();if(this.symlinks[$]=J,!J&&U&&!U.isDirectory())this.cache[$]="FILE";else I=this._readdir($,!1);return I};y4.prototype._readdir=function($,I){var U;if(I&&!s_(this.symlinks,$))return this._readdirInGlobStar($);if(s_(this.cache,$)){var Y=this.cache[$];if(!Y||Y==="FILE")return null;if(Array.isArray(Y))return Y}try{return this._readdirEntries($,this.fs.readdirSync($))}catch(J){return this._readdirError($,J),null}};y4.prototype._readdirEntries=function($,I){if(!this.mark&&!this.stat)for(var U=0;U<I.length;U++){var Y=I[U];if($==="/")Y=$+Y;else Y=$+"/"+Y;this.cache[Y]=!0}return this.cache[$]=I,I};y4.prototype._readdirError=function($,I){switch(I.code){case"ENOTSUP":case"ENOTDIR":var U=this._makeAbs($);if(this.cache[U]="FILE",U===this.cwdAbs){var Y=Error(I.code+" invalid cwd "+this.cwd);throw Y.path=this.cwd,Y.code=I.code,Y}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 I;if(!this.silent)console.error("glob error",I);break}};y4.prototype._processGlobStar=function($,I,U,Y,J,Q){var K=this._readdir(U,Q);if(!K)return;var q=Y.slice(1),G=$?[$]:[],H=G.concat(q);this._process(H,J,!1);var W=K.length,V=this.symlinks[U];if(V&&Q)return;for(var z=0;z<W;z++){var Z=K[z];if(Z.charAt(0)==="."&&!this.dot)continue;var w=G.concat(K[z],q);this._process(w,J,!0);var L=G.concat(K[z],Y);this._process(L,J,!0)}};y4.prototype._processSimple=function($,I){var U=this._stat($);if(!this.matches[I])this.matches[I]=Object.create(null);if(!U)return;if($&&Vw($)&&!this.nomount){var Y=/[\/\\]$/.test($);if($.charAt(0)==="/")$=a_.join(this.root,$);else if($=a_.resolve(this.root,$),Y)$+="/"}if(process.platform==="win32")$=$.replace(/\\/g,"/");this._emitMatch(I,$)};y4.prototype._stat=function($){var I=this._makeAbs($),U=$.slice(-1)==="/";if($.length>this.maxLength)return!1;if(!this.stat&&s_(this.cache,I)){var K=this.cache[I];if(Array.isArray(K))K="DIR";if(!U||K==="DIR")return K;if(U&&K==="FILE")return!1}var Y,J=this.statCache[I];if(!J){var Q;try{Q=this.fs.lstatSync(I)}catch(q){if(q&&(q.code==="ENOENT"||q.code==="ENOTDIR"))return this.statCache[I]=!1,!1}if(Q&&Q.isSymbolicLink())try{J=this.fs.statSync(I)}catch(q){J=Q}else J=Q}this.statCache[I]=J;var K=!0;if(J)K=J.isDirectory()?"DIR":"FILE";if(this.cache[I]=this.cache[I]||K,U&&K==="FILE")return!1;return K};y4.prototype._mark=function($){return R3.mark(this,$)};y4.prototype._makeAbs=function($){return R3.makeAbs(this,$)}});var e_=O((cB1,kY0)=>{kY0.exports=xY0;function xY0($,I){if($&&I)return xY0($)(I);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(Y){U[Y]=$[Y]}),U;function U(){var Y=Array(arguments.length);for(var J=0;J<Y.length;J++)Y[J]=arguments[J];var Q=$.apply(this,Y),K=Y[Y.length-1];if(typeof Q==="function"&&Q!==K)Object.keys(K).forEach(function(q){Q[q]=K[q]});return Q}}});var zw=O((dB1,$S)=>{var uY0=e_();$S.exports=uY0(Zw);$S.exports.strict=uY0(fY0);Zw.proto=Zw(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return Zw(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return fY0(this)},configurable:!0})});function Zw($){var I=function(){if(I.called)return I.value;return I.called=!0,I.value=$.apply(this,arguments)};return I.called=!1,I}function fY0($){var I=function(){if(I.called)throw Error(I.onceError);return I.called=!0,I.value=$.apply(this,arguments)},U=$.name||"Function wrapped with `once`";return I.onceError=U+" shouldn't be called more than once",I.called=!1,I}});var iY0=O((mB1,bY0)=>{var Q51=e_(),$q=Object.create(null),K51=zw();bY0.exports=Q51(q51);function q51($,I){if($q[$])return $q[$].push(I),null;else return $q[$]=[I],G51($)}function G51($){return K51(function I(){var U=$q[$],Y=U.length,J=H51(arguments);try{for(var Q=0;Q<Y;Q++)U[Q].apply(null,J)}finally{if(U.length>Y)U.splice(0,Y),process.nextTick(function(){I.apply(null,J)});else delete $q[$]}})}function H51($){var I=$.length,U=[];for(var Y=0;Y<I;Y++)U[Y]=$[Y];return U}});var eK=O((rB1,pY0)=>{pY0.exports=v3;var W51=p_(),nY0=Gw(),lB1=nY0.Minimatch,V51=p0(),Z51=r("events").EventEmitter,IS=r("path"),US=r("assert"),Iq=Ww(),JS=hY0(),C3=t_(),z51=C3.setopts,YS=C3.ownProp,QS=iY0(),oB1=r("util"),X51=C3.childrenIgnored,w51=C3.isIgnored,L51=zw();function v3($,I,U){if(typeof I==="function")U=I,I={};if(!I)I={};if(I.sync){if(U)throw TypeError("callback provided to sync glob");return JS($,I)}return new j1($,I,U)}v3.sync=JS;var D51=v3.GlobSync=JS.GlobSync;v3.glob=v3;function O51($,I){if(I===null||typeof I!=="object")return $;var U=Object.keys(I),Y=U.length;while(Y--)$[U[Y]]=I[U[Y]];return $}v3.hasMagic=function($,I){var U=O51({},I);U.noprocess=!0;var Y=new j1($,U),J=Y.minimatch.set;if(!$)return!1;if(J.length>1)return!0;for(var Q=0;Q<J[0].length;Q++)if(typeof J[0][Q]!=="string")return!0;return!1};v3.Glob=j1;V51(j1,Z51);function j1($,I,U){if(typeof I==="function")U=I,I=null;if(I&&I.sync){if(U)throw TypeError("callback provided to sync glob");return new D51($,I)}if(!(this instanceof j1))return new j1($,I,U);z51(this,$,I),this._didRealPath=!1;var Y=this.minimatch.set.length;if(this.matches=Array(Y),typeof U==="function")U=L51(U),this.on("error",U),this.on("end",function(G){U(null,G)});var J=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(Y===0)return q();var Q=!0;for(var K=0;K<Y;K++)this._process(this.minimatch.set[K],K,!1,q);Q=!1;function q(){if(--J._processing,J._processing<=0)if(Q)process.nextTick(function(){J._finish()});else J._finish()}}j1.prototype._finish=function(){if(US(this instanceof j1),this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();C3.finish(this),this.emit("end",this.found)};j1.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var $=this.matches.length;if($===0)return this._finish();var I=this;for(var U=0;U<this.matches.length;U++)this._realpathSet(U,Y);function Y(){if(--$===0)I._finish()}};j1.prototype._realpathSet=function($,I){var U=this.matches[$];if(!U)return I();var Y=Object.keys(U),J=this,Q=Y.length;if(Q===0)return I();var K=this.matches[$]=Object.create(null);Y.forEach(function(q,G){q=J._makeAbs(q),W51.realpath(q,J.realpathCache,function(H,W){if(!H)K[W]=!0;else if(H.syscall==="stat")K[q]=!0;else J.emit("error",H);if(--Q===0)J.matches[$]=K,I()})})};j1.prototype._mark=function($){return C3.mark(this,$)};j1.prototype._makeAbs=function($){return C3.makeAbs(this,$)};j1.prototype.abort=function(){this.aborted=!0,this.emit("abort")};j1.prototype.pause=function(){if(!this.paused)this.paused=!0,this.emit("pause")};j1.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 I=0;I<$.length;I++){var U=$[I];this._emitMatch(U[0],U[1])}}if(this._processQueue.length){var Y=this._processQueue.slice(0);this._processQueue.length=0;for(var I=0;I<Y.length;I++){var J=Y[I];this._processing--,this._process(J[0],J[1],J[2],J[3])}}}};j1.prototype._process=function($,I,U,Y){if(US(this instanceof j1),US(typeof Y==="function"),this.aborted)return;if(this._processing++,this.paused){this._processQueue.push([$,I,U,Y]);return}var J=0;while(typeof $[J]==="string")J++;var Q;switch(J){case $.length:this._processSimple($.join("/"),I,Y);return;case 0:Q=null;break;default:Q=$.slice(0,J).join("/");break}var K=$.slice(J),q;if(Q===null)q=".";else if(Iq(Q)||Iq($.map(function(W){return typeof W==="string"?W:"[*]"}).join("/"))){if(!Q||!Iq(Q))Q="/"+Q;q=Q}else q=Q;var G=this._makeAbs(q);if(X51(this,q))return Y();var H=K[0]===nY0.GLOBSTAR;if(H)this._processGlobStar(Q,q,G,K,I,U,Y);else this._processReaddir(Q,q,G,K,I,U,Y)};j1.prototype._processReaddir=function($,I,U,Y,J,Q,K){var q=this;this._readdir(U,Q,function(G,H){return q._processReaddir2($,I,U,Y,J,Q,H,K)})};j1.prototype._processReaddir2=function($,I,U,Y,J,Q,K,q){if(!K)return q();var G=Y[0],H=!!this.minimatch.negate,W=G._glob,V=this.dot||W.charAt(0)===".",z=[];for(var Z=0;Z<K.length;Z++){var w=K[Z];if(w.charAt(0)!=="."||V){var L;if(H&&!$)L=!w.match(G);else L=w.match(G);if(L)z.push(w)}}var D=z.length;if(D===0)return q();if(Y.length===1&&!this.mark&&!this.stat){if(!this.matches[J])this.matches[J]=Object.create(null);for(var Z=0;Z<D;Z++){var w=z[Z];if($)if($!=="/")w=$+"/"+w;else w=$+w;if(w.charAt(0)==="/"&&!this.nomount)w=IS.join(this.root,w);this._emitMatch(J,w)}return q()}Y.shift();for(var Z=0;Z<D;Z++){var w=z[Z],N;if($)if($!=="/")w=$+"/"+w;else w=$+w;this._process([w].concat(Y),J,Q,q)}q()};j1.prototype._emitMatch=function($,I){if(this.aborted)return;if(w51(this,I))return;if(this.paused){this._emitQueue.push([$,I]);return}var U=Iq(I)?I:this._makeAbs(I);if(this.mark)I=this._mark(I);if(this.absolute)I=U;if(this.matches[$][I])return;if(this.nodir){var Y=this.cache[U];if(Y==="DIR"||Array.isArray(Y))return}this.matches[$][I]=!0;var J=this.statCache[U];if(J)this.emit("stat",I,J);this.emit("match",I)};j1.prototype._readdirInGlobStar=function($,I){if(this.aborted)return;if(this.follow)return this._readdir($,!1,I);var U="lstat\x00"+$,Y=this,J=QS(U,Q);if(J)Y.fs.lstat($,J);function Q(K,q){if(K&&K.code==="ENOENT")return I();var G=q&&q.isSymbolicLink();if(Y.symlinks[$]=G,!G&&q&&!q.isDirectory())Y.cache[$]="FILE",I();else Y._readdir($,!1,I)}};j1.prototype._readdir=function($,I,U){if(this.aborted)return;if(U=QS("readdir\x00"+$+"\x00"+I,U),!U)return;if(I&&!YS(this.symlinks,$))return this._readdirInGlobStar($,U);if(YS(this.cache,$)){var Y=this.cache[$];if(!Y||Y==="FILE")return U();if(Array.isArray(Y))return U(null,Y)}var J=this;J.fs.readdir($,N51(this,$,U))};function N51($,I,U){return function(Y,J){if(Y)$._readdirError(I,Y,U);else $._readdirEntries(I,J,U)}}j1.prototype._readdirEntries=function($,I,U){if(this.aborted)return;if(!this.mark&&!this.stat)for(var Y=0;Y<I.length;Y++){var J=I[Y];if($==="/")J=$+J;else J=$+"/"+J;this.cache[J]=!0}return this.cache[$]=I,U(null,I)};j1.prototype._readdirError=function($,I,U){if(this.aborted)return;switch(I.code){case"ENOTSUP":case"ENOTDIR":var Y=this._makeAbs($);if(this.cache[Y]="FILE",Y===this.cwdAbs){var J=Error(I.code+" invalid cwd "+this.cwd);J.path=this.cwd,J.code=I.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",I),this.abort();if(!this.silent)console.error("glob error",I);break}return U()};j1.prototype._processGlobStar=function($,I,U,Y,J,Q,K){var q=this;this._readdir(U,Q,function(G,H){q._processGlobStar2($,I,U,Y,J,Q,H,K)})};j1.prototype._processGlobStar2=function($,I,U,Y,J,Q,K,q){if(!K)return q();var G=Y.slice(1),H=$?[$]:[],W=H.concat(G);this._process(W,J,!1,q);var V=this.symlinks[U],z=K.length;if(V&&Q)return q();for(var Z=0;Z<z;Z++){var w=K[Z];if(w.charAt(0)==="."&&!this.dot)continue;var L=H.concat(K[Z],G);this._process(L,J,!0,q);var D=H.concat(K[Z],Y);this._process(D,J,!0,q)}q()};j1.prototype._processSimple=function($,I,U){var Y=this;this._stat($,function(J,Q){Y._processSimple2($,I,J,Q,U)})};j1.prototype._processSimple2=function($,I,U,Y,J){if(!this.matches[I])this.matches[I]=Object.create(null);if(!Y)return J();if($&&Iq($)&&!this.nomount){var Q=/[\/\\]$/.test($);if($.charAt(0)==="/")$=IS.join(this.root,$);else if($=IS.resolve(this.root,$),Q)$+="/"}if(process.platform==="win32")$=$.replace(/\\/g,"/");this._emitMatch(I,$),J()};j1.prototype._stat=function($,I){var U=this._makeAbs($),Y=$.slice(-1)==="/";if($.length>this.maxLength)return I();if(!this.stat&&YS(this.cache,U)){var J=this.cache[U];if(Array.isArray(J))J="DIR";if(!Y||J==="DIR")return I(null,J);if(Y&&J==="FILE")return I()}var Q,K=this.statCache[U];if(K!==void 0)if(K===!1)return I(null,K);else{var q=K.isDirectory()?"DIR":"FILE";if(Y&&q==="FILE")return I();else return I(null,q,K)}var G=this,H=QS("stat\x00"+U,W);if(H)G.fs.lstat(U,H);function W(V,z){if(z&&z.isSymbolicLink())return G.fs.stat(U,function(Z,w){if(Z)G._stat2($,U,null,z,I);else G._stat2($,U,Z,w,I)});else G._stat2($,U,V,z,I)}};j1.prototype._stat2=function($,I,U,Y,J){if(U&&(U.code==="ENOENT"||U.code==="ENOTDIR"))return this.statCache[I]=!1,J();var Q=$.slice(-1)==="/";if(this.statCache[I]=Y,I.slice(-1)==="/"&&Y&&!Y.isDirectory())return J(null,!1,Y);var K=!0;if(Y)K=Y.isDirectory()?"DIR":"FILE";if(this.cache[I]=this.cache[I]||K,Q&&K==="FILE")return J();return J(null,K,Y)}});var lY0=O((tB1,mY0)=>{var dY0=m6(),fY=r("path"),KS=B_(),F51=S_(),M51=u_(),A51=f_(),P51=eK(),j3=mY0.exports={},cY0=/[\/\\]/g,T51=function($,I){var U=[];return KS($).forEach(function(Y){var J=Y.indexOf("!")===0;if(J)Y=Y.slice(1);var Q=I(Y);if(J)U=F51(U,Q);else U=M51(U,Q)}),U};j3.exists=function(){var $=fY.join.apply(fY,arguments);return dY0.existsSync($)};j3.expand=function(...$){var I=A51($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var Y=T51(U,function(J){return P51.sync(J,I)});if(I.filter)Y=Y.filter(function(J){J=fY.join(I.cwd||"",J);try{if(typeof I.filter==="function")return I.filter(J);else return dY0.statSync(J)[I.filter]()}catch(Q){return!1}});return Y};j3.expandMapping=function($,I,U){U=Object.assign({rename:function(Q,K){return fY.join(Q||"",K)}},U);var Y=[],J={};return j3.expand(U,$).forEach(function(Q){var K=Q;if(U.flatten)K=fY.basename(K);if(U.ext)K=K.replace(/(\.[^\/]*)?$/,U.ext);var q=U.rename(I,K,U);if(U.cwd)Q=fY.join(U.cwd,Q);if(q=q.replace(cY0,"/"),Q=Q.replace(cY0,"/"),J[q])J[q].src.push(Q);else Y.push({src:[Q],dest:q}),J[q]=Y[Y.length-1]}),Y};j3.normalizeFilesArray=function($){var I=[];if($.forEach(function(U){var Y;if("src"in U||"dest"in U)I.push(U)}),I.length===0)return[];return I=_(I).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=KS(U.src);else U.src=[U.src]}).map(function(U){var Y=Object.assign({},U);if(delete Y.src,delete Y.dest,U.expand)return j3.expandMapping(U.src,U.dest,Y).map(function(Q){var K=Object.assign({},U);return K.orig=Object.assign({},U),K.src=Q.src,K.dest=Q.dest,["expand","cwd","flatten","rename","ext"].forEach(function(q){delete K[q]}),K});var J=Object.assign({},U);if(J.orig=Object.assign({},U),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function Q(){var K;if(!("result"in Q))K=U.src,K=Array.isArray(K)?KS(K):[K],Q.result=j3.expand(Y,K);return Q.result}});if("dest"in J)J.dest=U.dest;return J}).flatten().value(),I}});var Uq=O((sB1,tY0)=>{var qS=m6(),oY0=r("path"),aB1=r("util"),E51=J_(),rY0=nX(),B51=G_(),R51=r("stream").Stream,v51=vU0().PassThrough,q$=tY0.exports={};q$.file=lY0();q$.collectStream=function($,I){var U=[],Y=0;$.on("error",I),$.on("data",function(J){U.push(J),Y+=J.length}),$.on("end",function(){var J=new Buffer(Y),Q=0;U.forEach(function(K){K.copy(J,Q),Q+=K.length}),I(null,J)})};q$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};q$.defaults=function($,I,U){var Y=arguments;return Y[0]=Y[0]||{},B51(...Y)};q$.isStream=function($){return $ instanceof R51};q$.lazyReadStream=function($){return new E51.Readable(function(){return qS.createReadStream($)})};q$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(q$.isStream($)&&!$._readableState){var I=new v51;return $.pipe(I),I}return $};q$.sanitizePath=function($){return rY0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};q$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};q$.unixifyPath=function($){return rY0($,!1).replace(/^\w+:/,"")};q$.walkdir=function($,I,U){var Y=[];if(typeof I==="function")U=I,I=$;qS.readdir($,function(J,Q){var K=0,q,G;if(J)return U(J);(function H(){if(q=Q[K++],!q)return U(null,Y);G=oY0.join($,q),qS.stat(G,function(W,V){if(Y.push({path:G,relative:oY0.relative(I,G).replace(/\\/g,"/"),stats:V}),V&&V.isDirectory())q$.walkdir(G,I,function(z,Z){Z.forEach(function(w){Y.push(w)}),H()});else H()})})()})}});var $J0=O((sY0,eY0)=>{var C51=r("util"),j51={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 aY0($,I){Error.captureStackTrace(this,this.constructor),this.message=j51[$]||$,this.code=$,this.data=I}C51.inherits(aY0,Error);sY0=eY0.exports=aY0});var QJ0=O((eB1,JJ0)=>{var WS=r("fs"),UJ0=b30(),IJ0=n30(),GS=r("path"),y8=Uq(),_51=r("util").inherits,w4=$J0(),YJ0=w6().Transform,HS=process.platform==="win32",M1=function($,I){if(!(this instanceof M1))return new M1($,I);if(typeof $!=="string")I=$,$="zip";I=this.options=y8.defaults(I,{highWaterMark:1048576,statConcurrency:4}),YJ0.call(this,I),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=IJ0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=IJ0.queue(this._onStatQueueTask.bind(this),I.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};_51(M1,YJ0);M1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};M1.prototype._append=function($,I){I=I||{};var U={source:null,filepath:$};if(!I.name)I.name=$;if(I.sourcePath=$,U.data=I,this._entriesCount++,I.stats&&I.stats instanceof WS.Stats){if(U=this._updateQueueTaskWithStats(U,I.stats),U){if(I.stats.size)this._fsEntriesTotalBytes+=I.stats.size;this._queue.push(U)}}else this._statQueue.push(U)};M1.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};M1.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};M1.prototype._moduleAppend=function($,I,U){if(this._state.aborted){U();return}this._module.append($,I,function(Y){if(this._task=null,this._state.aborted){this._shutdown();return}if(Y){this.emit("error",Y),setImmediate(U);return}if(this.emit("entry",I),this._entriesProcessedCount++,I.stats&&I.stats.size)this._fsEntriesProcessedBytes+=I.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(U)}.bind(this))};M1.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 w4("NOENDMETHOD"))};M1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};M1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};M1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};M1.prototype._normalizeEntryData=function($,I){if($=y8.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),I&&$.stats===!1)$.stats=I;var U=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=y8.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")U=!0,$.type="directory";else if(U)$.name+="/"}if(typeof $.mode==="number")if(HS)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(HS)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(HS&&U)$.mode=493}else if($.mode===null)$.mode=U?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=y8.dateify($.date);return $};M1.prototype._onModuleError=function($){this.emit("error",$)};M1.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()};M1.prototype._onQueueTask=function($,I){var U=()=>{if($.data.callback)$.data.callback();I()};if(this._state.finalizing||this._state.finalized||this._state.aborted){U();return}this._task=$,this._moduleAppend($.source,$.data,U)};M1.prototype._onStatQueueTask=function($,I){if(this._state.finalizing||this._state.finalized||this._state.aborted){I();return}WS.lstat($.filepath,function(U,Y){if(this._state.aborted){setImmediate(I);return}if(U){this._entriesCount--,this.emit("warning",U),setImmediate(I);return}if($=this._updateQueueTaskWithStats($,Y),$){if(Y.size)this._fsEntriesTotalBytes+=Y.size;this._queue.push($)}setImmediate(I)}.bind(this))};M1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};M1.prototype._transform=function($,I,U){if($)this._pointer+=$.length;U(null,$)};M1.prototype._updateQueueTaskWithStats=function($,I){if(I.isFile())$.data.type="file",$.data.sourceType="stream",$.source=y8.lazyReadStream($.filepath);else if(I.isDirectory()&&this._moduleSupports("directory"))$.data.name=y8.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=y8.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(I.isSymbolicLink()&&this._moduleSupports("symlink")){var U=WS.readlinkSync($.filepath),Y=GS.dirname($.filepath);$.data.type="symlink",$.data.linkname=GS.relative(Y,GS.resolve(Y,U)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(I.isDirectory())this.emit("warning",new w4("DIRECTORYNOTSUPPORTED",$.data));else if(I.isSymbolicLink())this.emit("warning",new w4("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new w4("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,I),$};M1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};M1.prototype.append=function($,I){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(I=this._normalizeEntryData(I),typeof I.name!=="string"||I.name.length===0)return this.emit("error",new w4("ENTRYNAMEREQUIRED")),this;if(I.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new w4("DIRECTORYNOTSUPPORTED",{name:I.name})),this;if($=y8.normalizeInputSource($),Buffer.isBuffer($))I.sourceType="buffer";else if(y8.isStream($))I.sourceType="stream";else return this.emit("error",new w4("INPUTSTEAMBUFFERREQUIRED",{name:I.name})),this;return this._entriesCount++,this._queue.push({data:I,source:$}),this};M1.prototype.directory=function($,I,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new w4("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,I===!1)I="";else if(typeof I!=="string")I=$;var Y=!1;if(typeof U==="function")Y=U,U={};else if(typeof U!=="object")U={};var J={stat:!0,dot:!0};function Q(){this._pending--,this._maybeFinalize()}function K(H){this.emit("error",H)}function q(H){G.pause();var W=!1,V=Object.assign({},U);V.name=H.relative,V.prefix=I,V.stats=H.stat,V.callback=G.resume.bind(G);try{if(Y){if(V=Y(V),V===!1)W=!0;else if(typeof V!=="object")throw new w4("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(z){this.emit("error",z);return}if(W){G.resume();return}this._append(H.absolute,V)}var G=UJ0($,J);return G.on("error",K.bind(this)),G.on("match",q.bind(this)),G.on("end",Q.bind(this)),this};M1.prototype.file=function($,I){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new w4("FILEFILEPATHREQUIRED")),this;return this._append($,I),this};M1.prototype.glob=function($,I,U){this._pending++,I=y8.defaults(I,{stat:!0,pattern:$});function Y(){this._pending--,this._maybeFinalize()}function J(q){this.emit("error",q)}function Q(q){K.pause();var G=Object.assign({},U);G.callback=K.resume.bind(K),G.stats=q.stat,G.name=q.relative,this._append(q.absolute,G)}var K=UJ0(I.cwd||".",I);return K.on("error",J.bind(this)),K.on("match",Q.bind(this)),K.on("end",Y.bind(this)),this};M1.prototype.finalize=function(){if(this._state.aborted){var $=new w4("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var I=new w4("FINALIZING");return this.emit("error",I),Promise.reject(I)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var U=this;return new Promise(function(Y,J){var Q;U._module.on("end",function(){if(!Q)Y()}),U._module.on("error",function(K){Q=!0,J(K)})})};M1.prototype.setFormat=function($){if(this._format)return this.emit("error",new w4("FORMATSET")),this;return this._format=$,this};M1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new w4("ABORTED")),this;if(this._state.module)return this.emit("error",new w4("MODULESET")),this;return this._module=$,this._modulePipe(),this};M1.prototype.symlink=function($,I,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new w4("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new w4("SYMLINKFILEPATHREQUIRED")),this;if(typeof I!=="string"||I.length===0)return this.emit("error",new w4("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new w4("SYMLINKNOTSUPPORTED",{filepath:$})),this;var Y={};if(Y.type="symlink",Y.name=$.replace(/\\/g,"/"),Y.linkname=I.replace(/\\/g,"/"),Y.sourceType="buffer",typeof U==="number")Y.mode=U;return this._entriesCount++,this._queue.push({data:Y,source:Buffer.concat([])}),this};M1.prototype.pointer=function(){return this._pointer};M1.prototype.use=function($){return this._streams.push($),this};JJ0.exports=M1});var ww=O(($R1,KJ0)=>{var Xw=KJ0.exports=function(){};Xw.prototype.getName=function(){};Xw.prototype.getSize=function(){};Xw.prototype.getLastModifiedDate=function(){};Xw.prototype.isDirectory=function(){}});var Lw=O((IR1,qJ0)=>{var C$=qJ0.exports={};C$.dateToDos=function($,I){I=I||!1;var U=I?$.getFullYear():$.getUTCFullYear();if(U<1980)return 2162688;else if(U>=2044)return 2141175677;var Y={year:U,month:I?$.getMonth():$.getUTCMonth(),date:I?$.getDate():$.getUTCDate(),hours:I?$.getHours():$.getUTCHours(),minutes:I?$.getMinutes():$.getUTCMinutes(),seconds:I?$.getSeconds():$.getUTCSeconds()};return Y.year-1980<<25|Y.month+1<<21|Y.date<<16|Y.hours<<11|Y.minutes<<5|Y.seconds/2};C$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};C$.fromDosTime=function($){return C$.dosToDate($.readUInt32LE(0))};C$.getEightBytes=function($){var I=Buffer.alloc(8);return I.writeUInt32LE($%4294967296,0),I.writeUInt32LE($/4294967296|0,4),I};C$.getShortBytes=function($){var I=Buffer.alloc(2);return I.writeUInt16LE(($&65535)>>>0,0),I};C$.getShortBytesValue=function($,I){return $.readUInt16LE(I)};C$.getLongBytes=function($){var I=Buffer.alloc(4);return I.writeUInt32LE(($&4294967295)>>>0,0),I};C$.getLongBytesValue=function($,I){return $.readUInt32LE(I)};C$.toDosTime=function($){return C$.getLongBytes(C$.dateToDos($))}});var VS=O((UR1,zJ0)=>{var GJ0=Lw(),HJ0=8,WJ0=1,S51=4,g51=2,VJ0=64,ZJ0=2048,K6=zJ0.exports=function(){if(!(this instanceof K6))return new K6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};K6.prototype.encode=function(){return GJ0.getShortBytes((this.descriptor?HJ0:0)|(this.utf8?ZJ0:0)|(this.encryption?WJ0:0)|(this.strongEncryption?VJ0:0))};K6.prototype.parse=function($,I){var U=GJ0.getShortBytesValue($,I),Y=new K6;return Y.useDataDescriptor((U&HJ0)!==0),Y.useUTF8ForNames((U&ZJ0)!==0),Y.useStrongEncryption((U&VJ0)!==0),Y.useEncryption((U&WJ0)!==0),Y.setSlidingDictionarySize((U&g51)!==0?8192:4096),Y.setNumberOfShannonFanoTrees((U&S51)!==0?3:2),Y};K6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};K6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};K6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};K6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};K6.prototype.useDataDescriptor=function($){this.descriptor=$};K6.prototype.usesDataDescriptor=function(){return this.descriptor};K6.prototype.useEncryption=function($){this.encryption=$};K6.prototype.usesEncryption=function(){return this.encryption};K6.prototype.useStrongEncryption=function($){this.strongEncryption=$};K6.prototype.usesStrongEncryption=function(){return this.strongEncryption};K6.prototype.useUTF8ForNames=function($){this.utf8=$};K6.prototype.usesUTF8ForNames=function(){return this.utf8}});var wJ0=O((YR1,XJ0)=>{XJ0.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 ZS=O((JR1,LJ0)=>{LJ0.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 zS=O((QR1,MJ0)=>{var y51=r("util").inherits,h51=nX(),OJ0=ww(),NJ0=VS(),DJ0=wJ0(),j6=ZS(),FJ0=Lw(),U1=MJ0.exports=function($){if(!(this instanceof U1))return new U1($);if(OJ0.call(this),this.platform=j6.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new NJ0,this.crc=0,this.time=-1,this.minver=j6.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};y51(U1,OJ0);U1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};U1.prototype.getComment=function(){return this.comment!==null?this.comment:""};U1.prototype.getCompressedSize=function(){return this.csize};U1.prototype.getCrc=function(){return this.crc};U1.prototype.getExternalAttributes=function(){return this.exattr};U1.prototype.getExtra=function(){return this.extra!==null?this.extra:j6.EMPTY};U1.prototype.getGeneralPurposeBit=function(){return this.gpb};U1.prototype.getInternalAttributes=function(){return this.inattr};U1.prototype.getLastModifiedDate=function(){return this.getTime()};U1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};U1.prototype.getMethod=function(){return this.method};U1.prototype.getName=function(){return this.name};U1.prototype.getPlatform=function(){return this.platform};U1.prototype.getSize=function(){return this.size};U1.prototype.getTime=function(){return this.time!==-1?FJ0.dosToDate(this.time):-1};U1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};U1.prototype.getUnixMode=function(){return this.platform!==j6.PLATFORM_UNIX?0:this.getExternalAttributes()>>j6.SHORT_SHIFT&j6.SHORT_MASK};U1.prototype.getVersionNeededToExtract=function(){return this.minver};U1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};U1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};U1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};U1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};U1.prototype.setExtra=function($){this.extra=$};U1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof NJ0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};U1.prototype.setInternalAttributes=function($){this.inattr=$};U1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};U1.prototype.setName=function($,I=!1){if($=h51($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),I)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};U1.prototype.setPlatform=function($){this.platform=$};U1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};U1.prototype.setTime=function($,I){if(!($ instanceof Date))throw Error("invalid entry time");this.time=FJ0.dateToDos($,I)};U1.prototype.setUnixMode=function($){$|=this.isDirectory()?j6.S_IFDIR:j6.S_IFREG;var I=0;I|=$<<j6.SHORT_SHIFT|(this.isDirectory()?j6.S_DOS_D:j6.S_DOS_A),this.setExternalAttributes(I),this.mode=$&j6.MODE_MASK,this.platform=j6.PLATFORM_UNIX};U1.prototype.setVersionNeededToExtract=function($){this.minver=$};U1.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};U1.prototype.isUnixSymlink=function(){return(this.getUnixMode()&DJ0.FILE_TYPE_FLAG)===DJ0.LINK_FLAG};U1.prototype.isZip64=function(){return this.csize>j6.ZIP64_MAGIC||this.size>j6.ZIP64_MAGIC}});var wS=O((KR1,AJ0)=>{var x51=r("stream").Stream,k51=w6().PassThrough,XS=AJ0.exports={};XS.isStream=function($){return $ instanceof x51};XS.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(XS.isStream($)&&!$._readableState){var I=new k51;return $.pipe(I),I}return $}});var DS=O((qR1,TJ0)=>{var u51=r("util").inherits,LS=w6().Transform,f51=ww(),PJ0=wS(),G$=TJ0.exports=function($){if(!(this instanceof G$))return new G$($);LS.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};u51(G$,LS);G$.prototype._appendBuffer=function($,I,U){};G$.prototype._appendStream=function($,I,U){};G$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};G$.prototype._finish=function($){};G$.prototype._normalizeEntry=function($){};G$.prototype._transform=function($,I,U){U(null,$)};G$.prototype.entry=function($,I,U){if(I=I||null,typeof U!=="function")U=this._emitErrorCallback.bind(this);if(!($ instanceof f51)){U(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){U(Error("unacceptable entry after finish"));return}if(this._archive.processing){U(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,I=PJ0.normalizeInputSource(I),Buffer.isBuffer(I))this._appendBuffer($,I,U);else if(PJ0.isStream(I))this._appendStream($,I,U);else{this._archive.processing=!1,U(Error("input source must be valid Stream or Buffer instance"));return}return this};G$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};G$.prototype.getBytesWritten=function(){return this.offset};G$.prototype.write=function($,I){if($)this.offset+=$.length;return LS.prototype.write.call(this,$,I)}});var MS=O((GR1,BJ0)=>{var r9=r("buffer").Buffer,OS=[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")OS=new Int32Array(OS);function EJ0($){if(r9.isBuffer($))return $;var I=typeof r9.alloc==="function"&&typeof r9.from==="function";if(typeof $==="number")return I?r9.alloc($):new r9($);else if(typeof $==="string")return I?r9.from($):new r9($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function b51($){var I=EJ0(4);return I.writeInt32BE($,0),I}function NS($,I){if($=EJ0($),r9.isBuffer(I))I=I.readUInt32BE(0);var U=~~I^-1;for(var Y=0;Y<$.length;Y++)U=OS[(U^$[Y])&255]^U>>>8;return U^-1}function FS(){return b51(NS.apply(null,arguments))}FS.signed=function(){return NS.apply(null,arguments)};FS.unsigned=function(){return NS.apply(null,arguments)>>>0};BJ0.exports=FS});var PS=O((AS)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var RJ0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof AS==="object")$(AS);else if(typeof define==="function"&&define.amd)define(function(){var I={};return $(I),I});else $(RJ0={});else $(RJ0={})})(function($){$.version="1.2.2";function I(){var g=0,b=Array(256);for(var C=0;C!=256;++C)g=C,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,g=g&1?-306674912^g>>>1:g>>>1,b[C]=g;return typeof Int32Array<"u"?new Int32Array(b):b}var U=I();function Y(g){var b=0,C=0,p=0,n=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(p=0;p!=256;++p)n[p]=g[p];for(p=0;p!=256;++p){C=g[p];for(b=256+p;b<4096;b+=256)C=n[b]=C>>>8^g[C&255]}var S=[];for(p=1;p!=16;++p)S[p-1]=typeof Int32Array<"u"?n.subarray(p*256,p*256+256):n.slice(p*256,p*256+256);return S}var J=Y(U),Q=J[0],K=J[1],q=J[2],G=J[3],H=J[4],W=J[5],V=J[6],z=J[7],Z=J[8],w=J[9],L=J[10],D=J[11],N=J[12],E=J[13],T=J[14];function A(g,b){var C=b^-1;for(var p=0,n=g.length;p<n;)C=C>>>8^U[(C^g.charCodeAt(p++))&255];return~C}function v(g,b){var C=b^-1,p=g.length-15,n=0;for(;n<p;)C=T[g[n++]^C&255]^E[g[n++]^C>>8&255]^N[g[n++]^C>>16&255]^D[g[n++]^C>>>24]^L[g[n++]]^w[g[n++]]^Z[g[n++]]^z[g[n++]]^V[g[n++]]^W[g[n++]]^H[g[n++]]^G[g[n++]]^q[g[n++]]^K[g[n++]]^Q[g[n++]]^U[g[n++]];p+=15;while(n<p)C=C>>>8^U[(C^g[n++])&255];return~C}function u(g,b){var C=b^-1;for(var p=0,n=g.length,S=0,f=0;p<n;)if(S=g.charCodeAt(p++),S<128)C=C>>>8^U[(C^S)&255];else if(S<2048)C=C>>>8^U[(C^(192|S>>6&31))&255],C=C>>>8^U[(C^(128|S&63))&255];else if(S>=55296&&S<57344)S=(S&1023)+64,f=g.charCodeAt(p++)&1023,C=C>>>8^U[(C^(240|S>>8&7))&255],C=C>>>8^U[(C^(128|S>>2&63))&255],C=C>>>8^U[(C^(128|f>>6&15|(S&3)<<4))&255],C=C>>>8^U[(C^(128|f&63))&255];else C=C>>>8^U[(C^(224|S>>12&15))&255],C=C>>>8^U[(C^(128|S>>6&63))&255],C=C>>>8^U[(C^(128|S&63))&255];return~C}$.table=U,$.bstr=A,$.buf=v,$.str=u})});var jJ0=O((WR1,CJ0)=>{var{Transform:i51}=w6(),n51=PS();class vJ0 extends i51{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,I,U){if($)this.checksum=n51.buf($,this.checksum)>>>0,this.rawSize+=$.length;U(null,$)}digest($){let I=Buffer.allocUnsafe(4);return I.writeUInt32BE(this.checksum>>>0,0),$?I.toString($):I}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}CJ0.exports=vJ0});var gJ0=O((VR1,SJ0)=>{var{DeflateRaw:p51}=r("zlib"),c51=PS();class _J0 extends p51{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,I){if($)this.compressedSize+=$.length;return super.push($,I)}_transform($,I,U){if($)this.checksum=c51.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,I,U)}digest($){let I=Buffer.allocUnsafe(4);return I.writeUInt32BE(this.checksum>>>0,0),$?I.toString($):I}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}SJ0.exports=_J0});var TS=O((ZR1,yJ0)=>{yJ0.exports={CRC32Stream:jJ0(),DeflateCRC32Stream:gJ0()}});var kJ0=O((LR1,xJ0)=>{var d51=r("util").inherits,m51=MS(),{CRC32Stream:l51}=TS(),{DeflateCRC32Stream:o51}=TS(),hJ0=DS(),zR1=zS(),XR1=VS(),l0=ZS(),wR1=wS(),y0=Lw(),b4=xJ0.exports=function($){if(!(this instanceof b4))return new b4($);$=this.options=this._defaults($),hJ0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};d51(b4,hJ0);b4.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()};b4.prototype._appendBuffer=function($,I,U){if(I.length===0)$.setMethod(l0.METHOD_STORED);var Y=$.getMethod();if(Y===l0.METHOD_STORED)$.setSize(I.length),$.setCompressedSize(I.length),$.setCrc(m51.unsigned(I));if(this._writeLocalFileHeader($),Y===l0.METHOD_STORED){this.write(I),this._afterAppend($),U(null,$);return}else if(Y===l0.METHOD_DEFLATED){this._smartStream($,U).end(I);return}else{U(Error("compression method "+Y+" not implemented"));return}};b4.prototype._appendStream=function($,I,U){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(l0.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var Y=this._smartStream($,U);I.once("error",function(J){Y.emit("error",J),Y.end()}),I.pipe(Y)};b4.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=l0.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};b4.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()};b4.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(l0.METHOD_DEFLATED);if($.getMethod()===l0.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(l0.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};b4.prototype._smartStream=function($,I){var U=$.getMethod()===l0.METHOD_DEFLATED,Y=U?new o51(this.options.zlib):new l51,J=null;function Q(){var K=Y.digest().readUInt32BE(0);$.setCrc(K),$.setSize(Y.size()),$.setCompressedSize(Y.size(!0)),this._afterAppend($),I(J,$)}return Y.once("end",Q.bind(this)),Y.once("error",function(K){J=K}),Y.pipe(this,{end:!1}),Y};b4.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,I=this._archive.centralLength,U=this._archive.centralOffset;if(this.isZip64())$=l0.ZIP64_MAGIC_SHORT,I=l0.ZIP64_MAGIC,U=l0.ZIP64_MAGIC;this.write(y0.getLongBytes(l0.SIG_EOCD)),this.write(l0.SHORT_ZERO),this.write(l0.SHORT_ZERO),this.write(y0.getShortBytes($)),this.write(y0.getShortBytes($)),this.write(y0.getLongBytes(I)),this.write(y0.getLongBytes(U));var Y=this.getComment(),J=Buffer.byteLength(Y);this.write(y0.getShortBytes(J)),this.write(Y)};b4.prototype._writeCentralDirectoryZip64=function(){this.write(y0.getLongBytes(l0.SIG_ZIP64_EOCD)),this.write(y0.getEightBytes(44)),this.write(y0.getShortBytes(l0.MIN_VERSION_ZIP64)),this.write(y0.getShortBytes(l0.MIN_VERSION_ZIP64)),this.write(l0.LONG_ZERO),this.write(l0.LONG_ZERO),this.write(y0.getEightBytes(this._entries.length)),this.write(y0.getEightBytes(this._entries.length)),this.write(y0.getEightBytes(this._archive.centralLength)),this.write(y0.getEightBytes(this._archive.centralOffset)),this.write(y0.getLongBytes(l0.SIG_ZIP64_EOCD_LOC)),this.write(l0.LONG_ZERO),this.write(y0.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(y0.getLongBytes(1))};b4.prototype._writeCentralFileHeader=function($){var I=$.getGeneralPurposeBit(),U=$.getMethod(),Y=$._offsets,J=$.getSize(),Q=$.getCompressedSize();if($.isZip64()||Y.file>l0.ZIP64_MAGIC){J=l0.ZIP64_MAGIC,Q=l0.ZIP64_MAGIC,$.setVersionNeededToExtract(l0.MIN_VERSION_ZIP64);var K=Buffer.concat([y0.getShortBytes(l0.ZIP64_EXTRA_ID),y0.getShortBytes(24),y0.getEightBytes($.getSize()),y0.getEightBytes($.getCompressedSize()),y0.getEightBytes(Y.file)],28);$.setExtra(K)}this.write(y0.getLongBytes(l0.SIG_CFH)),this.write(y0.getShortBytes($.getPlatform()<<8|l0.VERSION_MADEBY)),this.write(y0.getShortBytes($.getVersionNeededToExtract())),this.write(I.encode()),this.write(y0.getShortBytes(U)),this.write(y0.getLongBytes($.getTimeDos())),this.write(y0.getLongBytes($.getCrc())),this.write(y0.getLongBytes(Q)),this.write(y0.getLongBytes(J));var q=$.getName(),G=$.getComment(),H=$.getCentralDirectoryExtra();if(I.usesUTF8ForNames())q=Buffer.from(q),G=Buffer.from(G);if(this.write(y0.getShortBytes(q.length)),this.write(y0.getShortBytes(H.length)),this.write(y0.getShortBytes(G.length)),this.write(l0.SHORT_ZERO),this.write(y0.getShortBytes($.getInternalAttributes())),this.write(y0.getLongBytes($.getExternalAttributes())),Y.file>l0.ZIP64_MAGIC)this.write(y0.getLongBytes(l0.ZIP64_MAGIC));else this.write(y0.getLongBytes(Y.file));this.write(q),this.write(H),this.write(G)};b4.prototype._writeDataDescriptor=function($){if(this.write(y0.getLongBytes(l0.SIG_DD)),this.write(y0.getLongBytes($.getCrc())),$.isZip64())this.write(y0.getEightBytes($.getCompressedSize())),this.write(y0.getEightBytes($.getSize()));else this.write(y0.getLongBytes($.getCompressedSize())),this.write(y0.getLongBytes($.getSize()))};b4.prototype._writeLocalFileHeader=function($){var I=$.getGeneralPurposeBit(),U=$.getMethod(),Y=$.getName(),J=$.getLocalFileDataExtra();if($.isZip64())I.useDataDescriptor(!0),$.setVersionNeededToExtract(l0.MIN_VERSION_ZIP64);if(I.usesUTF8ForNames())Y=Buffer.from(Y);if($._offsets.file=this.offset,this.write(y0.getLongBytes(l0.SIG_LFH)),this.write(y0.getShortBytes($.getVersionNeededToExtract())),this.write(I.encode()),this.write(y0.getShortBytes(U)),this.write(y0.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,I.usesDataDescriptor())this.write(l0.LONG_ZERO),this.write(l0.LONG_ZERO),this.write(l0.LONG_ZERO);else this.write(y0.getLongBytes($.getCrc())),this.write(y0.getLongBytes($.getCompressedSize())),this.write(y0.getLongBytes($.getSize()));this.write(y0.getShortBytes(Y.length)),this.write(y0.getShortBytes(J.length)),this.write(Y),this.write(J),$._offsets.contents=this.offset};b4.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};b4.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>l0.ZIP64_MAGIC_SHORT||this._archive.centralLength>l0.ZIP64_MAGIC||this._archive.centralOffset>l0.ZIP64_MAGIC};b4.prototype.setComment=function($){this._archive.comment=$}});var ES=O((DR1,uJ0)=>{uJ0.exports={ArchiveEntry:ww(),ZipArchiveEntry:zS(),ArchiveOutputStream:DS(),ZipArchiveOutputStream:kJ0()}});var nJ0=O((OR1,iJ0)=>{var bJ0=m6(),bY=r("path"),BS=B_(),r51=S_(),t51=u_(),a51=f_(),s51=eK(),_3=iJ0.exports={},fJ0=/[\/\\]/g,e51=function($,I){var U=[];return BS($).forEach(function(Y){var J=Y.indexOf("!")===0;if(J)Y=Y.slice(1);var Q=I(Y);if(J)U=r51(U,Q);else U=t51(U,Q)}),U};_3.exists=function(){var $=bY.join.apply(bY,arguments);return bJ0.existsSync($)};_3.expand=function(...$){var I=a51($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var Y=e51(U,function(J){return s51.sync(J,I)});if(I.filter)Y=Y.filter(function(J){J=bY.join(I.cwd||"",J);try{if(typeof I.filter==="function")return I.filter(J);else return bJ0.statSync(J)[I.filter]()}catch(Q){return!1}});return Y};_3.expandMapping=function($,I,U){U=Object.assign({rename:function(Q,K){return bY.join(Q||"",K)}},U);var Y=[],J={};return _3.expand(U,$).forEach(function(Q){var K=Q;if(U.flatten)K=bY.basename(K);if(U.ext)K=K.replace(/(\.[^\/]*)?$/,U.ext);var q=U.rename(I,K,U);if(U.cwd)Q=bY.join(U.cwd,Q);if(q=q.replace(fJ0,"/"),Q=Q.replace(fJ0,"/"),J[q])J[q].src.push(Q);else Y.push({src:[Q],dest:q}),J[q]=Y[Y.length-1]}),Y};_3.normalizeFilesArray=function($){var I=[];if($.forEach(function(U){var Y;if("src"in U||"dest"in U)I.push(U)}),I.length===0)return[];return I=_(I).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=BS(U.src);else U.src=[U.src]}).map(function(U){var Y=Object.assign({},U);if(delete Y.src,delete Y.dest,U.expand)return _3.expandMapping(U.src,U.dest,Y).map(function(Q){var K=Object.assign({},U);return K.orig=Object.assign({},U),K.src=Q.src,K.dest=Q.dest,["expand","cwd","flatten","rename","ext"].forEach(function(q){delete K[q]}),K});var J=Object.assign({},U);if(J.orig=Object.assign({},U),"src"in J)Object.defineProperty(J,"src",{enumerable:!0,get:function Q(){var K;if(!("result"in Q))K=U.src,K=Array.isArray(K)?BS(K):[K],Q.result=_3.expand(Y,K);return Q.result}});if("dest"in J)J.dest=U.dest;return J}).flatten().value(),I}});var mJ0=O((NR1,dJ0)=>{var RS=m6(),pJ0=r("path"),$91=J_(),cJ0=nX(),I91=G_(),U91=r("stream").Stream,Y91=w6().PassThrough,H$=dJ0.exports={};H$.file=nJ0();H$.collectStream=function($,I){var U=[],Y=0;$.on("error",I),$.on("data",function(J){U.push(J),Y+=J.length}),$.on("end",function(){var J=Buffer.alloc(Y),Q=0;U.forEach(function(K){K.copy(J,Q),Q+=K.length}),I(null,J)})};H$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};H$.defaults=function($,I,U){var Y=arguments;return Y[0]=Y[0]||{},I91(...Y)};H$.isStream=function($){return $ instanceof U91};H$.lazyReadStream=function($){return new $91.Readable(function(){return RS.createReadStream($)})};H$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(H$.isStream($))return $.pipe(new Y91);return $};H$.sanitizePath=function($){return cJ0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};H$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};H$.unixifyPath=function($){return cJ0($,!1).replace(/^\w+:/,"")};H$.walkdir=function($,I,U){var Y=[];if(typeof I==="function")U=I,I=$;RS.readdir($,function(J,Q){var K=0,q,G;if(J)return U(J);(function H(){if(q=Q[K++],!q)return U(null,Y);G=pJ0.join($,q),RS.stat(G,function(W,V){if(Y.push({path:G,relative:pJ0.relative(I,G).replace(/\\/g,"/"),stats:V}),V&&V.isDirectory())H$.walkdir(G,I,function(z,Z){Z.forEach(function(w){Y.push(w)}),H()});else H()})})()})}});var oJ0=O((FR1,lJ0)=>{var J91=r("util").inherits,CS=ES().ZipArchiveOutputStream,Q91=ES().ZipArchiveEntry,vS=mJ0(),iY=lJ0.exports=function($){if(!(this instanceof iY))return new iY($);if($=this.options=$||{},$.zlib=$.zlib||{},CS.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)};J91(iY,CS);iY.prototype._normalizeFileData=function($){$=vS.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var I=$.type==="directory",U=$.type==="symlink";if($.name){if($.name=vS.sanitizePath($.name),!U&&$.name.slice(-1)==="/")I=!0,$.type="directory";else if(I)$.name+="/"}if(I||U)$.store=!0;return $.date=vS.dateify($.date),$};iY.prototype.entry=function($,I,U){if(typeof U!=="function")U=this._emitErrorCallback.bind(this);if(I=this._normalizeFileData(I),I.type!=="file"&&I.type!=="directory"&&I.type!=="symlink"){U(Error(I.type+" entries not currently supported"));return}if(typeof I.name!=="string"||I.name.length===0){U(Error("entry name must be a non-empty string value"));return}if(I.type==="symlink"&&typeof I.linkname!=="string"){U(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var Y=new Q91(I.name);if(Y.setTime(I.date,this.options.forceLocalTime),I.namePrependSlash)Y.setName(I.name,!0);if(I.store)Y.setMethod(0);if(I.comment.length>0)Y.setComment(I.comment);if(I.type==="symlink"&&typeof I.mode!=="number")I.mode=40960;if(typeof I.mode==="number"){if(I.type==="symlink")I.mode|=40960;Y.setUnixMode(I.mode)}if(I.type==="symlink"&&typeof I.linkname==="string")$=Buffer.from(I.linkname);return CS.prototype.entry.call(this,Y,$,U)};iY.prototype.finalize=function(){this.finish()}});var tJ0=O((MR1,rJ0)=>{var K91=oJ0(),q91=Uq(),t9=function($){if(!(this instanceof t9))return new t9($);$=this.options=q91.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new K91($)};t9.prototype.append=function($,I,U){this.engine.entry($,I,U)};t9.prototype.finalize=function(){this.engine.finalize()};t9.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};t9.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};t9.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};rJ0.exports=t9});var eJ0=O((AR1,sJ0)=>{var{Buffer:U8}=r("buffer"),aJ0=Symbol.for("BufferList");function c1($){if(!(this instanceof c1))return new c1($);c1._init.call(this,$)}c1._init=function(I){if(Object.defineProperty(this,aJ0,{value:!0}),this._bufs=[],this.length=0,I)this.append(I)};c1.prototype._new=function(I){return new c1(I)};c1.prototype._offset=function(I){if(I===0)return[0,0];let U=0;for(let Y=0;Y<this._bufs.length;Y++){let J=U+this._bufs[Y].length;if(I<J||Y===this._bufs.length-1)return[Y,I-U];U=J}};c1.prototype._reverseOffset=function($){let I=$[0],U=$[1];for(let Y=0;Y<I;Y++)U+=this._bufs[Y].length;return U};c1.prototype.get=function(I){if(I>this.length||I<0)return;let U=this._offset(I);return this._bufs[U[0]][U[1]]};c1.prototype.slice=function(I,U){if(typeof I==="number"&&I<0)I+=this.length;if(typeof U==="number"&&U<0)U+=this.length;return this.copy(null,0,I,U)};c1.prototype.copy=function(I,U,Y,J){if(typeof Y!=="number"||Y<0)Y=0;if(typeof J!=="number"||J>this.length)J=this.length;if(Y>=this.length)return I||U8.alloc(0);if(J<=0)return I||U8.alloc(0);let Q=!!I,K=this._offset(Y),q=J-Y,G=q,H=Q&&U||0,W=K[1];if(Y===0&&J===this.length){if(!Q)return this._bufs.length===1?this._bufs[0]:U8.concat(this._bufs,this.length);for(let V=0;V<this._bufs.length;V++)this._bufs[V].copy(I,H),H+=this._bufs[V].length;return I}if(G<=this._bufs[K[0]].length-W)return Q?this._bufs[K[0]].copy(I,U,W,W+G):this._bufs[K[0]].slice(W,W+G);if(!Q)I=U8.allocUnsafe(q);for(let V=K[0];V<this._bufs.length;V++){let z=this._bufs[V].length-W;if(G>z)this._bufs[V].copy(I,H,W),H+=z;else{this._bufs[V].copy(I,H,W,W+G),H+=z;break}if(G-=z,W)W=0}if(I.length>H)return I.slice(0,H);return I};c1.prototype.shallowSlice=function(I,U){if(I=I||0,U=typeof U!=="number"?this.length:U,I<0)I+=this.length;if(U<0)U+=this.length;if(I===U)return this._new();let Y=this._offset(I),J=this._offset(U),Q=this._bufs.slice(Y[0],J[0]+1);if(J[1]===0)Q.pop();else Q[Q.length-1]=Q[Q.length-1].slice(0,J[1]);if(Y[1]!==0)Q[0]=Q[0].slice(Y[1]);return this._new(Q)};c1.prototype.toString=function(I,U,Y){return this.slice(U,Y).toString(I)};c1.prototype.consume=function(I){if(I=Math.trunc(I),Number.isNaN(I)||I<=0)return this;while(this._bufs.length)if(I>=this._bufs[0].length)I-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(I),this.length-=I;break}return this};c1.prototype.duplicate=function(){let I=this._new();for(let U=0;U<this._bufs.length;U++)I.append(this._bufs[U]);return I};c1.prototype.append=function(I){if(I==null)return this;if(I.buffer)this._appendBuffer(U8.from(I.buffer,I.byteOffset,I.byteLength));else if(Array.isArray(I))for(let U=0;U<I.length;U++)this.append(I[U]);else if(this._isBufferList(I))for(let U=0;U<I._bufs.length;U++)this.append(I._bufs[U]);else{if(typeof I==="number")I=I.toString();this._appendBuffer(U8.from(I))}return this};c1.prototype._appendBuffer=function(I){this._bufs.push(I),this.length+=I.length};c1.prototype.indexOf=function($,I,U){if(U===void 0&&typeof I==="string")U=I,I=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")$=U8.from([$]);else if(typeof $==="string")$=U8.from($,U);else if(this._isBufferList($))$=$.slice();else if(Array.isArray($.buffer))$=U8.from($.buffer,$.byteOffset,$.byteLength);else if(!U8.isBuffer($))$=U8.from($);if(I=Number(I||0),isNaN(I))I=0;if(I<0)I=this.length+I;if(I<0)I=0;if($.length===0)return I>this.length?this.length:I;let Y=this._offset(I),J=Y[0],Q=Y[1];for(;J<this._bufs.length;J++){let K=this._bufs[J];while(Q<K.length)if(K.length-Q>=$.length){let G=K.indexOf($,Q);if(G!==-1)return this._reverseOffset([J,G]);Q=K.length-$.length+1}else{let G=this._reverseOffset([J,Q]);if(this._match(G,$))return G;Q++}Q=0}return-1};c1.prototype._match=function($,I){if(this.length-$<I.length)return!1;for(let U=0;U<I.length;U++)if(this.get($+U)!==I[U])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 I in $)(function(U){if($[U]===null)c1.prototype[U]=function(Y,J){return this.slice(Y,Y+J)[U](0,J)};else c1.prototype[U]=function(Y=0){return this.slice(Y,Y+$[U])[U](0)}})(I)})();c1.prototype._isBufferList=function(I){return I instanceof c1||c1.isBufferList(I)};c1.isBufferList=function(I){return I!=null&&I[aJ0]};sJ0.exports=c1});var $Q0=O((PR1,Dw)=>{var jS=w6().Duplex,G91=p0(),Yq=eJ0();function N6($){if(!(this instanceof N6))return new N6($);if(typeof $==="function"){this._callback=$;let I=function(Y){if(this._callback)this._callback(Y),this._callback=null}.bind(this);this.on("pipe",function(Y){Y.on("error",I)}),this.on("unpipe",function(Y){Y.removeListener("error",I)}),$=null}Yq._init.call(this,$),jS.call(this)}G91(N6,jS);Object.assign(N6.prototype,Yq.prototype);N6.prototype._new=function(I){return new N6(I)};N6.prototype._write=function(I,U,Y){if(this._appendBuffer(I),typeof Y==="function")Y()};N6.prototype._read=function(I){if(!this.length)return this.push(null);I=Math.min(I,this.length),this.push(this.slice(0,I)),this.consume(I)};N6.prototype.end=function(I){if(jS.prototype.end.call(this,I),this._callback)this._callback(null,this.slice()),this._callback=null};N6.prototype._destroy=function(I,U){this._bufs.length=0,this.length=0,U(I)};N6.prototype._isBufferList=function(I){return I instanceof N6||I instanceof Yq||N6.isBufferList(I)};N6.isBufferList=Yq.isBufferList;Dw.exports=N6;Dw.exports.BufferListStream=N6;Dw.exports.BufferList=Yq});var gS=O((F91)=>{var H91=Buffer.alloc,W91="0000000000000000000",V91="7777777777777777777",IQ0=48,UQ0=Buffer.from("ustar\x00","binary"),Z91=Buffer.from("00","binary"),z91=Buffer.from("ustar ","binary"),X91=Buffer.from(" \x00","binary"),w91=parseInt("7777",8),Jq=257,SS=263,L91=function($,I,U){if(typeof $!=="number")return U;if($=~~$,$>=I)return I;if($>=0)return $;if($+=I,$>=0)return $;return 0},D91=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},O91=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},YQ0=function($,I,U,Y){for(;U<Y;U++)if($[U]===I)return U;return Y},JQ0=function($){var I=256;for(var U=0;U<148;U++)I+=$[U];for(var Y=156;Y<512;Y++)I+=$[Y];return I},a9=function($,I){if($=$.toString(8),$.length>I)return V91.slice(0,I)+" ";else return W91.slice(0,I-$.length)+$+" "};function N91($){var I;if($[0]===128)I=!0;else if($[0]===255)I=!1;else return null;var U=[];for(var Y=$.length-1;Y>0;Y--){var J=$[Y];if(I)U.push(J);else U.push(255-J)}var Q=0,K=U.length;for(Y=0;Y<K;Y++)Q+=U[Y]*Math.pow(256,Y);return I?Q:-1*Q}var s9=function($,I,U){if($=$.slice(I,I+U),I=0,$[I]&128)return N91($);else{while(I<$.length&&$[I]===32)I++;var Y=L91(YQ0($,32,I,$.length),$.length,$.length);while(I<Y&&$[I]===0)I++;if(Y===I)return 0;return parseInt($.slice(I,Y).toString(),8)}},nY=function($,I,U,Y){return $.slice(I,YQ0($,0,I,I+U)).toString(Y)},_S=function($){var I=Buffer.byteLength($),U=Math.floor(Math.log(I)/Math.log(10))+1;if(I+U>=Math.pow(10,U))U++;return I+U+$};F91.decodeLongPath=function($,I){return nY($,0,$.length,I)};F91.encodePax=function($){var I="";if($.name)I+=_S(" path="+$.name+`
`);if($.linkname)I+=_S(" linkpath="+$.linkname+`
`);var U=$.pax;if(U)for(var Y in U)I+=_S(" "+Y+"="+U[Y]+`
`);return Buffer.from(I)};F91.decodePax=function($){var I={};while($.length){var U=0;while(U<$.length&&$[U]!==32)U++;var Y=parseInt($.slice(0,U).toString(),10);if(!Y)return I;var J=$.slice(U+1,Y-1).toString(),Q=J.indexOf("=");if(Q===-1)return I;I[J.slice(0,Q)]=J.slice(Q+1),$=$.slice(Y)}return I};F91.encode=function($){var I=H91(512),U=$.name,Y="";if($.typeflag===5&&U[U.length-1]!=="/")U+="/";if(Buffer.byteLength(U)!==U.length)return null;while(Buffer.byteLength(U)>100){var J=U.indexOf("/");if(J===-1)return null;Y+=Y?"/"+U.slice(0,J):U.slice(0,J),U=U.slice(J+1)}if(Buffer.byteLength(U)>100||Buffer.byteLength(Y)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(I.write(U),I.write(a9($.mode&w91,6),100),I.write(a9($.uid,6),108),I.write(a9($.gid,6),116),I.write(a9($.size,11),124),I.write(a9($.mtime.getTime()/1000|0,11),136),I[156]=IQ0+O91($.type),$.linkname)I.write($.linkname,157);if(UQ0.copy(I,Jq),Z91.copy(I,SS),$.uname)I.write($.uname,265);if($.gname)I.write($.gname,297);if(I.write(a9($.devmajor||0,6),329),I.write(a9($.devminor||0,6),337),Y)I.write(Y,345);return I.write(a9(JQ0(I),6),148),I};F91.decode=function($,I,U){var Y=$[156]===0?0:$[156]-IQ0,J=nY($,0,100,I),Q=s9($,100,8),K=s9($,108,8),q=s9($,116,8),G=s9($,124,12),H=s9($,136,12),W=D91(Y),V=$[157]===0?null:nY($,157,100,I),z=nY($,265,32),Z=nY($,297,32),w=s9($,329,8),L=s9($,337,8),D=JQ0($);if(D===256)return null;if(D!==s9($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(UQ0.compare($,Jq,Jq+6)===0){if($[345])J=nY($,345,155,I)+"/"+J}else if(z91.compare($,Jq,Jq+6)===0&&X91.compare($,SS,SS+2)===0);else if(!U)throw Error("Invalid tar header: unknown format.");if(Y===0&&J&&J[J.length-1]==="/")Y=5;return{name:J,mode:Q,uid:K,gid:q,size:G,mtime:new Date(1000*H),type:W,linkname:V,uname:z,gname:Z,devmajor:w,devminor:L}}});var VQ0=O((ER1,WQ0)=>{var KQ0=r("util"),B91=$Q0(),Qq=gS(),qQ0=w6().Writable,GQ0=w6().PassThrough,HQ0=function(){},QQ0=function($){return $&=511,$&&512-$},R91=function($,I){var U=new Ow($,I);return U.end(),U},v91=function($,I){if(I.path)$.name=I.path;if(I.linkpath)$.linkname=I.linkpath;if(I.size)$.size=parseInt(I.size,10);return $.pax=I,$},Ow=function($,I){this._parent=$,this.offset=I,GQ0.call(this,{autoDestroy:!1})};KQ0.inherits(Ow,GQ0);Ow.prototype.destroy=function($){this._parent.destroy($)};var R5=function($){if(!(this instanceof R5))return new R5($);qQ0.call(this,$),$=$||{},this._offset=0,this._buffer=B91(),this._missing=0,this._partial=!1,this._onparse=HQ0,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 I=this,U=I._buffer,Y=function(){I._continue()},J=function(z){if(I._locked=!1,z)return I.destroy(z);if(!I._stream)Y()},Q=function(){I._stream=null;var z=QQ0(I._header.size);if(z)I._parse(z,K);else I._parse(512,V);if(!I._locked)Y()},K=function(){I._buffer.consume(QQ0(I._header.size)),I._parse(512,V),Y()},q=function(){var z=I._header.size;I._paxGlobal=Qq.decodePax(U.slice(0,z)),U.consume(z),Q()},G=function(){var z=I._header.size;if(I._pax=Qq.decodePax(U.slice(0,z)),I._paxGlobal)I._pax=Object.assign({},I._paxGlobal,I._pax);U.consume(z),Q()},H=function(){var z=I._header.size;this._gnuLongPath=Qq.decodeLongPath(U.slice(0,z),$.filenameEncoding),U.consume(z),Q()},W=function(){var z=I._header.size;this._gnuLongLinkPath=Qq.decodeLongPath(U.slice(0,z),$.filenameEncoding),U.consume(z),Q()},V=function(){var z=I._offset,Z;try{Z=I._header=Qq.decode(U.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(w){I.emit("error",w)}if(U.consume(512),!Z){I._parse(512,V),Y();return}if(Z.type==="gnu-long-path"){I._parse(Z.size,H),Y();return}if(Z.type==="gnu-long-link-path"){I._parse(Z.size,W),Y();return}if(Z.type==="pax-global-header"){I._parse(Z.size,q),Y();return}if(Z.type==="pax-header"){I._parse(Z.size,G),Y();return}if(I._gnuLongPath)Z.name=I._gnuLongPath,I._gnuLongPath=null;if(I._gnuLongLinkPath)Z.linkname=I._gnuLongLinkPath,I._gnuLongLinkPath=null;if(I._pax)I._header=Z=v91(Z,I._pax),I._pax=null;if(I._locked=!0,!Z.size||Z.type==="directory"){I._parse(512,V),I.emit("entry",Z,R91(I,z),J);return}I._stream=new Ow(I,z),I.emit("entry",Z,I._stream,J),I._parse(Z.size,Q),Y()};this._onheader=V,this._parse(512,V)};KQ0.inherits(R5,qQ0);R5.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};R5.prototype._parse=function($,I){if(this._destroyed)return;if(this._offset+=$,this._missing=$,I===this._onheader)this._partial=!1;this._onparse=I};R5.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=HQ0,this._overflow)this._write(this._overflow,void 0,$);else $()};R5.prototype._write=function($,I,U){if(this._destroyed)return;var Y=this._stream,J=this._buffer,Q=this._missing;if($.length)this._partial=!0;if($.length<Q){if(this._missing-=$.length,this._overflow=null,Y)return Y.write($,U);return J.append($),U()}this._cb=U,this._missing=0;var K=null;if($.length>Q)K=$.slice(Q),$=$.slice(0,Q);if(Y)Y.end($);else J.append($);this._overflow=K,this._onparse()};R5.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};WQ0.exports=R5});var zQ0=O((BR1,ZQ0)=>{ZQ0.exports=r("fs").constants||r("constants")});var LQ0=O((RR1,wQ0)=>{var C91=zw(),j91=function(){},_91=global.Bare?queueMicrotask:process.nextTick.bind(process),S91=function($){return $.setHeader&&typeof $.abort==="function"},g91=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},XQ0=function($,I,U){if(typeof I==="function")return XQ0($,null,I);if(!I)I={};U=C91(U||j91);var{_writableState:Y,_readableState:J}=$,Q=I.readable||I.readable!==!1&&$.readable,K=I.writable||I.writable!==!1&&$.writable,q=!1,G=function(){if(!$.writable)H()},H=function(){if(K=!1,!Q)U.call($)},W=function(){if(Q=!1,!K)U.call($)},V=function(D){U.call($,D?Error("exited with error code: "+D):null)},z=function(D){U.call($,D)},Z=function(){_91(w)},w=function(){if(q)return;if(Q&&!(J&&(J.ended&&!J.destroyed)))return U.call($,Error("premature close"));if(K&&!(Y&&(Y.ended&&!Y.destroyed)))return U.call($,Error("premature close"))},L=function(){$.req.on("finish",H)};if(S91($))if($.on("complete",H),$.on("abort",Z),$.req)L();else $.on("request",L);else if(K&&!Y)$.on("end",G),$.on("close",G);if(g91($))$.on("exit",V);if($.on("end",W),$.on("finish",H),I.error!==!1)$.on("error",z);return $.on("close",Z),function(){if(q=!0,$.removeListener("complete",H),$.removeListener("abort",Z),$.removeListener("request",L),$.req)$.req.removeListener("finish",H);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",H),$.removeListener("exit",V),$.removeListener("end",W),$.removeListener("error",z),$.removeListener("close",Z)}};wQ0.exports=XQ0});var MQ0=O((vR1,FQ0)=>{var pY=zQ0(),DQ0=LQ0(),Fw=p0(),y91=Buffer.alloc,OQ0=w6().Readable,cY=w6().Writable,h91=r("string_decoder").StringDecoder,Nw=gS(),x91=parseInt("755",8),k91=parseInt("644",8),NQ0=y91(1024),hS=function(){},yS=function($,I){if(I&=511,I)$.push(NQ0.slice(0,512-I))};function u91($){switch($&pY.S_IFMT){case pY.S_IFBLK:return"block-device";case pY.S_IFCHR:return"character-device";case pY.S_IFDIR:return"directory";case pY.S_IFIFO:return"fifo";case pY.S_IFLNK:return"symlink"}return"file"}var Mw=function($){cY.call(this),this.written=0,this._to=$,this._destroyed=!1};Fw(Mw,cY);Mw.prototype._write=function($,I,U){if(this.written+=$.length,this._to.push($))return U();this._to._drain=U};Mw.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var Aw=function(){cY.call(this),this.linkname="",this._decoder=new h91("utf-8"),this._destroyed=!1};Fw(Aw,cY);Aw.prototype._write=function($,I,U){this.linkname+=this._decoder.write($),U()};Aw.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var Kq=function(){cY.call(this),this._destroyed=!1};Fw(Kq,cY);Kq.prototype._write=function($,I,U){U(Error("No body allowed for this entry"))};Kq.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var h8=function($){if(!(this instanceof h8))return new h8($);OQ0.call(this,$),this._drain=hS,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};Fw(h8,OQ0);h8.prototype.entry=function($,I,U){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof I==="function")U=I,I=null;if(!U)U=hS;var Y=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=u91($.mode);if(!$.mode)$.mode=$.type==="directory"?x91:k91;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof I==="string")I=Buffer.from(I);if(Buffer.isBuffer(I)){$.size=I.length,this._encode($);var J=this.push(I);if(yS(Y,$.size),J)process.nextTick(U);else this._drain=U;return new Kq}if($.type==="symlink"&&!$.linkname){var Q=new Aw;return DQ0(Q,function(q){if(q)return Y.destroy(),U(q);$.linkname=Q.linkname,Y._encode($),U()}),Q}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(U),new Kq;var K=new Mw(this);return this._stream=K,DQ0(K,function(q){if(Y._stream=null,q)return Y.destroy(),U(q);if(K.written!==$.size)return Y.destroy(),U(Error("size mismatch"));if(yS(Y,$.size),Y._finalizing)Y.finalize();U()}),K};h8.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(NQ0),this.push(null)};h8.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()};h8.prototype._encode=function($){if(!$.pax){var I=Nw.encode($);if(I){this.push(I);return}}this._encodePax($)};h8.prototype._encodePax=function($){var I=Nw.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),U={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:I.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(Nw.encode(U)),this.push(I),yS(this,I.length),U.size=$.size,U.type=$.type,this.push(Nw.encode(U))};h8.prototype._read=function($){var I=this._drain;this._drain=hS,I()};FQ0.exports=h8});var AQ0=O((f91)=>{f91.extract=VQ0();f91.pack=MQ0()});var EQ0=O((jR1,TQ0)=>{var n91=r("zlib"),p91=AQ0(),PQ0=Uq(),v5=function($){if(!(this instanceof v5))return new v5($);if($=this.options=PQ0.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=p91.pack($),this.compressor=!1,$.gzip)this.compressor=n91.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};v5.prototype._onCompressorError=function($){this.engine.emit("error",$)};v5.prototype.append=function($,I,U){var Y=this;I.mtime=I.date;function J(K,q){if(K){U(K);return}Y.engine.entry(I,q,function(G){U(G,I)})}if(I.sourceType==="buffer")J(null,$);else if(I.sourceType==="stream"&&I.stats){I.size=I.stats.size;var Q=Y.engine.entry(I,function(K){U(K,I)});$.pipe(Q)}else if(I.sourceType==="stream")PQ0.collectStream($,J)};v5.prototype.finalize=function(){this.engine.finalize()};v5.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};v5.prototype.pipe=function($,I){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,I);else return this.engine.pipe.apply(this.engine,arguments)};v5.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};TQ0.exports=v5});var CQ0=O((_R1,vQ0)=>{var c91=r("util").inherits,BQ0=w6().Transform,d91=MS(),RQ0=Uq(),e9=function($){if(!(this instanceof e9))return new e9($);$=this.options=RQ0.defaults($,{}),BQ0.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};c91(e9,BQ0);e9.prototype._transform=function($,I,U){U(null,$)};e9.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};e9.prototype.append=function($,I,U){var Y=this;I.crc32=0;function J(Q,K){if(Q){U(Q);return}I.size=K.length||0,I.crc32=d91.unsigned(K),Y.files.push(I),U(null,I)}if(I.sourceType==="buffer")J(null,$);else if(I.sourceType==="stream")RQ0.collectStream($,J)};e9.prototype.finalize=function(){this._writeStringified(),this.end()};vQ0.exports=e9});var _Q0=O((SR1,jQ0)=>{var m91=QJ0(),qq={},$7=function($,I){return $7.create($,I)};$7.create=function($,I){if(qq[$]){var U=new m91($,I);return U.setFormat($),U.setModule(new qq[$](I)),U}else throw Error("create("+$+"): format not registered")};$7.registerFormat=function($,I){if(qq[$])throw Error("register("+$+"): format already registered");if(typeof I!=="function")throw Error("register("+$+"): format module invalid");if(typeof I.prototype.append!=="function"||typeof I.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");qq[$]=I};$7.isRegisteredFormat=function($){if(qq[$])return!0;return!1};$7.registerFormat("zip",tJ0());$7.registerFormat("tar",EQ0());$7.registerFormat("json",CQ0());jQ0.exports=$7});var yQ0=O((gR1,gQ0)=>{class SQ0{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 I=this._hash[$];if(I===void 0)I=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,I}}gQ0.exports=SQ0});var uQ0=O((yR1,kQ0)=>{var l91=L6(),o91=y9();class hQ0{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class xQ0{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 hQ0(this))}addHyperlink($){let I={Target:$.target,Type:o91.Hyperlink,TargetMode:"External"},U=this._writeRelationship(I);this._hyperlinks.push({rId:U,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 I=`rId${++this.count}`;if($.TargetMode)this.stream.write(`<Relationship Id="${I}" Type="${$.Type}" Target="${l91.xmlEncode($.Target)}" TargetMode="${$.TargetMode}"/>`);else this.stream.write(`<Relationship Id="${I}" Type="${$.Type}" Target="${$.Target}"/>`);return I}_writeClose(){this.stream.write("</Relationships>")}}kQ0.exports=xQ0});var pQ0=O((hR1,nQ0)=>{var fQ0=$6(),bQ0=y9(),r91=G4(),t91=ZC(),a91=XC();class iQ0{constructor($,I,U){this.id=U.id,this.count=0,this._worksheet=$,this._workbook=U.workbook,this._sheetRelsWriter=I}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:bQ0.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship($);let I={Type:bQ0.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(I)}_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($,I){let U=new t91,Y=new fQ0;U.render(Y,$),this.commentsStream.write(Y.xml);let J=new a91,Q=new fQ0;J.render(Q,$,I),this.vmlStream.write(Q.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((I)=>{I.refAddress=r91.decodeAddress(I.ref)}),$.forEach((I)=>{this._writeComment(I,this.count),this.count+=1})}}commit(){if(this.count)this._writeClose(),this.commentsStream.end(),this.vmlStream.end()}}nQ0.exports=iQ0});var rQ0=O((xR1,oQ0)=>{var s91=z4(),e91=y9(),xS=G4(),cQ0=jE(),dQ0=Q5(),$71=dR(),mQ0=xV(),kS=uV(),I71=uQ0(),U71=pQ0(),Y71=vE(),i4=new $71,uS=_9(),J71=bv(),Q71=iv(),K71=nv(),q71=xv(),G71=yv(),H71=kv(),W71=pv(),V71=cv(),Z71=dv(),z71=mv(),X71=lv(),w71=ov(),L71=ev(),D71=tv(),O71=rv(),n4={dataValidations:new J71,sheetProperties:new Q71,sheetFormatProperties:new K71,columns:new uS({tag:"cols",length:!1,childXform:new q71}),row:new G71,hyperlinks:new uS({tag:"hyperlinks",length:!1,childXform:new H71}),sheetViews:new uS({tag:"sheetViews",length:!1,childXform:new W71}),sheetProtection:new V71,pageMargins:new Z71,pageSeteup:new z71,autoFilter:new X71,picture:new w71,conditionalFormattings:new L71,headerFooter:new D71,rowBreaks:new O71};class lQ0{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 I71($),this._sheetCommentsWriter=new U71(this,this._sheetRelsWriter,$),this._dimensions=new dQ0,this._rowZero=1,this.committed=!1,this.dataValidations=new Y71,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((Y,J)=>{let Q=J.header&&1||J.headers&&J.headers.length||0;return Math.max(Y,Q)},0);let I=1,U=this._columns=[];$.forEach((Y)=>{let J=new kS(this,I++,!1);U.push(J),J.defn=Y})}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){s91.each(this._keys,$)}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=xS.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new kS(this,I++))}return this._columns[$-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow($,I){if(!I)I=$,$=void 0;if($&&$.includeEmpty){let U=this._nextRow;for(let Y=this._rowZero;Y<U;Y++)I(this.getRow(Y),Y)}else this._rows.forEach((U)=>{if(U.hasValues)I(U,U.number)})}_commitRow($){let I=!1;while(this._rows.length&&!I){let U=this._rows.shift();if(this._rowZero++,U)this._writeRow(U),I=U.number===$.number,this._rowZero=U.number+1}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){let I=$-this._rowZero;return this._rows[I]}getRow($){let I=$-this._rowZero;if(I<0)throw Error("Out of bounds: this row has been committed");let U=this._rows[I];if(!U)this._rows[I]=U=new mQ0(this,$);return U}addRow($){let I=new mQ0(this,this._nextRow);return this._rows[I.number-this._rowZero]=I,I.values=$,I}findCell($,I){let U=xS.getAddress($,I),Y=this.findRow(U.row);return Y?Y.findCell(U.column):void 0}getCell($,I){let U=xS.getAddress($,I);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let I=new dQ0($);this._merges.forEach((Y)=>{if(Y.intersects(I))throw Error("Cannot merge already merged cells")});let U=this.getCell(I.top,I.left);for(let Y=I.top;Y<=I.bottom;Y++)for(let J=I.left;J<=I.right;J++)if(Y>I.top||J>I.left)this.getCell(Y,J).merge(U);this._merges.push(I)}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($,I){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},I&&"spinCount"in I)I.spinCount=Number.isFinite(I.spinCount)?Math.round(Math.max(0,I.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=cQ0.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=I&&"spinCount"in I?I.spinCount:1e5,this.sheetProtection.hashValue=cQ0.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(I){if(this.sheetProtection=Object.assign(this.sheetProtection,I),!$&&"spinCount"in I)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}_write($){i4.reset(),i4.addText($),this.stream.write(i4)}_writeSheetProperties($,I,U){let Y={outlineProperties:I&&I.outlineProperties,tabColor:I&&I.tabColor,pageSetup:U&&U.fitToPage?{fitToPage:U.fitToPage}:void 0};$.addText(n4.sheetProperties.toXml(Y))}_writeSheetFormatProperties($,I){let U=I?{defaultRowHeight:I.defaultRowHeight,dyDescent:I.dyDescent,outlineLevelCol:I.outlineLevelCol,outlineLevelRow:I.outlineLevelRow}:void 0;if(I.defaultColWidth)U.defaultColWidth=I.defaultColWidth;$.addText(n4.sheetFormatProperties.toXml(U))}_writeOpenWorksheet(){i4.reset(),i4.addText('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),i4.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(i4,this.properties,this.pageSetup),i4.addText(n4.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(i4,this.properties),this.stream.write(i4)}_writeColumns(){let $=kS.toModel(this.columns);if($)n4.columns.prepare($,{styles:this._workbook.styles}),this.stream.write(n4.columns.toXml($))}_writeOpenSheetData(){this._write("<sheetData>")}_writeRow($){if(!this.startedData)this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0;if($.hasValues||$.height){let{model:I}=$,U={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(n4.row.prepare(I,U),this.stream.write(n4.row.toXml(I)),U.comments.length)this.hasComments=!0,this._sheetCommentsWriter.addComments(U.comments)}}_writeCloseSheetData(){this._write("</sheetData>")}_writeMergeCells(){if(this._merges.length)i4.reset(),i4.addText(`<mergeCells count="${this._merges.length}">`),this._merges.forEach(($)=>{i4.addText(`<mergeCell ref="${$}"/>`)}),i4.addText("</mergeCells>"),this.stream.write(i4)}_writeHyperlinks(){this.stream.write(n4.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let $={styles:this._workbook.styles};n4.conditionalFormattings.prepare(this.conditionalFormatting,$),this.stream.write(n4.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(n4.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(n4.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(n4.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(n4.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(n4.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(n4.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(n4.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let $=this._workbook.getImage(this._background.imageId),I=this._sheetRelsWriter.addMedia({Target:`../media/${$.name}`,Type:e91.Image});this._background={...this._background,rId:I}}this.stream.write(n4.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){if(this.hasComments)i4.reset(),i4.addText(`<legacyDrawing r:id="${this._sheetCommentsWriter.vmlRelId}"/>`),this.stream.write(i4)}_writeDimensions(){}_writeCloseWorksheet(){this._write("</worksheet>")}}oQ0.exports=lQ0});var I20=O((kR1,$20)=>{var N71=r("fs"),F71=_Q0(),tQ0=qK(),S3=y9(),aQ0=wz(),M71=yQ0(),A71=SE(),P71=Rv(),sQ0=Nz(),T71=Cv(),E71=jv(),B71=Mz(),R71=vv(),v71=rQ0(),C71=wC();class eQ0{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 M71,this.styles=$.useStyles?new aQ0(!0):new aQ0.Mock(!0),this._definedNames=new A71,this._worksheets=[],this.views=[],this.zipOptions=$.zip,this.media=[],this.commentRefs=[],this.zip=F71("zip",this.zipOptions),$.stream)this.stream=$.stream;else if($.filename)this.stream=N71.createWriteStream($.filename);else this.stream=new tQ0;this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream($){let I=new tQ0({bufSize:65536,batch:!0});return this.zip.append(I,{name:$}),I.on("finish",()=>{I.emit("zipped")}),I}_commitWorksheets(){let $=function(U){if(!U.committed)return new Promise((Y)=>{U.stream.on("zipped",()=>{Y()}),U.commit()});return Promise.resolve()},I=this._worksheets.map($);if(I.length)return Promise.all(I);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 I=this.media.length,U=Object.assign({},$,{type:"image",name:`image${I}.${$.extension}`});return this.media.push(U),I}getImage($){return this.media[$]}addWorksheet($,I){I=I||{};let U=I.useSharedStrings!==void 0?I.useSharedStrings:this.useSharedStrings;if(I.tabColor)console.trace("tabColor option has moved to { properties: tabColor: {...} }"),I.properties=Object.assign({tabColor:I.tabColor},I.properties);let Y=this.nextId;$=$||`sheet${Y}`;let J=new v71({id:Y,name:$,workbook:this,useSharedStrings:U,properties:I.properties,state:I.state,pageSetup:I.pageSetup,views:I.views,autoFilter:I.autoFilter,headerFooter:I.headerFooter});return this._worksheets[Y]=J,J}getWorksheet($){if($===void 0)return this._worksheets.find(()=>!0);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((I)=>I&&I.name===$);return}addStyles(){return new Promise(($)=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),$()})}addThemes(){return new Promise(($)=>{this.zip.append(C71,{name:"xl/theme/theme1.xml"}),$()})}addOfficeRels(){return new Promise(($)=>{let U=new sQ0().toXml([{Id:"rId1",Type:S3.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:S3.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:S3.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(U,{name:"/_rels/.rels"}),$()})}addContentTypes(){return new Promise(($)=>{let I={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},Y=new T71().toXml(I);this.zip.append(Y,{name:"[Content_Types].xml"}),$()})}addMedia(){return Promise.all(this.media.map(($)=>{if($.type==="image"){let I=`xl/media/${$.name}`;if($.filename)return this.zip.file($.filename,{name:I});if($.buffer)return this.zip.append($.buffer,{name:I});if($.base64){let U=$.base64,Y=U.substring(U.indexOf(",")+1);return this.zip.append(Y,{name:I,base64:!0})}}throw Error("Unsupported media")}))}addApp(){return new Promise(($)=>{let I={worksheets:this._worksheets.filter(Boolean)},Y=new E71().toXml(I);this.zip.append(Y,{name:"docProps/app.xml"}),$()})}addCore(){return new Promise(($)=>{let U=new P71().toXml(this);this.zip.append(U,{name:"docProps/core.xml"}),$()})}addSharedStrings(){if(this.sharedStrings.count)return new Promise(($)=>{let U=new R71().toXml(this.sharedStrings);this.zip.append(U,{name:"/xl/sharedStrings.xml"}),$()});return Promise.resolve()}addWorkbookRels(){let $=1,I=[{Id:`rId${$++}`,Type:S3.Styles,Target:"styles.xml"},{Id:`rId${$++}`,Type:S3.Theme,Target:"theme/theme1.xml"}];if(this.sharedStrings.count)I.push({Id:`rId${$++}`,Type:S3.SharedStrings,Target:"sharedStrings.xml"});return this._worksheets.forEach((U)=>{if(U)U.rId=`rId${$++}`,I.push({Id:U.rId,Type:S3.Worksheet,Target:`worksheets/sheet${U.id}.xml`})}),new Promise((U)=>{let J=new sQ0().toXml(I);this.zip.append(J,{name:"/xl/_rels/workbook.xml.rels"}),U()})}addWorkbook(){let{zip:$}=this,I={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((U)=>{let Y=new B71;Y.prepare(I),$.append(Y.toXml(I),{name:"/xl/workbook.xml"}),U()})}_finalize(){return new Promise(($,I)=>{this.stream.on("error",I),this.stream.on("finish",()=>{$(this)}),this.zip.on("error",I),this.zip.finalize()})}}$20.exports=eQ0});var Y20=O((uR1,U20)=>{var fS=r("events").listenerCount;fS=fS||function($,I){var U=$&&$._events&&$._events[I];if(Array.isArray(U))return U.length;else if(typeof U==="function")return 1;else return 0};U20.exports=fS});var Q20=O((fR1,J20)=>{J20.exports=function(I){var U=process&&process.version?process.version:"v5.0.0",Y=U.split(".")[0].replace("v","");return Y<6?new Buffer(I):Buffer.from(I)}});var q20=O(()=>{var Gq=Q20();if(!Buffer.prototype.indexOf)Buffer.prototype.indexOf=function($,I){if(I=I||0,typeof $==="string"||$ instanceof String)$=Gq($);else if(typeof $==="number"||$ instanceof Number)$=Gq([$]);var U=$.length;for(var Y=I;Y<=this.length-U;Y++){var J=!1;for(var Q=0;Q<U;Q++)if(this[Y+Q]!=$[Q]){J=!0;break}if(!J)return Y}return-1};function K20($,I){if(typeof $==="string"||$ instanceof String)$=Gq($);else if(typeof $==="number"||$ instanceof Number)$=Gq([$]);var U=$.length;I=I||this.length-U;for(var Y=I;Y>=0;Y--){var J=!1;for(var Q=0;Q<U;Q++)if(this[Y+Q]!=$[Q]){J=!0;break}if(!J)return Y}return-1}if(Buffer.prototype.lastIndexOf){if(Gq("ABC").lastIndexOf("ABC")===-1)Buffer.prototype.lastIndexOf=K20}else Buffer.prototype.lastIndexOf=K20});var V20=O((nR1,W20)=>{W20.exports=F6;function F6($){if(!(this instanceof F6))return new F6($);this.value=$}F6.prototype.get=function($){var I=this.value;for(var U=0;U<$.length;U++){var Y=$[U];if(!Object.hasOwnProperty.call(I,Y)){I=void 0;break}I=I[Y]}return I};F6.prototype.set=function($,I){var U=this.value;for(var Y=0;Y<$.length-1;Y++){var J=$[Y];if(!Object.hasOwnProperty.call(U,J))U[J]={};U=U[J]}return U[$[Y]]=I,I};F6.prototype.map=function($){return G20(this.value,$,!0)};F6.prototype.forEach=function($){return this.value=G20(this.value,$,!1),this.value};F6.prototype.reduce=function($,I){var U=arguments.length===1,Y=U?this.value:I;return this.forEach(function(J){if(!this.isRoot||!U)Y=$.call(this,Y,J)}),Y};F6.prototype.deepEqual=function($){if(arguments.length!==1)throw Error("deepEqual requires exactly one object to compare against");var I=!0,U=$;return this.forEach(function(Y){var J=function(){I=!1;return}.bind(this);if(!this.isRoot){if(typeof U!=="object")return J();U=U[this.key]}var Q=U;this.post(function(){U=Q});var K=function(V){return Object.prototype.toString.call(V)};if(this.circular){if(F6($).get(this.circular.path)!==Q)J()}else if(typeof Q!==typeof Y)J();else if(Q===null||Y===null||Q===void 0||Y===void 0){if(Q!==Y)J()}else if(Q.__proto__!==Y.__proto__)J();else if(Q===Y);else if(typeof Q==="function"){if(Q instanceof RegExp){if(Q.toString()!=Y.toString())J()}else if(Q!==Y)J()}else if(typeof Q==="object")if(K(Y)==="[object Arguments]"||K(Q)==="[object Arguments]"){if(K(Q)!==K(Y))J()}else if(Q instanceof Date||Y instanceof Date){if(!(Q instanceof Date)||!(Y instanceof Date)||Q.getTime()!==Y.getTime())J()}else{var q=Object.keys(Q),G=Object.keys(Y);if(q.length!==G.length)return J();for(var H=0;H<q.length;H++){var W=q[H];if(!Object.hasOwnProperty.call(Y,W))J()}}}),I};F6.prototype.paths=function(){var $=[];return this.forEach(function(I){$.push(this.path)}),$};F6.prototype.nodes=function(){var $=[];return this.forEach(function(I){$.push(this.node)}),$};F6.prototype.clone=function(){var $=[],I=[];return function U(Y){for(var J=0;J<$.length;J++)if($[J]===Y)return I[J];if(typeof Y==="object"&&Y!==null){var Q=H20(Y);return $.push(Y),I.push(Q),Object.keys(Y).forEach(function(K){Q[K]=U(Y[K])}),$.pop(),I.pop(),Q}else return Y}(this.value)};function G20($,I,U){var Y=[],J=[],Q=!0;return function K(q){var G=U?H20(q):q,H={},W={node:G,node_:q,path:[].concat(Y),parent:J.slice(-1)[0],key:Y.slice(-1)[0],isRoot:Y.length===0,level:Y.length,circular:null,update:function(w){if(!W.isRoot)W.parent.node[W.key]=w;W.node=w},delete:function(){delete W.parent.node[W.key]},remove:function(){if(Array.isArray(W.parent.node))W.parent.node.splice(W.key,1);else delete W.parent.node[W.key]},before:function(w){H.before=w},after:function(w){H.after=w},pre:function(w){H.pre=w},post:function(w){H.post=w},stop:function(){Q=!1}};if(!Q)return W;if(typeof G==="object"&&G!==null){W.isLeaf=Object.keys(G).length==0;for(var V=0;V<J.length;V++)if(J[V].node_===q){W.circular=J[V];break}}else W.isLeaf=!0;W.notLeaf=!W.isLeaf,W.notRoot=!W.isRoot;var z=I.call(W,W.node);if(z!==void 0&&W.update)W.update(z);if(H.before)H.before.call(W,W.node);if(typeof W.node=="object"&&W.node!==null&&!W.circular){J.push(W);var Z=Object.keys(W.node);Z.forEach(function(w,L){if(Y.push(w),H.pre)H.pre.call(W,W.node[w],w);var D=K(W.node[w]);if(U&&Object.hasOwnProperty.call(W.node,w))W.node[w]=D.node;if(D.isLast=L==Z.length-1,D.isFirst=L==0,H.post)H.post.call(W,D);Y.pop()}),J.pop()}if(H.after)H.after.call(W,W.node);return W}($).node}Object.keys(F6.prototype).forEach(function($){F6[$]=function(I){var U=[].slice.call(arguments,1),Y=F6(I);return Y[$].apply(Y,U)}});function H20($){if(typeof $==="object"&&$!==null){var I;if(Array.isArray($))I=[];else if($ instanceof Date)I=new Date($);else if($ instanceof Boolean)I=new Boolean($);else if($ instanceof Number)I=new Number($);else if($ instanceof String)I=new String($);else I=Object.create(Object.getPrototypeOf($));return Object.keys($).forEach(function(U){I[U]=$[U]}),I}else return $}});var z20=O((pR1,Z20)=>{var j71=V20(),_71=r("events").EventEmitter;Z20.exports=dY;function dY($){var I=dY.saw($,{}),U=$.call(I.handlers,I);if(U!==void 0)I.handlers=U;return I.record(),I.chain()}dY.light=function(I){var U=dY.saw(I,{}),Y=I.call(U.handlers,U);if(Y!==void 0)U.handlers=Y;return U.chain()};dY.saw=function($,I){var U=new _71;return U.handlers=I,U.actions=[],U.chain=function(){var Y=j71(U.handlers).map(function(J){if(this.isRoot)return J;var Q=this.path;if(typeof J==="function")this.update(function(){return U.actions.push({path:Q,args:[].slice.call(arguments)}),Y})});return process.nextTick(function(){U.emit("begin"),U.next()}),Y},U.pop=function(){return U.actions.shift()},U.next=function(){var Y=U.pop();if(!Y)U.emit("end");else if(!Y.trap){var J=U.handlers;Y.path.forEach(function(Q){J=J[Q]}),J.apply(U.handlers,Y.args)}},U.nest=function(Y){var J=[].slice.call(arguments,1),Q=!0;if(typeof Y==="boolean"){var Q=Y;Y=J.shift()}var K=dY.saw($,{}),q=$.call(K.handlers,K);if(q!==void 0)K.handlers=q;if(typeof U.step<"u")K.record();if(Y.apply(K.chain(),J),Q!==!1)K.on("end",U.next)},U.record=function(){S71(U)},["trap","down","jump"].forEach(function(Y){U[Y]=function(){throw Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),U};function S71($){$.step=0,$.pop=function(){return $.actions[$.step++]},$.trap=function(I,U){var Y=Array.isArray(I)?I:[I];$.actions.push({path:Y,step:$.step,cb:U,trap:!0})},$.down=function(I){var U=(Array.isArray(I)?I:[I]).join("/"),Y=$.actions.slice($.step).map(function(Q){if(Q.trap&&Q.step<=$.step)return!1;return Q.path.join("/")==U}).indexOf(!0);if(Y>=0)$.step+=Y;else $.step=$.actions.length;var J=$.actions[$.step-1];if(J&&J.trap)$.step=J.step,J.cb();else $.next()},$.jump=function(I){$.step=I,$.next()}}});var w20=O((cR1,X20)=>{X20.exports=_6;function _6($){if(!(this instanceof _6))return new _6($);this.buffers=$||[],this.length=this.buffers.reduce(function(I,U){return I+U.length},0)}_6.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 I=arguments[$];this.buffers.push(I),this.length+=I.length}return this.length};_6.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 I=arguments[$];this.buffers.unshift(I),this.length+=I.length}return this.length};_6.prototype.copy=function($,I,U,Y){return this.slice(U,Y).copy($,I,0,Y-U)};_6.prototype.splice=function($,I){var U=this.buffers,Y=$>=0?$:this.length-$,J=[].slice.call(arguments,2);if(I===void 0)I=this.length-Y;else if(I>this.length-Y)I=this.length-Y;for(var $=0;$<J.length;$++)this.length+=J[$].length;var Q=new _6,K=0,q=0;for(var G=0;G<U.length&&q+U[G].length<Y;G++)q+=U[G].length;if(Y-q>0){var H=Y-q;if(H+I<U[G].length){Q.push(U[G].slice(H,H+I));var W=U[G],V=new Buffer(H);for(var $=0;$<H;$++)V[$]=W[$];var z=new Buffer(W.length-H-I);for(var $=H+I;$<W.length;$++)z[$-I-H]=W[$];if(J.length>0){var Z=J.slice();Z.unshift(V),Z.push(z),U.splice.apply(U,[G,1].concat(Z)),G+=Z.length,J=[]}else U.splice(G,1,V,z),G+=2}else Q.push(U[G].slice(H)),U[G]=U[G].slice(0,H),G++}if(J.length>0)U.splice.apply(U,[G,0].concat(J)),G+=J.length;while(Q.length<I){var w=U[G],L=w.length,D=Math.min(L,I-Q.length);if(D===L)Q.push(w),U.splice(G,1);else Q.push(w.slice(0,D)),U[G]=U[G].slice(D)}return this.length-=Q.length,Q};_6.prototype.slice=function($,I){var U=this.buffers;if(I===void 0)I=this.length;if($===void 0)$=0;if(I>this.length)I=this.length;var Y=0;for(var J=0;J<U.length&&Y+U[J].length<=$;J++)Y+=U[J].length;var Q=new Buffer(I-$),K=0;for(var q=J;K<I-$&&q<U.length;q++){var G=U[q].length,H=K===0?$-Y:0,W=K+G>=I-$?Math.min(H+(I-$)-K,G):G;U[q].copy(Q,K,H,W),K+=W-H}return Q};_6.prototype.pos=function($){if($<0||$>=this.length)throw Error("oob");var I=$,U=0,Y=null;for(;;){if(Y=this.buffers[U],I<Y.length)return{buf:U,offset:I};else I-=Y.length;U++}};_6.prototype.get=function(I){var U=this.pos(I);return this.buffers[U.buf].get(U.offset)};_6.prototype.set=function(I,U){var Y=this.pos(I);return this.buffers[Y.buf].set(Y.offset,U)};_6.prototype.indexOf=function($,I){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 U=0,Y=0,J=0,Q,K=0;if(I){var q=this.pos(I);U=q.buf,Y=q.offset,K=I}for(;;){while(Y>=this.buffers[U].length)if(Y=0,U++,U>=this.buffers.length)return-1;var G=this.buffers[U][Y];if(G==$[J]){if(J==0)Q={i:U,j:Y,pos:K};if(J++,J==$.length)return Q.pos}else if(J!=0)U=Q.i,Y=Q.j,K=Q.pos,J=0;Y++,K++}};_6.prototype.toBuffer=function(){return this.slice()};_6.prototype.toString=function($,I,U){return this.slice(I,U).toString($)}});var D20=O((dR1,L20)=>{L20.exports=function($){function I(Y,J){var Q=U.store,K=Y.split(".");K.slice(0,-1).forEach(function(G){if(Q[G]===void 0)Q[G]={};Q=Q[G]});var q=K[K.length-1];if(arguments.length==1)return Q[q];else return Q[q]=J}var U={get:function(Y){return I(Y)},set:function(Y,J){return I(Y,J)},store:$||{}};return U}});var Hq=O((g3,A20)=>{var g71=z20(),O20=r("events").EventEmitter,y71=w20(),Pw=D20(),h71=r("stream").Stream;g3=A20.exports=function($,I){if(Buffer.isBuffer($))return g3.parse($);var U=g3.stream();if($&&$.pipe)$.pipe(U);else if($)$.on(I||"data",function(Y){U.write(Y)}),$.on("end",function(){U.end()});return U};g3.stream=function($){if($)return g3.apply(null,arguments);var I=null;function U(V,z,Z){I={bytes:V,skip:Z,cb:function(w){I=null,z(w)}},J()}var Y=null;function J(){if(!I){if(W)H=!0;return}if(typeof I==="function")I();else{var V=Y+I.bytes;if(q.length>=V){var z;if(Y==null){if(z=q.splice(0,V),!I.skip)z=z.slice()}else{if(!I.skip)z=q.slice(Y,V);Y=V}if(I.skip)I.cb();else I.cb(z)}}}function Q(V){function z(){if(!H)V.next()}var Z=M20(function(w,L){return function(D){U(w,function(N){G.set(D,L(N)),z()})}});return Z.tap=function(w){V.nest(w,G.store)},Z.into=function(w,L){if(!G.get(w))G.set(w,{});var D=G;G=Pw(D.get(w)),V.nest(function(){L.apply(this,arguments),this.tap(function(){G=D})},G.store)},Z.flush=function(){G.store={},z()},Z.loop=function(w){var L=!1;V.nest(!1,function D(){this.vars=G.store,w.call(this,function(){L=!0,z()},G.store),this.tap(function(){if(L)V.next();else D.call(this)}.bind(this))},G.store)},Z.buffer=function(w,L){if(typeof L==="string")L=G.get(L);U(L,function(D){G.set(w,D),z()})},Z.skip=function(w){if(typeof w==="string")w=G.get(w);U(w,function(){z()})},Z.scan=function(L,D){if(typeof D==="string")D=new Buffer(D);else if(!Buffer.isBuffer(D))throw Error("search must be a Buffer or a string");var N=0;I=function(){var E=q.indexOf(D,Y+N),T=E-Y-N;if(E!==-1){if(I=null,Y!=null)G.set(L,q.slice(Y,Y+N+T)),Y+=N+T+D.length;else G.set(L,q.slice(0,N+T)),q.splice(0,N+T+D.length);z(),J()}else T=Math.max(q.length-D.length-Y-N,0);N+=T},J()},Z.peek=function(w){Y=0,V.nest(function(){w.call(this,G.store),this.tap(function(){Y=null})})},Z}var K=g71.light(Q);K.writable=!0;var q=y71();K.write=function(V){q.push(V),J()};var G=Pw(),H=!1,W=!1;return K.end=function(){W=!0},K.pipe=h71.prototype.pipe,Object.getOwnPropertyNames(O20.prototype).forEach(function(V){K[V]=O20.prototype[V]}),K};g3.parse=function(I){var U=M20(function(Q,K){return function(q){if(Y+Q<=I.length){var G=I.slice(Y,Y+Q);Y+=Q,J.set(q,K(G))}else J.set(q,null);return U}}),Y=0,J=Pw();return U.vars=J.store,U.tap=function(Q){return Q.call(U,J.store),U},U.into=function(Q,K){if(!J.get(Q))J.set(Q,{});var q=J;return J=Pw(q.get(Q)),K.call(U,J.store),J=q,U},U.loop=function(Q){var K=!1,q=function(){K=!0};while(K===!1)Q.call(U,q,J.store);return U},U.buffer=function(Q,K){if(typeof K==="string")K=J.get(K);var q=I.slice(Y,Math.min(I.length,Y+K));return Y+=K,J.set(Q,q),U},U.skip=function(Q){if(typeof Q==="string")Q=J.get(Q);return Y+=Q,U},U.scan=function(Q,K){if(typeof K==="string")K=new Buffer(K);else if(!Buffer.isBuffer(K))throw Error("search must be a Buffer or a string");J.set(Q,null);for(var q=0;q+Y<=I.length-K.length+1;q++){for(var G=0;G<K.length&&I[Y+q+G]===K[G];G++);if(G===K.length)break}return J.set(Q,I.slice(Y,Y+q)),Y+=q+K.length,U},U.peek=function(Q){var K=Y;return Q.call(U,J.store),Y=K,U},U.flush=function(){return J.store={},U},U.eof=function(){return Y>=I.length},U};function N20($){var I=0;for(var U=0;U<$.length;U++)I+=Math.pow(256,U)*$[U];return I}function F20($){var I=0;for(var U=0;U<$.length;U++)I+=Math.pow(256,$.length-U-1)*$[U];return I}function x71($){var I=F20($);if(($[0]&128)==128)I-=Math.pow(256,$.length);return I}function k71($){var I=N20($);if(($[$.length-1]&128)==128)I-=Math.pow(256,$.length);return I}function M20($){var I={};return[1,2,4,8].forEach(function(U){var Y=U*8;I["word"+Y+"le"]=I["word"+Y+"lu"]=$(U,N20),I["word"+Y+"ls"]=$(U,k71),I["word"+Y+"be"]=I["word"+Y+"bu"]=$(U,F20),I["word"+Y+"bs"]=$(U,x71)}),I.word8=I.word8u=I.word8be,I.word8s=I.word8bs,I}});var y3=O((mR1,rS)=>{var bS=function(){return this===void 0}();if(bS)rS.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:bS,propertyIsWritable:function($,I){var U=Object.getOwnPropertyDescriptor($,I);return!!(!U||U.writable||U.set)}};else iS={}.hasOwnProperty,nS={}.toString,pS={}.constructor.prototype,Tw=function($){var I=[];for(var U in $)if(iS.call($,U))I.push(U);return I},cS=function($,I){return{value:$[I]}},dS=function($,I,U){return $[I]=U.value,$},mS=function($){return $},lS=function($){try{return Object($).constructor.prototype}catch(I){return pS}},oS=function($){try{return nS.call($)==="[object Array]"}catch(I){return!1}},rS.exports={isArray:oS,keys:Tw,names:Tw,defineProperty:dS,getDescriptor:cS,freeze:mS,getPrototypeOf:lS,isES5:bS,propertyIsWritable:function(){return!0}};var iS,nS,pS,Tw,cS,dS,mS,lS,oS});var b1=O((Bw,Ig)=>{var l6=y3(),u71=typeof navigator>"u",tS={e:{}},aS,f71=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Bw!==void 0?Bw:null;function b71(){try{var $=aS;return aS=null,$.apply(this,arguments)}catch(I){return tS.e=I,tS}}function i71($){return aS=$,b71}var n71=function($,I){var U={}.hasOwnProperty;function Y(){this.constructor=$,this.constructor$=I;for(var J in I.prototype)if(U.call(I.prototype,J)&&J.charAt(J.length-1)!=="$")this[J+"$"]=I.prototype[J]}return Y.prototype=I.prototype,$.prototype=new Y,$.prototype};function $g($){return $==null||$===!0||$===!1||typeof $==="string"||typeof $==="number"}function p71($){return typeof $==="function"||typeof $==="object"&&$!==null}function c71($){if(!$g($))return $;return Error(Ew($))}function d71($,I){var U=$.length,Y=Array(U+1),J;for(J=0;J<U;++J)Y[J]=$[J];return Y[J]=I,Y}function m71($,I,U){if(l6.isES5){var Y=Object.getOwnPropertyDescriptor($,I);if(Y!=null)return Y.get==null&&Y.set==null?Y.value:U}else return{}.hasOwnProperty.call($,I)?$[I]:void 0}function P20($,I,U){if($g($))return $;var Y={value:U,configurable:!0,enumerable:!1,writable:!0};return l6.defineProperty($,I,Y),$}function l71($){throw $}var o71=function(){var $=[Array.prototype,Object.prototype,Function.prototype],I=function(J){for(var Q=0;Q<$.length;++Q)if($[Q]===J)return!0;return!1};if(l6.isES5){var U=Object.getOwnPropertyNames;return function(J){var Q=[],K=Object.create(null);while(J!=null&&!I(J)){var q;try{q=U(J)}catch(V){return Q}for(var G=0;G<q.length;++G){var H=q[G];if(K[H])continue;K[H]=!0;var W=Object.getOwnPropertyDescriptor(J,H);if(W!=null&&W.get==null&&W.set==null)Q.push(H)}J=l6.getPrototypeOf(J)}return Q}}else{var Y={}.hasOwnProperty;return function(J){if(I(J))return[];var Q=[];$:for(var K in J)if(Y.call(J,K))Q.push(K);else{for(var q=0;q<$.length;++q)if(Y.call($[q],K))continue $;Q.push(K)}return Q}}}(),r71=/this\s*\.\s*\S+\s*=/;function t71($){try{if(typeof $==="function"){var I=l6.names($.prototype),U=l6.isES5&&I.length>1,Y=I.length>0&&!(I.length===1&&I[0]==="constructor"),J=r71.test($+"")&&l6.names($).length>0;if(U||Y||J)return!0}return!1}catch(Q){return!1}}function a71(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var s71=/^[a-z$_][a-z$_0-9]*$/i;function e71($){return s71.test($)}function $31($,I,U){var Y=Array($);for(var J=0;J<$;++J)Y[J]=I+J+U;return Y}function Ew($){try{return $+""}catch(I){return"[no string representation]"}}function T20($){return $!==null&&typeof $==="object"&&typeof $.message==="string"&&typeof $.name==="string"}function I31($){try{P20($,"isOperational",!0)}catch(I){}}function U31($){if($==null)return!1;return $ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function sS($){return T20($)&&l6.propertyIsWritable($,"stack")}var Y31=function(){if(!("stack"in Error()))return function($){if(sS($))return $;try{throw Error(Ew($))}catch(I){return I}};else return function($){if(sS($))return $;return Error(Ew($))}}();function E20($){return{}.toString.call($)}function J31($,I,U){var Y=l6.names($);for(var J=0;J<Y.length;++J){var Q=Y[J];if(U(Q))try{l6.defineProperty(I,Q,l6.getDescriptor($,Q))}catch(K){}}}var B20=function($){if(l6.isArray($))return $;return null};if(typeof Symbol<"u"&&Symbol.iterator)eS=typeof Array.from==="function"?function($){return Array.from($)}:function($){var I=[],U=$[Symbol.iterator](),Y;while(!(Y=U.next()).done)I.push(Y.value);return I},B20=function($){if(l6.isArray($))return $;else if($!=null&&typeof $[Symbol.iterator]==="function")return eS($);return null};var eS,Q31=typeof process<"u"&&E20(process).toLowerCase()==="[object process]",R20=typeof process<"u"&&typeof process.env<"u";function K31($){return R20?process.env[$]:void 0}function q31(){if(typeof Promise==="function")try{var $=new Promise(function(){});if({}.toString.call($)==="[object Promise]")return Promise}catch(I){}}function G31($,I){return $.bind(I)}var mY={isClass:t71,isIdentifier:e71,inheritedDataKeys:o71,getDataPropertyOrDefault:m71,thrower:l71,isArray:l6.isArray,asArray:B20,notEnumerableProp:P20,isPrimitive:$g,isObject:p71,isError:T20,canEvaluate:u71,errorObj:tS,tryCatch:i71,inherits:n71,withAppended:d71,maybeWrapAsError:c71,toFastProperties:a71,filledRange:$31,toString:Ew,canAttachTrace:sS,ensureErrorObject:Y31,originatesFromRejection:U31,markAsOriginatingFromRejection:I31,classString:E20,copyDescriptors:J31,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes==="function",isNode:Q31,hasEnvVariables:R20,env:K31,global:f71,getNativePromise:q31,domainBind:G31};mY.isRecentNode=mY.isNode&&function(){var $=process.versions.node.split(".").map(Number);return $[0]===0&&$[1]>10||$[0]>0}();if(mY.isNode)mY.toFastProperties(process);try{throw Error()}catch($){mY.lastLineError=$}Ig.exports=mY});var C20=O((lR1,v20)=>{var Yg=b1(),h3,H31=function(){throw Error(`No async scheduler available
See http://goo.gl/MqrFmX
`)},Ug=Yg.getNativePromise();if(Yg.isNode&&typeof MutationObserver>"u")Jg=global.setImmediate,Qg=process.nextTick,h3=Yg.isRecentNode?function($){Jg.call(global,$)}:function($){Qg.call(process,$)};else if(typeof Ug==="function"&&typeof Ug.resolve==="function")Kg=Ug.resolve(),h3=function($){Kg.then($)};else if(typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)))h3=function(){var $=document.createElement("div"),I={attributes:!0},U=!1,Y=document.createElement("div"),J=new MutationObserver(function(){$.classList.toggle("foo"),U=!1});J.observe(Y,I);var Q=function(){if(U)return;U=!0,Y.classList.toggle("foo")};return function(q){var G=new MutationObserver(function(){G.disconnect(),q()});G.observe($,I),Q()}}();else if(typeof setImmediate<"u")h3=function($){setImmediate($)};else if(typeof setTimeout<"u")h3=function($){setTimeout($,0)};else h3=H31;var Jg,Qg,Kg;v20.exports=h3});var _20=O((oR1,j20)=>{function W31($,I,U,Y,J){for(var Q=0;Q<J;++Q)U[Q+Y]=$[Q+I],$[Q+I]=void 0}function I7($){this._capacity=$,this._length=0,this._front=0}I7.prototype._willBeOverCapacity=function($){return this._capacity<$};I7.prototype._pushOne=function($){var I=this.length();this._checkCapacity(I+1);var U=this._front+I&this._capacity-1;this[U]=$,this._length=I+1};I7.prototype.push=function($,I,U){var Y=this.length()+3;if(this._willBeOverCapacity(Y)){this._pushOne($),this._pushOne(I),this._pushOne(U);return}var J=this._front+Y-3;this._checkCapacity(Y);var Q=this._capacity-1;this[J+0&Q]=$,this[J+1&Q]=I,this[J+2&Q]=U,this._length=Y};I7.prototype.shift=function(){var $=this._front,I=this[$];return this[$]=void 0,this._front=$+1&this._capacity-1,this._length--,I};I7.prototype.length=function(){return this._length};I7.prototype._checkCapacity=function($){if(this._capacity<$)this._resizeTo(this._capacity<<1)};I7.prototype._resizeTo=function($){var I=this._capacity;this._capacity=$;var U=this._front,Y=this._length,J=U+Y&I-1;W31(this,0,this,I,J)};j20.exports=I7});var u20=O((rR1,qg)=>{var x20;try{throw Error()}catch($){x20=$}var V31=C20(),S20=_20(),k20=b1();function p4(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new S20(16),this._normalQueue=new S20(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var $=this;this.drainQueues=function(){$._drainQueues()},this._schedule=V31}p4.prototype.setScheduler=function($){var I=this._schedule;return this._schedule=$,this._customScheduler=!0,I};p4.prototype.hasCustomScheduler=function(){return this._customScheduler};p4.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};p4.prototype.disableTrampolineIfNecessary=function(){if(k20.hasDevTools)this._trampolineEnabled=!1};p4.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};p4.prototype.fatalError=function($,I){if(I)process.stderr.write("Fatal "+($ instanceof Error?$.stack:$)+`
`),process.exit(2);else this.throwLater($)};p4.prototype.throwLater=function($,I){if(arguments.length===1)I=$,$=function(){throw I};if(typeof setTimeout<"u")setTimeout(function(){$(I)},0);else try{this._schedule(function(){$(I)})}catch(U){throw Error(`No async scheduler available
See http://goo.gl/MqrFmX
`)}};function g20($,I,U){this._lateQueue.push($,I,U),this._queueTick()}function y20($,I,U){this._normalQueue.push($,I,U),this._queueTick()}function h20($){this._normalQueue._pushOne($),this._queueTick()}if(!k20.hasDevTools)p4.prototype.invokeLater=g20,p4.prototype.invoke=y20,p4.prototype.settlePromises=h20;else p4.prototype.invokeLater=function($,I,U){if(this._trampolineEnabled)g20.call(this,$,I,U);else this._schedule(function(){setTimeout(function(){$.call(I,U)},100)})},p4.prototype.invoke=function($,I,U){if(this._trampolineEnabled)y20.call(this,$,I,U);else this._schedule(function(){$.call(I,U)})},p4.prototype.settlePromises=function($){if(this._trampolineEnabled)h20.call(this,$);else this._schedule(function(){$._settlePromises()})};p4.prototype._drainQueue=function($){while($.length()>0){var I=$.shift();if(typeof I!=="function"){I._settlePromises();continue}var U=$.shift(),Y=$.shift();I.call(U,Y)}};p4.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)};p4.prototype._queueTick=function(){if(!this._isTickUsed)this._isTickUsed=!0,this._schedule(this.drainQueues)};p4.prototype._reset=function(){this._isTickUsed=!1};qg.exports=p4;qg.exports.firstLineError=x20});var C5=O((tR1,i20)=>{var Wg=y3(),Z31=Wg.freeze,f20=b1(),b20=f20.inherits,lY=f20.notEnumerableProp;function oY($,I){function U(Y){if(!(this instanceof U))return new U(Y);if(lY(this,"message",typeof Y==="string"?Y:I),lY(this,"name",$),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else Error.call(this)}return b20(U,Error),U}var Gg,Hg,z31=oY("Warning","warning"),X31=oY("CancellationError","cancellation error"),w31=oY("TimeoutError","timeout error"),Vq=oY("AggregateError","aggregate error");try{Gg=TypeError,Hg=RangeError}catch($){Gg=oY("TypeError","type error"),Hg=oY("RangeError","range error")}var Rw="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" ");for(x3=0;x3<Rw.length;++x3)if(typeof Array.prototype[Rw[x3]]==="function")Vq.prototype[Rw[x3]]=Array.prototype[Rw[x3]];var x3;Wg.defineProperty(Vq.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0});Vq.prototype.isOperational=!0;var vw=0;Vq.prototype.toString=function(){var $=Array(vw*4+1).join(" "),I=`
`+$+`AggregateError of:
`;vw++,$=Array(vw*4+1).join(" ");for(var U=0;U<this.length;++U){var Y=this[U]===this?"[Circular AggregateError]":this[U]+"",J=Y.split(`
`);for(var Q=0;Q<J.length;++Q)J[Q]=$+J[Q];Y=J.join(`
`),I+=Y+`
`}return vw--,I};function Wq($){if(!(this instanceof Wq))return new Wq($);if(lY(this,"name","OperationalError"),lY(this,"message",$),this.cause=$,this.isOperational=!0,$ instanceof Error)lY(this,"message",$.message),lY(this,"stack",$.stack);else if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}b20(Wq,Error);var k3=Error.__BluebirdErrorTypes__;if(!k3)k3=Z31({CancellationError:X31,TimeoutError:w31,OperationalError:Wq,RejectionError:Wq,AggregateError:Vq}),Wg.defineProperty(Error,"__BluebirdErrorTypes__",{value:k3,writable:!1,enumerable:!1,configurable:!1});i20.exports={Error,TypeError:Gg,RangeError:Hg,CancellationError:k3.CancellationError,OperationalError:k3.OperationalError,TimeoutError:k3.TimeoutError,AggregateError:k3.AggregateError,Warning:z31}});var p20=O((aR1,n20)=>{n20.exports=function($,I){var U=b1(),Y=U.errorObj,J=U.isObject;function Q(V,z){if(J(V)){if(V instanceof $)return V;var Z=q(V);if(Z===Y){if(z)z._pushContext();var w=$.reject(Z.e);if(z)z._popContext();return w}else if(typeof Z==="function"){if(H(V)){var w=new $(I);return V._then(w._fulfill,w._reject,void 0,w,null),w}return W(V,Z,z)}}return V}function K(V){return V.then}function q(V){try{return K(V)}catch(z){return Y.e=z,Y}}var G={}.hasOwnProperty;function H(V){try{return G.call(V,"_promise0")}catch(z){return!1}}function W(V,z,Z){var w=new $(I),L=w;if(Z)Z._pushContext();if(w._captureStackTrace(),Z)Z._popContext();var D=!0,N=U.tryCatch(z).call(V,E,T);if(D=!1,w&&N===Y)w._rejectCallback(N.e,!0,!0),w=null;function E(A){if(!w)return;w._resolveCallback(A),w=null}function T(A){if(!w)return;w._rejectCallback(A,D,!0),w=null}return L}return Q}});var d20=O((sR1,c20)=>{c20.exports=function($,I,U,Y,J){var Q=b1(),K=Q.isArray;function q(H){switch(H){case-2:return[];case-3:return{}}}function G(H){var W=this._promise=new $(I);if(H instanceof $)W._propagateFrom(H,3);W._setOnCancel(this),this._values=H,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return Q.inherits(G,J),G.prototype.length=function(){return this._length},G.prototype.promise=function(){return this._promise},G.prototype._init=function H(W,V){var z=U(this._values,this._promise);if(z instanceof $){z=z._target();var Z=z._bitField;if(this._values=z,(Z&50397184)===0)return this._promise._setAsyncGuaranteed(),z._then(H,this._reject,void 0,this,V);else if((Z&33554432)!==0)z=z._value();else if((Z&16777216)!==0)return this._reject(z._reason());else return this._cancel()}if(z=Q.asArray(z),z===null){var w=Y("expecting an array or an iterable object but got "+Q.classString(z)).reason();this._promise._rejectCallback(w,!1);return}if(z.length===0){if(V===-5)this._resolveEmptyArray();else this._resolve(q(V));return}this._iterate(z)},G.prototype._iterate=function(H){var W=this.getActualLength(H.length);this._length=W,this._values=this.shouldCopyValues()?Array(W):this._values;var V=this._promise,z=!1,Z=null;for(var w=0;w<W;++w){var L=U(H[w],V);if(L instanceof $)L=L._target(),Z=L._bitField;else Z=null;if(z){if(Z!==null)L.suppressUnhandledRejections()}else if(Z!==null)if((Z&50397184)===0)L._proxy(this,w),this._values[w]=L;else if((Z&33554432)!==0)z=this._promiseFulfilled(L._value(),w);else if((Z&16777216)!==0)z=this._promiseRejected(L._reason(),w);else z=this._promiseCancelled(w);else z=this._promiseFulfilled(L,w)}if(!z)V._setAsyncGuaranteed()},G.prototype._isResolved=function(){return this._values===null},G.prototype._resolve=function(H){this._values=null,this._promise._fulfill(H)},G.prototype._cancel=function(){if(this._isResolved()||!this._promise._isCancellable())return;this._values=null,this._promise._cancel()},G.prototype._reject=function(H){this._values=null,this._promise._rejectCallback(H,!1)},G.prototype._promiseFulfilled=function(H,W){this._values[W]=H;var V=++this._totalResolved;if(V>=this._length)return this._resolve(this._values),!0;return!1},G.prototype._promiseCancelled=function(){return this._cancel(),!0},G.prototype._promiseRejected=function(H){return this._totalResolved++,this._reject(H),!0},G.prototype._resultCancelled=function(){if(this._isResolved())return;var H=this._values;if(this._cancel(),H instanceof $)H.cancel();else for(var W=0;W<H.length;++W)if(H[W]instanceof $)H[W].cancel()},G.prototype.shouldCopyValues=function(){return!0},G.prototype.getActualLength=function(H){return H},G}});var l20=O((eR1,m20)=>{m20.exports=function($){var I=!1,U=[];$.prototype._promiseCreated=function(){},$.prototype._pushContext=function(){},$.prototype._popContext=function(){return null},$._peekContext=$.prototype._peekContext=function(){};function Y(){this._trace=new Y.CapturedTrace(Q())}Y.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,U.push(this._trace)},Y.prototype._popContext=function(){if(this._trace!==void 0){var K=U.pop(),q=K._promiseCreated;return K._promiseCreated=null,q}return null};function J(){if(I)return new Y}function Q(){var K=U.length-1;if(K>=0)return U[K];return}return Y.CapturedTrace=null,Y.create=J,Y.deactivateLongStackTraces=function(){},Y.activateLongStackTraces=function(){var K=$.prototype._pushContext,q=$.prototype._popContext,G=$._peekContext,H=$.prototype._peekContext,W=$.prototype._promiseCreated;Y.deactivateLongStackTraces=function(){$.prototype._pushContext=K,$.prototype._popContext=q,$._peekContext=G,$.prototype._peekContext=H,$.prototype._promiseCreated=W,I=!1},I=!0,$.prototype._pushContext=Y.prototype._pushContext,$.prototype._popContext=Y.prototype._popContext,$._peekContext=$.prototype._peekContext=Q,$.prototype._promiseCreated=function(){var V=this._peekContext();if(V&&V._promiseCreated==null)V._promiseCreated=this}},Y}});var r20=O(($v1,o20)=>{o20.exports=function($,I){var{_getDomain:U,_async:Y}=$,J=C5().Warning,Q=b1(),K=Q.canAttachTrace,q,G,H=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,W=/\((?:timers\.js):\d+:\d+\)/,V=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,z=null,Z=null,w=!1,L,D=!!(Q.env("BLUEBIRD_DEBUG")!=0&&(Q.env("BLUEBIRD_DEBUG")||Q.env("NODE_ENV")==="development")),N=!!(Q.env("BLUEBIRD_WARNINGS")!=0&&(D||Q.env("BLUEBIRD_WARNINGS"))),E=!!(Q.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(D||Q.env("BLUEBIRD_LONG_STACK_TRACES"))),T=Q.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(N||!!Q.env("BLUEBIRD_W_FORGOTTEN_RETURN"));$.prototype.suppressUnhandledRejections=function(){var a=this._target();a._bitField=a._bitField&-1048577|524288},$.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),Y.invokeLater(this._notifyUnhandledRejection,this,void 0)},$.prototype._notifyUnhandledRejectionIsHandled=function(){W$("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 a=this._settledValue();this._setUnhandledRejectionIsNotified(),W$("unhandledRejection",G,a,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(a,F,M){return w1(a,F,M||this)},$.onPossiblyUnhandledRejection=function(a){var F=U();G=typeof a==="function"?F===null?a:Q.domainBind(F,a):void 0},$.onUnhandledRejectionHandled=function(a){var F=U();q=typeof a==="function"?F===null?a:Q.domainBind(F,a):void 0};var A=function(){};$.longStackTraces=function(){if(Y.haveItemsQueued()&&!T0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created
See http://goo.gl/MqrFmX
`);if(!T0.longStackTraces&&k$()){var a=$.prototype._captureStackTrace,F=$.prototype._attachExtraTrace;T0.longStackTraces=!0,A=function(){if(Y.haveItemsQueued()&&!T0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created
See http://goo.gl/MqrFmX
`);$.prototype._captureStackTrace=a,$.prototype._attachExtraTrace=F,I.deactivateLongStackTraces(),Y.enableTrampoline(),T0.longStackTraces=!1},$.prototype._captureStackTrace=K0,$.prototype._attachExtraTrace=W0,I.activateLongStackTraces(),Y.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return T0.longStackTraces&&k$()};var v=function(){try{if(typeof CustomEvent==="function"){var a=new CustomEvent("CustomEvent");return Q.global.dispatchEvent(a),function(F,M){var j=new CustomEvent(F.toLowerCase(),{detail:M,cancelable:!0});return!Q.global.dispatchEvent(j)}}else if(typeof Event==="function"){var a=new Event("CustomEvent");return Q.global.dispatchEvent(a),function(M,j){var x=new Event(M.toLowerCase(),{cancelable:!0});return x.detail=j,!Q.global.dispatchEvent(x)}}else{var a=document.createEvent("CustomEvent");return a.initCustomEvent("testingtheevent",!1,!0,{}),Q.global.dispatchEvent(a),function(M,j){var x=document.createEvent("CustomEvent");return x.initCustomEvent(M.toLowerCase(),!1,!0,j),!Q.global.dispatchEvent(x)}}}catch(F){}return function(){return!1}}(),u=function(){if(Q.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!Q.global)return function(){return!1};return function(a){var F="on"+a.toLowerCase(),M=Q.global[F];if(!M)return!1;return M.apply(Q.global,[].slice.call(arguments,1)),!0}}}();function g(a,F){return{promise:F}}var b={promiseCreated:g,promiseFulfilled:g,promiseRejected:g,promiseResolved:g,promiseCancelled:g,promiseChained:function(a,F,M){return{promise:F,child:M}},warning:function(a,F){return{warning:F}},unhandledRejection:function(a,F,M){return{reason:F,promise:M}},rejectionHandled:g},C=function(a){var F=!1;try{F=u.apply(null,arguments)}catch(j){Y.throwLater(j),F=!0}var M=!1;try{M=v(a,b[a].apply(null,arguments))}catch(j){Y.throwLater(j),M=!0}return M||F};$.config=function(a){if(a=Object(a),"longStackTraces"in a){if(a.longStackTraces)$.longStackTraces();else if(!a.longStackTraces&&$.hasLongStackTraces())A()}if("warnings"in a){var F=a.warnings;if(T0.warnings=!!F,T=T0.warnings,Q.isObject(F)){if("wForgottenReturn"in F)T=!!F.wForgottenReturn}}if("cancellation"in a&&a.cancellation&&!T0.cancellation){if(Y.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=Y0,$.prototype._propagateFrom=B,$.prototype._onCancel=f,$.prototype._setOnCancel=i,$.prototype._attachCancellationCallback=S,$.prototype._execute=n,d=B,T0.cancellation=!0}if("monitoring"in a){if(a.monitoring&&!T0.monitoring)T0.monitoring=!0,$.prototype._fireEvent=C;else if(!a.monitoring&&T0.monitoring)T0.monitoring=!1,$.prototype._fireEvent=p}return $};function p(){return!1}$.prototype._fireEvent=p,$.prototype._execute=function(a,F,M){try{a(F,M)}catch(j){return j}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(a){},$.prototype._attachCancellationCallback=function(a){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(a,F){};function n(a,F,M){var j=this;try{a(F,M,function(x){if(typeof x!=="function")throw TypeError("onCancel must be a function, got: "+Q.toString(x));j._attachCancellationCallback(x)})}catch(x){return x}}function S(a){if(!this._isCancellable())return this;var F=this._onCancel();if(F!==void 0)if(Q.isArray(F))F.push(a);else this._setOnCancel([F,a]);else this._setOnCancel(a)}function f(){return this._onCancelField}function i(a){this._onCancelField=a}function Y0(){this._cancellationParent=void 0,this._onCancelField=void 0}function B(a,F){if((F&1)!==0){this._cancellationParent=a;var M=a._branchesRemainingToCancel;if(M===void 0)M=0;a._branchesRemainingToCancel=M+1}if((F&2)!==0&&a._isBound())this._setBoundTo(a._boundTo)}function k(a,F){if((F&2)!==0&&a._isBound())this._setBoundTo(a._boundTo)}var d=k;function t(){var a=this._boundTo;if(a!==void 0){if(a instanceof $)if(a.isFulfilled())return a.value();else return}return a}function K0(){this._trace=new s6(this._peekContext())}function W0(a,F){if(K(a)){var M=this._trace;if(M!==void 0){if(F)M=M._parent}if(M!==void 0)M.attachExtraTrace(a);else if(!a.__stackCleaned__){var j=Q4(a);Q.notEnumerableProp(a,"stack",j.message+`
`+j.stack.join(`
`)),Q.notEnumerableProp(a,"__stackCleaned__",!0)}}}function M0(a,F,M,j,x){if(a===void 0&&F!==null&&T){if(x!==void 0&&x._returnedNonUndefined())return;if((j._bitField&65535)===0)return;if(M)M=M+" ";var s="",m="";if(F._trace){var e=F._trace.stack.split(`
`),J0=g0(e);for(var H0=J0.length-1;H0>=0;--H0){var v0=J0[H0];if(!W.test(v0)){var b0=v0.match(V);if(b0)s="at "+b0[1]+":"+b0[2]+":"+b0[3]+" ";break}}if(J0.length>0){var k0=J0[0];for(var H0=0;H0<e.length;++H0)if(e[H0]===k0){if(H0>0)m=`
`+e[H0-1];break}}}var J1="a promise was created in a "+M+"handler "+s+"but was not returned from it, see http://goo.gl/rRqMUw"+m;j._warn(J1,!0,F)}}function B0(a,F){var M=a+" is deprecated and will be removed in a future version.";if(F)M+=" Use "+F+" instead.";return w1(M)}function w1(a,F,M){if(!T0.warnings)return;var j=new J(a),x;if(F)M._attachExtraTrace(j);else if(T0.longStackTraces&&(x=$._peekContext()))x.attachExtraTrace(j);else{var s=Q4(j);j.stack=s.message+`
`+s.stack.join(`
`)}if(!C("warning",j))j4(j,"",!0)}function f0(a,F){for(var M=0;M<F.length-1;++M)F[M].push("From previous event:"),F[M]=F[M].join(`
`);if(M<F.length)F[M]=F[M].join(`
`);return a+`
`+F.join(`
`)}function G1(a){for(var F=0;F<a.length;++F)if(a[F].length===0||F+1<a.length&&a[F][0]===a[F+1][0])a.splice(F,1),F--}function O0(a){var F=a[0];for(var M=1;M<a.length;++M){var j=a[M],x=F.length-1,s=F[x],m=-1;for(var e=j.length-1;e>=0;--e)if(j[e]===s){m=e;break}for(var e=m;e>=0;--e){var J0=j[e];if(F[x]===J0)F.pop(),x--;else break}F=j}}function g0(a){var F=[];for(var M=0;M<a.length;++M){var j=a[M],x=j===" (No stack trace)"||z.test(j),s=x&&V$(j);if(x&&!s){if(w&&j.charAt(0)!==" ")j=" "+j;F.push(j)}}return F}function d0(a){var F=a.stack.replace(/\s+$/g,"").split(`
`);for(var M=0;M<F.length;++M){var j=F[M];if(j===" (No stack trace)"||z.test(j))break}if(M>0&&a.name!="SyntaxError")F=F.slice(M);return F}function Q4(a){var F=a.stack,M=a.toString();return F=typeof F==="string"&&F.length>0?d0(a):[" (No stack trace)"],{message:M,stack:a.name=="SyntaxError"?F:g0(F)}}function j4(a,F,M){if(typeof console<"u"){var j;if(Q.isObject(a)){var x=a.stack;j=F+Z(x,a)}else j=F+String(a);if(typeof L==="function")L(j,M);else if(typeof console.log==="function"||typeof console.log==="object")console.log(j)}}function W$(a,F,M,j){var x=!1;try{if(typeof F==="function")if(x=!0,a==="rejectionHandled")F(j);else F(M,j)}catch(s){Y.throwLater(s)}if(a==="unhandledRejection"){if(!C(a,M,j)&&!x)j4(M,"Unhandled rejection ")}else C(a,j)}function x$(a){var F;if(typeof a==="function")F="[function "+(a.name||"anonymous")+"]";else{F=a&&typeof a.toString==="function"?a.toString():Q.toString(a);var M=/\[object [a-zA-Z0-9$_]+\]/;if(M.test(F))try{var j=JSON.stringify(a);F=j}catch(x){}if(F.length===0)F="(empty array)"}return"(<"+c8(F)+">, no stack trace)"}function c8(a){var F=41;if(a.length<F)return a;return a.substr(0,F-3)+"..."}function k$(){return typeof p5==="function"}var V$=function(){return!1},d8=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function a6(a){var F=a.match(d8);if(F)return{fileName:F[1],line:parseInt(F[2],10)}}function w7(a,F){if(!k$())return;var M=a.stack.split(`
`),j=F.stack.split(`
`),x=-1,s=-1,m,e;for(var J0=0;J0<M.length;++J0){var H0=a6(M[J0]);if(H0){m=H0.fileName,x=H0.line;break}}for(var J0=0;J0<j.length;++J0){var H0=a6(j[J0]);if(H0){e=H0.fileName,s=H0.line;break}}if(x<0||s<0||!m||!e||m!==e||x>=s)return;V$=function(v0){if(H.test(v0))return!0;var b0=a6(v0);if(b0){if(b0.fileName===m&&(x<=b0.line&&b0.line<=s))return!0}return!1}}function s6(a){this._parent=a,this._promisesCreated=0;var F=this._length=1+(a===void 0?0:a._length);if(p5(this,s6),F>32)this.uncycle()}Q.inherits(s6,Error),I.CapturedTrace=s6,s6.prototype.uncycle=function(){var a=this._length;if(a<2)return;var F=[],M={};for(var j=0,x=this;x!==void 0;++j)F.push(x),x=x._parent;a=this._length=j;for(var j=a-1;j>=0;--j){var s=F[j].stack;if(M[s]===void 0)M[s]=j}for(var j=0;j<a;++j){var m=F[j].stack,e=M[m];if(e!==void 0&&e!==j){if(e>0)F[e-1]._parent=void 0,F[e-1]._length=1;F[j]._parent=void 0,F[j]._length=1;var J0=j>0?F[j-1]:this;if(e<a-1)J0._parent=F[e+1],J0._parent.uncycle(),J0._length=J0._parent._length+1;else J0._parent=void 0,J0._length=1;var H0=J0._length+1;for(var v0=j-2;v0>=0;--v0)F[v0]._length=H0,H0++;return}}},s6.prototype.attachExtraTrace=function(a){if(a.__stackCleaned__)return;this.uncycle();var F=Q4(a),M=F.message,j=[F.stack],x=this;while(x!==void 0)j.push(g0(x.stack.split(`
`))),x=x._parent;O0(j),G1(j),Q.notEnumerableProp(a,"stack",f0(M,j)),Q.notEnumerableProp(a,"__stackCleaned__",!0)};var p5=function(){var F=/^\s*at\s*/,M=function(m,e){if(typeof m==="string")return m;if(e.name!==void 0&&e.message!==void 0)return e.toString();return x$(e)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,z=F,Z=M;var j=Error.captureStackTrace;return V$=function(m){return H.test(m)},function(m,e){Error.stackTraceLimit+=6,j(m,e),Error.stackTraceLimit-=6}}var x=Error();if(typeof x.stack==="string"&&x.stack.split(`
`)[0].indexOf("stackDetection@")>=0)return z=/@/,Z=M,w=!0,function(e){e.stack=Error().stack};var s;try{throw Error()}catch(m){s="stack"in m}if(!("stack"in x)&&s&&typeof Error.stackTraceLimit==="number")return z=F,Z=M,function(e){Error.stackTraceLimit+=6;try{throw Error()}catch(J0){e.stack=J0.stack}Error.stackTraceLimit-=6};return Z=function(m,e){if(typeof m==="string")return m;if((typeof e==="object"||typeof e==="function")&&e.name!==void 0&&e.message!==void 0)return e.toString();return x$(e)},null}([]);if(typeof console<"u"&&typeof console.warn<"u"){if(L=function(a){console.warn(a)},Q.isNode&&process.stderr.isTTY)L=function(a,F){var M=F?"\x1B[33m":"\x1B[31m";console.warn(M+a+`\x1B[0m
`)};else if(!Q.isNode&&typeof Error().stack==="string")L=function(a,F){console.warn("%c"+a,F?"color: darkorange":"color: red")}}var T0={warnings:N,longStackTraces:!1,cancellation:!1,monitoring:!1};if(E)$.longStackTraces();return{longStackTraces:function(){return T0.longStackTraces},warnings:function(){return T0.warnings},cancellation:function(){return T0.cancellation},monitoring:function(){return T0.monitoring},propagateFromFunction:function(){return d},boundValueFunction:function(){return t},checkForgottenReturns:M0,setBounds:w7,warn:w1,deprecated:B0,CapturedTrace:s6,fireDomEvent:v,fireGlobalEvent:u}}});var a20=O((Iv1,t20)=>{t20.exports=function($,I){var U=b1(),Y=$.CancellationError,J=U.errorObj;function Q(V,z,Z){this.promise=V,this.type=z,this.handler=Z,this.called=!1,this.cancelPromise=null}Q.prototype.isFinallyHandler=function(){return this.type===0};function K(V){this.finallyHandler=V}K.prototype._resultCancelled=function(){q(this.finallyHandler)};function q(V,z){if(V.cancelPromise!=null){if(arguments.length>1)V.cancelPromise._reject(z);else V.cancelPromise._cancel();return V.cancelPromise=null,!0}return!1}function G(){return W.call(this,this.promise._target()._settledValue())}function H(V){if(q(this,V))return;return J.e=V,J}function W(V){var z=this.promise,Z=this.handler;if(!this.called){this.called=!0;var w=this.isFinallyHandler()?Z.call(z._boundValue()):Z.call(z._boundValue(),V);if(w!==void 0){z._setReturnedNonUndefined();var L=I(w,z);if(L instanceof $){if(this.cancelPromise!=null){if(L._isCancelled()){var D=new Y("late cancellation observer");return z._attachExtraTrace(D),J.e=D,J}else if(L.isPending())L._attachCancellationCallback(new K(this))}return L._then(G,H,void 0,this,void 0)}}}if(z.isRejected())return q(this),J.e=V,J;else return q(this),V}return $.prototype._passThrough=function(V,z,Z,w){if(typeof V!=="function")return this.then();return this._then(Z,w,void 0,new Q(this,z,V),void 0)},$.prototype.lastly=$.prototype.finally=function(V){return this._passThrough(V,0,W,W)},$.prototype.tap=function(V){return this._passThrough(V,1,W)},Q}});var e20=O((Uv1,s20)=>{s20.exports=function($){var I=b1(),U=y3().keys,Y=I.tryCatch,J=I.errorObj;function Q(K,q,G){return function(H){var W=G._boundValue();$:for(var V=0;V<K.length;++V){var z=K[V];if(z===Error||z!=null&&z.prototype instanceof Error){if(H instanceof z)return Y(q).call(W,H)}else if(typeof z==="function"){var Z=Y(z).call(W,H);if(Z===J)return Z;else if(Z)return Y(q).call(W,H)}else if(I.isObject(H)){var w=U(z);for(var L=0;L<w.length;++L){var D=w[L];if(z[D]!=H[D])continue $}return Y(q).call(W,H)}}return $}}return Q}});var Vg=O((Yv1,UK0)=>{var $K0=b1(),L31=$K0.maybeWrapAsError,D31=C5(),O31=D31.OperationalError,IK0=y3();function N31($){return $ instanceof Error&&IK0.getPrototypeOf($)===Error.prototype}var F31=/^(?:name|message|stack|cause)$/;function M31($){var I;if(N31($)){I=new O31($),I.name=$.name,I.message=$.message,I.stack=$.stack;var U=IK0.keys($);for(var Y=0;Y<U.length;++Y){var J=U[Y];if(!F31.test(J))I[J]=$[J]}return I}return $K0.markAsOriginatingFromRejection($),$}function A31($,I){return function(U,Y){if($===null)return;if(U){var J=M31(L31(U));$._attachExtraTrace(J),$._reject(J)}else if(!I)$._fulfill(Y);else{var Q=arguments.length,K=Array(Math.max(Q-1,0));for(var q=1;q<Q;++q)K[q-1]=arguments[q];$._fulfill(K)}$=null}}UK0.exports=A31});var JK0=O((Jv1,YK0)=>{YK0.exports=function($,I,U,Y,J){var Q=b1(),K=Q.tryCatch;$.method=function(q){if(typeof q!=="function")throw new $.TypeError("expecting a function but got "+Q.classString(q));return function(){var G=new $(I);G._captureStackTrace(),G._pushContext();var H=K(q).apply(this,arguments),W=G._popContext();return J.checkForgottenReturns(H,W,"Promise.method",G),G._resolveFromSyncValue(H),G}},$.attempt=$.try=function(q){if(typeof q!=="function")return Y("expecting a function but got "+Q.classString(q));var G=new $(I);G._captureStackTrace(),G._pushContext();var H;if(arguments.length>1){J.deprecated("calling Promise.try with more than 1 argument");var W=arguments[1],V=arguments[2];H=Q.isArray(W)?K(q).apply(V,W):K(q).call(V,W)}else H=K(q)();var z=G._popContext();return J.checkForgottenReturns(H,z,"Promise.try",G),G._resolveFromSyncValue(H),G},$.prototype._resolveFromSyncValue=function(q){if(q===Q.errorObj)this._rejectCallback(q.e,!1);else this._resolveCallback(q,!0)}}});var KK0=O((Qv1,QK0)=>{QK0.exports=function($,I,U,Y){var J=!1,Q=function(H,W){this._reject(W)},K=function(H,W){W.promiseRejectionQueued=!0,W.bindingPromise._then(Q,Q,null,this,H)},q=function(H,W){if((this._bitField&50397184)===0)this._resolveCallback(W.target)},G=function(H,W){if(!W.promiseRejectionQueued)this._reject(H)};$.prototype.bind=function(H){if(!J)J=!0,$.prototype._propagateFrom=Y.propagateFromFunction(),$.prototype._boundValue=Y.boundValueFunction();var W=U(H),V=new $(I);V._propagateFrom(this,1);var z=this._target();if(V._setBoundTo(W),W instanceof $){var Z={promiseRejectionQueued:!1,promise:V,target:z,bindingPromise:W};z._then(I,K,void 0,V,Z),W._then(q,G,void 0,V,Z),V._setOnCancel(W)}else V._resolveCallback(z);return V},$.prototype._setBoundTo=function(H){if(H!==void 0)this._bitField=this._bitField|2097152,this._boundTo=H;else this._bitField=this._bitField&-2097153},$.prototype._isBound=function(){return(this._bitField&2097152)===2097152},$.bind=function(H,W){return $.resolve(W).bind(H)}}});var GK0=O((Kv1,qK0)=>{qK0.exports=function($,I,U,Y){var J=b1(),Q=J.tryCatch,K=J.errorObj,q=$._async;$.prototype.break=$.prototype.cancel=function(){if(!Y.cancellation())return this._warn("cancellation is disabled");var G=this,H=G;while(G._isCancellable()){if(!G._cancelBy(H)){if(H._isFollowing())H._followee().cancel();else H._cancelBranched();break}var W=G._cancellationParent;if(W==null||!W._isCancellable()){if(G._isFollowing())G._followee().cancel();else G._cancelBranched();break}else{if(G._isFollowing())G._followee().cancel();G._setWillBeCancelled(),H=G,G=W}}},$.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},$.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},$.prototype._cancelBy=function(G){if(G===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(G,H){if(J.isArray(G))for(var W=0;W<G.length;++W)this._doInvokeOnCancel(G[W],H);else if(G!==void 0)if(typeof G==="function"){if(!H){var V=Q(G).call(this._boundValue());if(V===K)this._attachExtraTrace(V.e),q.throwLater(V.e)}}else G._resultCancelled(this)},$.prototype._invokeOnCancel=function(){var G=this._onCancel();this._unsetOnCancel(),q.invoke(this._doInvokeOnCancel,this,G)},$.prototype._invokeInternalOnCancel=function(){if(this._isCancellable())this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel()},$.prototype._resultCancelled=function(){this.cancel()}}});var WK0=O((qv1,HK0)=>{HK0.exports=function($){function I(){return this.value}function U(){throw this.reason}$.prototype.return=$.prototype.thenReturn=function(Y){if(Y instanceof $)Y.suppressUnhandledRejections();return this._then(I,void 0,void 0,{value:Y},void 0)},$.prototype.throw=$.prototype.thenThrow=function(Y){return this._then(U,void 0,void 0,{reason:Y},void 0)},$.prototype.catchThrow=function(Y){if(arguments.length<=1)return this._then(void 0,U,void 0,{reason:Y},void 0);else{var J=arguments[1],Q=function(){throw J};return this.caught(Y,Q)}},$.prototype.catchReturn=function(Y){if(arguments.length<=1){if(Y instanceof $)Y.suppressUnhandledRejections();return this._then(void 0,I,void 0,{value:Y},void 0)}else{var J=arguments[1];if(J instanceof $)J.suppressUnhandledRejections();var Q=function(){return J};return this.caught(Y,Q)}}}});var ZK0=O((Gv1,VK0)=>{VK0.exports=function($){function I(G){if(G!==void 0)G=G._target(),this._bitField=G._bitField,this._settledValueField=G._isFateSealed()?G._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}I.prototype._settledValue=function(){return this._settledValueField};var U=I.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()},Y=I.prototype.error=I.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=I.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},Q=I.prototype.isRejected=function(){return(this._bitField&16777216)!==0},K=I.prototype.isPending=function(){return(this._bitField&50397184)===0},q=I.prototype.isResolved=function(){return(this._bitField&50331648)!==0};I.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 K.call(this._target())},$.prototype.isRejected=function(){return Q.call(this._target())},$.prototype.isFulfilled=function(){return J.call(this._target())},$.prototype.isResolved=function(){return q.call(this._target())},$.prototype.value=function(){return U.call(this._target())},$.prototype.reason=function(){var G=this._target();return G._unsetRejectionIsUnhandled(),Y.call(G)},$.prototype._value=function(){return this._settledValue()},$.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},$.PromiseInspection=I}});var XK0=O((Hv1,zK0)=>{zK0.exports=function($,I,U,Y,J,Q){var K=b1(),q=K.canEvaluate,G=K.tryCatch,H=K.errorObj,W;if(q){var V=function(E){return Function("value","holder",`
'use strict';
holder.pIndex = value;
holder.checkFulfillment(this);
`.replace(/Index/g,E))},z=function(E){return Function("promise","holder",`
'use strict';
holder.pIndex = promise;
`.replace(/Index/g,E))},Z=function(E){var T=Array(E);for(var A=0;A<T.length;++A)T[A]="this.p"+(A+1);var v=T.join(" = ")+" = null;",u=`var promise;
`+T.map(function(p){return`
promise = `+p+`;
if (promise instanceof Promise) {
promise.cancel();
}
`}).join(`
`),g=T.join(", "),b="Holder$"+E,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,b).replace(/\[TheTotal\]/g,E).replace(/\[ThePassedArguments\]/g,g).replace(/\[TheProperties\]/g,v).replace(/\[CancellationCode\]/g,u),Function("tryCatch","errorObj","Promise","async",C)(G,H,$,J)},w=[],L=[],D=[];for(var N=0;N<8;++N)w.push(Z(N+1)),L.push(V(N+1)),D.push(z(N+1));W=function(E){this._reject(E)}}$.join=function(){var E=arguments.length-1,T;if(E>0&&typeof arguments[E]==="function"){if(T=arguments[E],E<=8&&q){var i=new $(Y);i._captureStackTrace();var A=w[E-1],v=new A(T),u=L;for(var g=0;g<E;++g){var b=U(arguments[g],i);if(b instanceof $){b=b._target();var C=b._bitField;if((C&50397184)===0)b._then(u[g],W,void 0,i,v),D[g](b,v),v.asyncNeeded=!1;else if((C&33554432)!==0)u[g].call(i,b._value(),v);else if((C&16777216)!==0)i._reject(b._reason());else i._cancel()}else u[g].call(i,b,v)}if(!i._isFateSealed()){if(v.asyncNeeded){var p=Q();if(p!==null)v.fn=K.domainBind(p,v.fn)}i._setAsyncGuaranteed(),i._setOnCancel(v)}return i}}var n=arguments.length,S=Array(n);for(var f=0;f<n;++f)S[f]=arguments[f];if(T)S.pop();var i=new I(S).promise();return T!==void 0?i.spread(T):i}}});var LK0=O((Wv1,wK0)=>{wK0.exports=function($,I,U,Y,J,Q){var K=$._getDomain,q=b1(),G=q.tryCatch,H=q.errorObj,W=$._async;function V(Z,w,L,D){this.constructor$(Z),this._promise._captureStackTrace();var N=K();this._callback=N===null?w:q.domainBind(N,w),this._preservedValues=D===J?Array(this.length()):null,this._limit=L,this._inFlight=0,this._queue=[],W.invoke(this._asyncInit,this,void 0)}q.inherits(V,I),V.prototype._asyncInit=function(){this._init$(void 0,-2)},V.prototype._init=function(){},V.prototype._promiseFulfilled=function(Z,w){var L=this._values,D=this.length(),N=this._preservedValues,E=this._limit;if(w<0){if(w=w*-1-1,L[w]=Z,E>=1){if(this._inFlight--,this._drainQueue(),this._isResolved())return!0}}else{if(E>=1&&this._inFlight>=E)return L[w]=Z,this._queue.push(w),!1;if(N!==null)N[w]=Z;var T=this._promise,A=this._callback,v=T._boundValue();T._pushContext();var u=G(A).call(v,Z,w,D),g=T._popContext();if(Q.checkForgottenReturns(u,g,N!==null?"Promise.filter":"Promise.map",T),u===H)return this._reject(u.e),!0;var b=Y(u,this._promise);if(b instanceof $){b=b._target();var C=b._bitField;if((C&50397184)===0){if(E>=1)this._inFlight++;return L[w]=b,b._proxy(this,(w+1)*-1),!1}else if((C&33554432)!==0)u=b._value();else if((C&16777216)!==0)return this._reject(b._reason()),!0;else return this._cancel(),!0}L[w]=u}var p=++this._totalResolved;if(p>=D){if(N!==null)this._filter(L,N);else this._resolve(L);return!0}return!1},V.prototype._drainQueue=function(){var Z=this._queue,w=this._limit,L=this._values;while(Z.length>0&&this._inFlight<w){if(this._isResolved())return;var D=Z.pop();this._promiseFulfilled(L[D],D)}},V.prototype._filter=function(Z,w){var L=w.length,D=Array(L),N=0;for(var E=0;E<L;++E)if(Z[E])D[N++]=w[E];D.length=N,this._resolve(D)},V.prototype.preservedValues=function(){return this._preservedValues};function z(Z,w,L,D){if(typeof w!=="function")return U("expecting a function but got "+q.classString(w));var N=0;if(L!==void 0)if(typeof L==="object"&&L!==null){if(typeof L.concurrency!=="number")return $.reject(TypeError("'concurrency' must be a number but it is "+q.classString(L.concurrency)));N=L.concurrency}else return $.reject(TypeError("options argument must be an object but it is "+q.classString(L)));return N=typeof N==="number"&&isFinite(N)&&N>=1?N:0,new V(Z,w,N,D).promise()}$.prototype.map=function(Z,w){return z(this,Z,w,null)},$.map=function(Z,w,L,D){return z(Z,w,L,D)}}});var OK0=O((Vv1,DK0)=>{var Zg=Object.create;if(Zg)Cw=Zg(null),jw=Zg(null),Cw[" size"]=jw[" size"]=0;var Cw,jw;DK0.exports=function($){var I=b1(),U=I.canEvaluate,Y=I.isIdentifier,J,Q,K=function(Z){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,Z))(H)},q=function(Z){return Function("obj",`
'use strict';
return obj.propertyName;
`.replace("propertyName",Z))},G=function(Z,w,L){var D=L[Z];if(typeof D!=="function"){if(!Y(Z))return null;if(D=w(Z),L[Z]=D,L[" size"]++,L[" size"]>512){var N=Object.keys(L);for(var E=0;E<256;++E)delete L[N[E]];L[" size"]=N.length-256}}return D};J=function(Z){return G(Z,K,Cw)},Q=function(Z){return G(Z,q,jw)};function H(Z,w){var L;if(Z!=null)L=Z[w];if(typeof L!=="function"){var D="Object "+I.classString(Z)+" has no method '"+I.toString(w)+"'";throw new $.TypeError(D)}return L}function W(Z){var w=this.pop(),L=H(Z,w);return L.apply(Z,this)}$.prototype.call=function(Z){var w=arguments.length,L=Array(Math.max(w-1,0));for(var D=1;D<w;++D)L[D-1]=arguments[D];if(U){var N=J(Z);if(N!==null)return this._then(N,void 0,void 0,L,void 0)}return L.push(Z),this._then(W,void 0,void 0,L,void 0)};function V(Z){return Z[this]}function z(Z){var w=+this;if(w<0)w=Math.max(0,w+Z.length);return Z[w]}$.prototype.get=function(Z){var w=typeof Z==="number",L;if(!w)if(U){var D=Q(Z);L=D!==null?D:V}else L=V;else L=z;return this._then(L,void 0,void 0,Z,void 0)}}});var FK0=O((Zv1,NK0)=>{NK0.exports=function($,I,U,Y,J,Q){var K=b1(),q=C5().TypeError,G=b1().inherits,H=K.errorObj,W=K.tryCatch,V={};function z(T){setTimeout(function(){throw T},0)}function Z(T){var A=U(T);if(A!==T&&typeof T._isDisposable==="function"&&typeof T._getDisposer==="function"&&T._isDisposable())A._setDisposable(T._getDisposer());return A}function w(T,A){var v=0,u=T.length,g=new $(J);function b(){if(v>=u)return g._fulfill();var C=Z(T[v++]);if(C instanceof $&&C._isDisposable()){try{C=U(C._getDisposer().tryDispose(A),T.promise)}catch(p){return z(p)}if(C instanceof $)return C._then(b,z,null,null,null)}b()}return b(),g}function L(T,A,v){this._data=T,this._promise=A,this._context=v}L.prototype.data=function(){return this._data},L.prototype.promise=function(){return this._promise},L.prototype.resource=function(){if(this.promise().isFulfilled())return this.promise().value();return V},L.prototype.tryDispose=function(T){var A=this.resource(),v=this._context;if(v!==void 0)v._pushContext();var u=A!==V?this.doDispose(A,T):null;if(v!==void 0)v._popContext();return this._promise._unsetDisposable(),this._data=null,u},L.isDisposer=function(T){return T!=null&&typeof T.resource==="function"&&typeof T.tryDispose==="function"};function D(T,A,v){this.constructor$(T,A,v)}G(D,L),D.prototype.doDispose=function(T,A){var v=this.data();return v.call(T,T,A)};function N(T){if(L.isDisposer(T))return this.resources[this.index]._setDisposable(T),T.promise();return T}function E(T){this.length=T,this.promise=null,this[T-1]=null}E.prototype._resultCancelled=function(){var T=this.length;for(var A=0;A<T;++A){var v=this[A];if(v instanceof $)v.cancel()}},$.using=function(){var T=arguments.length;if(T<2)return I("you must pass at least 2 arguments to Promise.using");var A=arguments[T-1];if(typeof A!=="function")return I("expecting a function but got "+K.classString(A));var v,u=!0;if(T===2&&Array.isArray(arguments[0]))v=arguments[0],T=v.length,u=!1;else v=arguments,T--;var g=new E(T);for(var b=0;b<T;++b){var C=v[b];if(L.isDisposer(C)){var p=C;C=C.promise(),C._setDisposable(p)}else{var n=U(C);if(n instanceof $)C=n._then(N,null,null,{resources:g,index:b},void 0)}g[b]=C}var S=Array(g.length);for(var b=0;b<S.length;++b)S[b]=$.resolve(g[b]).reflect();var f=$.all(S).then(function(Y0){for(var B=0;B<Y0.length;++B){var k=Y0[B];if(k.isRejected())return H.e=k.error(),H;else if(!k.isFulfilled()){f.cancel();return}Y0[B]=k.value()}i._pushContext(),A=W(A);var d=u?A.apply(void 0,Y0):A(Y0),t=i._popContext();return Q.checkForgottenReturns(d,t,"Promise.using",i),d}),i=f.lastly(function(){var Y0=new $.PromiseInspection(f);return w(g,Y0)});return g.promise=i,i._setOnCancel(g),i},$.prototype._setDisposable=function(T){this._bitField=this._bitField|131072,this._disposer=T},$.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(T){if(typeof T==="function")return new D(T,this,Y());throw new q}}});var AK0=O((zv1,MK0)=>{MK0.exports=function($,I,U){var Y=b1(),J=$.TimeoutError;function Q(V){this.handle=V}Q.prototype._resultCancelled=function(){clearTimeout(this.handle)};var K=function(V){return q(+this).thenReturn(V)},q=$.delay=function(V,z){var Z,w;if(z!==void 0){if(Z=$.resolve(z)._then(K,null,null,V,void 0),U.cancellation()&&z instanceof $)Z._setOnCancel(z)}else{if(Z=new $(I),w=setTimeout(function(){Z._fulfill()},+V),U.cancellation())Z._setOnCancel(new Q(w));Z._captureStackTrace()}return Z._setAsyncGuaranteed(),Z};$.prototype.delay=function(V){return q(V,this)};var G=function(V,z,Z){var w;if(typeof z!=="string")if(z instanceof Error)w=z;else w=new J("operation timed out");else w=new J(z);if(Y.markAsOriginatingFromRejection(w),V._attachExtraTrace(w),V._reject(w),Z!=null)Z.cancel()};function H(V){return clearTimeout(this.handle),V}function W(V){throw clearTimeout(this.handle),V}$.prototype.timeout=function(V,z){V=+V;var Z,w,L=new Q(setTimeout(function(){if(Z.isPending())G(Z,z,w)},V));if(U.cancellation())w=this.then(),Z=w._then(H,W,void 0,L,void 0),Z._setOnCancel(L);else Z=this._then(H,W,void 0,L,void 0);return Z}}});var TK0=O((Xv1,PK0)=>{PK0.exports=function($,I,U,Y,J,Q){var K=C5(),q=K.TypeError,G=b1(),H=G.errorObj,W=G.tryCatch,V=[];function z(w,L,D){for(var N=0;N<L.length;++N){D._pushContext();var E=W(L[N])(w);if(D._popContext(),E===H){D._pushContext();var T=$.reject(H.e);return D._popContext(),T}var A=Y(E,D);if(A instanceof $)return A}return null}function Z(w,L,D,N){if(Q.cancellation()){var E=new $(U),T=this._finallyPromise=new $(U);this._promise=E.lastly(function(){return T}),E._captureStackTrace(),E._setOnCancel(this)}else{var A=this._promise=new $(U);A._captureStackTrace()}this._stack=N,this._generatorFunction=w,this._receiver=L,this._generator=void 0,this._yieldHandlers=typeof D==="function"?[D].concat(V):V,this._yieldedPromise=null,this._cancellationPhase=!1}G.inherits(Z,J),Z.prototype._isResolved=function(){return this._promise===null},Z.prototype._cleanup=function(){if(this._promise=this._generator=null,Q.cancellation()&&this._finallyPromise!==null)this._finallyPromise._fulfill(),this._finallyPromise=null},Z.prototype._promiseCancelled=function(){if(this._isResolved())return;var w=typeof this._generator.return<"u",L;if(!w){var D=new $.CancellationError("generator .return() sentinel");$.coroutine.returnSentinel=D,this._promise._attachExtraTrace(D),this._promise._pushContext(),L=W(this._generator.throw).call(this._generator,D),this._promise._popContext()}else this._promise._pushContext(),L=W(this._generator.return).call(this._generator,void 0),this._promise._popContext();this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(L)},Z.prototype._promiseFulfilled=function(w){this._yieldedPromise=null,this._promise._pushContext();var L=W(this._generator.next).call(this._generator,w);this._promise._popContext(),this._continue(L)},Z.prototype._promiseRejected=function(w){this._yieldedPromise=null,this._promise._attachExtraTrace(w),this._promise._pushContext();var L=W(this._generator.throw).call(this._generator,w);this._promise._popContext(),this._continue(L)},Z.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof $){var w=this._yieldedPromise;this._yieldedPromise=null,w.cancel()}},Z.prototype.promise=function(){return this._promise},Z.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},Z.prototype._continue=function(w){var L=this._promise;if(w===H)if(this._cleanup(),this._cancellationPhase)return L.cancel();else return L._rejectCallback(w.e,!1);var D=w.value;if(w.done===!0)if(this._cleanup(),this._cancellationPhase)return L.cancel();else return L._resolveCallback(D);else{var N=Y(D,this._promise);if(!(N instanceof $)){if(N=z(N,this._yieldHandlers,this._promise),N===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",D)+`From coroutine:
`+this._stack.split(`
`).slice(1,-7).join(`
`)));return}}N=N._target();var E=N._bitField;if((E&50397184)===0)this._yieldedPromise=N,N._proxy(this,null);else if((E&33554432)!==0)$._async.invoke(this._promiseFulfilled,this,N._value());else if((E&16777216)!==0)$._async.invoke(this._promiseRejected,this,N._reason());else this._promiseCancelled()}},$.coroutine=function(w,L){if(typeof w!=="function")throw new q(`generatorFunction must be a function
See http://goo.gl/MqrFmX
`);var D=Object(L).yieldHandler,N=Z,E=Error().stack;return function(){var T=w.apply(this,arguments),A=new N(void 0,void 0,D,E),v=A.promise();return A._generator=T,A._promiseFulfilled(void 0),v}},$.coroutine.addYieldHandler=function(w){if(typeof w!=="function")throw new q("expecting a function but got "+G.classString(w));V.push(w)},$.spawn=function(w){if(Q.deprecated("Promise.spawn()","Promise.coroutine()"),typeof w!=="function")return I(`generatorFunction must be a function
See http://goo.gl/MqrFmX
`);var L=new Z(w,this),D=L.promise();return L._run($.spawn),D}}});var BK0=O((wv1,EK0)=>{EK0.exports=function($){var I=b1(),U=$._async,Y=I.tryCatch,J=I.errorObj;function Q(G,H){var W=this;if(!I.isArray(G))return K.call(W,G,H);var V=Y(H).apply(W._boundValue(),[null].concat(G));if(V===J)U.throwLater(V.e)}function K(G,H){var W=this,V=W._boundValue(),z=G===void 0?Y(H).call(V,null):Y(H).call(V,null,G);if(z===J)U.throwLater(z.e)}function q(G,H){var W=this;if(!G){var V=Error(G+"");V.cause=G,G=V}var z=Y(H).call(W._boundValue(),G);if(z===J)U.throwLater(z.e)}$.prototype.asCallback=$.prototype.nodeify=function(G,H){if(typeof G=="function"){var W=K;if(H!==void 0&&Object(H).spread)W=Q;this._then(W,q,void 0,this,G)}return this}}});var vK0=O((Lv1,RK0)=>{RK0.exports=function($,I){var U={},Y=b1(),J=Vg(),Q=Y.withAppended,K=Y.maybeWrapAsError,q=Y.canEvaluate,G=C5().TypeError,H="Async",W={__isPromisified__:!0},V=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],z=new RegExp("^(?:"+V.join("|")+")$"),Z=function(f){return Y.isIdentifier(f)&&f.charAt(0)!=="_"&&f!=="constructor"};function w(f){return!z.test(f)}function L(f){try{return f.__isPromisified__===!0}catch(i){return!1}}function D(f,i,Y0){var B=Y.getDataPropertyOrDefault(f,i+Y0,W);return B?L(B):!1}function N(f,i,Y0){for(var B=0;B<f.length;B+=2){var k=f[B];if(Y0.test(k)){var d=k.replace(Y0,"");for(var t=0;t<f.length;t+=2)if(f[t]===d)throw new G(`Cannot promisify an API that has normal methods with '%s'-suffix
See http://goo.gl/MqrFmX
`.replace("%s",i))}}}function E(f,i,Y0,B){var k=Y.inheritedDataKeys(f),d=[];for(var t=0;t<k.length;++t){var K0=k[t],W0=f[K0],M0=B===Z?!0:Z(K0,W0,f);if(typeof W0==="function"&&!L(W0)&&!D(f,K0,i)&&B(K0,W0,f,M0))d.push(K0,W0)}return N(d,i,Y0),d}var T=function(f){return f.replace(/([$])/,"\\$")},A,v=function(f){var i=[f],Y0=Math.max(0,f-1-3);for(var B=f-1;B>=Y0;--B)i.push(B);for(var B=f+1;B<=3;++B)i.push(B);return i},u=function(f){return Y.filledRange(f,"_arg","")},g=function(f){return Y.filledRange(Math.max(f,3),"_arg","")},b=function(f){if(typeof f.length==="number")return Math.max(Math.min(f.length,1024),0);return 0};A=function(f,i,Y0,B,k,d){var t=Math.max(0,b(B)-1),K0=v(t),W0=typeof f==="string"||i===U;function M0(G1){var O0=u(G1).join(", "),g0=G1>0?", ":"",d0;if(W0)d0=`ret = callback.call(this, {{args}}, nodeback); break;
`;else d0=i===void 0?`ret = callback({{args}}, nodeback); break;
`:`ret = callback.call(receiver, {{args}}, nodeback); break;
`;return d0.replace("{{args}}",O0).replace(", ",g0)}function B0(){var G1="";for(var O0=0;O0<K0.length;++O0)G1+="case "+K0[O0]+":"+M0(K0[O0]);return G1+=`
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]",W0?`ret = callback.apply(this, args);
`:`ret = callback.apply(receiver, args);
`),G1}var w1=typeof f==="string"?"this != null ? this['"+f+"'] : fn":"fn",f0=`'use strict';
var ret = function (Parameters) {
'use strict';
var len = arguments.length;
var promise = new Promise(INTERNAL);
promise._captureStackTrace();
var nodeback = nodebackForPromise(promise, `+d+`);
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]",B0()).replace("[GetFunctionCode]",w1);return f0=f0.replace("Parameters",g(t)),Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",f0)($,B,i,Q,K,J,Y.tryCatch,Y.errorObj,Y.notEnumerableProp,I)};function C(f,i,Y0,B,k,d){var t=function(){return this}(),K0=f;if(typeof K0==="string")f=B;function W0(){var M0=i;if(i===U)M0=this;var B0=new $(I);B0._captureStackTrace();var w1=typeof K0==="string"&&this!==t?this[K0]:f,f0=J(B0,d);try{w1.apply(M0,Q(arguments,f0))}catch(G1){B0._rejectCallback(K(G1),!0,!0)}if(!B0._isFateSealed())B0._setAsyncGuaranteed();return B0}return Y.notEnumerableProp(W0,"__isPromisified__",!0),W0}var p=q?A:C;function n(f,i,Y0,B,k){var d=new RegExp(T(i)+"$"),t=E(f,i,d,Y0);for(var K0=0,W0=t.length;K0<W0;K0+=2){var M0=t[K0],B0=t[K0+1],w1=M0+i;if(B===p)f[w1]=p(M0,U,M0,B0,i,k);else{var f0=B(B0,function(){return p(M0,U,M0,B0,i,k)});Y.notEnumerableProp(f0,"__isPromisified__",!0),f[w1]=f0}}return Y.toFastProperties(f),f}function S(f,i,Y0){return p(f,i,void 0,f,null,Y0)}$.promisify=function(f,i){if(typeof f!=="function")throw new G("expecting a function but got "+Y.classString(f));if(L(f))return f;i=Object(i);var Y0=i.context===void 0?U:i.context,B=!!i.multiArgs,k=S(f,Y0,B);return Y.copyDescriptors(f,k,w),k},$.promisifyAll=function(f,i){if(typeof f!=="function"&&typeof f!=="object")throw new G(`the target of promisifyAll must be an object or a function
See http://goo.gl/MqrFmX
`);i=Object(i);var Y0=!!i.multiArgs,B=i.suffix;if(typeof B!=="string")B=H;var k=i.filter;if(typeof k!=="function")k=Z;var d=i.promisifier;if(typeof d!=="function")d=p;if(!Y.isIdentifier(B))throw RangeError(`suffix must be a valid identifier
See http://goo.gl/MqrFmX
`);var t=Y.inheritedDataKeys(f);for(var K0=0;K0<t.length;++K0){var W0=f[t[K0]];if(t[K0]!=="constructor"&&Y.isClass(W0))n(W0.prototype,B,k,d,Y0),n(W0,B,k,d,Y0)}return n(f,B,k,d,Y0)}}});var jK0=O((Dv1,CK0)=>{CK0.exports=function($,I,U,Y){var J=b1(),Q=J.isObject,K=y3(),q;if(typeof Map==="function")q=Map;var G=function(){var z=0,Z=0;function w(L,D){this[z]=L,this[z+Z]=D,z++}return function(D){Z=D.size,z=0;var N=Array(D.size*2);return D.forEach(w,N),N}}(),H=function(z){var Z=new q,w=z.length/2|0;for(var L=0;L<w;++L){var D=z[w+L],N=z[L];Z.set(D,N)}return Z};function W(z){var Z=!1,w;if(q!==void 0&&z instanceof q)w=G(z),Z=!0;else{var L=K.keys(z),D=L.length;w=Array(D*2);for(var N=0;N<D;++N){var E=L[N];w[N]=z[E],w[N+D]=E}}this.constructor$(w),this._isMap=Z,this._init$(void 0,-3)}J.inherits(W,I),W.prototype._init=function(){},W.prototype._promiseFulfilled=function(z,Z){this._values[Z]=z;var w=++this._totalResolved;if(w>=this._length){var L;if(this._isMap)L=H(this._values);else{L={};var D=this.length();for(var N=0,E=this.length();N<E;++N)L[this._values[N+D]]=this._values[N]}return this._resolve(L),!0}return!1},W.prototype.shouldCopyValues=function(){return!1},W.prototype.getActualLength=function(z){return z>>1};function V(z){var Z,w=U(z);if(!Q(w))return Y(`cannot await properties of a non-object
See http://goo.gl/MqrFmX
`);else if(w instanceof $)Z=w._then($.props,void 0,void 0,void 0,void 0);else Z=new W(w).promise();if(w instanceof $)Z._propagateFrom(w,2);return Z}$.prototype.props=function(){return V(this)},$.props=function(z){return V(z)}}});var SK0=O((Ov1,_K0)=>{_K0.exports=function($,I,U,Y){var J=b1(),Q=function(q){return q.then(function(G){return K(G,q)})};function K(q,G){var H=U(q);if(H instanceof $)return Q(H);else if(q=J.asArray(q),q===null)return Y("expecting an array or an iterable object but got "+J.classString(q));var W=new $(I);if(G!==void 0)W._propagateFrom(G,3);var{_fulfill:V,_reject:z}=W;for(var Z=0,w=q.length;Z<w;++Z){var L=q[Z];if(L===void 0&&!(Z in q))continue;$.cast(L)._then(V,z,void 0,W,null)}return W}$.race=function(q){return K(q,void 0)},$.prototype.race=function(){return K(this,void 0)}}});var yK0=O((Nv1,gK0)=>{gK0.exports=function($,I,U,Y,J,Q){var K=$._getDomain,q=b1(),G=q.tryCatch;function H(w,L,D,N){this.constructor$(w);var E=K();if(this._fn=E===null?L:q.domainBind(E,L),D!==void 0)D=$.resolve(D),D._attachCancellationCallback(this);if(this._initialValue=D,this._currentCancellable=null,N===J)this._eachValues=Array(this._length);else if(N===0)this._eachValues=null;else this._eachValues=void 0;this._promise._captureStackTrace(),this._init$(void 0,-5)}q.inherits(H,I),H.prototype._gotAccum=function(w){if(this._eachValues!==void 0&&this._eachValues!==null&&w!==J)this._eachValues.push(w)},H.prototype._eachComplete=function(w){if(this._eachValues!==null)this._eachValues.push(w);return this._eachValues},H.prototype._init=function(){},H.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},H.prototype.shouldCopyValues=function(){return!1},H.prototype._resolve=function(w){this._promise._resolveCallback(w),this._values=null},H.prototype._resultCancelled=function(w){if(w===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()},H.prototype._iterate=function(w){this._values=w;var L,D,N=w.length;if(this._initialValue!==void 0)L=this._initialValue,D=0;else L=$.resolve(w[0]),D=1;if(this._currentCancellable=L,!L.isRejected())for(;D<N;++D){var E={accum:null,value:w[D],index:D,length:N,array:this};L=L._then(z,void 0,void 0,E,void 0)}if(this._eachValues!==void 0)L=L._then(this._eachComplete,void 0,void 0,this,void 0);L._then(W,W,void 0,L,this)},$.prototype.reduce=function(w,L){return V(this,w,L,null)},$.reduce=function(w,L,D,N){return V(w,L,D,N)};function W(w,L){if(this.isFulfilled())L._resolve(w);else L._reject(w)}function V(w,L,D,N){if(typeof L!=="function")return U("expecting a function but got "+q.classString(L));var E=new H(w,L,D,N);return E.promise()}function z(w){this.accum=w,this.array._gotAccum(w);var L=Y(this.value,this.array._promise);if(L instanceof $)return this.array._currentCancellable=L,L._then(Z,void 0,void 0,this,void 0);else return Z.call(this,L)}function Z(w){var L=this.array,D=L._promise,N=G(L._fn);D._pushContext();var E;if(L._eachValues!==void 0)E=N.call(D._boundValue(),w,this.index,this.length);else E=N.call(D._boundValue(),this.accum,w,this.index,this.length);if(E instanceof $)L._currentCancellable=E;var T=D._popContext();return Q.checkForgottenReturns(E,T,L._eachValues!==void 0?"Promise.each":"Promise.reduce",D),E}}});var xK0=O((Fv1,hK0)=>{hK0.exports=function($,I,U){var Y=$.PromiseInspection,J=b1();function Q(K){this.constructor$(K)}J.inherits(Q,I),Q.prototype._promiseResolved=function(K,q){this._values[K]=q;var G=++this._totalResolved;if(G>=this._length)return this._resolve(this._values),!0;return!1},Q.prototype._promiseFulfilled=function(K,q){var G=new Y;return G._bitField=33554432,G._settledValueField=K,this._promiseResolved(q,G)},Q.prototype._promiseRejected=function(K,q){var G=new Y;return G._bitField=16777216,G._settledValueField=K,this._promiseResolved(q,G)},$.settle=function(K){return U.deprecated(".settle()",".reflect()"),new Q(K).promise()},$.prototype.settle=function(){return $.settle(this)}}});var uK0=O((Mv1,kK0)=>{kK0.exports=function($,I,U){var Y=b1(),J=C5().RangeError,Q=C5().AggregateError,K=Y.isArray,q={};function G(W){this.constructor$(W),this._howMany=0,this._unwrap=!1,this._initialized=!1}Y.inherits(G,I),G.prototype._init=function(){if(!this._initialized)return;if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var W=K(this._values);if(!this._isResolved()&&W&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))},G.prototype.init=function(){this._initialized=!0,this._init()},G.prototype.setUnwrap=function(){this._unwrap=!0},G.prototype.howMany=function(){return this._howMany},G.prototype.setHowMany=function(W){this._howMany=W},G.prototype._promiseFulfilled=function(W){if(this._addFulfilled(W),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},G.prototype._promiseRejected=function(W){return this._addRejected(W),this._checkOutcome()},G.prototype._promiseCancelled=function(){if(this._values instanceof $||this._values==null)return this._cancel();return this._addRejected(q),this._checkOutcome()},G.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){var W=new Q;for(var V=this.length();V<this._values.length;++V)if(this._values[V]!==q)W.push(this._values[V]);if(W.length>0)this._reject(W);else this._cancel();return!0}return!1},G.prototype._fulfilled=function(){return this._totalResolved},G.prototype._rejected=function(){return this._values.length-this.length()},G.prototype._addRejected=function(W){this._values.push(W)},G.prototype._addFulfilled=function(W){this._values[this._totalResolved++]=W},G.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},G.prototype._getRangeError=function(W){var V="Input array must contain at least "+this._howMany+" items but contains only "+W+" items";return new J(V)},G.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function H(W,V){if((V|0)!==V||V<0)return U(`expecting a positive integer
See http://goo.gl/MqrFmX
`);var z=new G(W),Z=z.promise();return z.setHowMany(V),z.init(),Z}$.some=function(W,V){return H(W,V)},$.prototype.some=function(W){return H(this,W)},$._SomePromiseArray=G}});var bK0=O((Av1,fK0)=>{fK0.exports=function($,I){var U=$.map;$.prototype.filter=function(Y,J){return U(this,Y,J,I)},$.filter=function(Y,J,Q){return U(Y,J,Q,I)}}});var nK0=O((Pv1,iK0)=>{iK0.exports=function($,I){var{reduce:U,all:Y}=$;function J(){return Y(this)}function Q(K,q){return U(K,q,I,I)}$.prototype.each=function(K){return U(this,K,I,0)._then(J,void 0,void 0,this,void 0)},$.prototype.mapSeries=function(K){return U(this,K,I,I)},$.each=function(K,q){return U(K,q,I,0)._then(J,void 0,void 0,K,void 0)},$.mapSeries=Q}});var cK0=O((Tv1,pK0)=>{pK0.exports=function($){var I=$._SomePromiseArray;function U(Y){var J=new I(Y),Q=J.promise();return J.setHowMany(1),J.setUnwrap(),J.init(),Q}$.any=function(Y){return U(Y)},$.prototype.any=function(){return U(this)}}});var dK0=O((Ev1,zg)=>{zg.exports=function(){var $=function(){return new V(`circular promise resolution chain
See http://goo.gl/MqrFmX
`)},I=function(){return new S.PromiseInspection(this._target())},U=function(B){return S.reject(new V(B))};function Y(){}var J={},Q=b1(),K;if(Q.isNode)K=function(){var B=process.domain;if(B===void 0)B=null;return B};else K=function(){return null};Q.notEnumerableProp(S,"_getDomain",K);var q=y3(),G=u20(),H=new G;q.defineProperty(S,"_async",{value:H});var W=C5(),V=S.TypeError=W.TypeError;S.RangeError=W.RangeError;var z=S.CancellationError=W.CancellationError;S.TimeoutError=W.TimeoutError,S.OperationalError=W.OperationalError,S.RejectionError=W.OperationalError,S.AggregateError=W.AggregateError;var Z=function(){},w={},L={},D=p20()(S,Z),N=d20()(S,Z,D,U,Y),E=l20()(S),T=E.create,A=r20()(S,E),v=A.CapturedTrace,u=a20()(S,D),g=e20()(L),b=Vg(),C=Q.errorObj,p=Q.tryCatch;function n(B,k){if(typeof k!=="function")throw new V("expecting a function but got "+Q.classString(k));if(B.constructor!==S)throw new V(`the promise constructor cannot be invoked directly
See http://goo.gl/MqrFmX
`)}function S(B){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,B!==Z)n(this,B),this._resolveFromExecutor(B);this._promiseCreated(),this._fireEvent("promiseCreated",this)}S.prototype.toString=function(){return"[object Promise]"},S.prototype.caught=S.prototype.catch=function(B){var k=arguments.length;if(k>1){var d=Array(k-1),t=0,K0;for(K0=0;K0<k-1;++K0){var W0=arguments[K0];if(Q.isObject(W0))d[t++]=W0;else return U("expecting an object but got A catch statement predicate "+Q.classString(W0))}return d.length=t,B=arguments[K0],this.then(void 0,g(d,B,this))}return this.then(void 0,B)},S.prototype.reflect=function(){return this._then(I,I,void 0,this,void 0)},S.prototype.then=function(B,k){if(A.warnings()&&arguments.length>0&&typeof B!=="function"&&typeof k!=="function"){var d=".then() only accepts functions but was passed: "+Q.classString(B);if(arguments.length>1)d+=", "+Q.classString(k);this._warn(d)}return this._then(B,k,void 0,void 0,void 0)},S.prototype.done=function(B,k){var d=this._then(B,k,void 0,void 0,void 0);d._setIsFinal()},S.prototype.spread=function(B){if(typeof B!=="function")return U("expecting a function but got "+Q.classString(B));return this.all()._then(B,void 0,void 0,w,void 0)},S.prototype.toJSON=function(){var B={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())B.fulfillmentValue=this.value(),B.isFulfilled=!0;else if(this.isRejected())B.rejectionReason=this.reason(),B.isRejected=!0;return B},S.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new N(this).promise()},S.prototype.error=function(B){return this.caught(Q.originatesFromRejection,B)},S.getNewLibraryCopy=zg.exports,S.is=function(B){return B instanceof S},S.fromNode=S.fromCallback=function(B){var k=new S(Z);k._captureStackTrace();var d=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,t=p(B)(b(k,d));if(t===C)k._rejectCallback(t.e,!0);if(!k._isFateSealed())k._setAsyncGuaranteed();return k},S.all=function(B){return new N(B).promise()},S.cast=function(B){var k=D(B);if(!(k instanceof S))k=new S(Z),k._captureStackTrace(),k._setFulfilled(),k._rejectionHandler0=B;return k},S.resolve=S.fulfilled=S.cast,S.reject=S.rejected=function(B){var k=new S(Z);return k._captureStackTrace(),k._rejectCallback(B,!0),k},S.setScheduler=function(B){if(typeof B!=="function")throw new V("expecting a function but got "+Q.classString(B));return H.setScheduler(B)},S.prototype._then=function(B,k,d,t,K0){var W0=K0!==void 0,M0=W0?K0:new S(Z),B0=this._target(),w1=B0._bitField;if(!W0){if(M0._propagateFrom(this,3),M0._captureStackTrace(),t===void 0&&(this._bitField&2097152)!==0)if((w1&50397184)!==0)t=this._boundValue();else t=B0===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,M0)}var f0=K();if((w1&50397184)!==0){var G1,O0,g0=B0._settlePromiseCtx;if((w1&33554432)!==0)O0=B0._rejectionHandler0,G1=B;else if((w1&16777216)!==0)O0=B0._fulfillmentHandler0,G1=k,B0._unsetRejectionIsUnhandled();else g0=B0._settlePromiseLateCancellationObserver,O0=new z("late cancellation observer"),B0._attachExtraTrace(O0),G1=k;H.invoke(g0,B0,{handler:f0===null?G1:typeof G1==="function"&&Q.domainBind(f0,G1),promise:M0,receiver:t,value:O0})}else B0._addCallbacks(B,k,M0,t,f0);return M0},S.prototype._length=function(){return this._bitField&65535},S.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},S.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},S.prototype._setLength=function(B){this._bitField=this._bitField&-65536|B&65535},S.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},S.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},S.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},S.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},S.prototype._isFinal=function(){return(this._bitField&4194304)>0},S.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},S.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},S.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},S.prototype._setAsyncGuaranteed=function(){if(H.hasCustomScheduler())return;this._bitField=this._bitField|134217728},S.prototype._receiverAt=function(B){var k=B===0?this._receiver0:this[B*4-4+3];if(k===J)return;else if(k===void 0&&this._isBound())return this._boundValue();return k},S.prototype._promiseAt=function(B){return this[B*4-4+2]},S.prototype._fulfillmentHandlerAt=function(B){return this[B*4-4+0]},S.prototype._rejectionHandlerAt=function(B){return this[B*4-4+1]},S.prototype._boundValue=function(){},S.prototype._migrateCallback0=function(B){var{_bitField:k,_fulfillmentHandler0:d,_rejectionHandler0:t,_promise0:K0}=B,W0=B._receiverAt(0);if(W0===void 0)W0=J;this._addCallbacks(d,t,K0,W0,null)},S.prototype._migrateCallbackAt=function(B,k){var d=B._fulfillmentHandlerAt(k),t=B._rejectionHandlerAt(k),K0=B._promiseAt(k),W0=B._receiverAt(k);if(W0===void 0)W0=J;this._addCallbacks(d,t,K0,W0,null)},S.prototype._addCallbacks=function(B,k,d,t,K0){var W0=this._length();if(W0>=65531)W0=0,this._setLength(0);if(W0===0){if(this._promise0=d,this._receiver0=t,typeof B==="function")this._fulfillmentHandler0=K0===null?B:Q.domainBind(K0,B);if(typeof k==="function")this._rejectionHandler0=K0===null?k:Q.domainBind(K0,k)}else{var M0=W0*4-4;if(this[M0+2]=d,this[M0+3]=t,typeof B==="function")this[M0+0]=K0===null?B:Q.domainBind(K0,B);if(typeof k==="function")this[M0+1]=K0===null?k:Q.domainBind(K0,k)}return this._setLength(W0+1),W0},S.prototype._proxy=function(B,k){this._addCallbacks(void 0,void 0,k,B,null)},S.prototype._resolveCallback=function(B,k){if((this._bitField&117506048)!==0)return;if(B===this)return this._rejectCallback($(),!1);var d=D(B,this);if(!(d instanceof S))return this._fulfill(B);if(k)this._propagateFrom(d,2);var t=d._target();if(t===this){this._reject($());return}var K0=t._bitField;if((K0&50397184)===0){var W0=this._length();if(W0>0)t._migrateCallback0(this);for(var M0=1;M0<W0;++M0)t._migrateCallbackAt(this,M0);this._setFollowing(),this._setLength(0),this._setFollowee(t)}else if((K0&33554432)!==0)this._fulfill(t._value());else if((K0&16777216)!==0)this._reject(t._reason());else{var B0=new z("late cancellation observer");t._attachExtraTrace(B0),this._reject(B0)}},S.prototype._rejectCallback=function(B,k,d){var t=Q.ensureErrorObject(B),K0=t===B;if(!K0&&!d&&A.warnings()){var W0="a promise was rejected with a non-error: "+Q.classString(B);this._warn(W0,!0)}this._attachExtraTrace(t,k?K0:!1),this._reject(B)},S.prototype._resolveFromExecutor=function(B){var k=this;this._captureStackTrace(),this._pushContext();var d=!0,t=this._execute(B,function(K0){k._resolveCallback(K0)},function(K0){k._rejectCallback(K0,d)});if(d=!1,this._popContext(),t!==void 0)k._rejectCallback(t,!0)},S.prototype._settlePromiseFromHandler=function(B,k,d,t){var K0=t._bitField;if((K0&65536)!==0)return;t._pushContext();var W0;if(k===w)if(!d||typeof d.length!=="number")W0=C,W0.e=new V("cannot .spread() a non-array: "+Q.classString(d));else W0=p(B).apply(this._boundValue(),d);else W0=p(B).call(k,d);var M0=t._popContext();if(K0=t._bitField,(K0&65536)!==0)return;if(W0===L)t._reject(d);else if(W0===C)t._rejectCallback(W0.e,!1);else A.checkForgottenReturns(W0,M0,"",t,this),t._resolveCallback(W0)},S.prototype._target=function(){var B=this;while(B._isFollowing())B=B._followee();return B},S.prototype._followee=function(){return this._rejectionHandler0},S.prototype._setFollowee=function(B){this._rejectionHandler0=B},S.prototype._settlePromise=function(B,k,d,t){var K0=B instanceof S,W0=this._bitField,M0=(W0&134217728)!==0;if((W0&65536)!==0){if(K0)B._invokeInternalOnCancel();if(d instanceof u&&d.isFinallyHandler()){if(d.cancelPromise=B,p(k).call(d,t)===C)B._reject(C.e)}else if(k===I)B._fulfill(I.call(d));else if(d instanceof Y)d._promiseCancelled(B);else if(K0||B instanceof N)B._cancel();else d.cancel()}else if(typeof k==="function")if(!K0)k.call(d,t,B);else{if(M0)B._setAsyncGuaranteed();this._settlePromiseFromHandler(k,d,t,B)}else if(d instanceof Y){if(!d._isResolved())if((W0&33554432)!==0)d._promiseFulfilled(t,B);else d._promiseRejected(t,B)}else if(K0){if(M0)B._setAsyncGuaranteed();if((W0&33554432)!==0)B._fulfill(t);else B._reject(t)}},S.prototype._settlePromiseLateCancellationObserver=function(B){var{handler:k,promise:d,receiver:t,value:K0}=B;if(typeof k==="function")if(!(d instanceof S))k.call(t,K0,d);else this._settlePromiseFromHandler(k,t,K0,d);else if(d instanceof S)d._reject(K0)},S.prototype._settlePromiseCtx=function(B){this._settlePromise(B.promise,B.handler,B.receiver,B.value)},S.prototype._settlePromise0=function(B,k,d){var t=this._promise0,K0=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(t,B,K0,k)},S.prototype._clearCallbackDataAtIndex=function(B){var k=B*4-4;this[k+2]=this[k+3]=this[k+0]=this[k+1]=void 0},S.prototype._fulfill=function(B){var k=this._bitField;if((k&117506048)>>>16)return;if(B===this){var d=$();return this._attachExtraTrace(d),this._reject(d)}if(this._setFulfilled(),this._rejectionHandler0=B,(k&65535)>0)if((k&134217728)!==0)this._settlePromises();else H.settlePromises(this)},S.prototype._reject=function(B){var k=this._bitField;if((k&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=B,this._isFinal())return H.fatalError(B,Q.isNode);if((k&65535)>0)H.settlePromises(this);else this._ensurePossibleRejectionHandled()},S.prototype._fulfillPromises=function(B,k){for(var d=1;d<B;d++){var t=this._fulfillmentHandlerAt(d),K0=this._promiseAt(d),W0=this._receiverAt(d);this._clearCallbackDataAtIndex(d),this._settlePromise(K0,t,W0,k)}},S.prototype._rejectPromises=function(B,k){for(var d=1;d<B;d++){var t=this._rejectionHandlerAt(d),K0=this._promiseAt(d),W0=this._receiverAt(d);this._clearCallbackDataAtIndex(d),this._settlePromise(K0,t,W0,k)}},S.prototype._settlePromises=function(){var B=this._bitField,k=B&65535;if(k>0){if((B&16842752)!==0){var d=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,d,B),this._rejectPromises(k,d)}else{var t=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,t,B),this._fulfillPromises(k,t)}this._setLength(0)}this._clearCancellationData()},S.prototype._settledValue=function(){var B=this._bitField;if((B&33554432)!==0)return this._rejectionHandler0;else if((B&16777216)!==0)return this._fulfillmentHandler0};function f(B){this.promise._resolveCallback(B)}function i(B){this.promise._rejectCallback(B,!1)}S.defer=S.pending=function(){A.deprecated("Promise.defer","new Promise");var B=new S(Z);return{promise:B,resolve:f,reject:i}},Q.notEnumerableProp(S,"_makeSelfResolutionError",$),JK0()(S,Z,D,U,A),KK0()(S,Z,D,A),GK0()(S,N,U,A),WK0()(S),ZK0()(S),XK0()(S,N,D,Z,H,K),S.Promise=S,S.version="3.4.7",LK0()(S,N,U,D,Z,A),OK0()(S),FK0()(S,U,D,T,Z,A),AK0()(S,Z,A),TK0()(S,U,Z,D,Y,A),BK0()(S),vK0()(S,Z),jK0()(S,N,D,U),SK0()(S,Z,D,U),yK0()(S,N,U,D,Z,A),xK0()(S,N,A),uK0()(S,N,U),bK0()(S,Z),nK0()(S,Z),cK0()(S),Q.toFastProperties(S),Q.toFastProperties(S.prototype);function Y0(B){var k=new S(Z);k._fulfillmentHandler0=B,k._rejectionHandler0=B,k._promise0=B,k._receiver0=B}return Y0({a:1}),Y0({b:2}),Y0({c:3}),Y0(1),Y0(function(){}),Y0(void 0),Y0(!1),Y0(new S(Z)),A.setBounds(G.firstLineError,Q.lastLineError),S}});var U7=O((Bv1,lK0)=>{var mK0;if(typeof Promise<"u")mK0=Promise;function P31(){try{if(Promise===_w)Promise=mK0}catch($){}return _w}var _w=dK0()();_w.noConflict=P31;lK0.exports=_w});var tY=O((Rv1,oK0)=>{var rY=r("buffer").Buffer;if(rY.from===void 0)rY.from=function($,I,U){return new rY($,I,U)},rY.alloc=rY.from;oK0.exports=rY});var tK0=O((vv1,Xg)=>{function T31($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var rK0=M4().Buffer,Zq=r("util");function E31($,I,U){$.copy(I,U)}Xg.exports=function(){function $(){T31(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return rK0.alloc(0);var Y=rK0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)E31(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(Zq&&Zq.inspect&&Zq.inspect.custom)Xg.exports.prototype[Zq.inspect.custom]=function(){var $=Zq.inspect({length:this.length});return this.constructor.name+" "+$}});var wg=O((Cv1,aK0)=>{var Sw=F4();function B31($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)Sw.nextTick(gw,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,Sw.nextTick(gw,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)Sw.nextTick(gw,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,Sw.nextTick(gw,U,Q)}else if(I)I(Q)}),this}function R31(){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 gw($,I){$.emit("error",I)}aK0.exports={destroy:B31,undestroy:R31}});var Dg=O((jv1,Qq0)=>{var u3=F4();Qq0.exports=R4;function eK0($){var I=this;this.next=null,this.entry=null,this.finish=function(){d31(I,$)}}var v31=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:u3.nextTick,aY;R4.WritableState=Xq;var $q0=Object.create(n1());$q0.inherits=p0();var C31={deprecate:x7()},Iq0=r("stream"),hw=M4().Buffer,j31=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _31($){return hw.from($)}function S31($){return hw.isBuffer($)||$ instanceof j31}var Uq0=wg();$q0.inherits(R4,Iq0);function g31(){}function Xq($,I){aY=aY||f3(),$=$||{};var U=I instanceof aY;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;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 K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){b31(I,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 eK0(this)}Xq.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(Xq.prototype,"buffer",{get:C31.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var yw;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")yw=Function.prototype[Symbol.hasInstance],Object.defineProperty(R4,Symbol.hasInstance,{value:function($){if(yw.call(this,$))return!0;if(this!==R4)return!1;return $&&$._writableState instanceof Xq}});else yw=function($){return $ instanceof this};function R4($){if(aY=aY||f3(),!yw.call(R4,this)&&!(this instanceof aY))return new R4($);if(this._writableState=new Xq($,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}Iq0.call(this)}R4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function y31($,I){var U=Error("write after end");$.emit("error",U),u3.nextTick(I,U)}function h31($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),u3.nextTick(Y,Q),J=!1;return J}R4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&S31($);if(Q&&!hw.isBuffer($))$=_31($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=g31;if(Y.ended)y31(this,U);else if(Q||h31(this,Y,$,U))Y.pendingcb++,J=k31(this,Y,Q,$,I,U);return J};R4.prototype.cork=function(){var $=this._writableState;$.corked++};R4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)Yq0(this,$)}};R4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function x31($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=hw.from(I,U);return I}Object.defineProperty(R4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function k31($,I,U,Y,J,Q){if(!U){var K=x31(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else Lg($,I,!1,q,Y,J,Q);return G}function Lg($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function u31($,I,U,Y,J){if(--I.pendingcb,U)u3.nextTick(J,Y),u3.nextTick(zq,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),zq($,I)}function f31($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function b31($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(f31(U),I)u31($,U,Y,I,J);else{var Q=Jq0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)Yq0($,U);if(Y)v31(sK0,$,U,Q,J);else sK0($,U,Q,J)}}function sK0($,I,U,Y){if(!U)i31($,I);I.pendingcb--,Y(),zq($,I)}function i31($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function Yq0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,Lg($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new eK0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(Lg($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}R4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};R4.prototype._writev=null;R4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)c31(this,Y,U)};function Jq0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function n31($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),zq($,I)})}function p31($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,u3.nextTick(n31,$,I);else I.prefinished=!0,$.emit("prefinish")}function zq($,I){var U=Jq0(I);if(U){if(p31($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function c31($,I,U){if(I.ending=!0,zq($,I),U)if(I.finished)u3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function d31($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(R4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});R4.prototype.destroy=Uq0.destroy;R4.prototype._undestroy=Uq0.undestroy;R4.prototype._destroy=function($,I){this.end(),I($)}});var f3=O((_v1,Hq0)=>{var Kq0=F4(),m31=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};Hq0.exports=j5;var qq0=Object.create(n1());qq0.inherits=p0();var Gq0=Ng(),Og=Dg();qq0.inherits(j5,Gq0);{xw=m31(Og.prototype);for(wq=0;wq<xw.length;wq++)if(Lq=xw[wq],!j5.prototype[Lq])j5.prototype[Lq]=Og.prototype[Lq]}var xw,Lq,wq;function j5($){if(!(this instanceof j5))return new j5($);if(Gq0.call(this,$),Og.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",l31)}Object.defineProperty(j5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function l31(){if(this.allowHalfOpen||this._writableState.ended)return;Kq0.nextTick(o31,this)}function o31($){$.end()}Object.defineProperty(j5.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=$}});j5.prototype._destroy=function($,I){this.push(null),this.end(),Kq0.nextTick(I,$)}});var Ag=O((GI1)=>{var Mg=M4().Buffer,Wq0=Mg.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 r31($){if(!$)return"utf8";var I;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(I)return;$=(""+$).toLowerCase(),I=!0}}function t31($){var I=r31($);if(typeof I!=="string"&&(Mg.isEncoding===Wq0||!Wq0($)))throw Error("Unknown encoding: "+$);return I||$}GI1.StringDecoder=Dq;function Dq($){this.encoding=t31($);var I;switch(this.encoding){case"utf16le":this.text=UI1,this.end=YI1,I=4;break;case"utf8":this.fillLast=e31,I=4;break;case"base64":this.text=JI1,this.end=QI1,I=3;break;default:this.write=KI1,this.end=qI1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Mg.allocUnsafe(I)}Dq.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};Dq.prototype.end=II1;Dq.prototype.text=$I1;Dq.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 Fg($){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 a31($,I,U){var Y=I.length-1;if(Y<U)return 0;var J=Fg(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=Fg(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=Fg(I[Y]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function s31($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function e31($){var I=this.lastTotal-this.lastNeed,U=s31(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function $I1($,I){var U=a31(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function II1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function UI1($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function YI1($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function JI1($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function QI1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function KI1($){return $.toString(this.encoding)}function qI1($){return $&&$.length?this.write($):""}});var Ng=O((yv1,Aq0)=>{var eY=F4();Aq0.exports=s1;var WI1=OU(),Oq;s1.ReadableState=Dq0;var gv1=r("events").EventEmitter,Xq0=function($,I){return $.listeners(I).length},Rg=r("stream"),Nq=M4().Buffer,VI1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function ZI1($){return Nq.from($)}function zI1($){return Nq.isBuffer($)||$ instanceof VI1}var wq0=Object.create(n1());wq0.inherits=p0();var Pg=r("util"),E1=void 0;if(Pg&&Pg.debuglog)E1=Pg.debuglog("stream");else E1=function(){};var XI1=tK0(),Lq0=wg(),sY;wq0.inherits(s1,Rg);var Tg=["error","close","destroy","pause","resume"];function wI1($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(WI1($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function Dq0($,I){Oq=Oq||f3(),$=$||{};var U=I instanceof Oq;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new XI1,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(!sY)sY=Ag().StringDecoder;this.decoder=new sY($.encoding),this.encoding=$.encoding}}function s1($){if(Oq=Oq||f3(),!(this instanceof s1))return new s1($);if(this._readableState=new Dq0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Rg.call(this)}Object.defineProperty(s1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});s1.prototype.destroy=Lq0.destroy;s1.prototype._undestroy=Lq0.undestroy;s1.prototype._destroy=function($,I){this.push(null),I($)};s1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=Nq.from($,I),I="";Y=!0}}else Y=!0;return Oq0(this,$,I,!1,Y)};s1.prototype.unshift=function($){return Oq0(this,$,null,!0,!1)};function Oq0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,NI1($,Q);else{var K;if(!J)K=LI1(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==Nq.prototype)I=ZI1(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Eg($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)Eg($,Q,I,!1);else Nq0($,Q);else Eg($,Q,I,!1)}else if(!Y)Q.reading=!1}return DI1(Q)}function Eg($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)kw($)}Nq0($,I)}function LI1($,I){var U;if(!zI1(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function DI1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}s1.prototype.isPaused=function(){return this._readableState.flowing===!1};s1.prototype.setEncoding=function($){if(!sY)sY=Ag().StringDecoder;return this._readableState.decoder=new sY($),this._readableState.encoding=$,this};var Vq0=8388608;function OI1($){if($>=Vq0)$=Vq0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function Zq0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=OI1($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}s1.prototype.read=function($){E1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(E1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)Bg(this);else kw(this);return null}if($=Zq0($,I),$===0&&I.ended){if(I.length===0)Bg(this);return null}var Y=I.needReadable;if(E1("need readable",Y),I.length===0||I.length-$<I.highWaterMark)Y=!0,E1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,E1("reading or ended",Y);else if(Y){if(E1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=Zq0(U,I)}var J;if($>0)J=Fq0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)Bg(this)}if(J!==null)this.emit("data",J);return J};function NI1($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,kw($)}function kw($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(E1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)eY.nextTick(zq0,$);else zq0($)}function zq0($){E1("emit readable"),$.emit("readable"),vg($)}function Nq0($,I){if(!I.readingMore)I.readingMore=!0,eY.nextTick(FI1,$,I)}function FI1($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length<I.highWaterMark)if(E1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}s1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};s1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,E1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)eY.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(N,E){if(E1("onunpipe"),N===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){E1("onend"),$.end()}var G=MI1(U);$.on("drain",G);var H=!1;function W(){if(E1("cleanup"),$.removeListener("close",w),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",z),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",z);function z(N){E1("ondata"),V=!1;var E=$.write(N);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&Mq0(Y.pipes,$)!==-1)&&!H)E1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(E1("onerror",N),D(),$.removeListener("error",Z),Xq0($,"error")===0)$.emit("error",N)}wI1($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){E1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){E1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)E1("pipe resume"),U.resume();return $};function MI1($){return function(){var I=$._readableState;if(E1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&Xq0($,"data"))I.flowing=!0,vg($)}}s1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=Mq0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};s1.prototype.on=function($,I){var U=Rg.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)eY.nextTick(AI1,this);else if(Y.length)kw(this)}}return U};s1.prototype.addListener=s1.prototype.on;function AI1($){E1("readable nexttick read 0"),$.read(0)}s1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)E1("resume"),$.flowing=!0,PI1(this,$);return this};function PI1($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,eY.nextTick(TI1,$,I)}function TI1($,I){if(!I.reading)E1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),vg($),I.flowing&&!I.reading)$.read(0)}s1.prototype.pause=function(){if(E1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)E1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function vg($){var I=$._readableState;E1("flow",I.flowing);while(I.flowing&&$.read()!==null);}s1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(E1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(E1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<Tg.length;Q++)$.on(Tg[Q],this.emit.bind(this,Tg[Q]));return this._read=function(K){if(E1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(s1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});s1._fromList=Fq0;function Fq0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=EI1($,I.buffer,I.decoder);return U}function EI1($,I,U){var Y;if($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?BI1($,I):RI1($,I);return Y}function BI1($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function RI1($,I){var U=Nq.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function Bg($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,eY.nextTick(vI1,I,$)}function vI1($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function Mq0($,I){for(var U=0,Y=$.length;U<Y;U++)if($[U]===I)return U;return-1}});var Cg=O((hv1,Eq0)=>{Eq0.exports=_5;var uw=f3(),Tq0=Object.create(n1());Tq0.inherits=p0();Tq0.inherits(_5,uw);function CI1($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function _5($){if(!(this instanceof _5))return new _5($);if(uw.call(this,$),this._transformState={afterTransform:CI1.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",jI1)}function jI1(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){Pq0($,I,U)});else Pq0(this,null,null)}_5.prototype.push=function($,I){return this._transformState.needTransform=!1,uw.prototype.push.call(this,$,I)};_5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};_5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};_5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};_5.prototype._destroy=function($,I){var U=this;uw.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function Pq0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);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 Cq0=O((xv1,vq0)=>{vq0.exports=Fq;var Bq0=Cg(),Rq0=Object.create(n1());Rq0.inherits=p0();Rq0.inherits(Fq,Bq0);function Fq($){if(!(this instanceof Fq))return new Fq($);Bq0.call(this,$)}Fq.prototype._transform=function($,I,U){U(null,$)}});var S5=O((q6,fw)=>{var x8=r("stream");if(process.env.READABLE_STREAM==="disable"&&x8)fw.exports=x8,q6=fw.exports=x8.Readable,q6.Readable=x8.Readable,q6.Writable=x8.Writable,q6.Duplex=x8.Duplex,q6.Transform=x8.Transform,q6.PassThrough=x8.PassThrough,q6.Stream=x8;else q6=fw.exports=Ng(),q6.Stream=x8||q6,q6.Readable=q6,q6.Writable=Dg(),q6.Duplex=f3(),q6.Transform=Cg(),q6.PassThrough=Cq0()});var iw=O((kv1,jq0)=>{var b3=r("stream"),jg=U7(),_I1=r("util"),bw=tY(),SI1="function";if(!b3.Writable||!b3.Writable.prototype.destroy)b3=S5();function Y7(){if(!(this instanceof Y7))return new Y7;b3.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=bw.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}_I1.inherits(Y7,b3.Duplex);Y7.prototype._write=function($,I,U){this.buffer=bw.concat([this.buffer,$]),this.cb=U,this.emit("chunk")};Y7.prototype.stream=function($,I){var U=b3.PassThrough(),Y,J=this;function Q(){if(typeof J.cb===SI1){var q=J.cb;return J.cb=void 0,q()}}function K(){var q;if(J.buffer&&J.buffer.length){if(typeof $==="number")q=J.buffer.slice(0,$),J.buffer=J.buffer.slice($),$-=q.length,Y=!$;else{var G=J.buffer.indexOf($);if(G!==-1){if(J.match=G,I)G=G+$.length;q=J.buffer.slice(0,G),J.buffer=J.buffer.slice(G),Y=!0}else{var H=J.buffer.length-$.length;if(H<=0)Q();else q=J.buffer.slice(0,H),J.buffer=J.buffer.slice(H)}}if(q)U.write(q,function(){if(J.buffer.length===0||$.length&&J.buffer.length<=$.length)Q()})}if(!Y){if(J.finished){J.removeListener("chunk",K),J.emit("error",Error("FILE_ENDED"));return}}else J.removeListener("chunk",K),U.end()}return J.on("chunk",K),K(),U};Y7.prototype.pull=function($,I){if($===0)return jg.resolve("");if(!isNaN($)&&this.buffer.length>$){var U=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),jg.resolve(U)}var Y=bw.from(""),J=this,Q=b3.Transform();Q._transform=function(G,H,W){Y=bw.concat([Y,G]),W()};var K,q;return new jg(function(G,H){if(K=H,q=function(W){J.__emittedError=W,H(W)},J.finished)return H(Error("FILE_ENDED"));J.once("error",q),J.stream($,I).on("error",H).pipe(Q).on("finish",function(){G(Y)}).on("error",H)}).finally(function(){J.removeListener("error",K),J.removeListener("error",q)})};Y7.prototype._read=function(){};jq0.exports=Y7});var Sq0=O((uv1,_q0)=>{var Mq=r("stream"),gI1=r("util");if(!Mq.Writable||!Mq.Writable.prototype.destroy)Mq=S5();function Aq(){if(!(this instanceof Aq))return new Aq;Mq.Transform.call(this)}gI1.inherits(Aq,Mq.Transform);Aq.prototype._transform=function($,I,U){U()};_q0.exports=Aq});var pw=O((fv1,gq0)=>{var yI1=U7(),nw=r("stream"),hI1=tY();if(!nw.Writable||!nw.Writable.prototype.destroy)nw=S5();gq0.exports=function($){return new yI1(function(I,U){var Y=[],J=nw.Transform().on("finish",function(){I(hI1.concat(Y))}).on("error",U);J._transform=function(Q,K,q){Y.push(Q),q()},$.on("error",U).pipe(J)})}});var cw=O((bv1,yq0)=>{var xI1=Hq();yq0.exports=function($,I){var U;while(!U&&$&&$.length){var Y=xI1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(Y.signature===1)U=Y;else $=$.slice(Y.partsize+4)}if(U=U||{},I.compressedSize===4294967295)I.compressedSize=U.compressedSize;if(I.uncompressedSize===4294967295)I.uncompressedSize=U.uncompressedSize;if(I.offsetToLocalFileHeader===4294967295)I.offsetToLocalFileHeader=U.offset;return U}});var dw=O((iv1,hq0)=>{hq0.exports=function(I,U){let Y=I&31,J=I>>5&15,Q=(I>>9&127)+1980,K=U?(U&31)*2:0,q=U?U>>5&63:0,G=U?U>>11:0;return new Date(Date.UTC(Q,J-1,Y,G,q,K))}});var mw=O((nv1,fq0)=>{var kI1=r("util"),uI1=r("zlib"),Pq=r("stream"),Tq=Hq(),_g=U7(),xq0=iw(),fI1=Sq0(),bI1=pw(),iI1=cw(),kq0=tY(),nI1=dw();if(!Pq.Writable||!Pq.Writable.prototype.destroy)Pq=S5();var uq0=kq0.alloc(4);uq0.writeUInt32LE(101010256,0);function Y8($){if(!(this instanceof Y8))return new Y8($);var I=this;I._opts=$||{verbose:!1},xq0.call(I,I._opts),I.on("finish",function(){I.emit("end"),I.emit("close")}),I._readRecord().catch(function(U){if(!I.__emittedError||I.__emittedError!==U)I.emit("error",U)})}kI1.inherits(Y8,xq0);Y8.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(I){if(I.length===0)return;var U=I.readUInt32LE(0);if(U===875721283)return $._readCrxHeader();if(U===67324752)return $._readFile();else if(U===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(U===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var Y=!0;return $.pull(uq0,Y).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+U.toString(16)))})};Y8.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(I){return $.crxHeader=Tq.parse(I).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(I){return $.crxHeader.publicKey=I.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=I.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};Y8.prototype._readFile=function(){var $=this;return $.pull(26).then(function(I){var U=Tq.parse(I).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(U.lastModifiedDateTime=nI1(U.lastModifiedDate,U.lastModifiedTime),$.crxHeader)U.crxHeader=$.crxHeader;return $.pull(U.fileNameLength).then(function(Y){var J=Y.toString("utf8"),Q=Pq.PassThrough(),K=!1;if(Q.autodrain=function(){K=!0;var q=Q.pipe(fI1());return q.promise=function(){return new _g(function(G,H){q.on("finish",G),q.on("error",H)})},q},Q.buffer=function(){return bI1(Q)},Q.path=J,Q.props={},Q.props.path=J,Q.props.pathBuffer=Y,Q.props.flags={isUnicode:(U.flags&2048)!=0},Q.type=U.uncompressedSize===0&&/[\/\\]$/.test(J)?"Directory":"File",$._opts.verbose){if(Q.type==="Directory")console.log(" creating:",J);else if(Q.type==="File")if(U.compressionMethod===0)console.log(" extracting:",J);else console.log(" inflating:",J)}return $.pull(U.extraFieldLength).then(function(q){var G=iI1(q,U);if(Q.vars=U,Q.extra=G,$._opts.forceStream)$.push(Q);else if($.emit("entry",Q),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(Q);if($._opts.verbose)console.log({filename:J,vars:U,extra:G});var H=!(U.flags&8)||U.compressedSize>0,W;Q.__autodraining=K;var V=U.compressionMethod&&!K?uI1.createInflateRaw():Pq.PassThrough();if(H)Q.size=U.uncompressedSize,W=U.compressedSize;else W=kq0.alloc(4),W.writeUInt32LE(134695760,0);return new _g(function(z,Z){$.stream(W).pipe(V).on("error",function(w){$.emit("error",w)}).pipe(Q).on("finish",function(){return H?$._readRecord().then(z).catch(Z):$._processDataDescriptor(Q).then(z).catch(Z)})})})})})};Y8.prototype._processDataDescriptor=function($){var I=this;return I.pull(16).then(function(U){var Y=Tq.parse(U).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=Y.uncompressedSize,I._readRecord()})};Y8.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(I){var U=Tq.parse(I).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(U.fileNameLength).then(function(Y){return U.fileName=Y.toString("utf8"),$.pull(U.extraFieldLength)}).then(function(Y){return $.pull(U.fileCommentLength)}).then(function(Y){return $._readRecord()})})};Y8.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(I){var U=Tq.parse(I).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(U.commentLength).then(function(Y){Y=Y.toString("utf8"),$.end(),$.push(null)})})};Y8.prototype.promise=function(){var $=this;return new _g(function(I,U){$.on("finish",I),$.on("error",U)})};fq0.exports=Y8});var iq0=O((pv1,Sg)=>{function pI1($,I){if(!($ instanceof I))throw TypeError("Cannot call a class as a function")}var bq0=M4().Buffer,Eq=r("util");function cI1($,I,U){$.copy(I,U)}Sg.exports=function(){function $(){pI1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var Y={data:U,next:null};if(this.length>0)this.tail.next=Y;else this.head=Y;this.tail=Y,++this.length},$.prototype.unshift=function(U){var Y={data:U,next:this.head};if(this.length===0)this.tail=Y;this.head=Y,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var Y=this.head,J=""+Y.data;while(Y=Y.next)J+=U+Y.data;return J},$.prototype.concat=function(U){if(this.length===0)return bq0.alloc(0);var Y=bq0.allocUnsafe(U>>>0),J=this.head,Q=0;while(J)cI1(J.data,Y,Q),Q+=J.data.length,J=J.next;return Y},$}();if(Eq&&Eq.inspect&&Eq.inspect.custom)Sg.exports.prototype[Eq.inspect.custom]=function(){var $=Eq.inspect({length:this.length});return this.constructor.name+" "+$}});var gg=O((cv1,nq0)=>{var lw=F4();function dI1($,I){var U=this,Y=this._readableState&&this._readableState.destroyed,J=this._writableState&&this._writableState.destroyed;if(Y||J){if(I)I($);else if($){if(!this._writableState)lw.nextTick(ow,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,lw.nextTick(ow,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(Q){if(!I&&Q){if(!U._writableState)lw.nextTick(ow,U,Q);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,lw.nextTick(ow,U,Q)}else if(I)I(Q)}),this}function mI1(){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 ow($,I){$.emit("error",I)}nq0.exports={destroy:dI1,undestroy:mI1}});var hg=O((dv1,tq0)=>{var i3=F4();tq0.exports=v4;function cq0($){var I=this;this.next=null,this.entry=null,this.finish=function(){WU1(I,$)}}var lI1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:i3.nextTick,$J;v4.WritableState=Rq;var dq0=Object.create(n1());dq0.inherits=p0();var oI1={deprecate:x7()},mq0=r("stream"),tw=M4().Buffer,rI1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function tI1($){return tw.from($)}function aI1($){return tw.isBuffer($)||$ instanceof rI1}var lq0=gg();dq0.inherits(v4,mq0);function sI1(){}function Rq($,I){$J=$J||n3(),$=$||{};var U=I instanceof $J;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:Y,writableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;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 K=$.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(q){QU1(I,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 cq0(this)}Rq.prototype.getBuffer=function(){var I=this.bufferedRequest,U=[];while(I)U.push(I),I=I.next;return U};(function(){try{Object.defineProperty(Rq.prototype,"buffer",{get:oI1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var rw;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")rw=Function.prototype[Symbol.hasInstance],Object.defineProperty(v4,Symbol.hasInstance,{value:function($){if(rw.call(this,$))return!0;if(this!==v4)return!1;return $&&$._writableState instanceof Rq}});else rw=function($){return $ instanceof this};function v4($){if($J=$J||n3(),!rw.call(v4,this)&&!(this instanceof $J))return new v4($);if(this._writableState=new Rq($,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}mq0.call(this)}v4.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function eI1($,I){var U=Error("write after end");$.emit("error",U),i3.nextTick(I,U)}function $U1($,I,U,Y){var J=!0,Q=!1;if(U===null)Q=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!I.objectMode)Q=TypeError("Invalid non-string/buffer chunk");if(Q)$.emit("error",Q),i3.nextTick(Y,Q),J=!1;return J}v4.prototype.write=function($,I,U){var Y=this._writableState,J=!1,Q=!Y.objectMode&&aI1($);if(Q&&!tw.isBuffer($))$=tI1($);if(typeof I==="function")U=I,I=null;if(Q)I="buffer";else if(!I)I=Y.defaultEncoding;if(typeof U!=="function")U=sI1;if(Y.ended)eI1(this,U);else if(Q||$U1(this,Y,$,U))Y.pendingcb++,J=UU1(this,Y,Q,$,I,U);return J};v4.prototype.cork=function(){var $=this._writableState;$.corked++};v4.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)oq0(this,$)}};v4.prototype.setDefaultEncoding=function(I){if(typeof I==="string")I=I.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this};function IU1($,I,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof I==="string")I=tw.from(I,U);return I}Object.defineProperty(v4.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function UU1($,I,U,Y,J,Q){if(!U){var K=IU1(I,Y,J);if(Y!==K)U=!0,J="buffer",Y=K}var q=I.objectMode?1:Y.length;I.length+=q;var G=I.length<I.highWaterMark;if(!G)I.needDrain=!0;if(I.writing||I.corked){var H=I.lastBufferedRequest;if(I.lastBufferedRequest={chunk:Y,encoding:J,isBuf:U,callback:Q,next:null},H)H.next=I.lastBufferedRequest;else I.bufferedRequest=I.lastBufferedRequest;I.bufferedRequestCount+=1}else yg($,I,!1,q,Y,J,Q);return G}function yg($,I,U,Y,J,Q,K){if(I.writelen=Y,I.writecb=K,I.writing=!0,I.sync=!0,U)$._writev(J,I.onwrite);else $._write(J,Q,I.onwrite);I.sync=!1}function YU1($,I,U,Y,J){if(--I.pendingcb,U)i3.nextTick(J,Y),i3.nextTick(Bq,$,I),$._writableState.errorEmitted=!0,$.emit("error",Y);else J(Y),$._writableState.errorEmitted=!0,$.emit("error",Y),Bq($,I)}function JU1($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0}function QU1($,I){var U=$._writableState,Y=U.sync,J=U.writecb;if(JU1(U),I)YU1($,U,Y,I,J);else{var Q=rq0(U);if(!Q&&!U.corked&&!U.bufferProcessing&&U.bufferedRequest)oq0($,U);if(Y)lI1(pq0,$,U,Q,J);else pq0($,U,Q,J)}}function pq0($,I,U,Y){if(!U)KU1($,I);I.pendingcb--,Y(),Bq($,I)}function KU1($,I){if(I.length===0&&I.needDrain)I.needDrain=!1,$.emit("drain")}function oq0($,I){I.bufferProcessing=!0;var U=I.bufferedRequest;if($._writev&&U&&U.next){var Y=I.bufferedRequestCount,J=Array(Y),Q=I.corkedRequestsFree;Q.entry=U;var K=0,q=!0;while(U){if(J[K]=U,!U.isBuf)q=!1;U=U.next,K+=1}if(J.allBuffers=q,yg($,I,!0,I.length,J,"",Q.finish),I.pendingcb++,I.lastBufferedRequest=null,Q.next)I.corkedRequestsFree=Q.next,Q.next=null;else I.corkedRequestsFree=new cq0(I);I.bufferedRequestCount=0}else{while(U){var{chunk:G,encoding:H,callback:W}=U,V=I.objectMode?1:G.length;if(yg($,I,!1,V,G,H,W),U=U.next,I.bufferedRequestCount--,I.writing)break}if(U===null)I.lastBufferedRequest=null}I.bufferedRequest=U,I.bufferProcessing=!1}v4.prototype._write=function($,I,U){U(Error("_write() is not implemented"))};v4.prototype._writev=null;v4.prototype.end=function($,I,U){var Y=this._writableState;if(typeof $==="function")U=$,$=null,I=null;else if(typeof I==="function")U=I,I=null;if($!==null&&$!==void 0)this.write($,I);if(Y.corked)Y.corked=1,this.uncork();if(!Y.ending)HU1(this,Y,U)};function rq0($){return $.ending&&$.length===0&&$.bufferedRequest===null&&!$.finished&&!$.writing}function qU1($,I){$._final(function(U){if(I.pendingcb--,U)$.emit("error",U);I.prefinished=!0,$.emit("prefinish"),Bq($,I)})}function GU1($,I){if(!I.prefinished&&!I.finalCalled)if(typeof $._final==="function")I.pendingcb++,I.finalCalled=!0,i3.nextTick(qU1,$,I);else I.prefinished=!0,$.emit("prefinish")}function Bq($,I){var U=rq0(I);if(U){if(GU1($,I),I.pendingcb===0)I.finished=!0,$.emit("finish")}return U}function HU1($,I,U){if(I.ending=!0,Bq($,I),U)if(I.finished)i3.nextTick(U);else $.once("finish",U);I.ended=!0,$.writable=!1}function WU1($,I,U){var Y=$.entry;$.entry=null;while(Y){var J=Y.callback;I.pendingcb--,J(U),Y=Y.next}I.corkedRequestsFree.next=$}Object.defineProperty(v4.prototype,"destroyed",{get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function($){if(!this._writableState)return;this._writableState.destroyed=$}});v4.prototype.destroy=lq0.destroy;v4.prototype._undestroy=lq0.undestroy;v4.prototype._destroy=function($,I){this.end(),I($)}});var n3=O((mv1,$G0)=>{var aq0=F4(),VU1=Object.keys||function($){var I=[];for(var U in $)I.push(U);return I};$G0.exports=g5;var sq0=Object.create(n1());sq0.inherits=p0();var eq0=kg(),xg=hg();sq0.inherits(g5,eq0);{aw=VU1(xg.prototype);for(vq=0;vq<aw.length;vq++)if(Cq=aw[vq],!g5.prototype[Cq])g5.prototype[Cq]=xg.prototype[Cq]}var aw,Cq,vq;function g5($){if(!(this instanceof g5))return new g5($);if(eq0.call(this,$),xg.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",ZU1)}Object.defineProperty(g5.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ZU1(){if(this.allowHalfOpen||this._writableState.ended)return;aq0.nextTick(zU1,this)}function zU1($){$.end()}Object.defineProperty(g5.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=$}});g5.prototype._destroy=function($,I){this.push(null),this.end(),aq0.nextTick(I,$)}});var bg=O((RU1)=>{var fg=M4().Buffer,IG0=fg.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 XU1($){if(!$)return"utf8";var I;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(I)return;$=(""+$).toLowerCase(),I=!0}}function wU1($){var I=XU1($);if(typeof I!=="string"&&(fg.isEncoding===IG0||!IG0($)))throw Error("Unknown encoding: "+$);return I||$}RU1.StringDecoder=jq;function jq($){this.encoding=wU1($);var I;switch(this.encoding){case"utf16le":this.text=MU1,this.end=AU1,I=4;break;case"utf8":this.fillLast=OU1,I=4;break;case"base64":this.text=PU1,this.end=TU1,I=3;break;default:this.write=EU1,this.end=BU1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=fg.allocUnsafe(I)}jq.prototype.write=function($){if($.length===0)return"";var I,U;if(this.lastNeed){if(I=this.fillLast($),I===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return I?I+this.text($,U):this.text($,U);return I||""};jq.prototype.end=FU1;jq.prototype.text=NU1;jq.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 ug($){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 LU1($,I,U){var Y=I.length-1;if(Y<U)return 0;var J=ug(I[Y]);if(J>=0){if(J>0)$.lastNeed=J-1;return J}if(--Y<U||J===-2)return 0;if(J=ug(I[Y]),J>=0){if(J>0)$.lastNeed=J-2;return J}if(--Y<U||J===-2)return 0;if(J=ug(I[Y]),J>=0){if(J>0)if(J===2)J=0;else $.lastNeed=J-3;return J}return 0}function DU1($,I,U){if((I[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&I.length>1){if((I[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&I.length>2){if((I[2]&192)!==128)return $.lastNeed=2,"�"}}}function OU1($){var I=this.lastTotal-this.lastNeed,U=DU1(this,$,I);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,I,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,I,0,$.length),this.lastNeed-=$.length}function NU1($,I){var U=LU1(this,$,I);if(!this.lastNeed)return $.toString("utf8",I);this.lastTotal=U;var Y=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,Y),$.toString("utf8",I,Y)}function FU1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+"�";return I}function MU1($,I){if(($.length-I)%2===0){var U=$.toString("utf16le",I);if(U){var Y=U.charCodeAt(U.length-1);if(Y>=55296&&Y<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",I,$.length-1)}function AU1($){var I=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return I+this.lastChar.toString("utf16le",0,U)}return I}function PU1($,I){var U=($.length-I)%3;if(U===0)return $.toString("base64",I);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",I,$.length-U)}function TU1($){var I=$&&$.length?this.write($):"";if(this.lastNeed)return I+this.lastChar.toString("base64",0,3-this.lastNeed);return I}function EU1($){return $.toString(this.encoding)}function BU1($){return $&&$.length?this.write($):""}});var kg=O((rv1,zG0)=>{var UJ=F4();zG0.exports=e1;var CU1=OU(),_q;e1.ReadableState=GG0;var ov1=r("events").EventEmitter,QG0=function($,I){return $.listeners(I).length},dg=r("stream"),Sq=M4().Buffer,jU1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _U1($){return Sq.from($)}function SU1($){return Sq.isBuffer($)||$ instanceof jU1}var KG0=Object.create(n1());KG0.inherits=p0();var ig=r("util"),B1=void 0;if(ig&&ig.debuglog)B1=ig.debuglog("stream");else B1=function(){};var gU1=iq0(),qG0=gg(),IJ;KG0.inherits(e1,dg);var ng=["error","close","destroy","pause","resume"];function yU1($,I,U){if(typeof $.prependListener==="function")return $.prependListener(I,U);if(!$._events||!$._events[I])$.on(I,U);else if(CU1($._events[I]))$._events[I].unshift(U);else $._events[I]=[U,$._events[I]]}function GG0($,I){_q=_q||n3(),$=$||{};var U=I instanceof _q;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:Y,readableHighWaterMark:J}=$,Q=this.objectMode?16:16384;if(Y||Y===0)this.highWaterMark=Y;else if(U&&(J||J===0))this.highWaterMark=J;else this.highWaterMark=Q;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new gU1,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(!IJ)IJ=bg().StringDecoder;this.decoder=new IJ($.encoding),this.encoding=$.encoding}}function e1($){if(_q=_q||n3(),!(this instanceof e1))return new e1($);if(this._readableState=new GG0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}dg.call(this)}Object.defineProperty(e1.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});e1.prototype.destroy=qG0.destroy;e1.prototype._undestroy=qG0.undestroy;e1.prototype._destroy=function($,I){this.push(null),I($)};e1.prototype.push=function($,I){var U=this._readableState,Y;if(!U.objectMode){if(typeof $==="string"){if(I=I||U.defaultEncoding,I!==U.encoding)$=Sq.from($,I),I="";Y=!0}}else Y=!0;return HG0(this,$,I,!1,Y)};e1.prototype.unshift=function($){return HG0(this,$,null,!0,!1)};function HG0($,I,U,Y,J){var Q=$._readableState;if(I===null)Q.reading=!1,uU1($,Q);else{var K;if(!J)K=hU1(Q,I);if(K)$.emit("error",K);else if(Q.objectMode||I&&I.length>0){if(typeof I!=="string"&&!Q.objectMode&&Object.getPrototypeOf(I)!==Sq.prototype)I=_U1(I);if(Y)if(Q.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else pg($,Q,I,!0);else if(Q.ended)$.emit("error",Error("stream.push() after EOF"));else if(Q.reading=!1,Q.decoder&&!U)if(I=Q.decoder.write(I),Q.objectMode||I.length!==0)pg($,Q,I,!1);else WG0($,Q);else pg($,Q,I,!1)}else if(!Y)Q.reading=!1}return xU1(Q)}function pg($,I,U,Y){if(I.flowing&&I.length===0&&!I.sync)$.emit("data",U),$.read(0);else{if(I.length+=I.objectMode?1:U.length,Y)I.buffer.unshift(U);else I.buffer.push(U);if(I.needReadable)sw($)}WG0($,I)}function hU1($,I){var U;if(!SU1(I)&&typeof I!=="string"&&I!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function xU1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}e1.prototype.isPaused=function(){return this._readableState.flowing===!1};e1.prototype.setEncoding=function($){if(!IJ)IJ=bg().StringDecoder;return this._readableState.decoder=new IJ($),this._readableState.encoding=$,this};var UG0=8388608;function kU1($){if($>=UG0)$=UG0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function YG0($,I){if($<=0||I.length===0&&I.ended)return 0;if(I.objectMode)return 1;if($!==$)if(I.flowing&&I.length)return I.buffer.head.data.length;else return I.length;if($>I.highWaterMark)I.highWaterMark=kU1($);if($<=I.length)return $;if(!I.ended)return I.needReadable=!0,0;return I.length}e1.prototype.read=function($){B1("read",$),$=parseInt($,10);var I=this._readableState,U=$;if($!==0)I.emittedReadable=!1;if($===0&&I.needReadable&&(I.length>=I.highWaterMark||I.ended)){if(B1("read: emitReadable",I.length,I.ended),I.length===0&&I.ended)cg(this);else sw(this);return null}if($=YG0($,I),$===0&&I.ended){if(I.length===0)cg(this);return null}var Y=I.needReadable;if(B1("need readable",Y),I.length===0||I.length-$<I.highWaterMark)Y=!0,B1("length less than watermark",Y);if(I.ended||I.reading)Y=!1,B1("reading or ended",Y);else if(Y){if(B1("do read"),I.reading=!0,I.sync=!0,I.length===0)I.needReadable=!0;if(this._read(I.highWaterMark),I.sync=!1,!I.reading)$=YG0(U,I)}var J;if($>0)J=VG0($,I);else J=null;if(J===null)I.needReadable=!0,$=0;else I.length-=$;if(I.length===0){if(!I.ended)I.needReadable=!0;if(U!==$&&I.ended)cg(this)}if(J!==null)this.emit("data",J);return J};function uU1($,I){if(I.ended)return;if(I.decoder){var U=I.decoder.end();if(U&&U.length)I.buffer.push(U),I.length+=I.objectMode?1:U.length}I.ended=!0,sw($)}function sw($){var I=$._readableState;if(I.needReadable=!1,!I.emittedReadable)if(B1("emitReadable",I.flowing),I.emittedReadable=!0,I.sync)UJ.nextTick(JG0,$);else JG0($)}function JG0($){B1("emit readable"),$.emit("readable"),mg($)}function WG0($,I){if(!I.readingMore)I.readingMore=!0,UJ.nextTick(fU1,$,I)}function fU1($,I){var U=I.length;while(!I.reading&&!I.flowing&&!I.ended&&I.length<I.highWaterMark)if(B1("maybeReadMore read 0"),$.read(0),U===I.length)break;else U=I.length;I.readingMore=!1}e1.prototype._read=function($){this.emit("error",Error("_read() is not implemented"))};e1.prototype.pipe=function($,I){var U=this,Y=this._readableState;switch(Y.pipesCount){case 0:Y.pipes=$;break;case 1:Y.pipes=[Y.pipes,$];break;default:Y.pipes.push($);break}Y.pipesCount+=1,B1("pipe count=%d opts=%j",Y.pipesCount,I);var J=(!I||I.end!==!1)&&$!==process.stdout&&$!==process.stderr,Q=J?q:D;if(Y.endEmitted)UJ.nextTick(Q);else U.once("end",Q);$.on("unpipe",K);function K(N,E){if(B1("onunpipe"),N===U){if(E&&E.hasUnpiped===!1)E.hasUnpiped=!0,W()}}function q(){B1("onend"),$.end()}var G=bU1(U);$.on("drain",G);var H=!1;function W(){if(B1("cleanup"),$.removeListener("close",w),$.removeListener("finish",L),$.removeListener("drain",G),$.removeListener("error",Z),$.removeListener("unpipe",K),U.removeListener("end",q),U.removeListener("end",D),U.removeListener("data",z),H=!0,Y.awaitDrain&&(!$._writableState||$._writableState.needDrain))G()}var V=!1;U.on("data",z);function z(N){B1("ondata"),V=!1;var E=$.write(N);if(E===!1&&!V){if((Y.pipesCount===1&&Y.pipes===$||Y.pipesCount>1&&ZG0(Y.pipes,$)!==-1)&&!H)B1("false write response, pause",Y.awaitDrain),Y.awaitDrain++,V=!0;U.pause()}}function Z(N){if(B1("onerror",N),D(),$.removeListener("error",Z),QG0($,"error")===0)$.emit("error",N)}yU1($,"error",Z);function w(){$.removeListener("finish",L),D()}$.once("close",w);function L(){B1("onfinish"),$.removeListener("close",w),D()}$.once("finish",L);function D(){B1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!Y.flowing)B1("pipe resume"),U.resume();return $};function bU1($){return function(){var I=$._readableState;if(B1("pipeOnDrain",I.awaitDrain),I.awaitDrain)I.awaitDrain--;if(I.awaitDrain===0&&QG0($,"data"))I.flowing=!0,mg($)}}e1.prototype.unpipe=function($){var I=this._readableState,U={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1){if($&&$!==I.pipes)return this;if(!$)$=I.pipes;if(I.pipes=null,I.pipesCount=0,I.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:Y,pipesCount:J}=I;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var Q=0;Q<J;Q++)Y[Q].emit("unpipe",this,{hasUnpiped:!1});return this}var K=ZG0(I.pipes,$);if(K===-1)return this;if(I.pipes.splice(K,1),I.pipesCount-=1,I.pipesCount===1)I.pipes=I.pipes[0];return $.emit("unpipe",this,U),this};e1.prototype.on=function($,I){var U=dg.prototype.on.call(this,$,I);if($==="data"){if(this._readableState.flowing!==!1)this.resume()}else if($==="readable"){var Y=this._readableState;if(!Y.endEmitted&&!Y.readableListening){if(Y.readableListening=Y.needReadable=!0,Y.emittedReadable=!1,!Y.reading)UJ.nextTick(iU1,this);else if(Y.length)sw(this)}}return U};e1.prototype.addListener=e1.prototype.on;function iU1($){B1("readable nexttick read 0"),$.read(0)}e1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)B1("resume"),$.flowing=!0,nU1(this,$);return this};function nU1($,I){if(!I.resumeScheduled)I.resumeScheduled=!0,UJ.nextTick(pU1,$,I)}function pU1($,I){if(!I.reading)B1("resume read 0"),$.read(0);if(I.resumeScheduled=!1,I.awaitDrain=0,$.emit("resume"),mg($),I.flowing&&!I.reading)$.read(0)}e1.prototype.pause=function(){if(B1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)B1("pause"),this._readableState.flowing=!1,this.emit("pause");return this};function mg($){var I=$._readableState;B1("flow",I.flowing);while(I.flowing&&$.read()!==null);}e1.prototype.wrap=function($){var I=this,U=this._readableState,Y=!1;$.on("end",function(){if(B1("wrapped end"),U.decoder&&!U.ended){var K=U.decoder.end();if(K&&K.length)I.push(K)}I.push(null)}),$.on("data",function(K){if(B1("wrapped data"),U.decoder)K=U.decoder.write(K);if(U.objectMode&&(K===null||K===void 0))return;else if(!U.objectMode&&(!K||!K.length))return;var q=I.push(K);if(!q)Y=!0,$.pause()});for(var J in $)if(this[J]===void 0&&typeof $[J]==="function")this[J]=function(K){return function(){return $[K].apply($,arguments)}}(J);for(var Q=0;Q<ng.length;Q++)$.on(ng[Q],this.emit.bind(this,ng[Q]));return this._read=function(K){if(B1("wrapped _read",K),Y)Y=!1,$.resume()},this};Object.defineProperty(e1.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}});e1._fromList=VG0;function VG0($,I){if(I.length===0)return null;var U;if(I.objectMode)U=I.buffer.shift();else if(!$||$>=I.length){if(I.decoder)U=I.buffer.join("");else if(I.buffer.length===1)U=I.buffer.head.data;else U=I.buffer.concat(I.length);I.buffer.clear()}else U=cU1($,I.buffer,I.decoder);return U}function cU1($,I,U){var Y;if($<I.head.data.length)Y=I.head.data.slice(0,$),I.head.data=I.head.data.slice($);else if($===I.head.data.length)Y=I.shift();else Y=U?dU1($,I):mU1($,I);return Y}function dU1($,I){var U=I.head,Y=1,J=U.data;$-=J.length;while(U=U.next){var Q=U.data,K=$>Q.length?Q.length:$;if(K===Q.length)J+=Q;else J+=Q.slice(0,$);if($-=K,$===0){if(K===Q.length)if(++Y,U.next)I.head=U.next;else I.head=I.tail=null;else I.head=U,U.data=Q.slice(K);break}++Y}return I.length-=Y,J}function mU1($,I){var U=Sq.allocUnsafe($),Y=I.head,J=1;Y.data.copy(U),$-=Y.data.length;while(Y=Y.next){var Q=Y.data,K=$>Q.length?Q.length:$;if(Q.copy(U,U.length-$,0,K),$-=K,$===0){if(K===Q.length)if(++J,Y.next)I.head=Y.next;else I.head=I.tail=null;else I.head=Y,Y.data=Q.slice(K);break}++J}return I.length-=J,U}function cg($){var I=$._readableState;if(I.length>0)throw Error('"endReadable()" called on non-empty stream');if(!I.endEmitted)I.ended=!0,UJ.nextTick(lU1,I,$)}function lU1($,I){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,I.readable=!1,I.emit("end")}function ZG0($,I){for(var U=0,Y=$.length;U<Y;U++)if($[U]===I)return U;return-1}});var lg=O((tv1,LG0)=>{LG0.exports=y5;var ew=n3(),wG0=Object.create(n1());wG0.inherits=p0();wG0.inherits(y5,ew);function oU1($,I){var U=this._transformState;U.transforming=!1;var Y=U.writecb;if(!Y)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,I!=null)this.push(I);Y($);var J=this._readableState;if(J.reading=!1,J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}function y5($){if(!(this instanceof y5))return new y5($);if(ew.call(this,$),this._transformState={afterTransform:oU1.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",rU1)}function rU1(){var $=this;if(typeof this._flush==="function")this._flush(function(I,U){XG0($,I,U)});else XG0(this,null,null)}y5.prototype.push=function($,I){return this._transformState.needTransform=!1,ew.prototype.push.call(this,$,I)};y5.prototype._transform=function($,I,U){throw Error("_transform() is not implemented")};y5.prototype._write=function($,I,U){var Y=this._transformState;if(Y.writecb=U,Y.writechunk=$,Y.writeencoding=I,!Y.transforming){var J=this._readableState;if(Y.needTransform||J.needReadable||J.length<J.highWaterMark)this._read(J.highWaterMark)}};y5.prototype._read=function($){var I=this._transformState;if(I.writechunk!==null&&I.writecb&&!I.transforming)I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform);else I.needTransform=!0};y5.prototype._destroy=function($,I){var U=this;ew.prototype._destroy.call(this,$,function(Y){I(Y),U.emit("close")})};function XG0($,I,U){if(I)return $.emit("error",I);if(U!=null)$.push(U);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 FG0=O((av1,NG0)=>{NG0.exports=gq;var DG0=lg(),OG0=Object.create(n1());OG0.inherits=p0();OG0.inherits(gq,DG0);function gq($){if(!(this instanceof gq))return new gq($);DG0.call(this,$)}gq.prototype._transform=function($,I,U){U(null,$)}});var MG0=O((G6,$L)=>{var k8=r("stream");if(process.env.READABLE_STREAM==="disable"&&k8)$L.exports=k8,G6=$L.exports=k8.Readable,G6.Readable=k8.Readable,G6.Writable=k8.Writable,G6.Duplex=k8.Duplex,G6.Transform=k8.Transform,G6.PassThrough=k8.PassThrough,G6.Stream=k8;else G6=$L.exports=kg(),G6.Stream=k8||G6,G6.Readable=G6,G6.Writable=hg(),G6.Duplex=n3(),G6.Transform=lg(),G6.PassThrough=FG0()});var tg=O((sv1,rg)=>{var og=MG0();function YJ($,I,U){if(typeof U>"u")U=I,I=$,$=null;if(og.Duplex.call(this,$),typeof U.read!=="function")U=new og.Readable($).wrap(U);this._writable=I,this._readable=U,this._waiting=!1;var Y=this;if(I.once("finish",function(){Y.end()}),this.once("finish",function(){I.end()}),U.on("readable",function(){if(Y._waiting)Y._waiting=!1,Y._read()}),U.once("end",function(){Y.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)I.on("error",function(J){Y.emit("error",J)}),U.on("error",function(J){Y.emit("error",J)})}YJ.prototype=Object.create(og.Duplex.prototype,{constructor:{value:YJ}});YJ.prototype._write=function(I,U,Y){this._writable.write(I,U,Y)};YJ.prototype._read=function(){var I,U=0;while((I=this._readable.read())!==null)this.push(I),U++;if(U===0)this._waiting=!0};rg.exports=function(I,U,Y){return new YJ(I,U,Y)};rg.exports.DuplexWrapper=YJ});var PG0=O((ev1,AG0)=>{var JJ=r("stream"),tU1=mw(),aU1=tg(),sU1=pw();if(!JJ.Writable||!JJ.Writable.prototype.destroy)JJ=S5();function eU1($,I){var U=JJ.PassThrough({objectMode:!0}),Y=JJ.PassThrough(),J=JJ.Transform({objectMode:!0}),Q=$ instanceof RegExp?$:$&&new RegExp($),K;J._transform=function(G,H,W){if(K||Q&&!Q.exec(G.path))return G.autodrain(),W();else K=!0,q.emit("entry",G),G.on("error",function(V){Y.emit("error",V)}),G.pipe(Y).on("error",function(V){W(V)}).on("finish",function(V){W(null,V)})},U.pipe(tU1(I)).on("error",function(G){Y.emit("error",G)}).pipe(J).on("error",Object).on("finish",function(){if(!K)Y.emit("error",Error("PATTERN_NOT_FOUND"));else Y.end()});var q=aU1(U,Y);return q.buffer=function(){return sU1(Y)},q}AG0.exports=eU1});var IL=O(($C1,EG0)=>{EG0.exports=J7;var ag=r("stream").Stream,$Y1=p0();function J7(){ag.call(this)}$Y1(J7,ag);J7.prototype.on=function($,I){if($==="ready"&&this.ready)process.nextTick(I.bind(this));else ag.prototype.on.call(this,$,I);return this};J7.prototype.abort=function(){this._aborted=!0,this.emit("abort")};J7.prototype.destroy=function(){};J7.prototype.warn=function($,I){var U=this,Y=TG0($,I,U);if(!U.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
`,I||"UNKNOWN",Y.stack,Y.path,Y.syscall,Y.fstream_type,Y.fstream_path,Y.fstream_unc_path,Y.fstream_class,Y.fstream_stack.join(`
`));else U.emit("warn",Y)};J7.prototype.info=function($,I){this.emit("info",$,I)};J7.prototype.error=function($,I,U){var Y=TG0($,I,this);if(U)throw Y;else this.emit("error",Y)};function TG0($,I,U){if(!($ instanceof Error))$=Error($);if($.code=$.code||I,$.path=$.path||U.path,$.fstream_type=$.fstream_type||U.type,$.fstream_path=$.fstream_path||U.path,U._path!==U.path)$.fstream_unc_path=$.fstream_unc_path||U._path;if(U.linkpath)$.fstream_linkpath=$.fstream_linkpath||U.linkpath;return $.fstream_class=$.fstream_class||U.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(Y){return Y.replace(/^ {4}at /,"")}),$}});var yq=O((IC1,BG0)=>{BG0.exports=IY1;function IY1($){var I=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],U;if($.type&&I.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var Y=0,J=I.length;Y<J;Y++){U=I[Y];var Q=$[U]||$["is"+U];if(typeof Q==="function")Q=Q.call($);if(Q)return $[U]=!0,$.type=U,U}return null}});var eg=O((UC1,RG0)=>{RG0.exports=hq;var UY1=m6(),YY1=p0(),sg=p3();YY1(hq,sg);function hq($){var I=this;if(!(I instanceof hq))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);sg.call(I,$)}hq.prototype._stat=function($){var I=this;UY1.readlink(I._path,function(U,Y){if(U)return I.error(U);I.linkpath=I.props.linkpath=Y,I.emit("linkpath",Y),sg.prototype._stat.call(I,$)})};hq.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var Iy=O((YC1,jG0)=>{jG0.exports=u8;var CG0=m6(),JY1=p0(),xq=r("path"),$y=p3(),vG0=r("assert").ok;JY1(u8,$y);function u8($){var I=this;if(!(I instanceof u8))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(I.entries=null,I._index=-1,I._paused=!1,I._length=-1,$.sort)this.sort=$.sort;$y.call(this,$)}u8.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,CG0.readdir($._path,function(I,U){if(I)return $.error(I);if($.entries=U,$.emit("entries",U),$._paused)$.once("resume",Y);else Y();function Y(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};u8.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 I=xq.resolve($._path,$.entries[$._index]);vG0(I!==$._path),vG0($.entries[$._index]),$._currentEntry=I,CG0[$.props.follow?"stat":"lstat"](I,function(U,Y){if(U)return $.error(U);var J=$._proxy||$;Y.path=I,Y.basename=xq.basename(I),Y.dirname=xq.dirname(I);var Q=$.getChildProps.call(J,Y);Q.path=I,Q.basename=xq.basename(I),Q.dirname=xq.dirname(I);var K=$y(Q,Y);$._currentEntry=K,K.on("pause",function(H){if(!$._paused&&!K._disowned)$.pause(H)}),K.on("resume",function(H){if($._paused&&!K._disowned)$.resume(H)}),K.on("stat",function(H){if($.emit("_entryStat",K,H),K._aborted)return;if(K._paused)K.once("resume",function(){$.emit("entryStat",K,H)});else $.emit("entryStat",K,H)}),K.on("ready",function H(){if($._paused)return K.pause($),$.once("resume",H);if(K.type==="Socket")$.emit("socket",K);else $.emitEntry(K)});var q=!1;K.on("close",G),K.on("disown",G);function G(){if(q)return;if(q=!0,$.emit("childEnd",K),$.emit("entryEnd",K),$._currentEntry=null,!$._paused)$._read()}K.on("error",function(H){if(K._swallowErrors)$.warn(H),K.emit("end"),K.emit("close");else $.emit("error",H)}),["child","childEnd","warn"].forEach(function(H){K.on(H,$.emit.bind($,H))})})};u8.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};u8.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}};u8.prototype.pause=function($){var I=this;if(I._paused)return;if($=$||I,I._paused=!0,I._currentEntry&&I._currentEntry.pause)I._currentEntry.pause($);I.emit("pause",$)};u8.prototype.resume=function($){var I=this;if(!I._paused)return;if($=$||I,I._paused=!1,I.emit("resume",$),I._paused)return;if(I._currentEntry){if(I._currentEntry.resume)I._currentEntry.resume($)}else I._read()};u8.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var Uy=O((JC1,yG0)=>{yG0.exports=c3;var QY1=m6(),KY1=p0(),_G0=p3(),SG0={EOF:!0},gG0={CLOSE:!0};KY1(c3,_G0);function c3($){var I=this;if(!(I instanceof c3))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);I._buffer=[],I._bytesEmitted=0,_G0.call(I,$)}c3.prototype._getStream=function(){var $=this,I=$._stream=QY1.createReadStream($._path,$.props);if($.props.blksize)I.bufferSize=$.props.blksize;I.on("open",$.emit.bind($,"open")),I.on("data",function(U){if($._bytesEmitted+=U.length,!U.length)return;else if($._paused||$._buffer.length)$._buffer.push(U),$._read();else $.emit("data",U)}),I.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(SG0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count
expect: `+$.props.size+`
actual: `+$._bytesEmitted)}),I.on("close",function(){if($._paused||$._buffer.length)$._buffer.push(gG0),$._read();else $.emit("close")}),I.on("error",function(U){$.emit("error",U)}),$._read()};c3.prototype._read=function(){var $=this;if($._paused)return;if(!$._stream)return $._getStream();if($._buffer.length){var I=$._buffer;for(var U=0,Y=I.length;U<Y;U++){var J=I[U];if(J===SG0)$.emit("end");else if(J===gG0)$.emit("close");else $.emit("data",J);if($._paused){$._buffer=I.slice(U);return}}$._buffer.length=0}};c3.prototype.pause=function($){var I=this;if(I._paused)return;if($=$||I,I._paused=!0,I._stream)I._stream.pause();I.emit("pause",$)};c3.prototype.resume=function($){var I=this;if(!I._paused)return;if($=$||I,I.emit("resume",$),I._paused=!1,I._stream)I._stream.resume();I._read()}});var kG0=O((QC1,xG0)=>{xG0.exports=UL;var qY1=p0(),hG0=p3();qY1(UL,hG0);function UL($){var I=this;if(!(I instanceof UL))throw Error("SocketReader must be called as constructor.");if(!($.type==="Socket"&&$.Socket))throw Error("Non-socket type "+$.type);hG0.call(I,$)}UL.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var Jy=O((KC1,uG0)=>{uG0.exports=d3;var Yy=p3(),GY1=yq(),HY1=p0(),WY1=m6();HY1(d3,Yy);function d3($){var I=this;if(!(I instanceof d3))throw Error("ProxyReader must be called as constructor.");I.props=$,I._buffer=[],I.ready=!1,Yy.call(I,$)}d3.prototype._stat=function(){var $=this,I=$.props,U=I.follow?"stat":"lstat";WY1[U](I.path,function(Y,J){var Q;if(Y||!J)Q="File";else Q=GY1(J);I[Q]=!0,I.type=$.type=Q,$._old=J,$._addProxy(Yy(I,J))})};d3.prototype._addProxy=function($){var I=this;if(I._proxyTarget)return I.error("proxy already set");I._proxyTarget=$,$._proxy=I,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach(function(Y){$.on(Y,I.emit.bind(I,Y))}),I.emit("proxy",$),$.on("ready",function(){I.ready=!0,I.emit("ready")});var U=I._buffer;I._buffer.length=0,U.forEach(function(Y){$[Y[0]].apply($,Y[1])})};d3.prototype.pause=function(){return this._proxyTarget?this._proxyTarget.pause():!1};d3.prototype.resume=function(){return this._proxyTarget?this._proxyTarget.resume():!1}});var p3=O((qC1,iG0)=>{iG0.exports=J8;var VY1=m6(),ZY1=r("stream").Stream,zY1=p0(),Qy=r("path"),Ky=yq(),YL=J8.hardLinks={},fG0=IL();zY1(J8,fG0);var bG0=eg();function J8($,I){var U=this;if(!(U instanceof J8))return new J8($,I);if(typeof $==="string")$={path:$};var Y,J;if($.type&&typeof $.type==="function")Y=$.type,J=Y;else Y=Ky($),J=J8;if(I&&!Y)Y=Ky(I),$[Y]=!0,$.type=Y;switch(Y){case"Directory":J=Iy();break;case"Link":case"File":J=Uy();break;case"SymbolicLink":J=bG0;break;case"Socket":J=kG0();break;case null:J=Jy();break}if(!(U instanceof J))return new J($);if(fG0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.readable=!0,U.writable=!1,U.type=Y,U.props=$,U.depth=$.depth=$.depth||0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=Qy.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=$.basename=Qy.basename(U.path),U.dirname=$.dirname=Qy.dirname(U.path),$.parent=$.root=null,U.size=$.size,U.filter=typeof $.filter==="function"?$.filter:null,$.sort==="alpha")$.sort=XY1;U._stat(I)}function XY1($,I){return $===I?0:$.toLowerCase()>I.toLowerCase()?1:$.toLowerCase()<I.toLowerCase()?-1:$>I?1:-1}J8.prototype._stat=function($){var I=this,U=I.props,Y=U.follow?"stat":"lstat";if($)process.nextTick(J.bind(null,null,$));else VY1[Y](I._path,J);function J(Q,K){if(Q)return I.error(Q);if(Object.keys(K).forEach(function(Z){U[Z]=K[Z]}),I.size!==void 0&&U.size!==I.size)return I.error("incorrect size");I.size=U.size;var q=Ky(U),G=U.hardlinks!==!1;if(G&&q!=="Directory"&&U.nlink&&U.nlink>1){var H=U.dev+":"+U.ino;if(YL[H]===I._path||!YL[H])YL[H]=I._path;else q=I.type=I.props.type="Link",I.Link=I.props.Link=!0,I.linkpath=I.props.linkpath=YL[H],I._stat=I._read=bG0.prototype._read}if(I.type&&I.type!==q)I.error("Unexpected type: "+q);if(I.filter){var W=I._proxy||I;if(!I.filter.call(W,W,U)){if(!I._disowned)I.abort(),I.emit("end"),I.emit("close");return}}var V=["_stat","stat","ready"],z=0;(function Z(){if(I._aborted){I.emit("end"),I.emit("close");return}if(I._paused&&I.type!=="Directory"){I.once("resume",Z);return}var w=V[z++];if(!w)return I._read();I.emit(w,U),Z()})()}};J8.prototype.pipe=function($){var I=this;if(typeof $.add==="function")I.on("entry",function(U){var Y=$.add(U);if(Y===!1)I.pause()});return ZY1.prototype.pipe.apply(this,arguments)};J8.prototype.pause=function($){if(this._paused=!0,$=$||this,this.emit("pause",$),this._stream)this._stream.pause($)};J8.prototype.resume=function($){if(this._paused=!1,$=$||this,this.emit("resume",$),this._stream)this._stream.resume($);this._read()};J8.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}});var Wy=O((GC1,rG0)=>{rG0.exports=Hy;Hy.sync=oG0;var R1=r("assert"),dG0=r("path"),nG0=r("fs"),QJ=void 0;try{QJ=eK()}catch($){}var mG0=parseInt("666",8),wY1={nosort:!0,silent:!0},qy=0,kq=process.platform==="win32";function lG0($){var I=["unlink","chmod","stat","lstat","rmdir","readdir"];if(I.forEach(function(U){$[U]=$[U]||nG0[U],U=U+"Sync",$[U]=$[U]||nG0[U]}),$.maxBusyTries=$.maxBusyTries||3,$.emfileWait=$.emfileWait||1000,$.glob===!1)$.disableGlob=!0;if($.disableGlob!==!0&&QJ===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");$.disableGlob=$.disableGlob||!1,$.glob=$.glob||wY1}function Hy($,I,U){if(typeof I==="function")U=I,I={};R1($,"rimraf: missing path"),R1.equal(typeof $,"string","rimraf: path should be a string"),R1.equal(typeof U,"function","rimraf: callback function required"),R1(I,"rimraf: invalid options argument provided"),R1.equal(typeof I,"object","rimraf: options should be object"),lG0(I);var Y=0,J=null,Q=0;if(I.disableGlob||!QJ.hasMagic($))return q(null,[$]);I.lstat($,function(G,H){if(!G)return q(null,[$]);QJ($,I.glob,q)});function K(G){if(J=J||G,--Q===0)U(J)}function q(G,H){if(G)return U(G);if(Q=H.length,Q===0)return U();H.forEach(function(W){Gy(W,I,function V(z){if(z){if((z.code==="EBUSY"||z.code==="ENOTEMPTY"||z.code==="EPERM")&&Y<I.maxBusyTries){Y++;var Z=Y*100;return setTimeout(function(){Gy(W,I,V)},Z)}if(z.code==="EMFILE"&&qy<I.emfileWait)return setTimeout(function(){Gy(W,I,V)},qy++);if(z.code==="ENOENT")z=null}qy=0,K(z)})})}}function Gy($,I,U){R1($),R1(I),R1(typeof U==="function"),I.lstat($,function(Y,J){if(Y&&Y.code==="ENOENT")return U(null);if(Y&&Y.code==="EPERM"&&kq)pG0($,I,Y,U);if(J&&J.isDirectory())return JL($,I,Y,U);I.unlink($,function(Q){if(Q){if(Q.code==="ENOENT")return U(null);if(Q.code==="EPERM")return kq?pG0($,I,Q,U):JL($,I,Q,U);if(Q.code==="EISDIR")return JL($,I,Q,U)}return U(Q)})})}function pG0($,I,U,Y){if(R1($),R1(I),R1(typeof Y==="function"),U)R1(U instanceof Error);I.chmod($,mG0,function(J){if(J)Y(J.code==="ENOENT"?null:U);else I.stat($,function(Q,K){if(Q)Y(Q.code==="ENOENT"?null:U);else if(K.isDirectory())JL($,I,U,Y);else I.unlink($,Y)})})}function cG0($,I,U){if(R1($),R1(I),U)R1(U instanceof Error);try{I.chmodSync($,mG0)}catch(J){if(J.code==="ENOENT")return;else throw U}try{var Y=I.statSync($)}catch(J){if(J.code==="ENOENT")return;else throw U}if(Y.isDirectory())QL($,I,U);else I.unlinkSync($)}function JL($,I,U,Y){if(R1($),R1(I),U)R1(U instanceof Error);R1(typeof Y==="function"),I.rmdir($,function(J){if(J&&(J.code==="ENOTEMPTY"||J.code==="EEXIST"||J.code==="EPERM"))LY1($,I,Y);else if(J&&J.code==="ENOTDIR")Y(U);else Y(J)})}function LY1($,I,U){R1($),R1(I),R1(typeof U==="function"),I.readdir($,function(Y,J){if(Y)return U(Y);var Q=J.length;if(Q===0)return I.rmdir($,U);var K;J.forEach(function(q){Hy(dG0.join($,q),I,function(G){if(K)return;if(G)return U(K=G);if(--Q===0)I.rmdir($,U)})})})}function oG0($,I){I=I||{},lG0(I),R1($,"rimraf: missing path"),R1.equal(typeof $,"string","rimraf: path should be a string"),R1(I,"rimraf: missing options"),R1.equal(typeof I,"object","rimraf: options should be object");var U;if(I.disableGlob||!QJ.hasMagic($))U=[$];else try{I.lstatSync($),U=[$]}catch(Q){U=QJ.sync($,I.glob)}if(!U.length)return;for(var Y=0;Y<U.length;Y++){var $=U[Y];try{var J=I.lstatSync($)}catch(K){if(K.code==="ENOENT")return;if(K.code==="EPERM"&&kq)cG0($,I,K)}try{if(J&&J.isDirectory())QL($,I,null);else I.unlinkSync($)}catch(K){if(K.code==="ENOENT")return;if(K.code==="EPERM")return kq?cG0($,I,K):QL($,I,K);if(K.code!=="EISDIR")throw K;QL($,I,K)}}}function QL($,I,U){if(R1($),R1(I),U)R1(U instanceof Error);try{I.rmdirSync($)}catch(Y){if(Y.code==="ENOENT")return;if(Y.code==="ENOTDIR")throw U;if(Y.code==="ENOTEMPTY"||Y.code==="EEXIST"||Y.code==="EPERM")DY1($,I)}}function DY1($,I){R1($),R1(I),I.readdirSync($).forEach(function(K){oG0(dG0.join($,K),I)});var U=kq?100:1,Y=0;do{var J=!0;try{var Q=I.rmdirSync($,I);return J=!1,Q}finally{if(++Y<U&&J)continue}}while(!0)}});var uq=O((tG0)=>{Object.defineProperty(tG0,"__esModule",{value:!0});tG0.optsArg=void 0;var KL=r("fs"),OY1=($)=>{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 I=$,U=$.fs||{};return $.mkdir=$.mkdir||U.mkdir||KL.mkdir,$.mkdirAsync=$.mkdirAsync?$.mkdirAsync:async(Y,J)=>{return new Promise((Q,K)=>I.mkdir(Y,J,(q,G)=>q?K(q):Q(G)))},$.stat=$.stat||U.stat||KL.stat,$.statAsync=$.statAsync?$.statAsync:async(Y)=>new Promise((J,Q)=>I.stat(Y,(K,q)=>K?Q(K):J(q))),$.statSync=$.statSync||U.statSync||KL.statSync,$.mkdirSync=$.mkdirSync||U.mkdirSync||KL.mkdirSync,I};tG0.optsArg=OY1});var HL=O(($H0)=>{Object.defineProperty($H0,"__esModule",{value:!0});$H0.mkdirpManual=$H0.mkdirpManualSync=void 0;var sG0=r("path"),eG0=uq(),NY1=($,I,U)=>{let Y=(0,sG0.dirname)($),J={...(0,eG0.optsArg)(I),recursive:!1};if(Y===$)try{return J.mkdirSync($,J)}catch(Q){let K=Q;if(K&&K.code!=="EISDIR")throw Q;return}try{return J.mkdirSync($,J),U||$}catch(Q){let K=Q;if(K&&K.code==="ENOENT")return $H0.mkdirpManualSync($,J,$H0.mkdirpManualSync(Y,J,U));if(K&&K.code!=="EEXIST"&&K&&K.code!=="EROFS")throw Q;try{if(!J.statSync($).isDirectory())throw Q}catch(q){throw Q}}};$H0.mkdirpManualSync=NY1;$H0.mkdirpManual=Object.assign(async($,I,U)=>{let Y=(0,eG0.optsArg)(I);Y.recursive=!1;let J=(0,sG0.dirname)($);if(J===$)return Y.mkdirAsync($,Y).catch((Q)=>{let K=Q;if(K&&K.code!=="EISDIR")throw Q});return Y.mkdirAsync($,Y).then(()=>U||$,async(Q)=>{let K=Q;if(K&&K.code==="ENOENT")return $H0.mkdirpManual(J,Y).then((q)=>$H0.mkdirpManual($,Y,q));if(K&&K.code!=="EEXIST"&&K.code!=="EROFS")throw Q;return Y.statAsync($).then((q)=>{if(q.isDirectory())return U;else throw Q},()=>{throw Q})})},{sync:$H0.mkdirpManualSync})});var JH0=O((UH0)=>{Object.defineProperty(UH0,"__esModule",{value:!0});UH0.findMadeSync=UH0.findMade=void 0;var IH0=r("path"),FY1=async($,I,U)=>{if(U===I)return;return $.statAsync(I).then((Y)=>Y.isDirectory()?U:void 0,(Y)=>{let J=Y;return J&&J.code==="ENOENT"?UH0.findMade($,(0,IH0.dirname)(I),I):void 0})};UH0.findMade=FY1;var MY1=($,I,U)=>{if(U===I)return;try{return $.statSync(I).isDirectory()?U:void 0}catch(Y){let J=Y;return J&&J.code==="ENOENT"?UH0.findMadeSync($,(0,IH0.dirname)(I),I):void 0}};UH0.findMadeSync=MY1});var Zy=O((HH0)=>{Object.defineProperty(HH0,"__esModule",{value:!0});HH0.mkdirpNative=HH0.mkdirpNativeSync=void 0;var QH0=r("path"),KH0=JH0(),qH0=HL(),GH0=uq(),AY1=($,I)=>{let U=(0,GH0.optsArg)(I);if(U.recursive=!0,(0,QH0.dirname)($)===$)return U.mkdirSync($,U);let J=(0,KH0.findMadeSync)(U,$);try{return U.mkdirSync($,U),J}catch(Q){let K=Q;if(K&&K.code==="ENOENT")return(0,qH0.mkdirpManualSync)($,U);else throw Q}};HH0.mkdirpNativeSync=AY1;HH0.mkdirpNative=Object.assign(async($,I)=>{let U={...(0,GH0.optsArg)(I),recursive:!0};if((0,QH0.dirname)($)===$)return await U.mkdirAsync($,U);return(0,KH0.findMade)(U,$).then((J)=>U.mkdirAsync($,U).then((Q)=>J||Q).catch((Q)=>{let K=Q;if(K&&K.code==="ENOENT")return(0,qH0.mkdirpManual)($,U);else throw Q}))},{sync:HH0.mkdirpNativeSync})});var wH0=O((zH0)=>{Object.defineProperty(zH0,"__esModule",{value:!0});zH0.pathArg=void 0;var PY1=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,ZH0=r("path"),TY1=($)=>{if(/\0/.test($))throw Object.assign(TypeError("path must be a string without null bytes"),{path:$,code:"ERR_INVALID_ARG_VALUE"});if($=(0,ZH0.resolve)($),PY1==="win32"){let I=/[*|"<>?:]/,{root:U}=(0,ZH0.parse)($);if(I.test($.substring(U.length)))throw Object.assign(Error("Illegal characters in path."),{path:$,code:"EINVAL"})}return $};zH0.pathArg=TY1});var Xy=O((NH0)=>{Object.defineProperty(NH0,"__esModule",{value:!0});NH0.useNative=NH0.useNativeSync=void 0;var LH0=r("fs"),DH0=uq(),EY1=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,zy=EY1.replace(/^v/,"").split("."),OH0=+zy[0]>10||+zy[0]===10&&+zy[1]>=12;NH0.useNativeSync=!OH0?()=>!1:($)=>(0,DH0.optsArg)($).mkdirSync===LH0.mkdirSync;NH0.useNative=Object.assign(!OH0?()=>!1:($)=>(0,DH0.optsArg)($).mkdir===LH0.mkdir,{sync:NH0.useNativeSync})});var wy=O((q7)=>{Object.defineProperty(q7,"__esModule",{value:!0});q7.mkdirp=q7.nativeSync=q7.native=q7.manualSync=q7.manual=q7.sync=q7.mkdirpSync=q7.useNativeSync=q7.useNative=q7.mkdirpNativeSync=q7.mkdirpNative=q7.mkdirpManualSync=q7.mkdirpManual=void 0;var Q7=HL(),K7=Zy(),AH0=uq(),PH0=wH0(),WL=Xy(),TH0=HL();Object.defineProperty(q7,"mkdirpManual",{enumerable:!0,get:function(){return TH0.mkdirpManual}});Object.defineProperty(q7,"mkdirpManualSync",{enumerable:!0,get:function(){return TH0.mkdirpManualSync}});var EH0=Zy();Object.defineProperty(q7,"mkdirpNative",{enumerable:!0,get:function(){return EH0.mkdirpNative}});Object.defineProperty(q7,"mkdirpNativeSync",{enumerable:!0,get:function(){return EH0.mkdirpNativeSync}});var BH0=Xy();Object.defineProperty(q7,"useNative",{enumerable:!0,get:function(){return BH0.useNative}});Object.defineProperty(q7,"useNativeSync",{enumerable:!0,get:function(){return BH0.useNativeSync}});var BY1=($,I)=>{$=(0,PH0.pathArg)($);let U=(0,AH0.optsArg)(I);return(0,WL.useNativeSync)(U)?(0,K7.mkdirpNativeSync)($,U):(0,Q7.mkdirpManualSync)($,U)};q7.mkdirpSync=BY1;q7.sync=q7.mkdirpSync;q7.manual=Q7.mkdirpManual;q7.manualSync=Q7.mkdirpManualSync;q7.native=K7.mkdirpNative;q7.nativeSync=K7.mkdirpNativeSync;q7.mkdirp=Object.assign(async($,I)=>{$=(0,PH0.pathArg)($);let U=(0,AH0.optsArg)(I);return(0,WL.useNative)(U)?(0,K7.mkdirpNative)($,U):(0,Q7.mkdirpManual)($,U)},{mkdirpSync:q7.mkdirpSync,mkdirpNative:K7.mkdirpNative,mkdirpNativeSync:K7.mkdirpNativeSync,mkdirpManual:Q7.mkdirpManual,mkdirpManualSync:Q7.mkdirpManualSync,sync:q7.mkdirpSync,native:K7.mkdirpNative,nativeSync:K7.mkdirpNativeSync,manual:Q7.mkdirpManual,manualSync:Q7.mkdirpManualSync,useNative:WL.useNative,useNativeSync:WL.useNativeSync})});var ZL=O((AC1,vH0)=>{vH0.exports=Ly;function Ly($){if($._collected)return;if($._paused)return $.on("resume",Ly.bind(null,$));$._collected=!0,$.pause(),$.on("data",U),$.on("end",U);var I=[];function U(K){if(typeof K==="string")K=new Buffer(K);if(Buffer.isBuffer(K)&&!K.length)return;I.push(K)}$.on("entry",J);var Y=[];function J(K){Ly(K),Y.push(K)}$.on("proxy",Q);function Q(K){K.pause()}$.pipe=function(K){return function(q){var G=0;(function W(){var V=Y[G++];if(!V)return H();if(V.on("end",W),q)q.add(V);else $.emit("entry",V)})();function H(){if($.removeListener("entry",J),$.removeListener("data",U),$.removeListener("end",U),$.pipe=K,q)$.pipe(q);I.forEach(function(W){if(W)$.emit("data",W);else $.emit("end")}),$.resume()}return q}}($.pipe)}});var Dy=O((PC1,jH0)=>{jH0.exports=G7;var zL=KJ(),SY1=p0(),gY1=wy(),CH0=r("path"),yY1=ZL();SY1(G7,zL);function G7($){var I=this;if(!(I instanceof G7))I.error("DirWriter must be called as constructor.",null,!0);if($.type!=="Directory"||!$.Directory)I.error("Non-directory type "+$.type+" "+JSON.stringify($),null,!0);zL.call(this,$)}G7.prototype._create=function(){var $=this;gY1($._path,zL.dirmode,function(I){if(I)return $.error(I);$.ready=!0,$.emit("ready"),$._process()})};G7.prototype.write=function(){return!0};G7.prototype.end=function(){this._ended=!0,this._process()};G7.prototype.add=function($){var I=this;if(yY1($),!I.ready||I._currentEntry)return I._buffer.push($),!1;if(I._ended)return I.error("add after end");return I._buffer.push($),I._process(),this._buffer.length===0};G7.prototype._process=function(){var $=this;if($._processing)return;var I=$._buffer.shift();if(!I){if($.emit("drain"),$._ended)$._finish();return}$._processing=!0,$.emit("entry",I);var U=I,Y;do{if(Y=U._path||U.path,Y===$.root._path||Y===$._path||Y&&Y.indexOf($._path)===0){if($._processing=!1,I._collected)I.pipe();return $._process()}U=U.parent}while(U);var J={parent:$,root:$.root||$,type:I.type,depth:$.depth+1};if(Y=I._path||I.path||I.props.path,I.parent)Y=Y.substr(I.parent._path.length+1);J.path=CH0.join($.path,CH0.join("/",Y)),J.filter=$.filter,Object.keys(I.props).forEach(function(G){if(!J.hasOwnProperty(G))J[G]=I.props[G]});var Q=$._currentChild=new zL(J);Q.on("ready",function(){I.pipe(Q),I.resume()}),Q.on("error",function(G){if(Q._swallowErrors)$.warn(G),Q.emit("end"),Q.emit("close");else $.emit("error",G)}),Q.on("close",q);var K=!1;function q(){if(K)return;K=!0,$._currentChild=null,$._processing=!1,$._process()}}});var Oy=O((TC1,hH0)=>{hH0.exports=fq;var SH0=m6(),gH0=KJ(),hY1=p0(),xY1=r("path"),kY1=Wy();hY1(fq,gH0);function fq($){var I=this;if(!(I instanceof fq))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)I.error("Need linkpath property to create "+$.type);gH0.call(this,$)}fq.prototype._create=function(){var $=this,I=$.type==="Link"||process.platform==="win32",U=I?"link":"symlink",Y=I?xY1.resolve($.dirname,$.linkpath):$.linkpath;if(I)return _H0($,Y,U);SH0.readlink($._path,function(J,Q){if(Q&&Q===Y)return yH0($);_H0($,Y,U)})};function _H0($,I,U){kY1($._path,function(Y){if(Y)return $.error(Y);uY1($,I,U)})}function uY1($,I,U){SH0[U](I,$._path,function(Y){if(Y)if((Y.code==="ENOENT"||Y.code==="EACCES"||Y.code==="EPERM")&&process.platform==="win32")$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};else return $.error(Y);yH0($)})}function yH0($){if($.ready=!0,$.emit("ready"),$._ended&&!$._finished)$._finish()}fq.prototype.end=function(){if(this._ended=!0,this.ready)this._finished=!0,this._finish()}});var Ny=O((EC1,kH0)=>{kH0.exports=m3;var fY1=m6(),XL=KJ(),bY1=p0(),xH0={};bY1(m3,XL);function m3($){var I=this;if(!(I instanceof m3))throw Error("FileWriter must be called as constructor.");if($.type!=="File"||!$.File)throw Error("Non-file type "+$.type);I._buffer=[],I._bytesWritten=0,XL.call(this,$)}m3.prototype._create=function(){var $=this;if($._stream)return;var I={};if($.props.flags)I.flags=$.props.flags;if(I.mode=XL.filemode,$._old&&$._old.blksize)I.bufferSize=$._old.blksize;$._stream=fY1.createWriteStream($._path,I),$._stream.on("open",function(){$.ready=!0,$._buffer.forEach(function(U){if(U===xH0)$._stream.end();else $._stream.write(U)}),$.emit("ready"),$.emit("drain")}),$._stream.on("error",function(U){$.emit("error",U)}),$._stream.on("drain",function(){$.emit("drain")}),$._stream.on("close",function(){$._finish()})};m3.prototype.write=function($){var I=this;if(I._bytesWritten+=$.length,!I.ready){if(!Buffer.isBuffer($)&&typeof $!=="string")throw Error("invalid write data");return I._buffer.push($),!1}var U=I._stream.write($);if(U===!1&&I._stream._queue)return I._stream._queue.length<=2;else return U};m3.prototype.end=function($){var I=this;if($)I.write($);if(!I.ready)return I._buffer.push(xH0),!1;return I._stream.end()};m3.prototype._finish=function(){var $=this;if(typeof $.size==="number"&&$._bytesWritten!==$.size)$.error(`Did not get expected byte count.
expect: `+$.size+`
actual: `+$._bytesWritten);XL.prototype._finish.call($)}});var My=O((BC1,uH0)=>{uH0.exports=H7;var Fy=KJ(),iY1=yq(),nY1=p0(),pY1=ZL(),cY1=r("fs");nY1(H7,Fy);function H7($){var I=this;if(!(I instanceof H7))throw Error("ProxyWriter must be called as constructor.");I.props=$,I._needDrain=!1,Fy.call(I,$)}H7.prototype._stat=function(){var $=this,I=$.props,U=I.follow?"stat":"lstat";cY1[U](I.path,function(Y,J){var Q;if(Y||!J)Q="File";else Q=iY1(J);I[Q]=!0,I.type=$.type=Q,$._old=J,$._addProxy(Fy(I,J))})};H7.prototype._addProxy=function($){var I=this;if(I._proxy)return I.error("proxy already set");I._proxy=$,["ready","error","close","pipe","drain","warn"].forEach(function(Y){$.on(Y,I.emit.bind(I,Y))}),I.emit("proxy",$);var U=I._buffer;if(U.forEach(function(Y){$[Y[0]].apply($,Y[1])}),I._buffer.length=0,I._needsDrain)I.emit("drain")};H7.prototype.add=function($){if(pY1($),!this._proxy)return this._buffer.push(["add",[$]]),this._needDrain=!0,!1;return this._proxy.add($)};H7.prototype.write=function($){if(!this._proxy)return this._buffer.push(["write",[$]]),this._needDrain=!0,!1;return this._proxy.write($)};H7.prototype.end=function($){if(!this._proxy)return this._buffer.push(["end",[$]]),!1;return this._proxy.end($)}});var KJ=O((RC1,lH0)=>{lH0.exports=_$;var j$=m6(),dY1=p0(),mY1=Wy(),lY1=wy(),bq=r("path"),bH0=process.platform==="win32"?0:process.umask(),iH0=yq(),nH0=IL();dY1(_$,nH0);_$.dirmode=parseInt("0777",8)&~bH0;_$.filemode=parseInt("0666",8)&~bH0;var oY1=Dy(),rY1=Oy(),tY1=Ny(),aY1=My();function _$($,I){var U=this;if(typeof $==="string")$={path:$};var Y=iH0($),J=_$;switch(Y){case"Directory":J=oY1;break;case"File":J=tY1;break;case"Link":case"SymbolicLink":J=rY1;break;case null:default:J=aY1;break}if(!(U instanceof J))return new J($);if(nH0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.type=$.type,U.props=$,U.depth=$.depth||0,U.clobber=$.clobber===!1?$.clobber:!0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=bq.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=bq.basename($.path),U.dirname=bq.dirname($.path),U.linkpath=$.linkpath||null,$.parent=$.root=null,U.size=$.size,typeof $.mode==="string")$.mode=parseInt($.mode,8);U.readable=!1,U.writable=!0,U._buffer=[],U.ready=!1,U.filter=typeof $.filter==="function"?$.filter:null,U._stat(I)}_$.prototype._create=function(){var $=this;j$[$.props.follow?"stat":"lstat"]($._path,function(I){if(I)return $.warn("Cannot create "+$._path+`
Unsupported type: `+$.type,"ENOTSUP");$._finish()})};_$.prototype._stat=function($){var I=this,U=I.props,Y=U.follow?"stat":"lstat",J=I._proxy||I;if($)Q(null,$);else j$[Y](I._path,Q);function Q(K,q){if(I.filter&&!I.filter.call(J,J,q)){I._aborted=!0,I.emit("end"),I.emit("close");return}if(K||!q)return Ay(I);I._old=q;var G=iH0(q);if(G!==I.type||I.type==="File"&&q.nlink>1)return mY1(I._path,function(H){if(H)return I.error(H);I._old=null,Ay(I)});Ay(I)}};function Ay($){lY1(bq.dirname($._path),_$.dirmode,function(I,U){if(I)return $.error(I);return $._madeDir=U,$._create()})}function pH0($,I,U,Y,J){var Q=I.mode,K=I.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!j$[K])return J();if(typeof Q!=="number")return J();var q=U.mode&parseInt("0777",8);if(Q=Q&parseInt("0777",8),Q===q)return J();j$[K](Y,Q,J)}function cH0($,I,U,Y,J){if(process.platform==="win32")return J();if(!process.getuid||process.getuid()!==0)return J();if(typeof I.uid!=="number"&&typeof I.gid!=="number")return J();if(U.uid===I.uid&&U.gid===I.gid)return J();var Q=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!j$[Q])return J();if(typeof I.uid!=="number")I.uid=U.uid;if(typeof I.gid!=="number")I.gid=U.gid;j$[Q](Y,I.uid,I.gid,J)}function dH0($,I,U,Y,J){if(!j$.utimes||process.platform==="win32")return J();var Q=I.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(Q==="lutimes"&&!j$[Q])Q="utimes";if(!j$[Q])return J();var{atime:K,mtime:q}=U,G=I.atime,H=I.mtime;if(G===void 0)G=K;if(H===void 0)H=q;if(!fH0(G))G=new Date(G);if(!fH0(H))G=new Date(H);if(G.getTime()===K.getTime()&&H.getTime()===q.getTime())return J();j$[Q](Y,G,H,J)}_$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var I=0,U=null,Y=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),Q($._old);else{var J=$.props.follow?"stat":"lstat";j$[J]($._path,function(q,G){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);Q($._old=G)})}return;function Q(q){I+=3,pH0($,$.props,q,$._path,K("chmod")),cH0($,$.props,q,$._path,K("chown")),dH0($,$.props,q,$._path,K("utimes"))}function K(q){return function(G){if(U)return;if(G)return G.fstream_finish_call=q,$.error(U=G);if(--I>0)return;if(Y)return;if(Y=!0,!$._madeDir)return H();else mH0($,$._path,H);function H(W){if(W)return W.fstream_finish_call="setupMadeDir",$.error(W);$.emit("end"),$.emit("close")}}}};function mH0($,I,U){var Y=$._madeDir,J=bq.dirname(I);sY1($,J,function(Q){if(Q)return U(Q);if(J===Y)return U();mH0($,J,U)})}function sY1($,I,U){var Y={};Object.keys($.props).forEach(function(q){if(Y[q]=$.props[q],q==="mode"&&$.type!=="Directory")Y[q]=Y[q]|parseInt("0111",8)});var J=3,Q=null;j$.stat(I,function(q,G){if(q)return U(Q=q);pH0($,Y,G,I,K),cH0($,Y,G,I,K),dH0($,Y,G,I,K)});function K(q){if(Q)return;if(q)return U(Q=q);if(--J===0)return U()}}_$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};_$.prototype.add=function(){this.error("Can't add to non-Directory type")};_$.prototype.write=function(){return!0};function eY1($){return Object.prototype.toString.call($)}function fH0($){return typeof $==="object"&&eY1($)==="[object Date]"}});var Ry=O(($J1)=>{$J1.Abstract=IL();$J1.Reader=p3();$J1.Writer=KJ();$J1.File={Reader:Uy(),Writer:Ny()};$J1.Dir={Reader:Iy(),Writer:Dy()};$J1.Link={Reader:eg(),Writer:Oy()};$J1.Proxy={Reader:Jy(),Writer:My()};$J1.Reader.Dir=$J1.DirReader=$J1.Dir.Reader;$J1.Reader.File=$J1.FileReader=$J1.File.Reader;$J1.Reader.Link=$J1.LinkReader=$J1.Link.Reader;$J1.Reader.Proxy=$J1.ProxyReader=$J1.Proxy.Reader;$J1.Writer.Dir=$J1.DirWriter=$J1.Dir.Writer;$J1.Writer.File=$J1.FileWriter=$J1.File.Writer;$J1.Writer.Link=$J1.LinkWriter=$J1.Link.Writer;$J1.Writer.Proxy=$J1.ProxyWriter=$J1.Proxy.Writer;$J1.collect=ZL()});var rH0=O((kC1,oH0)=>{oH0.exports=GJ1;var YJ1=mw(),JJ1=Ry().Writer,vy=r("path"),QJ1=r("stream"),KJ1=tg(),qJ1=U7();function GJ1($){$.path=vy.resolve(vy.normalize($.path));var I=new YJ1($),U=new QJ1.Writable({objectMode:!0});U._write=function(J,Q,K){if(J.type=="Directory")return K();var q=vy.join($.path,J.path);if(q.indexOf($.path)!=0)return K();let G=$.getWriter?$.getWriter({path:q}):JJ1({path:q});J.pipe(G).on("error",K).on("close",K)};var Y=KJ1(I,U);return I.once("crx-header",function(J){Y.crxHeader=J}),I.pipe(U).on("finish",function(){Y.emit("close")}),Y.promise=function(){return new qJ1(function(J,Q){Y.on("close",J),Y.on("error",Q)})},Y}});var tH0=O((uC1,wL)=>{var h4=function($){var I=1e7,U=7,Y=9007199254740992,J=z(Y),Q="0123456789abcdefghijklmnopqrstuvwxyz",K=typeof BigInt==="function";function q(F,M,j,x){if(typeof F>"u")return q[0];if(typeof M<"u")return+M===10&&!j?T0(F):k$(F,M,j,x);return T0(F)}function G(F,M){this.value=F,this.sign=M,this.isSmall=!1}G.prototype=Object.create(q.prototype);function H(F){this.value=F,this.sign=F<0,this.isSmall=!0}H.prototype=Object.create(q.prototype);function W(F){this.value=F}W.prototype=Object.create(q.prototype);function V(F){return-Y<F&&F<Y}function z(F){if(F<1e7)return[F];if(F<100000000000000)return[F%1e7,Math.floor(F/1e7)];return[F%1e7,Math.floor(F/1e7)%1e7,Math.floor(F/100000000000000)]}function Z(F){w(F);var M=F.length;if(M<4&&d(F,J)<0)switch(M){case 0:return 0;case 1:return F[0];case 2:return F[0]+F[1]*I;default:return F[0]+(F[1]+F[2]*I)*I}return F}function w(F){var M=F.length;while(F[--M]===0);F.length=M+1}function L(F){var M=Array(F),j=-1;while(++j<F)M[j]=0;return M}function D(F){if(F>0)return Math.floor(F);return Math.ceil(F)}function N(F,M){var j=F.length,x=M.length,s=Array(j),m=0,e=I,J0,H0;for(H0=0;H0<x;H0++)J0=F[H0]+M[H0]+m,m=J0>=e?1:0,s[H0]=J0-m*e;while(H0<j)J0=F[H0]+m,m=J0===e?1:0,s[H0++]=J0-m*e;if(m>0)s.push(m);return s}function E(F,M){if(F.length>=M.length)return N(F,M);return N(M,F)}function T(F,M){var j=F.length,x=Array(j),s=I,m,e;for(e=0;e<j;e++)m=F[e]-s+M,M=Math.floor(m/s),x[e]=m-M*s,M+=1;while(M>0)x[e++]=M%s,M=Math.floor(M/s);return x}G.prototype.add=function(F){var M=T0(F);if(this.sign!==M.sign)return this.subtract(M.negate());var j=this.value,x=M.value;if(M.isSmall)return new G(T(j,Math.abs(x)),this.sign);return new G(E(j,x),this.sign)},G.prototype.plus=G.prototype.add,H.prototype.add=function(F){var M=T0(F),j=this.value;if(j<0!==M.sign)return this.subtract(M.negate());var x=M.value;if(M.isSmall){if(V(j+x))return new H(j+x);x=z(Math.abs(x))}return new G(T(x,Math.abs(j)),j<0)},H.prototype.plus=H.prototype.add,W.prototype.add=function(F){return new W(this.value+T0(F).value)},W.prototype.plus=W.prototype.add;function A(F,M){var j=F.length,x=M.length,s=Array(j),m=0,e=I,J0,H0;for(J0=0;J0<x;J0++){if(H0=F[J0]-m-M[J0],H0<0)H0+=e,m=1;else m=0;s[J0]=H0}for(J0=x;J0<j;J0++){if(H0=F[J0]-m,H0<0)H0+=e;else{s[J0++]=H0;break}s[J0]=H0}for(;J0<j;J0++)s[J0]=F[J0];return w(s),s}function v(F,M,j){var x;if(d(F,M)>=0)x=A(F,M);else x=A(M,F),j=!j;if(x=Z(x),typeof x==="number"){if(j)x=-x;return new H(x)}return new G(x,j)}function u(F,M,j){var x=F.length,s=Array(x),m=-M,e=I,J0,H0;for(J0=0;J0<x;J0++)H0=F[J0]+m,m=Math.floor(H0/e),H0%=e,s[J0]=H0<0?H0+e:H0;if(s=Z(s),typeof s==="number"){if(j)s=-s;return new H(s)}return new G(s,j)}G.prototype.subtract=function(F){var M=T0(F);if(this.sign!==M.sign)return this.add(M.negate());var j=this.value,x=M.value;if(M.isSmall)return u(j,Math.abs(x),this.sign);return v(j,x,this.sign)},G.prototype.minus=G.prototype.subtract,H.prototype.subtract=function(F){var M=T0(F),j=this.value;if(j<0!==M.sign)return this.add(M.negate());var x=M.value;if(M.isSmall)return new H(j-x);return u(x,Math.abs(j),j>=0)},H.prototype.minus=H.prototype.subtract,W.prototype.subtract=function(F){return new W(this.value-T0(F).value)},W.prototype.minus=W.prototype.subtract,G.prototype.negate=function(){return new G(this.value,!this.sign)},H.prototype.negate=function(){var F=this.sign,M=new H(-this.value);return M.sign=!F,M},W.prototype.negate=function(){return new W(-this.value)},G.prototype.abs=function(){return new G(this.value,!1)},H.prototype.abs=function(){return new H(Math.abs(this.value))},W.prototype.abs=function(){return new W(this.value>=0?this.value:-this.value)};function g(F,M){var j=F.length,x=M.length,s=j+x,m=L(s),e=I,J0,H0,v0,b0,k0;for(v0=0;v0<j;++v0){b0=F[v0];for(var J1=0;J1<x;++J1)k0=M[J1],J0=b0*k0+m[v0+J1],H0=Math.floor(J0/e),m[v0+J1]=J0-H0*e,m[v0+J1+1]+=H0}return w(m),m}function b(F,M){var j=F.length,x=Array(j),s=I,m=0,e,J0;for(J0=0;J0<j;J0++)e=F[J0]*M+m,m=Math.floor(e/s),x[J0]=e-m*s;while(m>0)x[J0++]=m%s,m=Math.floor(m/s);return x}function C(F,M){var j=[];while(M-- >0)j.push(0);return j.concat(F)}function p(F,M){var j=Math.max(F.length,M.length);if(j<=30)return g(F,M);j=Math.ceil(j/2);var x=F.slice(j),s=F.slice(0,j),m=M.slice(j),e=M.slice(0,j),J0=p(s,e),H0=p(x,m),v0=p(E(s,x),E(e,m)),b0=E(E(J0,C(A(A(v0,J0),H0),j)),C(H0,2*j));return w(b0),b0}function n(F,M){return-0.012*F-0.012*M+0.000015*F*M>0}G.prototype.multiply=function(F){var M=T0(F),j=this.value,x=M.value,s=this.sign!==M.sign,m;if(M.isSmall){if(x===0)return q[0];if(x===1)return this;if(x===-1)return this.negate();if(m=Math.abs(x),m<I)return new G(b(j,m),s);x=z(m)}if(n(j.length,x.length))return new G(p(j,x),s);return new G(g(j,x),s)},G.prototype.times=G.prototype.multiply;function S(F,M,j){if(F<I)return new G(b(M,F),j);return new G(g(M,z(F)),j)}H.prototype._multiplyBySmall=function(F){if(V(F.value*this.value))return new H(F.value*this.value);return S(Math.abs(F.value),z(Math.abs(this.value)),this.sign!==F.sign)},G.prototype._multiplyBySmall=function(F){if(F.value===0)return q[0];if(F.value===1)return this;if(F.value===-1)return this.negate();return S(Math.abs(F.value),this.value,this.sign!==F.sign)},H.prototype.multiply=function(F){return T0(F)._multiplyBySmall(this)},H.prototype.times=H.prototype.multiply,W.prototype.multiply=function(F){return new W(this.value*T0(F).value)},W.prototype.times=W.prototype.multiply;function f(F){var M=F.length,j=L(M+M),x=I,s,m,e,J0,H0;for(e=0;e<M;e++){J0=F[e],m=0-J0*J0;for(var v0=e;v0<M;v0++)H0=F[v0],s=2*(J0*H0)+j[e+v0]+m,m=Math.floor(s/x),j[e+v0]=s-m*x;j[e+M]=m}return w(j),j}G.prototype.square=function(){return new G(f(this.value),!1)},H.prototype.square=function(){var F=this.value*this.value;if(V(F))return new H(F);return new G(f(z(Math.abs(this.value))),!1)},W.prototype.square=function(F){return new W(this.value*this.value)};function i(F,M){var j=F.length,x=M.length,s=I,m=L(M.length),e=M[x-1],J0=Math.ceil(s/(2*e)),H0=b(F,J0),v0=b(M,J0),b0,k0,J1,K4,V6,c5,EJ;if(H0.length<=j)H0.push(0);v0.push(0),e=v0[x-1];for(k0=j-x;k0>=0;k0--){if(b0=s-1,H0[k0+x]!==e)b0=Math.floor((H0[k0+x]*s+H0[k0+x-1])/e);J1=0,K4=0,c5=v0.length;for(V6=0;V6<c5;V6++)if(J1+=b0*v0[V6],EJ=Math.floor(J1/s),K4+=H0[k0+V6]-(J1-EJ*s),J1=EJ,K4<0)H0[k0+V6]=K4+s,K4=-1;else H0[k0+V6]=K4,K4=0;while(K4!==0){b0-=1,J1=0;for(V6=0;V6<c5;V6++)if(J1+=H0[k0+V6]-s+v0[V6],J1<0)H0[k0+V6]=J1+s,J1=0;else H0[k0+V6]=J1,J1=1;K4+=J1}m[k0]=b0}return H0=B(H0,J0)[0],[Z(m),Z(H0)]}function Y0(F,M){var j=F.length,x=M.length,s=[],m=[],e=I,J0,H0,v0,b0,k0;while(j){if(m.unshift(F[--j]),w(m),d(m,M)<0){s.push(0);continue}if(H0=m.length,v0=m[H0-1]*e+m[H0-2],b0=M[x-1]*e+M[x-2],H0>x)v0=(v0+1)*e;J0=Math.ceil(v0/b0);do{if(k0=b(M,J0),d(k0,m)<=0)break;J0--}while(J0);s.push(J0),m=A(m,k0)}return s.reverse(),[Z(s),Z(m)]}function B(F,M){var j=F.length,x=L(j),s=I,m,e,J0,H0;J0=0;for(m=j-1;m>=0;--m)H0=J0*s+F[m],e=D(H0/M),J0=H0-e*M,x[m]=e|0;return[x,J0|0]}function k(F,M){var j,x=T0(M);if(K)return[new W(F.value/x.value),new W(F.value%x.value)];var s=F.value,m=x.value,e;if(m===0)throw Error("Cannot divide by zero");if(F.isSmall){if(x.isSmall)return[new H(D(s/m)),new H(s%m)];return[q[0],F]}if(x.isSmall){if(m===1)return[F,q[0]];if(m==-1)return[F.negate(),q[0]];var J0=Math.abs(m);if(J0<I){j=B(s,J0),e=Z(j[0]);var H0=j[1];if(F.sign)H0=-H0;if(typeof e==="number"){if(F.sign!==x.sign)e=-e;return[new H(e),new H(H0)]}return[new G(e,F.sign!==x.sign),new H(H0)]}m=z(J0)}var v0=d(s,m);if(v0===-1)return[q[0],F];if(v0===0)return[q[F.sign===x.sign?1:-1],q[0]];if(s.length+m.length<=200)j=i(s,m);else j=Y0(s,m);e=j[0];var b0=F.sign!==x.sign,k0=j[1],J1=F.sign;if(typeof e==="number"){if(b0)e=-e;e=new H(e)}else e=new G(e,b0);if(typeof k0==="number"){if(J1)k0=-k0;k0=new H(k0)}else k0=new G(k0,J1);return[e,k0]}G.prototype.divmod=function(F){var M=k(this,F);return{quotient:M[0],remainder:M[1]}},W.prototype.divmod=H.prototype.divmod=G.prototype.divmod,G.prototype.divide=function(F){return k(this,F)[0]},W.prototype.over=W.prototype.divide=function(F){return new W(this.value/T0(F).value)},H.prototype.over=H.prototype.divide=G.prototype.over=G.prototype.divide,G.prototype.mod=function(F){return k(this,F)[1]},W.prototype.mod=W.prototype.remainder=function(F){return new W(this.value%T0(F).value)},H.prototype.remainder=H.prototype.mod=G.prototype.remainder=G.prototype.mod,G.prototype.pow=function(F){var M=T0(F),j=this.value,x=M.value,s,m,e;if(x===0)return q[1];if(j===0)return q[0];if(j===1)return q[1];if(j===-1)return M.isEven()?q[1]:q[-1];if(M.sign)return q[0];if(!M.isSmall)throw Error("The exponent "+M.toString()+" is too large.");if(this.isSmall){if(V(s=Math.pow(j,x)))return new H(D(s))}m=this,e=q[1];while(!0){if(x&!0)e=e.times(m),--x;if(x===0)break;x/=2,m=m.square()}return e},H.prototype.pow=G.prototype.pow,W.prototype.pow=function(F){var M=T0(F),j=this.value,x=M.value,s=BigInt(0),m=BigInt(1),e=BigInt(2);if(x===s)return q[1];if(j===s)return q[0];if(j===m)return q[1];if(j===BigInt(-1))return M.isEven()?q[1]:q[-1];if(M.isNegative())return new W(s);var J0=this,H0=q[1];while(!0){if((x&m)===m)H0=H0.times(J0),--x;if(x===s)break;x/=e,J0=J0.square()}return H0},G.prototype.modPow=function(F,M){if(F=T0(F),M=T0(M),M.isZero())throw Error("Cannot take modPow with modulus 0");var j=q[1],x=this.mod(M);if(F.isNegative())F=F.multiply(q[-1]),x=x.modInv(M);while(F.isPositive()){if(x.isZero())return q[0];if(F.isOdd())j=j.multiply(x).mod(M);F=F.divide(2),x=x.square().mod(M)}return j},W.prototype.modPow=H.prototype.modPow=G.prototype.modPow;function d(F,M){if(F.length!==M.length)return F.length>M.length?1:-1;for(var j=F.length-1;j>=0;j--)if(F[j]!==M[j])return F[j]>M[j]?1:-1;return 0}G.prototype.compareAbs=function(F){var M=T0(F),j=this.value,x=M.value;if(M.isSmall)return 1;return d(j,x)},H.prototype.compareAbs=function(F){var M=T0(F),j=Math.abs(this.value),x=M.value;if(M.isSmall)return x=Math.abs(x),j===x?0:j>x?1:-1;return-1},W.prototype.compareAbs=function(F){var M=this.value,j=T0(F).value;return M=M>=0?M:-M,j=j>=0?j:-j,M===j?0:M>j?1:-1},G.prototype.compare=function(F){if(F===1/0)return-1;if(F===-1/0)return 1;var M=T0(F),j=this.value,x=M.value;if(this.sign!==M.sign)return M.sign?1:-1;if(M.isSmall)return this.sign?-1:1;return d(j,x)*(this.sign?-1:1)},G.prototype.compareTo=G.prototype.compare,H.prototype.compare=function(F){if(F===1/0)return-1;if(F===-1/0)return 1;var M=T0(F),j=this.value,x=M.value;if(M.isSmall)return j==x?0:j>x?1:-1;if(j<0!==M.sign)return j<0?-1:1;return j<0?1:-1},H.prototype.compareTo=H.prototype.compare,W.prototype.compare=function(F){if(F===1/0)return-1;if(F===-1/0)return 1;var M=this.value,j=T0(F).value;return M===j?0:M>j?1:-1},W.prototype.compareTo=W.prototype.compare,G.prototype.equals=function(F){return this.compare(F)===0},W.prototype.eq=W.prototype.equals=H.prototype.eq=H.prototype.equals=G.prototype.eq=G.prototype.equals,G.prototype.notEquals=function(F){return this.compare(F)!==0},W.prototype.neq=W.prototype.notEquals=H.prototype.neq=H.prototype.notEquals=G.prototype.neq=G.prototype.notEquals,G.prototype.greater=function(F){return this.compare(F)>0},W.prototype.gt=W.prototype.greater=H.prototype.gt=H.prototype.greater=G.prototype.gt=G.prototype.greater,G.prototype.lesser=function(F){return this.compare(F)<0},W.prototype.lt=W.prototype.lesser=H.prototype.lt=H.prototype.lesser=G.prototype.lt=G.prototype.lesser,G.prototype.greaterOrEquals=function(F){return this.compare(F)>=0},W.prototype.geq=W.prototype.greaterOrEquals=H.prototype.geq=H.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals,G.prototype.lesserOrEquals=function(F){return this.compare(F)<=0},W.prototype.leq=W.prototype.lesserOrEquals=H.prototype.leq=H.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals,G.prototype.isEven=function(){return(this.value[0]&1)===0},H.prototype.isEven=function(){return(this.value&1)===0},W.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},G.prototype.isOdd=function(){return(this.value[0]&1)===1},H.prototype.isOdd=function(){return(this.value&1)===1},W.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},G.prototype.isPositive=function(){return!this.sign},H.prototype.isPositive=function(){return this.value>0},W.prototype.isPositive=H.prototype.isPositive,G.prototype.isNegative=function(){return this.sign},H.prototype.isNegative=function(){return this.value<0},W.prototype.isNegative=H.prototype.isNegative,G.prototype.isUnit=function(){return!1},H.prototype.isUnit=function(){return Math.abs(this.value)===1},W.prototype.isUnit=function(){return this.abs().value===BigInt(1)},G.prototype.isZero=function(){return!1},H.prototype.isZero=function(){return this.value===0},W.prototype.isZero=function(){return this.value===BigInt(0)},G.prototype.isDivisibleBy=function(F){var M=T0(F);if(M.isZero())return!1;if(M.isUnit())return!0;if(M.compareAbs(2)===0)return this.isEven();return this.mod(M).isZero()},W.prototype.isDivisibleBy=H.prototype.isDivisibleBy=G.prototype.isDivisibleBy;function t(F){var M=F.abs();if(M.isUnit())return!1;if(M.equals(2)||M.equals(3)||M.equals(5))return!0;if(M.isEven()||M.isDivisibleBy(3)||M.isDivisibleBy(5))return!1;if(M.lesser(49))return!0}function K0(F,M){var j=F.prev(),x=j,s=0,m,e,J0,H0;while(x.isEven())x=x.divide(2),s++;$:for(J0=0;J0<M.length;J0++){if(F.lesser(M[J0]))continue;if(H0=h4(M[J0]).modPow(x,F),H0.isUnit()||H0.equals(j))continue;for(m=s-1;m!=0;m--){if(H0=H0.square().mod(F),H0.isUnit())return!1;if(H0.equals(j))continue $}return!1}return!0}G.prototype.isPrime=function(F){var M=t(this);if(M!==$)return M;var j=this.abs(),x=j.bitLength();if(x<=64)return K0(j,[2,3,5,7,11,13,17,19,23,29,31,37]);var s=Math.log(2)*x.toJSNumber(),m=Math.ceil(F===!0?2*Math.pow(s,2):s);for(var e=[],J0=0;J0<m;J0++)e.push(h4(J0+2));return K0(j,e)},W.prototype.isPrime=H.prototype.isPrime=G.prototype.isPrime,G.prototype.isProbablePrime=function(F,M){var j=t(this);if(j!==$)return j;var x=this.abs(),s=F===$?5:F;for(var m=[],e=0;e<s;e++)m.push(h4.randBetween(2,x.minus(2),M));return K0(x,m)},W.prototype.isProbablePrime=H.prototype.isProbablePrime=G.prototype.isProbablePrime,G.prototype.modInv=function(F){var{zero:M,one:j}=h4,x=T0(F),s=this.abs(),m,e,J0;while(!s.isZero())m=x.divide(s),e=M,J0=x,M=j,x=s,j=e.subtract(m.multiply(j)),s=J0.subtract(m.multiply(s));if(!x.isUnit())throw Error(this.toString()+" and "+F.toString()+" are not co-prime");if(M.compare(0)===-1)M=M.add(F);if(this.isNegative())return M.negate();return M},W.prototype.modInv=H.prototype.modInv=G.prototype.modInv,G.prototype.next=function(){var F=this.value;if(this.sign)return u(F,1,this.sign);return new G(T(F,1),this.sign)},H.prototype.next=function(){var F=this.value;if(F+1<Y)return new H(F+1);return new G(J,!1)},W.prototype.next=function(){return new W(this.value+BigInt(1))},G.prototype.prev=function(){var F=this.value;if(this.sign)return new G(T(F,1),!0);return u(F,1,this.sign)},H.prototype.prev=function(){var F=this.value;if(F-1>-Y)return new H(F-1);return new G(J,!0)},W.prototype.prev=function(){return new W(this.value-BigInt(1))};var W0=[1];while(2*W0[W0.length-1]<=I)W0.push(2*W0[W0.length-1]);var M0=W0.length,B0=W0[M0-1];function w1(F){return Math.abs(F)<=I}G.prototype.shiftLeft=function(F){var M=T0(F).toJSNumber();if(!w1(M))throw Error(String(M)+" is too large for shifting.");if(M<0)return this.shiftRight(-M);var j=this;if(j.isZero())return j;while(M>=M0)j=j.multiply(B0),M-=M0-1;return j.multiply(W0[M])},W.prototype.shiftLeft=H.prototype.shiftLeft=G.prototype.shiftLeft,G.prototype.shiftRight=function(F){var M,j=T0(F).toJSNumber();if(!w1(j))throw Error(String(j)+" is too large for shifting.");if(j<0)return this.shiftLeft(-j);var x=this;while(j>=M0){if(x.isZero()||x.isNegative()&&x.isUnit())return x;M=k(x,B0),x=M[1].isNegative()?M[0].prev():M[0],j-=M0-1}return M=k(x,W0[j]),M[1].isNegative()?M[0].prev():M[0]},W.prototype.shiftRight=H.prototype.shiftRight=G.prototype.shiftRight;function f0(F,M,j){M=T0(M);var x=F.isNegative(),s=M.isNegative(),m=x?F.not():F,e=s?M.not():M,J0=0,H0=0,v0=null,b0=null,k0=[];while(!m.isZero()||!e.isZero()){if(v0=k(m,B0),J0=v0[1].toJSNumber(),x)J0=B0-1-J0;if(b0=k(e,B0),H0=b0[1].toJSNumber(),s)H0=B0-1-H0;m=v0[0],e=b0[0],k0.push(j(J0,H0))}var J1=j(x?1:0,s?1:0)!==0?h4(-1):h4(0);for(var K4=k0.length-1;K4>=0;K4-=1)J1=J1.multiply(B0).add(h4(k0[K4]));return J1}G.prototype.not=function(){return this.negate().prev()},W.prototype.not=H.prototype.not=G.prototype.not,G.prototype.and=function(F){return f0(this,F,function(M,j){return M&j})},W.prototype.and=H.prototype.and=G.prototype.and,G.prototype.or=function(F){return f0(this,F,function(M,j){return M|j})},W.prototype.or=H.prototype.or=G.prototype.or,G.prototype.xor=function(F){return f0(this,F,function(M,j){return M^j})},W.prototype.xor=H.prototype.xor=G.prototype.xor;var G1=1073741824,O0=(I&-I)*(I&-I)|G1;function g0(F){var M=F.value,j=typeof M==="number"?M|G1:typeof M==="bigint"?M|BigInt(G1):M[0]+M[1]*I|O0;return j&-j}function d0(F,M){if(M.compareTo(F)<=0){var j=d0(F,M.square(M)),x=j.p,s=j.e,m=x.multiply(M);return m.compareTo(F)<=0?{p:m,e:s*2+1}:{p:x,e:s*2}}return{p:h4(1),e:0}}G.prototype.bitLength=function(){var F=this;if(F.compareTo(h4(0))<0)F=F.negate().subtract(h4(1));if(F.compareTo(h4(0))===0)return h4(0);return h4(d0(F,h4(2)).e).add(h4(1))},W.prototype.bitLength=H.prototype.bitLength=G.prototype.bitLength;function Q4(F,M){return F=T0(F),M=T0(M),F.greater(M)?F:M}function j4(F,M){return F=T0(F),M=T0(M),F.lesser(M)?F:M}function W$(F,M){if(F=T0(F).abs(),M=T0(M).abs(),F.equals(M))return F;if(F.isZero())return M;if(M.isZero())return F;var j=q[1],x,s;while(F.isEven()&&M.isEven())x=j4(g0(F),g0(M)),F=F.divide(x),M=M.divide(x),j=j.multiply(x);while(F.isEven())F=F.divide(g0(F));do{while(M.isEven())M=M.divide(g0(M));if(F.greater(M))s=M,M=F,F=s;M=M.subtract(F)}while(!M.isZero());return j.isUnit()?F:F.multiply(j)}function x$(F,M){return F=T0(F).abs(),M=T0(M).abs(),F.divide(W$(F,M)).multiply(M)}function c8(F,M,j){F=T0(F),M=T0(M);var x=j||Math.random,s=j4(F,M),m=Q4(F,M),e=m.subtract(s).add(1);if(e.isSmall)return s.add(Math.floor(x()*e));var J0=a6(e,I).value,H0=[],v0=!0;for(var b0=0;b0<J0.length;b0++){var k0=v0?J0[b0]+(b0+1<J0.length?J0[b0+1]/I:0):I,J1=D(x()*k0);if(H0.push(J1),J1<J0[b0])v0=!1}return s.add(q.fromArray(H0,I,!1))}var k$=function(F,M,j,x){if(j=j||Q,F=String(F),!x)F=F.toLowerCase(),j=j.toLowerCase();var s=F.length,m,e=Math.abs(M),J0={};for(m=0;m<j.length;m++)J0[j[m]]=m;for(m=0;m<s;m++){var H0=F[m];if(H0==="-")continue;if(H0 in J0){if(J0[H0]>=e){if(H0==="1"&&e===1)continue;throw Error(H0+" is not a valid digit in base "+M+".")}}}M=T0(M);var v0=[],b0=F[0]==="-";for(m=b0?1:0;m<F.length;m++){var H0=F[m];if(H0 in J0)v0.push(T0(J0[H0]));else if(H0==="<"){var k0=m;do m++;while(F[m]!==">"&&m<F.length);v0.push(T0(F.slice(k0+1,m)))}else throw Error(H0+" is not a valid character")}return V$(v0,M,b0)};function V$(F,M,j){var x=q[0],s=q[1],m;for(m=F.length-1;m>=0;m--)x=x.add(F[m].times(s)),s=s.times(M);return j?x.negate():x}function d8(F,M){if(M=M||Q,F<M.length)return M[F];return"<"+F+">"}function a6(F,M){if(M=h4(M),M.isZero()){if(F.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(M.equals(-1)){if(F.isZero())return{value:[0],isNegative:!1};if(F.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-F.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var j=Array.apply(null,Array(F.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return j.unshift([1]),{value:[].concat.apply([],j),isNegative:!1}}var x=!1;if(F.isNegative()&&M.isPositive())x=!0,F=F.abs();if(M.isUnit()){if(F.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(F.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:x}}var s=[],m=F,e;while(m.isNegative()||m.compareAbs(M)>=0){e=m.divmod(M),m=e.quotient;var J0=e.remainder;if(J0.isNegative())J0=M.minus(J0).abs(),m=m.next();s.push(J0.toJSNumber())}return s.push(m.toJSNumber()),{value:s.reverse(),isNegative:x}}function w7(F,M,j){var x=a6(F,M);return(x.isNegative?"-":"")+x.value.map(function(s){return d8(s,j)}).join("")}G.prototype.toArray=function(F){return a6(this,F)},H.prototype.toArray=function(F){return a6(this,F)},W.prototype.toArray=function(F){return a6(this,F)},G.prototype.toString=function(F,M){if(F===$)F=10;if(F!==10||M)return w7(this,F,M);var j=this.value,x=j.length,s=String(j[--x]),m="0000000",e;while(--x>=0)e=String(j[x]),s+=m.slice(e.length)+e;var J0=this.sign?"-":"";return J0+s},H.prototype.toString=function(F,M){if(F===$)F=10;if(F!=10||M)return w7(this,F,M);return String(this.value)},W.prototype.toString=H.prototype.toString,W.prototype.toJSON=G.prototype.toJSON=H.prototype.toJSON=function(){return this.toString()},G.prototype.valueOf=function(){return parseInt(this.toString(),10)},G.prototype.toJSNumber=G.prototype.valueOf,H.prototype.valueOf=function(){return this.value},H.prototype.toJSNumber=H.prototype.valueOf,W.prototype.valueOf=W.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function s6(F){if(V(+F)){var M=+F;if(M===D(M))return K?new W(BigInt(M)):new H(M);throw Error("Invalid integer: "+F)}var j=F[0]==="-";if(j)F=F.slice(1);var x=F.split(/e/i);if(x.length>2)throw Error("Invalid integer: "+x.join("e"));if(x.length===2){var s=x[1];if(s[0]==="+")s=s.slice(1);if(s=+s,s!==D(s)||!V(s))throw Error("Invalid integer: "+s+" is not a valid exponent.");var m=x[0],e=m.indexOf(".");if(e>=0)s-=m.length-e-1,m=m.slice(0,e)+m.slice(e+1);if(s<0)throw Error("Cannot include negative exponent part for integers");m+=Array(s+1).join("0"),F=m}var J0=/^([0-9][0-9]*)$/.test(F);if(!J0)throw Error("Invalid integer: "+F);if(K)return new W(BigInt(j?"-"+F:F));var H0=[],v0=F.length,b0=U,k0=v0-b0;while(v0>0){if(H0.push(+F.slice(k0,v0)),k0-=b0,k0<0)k0=0;v0-=b0}return w(H0),new G(H0,j)}function p5(F){if(K)return new W(BigInt(F));if(V(F)){if(F!==D(F))throw Error(F+" is not an integer.");return new H(F)}return s6(F.toString())}function T0(F){if(typeof F==="number")return p5(F);if(typeof F==="string")return s6(F);if(typeof F==="bigint")return new W(F);return F}for(var a=0;a<1000;a++)if(q[a]=T0(a),a>0)q[-a]=T0(-a);return q.one=q[1],q.zero=q[0],q.minusOne=q[-1],q.max=Q4,q.min=j4,q.gcd=W$,q.lcm=x$,q.isInstance=function(F){return F instanceof G||F instanceof H||F instanceof W},q.randBetween=c8,q.fromArray=function(F,M,j){return V$(F.map(T0),T0(M||10),j)},q}();if(typeof wL<"u"&&wL.hasOwnProperty("exports"))wL.exports=h4;if(typeof define==="function"&&define.amd)define(function(){return h4})});var eH0=O((fC1,sH0)=>{var W7=tH0(),LL=r("stream");if(!LL.Writable||!LL.Writable.prototype.destroy)LL=S5();var DL;function HJ1(){var $=3988292384,I,U,Y;DL=[];for(U=0;U<256;U++){I=U;for(Y=0;Y<8;Y++)I=I&1?$^I>>>1:I=I>>>1;DL[U]=I>>>0}}function aH0($,I){if(!DL)HJ1();if($.charCodeAt)$=$.charCodeAt(0);return W7(I).shiftRight(8).and(16777215).xor(DL[W7(I).xor($).and(255)]).value}function qJ(){if(!(this instanceof qJ))return new qJ;this.key0=305419896,this.key1=591751049,this.key2=878082192}qJ.prototype.update=function($){this.key0=aH0($,this.key0),this.key1=W7(this.key0).and(255).and(4294967295).add(this.key1),this.key1=W7(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=aH0(W7(this.key1).shiftRight(24).and(255),this.key2)};qJ.prototype.decryptByte=function($){var I=W7(this.key2).or(2);return $=$^W7(I).multiply(W7(I^1)).shiftRight(8).and(255),this.update($),$};qJ.prototype.stream=function(){var $=LL.Transform(),I=this;return $._transform=function(U,Y,J){for(var Q=0;Q<U.length;Q++)U[Q]=I.decryptByte(U[Q]);this.push(U),J()},$};sH0.exports=qJ});var IW0=O((bC1,$W0)=>{var WJ1=U7(),VJ1=eH0(),ZJ1=iw(),pq=r("stream"),zJ1=Hq(),XJ1=r("zlib"),wJ1=cw(),LJ1=tY(),DJ1=dw();if(!pq.Writable||!pq.Writable.prototype.destroy)pq=S5();$W0.exports=function(I,U,Y,J){var Q=ZJ1(),K=pq.PassThrough(),q=I.stream(U);return q.pipe(Q).on("error",function(G){K.emit("error",G)}),K.vars=Q.pull(30).then(function(G){var H=zJ1.parse(G).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return H.lastModifiedDateTime=DJ1(H.lastModifiedDate,H.lastModifiedTime),Q.pull(H.fileNameLength).then(function(W){return H.fileName=W.toString("utf8"),Q.pull(H.extraFieldLength)}).then(function(W){var V;if(H.extra=wJ1(W,H),J&&J.compressedSize)H=J;if(H.flags&1)V=Q.pull(12).then(function(z){if(!Y)throw Error("MISSING_PASSWORD");var Z=VJ1();String(Y).split("").forEach(function(D){Z.update(D)});for(var w=0;w<z.length;w++)z[w]=Z.decryptByte(z[w]);H.decrypt=Z,H.compressedSize-=12;var L=H.flags&8?H.lastModifiedTime>>8&255:H.crc32>>24&255;if(z[11]!==L)throw Error("BAD_PASSWORD");return H});return WJ1.resolve(V).then(function(){return K.emit("vars",H),H})})}),K.vars.then(function(G){var H=!(G.flags&8)||G.compressedSize>0,W,V=G.compressionMethod?XJ1.createInflateRaw():pq.PassThrough();if(H)K.size=G.uncompressedSize,W=G.compressedSize;else W=LJ1.alloc(4),W.writeUInt32LE(134695760,0);var z=Q.stream(W);if(G.decrypt)z=z.pipe(G.decrypt.stream());z.pipe(V).on("error",function(Z){K.emit("error",Z)}).pipe(K).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(G){K.emit("error",G)}),K}});var JW0=O((iC1,YW0)=>{var mq=Hq(),dq=iw(),OJ1=IW0(),cq=U7(),NJ1=pw(),FJ1=cw(),MJ1=tY(),Cy=r("path"),AJ1=Ry().Writer,PJ1=dw(),UW0=MJ1.alloc(4);UW0.writeUInt32LE(101010256,0);function TJ1($){var I=$.stream(0).pipe(dq());return I.pull(4).then(function(U){var Y=U.readUInt32LE(0);if(Y===875721283){var J;return I.pull(12).then(function(Q){J=mq.parse(Q).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return I.pull(J.pubKeyLength+J.signatureLength)}).then(function(Q){return J.publicKey=Q.slice(0,J.pubKeyLength),J.signature=Q.slice(J.pubKeyLength),J.size=16+J.pubKeyLength+J.signatureLength,J})}})}function EJ1($,I){var U=mq.parse(I).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(U.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+U.signature.toString(16));var Y=dq();return $.stream(U.offsetToStartOfCentralDirectory).pipe(Y),Y.pull(56)}function BJ1($){var I=mq.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(I.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+I.signature.toString(16));return I}YW0.exports=function(I,U){var Y=dq(),J=dq(),Q=U&&U.tailSize||80,K,q,G,H;if(U&&U.crx)q=TJ1(I);return I.size().then(function(W){return K=W,I.stream(Math.max(0,W-Q)).on("error",function(V){Y.emit("error",V)}).pipe(Y),Y.pull(UW0)}).then(function(){return cq.props({directory:Y.pull(22),crxHeader:q})}).then(function(W){var V=W.directory;if(G=W.crxHeader&&W.crxHeader.size||0,H=mq.parse(V).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,H.numberOfRecords==65535||H.numberOfRecords==65535||H.offsetToStartOfCentralDirectory==4294967295){let Z=K-(Q-Y.match+20),w=dq();return I.stream(Z).pipe(w),w.pull(20).then(function(L){return EJ1(I,L)}).then(function(L){H=BJ1(L)})}else H.offsetToStartOfCentralDirectory+=G}).then(function(){if(H.commentLength)return Y.pull(H.commentLength).then(function(W){H.comment=W.toString("utf8")})}).then(function(){return I.stream(H.offsetToStartOfCentralDirectory).pipe(J),H.extract=function(W){if(!W||!W.path)throw Error("PATH_MISSING");return W.path=Cy.resolve(Cy.normalize(W.path)),H.files.then(function(V){return cq.map(V,function(z){if(z.type=="Directory")return;var Z=Cy.join(W.path,z.path);if(Z.indexOf(W.path)!=0)return;var w=W.getWriter?W.getWriter({path:Z}):AJ1({path:Z});return new cq(function(L,D){z.stream(W.password).on("error",D).pipe(w).on("close",L).on("error",D)})},{concurrency:W.concurrency>1?W.concurrency:1})})},H.files=cq.mapSeries(Array(H.numberOfRecords),function(){return J.pull(46).then(function(W){var V=mq.parse(W).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 V.offsetToLocalFileHeader+=G,V.lastModifiedDateTime=PJ1(V.lastModifiedDate,V.lastModifiedTime),J.pull(V.fileNameLength).then(function(z){return V.pathBuffer=z,V.path=z.toString("utf8"),V.isUnicode=(V.flags&2048)!=0,J.pull(V.extraFieldLength)}).then(function(z){return V.extra=FJ1(z,V),J.pull(V.fileCommentLength)}).then(function(z){return V.comment=z,V.type=V.uncompressedSize===0&&/[\/\\]$/.test(V.path)?"Directory":"File",V.stream=function(Z){return OJ1(I,V.offsetToLocalFileHeader,Z,V)},V.buffer=function(Z){return NJ1(V.stream(Z))},V})})}),cq.props(H)})}});var qW0=O((nC1,KW0)=>{var QW0=m6(),OL=U7(),lq=JW0(),NL=r("stream");if(!NL.Writable||!NL.Writable.prototype.destroy)NL=S5();KW0.exports={buffer:function($,I){var U={stream:function(Y,J){var Q=NL.PassThrough();return Q.end($.slice(Y,J)),Q},size:function(){return OL.resolve($.length)}};return lq(U,I)},file:function($,I){var U={stream:function(Y,J){return QW0.createReadStream($,{start:Y,end:J&&Y+J})},size:function(){return new OL(function(Y,J){QW0.stat($,function(Q,K){if(Q)J(Q);else Y(K.size)})})}};return lq(U,I)},url:function($,I,U){if(typeof I==="string")I={url:I};if(!I.url)throw"URL missing";I.headers=I.headers||{};var Y={stream:function(J,Q){var K=Object.create(I);return K.headers=Object.create(I.headers),K.headers.range="bytes="+J+"-"+(Q?Q:""),$(K)},size:function(){return new OL(function(J,Q){var K=$(I);K.on("response",function(q){if(K.abort(),!q.headers["content-length"])Q(Error("Missing content length header"));else J(q.headers["content-length"])}).on("error",Q)})}};return lq(Y,U)},s3:function($,I,U){var Y={size:function(){return new OL(function(J,Q){$.headObject(I,function(K,q){if(K)Q(K);else J(q.ContentLength)})})},stream:function(J,Q){var K={};for(var q in I)K[q]=I[q];return K.Range="bytes="+J+"-"+(Q?Q:""),$.getObject(K).createReadStream()}};return lq(Y,U)},custom:function($,I){return lq($,I)}}});var GW0=O((RJ1)=>{Y20();q20();qB();RJ1.Parse=mw();RJ1.ParseOne=PG0();RJ1.Extract=rH0();RJ1.Open=qW0()});var PW0=O((tJ1,h5)=>{/*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*/var x1=r("fs"),ML=r("os"),x4=r("path"),HW0=r("crypto"),f8={fs:x1.constants,os:ML.constants},zW0=/XXXXXX/,XW0=(f8.O_CREAT||f8.fs.O_CREAT)|(f8.O_EXCL||f8.fs.O_EXCL)|(f8.O_RDWR||f8.fs.O_RDWR),SJ1=ML.platform()==="win32",gJ1=f8.EBADF||f8.os.errno.EBADF,yJ1=f8.ENOENT||f8.os.errno.ENOENT,GJ=[],wW0=x1.rmdirSync.bind(x1),LW0=!1;function hJ1($,I){return x1.rm($,{recursive:!0},I)}function DW0($){return x1.rmSync($,{recursive:!0})}function gy($,I){let U=HJ($,I),Y=U[0],J=U[1];dJ1(Y,function(Q,K){if(Q)return J(Q);let q=K.tries;(function G(){try{let H=NW0(K);x1.stat(H,function(W){if(!W){if(q-- >0)return G();return J(Error("Could not get a unique tmp filename, max tries reached "+H))}J(null,H)})}catch(H){J(H)}})()})}function yy($){let I=HJ($),U=I[0],Y=mJ1(U),J=Y.tries;do{let Q=NW0(Y);try{x1.statSync(Q)}catch(K){return Q}}while(J-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function xJ1($,I){let U=HJ($,I),Y=U[0],J=U[1];gy(Y,function(K,q){if(K)return J(K);x1.open(q,XW0,Y.mode||384,function(H,W){if(H)return J(H);if(Y.discardDescriptor)return x1.close(W,function(z){return J(z,q,void 0,_y(q,-1,Y,!1))});else{let V=Y.discardDescriptor||Y.detachDescriptor;J(null,q,W,_y(q,V?-1:W,Y,!1))}})})}function kJ1($){let I=HJ($),U=I[0],Y=U.discardDescriptor||U.detachDescriptor,J=yy(U),Q=x1.openSync(J,XW0,U.mode||384);if(U.discardDescriptor)x1.closeSync(Q),Q=void 0;return{name:J,fd:Q,removeCallback:_y(J,Y?-1:Q,U,!0)}}function uJ1($,I){let U=HJ($,I),Y=U[0],J=U[1];gy(Y,function(K,q){if(K)return J(K);x1.mkdir(q,Y.mode||448,function(H){if(H)return J(H);J(null,q,OW0(q,Y,!1))})})}function fJ1($){let I=HJ($),U=I[0],Y=yy(U);return x1.mkdirSync(Y,U.mode||448),{name:Y,removeCallback:OW0(Y,U,!0)}}function bJ1($,I){let U=function(Y){if(Y&&!Sy(Y))return I(Y);I()};if(0<=$[0])x1.close($[0],function(){x1.unlink($[1],U)});else x1.unlink($[1],U)}function iJ1($){let I=null;try{if(0<=$[0])x1.closeSync($[0])}catch(U){if(!lJ1(U)&&!Sy(U))throw U}finally{try{x1.unlinkSync($[1])}catch(U){if(!Sy(U))I=U}}if(I!==null)throw I}function _y($,I,U,Y){let J=FL(iJ1,[I,$],Y),Q=FL(bJ1,[I,$],Y,J);if(!U.keep)GJ.unshift(J);return Y?J:Q}function OW0($,I,U){let Y=I.unsafeCleanup?hJ1:x1.rmdir.bind(x1),J=I.unsafeCleanup?DW0:wW0,Q=FL(J,$,U),K=FL(Y,$,U,Q);if(!I.keep)GJ.unshift(Q);return U?Q:K}function FL($,I,U,Y){let J=!1;return function Q(K){if(!J){let q=Y||Q,G=GJ.indexOf(q);if(G>=0)GJ.splice(G,1);if(J=!0,U||$===wW0||$===DW0)return $(I);else return $(I,K||function(){})}}}function nJ1(){if(!LW0)return;while(GJ.length)try{GJ[0]()}catch($){}}function WW0($){let I=[],U=null;try{U=HW0.randomBytes($)}catch(Y){U=HW0.pseudoRandomBytes($)}for(let Y=0;Y<$;Y++)I.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[U[Y]%62]);return I.join("")}function o6($){return typeof $>"u"}function HJ($,I){if(typeof $==="function")return[{},$];if(o6($))return[{},I];let U={};for(let Y of Object.getOwnPropertyNames($))U[Y]=$[Y];return[U,I]}function pJ1($,I,U){let Y=x4.isAbsolute($)?$:x4.join(I,$);x1.stat(Y,function(J){if(J)x1.realpath(x4.dirname(Y),function(Q,K){if(Q)return U(Q);U(null,x4.join(K,x4.basename(Y)))});else x1.realpath(Y,U)})}function cJ1($,I){let U=x4.isAbsolute($)?$:x4.join(I,$);try{return x1.statSync(U),x1.realpathSync(U)}catch(Y){let J=x1.realpathSync(x4.dirname(U));return x4.join(J,x4.basename(U))}}function NW0($){let I=$.tmpdir;if(!o6($.name))return x4.join(I,$.dir,$.name);if(!o6($.template))return x4.join(I,$.dir,$.template).replace(zW0,WW0(6));let U=[$.prefix?$.prefix:"tmp","-",process.pid,"-",WW0(12),$.postfix?"-"+$.postfix:""].join("");return x4.join(I,$.dir,U)}function jy($,I){if(typeof I!=="string")throw Error(`${$} option must be a string, got "${typeof I}".`);if(I.includes(".."))throw Error("Relative value not allowed");return I}function FW0($){if(!o6($.name)){let I=$.name;if(x4.isAbsolute(I))throw Error(`name option must not contain an absolute path, found "${I}".`);let U=x4.basename(I);if(U===".."||U==="."||U!==I)throw Error(`name option must not contain a path, found "${I}".`)}if(!o6($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(zW0))throw Error(`Invalid template, found "${$.template}".`)}if(!o6($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=o6($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=o6($.prefix)?"":jy("prefix",$.prefix),$.postfix=o6($.postfix)?"":jy("postfix",$.postfix),$.template=o6($.template)?void 0:jy("template",$.template)}function VW0($,I,U,Y){if(o6(I))return Y(null);pJ1(I,U,function(J,Q){if(J)return Y(J);let K=x4.relative(U,Q);if(K.startsWith("..")||x4.isAbsolute(K))return Y(Error(`${$} option must be relative to "${U}", found "${K}".`));Y(null,K)})}function ZW0($,I,U){if(o6(I))return;let Y=cJ1(I,U),J=x4.relative(U,Y);if(J.startsWith("..")||x4.isAbsolute(J))throw Error(`${$} option must be relative to "${U}", found "${J}".`);return J}function dJ1($,I){rJ1($,function(U,Y){if(U)return I(U);$.tmpdir=Y;try{FW0($,Y)}catch(J){return I(J)}VW0("dir",$.dir,Y,function(J,Q){if(J)return I(J);$.dir=o6(Q)?"":Q,VW0("template",$.template,Y,function(K,q){if(K)return I(K);$.template=q,I(null,$)})})})}function mJ1($){let I=$.tmpdir=AW0($);FW0($,I);let U=ZW0("dir",$.dir,I);return $.dir=o6(U)?"":U,$.template=ZW0("template",$.template,I),$}function lJ1($){return MW0($,-gJ1,"EBADF")}function Sy($){return MW0($,-yJ1,"ENOENT")}function MW0($,I,U){return SJ1?$.code===U:$.code===U&&$.errno===I}function oJ1(){LW0=!0}function rJ1($,I){return x1.realpath($&&$.tmpdir||ML.tmpdir(),I)}function AW0($){return x1.realpathSync($&&$.tmpdir||ML.tmpdir())}process.addListener("exit",nJ1);Object.defineProperty(tJ1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return AW0()}});tJ1.dir=uJ1;tJ1.dirSync=fJ1;tJ1.file=xJ1;tJ1.fileSync=kJ1;tJ1.tmpName=gy;tJ1.tmpNameSync=yy;tJ1.setGracefulCleanup=oJ1});var EW0=O((cC1,TW0)=>{TW0.exports=async function*(I){let U=[];I.on("data",(q)=>U.push(q));let Y,J=new Promise((q)=>Y=q),Q=!1;I.on("end",()=>{Q=!0,Y()});let K=!1;I.on("error",(q)=>{K=q,Y()});while(!Q||U.length>0){if(U.length===0)I.resume(),await Promise.race([JQ1(I,"data"),J]);else I.pause(),yield U.shift();if(K)throw K}Y()};function JQ1($,I){return new Promise((U)=>{let Y=!1,J=()=>{if(!Y)Y=!0,$.removeListener(I,J),U()};$.addListener(I,J)})}});var jW0=O((dC1,CW0)=>{var{EventEmitter:QQ1}=r("events"),KQ1=VK(),qQ1=z4(),AL=L6(),BW0=G4(),GQ1=Q5(),HQ1=xV(),RW0=uV();class vW0 extends QQ1{constructor({workbook:$,id:I,iterator:U,options:Y}){super();this.workbook=$,this.id=I,this.iterator=U,this.options=Y||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new GQ1}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let I=this._keys[$];if(I)return I;$=BW0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let I=this._columns.length+1;while(I<=$)this._columns.push(new RW0(this,I++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,I){this._keys[$]=I}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){qQ1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:I,value:U}of $)this.emit(I,U);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:I,value:U}of $)if(I==="row")yield U}async*parse(){let{iterator:$,options:I}=this,U=!1,Y=!1,J=null;switch(I.worksheets){case"emit":U=!0;break;case"prep":break;default:break}switch(I.hyperlinks){case"emit":Y=!0;break;case"cache":this.hyperlinks=J={};break;default:break}if(!U&&!Y&&!J)return;let{sharedStrings:Q,styles:K,properties:q}=this.workbook,G=!1,H=!1,W=!1,V=null,z=null,Z=null,w=null;for await(let L of KQ1($)){let D=[];for(let{eventType:N,value:E}of L)if(N==="opentag"){let T=E;if(U)switch(T.name){case"cols":G=!0,V=[];break;case"sheetData":H=!0;break;case"col":if(G)V.push({min:parseInt(T.attributes.min,10),max:parseInt(T.attributes.max,10),width:parseFloat(T.attributes.width),styleId:parseInt(T.attributes.style||"0",10)});break;case"row":if(H){let A=parseInt(T.attributes.r,10);if(z=new HQ1(this,A),T.attributes.ht)z.height=parseFloat(T.attributes.ht);if(T.attributes.s){let v=parseInt(T.attributes.s,10),u=K.getStyleModel(v);if(u)z.style=u}}break;case"c":if(z)Z={ref:T.attributes.r,s:parseInt(T.attributes.s,10),t:T.attributes.t};break;case"f":if(Z)w=Z.f={text:""};break;case"v":if(Z)w=Z.v={text:""};break;case"is":case"t":if(Z)w=Z.v={text:""};break;case"mergeCell":break;default:break}if(Y||J)switch(T.name){case"hyperlinks":W=!0;break;case"hyperlink":if(W){let A={ref:T.attributes.ref,rId:T.attributes["r:id"]};if(Y)D.push({eventType:"hyperlink",value:A});else J[A.ref]=A}break;default:break}}else if(N==="text"){if(U){if(w)w.text+=E}}else if(N==="closetag"){let T=E;if(U)switch(T.name){case"cols":G=!1,this._columns=RW0.fromModel(V);break;case"sheetData":H=!1;break;case"row":this._dimensions.expandRow(z),D.push({eventType:"row",value:z}),z=null;break;case"c":if(z&&Z){let A=BW0.decodeAddress(Z.ref),v=z.getCell(A.col);if(Z.s){let u=K.getStyleModel(Z.s);if(u)v.style=u}if(Z.f){let u={formula:Z.f.text};if(Z.v)if(Z.t==="str")u.result=AL.xmlDecode(Z.v.text);else u.result=parseFloat(Z.v.text);v.value=u}else if(Z.v)switch(Z.t){case"s":{let u=parseInt(Z.v.text,10);if(Q)v.value=Q[u];else v.value={sharedString:u};break}case"inlineStr":case"str":v.value=AL.xmlDecode(Z.v.text);break;case"e":v.value={error:Z.v.text};break;case"b":v.value=parseInt(Z.v.text,10)!==0;break;default:if(AL.isDateFmt(v.numFmt))v.value=AL.excelToDate(parseFloat(Z.v.text),q.model&&q.model.date1904);else v.value=parseFloat(Z.v.text);break}if(J){let u=J[Z.ref];if(u)v.text=v.value,v.value=void 0,v.hyperlink=u}Z=null}break;default:break}if(Y||J)switch(T.name){case"hyperlinks":W=!1;break;default:break}}if(D.length>0)yield D}}}CW0.exports=vW0});var gW0=O((mC1,SW0)=>{var{EventEmitter:WQ1}=r("events"),VQ1=VK(),ZQ1=l$(),zQ1=y9();class _W0 extends WQ1{constructor({workbook:$,id:I,iterator:U,options:Y}){super();this.workbook=$,this.id=I,this.iterator=U,this.options=Y}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:I}=this,U=!1,Y=null;switch(I.hyperlinks){case"emit":U=!0;break;case"cache":this.hyperlinks=Y={};break;default:break}if(!U&&!Y){this.emit("finished");return}try{for await(let J of VQ1($))for(let{eventType:Q,value:K}of J)if(Q==="opentag"){let q=K;if(q.name==="Relationship"){let G=q.attributes.Id;switch(q.attributes.Type){case zQ1.Hyperlink:{let H={type:ZQ1.RelationshipType.Styles,rId:G,target:q.attributes.Target,targetMode:q.attributes.TargetMode};if(U)this.emit("hyperlink",H);else Y[H.rId]=H}break;default:break}}}this.emit("finished")}catch(J){this.emit("error",J)}}}SW0.exports=_W0});var kW0=O((lC1,xW0)=>{var hy=r("fs"),{EventEmitter:XQ1}=r("events"),{PassThrough:wQ1,Readable:LQ1}=w6(),DQ1=r("stream"),OQ1=GW0(),hW0=PW0(),l3=EW0(),NQ1=VK(),yW0=wz(),FQ1=Mz(),MQ1=Nz(),AQ1=jW0(),PQ1=gW0();hW0.setGracefulCleanup();class xy extends XQ1{constructor($,I={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...I},this.styles=new yW0,this.styles.init()}_getStream($){if($ instanceof DQ1.Readable||$ instanceof LQ1)return $;if(typeof $==="string")return hy.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,I){try{for await(let{eventType:U,value:Y}of this.parse($,I))switch(U){case"shared-strings":this.emit(U,Y);break;case"worksheet":this.emit(U,Y),await Y.read();break;case"hyperlinks":this.emit(U,Y);break}this.emit("end"),this.emit("finished")}catch(U){this.emit("error",U)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:I}of this.parse())if($==="worksheet")yield I}async*parse($,I){if(I)this.options=I;let U=this.stream=this._getStream($||this.input),Y=OQ1.Parse({forceStream:!0});U.pipe(Y);let J=[];for await(let Q of l3(Y)){let K,q;switch(Q.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(Q);break;case"xl/workbook.xml":await this._parseWorkbook(Q);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(Q);break;case"xl/styles.xml":await this._parseStyles(Q);break;default:if(Q.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(K=Q.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),q=K[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(l3(Q),q);else await new Promise((G,H)=>{hW0.file((W,V,z,Z)=>{if(W)return H(W);J.push({sheetNo:q,path:V,tempFileCleanupCallback:Z});let w=hy.createWriteStream(V);return w.on("error",H),Q.pipe(w),w.on("finish",()=>{return G()})})});else if(Q.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))K=Q.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),q=K[1],yield*this._parseHyperlinks(l3(Q),q);break}Q.autodrain()}for(let{sheetNo:Q,path:K,tempFileCleanupCallback:q}of J){let G=hy.createReadStream(K);if(!G[Symbol.asyncIterator])G=G.pipe(new wQ1);yield*this._parseWorksheet(G,Q),q()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let I=new MQ1;this.workbookRels=await I.parseStream(l3($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let I=new FQ1;await I.parseStream(l3($)),this.properties=I.map.workbookPr,this.model=I.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let I=null,U=[],Y=0,J=null;for await(let Q of NQ1(l3($)))for(let{eventType:K,value:q}of Q)if(K==="opentag"){let G=q;switch(G.name){case"b":J=J||{},J.bold=!0;break;case"charset":J=J||{},J.charset=parseInt(G.attributes.charset,10);break;case"color":if(J=J||{},J.color={},G.attributes.rgb)J.color.argb=G.attributes.argb;if(G.attributes.val)J.color.argb=G.attributes.val;if(G.attributes.theme)J.color.theme=G.attributes.theme;break;case"family":J=J||{},J.family=parseInt(G.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=G.value;break;case"si":J=null,U=[],I=null;break;case"sz":J=J||{},J.size=parseInt(G.attributes.val,10);break;case"strike":break;case"t":I=null;break;case"u":J=J||{},J.underline=!0;break;case"vertAlign":J=J||{},J.vertAlign=G.attributes.val;break}}else if(K==="text")I=I?I+q:q;else if(K==="closetag")switch(q.name){case"r":U.push({font:J,text:I}),J=null,I=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(U.length?{richText:U}:I);else if(this.options.sharedStrings==="emit")yield{index:Y++,text:U.length?{richText:U}:I};U=[],J=null,I=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new yW0,await this.styles.parseStream(l3($))}*_parseWorksheet($,I){this._emitEntry({type:"worksheet",id:I});let U=new AQ1({workbook:this,id:I,iterator:$,options:this.options}),Y=(this.workbookRels||[]).find((Q)=>Q.Target===`worksheets/sheet${I}.xml`),J=Y&&(this.model.sheets||[]).find((Q)=>Q.rId===Y.Id);if(J)U.id=J.id,U.name=J.name,U.state=J.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:U}}*_parseHyperlinks($,I){this._emitEntry({type:"hyperlinks",id:I});let U=new PQ1({workbook:this,id:I,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:U}}}xy.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};xW0.exports=xy});var bW0=O((oC1,fW0)=>{var uW0={Workbook:Z30(),ModelContainer:w30(),stream:{xlsx:{WorkbookWriter:I20(),WorkbookReader:kW0()}}};Object.assign(uW0,l$());fW0.exports=uW0});var ky=O((rC1,iW0)=>{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");iW0.exports=bW0()});var DV0=O((bj1,LV0)=>{LV0.exports=jL;function jL(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}jL.prototype.go=function($){if(this.pending<this.max)wV0(this,$);else this.waiting.push($)};jL.prototype.wait=function($){if(this.pending===0)$(this.error);else this.listeners.push($)};jL.prototype.hold=function(){return XV0(this)};function XV0($){$.pending+=1;var I=!1;return U;function U(J){if(I)throw Error("callback called twice");if(I=!0,$.error=$.error||J,$.pending-=1,$.waiting.length>0&&$.pending<$.max)wV0($,$.waiting.shift());else if($.pending===0){var Q=$.listeners;$.listeners=[],Q.forEach(Y)}}function Y(J){J($.error)}}function wV0($,I){I(XV0($))}});var FV0=O((E21)=>{var ty=r("fs"),ay=r("util"),OV0=r("stream"),NV0=OV0.Readable,P21=OV0.PassThrough,T21=DV0(),_L=r("events").EventEmitter;E21.BufferSlicer=zJ;E21.FdSlicer=ZJ;ay.inherits(ZJ,_L);function ZJ($){_L.call(this),this.fd=$,this.pend=new T21,this.pend.max=1,this.refCount=0}ZJ.prototype.read=function($,I,U,Y,J){var Q=this;Q.pend.go(function(K){ty.read(Q.fd,$,I,U,Y,function(q,G,H){K(),J(q,G,H)})})};ZJ.prototype.createReadStream=function($){return new rq(this,$)};ZJ.prototype.ref=function(){this.refCount+=1};ZJ.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;ty.close($.fd,I);function I(U){if(U)$.emit("error",U);else $.emit("close")}};ay.inherits(rq,NV0);function rq($,I){I=I||{},NV0.call(this,I),this.context=$,this.context.ref(),this.start=I.start||0,this.endOffset=I.end,this.pos=this.start}rq.prototype._read=function($){var I=this,U=Math.min(I._readableState.highWaterMark,$);if(I.endOffset!=null)U=Math.min(U,I.endOffset-I.pos);if(U<=0){I.push(null),this._cleanup();return}I.context.pend.go(function(Y){var J=Buffer.allocUnsafe(U);ty.read(I.context.fd,J,0,U,I.pos,function(Q,K){if(Q)I.destroy(Q);else if(K===0)I.push(null),I._cleanup();else I.pos+=K,I.push(J.slice(0,K));Y()})})};rq.prototype._destroy=function($,I){this._cleanup(),I($)};rq.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};ay.inherits(zJ,_L);function zJ($){_L.call(this),this.refCount=0,this.buffer=$}zJ.prototype.read=function($,I,U,Y,J){if(!(0<=I&&I<=$.length))throw RangeError("offset outside buffer: 0 <= "+I+" <= "+$.length);if(Y<0)throw RangeError("position is negative: "+Y);if(I+U>$.length)U=$.length-I;if(Y+U>this.buffer.length)U=this.buffer.length-Y;if(U<=0){setImmediate(function(){J(null,0)});return}this.buffer.copy($,I,Y,Y+U),setImmediate(function(){J(null,U)})};zJ.prototype.createReadStream=function($){$=$||{};var I=new P21($);I.start=$.start||0,I.endOffset=$.end,I.pos=I.endOffset||this.buffer.length;var U=this.buffer.slice(I.start,I.pos),Y=65536,J=0;while(!0){var Q=J+Y;if(Q>=U.length){if(J<U.length)I.write(U.slice(J,U.length));break}I.write(U.slice(J,Q)),J=Q}return I.end(),I};zJ.prototype.ref=function(){this.refCount+=1};zJ.prototype.unref=function(){if(this.refCount-=1,this.refCount<0)throw Error("invalid unref")}});var AV0=O((nj1,MV0)=>{var v21=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 C21($){let I=-1;for(let U of $)I=v21[(I^U)&255]^I>>>8;return(I^-1)>>>0}MV0.exports=C21});var gV0=O((k21)=>{var sy=r("fs"),ey=r("zlib"),PV0=FV0(),yL=r("util"),hL=r("events").EventEmitter,TV0=r("stream").Transform,Ih=r("stream").PassThrough,j21=r("stream").Writable,_21=typeof ey.crc32==="function"?ey.crc32:AV0();k21.open=EV0;k21.fromFd=Uh;k21.fromBuffer=BV0;k21.fromRandomAccessReader=xL;k21.openPromise=S21;k21.fromFdPromise=g21;k21.fromBufferPromise=y21;k21.fromRandomAccessReaderPromise=h21;k21.dosDateTimeToDate=CV0;k21.getFileNameLowLevel=jV0;k21.validateFileName=_V0;k21.parseExtraFields=SV0;k21.ZipFile=r6;k21.Entry=LJ;k21.LocalFileHeader=vV0;k21.RandomAccessReader=Z7;function S21($,I){return new Promise((U,Y)=>{EV0($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function g21($,I){return new Promise((U,Y)=>{Uh($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function y21($,I){return new Promise((U,Y)=>{BV0($,{...I,lazyEntries:!0},function(J,Q){if(J)return Y(J);U(Q)})})}function h21($,I,U){return new Promise((Y,J)=>{xL($,I,{...U,lazyEntries:!0},function(Q,K){if(Q)return J(Q);Y(K)})})}function EV0($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose==null)I.autoClose=!0;if(I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;if(U==null)U=gL;sy.open($,"r",function(Y,J){if(Y)return U(Y);Uh(J,I,function(Q,K){if(Q)sy.close(J,gL);U(Q,K)})})}function Uh($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose==null)I.autoClose=!1;if(I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;if(U==null)U=gL;sy.fstat($,function(Y,J){if(Y)return U(Y);var Q=new PV0.FdSlicer($);xL(Q,J.size,I,U)})}function BV0($,I,U){if(typeof I==="function")U=I,I=null;if(I==null)I={};if(I.autoClose=!1,I.lazyEntries==null)I.lazyEntries=!1;if(I.decodeStrings==null)I.decodeStrings=!0;if(I.validateEntrySizes==null)I.validateEntrySizes=!0;if(I.strictFileNames==null)I.strictFileNames=!1;var Y=new PV0.BufferSlicer($);xL(Y,$.length,I,U)}function xL($,I,U,Y){if(typeof U==="function")Y=U,U=null;if(U==null)U={};if(U.autoClose==null)U.autoClose=!0;if(U.lazyEntries==null)U.lazyEntries=!1;if(U.decodeStrings==null)U.decodeStrings=!0;var J=!!U.decodeStrings;if(U.validateEntrySizes==null)U.validateEntrySizes=!0;if(U.strictFileNames==null)U.strictFileNames=!1;if(Y==null)Y=gL;if(typeof I!=="number")throw Error("expected totalSize parameter to be a number");if(I>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 Q=22,K=20,q=65535,G=Math.min(K+Q+q,I),H=x5(G),W=I-H.length;wJ($,H,0,G,W,function(V){if(V)return Y(V);for(var z=G-Q;z>=0;z-=1){if(H.readUInt32LE(z)!==101010256)continue;var Z=H.subarray(z),w=Z.readUInt16LE(4),L=Z.readUInt16LE(10),D=Z.readUInt32LE(16),N=Z.readUInt16LE(20),E=Z.length-Q;if(N!==E)return Y(Error("Invalid comment length. Expected: "+E+". Found: "+N+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var T=J?SL(Z.subarray(22),!1):Z.subarray(22);if(z-K>=0&&H.readUInt32LE(z-K)===117853008){var A=H.subarray(z-K,z-K+K),v=XJ(A,8),u=x5(56);return wJ($,u,0,u.length,v,function(g){if(g)return Y(g);if(u.readUInt32LE(0)!==101075792)return Y(Error("invalid zip64 end of central directory record signature"));if(w=u.readUInt32LE(16),w!==0)return Y(Error("multi-disk zip files are not supported: found disk number: "+w));return L=XJ(u,32),D=XJ(u,48),Y(null,new r6($,D,I,L,T,U.autoClose,U.lazyEntries,J,U.validateEntrySizes,U.strictFileNames))})}if(w!==0)return Y(Error("multi-disk zip files are not supported: found disk number: "+w));return Y(null,new r6($,D,I,L,T,U.autoClose,U.lazyEntries,J,U.validateEntrySizes,U.strictFileNames))}Y(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}yL.inherits(r6,hL);function r6($,I,U,Y,J,Q,K,q,G,H){var W=this;if(hL.call(W),W.reader=$,W.reader.on("error",function(V){RV0(W,V)}),W.reader.once("close",function(){W.emit("close")}),W.readEntryCursor=I,W.fileSize=U,W.entryCount=Y,W.comment=J,W.entriesRead=0,W.autoClose=!!Q,W.lazyEntries=!!K,W.decodeStrings=!!q,W.validateEntrySizes=!!G,W.strictFileNames=!!H,W.isOpen=!0,W.emittedError=!1,W.hasEachEntryBeenCalled=!1,!W.lazyEntries)W._readEntry()}r6.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function i8($,I){if($.autoClose)$.close();RV0($,I)}function RV0($,I){if($.emittedError)return;$.emittedError=!0,$.emit("error",I)}r6.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};r6.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var I=x5(46);wJ($.reader,I,0,I.length,$.readEntryCursor,function(U){if(U)return i8($,U);if($.emittedError)return;var Y=new LJ,J=I.readUInt32LE(0);if(J!==33639248)return i8($,Error("invalid central directory file header signature: 0x"+J.toString(16)));if(Y.versionMadeBy=I.readUInt16LE(4),Y.versionNeededToExtract=I.readUInt16LE(6),Y.generalPurposeBitFlag=I.readUInt16LE(8),Y.compressionMethod=I.readUInt16LE(10),Y.lastModFileTime=I.readUInt16LE(12),Y.lastModFileDate=I.readUInt16LE(14),Y.crc32=I.readUInt32LE(16),Y.compressedSize=I.readUInt32LE(20),Y.uncompressedSize=I.readUInt32LE(24),Y.fileNameLength=I.readUInt16LE(28),Y.extraFieldLength=I.readUInt16LE(30),Y.fileCommentLength=I.readUInt16LE(32),Y.internalFileAttributes=I.readUInt16LE(36),Y.externalFileAttributes=I.readUInt32LE(38),Y.relativeOffsetOfLocalHeader=I.readUInt32LE(42),Y.generalPurposeBitFlag&64)return i8($,Error("strong encryption is not supported"));$.readEntryCursor+=46,I=x5(Y.fileNameLength+Y.extraFieldLength+Y.fileCommentLength),wJ($.reader,I,0,I.length,$.readEntryCursor,function(Q){if(Q)return i8($,Q);if($.emittedError)return;Y.fileNameRaw=I.subarray(0,Y.fileNameLength);var K=Y.fileNameLength+Y.extraFieldLength;Y.extraFieldRaw=I.subarray(Y.fileNameLength,K),Y.fileCommentRaw=I.subarray(K,K+Y.fileCommentLength);try{Y.extraFields=SV0(Y.extraFieldRaw)}catch(L){return i8($,L)}if($.decodeStrings){var q=(Y.generalPurposeBitFlag&2048)!==0;Y.fileComment=SL(Y.fileCommentRaw,q),Y.fileName=jV0(Y.generalPurposeBitFlag,Y.fileNameRaw,Y.extraFields,$.strictFileNames);var G=_V0(Y.fileName);if(G!=null)return i8($,Error(G))}else Y.fileComment=Y.fileCommentRaw,Y.fileName=Y.fileNameRaw;Y.comment=Y.fileComment,$.readEntryCursor+=I.length,$.entriesRead+=1;for(var H=0;H<Y.extraFields.length;H++){var W=Y.extraFields[H];if(W.id!==1)continue;var V=W.data,z=0;if(Y.uncompressedSize===4294967295){if(z+8>V.length)return i8($,Error("zip64 extended information extra field does not include uncompressed size"));Y.uncompressedSize=XJ(V,z),z+=8}if(Y.compressedSize===4294967295){if(z+8>V.length)return i8($,Error("zip64 extended information extra field does not include compressed size"));Y.compressedSize=XJ(V,z),z+=8}if(Y.relativeOffsetOfLocalHeader===4294967295){if(z+8>V.length)return i8($,Error("zip64 extended information extra field does not include relative header offset"));Y.relativeOffsetOfLocalHeader=XJ(V,z),z+=8}break}if($.validateEntrySizes&&Y.compressionMethod===0){var Z=Y.uncompressedSize;if(Y.isEncrypted())Z+=12;if(Y.compressedSize!==Z){var w="compressed/uncompressed size mismatch for stored file: "+Y.compressedSize+" != "+Y.uncompressedSize;return i8($,Error(w))}}if($.emit("entry",Y),!$.lazyEntries)$._readEntry()})})};r6.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 I=null;$.on("entry",Y),$.on("end",J),$.on("error",Q);function U(){if($.removeListener("entry",Y),$.removeListener("end",J),$.removeListener("error",Q),$.autoClose)$.close()}function Y(K){let{resolve:q}=I;I=null,q({value:K})}function J(){let{resolve:K}=I;I=null,U(),K({done:!0})}function Q(K){let{reject:q}=I;I=null,U(),q(K)}return{[Symbol.asyncIterator](){return this},next(){let K=new Promise((q,G)=>{if(I!=null)throw Error("next() called before previous Promise was resolved.");I={resolve:q,reject:G}});return $.readEntry(),K},return(K){return U(),Promise.resolve({done:!0,value:K})},throw(K){return U(),Promise.reject(K)}}};r6.prototype.openReadStream=function($,I,U){var Y=this,J=0,Q=$.compressedSize;if(U==null)U=I,I=null;if(I==null)I={};else{if(I.decodeFileData===!1){if(I.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(I.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(I.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(I.decrypt!==!1)throw Error("invalid options.decrypt value: "+I.decrypt);if($.isCompressed()){if(I.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(I.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(I.decompress===!1||I.decompress===!0))throw Error("invalid options.decompress value: "+I.decompress);q=I.decompress}}if(I.start!=null){if(J=I.start,J<0)throw Error("options.start < 0");if(J>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(I.end!=null){if(Q=I.end,Q<0)throw Error("options.end < 0");if(Q>$.compressedSize)throw Error("options.end > entry.compressedSize");if(Q<J)throw Error("options.end < options.start")}}var K=I.decodeFileData===!1||($.compressionMethod===0||$.compressionMethod===8&&I.decompress===!1)&&(!$.isEncrypted()||I.decrypt===!1);if(I.start!=null||I.end!=null){if(!K)throw Error("start/end range require options.decodeFileData === false for non-trivial encoded entries.")}if(!Y.isOpen)return U(Error("closed"));if($.isEncrypted()&&!K){if(I.decrypt!==!1)return U(Error("entry is encrypted, and options.decodeFileData !== false"))}var q;if(K)q=!1;else if($.compressionMethod===8)q=I.decodeFileData!==!0;else return U(Error("unsupported compression method: "+$.compressionMethod));Y.readLocalFileHeader($,{minimal:!0},function(G,H){if(G)return U(G);Y.openReadStreamLowLevel(H.fileDataStart,$.compressedSize,J,Q,q,$.uncompressedSize,U)})};r6.prototype.openReadStreamLowLevel=function($,I,U,Y,J,Q,K){var q=this,G=$+I,H=q.reader.createReadStream({start:$+U,end:$+Y}),W=H;if(J){var V=!1,z=ey.createInflateRaw();if(H.on("error",function(Z){setImmediate(function(){if(!V)z.emit("error",Z)})}),H.pipe(z),q.validateEntrySizes)W=new tq(Q),z.on("error",function(Z){setImmediate(function(){if(!V)W.emit("error",Z)})}),z.pipe(W);else W=z;$h(W,function(){if(V=!0,z!==W)z.unpipe(W);H.unpipe(z),H.destroy()})}K(null,W)};r6.prototype.readLocalFileHeader=function($,I,U){var Y=this;if(U==null)U=I,I=null;if(I==null)I={};Y.reader.ref();var J=x5(30);wJ(Y.reader,J,0,J.length,$.relativeOffsetOfLocalHeader,function(Q){try{if(Q)return U(Q);var K=J.readUInt32LE(0);if(K!==67324752)return U(Error("invalid local file header signature: 0x"+K.toString(16)));var q=J.readUInt16LE(26),G=J.readUInt16LE(28),H=$.relativeOffsetOfLocalHeader+30+q+G;if(H+$.compressedSize>Y.fileSize)return U(Error("file data overflows file bounds: "+H+" + "+$.compressedSize+" > "+Y.fileSize));if(I.minimal)return U(null,{fileDataStart:H});var W=new vV0;W.fileDataStart=H,W.versionNeededToExtract=J.readUInt16LE(4),W.generalPurposeBitFlag=J.readUInt16LE(6),W.compressionMethod=J.readUInt16LE(8),W.lastModFileTime=J.readUInt16LE(10),W.lastModFileDate=J.readUInt16LE(12),W.crc32=J.readUInt32LE(14),W.compressedSize=J.readUInt32LE(18),W.uncompressedSize=J.readUInt32LE(22),W.fileNameLength=q,W.extraFieldLength=G,J=x5(q+G),Y.reader.ref(),wJ(Y.reader,J,0,J.length,$.relativeOffsetOfLocalHeader+30,function(V){try{if(V)return U(V);return W.fileName=J.subarray(0,q),W.extraField=J.subarray(q),U(null,W)}finally{Y.reader.unref()}})}finally{Y.reader.unref()}})};r6.prototype.openReadStreamPromise=function($,I){return new Promise((U,Y)=>{this.openReadStream($,I,function(J,Q){if(J)return Y(J);U(Q)})})};r6.prototype.openReadStreamLowLevelPromise=function($,I,U,Y,J,Q){return new Promise((K,q)=>{this.openReadStream($,I,U,Y,J,Q,function(G,H){if(G)return q(G);K(H)})})};r6.prototype.readLocalFileHeaderPromise=function($,I){return new Promise((U,Y)=>{this.readLocalFileHeader($,I,function(J,Q){if(J)return Y(J);U(Q)})})};function LJ(){}LJ.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var I=0;I<this.extraFields.length;I++){var U=this.extraFields[I];if(U.id===21589){var Y=U.data;if(Y.length<5)continue;var J=Y[0],Q=1;if(!(J&Q))continue;var K=Y.readInt32LE(1);return new Date(K*1000)}else if(U.id===10){var Y=U.data;if(Y.length!==32)continue;if(Y.readUInt16LE(4)!==1)continue;if(Y.readUInt16LE(6)!==24)continue;var q=Y.readUInt32LE(8)+4294967296*Y.readInt32LE(12),G=q/1e4-11644473600000;return new Date(G)}}return CV0(this.lastModFileDate,this.lastModFileTime,$.timezone)};LJ.prototype.canDecodeFileData=function(){return!this.isEncrypted()&&(this.compressionMethod===0||this.compressionMethod===8)};LJ.prototype.isEncrypted=function(){return(this.generalPurposeBitFlag&1)!==0};LJ.prototype.isCompressed=function(){return this.compressionMethod===8};function vV0(){}function CV0($,I,U){var Y=$&31,J=($>>5&15)-1,Q=($>>9&127)+1980,K=0,q=(I&31)*2,G=I>>5&63,H=I>>11&31;if(U==null||U==="local")return new Date(Q,J,Y,H,G,q,K);else if(U==="UTC")return new Date(Date.UTC(Q,J,Y,H,G,q,K));else throw Error("unrecognized options.timezone: "+options.timezone)}function jV0($,I,U,Y){var J=null;for(var Q=0;Q<U.length;Q++){var K=U[Q];if(K.id===28789){if(K.data.length<6)continue;if(K.data.readUInt8(0)!==1)continue;var q=K.data.readUInt32LE(1);if(_21(I)!==q)continue;J=SL(K.data.subarray(5),!0);break}}if(J==null){var G=($&2048)!==0;J=SL(I,G)}if(!Y)J=J.replace(/\\/g,"/");return J}function _V0($){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 SV0($){var I=[],U=0;while(U<$.length-3){var Y=$.readUInt16LE(U+0),J=$.readUInt16LE(U+2),Q=U+4,K=Q+J;if(K>$.length)throw Error("extra field length exceeds extra field buffer size");var q=$.subarray(Q,K);I.push({id:Y,data:q}),U=K}return I}function wJ($,I,U,Y,J,Q){if(Y===0)return setImmediate(function(){Q(null,x5(0))});$.read(I,U,Y,J,function(K,q){if(K)return Q(K);if(q<Y)return Q(Error("unexpected EOF"));Q()})}yL.inherits(tq,TV0);function tq($){TV0.call(this),this.actualByteCount=0,this.expectedByteCount=$}tq.prototype._transform=function($,I,U){if(this.actualByteCount+=$.length,this.actualByteCount>this.expectedByteCount){var Y="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return U(Error(Y))}U(null,$)};tq.prototype._flush=function($){if(this.actualByteCount<this.expectedByteCount){var I="not enough bytes in the stream. expected "+this.expectedByteCount+". got only "+this.actualByteCount;return $(Error(I))}$()};yL.inherits(Z7,hL);function Z7(){hL.call(this),this.refCount=0}Z7.prototype.ref=function(){this.refCount+=1};Z7.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount>0)return;if($.refCount<0)throw Error("invalid unref");$.close(I);function I(U){if(U)return $.emit("error",U);$.emit("close")}};Z7.prototype.createReadStream=function($){if($==null)$={};var{start:I,end:U}=$;if(I===U){var Y=new Ih;return setImmediate(function(){Y.end()}),Y}var J=this._readStreamForRange(I,U),Q=!1,K=new kL(this);J.on("error",function(G){setImmediate(function(){if(!Q)K.emit("error",G)})}),$h(K,function(){J.unpipe(K),K.unref(),J.destroy()});var q=new tq(U-I);return K.on("error",function(G){setImmediate(function(){if(!Q)q.emit("error",G)})}),$h(q,function(){Q=!0,K.unpipe(q),K.destroy()}),J.pipe(K).pipe(q)};Z7.prototype._readStreamForRange=function($,I){throw Error("not implemented")};Z7.prototype.read=function($,I,U,Y,J){var Q=this.createReadStream({start:Y,end:Y+U}),K=new j21,q=0;K._write=function(G,H,W){G.copy($,I+q,0,G.length),q+=G.length,W()},K.on("finish",J),Q.on("error",function(G){J(G)}),Q.pipe(K)};Z7.prototype.close=function($){setImmediate($)};yL.inherits(kL,Ih);function kL($){Ih.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}kL.prototype._flush=function($){this.unref(),$()};kL.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var x21="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function SL($,I){if(I)return $.toString("utf8");else{var U="";for(var Y=0;Y<$.length;Y++)U+=x21[$[Y]];return U}}function XJ($,I){var U=$.readUInt32LE(I),Y=$.readUInt32LE(I+4);return Y*4294967296+U}var x5;if(typeof Buffer.allocUnsafe==="function")x5=function($){return Buffer.allocUnsafe($)};else x5=function($){return new Buffer($)};function $h($,I){if(typeof $.destroy==="function")$._destroy=function(U,Y){if(I(),Y!=null)Y(U)};else $.destroy=I}function gL($){if($)throw $}});var k5=O((cj1,yV0)=>{var uL=r("buffer"),DJ=uL.Buffer,g$={},y$;for(y$ in uL){if(!uL.hasOwnProperty(y$))continue;if(y$==="SlowBuffer"||y$==="Buffer")continue;g$[y$]=uL[y$]}var OJ=g$.Buffer={};for(y$ in DJ){if(!DJ.hasOwnProperty(y$))continue;if(y$==="allocUnsafe"||y$==="allocUnsafeSlow")continue;OJ[y$]=DJ[y$]}g$.Buffer.prototype=DJ.prototype;if(!OJ.from||OJ.from===Uint8Array.from)OJ.from=function($,I,U){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 DJ($,I,U)};if(!OJ.alloc)OJ.alloc=function($,I,U){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 Y=DJ($);if(!I||I.length===0)Y.fill(0);else if(typeof U==="string")Y.fill(I,U);else Y.fill(I);return Y};if(!g$.kStringMaxLength)try{g$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!g$.constants){if(g$.constants={MAX_LENGTH:g$.kMaxLength},g$.kStringMaxLength)g$.constants.MAX_STRING_LENGTH=g$.kStringMaxLength}yV0.exports=g$});var xV0=O(($K1)=>{var hV0="\uFEFF";$K1.PrependBOM=Yh;function Yh($,I){this.encoder=$,this.addBOM=!0}Yh.prototype.write=function($){if(this.addBOM)$=hV0+$,this.addBOM=!1;return this.encoder.write($)};Yh.prototype.end=function(){return this.encoder.end()};$K1.StripBOM=Jh;function Jh($,I){this.decoder=$,this.pass=!1,this.options=I||{}}Jh.prototype.write=function($){var I=this.decoder.write($);if(this.pass||!I)return I;if(I[0]===hV0){if(I=I.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,I};Jh.prototype.end=function(){return this.decoder.end()}});var Qh=O((mj1,kV0)=>{var YK1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function JK1($,I){for(var U in I)if(YK1(I,U))$[U]=I[U]}kV0.exports=JK1});var fV0=O((lj1,uV0)=>{var u5=k5().Buffer;uV0.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:Kh};function Kh($,I){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=Hh;else if(this.enc==="utf8")this.encoder=Zh;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=Wh,u5.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=Vh,this.defaultCharUnicode=I.defaultCharUnicode}}Kh.prototype.encoder=Gh;Kh.prototype.decoder=qh;var QK1=r("string_decoder").StringDecoder;function qh($,I){this.decoder=new QK1(I.enc)}qh.prototype.write=function($){if(!u5.isBuffer($))$=u5.from($);return this.decoder.write($)};qh.prototype.end=function(){return this.decoder.end()};function Gh($,I){this.enc=I.enc}Gh.prototype.write=function($){return u5.from($,this.enc)};Gh.prototype.end=function(){};function Hh($,I){this.prevStr=""}Hh.prototype.write=function($){$=this.prevStr+$;var I=$.length-$.length%4;return this.prevStr=$.slice(I),$=$.slice(0,I),u5.from($,"base64")};Hh.prototype.end=function(){return u5.from(this.prevStr,"base64")};function Wh($,I){}Wh.prototype.write=function($){var I=u5.alloc($.length*3),U=0;for(var Y=0;Y<$.length;Y++){var J=$.charCodeAt(Y);if(J<128)I[U++]=J;else if(J<2048)I[U++]=192+(J>>>6),I[U++]=128+(J&63);else I[U++]=224+(J>>>12),I[U++]=128+(J>>>6&63),I[U++]=128+(J&63)}return I.slice(0,U)};Wh.prototype.end=function(){};function Vh($,I){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=I.defaultCharUnicode}Vh.prototype.write=function($){var I=this.acc,U=this.contBytes,Y=this.accBytes,J="";for(var Q=0;Q<$.length;Q++){var K=$[Q];if((K&192)!==128){if(U>0)J+=this.defaultCharUnicode,U=0;if(K<128)J+=String.fromCharCode(K);else if(K<224)I=K&31,U=1,Y=1;else if(K<240)I=K&15,U=2,Y=1;else J+=this.defaultCharUnicode}else if(U>0){if(I=I<<6|K&63,U--,Y++,U===0)if(Y===2&&I<128&&I>0)J+=this.defaultCharUnicode;else if(Y===3&&I<2048)J+=this.defaultCharUnicode;else J+=String.fromCharCode(I)}else J+=this.defaultCharUnicode}return this.acc=I,this.contBytes=U,this.accBytes=Y,J};Vh.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function Zh($,I){this.highSurrogate=""}Zh.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var I=$.charCodeAt($.length-1);if(I>=55296&&I<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return u5.from($,this.enc)};Zh.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",u5.from($,this.enc)}}});var nV0=O((KK1)=>{var fL=k5().Buffer;KK1._utf32=zh;function zh($,I){this.iconv=I,this.bomAware=!0,this.isLE=$.isLE}KK1.utf32le={type:"_utf32",isLE:!0};KK1.utf32be={type:"_utf32",isLE:!1};KK1.ucs4le="utf32le";KK1.ucs4be="utf32be";zh.prototype.encoder=Xh;zh.prototype.decoder=wh;function Xh($,I){this.isLE=I.isLE,this.highSurrogate=0}Xh.prototype.write=function($){var I=fL.from($,"ucs2"),U=fL.alloc(I.length*2+4),Y=this.isLE?U.writeUInt32LE:U.writeUInt32BE,J=0;for(var Q=0;Q<I.length;Q+=2){var K=I.readUInt16LE(Q),q=K>=55296&&K<56320,G=K>=56320&&K<57344;if(this.highSurrogate)if(q||!G)Y.call(U,this.highSurrogate,J),J+=4;else{var H=(this.highSurrogate-55296<<10|K-56320)+65536;Y.call(U,H,J),J+=4,this.highSurrogate=0;continue}if(q)this.highSurrogate=K;else Y.call(U,K,J),J+=4,this.highSurrogate=0}if(J<U.length)U=U.slice(0,J);return U};Xh.prototype.end=function(){if(!this.highSurrogate)return;var $=fL.alloc(4);if(this.isLE)$.writeUInt32LE(this.highSurrogate,0);else $.writeUInt32BE(this.highSurrogate,0);return this.highSurrogate=0,$};function wh($,I){this.isLE=I.isLE,this.badChar=I.iconv.defaultCharUnicode.charCodeAt(0),this.overflow=[]}wh.prototype.write=function($){if($.length===0)return"";var I=0,U=0,Y=fL.alloc($.length+4),J=0,Q=this.isLE,K=this.overflow,q=this.badChar;if(K.length>0){for(;I<$.length&&K.length<4;I++)K.push($[I]);if(K.length===4){if(Q)U=K[0]|K[1]<<8|K[2]<<16|K[3]<<24;else U=K[3]|K[2]<<8|K[1]<<16|K[0]<<24;K.length=0,J=bV0(Y,J,U,q)}}for(;I<$.length-3;I+=4){if(Q)U=$[I]|$[I+1]<<8|$[I+2]<<16|$[I+3]<<24;else U=$[I+3]|$[I+2]<<8|$[I+1]<<16|$[I]<<24;J=bV0(Y,J,U,q)}for(;I<$.length;I++)K.push($[I]);return Y.slice(0,J).toString("ucs2")};function bV0($,I,U,Y){if(U<0||U>1114111)U=Y;if(U>=65536){U-=65536;var J=55296|U>>10;$[I++]=J&255,$[I++]=J>>8;var U=56320|U&1023}return $[I++]=U&255,$[I++]=U>>8,I}wh.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};KK1.utf32=Lh;KK1.ucs4="utf32";function Lh($,I){this.iconv=I}Lh.prototype.encoder=Dh;Lh.prototype.decoder=Oh;function Dh($,I){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=I.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}Dh.prototype.write=function($){return this.encoder.write($)};Dh.prototype.end=function(){return this.encoder.end()};function Oh($,I){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=I.iconv}Oh.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var I=iV0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(I,this.options);var U="";for(var Y=0;Y<this.initialBufs.length;Y++)U+=this.decoder.write(this.initialBufs[Y]);return this.initialBufs.length=this.initialBufsLen=0,U}return this.decoder.write($)};Oh.prototype.end=function(){if(!this.decoder){var $=iV0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder($,this.options);var I="";for(var U=0;U<this.initialBufs.length;U++)I+=this.decoder.write(this.initialBufs[U]);var Y=this.decoder.end();if(Y)I+=Y;return this.initialBufs.length=this.initialBufsLen=0,I}return this.decoder.end()};function iV0($,I){var U=[],Y=0,J=0,Q=0,K=0,q=0;$:for(var G=0;G<$.length;G++){var H=$[G];for(var W=0;W<H.length;W++)if(U.push(H[W]),U.length===4){if(Y===0){if(U[0]===255&&U[1]===254&&U[2]===0&&U[3]===0)return"utf-32le";if(U[0]===0&&U[1]===0&&U[2]===254&&U[3]===255)return"utf-32be"}if(U[0]!==0||U[1]>16)Q++;if(U[3]!==0||U[2]>16)J++;if(U[0]===0&&U[1]===0&&(U[2]!==0||U[3]!==0))q++;if((U[0]!==0||U[1]!==0)&&U[2]===0&&U[3]===0)K++;if(U.length=0,Y++,Y>=100)break $}}if(q-Q>K-J)return"utf-32be";if(q-Q<K-J)return"utf-32le";return I||"utf-32le"}});var dV0=O((XK1)=>{var pV0=k5().Buffer;XK1.utf16be=bL;function bL(){}bL.prototype.encoder=Nh;bL.prototype.decoder=Fh;bL.prototype.bomAware=!0;function Nh(){}Nh.prototype.write=function($){var I=pV0.from($,"ucs2");for(var U=0;U<I.length;U+=2){var Y=I[U];I[U]=I[U+1],I[U+1]=Y}return I};Nh.prototype.end=function(){};function Fh(){this.overflowByte=-1}Fh.prototype.write=function($){if($.length==0)return"";var I=pV0.alloc($.length+1),U=0,Y=0;if(this.overflowByte!==-1)I[0]=$[0],I[1]=this.overflowByte,U=1,Y=2;for(;U<$.length-1;U+=2,Y+=2)I[Y]=$[U+1],I[Y+1]=$[U];return this.overflowByte=U==$.length-1?$[$.length-1]:-1,I.slice(0,Y).toString("ucs2")};Fh.prototype.end=function(){this.overflowByte=-1};XK1.utf16=Mh;function Mh($,I){this.iconv=I}Mh.prototype.encoder=Ah;Mh.prototype.decoder=Ph;function Ah($,I){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=I.iconv.getEncoder("utf-16le",$)}Ah.prototype.write=function($){return this.encoder.write($)};Ah.prototype.end=function(){return this.encoder.end()};function Ph($,I){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=I.iconv}Ph.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<16)return"";var I=cV0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(I,this.options);var U="";for(var Y=0;Y<this.initialBufs.length;Y++)U+=this.decoder.write(this.initialBufs[Y]);return this.initialBufs.length=this.initialBufsLen=0,U}return this.decoder.write($)};Ph.prototype.end=function(){if(!this.decoder){var $=cV0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder($,this.options);var I="";for(var U=0;U<this.initialBufs.length;U++)I+=this.decoder.write(this.initialBufs[U]);var Y=this.decoder.end();if(Y)I+=Y;return this.initialBufs.length=this.initialBufsLen=0,I}return this.decoder.end()};function cV0($,I){var U=[],Y=0,J=0,Q=0;$:for(var K=0;K<$.length;K++){var q=$[K];for(var G=0;G<q.length;G++)if(U.push(q[G]),U.length===2){if(Y===0){if(U[0]===255&&U[1]===254)return"utf-16le";if(U[0]===254&&U[1]===255)return"utf-16be"}if(U[0]===0&&U[1]!==0)Q++;if(U[0]!==0&&U[1]===0)J++;if(U.length=0,Y++,Y>=100)break $}}if(Q>J)return"utf-16be";if(Q<J)return"utf-16le";return I||"utf-16le"}});var lV0=O((FK1)=>{var n8=k5().Buffer;FK1.utf7=iL;FK1.unicode11utf7="utf7";function iL($,I){this.iconv=I}iL.prototype.encoder=Eh;iL.prototype.decoder=Bh;iL.prototype.bomAware=!0;var DK1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Eh($,I){this.iconv=I.iconv}Eh.prototype.write=function($){return n8.from($.replace(DK1,function(I){return"+"+(I==="+"?"":this.iconv.encode(I,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Eh.prototype.end=function(){};function Bh($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=""}var OK1=/[A-Za-z0-9\/+]/,Rh=[];for(NJ=0;NJ<256;NJ++)Rh[NJ]=OK1.test(String.fromCharCode(NJ));var NJ,NK1=43,e3=45,Th=38;Bh.prototype.write=function($){var I="",U=0,Y=this.inBase64,J=this.base64Accum;for(var Q=0;Q<$.length;Q++)if(!Y){if($[Q]==NK1)I+=this.iconv.decode($.slice(U,Q),"ascii"),U=Q+1,Y=!0}else if(!Rh[$[Q]]){if(Q==U&&$[Q]==e3)I+="+";else{var K=J+this.iconv.decode($.slice(U,Q),"ascii");I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}if($[Q]!=e3)Q--;U=Q+1,Y=!1,J=""}if(!Y)I+=this.iconv.decode($.slice(U),"ascii");else{var K=J+this.iconv.decode($.slice(U),"ascii"),q=K.length-K.length%8;J=K.slice(q),K=K.slice(0,q),I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}return this.inBase64=Y,this.base64Accum=J,I};Bh.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(n8.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};FK1.utf7imap=nL;function nL($,I){this.iconv=I}nL.prototype.encoder=vh;nL.prototype.decoder=Ch;nL.prototype.bomAware=!0;function vh($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=n8.alloc(6),this.base64AccumIdx=0}vh.prototype.write=function($){var I=this.inBase64,U=this.base64Accum,Y=this.base64AccumIdx,J=n8.alloc($.length*5+10),Q=0;for(var K=0;K<$.length;K++){var q=$.charCodeAt(K);if(q>=32&&q<=126){if(I){if(Y>0)Q+=J.write(U.slice(0,Y).toString("base64").replace(/\//g,",").replace(/=+$/,""),Q),Y=0;J[Q++]=e3,I=!1}if(!I){if(J[Q++]=q,q===Th)J[Q++]=e3}}else{if(!I)J[Q++]=Th,I=!0;if(I){if(U[Y++]=q>>8,U[Y++]=q&255,Y==U.length)Q+=J.write(U.toString("base64").replace(/\//g,","),Q),Y=0}}}return this.inBase64=I,this.base64AccumIdx=Y,J.slice(0,Q)};vh.prototype.end=function(){var $=n8.alloc(10),I=0;if(this.inBase64){if(this.base64AccumIdx>0)I+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),I),this.base64AccumIdx=0;$[I++]=e3,this.inBase64=!1}return $.slice(0,I)};function Ch($,I){this.iconv=I.iconv,this.inBase64=!1,this.base64Accum=""}var mV0=Rh.slice();mV0[44]=!0;Ch.prototype.write=function($){var I="",U=0,Y=this.inBase64,J=this.base64Accum;for(var Q=0;Q<$.length;Q++)if(!Y){if($[Q]==Th)I+=this.iconv.decode($.slice(U,Q),"ascii"),U=Q+1,Y=!0}else if(!mV0[$[Q]]){if(Q==U&&$[Q]==e3)I+="&";else{var K=J+this.iconv.decode($.slice(U,Q),"ascii").replace(/,/g,"/");I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}if($[Q]!=e3)Q--;U=Q+1,Y=!1,J=""}if(!Y)I+=this.iconv.decode($.slice(U),"ascii");else{var K=J+this.iconv.decode($.slice(U),"ascii").replace(/,/g,"/"),q=K.length-K.length%8;J=K.slice(q),K=K.slice(0,q),I+=this.iconv.decode(n8.from(K,"base64"),"utf16-be")}return this.inBase64=Y,this.base64Accum=J,I};Ch.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(n8.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var oV0=O((TK1)=>{var pL=k5().Buffer;TK1._sbcs=jh;function jh($,I){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 U="";for(var Y=0;Y<128;Y++)U+=String.fromCharCode(Y);$.chars=U+$.chars}this.decodeBuf=pL.from($.chars,"ucs2");var J=pL.alloc(65536,I.defaultCharSingleByte.charCodeAt(0));for(var Y=0;Y<$.chars.length;Y++)J[$.chars.charCodeAt(Y)]=Y;this.encodeBuf=J}jh.prototype.encoder=_h;jh.prototype.decoder=Sh;function _h($,I){this.encodeBuf=I.encodeBuf}_h.prototype.write=function($){var I=pL.alloc($.length);for(var U=0;U<$.length;U++)I[U]=this.encodeBuf[$.charCodeAt(U)];return I};_h.prototype.end=function(){};function Sh($,I){this.decodeBuf=I.decodeBuf}Sh.prototype.write=function($){var I=this.decodeBuf,U=pL.alloc($.length*2),Y=0,J=0;for(var Q=0;Q<$.length;Q++)Y=$[Q]*2,J=Q*2,U[J]=I[Y],U[J+1]=I[Y+1];return U.toString("ucs2")};Sh.prototype.end=function(){}});var tV0=O((sj1,rV0)=>{rV0.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 sV0=O((ej1,aV0)=>{aV0.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 $Z0=O((BK1)=>{var gh=k5().Buffer;BK1._dbcs=f5;var H6=-1,eV0=-2,h$=-10,S6=-1000,FJ=Array(256),sq=-1;for(aq=0;aq<256;aq++)FJ[aq]=H6;var aq;function f5($,I){if(this.encodingName=$.encodingName,!$)throw Error("DBCS codec is called without the data.");if(!$.table)throw Error("Encoding '"+this.encodingName+"' has no data.");var U=$.table();this.decodeTables=[],this.decodeTables[0]=FJ.slice(0),this.decodeTableSeq=[];for(var Y=0;Y<U.length;Y++)this._addDecodeChunk(U[Y]);if(typeof $.gb18030==="function"){this.gb18030=$.gb18030();var J=this.decodeTables.length;this.decodeTables.push(FJ.slice(0));var Q=this.decodeTables.length;this.decodeTables.push(FJ.slice(0));var K=this.decodeTables[0];for(var Y=129;Y<=254;Y++){var q=this.decodeTables[S6-K[Y]];for(var G=48;G<=57;G++){if(q[G]===H6)q[G]=S6-J;else if(q[G]>S6)throw Error("gb18030 decode tables conflict at byte 2");var H=this.decodeTables[S6-q[G]];for(var W=129;W<=254;W++){if(H[W]===H6)H[W]=S6-Q;else if(H[W]===S6-Q)continue;else if(H[W]>S6)throw Error("gb18030 decode tables conflict at byte 3");var V=this.decodeTables[S6-H[W]];for(var z=48;z<=57;z++)if(V[z]===H6)V[z]=eV0}}}}this.defaultCharUnicode=I.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var Z={};if($.encodeSkipVals)for(var Y=0;Y<$.encodeSkipVals.length;Y++){var w=$.encodeSkipVals[Y];if(typeof w==="number")Z[w]=!0;else for(var G=w.from;G<=w.to;G++)Z[G]=!0}if(this._fillEncodeTable(0,0,Z),$.encodeAdd){for(var L in $.encodeAdd)if(Object.prototype.hasOwnProperty.call($.encodeAdd,L))this._setEncodeChar(L.charCodeAt(0),$.encodeAdd[L])}if(this.defCharSB=this.encodeTable[0][I.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===H6)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===H6)this.defCharSB=63}f5.prototype.encoder=cL;f5.prototype.decoder=yh;f5.prototype._getDecodeTrieNode=function($){var I=[];for(;$>0;$>>>=8)I.push($&255);if(I.length==0)I.push(0);var U=this.decodeTables[0];for(var Y=I.length-1;Y>0;Y--){var J=U[I[Y]];if(J==H6)U[I[Y]]=S6-this.decodeTables.length,this.decodeTables.push(U=FJ.slice(0));else if(J<=S6)U=this.decodeTables[S6-J];else throw Error("Overwrite byte in "+this.encodingName+", addr: "+$.toString(16))}return U};f5.prototype._addDecodeChunk=function($){var I=parseInt($[0],16),U=this._getDecodeTrieNode(I);I=I&255;for(var Y=1;Y<$.length;Y++){var J=$[Y];if(typeof J==="string")for(var Q=0;Q<J.length;){var K=J.charCodeAt(Q++);if(K>=55296&&K<56320){var q=J.charCodeAt(Q++);if(q>=56320&&q<57344)U[I++]=65536+(K-55296)*1024+(q-56320);else throw Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+$[0])}else if(K>4080&&K<=4095){var G=4095-K+2,H=[];for(var W=0;W<G;W++)H.push(J.charCodeAt(Q++));U[I++]=h$-this.decodeTableSeq.length,this.decodeTableSeq.push(H)}else U[I++]=K}else if(typeof J==="number"){var V=U[I-1]+1;for(var Q=0;Q<J;Q++)U[I++]=V++}else throw Error("Incorrect type '"+typeof J+"' given in "+this.encodingName+" at chunk "+$[0])}if(I>255)throw Error("Incorrect chunk in "+this.encodingName+" at addr "+$[0]+": too long"+I)};f5.prototype._getEncodeBucket=function($){var I=$>>8;if(this.encodeTable[I]===void 0)this.encodeTable[I]=FJ.slice(0);return this.encodeTable[I]};f5.prototype._setEncodeChar=function($,I){var U=this._getEncodeBucket($),Y=$&255;if(U[Y]<=h$)this.encodeTableSeq[h$-U[Y]][sq]=I;else if(U[Y]==H6)U[Y]=I};f5.prototype._setEncodeSequence=function($,I){var U=$[0],Y=this._getEncodeBucket(U),J=U&255,Q;if(Y[J]<=h$)Q=this.encodeTableSeq[h$-Y[J]];else{if(Q={},Y[J]!==H6)Q[sq]=Y[J];Y[J]=h$-this.encodeTableSeq.length,this.encodeTableSeq.push(Q)}for(var K=1;K<$.length-1;K++){var q=Q[U];if(typeof q==="object")Q=q;else if(Q=Q[U]={},q!==void 0)Q[sq]=q}U=$[$.length-1],Q[U]=I};f5.prototype._fillEncodeTable=function($,I,U){var Y=this.decodeTables[$],J=!1,Q={};for(var K=0;K<256;K++){var q=Y[K],G=I+K;if(U[G])continue;if(q>=0)this._setEncodeChar(q,G),J=!0;else if(q<=S6){var H=S6-q;if(!Q[H]){var W=G<<8>>>0;if(this._fillEncodeTable(H,W,U))J=!0;else Q[H]=!0}}else if(q<=h$)this._setEncodeSequence(this.decodeTableSeq[h$-q],G),J=!0}return J};function cL($,I){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=I.encodeTable,this.encodeTableSeq=I.encodeTableSeq,this.defaultCharSingleByte=I.defCharSB,this.gb18030=I.gb18030}cL.prototype.write=function($){var I=gh.alloc($.length*(this.gb18030?4:3)),U=this.leadSurrogate,Y=this.seqObj,J=-1,Q=0,K=0;while(!0){if(J===-1){if(Q==$.length)break;var q=$.charCodeAt(Q++)}else{var q=J;J=-1}if(q>=55296&&q<57344)if(q<56320)if(U===-1){U=q;continue}else U=q,q=H6;else if(U!==-1)q=65536+(U-55296)*1024+(q-56320),U=-1;else q=H6;else if(U!==-1)J=q,q=H6,U=-1;var G=H6;if(Y!==void 0&&q!=H6){var H=Y[q];if(typeof H==="object"){Y=H;continue}else if(typeof H==="number")G=H;else if(H==null){if(H=Y[sq],H!==void 0)G=H,J=q}Y=void 0}else if(q>=0){var W=this.encodeTable[q>>8];if(W!==void 0)G=W[q&255];if(G<=h$){Y=this.encodeTableSeq[h$-G];continue}if(G==H6&&this.gb18030){var V=hh(this.gb18030.uChars,q);if(V!=-1){var G=this.gb18030.gbChars[V]+(q-this.gb18030.uChars[V]);I[K++]=129+Math.floor(G/12600),G=G%12600,I[K++]=48+Math.floor(G/1260),G=G%1260,I[K++]=129+Math.floor(G/10),G=G%10,I[K++]=48+G;continue}}}if(G===H6)G=this.defaultCharSingleByte;if(G<256)I[K++]=G;else if(G<65536)I[K++]=G>>8,I[K++]=G&255;else if(G<16777216)I[K++]=G>>16,I[K++]=G>>8&255,I[K++]=G&255;else I[K++]=G>>>24,I[K++]=G>>>16&255,I[K++]=G>>>8&255,I[K++]=G&255}return this.seqObj=Y,this.leadSurrogate=U,I.slice(0,K)};cL.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===void 0)return;var $=gh.alloc(10),I=0;if(this.seqObj){var U=this.seqObj[sq];if(U!==void 0)if(U<256)$[I++]=U;else $[I++]=U>>8,$[I++]=U&255;this.seqObj=void 0}if(this.leadSurrogate!==-1)$[I++]=this.defaultCharSingleByte,this.leadSurrogate=-1;return $.slice(0,I)};cL.prototype.findIdx=hh;function yh($,I){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=I.decodeTables,this.decodeTableSeq=I.decodeTableSeq,this.defaultCharUnicode=I.defaultCharUnicode,this.gb18030=I.gb18030}yh.prototype.write=function($){var I=gh.alloc($.length*2),U=this.nodeIdx,Y=this.prevBytes,J=this.prevBytes.length,Q=-this.prevBytes.length,K;for(var q=0,G=0;q<$.length;q++){var H=q>=0?$[q]:Y[q+J],K=this.decodeTables[U][H];if(K>=0);else if(K===H6)K=this.defaultCharUnicode.charCodeAt(0),q=Q;else if(K===eV0){if(q>=3)var W=($[q-3]-129)*12600+($[q-2]-48)*1260+($[q-1]-129)*10+(H-48);else var W=(Y[q-3+J]-129)*12600+((q-2>=0?$[q-2]:Y[q-2+J])-48)*1260+((q-1>=0?$[q-1]:Y[q-1+J])-129)*10+(H-48);var V=hh(this.gb18030.gbChars,W);K=this.gb18030.uChars[V]+W-this.gb18030.gbChars[V]}else if(K<=S6){U=S6-K;continue}else if(K<=h$){var z=this.decodeTableSeq[h$-K];for(var Z=0;Z<z.length-1;Z++)K=z[Z],I[G++]=K&255,I[G++]=K>>8;K=z[z.length-1]}else throw Error("iconv-lite internal error: invalid decoding table value "+K+" at "+U+"/"+H);if(K>=65536){K-=65536;var w=55296|K>>10;I[G++]=w&255,I[G++]=w>>8,K=56320|K&1023}I[G++]=K&255,I[G++]=K>>8,U=0,Q=q+1}return this.nodeIdx=U,this.prevBytes=Q>=0?Array.prototype.slice.call($,Q):Y.slice(Q+J).concat(Array.prototype.slice.call($)),I.slice(0,G).toString("ucs2")};yh.prototype.end=function(){var $="";while(this.prevBytes.length>0){$+=this.defaultCharUnicode;var I=this.prevBytes.slice(1);if(this.prevBytes=[],this.nodeIdx=0,I.length>0)$+=this.write(I)}return this.prevBytes=[],this.nodeIdx=0,$};function hh($,I){if($[0]>I)return-1;var U=0,Y=$.length;while(U<Y-1){var J=U+(Y-U+1>>1);if($[J]<=I)U=J;else Y=J}return U}});var IZ0=O((I_1,vK1)=>{vK1.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 UZ0=O((U_1,CK1)=>{CK1.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 dL=O((Y_1,jK1)=>{jK1.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 xh=O((J_1,_K1)=>{_K1.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 YZ0=O((Q_1,SK1)=>{SK1.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 JZ0=O((K_1,gK1)=>{gK1.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 kh=O((q_1,yK1)=>{yK1.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 QZ0=O((G_1,hK1)=>{hK1.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 qZ0=O((H_1,KZ0)=>{KZ0.exports={shiftjis:{type:"_dbcs",table:function(){return IZ0()},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 UZ0()},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 dL()}},gbk:{type:"_dbcs",table:function(){return dL().concat(xh())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return dL().concat(xh())},gb18030:function(){return YZ0()},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return JZ0()}},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 kh()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return kh().concat(QZ0())},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 WZ0=O((HZ0,$G)=>{var xK1=Qh(),GZ0=[fV0(),nV0(),dV0(),lV0(),oV0(),tV0(),sV0(),$Z0(),qZ0()];for(eq=0;eq<GZ0.length;eq++)$G=GZ0[eq],xK1(HZ0,$G);var $G,eq});var zZ0=O((W_1,ZZ0)=>{var VZ0=k5().Buffer;ZZ0.exports=function($){var I=$.Transform;function U(J,Q){this.conv=J,Q=Q||{},Q.decodeStrings=!1,I.call(this,Q)}U.prototype=Object.create(I.prototype,{constructor:{value:U}}),U.prototype._transform=function(J,Q,K){if(typeof J!=="string")return K(Error("Iconv encoding stream needs strings as its input."));try{var q=this.conv.write(J);if(q&&q.length)this.push(q);K()}catch(G){K(G)}},U.prototype._flush=function(J){try{var Q=this.conv.end();if(Q&&Q.length)this.push(Q);J()}catch(K){J(K)}},U.prototype.collect=function(J){var Q=[];return this.on("error",J),this.on("data",function(K){Q.push(K)}),this.on("end",function(){J(null,VZ0.concat(Q))}),this};function Y(J,Q){this.conv=J,Q=Q||{},Q.encoding=this.encoding="utf8",I.call(this,Q)}return Y.prototype=Object.create(I.prototype,{constructor:{value:Y}}),Y.prototype._transform=function(J,Q,K){if(!VZ0.isBuffer(J)&&!(J instanceof Uint8Array))return K(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);K()}catch(G){K(G)}},Y.prototype._flush=function(J){try{var Q=this.conv.end();if(Q&&Q.length)this.push(Q,this.encoding);J()}catch(K){J(K)}},Y.prototype.collect=function(J){var Q="";return this.on("error",J),this.on("data",function(K){Q+=K}),this.on("end",function(){J(null,Q)}),this},{IconvLiteEncoderStream:U,IconvLiteDecoderStream:Y}}});var MZ0=O((nK1,c0)=>{var XZ0=k5().Buffer,wZ0=xV0(),iK1=Qh();nK1.encodings=null;nK1.defaultCharUnicode="�";nK1.defaultCharSingleByte="?";nK1.encode=function(I,U,Y){I=""+(I||"");var J=nK1.getEncoder(U,Y),Q=J.write(I),K=J.end();return K&&K.length>0?XZ0.concat([Q,K]):Q};nK1.decode=function(I,U,Y){if(typeof I==="string"){if(!nK1.skipDecodeWarning)console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),nK1.skipDecodeWarning=!0;I=XZ0.from(""+(I||""),"binary")}var J=nK1.getDecoder(U,Y),Q=J.write(I),K=J.end();return K?Q+K:Q};nK1.encodingExists=function(I){try{return nK1.getCodec(I),!0}catch(U){return!1}};nK1.toEncoding=nK1.encode;nK1.fromEncoding=nK1.decode;nK1._codecDataCache={__proto__:null};nK1.getCodec=function(I){if(!nK1.encodings){var U=WZ0();nK1.encodings={__proto__:null},iK1(nK1.encodings,U)}var Y=nK1._canonicalizeEncoding(I),J={};while(!0){var Q=nK1._codecDataCache[Y];if(Q)return Q;var K=nK1.encodings[Y];switch(typeof K){case"string":Y=K;break;case"object":for(var q in K)J[q]=K[q];if(!J.encodingName)J.encodingName=Y;Y=K.type;break;case"function":if(!J.encodingName)J.encodingName=Y;return Q=new K(J,nK1),nK1._codecDataCache[J.encodingName]=Q,Q;default:throw Error("Encoding not recognized: '"+I+"' (searched as: '"+Y+"')")}}};nK1._canonicalizeEncoding=function($){return(""+$).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};nK1.getEncoder=function(I,U){var Y=nK1.getCodec(I),J=new Y.encoder(U,Y);if(Y.bomAware&&U&&U.addBOM)J=new wZ0.PrependBOM(J,U);return J};nK1.getDecoder=function(I,U){var Y=nK1.getCodec(I),J=new Y.decoder(U,Y);if(Y.bomAware&&!(U&&U.stripBOM===!1))J=new wZ0.StripBOM(J,U);return J};nK1.enableStreamingAPI=function(I){if(nK1.supportsStreams)return;var U=zZ0()(I);nK1.IconvLiteEncoderStream=U.IconvLiteEncoderStream,nK1.IconvLiteDecoderStream=U.IconvLiteDecoderStream,nK1.encodeStream=function(J,Q){return new nK1.IconvLiteEncoderStream(nK1.getEncoder(J,Q),Q)},nK1.decodeStream=function(J,Q){return new nK1.IconvLiteDecoderStream(nK1.getDecoder(J,Q),Q)},nK1.supportsStreams=!0};var mL;try{mL=r("stream")}catch($){}if(mL&&mL.Transform)nK1.enableStreamingAPI(mL);else nK1.encodeStream=nK1.decodeStream=function(){throw Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});import{dirname as LG,resolve as RX0}from"node:path";import{fileURLToPath as mG1}from"node:url";var r8={};m8(r8,{version:()=>gO,util:()=>w0,treeifyError:()=>uD,toJSONSchema:()=>hH,toDotPath:()=>Wk,safeParseAsync:()=>pJ,safeParse:()=>OI,safeEncodeAsync:()=>Dk,safeEncode:()=>wk,safeDecodeAsync:()=>Ok,safeDecode:()=>Lk,registry:()=>KH,regexes:()=>e6,process:()=>C1,prettifyError:()=>fD,parseAsync:()=>nJ,parse:()=>iJ,meta:()=>EM,locales:()=>$Q,isValidJWT:()=>bk,isValidBase64URL:()=>fk,isValidBase64:()=>IN,initializeContext:()=>a5,globalRegistry:()=>d4,globalConfig:()=>O7,formatError:()=>bJ,flattenError:()=>fJ,finalize:()=>e5,extractDefs:()=>s5,encodeAsync:()=>zk,encode:()=>Vk,describe:()=>TM,decodeAsync:()=>Xk,decode:()=>Zk,createToJSONSchemaMethod:()=>RM,createStandardJSONSchemaMethod:()=>hI,config:()=>Z4,clone:()=>M6,_xor:()=>XD0,_xid:()=>DH,_void:()=>wM,_uuidv7:()=>VH,_uuidv6:()=>WH,_uuidv4:()=>HH,_uuid:()=>GH,_url:()=>UQ,_uppercase:()=>TI,_unknown:()=>zM,_union:()=>zD0,_undefined:()=>WM,_ulid:()=>LH,_uint64:()=>GM,_uint32:()=>UM,_tuple:()=>DD0,_trim:()=>jI,_transform:()=>TD0,_toUpperCase:()=>SI,_toLowerCase:()=>_I,_templateLiteral:()=>gD0,_symbol:()=>HM,_superRefine:()=>PM,_success:()=>CD0,_stringbool:()=>BM,_stringFormat:()=>yI,_string:()=>nF,_startsWith:()=>BI,_slugify:()=>gI,_size:()=>P7,_set:()=>FD0,_safeParseAsync:()=>NI,_safeParse:()=>DI,_safeEncodeAsync:()=>dG,_safeEncode:()=>pG,_safeDecodeAsync:()=>mG,_safeDecode:()=>cG,_regex:()=>AI,_refine:()=>AM,_record:()=>OD0,_readonly:()=>SD0,_property:()=>_H,_promise:()=>hD0,_positive:()=>RH,_pipe:()=>_D0,_parseAsync:()=>LI,_parse:()=>wI,_overwrite:()=>u$,_optional:()=>ED0,_number:()=>tF,_nullable:()=>BD0,_null:()=>VM,_normalize:()=>CI,_nonpositive:()=>CH,_nonoptional:()=>vD0,_nonnegative:()=>jH,_never:()=>XM,_negative:()=>vH,_nativeEnum:()=>AD0,_nanoid:()=>zH,_nan:()=>OM,_multipleOf:()=>r5,_minSize:()=>G8,_minLength:()=>o8,_min:()=>P6,_mime:()=>vI,_maxSize:()=>t5,_maxLength:()=>T7,_max:()=>$$,_map:()=>ND0,_mac:()=>cF,_lte:()=>$$,_lt:()=>K8,_lowercase:()=>PI,_literal:()=>PD0,_length:()=>E7,_lazy:()=>yD0,_ksuid:()=>OH,_jwt:()=>BH,_isoTime:()=>oF,_isoDuration:()=>rF,_isoDateTime:()=>mF,_isoDate:()=>lF,_ipv6:()=>FH,_ipv4:()=>NH,_intersection:()=>LD0,_int64:()=>qM,_int32:()=>IM,_int:()=>sF,_includes:()=>EI,_guid:()=>IQ,_gte:()=>P6,_gt:()=>q8,_float64:()=>$M,_float32:()=>eF,_file:()=>FM,_enum:()=>MD0,_endsWith:()=>RI,_encodeAsync:()=>iG,_encode:()=>fG,_emoji:()=>ZH,_email:()=>qH,_e164:()=>EH,_discriminatedUnion:()=>wD0,_default:()=>RD0,_decodeAsync:()=>nG,_decode:()=>bG,_date:()=>LM,_custom:()=>MM,_cuid2:()=>wH,_cuid:()=>XH,_coercedString:()=>pF,_coercedNumber:()=>aF,_coercedDate:()=>DM,_coercedBoolean:()=>JM,_coercedBigint:()=>KM,_cidrv6:()=>AH,_cidrv4:()=>MH,_check:()=>rk,_catch:()=>jD0,_boolean:()=>YM,_bigint:()=>QM,_base64url:()=>TH,_base64:()=>PH,_array:()=>NM,_any:()=>ZM,TimePrecision:()=>dF,NEVER:()=>BD,JSONSchemaGenerator:()=>VA,JSONSchema:()=>tk,Doc:()=>tG,$output:()=>fF,$input:()=>bF,$constructor:()=>o,$brand:()=>RD,$ZodXor:()=>NN,$ZodXID:()=>cO,$ZodVoid:()=>wN,$ZodUnknown:()=>zN,$ZodUnion:()=>oJ,$ZodUndefined:()=>WN,$ZodUUID:()=>xO,$ZodURL:()=>uO,$ZodULID:()=>pO,$ZodType:()=>i0,$ZodTuple:()=>YH,$ZodTransform:()=>vN,$ZodTemplateLiteral:()=>fN,$ZodSymbol:()=>HN,$ZodSuccess:()=>yN,$ZodStringFormat:()=>S1,$ZodString:()=>A7,$ZodSet:()=>TN,$ZodRegistry:()=>iF,$ZodRecord:()=>AN,$ZodRealError:()=>h6,$ZodReadonly:()=>uN,$ZodPromise:()=>iN,$ZodPreprocess:()=>kN,$ZodPrefault:()=>SN,$ZodPipe:()=>QH,$ZodOptional:()=>JH,$ZodObjectJIT:()=>ON,$ZodObject:()=>pk,$ZodNumberFormat:()=>qN,$ZodNumber:()=>IH,$ZodNullable:()=>jN,$ZodNull:()=>VN,$ZodNonOptional:()=>gN,$ZodNever:()=>XN,$ZodNanoID:()=>bO,$ZodNaN:()=>xN,$ZodMap:()=>PN,$ZodMAC:()=>sO,$ZodLiteral:()=>BN,$ZodLazy:()=>nN,$ZodKSUID:()=>dO,$ZodJWT:()=>QN,$ZodIntersection:()=>MN,$ZodISOTime:()=>oO,$ZodISODuration:()=>rO,$ZodISODateTime:()=>mO,$ZodISODate:()=>lO,$ZodIPv6:()=>aO,$ZodIPv4:()=>tO,$ZodGUID:()=>hO,$ZodFunction:()=>bN,$ZodFile:()=>RN,$ZodExactOptional:()=>CN,$ZodError:()=>uJ,$ZodEnum:()=>EN,$ZodEncodeError:()=>N7,$ZodEmoji:()=>fO,$ZodEmail:()=>kO,$ZodE164:()=>JN,$ZodDiscriminatedUnion:()=>FN,$ZodDefault:()=>_N,$ZodDate:()=>LN,$ZodCustomStringFormat:()=>KN,$ZodCustom:()=>pN,$ZodCodec:()=>rJ,$ZodCheckUpperCase:()=>BO,$ZodCheckStringFormat:()=>FI,$ZodCheckStartsWith:()=>vO,$ZodCheckSizeEquals:()=>FO,$ZodCheckRegex:()=>TO,$ZodCheckProperty:()=>jO,$ZodCheckOverwrite:()=>SO,$ZodCheckNumberFormat:()=>LO,$ZodCheckMultipleOf:()=>wO,$ZodCheckMinSize:()=>NO,$ZodCheckMinLength:()=>AO,$ZodCheckMimeType:()=>_O,$ZodCheckMaxSize:()=>OO,$ZodCheckMaxLength:()=>MO,$ZodCheckLowerCase:()=>EO,$ZodCheckLessThan:()=>oG,$ZodCheckLengthEquals:()=>PO,$ZodCheckIncludes:()=>RO,$ZodCheckGreaterThan:()=>rG,$ZodCheckEndsWith:()=>CO,$ZodCheckBigIntFormat:()=>DO,$ZodCheck:()=>k1,$ZodCatch:()=>hN,$ZodCUID2:()=>nO,$ZodCUID:()=>iO,$ZodCIDRv6:()=>$N,$ZodCIDRv4:()=>eO,$ZodBoolean:()=>lJ,$ZodBigIntFormat:()=>GN,$ZodBigInt:()=>UH,$ZodBase64URL:()=>YN,$ZodBase64:()=>UN,$ZodAsyncError:()=>Q8,$ZodArray:()=>DN,$ZodAny:()=>ZN});var Jk,BD=Object.freeze({status:"aborted"});function o($,I,U){function Y(q,G){if(!q._zod)Object.defineProperty(q,"_zod",{value:{def:G,constr:K,traits:new Set},enumerable:!1});if(q._zod.traits.has($))return;q._zod.traits.add($),I(q,G);let H=K.prototype,W=Object.keys(H);for(let V=0;V<W.length;V++){let z=W[V];if(!(z in q))q[z]=H[z].bind(q)}}let J=U?.Parent??Object;class Q extends J{}Object.defineProperty(Q,"name",{value:$});function K(q){var G;let H=U?.Parent?new Q:this;Y(H,q),(G=H._zod).deferred??(G.deferred=[]);for(let W of H._zod.deferred)W();return H}return Object.defineProperty(K,"init",{value:Y}),Object.defineProperty(K,Symbol.hasInstance,{value:(q)=>{if(U?.Parent&&q instanceof U.Parent)return!0;return q?._zod?.traits?.has($)}}),Object.defineProperty(K,"name",{value:$}),K}var RD=Symbol("zod_brand");class Q8 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class N7 extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}}(Jk=globalThis).__zod_globalConfig??(Jk.__zod_globalConfig={});var O7=globalThis.__zod_globalConfig;function Z4($){if($)Object.assign(O7,$);return O7}var w0={};m8(w0,{unwrapMessage:()=>SJ,uint8ArrayToHex:()=>bw0,uint8ArrayToBase64url:()=>uw0,uint8ArrayToBase64:()=>qk,stringifyPrimitive:()=>V0,slugify:()=>jD,shallowClone:()=>SD,safeExtend:()=>Sw0,required:()=>hw0,randomString:()=>Ew0,propertyKeyTypes:()=>hJ,promiseAllObject:()=>Tw0,primitiveTypes:()=>gD,prefixIssues:()=>y6,pick:()=>Cw0,partial:()=>yw0,parsedType:()=>z0,optionalKeys:()=>yD,omit:()=>jw0,objectClone:()=>Mw0,numKeys:()=>Bw0,nullish:()=>d5,normalizeParams:()=>L0,mergeDefs:()=>l8,merge:()=>gw0,jsonStringifyReplacer:()=>ZI,joinValues:()=>I0,issue:()=>XI,isPlainObject:()=>l5,isObject:()=>F7,hexToUint8Array:()=>fw0,getSizableOrigin:()=>xJ,getParsedType:()=>Rw0,getLengthableOrigin:()=>kJ,getEnumValues:()=>gJ,getElementAtPath:()=>Pw0,floatSafeRemainder:()=>CD,finalizeIssue:()=>A6,extend:()=>_w0,explicitlyAborted:()=>kD,escapeRegex:()=>X$,esc:()=>kG,defineLazy:()=>s0,createTransparentProxy:()=>vw0,cloneDef:()=>Aw0,clone:()=>M6,cleanRegex:()=>yJ,cleanEnum:()=>xw0,captureStackTrace:()=>uG,cached:()=>zI,base64urlToUint8Array:()=>kw0,base64ToUint8Array:()=>Kk,assignProp:()=>m5,assertNotEqual:()=>Dw0,assertNever:()=>Nw0,assertIs:()=>Ow0,assertEqual:()=>Lw0,assert:()=>Fw0,allowsEval:()=>_D,aborted:()=>o5,NUMBER_FORMAT_RANGES:()=>hD,Class:()=>Gk,BIGINT_FORMAT_RANGES:()=>xD});function Lw0($){return $}function Dw0($){return $}function Ow0($){}function Nw0($){throw Error("Unexpected value in exhaustive check")}function Fw0($){}function gJ($){let I=Object.values($).filter((Y)=>typeof Y==="number");return Object.entries($).filter(([Y,J])=>I.indexOf(+Y)===-1).map(([Y,J])=>J)}function I0($,I="|"){return $.map((U)=>V0(U)).join(I)}function ZI($,I){if(typeof I==="bigint")return I.toString();return I}function zI($){return{get value(){{let U=$();return Object.defineProperty(this,"value",{value:U}),U}throw Error("cached value already set")}}}function d5($){return $===null||$===void 0}function yJ($){let I=$.startsWith("^")?1:0,U=$.endsWith("$")?$.length-1:$.length;return $.slice(I,U)}function CD($,I){let U=$/I,Y=Math.round(U),J=Number.EPSILON*Math.max(Math.abs(U),1);if(Math.abs(U-Y)<J)return 0;return U-Y}var Qk=Symbol("evaluating");function s0($,I,U){let Y=void 0;Object.defineProperty($,I,{get(){if(Y===Qk)return;if(Y===void 0)Y=Qk,Y=U();return Y},set(J){Object.defineProperty($,I,{value:J})},configurable:!0})}function Mw0($){return Object.create(Object.getPrototypeOf($),Object.getOwnPropertyDescriptors($))}function m5($,I,U){Object.defineProperty($,I,{value:U,writable:!0,enumerable:!0,configurable:!0})}function l8(...$){let I={};for(let U of $){let Y=Object.getOwnPropertyDescriptors(U);Object.assign(I,Y)}return Object.defineProperties({},I)}function Aw0($){return l8($._zod.def)}function Pw0($,I){if(!I)return $;return I.reduce((U,Y)=>U?.[Y],$)}function Tw0($){let I=Object.keys($),U=I.map((Y)=>$[Y]);return Promise.all(U).then((Y)=>{let J={};for(let Q=0;Q<I.length;Q++)J[I[Q]]=Y[Q];return J})}function Ew0($=10){let U="";for(let Y=0;Y<$;Y++)U+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return U}function kG($){return JSON.stringify($)}function jD($){return $.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var uG="captureStackTrace"in Error?Error.captureStackTrace:(...$)=>{};function F7($){return typeof $==="object"&&$!==null&&!Array.isArray($)}var _D=zI(()=>{if(O7.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});function l5($){if(F7($)===!1)return!1;let I=$.constructor;if(I===void 0)return!0;if(typeof I!=="function")return!0;let U=I.prototype;if(F7(U)===!1)return!1;if(Object.prototype.hasOwnProperty.call(U,"isPrototypeOf")===!1)return!1;return!0}function SD($){if(l5($))return{...$};if(Array.isArray($))return[...$];if($ instanceof Map)return new Map($);if($ instanceof Set)return new Set($);return $}function Bw0($){let I=0;for(let U in $)if(Object.prototype.hasOwnProperty.call($,U))I++;return I}var Rw0=($)=>{let I=typeof $;switch(I){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: ${I}`)}},hJ=new Set(["string","number","symbol"]),gD=new Set(["string","number","bigint","boolean","symbol","undefined"]);function X$($){return $.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function M6($,I,U){let Y=new $._zod.constr(I??$._zod.def);if(!I||U?.parent)Y._zod.parent=$;return Y}function L0($){let I=$;if(!I)return{};if(typeof I==="string")return{error:()=>I};if(I?.message!==void 0){if(I?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");I.error=I.message}if(delete I.message,typeof I.error==="string")return{...I,error:()=>I.error};return I}function vw0($){let I;return new Proxy({},{get(U,Y,J){return I??(I=$()),Reflect.get(I,Y,J)},set(U,Y,J,Q){return I??(I=$()),Reflect.set(I,Y,J,Q)},has(U,Y){return I??(I=$()),Reflect.has(I,Y)},deleteProperty(U,Y){return I??(I=$()),Reflect.deleteProperty(I,Y)},ownKeys(U){return I??(I=$()),Reflect.ownKeys(I)},getOwnPropertyDescriptor(U,Y){return I??(I=$()),Reflect.getOwnPropertyDescriptor(I,Y)},defineProperty(U,Y,J){return I??(I=$()),Reflect.defineProperty(I,Y,J)}})}function V0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function yD($){return Object.keys($).filter((I)=>{return $[I]._zod.optin==="optional"&&$[I]._zod.optout==="optional"})}var hD={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]},xD={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Cw0($,I){let U=$._zod.def,Y=U.checks;if(Y&&Y.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let Q=l8($._zod.def,{get shape(){let K={};for(let q in I){if(!(q in U.shape))throw Error(`Unrecognized key: "${q}"`);if(!I[q])continue;K[q]=U.shape[q]}return m5(this,"shape",K),K},checks:[]});return M6($,Q)}function jw0($,I){let U=$._zod.def,Y=U.checks;if(Y&&Y.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let Q=l8($._zod.def,{get shape(){let K={...$._zod.def.shape};for(let q in I){if(!(q in U.shape))throw Error(`Unrecognized key: "${q}"`);if(!I[q])continue;delete K[q]}return m5(this,"shape",K),K},checks:[]});return M6($,Q)}function _w0($,I){if(!l5(I))throw Error("Invalid input to extend: expected a plain object");let U=$._zod.def.checks;if(U&&U.length>0){let Q=$._zod.def.shape;for(let K in I)if(Object.getOwnPropertyDescriptor(Q,K)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let J=l8($._zod.def,{get shape(){let Q={...$._zod.def.shape,...I};return m5(this,"shape",Q),Q}});return M6($,J)}function Sw0($,I){if(!l5(I))throw Error("Invalid input to safeExtend: expected a plain object");let U=l8($._zod.def,{get shape(){let Y={...$._zod.def.shape,...I};return m5(this,"shape",Y),Y}});return M6($,U)}function gw0($,I){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let U=l8($._zod.def,{get shape(){let Y={...$._zod.def.shape,...I._zod.def.shape};return m5(this,"shape",Y),Y},get catchall(){return I._zod.def.catchall},checks:I._zod.def.checks??[]});return M6($,U)}function yw0($,I,U){let J=I._zod.def.checks;if(J&&J.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let K=l8(I._zod.def,{get shape(){let q=I._zod.def.shape,G={...q};if(U)for(let H in U){if(!(H in q))throw Error(`Unrecognized key: "${H}"`);if(!U[H])continue;G[H]=$?new $({type:"optional",innerType:q[H]}):q[H]}else for(let H in q)G[H]=$?new $({type:"optional",innerType:q[H]}):q[H];return m5(this,"shape",G),G},checks:[]});return M6(I,K)}function hw0($,I,U){let Y=l8(I._zod.def,{get shape(){let J=I._zod.def.shape,Q={...J};if(U)for(let K in U){if(!(K in Q))throw Error(`Unrecognized key: "${K}"`);if(!U[K])continue;Q[K]=new $({type:"nonoptional",innerType:J[K]})}else for(let K in J)Q[K]=new $({type:"nonoptional",innerType:J[K]});return m5(this,"shape",Q),Q}});return M6(I,Y)}function o5($,I=0){if($.aborted===!0)return!0;for(let U=I;U<$.issues.length;U++)if($.issues[U]?.continue!==!0)return!0;return!1}function kD($,I=0){if($.aborted===!0)return!0;for(let U=I;U<$.issues.length;U++)if($.issues[U]?.continue===!1)return!0;return!1}function y6($,I){return I.map((U)=>{var Y;return(Y=U).path??(Y.path=[]),U.path.unshift($),U})}function SJ($){return typeof $==="string"?$:$?.message}function A6($,I,U){let Y=$.message?$.message:SJ($.inst?._zod.def?.error?.($))??SJ(I?.error?.($))??SJ(U.customError?.($))??SJ(U.localeError?.($))??"Invalid input",{inst:J,continue:Q,input:K,...q}=$;if(q.path??(q.path=[]),q.message=Y,I?.reportInput)q.input=K;return q}function xJ($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function kJ($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function z0($){let I=typeof $;switch(I){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let U=$;if(U&&Object.getPrototypeOf(U)!==Object.prototype&&"constructor"in U&&U.constructor)return U.constructor.name}}return I}function XI(...$){let[I,U,Y]=$;if(typeof I==="string")return{message:I,code:"custom",input:U,inst:Y};return{...I}}function xw0($){return Object.entries($).filter(([I,U])=>{return Number.isNaN(Number.parseInt(I,10))}).map((I)=>I[1])}function Kk($){let I=atob($),U=new Uint8Array(I.length);for(let Y=0;Y<I.length;Y++)U[Y]=I.charCodeAt(Y);return U}function qk($){let I="";for(let U=0;U<$.length;U++)I+=String.fromCharCode($[U]);return btoa(I)}function kw0($){let I=$.replace(/-/g,"+").replace(/_/g,"/"),U="=".repeat((4-I.length%4)%4);return Kk(I+U)}function uw0($){return qk($).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function fw0($){let I=$.replace(/^0x/,"");if(I.length%2!==0)throw Error("Invalid hex string length");let U=new Uint8Array(I.length/2);for(let Y=0;Y<I.length;Y+=2)U[Y/2]=Number.parseInt(I.slice(Y,Y+2),16);return U}function bw0($){return Array.from($).map((I)=>I.toString(16).padStart(2,"0")).join("")}class Gk{constructor(...$){}}var Hk=($,I)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:I,enumerable:!1}),$.message=JSON.stringify(I,ZI,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},uJ=o("$ZodError",Hk),h6=o("$ZodError",Hk,{Parent:Error});function fJ($,I=(U)=>U.message){let U={},Y=[];for(let J of $.issues)if(J.path.length>0)U[J.path[0]]=U[J.path[0]]||[],U[J.path[0]].push(I(J));else Y.push(I(J));return{formErrors:Y,fieldErrors:U}}function bJ($,I=(U)=>U.message){let U={_errors:[]},Y=(J,Q=[])=>{for(let K of J.issues)if(K.code==="invalid_union"&&K.errors.length)K.errors.map((q)=>Y({issues:q},[...Q,...K.path]));else if(K.code==="invalid_key")Y({issues:K.issues},[...Q,...K.path]);else if(K.code==="invalid_element")Y({issues:K.issues},[...Q,...K.path]);else{let q=[...Q,...K.path];if(q.length===0)U._errors.push(I(K));else{let G=U,H=0;while(H<q.length){let W=q[H];if(H!==q.length-1)G[W]=G[W]||{_errors:[]};else G[W]=G[W]||{_errors:[]},G[W]._errors.push(I(K));G=G[W],H++}}}};return Y($),U}function uD($,I=(U)=>U.message){let U={errors:[]},Y=(J,Q=[])=>{var K,q;for(let G of J.issues)if(G.code==="invalid_union"&&G.errors.length)G.errors.map((H)=>Y({issues:H},[...Q,...G.path]));else if(G.code==="invalid_key")Y({issues:G.issues},[...Q,...G.path]);else if(G.code==="invalid_element")Y({issues:G.issues},[...Q,...G.path]);else{let H=[...Q,...G.path];if(H.length===0){U.errors.push(I(G));continue}let W=U,V=0;while(V<H.length){let z=H[V],Z=V===H.length-1;if(typeof z==="string")W.properties??(W.properties={}),(K=W.properties)[z]??(K[z]={errors:[]}),W=W.properties[z];else W.items??(W.items=[]),(q=W.items)[z]??(q[z]={errors:[]}),W=W.items[z];if(Z)W.errors.push(I(G));V++}}};return Y($),U}function Wk($){let I=[],U=$.map((Y)=>typeof Y==="object"?Y.key:Y);for(let Y of U)if(typeof Y==="number")I.push(`[${Y}]`);else if(typeof Y==="symbol")I.push(`[${JSON.stringify(String(Y))}]`);else if(/[^\w$]/.test(Y))I.push(`[${JSON.stringify(Y)}]`);else{if(I.length)I.push(".");I.push(Y)}return I.join("")}function fD($){let I=[],U=[...$.issues].sort((Y,J)=>(Y.path??[]).length-(J.path??[]).length);for(let Y of U)if(I.push(`✖ ${Y.message}`),Y.path?.length)I.push(` → at ${Wk(Y.path)}`);return I.join(`
`)}var wI=($)=>(I,U,Y,J)=>{let Q=Y?{...Y,async:!1}:{async:!1},K=I._zod.run({value:U,issues:[]},Q);if(K instanceof Promise)throw new Q8;if(K.issues.length){let q=new(J?.Err??$)(K.issues.map((G)=>A6(G,Q,Z4())));throw uG(q,J?.callee),q}return K.value},iJ=wI(h6),LI=($)=>async(I,U,Y,J)=>{let Q=Y?{...Y,async:!0}:{async:!0},K=I._zod.run({value:U,issues:[]},Q);if(K instanceof Promise)K=await K;if(K.issues.length){let q=new(J?.Err??$)(K.issues.map((G)=>A6(G,Q,Z4())));throw uG(q,J?.callee),q}return K.value},nJ=LI(h6),DI=($)=>(I,U,Y)=>{let J=Y?{...Y,async:!1}:{async:!1},Q=I._zod.run({value:U,issues:[]},J);if(Q instanceof Promise)throw new Q8;return Q.issues.length?{success:!1,error:new($??uJ)(Q.issues.map((K)=>A6(K,J,Z4())))}:{success:!0,data:Q.value}},OI=DI(h6),NI=($)=>async(I,U,Y)=>{let J=Y?{...Y,async:!0}:{async:!0},Q=I._zod.run({value:U,issues:[]},J);if(Q instanceof Promise)Q=await Q;return Q.issues.length?{success:!1,error:new $(Q.issues.map((K)=>A6(K,J,Z4())))}:{success:!0,data:Q.value}},pJ=NI(h6),fG=($)=>(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return wI($)(I,U,J)},Vk=fG(h6),bG=($)=>(I,U,Y)=>{return wI($)(I,U,Y)},Zk=bG(h6),iG=($)=>async(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return LI($)(I,U,J)},zk=iG(h6),nG=($)=>async(I,U,Y)=>{return LI($)(I,U,Y)},Xk=nG(h6),pG=($)=>(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return DI($)(I,U,J)},wk=pG(h6),cG=($)=>(I,U,Y)=>{return DI($)(I,U,Y)},Lk=cG(h6),dG=($)=>async(I,U,Y)=>{let J=Y?{...Y,direction:"backward"}:{direction:"backward"};return NI($)(I,U,J)},Dk=dG(h6),mG=($)=>async(I,U,Y)=>{return NI($)(I,U,Y)},Ok=mG(h6);var e6={};m8(e6,{xid:()=>pD,uuid7:()=>dw0,uuid6:()=>cw0,uuid4:()=>pw0,uuid:()=>M7,uppercase:()=>XO,unicodeEmail:()=>Nk,undefined:()=>ZO,ulid:()=>nD,time:()=>QO,string:()=>qO,sha512_hex:()=>ZL0,sha512_base64url:()=>XL0,sha512_base64:()=>zL0,sha384_hex:()=>HL0,sha384_base64url:()=>VL0,sha384_base64:()=>WL0,sha256_hex:()=>KL0,sha256_base64url:()=>GL0,sha256_base64:()=>qL0,sha1_hex:()=>YL0,sha1_base64url:()=>QL0,sha1_base64:()=>JL0,rfc5322Email:()=>lw0,number:()=>cJ,null:()=>VO,nanoid:()=>dD,md5_hex:()=>$L0,md5_base64url:()=>UL0,md5_base64:()=>IL0,mac:()=>sD,lowercase:()=>zO,ksuid:()=>cD,ipv6:()=>aD,ipv4:()=>tD,integer:()=>HO,idnEmail:()=>ow0,httpProtocol:()=>UO,html5Email:()=>mw0,hostname:()=>aw0,hex:()=>ew0,guid:()=>lD,extendedDuration:()=>nw0,emoji:()=>rD,email:()=>oD,e164:()=>YO,duration:()=>mD,domain:()=>sw0,datetime:()=>KO,date:()=>JO,cuid2:()=>iD,cuid:()=>bD,cidrv6:()=>$O,cidrv4:()=>eD,browserEmail:()=>rw0,boolean:()=>WO,bigint:()=>GO,base64url:()=>lG,base64:()=>IO});var bD=/^[cC][0-9a-z]{6,}$/,iD=/^[0-9a-z]+$/,nD=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,pD=/^[0-9a-vA-V]{20}$/,cD=/^[A-Za-z0-9]{27}$/,dD=/^[a-zA-Z0-9_-]{21}$/,mD=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,nw0=/^[-+]?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)?)??$/,lD=/^([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})$/,M7=($)=>{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})$`)},pw0=M7(4),cw0=M7(6),dw0=M7(7),oD=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,mw0=/^[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])?)*$/,lw0=/^(([^<>()\[\]\\.,;:\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,}))$/,Nk=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,ow0=Nk,rw0=/^[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])?)*$/,tw0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function rD(){return new RegExp(tw0,"u")}var tD=/^(?:(?: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])$/,aD=/^(([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}|:))$/,sD=($)=>{let I=X$($??":");return new RegExp(`^(?:[0-9A-F]{2}${I}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${I}){5}[0-9a-f]{2}$`)},eD=/^((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])$/,$O=/^(([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])$/,IO=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,lG=/^[A-Za-z0-9_-]*$/,aw0=/^(?=.{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])?)*\.?$/,sw0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,UO=/^https?$/,YO=/^\+[1-9]\d{6,14}$/,Fk="(?:(?:\\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])))",JO=new RegExp(`^${Fk}$`);function Mk($){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 QO($){return new RegExp(`^${Mk($)}$`)}function KO($){let I=Mk({precision:$.precision}),U=["Z"];if($.local)U.push("");if($.offset)U.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let Y=`${I}(?:${U.join("|")})`;return new RegExp(`^${Fk}T(?:${Y})$`)}var qO=($)=>{let I=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${I}$`)},GO=/^-?\d+n?$/,HO=/^-?\d+$/,cJ=/^-?\d+(?:\.\d+)?$/,WO=/^(?:true|false)$/i,VO=/^null$/i;var ZO=/^undefined$/i;var zO=/^[^A-Z]*$/,XO=/^[^a-z]*$/,ew0=/^[0-9a-fA-F]*$/;function dJ($,I){return new RegExp(`^[A-Za-z0-9+/]{${$}}${I}$`)}function mJ($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var $L0=/^[0-9a-fA-F]{32}$/,IL0=dJ(22,"=="),UL0=mJ(22),YL0=/^[0-9a-fA-F]{40}$/,JL0=dJ(27,"="),QL0=mJ(27),KL0=/^[0-9a-fA-F]{64}$/,qL0=dJ(43,"="),GL0=mJ(43),HL0=/^[0-9a-fA-F]{96}$/,WL0=dJ(64,""),VL0=mJ(64),ZL0=/^[0-9a-fA-F]{128}$/,zL0=dJ(86,"=="),XL0=mJ(86);var k1=o("$ZodCheck",($,I)=>{var U;$._zod??($._zod={}),$._zod.def=I,(U=$._zod).onattach??(U.onattach=[])}),Pk={number:"number",bigint:"bigint",object:"date"},oG=o("$ZodCheckLessThan",($,I)=>{k1.init($,I);let U=Pk[typeof I.value];$._zod.onattach.push((Y)=>{let J=Y._zod.bag,Q=(I.inclusive?J.maximum:J.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(I.value<Q)if(I.inclusive)J.maximum=I.value;else J.exclusiveMaximum=I.value}),$._zod.check=(Y)=>{if(I.inclusive?Y.value<=I.value:Y.value<I.value)return;Y.issues.push({origin:U,code:"too_big",maximum:typeof I.value==="object"?I.value.getTime():I.value,input:Y.value,inclusive:I.inclusive,inst:$,continue:!I.abort})}}),rG=o("$ZodCheckGreaterThan",($,I)=>{k1.init($,I);let U=Pk[typeof I.value];$._zod.onattach.push((Y)=>{let J=Y._zod.bag,Q=(I.inclusive?J.minimum:J.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(I.value>Q)if(I.inclusive)J.minimum=I.value;else J.exclusiveMinimum=I.value}),$._zod.check=(Y)=>{if(I.inclusive?Y.value>=I.value:Y.value>I.value)return;Y.issues.push({origin:U,code:"too_small",minimum:typeof I.value==="object"?I.value.getTime():I.value,input:Y.value,inclusive:I.inclusive,inst:$,continue:!I.abort})}}),wO=o("$ZodCheckMultipleOf",($,I)=>{k1.init($,I),$._zod.onattach.push((U)=>{var Y;(Y=U._zod.bag).multipleOf??(Y.multipleOf=I.value)}),$._zod.check=(U)=>{if(typeof U.value!==typeof I.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof U.value==="bigint"?U.value%I.value===BigInt(0):CD(U.value,I.value)===0)return;U.issues.push({origin:typeof U.value,code:"not_multiple_of",divisor:I.value,input:U.value,inst:$,continue:!I.abort})}}),LO=o("$ZodCheckNumberFormat",($,I)=>{k1.init($,I),I.format=I.format||"float64";let U=I.format?.includes("int"),Y=U?"int":"number",[J,Q]=hD[I.format];$._zod.onattach.push((K)=>{let q=K._zod.bag;if(q.format=I.format,q.minimum=J,q.maximum=Q,U)q.pattern=HO}),$._zod.check=(K)=>{let q=K.value;if(U){if(!Number.isInteger(q)){K.issues.push({expected:Y,format:I.format,code:"invalid_type",continue:!1,input:q,inst:$});return}if(!Number.isSafeInteger(q)){if(q>0)K.issues.push({input:q,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:Y,inclusive:!0,continue:!I.abort});else K.issues.push({input:q,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:Y,inclusive:!0,continue:!I.abort});return}}if(q<J)K.issues.push({origin:"number",input:q,code:"too_small",minimum:J,inclusive:!0,inst:$,continue:!I.abort});if(q>Q)K.issues.push({origin:"number",input:q,code:"too_big",maximum:Q,inclusive:!0,inst:$,continue:!I.abort})}}),DO=o("$ZodCheckBigIntFormat",($,I)=>{k1.init($,I);let[U,Y]=xD[I.format];$._zod.onattach.push((J)=>{let Q=J._zod.bag;Q.format=I.format,Q.minimum=U,Q.maximum=Y}),$._zod.check=(J)=>{let Q=J.value;if(Q<U)J.issues.push({origin:"bigint",input:Q,code:"too_small",minimum:U,inclusive:!0,inst:$,continue:!I.abort});if(Q>Y)J.issues.push({origin:"bigint",input:Q,code:"too_big",maximum:Y,inclusive:!0,inst:$,continue:!I.abort})}}),OO=o("$ZodCheckMaxSize",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum<J)Y._zod.bag.maximum=I.maximum}),$._zod.check=(Y)=>{let J=Y.value;if(J.size<=I.maximum)return;Y.issues.push({origin:xJ(J),code:"too_big",maximum:I.maximum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),NO=o("$ZodCheckMinSize",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>J)Y._zod.bag.minimum=I.minimum}),$._zod.check=(Y)=>{let J=Y.value;if(J.size>=I.minimum)return;Y.issues.push({origin:xJ(J),code:"too_small",minimum:I.minimum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),FO=o("$ZodCheckSizeEquals",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.size!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.minimum=I.size,J.maximum=I.size,J.size=I.size}),$._zod.check=(Y)=>{let J=Y.value,Q=J.size;if(Q===I.size)return;let K=Q>I.size;Y.issues.push({origin:xJ(J),...K?{code:"too_big",maximum:I.size}:{code:"too_small",minimum:I.size},inclusive:!0,exact:!0,input:Y.value,inst:$,continue:!I.abort})}}),MO=o("$ZodCheckMaxLength",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.maximum??Number.POSITIVE_INFINITY;if(I.maximum<J)Y._zod.bag.maximum=I.maximum}),$._zod.check=(Y)=>{let J=Y.value;if(J.length<=I.maximum)return;let K=kJ(J);Y.issues.push({origin:K,code:"too_big",maximum:I.maximum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),AO=o("$ZodCheckMinLength",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(I.minimum>J)Y._zod.bag.minimum=I.minimum}),$._zod.check=(Y)=>{let J=Y.value;if(J.length>=I.minimum)return;let K=kJ(J);Y.issues.push({origin:K,code:"too_small",minimum:I.minimum,inclusive:!0,input:J,inst:$,continue:!I.abort})}}),PO=o("$ZodCheckLengthEquals",($,I)=>{var U;k1.init($,I),(U=$._zod.def).when??(U.when=(Y)=>{let J=Y.value;return!d5(J)&&J.length!==void 0}),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.minimum=I.length,J.maximum=I.length,J.length=I.length}),$._zod.check=(Y)=>{let J=Y.value,Q=J.length;if(Q===I.length)return;let K=kJ(J),q=Q>I.length;Y.issues.push({origin:K,...q?{code:"too_big",maximum:I.length}:{code:"too_small",minimum:I.length},inclusive:!0,exact:!0,input:Y.value,inst:$,continue:!I.abort})}}),FI=o("$ZodCheckStringFormat",($,I)=>{var U,Y;if(k1.init($,I),$._zod.onattach.push((J)=>{let Q=J._zod.bag;if(Q.format=I.format,I.pattern)Q.patterns??(Q.patterns=new Set),Q.patterns.add(I.pattern)}),I.pattern)(U=$._zod).check??(U.check=(J)=>{if(I.pattern.lastIndex=0,I.pattern.test(J.value))return;J.issues.push({origin:"string",code:"invalid_format",format:I.format,input:J.value,...I.pattern?{pattern:I.pattern.toString()}:{},inst:$,continue:!I.abort})});else(Y=$._zod).check??(Y.check=()=>{})}),TO=o("$ZodCheckRegex",($,I)=>{FI.init($,I),$._zod.check=(U)=>{if(I.pattern.lastIndex=0,I.pattern.test(U.value))return;U.issues.push({origin:"string",code:"invalid_format",format:"regex",input:U.value,pattern:I.pattern.toString(),inst:$,continue:!I.abort})}}),EO=o("$ZodCheckLowerCase",($,I)=>{I.pattern??(I.pattern=zO),FI.init($,I)}),BO=o("$ZodCheckUpperCase",($,I)=>{I.pattern??(I.pattern=XO),FI.init($,I)}),RO=o("$ZodCheckIncludes",($,I)=>{k1.init($,I);let U=X$(I.includes),Y=new RegExp(typeof I.position==="number"?`^.{${I.position}}${U}`:U);I.pattern=Y,$._zod.onattach.push((J)=>{let Q=J._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(Y)}),$._zod.check=(J)=>{if(J.value.includes(I.includes,I.position))return;J.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:I.includes,input:J.value,inst:$,continue:!I.abort})}}),vO=o("$ZodCheckStartsWith",($,I)=>{k1.init($,I);let U=new RegExp(`^${X$(I.prefix)}.*`);I.pattern??(I.pattern=U),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Y)=>{if(Y.value.startsWith(I.prefix))return;Y.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:I.prefix,input:Y.value,inst:$,continue:!I.abort})}}),CO=o("$ZodCheckEndsWith",($,I)=>{k1.init($,I);let U=new RegExp(`.*${X$(I.suffix)}$`);I.pattern??(I.pattern=U),$._zod.onattach.push((Y)=>{let J=Y._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(U)}),$._zod.check=(Y)=>{if(Y.value.endsWith(I.suffix))return;Y.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:I.suffix,input:Y.value,inst:$,continue:!I.abort})}});function Ak($,I,U){if($.issues.length)I.issues.push(...y6(U,$.issues))}var jO=o("$ZodCheckProperty",($,I)=>{k1.init($,I),$._zod.check=(U)=>{let Y=I.schema._zod.run({value:U.value[I.property],issues:[]},{});if(Y instanceof Promise)return Y.then((J)=>Ak(J,U,I.property));Ak(Y,U,I.property);return}}),_O=o("$ZodCheckMimeType",($,I)=>{k1.init($,I);let U=new Set(I.mime);$._zod.onattach.push((Y)=>{Y._zod.bag.mime=I.mime}),$._zod.check=(Y)=>{if(U.has(Y.value.type))return;Y.issues.push({code:"invalid_value",values:I.mime,input:Y.value.type,inst:$,continue:!I.abort})}}),SO=o("$ZodCheckOverwrite",($,I)=>{k1.init($,I),$._zod.check=(U)=>{U.value=I.tx(U.value)}});class tG{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 U=$.split(`
`).filter((Q)=>Q),Y=Math.min(...U.map((Q)=>Q.length-Q.trimStart().length)),J=U.map((Q)=>Q.slice(Y)).map((Q)=>" ".repeat(this.indent*2)+Q);for(let Q of J)this.content.push(Q)}compile(){let $=Function,I=this?.args,Y=[...(this?.content??[""]).map((J)=>` ${J}`)];return new $(...I,Y.join(`
`))}}var gO={major:4,minor:4,patch:3};var i0=o("$ZodType",($,I)=>{var U;$??($={}),$._zod.def=I,$._zod.bag=$._zod.bag||{},$._zod.version=gO;let Y=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))Y.unshift($);for(let J of Y)for(let Q of J._zod.onattach)Q($);if(Y.length===0)(U=$._zod).deferred??(U.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let J=(K,q,G)=>{let H=o5(K),W;for(let V of q){if(V._zod.def.when){if(kD(K))continue;if(!V._zod.def.when(K))continue}else if(H)continue;let z=K.issues.length,Z=V._zod.check(K);if(Z instanceof Promise&&G?.async===!1)throw new Q8;if(W||Z instanceof Promise)W=(W??Promise.resolve()).then(async()=>{if(await Z,K.issues.length===z)return;if(!H)H=o5(K,z)});else{if(K.issues.length===z)continue;if(!H)H=o5(K,z)}}if(W)return W.then(()=>{return K});return K},Q=(K,q,G)=>{if(o5(K))return K.aborted=!0,K;let H=J(q,Y,G);if(H instanceof Promise){if(G.async===!1)throw new Q8;return H.then((W)=>$._zod.parse(W,G))}return $._zod.parse(H,G)};$._zod.run=(K,q)=>{if(q.skipChecks)return $._zod.parse(K,q);if(q.direction==="backward"){let H=$._zod.parse({value:K.value,issues:[]},{...q,skipChecks:!0});if(H instanceof Promise)return H.then((W)=>{return Q(W,K,q)});return Q(H,K,q)}let G=$._zod.parse(K,q);if(G instanceof Promise){if(q.async===!1)throw new Q8;return G.then((H)=>J(H,Y,q))}return J(G,Y,q)}}s0($,"~standard",()=>({validate:(J)=>{try{let Q=OI($,J);return Q.success?{value:Q.data}:{issues:Q.error?.issues}}catch(Q){return pJ($,J).then((K)=>K.success?{value:K.data}:{issues:K.error?.issues})}},vendor:"zod",version:1}))}),A7=o("$ZodString",($,I)=>{i0.init($,I),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??qO($._zod.bag),$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=String(U.value)}catch(J){}if(typeof U.value==="string")return U;return U.issues.push({expected:"string",code:"invalid_type",input:U.value,inst:$}),U}}),S1=o("$ZodStringFormat",($,I)=>{FI.init($,I),A7.init($,I)}),hO=o("$ZodGUID",($,I)=>{I.pattern??(I.pattern=lD),S1.init($,I)}),xO=o("$ZodUUID",($,I)=>{if(I.version){let Y={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[I.version];if(Y===void 0)throw Error(`Invalid UUID version: "${I.version}"`);I.pattern??(I.pattern=M7(Y))}else I.pattern??(I.pattern=M7());S1.init($,I)}),kO=o("$ZodEmail",($,I)=>{I.pattern??(I.pattern=oD),S1.init($,I)}),uO=o("$ZodURL",($,I)=>{S1.init($,I),$._zod.check=(U)=>{try{let Y=U.value.trim();if(!I.normalize&&I.protocol?.source===UO.source){if(!/^https?:\/\//i.test(Y)){U.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:U.value,inst:$,continue:!I.abort});return}}let J=new URL(Y);if(I.hostname){if(I.hostname.lastIndex=0,!I.hostname.test(J.hostname))U.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:I.hostname.source,input:U.value,inst:$,continue:!I.abort})}if(I.protocol){if(I.protocol.lastIndex=0,!I.protocol.test(J.protocol.endsWith(":")?J.protocol.slice(0,-1):J.protocol))U.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:I.protocol.source,input:U.value,inst:$,continue:!I.abort})}if(I.normalize)U.value=J.href;else U.value=Y;return}catch(Y){U.issues.push({code:"invalid_format",format:"url",input:U.value,inst:$,continue:!I.abort})}}}),fO=o("$ZodEmoji",($,I)=>{I.pattern??(I.pattern=rD()),S1.init($,I)}),bO=o("$ZodNanoID",($,I)=>{I.pattern??(I.pattern=dD),S1.init($,I)}),iO=o("$ZodCUID",($,I)=>{I.pattern??(I.pattern=bD),S1.init($,I)}),nO=o("$ZodCUID2",($,I)=>{I.pattern??(I.pattern=iD),S1.init($,I)}),pO=o("$ZodULID",($,I)=>{I.pattern??(I.pattern=nD),S1.init($,I)}),cO=o("$ZodXID",($,I)=>{I.pattern??(I.pattern=pD),S1.init($,I)}),dO=o("$ZodKSUID",($,I)=>{I.pattern??(I.pattern=cD),S1.init($,I)}),mO=o("$ZodISODateTime",($,I)=>{I.pattern??(I.pattern=KO(I)),S1.init($,I)}),lO=o("$ZodISODate",($,I)=>{I.pattern??(I.pattern=JO),S1.init($,I)}),oO=o("$ZodISOTime",($,I)=>{I.pattern??(I.pattern=QO(I)),S1.init($,I)}),rO=o("$ZodISODuration",($,I)=>{I.pattern??(I.pattern=mD),S1.init($,I)}),tO=o("$ZodIPv4",($,I)=>{I.pattern??(I.pattern=tD),S1.init($,I),$._zod.bag.format="ipv4"}),aO=o("$ZodIPv6",($,I)=>{I.pattern??(I.pattern=aD),S1.init($,I),$._zod.bag.format="ipv6",$._zod.check=(U)=>{try{new URL(`http://[${U.value}]`)}catch{U.issues.push({code:"invalid_format",format:"ipv6",input:U.value,inst:$,continue:!I.abort})}}}),sO=o("$ZodMAC",($,I)=>{I.pattern??(I.pattern=sD(I.delimiter)),S1.init($,I),$._zod.bag.format="mac"}),eO=o("$ZodCIDRv4",($,I)=>{I.pattern??(I.pattern=eD),S1.init($,I)}),$N=o("$ZodCIDRv6",($,I)=>{I.pattern??(I.pattern=$O),S1.init($,I),$._zod.check=(U)=>{let Y=U.value.split("/");try{if(Y.length!==2)throw Error();let[J,Q]=Y;if(!Q)throw Error();let K=Number(Q);if(`${K}`!==Q)throw Error();if(K<0||K>128)throw Error();new URL(`http://[${J}]`)}catch{U.issues.push({code:"invalid_format",format:"cidrv6",input:U.value,inst:$,continue:!I.abort})}}});function IN($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}var UN=o("$ZodBase64",($,I)=>{I.pattern??(I.pattern=IO),S1.init($,I),$._zod.bag.contentEncoding="base64",$._zod.check=(U)=>{if(IN(U.value))return;U.issues.push({code:"invalid_format",format:"base64",input:U.value,inst:$,continue:!I.abort})}});function fk($){if(!lG.test($))return!1;let I=$.replace(/[-_]/g,(Y)=>Y==="-"?"+":"/"),U=I.padEnd(Math.ceil(I.length/4)*4,"=");return IN(U)}var YN=o("$ZodBase64URL",($,I)=>{I.pattern??(I.pattern=lG),S1.init($,I),$._zod.bag.contentEncoding="base64url",$._zod.check=(U)=>{if(fk(U.value))return;U.issues.push({code:"invalid_format",format:"base64url",input:U.value,inst:$,continue:!I.abort})}}),JN=o("$ZodE164",($,I)=>{I.pattern??(I.pattern=YO),S1.init($,I)});function bk($,I=null){try{let U=$.split(".");if(U.length!==3)return!1;let[Y]=U;if(!Y)return!1;let J=JSON.parse(atob(Y));if("typ"in J&&J?.typ!=="JWT")return!1;if(!J.alg)return!1;if(I&&(!("alg"in J)||J.alg!==I))return!1;return!0}catch{return!1}}var QN=o("$ZodJWT",($,I)=>{S1.init($,I),$._zod.check=(U)=>{if(bk(U.value,I.alg))return;U.issues.push({code:"invalid_format",format:"jwt",input:U.value,inst:$,continue:!I.abort})}}),KN=o("$ZodCustomStringFormat",($,I)=>{S1.init($,I),$._zod.check=(U)=>{if(I.fn(U.value))return;U.issues.push({code:"invalid_format",format:I.format,input:U.value,inst:$,continue:!I.abort})}}),IH=o("$ZodNumber",($,I)=>{i0.init($,I),$._zod.pattern=$._zod.bag.pattern??cJ,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=Number(U.value)}catch(K){}let J=U.value;if(typeof J==="number"&&!Number.isNaN(J)&&Number.isFinite(J))return U;let Q=typeof J==="number"?Number.isNaN(J)?"NaN":!Number.isFinite(J)?"Infinity":void 0:void 0;return U.issues.push({expected:"number",code:"invalid_type",input:J,inst:$,...Q?{received:Q}:{}}),U}}),qN=o("$ZodNumberFormat",($,I)=>{LO.init($,I),IH.init($,I)}),lJ=o("$ZodBoolean",($,I)=>{i0.init($,I),$._zod.pattern=WO,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=Boolean(U.value)}catch(Q){}let J=U.value;if(typeof J==="boolean")return U;return U.issues.push({expected:"boolean",code:"invalid_type",input:J,inst:$}),U}}),UH=o("$ZodBigInt",($,I)=>{i0.init($,I),$._zod.pattern=GO,$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=BigInt(U.value)}catch(J){}if(typeof U.value==="bigint")return U;return U.issues.push({expected:"bigint",code:"invalid_type",input:U.value,inst:$}),U}}),GN=o("$ZodBigIntFormat",($,I)=>{DO.init($,I),UH.init($,I)}),HN=o("$ZodSymbol",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J==="symbol")return U;return U.issues.push({expected:"symbol",code:"invalid_type",input:J,inst:$}),U}}),WN=o("$ZodUndefined",($,I)=>{i0.init($,I),$._zod.pattern=ZO,$._zod.values=new Set([void 0]),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J>"u")return U;return U.issues.push({expected:"undefined",code:"invalid_type",input:J,inst:$}),U}}),VN=o("$ZodNull",($,I)=>{i0.init($,I),$._zod.pattern=VO,$._zod.values=new Set([null]),$._zod.parse=(U,Y)=>{let J=U.value;if(J===null)return U;return U.issues.push({expected:"null",code:"invalid_type",input:J,inst:$}),U}}),ZN=o("$ZodAny",($,I)=>{i0.init($,I),$._zod.parse=(U)=>U}),zN=o("$ZodUnknown",($,I)=>{i0.init($,I),$._zod.parse=(U)=>U}),XN=o("$ZodNever",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{return U.issues.push({expected:"never",code:"invalid_type",input:U.value,inst:$}),U}}),wN=o("$ZodVoid",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(typeof J>"u")return U;return U.issues.push({expected:"void",code:"invalid_type",input:J,inst:$}),U}}),LN=o("$ZodDate",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(I.coerce)try{U.value=new Date(U.value)}catch(q){}let J=U.value,Q=J instanceof Date;if(Q&&!Number.isNaN(J.getTime()))return U;return U.issues.push({expected:"date",code:"invalid_type",input:J,...Q?{received:"Invalid Date"}:{},inst:$}),U}});function Ek($,I,U){if($.issues.length)I.issues.push(...y6(U,$.issues));I.value[U]=$.value}var DN=o("$ZodArray",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!Array.isArray(J))return U.issues.push({expected:"array",code:"invalid_type",input:J,inst:$}),U;U.value=Array(J.length);let Q=[];for(let K=0;K<J.length;K++){let q=J[K],G=I.element._zod.run({value:q,issues:[]},Y);if(G instanceof Promise)Q.push(G.then((H)=>Ek(H,U,K)));else Ek(G,U,K)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function $H($,I,U,Y,J,Q){let K=U in Y;if($.issues.length){if(J&&Q&&!K)return;I.issues.push(...y6(U,$.issues))}if(!K&&!J){if(!$.issues.length)I.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[U]});return}if($.value===void 0){if(K)I.value[U]=void 0}else I.value[U]=$.value}function ik($){let I=Object.keys($.shape);for(let Y of I)if(!$.shape?.[Y]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${Y}": expected a Zod schema`);let U=yD($.shape);return{...$,keys:I,keySet:new Set(I),numKeys:I.length,optionalKeys:new Set(U)}}function nk($,I,U,Y,J,Q){let K=[],q=J.keySet,G=J.catchall._zod,H=G.def.type,W=G.optin==="optional",V=G.optout==="optional";for(let z in I){if(z==="__proto__")continue;if(q.has(z))continue;if(H==="never"){K.push(z);continue}let Z=G.run({value:I[z],issues:[]},Y);if(Z instanceof Promise)$.push(Z.then((w)=>$H(w,U,z,I,W,V)));else $H(Z,U,z,I,W,V)}if(K.length)U.issues.push({code:"unrecognized_keys",keys:K,input:I,inst:Q});if(!$.length)return U;return Promise.all($).then(()=>{return U})}var pk=o("$ZodObject",($,I)=>{if(i0.init($,I),!Object.getOwnPropertyDescriptor(I,"shape")?.get){let q=I.shape;Object.defineProperty(I,"shape",{get:()=>{let G={...q};return Object.defineProperty(I,"shape",{value:G}),G}})}let Y=zI(()=>ik(I));s0($._zod,"propValues",()=>{let q=I.shape,G={};for(let H in q){let W=q[H]._zod;if(W.values){G[H]??(G[H]=new Set);for(let V of W.values)G[H].add(V)}}return G});let J=F7,Q=I.catchall,K;$._zod.parse=(q,G)=>{K??(K=Y.value);let H=q.value;if(!J(H))return q.issues.push({expected:"object",code:"invalid_type",input:H,inst:$}),q;q.value={};let W=[],V=K.shape;for(let z of K.keys){let Z=V[z],w=Z._zod.optin==="optional",L=Z._zod.optout==="optional",D=Z._zod.run({value:H[z],issues:[]},G);if(D instanceof Promise)W.push(D.then((N)=>$H(N,q,z,H,w,L)));else $H(D,q,z,H,w,L)}if(!Q)return W.length?Promise.all(W).then(()=>q):q;return nk(W,H,q,G,Y.value,$)}}),ON=o("$ZodObjectJIT",($,I)=>{pk.init($,I);let U=$._zod.parse,Y=zI(()=>ik(I)),J=(z)=>{let Z=new tG(["shape","payload","ctx"]),w=Y.value,L=(T)=>{let A=kG(T);return`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`};Z.write("const input = payload.value;");let D=Object.create(null),N=0;for(let T of w.keys)D[T]=`key_${N++}`;Z.write("const newResult = {};");for(let T of w.keys){let A=D[T],v=kG(T),u=z[T],g=u?._zod?.optin==="optional",b=u?._zod?.optout==="optional";if(Z.write(`const ${A} = ${L(T)};`),g&&b)Z.write(`
if (${A}.issues.length) {
if (${v} in input) {
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
...iss,
path: iss.path ? [${v}, ...iss.path] : [${v}]
})));
}
}
if (${A}.value === undefined) {
if (${v} in input) {
newResult[${v}] = undefined;
}
} else {
newResult[${v}] = ${A}.value;
}
`);else if(!g)Z.write(`
const ${A}_present = ${v} in input;
if (${A}.issues.length) {
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
...iss,
path: iss.path ? [${v}, ...iss.path] : [${v}]
})));
}
if (!${A}_present && !${A}.issues.length) {
payload.issues.push({
code: "invalid_type",
expected: "nonoptional",
input: undefined,
path: [${v}]
});
}
if (${A}_present) {
if (${A}.value === undefined) {
newResult[${v}] = undefined;
} else {
newResult[${v}] = ${A}.value;
}
}
`);else Z.write(`
if (${A}.issues.length) {
payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
...iss,
path: iss.path ? [${v}, ...iss.path] : [${v}]
})));
}
if (${A}.value === undefined) {
if (${v} in input) {
newResult[${v}] = undefined;
}
} else {
newResult[${v}] = ${A}.value;
}
`)}Z.write("payload.value = newResult;"),Z.write("return payload;");let E=Z.compile();return(T,A)=>E(z,T,A)},Q,K=F7,q=!O7.jitless,H=q&&_D.value,W=I.catchall,V;$._zod.parse=(z,Z)=>{V??(V=Y.value);let w=z.value;if(!K(w))return z.issues.push({expected:"object",code:"invalid_type",input:w,inst:$}),z;if(q&&H&&Z?.async===!1&&Z.jitless!==!0){if(!Q)Q=J(I.shape);if(z=Q(z,Z),!W)return z;return nk([],w,z,Z,V,$)}return U(z,Z)}});function Bk($,I,U,Y){for(let Q of $)if(Q.issues.length===0)return I.value=Q.value,I;let J=$.filter((Q)=>!o5(Q));if(J.length===1)return I.value=J[0].value,J[0];return I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:$.map((Q)=>Q.issues.map((K)=>A6(K,Y,Z4())))}),I}var oJ=o("$ZodUnion",($,I)=>{i0.init($,I),s0($._zod,"optin",()=>I.options.some((Y)=>Y._zod.optin==="optional")?"optional":void 0),s0($._zod,"optout",()=>I.options.some((Y)=>Y._zod.optout==="optional")?"optional":void 0),s0($._zod,"values",()=>{if(I.options.every((Y)=>Y._zod.values))return new Set(I.options.flatMap((Y)=>Array.from(Y._zod.values)));return}),s0($._zod,"pattern",()=>{if(I.options.every((Y)=>Y._zod.pattern)){let Y=I.options.map((J)=>J._zod.pattern);return new RegExp(`^(${Y.map((J)=>yJ(J.source)).join("|")})$`)}return});let U=I.options.length===1?I.options[0]._zod.run:null;$._zod.parse=(Y,J)=>{if(U)return U(Y,J);let Q=!1,K=[];for(let q of I.options){let G=q._zod.run({value:Y.value,issues:[]},J);if(G instanceof Promise)K.push(G),Q=!0;else{if(G.issues.length===0)return G;K.push(G)}}if(!Q)return Bk(K,Y,$,J);return Promise.all(K).then((q)=>{return Bk(q,Y,$,J)})}});function Rk($,I,U,Y){let J=$.filter((Q)=>Q.issues.length===0);if(J.length===1)return I.value=J[0].value,I;if(J.length===0)I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:$.map((Q)=>Q.issues.map((K)=>A6(K,Y,Z4())))});else I.issues.push({code:"invalid_union",input:I.value,inst:U,errors:[],inclusive:!1});return I}var NN=o("$ZodXor",($,I)=>{oJ.init($,I),I.inclusive=!1;let U=I.options.length===1?I.options[0]._zod.run:null;$._zod.parse=(Y,J)=>{if(U)return U(Y,J);let Q=!1,K=[];for(let q of I.options){let G=q._zod.run({value:Y.value,issues:[]},J);if(G instanceof Promise)K.push(G),Q=!0;else K.push(G)}if(!Q)return Rk(K,Y,$,J);return Promise.all(K).then((q)=>{return Rk(q,Y,$,J)})}}),FN=o("$ZodDiscriminatedUnion",($,I)=>{I.inclusive=!1,oJ.init($,I);let U=$._zod.parse;s0($._zod,"propValues",()=>{let J={};for(let Q of I.options){let K=Q._zod.propValues;if(!K||Object.keys(K).length===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(Q)}"`);for(let[q,G]of Object.entries(K)){if(!J[q])J[q]=new Set;for(let H of G)J[q].add(H)}}return J});let Y=zI(()=>{let J=I.options,Q=new Map;for(let K of J){let q=K._zod.propValues?.[I.discriminator];if(!q||q.size===0)throw Error(`Invalid discriminated union option at index "${I.options.indexOf(K)}"`);for(let G of q){if(Q.has(G))throw Error(`Duplicate discriminator value "${String(G)}"`);Q.set(G,K)}}return Q});$._zod.parse=(J,Q)=>{let K=J.value;if(!F7(K))return J.issues.push({code:"invalid_type",expected:"object",input:K,inst:$}),J;let q=Y.value.get(K?.[I.discriminator]);if(q)return q._zod.run(J,Q);if(I.unionFallback||Q.direction==="backward")return U(J,Q);return J.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:I.discriminator,options:Array.from(Y.value.keys()),input:K,path:[I.discriminator],inst:$}),J}}),MN=o("$ZodIntersection",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value,Q=I.left._zod.run({value:J,issues:[]},Y),K=I.right._zod.run({value:J,issues:[]},Y);if(Q instanceof Promise||K instanceof Promise)return Promise.all([Q,K]).then(([G,H])=>{return vk(U,G,H)});return vk(U,Q,K)}});function yO($,I){if($===I)return{valid:!0,data:$};if($ instanceof Date&&I instanceof Date&&+$===+I)return{valid:!0,data:$};if(l5($)&&l5(I)){let U=Object.keys(I),Y=Object.keys($).filter((Q)=>U.indexOf(Q)!==-1),J={...$,...I};for(let Q of Y){let K=yO($[Q],I[Q]);if(!K.valid)return{valid:!1,mergeErrorPath:[Q,...K.mergeErrorPath]};J[Q]=K.data}return{valid:!0,data:J}}if(Array.isArray($)&&Array.isArray(I)){if($.length!==I.length)return{valid:!1,mergeErrorPath:[]};let U=[];for(let Y=0;Y<$.length;Y++){let J=$[Y],Q=I[Y],K=yO(J,Q);if(!K.valid)return{valid:!1,mergeErrorPath:[Y,...K.mergeErrorPath]};U.push(K.data)}return{valid:!0,data:U}}return{valid:!1,mergeErrorPath:[]}}function vk($,I,U){let Y=new Map,J;for(let q of I.issues)if(q.code==="unrecognized_keys"){J??(J=q);for(let G of q.keys){if(!Y.has(G))Y.set(G,{});Y.get(G).l=!0}}else $.issues.push(q);for(let q of U.issues)if(q.code==="unrecognized_keys")for(let G of q.keys){if(!Y.has(G))Y.set(G,{});Y.get(G).r=!0}else $.issues.push(q);let Q=[...Y].filter(([,q])=>q.l&&q.r).map(([q])=>q);if(Q.length&&J)$.issues.push({...J,keys:Q});if(o5($))return $;let K=yO(I.value,U.value);if(!K.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(K.mergeErrorPath)}`);return $.value=K.data,$}var YH=o("$ZodTuple",($,I)=>{i0.init($,I);let U=I.items;$._zod.parse=(Y,J)=>{let Q=Y.value;if(!Array.isArray(Q))return Y.issues.push({input:Q,inst:$,expected:"tuple",code:"invalid_type"}),Y;Y.value=[];let K=[],q=Ck(U,"optin"),G=Ck(U,"optout");if(!I.rest){if(Q.length<q)return Y.issues.push({code:"too_small",minimum:q,inclusive:!0,input:Q,inst:$,origin:"array"}),Y;if(Q.length>U.length)Y.issues.push({code:"too_big",maximum:U.length,inclusive:!0,input:Q,inst:$,origin:"array"})}let H=Array(U.length);for(let W=0;W<U.length;W++){let V=U[W]._zod.run({value:Q[W],issues:[]},J);if(V instanceof Promise)K.push(V.then((z)=>{H[W]=z}));else H[W]=V}if(I.rest){let W=U.length-1,V=Q.slice(U.length);for(let z of V){W++;let Z=I.rest._zod.run({value:z,issues:[]},J);if(Z instanceof Promise)K.push(Z.then((w)=>jk(w,Y,W)));else jk(Z,Y,W)}}if(K.length)return Promise.all(K).then(()=>_k(H,Y,U,Q,G));return _k(H,Y,U,Q,G)}});function Ck($,I){for(let U=$.length-1;U>=0;U--)if($[U]._zod[I]!=="optional")return U+1;return 0}function jk($,I,U){if($.issues.length)I.issues.push(...y6(U,$.issues));I.value[U]=$.value}function _k($,I,U,Y,J){for(let Q=0;Q<U.length;Q++){let K=$[Q],q=Q<Y.length;if(K.issues.length){if(!q&&Q>=J){I.value.length=Q;break}I.issues.push(...y6(Q,K.issues))}I.value[Q]=K.value}for(let Q=I.value.length-1;Q>=Y.length;Q--)if(U[Q]._zod.optout==="optional"&&I.value[Q]===void 0)I.value.length=Q;else break;return I}var AN=o("$ZodRecord",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!l5(J))return U.issues.push({expected:"record",code:"invalid_type",input:J,inst:$}),U;let Q=[],K=I.keyType._zod.values;if(K){U.value={};let q=new Set;for(let H of K)if(typeof H==="string"||typeof H==="number"||typeof H==="symbol"){q.add(typeof H==="number"?H.toString():H);let W=I.keyType._zod.run({value:H,issues:[]},Y);if(W instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(W.issues.length){U.issues.push({code:"invalid_key",origin:"record",issues:W.issues.map((Z)=>A6(Z,Y,Z4())),input:H,path:[H],inst:$});continue}let V=W.value,z=I.valueType._zod.run({value:J[H],issues:[]},Y);if(z instanceof Promise)Q.push(z.then((Z)=>{if(Z.issues.length)U.issues.push(...y6(H,Z.issues));U.value[V]=Z.value}));else{if(z.issues.length)U.issues.push(...y6(H,z.issues));U.value[V]=z.value}}let G;for(let H in J)if(!q.has(H))G=G??[],G.push(H);if(G&&G.length>0)U.issues.push({code:"unrecognized_keys",input:J,inst:$,keys:G})}else{U.value={};for(let q of Reflect.ownKeys(J)){if(q==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(J,q))continue;let G=I.keyType._zod.run({value:q,issues:[]},Y);if(G instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof q==="string"&&cJ.test(q)&&G.issues.length){let V=I.keyType._zod.run({value:Number(q),issues:[]},Y);if(V instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(V.issues.length===0)G=V}if(G.issues.length){if(I.mode==="loose")U.value[q]=J[q];else U.issues.push({code:"invalid_key",origin:"record",issues:G.issues.map((V)=>A6(V,Y,Z4())),input:q,path:[q],inst:$});continue}let W=I.valueType._zod.run({value:J[q],issues:[]},Y);if(W instanceof Promise)Q.push(W.then((V)=>{if(V.issues.length)U.issues.push(...y6(q,V.issues));U.value[G.value]=V.value}));else{if(W.issues.length)U.issues.push(...y6(q,W.issues));U.value[G.value]=W.value}}}if(Q.length)return Promise.all(Q).then(()=>U);return U}}),PN=o("$ZodMap",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!(J instanceof Map))return U.issues.push({expected:"map",code:"invalid_type",input:J,inst:$}),U;let Q=[];U.value=new Map;for(let[K,q]of J){let G=I.keyType._zod.run({value:K,issues:[]},Y),H=I.valueType._zod.run({value:q,issues:[]},Y);if(G instanceof Promise||H instanceof Promise)Q.push(Promise.all([G,H]).then(([W,V])=>{Sk(W,V,U,K,J,$,Y)}));else Sk(G,H,U,K,J,$,Y)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function Sk($,I,U,Y,J,Q,K){if($.issues.length)if(hJ.has(typeof Y))U.issues.push(...y6(Y,$.issues));else U.issues.push({code:"invalid_key",origin:"map",input:J,inst:Q,issues:$.issues.map((q)=>A6(q,K,Z4()))});if(I.issues.length)if(hJ.has(typeof Y))U.issues.push(...y6(Y,I.issues));else U.issues.push({origin:"map",code:"invalid_element",input:J,inst:Q,key:Y,issues:I.issues.map((q)=>A6(q,K,Z4()))});U.value.set($.value,I.value)}var TN=o("$ZodSet",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(!(J instanceof Set))return U.issues.push({input:J,inst:$,expected:"set",code:"invalid_type"}),U;let Q=[];U.value=new Set;for(let K of J){let q=I.valueType._zod.run({value:K,issues:[]},Y);if(q instanceof Promise)Q.push(q.then((G)=>gk(G,U)));else gk(q,U)}if(Q.length)return Promise.all(Q).then(()=>U);return U}});function gk($,I){if($.issues.length)I.issues.push(...$.issues);I.value.add($.value)}var EN=o("$ZodEnum",($,I)=>{i0.init($,I);let U=gJ(I.entries),Y=new Set(U);$._zod.values=Y,$._zod.pattern=new RegExp(`^(${U.filter((J)=>hJ.has(typeof J)).map((J)=>typeof J==="string"?X$(J):J.toString()).join("|")})$`),$._zod.parse=(J,Q)=>{let K=J.value;if(Y.has(K))return J;return J.issues.push({code:"invalid_value",values:U,input:K,inst:$}),J}}),BN=o("$ZodLiteral",($,I)=>{if(i0.init($,I),I.values.length===0)throw Error("Cannot create literal schema with no valid values");let U=new Set(I.values);$._zod.values=U,$._zod.pattern=new RegExp(`^(${I.values.map((Y)=>typeof Y==="string"?X$(Y):Y?X$(Y.toString()):String(Y)).join("|")})$`),$._zod.parse=(Y,J)=>{let Q=Y.value;if(U.has(Q))return Y;return Y.issues.push({code:"invalid_value",values:I.values,input:Q,inst:$}),Y}}),RN=o("$ZodFile",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{let J=U.value;if(J instanceof File)return U;return U.issues.push({expected:"file",code:"invalid_type",input:J,inst:$}),U}}),vN=o("$ZodTransform",($,I)=>{i0.init($,I),$._zod.optin="optional",$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new N7($.constructor.name);let J=I.transform(U.value,U);if(Y.async)return(J instanceof Promise?J:Promise.resolve(J)).then((K)=>{return U.value=K,U.fallback=!0,U});if(J instanceof Promise)throw new Q8;return U.value=J,U.fallback=!0,U}});function yk($,I){if(I===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}var JH=o("$ZodOptional",($,I)=>{i0.init($,I),$._zod.optin="optional",$._zod.optout="optional",s0($._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,void 0]):void 0}),s0($._zod,"pattern",()=>{let U=I.innerType._zod.pattern;return U?new RegExp(`^(${yJ(U.source)})?$`):void 0}),$._zod.parse=(U,Y)=>{if(I.innerType._zod.optin==="optional"){let J=U.value,Q=I.innerType._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>yk(K,J));return yk(Q,J)}if(U.value===void 0)return U;return I.innerType._zod.run(U,Y)}}),CN=o("$ZodExactOptional",($,I)=>{JH.init($,I),s0($._zod,"values",()=>I.innerType._zod.values),s0($._zod,"pattern",()=>I.innerType._zod.pattern),$._zod.parse=(U,Y)=>{return I.innerType._zod.run(U,Y)}}),jN=o("$ZodNullable",($,I)=>{i0.init($,I),s0($._zod,"optin",()=>I.innerType._zod.optin),s0($._zod,"optout",()=>I.innerType._zod.optout),s0($._zod,"pattern",()=>{let U=I.innerType._zod.pattern;return U?new RegExp(`^(${yJ(U.source)}|null)$`):void 0}),s0($._zod,"values",()=>{return I.innerType._zod.values?new Set([...I.innerType._zod.values,null]):void 0}),$._zod.parse=(U,Y)=>{if(U.value===null)return U;return I.innerType._zod.run(U,Y)}}),_N=o("$ZodDefault",($,I)=>{i0.init($,I),$._zod.optin="optional",s0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);if(U.value===void 0)return U.value=I.defaultValue,U;let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>hk(Q,I));return hk(J,I)}});function hk($,I){if($.value===void 0)$.value=I.defaultValue;return $}var SN=o("$ZodPrefault",($,I)=>{i0.init($,I),$._zod.optin="optional",s0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);if(U.value===void 0)U.value=I.defaultValue;return I.innerType._zod.run(U,Y)}}),gN=o("$ZodNonOptional",($,I)=>{i0.init($,I),s0($._zod,"values",()=>{let U=I.innerType._zod.values;return U?new Set([...U].filter((Y)=>Y!==void 0)):void 0}),$._zod.parse=(U,Y)=>{let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>xk(Q,$));return xk(J,$)}});function xk($,I){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:I});return $}var yN=o("$ZodSuccess",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new N7("ZodSuccess");let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>{return U.value=Q.issues.length===0,U});return U.value=J.issues.length===0,U}}),hN=o("$ZodCatch",($,I)=>{i0.init($,I),$._zod.optin="optional",s0($._zod,"optout",()=>I.innerType._zod.optout),s0($._zod,"values",()=>I.innerType._zod.values),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>{if(U.value=Q.value,Q.issues.length)U.value=I.catchValue({...U,error:{issues:Q.issues.map((K)=>A6(K,Y,Z4()))},input:U.value}),U.issues=[],U.fallback=!0;return U});if(U.value=J.value,J.issues.length)U.value=I.catchValue({...U,error:{issues:J.issues.map((Q)=>A6(Q,Y,Z4()))},input:U.value}),U.issues=[],U.fallback=!0;return U}}),xN=o("$ZodNaN",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{if(typeof U.value!=="number"||!Number.isNaN(U.value))return U.issues.push({input:U.value,inst:$,expected:"nan",code:"invalid_type"}),U;return U}}),QH=o("$ZodPipe",($,I)=>{i0.init($,I),s0($._zod,"values",()=>I.in._zod.values),s0($._zod,"optin",()=>I.in._zod.optin),s0($._zod,"optout",()=>I.out._zod.optout),s0($._zod,"propValues",()=>I.in._zod.propValues),$._zod.parse=(U,Y)=>{if(Y.direction==="backward"){let Q=I.out._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>aG(K,I.in,Y));return aG(Q,I.in,Y)}let J=I.in._zod.run(U,Y);if(J instanceof Promise)return J.then((Q)=>aG(Q,I.out,Y));return aG(J,I.out,Y)}});function aG($,I,U){if($.issues.length)return $.aborted=!0,$;return I._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},U)}var rJ=o("$ZodCodec",($,I)=>{i0.init($,I),s0($._zod,"values",()=>I.in._zod.values),s0($._zod,"optin",()=>I.in._zod.optin),s0($._zod,"optout",()=>I.out._zod.optout),s0($._zod,"propValues",()=>I.in._zod.propValues),$._zod.parse=(U,Y)=>{if((Y.direction||"forward")==="forward"){let Q=I.in._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>sG(K,I,Y));return sG(Q,I,Y)}else{let Q=I.out._zod.run(U,Y);if(Q instanceof Promise)return Q.then((K)=>sG(K,I,Y));return sG(Q,I,Y)}}});function sG($,I,U){if($.issues.length)return $.aborted=!0,$;if((U.direction||"forward")==="forward"){let J=I.transform($.value,$);if(J instanceof Promise)return J.then((Q)=>eG($,Q,I.out,U));return eG($,J,I.out,U)}else{let J=I.reverseTransform($.value,$);if(J instanceof Promise)return J.then((Q)=>eG($,Q,I.in,U));return eG($,J,I.in,U)}}function eG($,I,U,Y){if($.issues.length)return $.aborted=!0,$;return U._zod.run({value:I,issues:$.issues},Y)}var kN=o("$ZodPreprocess",($,I)=>{QH.init($,I)}),uN=o("$ZodReadonly",($,I)=>{i0.init($,I),s0($._zod,"propValues",()=>I.innerType._zod.propValues),s0($._zod,"values",()=>I.innerType._zod.values),s0($._zod,"optin",()=>I.innerType?._zod?.optin),s0($._zod,"optout",()=>I.innerType?._zod?.optout),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")return I.innerType._zod.run(U,Y);let J=I.innerType._zod.run(U,Y);if(J instanceof Promise)return J.then(kk);return kk(J)}});function kk($){return $.value=Object.freeze($.value),$}var fN=o("$ZodTemplateLiteral",($,I)=>{i0.init($,I);let U=[];for(let Y of I.parts)if(typeof Y==="object"&&Y!==null){if(!Y._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...Y._zod.traits].shift()}`);let J=Y._zod.pattern instanceof RegExp?Y._zod.pattern.source:Y._zod.pattern;if(!J)throw Error(`Invalid template literal part: ${Y._zod.traits}`);let Q=J.startsWith("^")?1:0,K=J.endsWith("$")?J.length-1:J.length;U.push(J.slice(Q,K))}else if(Y===null||gD.has(typeof Y))U.push(X$(`${Y}`));else throw Error(`Invalid template literal part: ${Y}`);$._zod.pattern=new RegExp(`^${U.join("")}$`),$._zod.parse=(Y,J)=>{if(typeof Y.value!=="string")return Y.issues.push({input:Y.value,inst:$,expected:"string",code:"invalid_type"}),Y;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(Y.value))return Y.issues.push({input:Y.value,inst:$,code:"invalid_format",format:I.format??"template_literal",pattern:$._zod.pattern.source}),Y;return Y}}),bN=o("$ZodFunction",($,I)=>{return i0.init($,I),$._def=I,$._zod.def=I,$.implement=(U)=>{if(typeof U!=="function")throw Error("implement() must be called with a function");return function(...Y){let J=$._def.input?iJ($._def.input,Y):Y,Q=Reflect.apply(U,this,J);if($._def.output)return iJ($._def.output,Q);return Q}},$.implementAsync=(U)=>{if(typeof U!=="function")throw Error("implementAsync() must be called with a function");return async function(...Y){let J=$._def.input?await nJ($._def.input,Y):Y,Q=await Reflect.apply(U,this,J);if($._def.output)return await nJ($._def.output,Q);return Q}},$._zod.parse=(U,Y)=>{if(typeof U.value!=="function")return U.issues.push({code:"invalid_type",expected:"function",input:U.value,inst:$}),U;if($._def.output&&$._def.output._zod.def.type==="promise")U.value=$.implementAsync(U.value);else U.value=$.implement(U.value);return U},$.input=(...U)=>{let Y=$.constructor;if(Array.isArray(U[0]))return new Y({type:"function",input:new YH({type:"tuple",items:U[0],rest:U[1]}),output:$._def.output});return new Y({type:"function",input:U[0],output:$._def.output})},$.output=(U)=>{return new $.constructor({type:"function",input:$._def.input,output:U})},$}),iN=o("$ZodPromise",($,I)=>{i0.init($,I),$._zod.parse=(U,Y)=>{return Promise.resolve(U.value).then((J)=>I.innerType._zod.run({value:J,issues:[]},Y))}}),nN=o("$ZodLazy",($,I)=>{i0.init($,I),s0($._zod,"innerType",()=>{let U=I;if(!U._cachedInner)U._cachedInner=I.getter();return U._cachedInner}),s0($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),s0($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),s0($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),s0($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(U,Y)=>{return $._zod.innerType._zod.run(U,Y)}}),pN=o("$ZodCustom",($,I)=>{k1.init($,I),i0.init($,I),$._zod.parse=(U,Y)=>{return U},$._zod.check=(U)=>{let Y=U.value,J=I.fn(Y);if(J instanceof Promise)return J.then((Q)=>uk(Q,U,Y,$));uk(J,U,Y,$);return}});function uk($,I,U,Y){if(!$){let J={code:"custom",input:U,inst:Y,path:[...Y._zod.def.path??[]],continue:!Y._zod.def.abort};if(Y._zod.def.params)J.params=Y._zod.def.params;I.issues.push(XI(J))}}var $Q={};m8($Q,{zhTW:()=>kF,zhCN:()=>xF,yo:()=>uF,vi:()=>hF,uz:()=>yF,ur:()=>gF,uk:()=>eJ,ua:()=>SF,tr:()=>_F,th:()=>jF,ta:()=>CF,sv:()=>vF,sl:()=>RF,ru:()=>BF,ro:()=>EF,pt:()=>TF,ps:()=>AF,pl:()=>PF,ota:()=>MF,no:()=>FF,nl:()=>NF,ms:()=>OF,mk:()=>DF,lt:()=>LF,ko:()=>wF,km:()=>aJ,kh:()=>XF,ka:()=>zF,ja:()=>ZF,it:()=>VF,is:()=>WF,id:()=>HF,hy:()=>GF,hu:()=>qF,hr:()=>KF,he:()=>QF,frCA:()=>JF,fr:()=>YF,fi:()=>UF,fa:()=>IF,es:()=>$F,eo:()=>eN,en:()=>tJ,el:()=>sN,de:()=>aN,da:()=>tN,cs:()=>rN,ca:()=>oN,bg:()=>lN,be:()=>mN,az:()=>dN,ar:()=>cN});var LL0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function I(J){return $[J]??null}let U={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:"مدخل"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${J.expected}، ولكن تم إدخال ${q}`;return`مدخلات غير مقبولة: يفترض إدخال ${Q}، ولكن تم إدخال ${q}`}case"invalid_value":if(J.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${V0(J.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return` أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${Q} ${J.maximum.toString()} ${K.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${J.origin??"القيمة"} ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${Q} ${J.minimum.toString()} ${K.unit}`;return`أصغر من اللازم: يفترض لـ ${J.origin} أن يكون ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${J.prefix}"`;if(Q.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${Q.suffix}"`;if(Q.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${Q.includes}"`;if(Q.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${Q.pattern}`;return`${U[Q.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"مدخل غير مقبول"}}};function cN(){return{localeError:LL0()}}var DL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, daxil olan ${q}`}case"invalid_value":if(J.values.length===1)return`Yanlış dəyər: gözlənilən ${V0(J.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${Q}${J.maximum.toString()} ${K.unit??"element"}`;return`Çox böyük: gözlənilən ${J.origin??"dəyər"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Çox kiçik: gözlənilən ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`Çox kiçik: gözlənilən ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Yanlış mətn: "${Q.prefix}" ilə başlamalıdır`;if(Q.format==="ends_with")return`Yanlış mətn: "${Q.suffix}" ilə bitməlidir`;if(Q.format==="includes")return`Yanlış mətn: "${Q.includes}" daxil olmalıdır`;if(Q.format==="regex")return`Yanlış mətn: ${Q.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${U[Q.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"}}};function dN(){return{localeError:DL0()}}function ck($,I,U,Y){let J=Math.abs($),Q=J%10,K=J%100;if(K>=11&&K<=19)return Y;if(Q===1)return I;if(Q>=2&&Q<=4)return U;return Y}var OL0=()=>{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 I(J){return $[J]??null}let U={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:"увод"},Y={nan:"NaN",number:"лік",array:"масіў"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Няправільны ўвод: чакаўся instanceof ${J.expected}, атрымана ${q}`;return`Няправільны ўвод: чакаўся ${Q}, атрымана ${q}`}case"invalid_value":if(J.values.length===1)return`Няправільны ўвод: чакалася ${V0(J.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=ck(q,K.unit.one,K.unit.few,K.unit.many);return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна ${K.verb} ${Q}${J.maximum.toString()} ${G}`}return`Занадта вялікі: чакалася, што ${J.origin??"значэнне"} павінна быць ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=ck(q,K.unit.one,K.unit.few,K.unit.many);return`Занадта малы: чакалася, што ${J.origin} павінна ${K.verb} ${Q}${J.minimum.toString()} ${G}`}return`Занадта малы: чакалася, што ${J.origin} павінна быць ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${Q.prefix}"`;if(Q.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${Q.suffix}"`;if(Q.format==="includes")return`Няправільны радок: павінен змяшчаць "${Q.includes}"`;if(Q.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${Q.pattern}`;return`Няправільны ${U[Q.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"Няправільны ўвод"}}};function mN(){return{localeError:OL0()}}var NL0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function I(J){return $[J]??null}let U={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:"вход"},Y={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Невалиден вход: очакван instanceof ${J.expected}, получен ${q}`;return`Невалиден вход: очакван ${Q}, получен ${q}`}case"invalid_value":if(J.values.length===1)return`Невалиден вход: очакван ${V0(J.values[0])}`;return`Невалидна опция: очаквано едно от ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Твърде голямо: очаква се ${J.origin??"стойност"} да съдържа ${Q}${J.maximum.toString()} ${K.unit??"елемента"}`;return`Твърде голямо: очаква се ${J.origin??"стойност"} да бъде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Твърде малко: очаква се ${J.origin} да съдържа ${Q}${J.minimum.toString()} ${K.unit}`;return`Твърде малко: очаква се ${J.origin} да бъде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Невалиден низ: трябва да започва с "${Q.prefix}"`;if(Q.format==="ends_with")return`Невалиден низ: трябва да завършва с "${Q.suffix}"`;if(Q.format==="includes")return`Невалиден низ: трябва да включва "${Q.includes}"`;if(Q.format==="regex")return`Невалиден низ: трябва да съвпада с ${Q.pattern}`;let K="Невалиден";if(Q.format==="emoji")K="Невалидно";if(Q.format==="datetime")K="Невалидно";if(Q.format==="date")K="Невалидна";if(Q.format==="time")K="Невалидно";if(Q.format==="duration")K="Невалидна";return`${K} ${U[Q.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"Невалиден вход"}}};function lN(){return{localeError:NL0()}}var FL0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, s'ha rebut ${q}`}case"invalid_value":if(J.values.length===1)return`Valor invàlid: s'esperava ${V0(J.values[0])}`;return`Opció invàlida: s'esperava una de ${I0(J.values," o ")}`;case"too_big":{let Q=J.inclusive?"com a màxim":"menys de",K=I(J.origin);if(K)return`Massa gran: s'esperava que ${J.origin??"el valor"} contingués ${Q} ${J.maximum.toString()} ${K.unit??"elements"}`;return`Massa gran: s'esperava que ${J.origin??"el valor"} fos ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"com a mínim":"més de",K=I(J.origin);if(K)return`Massa petit: s'esperava que ${J.origin} contingués ${Q} ${J.minimum.toString()} ${K.unit}`;return`Massa petit: s'esperava que ${J.origin} fos ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Format invàlid: ha de començar amb "${Q.prefix}"`;if(Q.format==="ends_with")return`Format invàlid: ha d'acabar amb "${Q.suffix}"`;if(Q.format==="includes")return`Format invàlid: ha d'incloure "${Q.includes}"`;if(Q.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${Q.pattern}`;return`Format invàlid per a ${U[Q.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"}}};function oN(){return{localeError:FL0()}}var ML0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, obdrženo ${q}`}case"invalid_value":if(J.values.length===1)return`Neplatný vstup: očekáváno ${V0(J.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí mít ${Q}${J.maximum.toString()} ${K.unit??"prvků"}`;return`Hodnota je příliš velká: ${J.origin??"hodnota"} musí být ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí mít ${Q}${J.minimum.toString()} ${K.unit??"prvků"}`;return`Hodnota je příliš malá: ${J.origin??"hodnota"} musí být ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neplatný řetězec: musí začínat na "${Q.prefix}"`;if(Q.format==="ends_with")return`Neplatný řetězec: musí končit na "${Q.suffix}"`;if(Q.format==="includes")return`Neplatný řetězec: musí obsahovat "${Q.includes}"`;if(Q.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${Q.pattern}`;return`Neplatný formát ${U[Q.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"}}};function rN(){return{localeError:ML0()}}var AL0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function I(J){return $[J]??null}let U={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"},Y={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 Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ugyldigt input: forventede instanceof ${J.expected}, fik ${q}`;return`Ugyldigt input: forventede ${Q}, fik ${q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig værdi: forventede ${V0(J.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`For stor: forventede ${q??"value"} ${K.verb} ${Q} ${J.maximum.toString()} ${K.unit??"elementer"}`;return`For stor: forventede ${q??"value"} havde ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`For lille: forventede ${q} ${K.verb} ${Q} ${J.minimum.toString()} ${K.unit}`;return`For lille: forventede ${q} havde ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ugyldig streng: skal starte med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ugyldig streng: skal ende med "${Q.suffix}"`;if(Q.format==="includes")return`Ugyldig streng: skal indeholde "${Q.includes}"`;if(Q.format==="regex")return`Ugyldig streng: skal matche mønsteret ${Q.pattern}`;return`Ugyldig ${U[Q.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"}}};function tN(){return{localeError:AL0()}}var PL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"Zahl",array:"Array"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ungültige Eingabe: erwartet instanceof ${J.expected}, erhalten ${q}`;return`Ungültige Eingabe: erwartet ${Q}, erhalten ${q}`}case"invalid_value":if(J.values.length===1)return`Ungültige Eingabe: erwartet ${V0(J.values[0])}`;return`Ungültige Option: erwartet eine von ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${Q}${J.maximum.toString()} ${K.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${J.origin??"Wert"} ${Q}${J.maximum.toString()} ist`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Zu klein: erwartet, dass ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} hat`;return`Zu klein: erwartet, dass ${J.origin} ${Q}${J.minimum.toString()} ist`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ungültiger String: muss mit "${Q.prefix}" beginnen`;if(Q.format==="ends_with")return`Ungültiger String: muss mit "${Q.suffix}" enden`;if(Q.format==="includes")return`Ungültiger String: muss "${Q.includes}" enthalten`;if(Q.format==="regex")return`Ungültiger String: muss dem Muster ${Q.pattern} entsprechen`;return`Ungültig: ${U[Q.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"}}};function aN(){return{localeError:PL0()}}var TL0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function I(J){return $[J]??null}let U={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:"είσοδος"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(typeof J.expected==="string"&&/^[A-Z]/.test(J.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${J.expected}, λήφθηκε ${q}`;return`Μη έγκυρη είσοδος: αναμενόταν ${Q}, λήφθηκε ${q}`}case"invalid_value":if(J.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${V0(J.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να έχει ${Q}${J.maximum.toString()} ${K.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${J.origin??"τιμή"} να είναι ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Πολύ μικρό: αναμενόταν ${J.origin} να έχει ${Q}${J.minimum.toString()} ${K.unit}`;return`Πολύ μικρό: αναμενόταν ${J.origin} να είναι ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${Q.prefix}"`;if(Q.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${Q.suffix}"`;if(Q.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${Q.includes}"`;if(Q.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${Q.pattern}`;return`Μη έγκυρο: ${U[Q.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"Μη έγκυρη είσοδος"}}};function sN(){return{localeError:TL0()}}var EL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;return`Invalid input: expected ${Q}, received ${q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${V0(J.values[0])}`;return`Invalid option: expected one of ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Too big: expected ${J.origin??"value"} to have ${Q}${J.maximum.toString()} ${K.unit??"elements"}`;return`Too big: expected ${J.origin??"value"} to be ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Too small: expected ${J.origin} to have ${Q}${J.minimum.toString()} ${K.unit}`;return`Too small: expected ${J.origin} to be ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Invalid string: must start with "${Q.prefix}"`;if(Q.format==="ends_with")return`Invalid string: must end with "${Q.suffix}"`;if(Q.format==="includes")return`Invalid string: must include "${Q.includes}"`;if(Q.format==="regex")return`Invalid string: must match pattern ${Q.pattern}`;return`Invalid ${U[Q.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((K)=>`'${K}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${J.origin}`;default:return"Invalid input"}}};function tJ(){return{localeError:EL0()}}var BL0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Nevalida enigo: atendiĝis instanceof ${J.expected}, riceviĝis ${q}`;return`Nevalida enigo: atendiĝis ${Q}, riceviĝis ${q}`}case"invalid_value":if(J.values.length===1)return`Nevalida enigo: atendiĝis ${V0(J.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${Q}${J.maximum.toString()} ${K.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${J.origin??"valoro"} havu ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Tro malgranda: atendiĝis ke ${J.origin} havu ${Q}${J.minimum.toString()} ${K.unit}`;return`Tro malgranda: atendiĝis ke ${J.origin} estu ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${Q.prefix}"`;if(Q.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${Q.suffix}"`;if(Q.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${Q.includes}"`;if(Q.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${Q.pattern}`;return`Nevalida ${U[Q.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"}}};function eN(){return{localeError:BL0()}}var RL0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function I(J){return $[J]??null}let U={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"},Y={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 Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrada inválida: se esperaba instanceof ${J.expected}, recibido ${q}`;return`Entrada inválida: se esperaba ${Q}, recibido ${q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: se esperaba ${V0(J.values[0])}`;return`Opción inválida: se esperaba una de ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Demasiado grande: se esperaba que ${q??"valor"} tuviera ${Q}${J.maximum.toString()} ${K.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${q??"valor"} fuera ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Demasiado pequeño: se esperaba que ${q} tuviera ${Q}${J.minimum.toString()} ${K.unit}`;return`Demasiado pequeño: se esperaba que ${q} fuera ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Cadena inválida: debe comenzar con "${Q.prefix}"`;if(Q.format==="ends_with")return`Cadena inválida: debe terminar en "${Q.suffix}"`;if(Q.format==="includes")return`Cadena inválida: debe incluir "${Q.includes}"`;if(Q.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${Q.pattern}`;return`Inválido ${U[Q.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 ${Y[J.origin]??J.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${Y[J.origin]??J.origin}`;default:return"Entrada inválida"}}};function $F(){return{localeError:RL0()}}var vL0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function I(J){return $[J]??null}let U={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:"ورودی"},Y={nan:"NaN",number:"عدد",array:"آرایه"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ورودی نامعتبر: می‌بایست instanceof ${J.expected} می‌بود، ${q} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${Q} می‌بود، ${q} دریافت شد`}case"invalid_value":if(J.values.length===1)return`ورودی نامعتبر: می‌بایست ${V0(J.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${I0(J.values,"|")} می‌بود`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${Q}${J.maximum.toString()} ${K.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${J.origin??"مقدار"} باید ${Q}${J.maximum.toString()} باشد`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`خیلی کوچک: ${J.origin} باید ${Q}${J.minimum.toString()} ${K.unit} باشد`;return`خیلی کوچک: ${J.origin} باید ${Q}${J.minimum.toString()} باشد`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`رشته نامعتبر: باید با "${Q.prefix}" شروع شود`;if(Q.format==="ends_with")return`رشته نامعتبر: باید با "${Q.suffix}" تمام شود`;if(Q.format==="includes")return`رشته نامعتبر: باید شامل "${Q.includes}" باشد`;if(Q.format==="regex")return`رشته نامعتبر: باید با الگوی ${Q.pattern} مطابقت داشته باشد`;return`${U[Q.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"ورودی نامعتبر"}}};function IF(){return{localeError:vL0()}}var CL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Virheellinen tyyppi: odotettiin instanceof ${J.expected}, oli ${q}`;return`Virheellinen tyyppi: odotettiin ${Q}, oli ${q}`}case"invalid_value":if(J.values.length===1)return`Virheellinen syöte: täytyy olla ${V0(J.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Liian suuri: ${K.subject} täytyy olla ${Q}${J.maximum.toString()} ${K.unit}`.trim();return`Liian suuri: arvon täytyy olla ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Liian pieni: ${K.subject} täytyy olla ${Q}${J.minimum.toString()} ${K.unit}`.trim();return`Liian pieni: arvon täytyy olla ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${Q.prefix}"`;if(Q.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${Q.suffix}"`;if(Q.format==="includes")return`Virheellinen syöte: täytyy sisältää "${Q.includes}"`;if(Q.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${Q.pattern}`;return`Virheellinen ${U[Q.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"}}};function UF(){return{localeError:CL0()}}var jL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={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 Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : instanceof ${J.expected} attendu, ${q} reçu`;return`Entrée invalide : ${Q} attendu, ${q} reçu`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : ${V0(J.values[0])} attendu`;return`Option invalide : une valeur parmi ${I0(J.values,"|")} attendue`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Trop grand : ${Y[J.origin]??"valeur"} doit ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"élément(s)"}`;return`Trop grand : ${Y[J.origin]??"valeur"} doit être ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Trop petit : ${Y[J.origin]??"valeur"} doit ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Trop petit : ${Y[J.origin]??"valeur"} doit être ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chaîne invalide : doit commencer par "${Q.prefix}"`;if(Q.format==="ends_with")return`Chaîne invalide : doit se terminer par "${Q.suffix}"`;if(Q.format==="includes")return`Chaîne invalide : doit inclure "${Q.includes}"`;if(Q.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${Q.pattern}`;return`${U[Q.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"}}};function YF(){return{localeError:jL0()}}var _L0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Entrée invalide : attendu instanceof ${J.expected}, reçu ${q}`;return`Entrée invalide : attendu ${Q}, reçu ${q}`}case"invalid_value":if(J.values.length===1)return`Entrée invalide : attendu ${V0(J.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"≤":"<",K=I(J.origin);if(K)return`Trop grand : attendu que ${J.origin??"la valeur"} ait ${Q}${J.maximum.toString()} ${K.unit}`;return`Trop grand : attendu que ${J.origin??"la valeur"} soit ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"≥":">",K=I(J.origin);if(K)return`Trop petit : attendu que ${J.origin} ait ${Q}${J.minimum.toString()} ${K.unit}`;return`Trop petit : attendu que ${J.origin} soit ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chaîne invalide : doit commencer par "${Q.prefix}"`;if(Q.format==="ends_with")return`Chaîne invalide : doit se terminer par "${Q.suffix}"`;if(Q.format==="includes")return`Chaîne invalide : doit inclure "${Q.includes}"`;if(Q.format==="regex")return`Chaîne invalide : doit correspondre au motif ${Q.pattern}`;return`${U[Q.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"}}};function JF(){return{localeError:_L0()}}var SL0=()=>{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"}},I={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},U=(H)=>H?$[H]:void 0,Y=(H)=>{let W=U(H);if(W)return W.label;return H??$.unknown.label},J=(H)=>`ה${Y(H)}`,Q=(H)=>{return(U(H)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},K=(H)=>{if(!H)return null;return I[H]??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"}},G={nan:"NaN"};return(H)=>{switch(H.code){case"invalid_type":{let W=H.expected,V=G[W??""]??Y(W),z=z0(H.input),Z=G[z]??$[z]?.label??z;if(/^[A-Z]/.test(H.expected))return`קלט לא תקין: צריך להיות instanceof ${H.expected}, התקבל ${Z}`;return`קלט לא תקין: צריך להיות ${V}, התקבל ${Z}`}case"invalid_value":{if(H.values.length===1)return`ערך לא תקין: הערך חייב להיות ${V0(H.values[0])}`;let W=H.values.map((Z)=>V0(Z));if(H.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${W[0]} או ${W[1]}`;let V=W[W.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${W.slice(0,-1).join(", ")} או ${V}`}case"too_big":{let W=K(H.origin),V=J(H.origin??"value");if(H.origin==="string")return`${W?.longLabel??"ארוך"} מדי: ${V} צריכה להכיל ${H.maximum.toString()} ${W?.unit??""} ${H.inclusive?"או פחות":"לכל היותר"}`.trim();if(H.origin==="number"){let w=H.inclusive?`קטן או שווה ל-${H.maximum}`:`קטן מ-${H.maximum}`;return`גדול מדי: ${V} צריך להיות ${w}`}if(H.origin==="array"||H.origin==="set"){let w=H.origin==="set"?"צריכה":"צריך",L=H.inclusive?`${H.maximum} ${W?.unit??""} או פחות`:`פחות מ-${H.maximum} ${W?.unit??""}`;return`גדול מדי: ${V} ${w} להכיל ${L}`.trim()}let z=H.inclusive?"<=":"<",Z=Q(H.origin??"value");if(W?.unit)return`${W.longLabel} מדי: ${V} ${Z} ${z}${H.maximum.toString()} ${W.unit}`;return`${W?.longLabel??"גדול"} מדי: ${V} ${Z} ${z}${H.maximum.toString()}`}case"too_small":{let W=K(H.origin),V=J(H.origin??"value");if(H.origin==="string")return`${W?.shortLabel??"קצר"} מדי: ${V} צריכה להכיל ${H.minimum.toString()} ${W?.unit??""} ${H.inclusive?"או יותר":"לפחות"}`.trim();if(H.origin==="number"){let w=H.inclusive?`גדול או שווה ל-${H.minimum}`:`גדול מ-${H.minimum}`;return`קטן מדי: ${V} צריך להיות ${w}`}if(H.origin==="array"||H.origin==="set"){let w=H.origin==="set"?"צריכה":"צריך";if(H.minimum===1&&H.inclusive){let D=H.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${V} ${w} להכיל ${D}`}let L=H.inclusive?`${H.minimum} ${W?.unit??""} או יותר`:`יותר מ-${H.minimum} ${W?.unit??""}`;return`קטן מדי: ${V} ${w} להכיל ${L}`.trim()}let z=H.inclusive?">=":">",Z=Q(H.origin??"value");if(W?.unit)return`${W.shortLabel} מדי: ${V} ${Z} ${z}${H.minimum.toString()} ${W.unit}`;return`${W?.shortLabel??"קטן"} מדי: ${V} ${Z} ${z}${H.minimum.toString()}`}case"invalid_format":{let W=H;if(W.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${W.prefix}"`;if(W.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${W.suffix}"`;if(W.format==="includes")return`המחרוזת חייבת לכלול "${W.includes}"`;if(W.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${W.pattern}`;let V=q[W.format],z=V?.label??W.format,w=(V?.gender??"m")==="f"?"תקינה":"תקין";return`${z} לא ${w}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${H.divisor}`;case"unrecognized_keys":return`מפתח${H.keys.length>1?"ות":""} לא מזוה${H.keys.length>1?"ים":"ה"}: ${I0(H.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${J(H.origin??"array")}`;default:return"קלט לא תקין"}}};function QF(){return{localeError:SL0()}}var gL0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function I(J){return $[J]??null}let U={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"},Y={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 Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, a primljeno je ${q}`}case"invalid_value":if(J.values.length===1)return`Neispravna vrijednost: očekivano ${V0(J.values[0])}`;return`Neispravna opcija: očekivano jedno od ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Preveliko: očekivano da ${q??"vrijednost"} ima ${Q}${J.maximum.toString()} ${K.unit??"elemenata"}`;return`Preveliko: očekivano da ${q??"vrijednost"} bude ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=Y[J.origin]??J.origin;if(K)return`Premalo: očekivano da ${q} ima ${Q}${J.minimum.toString()} ${K.unit}`;return`Premalo: očekivano da ${q} bude ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neispravan tekst: mora započinjati s "${Q.prefix}"`;if(Q.format==="ends_with")return`Neispravan tekst: mora završavati s "${Q.suffix}"`;if(Q.format==="includes")return`Neispravan tekst: mora sadržavati "${Q.includes}"`;if(Q.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${Q.pattern}`;return`Neispravna ${U[Q.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 ${Y[J.origin]??J.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${Y[J.origin]??J.origin}`;default:return"Neispravan unos"}}};function KF(){return{localeError:gL0()}}var yL0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"szám",array:"tömb"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, a kapott érték ${q}`}case"invalid_value":if(J.values.length===1)return`Érvénytelen bemenet: a várt érték ${V0(J.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Túl nagy: ${J.origin??"érték"} mérete túl nagy ${Q}${J.maximum.toString()} ${K.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${J.origin??"érték"} túl nagy: ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Túl kicsi: a bemeneti érték ${J.origin} mérete túl kicsi ${Q}${J.minimum.toString()} ${K.unit}`;return`Túl kicsi: a bemeneti érték ${J.origin} túl kicsi ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Érvénytelen string: "${Q.prefix}" értékkel kell kezdődnie`;if(Q.format==="ends_with")return`Érvénytelen string: "${Q.suffix}" értékkel kell végződnie`;if(Q.format==="includes")return`Érvénytelen string: "${Q.includes}" értéket kell tartalmaznia`;if(Q.format==="regex")return`Érvénytelen string: ${Q.pattern} mintának kell megfelelnie`;return`Érvénytelen ${U[Q.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"}}};function qF(){return{localeError:yL0()}}function dk($,I,U){return Math.abs($)===1?I:U}function MI($){if(!$)return"";let I=["ա","ե","ը","ի","ո","ու","օ"],U=$[$.length-1];return $+(I.includes(U)?"ն":"ը")}var hL0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function I(J){return $[J]??null}let U={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:"մուտք"},Y={nan:"NaN",number:"թիվ",array:"զանգված"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${J.expected}, ստացվել է ${q}`;return`Սխալ մուտքագրում․ սպասվում էր ${Q}, ստացվել է ${q}`}case"invalid_value":if(J.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${V0(J.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=dk(q,K.unit.one,K.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${MI(J.origin??"արժեք")} կունենա ${Q}${J.maximum.toString()} ${G}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${MI(J.origin??"արժեք")} լինի ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=dk(q,K.unit.one,K.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${MI(J.origin)} կունենա ${Q}${J.minimum.toString()} ${G}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${MI(J.origin)} լինի ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${Q.prefix}"-ով`;if(Q.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${Q.suffix}"-ով`;if(Q.format==="includes")return`Սխալ տող․ պետք է պարունակի "${Q.includes}"`;if(Q.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${Q.pattern} ձևաչափին`;return`Սխալ ${U[Q.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`Սխալ բանալի ${MI(J.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${MI(J.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function GF(){return{localeError:hL0()}}var xL0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input tidak valid: diharapkan instanceof ${J.expected}, diterima ${q}`;return`Input tidak valid: diharapkan ${Q}, diterima ${q}`}case"invalid_value":if(J.values.length===1)return`Input tidak valid: diharapkan ${V0(J.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Terlalu besar: diharapkan ${J.origin??"value"} memiliki ${Q}${J.maximum.toString()} ${K.unit??"elemen"}`;return`Terlalu besar: diharapkan ${J.origin??"value"} menjadi ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Terlalu kecil: diharapkan ${J.origin} memiliki ${Q}${J.minimum.toString()} ${K.unit}`;return`Terlalu kecil: diharapkan ${J.origin} menjadi ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`String tidak valid: harus dimulai dengan "${Q.prefix}"`;if(Q.format==="ends_with")return`String tidak valid: harus berakhir dengan "${Q.suffix}"`;if(Q.format==="includes")return`String tidak valid: harus menyertakan "${Q.includes}"`;if(Q.format==="regex")return`String tidak valid: harus sesuai pola ${Q.pattern}`;return`${U[Q.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"}}};function HF(){return{localeError:xL0()}}var kL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"númer",array:"fylki"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}`}case"invalid_value":if(J.values.length===1)return`Rangt gildi: gert ráð fyrir ${V0(J.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} hafi ${Q}${J.maximum.toString()} ${K.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${J.origin??"gildi"} sé ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Of lítið: gert er ráð fyrir að ${J.origin} hafi ${Q}${J.minimum.toString()} ${K.unit}`;return`Of lítið: gert er ráð fyrir að ${J.origin} sé ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ógildur strengur: verður að byrja á "${Q.prefix}"`;if(Q.format==="ends_with")return`Ógildur strengur: verður að enda á "${Q.suffix}"`;if(Q.format==="includes")return`Ógildur strengur: verður að innihalda "${Q.includes}"`;if(Q.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${Q.pattern}`;return`Rangt ${U[Q.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"}}};function WF(){return{localeError:kL0()}}var uL0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"numero",array:"vettore"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input non valido: atteso instanceof ${J.expected}, ricevuto ${q}`;return`Input non valido: atteso ${Q}, ricevuto ${q}`}case"invalid_value":if(J.values.length===1)return`Input non valido: atteso ${V0(J.values[0])}`;return`Opzione non valida: atteso uno tra ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Troppo grande: ${J.origin??"valore"} deve avere ${Q}${J.maximum.toString()} ${K.unit??"elementi"}`;return`Troppo grande: ${J.origin??"valore"} deve essere ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Troppo piccolo: ${J.origin} deve avere ${Q}${J.minimum.toString()} ${K.unit}`;return`Troppo piccolo: ${J.origin} deve essere ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Stringa non valida: deve iniziare con "${Q.prefix}"`;if(Q.format==="ends_with")return`Stringa non valida: deve terminare con "${Q.suffix}"`;if(Q.format==="includes")return`Stringa non valida: deve includere "${Q.includes}"`;if(Q.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${Q.pattern}`;return`Input non valido: ${U[Q.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"}}};function VF(){return{localeError:uL0()}}var fL0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function I(J){return $[J]??null}let U={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:"入力値"},Y={nan:"NaN",number:"数値",array:"配列"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`無効な入力: instanceof ${J.expected}が期待されましたが、${q}が入力されました`;return`無効な入力: ${Q}が期待されましたが、${q}が入力されました`}case"invalid_value":if(J.values.length===1)return`無効な入力: ${V0(J.values[0])}が期待されました`;return`無効な選択: ${I0(J.values,"、")}のいずれかである必要があります`;case"too_big":{let Q=J.inclusive?"以下である":"より小さい",K=I(J.origin);if(K)return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${K.unit??"要素"}${Q}必要があります`;return`大きすぎる値: ${J.origin??"値"}は${J.maximum.toString()}${Q}必要があります`}case"too_small":{let Q=J.inclusive?"以上である":"より大きい",K=I(J.origin);if(K)return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${K.unit}${Q}必要があります`;return`小さすぎる値: ${J.origin}は${J.minimum.toString()}${Q}必要があります`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`無効な文字列: "${Q.prefix}"で始まる必要があります`;if(Q.format==="ends_with")return`無効な文字列: "${Q.suffix}"で終わる必要があります`;if(Q.format==="includes")return`無効な文字列: "${Q.includes}"を含む必要があります`;if(Q.format==="regex")return`無効な文字列: パターン${Q.pattern}に一致する必要があります`;return`無効な${U[Q.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"無効な入力"}}};function ZF(){return{localeError:fL0()}}var bL0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function I(J){return $[J]??null}let U={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:"შეყვანა"},Y={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${J.expected}, მიღებული ${q}`;return`არასწორი შეყვანა: მოსალოდნელი ${Q}, მიღებული ${q}`}case"invalid_value":if(J.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${V0(J.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${I0(J.values,"|")}-დან`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${J.origin??"მნიშვნელობა"} იყოს ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${J.origin} იყოს ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${Q.prefix}"-ით`;if(Q.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${Q.suffix}"-ით`;if(Q.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${Q.includes}"-ს`;if(Q.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${Q.pattern}`;return`არასწორი ${U[Q.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"არასწორი შეყვანა"}}};function zF(){return{localeError:bL0()}}var iL0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function I(J){return $[J]??null}let U={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:"ទិន្នន័យបញ្ចូល"},Y={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${J.expected} ប៉ុន្តែទទួលបាន ${q}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${Q} ប៉ុន្តែទទួលបាន ${q}`}case"invalid_value":if(J.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${V0(J.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${Q} ${J.maximum.toString()} ${K.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${J.origin??"តម្លៃ"} ${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`តូចពេក៖ ត្រូវការ ${J.origin} ${Q} ${J.minimum.toString()} ${K.unit}`;return`តូចពេក៖ ត្រូវការ ${J.origin} ${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${Q.prefix}"`;if(Q.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${Q.suffix}"`;if(Q.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${Q.includes}"`;if(Q.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${Q.pattern}`;return`មិនត្រឹមត្រូវ៖ ${U[Q.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"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function aJ(){return{localeError:iL0()}}function XF(){return aJ()}var nL0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function I(J){return $[J]??null}let U={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:"입력"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`잘못된 입력: 예상 타입은 instanceof ${J.expected}, 받은 타입은 ${q}입니다`;return`잘못된 입력: 예상 타입은 ${Q}, 받은 타입은 ${q}입니다`}case"invalid_value":if(J.values.length===1)return`잘못된 입력: 값은 ${V0(J.values[0])} 이어야 합니다`;return`잘못된 옵션: ${I0(J.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let Q=J.inclusive?"이하":"미만",K=Q==="미만"?"이어야 합니다":"여야 합니다",q=I(J.origin),G=q?.unit??"요소";if(q)return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()}${G} ${Q}${K}`;return`${J.origin??"값"}이 너무 큽니다: ${J.maximum.toString()} ${Q}${K}`}case"too_small":{let Q=J.inclusive?"이상":"초과",K=Q==="이상"?"이어야 합니다":"여야 합니다",q=I(J.origin),G=q?.unit??"요소";if(q)return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()}${G} ${Q}${K}`;return`${J.origin??"값"}이 너무 작습니다: ${J.minimum.toString()} ${Q}${K}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`잘못된 문자열: "${Q.prefix}"(으)로 시작해야 합니다`;if(Q.format==="ends_with")return`잘못된 문자열: "${Q.suffix}"(으)로 끝나야 합니다`;if(Q.format==="includes")return`잘못된 문자열: "${Q.includes}"을(를) 포함해야 합니다`;if(Q.format==="regex")return`잘못된 문자열: 정규식 ${Q.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${U[Q.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"잘못된 입력"}}};function wF(){return{localeError:nL0()}}var sJ=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)};function mk($){let I=Math.abs($),U=I%10,Y=I%100;if(Y>=11&&Y<=19||U===0)return"many";if(U===1)return"one";return"few"}var pL0=()=>{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 I(J,Q,K,q){let G=$[J]??null;if(G===null)return G;return{unit:G.unit[Q],verb:G.verb[q][K?"inclusive":"notInclusive"]}}let U={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"},Y={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 Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Gautas tipas ${q}, o tikėtasi - instanceof ${J.expected}`;return`Gautas tipas ${q}, o tikėtasi - ${Q}`}case"invalid_value":if(J.values.length===1)return`Privalo būti ${V0(J.values[0])}`;return`Privalo būti vienas iš ${I0(J.values,"|")} pasirinkimų`;case"too_big":{let Q=Y[J.origin]??J.origin,K=I(J.origin,mk(Number(J.maximum)),J.inclusive??!1,"smaller");if(K?.verb)return`${sJ(Q??J.origin??"reikšmė")} ${K.verb} ${J.maximum.toString()} ${K.unit??"elementų"}`;let q=J.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${sJ(Q??J.origin??"reikšmė")} turi būti ${q} ${J.maximum.toString()} ${K?.unit}`}case"too_small":{let Q=Y[J.origin]??J.origin,K=I(J.origin,mk(Number(J.minimum)),J.inclusive??!1,"bigger");if(K?.verb)return`${sJ(Q??J.origin??"reikšmė")} ${K.verb} ${J.minimum.toString()} ${K.unit??"elementų"}`;let q=J.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${sJ(Q??J.origin??"reikšmė")} turi būti ${q} ${J.minimum.toString()} ${K?.unit}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Eilutė privalo prasidėti "${Q.prefix}"`;if(Q.format==="ends_with")return`Eilutė privalo pasibaigti "${Q.suffix}"`;if(Q.format==="includes")return`Eilutė privalo įtraukti "${Q.includes}"`;if(Q.format==="regex")return`Eilutė privalo atitikti ${Q.pattern}`;return`Neteisingas ${U[Q.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 Q=Y[J.origin]??J.origin;return`${sJ(Q??J.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function LF(){return{localeError:pL0()}}var cL0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function I(J){return $[J]??null}let U={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:"внес"},Y={nan:"NaN",number:"број",array:"низа"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Грешен внес: се очекува instanceof ${J.expected}, примено ${q}`;return`Грешен внес: се очекува ${Q}, примено ${q}`}case"invalid_value":if(J.values.length===1)return`Invalid input: expected ${V0(J.values[0])}`;return`Грешана опција: се очекува една ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Премногу голем: се очекува ${J.origin??"вредноста"} да има ${Q}${J.maximum.toString()} ${K.unit??"елементи"}`;return`Премногу голем: се очекува ${J.origin??"вредноста"} да биде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Премногу мал: се очекува ${J.origin} да има ${Q}${J.minimum.toString()} ${K.unit}`;return`Премногу мал: се очекува ${J.origin} да биде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неважечка низа: мора да започнува со "${Q.prefix}"`;if(Q.format==="ends_with")return`Неважечка низа: мора да завршува со "${Q.suffix}"`;if(Q.format==="includes")return`Неважечка низа: мора да вклучува "${Q.includes}"`;if(Q.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${Q.pattern}`;return`Invalid ${U[Q.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"Грешен внес"}}};function DF(){return{localeError:cL0()}}var dL0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"nombor"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Input tidak sah: dijangka instanceof ${J.expected}, diterima ${q}`;return`Input tidak sah: dijangka ${Q}, diterima ${q}`}case"invalid_value":if(J.values.length===1)return`Input tidak sah: dijangka ${V0(J.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Terlalu besar: dijangka ${J.origin??"nilai"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"elemen"}`;return`Terlalu besar: dijangka ${J.origin??"nilai"} adalah ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Terlalu kecil: dijangka ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Terlalu kecil: dijangka ${J.origin} adalah ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`String tidak sah: mesti bermula dengan "${Q.prefix}"`;if(Q.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${Q.suffix}"`;if(Q.format==="includes")return`String tidak sah: mesti mengandungi "${Q.includes}"`;if(Q.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${Q.pattern}`;return`${U[Q.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"}}};function OF(){return{localeError:dL0()}}var mL0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"getal"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ongeldige invoer: verwacht instanceof ${J.expected}, ontving ${q}`;return`Ongeldige invoer: verwacht ${Q}, ontving ${q}`}case"invalid_value":if(J.values.length===1)return`Ongeldige invoer: verwacht ${V0(J.values[0])}`;return`Ongeldige optie: verwacht één van ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin),q=J.origin==="date"?"laat":J.origin==="string"?"lang":"groot";if(K)return`Te ${q}: verwacht dat ${J.origin??"waarde"} ${Q}${J.maximum.toString()} ${K.unit??"elementen"} ${K.verb}`;return`Te ${q}: verwacht dat ${J.origin??"waarde"} ${Q}${J.maximum.toString()} is`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin),q=J.origin==="date"?"vroeg":J.origin==="string"?"kort":"klein";if(K)return`Te ${q}: verwacht dat ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ${K.verb}`;return`Te ${q}: verwacht dat ${J.origin} ${Q}${J.minimum.toString()} is`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ongeldige tekst: moet met "${Q.prefix}" beginnen`;if(Q.format==="ends_with")return`Ongeldige tekst: moet op "${Q.suffix}" eindigen`;if(Q.format==="includes")return`Ongeldige tekst: moet "${Q.includes}" bevatten`;if(Q.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${Q.pattern}`;return`Ongeldig: ${U[Q.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"}}};function NF(){return{localeError:mL0()}}var lL0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"tall",array:"liste"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ugyldig input: forventet instanceof ${J.expected}, fikk ${q}`;return`Ugyldig input: forventet ${Q}, fikk ${q}`}case"invalid_value":if(J.values.length===1)return`Ugyldig verdi: forventet ${V0(J.values[0])}`;return`Ugyldig valg: forventet en av ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`For stor(t): forventet ${J.origin??"value"} til å ha ${Q}${J.maximum.toString()} ${K.unit??"elementer"}`;return`For stor(t): forventet ${J.origin??"value"} til å ha ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`For lite(n): forventet ${J.origin} til å ha ${Q}${J.minimum.toString()} ${K.unit}`;return`For lite(n): forventet ${J.origin} til å ha ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ugyldig streng: må starte med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ugyldig streng: må ende med "${Q.suffix}"`;if(Q.format==="includes")return`Ugyldig streng: må inneholde "${Q.includes}"`;if(Q.format==="regex")return`Ugyldig streng: må matche mønsteret ${Q.pattern}`;return`Ugyldig ${U[Q.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"}}};function FF(){return{localeError:lL0()}}var oL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Fâsit giren: umulan instanceof ${J.expected}, alınan ${q}`;return`Fâsit giren: umulan ${Q}, alınan ${q}`}case"invalid_value":if(J.values.length===1)return`Fâsit giren: umulan ${V0(J.values[0])}`;return`Fâsit tercih: mûteberler ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Fazla büyük: ${J.origin??"value"}, ${Q}${J.maximum.toString()} ${K.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${J.origin??"value"}, ${Q}${J.maximum.toString()} olmalıydı.`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Fazla küçük: ${J.origin}, ${Q}${J.minimum.toString()} ${K.unit} sahip olmalıydı.`;return`Fazla küçük: ${J.origin}, ${Q}${J.minimum.toString()} olmalıydı.`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Fâsit metin: "${Q.prefix}" ile başlamalı.`;if(Q.format==="ends_with")return`Fâsit metin: "${Q.suffix}" ile bitmeli.`;if(Q.format==="includes")return`Fâsit metin: "${Q.includes}" ihtivâ etmeli.`;if(Q.format==="regex")return`Fâsit metin: ${Q.pattern} nakşına uymalı.`;return`Fâsit ${U[Q.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ı."}}};function MF(){return{localeError:oL0()}}var rL0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function I(J){return $[J]??null}let U={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:"ورودي"},Y={nan:"NaN",number:"عدد",array:"ارې"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ناسم ورودي: باید instanceof ${J.expected} وای, مګر ${q} ترلاسه شو`;return`ناسم ورودي: باید ${Q} وای, مګر ${q} ترلاسه شو`}case"invalid_value":if(J.values.length===1)return`ناسم ورودي: باید ${V0(J.values[0])} وای`;return`ناسم انتخاب: باید یو له ${I0(J.values,"|")} څخه وای`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`ډیر لوی: ${J.origin??"ارزښت"} باید ${Q}${J.maximum.toString()} ${K.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${J.origin??"ارزښت"} باید ${Q}${J.maximum.toString()} وي`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`ډیر کوچنی: ${J.origin} باید ${Q}${J.minimum.toString()} ${K.unit} ولري`;return`ډیر کوچنی: ${J.origin} باید ${Q}${J.minimum.toString()} وي`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`ناسم متن: باید د "${Q.prefix}" سره پیل شي`;if(Q.format==="ends_with")return`ناسم متن: باید د "${Q.suffix}" سره پای ته ورسيږي`;if(Q.format==="includes")return`ناسم متن: باید "${Q.includes}" ولري`;if(Q.format==="regex")return`ناسم متن: باید د ${Q.pattern} سره مطابقت ولري`;return`${U[Q.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"ناسمه ورودي"}}};function AF(){return{localeError:rL0()}}var tL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"liczba",array:"tablica"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, otrzymano ${q}`}case"invalid_value":if(J.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${V0(J.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Za duża wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${Q}${J.maximum.toString()} ${K.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Za mała wartość: oczekiwano, że ${J.origin??"wartość"} będzie mieć ${Q}${J.minimum.toString()} ${K.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${J.origin??"wartość"} będzie wynosić ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${Q.prefix}"`;if(Q.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${Q.suffix}"`;if(Q.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${Q.includes}"`;if(Q.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${Q.pattern}`;return`Nieprawidłow(y/a/e) ${U[Q.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"}}};function PF(){return{localeError:tL0()}}var aL0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"número",null:"nulo"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Tipo inválido: esperado instanceof ${J.expected}, recebido ${q}`;return`Tipo inválido: esperado ${Q}, recebido ${q}`}case"invalid_value":if(J.values.length===1)return`Entrada inválida: esperado ${V0(J.values[0])}`;return`Opção inválida: esperada uma das ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Muito grande: esperado que ${J.origin??"valor"} tivesse ${Q}${J.maximum.toString()} ${K.unit??"elementos"}`;return`Muito grande: esperado que ${J.origin??"valor"} fosse ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Muito pequeno: esperado que ${J.origin} tivesse ${Q}${J.minimum.toString()} ${K.unit}`;return`Muito pequeno: esperado que ${J.origin} fosse ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Texto inválido: deve começar com "${Q.prefix}"`;if(Q.format==="ends_with")return`Texto inválido: deve terminar com "${Q.suffix}"`;if(Q.format==="includes")return`Texto inválido: deve incluir "${Q.includes}"`;if(Q.format==="regex")return`Texto inválido: deve corresponder ao padrão ${Q.pattern}`;return`${U[Q.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"}}};function TF(){return{localeError:aL0()}}var sL0=()=>{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 I(J){return $[J]??null}let U={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"},Y={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 Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;return`Intrare invalidă: așteptat ${Q}, primit ${q}`}case"invalid_value":if(J.values.length===1)return`Intrare invalidă: așteptat ${V0(J.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Prea mare: așteptat ca ${J.origin??"valoarea"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"elemente"}`;return`Prea mare: așteptat ca ${J.origin??"valoarea"} să fie ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Prea mic: așteptat ca ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Prea mic: așteptat ca ${J.origin} să fie ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${Q.prefix}"`;if(Q.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${Q.suffix}"`;if(Q.format==="includes")return`Șir invalid: trebuie să includă "${Q.includes}"`;if(Q.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${Q.pattern}`;return`Format invalid: ${U[Q.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ă"}}};function EF(){return{localeError:sL0()}}function lk($,I,U,Y){let J=Math.abs($),Q=J%10,K=J%100;if(K>=11&&K<=19)return Y;if(Q===1)return I;if(Q>=2&&Q<=4)return U;return Y}var eL0=()=>{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 I(J){return $[J]??null}let U={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:"ввод"},Y={nan:"NaN",number:"число",array:"массив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Неверный ввод: ожидалось instanceof ${J.expected}, получено ${q}`;return`Неверный ввод: ожидалось ${Q}, получено ${q}`}case"invalid_value":if(J.values.length===1)return`Неверный ввод: ожидалось ${V0(J.values[0])}`;return`Неверный вариант: ожидалось одно из ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K){let q=Number(J.maximum),G=lk(q,K.unit.one,K.unit.few,K.unit.many);return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет иметь ${Q}${J.maximum.toString()} ${G}`}return`Слишком большое значение: ожидалось, что ${J.origin??"значение"} будет ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K){let q=Number(J.minimum),G=lk(q,K.unit.one,K.unit.few,K.unit.many);return`Слишком маленькое значение: ожидалось, что ${J.origin} будет иметь ${Q}${J.minimum.toString()} ${G}`}return`Слишком маленькое значение: ожидалось, что ${J.origin} будет ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неверная строка: должна начинаться с "${Q.prefix}"`;if(Q.format==="ends_with")return`Неверная строка: должна заканчиваться на "${Q.suffix}"`;if(Q.format==="includes")return`Неверная строка: должна содержать "${Q.includes}"`;if(Q.format==="regex")return`Неверная строка: должна соответствовать шаблону ${Q.pattern}`;return`Неверный ${U[Q.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"Неверные входные данные"}}};function BF(){return{localeError:eL0()}}var $D0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"število",array:"tabela"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Neveljaven vnos: pričakovano instanceof ${J.expected}, prejeto ${q}`;return`Neveljaven vnos: pričakovano ${Q}, prejeto ${q}`}case"invalid_value":if(J.values.length===1)return`Neveljaven vnos: pričakovano ${V0(J.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} imelo ${Q}${J.maximum.toString()} ${K.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${J.origin??"vrednost"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Premajhno: pričakovano, da bo ${J.origin} imelo ${Q}${J.minimum.toString()} ${K.unit}`;return`Premajhno: pričakovano, da bo ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Neveljaven niz: mora se začeti z "${Q.prefix}"`;if(Q.format==="ends_with")return`Neveljaven niz: mora se končati z "${Q.suffix}"`;if(Q.format==="includes")return`Neveljaven niz: mora vsebovati "${Q.includes}"`;if(Q.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${Q.pattern}`;return`Neveljaven ${U[Q.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"}}};function RF(){return{localeError:$D0()}}var ID0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"antal",array:"lista"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Ogiltig inmatning: förväntat instanceof ${J.expected}, fick ${q}`;return`Ogiltig inmatning: förväntat ${Q}, fick ${q}`}case"invalid_value":if(J.values.length===1)return`Ogiltig inmatning: förväntat ${V0(J.values[0])}`;return`Ogiltigt val: förväntade en av ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`För stor(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.maximum.toString()} ${K.unit??"element"}`;return`För stor(t): förväntat ${J.origin??"värdet"} att ha ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.minimum.toString()} ${K.unit}`;return`För lite(t): förväntade ${J.origin??"värdet"} att ha ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ogiltig sträng: måste börja med "${Q.prefix}"`;if(Q.format==="ends_with")return`Ogiltig sträng: måste sluta med "${Q.suffix}"`;if(Q.format==="includes")return`Ogiltig sträng: måste innehålla "${Q.includes}"`;if(Q.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${Q.pattern}"`;return`Ogiltig(t) ${U[Q.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"}}};function vF(){return{localeError:ID0()}}var UD0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${J.expected}, பெறப்பட்டது ${q}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${Q}, பெறப்பட்டது ${q}`}case"invalid_value":if(J.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${V0(J.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${I0(J.values,"|")} இல் ஒன்று`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${Q}${J.maximum.toString()} ${K.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${J.origin??"மதிப்பு"} ${Q}${J.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${J.origin} ${Q}${J.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`தவறான சரம்: "${Q.prefix}" இல் தொடங்க வேண்டும்`;if(Q.format==="ends_with")return`தவறான சரம்: "${Q.suffix}" இல் முடிவடைய வேண்டும்`;if(Q.format==="includes")return`தவறான சரம்: "${Q.includes}" ஐ உள்ளடக்க வேண்டும்`;if(Q.format==="regex")return`தவறான சரம்: ${Q.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${U[Q.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"தவறான உள்ளீடு"}}};function CF(){return{localeError:UD0()}}var YD0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function I(J){return $[J]??null}let U={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:"ข้อมูลที่ป้อน"},Y={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${J.expected} แต่ได้รับ ${q}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${Q} แต่ได้รับ ${q}`}case"invalid_value":if(J.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${V0(J.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"ไม่เกิน":"น้อยกว่า",K=I(J.origin);if(K)return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${Q} ${J.maximum.toString()} ${K.unit??"รายการ"}`;return`เกินกำหนด: ${J.origin??"ค่า"} ควรมี${Q} ${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?"อย่างน้อย":"มากกว่า",K=I(J.origin);if(K)return`น้อยกว่ากำหนด: ${J.origin} ควรมี${Q} ${J.minimum.toString()} ${K.unit}`;return`น้อยกว่ากำหนด: ${J.origin} ควรมี${Q} ${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${Q.prefix}"`;if(Q.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${Q.suffix}"`;if(Q.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${Q.includes}" อยู่ในข้อความ`;if(Q.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${Q.pattern}`;return`รูปแบบไม่ถูกต้อง: ${U[Q.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"ข้อมูลไม่ถูกต้อง"}}};function jF(){return{localeError:YD0()}}var JD0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function I(J){return $[J]??null}let U={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"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Geçersiz değer: beklenen instanceof ${J.expected}, alınan ${q}`;return`Geçersiz değer: beklenen ${Q}, alınan ${q}`}case"invalid_value":if(J.values.length===1)return`Geçersiz değer: beklenen ${V0(J.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Çok büyük: beklenen ${J.origin??"değer"} ${Q}${J.maximum.toString()} ${K.unit??"öğe"}`;return`Çok büyük: beklenen ${J.origin??"değer"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Çok küçük: beklenen ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`Çok küçük: beklenen ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Geçersiz metin: "${Q.prefix}" ile başlamalı`;if(Q.format==="ends_with")return`Geçersiz metin: "${Q.suffix}" ile bitmeli`;if(Q.format==="includes")return`Geçersiz metin: "${Q.includes}" içermeli`;if(Q.format==="regex")return`Geçersiz metin: ${Q.pattern} desenine uymalı`;return`Geçersiz ${U[Q.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"}}};function _F(){return{localeError:JD0()}}var QD0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function I(J){return $[J]??null}let U={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:"вхідні дані"},Y={nan:"NaN",number:"число",array:"масив"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Неправильні вхідні дані: очікується instanceof ${J.expected}, отримано ${q}`;return`Неправильні вхідні дані: очікується ${Q}, отримано ${q}`}case"invalid_value":if(J.values.length===1)return`Неправильні вхідні дані: очікується ${V0(J.values[0])}`;return`Неправильна опція: очікується одне з ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Занадто велике: очікується, що ${J.origin??"значення"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"елементів"}`;return`Занадто велике: очікується, що ${J.origin??"значення"} буде ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Занадто мале: очікується, що ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Занадто мале: очікується, що ${J.origin} буде ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Неправильний рядок: повинен починатися з "${Q.prefix}"`;if(Q.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${Q.suffix}"`;if(Q.format==="includes")return`Неправильний рядок: повинен містити "${Q.includes}"`;if(Q.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${Q.pattern}`;return`Неправильний ${U[Q.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"Неправильні вхідні дані"}}};function eJ(){return{localeError:QD0()}}function SF(){return eJ()}var KD0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function I(J){return $[J]??null}let U={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:"ان پٹ"},Y={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`غلط ان پٹ: instanceof ${J.expected} متوقع تھا، ${q} موصول ہوا`;return`غلط ان پٹ: ${Q} متوقع تھا، ${q} موصول ہوا`}case"invalid_value":if(J.values.length===1)return`غلط ان پٹ: ${V0(J.values[0])} متوقع تھا`;return`غلط آپشن: ${I0(J.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`بہت بڑا: ${J.origin??"ویلیو"} کے ${Q}${J.maximum.toString()} ${K.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${J.origin??"ویلیو"} کا ${Q}${J.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`بہت چھوٹا: ${J.origin} کے ${Q}${J.minimum.toString()} ${K.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${J.origin} کا ${Q}${J.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`غلط سٹرنگ: "${Q.prefix}" سے شروع ہونا چاہیے`;if(Q.format==="ends_with")return`غلط سٹرنگ: "${Q.suffix}" پر ختم ہونا چاہیے`;if(Q.format==="includes")return`غلط سٹرنگ: "${Q.includes}" شامل ہونا چاہیے`;if(Q.format==="regex")return`غلط سٹرنگ: پیٹرن ${Q.pattern} سے میچ ہونا چاہیے`;return`غلط ${U[Q.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"غلط ان پٹ"}}};function gF(){return{localeError:KD0()}}var qD0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"raqam",array:"massiv"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${J.expected}, qabul qilingan ${q}`;return`Noto‘g‘ri kirish: kutilgan ${Q}, qabul qilingan ${q}`}case"invalid_value":if(J.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${V0(J.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Juda katta: kutilgan ${J.origin??"qiymat"} ${Q}${J.maximum.toString()} ${K.unit} ${K.verb}`;return`Juda katta: kutilgan ${J.origin??"qiymat"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Juda kichik: kutilgan ${J.origin} ${Q}${J.minimum.toString()} ${K.unit} ${K.verb}`;return`Juda kichik: kutilgan ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Noto‘g‘ri satr: "${Q.prefix}" bilan boshlanishi kerak`;if(Q.format==="ends_with")return`Noto‘g‘ri satr: "${Q.suffix}" bilan tugashi kerak`;if(Q.format==="includes")return`Noto‘g‘ri satr: "${Q.includes}" ni o‘z ichiga olishi kerak`;if(Q.format==="regex")return`Noto‘g‘ri satr: ${Q.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${U[Q.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"}}};function yF(){return{localeError:qD0()}}var GD0=()=>{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 I(J){return $[J]??null}let U={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"},Y={nan:"NaN",number:"số",array:"mảng"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, nhận được ${q}`}case"invalid_value":if(J.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${V0(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 Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${K.verb} ${Q}${J.maximum.toString()} ${K.unit??"phần tử"}`;return`Quá lớn: mong đợi ${J.origin??"giá trị"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Quá nhỏ: mong đợi ${J.origin} ${K.verb} ${Q}${J.minimum.toString()} ${K.unit}`;return`Quá nhỏ: mong đợi ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${Q.prefix}"`;if(Q.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${Q.suffix}"`;if(Q.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${Q.includes}"`;if(Q.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${Q.pattern}`;return`${U[Q.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ệ"}}};function hF(){return{localeError:GD0()}}var HD0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function I(J){return $[J]??null}let U={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:"输入"},Y={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`无效输入:期望 instanceof ${J.expected},实际接收 ${q}`;return`无效输入:期望 ${Q},实际接收 ${q}`}case"invalid_value":if(J.values.length===1)return`无效输入:期望 ${V0(J.values[0])}`;return`无效选项:期望以下之一 ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`数值过大:期望 ${J.origin??"值"} ${Q}${J.maximum.toString()} ${K.unit??"个元素"}`;return`数值过大:期望 ${J.origin??"值"} ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`数值过小:期望 ${J.origin} ${Q}${J.minimum.toString()} ${K.unit}`;return`数值过小:期望 ${J.origin} ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`无效字符串:必须以 "${Q.prefix}" 开头`;if(Q.format==="ends_with")return`无效字符串:必须以 "${Q.suffix}" 结尾`;if(Q.format==="includes")return`无效字符串:必须包含 "${Q.includes}"`;if(Q.format==="regex")return`无效字符串:必须满足正则表达式 ${Q.pattern}`;return`无效${U[Q.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"无效输入"}}};function xF(){return{localeError:HD0()}}var WD0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function I(J){return $[J]??null}let U={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:"輸入"},Y={nan:"NaN"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;if(/^[A-Z]/.test(J.expected))return`無效的輸入值:預期為 instanceof ${J.expected},但收到 ${q}`;return`無效的輸入值:預期為 ${Q},但收到 ${q}`}case"invalid_value":if(J.values.length===1)return`無效的輸入值:預期為 ${V0(J.values[0])}`;return`無效的選項:預期為以下其中之一 ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`數值過大:預期 ${J.origin??"值"} 應為 ${Q}${J.maximum.toString()} ${K.unit??"個元素"}`;return`數值過大:預期 ${J.origin??"值"} 應為 ${Q}${J.maximum.toString()}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`數值過小:預期 ${J.origin} 應為 ${Q}${J.minimum.toString()} ${K.unit}`;return`數值過小:預期 ${J.origin} 應為 ${Q}${J.minimum.toString()}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`無效的字串:必須以 "${Q.prefix}" 開頭`;if(Q.format==="ends_with")return`無效的字串:必須以 "${Q.suffix}" 結尾`;if(Q.format==="includes")return`無效的字串:必須包含 "${Q.includes}"`;if(Q.format==="regex")return`無效的字串:必須符合格式 ${Q.pattern}`;return`無效的 ${U[Q.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"無效的輸入值"}}};function kF(){return{localeError:WD0()}}var VD0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function I(J){return $[J]??null}let U={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é"},Y={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(J)=>{switch(J.code){case"invalid_type":{let Q=Y[J.expected]??J.expected,K=z0(J.input),q=Y[K]??K;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 ${Q}, àmọ̀ a rí ${q}`}case"invalid_value":if(J.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${V0(J.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${I0(J.values,"|")}`;case"too_big":{let Q=J.inclusive?"<=":"<",K=I(J.origin);if(K)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${J.origin??"iye"} ${K.verb} ${Q}${J.maximum} ${K.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${Q}${J.maximum}`}case"too_small":{let Q=J.inclusive?">=":">",K=I(J.origin);if(K)return`Kéré ju: a ní láti jẹ́ pé ${J.origin} ${K.verb} ${Q}${J.minimum} ${K.unit}`;return`Kéré ju: a ní láti jẹ́ ${Q}${J.minimum}`}case"invalid_format":{let Q=J;if(Q.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${Q.prefix}"`;if(Q.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${Q.suffix}"`;if(Q.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${Q.includes}"`;if(Q.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${Q.pattern}`;return`Aṣìṣe: ${U[Q.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"}}};function uF(){return{localeError:VD0()}}var ok,fF=Symbol("ZodOutput"),bF=Symbol("ZodInput");class iF{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...I){let U=I[0];if(this._map.set($,U),U&&typeof U==="object"&&"id"in U)this._idmap.set(U.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let I=this._map.get($);if(I&&typeof I==="object"&&"id"in I)this._idmap.delete(I.id);return this._map.delete($),this}get($){let I=$._zod.parent;if(I){let U={...this.get(I)??{}};delete U.id;let Y={...U,...this._map.get($)};return Object.keys(Y).length?Y:void 0}return this._map.get($)}has($){return this._map.has($)}}function KH(){return new iF}(ok=globalThis).__zod_globalRegistry??(ok.__zod_globalRegistry=KH());var d4=globalThis.__zod_globalRegistry;function nF($,I){return new $({type:"string",...L0(I)})}function pF($,I){return new $({type:"string",coerce:!0,...L0(I)})}function qH($,I){return new $({type:"string",format:"email",check:"string_format",abort:!1,...L0(I)})}function IQ($,I){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...L0(I)})}function GH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...L0(I)})}function HH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...L0(I)})}function WH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...L0(I)})}function VH($,I){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...L0(I)})}function UQ($,I){return new $({type:"string",format:"url",check:"string_format",abort:!1,...L0(I)})}function ZH($,I){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...L0(I)})}function zH($,I){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...L0(I)})}function XH($,I){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...L0(I)})}function wH($,I){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...L0(I)})}function LH($,I){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...L0(I)})}function DH($,I){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...L0(I)})}function OH($,I){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...L0(I)})}function NH($,I){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...L0(I)})}function FH($,I){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...L0(I)})}function cF($,I){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...L0(I)})}function MH($,I){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...L0(I)})}function AH($,I){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...L0(I)})}function PH($,I){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...L0(I)})}function TH($,I){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...L0(I)})}function EH($,I){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...L0(I)})}function BH($,I){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...L0(I)})}var dF={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function mF($,I){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...L0(I)})}function lF($,I){return new $({type:"string",format:"date",check:"string_format",...L0(I)})}function oF($,I){return new $({type:"string",format:"time",check:"string_format",precision:null,...L0(I)})}function rF($,I){return new $({type:"string",format:"duration",check:"string_format",...L0(I)})}function tF($,I){return new $({type:"number",checks:[],...L0(I)})}function aF($,I){return new $({type:"number",coerce:!0,checks:[],...L0(I)})}function sF($,I){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...L0(I)})}function eF($,I){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...L0(I)})}function $M($,I){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...L0(I)})}function IM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...L0(I)})}function UM($,I){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...L0(I)})}function YM($,I){return new $({type:"boolean",...L0(I)})}function JM($,I){return new $({type:"boolean",coerce:!0,...L0(I)})}function QM($,I){return new $({type:"bigint",...L0(I)})}function KM($,I){return new $({type:"bigint",coerce:!0,...L0(I)})}function qM($,I){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...L0(I)})}function GM($,I){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...L0(I)})}function HM($,I){return new $({type:"symbol",...L0(I)})}function WM($,I){return new $({type:"undefined",...L0(I)})}function VM($,I){return new $({type:"null",...L0(I)})}function ZM($){return new $({type:"any"})}function zM($){return new $({type:"unknown"})}function XM($,I){return new $({type:"never",...L0(I)})}function wM($,I){return new $({type:"void",...L0(I)})}function LM($,I){return new $({type:"date",...L0(I)})}function DM($,I){return new $({type:"date",coerce:!0,...L0(I)})}function OM($,I){return new $({type:"nan",...L0(I)})}function K8($,I){return new oG({check:"less_than",...L0(I),value:$,inclusive:!1})}function $$($,I){return new oG({check:"less_than",...L0(I),value:$,inclusive:!0})}function q8($,I){return new rG({check:"greater_than",...L0(I),value:$,inclusive:!1})}function P6($,I){return new rG({check:"greater_than",...L0(I),value:$,inclusive:!0})}function RH($){return q8(0,$)}function vH($){return K8(0,$)}function CH($){return $$(0,$)}function jH($){return P6(0,$)}function r5($,I){return new wO({check:"multiple_of",...L0(I),value:$})}function t5($,I){return new OO({check:"max_size",...L0(I),maximum:$})}function G8($,I){return new NO({check:"min_size",...L0(I),minimum:$})}function P7($,I){return new FO({check:"size_equals",...L0(I),size:$})}function T7($,I){return new MO({check:"max_length",...L0(I),maximum:$})}function o8($,I){return new AO({check:"min_length",...L0(I),minimum:$})}function E7($,I){return new PO({check:"length_equals",...L0(I),length:$})}function AI($,I){return new TO({check:"string_format",format:"regex",...L0(I),pattern:$})}function PI($){return new EO({check:"string_format",format:"lowercase",...L0($)})}function TI($){return new BO({check:"string_format",format:"uppercase",...L0($)})}function EI($,I){return new RO({check:"string_format",format:"includes",...L0(I),includes:$})}function BI($,I){return new vO({check:"string_format",format:"starts_with",...L0(I),prefix:$})}function RI($,I){return new CO({check:"string_format",format:"ends_with",...L0(I),suffix:$})}function _H($,I,U){return new jO({check:"property",property:$,schema:I,...L0(U)})}function vI($,I){return new _O({check:"mime_type",mime:$,...L0(I)})}function u$($){return new SO({check:"overwrite",tx:$})}function CI($){return u$((I)=>I.normalize($))}function jI(){return u$(($)=>$.trim())}function _I(){return u$(($)=>$.toLowerCase())}function SI(){return u$(($)=>$.toUpperCase())}function gI(){return u$(($)=>jD($))}function NM($,I,U){return new $({type:"array",element:I,...L0(U)})}function zD0($,I,U){return new $({type:"union",options:I,...L0(U)})}function XD0($,I,U){return new $({type:"union",options:I,inclusive:!1,...L0(U)})}function wD0($,I,U,Y){return new $({type:"union",options:U,discriminator:I,...L0(Y)})}function LD0($,I,U){return new $({type:"intersection",left:I,right:U})}function DD0($,I,U,Y){let J=U instanceof i0;return new $({type:"tuple",items:I,rest:J?U:null,...L0(J?Y:U)})}function OD0($,I,U,Y){return new $({type:"record",keyType:I,valueType:U,...L0(Y)})}function ND0($,I,U,Y){return new $({type:"map",keyType:I,valueType:U,...L0(Y)})}function FD0($,I,U){return new $({type:"set",valueType:I,...L0(U)})}function MD0($,I,U){let Y=Array.isArray(I)?Object.fromEntries(I.map((J)=>[J,J])):I;return new $({type:"enum",entries:Y,...L0(U)})}function AD0($,I,U){return new $({type:"enum",entries:I,...L0(U)})}function PD0($,I,U){return new $({type:"literal",values:Array.isArray(I)?I:[I],...L0(U)})}function FM($,I){return new $({type:"file",...L0(I)})}function TD0($,I){return new $({type:"transform",transform:I})}function ED0($,I){return new $({type:"optional",innerType:I})}function BD0($,I){return new $({type:"nullable",innerType:I})}function RD0($,I,U){return new $({type:"default",innerType:I,get defaultValue(){return typeof U==="function"?U():SD(U)}})}function vD0($,I,U){return new $({type:"nonoptional",innerType:I,...L0(U)})}function CD0($,I){return new $({type:"success",innerType:I})}function jD0($,I,U){return new $({type:"catch",innerType:I,catchValue:typeof U==="function"?U:()=>U})}function _D0($,I,U){return new $({type:"pipe",in:I,out:U})}function SD0($,I){return new $({type:"readonly",innerType:I})}function gD0($,I,U){return new $({type:"template_literal",parts:I,...L0(U)})}function yD0($,I){return new $({type:"lazy",getter:I})}function hD0($,I){return new $({type:"promise",innerType:I})}function MM($,I,U){let Y=L0(U);return Y.abort??(Y.abort=!0),new $({type:"custom",check:"custom",fn:I,...Y})}function AM($,I,U){return new $({type:"custom",check:"custom",fn:I,...L0(U)})}function PM($,I){let U=rk((Y)=>{return Y.addIssue=(J)=>{if(typeof J==="string")Y.issues.push(XI(J,Y.value,U._zod.def));else{let Q=J;if(Q.fatal)Q.continue=!1;Q.code??(Q.code="custom"),Q.input??(Q.input=Y.value),Q.inst??(Q.inst=U),Q.continue??(Q.continue=!U._zod.def.abort),Y.issues.push(XI(Q))}},$(Y.value,Y)},I);return U}function rk($,I){let U=new k1({check:"custom",...L0(I)});return U._zod.check=$,U}function TM($){let I=new k1({check:"describe"});return I._zod.onattach=[(U)=>{let Y=d4.get(U)??{};d4.add(U,{...Y,description:$})}],I._zod.check=()=>{},I}function EM($){let I=new k1({check:"meta"});return I._zod.onattach=[(U)=>{let Y=d4.get(U)??{};d4.add(U,{...Y,...$})}],I._zod.check=()=>{},I}function BM($,I){let U=L0(I),Y=U.truthy??["true","1","yes","on","y","enabled"],J=U.falsy??["false","0","no","off","n","disabled"];if(U.case!=="sensitive")Y=Y.map((Z)=>typeof Z==="string"?Z.toLowerCase():Z),J=J.map((Z)=>typeof Z==="string"?Z.toLowerCase():Z);let Q=new Set(Y),K=new Set(J),q=$.Codec??rJ,G=$.Boolean??lJ,W=new($.String??A7)({type:"string",error:U.error}),V=new G({type:"boolean",error:U.error}),z=new q({type:"pipe",in:W,out:V,transform:(Z,w)=>{let L=Z;if(U.case!=="sensitive")L=L.toLowerCase();if(Q.has(L))return!0;else if(K.has(L))return!1;else return w.issues.push({code:"invalid_value",expected:"stringbool",values:[...Q,...K],input:w.value,inst:z,continue:!1}),{}},reverseTransform:(Z,w)=>{if(Z===!0)return Y[0]||"true";else return J[0]||"false"},error:U.error});return z}function yI($,I,U,Y={}){let J=L0(Y),Q={...L0(Y),check:"string_format",type:"string",format:I,fn:typeof U==="function"?U:(q)=>U.test(q),...J};if(U instanceof RegExp)Q.pattern=U;return new $(Q)}function a5($){let I=$?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??d4,target:I,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function C1($,I,U={path:[],schemaPath:[]}){var Y;let J=$._zod.def,Q=I.seen.get($);if(Q){if(Q.count++,U.schemaPath.includes($))Q.cycle=U.path;return Q.schema}let K={schema:{},count:1,cycle:void 0,path:U.path};I.seen.set($,K);let q=$._zod.toJSONSchema?.();if(q)K.schema=q;else{let W={...U,schemaPath:[...U.schemaPath,$],path:U.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(I,K.schema,W);else{let z=K.schema,Z=I.processors[J.type];if(!Z)throw Error(`[toJSONSchema]: Non-representable type encountered: ${J.type}`);Z($,I,z,W)}let V=$._zod.parent;if(V){if(!K.ref)K.ref=V;C1(V,I,W),I.seen.get(V).isParent=!0}}let G=I.metadataRegistry.get($);if(G)Object.assign(K.schema,G);if(I.io==="input"&&T6($))delete K.schema.examples,delete K.schema.default;if(I.io==="input"&&"_prefault"in K.schema)(Y=K.schema).default??(Y.default=K.schema._prefault);return delete K.schema._prefault,I.seen.get($).schema}function s5($,I){let U=$.seen.get(I);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let Y=new Map;for(let K of $.seen.entries()){let q=$.metadataRegistry.get(K[0])?.id;if(q){let G=Y.get(q);if(G&&G!==K[0])throw Error(`Duplicate schema id "${q}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);Y.set(q,K[0])}}let J=(K)=>{let q=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let V=$.external.registry.get(K[0])?.id,z=$.external.uri??((w)=>w);if(V)return{ref:z(V)};let Z=K[1].defId??K[1].schema.id??`schema${$.counter++}`;return K[1].defId=Z,{defId:Z,ref:`${z("__shared")}#/${q}/${Z}`}}if(K[1]===U)return{ref:"#"};let H=`${"#"}/${q}/`,W=K[1].schema.id??`__schema${$.counter++}`;return{defId:W,ref:H+W}},Q=(K)=>{if(K[1].schema.$ref)return;let q=K[1],{ref:G,defId:H}=J(K);if(q.def={...q.schema},H)q.defId=H;let W=q.schema;for(let V in W)delete W[V];W.$ref=G};if($.cycles==="throw")for(let K of $.seen.entries()){let q=K[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 K of $.seen.entries()){let q=K[1];if(I===K[0]){Q(K);continue}if($.external){let H=$.external.registry.get(K[0])?.id;if(I!==K[0]&&H){Q(K);continue}}if($.metadataRegistry.get(K[0])?.id){Q(K);continue}if(q.cycle){Q(K);continue}if(q.count>1){if($.reused==="ref"){Q(K);continue}}}}function e5($,I){let U=$.seen.get(I);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let Y=(q)=>{let G=$.seen.get(q);if(G.ref===null)return;let H=G.def??G.schema,W={...H},V=G.ref;if(G.ref=null,V){Y(V);let Z=$.seen.get(V),w=Z.schema;if(w.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))H.allOf=H.allOf??[],H.allOf.push(w);else Object.assign(H,w);if(Object.assign(H,W),q._zod.parent===V)for(let D in H){if(D==="$ref"||D==="allOf")continue;if(!(D in W))delete H[D]}if(w.$ref&&Z.def)for(let D in H){if(D==="$ref"||D==="allOf")continue;if(D in Z.def&&JSON.stringify(H[D])===JSON.stringify(Z.def[D]))delete H[D]}}let z=q._zod.parent;if(z&&z!==V){Y(z);let Z=$.seen.get(z);if(Z?.schema.$ref){if(H.$ref=Z.schema.$ref,Z.def)for(let w in H){if(w==="$ref"||w==="allOf")continue;if(w in Z.def&&JSON.stringify(H[w])===JSON.stringify(Z.def[w]))delete H[w]}}}$.override({zodSchema:q,jsonSchema:H,path:G.path??[]})};for(let q of[...$.seen.entries()].reverse())Y(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(I)?.id;if(!q)throw Error("Schema is missing an `id` property");J.$id=$.external.uri(q)}Object.assign(J,U.def??U.schema);let Q=$.metadataRegistry.get(I)?.id;if(Q!==void 0&&J.id===Q)delete J.id;let K=$.external?.defs??{};for(let q of $.seen.entries()){let G=q[1];if(G.def&&G.defId){if(G.def.id===G.defId)delete G.def.id;K[G.defId]=G.def}}if($.external);else if(Object.keys(K).length>0)if($.target==="draft-2020-12")J.$defs=K;else J.definitions=K;try{let q=JSON.parse(JSON.stringify(J));return Object.defineProperty(q,"~standard",{value:{...I["~standard"],jsonSchema:{input:hI(I,"input",$.processors),output:hI(I,"output",$.processors)}},enumerable:!1,writable:!1}),q}catch(q){throw Error("Error converting schema to JSON.")}}function T6($,I){let U=I??{seen:new Set};if(U.seen.has($))return!1;U.seen.add($);let Y=$._zod.def;if(Y.type==="transform")return!0;if(Y.type==="array")return T6(Y.element,U);if(Y.type==="set")return T6(Y.valueType,U);if(Y.type==="lazy")return T6(Y.getter(),U);if(Y.type==="promise"||Y.type==="optional"||Y.type==="nonoptional"||Y.type==="nullable"||Y.type==="readonly"||Y.type==="default"||Y.type==="prefault")return T6(Y.innerType,U);if(Y.type==="intersection")return T6(Y.left,U)||T6(Y.right,U);if(Y.type==="record"||Y.type==="map")return T6(Y.keyType,U)||T6(Y.valueType,U);if(Y.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return T6(Y.in,U)||T6(Y.out,U)}if(Y.type==="object"){for(let J in Y.shape)if(T6(Y.shape[J],U))return!0;return!1}if(Y.type==="union"){for(let J of Y.options)if(T6(J,U))return!0;return!1}if(Y.type==="tuple"){for(let J of Y.items)if(T6(J,U))return!0;if(Y.rest&&T6(Y.rest,U))return!0;return!1}return!1}var RM=($,I={})=>(U)=>{let Y=a5({...U,processors:I});return C1($,Y),s5(Y,$),e5(Y,$)},hI=($,I,U={})=>(Y)=>{let{libraryOptions:J,target:Q}=Y??{},K=a5({...J??{},target:Q,io:I,processors:U});return C1($,K),s5(K,$),e5(K,$)};var xD0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},vM=($,I,U,Y)=>{let J=U;J.type="string";let{minimum:Q,maximum:K,format:q,patterns:G,contentEncoding:H}=$._zod.bag;if(typeof Q==="number")J.minLength=Q;if(typeof K==="number")J.maxLength=K;if(q){if(J.format=xD0[q]??q,J.format==="")delete J.format;if(q==="time")delete J.format}if(H)J.contentEncoding=H;if(G&&G.size>0){let W=[...G];if(W.length===1)J.pattern=W[0].source;else if(W.length>1)J.allOf=[...W.map((V)=>({...I.target==="draft-07"||I.target==="draft-04"||I.target==="openapi-3.0"?{type:"string"}:{},pattern:V.source}))]}},CM=($,I,U,Y)=>{let J=U,{minimum:Q,maximum:K,format:q,multipleOf:G,exclusiveMaximum:H,exclusiveMinimum:W}=$._zod.bag;if(typeof q==="string"&&q.includes("int"))J.type="integer";else J.type="number";let V=typeof W==="number"&&W>=(Q??Number.NEGATIVE_INFINITY),z=typeof H==="number"&&H<=(K??Number.POSITIVE_INFINITY),Z=I.target==="draft-04"||I.target==="openapi-3.0";if(V)if(Z)J.minimum=W,J.exclusiveMinimum=!0;else J.exclusiveMinimum=W;else if(typeof Q==="number")J.minimum=Q;if(z)if(Z)J.maximum=H,J.exclusiveMaximum=!0;else J.exclusiveMaximum=H;else if(typeof K==="number")J.maximum=K;if(typeof G==="number")J.multipleOf=G},jM=($,I,U,Y)=>{U.type="boolean"},_M=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},SM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},gM=($,I,U,Y)=>{if(I.target==="openapi-3.0")U.type="string",U.nullable=!0,U.enum=[null];else U.type="null"},yM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},hM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},xM=($,I,U,Y)=>{U.not={}},kM=($,I,U,Y)=>{},uM=($,I,U,Y)=>{},fM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},bM=($,I,U,Y)=>{let J=$._zod.def,Q=gJ(J.entries);if(Q.every((K)=>typeof K==="number"))U.type="number";if(Q.every((K)=>typeof K==="string"))U.type="string";U.enum=Q},iM=($,I,U,Y)=>{let J=$._zod.def,Q=[];for(let K of J.values)if(K===void 0){if(I.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof K==="bigint")if(I.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else Q.push(Number(K));else Q.push(K);if(Q.length===0);else if(Q.length===1){let K=Q[0];if(U.type=K===null?"null":typeof K,I.target==="draft-04"||I.target==="openapi-3.0")U.enum=[K];else U.const=K}else{if(Q.every((K)=>typeof K==="number"))U.type="number";if(Q.every((K)=>typeof K==="string"))U.type="string";if(Q.every((K)=>typeof K==="boolean"))U.type="boolean";if(Q.every((K)=>K===null))U.type="null";U.enum=Q}},nM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},pM=($,I,U,Y)=>{let J=U,Q=$._zod.pattern;if(!Q)throw Error("Pattern not found in template literal");J.type="string",J.pattern=Q.source},cM=($,I,U,Y)=>{let J=U,Q={type:"string",format:"binary",contentEncoding:"binary"},{minimum:K,maximum:q,mime:G}=$._zod.bag;if(K!==void 0)Q.minLength=K;if(q!==void 0)Q.maxLength=q;if(G)if(G.length===1)Q.contentMediaType=G[0],Object.assign(J,Q);else Object.assign(J,Q),J.anyOf=G.map((H)=>({contentMediaType:H}));else Object.assign(J,Q)},dM=($,I,U,Y)=>{U.type="boolean"},mM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},lM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},oM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},rM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},tM=($,I,U,Y)=>{if(I.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},aM=($,I,U,Y)=>{let J=U,Q=$._zod.def,{minimum:K,maximum:q}=$._zod.bag;if(typeof K==="number")J.minItems=K;if(typeof q==="number")J.maxItems=q;J.type="array",J.items=C1(Q.element,I,{...Y,path:[...Y.path,"items"]})},sM=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="object",J.properties={};let K=Q.shape;for(let H in K)J.properties[H]=C1(K[H],I,{...Y,path:[...Y.path,"properties",H]});let q=new Set(Object.keys(K)),G=new Set([...q].filter((H)=>{let W=Q.shape[H]._zod;if(I.io==="input")return W.optin===void 0;else return W.optout===void 0}));if(G.size>0)J.required=Array.from(G);if(Q.catchall?._zod.def.type==="never")J.additionalProperties=!1;else if(!Q.catchall){if(I.io==="output")J.additionalProperties=!1}else if(Q.catchall)J.additionalProperties=C1(Q.catchall,I,{...Y,path:[...Y.path,"additionalProperties"]})},gH=($,I,U,Y)=>{let J=$._zod.def,Q=J.inclusive===!1,K=J.options.map((q,G)=>C1(q,I,{...Y,path:[...Y.path,Q?"oneOf":"anyOf",G]}));if(Q)U.oneOf=K;else U.anyOf=K},eM=($,I,U,Y)=>{let J=$._zod.def,Q=C1(J.left,I,{...Y,path:[...Y.path,"allOf",0]}),K=C1(J.right,I,{...Y,path:[...Y.path,"allOf",1]}),q=(H)=>("allOf"in H)&&Object.keys(H).length===1,G=[...q(Q)?Q.allOf:[Q],...q(K)?K.allOf:[K]];U.allOf=G},$A=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="array";let K=I.target==="draft-2020-12"?"prefixItems":"items",q=I.target==="draft-2020-12"?"items":I.target==="openapi-3.0"?"items":"additionalItems",G=Q.items.map((z,Z)=>C1(z,I,{...Y,path:[...Y.path,K,Z]})),H=Q.rest?C1(Q.rest,I,{...Y,path:[...Y.path,q,...I.target==="openapi-3.0"?[Q.items.length]:[]]}):null;if(I.target==="draft-2020-12"){if(J.prefixItems=G,H)J.items=H}else if(I.target==="openapi-3.0"){if(J.items={anyOf:G},H)J.items.anyOf.push(H);if(J.minItems=G.length,!H)J.maxItems=G.length}else if(J.items=G,H)J.additionalItems=H;let{minimum:W,maximum:V}=$._zod.bag;if(typeof W==="number")J.minItems=W;if(typeof V==="number")J.maxItems=V},IA=($,I,U,Y)=>{let J=U,Q=$._zod.def;J.type="object";let K=Q.keyType,G=K._zod.bag?.patterns;if(Q.mode==="loose"&&G&&G.size>0){let W=C1(Q.valueType,I,{...Y,path:[...Y.path,"patternProperties","*"]});J.patternProperties={};for(let V of G)J.patternProperties[V.source]=W}else{if(I.target==="draft-07"||I.target==="draft-2020-12")J.propertyNames=C1(Q.keyType,I,{...Y,path:[...Y.path,"propertyNames"]});J.additionalProperties=C1(Q.valueType,I,{...Y,path:[...Y.path,"additionalProperties"]})}let H=K._zod.values;if(H){let W=[...H].filter((V)=>typeof V==="string"||typeof V==="number");if(W.length>0)J.required=W}},UA=($,I,U,Y)=>{let J=$._zod.def,Q=C1(J.innerType,I,Y),K=I.seen.get($);if(I.target==="openapi-3.0")K.ref=J.innerType,U.nullable=!0;else U.anyOf=[Q,{type:"null"}]},YA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},JA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType,U.default=JSON.parse(JSON.stringify(J.defaultValue))},QA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);if(Q.ref=J.innerType,I.io==="input")U._prefault=JSON.parse(JSON.stringify(J.defaultValue))},KA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType;let K;try{K=J.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}U.default=K},qA=($,I,U,Y)=>{let J=$._zod.def,Q=J.in._zod.traits.has("$ZodTransform"),K=I.io==="input"?Q?J.out:J.in:J.out;C1(K,I,Y);let q=I.seen.get($);q.ref=K},GA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType,U.readOnly=!0},HA=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},yH=($,I,U,Y)=>{let J=$._zod.def;C1(J.innerType,I,Y);let Q=I.seen.get($);Q.ref=J.innerType},WA=($,I,U,Y)=>{let J=$._zod.innerType;C1(J,I,Y);let Q=I.seen.get($);Q.ref=J},SH={string:vM,number:CM,boolean:jM,bigint:_M,symbol:SM,null:gM,undefined:yM,void:hM,never:xM,any:kM,unknown:uM,date:fM,enum:bM,literal:iM,nan:nM,template_literal:pM,file:cM,success:dM,custom:mM,function:lM,transform:oM,map:rM,set:tM,array:aM,object:sM,union:gH,intersection:eM,tuple:$A,record:IA,nullable:UA,nonoptional:YA,default:JA,prefault:QA,catch:KA,pipe:qA,readonly:GA,promise:HA,optional:yH,lazy:WA};function hH($,I){if("_idmap"in $){let Y=$,J=a5({...I,processors:SH}),Q={};for(let G of Y._idmap.entries()){let[H,W]=G;C1(W,J)}let K={},q={registry:Y,uri:I?.uri,defs:Q};J.external=q;for(let G of Y._idmap.entries()){let[H,W]=G;s5(J,W),K[H]=e5(J,W)}if(Object.keys(Q).length>0){let G=J.target==="draft-2020-12"?"$defs":"definitions";K.__shared={[G]:Q}}return{schemas:K}}let U=a5({...I,processors:SH});return C1($,U),s5(U,$),e5(U,$)}class VA{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 I=$?.target??"draft-2020-12";if(I==="draft-4")I="draft-04";if(I==="draft-7")I="draft-07";this.ctx=a5({processors:SH,target:I,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,I={path:[],schemaPath:[]}){return C1($,this.ctx,I)}emit($,I){if(I){if(I.cycles)this.ctx.cycles=I.cycles;if(I.reused)this.ctx.reused=I.reused;if(I.external)this.ctx.external=I.external}s5(this.ctx,$);let U=e5(this.ctx,$),{"~standard":Y,...J}=U;return J}}var tk={};function xI($){return!!$._zod}function $9($,I){if(xI($))return OI($,I);return $.safeParse(I)}function xH($){if(!$)return;let I;if(xI($))I=$._zod?.def?.shape;else I=$.shape;if(!I)return;if(typeof I==="function")try{return I()}catch{return}return I}function ak($){if(xI($)){let Q=$._zod?.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 U=$._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 Y=$.value;if(Y!==void 0)return Y;return}var X={};m8(X,{xor:()=>nu,xid:()=>zu,void:()=>uu,uuidv7:()=>Qu,uuidv6:()=>Ju,uuidv4:()=>Yu,uuid:()=>Uu,util:()=>w0,url:()=>Ku,uppercase:()=>TI,unknown:()=>y1,union:()=>h1,undefined:()=>xu,ulid:()=>Zu,uint64:()=>yu,uint32:()=>_u,tuple:()=>iA,trim:()=>jI,treeifyError:()=>uD,transform:()=>HW,toUpperCase:()=>SI,toLowerCase:()=>_I,toJSONSchema:()=>hH,templateLiteral:()=>$f,symbol:()=>hu,superRefine:()=>XP,success:()=>tu,stringbool:()=>qf,stringFormat:()=>Tu,string:()=>Q0,strictObject:()=>iu,startsWith:()=>BI,slugify:()=>gI,size:()=>P7,setErrorMap:()=>iD0,set:()=>mu,safeParseAsync:()=>NA,safeParse:()=>OA,safeEncodeAsync:()=>BA,safeEncode:()=>TA,safeDecodeAsync:()=>RA,safeDecode:()=>EA,registry:()=>KH,regexes:()=>e6,regex:()=>AI,refine:()=>zP,record:()=>_1,readonly:()=>qP,property:()=>_H,promise:()=>If,prettifyError:()=>fD,preprocess:()=>LQ,prefault:()=>eA,positive:()=>RH,pipe:()=>pH,partialRecord:()=>pu,parseAsync:()=>DA,parse:()=>LA,overwrite:()=>u$,optional:()=>u1,object:()=>P0,number:()=>z1,nullish:()=>ru,nullable:()=>QQ,null:()=>GQ,normalize:()=>CI,nonpositive:()=>CH,nonoptional:()=>$P,nonnegative:()=>jH,never:()=>GW,negative:()=>vH,nativeEnum:()=>lu,nanoid:()=>Hu,nan:()=>au,multipleOf:()=>r5,minSize:()=>G8,minLength:()=>o8,mime:()=>vI,meta:()=>Qf,maxSize:()=>t5,maxLength:()=>T7,map:()=>du,mac:()=>Lu,lte:()=>$$,lt:()=>K8,lowercase:()=>PI,looseRecord:()=>cu,looseObject:()=>m4,locales:()=>$Q,literal:()=>j0,length:()=>E7,lazy:()=>WP,ksuid:()=>Xu,keyof:()=>bu,jwt:()=>Pu,json:()=>Gf,iso:()=>I9,ipv6:()=>Du,ipv4:()=>wu,invertCodec:()=>eu,intersection:()=>cI,int64:()=>gu,int32:()=>ju,int:()=>nH,instanceof:()=>Kf,includes:()=>EI,httpUrl:()=>qu,hostname:()=>Eu,hex:()=>Bu,hash:()=>Ru,guid:()=>Iu,gte:()=>P6,gt:()=>q8,globalRegistry:()=>d4,getErrorMap:()=>nD0,function:()=>Uf,fromJSONSchema:()=>Wf,formatError:()=>bJ,float64:()=>Cu,float32:()=>vu,flattenError:()=>fJ,file:()=>ou,exactOptional:()=>oA,enum:()=>l4,endsWith:()=>RI,encodeAsync:()=>AA,encode:()=>FA,emoji:()=>Gu,email:()=>$u,e164:()=>Au,discriminatedUnion:()=>ZQ,describe:()=>Jf,decodeAsync:()=>PA,decode:()=>MA,date:()=>fu,custom:()=>ZW,cuid2:()=>Vu,cuid:()=>Wu,core:()=>r8,config:()=>Z4,coerce:()=>LP,codec:()=>su,clone:()=>M6,cidrv6:()=>Nu,cidrv4:()=>Ou,check:()=>Yf,catch:()=>YP,boolean:()=>O4,bigint:()=>Su,base64url:()=>Mu,base64:()=>Fu,array:()=>e0,any:()=>ku,_function:()=>Uf,_default:()=>aA,_ZodString:()=>cH,ZodXor:()=>kA,ZodXID:()=>aH,ZodVoid:()=>hA,ZodUnknown:()=>gA,ZodUnion:()=>VQ,ZodUndefined:()=>jA,ZodUUID:()=>H8,ZodURL:()=>qQ,ZodULID:()=>tH,ZodType:()=>m0,ZodTuple:()=>bA,ZodTransform:()=>mA,ZodTemplateLiteral:()=>GP,ZodSymbol:()=>CA,ZodSuccess:()=>IP,ZodStringFormat:()=>g1,ZodString:()=>fI,ZodSet:()=>pA,ZodRecord:()=>kI,ZodRealError:()=>x6,ZodReadonly:()=>KP,ZodPromise:()=>VP,ZodPreprocess:()=>QP,ZodPrefault:()=>sA,ZodPipe:()=>zQ,ZodOptional:()=>WW,ZodObject:()=>WQ,ZodNumberFormat:()=>B7,ZodNumber:()=>iI,ZodNullable:()=>rA,ZodNull:()=>_A,ZodNonOptional:()=>VW,ZodNever:()=>yA,ZodNanoID:()=>lH,ZodNaN:()=>JP,ZodMap:()=>nA,ZodMAC:()=>vA,ZodLiteral:()=>cA,ZodLazy:()=>HP,ZodKSUID:()=>sH,ZodJWT:()=>KW,ZodIssueCode:()=>bD0,ZodIntersection:()=>fA,ZodISOTime:()=>bH,ZodISODuration:()=>iH,ZodISODateTime:()=>uH,ZodISODate:()=>fH,ZodIPv6:()=>$W,ZodIPv4:()=>eH,ZodGUID:()=>JQ,ZodFunction:()=>ZP,ZodFirstPartyTypeKind:()=>wP,ZodFile:()=>dA,ZodExactOptional:()=>lA,ZodError:()=>uD0,ZodEnum:()=>uI,ZodEmoji:()=>mH,ZodEmail:()=>dH,ZodE164:()=>QW,ZodDiscriminatedUnion:()=>uA,ZodDefault:()=>tA,ZodDate:()=>HQ,ZodCustomStringFormat:()=>bI,ZodCustom:()=>wQ,ZodCodec:()=>XQ,ZodCatch:()=>UP,ZodCUID2:()=>rH,ZodCUID:()=>oH,ZodCIDRv6:()=>UW,ZodCIDRv4:()=>IW,ZodBoolean:()=>nI,ZodBigIntFormat:()=>qW,ZodBigInt:()=>pI,ZodBase64URL:()=>JW,ZodBase64:()=>YW,ZodArray:()=>xA,ZodAny:()=>SA,TimePrecision:()=>dF,NEVER:()=>BD,$output:()=>fF,$input:()=>bF,$brand:()=>RD});var YQ={};m8(YQ,{xor:()=>nu,xid:()=>zu,void:()=>uu,uuidv7:()=>Qu,uuidv6:()=>Ju,uuidv4:()=>Yu,uuid:()=>Uu,url:()=>Ku,unknown:()=>y1,union:()=>h1,undefined:()=>xu,ulid:()=>Zu,uint64:()=>yu,uint32:()=>_u,tuple:()=>iA,transform:()=>HW,templateLiteral:()=>$f,symbol:()=>hu,superRefine:()=>XP,success:()=>tu,stringbool:()=>qf,stringFormat:()=>Tu,string:()=>Q0,strictObject:()=>iu,set:()=>mu,refine:()=>zP,record:()=>_1,readonly:()=>qP,promise:()=>If,preprocess:()=>LQ,prefault:()=>eA,pipe:()=>pH,partialRecord:()=>pu,optional:()=>u1,object:()=>P0,number:()=>z1,nullish:()=>ru,nullable:()=>QQ,null:()=>GQ,nonoptional:()=>$P,never:()=>GW,nativeEnum:()=>lu,nanoid:()=>Hu,nan:()=>au,meta:()=>Qf,map:()=>du,mac:()=>Lu,looseRecord:()=>cu,looseObject:()=>m4,literal:()=>j0,lazy:()=>WP,ksuid:()=>Xu,keyof:()=>bu,jwt:()=>Pu,json:()=>Gf,ipv6:()=>Du,ipv4:()=>wu,invertCodec:()=>eu,intersection:()=>cI,int64:()=>gu,int32:()=>ju,int:()=>nH,instanceof:()=>Kf,httpUrl:()=>qu,hostname:()=>Eu,hex:()=>Bu,hash:()=>Ru,guid:()=>Iu,function:()=>Uf,float64:()=>Cu,float32:()=>vu,file:()=>ou,exactOptional:()=>oA,enum:()=>l4,emoji:()=>Gu,email:()=>$u,e164:()=>Au,discriminatedUnion:()=>ZQ,describe:()=>Jf,date:()=>fu,custom:()=>ZW,cuid2:()=>Vu,cuid:()=>Wu,codec:()=>su,cidrv6:()=>Nu,cidrv4:()=>Ou,check:()=>Yf,catch:()=>YP,boolean:()=>O4,bigint:()=>Su,base64url:()=>Mu,base64:()=>Fu,array:()=>e0,any:()=>ku,_function:()=>Uf,_default:()=>aA,_ZodString:()=>cH,ZodXor:()=>kA,ZodXID:()=>aH,ZodVoid:()=>hA,ZodUnknown:()=>gA,ZodUnion:()=>VQ,ZodUndefined:()=>jA,ZodUUID:()=>H8,ZodURL:()=>qQ,ZodULID:()=>tH,ZodType:()=>m0,ZodTuple:()=>bA,ZodTransform:()=>mA,ZodTemplateLiteral:()=>GP,ZodSymbol:()=>CA,ZodSuccess:()=>IP,ZodStringFormat:()=>g1,ZodString:()=>fI,ZodSet:()=>pA,ZodRecord:()=>kI,ZodReadonly:()=>KP,ZodPromise:()=>VP,ZodPreprocess:()=>QP,ZodPrefault:()=>sA,ZodPipe:()=>zQ,ZodOptional:()=>WW,ZodObject:()=>WQ,ZodNumberFormat:()=>B7,ZodNumber:()=>iI,ZodNullable:()=>rA,ZodNull:()=>_A,ZodNonOptional:()=>VW,ZodNever:()=>yA,ZodNanoID:()=>lH,ZodNaN:()=>JP,ZodMap:()=>nA,ZodMAC:()=>vA,ZodLiteral:()=>cA,ZodLazy:()=>HP,ZodKSUID:()=>sH,ZodJWT:()=>KW,ZodIntersection:()=>fA,ZodIPv6:()=>$W,ZodIPv4:()=>eH,ZodGUID:()=>JQ,ZodFunction:()=>ZP,ZodFile:()=>dA,ZodExactOptional:()=>lA,ZodEnum:()=>uI,ZodEmoji:()=>mH,ZodEmail:()=>dH,ZodE164:()=>QW,ZodDiscriminatedUnion:()=>uA,ZodDefault:()=>tA,ZodDate:()=>HQ,ZodCustomStringFormat:()=>bI,ZodCustom:()=>wQ,ZodCodec:()=>XQ,ZodCatch:()=>UP,ZodCUID2:()=>rH,ZodCUID:()=>oH,ZodCIDRv6:()=>UW,ZodCIDRv4:()=>IW,ZodBoolean:()=>nI,ZodBigIntFormat:()=>qW,ZodBigInt:()=>pI,ZodBase64URL:()=>JW,ZodBase64:()=>YW,ZodArray:()=>xA,ZodAny:()=>SA});var kH={};m8(kH,{uppercase:()=>TI,trim:()=>jI,toUpperCase:()=>SI,toLowerCase:()=>_I,startsWith:()=>BI,slugify:()=>gI,size:()=>P7,regex:()=>AI,property:()=>_H,positive:()=>RH,overwrite:()=>u$,normalize:()=>CI,nonpositive:()=>CH,nonnegative:()=>jH,negative:()=>vH,multipleOf:()=>r5,minSize:()=>G8,minLength:()=>o8,mime:()=>vI,maxSize:()=>t5,maxLength:()=>T7,lte:()=>$$,lt:()=>K8,lowercase:()=>PI,length:()=>E7,includes:()=>EI,gte:()=>P6,gt:()=>q8,endsWith:()=>RI});var I9={};m8(I9,{time:()=>XA,duration:()=>wA,datetime:()=>ZA,date:()=>zA,ZodISOTime:()=>bH,ZodISODuration:()=>iH,ZodISODateTime:()=>uH,ZodISODate:()=>fH});var uH=o("ZodISODateTime",($,I)=>{mO.init($,I),g1.init($,I)});function ZA($){return mF(uH,$)}var fH=o("ZodISODate",($,I)=>{lO.init($,I),g1.init($,I)});function zA($){return lF(fH,$)}var bH=o("ZodISOTime",($,I)=>{oO.init($,I),g1.init($,I)});function XA($){return oF(bH,$)}var iH=o("ZodISODuration",($,I)=>{rO.init($,I),g1.init($,I)});function wA($){return rF(iH,$)}var sk=($,I)=>{uJ.init($,I),$.name="ZodError",Object.defineProperties($,{format:{value:(U)=>bJ($,U)},flatten:{value:(U)=>fJ($,U)},addIssue:{value:(U)=>{$.issues.push(U),$.message=JSON.stringify($.issues,ZI,2)}},addIssues:{value:(U)=>{$.issues.push(...U),$.message=JSON.stringify($.issues,ZI,2)}},isEmpty:{get(){return $.issues.length===0}}})},uD0=o("ZodError",sk),x6=o("ZodError",sk,{Parent:Error});var LA=wI(x6),DA=LI(x6),OA=DI(x6),NA=NI(x6),FA=fG(x6),MA=bG(x6),AA=iG(x6),PA=nG(x6),TA=pG(x6),EA=cG(x6),BA=dG(x6),RA=mG(x6);var ek=new WeakMap;function KQ($,I,U){let Y=Object.getPrototypeOf($),J=ek.get(Y);if(!J)J=new Set,ek.set(Y,J);if(J.has(I))return;J.add(I);for(let Q in U){let K=U[Q];Object.defineProperty(Y,Q,{configurable:!0,enumerable:!1,get(){let q=K.bind(this);return Object.defineProperty(this,Q,{configurable:!0,writable:!0,enumerable:!0,value:q}),q},set(q){Object.defineProperty(this,Q,{configurable:!0,writable:!0,enumerable:!0,value:q})}})}}var m0=o("ZodType",($,I)=>{return i0.init($,I),Object.assign($["~standard"],{jsonSchema:{input:hI($,"input"),output:hI($,"output")}}),$.toJSONSchema=RM($,{}),$.def=I,$.type=I.type,Object.defineProperty($,"_def",{value:I}),$.parse=(U,Y)=>LA($,U,Y,{callee:$.parse}),$.safeParse=(U,Y)=>OA($,U,Y),$.parseAsync=async(U,Y)=>DA($,U,Y,{callee:$.parseAsync}),$.safeParseAsync=async(U,Y)=>NA($,U,Y),$.spa=$.safeParseAsync,$.encode=(U,Y)=>FA($,U,Y),$.decode=(U,Y)=>MA($,U,Y),$.encodeAsync=async(U,Y)=>AA($,U,Y),$.decodeAsync=async(U,Y)=>PA($,U,Y),$.safeEncode=(U,Y)=>TA($,U,Y),$.safeDecode=(U,Y)=>EA($,U,Y),$.safeEncodeAsync=async(U,Y)=>BA($,U,Y),$.safeDecodeAsync=async(U,Y)=>RA($,U,Y),KQ($,"ZodType",{check(...U){let Y=this.def;return this.clone(w0.mergeDefs(Y,{checks:[...Y.checks??[],...U.map((J)=>typeof J==="function"?{_zod:{check:J,def:{check:"custom"},onattach:[]}}:J)]}),{parent:!0})},with(...U){return this.check(...U)},clone(U,Y){return M6(this,U,Y)},brand(){return this},register(U,Y){return U.add(this,Y),this},refine(U,Y){return this.check(zP(U,Y))},superRefine(U,Y){return this.check(XP(U,Y))},overwrite(U){return this.check(u$(U))},optional(){return u1(this)},exactOptional(){return oA(this)},nullable(){return QQ(this)},nullish(){return u1(QQ(this))},nonoptional(U){return $P(this,U)},array(){return e0(this)},or(U){return h1([this,U])},and(U){return cI(this,U)},transform(U){return pH(this,HW(U))},default(U){return aA(this,U)},prefault(U){return eA(this,U)},catch(U){return YP(this,U)},pipe(U){return pH(this,U)},readonly(){return qP(this)},describe(U){let Y=this.clone();return d4.add(Y,{description:U}),Y},meta(...U){if(U.length===0)return d4.get(this);let Y=this.clone();return d4.add(Y,U[0]),Y},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(U){return U(this)}}),Object.defineProperty($,"description",{get(){return d4.get($)?.description},configurable:!0}),$}),cH=o("_ZodString",($,I)=>{A7.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>vM($,Y,J,Q);let U=$._zod.bag;$.format=U.format??null,$.minLength=U.minimum??null,$.maxLength=U.maximum??null,KQ($,"_ZodString",{regex(...Y){return this.check(AI(...Y))},includes(...Y){return this.check(EI(...Y))},startsWith(...Y){return this.check(BI(...Y))},endsWith(...Y){return this.check(RI(...Y))},min(...Y){return this.check(o8(...Y))},max(...Y){return this.check(T7(...Y))},length(...Y){return this.check(E7(...Y))},nonempty(...Y){return this.check(o8(1,...Y))},lowercase(Y){return this.check(PI(Y))},uppercase(Y){return this.check(TI(Y))},trim(){return this.check(jI())},normalize(...Y){return this.check(CI(...Y))},toLowerCase(){return this.check(_I())},toUpperCase(){return this.check(SI())},slugify(){return this.check(gI())}})}),fI=o("ZodString",($,I)=>{A7.init($,I),cH.init($,I),$.email=(U)=>$.check(qH(dH,U)),$.url=(U)=>$.check(UQ(qQ,U)),$.jwt=(U)=>$.check(BH(KW,U)),$.emoji=(U)=>$.check(ZH(mH,U)),$.guid=(U)=>$.check(IQ(JQ,U)),$.uuid=(U)=>$.check(GH(H8,U)),$.uuidv4=(U)=>$.check(HH(H8,U)),$.uuidv6=(U)=>$.check(WH(H8,U)),$.uuidv7=(U)=>$.check(VH(H8,U)),$.nanoid=(U)=>$.check(zH(lH,U)),$.guid=(U)=>$.check(IQ(JQ,U)),$.cuid=(U)=>$.check(XH(oH,U)),$.cuid2=(U)=>$.check(wH(rH,U)),$.ulid=(U)=>$.check(LH(tH,U)),$.base64=(U)=>$.check(PH(YW,U)),$.base64url=(U)=>$.check(TH(JW,U)),$.xid=(U)=>$.check(DH(aH,U)),$.ksuid=(U)=>$.check(OH(sH,U)),$.ipv4=(U)=>$.check(NH(eH,U)),$.ipv6=(U)=>$.check(FH($W,U)),$.cidrv4=(U)=>$.check(MH(IW,U)),$.cidrv6=(U)=>$.check(AH(UW,U)),$.e164=(U)=>$.check(EH(QW,U)),$.datetime=(U)=>$.check(ZA(U)),$.date=(U)=>$.check(zA(U)),$.time=(U)=>$.check(XA(U)),$.duration=(U)=>$.check(wA(U))});function Q0($){return nF(fI,$)}var g1=o("ZodStringFormat",($,I)=>{S1.init($,I),cH.init($,I)}),dH=o("ZodEmail",($,I)=>{kO.init($,I),g1.init($,I)});function $u($){return qH(dH,$)}var JQ=o("ZodGUID",($,I)=>{hO.init($,I),g1.init($,I)});function Iu($){return IQ(JQ,$)}var H8=o("ZodUUID",($,I)=>{xO.init($,I),g1.init($,I)});function Uu($){return GH(H8,$)}function Yu($){return HH(H8,$)}function Ju($){return WH(H8,$)}function Qu($){return VH(H8,$)}var qQ=o("ZodURL",($,I)=>{uO.init($,I),g1.init($,I)});function Ku($){return UQ(qQ,$)}function qu($){return UQ(qQ,{protocol:e6.httpProtocol,hostname:e6.domain,...w0.normalizeParams($)})}var mH=o("ZodEmoji",($,I)=>{fO.init($,I),g1.init($,I)});function Gu($){return ZH(mH,$)}var lH=o("ZodNanoID",($,I)=>{bO.init($,I),g1.init($,I)});function Hu($){return zH(lH,$)}var oH=o("ZodCUID",($,I)=>{iO.init($,I),g1.init($,I)});function Wu($){return XH(oH,$)}var rH=o("ZodCUID2",($,I)=>{nO.init($,I),g1.init($,I)});function Vu($){return wH(rH,$)}var tH=o("ZodULID",($,I)=>{pO.init($,I),g1.init($,I)});function Zu($){return LH(tH,$)}var aH=o("ZodXID",($,I)=>{cO.init($,I),g1.init($,I)});function zu($){return DH(aH,$)}var sH=o("ZodKSUID",($,I)=>{dO.init($,I),g1.init($,I)});function Xu($){return OH(sH,$)}var eH=o("ZodIPv4",($,I)=>{tO.init($,I),g1.init($,I)});function wu($){return NH(eH,$)}var vA=o("ZodMAC",($,I)=>{sO.init($,I),g1.init($,I)});function Lu($){return cF(vA,$)}var $W=o("ZodIPv6",($,I)=>{aO.init($,I),g1.init($,I)});function Du($){return FH($W,$)}var IW=o("ZodCIDRv4",($,I)=>{eO.init($,I),g1.init($,I)});function Ou($){return MH(IW,$)}var UW=o("ZodCIDRv6",($,I)=>{$N.init($,I),g1.init($,I)});function Nu($){return AH(UW,$)}var YW=o("ZodBase64",($,I)=>{UN.init($,I),g1.init($,I)});function Fu($){return PH(YW,$)}var JW=o("ZodBase64URL",($,I)=>{YN.init($,I),g1.init($,I)});function Mu($){return TH(JW,$)}var QW=o("ZodE164",($,I)=>{JN.init($,I),g1.init($,I)});function Au($){return EH(QW,$)}var KW=o("ZodJWT",($,I)=>{QN.init($,I),g1.init($,I)});function Pu($){return BH(KW,$)}var bI=o("ZodCustomStringFormat",($,I)=>{KN.init($,I),g1.init($,I)});function Tu($,I,U={}){return yI(bI,$,I,U)}function Eu($){return yI(bI,"hostname",e6.hostname,$)}function Bu($){return yI(bI,"hex",e6.hex,$)}function Ru($,I){let U=I?.enc??"hex",Y=`${$}_${U}`,J=e6[Y];if(!J)throw Error(`Unrecognized hash format: ${Y}`);return yI(bI,Y,J,I)}var iI=o("ZodNumber",($,I)=>{IH.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>CM($,Y,J,Q),KQ($,"ZodNumber",{gt(Y,J){return this.check(q8(Y,J))},gte(Y,J){return this.check(P6(Y,J))},min(Y,J){return this.check(P6(Y,J))},lt(Y,J){return this.check(K8(Y,J))},lte(Y,J){return this.check($$(Y,J))},max(Y,J){return this.check($$(Y,J))},int(Y){return this.check(nH(Y))},safe(Y){return this.check(nH(Y))},positive(Y){return this.check(q8(0,Y))},nonnegative(Y){return this.check(P6(0,Y))},negative(Y){return this.check(K8(0,Y))},nonpositive(Y){return this.check($$(0,Y))},multipleOf(Y,J){return this.check(r5(Y,J))},step(Y,J){return this.check(r5(Y,J))},finite(){return this}});let U=$._zod.bag;$.minValue=Math.max(U.minimum??Number.NEGATIVE_INFINITY,U.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(U.maximum??Number.POSITIVE_INFINITY,U.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(U.format??"").includes("int")||Number.isSafeInteger(U.multipleOf??0.5),$.isFinite=!0,$.format=U.format??null});function z1($){return tF(iI,$)}var B7=o("ZodNumberFormat",($,I)=>{qN.init($,I),iI.init($,I)});function nH($){return sF(B7,$)}function vu($){return eF(B7,$)}function Cu($){return $M(B7,$)}function ju($){return IM(B7,$)}function _u($){return UM(B7,$)}var nI=o("ZodBoolean",($,I)=>{lJ.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>jM($,U,Y,J)});function O4($){return YM(nI,$)}var pI=o("ZodBigInt",($,I)=>{UH.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>_M($,Y,J,Q),$.gte=(Y,J)=>$.check(P6(Y,J)),$.min=(Y,J)=>$.check(P6(Y,J)),$.gt=(Y,J)=>$.check(q8(Y,J)),$.gte=(Y,J)=>$.check(P6(Y,J)),$.min=(Y,J)=>$.check(P6(Y,J)),$.lt=(Y,J)=>$.check(K8(Y,J)),$.lte=(Y,J)=>$.check($$(Y,J)),$.max=(Y,J)=>$.check($$(Y,J)),$.positive=(Y)=>$.check(q8(BigInt(0),Y)),$.negative=(Y)=>$.check(K8(BigInt(0),Y)),$.nonpositive=(Y)=>$.check($$(BigInt(0),Y)),$.nonnegative=(Y)=>$.check(P6(BigInt(0),Y)),$.multipleOf=(Y,J)=>$.check(r5(Y,J));let U=$._zod.bag;$.minValue=U.minimum??null,$.maxValue=U.maximum??null,$.format=U.format??null});function Su($){return QM(pI,$)}var qW=o("ZodBigIntFormat",($,I)=>{GN.init($,I),pI.init($,I)});function gu($){return qM(qW,$)}function yu($){return GM(qW,$)}var CA=o("ZodSymbol",($,I)=>{HN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>SM($,U,Y,J)});function hu($){return HM(CA,$)}var jA=o("ZodUndefined",($,I)=>{WN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>yM($,U,Y,J)});function xu($){return WM(jA,$)}var _A=o("ZodNull",($,I)=>{VN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>gM($,U,Y,J)});function GQ($){return VM(_A,$)}var SA=o("ZodAny",($,I)=>{ZN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>kM($,U,Y,J)});function ku(){return ZM(SA)}var gA=o("ZodUnknown",($,I)=>{zN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>uM($,U,Y,J)});function y1(){return zM(gA)}var yA=o("ZodNever",($,I)=>{XN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>xM($,U,Y,J)});function GW($){return XM(yA,$)}var hA=o("ZodVoid",($,I)=>{wN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>hM($,U,Y,J)});function uu($){return wM(hA,$)}var HQ=o("ZodDate",($,I)=>{LN.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>fM($,Y,J,Q),$.min=(Y,J)=>$.check(P6(Y,J)),$.max=(Y,J)=>$.check($$(Y,J));let U=$._zod.bag;$.minDate=U.minimum?new Date(U.minimum):null,$.maxDate=U.maximum?new Date(U.maximum):null});function fu($){return LM(HQ,$)}var xA=o("ZodArray",($,I)=>{DN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>aM($,U,Y,J),$.element=I.element,KQ($,"ZodArray",{min(U,Y){return this.check(o8(U,Y))},nonempty(U){return this.check(o8(1,U))},max(U,Y){return this.check(T7(U,Y))},length(U,Y){return this.check(E7(U,Y))},unwrap(){return this.element}})});function e0($,I){return NM(xA,$,I)}function bu($){let I=$._zod.def.shape;return l4(Object.keys(I))}var WQ=o("ZodObject",($,I)=>{ON.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>sM($,U,Y,J),w0.defineLazy($,"shape",()=>{return I.shape}),KQ($,"ZodObject",{keyof(){return l4(Object.keys(this._zod.def.shape))},catchall(U){return this.clone({...this._zod.def,catchall:U})},passthrough(){return this.clone({...this._zod.def,catchall:y1()})},loose(){return this.clone({...this._zod.def,catchall:y1()})},strict(){return this.clone({...this._zod.def,catchall:GW()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(U){return w0.extend(this,U)},safeExtend(U){return w0.safeExtend(this,U)},merge(U){return w0.merge(this,U)},pick(U){return w0.pick(this,U)},omit(U){return w0.omit(this,U)},partial(...U){return w0.partial(WW,this,U[0])},required(...U){return w0.required(VW,this,U[0])}})});function P0($,I){let U={type:"object",shape:$??{},...w0.normalizeParams(I)};return new WQ(U)}function iu($,I){return new WQ({type:"object",shape:$,catchall:GW(),...w0.normalizeParams(I)})}function m4($,I){return new WQ({type:"object",shape:$,catchall:y1(),...w0.normalizeParams(I)})}var VQ=o("ZodUnion",($,I)=>{oJ.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>gH($,U,Y,J),$.options=I.options});function h1($,I){return new VQ({type:"union",options:$,...w0.normalizeParams(I)})}var kA=o("ZodXor",($,I)=>{VQ.init($,I),NN.init($,I),$._zod.processJSONSchema=(U,Y,J)=>gH($,U,Y,J),$.options=I.options});function nu($,I){return new kA({type:"union",options:$,inclusive:!1,...w0.normalizeParams(I)})}var uA=o("ZodDiscriminatedUnion",($,I)=>{VQ.init($,I),FN.init($,I)});function ZQ($,I,U){return new uA({type:"union",options:I,discriminator:$,...w0.normalizeParams(U)})}var fA=o("ZodIntersection",($,I)=>{MN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>eM($,U,Y,J)});function cI($,I){return new fA({type:"intersection",left:$,right:I})}var bA=o("ZodTuple",($,I)=>{YH.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>$A($,U,Y,J),$.rest=(U)=>$.clone({...$._zod.def,rest:U})});function iA($,I,U){let Y=I instanceof i0,J=Y?U:I;return new bA({type:"tuple",items:$,rest:Y?I:null,...w0.normalizeParams(J)})}var kI=o("ZodRecord",($,I)=>{AN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>IA($,U,Y,J),$.keyType=I.keyType,$.valueType=I.valueType});function _1($,I,U){if(!I||!I._zod)return new kI({type:"record",keyType:Q0(),valueType:$,...w0.normalizeParams(I)});return new kI({type:"record",keyType:$,valueType:I,...w0.normalizeParams(U)})}function pu($,I,U){let Y=M6($);return Y._zod.values=void 0,new kI({type:"record",keyType:Y,valueType:I,...w0.normalizeParams(U)})}function cu($,I,U){return new kI({type:"record",keyType:$,valueType:I,mode:"loose",...w0.normalizeParams(U)})}var nA=o("ZodMap",($,I)=>{PN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>rM($,U,Y,J),$.keyType=I.keyType,$.valueType=I.valueType,$.min=(...U)=>$.check(G8(...U)),$.nonempty=(U)=>$.check(G8(1,U)),$.max=(...U)=>$.check(t5(...U)),$.size=(...U)=>$.check(P7(...U))});function du($,I,U){return new nA({type:"map",keyType:$,valueType:I,...w0.normalizeParams(U)})}var pA=o("ZodSet",($,I)=>{TN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>tM($,U,Y,J),$.min=(...U)=>$.check(G8(...U)),$.nonempty=(U)=>$.check(G8(1,U)),$.max=(...U)=>$.check(t5(...U)),$.size=(...U)=>$.check(P7(...U))});function mu($,I){return new pA({type:"set",valueType:$,...w0.normalizeParams(I)})}var uI=o("ZodEnum",($,I)=>{EN.init($,I),m0.init($,I),$._zod.processJSONSchema=(Y,J,Q)=>bM($,Y,J,Q),$.enum=I.entries,$.options=Object.values(I.entries);let U=new Set(Object.keys(I.entries));$.extract=(Y,J)=>{let Q={};for(let K of Y)if(U.has(K))Q[K]=I.entries[K];else throw Error(`Key ${K} not found in enum`);return new uI({...I,checks:[],...w0.normalizeParams(J),entries:Q})},$.exclude=(Y,J)=>{let Q={...I.entries};for(let K of Y)if(U.has(K))delete Q[K];else throw Error(`Key ${K} not found in enum`);return new uI({...I,checks:[],...w0.normalizeParams(J),entries:Q})}});function l4($,I){let U=Array.isArray($)?Object.fromEntries($.map((Y)=>[Y,Y])):$;return new uI({type:"enum",entries:U,...w0.normalizeParams(I)})}function lu($,I){return new uI({type:"enum",entries:$,...w0.normalizeParams(I)})}var cA=o("ZodLiteral",($,I)=>{BN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>iM($,U,Y,J),$.values=new Set(I.values),Object.defineProperty($,"value",{get(){if(I.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return I.values[0]}})});function j0($,I){return new cA({type:"literal",values:Array.isArray($)?$:[$],...w0.normalizeParams(I)})}var dA=o("ZodFile",($,I)=>{RN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>cM($,U,Y,J),$.min=(U,Y)=>$.check(G8(U,Y)),$.max=(U,Y)=>$.check(t5(U,Y)),$.mime=(U,Y)=>$.check(vI(Array.isArray(U)?U:[U],Y))});function ou($){return FM(dA,$)}var mA=o("ZodTransform",($,I)=>{vN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>oM($,U,Y,J),$._zod.parse=(U,Y)=>{if(Y.direction==="backward")throw new N7($.constructor.name);U.addIssue=(Q)=>{if(typeof Q==="string")U.issues.push(w0.issue(Q,U.value,I));else{let K=Q;if(K.fatal)K.continue=!1;K.code??(K.code="custom"),K.input??(K.input=U.value),K.inst??(K.inst=$),U.issues.push(w0.issue(K))}};let J=I.transform(U.value,U);if(J instanceof Promise)return J.then((Q)=>{return U.value=Q,U.fallback=!0,U});return U.value=J,U.fallback=!0,U}});function HW($){return new mA({type:"transform",transform:$})}var WW=o("ZodOptional",($,I)=>{JH.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>yH($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function u1($){return new WW({type:"optional",innerType:$})}var lA=o("ZodExactOptional",($,I)=>{CN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>yH($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function oA($){return new lA({type:"optional",innerType:$})}var rA=o("ZodNullable",($,I)=>{jN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>UA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function QQ($){return new rA({type:"nullable",innerType:$})}function ru($){return u1(QQ($))}var tA=o("ZodDefault",($,I)=>{_N.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>JA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});function aA($,I){return new tA({type:"default",innerType:$,get defaultValue(){return typeof I==="function"?I():w0.shallowClone(I)}})}var sA=o("ZodPrefault",($,I)=>{SN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>QA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function eA($,I){return new sA({type:"prefault",innerType:$,get defaultValue(){return typeof I==="function"?I():w0.shallowClone(I)}})}var VW=o("ZodNonOptional",($,I)=>{gN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>YA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function $P($,I){return new VW({type:"nonoptional",innerType:$,...w0.normalizeParams(I)})}var IP=o("ZodSuccess",($,I)=>{yN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>dM($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function tu($){return new IP({type:"success",innerType:$})}var UP=o("ZodCatch",($,I)=>{hN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>KA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});function YP($,I){return new UP({type:"catch",innerType:$,catchValue:typeof I==="function"?I:()=>I})}var JP=o("ZodNaN",($,I)=>{xN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>nM($,U,Y,J)});function au($){return OM(JP,$)}var zQ=o("ZodPipe",($,I)=>{QH.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>qA($,U,Y,J),$.in=I.in,$.out=I.out});function pH($,I){return new zQ({type:"pipe",in:$,out:I})}var XQ=o("ZodCodec",($,I)=>{zQ.init($,I),rJ.init($,I)});function su($,I,U){return new XQ({type:"pipe",in:$,out:I,transform:U.decode,reverseTransform:U.encode})}function eu($){let I=$._zod.def;return new XQ({type:"pipe",in:I.out,out:I.in,transform:I.reverseTransform,reverseTransform:I.transform})}var QP=o("ZodPreprocess",($,I)=>{zQ.init($,I),kN.init($,I)}),KP=o("ZodReadonly",($,I)=>{uN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>GA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function qP($){return new KP({type:"readonly",innerType:$})}var GP=o("ZodTemplateLiteral",($,I)=>{fN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>pM($,U,Y,J)});function $f($,I){return new GP({type:"template_literal",parts:$,...w0.normalizeParams(I)})}var HP=o("ZodLazy",($,I)=>{nN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>WA($,U,Y,J),$.unwrap=()=>$._zod.def.getter()});function WP($){return new HP({type:"lazy",getter:$})}var VP=o("ZodPromise",($,I)=>{iN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>HA($,U,Y,J),$.unwrap=()=>$._zod.def.innerType});function If($){return new VP({type:"promise",innerType:$})}var ZP=o("ZodFunction",($,I)=>{bN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>lM($,U,Y,J)});function Uf($){return new ZP({type:"function",input:Array.isArray($?.input)?iA($?.input):$?.input??e0(y1()),output:$?.output??y1()})}var wQ=o("ZodCustom",($,I)=>{pN.init($,I),m0.init($,I),$._zod.processJSONSchema=(U,Y,J)=>mM($,U,Y,J)});function Yf($){let I=new k1({check:"custom"});return I._zod.check=$,I}function ZW($,I){return MM(wQ,$??(()=>!0),I)}function zP($,I={}){return AM(wQ,$,I)}function XP($,I){return PM($,I)}var Jf=TM,Qf=EM;function Kf($,I={}){let U=new wQ({type:"custom",check:"custom",fn:(Y)=>Y instanceof $,abort:!0,...w0.normalizeParams(I)});return U._zod.bag.Class=$,U._zod.check=(Y)=>{if(!(Y.value instanceof $))Y.issues.push({code:"invalid_type",expected:$.name,input:Y.value,inst:U,path:[...U._zod.def.path??[]]})},U}var qf=(...$)=>BM({Codec:XQ,Boolean:nI,String:fI},...$);function Gf($){let I=WP(()=>{return h1([Q0($),z1(),O4(),GQ(),e0(I),_1(Q0(),I)])});return I}function LQ($,I){return new QP({type:"pipe",in:HW($),out:I})}var bD0={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 iD0($){Z4({customError:$})}function nD0(){return Z4().customError}var wP;(function($){})(wP||(wP={}));var A0={...YQ,...kH,iso:I9},pD0=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"]);function cD0($,I){let U=$.$schema;if(U==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(U==="http://json-schema.org/draft-07/schema#")return"draft-7";if(U==="http://json-schema.org/draft-04/schema#")return"draft-4";return I??"draft-2020-12"}function dD0($,I){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let U=$.slice(1).split("/").filter(Boolean);if(U.length===0)return I.rootSchema;let Y=I.version==="draft-2020-12"?"$defs":"definitions";if(U[0]===Y){let J=U[1];if(!J||!I.defs[J])throw Error(`Reference not found: ${$}`);return I.defs[J]}throw Error(`Reference not found: ${$}`)}function Hf($,I){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return A0.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(I.refs.has(J))return I.refs.get(J);if(I.processing.has(J))return A0.lazy(()=>{if(!I.refs.has(J))throw Error(`Circular reference not resolved: ${J}`);return I.refs.get(J)});I.processing.add(J);let Q=dD0(J,I),K=Z6(Q,I);return I.refs.set(J,K),I.processing.delete(J),K}if($.enum!==void 0){let J=$.enum;if(I.version==="openapi-3.0"&&$.nullable===!0&&J.length===1&&J[0]===null)return A0.null();if(J.length===0)return A0.never();if(J.length===1)return A0.literal(J[0]);if(J.every((K)=>typeof K==="string"))return A0.enum(J);let Q=J.map((K)=>A0.literal(K));if(Q.length<2)return Q[0];return A0.union([Q[0],Q[1],...Q.slice(2)])}if($.const!==void 0)return A0.literal($.const);let U=$.type;if(Array.isArray(U)){let J=U.map((Q)=>{let K={...$,type:Q};return Hf(K,I)});if(J.length===0)return A0.never();if(J.length===1)return J[0];return A0.union(J)}if(!U)return A0.any();let Y;switch(U){case"string":{let J=A0.string();if($.format){let Q=$.format;if(Q==="email")J=J.check(A0.email());else if(Q==="uri"||Q==="uri-reference")J=J.check(A0.url());else if(Q==="uuid"||Q==="guid")J=J.check(A0.uuid());else if(Q==="date-time")J=J.check(A0.iso.datetime());else if(Q==="date")J=J.check(A0.iso.date());else if(Q==="time")J=J.check(A0.iso.time());else if(Q==="duration")J=J.check(A0.iso.duration());else if(Q==="ipv4")J=J.check(A0.ipv4());else if(Q==="ipv6")J=J.check(A0.ipv6());else if(Q==="mac")J=J.check(A0.mac());else if(Q==="cidr")J=J.check(A0.cidrv4());else if(Q==="cidr-v6")J=J.check(A0.cidrv6());else if(Q==="base64")J=J.check(A0.base64());else if(Q==="base64url")J=J.check(A0.base64url());else if(Q==="e164")J=J.check(A0.e164());else if(Q==="jwt")J=J.check(A0.jwt());else if(Q==="emoji")J=J.check(A0.emoji());else if(Q==="nanoid")J=J.check(A0.nanoid());else if(Q==="cuid")J=J.check(A0.cuid());else if(Q==="cuid2")J=J.check(A0.cuid2());else if(Q==="ulid")J=J.check(A0.ulid());else if(Q==="xid")J=J.check(A0.xid());else if(Q==="ksuid")J=J.check(A0.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));Y=J;break}case"number":case"integer":{let J=U==="integer"?A0.number().int():A0.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);Y=J;break}case"boolean":{Y=A0.boolean();break}case"null":{Y=A0.null();break}case"object":{let J={},Q=$.properties||{},K=new Set($.required||[]);for(let[G,H]of Object.entries(Q)){let W=Z6(H,I);J[G]=K.has(G)?W:W.optional()}if($.propertyNames){let G=Z6($.propertyNames,I),H=$.additionalProperties&&typeof $.additionalProperties==="object"?Z6($.additionalProperties,I):A0.any();if(Object.keys(J).length===0){Y=A0.record(G,H);break}let W=A0.object(J).passthrough(),V=A0.looseRecord(G,H);Y=A0.intersection(W,V);break}if($.patternProperties){let G=$.patternProperties,H=Object.keys(G),W=[];for(let z of H){let Z=Z6(G[z],I),w=A0.string().regex(new RegExp(z));W.push(A0.looseRecord(w,Z))}let V=[];if(Object.keys(J).length>0)V.push(A0.object(J).passthrough());if(V.push(...W),V.length===0)Y=A0.object({}).passthrough();else if(V.length===1)Y=V[0];else{let z=A0.intersection(V[0],V[1]);for(let Z=2;Z<V.length;Z++)z=A0.intersection(z,V[Z]);Y=z}break}let q=A0.object(J);if($.additionalProperties===!1)Y=q.strict();else if(typeof $.additionalProperties==="object")Y=q.catchall(Z6($.additionalProperties,I));else Y=q.passthrough();break}case"array":{let{prefixItems:J,items:Q}=$;if(J&&Array.isArray(J)){let K=J.map((G)=>Z6(G,I)),q=Q&&typeof Q==="object"&&!Array.isArray(Q)?Z6(Q,I):void 0;if(q)Y=A0.tuple(K).rest(q);else Y=A0.tuple(K);if(typeof $.minItems==="number")Y=Y.check(A0.minLength($.minItems));if(typeof $.maxItems==="number")Y=Y.check(A0.maxLength($.maxItems))}else if(Array.isArray(Q)){let K=Q.map((G)=>Z6(G,I)),q=$.additionalItems&&typeof $.additionalItems==="object"?Z6($.additionalItems,I):void 0;if(q)Y=A0.tuple(K).rest(q);else Y=A0.tuple(K);if(typeof $.minItems==="number")Y=Y.check(A0.minLength($.minItems));if(typeof $.maxItems==="number")Y=Y.check(A0.maxLength($.maxItems))}else if(Q!==void 0){let K=Z6(Q,I),q=A0.array(K);if(typeof $.minItems==="number")q=q.min($.minItems);if(typeof $.maxItems==="number")q=q.max($.maxItems);Y=q}else Y=A0.array(A0.any());break}default:throw Error(`Unsupported type: ${U}`)}return Y}function Z6($,I){if(typeof $==="boolean")return $?A0.any():A0.never();let U=Hf($,I),Y=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let q=$.anyOf.map((H)=>Z6(H,I)),G=A0.union(q);U=Y?A0.intersection(U,G):G}if($.oneOf&&Array.isArray($.oneOf)){let q=$.oneOf.map((H)=>Z6(H,I)),G=A0.xor(q);U=Y?A0.intersection(U,G):G}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)U=Y?U:A0.any();else{let q=Y?U:Z6($.allOf[0],I),G=Y?0:1;for(let H=G;H<$.allOf.length;H++)q=A0.intersection(q,Z6($.allOf[H],I));U=q}if($.nullable===!0&&I.version==="openapi-3.0")U=A0.nullable(U);if($.readOnly===!0)U=A0.readonly(U);if($.default!==void 0)U=U.default($.default);let J={},Q=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let q of Q)if(q in $)J[q]=$[q];let K=["contentEncoding","contentMediaType","contentSchema"];for(let q of K)if(q in $)J[q]=$[q];for(let q of Object.keys($))if(!pD0.has(q))J[q]=$[q];if(Object.keys(J).length>0)I.registry.add(U,J);if($.description)U=U.describe($.description);return U}function Wf($,I){if(typeof $==="boolean")return $?A0.any():A0.never();let U;try{U=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let Y=cD0(U,I?.defaultTarget),J=U.$defs||U.definitions||{},Q={version:Y,defs:J,refs:new Map,processing:new Set,rootSchema:U,registry:I?.registry??d4};return Z6(U,Q)}var LP={};m8(LP,{string:()=>mD0,number:()=>lD0,date:()=>tD0,boolean:()=>oD0,bigint:()=>rD0});function mD0($){return pF(fI,$)}function lD0($){return aF(iI,$)}function oD0($){return JM(nI,$)}function rD0($){return KM(pI,$)}function tD0($){return DM(HQ,$)}Z4(tJ());var DP="2025-11-25";var Vf=[DP,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],U9="io.modelcontextprotocol/related-task",XW="2.0",_4=ZW(($)=>$!==null&&(typeof $==="object"||typeof $==="function")),Zf=h1([Q0(),z1().int()]),zf=Q0(),UZ1=m4({ttl:z1().optional(),pollInterval:z1().optional()}),aD0=P0({ttl:z1().optional()}),sD0=P0({taskId:Q0()}),OP=m4({progressToken:Zf.optional(),[U9]:sD0.optional()}),I$=P0({_meta:OP.optional()}),DQ=I$.extend({task:aD0.optional()}),Xf=($)=>DQ.safeParse($).success,o4=P0({method:Q0(),params:I$.loose().optional()}),w$=P0({_meta:OP.optional()}),L$=P0({method:Q0(),params:w$.loose().optional()}),r4=m4({_meta:OP.optional()}),wW=h1([Q0(),z1().int()]),wf=P0({jsonrpc:j0(XW),id:wW,...o4.shape}).strict(),NP=($)=>wf.safeParse($).success,Lf=P0({jsonrpc:j0(XW),...L$.shape}).strict(),Df=($)=>Lf.safeParse($).success,FP=P0({jsonrpc:j0(XW),id:wW,result:r4}).strict(),OQ=($)=>FP.safeParse($).success;var Y1;(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"})(Y1||(Y1={}));var MP=P0({jsonrpc:j0(XW),id:wW.optional(),error:P0({code:z1().int(),message:Q0(),data:y1().optional()})}).strict();var Of=($)=>MP.safeParse($).success;var Nf=h1([wf,Lf,FP,MP]),YZ1=h1([FP,MP]),LW=r4.strict(),eD0=w$.extend({requestId:wW.optional(),reason:Q0().optional()}),DW=L$.extend({method:j0("notifications/cancelled"),params:eD0}),$O0=P0({src:Q0(),mimeType:Q0().optional(),sizes:e0(Q0()).optional(),theme:l4(["light","dark"]).optional()}),NQ=P0({icons:e0($O0).optional()}),dI=P0({name:Q0(),title:Q0().optional()}),Ff=dI.extend({...dI.shape,...NQ.shape,version:Q0(),websiteUrl:Q0().optional(),description:Q0().optional()}),IO0=cI(P0({applyDefaults:O4().optional()}),_1(Q0(),y1())),UO0=LQ(($)=>{if($&&typeof $==="object"&&!Array.isArray($)){if(Object.keys($).length===0)return{form:{}}}return $},cI(P0({form:IO0.optional(),url:_4.optional()}),_1(Q0(),y1()).optional())),YO0=m4({list:_4.optional(),cancel:_4.optional(),requests:m4({sampling:m4({createMessage:_4.optional()}).optional(),elicitation:m4({create:_4.optional()}).optional()}).optional()}),JO0=m4({list:_4.optional(),cancel:_4.optional(),requests:m4({tools:m4({call:_4.optional()}).optional()}).optional()}),QO0=P0({experimental:_1(Q0(),_4).optional(),sampling:P0({context:_4.optional(),tools:_4.optional()}).optional(),elicitation:UO0.optional(),roots:P0({listChanged:O4().optional()}).optional(),tasks:YO0.optional(),extensions:_1(Q0(),_4).optional()}),KO0=I$.extend({protocolVersion:Q0(),capabilities:QO0,clientInfo:Ff}),AP=o4.extend({method:j0("initialize"),params:KO0});var qO0=P0({experimental:_1(Q0(),_4).optional(),logging:_4.optional(),completions:_4.optional(),prompts:P0({listChanged:O4().optional()}).optional(),resources:P0({subscribe:O4().optional(),listChanged:O4().optional()}).optional(),tools:P0({listChanged:O4().optional()}).optional(),tasks:JO0.optional(),extensions:_1(Q0(),_4).optional()}),GO0=r4.extend({protocolVersion:Q0(),capabilities:qO0,serverInfo:Ff,instructions:Q0().optional()}),PP=L$.extend({method:j0("notifications/initialized"),params:w$.optional()});var OW=o4.extend({method:j0("ping"),params:I$.optional()}),HO0=P0({progress:z1(),total:u1(z1()),message:u1(Q0())}),WO0=P0({...w$.shape,...HO0.shape,progressToken:Zf}),NW=L$.extend({method:j0("notifications/progress"),params:WO0}),VO0=I$.extend({cursor:zf.optional()}),FQ=o4.extend({params:VO0.optional()}),MQ=r4.extend({nextCursor:zf.optional()}),ZO0=l4(["working","input_required","completed","failed","cancelled"]),AQ=P0({taskId:Q0(),status:ZO0,ttl:h1([z1(),GQ()]),createdAt:Q0(),lastUpdatedAt:Q0(),pollInterval:u1(z1()),statusMessage:u1(Q0())}),mI=r4.extend({task:AQ}),zO0=w$.merge(AQ),PQ=L$.extend({method:j0("notifications/tasks/status"),params:zO0}),FW=o4.extend({method:j0("tasks/get"),params:I$.extend({taskId:Q0()})}),MW=r4.merge(AQ),AW=o4.extend({method:j0("tasks/result"),params:I$.extend({taskId:Q0()})}),JZ1=r4.loose(),PW=FQ.extend({method:j0("tasks/list")}),TW=MQ.extend({tasks:e0(AQ)}),EW=o4.extend({method:j0("tasks/cancel"),params:I$.extend({taskId:Q0()})}),Mf=r4.merge(AQ),Af=P0({uri:Q0(),mimeType:u1(Q0()),_meta:_1(Q0(),y1()).optional()}),Pf=Af.extend({text:Q0()}),TP=Q0().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),Tf=Af.extend({blob:TP}),TQ=l4(["user","assistant"]),lI=P0({audience:e0(TQ).optional(),priority:z1().min(0).max(1).optional(),lastModified:I9.datetime({offset:!0}).optional()}),Ef=P0({...dI.shape,...NQ.shape,uri:Q0(),description:u1(Q0()),mimeType:u1(Q0()),size:u1(z1()),annotations:lI.optional(),_meta:u1(m4({}))}),XO0=P0({...dI.shape,...NQ.shape,uriTemplate:Q0(),description:u1(Q0()),mimeType:u1(Q0()),annotations:lI.optional(),_meta:u1(m4({}))}),wO0=FQ.extend({method:j0("resources/list")}),LO0=MQ.extend({resources:e0(Ef)}),DO0=FQ.extend({method:j0("resources/templates/list")}),OO0=MQ.extend({resourceTemplates:e0(XO0)}),EP=I$.extend({uri:Q0()}),NO0=EP,FO0=o4.extend({method:j0("resources/read"),params:NO0}),MO0=r4.extend({contents:e0(h1([Pf,Tf]))}),AO0=L$.extend({method:j0("notifications/resources/list_changed"),params:w$.optional()}),PO0=EP,TO0=o4.extend({method:j0("resources/subscribe"),params:PO0}),EO0=EP,BO0=o4.extend({method:j0("resources/unsubscribe"),params:EO0}),RO0=w$.extend({uri:Q0()}),vO0=L$.extend({method:j0("notifications/resources/updated"),params:RO0}),CO0=P0({name:Q0(),description:u1(Q0()),required:u1(O4())}),jO0=P0({...dI.shape,...NQ.shape,description:u1(Q0()),arguments:u1(e0(CO0)),_meta:u1(m4({}))}),_O0=FQ.extend({method:j0("prompts/list")}),SO0=MQ.extend({prompts:e0(jO0)}),gO0=I$.extend({name:Q0(),arguments:_1(Q0(),Q0()).optional()}),yO0=o4.extend({method:j0("prompts/get"),params:gO0}),BP=P0({type:j0("text"),text:Q0(),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),RP=P0({type:j0("image"),data:TP,mimeType:Q0(),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),vP=P0({type:j0("audio"),data:TP,mimeType:Q0(),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),hO0=P0({type:j0("tool_use"),name:Q0(),id:Q0(),input:_1(Q0(),y1()),_meta:_1(Q0(),y1()).optional()}),xO0=P0({type:j0("resource"),resource:h1([Pf,Tf]),annotations:lI.optional(),_meta:_1(Q0(),y1()).optional()}),kO0=Ef.extend({type:j0("resource_link")}),CP=h1([BP,RP,vP,kO0,xO0]),uO0=P0({role:TQ,content:CP}),fO0=r4.extend({description:Q0().optional(),messages:e0(uO0)}),bO0=L$.extend({method:j0("notifications/prompts/list_changed"),params:w$.optional()}),iO0=P0({title:Q0().optional(),readOnlyHint:O4().optional(),destructiveHint:O4().optional(),idempotentHint:O4().optional(),openWorldHint:O4().optional()}),nO0=P0({taskSupport:l4(["required","optional","forbidden"]).optional()}),Bf=P0({...dI.shape,...NQ.shape,description:Q0().optional(),inputSchema:P0({type:j0("object"),properties:_1(Q0(),_4).optional(),required:e0(Q0()).optional()}).catchall(y1()),outputSchema:P0({type:j0("object"),properties:_1(Q0(),_4).optional(),required:e0(Q0()).optional()}).catchall(y1()).optional(),annotations:iO0.optional(),execution:nO0.optional(),_meta:_1(Q0(),y1()).optional()}),jP=FQ.extend({method:j0("tools/list")}),pO0=MQ.extend({tools:e0(Bf)}),BW=r4.extend({content:e0(CP).default([]),structuredContent:_1(Q0(),y1()).optional(),isError:O4().optional()}),QZ1=BW.or(r4.extend({toolResult:y1()})),cO0=DQ.extend({name:Q0(),arguments:_1(Q0(),y1()).optional()}),EQ=o4.extend({method:j0("tools/call"),params:cO0}),dO0=L$.extend({method:j0("notifications/tools/list_changed"),params:w$.optional()}),KZ1=P0({autoRefresh:O4().default(!0),debounceMs:z1().int().nonnegative().default(300)}),BQ=l4(["debug","info","notice","warning","error","critical","alert","emergency"]),mO0=I$.extend({level:BQ}),_P=o4.extend({method:j0("logging/setLevel"),params:mO0}),lO0=w$.extend({level:BQ,logger:Q0().optional(),data:y1()}),oO0=L$.extend({method:j0("notifications/message"),params:lO0}),rO0=P0({name:Q0().optional()}),tO0=P0({hints:e0(rO0).optional(),costPriority:z1().min(0).max(1).optional(),speedPriority:z1().min(0).max(1).optional(),intelligencePriority:z1().min(0).max(1).optional()}),aO0=P0({mode:l4(["auto","required","none"]).optional()}),sO0=P0({type:j0("tool_result"),toolUseId:Q0().describe("The unique identifier for the corresponding tool call."),content:e0(CP).default([]),structuredContent:P0({}).loose().optional(),isError:O4().optional(),_meta:_1(Q0(),y1()).optional()}),eO0=ZQ("type",[BP,RP,vP]),zW=ZQ("type",[BP,RP,vP,hO0,sO0]),$N0=P0({role:TQ,content:h1([zW,e0(zW)]),_meta:_1(Q0(),y1()).optional()}),IN0=DQ.extend({messages:e0($N0),modelPreferences:tO0.optional(),systemPrompt:Q0().optional(),includeContext:l4(["none","thisServer","allServers"]).optional(),temperature:z1().optional(),maxTokens:z1().int(),stopSequences:e0(Q0()).optional(),metadata:_4.optional(),tools:e0(Bf).optional(),toolChoice:aO0.optional()}),UN0=o4.extend({method:j0("sampling/createMessage"),params:IN0}),RQ=r4.extend({model:Q0(),stopReason:u1(l4(["endTurn","stopSequence","maxTokens"]).or(Q0())),role:TQ,content:eO0}),SP=r4.extend({model:Q0(),stopReason:u1(l4(["endTurn","stopSequence","maxTokens","toolUse"]).or(Q0())),role:TQ,content:h1([zW,e0(zW)])}),YN0=P0({type:j0("boolean"),title:Q0().optional(),description:Q0().optional(),default:O4().optional()}),JN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),minLength:z1().optional(),maxLength:z1().optional(),format:l4(["email","uri","date","date-time"]).optional(),default:Q0().optional()}),QN0=P0({type:l4(["number","integer"]),title:Q0().optional(),description:Q0().optional(),minimum:z1().optional(),maximum:z1().optional(),default:z1().optional()}),KN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),enum:e0(Q0()),default:Q0().optional()}),qN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),oneOf:e0(P0({const:Q0(),title:Q0()})),default:Q0().optional()}),GN0=P0({type:j0("string"),title:Q0().optional(),description:Q0().optional(),enum:e0(Q0()),enumNames:e0(Q0()).optional(),default:Q0().optional()}),HN0=h1([KN0,qN0]),WN0=P0({type:j0("array"),title:Q0().optional(),description:Q0().optional(),minItems:z1().optional(),maxItems:z1().optional(),items:P0({type:j0("string"),enum:e0(Q0())}),default:e0(Q0()).optional()}),VN0=P0({type:j0("array"),title:Q0().optional(),description:Q0().optional(),minItems:z1().optional(),maxItems:z1().optional(),items:P0({anyOf:e0(P0({const:Q0(),title:Q0()}))}),default:e0(Q0()).optional()}),ZN0=h1([WN0,VN0]),zN0=h1([GN0,HN0,ZN0]),XN0=h1([zN0,YN0,JN0,QN0]),wN0=DQ.extend({mode:j0("form").optional(),message:Q0(),requestedSchema:P0({type:j0("object"),properties:_1(Q0(),XN0),required:e0(Q0()).optional()})}),LN0=DQ.extend({mode:j0("url"),message:Q0(),elicitationId:Q0(),url:Q0().url()}),DN0=h1([wN0,LN0]),ON0=o4.extend({method:j0("elicitation/create"),params:DN0}),NN0=w$.extend({elicitationId:Q0()}),FN0=L$.extend({method:j0("notifications/elicitation/complete"),params:NN0}),oI=r4.extend({action:l4(["accept","decline","cancel"]),content:LQ(($)=>$===null?void 0:$,_1(Q0(),h1([Q0(),z1(),O4(),e0(Q0())])).optional())}),MN0=P0({type:j0("ref/resource"),uri:Q0()});var AN0=P0({type:j0("ref/prompt"),name:Q0()}),PN0=I$.extend({ref:h1([AN0,MN0]),argument:P0({name:Q0(),value:Q0()}),context:P0({arguments:_1(Q0(),Q0()).optional()}).optional()}),TN0=o4.extend({method:j0("completion/complete"),params:PN0});var EN0=r4.extend({completion:m4({values:e0(Q0()).max(100),total:u1(z1().int()),hasMore:u1(O4())})}),BN0=P0({uri:Q0().startsWith("file://"),name:Q0().optional(),_meta:_1(Q0(),y1()).optional()}),RN0=o4.extend({method:j0("roots/list"),params:I$.optional()}),gP=r4.extend({roots:e0(BN0)}),vN0=L$.extend({method:j0("notifications/roots/list_changed"),params:w$.optional()}),qZ1=h1([OW,AP,TN0,_P,yO0,_O0,wO0,DO0,FO0,TO0,BO0,EQ,jP,FW,AW,PW,EW]),GZ1=h1([DW,NW,PP,vN0,PQ]),HZ1=h1([LW,RQ,SP,oI,gP,MW,TW,mI]),WZ1=h1([OW,UN0,ON0,RN0,FW,AW,PW,EW]),VZ1=h1([DW,NW,oO0,vO0,AO0,dO0,bO0,PQ,FN0]),ZZ1=h1([LW,GO0,EN0,fO0,SO0,LO0,OO0,MO0,BW,pO0,MW,TW,mI]);class o0 extends Error{constructor($,I,U){super(`MCP error ${$}: ${I}`);this.code=$,this.data=U,this.name="McpError"}static fromError($,I,U){if($===Y1.UrlElicitationRequired&&U){let Y=U;if(Y.elicitations)return new Rf(Y.elicitations,I)}return new o0($,I,U)}}class Rf extends o0{constructor($,I=`URL elicitation${$.length>1?"s":""} required`){super(Y1.UrlElicitationRequired,I,{elicitations:$})}get elicitations(){return this.data?.elicitations??[]}}function Y9($){return $==="completed"||$==="failed"||$==="cancelled"}var CN0=Symbol("Let zodToJsonSchema decide on which parser to use");var dZ1=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function yP($){let U=xH($)?.method;if(!U)throw Error("Schema is missing a method literal");let Y=ak(U);if(typeof Y!=="string")throw Error("Schema method literal must be a string");return Y}function hP($,I){let U=$9($,I);if(!U.success)throw U.error;return U.data}var hN0=60000;class xP{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(DW,(I)=>{this._oncancel(I)}),this.setNotificationHandler(NW,(I)=>{this._onprogress(I)}),this.setRequestHandler(OW,(I)=>({})),this._taskStore=$?.taskStore,this._taskMessageQueue=$?.taskMessageQueue,this._taskStore)this.setRequestHandler(FW,async(I,U)=>{let Y=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!Y)throw new o0(Y1.InvalidParams,"Failed to retrieve task: Task not found");return{...Y}}),this.setRequestHandler(AW,async(I,U)=>{let Y=async()=>{let J=I.params.taskId;if(this._taskMessageQueue){let K;while(K=await this._taskMessageQueue.dequeue(J,U.sessionId)){if(K.type==="response"||K.type==="error"){let q=K.message,G=q.id,H=this._requestResolvers.get(G);if(H)if(this._requestResolvers.delete(G),K.type==="response")H(q);else{let W=q,V=new o0(W.error.code,W.error.message,W.error.data);H(V)}else{let W=K.type==="response"?"Response":"Error";this._onerror(Error(`${W} handler missing for request ${G}`))}continue}await this._transport?.send(K.message,{relatedRequestId:U.requestId})}}let Q=await this._taskStore.getTask(J,U.sessionId);if(!Q)throw new o0(Y1.InvalidParams,`Task not found: ${J}`);if(!Y9(Q.status))return await this._waitForTaskUpdate(J,U.signal),await Y();if(Y9(Q.status)){let K=await this._taskStore.getTaskResult(J,U.sessionId);return this._clearTaskQueue(J),{...K,_meta:{...K._meta,[U9]:{taskId:J}}}}return await Y()};return await Y()}),this.setRequestHandler(PW,async(I,U)=>{try{let{tasks:Y,nextCursor:J}=await this._taskStore.listTasks(I.params?.cursor,U.sessionId);return{tasks:Y,nextCursor:J,_meta:{}}}catch(Y){throw new o0(Y1.InvalidParams,`Failed to list tasks: ${Y instanceof Error?Y.message:String(Y)}`)}}),this.setRequestHandler(EW,async(I,U)=>{try{let Y=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!Y)throw new o0(Y1.InvalidParams,`Task not found: ${I.params.taskId}`);if(Y9(Y.status))throw new o0(Y1.InvalidParams,`Cannot cancel task in terminal status: ${Y.status}`);await this._taskStore.updateTaskStatus(I.params.taskId,"cancelled","Client cancelled task execution.",U.sessionId),this._clearTaskQueue(I.params.taskId);let J=await this._taskStore.getTask(I.params.taskId,U.sessionId);if(!J)throw new o0(Y1.InvalidParams,`Task not found after cancellation: ${I.params.taskId}`);return{_meta:{},...J}}catch(Y){if(Y instanceof o0)throw Y;throw new o0(Y1.InvalidRequest,`Failed to cancel task: ${Y instanceof Error?Y.message:String(Y)}`)}})}async _oncancel($){if(!$.params.requestId)return;this._requestHandlerAbortControllers.get($.params.requestId)?.abort($.params.reason)}_setupTimeout($,I,U,Y,J=!1){this._timeoutInfo.set($,{timeoutId:setTimeout(Y,I),startTime:Date.now(),timeout:I,maxTotalTimeout:U,resetTimeoutOnProgress:J,onTimeout:Y})}_resetTimeout($){let I=this._timeoutInfo.get($);if(!I)return!1;let U=Date.now()-I.startTime;if(I.maxTotalTimeout&&U>=I.maxTotalTimeout)throw this._timeoutInfo.delete($),o0.fromError(Y1.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:I.maxTotalTimeout,totalElapsed:U});return clearTimeout(I.timeoutId),I.timeoutId=setTimeout(I.onTimeout,I.timeout),!0}_cleanupTimeout($){let I=this._timeoutInfo.get($);if(I)clearTimeout(I.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 I=this.transport?.onclose;this._transport.onclose=()=>{I?.(),this._onclose()};let U=this.transport?.onerror;this._transport.onerror=(J)=>{U?.(J),this._onerror(J)};let Y=this._transport?.onmessage;this._transport.onmessage=(J,Q)=>{if(Y?.(J,Q),OQ(J)||Of(J))this._onresponse(J);else if(NP(J))this._onrequest(J,Q);else if(Df(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 U of this._timeoutInfo.values())clearTimeout(U.timeoutId);this._timeoutInfo.clear();for(let U of this._requestHandlerAbortControllers.values())U.abort();this._requestHandlerAbortControllers.clear();let I=o0.fromError(Y1.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let U of $.values())U(I)}_onerror($){this.onerror?.($)}_onnotification($){let I=this._notificationHandlers.get($.method)??this.fallbackNotificationHandler;if(I===void 0)return;Promise.resolve().then(()=>I($)).catch((U)=>this._onerror(Error(`Uncaught error in notification handler: ${U}`)))}_onrequest($,I){let U=this._requestHandlers.get($.method)??this.fallbackRequestHandler,Y=this._transport,J=$.params?._meta?.[U9]?.taskId;if(U===void 0){let H={jsonrpc:"2.0",id:$.id,error:{code:Y1.MethodNotFound,message:"Method not found"}};if(J&&this._taskMessageQueue)this._enqueueTaskMessage(J,{type:"error",message:H,timestamp:Date.now()},Y?.sessionId).catch((W)=>this._onerror(Error(`Failed to enqueue error response: ${W}`)));else Y?.send(H).catch((W)=>this._onerror(Error(`Failed to send an error response: ${W}`)));return}let Q=new AbortController;this._requestHandlerAbortControllers.set($.id,Q);let K=Xf($.params)?$.params.task:void 0,q=this._taskStore?this.requestTaskStore($,Y?.sessionId):void 0,G={signal:Q.signal,sessionId:Y?.sessionId,_meta:$.params?._meta,sendNotification:async(H)=>{if(Q.signal.aborted)return;let W={relatedRequestId:$.id};if(J)W.relatedTask={taskId:J};await this.notification(H,W)},sendRequest:async(H,W,V)=>{if(Q.signal.aborted)throw new o0(Y1.ConnectionClosed,"Request was cancelled");let z={...V,relatedRequestId:$.id};if(J&&!z.relatedTask)z.relatedTask={taskId:J};let Z=z.relatedTask?.taskId??J;if(Z&&q)await q.updateTaskStatus(Z,"input_required");return await this.request(H,W,z)},authInfo:I?.authInfo,requestId:$.id,requestInfo:I?.requestInfo,taskId:J,taskStore:q,taskRequestedTtl:K?.ttl,closeSSEStream:I?.closeSSEStream,closeStandaloneSSEStream:I?.closeStandaloneSSEStream};Promise.resolve().then(()=>{if(K)this.assertTaskHandlerCapability($.method)}).then(()=>U($,G)).then(async(H)=>{if(Q.signal.aborted)return;let W={result:H,jsonrpc:"2.0",id:$.id};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"response",message:W,timestamp:Date.now()},Y?.sessionId);else await Y?.send(W)},async(H)=>{if(Q.signal.aborted)return;let W={jsonrpc:"2.0",id:$.id,error:{code:Number.isSafeInteger(H.code)?H.code:Y1.InternalError,message:H.message??"Internal error",...H.data!==void 0&&{data:H.data}}};if(J&&this._taskMessageQueue)await this._enqueueTaskMessage(J,{type:"error",message:W,timestamp:Date.now()},Y?.sessionId);else await Y?.send(W)}).catch((H)=>this._onerror(Error(`Failed to send response: ${H}`))).finally(()=>{if(this._requestHandlerAbortControllers.get($.id)===Q)this._requestHandlerAbortControllers.delete($.id)})}_onprogress($){let{progressToken:I,...U}=$.params,Y=Number(I),J=this._progressHandlers.get(Y);if(!J){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify($)}`));return}let Q=this._responseHandlers.get(Y),K=this._timeoutInfo.get(Y);if(K&&Q&&K.resetTimeoutOnProgress)try{this._resetTimeout(Y)}catch(q){this._responseHandlers.delete(Y),this._progressHandlers.delete(Y),this._cleanupTimeout(Y),Q(q);return}J(U)}_onresponse($){let I=Number($.id),U=this._requestResolvers.get(I);if(U){if(this._requestResolvers.delete(I),OQ($))U($);else{let Q=new o0($.error.code,$.error.message,$.error.data);U(Q)}return}let Y=this._responseHandlers.get(I);if(Y===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify($)}`));return}this._responseHandlers.delete(I),this._cleanupTimeout(I);let J=!1;if(OQ($)&&$.result&&typeof $.result==="object"){let Q=$.result;if(Q.task&&typeof Q.task==="object"){let K=Q.task;if(typeof K.taskId==="string")J=!0,this._taskProgressTokens.set(K.taskId,I)}}if(!J)this._progressHandlers.delete(I);if(OQ($))Y($);else{let Q=o0.fromError($.error.code,$.error.message,$.error.data);Y(Q)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream($,I,U){let{task:Y}=U??{};if(!Y){try{yield{type:"result",result:await this.request($,I,U)}}catch(Q){yield{type:"error",error:Q instanceof o0?Q:new o0(Y1.InternalError,String(Q))}}return}let J;try{let Q=await this.request($,mI,U);if(Q.task)J=Q.task.taskId,yield{type:"taskCreated",task:Q.task};else throw new o0(Y1.InternalError,"Task creation did not return a task");while(!0){let K=await this.getTask({taskId:J},U);if(yield{type:"taskStatus",task:K},Y9(K.status)){if(K.status==="completed")yield{type:"result",result:await this.getTaskResult({taskId:J},I,U)};else if(K.status==="failed")yield{type:"error",error:new o0(Y1.InternalError,`Task ${J} failed`)};else if(K.status==="cancelled")yield{type:"error",error:new o0(Y1.InternalError,`Task ${J} was cancelled`)};return}if(K.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:J},I,U)};return}let q=K.pollInterval??this._options?.defaultTaskPollInterval??1000;await new Promise((G)=>setTimeout(G,q)),U?.signal?.throwIfAborted()}}catch(Q){yield{type:"error",error:Q instanceof o0?Q:new o0(Y1.InternalError,String(Q))}}}request($,I,U){let{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q,task:K,relatedTask:q}=U??{};return new Promise((G,H)=>{let W=(N)=>{H(N)};if(!this._transport){W(Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{if(this.assertCapabilityForMethod($.method),K)this.assertTaskCapability($.method)}catch(N){W(N);return}U?.signal?.throwIfAborted();let V=this._requestMessageId++,z={...$,jsonrpc:"2.0",id:V};if(U?.onprogress)this._progressHandlers.set(V,U.onprogress),z.params={...$.params,_meta:{...$.params?._meta||{},progressToken:V}};if(K)z.params={...z.params,task:K};if(q)z.params={...z.params,_meta:{...z.params?._meta||{},[U9]:q}};let Z=(N)=>{this._responseHandlers.delete(V),this._progressHandlers.delete(V),this._cleanupTimeout(V),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:V,reason:String(N)}},{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q}).catch((T)=>this._onerror(Error(`Failed to send cancellation: ${T}`)));let E=N instanceof o0?N:new o0(Y1.RequestTimeout,String(N));H(E)};this._responseHandlers.set(V,(N)=>{if(U?.signal?.aborted)return;if(N instanceof Error)return H(N);try{let E=$9(I,N.result);if(!E.success)H(E.error);else G(E.data)}catch(E){H(E)}}),U?.signal?.addEventListener("abort",()=>{Z(U?.signal?.reason)});let w=U?.timeout??hN0,L=()=>Z(o0.fromError(Y1.RequestTimeout,"Request timed out",{timeout:w}));this._setupTimeout(V,w,U?.maxTotalTimeout,L,U?.resetTimeoutOnProgress??!1);let D=q?.taskId;if(D){let N=(E)=>{let T=this._responseHandlers.get(V);if(T)T(E);else this._onerror(Error(`Response handler missing for side-channeled request ${V}`))};this._requestResolvers.set(V,N),this._enqueueTaskMessage(D,{type:"request",message:z,timestamp:Date.now()}).catch((E)=>{this._cleanupTimeout(V),H(E)})}else this._transport.send(z,{relatedRequestId:Y,resumptionToken:J,onresumptiontoken:Q}).catch((N)=>{this._cleanupTimeout(V),H(N)})})}async getTask($,I){return this.request({method:"tasks/get",params:$},MW,I)}async getTaskResult($,I,U){return this.request({method:"tasks/result",params:$},I,U)}async listTasks($,I){return this.request({method:"tasks/list",params:$},TW,I)}async cancelTask($,I){return this.request({method:"tasks/cancel",params:$},Mf,I)}async notification($,I){if(!this._transport)throw Error("Not connected");this.assertNotificationCapability($.method);let U=I?.relatedTask?.taskId;if(U){let K={...$,jsonrpc:"2.0",params:{...$.params,_meta:{...$.params?._meta||{},[U9]:I.relatedTask}}};await this._enqueueTaskMessage(U,{type:"notification",message:K,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes($.method)&&!$.params&&!I?.relatedRequestId&&!I?.relatedTask){if(this._pendingDebouncedNotifications.has($.method))return;this._pendingDebouncedNotifications.add($.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete($.method),!this._transport)return;let K={...$,jsonrpc:"2.0"};if(I?.relatedTask)K={...K,params:{...K.params,_meta:{...K.params?._meta||{},[U9]:I.relatedTask}}};this._transport?.send(K,I).catch((q)=>this._onerror(q))});return}let Q={...$,jsonrpc:"2.0"};if(I?.relatedTask)Q={...Q,params:{...Q.params,_meta:{...Q.params?._meta||{},[U9]:I.relatedTask}}};await this._transport.send(Q,I)}setRequestHandler($,I){let U=yP($);this.assertRequestHandlerCapability(U),this._requestHandlers.set(U,(Y,J)=>{let Q=hP($,Y);return Promise.resolve(I(Q,J))})}removeRequestHandler($){this._requestHandlers.delete($)}assertCanSetRequestHandler($){if(this._requestHandlers.has($))throw Error(`A request handler for ${$} already exists, which would be overridden`)}setNotificationHandler($,I){let U=yP($);this._notificationHandlers.set(U,(Y)=>{let J=hP($,Y);return Promise.resolve(I(J))})}removeNotificationHandler($){this._notificationHandlers.delete($)}_cleanupTaskProgressHandler($){let I=this._taskProgressTokens.get($);if(I!==void 0)this._progressHandlers.delete(I),this._taskProgressTokens.delete($)}async _enqueueTaskMessage($,I,U){if(!this._taskStore||!this._taskMessageQueue)throw Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let Y=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue($,I,U,Y)}async _clearTaskQueue($,I){if(this._taskMessageQueue){let U=await this._taskMessageQueue.dequeueAll($,I);for(let Y of U)if(Y.type==="request"&&NP(Y.message)){let J=Y.message.id,Q=this._requestResolvers.get(J);if(Q)Q(new o0(Y1.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(J);else this._onerror(Error(`Resolver missing for request ${J} during task ${$} cleanup`))}}}async _waitForTaskUpdate($,I){let U=this._options?.defaultTaskPollInterval??1000;try{let Y=await this._taskStore?.getTask($);if(Y?.pollInterval)U=Y.pollInterval}catch{}return new Promise((Y,J)=>{if(I.aborted){J(new o0(Y1.InvalidRequest,"Request cancelled"));return}let Q=setTimeout(Y,U);I.addEventListener("abort",()=>{clearTimeout(Q),J(new o0(Y1.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore($,I){let U=this._taskStore;if(!U)throw Error("No task store configured");return{createTask:async(Y)=>{if(!$)throw Error("No request provided");return await U.createTask(Y,$.id,{method:$.method,params:$.params},I)},getTask:async(Y)=>{let J=await U.getTask(Y,I);if(!J)throw new o0(Y1.InvalidParams,"Failed to retrieve task: Task not found");return J},storeTaskResult:async(Y,J,Q)=>{await U.storeTaskResult(Y,J,Q,I);let K=await U.getTask(Y,I);if(K){let q=PQ.parse({method:"notifications/tasks/status",params:K});if(await this.notification(q),Y9(K.status))this._cleanupTaskProgressHandler(Y)}},getTaskResult:(Y)=>{return U.getTaskResult(Y,I)},updateTaskStatus:async(Y,J,Q)=>{let K=await U.getTask(Y,I);if(!K)throw new o0(Y1.InvalidParams,`Task "${Y}" not found - it may have been cleaned up`);if(Y9(K.status))throw new o0(Y1.InvalidParams,`Cannot update task "${Y}" from terminal status "${K.status}" to "${J}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await U.updateTaskStatus(Y,J,Q,I);let q=await U.getTask(Y,I);if(q){let G=PQ.parse({method:"notifications/tasks/status",params:q});if(await this.notification(G),Y9(q.status))this._cleanupTaskProgressHandler(Y)}},listTasks:(Y)=>{return U.listTasks(Y,I)}}}}function vf($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Cf($,I){let U={...$};for(let Y in I){let J=Y,Q=I[J];if(Q===void 0)continue;let K=U[J];if(vf(K)&&vf(Q))U[J]={...K,...Q};else U[J]=Q}return U}var zc=VI(_T(),1),Xc=VI(Zc(),1);function Yv0(){let $=new zc.default({strict:!1,validateFormats:!0,validateSchema:!1,allErrors:!0});return Xc.default($),$}class iT{constructor($){this._ajv=$??Yv0()}getValidator($){let I="$id"in $&&typeof $.$id==="string"?this._ajv.getSchema($.$id)??this._ajv.compile($):this._ajv.compile($);return(U)=>{if(I(U))return{valid:!0,data:U,errorMessage:void 0};else return{valid:!1,data:void 0,errorMessage:this._ajv.errorsText(I.errors)}}}}class nT{constructor($){this._server=$}requestStream($,I,U){return this._server.requestStream($,I,U)}createMessageStream($,I){let U=this._server.getClientCapabilities();if(($.tools||$.toolChoice)&&!U?.sampling?.tools)throw Error("Client does not support sampling tools capability.");if($.messages.length>0){let Y=$.messages[$.messages.length-1],J=Array.isArray(Y.content)?Y.content:[Y.content],Q=J.some((H)=>H.type==="tool_result"),K=$.messages.length>1?$.messages[$.messages.length-2]:void 0,q=K?Array.isArray(K.content)?K.content:[K.content]:[],G=q.some((H)=>H.type==="tool_use");if(Q){if(J.some((H)=>H.type!=="tool_result"))throw Error("The last message must contain only tool_result content if any is present");if(!G)throw Error("tool_result blocks are not matching any tool_use from the previous message")}if(G){let H=new Set(q.filter((V)=>V.type==="tool_use").map((V)=>V.id)),W=new Set(J.filter((V)=>V.type==="tool_result").map((V)=>V.toolUseId));if(H.size!==W.size||![...H].every((V)=>W.has(V)))throw Error("ids of tool_result blocks and tool_use blocks from previous message do not match")}}return this.requestStream({method:"sampling/createMessage",params:$},RQ,I)}elicitInputStream($,I){let U=this._server.getClientCapabilities(),Y=$.mode??"form";switch(Y){case"url":{if(!U?.elicitation?.url)throw Error("Client does not support url elicitation.");break}case"form":{if(!U?.elicitation?.form)throw Error("Client does not support form elicitation.");break}}let J=Y==="form"&&$.mode===void 0?{...$,mode:"form"}:$;return this.requestStream({method:"elicitation/create",params:J},oI,I)}async getTask($,I){return this._server.getTask({taskId:$},I)}async getTaskResult($,I,U){return this._server.getTaskResult({taskId:$},I,U)}async listTasks($,I){return this._server.listTasks($?{cursor:$}:void 0,I)}async cancelTask($,I){return this._server.cancelTask({taskId:$},I)}}function wc($,I,U){if(!$)throw Error(`${U} does not support task creation (required for ${I})`);switch(I){case"tools/call":if(!$.tools?.call)throw Error(`${U} does not support task creation for tools/call (required for ${I})`);break;default:break}}function Lc($,I,U){if(!$)throw Error(`${U} does not support task creation (required for ${I})`);switch(I){case"sampling/createMessage":if(!$.sampling?.createMessage)throw Error(`${U} does not support task creation for sampling/createMessage (required for ${I})`);break;case"elicitation/create":if(!$.elicitation?.create)throw Error(`${U} does not support task creation for elicitation/create (required for ${I})`);break;default:break}}class pT extends xP{constructor($,I){super(I);if(this._serverInfo=$,this._loggingLevels=new Map,this.LOG_LEVEL_SEVERITY=new Map(BQ.options.map((U,Y)=>[U,Y])),this.isMessageIgnored=(U,Y)=>{let J=this._loggingLevels.get(Y);return J?this.LOG_LEVEL_SEVERITY.get(U)<this.LOG_LEVEL_SEVERITY.get(J):!1},this._capabilities=I?.capabilities??{},this._instructions=I?.instructions,this._jsonSchemaValidator=I?.jsonSchemaValidator??new iT,this.setRequestHandler(AP,(U)=>this._oninitialize(U)),this.setNotificationHandler(PP,()=>this.oninitialized?.()),this._capabilities.logging)this.setRequestHandler(_P,async(U,Y)=>{let J=Y.sessionId||Y.requestInfo?.headers["mcp-session-id"]||void 0,{level:Q}=U.params,K=BQ.safeParse(Q);if(K.success)this._loggingLevels.set(J,K.data);return{}})}get experimental(){if(!this._experimental)this._experimental={tasks:new nT(this)};return this._experimental}registerCapabilities($){if(this.transport)throw Error("Cannot register capabilities after connecting to transport");this._capabilities=Cf(this._capabilities,$)}setRequestHandler($,I){let Y=xH($)?.method;if(!Y)throw Error("Schema is missing a method literal");let J;if(xI(Y)){let K=Y;J=K._zod?.def?.value??K.value}else{let K=Y;J=K._def?.value??K.value}if(typeof J!=="string")throw Error("Schema method literal must be a string");if(J==="tools/call"){let K=async(q,G)=>{let H=$9(EQ,q);if(!H.success){let Z=H.error instanceof Error?H.error.message:String(H.error);throw new o0(Y1.InvalidParams,`Invalid tools/call request: ${Z}`)}let{params:W}=H.data,V=await Promise.resolve(I(q,G));if(W.task){let Z=$9(mI,V);if(!Z.success){let w=Z.error instanceof Error?Z.error.message:String(Z.error);throw new o0(Y1.InvalidParams,`Invalid task creation result: ${w}`)}return Z.data}let z=$9(BW,V);if(!z.success){let Z=z.error instanceof Error?z.error.message:String(z.error);throw new o0(Y1.InvalidParams,`Invalid tools/call result: ${Z}`)}return z.data};return super.setRequestHandler($,K)}return super.setRequestHandler($,I)}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($){Lc(this._clientCapabilities?.tasks?.requests,$,"Client")}assertTaskHandlerCapability($){if(!this._capabilities)return;wc(this._capabilities.tasks?.requests,$,"Server")}async _oninitialize($){let I=$.params.protocolVersion;return this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo,{protocolVersion:Vf.includes(I)?I:DP,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"},LW)}async createMessage($,I){if($.tools||$.toolChoice){if(!this._clientCapabilities?.sampling?.tools)throw Error("Client does not support sampling tools capability.")}if($.messages.length>0){let U=$.messages[$.messages.length-1],Y=Array.isArray(U.content)?U.content:[U.content],J=Y.some((G)=>G.type==="tool_result"),Q=$.messages.length>1?$.messages[$.messages.length-2]:void 0,K=Q?Array.isArray(Q.content)?Q.content:[Q.content]:[],q=K.some((G)=>G.type==="tool_use");if(J){if(Y.some((G)=>G.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 G=new Set(K.filter((W)=>W.type==="tool_use").map((W)=>W.id)),H=new Set(Y.filter((W)=>W.type==="tool_result").map((W)=>W.toolUseId));if(G.size!==H.size||![...G].every((W)=>H.has(W)))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:$},SP,I);return this.request({method:"sampling/createMessage",params:$},RQ,I)}async elicitInput($,I){switch($.mode??"form"){case"url":{if(!this._clientCapabilities?.elicitation?.url)throw Error("Client does not support url elicitation.");let Y=$;return this.request({method:"elicitation/create",params:Y},oI,I)}case"form":{if(!this._clientCapabilities?.elicitation?.form)throw Error("Client does not support form elicitation.");let Y=$.mode==="form"?$:{...$,mode:"form"},J=await this.request({method:"elicitation/create",params:Y},oI,I);if(J.action==="accept"&&J.content&&Y.requestedSchema)try{let K=this._jsonSchemaValidator.getValidator(Y.requestedSchema)(J.content);if(!K.valid)throw new o0(Y1.InvalidParams,`Elicitation response content does not match requested schema: ${K.errorMessage}`)}catch(Q){if(Q instanceof o0)throw Q;throw new o0(Y1.InternalError,`Error validating elicitation response: ${Q instanceof Error?Q.message:String(Q)}`)}return J}}}createElicitationCompletionNotifier($,I){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:$}},I)}async listRoots($,I){return this.request({method:"roots/list",params:$},gP,I)}async sendLoggingMessage($,I){if(this._capabilities.logging){if(!this.isMessageIgnored($.level,I))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 Oc from"node:process";class cT{append($){this._buffer=this._buffer?Buffer.concat([this._buffer,$]):$}readMessage(){if(!this._buffer)return null;let $=this._buffer.indexOf(`
`);if($===-1)return null;let I=this._buffer.toString("utf8",0,$).replace(/\r$/,"");return this._buffer=this._buffer.subarray($+1),Jv0(I)}clear(){this._buffer=void 0}}function Jv0($){return Nf.parse(JSON.parse($))}function Dc($){return JSON.stringify($)+`
`}class dT{constructor($=Oc.stdin,I=Oc.stdout){this._stdin=$,this._stdout=I,this._readBuffer=new cT,this._started=!1,this._ondata=(U)=>{this._readBuffer.append(U),this.processReadBuffer()},this._onerror=(U)=>{this.onerror?.(U)}}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((I)=>{let U=Dc($);if(this._stdout.write(U))I();else this._stdout.once("drain",I)})}}import{dirname as Mx,join as bG1}from"node:path";import{fileURLToPath as iG1}from"node:url";class I5 extends Error{name="KyError";get isKyError(){return!0}}class i6 extends I5{name="HTTPError";response;request;options;data;constructor($,I,U){let Y=$.status||$.status===0?$.status:"",J=$.statusText??"",Q=`${Y} ${J}`.trim(),K=Q?`status code ${Q}`:"an unknown error";super(`Request failed with ${K}: ${I.method} ${I.url}`);this.response=$,this.request=I,this.options=U}}class sQ extends I5{name="NetworkError";request;constructor($,I){super(`Request failed due to a network error: ${$.method} ${$.url}`,I);this.request=$}}class eQ extends Error{name="NonError";value;constructor($){let I="Non-error value was thrown";try{if(typeof $==="string")I=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")I=$.message}catch{}super(I);this.value=$}}class GU extends I5{name="ForceRetryError";customDelay;code;customRequest;constructor($){let I=$?.cause?$.cause instanceof Error?$.cause:new eQ($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",I?{cause:I}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}class mT extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}class d$ extends I5{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}var lT=(()=>{let $=!1,I=!1,U=typeof globalThis.ReadableStream==="function",Y=typeof globalThis.Request==="function";if(U&&Y)try{I=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 $&&!I})(),Nc=typeof globalThis.AbortController==="function",HV=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",Fc=typeof globalThis.ReadableStream==="function",Mc=typeof globalThis.FormData==="function",WV=["get","post","put","patch","head","delete"],Qv0=()=>{return};Qv0();var Ac={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},HU=2147483647,Pc=40,VV=Symbol("stop");class ZV{options;constructor($){this.options=$}}var Tc=($)=>new ZV($),Ec={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},Bc={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 zV=new TextEncoder,Kv0=($)=>{if(!$)return 0;if($ instanceof FormData){let I=0;for(let[U,Y]of $)I+=Pc,I+=zV.encode(`Content-Disposition: form-data; name="${U}"`).byteLength,I+=typeof Y==="string"?zV.encode(Y).byteLength:Y.size;return I}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return zV.encode($).byteLength;if($ instanceof URLSearchParams)return zV.encode($.toString()).byteLength;return 0},Rc=($,I,U)=>{let Y,J=0;return $.pipeThrough(new TransformStream({transform(Q,K){if(K.enqueue(Q),Y){J+=Y.byteLength;let q=I===0?0:J/I;if(q>=1)q=1-Number.EPSILON;U?.({percent:q,totalBytes:Math.max(I,J),transferredBytes:J},Y)}Y=Q},flush(){if(Y)J+=Y.byteLength,U?.({percent:1,totalBytes:Math.max(I,J),transferredBytes:J},Y)}}))},vc=($,I)=>{if(!$.body)return $;let U={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,U);let Y=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(Rc($.body,Y,I),U)},Cc=($,I,U)=>{if(!$.body)return $;let Y=Kv0(U??$.body);return new Request($,{duplex:"half",body:Rc($.body,Y,I)})};var Z8=($)=>$!==null&&typeof $==="object";var qv0=Symbol("replaceOption"),oT=($)=>Z8($)&&$[qv0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$};var I2=(...$)=>{for(let I of $)if((!Z8(I)||Array.isArray(I))&&I!==void 0)throw TypeError("The `options` argument must be an object");return aT({},...$)},tT=($={},I={})=>{let U=new globalThis.Headers($),Y=I instanceof globalThis.Headers,J=new globalThis.Headers(I);for(let[Q,K]of J.entries())if(Y&&K==="undefined"||K===void 0)U.delete(Q);else U.set(Q,K);return U},rT=($)=>{if(!Z8($)||Array.isArray($))return!1;let I=Object.getPrototypeOf($);return I===Object.prototype||I===null},WU=($)=>{if($ instanceof URLSearchParams){let I=new URLSearchParams($),U=$[V9];if(U)I[V9]=new Set(U);return I}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(rT($))return{...$};return $},Gv0=($)=>Object.fromEntries(Object.entries($).filter((I)=>I[1]!==void 0)),Hv0=($,I)=>{if(rT($)&&rT(I))return Gv0({...$,...I});return tT($,I)};function $2($,I,U){return Object.hasOwn(I,U)&&I[U]===void 0?[]:aT($[U]??[],I[U]??[])}var XV=($={},I={})=>({init:$2($,I,"init"),beforeRequest:$2($,I,"beforeRequest"),beforeRetry:$2($,I,"beforeRetry"),beforeError:$2($,I,"beforeError"),afterResponse:$2($,I,"afterResponse")}),V9=Symbol("deletedParameters"),Wv0=($,I)=>{let U=new URLSearchParams,Y=new Set;for(let J of[$,I]){if(J===void 0)continue;if(J instanceof URLSearchParams){for(let[K,q]of J.entries())U.append(K,q),Y.delete(K);let Q=J[V9];if(Q)for(let K of Q)U.delete(K),Y.add(K)}else if(Array.isArray(J))for(let Q of J){if(!Array.isArray(Q)||Q.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");U.append(String(Q[0]),String(Q[1])),Y.delete(String(Q[0]))}else if(Z8(J))for(let[Q,K]of Object.entries(J))if(K===void 0)U.delete(Q),Y.add(Q);else U.append(Q,String(K)),Y.delete(Q);else{let Q=new URLSearchParams(J);for(let[K,q]of Q.entries())U.append(K,q),Y.delete(K)}}if(Y.size>0)U[V9]=Y;return U},aT=(...$)=>{let I={},U={},Y={},J,Q=[];for(let K of $)if(Array.isArray(K)){if(!Array.isArray(I))I=[];I=[...I,...K]}else if(Z8(K)){for(let[q,G]of Object.entries(K)){if(q==="signal"&&G instanceof globalThis.AbortSignal){Q.push(G);continue}let H=oT(G),{isReplace:W}=H;if(G=H.value,q==="context"){if(G!==void 0&&G!==null&&(!Z8(G)||Array.isArray(G)))throw TypeError("The `context` option must be an object");I={...I,context:G===void 0||G===null?{}:W?{...G}:{...I.context,...G}};continue}if(q==="searchParams"){if(G===void 0||G===null)J=void 0;else if(W)J=G;else J=J===void 0?G:Wv0(J,G);continue}if(Z8(G)&&!W&&q in I)G=aT(I[q],G);I={...I,[q]:G}}if(Z8(K.hooks)){let{value:q,isReplace:G}=oT(K.hooks);Y=G?XV({},q):XV(Y,q),I.hooks=Y}if(Z8(K.headers)){let{value:q,isReplace:G}=oT(K.headers);U=G?WU(q):Hv0(U,q),I.headers=U}}if(J!==void 0)I.searchParams=J;if(Q.length>0)if(Q.length===1)I.signal=Q[0];else if(HV)I.signal=AbortSignal.any(Q);else I.signal=Q.at(-1);return I};var _c=($)=>WV.includes($)?$.toUpperCase():$,Vv0=["get","put","head","delete","options","trace"],Zv0=[408,413,429,500,502,503,504],zv0=[413,429,503],jc={limit:2,methods:Vv0,statusCodes:Zv0,afterStatusCodes:zv0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1},Sc=($={})=>{if(typeof $==="number")return{...jc,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 I=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((U)=>U.toLowerCase())}).filter(([,U])=>U!==void 0));return{...jc,...I}};async function sT($,I,U,Y){return new Promise((J,Q)=>{let K=setTimeout(()=>{if(U)U.abort();Q(new d$($))},Y.timeout);Y.fetch($,I).then(J).catch(Q).then(()=>{clearTimeout(K)})})}async function wV($,{signal:I}){return new Promise((U,Y)=>{if(I)I.throwIfAborted(),I.addEventListener("abort",J,{once:!0});function J(){clearTimeout(Q),Y(I.reason)}let Q=setTimeout(()=>{I?.removeEventListener("abort",J),U()},$)})}var gc=($)=>{let I={};for(let U in $){if(!Object.hasOwn($,U))continue;if(!(U in Bc)&&!(U in Ec))I[U]=$[U]}return I},yc=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[V9]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var Xv0=Object.prototype.toString,wv0=($)=>Xv0.call($)==="[object Error]",Lv0=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 eT($){if(!($&&wv0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:U,stack:Y}=$;if(U==="Load failed")return Y===void 0||"__sentry_captured__"in $;if(U.startsWith("error sending request for url"))return!0;if(U==="Failed to fetch"||U.startsWith("Failed to fetch (")&&U.endsWith(")"))return!0;return Lv0.has(U)}var $E=($,I)=>$ instanceof I||$?.name===I.name;function hc($){return $E($,i6)}function xc($){return $E($,sQ)}function kc($){return $E($,d$)}var Dv0=10485760,Ov0="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",U2=Symbol("timedOutResponseData"),Nv0=($)=>{let I=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),U=I?.[1]??I?.[2];if(U)try{return new TextDecoder(U)}catch{}return new TextDecoder},uc="The `schema` argument must follow the Standard Schema specification",Fv0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},ic=Object.prototype.toString,fc=($)=>$ instanceof globalThis.Request||ic.call($)==="[object Request]",Y2=($)=>$ instanceof globalThis.Response||ic.call($)==="[object Response]",Mv0=($)=>{if(Array.isArray($))return $.map((I)=>[...I]);return WU($)};function Av0($){let I={...$,json:WU($.json),context:WU($.context),headers:WU($.headers),searchParams:Mv0($.searchParams)};if($.retry!==void 0)I.retry=Fv0($.retry);return I}var bc=async($,I)=>{if(typeof I!=="object"&&typeof I!=="function"||I===null)throw TypeError(uc);let U=I["~standard"];if(typeof U!=="object"||U===null||typeof U.validate!=="function")throw TypeError(uc);let Y=await U.validate($);if(Y.issues)throw new mT(Y.issues);return Y.value};class VU{static create($,I){let U=I.hooks?.init??[],Y=U.length>0?Av0(I):I;for(let q of U)q(Y);let J=new VU($,Y),Q=async()=>{if(typeof J.#$.timeout==="number"&&J.#$.timeout>HU)throw RangeError(`The \`timeout\` option cannot be greater than ${HU}`);if(typeof J.#$.totalTimeout==="number"&&J.#$.totalTimeout>HU)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${HU}`);await Promise.resolve();let q=await J.#y(),G=q??await J.#B(async()=>J.#D()),H=q!==void 0||J.#L();for(;;){if(G===void 0)return G;if(Y2(G))try{G=await J.#h(G)}catch(V){if(!(V instanceof GU))throw V;let z=await J.#w(V,async()=>J.#D());if(z===void 0)return z;G=z,H=J.#L();continue}let W=G;if(!W.ok&&W.type!=="opaque"&&(typeof J.#$.throwHttpErrors==="function"?J.#$.throwHttpErrors(W.status):J.#$.throwHttpErrors)){let V=new i6(W,J.#q(W),J.#K()),z=V;if(V.data=await J.#j(W),H)throw z;let Z=await J.#w(V,async()=>J.#D());if(Z===void 0)return Z;G=Z,H=J.#L();continue}break}if(!Y2(G))return G;if(J.#P(G),J.#$.onDownloadProgress){if(typeof J.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!Fc)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let W=G.clone();return J.#Y(G),vc(W,J.#$.onDownloadProgress)}return G},K=(async()=>{try{return await Q()}catch(q){if(!(q instanceof Error))throw q;if(J.#M.has(q))throw q;let G=q;for(let H of J.#$.hooks.beforeError){let W=await H({request:J.request,options:J.#K(),error:G,retryCount:J.#U});if(W instanceof Error)G=W}throw G}finally{let q=J.#F;if(J.#X(q?.body??void 0),J.request!==q)J.#X(J.request.body??void 0)}})();for(let[q,G]of Object.entries(Ac)){if(q==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;K[q]=async(H)=>{J.request.headers.set("accept",J.request.headers.get("accept")||G);let W=await K;if(q!=="json")return W[q]();let V=await W.text();if(V===""){if(H!==void 0)return bc(void 0,H);return JSON.parse(V)}let z=Y.parseJson?await Y.parseJson(V,{request:J.#q(W),response:W}):JSON.parse(V);return H===void 0?z:bc(z,H)}}return K}static#v($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0));return $}request;#J;#U=0;#I;#$;#F;#G;#M=new WeakSet;#H;#z;#W=!1;#A=new WeakMap;constructor($,I={}){if(this.#I=$,Object.hasOwn(I,"prefixUrl"))throw Error(Ov0);if(this.#$={...I,headers:tT(this.#I.headers,I.headers),hooks:XV({},I.hooks),method:_c(I.method??this.#I.method??"GET"),prefix:String(I.prefix||""),retry:Sc(I.retry),throwHttpErrors:I.throwHttpErrors??!0,timeout:I.timeout??1e4,totalTimeout:I.totalTimeout??!1,fetch:I.fetch??globalThis.fetch.bind(globalThis),context:I.context??{}},typeof this.#I!=="string"&&!(this.#I instanceof URL||this.#I instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#I==="string"){if(this.#$.prefix){let Y=this.#$.prefix.replace(/\/+$/,""),J=this.#I.replace(/^\/+/,"");this.#I=`${Y}/${J}`}if(this.#$.baseUrl){let Y;try{Y=new URL(this.#I)}catch{}if(!Y)this.#I=new URL(this.#I,new Request(this.#$.baseUrl).url)}}if(Nc&&HV)this.#G=this.#$.signal??this.#I.signal,this.#J=new globalThis.AbortController,this.#$.signal=this.#E();if(lT)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 U=I.headers&&new globalThis.Headers(I.headers).has("content-type");if(this.#I instanceof globalThis.Request&&(Mc&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!U)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#I,this.#$),yc(this.#$.searchParams)){let Y=new URL(this.request.url),J=this.#$.searchParams?.[V9];if(J)for(let Q of J)Y.searchParams.delete(Q);if(typeof this.#$.searchParams==="string"){let Q=this.#$.searchParams.replace(/^\?/,"");if(Q!=="")Y.search=Y.search?`${Y.search}&${Q}`:`?${Q}`}else{let Q=new URLSearchParams(VU.#v(this.#$.searchParams));for(let[K,q]of Q.entries())Y.searchParams.append(K,q)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[Q,K]of Object.entries(this.#$.searchParams))if(K===void 0)Y.searchParams.delete(Q)}this.request=new globalThis.Request(Y,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#z=typeof this.#$.totalTimeout==="number"?this.#R():void 0}#Q(){let $=this.#$.retry.delay(this.#U+1),I=$;if(this.#$.retry.jitter===!0)I=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(I=this.#$.retry.jitter($),!Number.isFinite(I)||I<0)I=$}return Math.min(this.#$.retry.backoffLimit,I)}async#C($){if(this.#U>=this.#$.retry.limit)throw $;let I=$ instanceof Error?$:new eQ($);if(I instanceof GU)return I.customDelay??this.#Q();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let U=await this.#$.retry.shouldRetry({error:I,retryCount:this.#U+1});if(U===!1)throw $;if(U===!0)return this.#Q()}if(kc($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#Q()}if(hc($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let U=$.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(U&&this.#$.retry.afterStatusCodes.includes($.response.status)){let Y=Number(U)*1000;if(Number.isNaN(Y))Y=Date.parse(U)-Date.now();else if(Y>=Date.parse("2024-01-01"))Y-=Date.now();if(!Number.isFinite(Y))return Math.min(this.#$.retry.maxRetryAfter,this.#Q());return Y=Math.max(0,Y),Math.min(this.#$.retry.maxRetryAfter,Y)}if($.response.status===413)throw $;return this.#Q()}if(!xc($))throw $;return this.#Q()}#P($){let I=this.#q($);if(this.#$.parseJson)$.json=async()=>{let U=await $.text();if(U==="")return JSON.parse(U);return this.#$.parseJson(U,{request:I,response:$})};return $}async#j($){let I=await this.#S($,this.#T());if(I===U2){this.#V();return}if(!I)return;if(!this.#_($.headers.get("content-type")??""))return I;let U=await this.#g(I,$,this.#T(),this.#q($));if(U===U2){this.#V();return}return U}#T(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,I=this.#Z();if(I===void 0)return $;if(I<=0)throw new d$(this.request);return Math.min($,I)}#_($){let I=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(I)}async#S($,I){let{body:U}=$;if(!U)try{return await $.text()}catch{return}let Y;try{Y=U.getReader()}catch{return}let J=Nv0($.headers.get("content-type")??""),Q=[],K=0,q=(async()=>{try{for(;;){let{done:W,value:V}=await Y.read();if(W)break;if(K+=V.byteLength,K>Dv0){Y.cancel().catch(()=>{return});return}Q.push(J.decode(V,{stream:!0}))}}catch{return}return Q.push(J.decode()),Q.join("")})(),G=new Promise((W)=>{let V=setTimeout(()=>{W(U2)},I);q.finally(()=>{clearTimeout(V)})}),H=await Promise.race([q,G]);if(H===U2)Y.cancel().catch(()=>{return});return H}async#g($,I,U,Y){let J;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:Y,response:I}):JSON.parse($)),new Promise((Q)=>{J=setTimeout(()=>{Q(U2)},U)})])}catch{return}finally{clearTimeout(J)}}#X($){if(!$)return;$.cancel().catch(()=>{return})}#Y($){this.#X($.body??void 0)}#E(){return this.#G?AbortSignal.any([this.#G,this.#J.signal]):this.#J.signal}#V(){let $=this.#Z();if($!==void 0&&$<=0)throw new d$(this.request)}async#y(){for(let $ of this.#$.hooks.beforeRequest){let I=await $({request:this.request,options:this.#K(),retryCount:0});if(fc(I))this.#O(I);else if(Y2(I))return I}return}async#h($){let I=this.#q($);for(let U of this.#$.hooks.afterResponse){let Y=this.#N($.clone(),I);this.#P(Y);let J;try{J=await U({request:this.request,options:this.#K(),response:Y,retryCount:this.#U})}catch(K){if(Y!==$)this.#Y(Y);throw this.#Y($),K}if(J instanceof ZV){if(Y!==$)this.#Y(Y);throw this.#Y($),new GU(J.options)}let Q=Y2(J)?this.#N(J,I):$;if(Y!==$&&Y!==Q&&Y.body!==Q.body)this.#Y(Y);if($!==Q&&$.body!==Q.body)this.#Y($);$=Q}return $}async#B($){try{return await $()}catch(I){return this.#w(I,$)}}async#w($,I){this.#W=!1;let U=Math.min(await this.#C($),HU),Y={signal:this.#G},J=this.#Z();if(J!==void 0){if(J<=0)throw new d$(this.request);if(U>=J)throw await wV(J,Y),new d$(this.request)}if(await wV(U,Y),this.#V(),$ instanceof GU&&$.customRequest){let Q=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#O(Q)}for(let Q of this.#$.hooks.beforeRetry){let K;try{K=await Q({request:this.request,options:this.#K(),error:$,retryCount:this.#U+1})}catch(q){if(q instanceof Error&&q!==$)this.#M.add(q);throw q}if(fc(K)){this.#O(K);break}if(Y2(K))return this.#W=!0,this.#U++,K;if(K===VV)return}return this.#V(),this.#U++,this.#B(I)}#L(){let $=this.#W;return this.#W=!1,$}async#D(){if(this.#J?.signal.aborted)this.#J=new globalThis.AbortController,this.#$.signal=this.#E(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=gc(this.#$),I=this.#$.retry.limit>0?this.request.clone():void 0,U=this.#x(this.request,this.#$.body??void 0);if(this.#F=U,I)this.request=I;try{let Y=this.#Z();if(Y!==void 0&&Y<=0)throw new d$(this.request);let J=this.#$.timeout===!1?Y:Y===void 0?this.#$.timeout:Math.min(this.#$.timeout,Y),Q=J===void 0?await this.#$.fetch(U,$):await sT(U,$,this.#J,{timeout:J,fetch:this.#$.fetch});return this.#N(Q,U)}catch(Y){if(eT(Y))throw new sQ(this.request,{cause:Y});throw Y}}#Z(){if(this.#z===void 0)return;let $=this.#R()-this.#z;return Math.max(0,this.#$.totalTimeout-$)}#R(){return globalThis.performance?.now()??Date.now()}#K(){if(!this.#H){let{hooks:$,json:I,parseJson:U,stringifyJson:Y,searchParams:J,timeout:Q,totalTimeout:K,throwHttpErrors:q,fetch:G,...H}=this.#$;this.#H=Object.freeze(H)}return this.#H}#O($){this.#H=void 0,this.request=$}#q($){return this.#A.get($)??this.request}#N($,I){return this.#A.set($,I),$}#x($,I){if(!this.#$.onUploadProgress||!$.body||!lT)return $;return Cc($,this.#$.onUploadProgress,I??this.#$.body??void 0)}}/*! MIT License © Sindre Sorhus */var IE=($)=>{let I=(U,Y)=>VU.create(U,I2($,Y));for(let U of WV)I[U]=(Y,J)=>VU.create(Y,I2($,J,{method:U}));return I.create=(U)=>IE(I2(U)),I.extend=(U)=>{if(typeof U==="function")U=U($??{});return IE(I2($,U))},I.stop=VV,I.retry=Tc,I},Pv0=IE(),U5=Pv0;async function nc($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=$.seal.url??$.source.sealUrl,U=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:U?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:I,tenantId:U?.tenantId,tenantSlug:$.seal.tenantSlug??U?.tenantSlug,tenantName:U?.tenantName,raw:{sourceType:$.source.type}}}}import{existsSync as UE,mkdirSync as vv0,readFileSync as Cv0,writeFileSync as jv0}from"node:fs";import{dirname as _v0,join as mc}from"node:path";import{homedir as lc}from"node:os";var pc=X.object({token:X.string(),expiresAt:X.number(),url:X.string().url().optional()}),Tv0=X.object({provider:X.string(),corpId:X.string().optional(),staffId:X.string(),sealUrl:X.string().url(),tenantId:X.string().optional(),tenantSlug:X.string().optional(),tenantName:X.string().optional(),raw:X.unknown().optional()}),Ev0=X.object({token:X.string(),expiresAt:X.number(),enterprise:Tv0}),Bv0=X.object({openapi:pc.optional(),closeapi:pc.optional()}),Rv0=X.object({seal:Ev0.optional(),hose:Bv0.optional()}),cc=X.record(X.string(),Rv0);var LV=mc(lc(),".config","seal-use","seal_tokens.json"),dc=mc(lc(),".config","seal-home","seal_tokens.json");function Sv0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(UE(LV))return LV;if(UE(dc))return dc;return LV}function gv0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return LV}function ZU(){let $=Sv0();if(!UE($))return{};try{return cc.parse(JSON.parse(Cv0($,"utf-8")))}catch{return{}}}function DV($){let I=gv0();vv0(_v0(I),{recursive:!0,mode:448}),jv0(I,JSON.stringify($,null,2),{mode:384})}function oc($){return ZU()[$]?.seal}function rc($,I){let U=ZU();DV({...U,[$]:{...U[$],seal:I}})}function tc($){let I=ZU(),U=I[$];if(!U)return;DV({...I,[$]:{...U,seal:void 0}})}function J2($){return ZU()[$]?.hose??{}}function YE($,I){let U=ZU();DV({...U,[$]:{...U[$],hose:I}})}function OV($){let I=ZU();delete I[$],DV(I)}var yv0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],hv0=[".ekuaibao.com",".hosecloud.com"],xv0="/web/thirdparty.html",sc=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,JE=new Map,QE=new Map;function m$($){return $.replace(/\/+$/,"")}function kv0($){let I;try{I=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(I.protocol!=="https:"||I.port||!uv0(I.hostname)||I.pathname.replace(/\/+$/,"")!==xv0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let U=I.searchParams.getAll("accessToken").filter(Boolean),Y=I.searchParams.getAll("ekbCorpId").filter(Boolean);if(U.length!==1||Y.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let J=Y[0].trim().toLowerCase();if(!sc.test(J))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:J,accessToken:U[0]}}async function NV($){let I=typeof $==="string"?kv0($):fv0($),U=`https://${I.corpId}.sealai.cc`,Y=await U5.get(`${U}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:I.accessToken,returnToken:"1"},timeout:30000}).json(),J=Y.token??Y.accessToken??Y.data?.token??Y.data?.accessToken;if(!J)throw Error("Seal SSO did not return a bearer token");let Q=Y.expiresIn??Y.expires_in??Y.data?.expiresIn??Y.data?.expires_in??3600;return{corpId:I.corpId,sealUrl:U,token:J,expiresIn:Number.isFinite(Q)&&Q>0?Q:3600}}function FV($,I){let U=I.hoseCorpConfig&&typeof I.hoseCorpConfig==="object"?I.hoseCorpConfig:void 0,Y=[I.tenantSlug,U?.corporationId].filter((K)=>typeof K==="string"&&Boolean(K)),J=$.trim().toLowerCase(),Q=Y.map((K)=>K.trim().toLowerCase()).filter(Boolean);if(Q.length===0||Q.some((K)=>K!==J))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function uv0($){let I=$.toLowerCase();return hv0.some((U)=>I.endsWith(U))}function fv0($){let I=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",U=typeof $?.accessToken==="string"?$.accessToken.trim():"";if(!sc.test(I)||!U)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:I,accessToken:U}}function ec($,I=60){return Boolean($&&Date.now()<$.expiresAt-I*1000)}function Q2($,I){if($.seal.url)return $.seal.url;if(I.sealUrl)return I.sealUrl;return`https://${I.corpId.toLowerCase()}.sealai.cc`}function bv0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function $d($){return U5.create({prefix:m$($.domain),timeout:30000,hooks:{beforeError:[async({error:I})=>{let U=I instanceof i6?await I.response.text().catch(()=>""):"";return I.message=`${I.message}${U?`: ${U}`:""}`,I}]}})}async function iv0($){let I=$d($),U=$.appKey??$.key,Y=$.appSecurity??$.password;if(!U||!Y)throw Error("Hose source requires appKey/key and appSecurity/password");let J=await I.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:U,appSecurity:Y}}).json(),Q=J.value?.accessToken??J.accessToken??J.token;if(!Q)throw Error("Hose login did not return an access token");return{token:Q,expiresAt:Date.now()+3600000}}async function MV($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=J2($.id);if(ec(I.openapi))return I.openapi.token;let U=JE.get($.id);if(U)return U;let Y=iv0($.source).then((J)=>{return YE($.id,{...J2($.id),openapi:J}),J.token}).finally(()=>JE.delete($.id));return JE.set($.id,Y),Y}async function AV($,I,U=7200){let Y=$d($),J=bv0($),K=(await Y.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:I},json:{uid:J,pageType:"home",expireDate:U}}).json()).value?.message;if(!K)throw Error("Hose CloseAPI did not return a provisional auth URL");let q=new URL(K).searchParams.get("accessToken");if(!q)throw Error("Hose provisional auth URL did not include accessToken");return{token:q,url:K,expiresAt:Date.now()+U*1000}}async function Id($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=$.source,U=J2($.id);if(ec(U.closeapi)&&U.closeapi.url)return U.closeapi;let Y=QE.get($.id);if(Y)return Y;let J=MV($).then((Q)=>AV(I,Q)).then((Q)=>{return YE($.id,{...J2($.id),closeapi:Q}),Q}).finally(()=>QE.delete($.id));return QE.set($.id,J),J}async function Ud($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=(await Id($)).url;if(!I)throw Error("Hose provisional auth URL was not available");return I}async function Yd($,I=7200){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let U=await MV($),Y=await AV($.source,U,I);if(!Y.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:Y.url,expiresIn:I}}async function Jd($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let I=await Id($),U=Q2($,$.source),Y=await U5.get(`${m$(U)}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:I.token,returnToken:"1"},timeout:30000}).json(),J=Y.token??Y.accessToken??Y.data?.token??Y.data?.accessToken;if(!J)throw Error("Seal SSO did not return a bearer token");let Q=Y.expiresIn??Y.expires_in??Y.data?.expiresIn??Y.data?.expires_in??3600,K={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:m$(U),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:m$($.source.domain)}};return{token:J,expiresAt:Date.now()+Q*1000,enterprise:K}}async function zU($,I,U){if(U){let K=m$(U),q=await ac(K,$,I);if(!q)throw Error(`Failed to authenticate on specified domain: ${K}. Please verify appKey/appSecurity and domain connectivity.`);return q}let Y=yv0.map(async(K)=>{try{return await ac(K,$,I)}catch{return}}),Q=(await Promise.all(Y)).filter((K)=>Boolean(K));if(Q.length>0&&Q[0])return Q[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 ac($,I,U){try{let Y=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:I,appSecurity:U}),signal:AbortSignal.timeout(8000)});if(!Y.ok)return;let J=await Y.json();if(J.value?.errorCode)return;let Q=J.value?.accessToken??J.accessToken,K=J.value?.corporationId??J.value?.corporation?.id;if(!Q||!K)return;return{domain:$,corpId:K,corpName:J.value?.corporation?.name,openapiToken:Q,expireTime:J.value?.expireTime}}catch{return}}async function PV($,I){let U=`${m$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(I)}`,Y=await fetch(U,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!Y.ok){let K=await Y.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${Y.status} ${K}`)}return((await Y.json()).items??[]).map((K)=>({id:K.id,name:K.name,enName:K.enName,roleDefs:(K.roleDefs??[]).map((q)=>({id:q.id,name:q.name,enName:q.enName,sourceType:q.sourceType,sourceTypeValue:q.sourceTypeValue,groupId:K.id,groupName:K.name}))}))}async function KE($,I,U,Y="id"){let J=U.startsWith("$")?U.slice(1):U,Q=`${m$($)}/api/openapi/v1/roledefs/$${J}?accessToken=${encodeURIComponent(I)}&staffBy=${encodeURIComponent(Y)}&pathType=name`,K=await fetch(Q,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!K.ok){let W=await K.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${J}: ${K.status} ${W}`)}let G=(await K.json()).value;if(!G)throw Error(`Hose role staff query returned empty result for ${J}`);let H=[];for(let W of G.contents??[])for(let V of W.staffs??[])if(V&&!H.includes(V))H.push(V);return{id:G.id??J,name:G.name??"",count:G.count??H.length,staffs:H}}async function qE($,I,U){if(U.length===0)return[];let Y=`${m$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(I)}`,J=await fetch(Y,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:U.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!J.ok){let K=await J.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${J.status} ${K}`)}return(await J.json()).items??[]}var TV=new Map;function Qd($,I){return Date.now()>=$.expiresAt-I*1000}async function nv0($){switch($.source.type){case"hose":return Jd($);case"direct":case"seal":return nc($)}}async function EV($){let I=$.auth.refreshTtl,U=TV.get($.id);if(U&&!Qd(U,I))return U;let Y=oc($.id);if(Y&&!Qd(Y,I))return TV.set($.id,Y),Y;let J=await nv0($);return TV.set($.id,J),rc($.id,J),J}async function Kd($){return(await EV($)).enterprise}function qd($){TV.delete($),tc($)}async function U4($){let I=await EV($);return U5.create({prefix:I.enterprise.sealUrl,timeout:30000,headers:{Authorization:`Bearer ${I.token}`},hooks:{beforeError:[async({error:U})=>{if(U instanceof i6&&U.response.status===401)qd($.id);let Y=U instanceof i6?await U.response.text().catch(()=>""):"";return U.message=`${U.message}${Y?`: ${Y}`:""}`,U}]}})}async function Gd($,I){let U=await EV($);return K2(U.enterprise.sealUrl,I)}function K2($,I){return U5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:{Authorization:`Bearer ${I}`},hooks:{beforeError:[async({error:U})=>{let Y=U instanceof i6?await U.response.text().catch(()=>""):"";return U.message=`${U.message}${Y?`: ${Y}`:""}`,U}]}})}var Hd={name:"seal-use",version:"0.10.13",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","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",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/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}};var $1=Hd.version;import{randomBytes as xd}from"node:crypto";var Wd=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],GE={minFileSizeBytes:500,allowedExtensions:[...Wd]},Vd=X.string().trim().min(1).transform(($)=>{let I=$.toLowerCase();return I.startsWith(".")?I:`.${I}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),HE=X.object({minFileSizeBytes:X.number().int().min(0).default(GE.minFileSizeBytes),maxFileSizeBytes:X.number().int().positive().nullable().optional(),allowedExtensions:X.array(Vd).min(1).default([...Wd]).transform(($)=>[...new Set($)])}).superRefine(($,I)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)I.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),WE=X.object({minFileSizeBytes:X.number().int().min(0).optional(),maxFileSizeBytes:X.number().int().positive().nullable().optional(),allowedExtensions:X.array(Vd).min(1).transform(($)=>[...new Set($)])}).optional();function XU($=void 0){return HE.parse($??{})}function Zd($,I){return XU({...XU($),...I})}var cv0=X.object({staffId:X.string(),name:X.string().optional(),code:X.string().default(""),bindTime:X.number().optional()}),dv0=X.object({id:X.string(),tenantId:X.string(),name:X.string(),isAdmin:X.boolean().default(!1),permissions:X.array(X.string()).default([]),providerUserId:X.string().optional(),hosecloudStaff:cv0.optional()}),mv0=X.object({apiKey:X.string().optional(),corporationId:X.string().optional(),corporationName:X.string().optional()}),lv0=X.object({id:X.string(),name:X.string(),tenantSlug:X.string().optional(),isDemo:X.boolean().default(!1),logoUrl:X.string().nullable().optional(),hoseCorpConfig:mv0.optional()}),Xd=X.object({user:dv0,tenant:lv0}),ov0=X.object({id:X.string(),name:X.string(),email:X.string().nullable().optional(),emailVerified:X.boolean().optional(),image:X.string().nullable().optional(),tenantId:X.string().optional(),provider:X.string().optional(),providerUserId:X.string().optional(),mobile:X.string().nullable().optional(),status:X.string().optional(),permissions:X.array(X.string()).default([]),isAdmin:X.boolean().default(!1),hosecloudStaff:X.unknown().optional()}).passthrough(),rv0=X.object({id:X.string(),token:X.string().optional(),expiresAt:X.string(),createdAt:X.string().optional(),updatedAt:X.string().optional(),ipAddress:X.string().optional(),userAgent:X.string().optional(),userId:X.string(),delegationId:X.string().nullable().optional()}).passthrough(),wd=X.object({user:ov0,session:rv0}),BV=X.object({id:X.string(),tenantId:X.string().optional(),code:X.number().optional(),description:X.string(),scope:X.string(),strictness:X.string(),status:X.string().optional(),createdAt:X.number().optional(),updatedAt:X.number().optional()}),Ld=X.object({rules:X.array(BV),hasPendingDeletes:X.boolean().default(!1)}),tv0=X.object({code:X.string().optional(),description:X.string(),scope:X.string(),strictness:X.string()}),RV=X.object({id:X.string(),tenantId:X.string().optional(),versionNumber:X.number(),versionName:X.string().nullable().optional(),publishedBy:X.string().nullable().optional(),publishedByName:X.string().nullable().optional(),rules:X.array(tv0).default([]),publishedAt:X.number().optional(),createdAt:X.number().optional()}),Dd=X.object({version:RV,rulesCount:X.number()}),q2=X.object({id:X.string(),tenantId:X.string().optional(),title:X.string(),purpose:X.string().default(""),contentType:X.string().default("policy"),content:X.string(),status:X.string().default("published"),enabled:X.boolean().default(!0),scenarios:X.array(X.string()).default([]),tags:X.array(X.string()).default([]),category:X.string().nullable().optional(),categoryTags:X.array(X.string()).default([]),createdBy:X.string().nullable().optional(),createdByName:X.string().nullable().optional(),createdAt:X.number().optional(),updatedAt:X.number().optional(),updatedBy:X.string().nullable().optional(),updatedByName:X.string().nullable().optional(),isDeleted:X.boolean().default(!1)}),Od=X.object({articles:X.array(q2),total:X.number().optional()}),av0=X.object({explicitApprove:X.string().default(""),explicitReject:X.string().default(""),exemptApprove:X.string().default(""),review:X.string().default("")}).passthrough(),sv0=X.object({type:X.string(),signKey:X.string().optional(),outboundName:X.string().optional(),mode:X.string().optional(),autoApprovalRate:X.number().optional(),apiKey:X.string().optional(),apiSecret:X.string().optional(),apiOrigin:X.string().optional(),corporationId:X.string().optional(),ebotSignKey:X.string().optional(),completionSignKey:X.string().optional(),outboundMessageId:X.string().optional(),completionMessageId:X.string().optional()}).passthrough(),ev0=X.enum(["assisted","semi_automatic","fully_automatic"]),zd=X.object({id:X.string(),url:X.string().url()}).passthrough(),G2=X.object({type:X.literal("webhook"),id:X.string(),name:X.string(),mode:ev0,incomingDocumentWebhook:zd,outgoingResultWebhook:X.string().url(),incomingManualResultWebhook:zd,secret:X.string().min(1),autoApprovalRate:X.number().int().min(0).max(100).optional(),materialPackFilePolicy:HE.default(GE)}).passthrough(),VE=X.object({id:X.string().optional(),tenantId:X.string().optional(),tone:X.string().optional(),language:X.string().optional(),detailLevel:X.string().optional(),outputFormat:X.string().optional(),examples:X.array(X.string()).default([]),prohibitedPhrases:X.array(X.string()).default([]),customInstructions:X.string().optional(),updatedAt:X.number().optional(),decisionPreferences:av0.optional(),integrationSystem:X.string().optional(),integrations:X.array(sv0).default([])}).passthrough(),$C0=X.object({id:X.string().optional(),sn:X.string().optional(),title:X.string().optional(),name:X.string().optional(),fields:X.array(X.unknown()).optional()}).passthrough(),IC0=X.object({_langfuseTraceId:X.string().optional(),simulation_batch_id:X.string().optional()}).passthrough(),vV=X.object({id:X.string(),tenantId:X.string().optional(),agentId:X.string().optional(),status:X.string().optional(),taskMode:X.string().optional(),finalExecutionMode:X.string().optional(),sourceSystem:X.string().optional(),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),documentId:X.string().optional(),document:$C0.optional(),result:X.unknown().optional(),pipelineData:X.unknown().optional(),sourceExtendData:IC0.optional(),ruleSetVersionNumber:X.number().optional(),ruleSetPublishedAt:X.number().optional(),ruleSetPublishedByName:X.string().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),ZE=X.object({records:X.array(vV).default([]),total:X.number().optional(),page:X.number().optional(),pageSize:X.number().optional()}).passthrough(),Nd=X.object({id:X.string(),expiresAt:X.number().nullable().optional(),revokedAt:X.number().nullable().optional(),createdAt:X.number().nullable().optional(),lastUsedAt:X.number().nullable().optional(),useCount:X.number().default(0),note:X.string().nullable().optional(),link:X.string()}).passthrough(),Fd=X.object({id:X.string(),token:X.string(),link:X.string()}).passthrough(),Md=X.object({userId:X.string(),password:X.string()}).passthrough(),Ad=X.object({password:X.string()}).passthrough(),zE=X.object({_id:X.string(),tenantId:X.string().optional(),name:X.string(),mobile:X.string().optional(),email:X.string().optional(),departmentIds:X.array(X.string()).default([]),status:X.string().optional(),permissions:X.array(X.string()).default([]),createdAt:X.string().optional(),updatedAt:X.string().optional()}).passthrough(),Pd=X.object({departments:X.array(X.record(X.string(),X.unknown())).default([]),users:X.array(zE).default([])}).passthrough(),Td=X.object({provider:X.string(),config:X.record(X.string(),X.unknown()).default({})}).passthrough(),Ed=X.object({id:X.string(),name:X.string(),description:X.string().optional(),available:X.boolean().default(!0),fields:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),Bd=X.object({permissions:X.array(X.object({key:X.string(),name:X.string(),description:X.string().optional()}).passthrough()).default([])}).passthrough(),Rd=X.object({configs:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),vd=X.object({subscriptions:X.array(X.record(X.string(),X.unknown())).default([]),features:X.array(X.record(X.string(),X.unknown())).default([])}).passthrough(),Cd=X.object({key:X.string(),type:X.string(),label:X.string(),column:X.string(),mask:X.string().optional()}).passthrough(),UC0=X.object({columns:X.array(Cd).default([]),fieldKey:X.string().optional(),keyColumn:X.string().optional(),sheetName:X.string().optional(),fieldLabel:X.string().optional()}).passthrough(),jd=X.object({id:X.string().optional(),listSheets:X.array(UC0).default([]),mainColumns:X.array(Cd).default([]),workbookName:X.string().optional(),mainKeyColumn:X.string().optional(),mainSheetName:X.string().optional(),titleColumn:X.string().optional(),statusColumn:X.string().optional(),applicationDateColumn:X.string().optional(),updatedDateColumn:X.string().optional(),attachmentFieldKey:X.string().optional(),attachmentFieldLabel:X.string().optional()}).passthrough(),YC0=X.object({approvalCode:X.string(),nodeId:X.string().optional(),flowIds:X.array(X.string()).max(100).optional(),limit:X.number().int().positive().max(100).optional(),dataCollectionMode:X.string().optional(),signKey:X.string().optional(),rejectNodeName:X.string().nullable().optional(),skipInvoiceGeneration:X.boolean().optional(),skipExpenseExtraction:X.boolean().optional(),disableAttachmentCache:X.boolean().optional(),thinkingDepthOverride:X.enum(["default","medium","high"]).optional(),startTime:X.number().optional(),endTime:X.number().optional(),templateId:X.string().optional(),packageIds:X.array(X.string()).optional(),packageLabel:X.string().optional(),runMode:X.string().optional(),schemaConfig:jd.optional()}).passthrough(),JC0=X.object({mode:X.string().optional(),conditions:X.array(X.object({label:X.string(),value:X.string()}).passthrough()).default([])}).passthrough(),QC0=X.object({kind:X.string().optional(),stage:X.string().optional(),code:X.string().optional(),message:X.string().optional()}).passthrough(),XE=X.object({id:X.string(),tenantId:X.string().optional(),approvalCode:X.string().optional(),nodeId:X.string().optional(),sourceSystem:X.string().optional(),status:X.string().optional(),totalCount:X.number().default(0),processedCount:X.number().default(0),successCount:X.number().default(0),failedCount:X.number().default(0),createdCount:X.number().default(0),createFailedCount:X.number().default(0),params:YC0.optional(),requestSummary:JC0.nullable().optional(),resultSummary:QC0.nullable().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),wE=X.object({batchId:X.string()}).passthrough(),KC0=X.object({dataCollectionMode:X.string().optional(),flowIds:X.array(X.string()).max(100).optional(),rejectNodeName:X.string().nullable().optional(),skipInvoiceGeneration:X.boolean().optional(),skipExpenseExtraction:X.boolean().optional()}).passthrough(),_d=X.object({id:X.string(),tenantId:X.string().optional(),name:X.string().optional(),description:X.string().optional(),approvalSystem:X.string().optional(),hosecloudConfig:KC0.optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),Sd=X.object({hasFeishu:X.boolean().default(!1),hasHosecloud:X.boolean().default(!1),hasWeaver:X.boolean().default(!1),hasHelios:X.boolean().default(!1),hasMaycur:X.boolean().default(!1),hasMaycurStandard:X.boolean().default(!1)}).passthrough(),gd=X.object({signKey:X.string().optional(),displayName:X.string().optional(),corporationId:X.string().optional()}).passthrough(),yd=X.object({id:X.string(),tenantId:X.string().optional(),name:X.string().optional(),templateId:X.string().optional(),originalFileName:X.string().optional(),status:X.string().optional(),documentCount:X.number().optional(),attachmentCount:X.number().optional(),uploadedBy:X.string().optional(),schemaConfig:jd.nullable().optional(),createdAt:X.union([X.string(),X.number()]).optional(),updatedAt:X.union([X.string(),X.number()]).optional()}).passthrough(),qC0=X.object({hitScopes:X.array(X.string()).default([]),hitRuleIds:X.array(X.string()).default([]),notHitScopes:X.array(X.string()).default([]),notHitRuleIds:X.array(X.string()).default([])}).passthrough(),LE=X.object({id:X.string().min(1),name:X.string().min(1),enabled:X.boolean().default(!0),description:X.string().default(""),condition:qC0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:X.enum(["medium","high"])}).passthrough(),TN1=X.object({defaultLevel:X.enum(["medium","high"]).default("medium"),routingPolicies:X.array(LE).default([])}).passthrough(),EN1=X.object({signKey:X.string().min(1).optional(),outboundName:X.string().optional(),specificationId:X.string().optional(),specificationName:X.string().optional(),mode:X.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:X.number().min(0).max(100).optional(),rejectResubmitMethod:X.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:X.array(X.string()).optional(),apiKey:X.string().min(1),apiSecret:X.string().min(1),apiOrigin:X.string().default("production"),customApiUrl:X.string().optional()}).passthrough(),hd=X.object({id:X.string().optional(),code:X.string().optional(),name:X.string().optional(),approvalSystem:X.string().optional()}).passthrough(),BN1=X.object({total:X.number(),dedupeBy:X.string(),unique:X.number(),byStatus:X.record(X.string(),X.number()),bySourceSystem:X.record(X.string(),X.number())}).passthrough();var _V=X.object({success:X.boolean().optional()}).passthrough(),GC0=X.object({items:X.array(X.object({_id:X.string()})).optional()}).passthrough(),HC0=X.object({user:X.unknown().optional(),session:X.object({token:X.string().optional()}).optional()}).passthrough(),kd=X.json();async function O1($,I){let U=await $.json();return I.parse(U.data??U)}async function N$($){return O1(await $.get("api/v1/auth/me"),Xd)}async function ud($){return O1(await $.get("api/auth/get-session"),wd)}async function F$($){return O1(await $.get("api/v1/rules"),Ld)}async function DE($,I){return O1(await $.post("api/v1/rules",{json:I}),BV)}async function fd($,I,U){return O1(await $.put(`api/v1/rules/${I}`,{json:U}),BV)}async function SV($,I){await $.delete(`api/v1/rules/${I}`)}async function OE($){let I=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),U=await I.json().catch(()=>({}));return X.object({ok:X.boolean(),status:X.number(),body:X.unknown()}).parse({ok:I.ok,status:I.status,body:U})}async function Y5($){return O1(await $.get("api/v1/rule-set-versions"),X.array(RV))}async function W2($,I){return O1(await $.get(`api/v1/rule-set-versions/${I}`),RV)}async function NE($,I){return O1(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:I}}),Dd)}async function V2($,I={}){let U=new URLSearchParams;return U.set("offset",String(I.offset??0)),U.set("limit",String(I.limit??20)),U.set("sortBy",I.sortBy??"createdAt"),U.set("sortOrder",I.sortOrder??"desc"),I.scenarios?.forEach((Y,J)=>{U.set(`filter[scenarios][${J}]`,Y)}),O1(await $.get("api/v1/knowledge/articles",{searchParams:U}),Od)}async function bd($,I){return O1(await $.get(`api/v1/knowledge/articles/${I}`),q2)}async function id($,I){return O1(await $.post("api/v1/knowledge/articles",{json:{...I,contentType:I.contentType??"policy",status:I.status??"published",scenarios:I.scenarios??[],tags:I.tags??[]}}),q2)}async function nd($,I,U){let Y=Object.fromEntries(Object.entries(U).filter(([,J])=>J!==void 0));return O1(await $.patch(`api/v1/knowledge/articles/${I}`,{json:{attributes:Y}}),q2)}async function q4($,I="api/v1/agent/ai-approval/config"){return O1(await $.get(I),VE)}async function y7($,I,U="api/v1/agent/ai-approval/config"){return O1(await $.patch(U,{json:I}),VE)}async function FE($,I,U="api/v1/agent/ai-approval/config"){let Y=await $.post(U,{json:I}),J=await Y.json().catch(()=>({})),Q=_V.safeParse(J.data??J);return Q.success?Q.data.success??Y.ok:Y.ok}async function Z9($,I="api/v1/agent/ai-approval/config"){let U=await q4($,I);return ld(U.integrations)}async function pd($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await q4($,Y),Q=ld(J.integrations),K=WC0(I,Q,U);if(!await FE($,{...J,integrations:[...J.integrations,K]},Y))throw Error("Seal did not confirm saving the Webhook integration");return K}async function cd($,I,U,Y="api/v1/agent/ai-approval/config"){let J=await q4($,Y),Q=od(J.integrations),K=rd(Q,I),q=G2.parse({...K.integration,...U.name===void 0?{}:{name:H2(U.name,"name")},...U.mode===void 0?{}:{mode:U.mode},...U.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:ad(U.outgoingResultWebhook,"outgoingResultWebhook")},...U.autoApprovalRate===void 0?{}:{autoApprovalRate:sd(U.autoApprovalRate)},...U.rotateSecret||U.secret!==void 0?{secret:U.rotateSecret?td():H2(U.secret??"","secret")}:{},...U.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:Zd(K.integration.materialPackFilePolicy,U.materialPackFilePolicy)}});if(!await FE($,{...J,integrations:J.integrations.map((H,W)=>W===K.index?q:H)},Y))throw Error("Seal did not confirm saving the Webhook integration");return q}async function dd($,I,U="api/v1/agent/ai-approval/config"){let Y=await q4($,U),J=od(Y.integrations),Q=rd(J,I);if(!await FE($,{...Y,integrations:Y.integrations.filter((q,G)=>G!==Q.index)},U))throw Error("Seal did not confirm deleting the Webhook integration");return Q.integration}function z9($,I){let U=I.trim();if(!U)throw Error("Webhook selector must not be empty");let Y=$.find((Q)=>Q.id===U);if(Y)return Y;let J=$.filter((Q)=>Q.name===U);if(J.length===1)return J[0];if(J.length>1)throw Error(`Multiple Webhook integrations match name: ${U}. Use the integration ID.`);throw Error(`Webhook integration not found: ${U}`)}function md($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>[Y.id,Y.name,Y.mode,Y.outgoingResultWebhook,Y.incomingDocumentWebhook.url,Y.incomingManualResultWebhook.url].some((J)=>J.toLowerCase().includes(U)))}function ld($){return $.filter((I)=>I.type==="webhook").map((I)=>G2.parse(I))}function od($){return $.flatMap((I,U)=>{if(I.type!=="webhook")return[];return[{index:U,integration:G2.parse(I)}]})}function rd($,I){let U=z9($.map((Y)=>Y.integration),I);return $.find((Y)=>Y.integration.id===U.id)}function WC0($,I,U){let Y=H2(U.name,"name"),J=U.mode??"assisted",Q=ad(U.outgoingResultWebhook,"outgoingResultWebhook"),K=sd(U.autoApprovalRate??60),q=VC0(I),G=`wh_${q}_${xd(8).toString("hex").slice(0,7)}`,H=m$($);return G2.parse({type:"webhook",id:`integration-${q}`,name:Y,mode:J,incomingDocumentWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/document`},outgoingResultWebhook:Q,incomingManualResultWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/manual-result`},secret:U.secret?H2(U.secret,"secret"):td(),autoApprovalRate:K,materialPackFilePolicy:XU(U.materialPackFilePolicy)})}function VC0($){let I=new Set($.map((Y)=>Y.id)),U=Date.now();while(I.has(`integration-${U}`))U+=1;return U}function td(){return xd(16).toString("hex")}function H2($,I){let U=$.trim();if(!U)throw Error(`Webhook ${I} must not be empty`);return U}function ad($,I){let U=H2($,I);try{return new URL(U).toString()}catch{throw Error(`Webhook ${I} must be a valid URL`)}}function sd($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function gV($,I={}){let[U,Y,J]=await Promise.all([F$($),V2($,{limit:I.documentLimit??50}),q4($,I.stylePreferencesEndpoint).then((Q)=>({ok:!0,data:Q}),(Q)=>({ok:!1,error:Q instanceof Error?Q.message:String(Q)}))]);return{rules:U,documents:Y,stylePreferences:J}}async function X8($,I={}){let U=new URLSearchParams;return U.set("offset",String(I.offset??0)),U.set("limit",String(I.limit??50)),z8(U,"fromTimestamp",I.fromTimestamp),z8(U,"toTimestamp",I.toTimestamp),z8(U,"startDate",I.startDate),z8(U,"endDate",I.endDate),z8(U,"status",I.status),z8(U,"sourceSystem",I.sourceSystem),z8(U,"taskMode",I.taskMode),z8(U,"search",I.search),z8(U,"sourceDocumentSN",I.sourceDocumentSN),z8(U,"sourceDocumentId",I.sourceDocumentId),ZC0(U,"manualApprovalStatus",I.manualApprovalStatus),O1(await $.get("api/v1/approvals",{searchParams:U}),ZE)}async function f4($,I){return O1(await $.get(`api/v1/approvals/${I}`),vV)}async function ME($,I){let U=await $.get(`api/v1/simulation/batch/${I}/records`).json(),Y=U.data??U;if(Array.isArray(Y))return X.array(vV).parse(Y);return ZE.parse(Y).records}async function ed($,I){return O1(await $.post("api/v1/simulation/create-batch",{json:I}),wE)}async function $m($,I){return O1(await $.post("api/v1/simulation/create-material-pack-batch",{json:I}),wE)}async function Im($,I={}){let U=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(I.limit??50)}}).json(),Y=U.data??U;return X.array(XE).parse(Y)}async function AE($,I){return O1(await $.get(`api/v1/simulation/batch/${I}`),XE)}async function Um($){let I=await $.get("api/v1/simulation/templates").json(),U=I.data??I;return X.array(_d).parse(U)}async function PE($){return O1(await $.get("api/v1/simulation/integration-status"),Sd)}async function TE($){let I=await $.get("api/v1/simulation/hosecloud-integrations").json(),U=I.data??I;return X.array(gd).parse(U)}async function Ym($,I){let Y=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(I)}/data`)).json().catch(()=>({}));return Y.data??Y}async function Jm($,I){let U=I?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",Y=I?new URLSearchParams({signKey:I}):void 0,J=await $.get(U,{searchParams:Y}).json(),Q=J.data??J;return X.array(hd).parse(Q)}async function Qm($,I){let U=await $.post("api/hosecloud/corporation",{json:I}).json(),Y=U.data??U;return X.object({corporationId:X.string()}).parse(Y)}async function Km($,I){let Y=await(await $.post("api/hosecloud/outbound-config/sync",{json:I})).json().catch(()=>({}));return Y.data??Y}async function qm($,I){let U=new FormData;return U.append("file",new Blob([new Uint8Array(I.fileBuffer)]),I.fileName),O1(await $.post("api/v1/material-packages/upload",{body:U}),yd)}function z8($,I,U){if(U)$.set(I,U)}function ZC0($,I,U){if(!U)return;(Array.isArray(U)?U:[U]).map((J)=>J.trim()).filter(Boolean).forEach((J,Q)=>{$.set(`${I}[${Q}]`,J)})}async function Gm($){return O1(await $.get("api/v1/delegation/list"),X.array(Nd))}async function wU($,I){return O1(await $.post("api/v1/delegation/create",{json:I??{}}),Fd)}async function Hm($,I){let U=await $.post("api/v1/delegation/revoke",{json:{tokenId:I}}),Y=await U.json(),J=_V.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function Wm($,I){let U=I.departmentIds&&I.departmentIds.length>0?I.departmentIds:void 0;if(!U){let Y=await $.get("api/v1/contacts/departments/root/children").json(),J=GC0.safeParse(Y.data??Y),Q=J.success?J.data.items?.[0]?._id:void 0;if(Q)U=[Q]}return O1(await $.post("api/v1/contacts/local/users",{json:{name:I.name,phone:I.phone,permissions:I.permissions??[],departmentIds:U??[]}}),Md)}async function EE($,I){return O1(await $.post(`api/v1/contacts/local/users/${I}/reset-password`,{json:{}}),Ad)}async function CV($,I){return O1(await $.get(`api/v1/contacts/users/${I}`),zE)}async function jV($,I=""){return O1(await $.get("api/v1/contacts/search",{searchParams:{query:I}}),Pd)}async function Vm($,I){let U=await $.delete(`api/v1/contacts/local/users/${I}`),Y=await U.json(),J=_V.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function BE($,I){let U=await $.post(`api/v1/contacts/local/users/${I}/activate`,{json:{}}),Y=await U.json(),J=_V.safeParse(Y.data??Y);return J.success?J.data.success??U.ok:U.ok}async function zC0($,I){let U=await $.post("api/auth/sms-otp/sign-in-password",{json:I}),Y=U.headers.get("set-auth-token"),J=HC0.parse(await U.json()),Q=Y??J.session?.token;if(!Q)throw Error("Failed to retrieve authentication token from login response");return{token:Q,user:J.user}}async function Zm($,I,U,Y){let J;if(I.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(I.userIdOrPhone)){let Z=await jV($,I.userIdOrPhone),w=Z.users.find((L)=>L.mobile?.includes(I.userIdOrPhone)||L._id===I.userIdOrPhone)??Z.users[0];if(!w)throw Error(`User not found with phone/ID: ${I.userIdOrPhone}`);J=w}else J=await CV($,I.userIdOrPhone).catch(async()=>{let Z=await jV($,I.userIdOrPhone),w=Z.users.find((L)=>L.name===I.userIdOrPhone)??Z.users[0];if(!w)throw Error(`User not found: ${I.userIdOrPhone}`);return w});if(J.status==="resigned")await BE($,J._id),J=await CV($,J._id);let Q=J,K=Array.isArray(Q.identities)&&Q.identities.some((Z)=>Z.provider&&Z.provider!=="local")||!!Q.apps?.hosecloud;if(K&&Y&&Y.source.type==="hose"){let w=(J.mobile||Q.identities?.[0]?.providerId||"").replace(/^\+86/,""),L=Q.identities?.find((N)=>N.provider==="hosecloud")?.providerId,D=Q.apps?.hosecloud?.boundId||L||(w?`${Y.source.corpId}:${w}`:void 0);if(D){let N=await MV(Y),T=(await AV({...Y.source,staffId:D},N)).token,A=Q2(Y,Y.source),v;try{v=await U5.get(`${m$(A)}/api/auth/oauth2/session/oem-hosecloud`,{searchParams:{token:T,returnToken:"1"},timeout:30000}).json()}catch(g){if(g instanceof i6&&g.response.status===400)throw Error(`Seal AI 用户“${J.name}”未绑定合思账号,无法生成个人协助链接。`);throw g}let u=v.token??v.accessToken??v.data?.token;if(u){let g=await U(u),b=await wU(g,{note:I.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:b,temporaryPassword:"N/A (Hose SSO)"}}}}let q;try{q=await EE($,J._id)}catch(Z){if(K)throw Error(`用户 "${J.name}" (${J.mobile||J._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw Z}let H=(J.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!H)throw Error(`User ${J.name} has no associated phone number for password login`);let{token:W}=await zC0($,{phone:H,password:q.password}),V=await U(W),z=await wU(V,{note:I.note??`Delegation generated by admin for ${J.name}`});return{targetUser:J,delegation:z,temporaryPassword:q.password}}async function zm($){return O1(await $.get("api/v1/llm/config"),Td)}async function Xm($){return O1(await $.get("api/v1/llm/providers"),X.array(Ed))}async function wm($){return O1(await $.get("api/v1/permissions/available"),Bd)}async function Lm($){return O1(await $.get("api/v1/permissions/configs"),Rd)}async function Dm($){return O1(await $.get("api/v1/billing/status"),vd)}async function Om($){let U=await(await $.get("api/v1/billing/plans")).json();return kd.parse(U.data??U)}async function Nm($){let U=await(await $.get("api/v1/billing/features")).json();return kd.parse(U.data??U)}var dW0=VI(ky(),1);import{existsSync as nW0,mkdirSync as pW0,statSync as TQ1}from"node:fs";import{homedir as EQ1}from"node:os";import{dirname as BQ1,resolve as PL}from"node:path";function cW0($,I=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let U=String($).trim();if(!U)return;if(/^\d{10,13}$/.test(U))return U.length===10?`${U}000`:U;if(/^\d{4}-\d{2}-\d{2}$/.test(U)){let Q=new Date(`${U}${I?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(Q))return String(Q)}let Y=new Date(U).getTime();if(!Number.isNaN(Y))return String(Y);return U}function RQ1($){if(!$)return;let I=Array.isArray($)?$:[$],U=[];for(let Y of I){let J=Y.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(J))U.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(J))U.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(J))U.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(J))U.push("CANCELLED");else if(J)U.push(J)}return U.length>0?U:void 0}function vQ1($,I,U){if(!I)return U?`${$} (${U})`:$;return(I.split(/[。\n\r;;!!]/)[0]?.trim()||I.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function CQ1($){if($.outputFile){let K=PL($.outputFile),q=BQ1(K);if(!nW0(q))pW0(q,{recursive:!0});return K}let I=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",U=$.dateTag||new Date().toISOString().slice(0,10),Y=$.recordCount>0?`${$.recordCount}条`:"空数据",J=`${I}_审核记录_${U}_${Y}.xlsx`,Q;if($.toDownloads)Q=PL(EQ1(),"Downloads");else Q=PL(process.cwd(),"exports");if(!nW0(Q))pW0(Q,{recursive:!0});return PL(Q,J)}async function TL($,I,U={}){let Y=I.name||I.id,J=U.pageSize??100,Q=U.pageDelayMs??250,K=U.limit??1e5,q=cW0(U.startDate,!1),G=cW0(U.endDate,!0),H=RQ1(U.manualApprovalStatus);console.error(`正在加载企业「${Y}」审核规则集...`);let W=new Map;try{(await F$($)).rules.forEach((p,n)=>{let S=`rule-${p.code??n}`,f=vQ1(S,p.description,p.scope);W.set(S,{id:S,code:String(p.code??n),title:`[${S}] ${f}`,desc:p.description})})}catch(C){console.error(`⚠️ 加载规则字典失败: ${C.message},将仅导出基础信息列。`)}let V=Array.from(W.keys()).sort((C,p)=>{let n=parseInt(C.replace(/\D/g,""),10)||0,S=parseInt(p.replace(/\D/g,""),10)||0;return n-S});console.error(`已就绪 ${V.length} 个规则列。开始拉取单据...`);let z=[],Z=0,w=0;while(z.length<K){let C,p=3;while(p>0)try{C=await X8($,{limit:J,offset:Z,startDate:q,endDate:G,status:U.status,manualApprovalStatus:H});break}catch(S){if(p--,console.error(`分页拉取失败 (offset=${Z}): ${S.message},剩余重试 ${p} 次...`),p===0)throw S;await new Promise((f)=>setTimeout(f,1000))}if(!C||!C.records||C.records.length===0)break;w=C.total??w;for(let S of C.records){if(U.includeCompletedOnly&&S.status!=="completed")continue;if(S.status==="completed"&&(!S.result||!S.result.rulesResult))try{let f=await f4($,S.id);z.push(f)}catch{z.push(S)}else z.push(S);if(z.length>=K)break}Z+=C.records.length;let n=w>0?(Z/w*100).toFixed(1):"-";if(Z%500===0||Z>=w||z.length>=K)console.error(`[进度] 已读取单据: ${Z}/${w} (${n}%),有效加入: ${z.length} 条`);if(C.records.length<J||Z>=w)break;if(Q>0)await new Promise((S)=>setTimeout(S,Q))}console.error(`成功拉取 ${z.length} 条单据数据,正在生成高保真 Excel...`);let L=new dW0.default.Workbook;L.creator="Seal AI (seal-use)",L.created=new Date;let D=L.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),N=[{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},{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}],E=V.map((C)=>{return{header:W.get(C).title,key:`rule_${C}`,width:22}});D.columns=[...N,...E];let T=D.getRow(1);T.height=32,T.eachCell((C,p)=>{let n=p<=N.length;C.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:n?"FF1E3A8A":"FF334155"}},C.alignment={vertical:"middle",horizontal:n&&p<=2?"left":"center",wrapText:!1}});let A={},v=0;for(let C of z){let p=C.result||{},n=C.document||{},S="未知模板";if(Array.isArray(n.fields)){let O0=n.fields.find((g0)=>g0.label==="单据模板"||g0.label==="流程名称"||g0.key==="templateName"||g0.key==="specificationId"||g0.key==="formName");if(O0?.value)S=String(O0.value)}if(S==="未知模板"&&(n.name||n.title))S=n.name||n.title;let f=C.taskMode||"-";if(f==="assisted")f="辅助审核";else if(f==="simulation")f="测试任务";else if(f==="automatic")f="自动审批";let i=C.status||"-";if(i==="completed")i="已完成";else if(i==="processing")i="处理中";else if(i==="failed")i="失败";let Y0=p.decision||C.aiDecision||"-",B=Y0,k="-";if(Y0==="APPROVE")B="通过",k="添加评论";else if(Y0==="REVIEW")B="转交复核",k="转交复核";else if(Y0==="REJECT")B="驳回",k="驳回";let d="-";if(C.createdAt&&C.updatedAt&&C.status==="completed"){let O0=Math.round((Number(C.updatedAt)-Number(C.createdAt))/1000);if(O0>=60)d=`${Math.floor(O0/60)}分${O0%60}秒`;else if(O0>0)d=`${O0}秒`}let t=C.manualApprovalRecord||{},K0="-";if(t.status?.label)K0=String(t.status.label);else if(t.status?.type){let O0=String(t.status.type);if(O0==="APPROVED")K0="已通过";else if(O0==="TERMINATED")K0="被驳回";else if(O0==="PROCESSING")K0="处理中";else if(O0==="CANCELLED")K0="已撤回";else K0=O0}A[K0]=(A[K0]||0)+1;let W0=t.rejectComment?String(t.rejectComment).trim():"-";if(W0!=="-")v++;let M0=new Map,B0=[];if(Array.isArray(p.rulesResult)){for(let O0 of p.rulesResult)if(O0.id)M0.set(O0.id,O0.checkResult||"PASS"),B0.push(O0.id)}if(Array.isArray(p.hitRules)){for(let O0 of p.hitRules)if(O0.id&&!M0.has(O0.id))M0.set(O0.id,"TRIGGERED"),B0.push(O0.id)}let w1="-";if(C.createdAt)w1=new Date(Number(C.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let f0={sn:C.sourceDocumentSN||C.sourceDocumentId||"-",templateName:S,sourceSystem:C.sourceSystem||"合思",taskMode:f,status:i,aiAction:k,aiDecision:B,thinkingDepth:"标准",manualStatus:K0,humanRejectReason:W0,createdAt:w1,duration:d,hitRuleCount:B0.length,hitRulesSummary:B0.join(", ")||"-",aiSummary:p.summary||"-"};for(let O0 of V){let g0=M0.get(O0);if(g0)if(g0==="PASS")f0[`rule_${O0}`]="关联 (通过)";else if(g0==="FAIL")f0[`rule_${O0}`]="关联 (不通过)";else if(g0==="UNKNOWN")f0[`rule_${O0}`]="关联 (待复核)";else f0[`rule_${O0}`]="已关联";else f0[`rule_${O0}`]="未关联"}let G1=D.addRow(f0);G1.height=24,G1.eachCell((O0,g0)=>{let d0=String(O0.value||"");if(O0.font={name:"Microsoft YaHei",size:10},O0.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"}}},g0<=N.length){if(O0.alignment={vertical:"middle",horizontal:[1,2,10,14,15].includes(g0)?"left":"center",wrapText:[10,14,15].includes(g0)},g0===7){if(d0==="通过")O0.font={color:{argb:"FF16A34A"},bold:!0};else if(d0==="转交复核")O0.font={color:{argb:"FFD97706"},bold:!0};else if(d0==="驳回")O0.font={color:{argb:"FFDC2626"},bold:!0}}if(g0===9){if(d0.includes("驳回"))O0.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(d0.includes("通过")||d0.includes("支付")||d0.includes("完成"))O0.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(d0.includes("处理中")||d0.includes("审批中"))O0.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}}}if(g0===10&&d0!=="-")O0.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}}}else if(O0.alignment={vertical:"middle",horizontal:"center"},d0.includes("不通过"))O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},O0.font={color:{argb:"FF991B1B"},bold:!0};else if(d0.includes("通过"))O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},O0.font={color:{argb:"FF166534"},bold:!0};else if(d0.includes("待复核")||d0.includes("已关联"))O0.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},O0.font={color:{argb:"FF92400E"}};else O0.font={color:{argb:"FF94A3B8"}}})}let u;if(U.startDate){let C=String(U.startDate);if(/^\d{4}-\d{2}-\d{2}/.test(C))u=`${C.slice(0,10)}至今`;else if(/^\d+$/.test(C)){let p=new Date(Number(C));u=`${p.getFullYear()}${String(p.getMonth()+1).padStart(2,"0")}${String(p.getDate()).padStart(2,"0")}至今`}}let g=CQ1({outputFile:U.outputFile,toDownloads:U.toDownloads,corpName:Y,dateTag:u,recordCount:z.length});await L.xlsx.writeFile(g),console.error(`Excel 文件已成功落地: ${g}`);let b=TQ1(g);return{filePath:g,corpId:I.id,corpName:Y,recordCount:z.length,ruleColumnCount:V.length,statusCounts:A,rejectReasonCount:v,fileSizeBytes:b.size,exportedAt:new Date().toISOString()}}import mW0 from"node:fs";import lW0 from"node:path";function jQ1($){try{let I=new URL($);if(I.search)return`${I.origin}${I.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function _Q1($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function oW0($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}function SQ1($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function v1($){return typeof $==="string"&&$.trim()?$.trim():void 0}function uy($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function gQ1($){if(!$)return;if(typeof $==="string")try{let I=JSON.parse($);if(I&&typeof I==="object")return I}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function yQ1($,I,U){if(U?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let Y=$.fileName??$.filename??$.name??$.originalName,J=$.fileId??$.id??$.attachmentId,Q=$.ossPath??$.ossKey,K=$.url??$.downloadUrl??$.previewUrl,q=$.mimeType??$.mimetype??$.contentType,G=$.ossFileSize??$.fileSize??$.size;if(Y&&(K||Q||J||G))return!0;if(J&&(q||G||Q||K))return!0;let H=Object.keys($).map((z)=>z.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(I)||Boolean(U?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldKey))||Boolean(U?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((z)=>H.includes(z))}function hQ1($,I,U){let Y=`${$} ${U?.fieldLabel??""} ${U?.fieldKey??""} ${v1(I.type)??""} ${v1(I.category)??""}`.toLowerCase();if(Y.includes("invoice")||Y.includes("发票"))return"invoice";if(Y.includes("receipt"))return"receipt";let J=(v1(I.fileName)??v1(I.name)??"").toLowerCase();if(J.includes("发票")||J.includes("invoice"))return"invoice";return"attachment"}function fy($,I,U,Y,J){if(Array.isArray($)){$.forEach((H,W)=>fy(H,`${I}.${W}`,U,Y,J));return}let Q=SQ1($);if(!Q)return;let K=Q.type&&typeof Q.type==="string"||"label"in Q&&"value"in Q||"key"in Q&&"value"in Q,q=J;if(K)q={fieldLabel:v1(Q.label)??J?.fieldLabel,fieldKey:v1(Q.key)??J?.fieldKey,fieldType:v1(Q.type)??J?.fieldType};if(!(Array.isArray(Q.value)&&!Q.url&&!Q.ossSignedUrl&&!Q.fileId)&&yQ1(Q,I,J)){let H=gQ1(Q.token),W=v1(H?.key),V=v1(H?.fileId),z=oW0({path:I,fieldPath:I,kind:hQ1(I,Q,J),fileName:v1(Q.fileName)??v1(Q.filename)??v1(Q.name)??v1(Q.originalName),mimeType:v1(Q.mimeType)??v1(Q.mimetype)??v1(Q.contentType),fileId:v1(Q.fileId)??v1(Q.id)??v1(Q.attachmentId)??V,ossPath:v1(Q.ossPath)??v1(Q.ossKey)??W,url:v1(Q.url)??v1(Q.signedUrl)??v1(Q.downloadUrl)??v1(Q.previewUrl),ossSignedUrl:v1(Q.ossSignedUrl)??v1(Q.signedUrl),token:Q.token,tokenKey:W,category:v1(Q.category),ossFileSize:uy(Q.ossFileSize)??uy(Q.fileSize)??uy(Q.size),invoiceId:v1(Q.invoiceId),sourceField:v1(Q.fieldName)??v1(Q.label)??J?.fieldLabel??J?.fieldKey}),Z=JSON.stringify(z);if(!Y.has(Z))Y.add(Z),U.push(z)}for(let[H,W]of Object.entries(Q))fy(W,`${I}.${H}`,U,Y,q)}function WJ($,I={}){let U=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],Y=[],J=new Set;for(let[Q,K]of U)fy(K,Q,Y,J);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:Y.length,attachments:I.summary?Y.map((Q)=>oW0({path:Q.path,kind:Q.kind,fileName:Q.fileName,mimeType:Q.mimeType,fileId:Q.fileId,sourceField:Q.sourceField,ossFileSize:Q.ossFileSize,hasSignedUrl:Boolean(Q.ossSignedUrl)})):Y}}async function EL($){let{record:I,fetchFn:U=globalThis.fetch}=$,J=WJ(I,{summary:!1}).attachments,Q=lW0.resolve($.outDir??"./attachments");if(J.length===0)return{recordId:I.id,outDir:Q,total:0,downloaded:0,failed:0,files:[]};let K=[];if($.name){let V=$.name.toLowerCase();if(K=J.filter((z)=>{let Z=z.fileName?.toLowerCase()??"",w=z.fileId?.toLowerCase()??"",L=z.tokenKey?.toLowerCase()??"";return Z.includes(V)||w===V||L.includes(V)}),K.length===0){let z=J.map((Z)=>Z.fileName??Z.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${z||"无"}`)}}else if(!$.all){if(J.length>1){let V=J.map((z)=>z.fileName??z.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${J.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${V}`)}K=J}else K=J;await mW0.promises.mkdir(Q,{recursive:!0});let q=[],G=new Set;for(let V of K){let z=V.fileName??V.fileId??"attachment",Z=_Q1(z),w=Z,L=Z.lastIndexOf("."),D=L>0?Z.slice(0,L):Z,N=L>0?Z.slice(L):"",E=1;while(G.has(w.toLowerCase()))w=`${D}_${E}${N}`,E++;G.add(w.toLowerCase());let T=V.ossSignedUrl??V.url;if(!T){console.error(`⚠️ [跳过] 附件 "${z}": 记录中无下载直链 (ossSignedUrl/url)`),q.push({name:w,fileId:V.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:V.sourceField,tokenKey:V.tokenKey});continue}let A=jQ1(T);try{let v=await U(T,{signal:AbortSignal.timeout(60000)});if(!v.ok){let C=v.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${v.status} ${v.statusText}`;throw Error(C)}let u=await v.arrayBuffer(),g=Buffer.from(u);if(V.ossFileSize!==void 0&&g.length!==V.ossFileSize)console.error(`⚠️ [校验] 附件 "${w}" 实际大小 (${g.length} 字节) 与 ossFileSize (${V.ossFileSize} 字节) 不一致`);let b=lW0.join(Q,w);await mW0.promises.writeFile(b,g),console.error(`✓ 已下载: ${w} (${g.length} 字节)`),q.push({name:w,fileId:V.fileId,path:b,size:g.length,expectedSize:V.ossFileSize,status:"success",sourceField:V.sourceField,tokenKey:V.tokenKey})}catch(v){let u=v.message??String(v);console.error(`⚠️ [失败] 附件 "${z}" 下载失败: ${u} [${A}]`),q.push({name:w,fileId:V.fileId,status:"failed",error:u,sourceField:V.sourceField,tokenKey:V.tokenKey})}}let H=q.filter((V)=>V.status==="success").length,W=q.filter((V)=>V.status==="failed").length;return{recordId:I.id,outDir:Q,total:K.length,downloaded:H,failed:W,files:q}}import{existsSync as o3,mkdirSync as pQ1,readFileSync as aW0,readdirSync as cQ1,writeFileSync as dQ1}from"node:fs";import{homedir as vL}from"node:os";import{dirname as mQ1,join as oq}from"node:path";var xQ1=X.object({type:X.literal("hose"),domain:X.string().url().default("https://app.ekuaibao.com"),appKey:X.string().optional(),appSecurity:X.string().optional(),key:X.string().optional(),password:X.string().optional(),staffId:X.string(),corpId:X.string(),sealUrl:X.string().url().optional()}).superRefine(($,I)=>{if(!$.appKey&&!$.key)I.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)I.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),kQ1=X.object({type:X.literal("direct"),token:X.string(),sealUrl:X.string().url(),expiresIn:X.number().int().positive().default(3600),staffId:X.string().default("direct"),corpId:X.string().optional()}),uQ1=X.object({type:X.literal("seal"),token:X.string(),sealUrl:X.string().url(),expiresIn:X.number().int().positive().default(3600),staffId:X.string().default("seal"),corpId:X.string().optional(),tenantId:X.string().optional(),tenantSlug:X.string().optional(),tenantName:X.string().optional(),providerUserId:X.string().optional(),provider:X.string().optional(),providerName:X.string().optional()}),fQ1=X.discriminatedUnion("type",[xQ1,kQ1,uQ1]),bQ1=X.object({url:X.string().url().optional(),tenantSlug:X.string().optional(),endpoints:X.object({approvalStylePreferences:X.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"}}),iQ1=X.object({refreshTtl:X.number().int().positive().default(300)}).default({refreshTtl:300}),rW0=X.object({id:X.string(),name:X.string(),seal:bQ1,source:fQ1,auth:iQ1}),nQ1=X.object({enabled:X.boolean().default(!1),activeLinter:X.string().default("builtin"),minScore:X.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),BL=X.object({stateful:X.boolean().default(!1),defaultCorpId:X.string().min(1).optional(),testEnterprisesDir:X.string().min(1).optional(),lint:nQ1});var by="SEAL_USE_ENTERPRISES_DIR",sW0="SEAL_HOME_ENTERPRISES_DIR",eW0="SEAL_USE_USER_ENTERPRISES_DIR",$V0="SEAL_HOME_USER_ENTERPRISES_DIR",IV0="SEAL_USE_CONFIG_FILE",UV0="SEAL_HOME_CONFIG_FILE",iy=oq(vL(),".config","seal-use","enterprises"),YV0=oq(vL(),".config","seal-home","enterprises"),RL=oq(vL(),".config","seal-use","config.json"),tW0=oq(vL(),".config","seal-home","config.json");function b8(){let $=lQ1(),I=new Map;for(let U of $)for(let Y of cQ1(U).filter((J)=>J.endsWith(".json")).filter((J)=>!J.startsWith("example."))){let J=aW0(oq(U,Y),"utf-8"),Q=rW0.parse(JSON.parse(J));I.set(Q.id,Q)}return Array.from(I.values())}function lQ1(){let $=(process.env[by]??process.env[sW0])?.trim();if($)return o3($)?[$]:[];let I=(process.env[eW0]??process.env[$V0])?.trim(),U=I?o3(I)?[I]:[]:[iy,YV0],J=L4().testEnterprisesDir?.trim(),Q=J?[J,...U]:U,K=[];for(let q of Q)if(o3(q)&&!K.includes(q))K.push(q);return K}function ny(){let $=(process.env[by]??process.env[sW0])?.trim();if($)return $;let I=(process.env[eW0]??process.env[$V0])?.trim();if(I)return I;let U=L4().testEnterprisesDir?.trim();if(U&&o3(U))return U;return iy}function r3(){let $=L4().testEnterprisesDir?.trim();return[`${by}=<path>`,...$?[`testEnterprisesDir: ${$}`]:[],iy,YV0]}function t3(){let $=(process.env[IV0]??process.env[UV0])?.trim();if($)return $;if(o3(RL))return RL;if(o3(tW0))return tW0;return RL}function L4(){let $=t3();if(!o3($))return BL.parse({});return BL.parse(JSON.parse(aW0($,"utf-8")))}function a3($){let I=BL.parse($),Y=(process.env[IV0]??process.env[UV0])?.trim()||RL;return pQ1(mQ1(Y),{recursive:!0,mode:448}),dQ1(Y,`${JSON.stringify(I,null,2)}
`,{mode:384}),I}function VJ($,I,U=[]){let Y=I.corpId?.trim()||void 0,J=I.stateful?I.defaultCorpId?.trim()||void 0:void 0,Q=Y??J;if(Q){let q=$.find((G)=>G.id===Q);if(q)return q;throw Error(`No enterprise config found for ${Q}`)}if(!I.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 K=$[0];if(K)return K;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(U.length?U.join(", "):"the configured enterprise directories"))}import{readFileSync as Zq1}from"node:fs";import{randomBytes as zq1}from"node:crypto";var KV0=300000,JV0=new Map;function oQ1($,I){return $.map((U)=>U.trim()).filter(Boolean).map((U)=>I?U:U.toLowerCase())}function rQ1($,I){return I?$:$.toLowerCase()}function tQ1($,I,U,Y){let J=rQ1($,Y),Q=I.filter((K)=>J.includes(K));if(U==="all"&&Q.length!==I.length)return[];return Q}function aQ1($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function sQ1($,I){if(I.fields&&!I.fields.has($.field))return[];let U=aQ1($.value),Y=[];return U.forEach((J,Q)=>{let K=tQ1(J,I.keywords,I.matchMode,I.caseSensitive);if(K.length===0)return;let q=Math.max(0,Q-I.contextLines),G=Math.min(U.length,Q+I.contextLines+1),H={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:Q+1,matchedKeywords:K,matchedText:CL(J,I.maxChars),context:{before:I.snippetOnly?[]:U.slice(q,Q).map((W)=>CL(W,I.maxChars)),line:CL(J,I.maxChars),after:I.snippetOnly?[]:U.slice(Q+1,G).map((W)=>CL(W,I.maxChars))},metadata:$.metadata};if(I.snippetOnly)H.context={before:[],line:H.context.line,after:[]};Y.push(H)}),Y}function CL($,I){if(!I||$.length<=I)return $;return`${$.slice(0,Math.max(0,I))}...`}function eQ1($){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 QV0($){return $.rules.flatMap((I,U)=>{let Y=`${$.id}:${I.description.slice(0,32)}`,J={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:I.scope,strictness:I.strictness,code:"code"in I?I.code:void 0,index:U};return[{area:"rules",entityType:"rule",entityId:Y,title:`${$.versionName} / ${I.scope}`,field:"history.description",value:I.description,metadata:J},{area:"rules",entityType:"rule",entityId:Y,title:`${$.versionName} / ${I.scope}`,field:"history.scope",value:I.scope,metadata:J}]})}function $21($){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 I21($){let I=[];if($.decisionPreferences)for(let[U,Y]of Object.entries($.decisionPreferences))I.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${U}`,value:Y,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((U,Y)=>{I.push({area:"preferences",entityType:"integration",title:U.outboundName,field:`integrations[${Y}]`,value:U,metadata:{type:U.type,outboundName:U.outboundName,mode:U.mode,corporationId:U.corporationId}})}),I}async function U21($,I,U){let Y=U.ruleVersionScope??"current",J=[I.id,`ruleVersionScope=${Y}`,`ruleVersionId=${U.ruleVersionId??""}`,`ruleVersionNumber=${U.ruleVersionNumber??""}`,`latestRuleVersion=${U.latestRuleVersion??!1}`,`documentLimit=${U.documentLimit??100}`].join("|"),Q=JV0.get(J);if(!U.refresh&&Q&&Date.now()<Q.expiresAt)return Q;let[K,q,G]=await Promise.all([Y21($,{scope:Y,versionId:U.ruleVersionId,versionNumber:U.ruleVersionNumber,latest:U.latestRuleVersion}),V2($,{limit:U.documentLimit??100}),q4($,I.seal.endpoints.approvalStylePreferences)]),H=Date.now(),W={entries:[...K,...q.articles.flatMap($21),...I21(G)],fetchedAt:H,expiresAt:H+KV0};return JV0.set(J,W),W}async function Y21($,I){if(I.scope==="current")return(await F$($)).rules.flatMap(eQ1);if(I.scope==="version"){let Y=await J21($,I);return QV0(Y)}return(await Y5($)).flatMap(QV0)}async function J21($,I){if(I.versionId)return W2($,I.versionId);let U=await Y5($),Y=I.versionNumber?U.find((J)=>J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}async function qV0($,I,U){let Y=U.matchMode??"any",J=U.caseSensitive??!1,Q=U.contextLines??3,K=new Set(U.areas??["rules","documents","preferences"]),q=U.maxResults??50,G=U.ruleVersionScope??"current",H=oQ1(U.keywords,J),W=U.fields?.length?new Set(U.fields):void 0;if(H.length===0)throw Error("keywords must contain at least one non-empty string");let V=await U21($,I,{documentLimit:U.documentLimit,refresh:U.refresh,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion}),z=V.entries.filter((Z)=>K.has(Z.area)).flatMap((Z)=>sQ1(Z,{keywords:H,matchMode:Y,caseSensitive:J,contextLines:Q,snippetOnly:U.snippetOnly,maxChars:U.maxChars,fields:W}));return{query:{keywords:U.keywords,matchMode:Y,areas:Array.from(K),caseSensitive:J,contextLines:Q,refresh:U.refresh??!1,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion??!1,snippetOnly:U.snippetOnly??!1,maxChars:U.maxChars,fields:U.fields},cache:{fetchedAt:new Date(V.fetchedAt).toISOString(),expiresAt:new Date(V.expiresAt).toISOString(),ttlMs:KV0},total:z.length,returned:Math.min(z.length,q),results:z.slice(0,q)}}var GV0=X.object({level:X.enum(["error","warning","info"]),code:X.string(),message:X.string(),snippet:X.string().optional(),suggestion:X.string().optional()}),Dj1=X.object({score:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(GV0)}),Q21=X.object({ruleId:X.string().optional(),ruleCode:X.string().optional(),ruleName:X.string().optional(),score:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(GV0),description:X.string().optional()}),Oj1=X.object({linter:X.string(),linterType:X.enum(["builtin","custom"]),totalRules:X.number(),healthyCount:X.number(),issueCount:X.number(),overallScore:X.number().min(0).max(100),passed:X.boolean(),issues:X.array(Q21)});var K21=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况"],q21=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],G21=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"];function s3($){let I=($.description||"").trim(),U=[];if(I.length<5)U.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});for(let G of K21)if(I.includes(G))U.push({level:"error",code:"VAGUE_WORD",snippet:G,message:`包含主观模糊词 "${G}",容易导致大模型判定标准产生波动与幻觉`,suggestion:`建议移除 "${G}",改为具体的金额上限、枚举范围或刚性判定条件`});let Y=q21.find((G)=>I.includes(G)),J=G21.some((G)=>I.includes(G));if(Y&&!J)U.push({level:"warning",code:"HANGING_EXCEPTION",snippet:Y,message:`包含例外条款 "${Y}",但未指定 AI 从何处核验该例外成立的依据`,suggestion:'建议补充明确的凭据来源(例如:"需在【单据备注】中说明原因" 或 "需在【附件】中上传审批截图")'});let Q=U.filter((G)=>G.level==="error").length,K=U.filter((G)=>G.level==="warning").length;return{score:Math.max(0,100-Q*25-K*10),passed:Q===0,issues:U}}import{existsSync as py,readdirSync as Aj1}from"node:fs";import{homedir as H21}from"node:os";import{isAbsolute as W21,join as V7,resolve as V21}from"node:path";import{pathToFileURL as Z21}from"node:url";var cy=V7(H21(),".config","seal-use","linters"),dy=V7(process.cwd(),"linters");function z21($){if(!$||$==="builtin")return;if(W21($)||$.startsWith("./")||$.startsWith("../")){let U=V21($);if(py(U))return U;for(let Y of[".ts",".js",".mjs"])if(py(`${U}${Y}`))return`${U}${Y}`}let I=[V7(cy,`${$}.ts`),V7(cy,`${$}.js`),V7(cy,`${$}.mjs`),V7(dy,`${$}.ts`),V7(dy,`${$}.js`),V7(dy,`${$}.mjs`)];for(let U of I)if(py(U))return U;return}async function my($){if(!$||$==="builtin")return{name:"builtin",type:"builtin",linter:s3};let I=z21($);if(!I)return console.error(`⚠️ [linter] 未找到自定义校验器 "${$}",已自动安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:s3};try{let Y=await import(Z21(I).href),J=Y.default??Y.lintRule??Y.linter??Y.lint;if(typeof J!=="function")return console.error(`⚠️ [linter] 自定义校验器 "${I}" 未导出标准函数 (default / lintRule),已安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:s3};return{name:$,type:"custom",filePath:I,linter:async(K,q)=>{try{let G=await J(K,q);if(G&&typeof G==="object"&&typeof G.score==="number"&&Array.isArray(G.issues))return G;return console.error("⚠️ [linter] 自定义校验器返回值格式不符合 RuleLintResult 契约,已回退至内置结果。"),s3(K)}catch(G){return console.error("⚠️ [linter] 自定义校验器执行异常:",G),s3(K)}}}}catch(U){return console.error(`⚠️ [linter] 加载自定义校验器脚本 "${I}" 失败(语法错误或依赖缺失: ${U?.message??U}),已自动安全降级至内置校验器。`),{name:"builtin",type:"builtin",linter:s3}}}async function ly($,I,U){let Y=await I.linter($,U);return{ruleId:$.id,ruleCode:$.code,ruleName:$.name,score:Y.score,passed:Y.passed,issues:Y.issues,description:$.description}}async function HV0($,I,U,Y){let J=Y?.minScore??0,Q=Y?.level??"all",K=[],q=0;for(let Z of $){let w=await ly(Z,I,U);q+=w.score;let L=w.issues;if(Q==="error")L=w.issues.filter((N)=>N.level==="error");else if(Q==="warning")L=w.issues.filter((N)=>N.level==="warning"||N.level==="error");let D=L.every((N)=>N.level!=="error");if(Y?.summary){if(L.length>0)K.push({...w,passed:D,issues:L})}else K.push({...w,passed:D,issues:L})}let G=$.length,H=G===0?100:Math.round(q/G),W=K.filter((Z)=>Z.issues.length>0).length,V=G-W,z=H>=J&&K.every((Z)=>Z.passed);return{linter:I.name,linterType:I.type,totalRules:G,healthyCount:V,issueCount:W,overallScore:H,passed:z,issues:K}}import{existsSync as X21,readFileSync as w21,writeFileSync as L21,mkdirSync as D21}from"node:fs";import{dirname as O21,resolve as VV0}from"node:path";function N21($){let I;try{I=JSON.parse($)}catch(U){throw Error(`本地规则文件 JSON 解析失败: ${U instanceof Error?U.message:String(U)}`)}if(Array.isArray(I))return{rules:WV0(I),meta:{rulesCount:I.length}};if(I&&typeof I==="object"){let U=I,Y=Array.isArray(U.rules)?U.rules:void 0;if(!Y)throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象");return{rules:WV0(Y),meta:{corpId:typeof U.corpId==="string"?U.corpId:void 0,source:typeof U.source==="string"?U.source:void 0,versionNumber:typeof U.versionNumber==="number"?U.versionNumber:void 0,exportedAt:typeof U.exportedAt==="string"?U.exportedAt:void 0,rulesCount:Y.length}}}throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象")}function WV0($){return $.map((I,U)=>{if(!I||typeof I!=="object")throw Error(`第 ${U+1} 条规则格式错误: 必须为对象`);let Y=I,J=typeof Y.description==="string"?Y.description.trim():"";if(!J)throw Error(`第 ${U+1} 条规则缺少有效的 'description' (规则描述) 字段`);let Q=typeof Y.code==="number"||typeof Y.code==="string"?Y.code:U+1;return{...Y,code:Q,description:J,scope:typeof Y.scope==="string"?Y.scope:"ALL",strictness:typeof Y.strictness==="string"?Y.strictness:"MUST_FOLLOW"}})}function oy($){let I=VV0($);if(!X21(I))throw Error(`未找到本地规则文件: ${$} (${I})`);let U=w21(I,"utf8");return{...N21(U),resolvedPath:I}}function ZV0($,I){let U=VV0($);return D21(O21(U),{recursive:!0}),L21(U,`${JSON.stringify(I,null,2)}
`,"utf8"),U}function zV0($){return $.map((I,U)=>{let Y;if(typeof I.code==="number")Y=`#${String(I.code).padStart(4,"0")}`;else if(typeof I.code==="string")Y=I.code.startsWith("#")?I.code:`#${I.code}`;else Y=`#${String(U+1).padStart(4,"0")}`;return{id:I.id,code:Y,name:I.name,description:I.description,scope:I.scope,strictness:I.strictness}})}class S$ extends Error{errors;warnings;constructor($,I=[]){super([`材料包校验失败:${$.length} 个错误`,...$.map((U)=>`- ${U}`)].join(`
`));this.errors=$;this.warnings=I;this.name="MaterialPackValidationError"}}import{createHmac as F21,randomBytes as M21}from"node:crypto";function A21($,I,U,Y){return F21("sha256",Y).update(`${$}.${I}.${JSON.stringify(U)}`).digest("hex")}function ry($,I){let U=Math.floor(Date.now()/1000),Y=M21(16).toString("hex");return{Authorization:`Bearer ${I}`,"x-webhook-signature":A21(U,Y,$,I),"x-webhook-timestamp":String(U),"x-webhook-nonce":Y}}var fh=VI(gV0(),1),AZ0=VI(MZ0(),1);var oL={maxEntries:1000,maxTotalSize:524288000,maxCompressionRatio:150};async function PZ0($){return new Promise((I,U)=>{fh.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(Y,J)=>{if(Y||!J)return U(Y??Error("无法打开 ZIP"));let Q=[];J.readEntry(),J.on("entry",(K)=>{let q=TZ0(K);if(!q.endsWith("/")&&!aK1(q))Q.push({fileName:q,uncompressedSize:K.uncompressedSize,compressedSize:K.compressedSize,raw:K});J.readEntry()}),J.on("end",()=>I(Q)),J.on("error",U)})})}function TZ0($){let I=Buffer.isBuffer($.fileName)?$.fileName:Buffer.from(String($.fileName),"binary"),U=I.toString("utf8");if(!U.includes("�"))return U;let Y=AZ0.default.decode(I,"gbk");if(!Y.includes("�"))return Y;return U}function aK1($){let I=$.split("/").pop()??"";return $.split("/").includes("__MACOSX")||I===".DS_Store"||I.startsWith("._")||I.startsWith(".~")||I.startsWith("~$")}function EZ0($,I){let U=[],Y=XU(I);if($.length>oL.maxEntries)U.push(`文件数超过 ${oL.maxEntries}`);if($.reduce((K,q)=>K+q.uncompressedSize,0)>oL.maxTotalSize)U.push("解压后总大小超过 500MB");for(let K of $){if(K.fileName.startsWith("/")||K.fileName.split("/").includes(".."))U.push(`存在不安全路径: ${K.fileName}`);if(K.compressedSize>0&&K.uncompressedSize/K.compressedSize>oL.maxCompressionRatio)U.push(`压缩比超过 150: ${K.fileName}`);if(K.fileName==="信息表.xlsx")continue;sK1(K,Y,U)}if(!$.find((K)=>K.fileName==="信息表.xlsx"))U.push("ZIP 根目录缺少精确名为「信息表.xlsx」的文件");if($.some((K)=>K.fileName.toLowerCase().endsWith(".zip")))U.push("不允许嵌套 ZIP");if(U.length)throw new S$(U)}function sK1($,I,U){let Y=eK1($.fileName);if(!Y||!I.allowedExtensions.includes(Y))U.push(`附件后缀不在白名单中: ${$.fileName}(允许: ${I.allowedExtensions.join(", ")})`);if($.uncompressedSize<I.minFileSizeBytes)U.push(`附件文件过小: ${$.fileName}(${$.uncompressedSize} B,小于最小值 ${I.minFileSizeBytes} B)`);if(I.maxFileSizeBytes!==void 0&&I.maxFileSizeBytes!==null&&$.uncompressedSize>I.maxFileSizeBytes)U.push(`附件文件过大: ${$.fileName}(${$.uncompressedSize} B,大于最大值 ${I.maxFileSizeBytes} B)`)}function eK1($){let I=$.split("/").pop()??$,U=I.lastIndexOf(".");return U>0?I.slice(U).toLowerCase():""}function bh($,I){return new Promise((U,Y)=>{fh.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(J,Q)=>{if(J||!Q)return Y(J??Error("无法打开 ZIP"));Q.readEntry(),Q.on("entry",(K)=>{if(TZ0(K)!==I.fileName)return Q.readEntry();Q.openReadStream(K,(q,G)=>{if(q||!G)return Y(q??Error(`无法读取 ${I.fileName}`));let H=[];G.on("data",(W)=>H.push(W)),G.on("end",()=>U(Buffer.concat(H))),G.on("error",Y)})}),Q.on("error",Y)})})}var RZ0=VI(ky(),1);function $q1($){return $.startsWith("[附件]")}function vZ0($){return $.startsWith("[附件]")?$.slice(4):$}function Iq1($){return vZ0($).toLowerCase().replace(/\s+/g,"_")||"attachment"}function Uq1($){if($==null||$==="")return[];return String($).split(/[\n,;,;]/).map((I)=>I.trim()).filter(Boolean)}function ih($,I){let U=[];for(let[Y,J]of I.entries()){if(!$q1(Y))continue;let Q=$.getCell(J).value,K=Uq1(Q);if(!K.length)continue;U.push({key:Iq1(Y),label:vZ0(Y),paths:K})}return U}function nh($){let I=new Map;return $.map((U)=>{let Y=(I.get(U.key)??0)+1;return I.set(U.key,Y),Y===1?U:{...U,key:`${U.key}-${Y}`}})}function rL($,I,U,Y){return{key:$,label:I,type:U,value:Y}}function CZ0($,I,U){return rL($,I,"TEXT",U==null?"":String(U))}function jZ0($,I,U){return rL($,I,"AMOUNT",typeof U==="number"?{amount:U,currency:"CNY"}:null)}function _Z0($){if($ instanceof Date)return $.toISOString();if(typeof $==="string"&&$.trim())return $.trim();return null}function Yq1($){if($ instanceof Date)return Math.floor($.getTime()/1000);if(typeof $==="string"&&$.trim()){let I=Date.parse($.trim().replace(" ","T"));if(Number.isFinite(I))return Math.floor(I/1000)}return null}function UG($){let I=new Map;return $.getRow(1).eachCell((U,Y)=>I.set(String(U.value??"").trim(),Y)),I}function $I($,I,U){let Y=I.get(U);return Y?$.getCell(Y).value:void 0}function Jq1($,I){return[["会议编号","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"]].flatMap(([Y,J,Q])=>{let K=$I($,I,Y);if(K==null||K==="")return[];return[Q==="TEXT"?CZ0(J,Y,K):Q==="AMOUNT"?jZ0(J,Y,K):rL(J,Y,Q,_Z0(K))]})}function BZ0($,I,U){return U.flatMap(([Y,J,Q])=>{let K=$I($,I,Y);if(K==null||K==="")return[];return[Q==="TEXT"?CZ0(J,Y,K):Q==="AMOUNT"?jZ0(J,Y,K):rL(J,Y,Q,_Z0(K))]})}var Qq1=[["姓名","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"]],Kq1=[["报销金额","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"]];async function SZ0($){let I=new RZ0.default.Workbook;if(await I.xlsx.load(Buffer.from($)),!I.worksheets.length)throw new S$(["信息表没有任何 Sheet"]);let U=I.worksheets,Y=U[0],J=UG(Y),Q=J.get("会议编号")??1,K=(Y.getRows(2,Y.rowCount)??[]).filter((Z)=>Z.getCell(Q).value!=null&&Z.getCell(Q).value!==""),q=new Set,G=U.find((Z,w)=>w>0&&UG(Z).has("姓名")),H=U.find((Z,w)=>w>0&&UG(Z).has("报销金额")),W=G?UG(G):void 0,V=H?UG(H):void 0;return K.map((Z)=>{let w=String(Z.getCell(Q).value).trim();if(!w)throw new S$(["主表会议编号不能为空"]);if(q.has(w))throw new S$([`主表会议编号重复: ${w}`]);q.add(w);let L=$I(Z,J,"申请日期"),D=(G?.getRows(2,G.rowCount)??[]).filter((g)=>String($I(g,W,"会议编号")??"").trim()===w),N=(H?.getRows(2,H.rowCount)??[]).filter((g)=>String($I(g,V,"会议编号")??"").trim()===w),E=D.map((g)=>String($I(g,W,"姓名")??"").trim()).filter(Boolean),T=nh(ih(Z,J)),A={};N.forEach((g,b)=>{let C=nh(ih(g,V));if(C.length)A[b]=C});let v={};D.forEach((g)=>{let b=String($I(g,W,"姓名")??"").trim();if(!b)return;let C=nh(ih(g,W));if(C.length)v[b]=C});let u=Jq1(Z,J);if(D.length)u.push({key:"daoshi_list",label:"导师列表",type:"LIST",value:D.map((g)=>BZ0(g,W,Qq1))});if(N.length)u.push({key:"mingxi_list",label:"明细列表",type:"LIST",value:N.map((g)=>BZ0(g,V,Kq1))});return{laborNames:E,documentAttachments:T,expenseAttachments:A,personAttachments:v,document:{type:"document",documentId:w,documentSN:w,startTime:Yq1(L),fields:u}}})}function gZ0($,I){let U=[],Y=new Map,J=I.map((K)=>{let{documentAttachments:q,expenseAttachments:G,personAttachments:H}=K,W=K.document.documentId,V=(z,Z)=>{let w=z.split("/")[0],L=w.indexOf("@");if((L>=0?w.slice(0,L):w)!==W)U.push(`单据「${W}」声明了跨单据或非本单据目录的附件路径: ${z}。附件必须位于该单据自己的根目录「${W}/」或「${W}@备注/」下。`);let N=Y.get(z);if(N)N.push({documentId:W,location:Z});else Y.set(z,[{documentId:W,location:Z}])};for(let z of q)z.paths.forEach((Z)=>V(Z,`主表 [附件]${z.label}`));for(let[z,Z]of Object.entries(G)){let w=Number(z)+1;for(let L of Z)L.paths.forEach((D)=>V(D,`费用明细行 ${w} [附件]${L.label}`))}for(let[z,Z]of Object.entries(H))for(let w of Z)w.paths.forEach((L)=>V(L,`劳务人员「${z}」[附件]${w.label}`));return{documentId:W,categoryFields:q,expenseAttachments:G,personAttachments:H}});for(let[K,q]of Y.entries())if(q.length>1){let G=q.map((H)=>`单据「${H.documentId}」的 ${H.location}`).join("、");U.push(`附件路径「${K}」被重复声明了 ${q.length} 次(出现在 ${G})。禁止复用同一路径,若需在不同单据或不同字段使用,请分别放置到独立的附件文件路径。`)}if(!$.length){if(U.length)throw new S$(U);return J}let Q=new Set($.map((K)=>K.fileName));for(let K of Y.keys())if(!Q.has(K))U.push(`Excel 声明的附件路径在 ZIP 中不存在: ${K}`);for(let K of $){if(K.fileName==="信息表.xlsx")continue;if(!Y.has(K.fileName))U.push(`ZIP 中的文件未在 Excel 任何 [附件] 列中声明: ${K.fileName}`)}if(U.length)throw new S$(U);return J}function ph($,I,U){let Y=structuredClone($),J=(q)=>{if(U.has(q))return U.get(q);return[{path:q,fileName:q.split("/").pop()??q}]};for(let q of I.categoryFields){let G=q.paths.flatMap(J);Y.fields.push({key:q.key,label:q.label,type:"ATTACHMENT",value:G})}let Q=Y.fields.find((q)=>q.key==="daoshi_list"&&q.type==="LIST");if(Q&&Array.isArray(Q.value))for(let q of Q.value){let G=q.find((H)=>H.key==="name")?.value;for(let H of I.personAttachments[String(G)]??[])q.push({key:H.key,label:H.label,type:"ATTACHMENT",value:H.paths.flatMap(J)})}let K=Y.fields.find((q)=>q.key==="mingxi_list"&&q.type==="LIST");if(K&&Array.isArray(K.value))for(let q=0;q<K.value.length;q++){let G=K.value[q];for(let H of I.expenseAttachments[q]??[])G.push({key:H.key,label:H.label,type:"ATTACHMENT",value:H.paths.flatMap(J)})}return Y}import{readFileSync as qq1}from"node:fs";function Gq1($){let I=new URL($),U=I.pathname.match(/\/webhook\/([^/]+)/);if(!U)throw Error("Webhook URL 必须包含 /webhook/{webhookId}/document");return{baseUrl:`${I.protocol}//${I.host}`,webhookId:U[1]}}function Hq1($,I){return I.toLowerCase().endsWith(".zip")||$[0]===80&&$[1]===75&&!I.toLowerCase().endsWith(".xlsx")}function Wq1($,I){if(!$.length)return;let U=new Set($.map((Q)=>{let K=Q.fileName.split("/")[0],q=K.indexOf("@");return q>=0?K.slice(0,q):K}).filter((Q)=>Q!=="信息表.xlsx")),Y=[];for(let Q of I)if(!U.has(Q))Y.push(`Excel 会议编号「${Q}」在 ZIP 中找不到对应的根目录「${Q}/」或「${Q}@.../」。`);let J=new Set(I);for(let Q of U)if(!J.has(Q))Y.push(`ZIP 根目录对应的编号「${Q}」在信息表中找不到对应的会议编号。`);if(Y.length)throw new S$(Y)}async function yZ0($,I,U){let Y=[],J=$;if(Hq1($,I)){Y=await PZ0($),EZ0(Y,U);let G=Y.find((H)=>H.fileName==="信息表.xlsx");if(!G)throw Error("ZIP 根目录缺少信息表.xlsx");J=await bh($,G)}let Q=await SZ0(J);Wq1(Y,Q.map((G)=>G.document.documentId));let K=gZ0(Y,Q),q=Q.map((G)=>G.document);return{entries:Y,parsed:Q,plans:K,documents:q,fileBuffer:$}}async function II($,I,U){let Y=await yZ0($,I,U),J=Y.parsed.map((Q,K)=>ph(Q.document,Y.plans[K],new Map));return{warnings:[],documents:J,attachmentPlan:Y.plans}}async function tL($,I,U){let Y=await yZ0($,I,U.materialPackFilePolicy),{baseUrl:J,webhookId:Q}=Gq1(U.webhookUrl),K=[];for(let q=0;q<Y.parsed.length;q+=1){let G=Y.parsed[q],H=Y.plans[q],W=new Map,V=[...H.categoryFields,...Object.values(H.personAttachments).flat(),...Object.values(H.expenseAttachments).flat()];for(let w of V)for(let L of w.paths){if(W.has(L))continue;let D=Y.entries.find((u)=>u.fileName===L);if(!D)continue;process.stderr.write(`⬆ 上传附件: ${L}
`);let N=new FormData,E=await bh(Y.fileBuffer,D),T=L.split("/").pop()??L;N.append("files",new File([new Uint8Array(E)],T));let A=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(Q)}/attachments`,{method:"POST",headers:ry({},U.secret),body:N});if(!A.ok)throw Error(`附件上传失败 ${A.status}: ${await A.text()}`);let v=await A.json();W.set(L,v.attachments?.map((u)=>u.data)??(v.data===void 0?[]:[v.data])),process.stderr.write(`✓ 附件上传成功: ${L}
`)}process.stderr.write(`\uD83D\uDCE4 推送单据: ${G.document.documentId}
`);let z=ph(G.document,H,W),Z=await fetch(`${J}/api/v1/integrations/webhook/${encodeURIComponent(Q)}/document`,{method:"POST",headers:{"Content-Type":"application/json",...ry({webhookId:Q,...z},U.secret)},body:JSON.stringify(z)});if(!Z.ok)throw Error(`Webhook 单据推送失败 ${Z.status}: ${await Z.text()}`);K.push({documentId:z.documentId,document:z,pushResult:await Z.json()}),process.stderr.write(`✓ 单据推送成功: ${z.documentId}
`)}return{warnings:[],results:K}}function UI($){return{fileBuffer:qq1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}import{existsSync as Vq1}from"node:fs";async function aL($,I,U={}){let J=L4().stateful?"stateful":"stateless",Q="ok",K,q,G;try{let A=await N$($);G={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){Q="error",K=A instanceof Error?A.message:String(A)}let H=[];if(Q==="ok")try{H=await Z9($,I.seal.endpoints.approvalStylePreferences)}catch(A){Q="error",K=`读取 Webhook 配置失败: ${A instanceof Error?A.message:String(A)}`}let W=H.length===1,V=H.map((A)=>({id:A.id,name:A.name,mode:A.mode,incomingDocumentWebhookUrl:A.incomingDocumentWebhook.url,outgoingResultWebhookUrl:A.outgoingResultWebhook,autoApprovalRate:A.autoApprovalRate,...W?{isDefault:!0}:{}})),z=W?{id:H[0].id,name:H[0].name,mode:H[0].mode}:null,Z=U.webhook?z9(H,U.webhook):W?H[0]:void 0,w;if(U.filePath)if(!Vq1(U.filePath))w={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[`文件不存在: ${U.filePath}`]};else try{let A=UI(U.filePath),v=await II(A.fileBuffer,A.fileName,Z?.materialPackFilePolicy);w={valid:!0,filePath:U.filePath,fileName:A.fileName,documentCount:v.documents.length,warnings:v.warnings}}catch(A){w={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[A instanceof Error?A.message:String(A)]}}let L=w?w.valid:!0,D=Q==="ok"&&V.length>0&&L,N=J==="stateful"?"":` --corp ${I.id}`,E="",T="";if(Q!=="ok")T=`凭证鉴权异常: ${K}`,E=`seal-use auth diagnose${N}`;else if(V.length===0)T="当前企业尚未配置任何 Webhook 集成通道",E=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${N}`;else if(w&&!w.valid)T=`材料包预检失败: ${w.errors?.join("; ")}`,E=`seal-use webhook material-pack preview ${w.filePath}${N}`;else{T=W?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${V.length} 个 Webhook 通道,等待载入`;let A=w?.filePath??"<材料包.zip>",v=W?"":` --webhook ${z?z.id:"<webhookIdOrName>"}`;E=`seal-use webhook material-pack push ${A}${v}${N}`}return{ready:D,corp:{id:I.id,name:I.name,sourceType:I.source.type,tenant:q,user:G},stateMode:J,authStatus:Q,authError:K,activeWebhooks:V,defaultWebhook:z,materialPack:w,statusMessage:T,nextAction:E}}var JG=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:X.object({}),handler:async($)=>N$($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:X.object({}),handler:async($)=>ud($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:X.object({}),handler:async($)=>Gm($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:X.object({note:X.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,I)=>wU($,I)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:X.object({tokenId:X.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,I)=>Hm($,I.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:X.object({name:X.string().describe("用户姓名"),phone:X.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:X.array(X.string()).optional().describe("权限列表,默认为 []"),departmentIds:X.array(X.string()).optional().describe("关联部门 ID 数组")}),handler:async($,I)=>Wm($,I)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>EE($,I.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>CV($,I.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:X.object({keyword:X.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,I)=>jV($,I.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>Vm($,I.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:X.object({userId:X.string().describe("用户 ID (_id)")}),handler:async($,I)=>BE($,I.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:X.object({userIdOrPhone:X.string().describe("目标用户 ID、手机号或姓名"),note:X.string().optional().describe("授权链接备注信息")}),handler:async($,I,U)=>Zm($,I,(Y)=>Gd(U.corp,Y),U.corp)},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:X.object({}),handler:async($)=>zm($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:X.object({}),handler:async($)=>Xm($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:X.object({}),handler:async($)=>wm($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:X.object({}),handler:async($)=>Lm($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:X.object({}),handler:async($)=>Dm($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:X.object({}),handler:async($)=>Om($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:X.object({}),handler:async($)=>Nm($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;支持 countOnly、fields、limit 以避免返回规则正文",parameters:X.object({countOnly:X.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:X.array(X.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:X.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:X.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,I)=>{let U=await F$($);return Lq1(U,I)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:X.object({dryRun:X.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:X.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,I,U)=>{let Y=await F$($);if(I.dryRun)return{corpId:U.corp.id,corpName:U.corp.name,dryRun:!0,beforeCount:Y.rules.length,deleted:0,afterCount:Y.rules.length,hasPendingDeletes:Y.hasPendingDeletes};let J=[],Q=0;for(let H of Y.rules)try{await SV($,H.id),Q+=1}catch(W){J.push({ruleId:H.id,error:W instanceof Error?W.message:String(W)})}let K=[],q;if(Q>0&&I.recode!==!1){if(q=await OE($),q&&typeof q==="object"&&"ok"in q&&q.ok!==!0)K.push("batch-recode did not complete; current rules were still deleted")}let G=await F$($);return{corpId:U.corp.id,corpName:U.corp.name,dryRun:!1,beforeCount:Y.rules.length,deleted:Q,failed:J,afterCount:G.rules.length,hasPendingDeletes:G.hasPendingDeletes,warnings:K,recode:q}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:X.object({description:X.string().describe("规则描述"),scope:X.string().describe("适用场景"),strictness:X.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,I)=>DE($,I)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:X.object({ruleId:X.string().describe("规则 ID"),description:X.string().optional(),scope:X.string().optional(),strictness:X.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,I)=>{let{ruleId:U,...Y}=I,J=await fd($,U,Y);if(I.description)try{let Q=L4();if(Q.lint?.enabled){let K=await my(Q.lint.activeLinter),q=await ly({id:U,description:I.description},K);if(q.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${q.score}/100 (发现 ${q.issues.length} 处潜在风险):`);for(let G of q.issues)if(console.error(` • [${G.level.toUpperCase()}] ${G.message}${G.snippet?` ("${G.snippet}")`:""}`),G.suggestion)console.error(` \uD83D\uDC49 建议: ${G.suggestion}`)}}}catch{}return J}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:X.object({ruleId:X.string().describe("规则 ID")}),handler:async($,I)=>{return await SV($,I.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:X.object({}),handler:async($)=>{let I=await Y5($);return{count:I.length,latest:I[0]?ch(I[0]):void 0,versions:I.map(ch)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:X.object({versionId:X.string().optional().describe("规则版本 ID"),versionNumber:X.number().int().positive().optional().describe("规则版本号"),latest:X.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,I)=>{if(I.versionId)return W2($,I.versionId);let U=await Y5($),Y=I.versionNumber?U.find((J)=>J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:X.object({versionName:X.string().describe("版本名称")}),handler:async($,I)=>NE($,I.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则,避免拉取整版规则快照",parameters:X.object({versionId:X.string().optional().describe("规则版本 ID"),versionNumber:X.number().int().positive().optional().describe("规则版本号"),latest:X.boolean().optional().describe("为 true 时取最新版本"),code:X.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:X.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:X.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,I)=>{let U=await Rq1($,I),Y=vq1(U,{code:I.code,runtimeId:I.runtimeId});if(!Y)throw Error(`Rule not found in version ${U.versionNumber}`);return Y}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:X.object({file:X.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:X.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:X.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:X.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:X.string().optional().describe("按规则 ID 过滤"),minScore:X.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:X.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:X.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,I,U)=>{let Y=[],J;if(I.file){let H=oy(I.file);Y=zV0(H.rules),J=H.meta.versionNumber}else if(I.version){let H=await Y5($),W=Number(I.version),V=isNaN(W)?I.version==="latest"?H[0]:H.find((z)=>z.id===I.version):H.find((z)=>z.versionNumber===W);if(!V)throw Error(`未找到指定的规则版本: ${I.version}`);J=V.versionNumber,Y=(V.rules??[]).map((z,Z)=>({id:z.id??z.runtimeId,code:z.code??`#${String(Z+1).padStart(4,"0")}`,name:z.name??z.title,description:z.description??"",scope:z.scope,strictness:z.strictness}))}else Y=((await F$($)).rules??[]).map((W,V)=>({id:W.id,code:W.code??`#${String(V+1).padStart(4,"0")}`,name:W.name??W.title,description:W.description??"",scope:W.scope,strictness:W.strictness}));if(I.code)Y=Y.filter((H)=>H.code===I.code||H.code?.replace(/[#\s]/g,"")===I.code?.replace(/[#\s]/g,""));if(I.ruleId)Y=Y.filter((H)=>H.id===I.ruleId||H.code===I.ruleId);let Q=L4(),K=I.linter??Q.lint?.activeLinter??"builtin",q=await my(K),G=await HV0(Y,q,{corpId:U?.corp?.id,versionNumber:J,allRules:Y},{minScore:I.minScore,level:I.level,summary:I.summary});if(I.minScore&&G.overallScore<I.minScore)throw Error(`[Linter 质量门禁未通过] 综合评分 ${G.overallScore} 低于要求的最低分 ${I.minScore} 分 (共发现 ${G.issueCount} 条问题规则)。`);return G}},{name:"seal_approval_rules_pull",description:"从 Seal 远端拉取草稿或指定版本规则,保存至本地规则文件(支持离线编辑与本地 Lint,绝不污染远端草稿)",parameters:X.object({version:X.string().optional().describe("指定拉取的历史发布版本号或 ID(如 16 或 latest),不传默认拉取当前草稿规则"),out:X.string().optional().describe("保存的目标本地文件路径,默认为 ./rules.local.json")}),handler:async($,I,U)=>{let Y=I.out??"./rules.local.json",J=[],Q="draft",K;if(I.version){let G=await Y5($),H=Number(I.version),W=isNaN(H)?I.version==="latest"?G[0]:G.find((V)=>V.id===I.version):G.find((V)=>V.versionNumber===H);if(!W)throw Error(`未找到指定的规则版本: ${I.version}`);K=W.versionNumber,Q=`version:${K}`,J=(W.rules??[]).map((V,z)=>({code:V.code?Number(String(V.code).replace(/^#/,""))||z+1:z+1,name:V.name??V.title,description:V.description??"",scope:V.scope??"ALL",strictness:V.strictness??"MUST_FOLLOW"}))}else J=((await F$($)).rules??[]).map((H,W)=>({id:H.id,code:H.code??W+1,name:H.name??H.title,description:H.description??"",scope:H.scope??"ALL",strictness:H.strictness??"MUST_FOLLOW",status:H.status}));return{saved:!0,path:ZV0(Y,{corpId:U.corp.id,source:Q,versionNumber:K,exportedAt:new Date().toISOString(),rulesCount:J.length,rules:J}),rulesCount:J.length,corpId:U.corp.id,source:Q,versionNumber:K}}},{name:"seal_approval_rules_push",description:"将本地规则文件推送到远端草稿(本地调优通过后一键应用,支持直接发布为正式版本)",parameters:X.object({file:X.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:X.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:X.boolean().optional().describe("确认覆盖写入远端草稿"),publish:X.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:X.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,I,U)=>{let Y=I.file??"./rules.local.json",J=oy(Y),Q=I.confirm===!0,K=I.dryRun??!Q,q=await F$($);if(K)return{corpId:U.corp.id,dryRun:!0,localFile:J.resolvedPath,localRulesCount:J.rules.length,remoteDraftCount:q.rules.length,willPublish:Boolean(I.publish),message:"Preview mode. Use --yes or confirm=true to apply local rules to remote draft."};let G=0;for(let V of q.rules)await SV($,V.id),G+=1;let H=[];for(let V of J.rules){let z=V.strictness?.toUpperCase()?.includes("SHOULD")?"SHOULD_FOLLOW":V.strictness?.toUpperCase()?.includes("SUGGEST")?"SUGGESTION":"MUST_FOLLOW",Z=await DE($,{description:V.description,scope:V.scope??"ALL",strictness:z});H.push({id:Z.id,description:Z.description,code:Z.code})}await OE($);let W=void 0;if(I.publish){let V=new Date().toISOString().slice(0,10).replace(/-/g,""),z=I.versionName||`v-local-${V}-${Date.now().toString().slice(-4)}`;W=await NE($,z)}return{corpId:U.corp.id,dryRun:!1,localFile:J.resolvedPath,clearedDraftRules:G,createdRules:H.length,published:W??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:X.object({scenarios:X.array(X.string()).optional().describe("场景过滤"),offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().optional()}),handler:async($,I)=>V2($,I)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:X.object({documentId:X.string().describe("文档 ID")}),handler:async($,I)=>bd($,I.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:X.object({title:X.string(),purpose:X.string(),content:X.string().describe("正文,通常为 Markdown"),contentType:X.string().optional(),status:X.string().optional(),scenarios:X.array(X.string()).optional(),tags:X.array(X.string()).optional()}),handler:async($,I)=>id($,I)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:X.object({documentId:X.string(),title:X.string().optional(),purpose:X.string().optional(),content:X.string().optional(),contentType:X.string().optional(),status:X.string().optional(),enabled:X.boolean().optional(),scenarios:X.array(X.string()).optional(),tags:X.array(X.string()).optional()}),handler:async($,I)=>{let{documentId:U,...Y}=I;return nd($,U,Y)}},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:X.object({keywords:X.array(X.string()).min(1).describe("关键词组"),matchMode:X.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:X.array(X.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:X.boolean().optional().describe("是否大小写敏感"),contextLines:X.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:X.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:X.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:X.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:X.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:X.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:X.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:X.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:X.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:X.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:X.array(X.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,I,U)=>qV0($,U.corp,I)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:X.object({documentLimit:X.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:X.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:X.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:X.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,I,U)=>{let Y=await gV($,{documentLimit:I.documentLimit,stylePreferencesEndpoint:U.corp.seal.endpoints.approvalStylePreferences});if(!I.ruleVersionId&&!I.ruleVersionNumber&&!I.latestRuleVersion)return Y;let J=await lh($,I);return{...Y,rules:{version:ch(J),rules:J.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:X.object({}),handler:async($,I,U)=>q4($,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:X.object({tone:X.string().optional(),language:X.string().optional(),detailLevel:X.string().optional(),outputFormat:X.string().optional(),examples:X.array(X.string()).optional(),prohibitedPhrases:X.array(X.string()).optional(),customInstructions:X.string().optional()}),handler:async($,I,U)=>y7($,I,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:X.object({query:X.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:X.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,I,U)=>{let Y=md(await Z9($,U.corp.seal.endpoints.approvalStylePreferences),I.query);return{count:Y.length,integrations:Y.map((J)=>YG(J,I.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:X.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,I,U)=>{let Y=z9(await Z9($,U.corp.seal.endpoints.approvalStylePreferences),I.selector);return YG(Y,I.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成并通过 AI 审批配置保存接口持久化",parameters:X.object({name:X.string().min(1).describe("集成名称"),mode:X.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:X.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:X.number().int().min(0).max(100).optional(),secret:X.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:WE.describe("材料包附件文件策略:大小和后缀白名单")}),handler:async($,I,U)=>{let Y=wq1(U.corp),J=await pd($,Y,I,U.corp.seal.endpoints.approvalStylePreferences);return{saved:!0,integration:YG(J,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成并通过 AI 审批配置保存接口持久化",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),name:X.string().min(1).optional(),mode:X.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:X.string().url().optional(),autoApprovalRate:X.number().int().min(0).max(100).optional(),secret:X.string().min(1).optional(),rotateSecret:X.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:WE.describe("材料包附件文件策略:大小和后缀白名单")}),handler:async($,I,U)=>{if(I.secret!==void 0&&I.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let Y=await cd($,I.selector,I,U.corp.seal.endpoints.approvalStylePreferences);return{saved:!0,integration:YG(Y,I.secret!==void 0||I.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成并通过 AI 审批配置保存接口持久化",parameters:X.object({selector:X.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:X.boolean().describe("必须明确传 true 才执行删除")}),handler:async($,I,U)=>{if(!I.confirm)throw Error("Refusing to delete Webhook integration without confirm=true");let Y=await dd($,I.selector,U.corp.seal.endpoints.approvalStylePreferences);return{deleted:!0,integration:YG(Y,!1)}}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:X.object({offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),fromTimestamp:X.string().optional(),toTimestamp:X.string().optional(),startDate:X.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:X.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:X.string().optional(),taskMode:X.string().optional(),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),humanResult:X.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:X.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,I)=>{let U=I.query?.trim(),Y=await X8($,hq1({...I,search:U})),J=await bZ0($,Y.records,{humanResult:I.humanResult});return{...Y,records:J.map(YI),...I.includeBridge?{bridge:$D(J)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:X.object({date:X.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:X.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:X.number().int().nonnegative().optional(),limit:X.number().int().positive().max(100).optional(),startDate:X.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:X.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:X.string().optional(),taskMode:X.string().optional(),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),humanResult:X.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,I)=>{let U=I.timezone??"Asia/Shanghai",Y=I.date??pZ0(Date.now(),U)??"",J=await X8($,{offset:I.offset,limit:I.limit??100,startDate:I.startDate,endDate:I.endDate,status:I.status,taskMode:I.taskMode,manualApprovalStatus:rZ0(I.manualApprovalStatus,I.humanResult),sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId}),Q=(await bZ0($,J.records,{query:I.query,humanResult:I.humanResult})).filter((K)=>pZ0(K.createdAt,U)===Y);return Fq1(Q,{date:Y,timezone:U,fetched:J.records.length,total:J.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:X.object({startDate:X.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:X.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:X.number().int().positive().optional().describe("最大拉取记录条数"),status:X.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:X.union([X.string(),X.array(X.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:X.boolean().optional().describe("是否仅导出已完成单据"),outputFile:X.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:X.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,I,U)=>TL($,U.corp,I)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),fields:X.union([X.string(),X.array(X.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:X.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,I)=>{let U=await f4($,I.recordId);if(I.summary)return Mq1(U);let Y={...U,aliases:xq1(U),humanResult:JI(U)},J=xZ0(I.fields);return J.length>0?dZ0(Y,J):Y}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:X.object({recordId:X.string().describe("Seal approval run record ID")}),handler:async($,I)=>{let U=await f4($,I.recordId);return Aq1(U)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:X.object({recordId:X.string().describe("Seal approval run record ID")}),handler:async($,I)=>{let U=await f4($,I.recordId);return lZ0(U)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),summary:X.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,I)=>{let U=await f4($,I.recordId);return WJ(U,{summary:I.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:X.object({recordId:X.string().describe("Seal approval run record ID"),summary:X.boolean().optional()}),handler:async($,I)=>{let U=await f4($,I.recordId);if(I.summary)return YD(U);return{recordId:U.id,result:U.result}}},{name:"seal_approval_run_url_get",description:"获取合思企业协助链接,按需附带单据链接;支持只取企业协助链接,或按 Seal recordId/合思 sourceDocumentSN 查询单据链接",parameters:X.object({recordId:X.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:X.string().optional().describe("合思/易快报单号"),sourceDocumentId:X.string().optional().describe("合思/易快报源单据 ID")}),handler:async($,I,U)=>{let Y=Boolean(I.recordId||I.sourceDocumentSN||I.sourceDocumentId),J=Y?await _q1($,I):void 0,Q=U.corp.source,K=Q.type==="hose"?await Ud(U.corp):void 0,q=$4(J?.sourceExtendData?.hosecloudViewUrl);return{enterpriseAssistUrl:K,enterpriseUrl:K,hoseDomain:Q.type==="hose"?Sq1(Q.domain):void 0,documentUrl:q,recordId:J?.id,sourceDocumentSN:J?.sourceDocumentSN,sourceDocumentId:J?.sourceDocumentId,sourceSystem:J?.sourceSystem,missing:{enterpriseAssistUrl:K?void 0:"Current enterprise source is not Hose, so no Hose enterprise assist URL is configured.",documentUrl:Y&&!q?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:X.object({query:X.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:X.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:X.string().optional().describe("模拟批次 ID"),latest:X.boolean().optional().describe("只返回最新一条匹配记录"),fields:X.union([X.string(),X.array(X.string())]).optional().describe("限制返回字段"),limit:X.number().int().positive().max(100).optional(),maxScan:X.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:X.boolean().optional()}),handler:async($,I)=>{let U=I.sn??I.query;if(!U)throw Error("query or sn is required");let Y=await gq1($,{query:U,sn:I.sn,batchId:I.batchId,latest:I.latest,limit:I.latest?1:I.limit??20,maxScan:I.maxScan??1000}),J=await Promise.all(Y.records.map((q)=>f4($,q.id))),Q=xZ0(I.fields),K=J.map((q)=>jq1(q,Q));return{query:U,sourceDocumentSN:I.sn,simulationBatchId:I.batchId,latest:I.latest??!1,total:Y.total,scanned:Y.scanned,matched:K.length,records:K,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}'`},...I.includeBridge?{bridge:$D(J)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:X.object({batchId:X.string().describe("simulation batch ID"),query:X.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,I)=>{let U=sh(await ME($,I.batchId),I.query);return{batchId:I.batchId,count:U.length,records:U.map(YI),bridge:$D(U)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:X.object({mode:X.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:X.array(X.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:X.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:X.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:X.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:X.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:X.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:X.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:X.array(X.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:X.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:X.record(X.string(),X.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),rawParams:X.record(X.string(),X.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,I)=>{let U=I.mode??"hosecloud",Y=I.signKey;if(U==="hosecloud"&&!Y){if(Y=(await TE($)).find((q)=>q.signKey)?.signKey,!Y)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let J=Oq1({mode:U,flowIds:I.flowIds,rejectNodeName:I.rejectNodeName,thinkingDepthOverride:I.thinkingDepthOverride,skipInvoiceGeneration:I.skipInvoiceGeneration,skipExpenseExtraction:I.skipExpenseExtraction,disableAttachmentCache:I.disableAttachmentCache,signKey:Y,packageIds:I.packageIds,templateId:I.templateId,schemaConfig:I.schemaConfig,rawParams:I.rawParams});return{...U==="material_pack"?await $m($,J):await ed($,J),created:!0,next:{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:X.object({limit:X.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,I)=>{let U=await Im($,{limit:I.limit??50});return{count:U.length,batches:U.map(Nq1),next:{getBatch:"seal-home simulation get <batchId>",getRecords:"seal-home simulation batch-records <batchId>"}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:X.object({batchId:X.string().describe("simulation batch ID")}),handler:async($,I)=>{return{batch:await AE($,I.batchId),next:{getRecords:"seal-home simulation batch-records <batchId>"}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:X.object({}),handler:async($)=>{let I=await Um($);return{count:I.length,templates:I.map((U)=>({id:U.id,name:U.name,description:U.description,approvalSystem:U.approvalSystem,hosecloudConfig:U.hosecloudConfig,updatedAt:U.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:X.object({}),handler:async($)=>{let[I,U]=await Promise.all([PE($),TE($)]);return{status:I,hosecloudIntegrations:U}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:X.object({filePath:X.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,I)=>{if(!I.filePath)throw Error("filePath is required");let U=Zq1(I.filePath),Y=I.filePath.split(/[\\/]/).pop()??"material-pack.zip",J=await qm($,{fileName:Y,fileBuffer:U});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:X.object({filePath:X.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,I,U)=>{return aL($,U.corp,{filePath:I.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:X.object({filePath:X.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:X.enum(["preview","push"]).default("preview"),webhook:X.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,I)=>{let U=UI(I.filePath);if(I.mode!=="push")return II(U.fileBuffer,U.fileName);let Y=await Z9($),J;if(I.webhook)J=z9(Y,I.webhook);else if(Y.length===1)J=Y[0];else if(Y.length>1){let Q=Y.map((K)=>`"${K.name}" (${K.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Q}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return tL(U.fileBuffer,U.fileName,{webhookUrl:J.incomingDocumentWebhook.url,secret:J.secret,materialPackFilePolicy:J.materialPackFilePolicy})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:X.object({recordId:X.string().optional(),sourceDocumentSN:X.string().optional(),sourceDocumentId:X.string().optional(),simulationBatchId:X.string().optional(),limit:X.number().int().positive().max(100).optional()}),handler:async($,I)=>{let Y=(I.simulationBatchId?await ME($,I.simulationBatchId):(await X8($,{limit:I.limit??50,search:I.sourceDocumentSN??I.sourceDocumentId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId})).records).filter((J)=>kq1(J,{recordId:I.recordId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId}));return{count:Y.length,records:Y.map(YI),bridge:$D(Y)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:X.object({batchId:X.string().describe("模拟批次 ID"),timeout:X.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:X.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,I)=>{let U=hZ0(I.timeout??"10m"),Y=hZ0(I.pollInterval??"2s"),J=Date.now();while(!0){let Q=await AE($,I.batchId),K=(Q.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(K))return{batch:Q,completed:!0,status:K,elapsedMs:Date.now()-J,next:{getRecords:`seal-home simulation batch-records ${I.batchId}`}};if(Date.now()-J>=U)throw Error(`等待模拟批次 ${I.batchId} 超时(已等待 ${(Date.now()-J)/1000}s)。可稍后执行 seal-home simulation get ${I.batchId} 查看状态`);await new Promise((q)=>setTimeout(q,Y))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:X.object({batchId:X.string().describe("模拟批次 ID")}),handler:async($,I)=>{let U=await Ym($,I.batchId);return{batchId:I.batchId,cleaned:!0,result:U}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:X.object({signKey:X.string().optional().describe("合思集成 sign-key")}),handler:async($,I)=>{let U=await Jm($,I.signKey);return{count:U.length,specifications:U}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:X.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:X.object({}),handler:async($)=>{let U=((await q4($)).integrations??[]).filter((Y)=>Y.type==="hosecloud");return{count:U.length,integrations:U.map(sL)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:X.object({signKey:X.string().describe("合思集成 sign-key")}),handler:async($,I)=>{let Y=((await q4($)).integrations??[]).find((J)=>J.type==="hosecloud"&&J.signKey===I.signKey);if(!Y)throw Error(`未找到合思配置:${I.signKey}`);return sL(Y)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:X.object({}),handler:async($)=>{let I=await PE($),Y=((await q4($)).integrations??[]).filter((J)=>J.type==="hosecloud");return{status:I,integrations:Y.map(sL)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:X.object({apiKey:X.string().describe("合思 API Key (appKey)"),apiSecret:X.string().describe("合思 API Secret (appSecurity)"),signKey:X.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:X.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:X.string().optional(),specificationName:X.string().optional(),mode:X.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:X.number().min(0).max(100).optional(),rejectResubmitMethod:X.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:X.array(X.string()).optional(),apiOrigin:X.string().default("production"),customApiUrl:X.string().optional()}),handler:async($,I,U)=>{let Y=I.apiKey??I.appKey,J=I.apiSecret??I.appSecurity;if(!Y||!J)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let Q={...I,apiKey:Y,apiSecret:J},K=Q.apiOrigin??"production",q=Q.customApiUrl;if(!q&&K!=="custom")try{let Z=await zU(Q.apiKey,Q.apiSecret);if(Z?.domain)if(Z.domain==="https://app.ekuaibao.com")K="production",q=void 0;else K="custom",q=Z.domain}catch{}if(K==="custom"&&!q)throw Error("自定义合思环境必须提供 customApiUrl");let G=await Qm($,{apiKey:Q.apiKey,apiSecret:Q.apiSecret,apiOrigin:K,customApiUrl:q}),H=await q4($),W=Q.signKey??zq1(6).toString("hex"),V={type:"hosecloud",...Q,apiOrigin:K,...q?{customApiUrl:q}:{},signKey:W,corporationId:G.corporationId},z=(H.integrations??[]).filter((Z)=>Z.type!=="hosecloud"||Z.signKey!==W);return z.push(V),await y7($,{...H,integrationSystem:"hosecloud",integrations:z}),console.error(`✓ 配置已保存 (signKey: ${W})`),console.error(`\uD83D\uDC49 下一步操作:运行 \`seal-use deploy hosecloud sync ${W} --corp ${U.corp.id}\` 一键同步发布到合思审批流`),{integration:sL(V)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:X.object({signKey:X.string().describe("合思集成 sign-key")}),handler:async($,I,U)=>{let J=((await q4($)).integrations??[]).find((G)=>G.type==="hosecloud"&&G.signKey===I.signKey);if(!J)throw Error(`未找到合思配置:${I.signKey}`);let Q=(U.corp.seal.url??`https://${U.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),K=J.outboundName??"SealAI 审批",q=await Km($,{signKey:I.signKey,webhookUrl:`${Q}/api/hosecloud/outbound?config_id=${encodeURIComponent(I.signKey)}`,completionWebhookUrl:`${Q}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(I.signKey)}`,messageName:K,mode:J.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${K}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${K}"。`),{signKey:I.signKey,synced:!0,result:q}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:X.object({}),handler:async($)=>{let I=await q4($);return{decisionPreferences:I.decisionPreferences,thinkingDepthPreference:I.thinkingDepthPreference,ruleSetVersionId:I.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:X.object({explicitApprove:X.string().optional(),explicitReject:X.string().optional(),exemptApprove:X.string().optional(),review:X.string().optional()}),handler:async($,I)=>{let U=await q4($),Y={...U,decisionPreferences:{...U.decisionPreferences,...I}};return await y7($,Y),{decisionPreferences:Y.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:X.object({defaultLevel:X.enum(["medium","high"]).describe("默认思考深度")}),handler:async($,I)=>{let U=await q4($),Y={...U,thinkingDepthPreference:{defaultLevel:I.defaultLevel,routingPolicies:U.thinkingDepthPreference?.routingPolicies??[]}};return await y7($,Y),{thinkingDepthPreference:Y.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:X.object({}),handler:async($)=>{return{policies:(await q4($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:LE,handler:async($,I)=>{let U=await q4($),J=(U.thinkingDepthPreference?.routingPolicies??[]).filter((K)=>K.id!==I.id);J.push(I);let Q={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};return await y7($,Q),{policy:I,policies:J}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:X.object({policyId:X.string().describe("路由策略 ID")}),handler:async($,I)=>{let U=await q4($),Y=U.thinkingDepthPreference?.routingPolicies??[],J=Y.filter((K)=>K.id!==I.policyId);if(J.length===Y.length)throw Error(`未找到路由策略:${I.policyId}`);let Q={...U,thinkingDepthPreference:{defaultLevel:U.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};return await y7($,Q),{removedId:I.policyId,policies:J}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:X.object({since:X.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:X.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:X.string().optional(),sourceSystem:X.string().optional(),taskMode:X.string().optional()}),handler:async($,I)=>{let U=await X8($,{limit:1000,status:I.status,sourceSystem:I.sourceSystem,taskMode:I.taskMode}),Y=I.dedupeBy??"sourceDocumentSN",J=U.records,Q={},K={},q=new Set;for(let G of J){let H=G.status??"unknown";Q[H]=(Q[H]??0)+1;let W=G.sourceSystem??"unknown";K[W]=(K[W]??0)+1;let V=G[Y];if(V)q.add(String(V))}return{total:J.length,dedupeBy:Y,unique:q.size,byStatus:Q,bySourceSystem:K}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:X.object({status:X.string().optional(),sourceSystem:X.string().optional(),taskMode:X.string().optional(),search:X.string().optional()}),handler:async($,I)=>{let U=await X8($,{limit:1,status:I.status,sourceSystem:I.sourceSystem,taskMode:I.taskMode,search:I.search});return{total:U.total??U.records.length}}}],Xq1=new Map(JG.map(($)=>[$.name,$]));function C4($){return Xq1.get($)}function YG($,I){return I?$:{...$,secret:"<redacted>"}}function wq1($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return Q2($,$.source);return $.source.sealUrl}function Lq1($,I){let U=$.rules.length;if(I.countOnly||I.limit===0)return{count:U};let Y=I.offset??0,J=$.rules.slice(Y,I.limit===void 0?void 0:Y+I.limit),Q=I.fields;return{count:U,hasPendingDeletes:$.hasPendingDeletes,rules:Q?J.map((K)=>Dq1(K,Q)):J}}function Dq1($,I){let U={};for(let Y of I)if($[Y]!==void 0)U[Y]=$[Y];return U}function hZ0($){let I=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!I||!I[1])return 600000;let U=parseFloat(I[1]);switch((I[2]??"s").toLowerCase()){case"ms":return U;case"s":return U*1000;case"m":return U*60*1000;case"h":return U*3600*1000;case"d":return U*86400*1000;default:return U*1000}}function sL($){return Object.fromEntries(Object.entries($).map(([I,U])=>[I,["apiKey","apiSecret","secret"].includes(I)&&typeof U==="string"?"***":U]))}function Oq1($){let I=$.sourceSystem??$.mode??"hosecloud",U={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},Y=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((J)=>J.trim()).filter(Boolean):$.documentSn);if(I==="hosecloud"){if(!Y?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(U,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),Y?.length)U.flowIds=Y;if($.signKey)U.signKey=$.signKey;if($.startTime!==void 0)U.startTime=$.startTime;if($.endTime!==void 0)U.endTime=$.endTime;if($.status)U.status=$.status;if($.limit)U.limit=$.limit}else if(I==="material_pack"||I==="material-pack"){let J=$.packageIds??($.packageId?[$.packageId]:void 0);if(!J?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let Q=$.templateId??$.schemaConfig?.id;if(!Q)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(U,{templateId:Q,packageIds:J,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)U.schemaConfig=$.schemaConfig}else if(I==="weaver")Object.assign(U,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(I==="helios")Object.assign(U,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(I==="maycur"||I==="maycur-standard")Object.assign(U,{sourceSystem:I,formCodes:$.formCodes??Y,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(I==="feishu")Object.assign(U,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(U,{sourceSystem:I});if($.rawParams)Object.assign(U,$.rawParams);return U}function Nq1($){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 YI($){let I=$.sourceDocumentSN,U=JI($),Y=YD($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:I,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:I?`hosecloud-${I}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:U?.value,humanResultPath:U?.path,aiDecision:Y.decision,aiSummary:Y.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function Fq1($,I){return{date:I.date,timezone:I.timezone,fetched:I.fetched,matched:$.length,total:I.total,statusCounts:nZ0($,(U)=>U.status??"unknown"),taskModeCounts:nZ0($,(U)=>U.taskMode??"unknown"),records:$.map((U)=>{let Y=YI(U);return{createdAt:cZ0(Y.createdAt,I.timezone),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:cZ0(Y.ruleSetPublishedAt,I.timezone),ruleSetPublishedByName:Y.ruleSetPublishedByName,humanResult:Y.humanResult,humanResultPath:Y.humanResultPath,recordId:Y.id}})}}function xZ0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((U)=>U.trim()).filter(Boolean)}function dZ0($,I){let U={};for(let Y of I){if(Y==="metadata"){U.metadata=mZ0($);continue}let J=b5($,Y);if(J!==void 0)Pq1(U,Y,J)}return U}function mZ0($){let I=YI($);return{recordId:I.id,tenantId:I.tenantId,agentId:I.agentId,sourceSystem:I.sourceSystem,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId,documentId:I.documentId,status:I.status,taskMode:I.taskMode,finalExecutionMode:I.finalExecutionMode,simulationBatchId:I.simulationBatchId,langfuseTraceId:I.langfuseTraceId,langfuseSessionFallback:I.langfuseSessionFallback,ruleSetVersionNumber:I.ruleSetVersionNumber,ruleSetPublishedAt:I.ruleSetPublishedAt,ruleSetPublishedByName:I.ruleSetPublishedByName,createdAt:I.createdAt,updatedAt:I.updatedAt}}function Mq1($){return{metadata:mZ0($),document:lZ0($).document,aiResult:YD($),manualResult:JI($)?.value,manualResultPath:JI($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function YD($){let I=QG($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:ID(I,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:ID(I,["summary","result.summary","review.summary","conclusion"]),riskPointCount:kZ0(I,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:kZ0(I,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function lZ0($){let I=QG($.document),U=Eq1($.document),Y=U.map((J)=>`${J.label??J.path??""}:${J.value??""}`).join(`
`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:MJ({id:I?.id,sn:I?.sn??I?.sourceDocumentSN??$.sourceDocumentSN,title:I?.title??I?.name,template:ID(I,["template.name","templateName","form.name","formName","formTitle"]),amount:eL(U,["金额","报销金额","付款金额","合计","价税合计"])??ID(I,["amount","totalAmount","expenseAmount"]),expenseType:eL(U,["费用类型","费用类别","报销类型"]),costCompany:eL(U,["费用承担公司","承担公司","成本中心","费用归属"]),payee:eL(U,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:U.slice(0,30)}),invoices:Bq1($),attachments:WJ($,{summary:!0}).attachments,aiResult:YD($),manualResult:JI($)?.value,hints:MJ({amountMentions:uZ0(Y,["金额","合计","税率"],8),partyMentions:uZ0(Y,["买方","卖方","甲方","乙方","收款"],8)})}}function Aq1($){let I=[["result.citedRules",b5($,"result.citedRules")],["result.matchedRules",b5($,"result.matchedRules")],["result.ruleResults",b5($,"result.ruleResults")],["result.rules",b5($,"result.rules")],["pipelineData.citedRules",b5($,"pipelineData.citedRules")],["pipelineData.matchedRules",b5($,"pipelineData.matchedRules")]],U=[],Y=new Set;for(let[J,Q]of I)(Array.isArray(Q)?Q:Q&&typeof Q==="object"?Object.values(Q):[]).forEach((q,G)=>{let H=QG(q);if(!H)return;let W=$4(H.runtimeRuleId)??$4(H.runtimeId)??$4(H.id)??$4(H.ruleId),V=$4(H.ruleCode)??$4(H.code)??(W?Cq1(W):void 0),z=MJ({runtimeRuleId:W,ruleCode:V,versionNumber:Tq1(H.versionNumber)??$.ruleSetVersionNumber,scope:$4(H.scope),strictness:$4(H.strictness),appliedAnalysis:H.appliedAnalysis??H.analysis??H.reasoning,checkResult:H.checkResult??H.result??H.decision,findings:H.findings??H.riskPoints??H.evidence,sourcePath:`${J}.${G}`}),Z=JSON.stringify(z);if(!Y.has(Z))Y.add(Z),U.push(z)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:U.length,rules:U}}function ID($,I){if(!$)return;for(let U of I){let Y=b5($,U);if(Y!==void 0)return Y}return}function kZ0($,I){if(!$)return 0;for(let U of I){let Y=b5($,U);if(Array.isArray(Y))return Y.length;if(Y&&typeof Y==="object")return Object.keys(Y).length;if(typeof Y==="number")return Y}return 0}function b5($,I){return I.split(".").reduce((U,Y)=>{if(U===void 0||U===null)return;if(Array.isArray(U)){let J=Number(Y);return Number.isInteger(J)?U[J]:void 0}if(typeof U==="object")return U[Y];return},$)}function Pq1($,I,U){let Y=I.split("."),J=$;for(let Q of Y.slice(0,-1)){let K=J[Q];if(!K||typeof K!=="object"||Array.isArray(K))J[Q]={};J=J[Q]}J[Y[Y.length-1]??I]=U}function MJ($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}function QG($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function Tq1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Eq1($){let I=[];return mh($,"document",I),I}function mh($,I,U){if(Array.isArray($)){$.forEach((K,q)=>mh(K,`${I}.${q}`,U));return}let Y=QG($);if(!Y)return;let J=$4(Y.label)??$4(Y.name)??$4(Y.title)??$4(Y.fieldName),Q=Y.value??Y.displayValue??Y.text??Y.content;if(J&&Q!==void 0&&typeof Q!=="object")U.push(MJ({path:I,label:J,value:Q,type:$4(Y.type)??$4(Y.fieldType)}));for(let[K,q]of Object.entries(Y)){if(K==="attachments")continue;mh(q,`${I}.${K}`,U)}}function eL($,I){return $.find((Y)=>{let J=$4(Y.label)??"";return I.some((Q)=>J.includes(Q))})?.value}function Bq1($){let I=[];return UD($.result,"result",I),UD($.document,"document",I),I.slice(0,20)}function UD($,I,U){if(Array.isArray($)){$.forEach((J,Q)=>UD(J,`${I}.${Q}`,U));return}let Y=QG($);if(!Y)return;if(/invoice|发票/i.test(I))U.push(MJ({path:I,fileName:$4(Y.fileName)??$4(Y.filename)??$4(Y.name),buyer:Y.buyer??Y.buyerName??Y.purchaserName,seller:Y.seller??Y.sellerName,amount:Y.amount??Y.totalAmount??Y.total,taxRate:Y.taxRate,category:Y.category??Y.type}));for(let[J,Q]of Object.entries(Y))UD(Q,`${I}.${J}`,U)}function uZ0($,I,U){return $.split(/\r?\n/).filter((Y)=>I.some((J)=>Y.includes(J))).slice(0,U)}function $D($){return $.map((I)=>{let U=YI(I);return{recordId:U.id,tenantId:U.tenantId,agentId:U.agentId,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,langfuseTraceId:U.langfuseTraceId,langfuseSessionFallback:U.langfuseSessionFallback,ruleSetVersionNumber:U.ruleSetVersionNumber,ruleSetPublishedAt:U.ruleSetPublishedAt,ruleSetPublishedByName:U.ruleSetPublishedByName,resolution:U.langfuseTraceId?"trace":U.langfuseSessionFallback?"session-fallback":"unresolved"}})}function ch($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function Rq1($,I){if(I.recordId&&!I.versionId&&!I.versionNumber&&!I.latest){let U=await f4($,I.recordId);if(!U.ruleSetVersionNumber)throw Error(`Approval run ${I.recordId} has no ruleSetVersionNumber`);return lh($,{versionNumber:U.ruleSetVersionNumber})}return lh($,I)}function vq1($,I){let U=dh(I.code),Y=oZ0(I.runtimeId),J=U?Number(U.slice(1)):Y;if(!J||J<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let Q=$.rules.find((G,H)=>{let W=G;return dh($4(W.code)??$4(W.ruleCode))===U||H+1===J});if(!Q)return;let K=Q,q=$.rules.indexOf(Q)+1;return MJ({runtimeRuleId:$4(K.runtimeRuleId)??`rule-${q}`,ruleCode:dh($4(K.code)??$4(K.ruleCode))??ah(q),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:Q.description,scope:Q.scope,strictness:Q.strictness,status:$4(K.status)})}function dh($){if(!$)return;let I=$.match(/\d+/)?.[0];return I?ah(Number(I)):$}function oZ0($){if(!$)return;let I=$.match(/(\d+)$/);return I?Number(I[1]):void 0}function Cq1($){let I=oZ0($);return I?ah(I):void 0}function ah($){return`#${String($).padStart(4,"0")}`}function jq1($,I){let U=YI($),Y={recordId:U.id,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,status:U.status,taskMode:U.taskMode,ruleSetVersionNumber:U.ruleSetVersionNumber,langfuseTraceId:U.langfuseTraceId,manualResult:U.humanResult,aiDecision:U.aiDecision,aiSummary:U.aiSummary,createdAt:U.createdAt};if(I.length===0)return Y;return dZ0(Y,I)}async function _q1($,I){if(I.recordId)return f4($,I.recordId);let Y=(await X8($,{limit:1,search:I.sourceDocumentSN??I.sourceDocumentId,sourceDocumentSN:I.sourceDocumentSN,sourceDocumentId:I.sourceDocumentId})).records[0];if(!Y){let J=I.sourceDocumentSN?`sourceDocumentSN ${I.sourceDocumentSN}`:`sourceDocumentId ${I.sourceDocumentId}`;throw Error(`Approval run not found for ${J}`)}return f4($,Y.id)}function Sq1($){return $.replace(/\/+$/,"")}function $4($){return typeof $==="string"&&$.trim()?$:void 0}async function gq1($,I){let U=Math.min(100,Math.max(I.limit,20)),Y=[],J,Q=0;while(Q<I.maxScan&&Y.length<I.limit){let K=await X8($,{offset:Q,limit:Math.min(U,I.maxScan-Q),search:I.sn??I.query,sourceDocumentSN:I.sn});J=K.total,Q+=K.records.length;let q=sh(K.records,I.query).filter((G)=>!I.sn||G.sourceDocumentSN===I.sn).filter((G)=>!I.batchId||G.sourceExtendData?.simulation_batch_id===I.batchId);if(Y.push(...q),K.records.length===0||J!==void 0&&Q>=J)break}return Y.sort((K,q)=>fZ0(q.createdAt)-fZ0(K.createdAt)),{total:J,scanned:Q,records:Y.slice(0,I.latest?1:I.limit)}}function fZ0($){if(typeof $==="number")return $;if(typeof $==="string"){let I=Date.parse($);return Number.isFinite(I)?I:0}return 0}async function lh($,I){if(I.versionId)return W2($,I.versionId);let U=await Y5($),Y=I.versionNumber?U.find((J)=>J.versionNumber===I.versionNumber):U[0];if(!Y)throw Error(I.versionNumber?`Rule version not found: ${I.versionNumber}`:"No rule versions found");return Y}function sh($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>{return[Y.id,Y.sourceDocumentSN,Y.sourceDocumentId,Y.documentId,Y.sourceExtendData?._langfuseTraceId,Y.sourceExtendData?.simulation_batch_id,Y.status,Y.taskMode,Y.finalExecutionMode,Y.sourceSystem,Y.ruleSetVersionNumber,Y.ruleSetPublishedByName].some((Q)=>oh(Q,U))||rh(Y,U)})}function oh($,I){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(I);return!1}function rh($,I,U=0){if(U>6)return!1;if(oh($,I))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((Y)=>rh(Y,I,U+1));return Object.entries($).some(([Y,J])=>oh(Y,I)||rh(J,I,U+1))}function yq1($,I){let U=I?.trim().toLowerCase();if(!U)return $;return $.filter((Y)=>JI(Y)?.value.toLowerCase().includes(U))}function hq1($){return{...$,manualApprovalStatus:rZ0($.manualApprovalStatus,$.humanResult)}}function rZ0($,I){if($)return $;let U=I?.trim().toLowerCase();if(!U)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(U))return"TERMINATED";return}async function bZ0($,I,U){let Y=sh(I,U.query);if(!U.humanResult?.trim())return Y;let J=await Promise.all(Y.map(async(Q)=>{if(JI(Q))return Q;try{return await f4($,Q.id)}catch{return Q}}));return yq1(J,U.humanResult)}function xq1($){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 JI($){let I=[["result",$.result],["pipelineData",$.pipelineData]];for(let[U,Y]of I){let J=th(Y,U);if(J)return J}return}function th($,I,U=0){if(U>8||$===null||$===void 0)return;if(Array.isArray($)){for(let Y=0;Y<$.length;Y+=1){let J=th($[Y],`${I}[${Y}]`,U+1);if(J)return J}return}if(typeof $!=="object")return;for(let[Y,J]of Object.entries($)){let Q=`${I}.${Y}`,K=th(J,Q,U+1);if(K)return K;if(iZ0(Y)||iZ0(Q)){let q=tZ0(J);if(q)return{value:q,path:Q}}}return}function iZ0($){let I=$.toLowerCase(),U=I.includes("human")||I.includes("manual")||I.includes("reviewer")||I.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),Y=I.includes("result")||I.includes("decision")||I.includes("outcome")||I.includes("conclusion")||I.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return U&&Y}function tZ0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let I=$;for(let U of["label","name","text","value","result","decision","outcome","status","action"]){let Y=tZ0(I[U]);if(Y)return Y}return}function kq1($,I){if(I.recordId&&$.id!==I.recordId)return!1;if(I.sourceDocumentSN&&$.sourceDocumentSN!==I.sourceDocumentSN)return!1;if(I.sourceDocumentId&&$.sourceDocumentId!==I.sourceDocumentId)return!1;return!0}function nZ0($,I){return $.reduce((U,Y)=>{let J=I(Y);return U[J]=(U[J]??0)+1,U},{})}function pZ0($,I){let U=aZ0($);if(!U)return;let Y=sZ0(U,I),J=Y.year,Q=(Y.month??"01").padStart(2,"0"),K=(Y.day??"01").padStart(2,"0");return`${J}-${Q}-${K}`}function cZ0($,I){let U=aZ0($);if(!U)return;let Y=sZ0(U,I),J=(Y.month??"01").padStart(2,"0"),Q=(Y.day??"01").padStart(2,"0"),K=(Y.hour??"00").padStart(2,"0"),q=(Y.minute??"00").padStart(2,"0"),G=(Y.second??"00").padStart(2,"0");return`${Y.year??"0000"}-${J}-${Q} ${K}:${q}:${G}`}function aZ0($){if($===void 0)return null;let I=new Date($);return Number.isNaN(I.getTime())?null:I}function sZ0($,I){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:I,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((U)=>U.type!=="literal").map((U)=>[U.type,U.value]))}import{writeFileSync as uq1}from"node:fs";function eZ0($){let I=[],U={},Y;for(let J=0;J<$.length;J+=1){let Q=$[J];if(!Q)continue;if(Q==="--json"){let K=$[J+1];if(!K)throw Error("--json requires a JSON object argument");Y=JSON.parse(K),J+=1;continue}if(Q.startsWith("-")){let K=Q.replace(/^-+/,"");if(K.includes("=")){let G=K.indexOf("="),H=K.slice(0,G),W=K.slice(G+1);U[H]=W;continue}let q=$[J+1];if(!q||q.startsWith("-"))U[K]=!0;else U[K]=q,J+=1;continue}I.push(Q)}return{command:I,options:U,json:Y}}function t6($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw Error("--json must be an object");return $}function h($){return typeof $==="string"?$:void 0}function a0($){if(typeof $!=="string")return;let I=Number($);if(!Number.isFinite(I))throw Error(`Invalid number: ${$}`);return I}function W6($){if(typeof $!=="string")return;let I=$.split(",").map((U)=>U.trim()).filter(Boolean);return I.length?I:void 0}function _0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw Error(`Invalid boolean: ${$}`)}function z7($,I){let U=i1($,I);if(!U)throw Error(`Missing required JSON field: ${I}`);return U}function i1($,I){let U=$[I];return typeof U==="string"&&U.trim()?U.trim():void 0}function $z0($,I){let U=$[I];return typeof U==="number"&&Number.isFinite(U)?U:void 0}function eh($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function Iz0($){let I=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(I))return!0;if(["stateless","无状态"].includes(I))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function KG($){if($==="latest")return{latest:!0};let I=Number($);if(Number.isInteger(I)&&I>0)return{versionNumber:I};return{versionId:$}}function Uz0($){if(!$)return{};let I=KG($);if("latest"in I)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in I)return{ruleVersionScope:"version",ruleVersionNumber:I.versionNumber};return{ruleVersionScope:"version",ruleVersionId:I.versionId}}function Yz0($){if(!$)return{};let I=KG($);if("latest"in I)return{latestRuleVersion:!0};if("versionNumber"in I)return{ruleVersionNumber:I.versionNumber};return{ruleVersionId:I.versionId}}function Jz0($){if(!$)return{};let I=KG($);if("latest"in I)return{latest:!0};if("versionNumber"in I)return{versionNumber:I.versionNumber};return{versionId:I.versionId}}function $x($){if(!$)return;let I=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),Y={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[I];if(!Y)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return Y}function Ix($){let I=a0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(I!==void 0&&(!Number.isInteger(I)||I<0||I>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return I}function Ux($){return _0($.showSecret)??_0($["show-secret"])}function qG($){let I=a0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),U=a0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),Y=W6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(I===void 0&&U===void 0&&Y===void 0)return;return{minFileSizeBytes:I,maxFileSizeBytes:U,allowedExtensions:Y}}var fq1=100,bq1=120000,Qz0=["id","code","status","strictness","scope","createdAt","updatedAt"],iq1=200000;function Yx($){return $.map((I)=>typeof I==="string"?I:String(I)).join(" ")}function GG($){if(!$.length)return"";return`${$.join(`
`)}
`}function HG($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1<redacted>").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1<redacted>")}function E0($,I={}){nq1($,I);let U=`${JSON.stringify($,null,2)}
`;if(I.outputFile){uq1(I.outputFile,U),console.log(JSON.stringify({outputFile:I.outputFile,bytes:Buffer.byteLength(U,"utf-8")},null,2));return}console.log(U.trimEnd())}function nq1($,I={}){if(I.allowFull||I.outputFile)return;let U=Buffer.byteLength(JSON.stringify($),"utf-8");if(U>iq1)throw Error(`Output is large (${U} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function Kz0($,I){if(I)return;let U=$&&typeof $==="object"?$:{},Y=typeof U.count==="number"?U.count:void 0,J=Array.isArray(U.rules)?U.rules.length:void 0,Q=Buffer.byteLength(JSON.stringify($),"utf-8"),K=Y??J??0;if(K>fq1||Q>bq1)throw Error(`Rule list is large (${K} rules, ${Q} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`)}function D0($){return{allowFull:_0($.full)===!0,outputFile:h($.outputFile)??h($["output-file"])}}function qz0(){console.log(`seal-use CLI
Usage:
seal-use version
seal-use mcp
seal-use mcp config
seal-use mcp-config
seal-use skill dump
seal-use skill install [--dir <path>|--local]
seal-use skill status
seal-use http [--port 8787] [--host 127.0.0.1]
seal-use serve [--port 8787]
seal-use openapi
seal-use probe [<corpId>]
seal-use config paths
seal-use config get
seal-use config mode <stateful|stateless> [--corp <corpId>]
seal-use config test-dir [<path>|--clear]
seal-use config lint [status|enable|disable] [--linter <name|path>] [--min-score <score>]
seal-use update [--check] [--force] [--version <v>]
seal-use update check
seal-use update changelog [--limit <n>]
seal-use changelog [--limit <n>]
seal-use tools list
seal-use corps list [--corp <corpId>]
seal-use corps current [--corp <corpId>]
seal-use corps switch <corpId>
seal-use corps add-hose --json '{"name":"企业名称","domain":"https://app.ekuaibao.com","appKey":"...","appSecurity":"...","proxyStaffBizId":"corpId:staffId"}'
seal-use corps add-seal --json '{"sealUrl":"https://tenant.sealai.cc","token":"seal-bearer-token"}'
seal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--overwrite]
seal-use auth diagnose [--corp <corpId>]
seal-use auth hose-link [--corp <corpId>] [--expire 7200]
seal-use delegation list [--corp <corpId>]
seal-use delegation create [--note <note>] [--from-link <url>] [--corp <corpId>]
seal-use delegation revoke <tokenId> [--corp <corpId>]
seal-use users create --name <name> --phone <phone> [--dept <deptId>] [--corp <corpId>]
seal-use users search <keyword> [--corp <corpId>]
seal-use users delegation <userIdOrPhone|name> [--note <note>] [--corp <corpId>]
seal-use users reset-password <userId> [--corp <corpId>]
seal-use users get <userId> [--corp <corpId>]
seal-use users delete <userId> [--corp <corpId>]
seal-use llm config [--corp <corpId>]
seal-use llm providers [--corp <corpId>]
seal-use permissions available [--corp <corpId>]
seal-use permissions configs [--corp <corpId>]
seal-use billing status [--corp <corpId>]
seal-use billing plans [--corp <corpId>]
seal-use billing features [--corp <corpId>]
seal-use webhook ready [<材料包.zip>] [--webhook <idOrName>] [--corp <corpId>]
seal-use webhook status [<材料包.zip>] [--corp <corpId>]
seal-use webhook list [--query <text>] [--show-secret] [--corp <corpId>]
seal-use webhook get|find <idOrName> [--show-secret] [--corp <corpId>]
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,...>] [--corp <corpId>]
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,...>] [--corp <corpId>]
seal-use webhook delete <idOrName> --yes [--corp <corpId>]
seal-use webhook material-pack preview <材料包.zip|信息表.xlsx> [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] [--corp <corpId>]
seal-use webhook material-pack push <材料包.zip|信息表.xlsx> [--webhook <idOrName>] [--corp <corpId>]
seal-use deploy hosecloud requirements [--corp <corpId>]
seal-use deploy hosecloud list [--corp <corpId>]
seal-use deploy hosecloud get <sign-key> [--corp <corpId>]
seal-use deploy hosecloud status [--corp <corpId>]
seal-use deploy hosecloud configure --json '{...}' [--corp <corpId>]
seal-use deploy hosecloud sync <sign-key> [--corp <corpId>]
seal-use preference get [--corp <corpId>]
seal-use preference decision update --json '{"explicitApprove":"..."}' [--corp <corpId>]
seal-use preference thinking-depth set --default <medium|high> [--corp <corpId>]
seal-use preference thinking-depth policies list [--corp <corpId>]
seal-use preference thinking-depth policies upsert --json '{...}' [--corp <corpId>]
seal-use preference thinking-depth policies remove <policyId> [--corp <corpId>]
seal-use source config [--corp <corpId>]
seal-use tool <toolName> [--corp <corpId>] [--json '{"key":"value"}']
seal-use rules count [--corp <corpId>]
seal-use rules list [--summary] [--count] [--limit 20] [--offset 0] [--corp <corpId>]
seal-use rules clear [--corp <corpId>] [--dry-run|--yes]
seal-use rules versions [--corp <corpId>]
seal-use rules version <versionId|versionNumber|latest> [--corp <corpId>]
seal-use rules get --corp <corpId> --version <number|latest> --code '#0038'
seal-use rules get --corp <corpId> --record-id <recordId> --runtime-id rule-205
seal-use rules search <keyword> [--version <versionId|versionNumber|latest>] [--maxResults 20] [--corp <corpId>]
seal-use context [--ruleVersion <versionId|versionNumber|latest>] [--documentLimit 50] [--corp <corpId>]
seal-use approval-runs summary [--date YYYY-MM-DD] [--timezone Asia/Shanghai] [--corp <corpId>]
seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id] [--corp <corpId>]
seal-use approval-runs count [--status APPROVED] [--corp <corpId>]
seal-use approval-runs export [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>] [--limit <n>] [--downloads] [--out <file>] [--corp <corpId>]
seal-use approval-runs list|search [--query text] [--humanResult 驳回] [--manualApprovalStatus TERMINATED] [--startDate ms] [--endDate ms] [--limit 20] [--includeBridge true] [--corp <corpId>]
seal-use approval-runs pick --sn <documentSN> [--batch <batchId>] [--latest] [--fields recordId,status,aiDecision] [--corp <corpId>]
seal-use approval-runs get <recordId> [--summary] [--fields metadata|document.fields,result.summary] [--full] [--output-file file.json] [--corp <corpId>]
seal-use approval-runs cited-rules <recordId> [--corp <corpId>]
seal-use approval-runs document-summary <recordId> [--corp <corpId>]
seal-use approval-runs attachments <recordId> [--summary] [--corp <corpId>]
seal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>] [--corp <corpId>]
seal-use approval-runs result <recordId> [--summary] [--corp <corpId>]
seal-use approval-runs url [--corp <corpId>]
seal-use approval-runs url <recordId> [--corp <corpId>]
seal-use approval-runs url --sourceDocumentSN B26022501 [--corp <corpId>]
seal-use approval-runs bridge [--sourceDocumentSN B26001887] [--corp <corpId>]
seal-use simulation batch-records <batchId> [--corp <corpId>]
seal-use simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--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>]
seal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s] [--corp <corpId>]
seal-use simulation clean <batchId> [--corp <corpId>]
seal-use simulation specifications [--integration <sign-key>] [--corp <corpId>]
seal-use simulation list [--limit 50] [--corp <corpId>]
seal-use simulation get <batchId> [--corp <corpId>]
seal-use simulation templates [--corp <corpId>]
seal-use simulation integrations [--corp <corpId>]
seal-use simulation package-upload <材料包.zip> [--corp <corpId>]
`)}function D4($){let I=b8(),U=L4();return VJ(I,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$},r3())}function QI($=L4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:t3()}}async function N0($,I,U,Y,J={}){E0(await KI($,I,U,Y),J)}async function KI($,I,U,Y){let J=JG.find((q)=>q.name===$);if(!J)throw Error(`Unknown Seal tool: ${$}`);let Q=Object.fromEntries(Object.entries(Y).filter(([,q])=>q!==void 0)),K=J.handler;return K(I,Q,{corp:U})}async function Gz0($,I,U,Y,J){if($==="summary"){let Q=await KI("seal_approval_runs_summary",U,Y,{date:h(J.options.date),timezone:h(J.options.timezone),limit:a0(J.options.limit),startDate:h(J.options.startDate),endDate:h(J.options.endDate),status:h(J.options.status),taskMode:h(J.options.taskMode),manualApprovalStatus:h(J.options.manualApprovalStatus),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),humanResult:h(J.options.humanResult),query:h(J.options.query)});if(Q?.matched===0&&Q?.total>0)console.error(`提示:在 ${Q.date} 未匹配到记录(该企业共有 ${Q.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);E0(Q,D0(J.options));return}if($==="stats"){await N0("seal_approval_runs_stats",U,Y,{since:h(J.options.since),dedupeBy:h(J.options.dedupeBy)??h(J.options["dedupe-by"]),status:h(J.options.status),sourceSystem:h(J.options.sourceSystem)??h(J.options["source-system"]),taskMode:h(J.options.taskMode)??h(J.options["task-mode"])},D0(J.options));return}if($==="count"){await N0("seal_approval_runs_count",U,Y,{status:h(J.options.status),sourceSystem:h(J.options.sourceSystem)??h(J.options["source-system"]),taskMode:h(J.options.taskMode)??h(J.options["task-mode"]),search:h(J.options.search)??h(J.options.query)},D0(J.options));return}if($==="search"||$==="list"){await N0("seal_approval_runs_search",U,Y,{limit:a0(J.options.limit),offset:a0(J.options.offset),startDate:h(J.options.startDate),endDate:h(J.options.endDate),status:h(J.options.status),taskMode:h(J.options.taskMode),manualApprovalStatus:h(J.options.manualApprovalStatus),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),humanResult:h(J.options.humanResult),query:h(J.options.query),includeBridge:_0(J.options.includeBridge)},D0(J.options));return}if($==="bridge"){await N0("seal_approval_run_langfuse_bridge_get",U,Y,{recordId:h(J.options.recordId),sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId),simulationBatchId:h(J.options.simulationBatchId),limit:a0(J.options.limit)},D0(J.options));return}if($==="pick"){let Q=I??h(J.options.query)??h(J.options.sn);if(!Q)throw Error("Usage: seal-use approval-runs pick --sn <documentSN>");await N0("seal_approval_run_pick",U,Y,{query:Q,sn:h(J.options.sn),batchId:h(J.options.batch)??h(J.options.batchId),latest:_0(J.options.latest),fields:h(J.options.fields),limit:a0(J.options.limit),includeBridge:_0(J.options.includeBridge)},D0(J.options));return}if($==="get"){let Q=J.command[2];if(!Q)throw Error("Missing approval run recordId");await N0("seal_approval_run_get",U,Y,{recordId:Q,fields:h(J.options.fields),summary:_0(J.options.summary)},D0(J.options));return}if($==="cited-rules"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs cited-rules <recordId>");await N0("seal_approval_run_cited_rules_get",U,Y,{recordId:Q},D0(J.options));return}if($==="document-summary"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs document-summary <recordId>");await N0("seal_approval_run_document_summary_get",U,Y,{recordId:Q},D0(J.options));return}if($==="attachments"){if(J.command[2]==="download"){let H=J.command[3];if(!H)throw Error("Usage: seal-use approval-runs attachments download <recordId> [--all] [--name <name>] [--out-dir <dir>]");let W=await f4(U,H),V=await EL({record:W,all:_0(J.options.all),name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(E0(V,D0(J.options)),V.total>0&&V.downloaded===0)throw Error(`所有 ${V.total} 个附件下载均失败。`);return}let K=J.command[2];if(!K)throw Error("Usage: seal-use approval-runs attachments <recordId> | seal-use approval-runs attachments download <recordId>");if(_0(J.options.download)){let H=await f4(U,K),W=await EL({record:H,all:_0(J.options.all)??!0,name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(E0(W,D0(J.options)),W.total>0&&W.downloaded===0)throw Error(`所有 ${W.total} 个附件下载均失败。`);return}let q=await f4(U,K),G=WJ(q,{summary:_0(J.options.summary)});E0(G,D0(J.options));return}if($==="download"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs download <recordId> [--all] [--name <name>] [--out-dir <dir>]");let K=await f4(U,Q),q=await EL({record:K,all:_0(J.options.all),name:h(J.options.name),outDir:h(J.options["out-dir"])??h(J.options.outDir)??h(J.options.dir)});if(E0(q,D0(J.options)),q.total>0&&q.downloaded===0)throw Error(`所有 ${q.total} 个附件下载均失败。`);return}if($==="result"){let Q=J.command[2];if(!Q)throw Error("Usage: seal-use approval-runs result <recordId> [--summary]");await N0("seal_approval_run_result_get",U,Y,{recordId:Q,summary:_0(J.options.summary)},D0(J.options));return}if($==="url"){await N0("seal_approval_run_url_get",U,Y,{recordId:I,sourceDocumentSN:h(J.options.sourceDocumentSN),sourceDocumentId:h(J.options.sourceDocumentId)},D0(J.options));return}if($==="export"){let Q=await TL(U,Y,{limit:a0(J.options.limit),startDate:h(J.options.start)??h(J.options.startDate)??h(J.options.since),endDate:h(J.options.end)??h(J.options.endDate),status:h(J.options.status),manualApprovalStatus:h(J.options["manual-status"])??h(J.options.manualStatus)??h(J.options.manualApprovalStatus),includeCompletedOnly:_0(J.options["completed-only"])??_0(J.options.completedOnly),outputFile:h(J.options.out)??h(J.options.output)??h(J.options.file),toDownloads:_0(J.options.downloads)??_0(J.options.download)});E0(Q,D0(J.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}async function Vz0($,I,U){if($==="diagnose"){E0(await pq1(I));return}if($==="hose-link"){let Y=a0(U.options.expire)??7200;E0(await Yd(I,Y));return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function pq1($){if($.source.type!=="hose"){let w=await U4($),L=await N$(w);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:L.user,tenant:L.tenant}]}}OV($.id);let I=$.source,U=I.appKey??I.key,Y=I.appSecurity??I.password,J=($.seal.url??I.sealUrl??`https://${I.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),Q=I.staffId.includes(":")?I.staffId:`${I.corpId}:${I.staffId}`,K=[];if(!U||!Y)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 JD("hose.openapi",async()=>{let w=await Hz0(`${I.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:U,appSecurity:Y}),L=i5(w.value),D=c4(L.accessToken)??c4(w.accessToken)??c4(w.token);if(!D)throw Error("Hose login did not return an access token");return{token:D,public:{corporationId:c4(L.corporationId)??c4(i5(L.corporation).id),expireTime:WG(L.expireTime)}}});K.push(q.public);let G=q.private?.token,H=G?await JD("hose.provisional",async()=>{let w=await Hz0(`${I.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(G)}`,{uid:Q,pageType:"home",expireDate:7200}),L=c4(i5(w.value).message);if(!L)throw Error("Hose CloseAPI did not return a provisional auth URL");let D=new URL(L).searchParams.get("accessToken");if(!D)throw Error("Hose provisional auth URL did not include accessToken");return{token:D,public:{uid:Q,enterpriseUrl:HG(L)}}}):Jx("hose.provisional");K.push(H.public);let W=H.private?.token,V=W?await JD("seal.sso",async()=>{let w=await Wz0(`${J}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(W)}&returnToken=1`),L=i5(w.data),D=c4(w.token)??c4(w.accessToken)??c4(L.token)??c4(L.accessToken);if(!D)throw Error("Seal SSO did not return a bearer token");return{token:D,public:{sealUrl:J,expiresIn:WG(w.expiresIn)??WG(w.expires_in)??WG(L.expiresIn)??WG(L.expires_in)}}}):Jx("seal.sso");K.push(V.public);let z=V.private?.token,Z=z?await JD("seal.whoami",async()=>{let w=await Wz0(`${J}/api/v1/auth/me`,{authorization:`Bearer ${z}`}),L=i5(w.data),D=i5(L.user??w.user),N=i5(L.tenant??w.tenant);return{public:{user:{id:c4(D.id),name:c4(D.name),isAdmin:cq1(D.isAdmin),providerUserId:c4(D.providerUserId)},tenant:{id:c4(N.id),name:c4(N.name),tenantSlug:c4(N.tenantSlug),hoseCorpConfig:dq1(N.hoseCorpConfig)}}}}):Jx("seal.whoami");return K.push(Z.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:K.every((w)=>w.ok===!0),stages:K}}async function JD($,I){try{let U=await I();return{public:{name:$,ok:!0,...zz0(U.public)},private:U.token?{token:U.token}:void 0}}catch(U){return{public:{name:$,ok:!1,error:HG(U instanceof Error?U.message:String(U))}}}}function Jx($){return{public:{name:$,ok:!1,skipped:!0}}}async function Hz0($,I){let U=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(I)});return Zz0(U)}async function Wz0($,I={}){let U=await fetch($,{headers:I});return Zz0(U)}async function Zz0($){let I=await $.text();if(!$.ok)throw Error(`${$.status} ${I}`);let U=JSON.parse(I);return i5(U)}function i5($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function c4($){return typeof $==="string"&&$?$:void 0}function WG($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function cq1($){return typeof $==="boolean"?$:void 0}function dq1($){let I=i5($);return zz0({corporationId:c4(I.corporationId),corporationName:c4(I.corporationName)})}function zz0($){return Object.fromEntries(Object.entries($).filter(([,I])=>I!==void 0))}async function Xz0($,I,U,Y){if($==="status"||$==="get"){await N0("seal_billing_status_get",I,U,{},D0(Y.options));return}if($==="plans"){await N0("seal_billing_plans_list",I,U,{},D0(Y.options));return}if($==="features"){await N0("seal_billing_features_list",I,U,{},D0(Y.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}function wz0($,I,U){if($==="paths"){E0({candidates:r3(),globalConfigFile:t3()});return}if($==="get"||$==="status"){E0(QI());return}if($==="mode"){let Y=I??h(U.options.mode);if(!Y){E0(QI());return}let J=Iz0(Y),Q=h(U.options.corp),K=L4(),q=J?Q?VJ(b8(),{stateful:!0,corpId:Q},r3()).id:K.defaultCorpId:void 0,G=a3({...K,stateful:J,...q?{defaultCorpId:q}:{}});E0(QI(G));return}if($==="lint"){let Y=I??h(U.options.state)??h(U.options.enable),J=L4(),Q=J.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!Y||Y==="status"||Y==="get"){E0({lint:Q,configFile:t3()});return}let K=Q.enabled;if(Y==="enable"||Y==="on"||Y==="true")K=!0;else if(Y==="disable"||Y==="off"||Y==="false")K=!1;let q=h(U.options.linter)??Q.activeLinter,G=U.options.minScore!==void 0||U.options["min-score"]!==void 0?Number(U.options.minScore??U.options["min-score"]):Q.minScore,H={enabled:K,activeLinter:q,minScore:isNaN(G)?0:Math.max(0,Math.min(100,G))},W=a3({...J,lint:H});E0(QI(W));return}if($==="test-dir"||$==="test-enterprises-dir"){let Y=U.options.clear===!0||I==="--clear"||I==="clear",J=L4();if(Y){let q=a3({...J,testEnterprisesDir:void 0});E0(QI(q));return}let Q=I&&!I.startsWith("-")?I:h(U.options.path)??h(U.options.dir);if(!Q){E0({testEnterprisesDir:J.testEnterprisesDir??null,configFile:t3()});return}let K=a3({...J,testEnterprisesDir:Q});E0(QI(K));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}async function Lz0($,I,U){await N0("seal_approval_context_get",$,I,{documentLimit:a0(U.options.documentLimit),...Yz0(h(U.options.ruleVersion))},D0(U.options))}import{existsSync as Dz0,mkdirSync as Oz0,writeFileSync as Nz0}from"node:fs";import{join as Fz0}from"node:path";async function AJ($){let[I,U]=await Promise.all([Kd($),U4($)]),Y=await N$(U);return{...I,tenantId:Y.tenant.id,tenantSlug:Y.tenant.tenantSlug??I.tenantSlug,tenantName:Y.tenant.name,raw:{...typeof I.raw==="object"&&I.raw!==null?I.raw:{},user:{id:Y.user.id,name:Y.user.name,isAdmin:Y.user.isAdmin,providerUserId:Y.user.providerUserId,hosecloudStaff:Y.user.hosecloudStaff},tenant:Y.tenant}}}async function Mz0($,I,U){if($==="list"){let Y=h(U.options.corp),J=b8(),Q=L4(),K=Y??(Q.stateful?Q.defaultCorpId??J[0]?.id:void 0);if(J.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");E0(J.map((q)=>({id:q.id,name:q.name,sourceType:q.source.type,provider:q.source.provider??q.source.type,current:q.id===K})));return}if($==="current"){let Y=D4(h(U.options.corp));E0({id:Y.id,name:Y.name,sourceType:Y.source.type,provider:Y.source.provider??Y.source.type});return}if($==="switch"){let Y=I;if(!Y)throw Error("Usage: seal-use corps switch <corpId>");let J=L4();if(!J.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let Q=D4(Y);a3({...J,stateful:!0,defaultCorpId:Q.id}),E0({current:!0,id:Q.id,name:Q.name});return}if($==="probe-hose"){await mq1(t6(U.json));return}if($==="hose-staffs"){await lq1(t6(U.json));return}if($==="add-hose"){await oq1(t6(U.json));return}if($==="add-seal"){await rq1(t6(U.json));return}if($==="add-link"){let Y=I??h(U.options.link)??h(U.options.url);if(!Y)throw Error("Usage: seal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--overwrite]");await tq1(Y,h(U.options.name),_0(U.options.overwrite)===!0);return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}async function mq1($){let I=z7($,"appKey"),U=z7($,"appSecurity"),Y=i1($,"domain"),J=await zU(I,U,Y),Q=await PV(J.domain,J.openapiToken).catch(()=>[]),K=Q.reduce((q,G)=>q+G.roleDefs.length,0);E0({domain:J.domain,corpId:J.corpId,name:J.corpName??J.corpId,roleCount:K,roleGroups:Q.map((q)=>({id:q.id,name:q.name,roleDefs:q.roleDefs.map((G)=>({id:G.id,name:G.name,sourceType:G.sourceType}))}))})}async function lq1($){let I=z7($,"appKey"),U=z7($,"appSecurity"),Y=i1($,"domain"),J=i1($,"role")??i1($,"roleDefId")??"admin",Q=await zU(I,U,Y),K=await PV(Q.domain,Q.openapiToken),q,G;for(let V of K){for(let z of V.roleDefs)if(z.id===J||z.id===`${Q.corpId}:${J}`){q=z.id,G=z.name;break}if(q)break}if(!q&&(J==="admin"||J==="主管理员"))for(let V of K){for(let z of V.roleDefs)if(z.id.endsWith(":admin")||z.name==="主管理员"){q=z.id,G=z.name;break}if(q)break}if(!q)for(let V of K){for(let z of V.roleDefs)if(z.name.toLowerCase().includes(J.toLowerCase())){q=z.id,G=z.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 H=await KE(Q.domain,Q.openapiToken,q),W=await qE(Q.domain,Q.openapiToken,H.staffs);E0({domain:Q.domain,corpId:Q.corpId,corpName:Q.corpName??Q.corpId,roleId:q,roleName:G,count:W.length,staffs:W.map((V)=>({id:V.id,name:V.name,cellphone:V.cellphone,active:V.active,authState:V.authState,userId:V.userId,email:V.email}))})}async function oq1($){let I=i1($,"name"),U=z7($,"appKey"),Y=z7($,"appSecurity"),J=i1($,"domain"),Q=i1($,"staffId")??i1($,"proxyStaffBizId"),K=i1($,"staffName"),q=i1($,"staffPhone"),G=i1($,"role")??"admin",H=$.force===!0,W=H||$.verify===!1?!1:!0,V=J,z=i1($,"corpId")??i1($,"corporationId"),Z=I,w;if(!V||!z||!Q){let u=await zU(U,Y,J);V=u.domain,z=z??u.corpId,Z=Z??u.corpName,w=u.openapiToken}let L=Q;if(!L&&w&&V){let u=await PV(V,w).catch(()=>[]),g;for(let b of u){for(let C of b.roleDefs)if(C.id.endsWith(`:${G}`)||C.name===G||C.id===G){g=C.id;break}if(g)break}if(!g)g=u.find((b)=>b.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((b)=>b.id.endsWith(":admin"))?.id;if(g){let b=await KE(V,w,g).catch(()=>({staffs:[]})),C=await qE(V,w,b.staffs).catch(()=>[]);if(K||q){let p=C.filter((n)=>{if(K&&n.name!==K&&!n.name.includes(K))return!1;if(q&&(!n.cellphone||!n.cellphone.includes(q)))return!1;return!0});if(p.length===1&&p[0])L=p[0].id;else if(p.length>1)throw Error(`Multiple staff members matched '${K??q}': ${p.map((n)=>`${n.name}(${n.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${K??q}' under role ${g}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!H){let p=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:
- ${p}
Please specify 'staffId', 'staffName', or 'staffPhone' to explicitly select an account (or pass force:true to bypass).`)}}}if(!L)if(!W&&Q)L=Q;else throw Error("Missing required parameter: staffId (or proxyStaffBizId). Run 'seal-use corps hose-staffs' to discover available administrators.");let D=i1($,"id")??z,N=Z??z,E=i1($,"sealUrl")??`https://${z.toLowerCase()}.sealai.cc`,T={id:D,name:N,seal:{url:E,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"hose",domain:V,appKey:U,appSecurity:Y,corpId:z,staffId:L},auth:{refreshTtl:300}};if(W)OV(D),await AJ(T);let A=ny();Oz0(A,{recursive:!0,mode:448});let v=Fz0(A,`${eh(D)}.json`);if(Dz0(v)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${v}. Pass "overwrite": true to replace it.`);Nz0(v,`${JSON.stringify(T,null,2)}
`,{mode:384}),E0({id:D,name:N,corpId:z,domain:V,staffId:L,verified:W,path:v})}async function rq1($){let I=z7($,"token"),U=(i1($,"sealUrl")??i1($,"url")??"").replace(/\/+$/,"");if(!U)throw Error("Missing required JSON field: sealUrl");let Y=$z0($,"expiresIn")??2592000,J=$.force===!0||$.verify===!1?!1:!0,Q=J?await aq1(U,I):void 0;Az0($,{token:I,sealUrl:U,expiresIn:Y,verify:J,remote:Q})}async function tq1($,I,U){let Y=await NV($),J=K2(Y.sealUrl,Y.token),Q=await N$(J),K={user:Q.user,tenant:Q.tenant};FV(Y.corpId,K.tenant),Az0({id:Y.corpId,corpId:Y.corpId,name:I,provider:"hosecloud",overwrite:U},{token:Y.token,sealUrl:Y.sealUrl,expiresIn:Y.expiresIn,verify:!0,remote:K})}function Az0($,I){let{token:U,sealUrl:Y,expiresIn:J,verify:Q,remote:K}=I,q=K?.user,G=K?.tenant,H=i1($,"tenantSlug")??X7(G?.tenantSlug),W=i1($,"tenantId")??X7(G?.id),V=i1($,"tenantName")??X7(G?.name),z=i1($,"id")??H??W;if(!z)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let Z=i1($,"staffId")??X7(q?.providerUserId)??X7(q?.id)??"seal",w=i1($,"provider")??X7(q?.provider)??X7(G?.providerConfig?.provider),L=i1($,"corpId")??H??W??z,D={id:z,name:i1($,"name")??V??z,seal:{url:Y,tenantSlug:H,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:U,sealUrl:Y,expiresIn:J,staffId:Z,corpId:L,tenantId:W,tenantSlug:H,tenantName:V,providerUserId:X7(q?.providerUserId),provider:w},auth:{refreshTtl:300}},N=ny();Oz0(N,{recursive:!0,mode:448});let E=Fz0(N,`${eh(z)}.json`);if(Dz0(E)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${E}. Pass "overwrite": true to replace it.`);Nz0(E,`${JSON.stringify(D,null,2)}
`,{mode:384}),E0({id:z,name:D.name,tenantId:W,tenantSlug:H,verified:Q,path:E})}async function aq1($,I){let U=await sq1(`${$}/api/v1/auth/me`,{authorization:`Bearer ${I}`}),Y=QD(U.data);return{user:QD(Y.user??U.user),tenant:QD(Y.tenant??U.tenant)}}async function sq1($,I={}){let U=await fetch($,{headers:I}),Y=await U.text();if(!U.ok)throw Error(`${U.status} ${Y}`);let J=JSON.parse(Y);return QD(J)}function QD($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function X7($){return typeof $==="string"&&$?$:void 0}async function Pz0($,I){let U=await NV($),Y=K2(U.sealUrl,U.token),J=await N$(Y);FV(U.corpId,J.tenant);let Q=await wU(Y,{note:I});E0({tenant:{id:J.tenant.id,name:J.tenant.name,tenantSlug:J.tenant.tenantSlug,corpId:U.corpId},user:{id:J.user.id,name:J.user.name,providerUserId:J.user.providerUserId,isAdmin:J.user.isAdmin},delegation:Q,expiresIn:U.expiresIn})}async function Tz0($,I,U,Y,J){if($==="list"){await N0("seal_delegation_list",U,Y,{},D0(J.options));return}if($==="create"){let Q=h(J.options.note)??(I?[I,...J.command.slice(2)].join(" "):void 0);await N0("seal_delegation_create",U,Y,{note:Q},D0(J.options));return}if($==="revoke"){let Q=I??h(J.options.tokenId);if(!Q)throw Error("Usage: seal-use delegation revoke <tokenId>");await N0("seal_delegation_revoke",U,Y,{tokenId:Q},D0(J.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}import{readFileSync as eq1}from"node:fs";async function Ez0($,I,U,Y,J,Q){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 H=$==="maycur"?"每刻报销":"汇联易";throw Error(`${H}发布:目前可通过 Webhook 模式接入。命令:seal-use webhook add --name '${H}' --result-url <url> --corp <corpId>`)}let K=$==="hosecloud",q=$==="hosecloud"?I:$,G=$==="hosecloud"?U:I;if(!K)throw Error(`未知的发布目标系统: ${$}。当前支持: hosecloud (合思费控) 与 webhook (通用回调)。`);if(q==="requirements"){await N0("seal_deploy_hosecloud_requirements",Y,J,{},D0(Q.options));return}if(q==="list"){await N0("seal_deploy_hosecloud_list",Y,J,{},D0(Q.options));return}if(q==="get"){let H=G??h(Q.options.signKey)??h(Q.options["sign-key"]);if(!H){let V=((await q4(Y)).integrations??[]).filter((z)=>z.type==="hosecloud");if(V.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 z of V){let Z=z.outboundName??"SealAI 审批",w=z.signKey,L=z.apiOrigin??"production";console.error(` • "${Z}" (signKey: ${w}, 环境: ${L})`),console.error(` \uD83D\uDC49 查看命令: seal-use deploy hosecloud get ${w} --corp ${J.id}
`)}throw Error("缺少必需参数 <sign-key>。请从上述候选列表中选择并指定 signKey。")}await N0("seal_deploy_hosecloud_get",Y,J,{signKey:H},D0(Q.options));return}if(q==="status"){await N0("seal_deploy_hosecloud_status",Y,J,{},D0(Q.options));return}if(q==="configure"){let H=h(Q.options.input),W=H?JSON.parse(eq1(H,"utf8")):t6(Q.json);if(!W||Object.keys(W).length===0)throw Error("Usage: seal-use deploy hosecloud configure --json '{...}' or --input <file>");await N0("seal_deploy_hosecloud_configure",Y,J,W,D0(Q.options));return}if(q==="sync"){let H=G??h(Q.options.signKey)??h(Q.options["sign-key"]),W=_0(Q.options.auto)??_0(Q.options.yes);if(!H){let z=((await q4(Y)).integrations??[]).filter((w)=>w.type==="hosecloud");if(z.length===0)throw Error(`当前企业 (${J.name}) 尚未添加合思发布配置。
`+`\uD83D\uDC49 请先运行配置命令:seal-use deploy hosecloud configure --json '{...}' --corp ${J.id}`);let Z=z[0];if(Z&&z.length===1&&W){let w=Z.signKey;console.error(`ℹ️ [auto] 检测到企业仅有 1 个合思配置,已自动选择 (signKey: ${w})`),await N0("seal_deploy_hosecloud_sync",Y,J,{signKey:w},D0(Q.options));return}console.error(`Usage: seal-use deploy hosecloud sync <sign-key> [--corp ${J.id}]
`),console.error("ℹ️ 当前企业发现以下可用的合思配置卡片:");for(let w of z){let L=w.outboundName??"SealAI 审批",D=w.signKey,N=w.apiOrigin??"production";console.error(` • "${L}" (signKey: ${D}, 环境: ${N})`),console.error(` \uD83D\uDC49 同步命令: seal-use deploy hosecloud sync ${D} --corp ${J.id}
`)}if(z.length===1)console.error(`\uD83D\uDCA1 提示:若希望单配置自动同步,可附加 --auto 参数:seal-use deploy hosecloud sync --auto --corp ${J.id}
`);throw Error("缺少必需参数 <sign-key>。请从上述候选列表中选择并指定 signKey 执行同步。")}await N0("seal_deploy_hosecloud_sync",Y,J,{signKey:H},D0(Q.options));return}throw Error(`Unknown deploy hosecloud action: ${q??""}. Available: requirements, list, get, status, configure, sync.`)}import{createServer as JG1}from"node:http";import{URL as IG1}from"node:url";var Bz0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.13",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"}}}}}}}}}},"/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 KD(){return Bz0}function Rz0(){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${$1})</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 k4($,I,U,Y){let J=$.handler;return J(I,U,{corp:Y})}async function vz0($,I){if(I.setHeader("Access-Control-Allow-Origin","*"),I.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS, PATCH"),I.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization, X-Seal-Corp, X-Seal-Home-Session"),$.method==="OPTIONS"){I.writeHead(204),I.end();return}let U=$.headers.host||"localhost",Y=$.headers["x-forwarded-proto"]||"http",J=new IG1($.url||"/",`${Y}://${U}`),Q=J.pathname.replace(/\/+$/,"")||"/",K=($.method||"GET").toUpperCase();try{if(K==="GET"&&Q==="/"){d1(I,200,{name:"seal-use",version:$1,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(K==="GET"&&Q==="/docs"){YG1(I,200,Rz0());return}if(K==="GET"&&Q==="/openapi.json"){d1(I,200,KD());return}if(K==="GET"&&Q==="/health"){d1(I,200,{status:"ok",version:$1,name:"seal-use",timestamp:new Date().toISOString()});return}if(K==="POST"&&(Q==="/shutdown"||Q==="/api/shutdown")){d1(I,200,{success:!0,message:"Shutting down seal-use background daemon",pid:process.pid}),setTimeout(()=>{process.kill(process.pid,"SIGTERM")},50);return}if(K==="POST"&&Q==="/api/cli"){let q=await GD($),G=(typeof q?.command==="string"?q.command:"").trim();if(!G){qD(I,400,"Missing 'command' property in request body");return}let H=Qx(G),W=H[0]==="seal-use"||H[0]==="seal-home"||H[0]?.endsWith("/seal-use")||H[0]?.endsWith("/seal-home")?H.slice(1):H,V=await VG(W),z=void 0;try{if(V.stdout.trim().startsWith("{")||V.stdout.trim().startsWith("["))z=JSON.parse(V.stdout)}catch{}d1(I,V.isError?400:200,{success:!V.isError,stdout:V.stdout,stderr:V.stderr,exitCode:V.exitCode,data:z});return}if(K==="POST"&&Q.startsWith("/api/tool/")){let q=Q.slice(10).trim(),G=C4(q);if(!G){qD(I,404,`Tool not found: '${q}'`);return}let H=await GD($)||{},W=g6($,J,H),V=D4(W),z=await U4(V),Z={...H};delete Z.corp;let w=await k4(G,z,Z,V);d1(I,200,w);return}if(Q.startsWith("/v1/")){if(await UG1($,I,K,Q,J))return}qD(I,404,`Cannot ${K} ${Q}. Visit /docs for available endpoints.`)}catch(q){let G=q instanceof Error?q.message:String(q);qD(I,500,G)}}async function UG1($,I,U,Y,J){let Q=Object.fromEntries(J.searchParams.entries());if(U==="GET"&&Y==="/v1/corps"){let K=b8(),q=L4();return d1(I,200,{count:K.length,mode:q.stateful?"stateful":"stateless",defaultCorpId:q.defaultCorpId,corps:K.map((G)=>({id:G.id,name:G.name,sourceType:G.source.type,sealUrl:G.seal?.url}))}),!0}if(U==="GET"&&Y==="/v1/whoami"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_whoami"),W=await k4(H,G,{},q);return d1(I,200,W),!0}if(U==="GET"&&Y==="/v1/session"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_session_get"),W=await k4(H,G,{},q);return d1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/summary"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_approval_runs_summary"),W=await k4(H,G,Q,q);return d1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/stats"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_approval_runs_stats"),W=await k4(H,G,Q,q);return d1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/pick"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_approval_run_pick"),W=await k4(H,G,Q,q);return d1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval-runs/url"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_approval_run_url_get"),W=await k4(H,G,Q,q);return d1(I,200,W),!0}if(Y.startsWith("/v1/approval-runs/")){let K=Y.slice(18).split("/"),q=K[0],G=K[1];if(q&&!["summary","pick","stats","url","bridge"].includes(q)){let H=g6($,J,Q),W=D4(H),V=await U4(W);if(!G){let z=C4("seal_approval_run_get"),Z=await k4(z,V,{recordId:q,...Q},W);return d1(I,200,Z),!0}if(G==="attachments"){let z=C4("seal_approval_run_attachments_get"),Z=await k4(z,V,{recordId:q,...Q},W);return d1(I,200,Z),!0}if(G==="cited-rules"){let z=C4("seal_approval_run_cited_rules_get"),Z=await k4(z,V,{recordId:q,...Q},W);return d1(I,200,Z),!0}if(G==="document-summary"){let z=C4("seal_approval_run_document_summary_get"),Z=await k4(z,V,{recordId:q,...Q},W);return d1(I,200,Z),!0}if(G==="result"){let z=C4("seal_approval_run_result_get"),Z=await k4(z,V,{recordId:q,...Q},W);return d1(I,200,Z),!0}}}if(U==="GET"&&Y==="/v1/approval-runs"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_approval_runs_search"),W=await k4(H,G,{...Q,limit:Q.limit?Number(Q.limit):void 0,offset:Q.offset?Number(Q.offset):void 0,includeBridge:Q.includeBridge==="true"},q);return d1(I,200,W),!0}if(U==="GET"&&Y==="/v1/approval/rules"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_approval_rules_list"),W=await k4(H,G,Q,q);return d1(I,200,W),!0}if(U==="GET"&&Y==="/v1/simulation/batches"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_simulation_batches_list"),W=await k4(H,G,Q,q);return d1(I,200,W),!0}if(U==="POST"&&Y==="/v1/simulation/create-batch"){let K=await GD($)||{},q=g6($,J,K),G=D4(q),H=await U4(G),W=C4("seal_simulation_batch_create"),V=await k4(W,H,K,G);return d1(I,200,V),!0}if(U==="GET"&&Y.startsWith("/v1/simulation/batch/")){let q=Y.slice(21).split("/")[0];if(q){let G=g6($,J,Q),H=D4(G),W=await U4(H),V=C4("seal_simulation_batch_get"),z=await k4(V,W,{batchId:q},H);return d1(I,200,z),!0}}if(U==="GET"&&Y==="/v1/preferences"){let K=g6($,J,Q),q=D4(K),G=await U4(q),H=C4("seal_preference_get"),W=await k4(H,G,{},q);return d1(I,200,W),!0}if(U==="POST"&&Y==="/v1/preferences/decision"){let K=await GD($)||{},q=g6($,J,K),G=D4(q),H=await U4(G),W=C4("seal_preference_decision_update"),V=await k4(W,H,K,G);return d1(I,200,V),!0}return!1}function g6($,I,U){let Y=$.headers["x-seal-corp"];if(typeof Y==="string"&&Y.trim())return Y.trim();let J=I.searchParams.get("corp");if(J?.trim())return J.trim();if(U&&typeof U.corp==="string"&&U.corp.trim())return U.corp.trim();return}async function GD($){let I="";for await(let U of $)if(I+=U,I.length>20971520)throw Error("Payload too large");if(!I.trim())return{};try{return JSON.parse(I)}catch(U){throw Error(`Invalid JSON body: ${U instanceof Error?U.message:String(U)}`)}}function d1($,I,U){let Y=JSON.stringify(U,null,2);$.writeHead(I,{"Content-Type":"application/json; charset=utf-8","Content-Length":Buffer.byteLength(Y)}),$.end(Y)}function YG1($,I,U){$.writeHead(I,{"Content-Type":"text/html; charset=utf-8","Content-Length":Buffer.byteLength(U)}),$.end(U)}function qD($,I,U,Y){d1($,I,{error:!0,statusCode:I,message:U,...Y!==void 0?{details:Y}:{}})}var HD=8787,WD="127.0.0.1";async function VD($={}){let I=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):HD),U=$.host??(process.env.HOST?process.env.HOST:WD),Y=JG1(async(J,Q)=>{try{await vz0(J,Q)}catch(K){if(!Q.headersSent)Q.writeHead(500,{"Content-Type":"application/json"}),Q.end(JSON.stringify({error:!0,message:K instanceof Error?K.message:String(K)}))}});return new Promise((J,Q)=>{Y.on("error",(K)=>{Q(K)}),Y.listen(I,U,()=>{if(!$.silent)console.error(`
\uD83D\uDE80 seal-use HTTP Server (v${$1}) started`),console.error(` URL: http://${U}:${I}`),console.error(` Docs: http://${U}:${I}/docs`),console.error(` OpenAPI: http://${U}:${I}/openapi.json`),console.error(` CLI Exec: POST http://${U}:${I}/api/cli`),console.error(` REST API: http://${U}:${I}/v1/...
`);J(Y)})})}async function Cz0($){let I=a0($.options.port)??a0($.options.p),U=h($.options.host)??h($.options.h),Y=await VD({port:I,host:U}),J=()=>{Y.close(()=>{process.exit(0)})};process.on("SIGINT",J),process.on("SIGTERM",J),await new Promise(()=>{})}async function jz0($,I,U,Y){if($==="config"||$==="get"){await N0("seal_llm_config_get",I,U,{},D0(Y.options));return}if($==="providers"||$==="list"){await N0("seal_llm_providers_list",I,U,{},D0(Y.options));return}throw Error(`Unknown llm command: ${$??""}. Run 'seal-use help' for available commands.`)}async function _z0($,I){if($==="config"||$==="json"){Kx();return}await qx()}function Kx(){E0({mcpServers:{"seal-use":{type:"stdio",command:"seal-use",args:["mcp"],env:{SEAL_USE_MCP_ENABLED:"true"}}}})}function Sz0($){let I=KD();E0(I,{...D0($.options),allowFull:!0})}async function gz0($,I,U,Y){if($==="available"){await N0("seal_permissions_available_list",I,U,{},D0(Y.options));return}if($==="configs"||$==="list"){await N0("seal_permissions_configs_list",I,U,{},D0(Y.options));return}throw Error(`Unknown permissions command: ${$??""}. Run 'seal-use help' for available commands.`)}import{readFileSync as yz0}from"node:fs";async function hz0($,I,U,Y,J,Q,K){if(!$||$==="get"){await N0("seal_preference_get",J,Q,{},D0(K.options));return}if($==="decision"){if(I==="update"||!I){let q=h(K.options.input),G=q?JSON.parse(yz0(q,"utf8")):t6(K.json);if(!G||Object.keys(G).length===0)throw Error(`Usage: seal-use preference decision update --json '{"explicitApprove":"..."}'`);await N0("seal_preference_decision_update",J,Q,G,D0(K.options));return}}if($==="thinking-depth"||$==="thinkingDepth"){if(I==="set"){let q=h(K.options.default)??h(K.options.level)??Y;if(q!=="medium"&&q!=="high")throw Error("Usage: seal-use preference thinking-depth set --default <medium|high>");await N0("seal_preference_thinking_depth_set",J,Q,{defaultLevel:q},D0(K.options));return}if(I==="policies"){if(U==="list"||!U){await N0("seal_preference_thinking_depth_policies_list",J,Q,{},D0(K.options));return}if(U==="upsert"){let q=h(K.options.input),G=q?JSON.parse(yz0(q,"utf8")):t6(K.json);if(!G||!G.id||!G.name)throw Error(`Usage: seal-use preference thinking-depth policies upsert --json '{"id":"...","name":"...","level":"high"}'`);await N0("seal_preference_thinking_depth_policies_upsert",J,Q,G,D0(K.options));return}if(U==="remove"||U==="delete"){let q=Y??h(K.options.id)??h(K.options.policyId);if(!q)throw Error("Usage: seal-use preference thinking-depth policies remove <policyId>");await N0("seal_preference_thinking_depth_policies_remove",J,Q,{policyId:q},D0(K.options));return}}}throw Error(`Unknown preference action: ${$??""}. Available: get, decision update, thinking-depth set, thinking-depth policies list/upsert/remove.`)}async function xz0($={}){let I=b8(),U=L4(),Y=VJ(I,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$.corpId},r3());console.log(`[probe] corp=${Y.id} source=${Y.source.type}`);let J=await AJ(Y);console.log("[probe] seal enterprise"),console.log(JSON.stringify(J,null,2));let Q=await U4(Y),K=await gV(Q,{documentLimit:20,stylePreferencesEndpoint:Y.seal.endpoints.approvalStylePreferences});console.log("[probe] approval context summary"),console.log(JSON.stringify({rules:K.rules.rules.length,hasPendingRuleDeletes:K.rules.hasPendingDeletes,documents:K.documents.articles.length,documentsTotal:K.documents.total,stylePreferences:K.stylePreferences.ok?"ok":`error: ${K.stylePreferences.error}`},null,2))}async function kz0($,I,U){let Y=I??h(U.options.corp)??($&&$!=="--corp"?$:void 0);await xz0({corpId:Y})}async function Gx($,I,U,Y,J){if($==="count"){await N0("seal_approval_rules_list",U,Y,{countOnly:!0},D0(J.options));return}if($==="list"){if(_0(J.options.count)){await N0("seal_approval_rules_list",U,Y,{countOnly:!0},D0(J.options));return}let Q=a0(J.options.limit),K=a0(J.options.offset);if(_0(J.options.summary)){await N0("seal_approval_rules_list",U,Y,{fields:Qz0,limit:Q,offset:K},D0(J.options));return}let q=await KI("seal_approval_rules_list",U,Y,{limit:Q,offset:K});Kz0(q,_0(J.options.full)===!0),E0(q);return}if($==="clear"){let Q=_0(J.options.yes)===!0,K=_0(J.options.dryRun)??_0(J.options["dry-run"])??!Q;if(!Q&&!K)throw Error("Refusing to clear rules without --yes. Use --dry-run to preview.");let q=await KI("seal_approval_rules_clear",U,Y,{dryRun:K,recode:_0(J.options.recode)});if(!Q&&K&&q&&typeof q==="object"){E0({...q,nextCommand:`seal-use rules clear --corp ${Y.id} --yes`},D0(J.options));return}E0(q,D0(J.options));return}if($==="versions"){await N0("seal_approval_rule_versions_list",U,Y,{},D0(J.options));return}if($==="version"){let Q=I??h(J.options.version);if(!Q)throw Error("Usage: seal-use rules version <versionId|versionNumber|latest>");await N0("seal_approval_rule_version_get",U,Y,KG(Q),D0(J.options));return}if($==="get"){await N0("seal_approval_rule_get",U,Y,{...Jz0(h(J.options.version)),code:h(J.options.code),runtimeId:h(J.options.runtimeId)??h(J.options["runtime-id"]),recordId:h(J.options.recordId)??h(J.options["record-id"])},D0(J.options));return}if($==="search"){let Q=I??h(J.options.query);if(!Q)throw Error("Usage: seal-use rules search <keyword> [--version <versionId|versionNumber|latest>]");await N0("seal_approval_search",U,Y,{keywords:[Q],areas:["rules"],maxResults:a0(J.options.maxResults),contextLines:a0(J.options.contextLines),refresh:_0(J.options.refresh),snippetOnly:_0(J.options.snippetOnly)??_0(J.options["snippet-only"]),maxChars:a0(J.options.maxChars)??a0(J.options["max-chars"]),fields:W6(J.options.fields),...Uz0(h(J.options.version))},D0(J.options));return}if($==="pull"){let Q=h(J.options.version)??I,K=h(J.options.out)??h(J.options.file)??h(J.options.f);await N0("seal_approval_rules_pull",U,Y,{version:Q,out:K},D0(J.options));return}if($==="push"){let Q=h(J.options.file)??h(J.options.f)??I,K=_0(J.options.yes)===!0,q=_0(J.options.dryRun)??_0(J.options["dry-run"])??!K,G=_0(J.options.publish),H=h(J.options.versionName)??h(J.options["version-name"]),W=await KI("seal_approval_rules_push",U,Y,{file:Q,dryRun:q,confirm:K,publish:G,versionName:H});if(!K&&q&&W&&typeof W==="object"){E0({...W,nextCommand:`seal-use rules push --file ${Q??"./rules.local.json"} --corp ${Y.id} --yes${G?" --publish":""}`},D0(J.options));return}E0(W,D0(J.options));return}if($==="lint"){await N0("seal_approval_rules_lint",U,Y,{file:h(J.options.file)??h(J.options.f),linter:h(J.options.linter),version:h(J.options.version),code:h(J.options.code),ruleId:h(J.options.rule)??I,minScore:a0(J.options.minScore)??a0(J.options["min-score"]),level:h(J.options.level),summary:_0(J.options.summary)},D0(J.options));return}throw Error(`Unknown rules command: ${$??""}. Available: count, list, clear, versions, version, get, search, lint, pull, push. Run 'seal-use help' for available commands.`)}import{homedir as VG1}from"node:os";import{join as ZG1}from"node:path";import{spawn as QG1,execFileSync as KG1}from"node:child_process";import{existsSync as ZD,mkdirSync as qG1,readFileSync as Hx,rmSync as p8,writeFileSync as zD}from"node:fs";import{join as Wx}from"node:path";async function qI($,I,U={}){switch($){case"run":await HG1(I);return;case"start":return uz0(I);case"stop":case"kill":case"down":case"shutdown":return fz0(I,U);case"restart":return fz0(I,{quiet:!0}),uz0(I);case"logs":case"log":return GG1(I,U.maxLines);case"status":case void 0:return TJ(I);default:throw Error("Usage: seal-use service <start|stop|restart|status|logs>")}}function TJ($){let I=wD($),U=Vx($),Y=XD(I),J=Y?bz0(Y,$.appRoot):!1;if(!J){if(Y)p8(I,{force:!0});if(ZD(U))p8(U,{force:!0})}let Q;if(J&&ZD(U))try{Q=JSON.parse(Hx(U,"utf8"))}catch{}let K=$.port??Q?.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):HD),q=$.host??Q?.host??(process.env.HOST?process.env.HOST:WD),G=$.version??Q?.version;return{running:J,pid:J?Y:void 0,version:G,port:K,host:q,url:J?`http://${q}:${K}`:void 0,appRoot:$.appRoot,stateDir:$.stateDir,pidFile:I,logFile:ZG($)}}function GG1($,I=50){let U=ZG($);if(!ZD(U))return{logFile:U,lines:[],totalLines:0};let J=Hx(U,"utf8").split(`
`).filter(Boolean),Q=J.slice(-I);return{logFile:U,lines:Q,totalLines:J.length}}async function HG1($){let I=wD($),U=Vx($),Y=ZG($);iz0($.stateDir);let J=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):HD),Q=$.host??(process.env.HOST?process.env.HOST:WD);zD(I,`${process.pid}
`,{mode:384}),zD(U,JSON.stringify({pid:process.pid,port:J,host:Q,version:$.version,startedAt:new Date().toISOString()},null,2),{mode:384}),PJ(Y,`service starting on http://${Q}:${J} pid=${process.pid}`);let K=null;try{K=await VD({port:J,host:Q,silent:!0}),PJ(Y,`service listening pid=${process.pid}`)}catch(G){if(PJ(Y,`service failed to bind port ${J}: ${G instanceof Error?G.message:String(G)}`),XD(I)===process.pid)p8(I,{force:!0}),p8(U,{force:!0});throw G}let q=()=>{if(K)K.close(),K=null;if(XD(I)===process.pid)p8(I,{force:!0}),p8(U,{force:!0});PJ(Y,`stopped pid=${process.pid}`)};await new Promise((G)=>{let H=!1,W=()=>{if(H)return;H=!0,q(),process.off("SIGTERM",W),process.off("SIGINT",W),G()};process.once("SIGTERM",W),process.once("SIGINT",W)})}function uz0($){iz0($.stateDir);let I=TJ($);if(I.running)return I;let U=$.launcher??{command:process.execPath,args:[$.entryFile]},Y=[...U.args??[],"service","run"];if($.port)Y.push("--port",String($.port));if($.host)Y.push("--host",String($.host));let J=QG1(U.command,Y,{cwd:$.appRoot,detached:!0,stdio:["ignore","ignore","ignore"],env:process.env});J.unref();let Q=wD($);return zD(Q,`${J.pid}
`,{mode:384}),PJ(ZG($),`started pid=${J.pid}`),{started:!0,...TJ($)}}function fz0($,I={}){let U=wD($),Y=Vx($),J=XD(U);if(!J||!bz0(J,$.appRoot))return p8(U,{force:!0}),p8(Y,{force:!0}),I.quiet?void 0:{stopped:!1,reason:"not running"};return process.kill(J,"SIGTERM"),p8(U,{force:!0}),p8(Y,{force:!0}),PJ(ZG($),`stop requested pid=${J}`),I.quiet?void 0:{stopped:!0,pid:J}}function bz0($,I){if(!WG1($))return!1;try{let U=KG1("ps",["-p",String($),"-o","command="],{encoding:"utf8"});return(U.includes(I)||U.includes("seal-use")||U.includes("src/cli.ts"))&&U.includes("service")&&U.includes("run")}catch{return!1}}function WG1($){try{return process.kill($,0),!0}catch{return!1}}function wD($){return Wx($.stateDir,"service.pid")}function Vx($){return Wx($.stateDir,"service.json")}function ZG($){return Wx($.stateDir,"service.log")}function XD($){if(!ZD($))return;let I=Number(Hx($,"utf8").trim());return Number.isInteger(I)&&I>0?I:void 0}function iz0($){qG1($,{recursive:!0,mode:448})}function PJ($,I){zD($,`${new Date().toISOString()} ${I}
`,{flag:"a",mode:384})}var Zx=ZG1(VG1(),".config","seal-use");async function zx($,I,U){let Y=U?a0(U.options.port)??a0(U.options.p):void 0,J=U?h(U.options.host)??h(U.options.h):void 0,Q=U?a0(U.options.lines)??a0(U.options.n):void 0,K=await qI($,{appRoot:I.appRoot,entryFile:I.entryFile,stateDir:Zx,version:$1,launcher:I.launcher,port:Y,host:J},{maxLines:Q});if(K!==void 0)E0(K)}import{existsSync as zG1,readFileSync as nz0}from"node:fs";async function pz0($,I,U,Y,J){if($==="batch-records"||$==="records"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation batch-records <batchId>");await N0("seal_simulation_batch_records_get",U,Y,{batchId:Q,query:h(J.options.query)},D0(J.options));return}if($==="create"||$==="run"){let Q=h(J.options.mode)??h(J.options.sourceSystem)??h(J.options["source-system"])??"hosecloud",K=Q==="material-pack"?"material_pack":Q,q=h(J.options.schemaConfig)??h(J.options["schema-config"]),G=q?JSON.parse(nz0(q,"utf8")):void 0,H=h(J.options.input),W=H?JSON.parse(nz0(H,"utf8")):t6(J.json),V=h(J.options.packageId)??h(J.options["package-id"]),z=W6(J.options.packageIds)??W6(J.options["package-ids"])??(V?[V]:void 0),Z=W6(J.options.flowIds)??W6(J.options["flow-ids"])??W6(J.options.documentSn)??W6(J.options["document-sn"]),w=h(J.options.signKey)??h(J.options["sign-key"])??h(J.options.integration);await N0("seal_simulation_batch_create",U,Y,{mode:K,sourceSystem:K,flowIds:Z,documentSn:Z,rejectNodeName:h(J.options.rejectNode)??h(J.options["reject-node"])??null,thinkingDepthOverride:h(J.options.thinkingDepth)??h(J.options["thinking-depth"]),skipInvoiceGeneration:_0(J.options.skipInvoiceGeneration)??_0(J.options["skip-invoice-generation"]),skipExpenseExtraction:_0(J.options.skipExpenseExtraction)??_0(J.options["skip-expense-extraction"]),disableAttachmentCache:_0(J.options.disableAttachmentCache)??_0(J.options["disable-attachment-cache"]),signKey:w,packageIds:z,packageId:V,templateId:h(J.options.templateId)??h(J.options["template-id"]),schemaConfig:G,requestIds:W6(J.options.requestIds)??W6(J.options["request-ids"]),workflowTypeId:h(J.options.workflowTypeId)??h(J.options["workflow-type-id"]),flowStatusList:W6(J.options.flowStatusList)?.map(Number)??W6(J.options["flow-status-list"])?.map(Number),businessCodes:W6(J.options.businessCodes)??W6(J.options["business-codes"]),documentType:h(J.options.documentType)??h(J.options["document-type"]),startTime:a0(J.options.startTime)??a0(J.options["start-time"]),endTime:a0(J.options.endTime)??a0(J.options["end-time"]),status:W6(J.options.status),limit:a0(J.options.limit),rawParams:W},D0(J.options));return}if($==="wait"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation wait <batchId> [--timeout 10m] [--poll-interval 2s]");await N0("seal_simulation_batch_wait",U,Y,{batchId:Q,timeout:h(J.options.timeout),pollInterval:h(J.options.pollInterval)??h(J.options["poll-interval"])},D0(J.options));return}if($==="clean"||$==="delete"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation clean <batchId>");await N0("seal_simulation_batch_clean",U,Y,{batchId:Q},D0(J.options));return}if($==="specifications"){let Q=I??h(J.options.integration)??h(J.options.signKey)??h(J.options["sign-key"]);await N0("seal_simulation_specifications_list",U,Y,{signKey:Q},D0(J.options));return}if($==="list"){await N0("seal_simulation_batches_list",U,Y,{limit:a0(J.options.limit)},D0(J.options));return}if($==="get"){let Q=I??h(J.options.batchId)??h(J.options["batch-id"]);if(!Q)throw Error("Usage: seal-use simulation get <batchId>");await N0("seal_simulation_batch_get",U,Y,{batchId:Q},D0(J.options));return}if($==="templates"){await N0("seal_simulation_templates_get",U,Y,{},D0(J.options));return}if($==="integrations"){await N0("seal_simulation_integrations_get",U,Y,{},D0(J.options));return}if($==="package-upload"){let Q=I??h(J.options.file);if(!Q)throw Error("Usage: seal-use simulation package-upload <材料包.zip>");if(!zG1(Q))throw Error(`File not found: ${Q}`);await N0("seal_simulation_material_package_upload",U,Y,{filePath:Q},D0(J.options));return}throw Error(`Unknown simulation command: ${$??""}. Run 'seal-use help' for available commands.`)}import{existsSync as qX0}from"node:fs";import{join as LD}from"node:path";import{existsSync as Xx,mkdirSync as IX0,rmSync as EG1,writeFileSync as BG1}from"node:fs";import{homedir as UX0}from"node:os";import{dirname as RG1,join as wx}from"node:path";var cz0=`---
name: seal-use
description: "v0.10.13: 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.13
short-description: Seal tenant and Hose approval automation (v0.10.13)
---
# Seal Use (v0.10.13)
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 (环境安装与自愈)
If \`seal-use\` or \`seal_cli\` is not installed on the system, the Agent should automatically install it via:
\`\`\`bash
# 国内高速安装(Gitea 镜像源,免代理、秒级完成)
curl -fsSL https://git.ying-qing.cn/gitea/seal-use/raw/branch/main/scripts/install.sh | bash
# Global / GitHub Direct
curl -fsSL https://raw.githubusercontent.com/yunyingk/seal-use/main/scripts/install.sh | bash
\`\`\`
After installation, verify with:
\`\`\`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, run \`seal-use corps list\`. If the target is already configured, resolve its human name to the returned \`id\` and pass that value as \`--corp\`; do not ask the user to know \`corpId\`.
- 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 ...]\`; the command verifies the tenant and records the temporary Seal session without echoing the link token.
- 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.
- 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 repeat test-environment rule resets, prefer \`rules clear --dry-run\` followed by \`rules clear --yes\`.
- 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.
- 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, first resolve it 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.
## Route By Intent
- 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.
- 模拟测试发布闭环: \`seal-use simulation create --mode hosecloud --flow-ids ... --corp <corpId>\` (合思指定单号) 或 \`--mode material_pack --package-ids ... --schema-config file.json\` (材料包导入), 支持多源系统 \`--source-system <hosecloud|feishu|weaver|helios|maycur|material_pack>\`, \`simulation wait <batchId>\` 轮询等待完成, \`simulation clean <batchId>\` 清理数据, \`simulation specifications\` 列出单据模板, \`simulation list\`/\`get\`/\`batch-records\` 查看批次与记录。创建前确认目标环境为测试环境。
- 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|id] --corp <corpId>\`, \`seal-use approval-runs count --corp <corpId>\`.
- 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>\`, \`reset-password <userId> --corp <corpId>\`, \`get <userId> --corp <corpId>\`, \`delete <userId> --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>\` (别名 \`status\`) 检查企业环境、租户连通性、已激活通道与材料包预检;\`seal-use webhook <list|get|add|update|delete> --corp <corpId>\`.
- Webhook 材料包导入: \`seal-use webhook material-pack preview <材料包.zip> --corp <corpId>\` 只做本地校验和解析(无网络请求);\`... push <材料包.zip> [--webhook <idOrName>] --corp <corpId>\` 上传附件并通过入站 Webhook 触发 AI 审批(租户仅有 1 个通道时自动锁定无需指定 \`--webhook\`)。每个 Webhook 可配置材料包附件的最小字节数、可选最大字节数和文件后缀白名单;校验不通过时不会上传附件或推送单据。材料包格式:ZIP 根目录名 = \`documentId\`(或 \`documentId@annotation\`),Excel 附件列以 \`[附件]\` 为前缀(如 \`[附件]合同协议\`),单元格值为 ZIP 相对路径(支持多行/逗号/分号分隔);系统执行严格双向验证(Excel 声明的路径必须在 ZIP 中存在,ZIP 中的文件必须在某个 \`[附件]\` 列中声明)。详见 \`references/cli.md\` 中 "Material Pack Workflow" 一节。它与 \`simulation material_pack\` 的官方服务端导入流程相互独立。
- 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>\`)。
- Full CLI inventory: read \`references/cli.md\`.
## High-Value Commands
\`\`\`bash
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 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 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)、模糊词拦截、悬空例外闭环、多 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/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 dz0=`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 mz0=`# 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.
## 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 lz0=`# 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 oz0="# 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 `./enterprises` and `~/.config/seal-use/enterprises` are merged.\n- User-level configs override same-ID local configs.\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** (e.g. `👉 Next action: ...`).\n- **`Exit Code`**: `0` on success, non-zero (e.g. `1`) on failure to trigger Agent error self-remediation.\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 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 push [--file <path>] [--corp <corpId>] [--publish] [--version-name <name>] [--dry-run|--yes]\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\nseal-use tools list\nseal-use corps list [--corp <corpId>]\nseal-use corps current [--corp <corpId>]\nseal-use corps switch <corpId>\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>] [--overwrite]\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 reset-password <userId> [--corp <corpId>]\nseal-use users get <userId> [--corp <corpId>]\nseal-use users delete <userId> [--corp <corpId>]\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 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>] [--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] [--corp <corpId>]\nseal-use webhook delete <idOrName> --yes [--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 '{...}' [--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\":\"...\"}' [--corp <corpId>]\nseal-use preference thinking-depth set --default <medium|high> [--corp <corpId>]\nseal-use preference thinking-depth policies list [--corp <corpId>]\nseal-use preference thinking-depth policies upsert --json '{...}' [--corp <corpId>]\nseal-use preference thinking-depth policies remove <policyId> [--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 approval-runs count --corp <corpId> [--status APPROVED]\nseal-use approval-runs export --corp <corpId> [--start <YYYY-MM-DD|ms>] [--end <YYYY-MM-DD|ms>] [--limit <n>] [--downloads] [--out <file>]\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 --corp <corpId>\nseal-use approval-runs url <recordId> --corp <corpId>\nseal-use approval-runs url --sourceDocumentSN <sourceDocumentSN> --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] --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 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 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\nIdentity and session:\n\n- `seal-use auth diagnose --corp <corpId>`\n- `seal-use corps list`\n- `seal-use corps current`\n\nApproval rule maintenance:\n\n- `seal-use rules count [--corp <corpId>]`\n- `seal-use rules list --summary [--corp <corpId>]`\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 push [--file <path>] [--corp <corpId>] [--publish] [--version-name <name>] [--dry-run|--yes]`\n- `seal-use rules clear [--corp <corpId>] [--dry-run|--yes]`\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 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 status [<材料包.zip|信息表.xlsx>] [--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,...>] [--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,...>] [--corp <corpId>]`\n- `seal-use webhook delete <idOrName> --yes [--corp <corpId>]`\n- `seal-use webhook material-pack preview <材料包.zip|信息表.xlsx> [--min-file-size <bytes>] [--max-file-size <bytes>] [--allowed-extensions <.pdf,.xlsx,...>] --corp <corpId>`\n- `seal-use webhook material-pack push <材料包.zip|信息表.xlsx> [--webhook <idOrName>] --corp <corpId>`\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 `materialPackFilePolicy` with `minFileSizeBytes`, optional `maxFileSizeBytes`, and `allowedExtensions`.\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 ... --corp <corpId>`\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\": \"text/markdown\",\n \"status\": \"可选\",\n \"scenarios\": [\"场景\"],\n \"tags\": [\"标签\"]\n}\n```\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## Material Pack Workflow\n\nA **material pack** (材料包) is a ZIP file that bundles an Excel information sheet (`信息表.xlsx`) with attachments organised by document ID. It is the primary input to the Webhook-based AI approval ingestion pipeline.\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\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 material 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 must have a matching ZIP root dir (exact match or `documentId@annotation`). 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# Check environment readiness and optionally pre-validate the material 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 material-pack preview <pack.zip> --corp <corpId>\n# Preview with temporary local policy overrides (comma-separated extensions)\nseal-use webhook material-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 material-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.\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\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### 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 rz0="# 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## 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 tz0=`# 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 az0=`# 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
List configured enterprises first:
\`\`\`bash
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.
## 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 sz0="# Enterprise Onboarding\n\nRead 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.\n\n## Start With Discovery\n\nRun 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`):\n\n```bash\nseal-use version\nseal-use corps list\n```\n\n- If `seal-use` is not installed on the system, run the curl install script above to install it.\n- If the target enterprise is listed, 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`.\n- If multiple configured enterprises plausibly match, show their human names and let the user choose. Keep their IDs as implementation details.\n- If none are configured, ask one plain-language question: “你现在手上有哪一种接入材料:合思开放平台 appKey/appSecurity、合思授权/协助链接、Seal 协助链接,还是从已登录的合思或 Seal 网页复制的 cURL?”\n\nDo not open with a JSON template or a list of internal fields.\n\nAll 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.\n\n## Keep Two Concepts Separate\n\nClassify both the enterprise identity origin and how the current credential was acquired:\n\n| Enterprise identity origin | Credential material the user may have | Meaning |\n| --- | --- | --- |\n| Hose/合思-sourced Seal tenant | Hose `appKey` + `appSecurity` | Stable, refreshable standard integration |\n| Hose/合思-sourced Seal tenant | Hose authorization/assistance link | Temporary Hose authorization that can lead into the Seal SSO session |\n| Hose/合思-sourced Seal tenant | cURL copied from an authenticated Hose or Seal page | Snapshot of a signed-in browser session; it may expire |\n| Seal-native tenant | Seal assistance/delegation link | Temporary delegated access to a Seal tenant |\n| Seal-native tenant | cURL copied from an authenticated Seal page | Snapshot containing the Seal host and session authentication |\n\nCredential 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.\n\n## Parameter Ownership\n\nAsk the user only for information that cannot be discovered safely:\n\n| Field | Owner and behavior |\n| --- | --- |\n| `appKey`, `appSecurity` | User supplies these for standard Hose OpenAPI onboarding. Explain that they come from the enterprise's 合思开放平台 application credentials. Treat both as secrets. |\n| `domain` | Probe the standard Hose SaaS domains automatically. Ask only when probing fails and the enterprise uses a private or dedicated deployment. |\n| Enterprise name and `corpId` | Discover from the credential response or Seal `whoami`. Do not ask the user to invent or locate them first. |\n| 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. |\n| Seal URL, tenant ID, tenant slug | Discover from the assistance link, cURL host, and Seal `whoami`. |\n| Bearer token, cookies, signed query tokens | Extract only from user-supplied authentication material. Never print them back or include them in summaries. |\n\n## Route 1: Standard Hose Credentials\n\nThis is the preferred durable route for a Hose-sourced tenant. Read `hose-enterprise-init.md`, then use:\n\n```bash\nseal-use corps add-hose --json '{\"appKey\":\"...\",\"appSecurity\":\"...\"}'\n```\n\nThe 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:\n\n```bash\nseal-use auth diagnose --corp <discovered-id>\n```\n\nDo 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.\n\n## Route 2: Incoming Assistance Link\n\nFirst distinguish the link by its host and purpose:\n\n- A Hose authorization/provisional link opens a Hose session and may continue through Seal SSO. It is not a Seal delegation link.\n- A Seal assistance/delegation link grants temporary delegated access on a Seal tenant. It is not a Hose OpenAPI credential.\n- `seal-use auth hose-link` and `seal-use delegation create` generate links for an enterprise that is already configured. `seal-use corps add-link <url>` imports a received Hose/合思 `thirdparty.html` assistance link and verifies the resulting Seal tenant.\n\nUse the direct import route when the incoming link is an HTTPS `thirdparty.html` URL from a supported `ekuaibao.com` or `hosecloud.com` domain:\n\n```bash\nseal-use corps add-link \"https://wx2.ekuaibao.com/web/thirdparty.html?accessToken=<temporary-token>&ekbCorpId=<corpId>&pageType=home\" [--name \"企业名称\"]\n```\n\nThe command parses `accessToken` and `ekbCorpId`, exchanges the temporary Hose token at the target Seal tenant, verifies `/api/v1/auth/me`, and stores only the normalized short-lived Seal session. It never prints or persists the original URL. Use `--overwrite` only when intentionally replacing an existing enterprise config. To create a Seal delegation link without persisting the session, use `seal-use delegation create --from-link <url> [--note ...]`.\n\nAssistance 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.\n\n## Route 3: Browser F12 cURL\n\nWhen the user needs capture instructions, give these concrete steps:\n\n1. Open the already signed-in Hose or Seal page.\n2. Open browser developer tools: `F12` on many keyboards, or `Option+Command+I` on macOS.\n3. Open **Network**, then select **Fetch/XHR**.\n4. Refresh the page or perform one ordinary read-only business action.\n5. Choose a successful business API request from the relevant tenant, not analytics, static assets, upload, delete, publish, or logout requests.\n6. Right-click it and choose **Copy → Copy as cURL**.\n7. Send that complete cURL only to the local trusted Agent handling setup.\n\nWhen receiving cURL:\n\n1. 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.\n2. 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.\n3. 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.\n4. 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.\n5. Persist only the normalized minimum configuration needed by seal-use. Do not preserve the raw cURL, unrelated headers, request body, cookies, or signed URL.\n\nFor a verified Seal Bearer captured from cURL, the existing CLI route is:\n\n```bash\nseal-use corps add-seal --json '{\"sealUrl\":\"https://target-tenant.example\",\"token\":\"<bearer>\"}'\n```\n\nThe 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.\n\n## Verify and Hand Off\n\nAfter adding an enterprise:\n\n```bash\nseal-use corps list\nseal-use corps current --corp <discovered-id>\nseal-use auth diagnose --corp <discovered-id> # Hose source\n```\n\nReport 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.\n\nIf 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.\n";var ez0=`# 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 $X0=`# 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 YX0={"SKILL.md":cz0,"agents/openai.yaml":dz0,"references/rule-lightweight.md":mz0,"references/approval-bad-cases.md":lz0,"references/cli.md":oz0,"references/approval-run-lightweight.md":rz0,"references/approval-attachment-trace.md":tz0,"references/customer-feedback-rule-remediation.md":az0,"references/enterprise-onboarding.md":sz0,"references/hose-enterprise-auth.md":ez0,"references/hose-enterprise-init.md":$X0};function JX0(){return YX0["SKILL.md"]||""}function zG(){return wx(UX0(),".agents","skills","seal-use")}function QX0(){return wx(UX0(),".agents","skills","seal-home")}function KX0(){let $=QX0();if(Xx($))try{return EG1($,{recursive:!0,force:!0}),!0}catch{return!1}return!1}function Lx($=zG()){KX0(),IX0($,{recursive:!0});let I=[];for(let[U,Y]of Object.entries(YX0)){let J=wx($,U);IX0(RG1(J),{recursive:!0}),BG1(J,Y,"utf8"),I.push(U)}return{targetDir:$,files:I}}function Dx(){let $=QX0(),I=zG(),U=Xx($),Y=Xx(I);if(U||Y)return KX0(),Lx(I),{synced:!0,targetDir:I};return{synced:!1}}function GX0($,I,U){if($==="dump"||$==="cat"||$==="show"){process.stdout.write(`${JX0()}
`);return}if($==="install"||$==="init"||$==="sync"){let Y=_0(U.options.local)||_0(U.options.workspace),J=h(U.options.dir)??h(U.options.target)??I,Q=J?J:Y?LD(process.cwd(),".agents","skills","seal-use"):zG(),K=Lx(Q);E0({installed:!0,targetDir:K.targetDir,fileCount:K.files.length,files:K.files});return}if($==="status"||$==="get"||!$){let Y=zG(),J=LD(process.cwd(),".agents","skills","seal-use");E0({global:{dir:Y,installed:qX0(LD(Y,"SKILL.md"))},local:{dir:J,installed:qX0(LD(J,"SKILL.md"))}});return}throw Error(`Unknown skill command: ${$}. Run 'seal-use help' for available commands.`)}async function HX0($,I){if($==="config"){E0(await AJ(I));return}throw Error(`Unknown source command: ${$??""}. Run 'seal-use help' for available commands.`)}async function WX0($,I,U,Y){if(!$)throw Error("Usage: seal-use tool <toolName> [--json '{...}']");await N0($,I,U,t6(Y.json),D0(Y.options))}function VX0(){E0(JG.map(($)=>({name:$.name,description:$.description})))}import{chmodSync as vG1,mkdirSync as CG1,renameSync as Ox,rmSync as jG1,unlinkSync as LX0,writeFileSync as ZX0}from"node:fs";import{dirname as _G1,join as zX0}from"node:path";import{spawnSync as GI}from"node:child_process";function DD($=process.execPath,I=import.meta.url){if(I.includes("/$bunfs/")||I.includes("\\$bunfs\\"))return!0;let U=$.toLowerCase().replace(/\\/g,"/");return!U.endsWith("/bun")&&!U.endsWith("/bun.exe")&&!U.endsWith("/node")&&!U.endsWith("/node.exe")}var DX0="yunyingk/seal-use",wG="yunyingk/seal-home";var SG1="SEAL_USE_GITHUB_REPO",gG1="SEAL_HOME_GITHUB_REPO";async function OX0($,I={}){let U={appRoot:$.appRoot,entryFile:$.entryFile,stateDir:Zx,version:$1,launcher:$.launcher},Y=I.repo||process.env[SG1]?.trim()||process.env[gG1]?.trim()||DX0,J=I.targetVersion?.trim(),Q=J&&J.toLowerCase()!=="latest"?J:void 0;if(Q){let A=Q.replace(/^v/,""),v=NX0(A,$1);if(v<0){E0({updated:!1,currentVersion:$1,targetVersion:A,mode:DD()?"binary":"source",message:`Cannot downgrade seal-use from v${$1} to older version v${A}. Updates must be forward-only.`});return}if(v===0&&!I.force){E0({updated:!1,currentVersion:$1,targetVersion:A,mode:DD()?"binary":"source",message:`seal-use is already at version v${$1}. Use --force to reinstall.`});return}}if(I.changelogOnly){let A=await Nx(Y,I.limit??10);E0({currentVersion:$1,totalQueried:A.length,releases:A.map((v)=>({version:v.version,tagName:v.tagName,publishedAt:v.publishedAt,author:v.author,releaseNotes:v.notes,releaseUrl:v.htmlUrl,isCurrent:v.version===$1,isNewer:XG(v.version,$1)}))});return}if(!DD()){if(I.checkOnly){let v=await Nx(Y,30),u=v[0],g=u?.version??$1,b=v.find((n)=>n.version===$1),C=XG(g,$1),p=v.filter((n)=>XG(n.version,$1));E0({updated:!1,updateAvailable:C,currentVersion:$1,currentVersionPublishedAt:b?.publishedAt,latestVersion:g,latestVersionPublishedAt:u?.publishedAt,behindCount:p.length,pendingReleases:p.map((n)=>({version:n.version,tagName:n.tagName,publishedAt:n.publishedAt,author:n.author,releaseNotes:n.notes,releaseUrl:n.htmlUrl})),releaseNotes:u?.notes??"",releaseUrl:u?.htmlUrl??"",mode:"source",message:"Running in source development mode. Run 'seal-use update' to git pull & bun install."});return}let A=TJ(U).running;if(A)await qI("stop",U);try{wX0("git",["-C",$.appRoot,"pull","--ff-only"])}catch(v){console.error(`git pull skipped: ${v instanceof Error?v.message:String(v)}`)}if(wX0("bun",["install"],{cwd:$.appRoot}),A)await qI("start",U);E0({updated:!0,serviceRestarted:A,version:$1,mode:"source"});return}let K=yG1(),q=hG1(),G=await Nx(Y,30),H=Q?G.find((A)=>A.version===Q||A.tagName===Q||A.tagName===`v${Q}`)??await XX0(Y,Q):G[0]??await XX0(Y);if(!H){E0({updated:!1,currentVersion:$1,mode:"binary",message:`Failed to query releases from repository '${Y}'`});return}let W=H.version,V=G.find((A)=>A.version===$1),z=XG(W,$1),Z=z||Boolean(I.force),w=G.filter((A)=>XG(A.version,$1));if(I.checkOnly){E0({updated:!1,updateAvailable:z,currentVersion:$1,currentVersionPublishedAt:V?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,behindCount:w.length,pendingReleases:w.map((A)=>({version:A.version,tagName:A.tagName,publishedAt:A.publishedAt,author:A.author,releaseNotes:A.notes,releaseUrl:A.htmlUrl})),releaseNotes:H.notes,releaseUrl:H.htmlUrl,mode:"binary"});return}if(!Z){E0({updated:!1,currentVersion:$1,currentVersionPublishedAt:V?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,mode:"binary",message:`seal-use is already up to date (v${$1})`});return}let L=xG1(H.assets,K,q);if(!L)throw Error(`No compatible binary found for ${K}-${q} in release v${W}. Available assets: ${H.assets.map((A)=>A.name).join(", ")}`);let D=TJ(U).running;if(D)await qI("stop",U);let N=process.execPath,E=_G1(N),T=zX0(E,`.tmp-update-${Date.now()}`);CG1(T,{recursive:!0});try{let A=zX0(T,L.name);await kG1(L.downloadUrl,A,H.tagName,L.name);let v=A;if(L.name.endsWith(".tar.gz")||L.name.endsWith(".tgz"))v=uG1(A,T,K);else if(L.name.endsWith(".zip"))v=fG1(A,T,K);if(vG1(v,493),process.platform==="darwin")try{GI("/usr/bin/codesign",["--remove-signature",v],{stdio:"ignore"}),GI("/usr/bin/codesign",["--force","--sign","-",v],{stdio:"ignore"})}catch{}if(process.platform==="win32"){let g=`${N}.old.${Date.now()}`;try{Ox(N,g)}catch{}Ox(v,N)}else Ox(v,N);if(D)await qI("start",U);let u=Dx();E0({updated:!0,fromVersion:$1,toVersion:W,serviceRestarted:D,skillSynced:u.synced?u.targetDir:!1,mode:"binary"})}finally{try{jG1(T,{recursive:!0,force:!0})}catch{}}}function yG1(){if(process.platform==="darwin")return"darwin";if(process.platform==="win32")return"windows";return"linux"}function hG1(){return process.arch==="arm64"?"arm64":"x64"}function Fx(){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 Nx($,I=20){let U=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,Y={"User-Agent":`seal-use/${$1}`,Accept:"application/vnd.github.v3+json",...U?{Authorization:`Bearer ${U}`}:{}},J=Fx(),Q=[];if(J!=="github")Q.push(`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases?per_page=${I}`,`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases?per_page=${I}`);if(J!=="gitea"){if(Q.push(`https://api.github.com/repos/${$}/releases?per_page=${I}`),$!==wG)Q.push(`https://api.github.com/repos/${wG}/releases?per_page=${I}`)}for(let K of Q)try{let q=await fetch(K,{headers:Y,signal:AbortSignal.timeout(3000)});if(!q.ok)continue;let G=await q.json();if(!Array.isArray(G)||G.length===0)continue;let H=[];for(let W of G){let V=W.tag_name??"",z=V.replace(/^v/,"");if(!z)continue;let Z=(W.assets??[]).map((w)=>({name:w.name,downloadUrl:w.browser_download_url,size:w.size??0}));H.push({version:z,tagName:V,name:W.name??V,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:Z})}if(H.length>0)return H}catch{}return[]}async function XX0($,I){let U=I?I.startsWith("v")?I:`v${I}`:void 0,Y=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,J={"User-Agent":`seal-use/${$1}`,Accept:"application/vnd.github.v3+json",...Y?{Authorization:`Bearer ${Y}`}:{}},Q=Fx(),K=[];if(Q!=="github")K.push(U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/latest",U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/latest");if(Q!=="gitea"){if(K.push(U?`https://api.github.com/repos/${$}/releases/tags/${U}`:`https://api.github.com/repos/${$}/releases/latest`),$!==wG)K.push(U?`https://api.github.com/repos/${wG}/releases/tags/${U}`:`https://api.github.com/repos/${wG}/releases/latest`)}let q;for(let G of K)try{let H=await fetch(G,{headers:J,signal:AbortSignal.timeout(3000)});if(!H.ok)continue;let W=await H.json(),V=W.tag_name??"",z=V.replace(/^v/,"");if(!z)continue;let Z=(W.assets??[]).map((L)=>({name:L.name,downloadUrl:L.browser_download_url,size:L.size??0})),w={version:z,tagName:V,name:W.name??V,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:Z};if(Z.length>0)return w;if(!q)q=w}catch{}return q}function xG1($,I,U){let Y={darwin:["darwin","macos","osx","apple"],linux:["linux"],windows:["windows","win32","win"]},J={arm64:["arm64","aarch64"],x64:["x64","x86_64","amd64"]},Q=Y[I]||[],K=J[U]||[],q=$.filter((W)=>{let V=W.name.toLowerCase(),z=Q.some((w)=>V.includes(w)),Z=K.some((w)=>V.includes(w));return z&&Z}),G=q.find((W)=>!W.name.endsWith(".tar.gz")&&!W.name.endsWith(".tgz")&&!W.name.endsWith(".zip")&&!W.name.endsWith(".sha256"));if(G)return G;return q.find((W)=>W.name.endsWith(".tar.gz")||W.name.endsWith(".tgz")||W.name.endsWith(".zip"))||q[0]}function OD($){try{process.stderr.write(`${$}
`)}catch{}}async function kG1($,I,U,Y){let J=Fx(),Q=[],K=U?U.startsWith("v")?U:`v${U}`:void 0,q=Y||$.split("/").pop()||"";if(J!=="github"){if(K&&q)Q.push(`https://git.ying-qing.cn/gitea/seal-use/releases/download/${K}/${q}`,`https://git.ying-qing.cn/gitea/seal-home/releases/download/${K}/${q}`);if($.startsWith("https://git.ying-qing.cn"))Q.push($)}if(J!=="gitea")if(K&&q){let L=`https://github.com/${DX0}/releases/download/${K}/${q}`;if(!process.env.CI)Q.push(`https://ghfast.top/${L}`,`https://gh.ddlc.top/${L}`);Q.push(L)}else if($.includes("github.com")){if(!process.env.CI)Q.push(`https://ghfast.top/${$}`,`https://gh.ddlc.top/${$}`);Q.push($)}else Q.push($);let G=Array.from(new Set(Q)),H,W=6000,V=6000,z=307200,Z=1e4,w=180000;for(let L=0;L<G.length;L++){let D=G[L],N=new AbortController,E="",T=(g)=>{E=g;try{N.abort()}catch{}},A=setTimeout(()=>{T("Connection timed out (no response headers within 6s)")},W),v,u;try{OD(`==> [${L+1}/${G.length}] Downloading via: ${D}`);let g=await fetch(D,{signal:N.signal});if(A)clearTimeout(A),A=void 0;if(!g.ok)throw Error(`HTTP ${g.status} ${g.statusText}`);v=setTimeout(()=>{T("Overall download time exceeded 3 minutes")},w);let b=Number(g.headers.get("content-length"))||0,C=g.body?.getReader();if(!C){let i=Buffer.from(await g.arrayBuffer());if(i.length<1000)throw Error(`Downloaded content is suspiciously small (${i.length} bytes)`);ZX0(I,i),OD(`✓ Download succeeded (${(i.length/1024/1024).toFixed(1)} MB)`);return}let p=[],n=0,S=0;u=setTimeout(()=>{if(n<z){let i=(n/1024).toFixed(1);T(`Initial transfer too slow (${i} KB < 300 KB in 6s), switching mirror...`)}},V);while(!0){let i=C.read(),Y0,B=new Promise((K0,W0)=>{Y0=setTimeout(()=>{W0(Error("Data transfer stalled (no chunk received for 10s)"))},Z)}),k;try{k=await Promise.race([i,B])}finally{if(Y0)clearTimeout(Y0)}let{done:d,value:t}=k;if(d)break;if(t){if(p.push(t),n+=t.length,u&&n>=z)clearTimeout(u),u=void 0;let K0=Date.now();if(K0-S>200){S=K0;let W0=b?Math.round(n/b*100):0,M0=(n/1048576).toFixed(1),B0=b?(b/1048576).toFixed(1):"?";try{process.stderr.write(`\r ↳ Progress: ${W0}% (${M0} / ${B0} MB)...`)}catch{}}}}try{process.stderr.write(`
`)}catch{}let f=Buffer.concat(p);if(f.length<1000)throw Error(`Downloaded content is suspiciously small (${f.length} bytes)`);ZX0(I,f),OD(`✓ Download completed successfully (${(f.length/1024/1024).toFixed(1)} MB)`);return}catch(g){if(A)clearTimeout(A);if(u)clearTimeout(u);if(v)clearTimeout(v);let b=E||(g instanceof Error?g.message:String(g));H=Error(b),OD(`
↳ Mirror failed: ${H.message}`)}finally{if(A)clearTimeout(A);if(u)clearTimeout(u);if(v)clearTimeout(v)}}throw Error(`Failed to download asset from all mirrors: ${H?.message}`)}function uG1($,I,U){let Y=GI("tar",["-xzf",$,"-C",I],{stdio:"pipe"});if(Y.status!==0)throw Error(`Failed to extract tar archive: ${Y.stderr.toString()}`);LX0($);let J=U==="windows"?"seal-use.exe":"seal-use",Q=GI("find",[I,"-type","f"],{encoding:"utf8"}).stdout.trim().split(`
`).filter(Boolean),K=Q.find((q)=>q.endsWith(`/${J}`)||q.endsWith(J));if(K)return K;return Q[0]||$}function fG1($,I,U){let Y=GI("unzip",["-q","-o",$,"-d",I],{stdio:"pipe"});if(Y.status!==0)throw Error(`Failed to extract zip archive: ${Y.stderr.toString()}`);LX0($);let J=U==="windows"?"seal-use.exe":"seal-use",Q=GI("find",[I,"-type","f"],{encoding:"utf8"}).stdout.trim().split(`
`).filter(Boolean),K=Q.find((q)=>q.endsWith(`/${J}`)||q.endsWith(J));if(K)return K;return Q[0]||$}function NX0($,I){let U=$.replace(/^v/,"").split(".").map((J)=>Number.parseInt(J,10)||0),Y=I.replace(/^v/,"").split(".").map((J)=>Number.parseInt(J,10)||0);for(let J=0;J<Math.max(U.length,Y.length);J++){let Q=U[J]??0,K=Y[J]??0;if(Q>K)return 1;if(Q<K)return-1}return 0}function XG($,I){return NX0($,I)>0}function wX0($,I,U={}){let Y=GI($,I,{cwd:U.cwd,encoding:"utf8",stdio:["ignore","pipe","pipe"]});if(Y.stdout)console.error(Y.stdout.trimEnd());if(Y.stderr)console.error(Y.stderr.trimEnd());if(Y.status!==0)throw Error(`${$} ${I.join(" ")} failed with status ${Y.status}`)}async function FX0($,I,U,Y,J){if($==="create"){let Q=h(J.options.name)??I,K=h(J.options.phone);if(!Q||!K)throw Error("Usage: seal-use users create --name <name> --phone <phone> [--dept <deptId>]");let q=h(J.options.dept)??h(J.options.departmentId);await N0("seal_user_create",U,Y,{name:Q,phone:K,departmentIds:q?[q]:void 0},D0(J.options));return}if($==="reset-password"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users reset-password <userId>");await N0("seal_user_reset_password",U,Y,{userId:Q},D0(J.options));return}if($==="search"||$==="list"){let Q=I??h(J.options.keyword)??h(J.options.query)??"";await N0("seal_user_search",U,Y,{keyword:Q},D0(J.options));return}if($==="get"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users get <userId>");await N0("seal_user_get",U,Y,{userId:Q},D0(J.options));return}if($==="delete"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users delete <userId>");await N0("seal_user_delete",U,Y,{userId:Q},D0(J.options));return}if($==="activate"){let Q=I??h(J.options.userId);if(!Q)throw Error("Usage: seal-use users activate <userId>");await N0("seal_user_activate",U,Y,{userId:Q},D0(J.options));return}if($==="delegation"||$==="impersonate"){let Q=I??h(J.options.userId)??h(J.options.phone);if(!Q)throw Error("Usage: seal-use users delegation <userIdOrPhone> [--note <note>]");let K=h(J.options.note);await N0("seal_user_delegation_create",U,Y,{userIdOrPhone:Q,note:K},D0(J.options));return}throw Error(`Unknown users command: ${$??""}. Run 'seal-use help' for available commands.`)}import{existsSync as MX0}from"node:fs";async function AX0($,I){if(!MX0($))throw Error(`File not found: ${$}`);let U=UI($);console.log(JSON.stringify(await II(U.fileBuffer,U.fileName,I),null,2))}async function PX0($,I,U,Y,J){if($==="ready"||$==="status"){let Q=I??h(J.options.file)??h(J.options.input),K=await aL(U,Y,{filePath:Q,webhook:h(J.options.webhook)??h(J.options.selector)});if(console.error(`[webhook-ready] 企业环境: ${K.corp.name} (${K.corp.id}) [${K.stateMode}]`),K.corp.tenant?.name)console.error(`[webhook-ready] 租户信息: ${K.corp.tenant.name} (${K.corp.tenant.id})`);console.error(`[webhook-ready] 凭证状态: ${K.authStatus==="ok"?"OK":`异常 (${K.authError})`}`),console.error(`[webhook-ready] Webhook 通道: ${K.activeWebhooks.length} 个可用`);for(let q of K.activeWebhooks){let G=q.isDefault?" [默认通道]":"";console.error(` - ${q.name} (${q.id}) mode=${q.mode}${G}`)}if(K.materialPack)console.error(`[webhook-ready] 材料包预检: ${K.materialPack.valid?`通过 (${K.materialPack.documentCount} 单)`:`失败 (${K.materialPack.errors?.join("; ")})`}`);if(K.ready)console.error(`\uD83D\uDFE2 ${K.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${K.nextAction}`);else console.error(`\uD83D\uDD34 准备阶段未通过: ${K.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${K.nextAction}`);console.log(JSON.stringify(K,null,2));return}if($==="material-pack"||$==="material-pack-push"){let Q=$==="material-pack-push"?"push":I,K=$==="material-pack-push"?h(J.options.file)??h(J.options.input):J.command[3]??h(J.options.file)??h(J.options.input);if(!K)throw Error("Usage: seal-use webhook material-pack <preview|push> <材料包.zip>");if(!MX0(K))throw Error(`File not found: ${K}`);let q=UI(K);if(Q==="preview"){console.log(JSON.stringify(await II(q.fileBuffer,q.fileName),null,2));return}if(Q!=="push")throw Error("Usage: seal-use webhook material-pack <preview|push> <材料包.zip>");let G=h(J.options.webhook)??h(J.options.selector),H=await Z9(U,Y.seal.endpoints.approvalStylePreferences),W;if(G)W=z9(H,G);else if(H.length===1)W=H[0],console.error(`\uD83D\uDC49 自动锁定唯一可用 Webhook 通道: ${W.name} (${W.id})`);else if(H.length>1){let z=H.map((Z)=>`"${Z.name}" (${Z.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${z}],请通过 --webhook <idOrName> 指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。请先运行 'seal-use webhook add --name ... --result-url ...' 创建通道。");let V=await tL(q.fileBuffer,q.fileName,{webhookUrl:W.incomingDocumentWebhook.url,secret:W.secret,materialPackFilePolicy:W.materialPackFilePolicy});console.log(JSON.stringify(V,null,2));return}if($==="list"){await N0("seal_webhook_list",U,Y,{query:h(J.options.query)??h(J.options.keyword),includeSecret:Ux(J.options)},D0(J.options));return}if($==="get"||$==="find"){let Q=I??h(J.options.selector)??h(J.options.id);if(!Q)throw Error("Usage: seal-use webhook get <idOrName> [--show-secret]");await N0("seal_webhook_get",U,Y,{selector:Q,includeSecret:Ux(J.options)},D0(J.options));return}if($==="add"||$==="create"){let Q=h(J.options.name)??I,K=h(J.options.resultUrl)??h(J.options["result-url"])??h(J.options.outgoingResultWebhook)??h(J.options["outgoing-result-webhook"]);if(!Q||!K)throw Error("Usage: seal-use webhook add --name <name> --result-url <url> [--mode assisted|semi_automatic|fully_automatic]");let q=Ix(J.options),G=qG(J.options);await N0("seal_webhook_add",U,Y,{name:Q,mode:$x(h(J.options.mode)),outgoingResultWebhook:K,autoApprovalRate:q,secret:h(J.options.secret),materialPackFilePolicy:G},D0(J.options));return}if($==="update"){let Q=I??h(J.options.selector)??h(J.options.id);if(!Q)throw Error("Usage: seal-use webhook update <idOrName> [options]");let K=h(J.options.secret),q=_0(J.options.rotateSecret)??_0(J.options["rotate-secret"]);if(K!==void 0&&q)throw Error("Use either --secret or --rotate-secret, not both");let G=h(J.options.name),H=$x(h(J.options.mode)),W=h(J.options.resultUrl)??h(J.options["result-url"])??h(J.options.outgoingResultWebhook)??h(J.options["outgoing-result-webhook"]),V=Ix(J.options),z=qG(J.options);if(G===void 0&&H===void 0&&W===void 0&&V===void 0&&K===void 0&&!q&&z===void 0)throw Error("Webhook update requires at least one field option");await N0("seal_webhook_update",U,Y,{selector:Q,name:G,mode:H,outgoingResultWebhook:W,autoApprovalRate:V,secret:K,rotateSecret:q,materialPackFilePolicy:z},D0(J.options));return}if($==="delete"){let Q=I??h(J.options.selector)??h(J.options.id);if(!Q)throw Error("Usage: seal-use webhook delete <idOrName> --yes");if(_0(J.options.yes)!==!0)throw Error("Refusing to delete Webhook integration without --yes");await N0("seal_webhook_delete",U,Y,{selector:Q,confirm:!0},D0(J.options));return}throw Error(`Unknown webhook command: ${$??""}. Run 'seal-use help' for available commands.`)}var TX0=Mx(Mx(Mx(iG1(import.meta.url)))),nG1=new Set(["config","service","stop","http","serve","update","tools","corps","tool","source","auth","delegation","users","llm","permissions","billing","webhook","webhooks","context","rules","approval-runs","simulation","deploy","preference","preferences","mcp","server","mcp-config","skill","openapi","probe","changelog"]),pG1=new Set(["http","server","web","mcp"]);function cG1($){if(!$.length)return!1;let I=$[0]?.toLowerCase(),U=$[1]?.toLowerCase();if(I&&pG1.has(I))return!0;if((I==="service"||I==="daemon")&&U==="run")return!0;return!1}var EX0=Promise.resolve();function VG($,I={}){if(cG1($))return BX0($,I);let U=EX0.then(()=>BX0($,I));return EX0=U.then(()=>{return},()=>{return}),U}async function BX0($,I){let U=[],Y=[],J=console.log,Q=console.error,K={appRoot:I.appRoot??TX0,entryFile:I.entryFile??bG1(I.appRoot??TX0,"src","cli.ts"),launcher:I.launcher};console.log=(...q)=>{U.push(Yx(q))},console.error=(...q)=>{Y.push(Yx(q))};try{return await dG1($,K),{stdout:GG(U),stderr:GG(Y),isError:!1,exitCode:0}}catch(q){return Y.push(HG(q instanceof Error?q.message:String(q))),{stdout:GG(U),stderr:GG(Y),isError:!0,exitCode:1}}finally{console.log=J,console.error=Q}}async function dG1($,I){let U=eZ0($),[Y,J,Q]=U.command;if(Y==="version"||Y==="v"||Boolean(U.options.version)||Boolean(U.options.v)||Boolean(U.options.V)){E0({name:"seal-use",version:$1});return}if(!Y||Y==="help"||U.options.help){qz0();return}if(!nG1.has(Y))throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`);if(Y==="webhook"&&J==="material-pack"&&Q==="preview"){let G=U.command[3]??h(U.options.file)??h(U.options.input);if(!G)throw Error("Usage: seal-use webhook material-pack preview <材料包.zip>");await AX0(G,qG(U.options));return}if(Y==="openapi"){Sz0(U);return}if(Y==="mcp-config"){Kx();return}if(Y==="skill"){GX0(J,Q,U);return}if(Y==="mcp"||Y==="server"){await _z0(J,U);return}if(Y==="probe"){await kz0(J,Q,U);return}if(Y==="config"){wz0(J,Q,U);return}if(Y==="service"){await zx(J,I,U);return}if(Y==="stop"){await zx("stop",I,U);return}if(Y==="http"||Y==="serve"){await Cz0(U);return}if(Y==="update"||Y==="changelog"){let G=Y==="changelog"||J==="changelog"||J==="log"||J==="history"||_0(U.options.changelog)===!0,H=J==="check"||_0(U.options.check)===!0||_0(U.options["check-only"])===!0,W=h(U.options.version)??h(U.options.tag)??(!G&&!H&&J&&!J.startsWith("-")?J:void 0);await OX0(I,{checkOnly:H,changelogOnly:G,limit:a0(U.options.limit),force:_0(U.options.force),targetVersion:W,repo:h(U.options.repo)});return}if(Y==="tools"&&J==="list"){VX0();return}if(Y==="corps"){await Mz0(J,Q,U);return}if(Y==="delegation"&&J==="create"&&(("from-link"in U.options)||("link"in U.options))){let G=h(U.options["from-link"])??h(U.options.link);if(!G)throw Error("Usage: seal-use delegation create --from-link <url> [--note <note>]");await Pz0(G,h(U.options.note));return}if(Y==="rules"&&J==="lint"&&(("file"in U.options)||("f"in U.options))){let G;try{G=D4(h(U.options.corp))}catch{G={id:"local",name:"Local Workspace",source:{type:"native"}}}await Gx(J,Q,null,G,U);return}let K=D4(h(U.options.corp));if(Y==="source"){await HX0(J,K);return}if(Y==="auth"){await Vz0(J,K,U);return}let q=await U4(K);if(Y==="delegation"){await Tz0(J,Q,q,K,U);return}if(Y==="users"){await FX0(J,Q,q,K,U);return}if(Y==="llm"){await jz0(J,q,K,U);return}if(Y==="permissions"){await gz0(J,q,K,U);return}if(Y==="billing"){await Xz0(J,q,K,U);return}if(Y==="webhook"||Y==="webhooks"){await PX0(J,Q,q,K,U);return}if(Y==="context"){await Lz0(q,K,U);return}if(Y==="rules"){await Gx(J,Q,q,K,U);return}if(Y==="approval-runs"){await Gz0(J,Q,q,K,U);return}if(Y==="simulation"){await pz0(J,Q,q,K,U);return}if(Y==="deploy"){await Ez0(J,Q,U.command[3],q,K,U);return}if(Y==="preference"||Y==="preferences"){await hz0(J,Q,U.command[3],U.command[4],q,K,U);return}if(Y==="tool"){await WX0(J,q,K,U);return}throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`)}var n5=mG1(import.meta.url),vX0=n5.includes("/dist/mcp/")||n5.includes("\\dist\\mcp\\")?LG(LG(LG(n5))):LG(LG(n5)),lG1="seal_cli",oG1="SEAL_USE_MCP_ENABLED",rG1="SEAL_HOME_MCP_ENABLED";function tG1($=process.env[oG1]??process.env[rG1]){if($===void 0)return!1;return["1","true","yes","on"].includes($.trim().toLowerCase())}function aG1($={}){let I=$.enableCli??!0,U=new pT({name:"seal-use",version:$1},{capabilities:{tools:{}}});if(U.setRequestHandler(jP,async()=>({tools:I?[{name:lG1,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}}]:[]})),I)U.setRequestHandler(EQ,async(Y)=>{let J=Y.params.arguments,Q=J&&typeof J.command==="string"?J.command:void 0;if(!Q?.trim())return Ax({stdout:"",stderr:"seal_cli requires a non-empty command string",isError:!0,exitCode:1});try{let K=Qx(Q),q=sG1(K);if(!q.length)throw Error("seal_cli requires a non-empty command string");return Ax(await VG(q,{appRoot:vX0,entryFile:n5,launcher:{command:process.execPath,args:[n5,"--seal-home-cli"]}}))}catch(K){return Ax({stdout:"",stderr:K instanceof Error?K.message:String(K),isError:!0,exitCode:1})}});return U}async function qx(){let $=tG1();await aG1({enableCli:$}).connect(new dT),console.error($?"seal-use MCP server running on stdio":"seal-use MCP server connected with seal_cli disabled by configuration")}function Qx($){let I=[],U="",Y,J=!1,Q=!1;for(let K of $){if(J){U+=K,J=!1,Q=!0;continue}if(K==="\\"&&Y!=="'"){J=!0,Q=!0;continue}if(Y){if(K===Y)Y=void 0;else U+=K;Q=!0;continue}if(K==="'"||K==='"'){Y=K,Q=!0;continue}if(/\s/.test(K)){if(Q)I.push(U),U="",Q=!1;continue}U+=K,Q=!0}if(J)throw Error("Invalid command: trailing escape");if(Y)throw Error("Invalid command: unterminated quote");if(Q)I.push(U);return I}function sG1($){let I=$[0];if(!I)return[];if(I==="seal-use"||I==="seal-home"||I.endsWith("/seal-use")||I.endsWith("/seal-home"))return $.slice(1);return $}function Ax($){return{content:[{type:"text",text:$.isError?$.stderr||$.stdout:$.stdout}],isError:$.isError}}async function eG1(){let $=await VG(process.argv.slice(3),{appRoot:vX0,entryFile:n5,launcher:{command:process.execPath,args:[n5,"--seal-use-cli"]}});if($.stdout)process.stdout.write($.stdout);if($.stderr)process.stderr.write(`${$.stderr}${$.stderr.endsWith(`
`)?"":`
`}`);process.exitCode=$.exitCode}var $H1=Boolean(r.main==r.module||!import.meta.url.includes("$bunfs")&&process.argv[1]&&RX0(process.argv[1])===RX0(n5));if($H1)if(process.argv[2]==="--seal-use-cli"||process.argv[2]==="--seal-home-cli")await eG1();else qx().catch(($)=>{console.error($),process.exitCode=1});export{Qx as tokenizeCommand,qx as startServer,tG1 as resolveMcpEnabled,aG1 as createServer,oG1 as SEAL_MCP_ENABLED_ENV,lG1 as SEAL_CLI_TOOL_NAME,rG1 as LEGACY_SEAL_MCP_ENABLED_ENV};