@smartledger/bsv 9.22.1 → 9.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bsv-gdaf.min.js CHANGED
@@ -72,7 +72,7 @@ To validate against BSV as it is today, omit the flags argument or pass Interpre
72
72
  [@smartledger/bsv] `+this.eraHint+`
73
73
  (shown once per process)
74
74
  `))}}};L.prototype.verify=function(e,t,r,i,n,o){this.eraHint=null;var a=this._verifyCore(e,t,r,i,n,o);return a||this._eraDiagnose(n),a};L._resetEraWarning=function(){x_=!1};L.mainnetFlags=function(e){e=e||{};var t=L.SCRIPT_VERIFY_P2SH|L.SCRIPT_VERIFY_STRICTENC|L.SCRIPT_VERIFY_DERSIG|L.SCRIPT_VERIFY_SIGPUSHONLY|L.SCRIPT_VERIFY_LOW_S|L.SCRIPT_VERIFY_NULLFAIL|L.SCRIPT_VERIFY_MINIMALDATA|L.SCRIPT_ENABLE_SIGHASH_FORKID|L.SCRIPT_ENABLE_MAGNETIC_OPCODES|L.SCRIPT_ENABLE_MONOLITH_OPCODES|L.SCRIPT_GENESIS|L.SCRIPT_UTXO_AFTER_GENESIS;return e.afterChronicle!==!1&&(t|=L.SCRIPT_ENABLE_CHRONICLE|L.SCRIPT_UTXO_AFTER_CHRONICLE),t};L.currentConsensusFlags=function(){return L.SCRIPT_ENABLE_MONOLITH_OPCODES|L.SCRIPT_ENABLE_MAGNETIC_OPCODES|L.SCRIPT_GENESIS|L.SCRIPT_UTXO_AFTER_GENESIS|L.SCRIPT_ENABLE_CHRONICLE|L.SCRIPT_UTXO_AFTER_CHRONICLE|L.SCRIPT_ENABLE_SIGHASH_FORKID|L.SCRIPT_VERIFY_SIGPUSHONLY|L.SCRIPT_VERIFY_LOW_S|L.SCRIPT_VERIFY_NULLFAIL};L.useMainnetConsensus=function(e){return e=e||{},L.useGenesisLimits(e.max),L.mainnetFlags(e)};L.SEQUENCE_LOCKTIME_DISABLE_FLAG=1<<31;L.SEQUENCE_LOCKTIME_TYPE_FLAG=1<<22;L.SEQUENCE_LOCKTIME_MASK=65535;L.castToBool=function(e){for(var t=0;t<e.length;t++)if(e[t]!==0)return!(t===e.length-1&&e[t]===128);return!1};function UB(e,t){return(e&L.SCRIPT_CHRONICLE)===0?!0:!(t&&(t.version|0)>1)}L.prototype.enforceNonMalleability=function(){return UB(this.flags,this.tx)};L.prototype.checkSignatureEncoding=function(e){var t;if(e.length===0)return!0;if((this.flags&(L.SCRIPT_VERIFY_DERSIG|L.SCRIPT_VERIFY_LOW_S|L.SCRIPT_VERIFY_STRICTENC))!==0&&!ma.isTxDER(e))return this.errstr="SCRIPT_ERR_SIG_DER_INVALID_FORMAT",!1;if((this.flags&L.SCRIPT_VERIFY_LOW_S)!==0&&(t=ma.fromTxFormat(e),!t.hasLowS()&&this.enforceNonMalleability()))return this.errstr="SCRIPT_ERR_SIG_DER_HIGH_S",!1;if((this.flags&L.SCRIPT_VERIFY_STRICTENC)!==0){if(t=ma.fromTxFormat(e),!t.hasDefinedHashtype())return this.errstr="SCRIPT_ERR_SIG_HASHTYPE",!1;if(!(this.flags&L.SCRIPT_ENABLE_SIGHASH_FORKID)&&t.nhashtype&ma.SIGHASH_FORKID)return this.errstr="SCRIPT_ERR_ILLEGAL_FORKID",!1;if(!(this.flags&L.SCRIPT_CHRONICLE)&&t.nhashtype&ma.SIGHASH_CHRONICLE)return this.errstr="SCRIPT_ERR_ILLEGAL_CHRONICLE",!1;if(this.flags&L.SCRIPT_ENABLE_SIGHASH_FORKID&&!(t.nhashtype&ma.SIGHASH_FORKID))return this.errstr="SCRIPT_ERR_MUST_USE_FORKID",!1}return!0};function HB(e,t,r){var i=t.length?t[t.length-1]:0;return(!(r&L.SCRIPT_ENABLE_SIGHASH_FORKID)||!(i&ma.SIGHASH_FORKID))&&e.findAndDelete(new im().add(t)),e}L.prototype.checkPubkeyEncoding=function(e){return(this.flags&L.SCRIPT_VERIFY_STRICTENC)!==0&&!E_.isValid(e)?(this.errstr="SCRIPT_ERR_PUBKEYTYPE",!1):!0};L.prototype.isAfterGenesis=function(){return(this.flags&L.SCRIPT_UTXO_AFTER_GENESIS)!==0};L.prototype.isAfterChronicle=function(){return(this.flags&(L.SCRIPT_UTXO_AFTER_CHRONICLE|L.SCRIPT_ENABLE_CHRONICLE))!==0};L.prototype.maxScriptElementSize=function(){return this.isAfterGenesis()?L.UNLIMITED:L.MAX_SCRIPT_ELEMENT_SIZE};L.prototype.maxScriptSize=function(){return this.isAfterGenesis()?L.UNLIMITED:L.MAX_SCRIPT_SIZE};L.prototype.maxOpsPerScript=function(){return this.isAfterGenesis()?L.UNLIMITED:L.MAX_OPS_PER_SCRIPT};L.prototype.maxScriptNumLength=function(){return this.isAfterChronicle()?L.MAX_SCRIPT_NUM_LENGTH_AFTER_CHRONICLE:this.isAfterGenesis()?L.MAX_SCRIPT_NUM_LENGTH_AFTER_GENESIS:L.MAXIMUM_ELEMENT_SIZE};L.prototype.maxStackSize=function(){return this.isAfterGenesis()?L.UNLIMITED:L.MAX_STACK_SIZE};L.prototype.maxStackMemoryUsage=function(){return this.isAfterGenesis()?L.MAX_STACK_MEMORY_USAGE_AFTER_GENESIS:L.UNLIMITED};L.prototype.stackMemoryUsage=function(){let e=L.STACK_ELEMENT_OVERHEAD,t=(this.stack.length+this.altstack.length)*e;for(let r=0;r<this.stack.length;r++)t+=this.stack[r].length;for(let r=0;r<this.altstack.length;r++)t+=this.altstack[r].length;return t};L.prototype.checkStackLimits=function(){if(this.stack.length+this.altstack.length>this.maxStackSize())return"SCRIPT_ERR_STACK_SIZE";let e=this.maxStackMemoryUsage();return e!==L.UNLIMITED&&this.stackMemoryUsage()>e?"SCRIPT_ERR_STACK_SIZE":null};L.prototype.maxPubKeysPerMultisig=function(){return this.isAfterGenesis()?L.MAX_PUBKEYS_PER_MULTISIG_AFTER_GENESIS:20};L._isMinimallyEncoded=function(e,t){return t=t||L.MAXIMUM_ELEMENT_SIZE,!(e.length>t||e.length>0&&(e[e.length-1]&127)===0&&(e.length<=1||(e[e.length-2]&128)===0))};L._minimallyEncode=function(e){if(e.length===0)return e;var t=e[e.length-1];if(t&127)return e;if(e.length===1)return f.Buffer.from("");if(e[e.length-2]&128)return e;e=f.Buffer.from(e);for(var r=e.length-1;r>0;r--)if(e[r-1]!==0)return e[r-1]&128?e[r++]=t:e[r-1]|=t,e.slice(0,r);return f.Buffer.from("")};L.prototype.evaluate=function(){if(this.script.toBuffer().length>this.maxScriptSize())return this.errstr="SCRIPT_ERR_SCRIPT_SIZE",!1;try{for(;this.pc<this.script.chunks.length;){let r={pc:this.pc,opcode:j.fromNumber(this.script.chunks[this.pc].opcodenum)};var e=this.step();if(!e)return!1;if(this._callbackStep(r),this.returned)return!0;let i=this.checkStackLimits();if(i)return this.errstr=i,!1}let t=this.checkStackLimits();if(t)return this.errstr=t,!1}catch(t){return this.errstr=t.scriptErr||"SCRIPT_ERR_UNKNOWN_ERROR: "+t,!1}return this.vfExec.length>0?(this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1):!0};L.prototype._callbackStep=function(e){if(typeof this.stepListener=="function")try{this.stepListener(e,DB(this.stack),DB(this.altstack))}catch(t){console.log(`Error in Step callback:${t}`)}};L.prototype.checkLockTime=function(e){if(!(this.tx.nLockTime<L.LOCKTIME_THRESHOLD&&e.lt(L.LOCKTIME_THRESHOLD_BN)||this.tx.nLockTime>=L.LOCKTIME_THRESHOLD&&e.gte(L.LOCKTIME_THRESHOLD_BN))||e.gt(new we(this.tx.nLockTime)))return!1;var t=this.tx.inputs[this.nin];return!(!t||t.isFinal())};L.prototype.checkSequence=function(e){var t=this.tx.inputs[this.nin];if(!t)return!1;var r=t.sequenceNumber;if(this.tx.version<2||r&L.SEQUENCE_LOCKTIME_DISABLE_FLAG)return!1;var i=L.SEQUENCE_LOCKTIME_TYPE_FLAG|L.SEQUENCE_LOCKTIME_MASK,n=new we(r&i),o=e.and(new we(i)),a=new we(L.SEQUENCE_LOCKTIME_TYPE_FLAG);return!(!(n.lt(a)&&o.lt(a)||n.gte(a)&&o.gte(a))||o.gt(n))};function qB(e){var t=f.Buffer.alloc(4);return t.writeInt32LE(e|0,0),t}L.prototype.step=function(){var e=this;function t(ge){return e.stack[e.stack.length+ge]}function r(ge){switch(ge){case j.OP_2MUL:case j.OP_2DIV:if(!e.isAfterChronicle())return!0;break;case j.OP_INVERT:case j.OP_MUL:case j.OP_LSHIFT:case j.OP_RSHIFT:case j.OP_DIV:case j.OP_MOD:case j.OP_SPLIT:case j.OP_CAT:case j.OP_AND:case j.OP_OR:case j.OP_XOR:case j.OP_BIN2NUM:case j.OP_NUM2BIN:return!1;default:break}return!1}var i=(this.flags&L.SCRIPT_VERIFY_MINIMALDATA)!==0&&this.enforceNonMalleability(),n,o,a,s,u,c,l,p,d,v,_,I,R,k,q,z,A,B=this.script.chunks[this.pc];this.pc++;var M=B.opcodenum,F=this.vfExec.indexOf(!1)===-1&&(!this.nonTopLevelReturnAfterGenesis||M===j.OP_RETURN);if(rm.isUndefined(M))return this.errstr="SCRIPT_ERR_UNDEFINED_OPCODE",!1;if(B.buf&&B.buf.length>this.maxScriptElementSize())return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;if(M>j.OP_16&&++this.nOpCount>this.maxOpsPerScript())return this.errstr="SCRIPT_ERR_OP_COUNT",!1;if(r(M)&&(!this.isAfterGenesis()||F))return this.errstr="SCRIPT_ERR_DISABLED_OPCODE",!1;if(F&&M>=0&&M<=j.OP_PUSHDATA4){if(i&&!this.script.checkMinimalPush(this.pc-1))return this.errstr="SCRIPT_ERR_MINIMALDATA",!1;if(!B.buf)this.stack.push(L.false);else{if(B.len!==B.buf.length)return this.errstr="SCRIPT_ERR_BAD_OPCODE",!1;this.stack.push(B.buf)}}else if(F||j.OP_IF<=M&&M<=j.OP_ENDIF)switch(M){case j.OP_1NEGATE:case j.OP_1:case j.OP_2:case j.OP_3:case j.OP_4:case j.OP_5:case j.OP_6:case j.OP_7:case j.OP_8:case j.OP_9:case j.OP_10:case j.OP_11:case j.OP_12:case j.OP_13:case j.OP_14:case j.OP_15:case j.OP_16:u=M-(j.OP_1-1),n=new we(u).toScriptNumBuffer(),this.stack.push(n);break;case j.OP_NOP:break;case j.OP_NOP2:case j.OP_CHECKLOCKTIMEVERIFY:if(!(this.flags&L.SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY)||this.isAfterGenesis()){if(this.flags&L.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var V=we.fromScriptNumBuffer(this.stack[this.stack.length-1],i,5);if(V.lt(new we(0)))return this.errstr="SCRIPT_ERR_NEGATIVE_LOCKTIME",!1;if(!this.checkLockTime(V))return this.errstr="SCRIPT_ERR_UNSATISFIED_LOCKTIME",!1;break;case j.OP_NOP3:case j.OP_CHECKSEQUENCEVERIFY:if(!(this.flags&L.SCRIPT_VERIFY_CHECKSEQUENCEVERIFY)||this.isAfterGenesis()){if(this.flags&L.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var Y=we.fromScriptNumBuffer(t(-1),i,5);if(Y.lt(new we(0)))return this.errstr="SCRIPT_ERR_NEGATIVE_LOCKTIME",!1;if((Y&L.SEQUENCE_LOCKTIME_DISABLE_FLAG)!==0)break;if(!this.checkSequence(Y))return this.errstr="SCRIPT_ERR_UNSATISFIED_LOCKTIME",!1;break;case j.OP_NOP1:case j.OP_NOP9:case j.OP_NOP10:if(this.flags&L.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break;case j.OP_LSHIFTNUM:case j.OP_RSHIFTNUM:if(!this.isAfterChronicle()){if(this.flags&L.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var E=this.maxScriptNumLength(),h=we.fromScriptNumBuffer(t(-1),i,E);if(h.isNeg())return this.errstr="SCRIPT_ERR_INVALID_NUMBER_RANGE",!1;this.stack.pop();var y=we.fromScriptNumBuffer(t(-1),i,E);this.stack.pop();var w=h.toNumber(),S=y.isNeg(),O=y.abs(),C;if(M===j.OP_LSHIFTNUM){var D=y.toScriptNumBuffer().length;if(D+Math.floor(w/8)>E)return this.errstr="SCRIPT_ERR_SCRIPTNUM_OVERFLOW",!1;C=O.shln(w)}else C=w>=O.bitLength()?new we(0):O.shrn(w);if(S&&!C.isZero()&&(C=C.neg()),C.toScriptNumBuffer().length>E)return this.errstr="SCRIPT_ERR_SCRIPTNUM_OVERFLOW",!1;this.stack.push(C.toScriptNumBuffer());break;case j.OP_VER:if(!this.isAfterChronicle())return this.errstr="SCRIPT_ERR_BAD_OPCODE",!1;if(this.tx==null)return this.errstr="SCRIPT_ERR_UNKNOWN_ERROR",!1;this.stack.push(qB(this.tx.version));break;case j.OP_VERIF:case j.OP_VERNOTIF:if(!this.isAfterChronicle()){if(this.isAfterGenesis()&&!F)break;return this.errstr="SCRIPT_ERR_BAD_OPCODE",!1}if(z=!1,F){if(this.stack.length<1)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;if(this.tx==null)return this.errstr="SCRIPT_ERR_UNKNOWN_ERROR",!1;n=t(-1),z=n.length===4&&n.equals(qB(this.tx.version)),M===j.OP_VERNOTIF&&(z=!z),this.stack.pop()}this.vfExec.push(z),this.vfElse.push(!1);break;case j.OP_IF:case j.OP_NOTIF:if(z=!1,F){if(this.stack.length<1)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;if(n=t(-1),this.flags&L.SCRIPT_VERIFY_MINIMALIF&&(n.length>1||n.length===1&&n[0]!==1)&&this.enforceNonMalleability())return this.errstr="SCRIPT_ERR_MINIMALIF",!1;z=L.castToBool(n),M===j.OP_NOTIF&&(z=!z),this.stack.pop()}this.vfExec.push(z),this.vfElse.push(!1);break;case j.OP_ELSE:if(this.vfExec.length===0||this.vfElse[this.vfElse.length-1]&&this.isAfterGenesis())return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.vfExec[this.vfExec.length-1]=!this.vfExec[this.vfExec.length-1],this.vfElse[this.vfElse.length-1]=!0;break;case j.OP_ENDIF:if(this.vfExec.length===0)return this.errstr="SCRIPT_ERR_UNBALANCED_CONDITIONAL",!1;this.vfExec.pop(),this.vfElse.pop();break;case j.OP_VERIFY:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(n=t(-1),z=L.castToBool(n),z)this.stack.pop();else return this.errstr="SCRIPT_ERR_VERIFY",!1;break;case j.OP_RETURN:if(this.isAfterGenesis()){if(this.vfExec.length===0){this.returned=!0;break}this.nonTopLevelReturnAfterGenesis=!0;break}return this.errstr="SCRIPT_ERR_OP_RETURN",!1;case j.OP_TOALTSTACK:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.altstack.push(this.stack.pop());break;case j.OP_FROMALTSTACK:if(this.altstack.length<1)return this.errstr="SCRIPT_ERR_INVALID_ALTSTACK_OPERATION",!1;this.stack.push(this.altstack.pop());break;case j.OP_2DROP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop(),this.stack.pop();break;case j.OP_2DUP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;o=t(-2),a=t(-1),this.stack.push(f.Buffer.from(o)),this.stack.push(f.Buffer.from(a));break;case j.OP_3DUP:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;o=t(-3),a=t(-2);var P=t(-1);this.stack.push(f.Buffer.from(o)),this.stack.push(f.Buffer.from(a)),this.stack.push(f.Buffer.from(P));break;case j.OP_2OVER:if(this.stack.length<4)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;o=t(-4),a=t(-3),this.stack.push(f.Buffer.from(o)),this.stack.push(f.Buffer.from(a));break;case j.OP_2ROT:if(this.stack.length<6)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;s=this.stack.splice(this.stack.length-6,2),this.stack.push(s[0]),this.stack.push(s[1]);break;case j.OP_2SWAP:if(this.stack.length<4)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;s=this.stack.splice(this.stack.length-4,2),this.stack.push(s[0]),this.stack.push(s[1]);break;case j.OP_IFDUP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;n=t(-1),z=L.castToBool(n),z&&this.stack.push(f.Buffer.from(n));break;case j.OP_DEPTH:n=new we(this.stack.length).toScriptNumBuffer(),this.stack.push(n);break;case j.OP_DROP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.pop();break;case j.OP_DUP:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(f.Buffer.from(t(-1)));break;case j.OP_NIP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,1);break;case j.OP_OVER:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.push(f.Buffer.from(t(-2)));break;case j.OP_PICK:case j.OP_ROLL:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(n=t(-1),p=we.fromScriptNumBuffer(n,i,this.maxScriptNumLength()),u=p.toNumber(),this.stack.pop(),u<0||u>=this.stack.length)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;n=t(-u-1),M===j.OP_ROLL&&this.stack.splice(this.stack.length-u-1,1),this.stack.push(f.Buffer.from(n));break;case j.OP_ROT:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;c=t(-3),l=t(-2);var m=t(-1);this.stack[this.stack.length-3]=l,this.stack[this.stack.length-2]=m,this.stack[this.stack.length-1]=c;break;case j.OP_SWAP:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;c=t(-2),l=t(-1),this.stack[this.stack.length-2]=l,this.stack[this.stack.length-1]=c;break;case j.OP_TUCK:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;this.stack.splice(this.stack.length-2,0,f.Buffer.from(t(-1)));break;case j.OP_SIZE:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;p=new we(t(-1).length),this.stack.push(p.toScriptNumBuffer());break;case j.OP_AND:case j.OP_OR:case j.OP_XOR:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(o=t(-2),a=t(-1),o.length!==a.length)return this.errstr="SCRIPT_ERR_INVALID_OPERAND_SIZE",!1;switch(s=f.Buffer.alloc(o.length),M){case j.OP_AND:for(let ge=0;ge<o.length;ge++)s[ge]=o[ge]&a[ge];break;case j.OP_OR:for(let ge=0;ge<o.length;ge++)s[ge]=o[ge]|a[ge];break;case j.OP_XOR:for(let ge=0;ge<o.length;ge++)s[ge]=o[ge]^a[ge];break;default:break}this.stack.pop(),this.stack[this.stack.length-1]=s;break;case j.OP_INVERT:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;n=t(-1),o=f.Buffer.alloc(n.length);for(let ge=0;ge<n.length;ge++)o[ge]=~n[ge]&255;this.stack[this.stack.length-1]=o;break;case j.OP_LSHIFT:case j.OP_RSHIFT:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(o=t(-2),v=we.fromScriptNumBuffer(t(-1),i,this.maxScriptNumLength()),v.cmpn(0)<0)return this.errstr="SCRIPT_ERR_INVALID_NUMBER_RANGE",!1;this.stack.pop(),this.stack.pop();var x=f.Buffer.alloc(o.length);if(v.lt(new we(o.length).muln(8)))for(var K=v.toNumber(),U=Math.floor(K/8),G=K%8,te=M===j.OP_LSHIFT,ae=0;ae<o.length;ae++){var oe=te?ae+U:ae-U,le=oe>=0&&oe<o.length?o[oe]:0,he=te?oe+1:oe-1,ve=G&&he>=0&&he<o.length?o[he]:0;x[ae]=te?(le<<G|ve>>8-G)&255:(le>>G|ve<<8-G)&255}this.stack.push(x);break;case j.OP_EQUAL:case j.OP_EQUALVERIFY:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;o=t(-2),a=t(-1);var je=o.toString("hex")===a.toString("hex");if(this.stack.pop(),this.stack.pop(),this.stack.push(je?L.true:L.false),M===j.OP_EQUALVERIFY)if(je)this.stack.pop();else return this.errstr="SCRIPT_ERR_EQUALVERIFY",!1;break;case j.OP_2MUL:case j.OP_2DIV:case j.OP_1ADD:case j.OP_1SUB:case j.OP_NEGATE:case j.OP_ABS:case j.OP_NOT:case j.OP_0NOTEQUAL:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;switch(n=t(-1),p=we.fromScriptNumBuffer(n,i,this.maxScriptNumLength()),M){case j.OP_2MUL:p=p.mul(new we(2));break;case j.OP_2DIV:p=p.div(new we(2));break;case j.OP_1ADD:p=p.add(we.One);break;case j.OP_1SUB:p=p.sub(we.One);break;case j.OP_NEGATE:p=p.neg();break;case j.OP_ABS:p.cmp(we.Zero)<0&&(p=p.neg());break;case j.OP_NOT:p=new we((p.cmp(we.Zero)===0)+0);break;case j.OP_0NOTEQUAL:p=new we((p.cmp(we.Zero)!==0)+0);break}this.stack.pop(),this.stack.push(p.toScriptNumBuffer());break;case j.OP_ADD:case j.OP_SUB:case j.OP_MUL:case j.OP_MOD:case j.OP_DIV:case j.OP_BOOLAND:case j.OP_BOOLOR:case j.OP_NUMEQUAL:case j.OP_NUMEQUALVERIFY:case j.OP_NUMNOTEQUAL:case j.OP_LESSTHAN:case j.OP_GREATERTHAN:case j.OP_LESSTHANOREQUAL:case j.OP_GREATERTHANOREQUAL:case j.OP_MIN:case j.OP_MAX:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;switch(d=we.fromScriptNumBuffer(t(-2),i,this.maxScriptNumLength()),v=we.fromScriptNumBuffer(t(-1),i,this.maxScriptNumLength()),p=new we(0),M){case j.OP_ADD:p=d.add(v);break;case j.OP_SUB:p=d.sub(v);break;case j.OP_MUL:p=d.mul(v);break;case j.OP_DIV:if(v.cmp(we.Zero)===0)return this.errstr="SCRIPT_ERR_DIV_BY_ZERO",!1;p=d.div(v);break;case j.OP_MOD:if(v.cmp(we.Zero)===0)return this.errstr="SCRIPT_ERR_MOD_BY_ZERO",!1;p=d.mod(v);break;case j.OP_BOOLAND:p=new we((d.cmp(we.Zero)!==0&&v.cmp(we.Zero)!==0)+0);break;case j.OP_BOOLOR:p=new we((d.cmp(we.Zero)!==0||v.cmp(we.Zero)!==0)+0);break;case j.OP_NUMEQUAL:p=new we((d.cmp(v)===0)+0);break;case j.OP_NUMEQUALVERIFY:p=new we((d.cmp(v)===0)+0);break;case j.OP_NUMNOTEQUAL:p=new we((d.cmp(v)!==0)+0);break;case j.OP_LESSTHAN:p=new we((d.cmp(v)<0)+0);break;case j.OP_GREATERTHAN:p=new we((d.cmp(v)>0)+0);break;case j.OP_LESSTHANOREQUAL:p=new we((d.cmp(v)<=0)+0);break;case j.OP_GREATERTHANOREQUAL:p=new we((d.cmp(v)>=0)+0);break;case j.OP_MIN:p=d.cmp(v)<0?d:v;break;case j.OP_MAX:p=d.cmp(v)>0?d:v;break}if(this.stack.pop(),this.stack.pop(),this.stack.push(p.toScriptNumBuffer()),M===j.OP_NUMEQUALVERIFY)if(L.castToBool(t(-1)))this.stack.pop();else return this.errstr="SCRIPT_ERR_NUMEQUALVERIFY",!1;break;case j.OP_WITHIN:if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;d=we.fromScriptNumBuffer(t(-3),i,this.maxScriptNumLength()),v=we.fromScriptNumBuffer(t(-2),i,this.maxScriptNumLength());var be=we.fromScriptNumBuffer(t(-1),i,this.maxScriptNumLength());z=v.cmp(d)<=0&&d.cmp(be)<0,this.stack.pop(),this.stack.pop(),this.stack.pop(),this.stack.push(z?L.true:L.false);break;case j.OP_RIPEMD160:case j.OP_SHA1:case j.OP_SHA256:case j.OP_HASH160:case j.OP_HASH256:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;n=t(-1);var _e;M===j.OP_RIPEMD160?_e=fh.ripemd160(n):M===j.OP_SHA1?_e=fh.sha1(n):M===j.OP_SHA256?_e=fh.sha256(n):M===j.OP_HASH160?_e=fh.sha256ripemd160(n):M===j.OP_HASH256&&(_e=fh.sha256sha256(n)),this.stack.pop(),this.stack.push(_e);break;case j.OP_CODESEPARATOR:this.pbegincodehash=this.pc;break;case j.OP_CHECKSIG:case j.OP_CHECKSIGVERIFY:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(_=t(-2),I=t(-1),!this.checkSignatureEncoding(_)||!this.checkPubkeyEncoding(I))return!1;R=new im().set({chunks:this.script.chunks.slice(this.pbegincodehash)}),HB(R,_,this.flags);try{k=ma.fromTxFormat(_),q=E_.fromBuffer(I,!1),A=this.tx.verifySignature(k,q,this.nin,R,this.satoshisBN,this.flags)}catch{A=!1}if(!A&&this.flags&L.SCRIPT_VERIFY_NULLFAIL&&_.length&&this.enforceNonMalleability())return this.errstr="SCRIPT_ERR_NULLFAIL",!1;if(this.stack.pop(),this.stack.pop(),this.stack.push(A?L.true:L.false),M===j.OP_CHECKSIGVERIFY)if(A)this.stack.pop();else return this.errstr="SCRIPT_ERR_CHECKSIGVERIFY",!1;break;case j.OP_CHECKMULTISIG:case j.OP_CHECKMULTISIGVERIFY:var We=1;if(this.stack.length<We)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var Pe=we.fromScriptNumBuffer(t(-We),i,4).toNumber();if(Pe<0||Pe>this.maxPubKeysPerMultisig())return this.errstr="SCRIPT_ERR_PUBKEY_COUNT",!1;if(this.nOpCount+=Pe,this.nOpCount>this.maxOpsPerScript())return this.errstr="SCRIPT_ERR_OP_COUNT",!1;var Me=++We;We+=Pe;var rt=Pe+2;if(this.stack.length<We)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var Be=we.fromScriptNumBuffer(t(-We),i,4).toNumber();if(Be<0||Be>Pe)return this.errstr="SCRIPT_ERR_SIG_COUNT",!1;var vt=++We;if(We+=Be,this.stack.length<We)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;R=new im().set({chunks:this.script.chunks.slice(this.pbegincodehash)});for(var ui=0;ui<Be;ui++)_=t(-vt-ui),HB(R,_,this.flags);for(A=!0;A&&Be>0;){if(_=t(-vt),I=t(-Me),!this.checkSignatureEncoding(_)||!this.checkPubkeyEncoding(I))return!1;var Et;try{k=ma.fromTxFormat(_),q=E_.fromBuffer(I,!1),Et=this.tx.verifySignature(k,q,this.nin,R,this.satoshisBN,this.flags)}catch{Et=!1}Et&&(vt++,Be--),Me++,Pe--,Be>Pe&&(A=!1)}for(;We-- >1;){if(!A&&this.flags&L.SCRIPT_VERIFY_NULLFAIL&&!rt&&t(-1).length&&this.enforceNonMalleability())return this.errstr="SCRIPT_ERR_NULLFAIL",!1;rt>0&&rt--,this.stack.pop()}if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(this.flags&L.SCRIPT_VERIFY_NULLDUMMY&&t(-1).length&&this.enforceNonMalleability())return this.errstr="SCRIPT_ERR_SIG_NULLDUMMY",!1;if(this.stack.pop(),this.stack.push(A?L.true:L.false),M===j.OP_CHECKMULTISIGVERIFY)if(A)this.stack.pop();else return this.errstr="SCRIPT_ERR_CHECKMULTISIGVERIFY",!1;break;case j.OP_CAT:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(o=t(-2),a=t(-1),o.length+a.length>this.maxScriptElementSize())return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;this.stack[this.stack.length-2]=f.Buffer.concat([o,a]),this.stack.pop();break;case j.OP_SPLIT:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;o=t(-2);var _t=we.fromScriptNumBuffer(t(-1),i,this.maxScriptNumLength()).toNumber();if(_t<0||_t>o.length)return this.errstr="SCRIPT_ERR_INVALID_SPLIT_RANGE",!1;var Yn=f.Buffer.from(o);this.stack[this.stack.length-2]=Yn.slice(0,_t),this.stack[this.stack.length-1]=Yn.slice(_t);break;case j.OP_LEFT:case j.OP_RIGHT:if(!this.isAfterChronicle()){if(this.flags&L.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(o=t(-2),u=we.fromScriptNumBuffer(t(-1),i,this.maxScriptNumLength()).toNumber(),u<0||u>o.length)return this.errstr="SCRIPT_ERR_INVALID_NUMBER_RANGE",!1;this.stack.pop(),M===j.OP_LEFT?this.stack[this.stack.length-1]=f.Buffer.from(o).slice(0,u):this.stack[this.stack.length-1]=f.Buffer.from(o).slice(o.length-u);break;case j.OP_SUBSTR:if(!this.isAfterChronicle()){if(this.flags&L.SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)return this.errstr="SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS",!1;break}if(this.stack.length<3)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;o=t(-3);var Lt=we.fromScriptNumBuffer(t(-1),i,this.maxScriptNumLength()).toNumber(),N=we.fromScriptNumBuffer(t(-2),i,this.maxScriptNumLength()).toNumber();if(N<0||N>=o.length||Lt<0||Lt>o.length-N)return this.errstr="SCRIPT_ERR_INVALID_NUMBER_RANGE",!1;this.stack.pop(),this.stack.pop(),this.stack[this.stack.length-1]=f.Buffer.from(o).slice(N,N+Lt);break;case j.OP_NUM2BIN:if(this.stack.length<2)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;var W=we.fromScriptNumBuffer(t(-1),i,this.maxScriptNumLength());if(W.cmpn(0)<0||W.gt(new we(2147483647)))return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;var X=W.toNumber();if(X>this.maxScriptElementSize())return this.errstr="SCRIPT_ERR_PUSH_SIZE",!1;this.stack.pop();var ie=t(-1);if(ie=L._minimallyEncode(ie),ie.length>X)return this.errstr="SCRIPT_ERR_IMPOSSIBLE_ENCODING",!1;if(ie.length===X){this.stack[this.stack.length-1]=ie;break}var pe=0;ie.length>0&&(ie=f.Buffer.from(ie),pe=ie[ie.length-1]&128,ie[ie.length-1]&=127);var se=f.Buffer.alloc(X);ie.copy(se,0);for(var me=ie.length-1;me++<X-2;)se[me]=0;se[me]=pe,this.stack[this.stack.length-1]=se;break;case j.OP_BIN2NUM:if(this.stack.length<1)return this.errstr="SCRIPT_ERR_INVALID_STACK_OPERATION",!1;if(o=t(-1),a=L._minimallyEncode(o),this.stack[this.stack.length-1]=a,!L._isMinimallyEncoded(a,this.maxScriptNumLength()))return this.errstr="SCRIPT_ERR_INVALID_NUMBER_RANGE",!1;break;default:return this.errstr="SCRIPT_ERR_BAD_OPCODE",!1}return!0}});var ut=T((Use,O_)=>{g();O_.exports=Kg();O_.exports.Interpreter=hn()});var Ni=T((jse,VB)=>{"use strict";g();var I_=at(),va=Ie(),M9=pi(),jB=Pc(),pn=ca(),zB=Le(),KB=ni(),A_=sr();function ye(e,t,r){if(!(this instanceof ye))return new ye(e,t,r);if(I_.isArray(e)&&I_.isNumber(t))return ye.createMultisig(e,t,r);if(e instanceof ye)return e;if(va.checkArgument(e,"First argument is required, please include address data.","guide/address.html"),t&&!pn.get(t))throw new TypeError('Second argument must be "livenet", "testnet", or "regtest".');if(r&&r!==ye.PayToPublicKeyHash&&r!==ye.PayToScriptHash)throw new TypeError('Third argument must be "pubkeyhash" or "scripthash".');var i=this._classifyArguments(e,t,r);return i.network=i.network||pn.get(t)||pn.defaultNetwork,i.type=i.type||r||ye.PayToPublicKeyHash,KB.defineImmutable(this,{hashBuffer:i.hashBuffer,network:i.network,type:i.type}),this}ye.prototype._classifyArguments=function(e,t,r){if((e instanceof f.Buffer||e instanceof Uint8Array)&&e.length===20)return ye._transformHash(e);if((e instanceof f.Buffer||e instanceof Uint8Array)&&e.length===21)return ye._transformBuffer(e,t,r);if(e instanceof A_)return ye._transformPublicKey(e);if(e instanceof lh())return ye._transformScript(e,t);if(typeof e=="string")return ye._transformString(e,t,r);if(I_.isObject(e))return ye._transformObject(e);throw new TypeError("First argument is an unrecognized data format.")};ye.PayToPublicKeyHash="pubkeyhash";ye.PayToScriptHash="scripthash";ye._transformHash=function(e){var t={};if(!(e instanceof f.Buffer)&&!(e instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(e.length!==20)throw new TypeError("Address hashbuffers must be exactly 20 bytes.");return t.hashBuffer=e,t};ye._transformObject=function(e){return va.checkArgument(e.hash||e.hashBuffer,"Must provide a `hash` or `hashBuffer` property"),va.checkArgument(e.type,"Must provide a `type` property"),{hashBuffer:e.hash?f.Buffer.from(e.hash,"hex"):e.hashBuffer,network:pn.get(e.network)||pn.defaultNetwork,type:e.type}};ye._classifyFromVersion=function(e){var t={},r=pn.get(e[0],"pubkeyhash"),i=pn.get(e[0],"scripthash");return r?(t.network=r,t.type=ye.PayToPublicKeyHash):i&&(t.network=i,t.type=ye.PayToScriptHash),t};ye._transformBuffer=function(e,t,r){var i={};if(!(e instanceof f.Buffer)&&!(e instanceof Uint8Array))throw new TypeError("Address supplied is not a buffer.");if(e.length!==21)throw new TypeError("Address buffers must be exactly 21 bytes.");var n=pn.get(t),o=ye._classifyFromVersion(e);if(t&&!n)throw new TypeError("Unknown network");if(!o.network||n&&n!==o.network)throw new TypeError("Address has mismatched network type.");if(!o.type||r&&r!==o.type)throw new TypeError("Address has mismatched type.");return i.hashBuffer=e.slice(1),i.network=o.network,i.type=o.type,i};ye._transformPublicKey=function(e){var t={};if(!(e instanceof A_))throw new TypeError("Address must be an instance of PublicKey.");return t.hashBuffer=zB.sha256ripemd160(e.toBuffer()),t.type=ye.PayToPublicKeyHash,t};ye._transformScript=function(e,t){va.checkArgument(e instanceof lh(),"script must be a Script instance");var r=e.getAddressInfo(t);if(!r)throw new M9.Script.CantDeriveAddress(e);return r};ye.createMultisig=function(e,t,r){return r=r||e[0].network||pn.defaultNetwork,ye.payingTo(lh().buildMultisigOut(e,t),r)};ye._transformString=function(e,t,r){if(typeof e!="string")throw new TypeError("data parameter supplied is not a string.");if(e.length<27)throw new Error("Invalid Address string provided");e=e.trim();var i=pn.get(t);if(t&&!i)throw new TypeError("Unknown network");var n=jB.decode(e);return ye._transformBuffer(n,t,r)};ye.fromPublicKey=function(e,t){var r=ye._transformPublicKey(e);return t=t||pn.defaultNetwork,new ye(r.hashBuffer,t,r.type)};ye.fromPrivateKey=function(e,t){let r=A_.fromPrivateKey(e);return t=t||e.network||pn.defaultNetwork,ye.fromPublicKey(r,t)};ye.fromPublicKeyHash=function(e,t){var r=ye._transformHash(e);return new ye(r.hashBuffer,t,ye.PayToPublicKeyHash)};ye.fromScriptHash=function(e,t){va.checkArgument(e,"hash parameter is required");var r=ye._transformHash(e);return new ye(r.hashBuffer,t,ye.PayToScriptHash)};ye.payingTo=function(e,t){return va.checkArgument(e,"script is required"),va.checkArgument(e instanceof lh(),"script must be instance of Script"),ye.fromScriptHash(zB.sha256ripemd160(e.toBuffer()),t)};ye.fromScript=function(e,t){va.checkArgument(e instanceof lh(),"script must be a Script instance");var r=ye._transformScript(e,t);return new ye(r.hashBuffer,t,r.type)};ye.fromBuffer=function(e,t,r){var i=ye._transformBuffer(e,t,r);return new ye(i.hashBuffer,i.network,i.type)};ye.fromHex=function(e,t,r){return ye.fromBuffer(f.Buffer.from(e,"hex"),t,r)};ye.fromString=function(e,t,r){var i=ye._transformString(e,t,r);return new ye(i.hashBuffer,i.network,i.type)};ye.fromObject=function(t){va.checkState(KB.isHexa(t.hash),'Unexpected hash property, "'+t.hash+'", expected to be hex.');var r=f.Buffer.from(t.hash,"hex");return new ye(r,t.network,t.type)};ye.getValidationError=function(e,t,r){var i;try{new ye(e,t,r)}catch(n){i=n}return i};ye.isValid=function(e,t,r){return!ye.getValidationError(e,t,r)};ye.prototype.isPayToPublicKeyHash=function(){return this.type===ye.PayToPublicKeyHash};ye.prototype.isPayToScriptHash=function(){return this.type===ye.PayToScriptHash};ye.prototype.toBuffer=function(){var e=f.Buffer.from([this.network[this.type]]),t=f.Buffer.concat([e,this.hashBuffer]);return t};ye.prototype.toHex=function(){return this.toBuffer().toString("hex")};ye.prototype.toObject=ye.prototype.toJSON=function(){return{hash:this.hashBuffer.toString("hex"),type:this.type,network:this.network.toString()}};ye.prototype.inspect=function(){return"<Address: "+this.toString()+", type: "+this.type+", network: "+this.network+">"};ye.prototype.toString=function(){return jB.encode(this.toBuffer())};VB.exports=ye;function lh(){return ut()}});var ei=T((Kse,ZB)=>{"use strict";g();var nm=at(),D9=Ni(),GB=Pc(),ns=Ke(),WB=ni(),go=ca(),P_=un(),H9=sr(),q9=Ki(),YB=Ie(),T_="[REDACTED]";function Ne(e,t){if(!(this instanceof Ne))return new Ne(e,t);if(e instanceof Ne)return e;var r=this._classifyArguments(e,t);if(!r.bn||r.bn.cmp(new ns(0))===0)throw new TypeError("Number can not be equal to zero, undefined, null or false");if(!r.bn.lt(P_.getN()))throw new TypeError("Number must be less than N");if(typeof r.network>"u")throw new TypeError('Must specify the network ("livenet" or "testnet")');return WB.defineImmutable(this,{bn:r.bn,compressed:r.compressed,network:r.network}),Object.defineProperty(this,"publicKey",{configurable:!1,enumerable:!0,get:this.toPublicKey.bind(this)}),this}Ne.prototype._classifyArguments=function(e,t){var r={compressed:!0,network:t?go.get(t):go.defaultNetwork};if(nm.isUndefined(e)||nm.isNull(e))r.bn=Ne._getRandomBN();else if(e instanceof ns)r.bn=e;else if(e instanceof f.Buffer||e instanceof Uint8Array)r=Ne._transformBuffer(e,t);else if(e.bn&&e.network)r=Ne._transformObject(e);else if(!t&&go.get(e))r.bn=Ne._getRandomBN(),r.network=go.get(e);else if(typeof e=="string")WB.isHexa(e)?r.bn=new ns(f.Buffer.from(e,"hex")):r=Ne._transformWIF(e,t);else throw new TypeError("First argument is an unrecognized data type.");return r};Ne._getRandomBN=function(){var e,t;do{var r=q9.getRandomBuffer(32);t=ns.fromBuffer(r),e=t.lt(P_.getN())}while(!e);return t};Ne._transformBuffer=function(e,t){var r={};if(e.length===32)return Ne._transformBNBuffer(e,t);if(r.network=go.get(e[0],"privatekey"),!r.network)throw new Error("Invalid network");if(t&&r.network!==go.get(t))throw new TypeError("Private key network mismatch");if(e.length===34&&e[33]===1)r.compressed=!0;else if(e.length===33)r.compressed=!1;else throw new Error("Length of buffer must be 33 (uncompressed) or 34 (compressed)");return r.bn=ns.fromBuffer(e.slice(1,33)),r};Ne._transformBNBuffer=function(e,t,r){var i={};return i.network=go.get(t)||go.defaultNetwork,i.bn=ns.fromBuffer(e),i.compressed=r===void 0?!0:!!r,i};Ne._transformWIF=function(e,t){return Ne._transformBuffer(GB.decode(e),t)};Ne.fromBuffer=function(e,t,r){return r!==void 0&&e&&e.length===32?new Ne(Ne._transformBNBuffer(e,t,r)):new Ne(e,t)};Ne.fromHex=function(e,t,r){return Ne.fromBuffer(f.Buffer.from(e,"hex"),t,r)};Ne._transformObject=function(e){if(e.bn instanceof ns)return{bn:e.bn,network:go.get(e.network),compressed:e.compressed};if(typeof e.bn!="string"||!e.bn.length)throw new TypeError("Invalid private key: `bn` must be a hex string");if(e.bn===T_)throw new TypeError('Invalid private key: `bn` is "'+T_+'". JSON.stringify() redacts the secret on purpose \u2014 use toObject() for a round-trippable export, or toWIF().');if(!/^[0-9a-fA-F]+$/.test(e.bn))throw new TypeError("Invalid private key: `bn` is not hexadecimal");var t=new ns(e.bn,"hex");if(t.isZero()||t.gte(P_.getN()))throw new TypeError("Invalid private key: outside the range of valid keys");var r=go.get(e.network);return{bn:t,network:r,compressed:e.compressed}};Ne.fromString=Ne.fromWIF=function(e,t){return YB.checkArgument(nm.isString(e),"First argument is expected to be a string."),new Ne(e,t)};Ne.fromObject=Ne.fromJSON=function(e){return YB.checkArgument(nm.isObject(e),"First argument is expected to be an object."),new Ne(e)};Ne.fromRandom=function(e){var t=Ne._getRandomBN();return new Ne(t,e)};Ne.getValidationError=function(e,t){var r;try{new Ne(e,t)}catch(i){r=i}return r};Ne.isValid=function(e,t){return e?!Ne.getValidationError(e,t):!1};Ne.prototype.toString=function(){return this.toWIF()};Ne.prototype.toWIF=function(){var e=this.network,t=this.compressed,r;return t?r=f.Buffer.concat([f.Buffer.from([e.privatekey]),this.bn.toBuffer({size:32}),f.Buffer.from([1])]):r=f.Buffer.concat([f.Buffer.from([e.privatekey]),this.bn.toBuffer({size:32})]),GB.encode(r)};Ne.prototype.toBigNumber=function(){return this.bn};Ne.prototype.toBuffer=function(){return this.bn.toBuffer({size:32})};Ne.prototype.toHex=function(){return this.toBuffer().toString("hex")};Ne.prototype.toPublicKey=function(){return this._pubkey||(this._pubkey=H9.fromPrivateKey(this)),this._pubkey};Ne.prototype.toAddress=function(e){var t=this.toPublicKey();return D9.fromPublicKey(t,e||this.network)};Ne.prototype.toObject=function(){return{bn:this.bn.toString("hex"),compressed:this.compressed,network:this.network.toString()}};Ne.prototype.toJSON=function(){return{bn:T_,compressed:this.compressed,network:this.network.toString()}};Ne.prototype.inspect=function(){var e=this.compressed?"":", uncompressed";return"<PrivateKey: "+this.toHex()+", network: "+this.network+e+">"};ZB.exports=Ne});var sr=T((Gse,XB)=>{"use strict";g();var Uc=Ke(),Fc=un(),U9=Le(),F9=ni(),$B=ca(),R_=at(),uu=Ie();function xe(e,t){if(!(this instanceof xe))return new xe(e,t);if(uu.checkArgument(e,"First argument is required, please include public key data."),e instanceof xe)return e;t=t||{};var r=this._classifyArgs(e,t);return r.point.validate(),F9.defineImmutable(this,{point:r.point,compressed:r.compressed,network:r.network||$B.defaultNetwork}),this}xe.prototype._classifyArgs=function(e,t){var r={compressed:R_.isUndefined(t.compressed)||t.compressed};if(e instanceof Fc)r.point=e;else if(e.x&&e.y)r=xe._transformObject(e);else if(typeof e=="string")r=xe._transformDER(f.Buffer.from(e,"hex"));else if(xe._isBuffer(e))r=xe._transformDER(e);else if(xe._isPrivateKey(e))r=xe._transformPrivateKey(e);else throw new TypeError("First argument is an unrecognized data format.");return r.network||(r.network=R_.isUndefined(t.network)?void 0:$B.get(t.network)),r};xe._isPrivateKey=function(e){var t=ei();return e instanceof t};xe._isBuffer=function(e){return e instanceof f.Buffer||e instanceof Uint8Array};xe._transformPrivateKey=function(e){uu.checkArgument(xe._isPrivateKey(e),"Must be an instance of PrivateKey");var t={};return t.point=Fc.getG().mul(e.bn),t.compressed=e.compressed,t.network=e.network,t};xe._transformDER=function(e,t){uu.checkArgument(xe._isBuffer(e),"Must be a buffer of DER encoded public key");var r={};t=R_.isUndefined(t)?!0:t;var i,n,o,a;if(e[0]===4||!t&&(e[0]===6||e[0]===7)){if(o=e.slice(1,33),a=e.slice(33,65),o.length!==32||a.length!==32||e.length!==65)throw new TypeError("Length of x and y must be 32 bytes");i=new Uc(o),n=new Uc(a),r.point=new Fc(i,n),r.compressed=!1}else if(e[0]===3)o=e.slice(1),i=new Uc(o),r=xe._transformX(!0,i),r.compressed=!0;else if(e[0]===2)o=e.slice(1),i=new Uc(o),r=xe._transformX(!1,i),r.compressed=!0;else throw new TypeError("Invalid DER format public key");return r};xe._transformX=function(e,t){uu.checkArgument(typeof e=="boolean","Must specify whether y is odd or not (true or false)");var r={};return r.point=Fc.fromX(e,t),r};xe._transformObject=function(e){var t=new Uc(e.x,"hex"),r=new Uc(e.y,"hex"),i=new Fc(t,r);return new xe(i,{compressed:e.compressed})};xe.fromPrivateKey=function(e){uu.checkArgument(xe._isPrivateKey(e),"Must be an instance of PrivateKey");var t=xe._transformPrivateKey(e);return new xe(t.point,{compressed:t.compressed,network:t.network})};xe.fromDER=xe.fromBuffer=function(e,t){uu.checkArgument(xe._isBuffer(e),"Must be a buffer of DER encoded public key");var r=xe._transformDER(e,t);return new xe(r.point,{compressed:r.compressed})};xe.fromPoint=function(e,t){return uu.checkArgument(e instanceof Fc,"First argument must be an instance of Point."),new xe(e,{compressed:t})};xe.fromHex=xe.fromString=function(e,t){var r=f.Buffer.from(e,t||"hex"),i=xe._transformDER(r);return new xe(i.point,{compressed:i.compressed})};xe.fromX=function(e,t){var r=xe._transformX(e,t);return new xe(r.point,{compressed:r.compressed})};xe.getValidationError=function(e){var t;try{new xe(e)}catch(r){t=r}return t};xe.isValid=function(e){return!xe.getValidationError(e)};xe.prototype.toObject=xe.prototype.toJSON=function(){return{x:this.point.getX().toString("hex",2),y:this.point.getY().toString("hex",2),compressed:this.compressed}};xe.prototype.toBuffer=xe.prototype.toDER=function(){var e=this.point.getX(),t=this.point.getY(),r=e.toBuffer({size:32}),i=t.toBuffer({size:32}),n;if(this.compressed){var o=i[i.length-1]%2;return o?n=f.Buffer.from([3]):n=f.Buffer.from([2]),f.Buffer.concat([n,r])}else return n=f.Buffer.from([4]),f.Buffer.concat([n,r,i])};xe.prototype._getID=function(){return U9.sha256ripemd160(this.toBuffer())};xe.prototype.toAddress=function(e){var t=Ni();return t.fromPublicKey(this,e||this.network)};xe.prototype.toString=xe.prototype.toHex=function(){return this.toDER().toString("hex")};xe.prototype.inspect=function(){return"<PublicKey: "+this.toHex()+(this.compressed?"":", uncompressed")+">"};XB.exports=xe});var dn=T((Yse,JB)=>{"use strict";g();var Gi=Ke(),mo=un(),j9=gt(),z9=sr(),K9=Ki(),os=Le(),V9=at(),k_=Ie(),Ct=function e(t){if(!(this instanceof e))return new e(t);t&&this.set(t)};Object.defineProperty(Ct.prototype,"k",{get:function(){return this._k},set:function(e){this._k=e,this._kFresh=!0},enumerable:!0,configurable:!0});Ct.prototype.set=function(e){if(this.hashbuf=e.hashbuf||this.hashbuf,this.endian=e.endian||this.endian,this.privkey=e.privkey||this.privkey,this.pubkey=e.pubkey||(this.privkey?this.privkey.publicKey:this.pubkey),e.sig)if(f.Buffer.isBuffer(e.sig)){var t=gt();this.sig=t.fromDER(e.sig)}else this.sig=e.sig;else this.sig=this.sig;return e.k&&(this.k=e.k),this.verified=e.verified||this.verified,this};Ct.prototype.privkey2pubkey=function(){this.pubkey=this.privkey.toPublicKey()};Ct.prototype.calci=function(){for(var e=0;e<4;e++){this.sig.i=e;var t;try{t=this.toPublicKey()}catch(r){console.error(r);continue}if(t.point.eq(this.pubkey.point))return this.sig.compressed=this.pubkey.compressed,this}throw this.sig.i=void 0,new Error("Unable to find valid recovery factor")};Ct.fromString=function(e){var t=JSON.parse(e);return new Ct(t)};Ct.prototype.randomK=function(){var e=mo.getN(),t;do t=Gi.fromBuffer(K9.getRandomBuffer(32));while(!(t.lt(e)&&t.gt(Gi.Zero)));return this.k=t,this};Ct.prototype.deterministicK=function(e){V9.isUndefined(e)&&(e=0);var t=f.Buffer.alloc(32);t.fill(1);var r=f.Buffer.alloc(32);r.fill(0);var i=this.privkey.bn.toBuffer({size:32}),n=this.endian==="little"?f.Buffer.from(this.hashbuf).reverse():this.hashbuf;r=os.sha256hmac(f.Buffer.concat([t,f.Buffer.from([0]),i,n]),r),t=os.sha256hmac(t,r),r=os.sha256hmac(f.Buffer.concat([t,f.Buffer.from([1]),i,n]),r),t=os.sha256hmac(t,r),t=os.sha256hmac(t,r);for(var o=Gi.fromBuffer(t),a=mo.getN(),s=0;s<e||!(o.lt(a)&&o.gt(Gi.Zero));s++)r=os.sha256hmac(f.Buffer.concat([t,f.Buffer.from([0])]),r),t=os.sha256hmac(t,r),t=os.sha256hmac(t,r),o=Gi.fromBuffer(t);return this.k=o,this};Ct.prototype.toPublicKey=function(){var e=this.sig.i;k_.checkArgument(e===0||e===1||e===2||e===3,new Error("i must be equal to 0, 1, 2, or 3"));var t=Gi.fromBuffer(this.hashbuf),r=this.sig.r,i=this.sig.s,n=e&1,o=e>>1,a=mo.getN(),s=mo.getG(),u=o?r.add(a):r,c=mo.fromX(n,u),l=c.mul(a);if(!l.isInfinity())throw new Error("nR is not a valid curve point");var p=t.neg().umod(a),d=r.invm(a),v=c.mul(i).add(s.mul(p)).mul(d),_=z9.fromPoint(v,this.sig.compressed);return _};Ct.prototype.sigError=function(){if(!f.Buffer.isBuffer(this.hashbuf)||this.hashbuf.length!==32)return"hashbuf must be a 32 byte buffer";var e=this.sig.r,t=this.sig.s,r=mo.getN();try{if(e.lte(Gi.Zero)||t.lte(Gi.Zero)||e.gte(r)||t.gte(r))return"r and s not in range";var i=Gi.fromBuffer(this.hashbuf,this.endian?{endian:this.endian}:void 0),n=t.invm(r),o=n.mul(i).umod(r),a=n.mul(e).umod(r),s=mo.getG().mulAdd(o,this.pubkey.point,a);return s.isInfinity()?"p is infinity":s.getX().umod(r).cmp(e)!==0?"Invalid signature":!1}catch(u){return"Signature security validation failed: "+u.message}};Ct.toLowS=function(e){return e.gt(Gi.fromBuffer(f.Buffer.from("7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0","hex")))&&(e=mo.getN().sub(e)),e};Ct.prototype._findSignature=function(e,t){var r=mo.getN(),i=mo.getG(),n=0,o,a,s,u;do(!this.k||!this._kFresh||n>0)&&this.deterministicK(n),n++,o=this.k,a=i.mul(o),s=a.x.umod(r),u=o.invm(r).mul(t.add(e.mul(s))).umod(r);while(s.cmp(Gi.Zero)<=0||u.cmp(Gi.Zero)<=0);return this._kFresh=!1,u=Ct.toLowS(u),{s:u,r:s}};Ct.prototype.sign=function(){var e=this.hashbuf,t=this.privkey,r=t.bn;k_.checkState(e&&t&&r,new Error("invalid parameters")),k_.checkState(f.Buffer.isBuffer(e)&&e.length===32,new Error("hashbuf must be a 32 byte buffer"));var i=Gi.fromBuffer(e,this.endian?{endian:this.endian}:void 0),n=this._findSignature(r,i);return n.compressed=this.pubkey.compressed,this.sig=new j9(n),this};Ct.prototype.signRandomK=function(){return this.randomK(),this.sign()};Ct.prototype.toString=function(){var e={};return this.hashbuf&&(e.hashbuf=this.hashbuf.toString("hex")),this.privkey&&(e.privkey=this.privkey.toString()),this.pubkey&&(e.pubkey=this.pubkey.toString()),this.sig&&(e.sig=this.sig.toString()),this.k&&(e.k=this.k.toString()),JSON.stringify(e)};Ct.prototype.verify=function(){return this.verified=!this.sigError(),this.verified};Ct.prototype.verifyBool=function(){return this.verify()===!0};Ct.sign=function(e,t,r){return Ct().set({hashbuf:e,endian:r,privkey:t}).sign().sig};Ct.signWithCalcI=function(e,t,r){return Ct().set({hashbuf:e,endian:r,privkey:t}).sign().calci().sig};Ct.signRandomK=function(e,t,r){return Ct().set({hashbuf:e,endian:r,privkey:t}).signRandomK().sig};Ct.verify=function(e,t,r,i){return Ct().set({hashbuf:e,endian:i,sig:t,pubkey:r}).verify()};JB.exports=Ct});var om=T((Xse,tN)=>{"use strict";g();var G9=gt(),QB=dn(),B_=sr(),hh=ei(),eN=Le(),gn=Ie(),$se=pi();function xt(e){return this instanceof xt?(this.options=e||{},this.network=this.options.network||"mainnet",this.registry=this.options.registry||null,this):new xt(e)}xt.fromPublicKey=function(e,t){t=t||{},typeof e=="string"&&(e=B_.fromString(e)),gn.checkArgument(e instanceof B_,"Invalid public key");var r=e.toString("hex"),i=t.network||"mainnet",n=t.path||"",o="did:smartledger:"+r;return i!=="mainnet"&&(o+=":"+i),n&&(o+=":"+n),o};xt.fromPrivateKey=function(e,t){return typeof e=="string"&&(e=hh.fromWIF(e)),gn.checkArgument(e instanceof hh,"Invalid private key"),xt.fromPublicKey(e.toPublicKey(),t)};xt.parseDID=function(e){if(gn.checkArgument(typeof e=="string","DID must be a string"),!e.startsWith("did:smartledger:"))throw new Error("Invalid SmartLedger DID format");var t=e.split(":");if(t.length<3)throw new Error("Invalid DID format");var r={method:"smartledger",identifier:t[2],network:"mainnet",path:""};return t.length>3&&t[3]!==""&&(r.network=t[3]),t.length>4&&(r.path=t.slice(4).join(":")),r};xt.isValidDID=function(e){try{var t=xt.parseDID(e);return!(!/^[0-9a-fA-F]{66}$/.test(t.identifier)&&!/^[0-9a-fA-F]{130}$/.test(t.identifier)||!["mainnet","testnet","regtest"].includes(t.network))}catch{return!1}};xt.getPublicKey=function(e){var t=xt.parseDID(e);return B_.fromString(t.identifier)};xt.createDocument=function(e,t){t=t||{},gn.checkArgument(xt.isValidDID(e),"Invalid DID");var r=xt.getPublicKey(e),i=e+"#keys-1",n={"@context":["https://www.w3.org/ns/did/v1","https://w3id.org/security/suites/secp256k1-2019/v1"],id:e,verificationMethod:[{id:i,type:"EcdsaSecp256k1VerificationKey2019",controller:e,publicKeyHex:r.toString("hex")}],authentication:[i],assertionMethod:[i],keyAgreement:[i],capabilityInvocation:[i],capabilityDelegation:[i]};return t.services&&Array.isArray(t.services)&&(n.service=t.services),t.verificationMethods&&(n.verificationMethod=n.verificationMethod.concat(t.verificationMethods)),t.created&&(n.created=t.created),t.updated&&(n.updated=t.updated),n};xt.resolve=async function(e,t){t=t||{};try{gn.checkArgument(xt.isValidDID(e),"Invalid DID");var r=xt.createDocument(e,t);return{"@context":"https://w3id.org/did-resolution/v1",didDocument:r,didResolutionMetadata:{contentType:"application/did+ld+json",retrieved:new Date().toISOString()},didDocumentMetadata:{method:{published:!0,recoveryCommitment:null,updateCommitment:null}}}}catch(i){return{"@context":"https://w3id.org/did-resolution/v1",didDocument:null,didResolutionMetadata:{error:"notFound",errorMessage:i.message},didDocumentMetadata:{}}}};xt.verifyOwnership=function(e,t,r){try{var i=xt.getPublicKey(e),n=eN.sha256(f.Buffer.isBuffer(r)?r:f.Buffer.from(r,"utf8")),o=G9.fromString(t),a=new QB;return a.hashbuf=n,a.pubkey=i,a.sig=o,a.verify()===!0}catch{return!1}};xt.signMessage=function(e,t){gn.checkArgument(t instanceof hh,"Invalid private key");var r=eN.sha256(f.Buffer.isBuffer(e)?e:f.Buffer.from(e,"utf8")),i=new QB;return i.hashbuf=r,i.privkey=t,i.pubkey=t.toPublicKey(),i.sign().toString()};xt.createProofOfOwnership=function(e,t){gn.checkArgument(e instanceof hh,"Invalid private key"),gn.checkArgument(typeof t=="string","Challenge must be a string");var r=xt.fromPrivateKey(e),i=new Date().toISOString(),n=t+":"+i+":"+r,o=xt.signMessage(n,e);return{type:"EcdsaSecp256k1Signature2019",created:i,verificationMethod:r+"#keys-1",proofPurpose:"authentication",challenge:t,jws:o}};xt.verifyProofOfOwnership=function(e,t){try{gn.checkArgument(e&&typeof e=="object","Invalid proof object"),gn.checkArgument(typeof t=="string","DID must be a string");var r=e.challenge+":"+e.created+":"+t;return xt.verifyOwnership(t,e.jws,r)}catch{return!1}};xt.createDIDURL=function(e,t){return gn.checkArgument(typeof e=="string","DID must be a string"),gn.checkArgument(typeof t=="string","Fragment must be a string"),e+"#"+t};xt.generateTestDID=function(e){e=e||{};var t=new hh,r=xt.fromPrivateKey(t,e),i=xt.createDocument(r,e);return{did:r,privateKey:t.toWIF(),publicKey:t.toPublicKey().toString("hex"),document:i}};tN.exports=xt});var jc=T((Qse,iN)=>{"use strict";g();var rN={};rN.stringify=function(e){return N_(e,[])};function N_(e,t){if(e===null)return"null";var r=typeof e;if(r==="boolean")return e?"true":"false";if(r==="number"){if(!isFinite(e))throw new Error("Cannot canonicalize non-finite number: "+e);return JSON.stringify(e)}if(r==="string")return JSON.stringify(e);if(r==="bigint")throw new Error("Cannot canonicalize bigint; represent it as a string");if(Array.isArray(e)||r==="object"){if(t.indexOf(e)!==-1)throw new Error("Cannot canonicalize a circular structure");t.push(e);var i;if(Array.isArray(e))i="["+e.map(function(o){return o===void 0?"null":N_(o,t)}).join(",")+"]";else{var n=Object.keys(e).filter(function(o){return e[o]!==void 0&&typeof e[o]!="function"}).sort();i="{"+n.map(function(o){return JSON.stringify(o)+":"+N_(e[o],t)}).join(",")+"}"}return t.pop(),i}throw new Error("Cannot canonicalize value of type: "+r)}iN.exports=rN});var am=T((iue,aN)=>{"use strict";g();var W9=Ki(),Y9=om(),nN=ei(),as=Le(),oN=dn(),tue=gt(),ss=Ie(),Z9=jc(),rue=at();function Ut(e,t){return this instanceof Ut?(typeof e=="string"&&(e=nN.fromWIF(e)),ss.checkArgument(e instanceof nN,"Invalid private key"),this.privateKey=e,this.publicKey=e.toPublicKey(),this.options=t||{},this.did=Y9.fromPrivateKey(e,this.options),this):new Ut(e,t)}Ut._sortValue=function(e){return Array.isArray(e)?e.map(function(t){return Ut._sortValue(t)}):e!==null&&typeof e=="object"?Object.keys(e).sort().reduce(function(t,r){return t[r]=Ut._sortValue(e[r]),t},{}):e};Ut._canonicalizeJSON=function(e){return JSON.stringify(Ut._sortValue(e))};Ut._canonicalizeJCS=function(e){return Z9.stringify(e)};Ut._hashCredential=function(e,t){var r=t===Ut.CANONICALIZATION.LEGACY?Ut._canonicalizeJSON(e):Ut._canonicalizeJCS(e);return as.sha256(f.Buffer.from(r,"utf8"))};Ut.CANONICALIZATION={JCS:"jcs",LEGACY:"legacy"};Ut.prototype.createCredential=function(e,t){t=t||{},ss.checkArgument(e&&typeof e=="object","Invalid credential subject");var r=new Date().toISOString(),i=t.id||"urn:uuid:"+this._generateUUID(),n={"@context":["https://www.w3.org/2018/credentials/v1"],id:i,type:["VerifiableCredential"],issuer:this.did,issuanceDate:r,credentialSubject:e};return t.type&&(Array.isArray(t.type)?n.type=n.type.concat(t.type):n.type.push(t.type)),t.context&&(Array.isArray(t.context)?n["@context"]=n["@context"].concat(t.context):n["@context"].push(t.context)),t.expirationDate&&(n.expirationDate=t.expirationDate),t.termsOfUse&&(n.termsOfUse=t.termsOfUse),t.evidence&&(n.evidence=t.evidence),t.refreshService&&(n.refreshService=t.refreshService),n};Ut.prototype.signCredential=function(e,t){t=t||{},ss.checkArgument(e&&typeof e=="object","Invalid credential");var r=JSON.parse(JSON.stringify(e));delete r.proof;var i=Ut._hashCredential(r),n=new oN;n.hashbuf=i,n.privkey=this.privateKey,n.pubkey=this.publicKey,n.sign();var o=n.sig,a=this._createJWSSignature(i,o),s={type:"EcdsaSecp256k1Signature2019",created:new Date().toISOString(),verificationMethod:this.did+"#keys-1",proofPurpose:t.proofPurpose||"assertionMethod",jws:a};t.challenge&&(s.challenge=t.challenge),t.domain&&(s.domain=t.domain);var u=JSON.parse(JSON.stringify(r));return u.proof=s,u.rootHash=i.toString("hex"),u};Ut.prototype._createJWSSignature=function(e,t){var r={alg:"ES256K",typ:"JWT"},i=f.Buffer.from(JSON.stringify(r)).toString("base64url"),n=e.toString("base64url"),o=t.toDER().toString("base64url");return i+".."+o};Ut.prototype.createEmailCredential=function(e,t){t=t||{},ss.checkArgument(typeof e=="string"&&e.includes("@"),"Invalid email address");var r={id:t.subjectId||"did:smartledger:"+as.sha256(f.Buffer.from(e)).toString("hex"),email:e,verified:!0,verificationMethod:"email_verification",verificationTimestamp:new Date().toISOString()},i={type:"EmailVerifiedCredential",context:"https://smartledger.technology/contexts/email/v1",...t},n=this.createCredential(r,i);return this.signCredential(n,t)};Ut.prototype.createAgeCredential=function(e,t,r){r=r||{},ss.checkArgument(typeof e=="number"&&e>0,"Invalid age");var i={id:r.subjectId||"urn:uuid:"+this._generateUUID(),ageOver:e,verified:!0,verificationMethod:"age_verification"};t&&(i.birthDateHash=as.sha256(f.Buffer.from(t.toISOString())).toString("hex"));var n={type:"AgeVerifiedCredential",context:"https://smartledger.technology/contexts/age/v1",...r},o=this.createCredential(i,n);return this.signCredential(o,r)};Ut.prototype.createKYCCredential=function(e,t){t=t||{},ss.checkArgument(e&&typeof e=="object","Invalid KYC data");var r={id:t.subjectId||"urn:uuid:"+this._generateUUID(),kycLevel:e.level||"basic",verified:!0,verificationMethod:"kyc_verification",verificationTimestamp:new Date().toISOString(),verifyingAuthority:e.authority||this.did};e.firstName&&(r.firstNameHash=as.sha256(f.Buffer.from(e.firstName)).toString("hex")),e.lastName&&(r.lastNameHash=as.sha256(f.Buffer.from(e.lastName)).toString("hex")),e.ssn&&(r.ssnHash=as.sha256(f.Buffer.from(e.ssn)).toString("hex"));var i={type:"KYCVerifiedCredential",context:"https://smartledger.technology/contexts/kyc/v1",...t},n=this.createCredential(r,i);return this.signCredential(n,t)};Ut.prototype.createOrganizationCredential=function(e,t){t=t||{},ss.checkArgument(e&&typeof e=="object","Invalid organization data");var r={id:t.subjectId||"did:smartledger:org:"+as.sha256(f.Buffer.from(e.name||"")).toString("hex"),name:e.name,type:e.type||"Organization",verified:!0,verificationMethod:"organization_verification",verificationTimestamp:new Date().toISOString()};e.taxId&&(r.taxIdHash=as.sha256(f.Buffer.from(e.taxId)).toString("hex")),e.incorporationState&&(r.incorporationState=e.incorporationState),e.industry&&(r.industry=e.industry);var i={type:"OrganizationCredential",context:"https://smartledger.technology/contexts/organization/v1",...t},n=this.createCredential(r,i);return this.signCredential(n,t)};Ut.prototype._generateUUID=function(){var e=W9.getRandomBuffer(16);e[6]=e[6]&15|64,e[8]=e[8]&63|128;var t=e.toString("hex");return[t.substring(0,8),t.substring(8,12),t.substring(12,16),t.substring(16,20),t.substring(20,32)].join("-")};Ut.prototype.createPresentation=function(e,t){t=t||{},ss.checkArgument(Array.isArray(e),"Credentials must be an array");var r={"@context":["https://www.w3.org/2018/credentials/v1"],type:["VerifiablePresentation"],id:t.id||"urn:uuid:"+this._generateUUID(),holder:this.did,verifiableCredential:e};t.context&&(Array.isArray(t.context)?r["@context"]=r["@context"].concat(t.context):r["@context"].push(t.context));var i=Ut._hashCredential(r),n=new oN;n.hashbuf=i,n.privkey=this.privateKey,n.pubkey=this.publicKey,n.sign();var o=n.sig,a=this._createJWSSignature(i,o),s={type:"EcdsaSecp256k1Signature2019",created:new Date().toISOString(),verificationMethod:this.did+"#keys-1",proofPurpose:"authentication",jws:a};return t.challenge&&(s.challenge=t.challenge),t.domain&&(s.domain=t.domain),r.proof=s,r};Ut.prototype.getIssuerInfo=function(){return{did:this.did,publicKey:this.publicKey.toString("hex"),verificationMethod:this.did+"#keys-1"}};aN.exports=Ut});var fN=T((sue,cN)=>{"use strict";g();var sm=om(),ya=am(),oue=sr(),aue=Le(),sN=dn(),$9=gt(),uN=Ie();function St(e){return this instanceof St?(this.options=e||{},this.trustedIssuers=this.options.trustedIssuers||[],this):new St(e)}St.verifyCredential=async function(e,t){t=t||{};try{uN.checkArgument(e&&typeof e=="object","Invalid credential");var r={valid:!1,errors:[],warnings:[],checks:{structure:!1,signature:!1,issuer:!1,temporal:!1,schema:!1}},i=St._validateStructure(e);r.checks.structure=i.valid,i.valid||(r.errors=r.errors.concat(i.errors));var n=await St._verifySignature(e);r.checks.signature=n.valid,n.valid?(r.issuerDID=n.issuerDID,r.verificationMethod=n.verificationMethod):r.errors=r.errors.concat(n.errors);var o=await St._validateIssuer(e,t);r.checks.issuer=o.valid,o.valid||(r.errors=r.errors.concat(o.errors)),o.warnings&&(r.warnings=r.warnings.concat(o.warnings));var a=St._validateTemporal(e);if(r.checks.temporal=a.valid,a.valid||(r.errors=r.errors.concat(a.errors)),a.warnings&&(r.warnings=r.warnings.concat(a.warnings)),t.schema){var s=St._validateSchema(e,t.schema);r.checks.schema=s.valid,s.valid||(r.errors=r.errors.concat(s.errors))}else r.checks.schema=!0;return r.valid=Object.values(r.checks).every(u=>u===!0),r}catch(u){return{valid:!1,errors:["Verification failed: "+u.message],warnings:[],checks:{structure:!1,signature:!1,issuer:!1,temporal:!1,schema:!1}}}};St.verifyPresentation=async function(e,t){t=t||{};try{uN.checkArgument(e&&typeof e=="object","Invalid presentation");var r={valid:!1,errors:[],warnings:[],credentialResults:[],presentationValid:!1};if(!e.type||!e.type.includes("VerifiablePresentation"))return r.errors.push("Invalid presentation type"),r;if(!e.holder)return r.errors.push("Missing presentation holder"),r;var i=await St._verifyPresentationSignature(e);if(r.presentationValid=i.valid,i.valid||(r.errors=r.errors.concat(i.errors)),e.verifiableCredential&&Array.isArray(e.verifiableCredential))for(var n=0;n<e.verifiableCredential.length;n++){var o=e.verifiableCredential[n],a=await St.verifyCredential(o,t);r.credentialResults.push({index:n,result:a}),a.valid||r.errors.push("Credential "+n+" is invalid")}var s=r.credentialResults.every(u=>u.result.valid);return r.valid=r.presentationValid&&s,r}catch(u){return{valid:!1,errors:["Presentation verification failed: "+u.message],warnings:[],credentialResults:[],presentationValid:!1}}};St._validateStructure=function(e){var t=[];return e["@context"]?Array.isArray(e["@context"])?e["@context"].includes("https://www.w3.org/2018/credentials/v1")||t.push("Missing required W3C credentials context"):t.push("@context must be an array"):t.push("Missing @context"),e.type?Array.isArray(e.type)?e.type.includes("VerifiableCredential")||t.push("Must include VerifiableCredential type"):t.push("type must be an array"):t.push("Missing type"),e.issuer||t.push("Missing issuer"),e.issuanceDate||t.push("Missing issuanceDate"),e.credentialSubject||t.push("Missing credentialSubject"),e.proof||t.push("Missing proof"),{valid:t.length===0,errors:t}};St._normalizeDID=function(e){var t=e&&typeof e=="object"?e.id:e;return typeof t!="string"||t.length===0?null:t.split("#")[0]};St._verifySignature=async function(e){try{var t=e.proof;if(!t)return{valid:!1,errors:["Missing proof"]};if(t.type!=="EcdsaSecp256k1Signature2019")return{valid:!1,errors:["Unsupported proof type: "+t.type]};if(!t.verificationMethod)return{valid:!1,errors:["Missing verification method"]};if(!t.jws)return{valid:!1,errors:["Missing JWS signature"]};var r=t.verificationMethod,i=r.split("#")[0],n=St._normalizeDID(e.issuer);if(!n)return{valid:!1,errors:["Missing or invalid credential issuer"]};if(n!==i)return{valid:!1,errors:["Verification method DID ("+i+") does not match credential issuer ("+n+")"]};var o=sm.getPublicKey(i),a=JSON.parse(JSON.stringify(e));delete a.proof,delete a.rootHash;var s=St._parseJWSSignature(t.jws),u=[ya.CANONICALIZATION.JCS,ya.CANONICALIZATION.LEGACY].some(function(c){var l=new sN;return l.hashbuf=ya._hashCredential(a,c),l.pubkey=o,l.sig=s,l.verify()===!0});return u?{valid:!0,issuerDID:i,verificationMethod:r}:{valid:!1,errors:["Signature verification failed"]}}catch(c){return{valid:!1,errors:["Signature verification error: "+c.message]}}};St._parseJWSSignature=function(e){var t=e.split(".");if(t.length!==3)throw new Error("Invalid JWS format");var r=t[2],i=f.Buffer.from(r,"base64url");return $9.fromDER(i)};St._verifyPresentationSignature=async function(e){try{var t=e.proof;if(!t)return{valid:!1,errors:["Missing presentation proof"]};var r=e.holder,i=sm.getPublicKey(r),n=JSON.parse(JSON.stringify(e));delete n.proof;var o=St._parseJWSSignature(t.jws),a=[ya.CANONICALIZATION.JCS,ya.CANONICALIZATION.LEGACY].some(function(s){var u=new sN;return u.hashbuf=ya._hashCredential(n,s),u.pubkey=i,u.sig=o,u.verify()===!0});return{valid:a,errors:a?[]:["Presentation signature verification failed"]}}catch(s){return{valid:!1,errors:["Presentation signature error: "+s.message]}}};St._validateIssuer=async function(e,t){var r=[],i=[];try{var n=e.issuer;if(!sm.isValidDID(n))return r.push("Invalid issuer DID format"),{valid:!1,errors:r};var o=await sm.resolve(n);if(!o.didDocument)return r.push("Unable to resolve issuer DID"),{valid:!1,errors:r};if(t.trustedIssuers&&Array.isArray(t.trustedIssuers)){var a=St._normalizeDID(n),s=t.trustedIssuers.map(function(u){return St._normalizeDID(u)}).filter(Boolean);if(!a||s.indexOf(a)===-1)return r.push("Issuer not in trusted list"),{valid:!1,errors:r,warnings:i}}return{valid:r.length===0,errors:r,warnings:i}}catch(u){return{valid:!1,errors:["Issuer validation error: "+u.message],warnings:i}}};St._validateTemporal=function(e){var t=[],r=[],i=new Date;if(e.issuanceDate){var n=new Date(e.issuanceDate);isNaN(n.getTime())?t.push("Invalid issuanceDate format"):n>i&&t.push("Credential issued in the future")}if(e.expirationDate){var o=new Date(e.expirationDate);isNaN(o.getTime())?t.push("Invalid expirationDate format"):o<=i?t.push("Credential has expired"):o<=new Date(i.getTime()+1440*60*1e3)&&r.push("Credential expires within 24 hours")}return{valid:t.length===0,errors:t,warnings:r}};St._validateSchema=function(e,t){var r=[];if(t.requiredFields&&t.requiredFields.forEach(function(n){St._getNestedProperty(e,n)||r.push("Missing required field: "+n)}),t.requiredTypes){var i=t.requiredTypes.some(function(n){return e.type&&e.type.includes(n)});i||r.push("Missing required credential type")}return{valid:r.length===0,errors:r}};St._getNestedProperty=function(e,t){return t.split(".").reduce(function(r,i){return r&&r[i]},e)};St.verifyCredentialHash=function(e){try{if(!e.rootHash)return!1;var t=JSON.parse(JSON.stringify(e));delete t.proof,delete t.rootHash;var r=f.Buffer.from(e.rootHash,"hex");return[ya.CANONICALIZATION.JCS,ya.CANONICALIZATION.LEGACY].some(function(i){return f.Buffer.compare(ya._hashCredential(t,i),r)===0})}catch{return!1}};St.extractClaims=function(e){try{var t={issuer:e.issuer,subject:e.credentialSubject.id||"unknown",types:e.type||[],issuanceDate:e.issuanceDate,expirationDate:e.expirationDate,claims:{}};return Object.keys(e.credentialSubject).forEach(function(r){r!=="id"&&(t.claims[r]=e.credentialSubject[r])}),t}catch{return null}};St.createReport=function(e){var t=[];return t.push("=== Credential Verification Report ==="),t.push("Overall Status: "+(e.valid?"VALID":"INVALID")),t.push(""),t.push("Verification Checks:"),Object.keys(e.checks).forEach(function(r){var i=e.checks[r]?"\u2713":"\u2717";t.push(" "+i+" "+r.charAt(0).toUpperCase()+r.slice(1))}),t.push(""),e.errors.length>0&&(t.push("Errors:"),e.errors.forEach(function(r){t.push(" \u2022 "+r)}),t.push("")),e.warnings.length>0&&(t.push("Warnings:"),e.warnings.forEach(function(r){t.push(" \u2022 "+r)}),t.push("")),e.issuerDID&&t.push("Issuer: "+e.issuerDID),e.verificationMethod&&t.push("Verification Method: "+e.verificationMethod),t.join(`
75
- `)};cN.exports=St});var hN=T((fue,lN)=>{"use strict";g();var um=Ki(),X9=am(),Ii=Le(),cue=Ke(),ai=Ie(),J9=jc();function Wt(e){return this instanceof Wt?(this.options=e||{},this):new Wt(e)}Wt.createMerkleTree=function(e,t){ai.checkArgument(e&&typeof e=="object","Invalid credential");var r=Wt._extractFields(e),i=t||um.getRandomBuffer(32).toString("hex"),n=r.map(function(a,s){var u=Ii.sha256(f.Buffer.from(i+":"+s+":"+a.path,"utf8")).toString("hex"),c=a.path+":"+JSON.stringify(a.value)+":"+u;return{path:a.path,value:a.value,hash:Ii.sha256(f.Buffer.from(c,"utf8")).toString("hex"),salt:u}}),o=Wt._buildMerkleTree(n.map(a=>a.hash));return{salt:i,leaves:n,tree:o,root:o[o.length-1][0]}};Wt.generateSelectiveProof=function(e,t,r){ai.checkArgument(e&&typeof e=="object","Invalid credential"),typeof t=="string"&&(t=[t]),ai.checkArgument(Array.isArray(t),"Disclose paths must be array");var i=Wt.createMerkleTree(e,r),n=[],o=[];return t.forEach(function(a){var s=i.leaves.find(l=>l.path===a);if(s){n.push(s);var u=i.leaves.findIndex(l=>l.path===a),c=Wt._generateMerkleProof(i.tree,u);o.push({path:a,leafIndex:u,proof:c})}}),{type:"SelectiveDisclosureProof",created:new Date().toISOString(),proofPurpose:"selectiveDisclosure",verificationMethod:e.proof?e.proof.verificationMethod:null,credentialRoot:i.root,credentialHash:e.rootHash||X9._hashCredential(e).toString("hex"),disclosedFields:n.map(function(a){return{path:a.path,value:a.value,hash:a.hash,salt:a.salt}}),merkleProofs:o}};Wt.verifySelectiveProof=function(e,t){try{ai.checkArgument(e&&typeof e=="object","Invalid proof"),ai.checkArgument(typeof t=="string","Expected root must be string");for(var r={valid:!1,errors:[],verifiedFields:[]},i=0;i<e.disclosedFields.length;i++){var n=e.disclosedFields[i],o=e.merkleProofs.find(c=>c.path===n.path);if(!o){r.errors.push("Missing Merkle proof for field: "+n.path);continue}if(typeof n.salt!="string"||!n.salt){r.errors.push("Missing per-field salt for: "+n.path);continue}var a=n.path+":"+JSON.stringify(n.value)+":"+n.salt,s=Ii.sha256(f.Buffer.from(a,"utf8")).toString("hex");if(s!==n.hash){r.errors.push("Field hash mismatch for: "+n.path);continue}var u=Wt._verifyMerkleProof(n.hash,o.proof,t);if(!u){r.errors.push("Invalid Merkle proof for: "+n.path);continue}r.verifiedFields.push({path:n.path,value:n.value,verified:!0})}return r.valid=r.errors.length===0&&r.verifiedFields.length>0,r}catch(c){return{valid:!1,errors:["Proof verification failed: "+c.message],verifiedFields:[]}}};Wt.generateAgeProof=function(e,t,r){ai.checkArgument(e instanceof Date,"Birth date must be Date object"),ai.checkArgument(typeof t=="number","Minimum age must be number"),r=r||um.getRandomBuffer(32).toString("hex");var i=new Date,n=Math.floor((i-e)/(365.25*24*60*60*1e3));if(n<t)throw new Error("Age requirement not met");var o=e.toISOString().split("T")[0],a=Ii.sha256(f.Buffer.from(o+":"+r,"utf8")).toString("hex"),s={minimumAge:t,ageAttestation:n>=t,timestamp:i.toISOString(),salt:r},u=Ii.sha256(f.Buffer.from(JSON.stringify(s),"utf8")).toString("hex");return{type:"AgeProof",created:new Date().toISOString(),proofPurpose:"ageVerification",minimumAge:t,meetsRequirement:!0,birthDateCommitment:a,ageProofHash:u,challengeResponse:Wt._generateAgeChallenge(e,t,r),opening:{birthDate:o,salt:r}}};Wt.verifyAgeProof=function(e,t,r){try{if(ai.checkArgument(e&&typeof e=="object","Invalid proof"),ai.checkArgument(typeof t=="number","Required age must be number"),e.type!=="AgeProof"||e.minimumAge!==t||!r||typeof r!="object")return!1;var i=r.birthDate;if(typeof i=="string"&&(i=new Date(i)),!(i instanceof Date)||isNaN(i.getTime())||typeof r.salt!="string")return!1;var n=i.toISOString().split("T")[0],o=Ii.sha256(f.Buffer.from(n+":"+r.salt,"utf8")).toString("hex");if(o!==e.birthDateCommitment)return!1;var a=Math.floor((Date.now()-i.getTime())/(365.25*24*60*60*1e3));return a>=t}catch{return!1}};Wt.generateRangeProof=function(e,t,r,i){ai.checkArgument(typeof e=="number","Value must be number"),ai.checkArgument(typeof t=="number","Min must be number"),ai.checkArgument(typeof r=="number","Max must be number"),ai.checkArgument(e>=t&&e<=r,"Value not in range"),i=i||um.getRandomBuffer(32).toString("hex");var n=Ii.sha256(f.Buffer.from(e.toString()+":"+i,"utf8")).toString("hex"),o={min:t,max:r,inRange:!0,timestamp:new Date().toISOString(),salt:i},a=Ii.sha256(f.Buffer.from(JSON.stringify(o),"utf8")).toString("hex");return{type:"RangeProof",created:new Date().toISOString(),proofPurpose:"rangeVerification",range:{min:t,max:r},valueCommitment:n,proofHash:a,inRange:!0,opening:{value:e,salt:i}}};Wt.verifyRangeProof=function(e,t,r,i){try{if(ai.checkArgument(e&&typeof e=="object","Invalid proof"),e.type!=="RangeProof"||!e.range||e.range.min!==t||e.range.max!==r||!i||typeof i!="object"||typeof i.value!="number"||typeof i.salt!="string")return!1;var n=Ii.sha256(f.Buffer.from(i.value.toString()+":"+i.salt,"utf8")).toString("hex");return n!==e.valueCommitment?!1:i.value>=t&&i.value<=r}catch{return!1}};Wt._extractFields=function(e,t){t=t||"";var r=[];return Object.keys(e).forEach(function(i){var n=t?t+"."+i:i,o=e[i];o&&typeof o=="object"&&!Array.isArray(o)&&!(o instanceof Date)?r=r.concat(Wt._extractFields(o,n)):r.push({path:n,value:o})}),r};Wt._buildMerkleTree=function(e){if(e.length===0)throw new Error("Cannot build tree from empty leaves");for(var t=[e];t[t.length-1].length>1;){for(var r=t[t.length-1],i=[],n=0;n<r.length;n+=2){var o=r[n],a=n+1<r.length?r[n+1]:o,s=o+a,u=Ii.sha256(f.Buffer.from(s,"hex")).toString("hex");i.push(u)}t.push(i)}return t};Wt._generateMerkleProof=function(e,t){for(var r=[],i=t,n=0;n<e.length-1;n++){var o=e[n],a=i%2===0,s=a?i+1:i-1;s<o.length&&r.push({hash:o[s],isLeft:!a}),i=Math.floor(i/2)}return r};Wt._verifyMerkleProof=function(e,t,r){for(var i=e,n=0;n<t.length;n++){var o=t[n],a=o.isLeft?o.hash+i:i+o.hash;i=Ii.sha256(f.Buffer.from(a,"hex")).toString("hex")}return i===r};Wt._generateAgeChallenge=function(e,t,r){var i=Ii.sha256(f.Buffer.from(e.toISOString()+t+r,"utf8"));return i.toString("hex")};function dh(e,t){var r=t||"value",i=typeof e;if(!(e===null||i==="boolean"||i==="string"))if(i==="number"){if(!isFinite(e))throw new Error(r+" must be a finite number")}else if(Array.isArray(e))for(var n=0;n<e.length;n++){if(e[n]===void 0)throw new Error(r+"["+n+"] is undefined");dh(e[n],r+"["+n+"]")}else if(i==="object"){if(Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==null)throw new Error(r+" must be a plain object");for(var o=Object.keys(e),a=0;a<o.length;a++){if(e[o[a]]===void 0)throw new Error(r+"."+o[a]+" is undefined");dh(e[o[a]],r+"."+o[a])}}else throw new Error(r+" is not a permitted type: "+i);return J9.stringify(e)}Wt.generateMembershipProof=function(e,t,r){ai.checkArgument(Array.isArray(e),"Set must be array");var i=e.map(function(s,u){return dh(s,"set["+u+"]")}),n=dh(t);ai.checkArgument(i.indexOf(n)!==-1,"Value not in set"),r=r||um.getRandomBuffer(32).toString("hex");var o=i.map(function(s){return Ii.sha256(f.Buffer.from(s+":"+r,"utf8")).toString("hex")}),a=Ii.sha256(f.Buffer.from(n+":"+r,"utf8")).toString("hex");return{type:"MembershipProof",created:new Date().toISOString(),proofPurpose:"membershipVerification",setCommitments:o,valueCommitment:a,isMember:!0,salt:r}};Wt.verifyMembershipProof=function(e,t,r){try{if(ai.checkArgument(e&&typeof e=="object","Invalid proof"),e.type!=="MembershipProof"||!Array.isArray(e.setCommitments)||!Array.isArray(r)||r.length===0||!t||typeof t!="object"||typeof t.salt!="string"||!("value"in t))return!1;var i=function(a,s){return Ii.sha256(f.Buffer.from(dh(a,s)+":"+t.salt,"utf8")).toString("hex")},n=r.map(function(a,s){return i(a,"set["+s+"]")});if(n.length!==e.setCommitments.length)return!1;for(var o=0;o<n.length;o++)if(n[o]!==e.setCommitments[o])return!1;return i(t.value,"opening.value")!==e.valueCommitment?!1:n.indexOf(e.valueCommitment)!==-1}catch{return!1}};lN.exports=Wt});var L_=T((hue,yN)=>{"use strict";g();var kr=at(),dN=Ie(),pN=Ke(),Q9=Tc(),cm=Pc(),gN=Le(),fm=gh(),cu=ca(),C_=un(),mN=sr(),vN=pi(),ph=vN,qn=vN.HDPublicKey,lm=fa(),us=ni();function re(e){if(e instanceof re)return e;if(!(this instanceof re))return new re(e);if(e)if(kr.isString(e)||f.Buffer.isBuffer(e)){var t=re.getSerializedError(e);if(t){if(f.Buffer.isBuffer(e)&&!re.getSerializedError(e.toString()))return this._buildFromSerialized(e.toString());if(t instanceof qn.ArgumentIsPrivateExtended)return new fm(e).hdPublicKey;throw t}else return this._buildFromSerialized(e)}else{if(kr.isObject(e))return e instanceof fm?this._buildFromPrivate(e):this._buildFromObject(e);throw new qn.UnrecognizedArgument(e)}else throw new qn.MustSupplyArgument}re.fromHDPrivateKey=function(e){return new re(e)};re.isValidPath=function(e){if(kr.isString(e)){var t=fm._getDerivationIndexes(e);return t!==null&&kr.every(t,re.isValidPath)}return kr.isNumber(e)?e>=0&&e<re.Hardened:!1};re.prototype.derive=function(){throw new Error("derive has been deprecated. use deriveChild or, for the old way, deriveNonCompliantChild.")};re.prototype.deriveChild=function(e,t){if(kr.isNumber(e))return this._deriveWithNumber(e,t);if(kr.isString(e))return this._deriveFromString(e);throw new qn.InvalidDerivationArgument(e)};re.prototype._deriveWithNumber=function(e,t){if(e>=re.Hardened||t)throw new qn.InvalidIndexCantDeriveHardened;if(e<0)throw new qn.InvalidPath(e);var r=us.integerAsBuffer(e),i=f.Buffer.concat([this.publicKey.toBuffer(),r]),n=gN.sha512hmac(i,this._buffers.chainCode),o=pN.fromBuffer(n.slice(0,32),{size:32}),a=n.slice(32,64),s;try{s=mN.fromPoint(C_.getG().mul(o).add(this.publicKey.point))}catch{return this._deriveWithNumber(e+1)}var u=new re({network:this.network,depth:this.depth+1,parentFingerPrint:this.fingerPrint,childIndex:e,chainCode:a,publicKey:s});return u};re.prototype._deriveFromString=function(e){if(kr.includes(e,"'"))throw new qn.InvalidIndexCantDeriveHardened;if(!re.isValidPath(e))throw new qn.InvalidPath(e);var t=fm._getDerivationIndexes(e),r=t.reduce(function(i,n){return i._deriveWithNumber(n)},this);return r};re.isValidSerialized=function(e,t){return kr.isNull(re.getSerializedError(e,t))};re.getSerializedError=function(e,t){if(!(kr.isString(e)||f.Buffer.isBuffer(e)))return new qn.UnrecognizedArgument("expected buffer or string");if(!Q9.validCharacters(e))return new ph.InvalidB58Char("(unknown)",e);try{e=cm.decode(e)}catch{return new ph.InvalidB58Checksum(e)}if(e.length!==re.DataSize)return new qn.InvalidLength(e);if(!kr.isUndefined(t)){var r=re._validateNetwork(e,t);if(r)return r}var i=e.readUInt32BE(0);return i===cu.livenet.xprivkey||i===cu.testnet.xprivkey?new qn.ArgumentIsPrivateExtended:null};re._validateNetwork=function(e,t){var r=cu.get(t);if(!r)return new ph.InvalidNetworkArgument(t);var i=e.slice(re.VersionStart,re.VersionEnd);return i.readUInt32BE(0)!==r.xpubkey?new ph.InvalidNetwork(i):null};re.prototype._buildFromPrivate=function(e){var t=kr.clone(e._buffers),r=C_.getG().mul(pN.fromBuffer(t.privateKey));return t.publicKey=C_.pointToCompressed(r),t.version=us.integerAsBuffer(cu.get(t.version.readUInt32BE(0)).xpubkey),t.privateKey=void 0,t.checksum=void 0,t.xprivkey=void 0,this._buildFromBuffers(t)};re.prototype._buildFromObject=function(e){var t={version:e.network?us.integerAsBuffer(cu.get(e.network).xpubkey):e.version,depth:kr.isNumber(e.depth)?f.Buffer.from([e.depth&255]):e.depth,parentFingerPrint:kr.isNumber(e.parentFingerPrint)?us.integerAsBuffer(e.parentFingerPrint):e.parentFingerPrint,childIndex:kr.isNumber(e.childIndex)?us.integerAsBuffer(e.childIndex):e.childIndex,chainCode:kr.isString(e.chainCode)?f.Buffer.from(e.chainCode,"hex"):e.chainCode,publicKey:kr.isString(e.publicKey)?f.Buffer.from(e.publicKey,"hex"):f.Buffer.isBuffer(e.publicKey)?e.publicKey:e.publicKey.toBuffer(),checksum:kr.isNumber(e.checksum)?us.integerAsBuffer(e.checksum):e.checksum};return this._buildFromBuffers(t)};re.prototype._buildFromSerialized=function(e){var t=cm.decode(e),r={version:t.slice(re.VersionStart,re.VersionEnd),depth:t.slice(re.DepthStart,re.DepthEnd),parentFingerPrint:t.slice(re.ParentFingerPrintStart,re.ParentFingerPrintEnd),childIndex:t.slice(re.ChildIndexStart,re.ChildIndexEnd),chainCode:t.slice(re.ChainCodeStart,re.ChainCodeEnd),publicKey:t.slice(re.PublicKeyStart,re.PublicKeyEnd),checksum:t.slice(re.ChecksumStart,re.ChecksumEnd),xpubkey:e};return this._buildFromBuffers(r)};re.prototype._buildFromBuffers=function(e){re._validateBufferArguments(e),us.defineImmutable(this,{_buffers:e});var t=[e.version,e.depth,e.parentFingerPrint,e.childIndex,e.chainCode,e.publicKey],r=f.Buffer.concat(t),i=cm.checksum(r);if(!e.checksum||!e.checksum.length)e.checksum=i;else if(e.checksum.toString("hex")!==i.toString("hex"))throw new ph.InvalidB58Checksum(r,i);var n=cu.get(e.version.readUInt32BE(0)),o;o=cm.encode(f.Buffer.concat(t)),e.xpubkey=f.Buffer.from(o);var a=new mN(e.publicKey,{network:n}),s=re.ParentFingerPrintSize,u=gN.sha256ripemd160(a.toBuffer()).slice(0,s);return us.defineImmutable(this,{xpubkey:o,network:n,depth:e.depth[0],publicKey:a,fingerPrint:u}),this};re._validateBufferArguments=function(e){var t=function(r,i){var n=e[r];lm(f.Buffer.isBuffer(n),r+" argument is not a buffer, it's "+typeof n),lm(n.length===i,r+" has not the expected size: found "+n.length+", expected "+i)};t("version",re.VersionSize),t("depth",re.DepthSize),t("parentFingerPrint",re.ParentFingerPrintSize),t("childIndex",re.ChildIndexSize),t("chainCode",re.ChainCodeSize),t("publicKey",re.PublicKeySize),e.checksum&&e.checksum.length&&t("checksum",re.CheckSumSize)};re.fromString=function(e){return dN.checkArgument(kr.isString(e),"No valid string was provided"),new re(e)};re.fromObject=function(e){return dN.checkArgument(kr.isObject(e),"No valid argument was provided"),new re(e)};re.prototype.toString=function(){return this.xpubkey};re.prototype.inspect=function(){return"<HDPublicKey: "+this.xpubkey+">"};re.prototype.toObject=re.prototype.toJSON=function(){return{network:cu.get(this._buffers.version.readUInt32BE(0)).name,depth:this._buffers.depth[0],fingerPrint:this.fingerPrint.readUInt32BE(0),parentFingerPrint:this._buffers.parentFingerPrint.readUInt32BE(0),childIndex:this._buffers.childIndex.readUInt32BE(0),chainCode:this._buffers.chainCode.toString("hex"),publicKey:this.publicKey.toString(),checksum:this._buffers.checksum.readUInt32BE(0),xpubkey:this.xpubkey}};re.fromBuffer=function(e){return new re(e)};re.fromHex=function(e){return re.fromBuffer(f.Buffer.from(e,"hex"))};re.prototype.toBuffer=function(){return f.Buffer.from(this._buffers.xpubkey)};re.prototype.toHex=function(){return this.toBuffer().toString("hex")};re.Hardened=2147483648;re.RootElementAlias=["m","M"];re.VersionSize=4;re.DepthSize=1;re.ParentFingerPrintSize=4;re.ChildIndexSize=4;re.ChainCodeSize=32;re.PublicKeySize=33;re.CheckSumSize=4;re.DataSize=78;re.SerializedByteSize=82;re.VersionStart=0;re.VersionEnd=re.VersionStart+re.VersionSize;re.DepthStart=re.VersionEnd;re.DepthEnd=re.DepthStart+re.DepthSize;re.ParentFingerPrintStart=re.DepthEnd;re.ParentFingerPrintEnd=re.ParentFingerPrintStart+re.ParentFingerPrintSize;re.ChildIndexStart=re.ParentFingerPrintEnd;re.ChildIndexEnd=re.ChildIndexStart+re.ChildIndexSize;re.ChainCodeStart=re.ChildIndexEnd;re.ChainCodeEnd=re.ChainCodeStart+re.ChainCodeSize;re.PublicKeyStart=re.ChainCodeEnd;re.PublicKeyEnd=re.PublicKeyStart+re.PublicKeySize;re.ChecksumStart=re.PublicKeyEnd;re.ChecksumEnd=re.ChecksumStart+re.CheckSumSize;lm(re.PublicKeyEnd===re.DataSize);lm(re.ChecksumEnd===re.SerializedByteSize);yN.exports=re});var gh=T((pue,EN)=>{"use strict";g();var hm=fa(),vh=rr(),pr=at(),_N=Ie(),wN=Ke(),eW=Tc(),mh=Pc(),M_=Le(),fu=ca(),tW=un(),SN=ei(),rW=Ki(),zc=pi(),yo=zc.HDPrivateKey,vo=ni(),iW=128,bN=1/8,nW=512;function Z(e){if(e instanceof Z)return e;if(!(this instanceof Z))return new Z(e);if(!e)return this._generateRandomly();if(fu.get(e))return this._generateRandomly(e);if(pr.isString(e)||f.Buffer.isBuffer(e))if(Z.isValidSerialized(e))this._buildFromSerialized(e);else if(vo.isValidJSON(e))this._buildFromJSON(e);else if(f.Buffer.isBuffer(e)&&Z.isValidSerialized(e.toString()))this._buildFromSerialized(e.toString());else throw Z.getSerializedError(e);else if(pr.isObject(e))this._buildFromObject(e);else throw new yo.UnrecognizedArgument(e)}Z.fromRandom=function(e){return new Z(e)};Z.isValidPath=function(e,t){if(pr.isString(e)){var r=Z._getDerivationIndexes(e);return r!==null&&pr.every(r,Z.isValidPath)}return pr.isNumber(e)?(e<Z.Hardened&&t===!0&&(e+=Z.Hardened),e>=0&&e<Z.MaxIndex):!1};Z._getDerivationIndexes=function(e){var t=e.split("/");if(pr.includes(Z.RootElementAlias,e))return[];if(!pr.includes(Z.RootElementAlias,t[0]))return null;var r=t.slice(1).map(function(i){var n=i.slice(-1)==="'";if(n&&(i=i.slice(0,-1)),!i||i[0]==="-")return NaN;var o=+i;return n&&(o+=Z.Hardened),o});return pr.some(r,isNaN)?null:r};Z.prototype.derive=function(){throw new Error("derive has been deprecated. use deriveChild or, for the old way, deriveNonCompliantChild.")};Z.prototype.deriveChild=function(e,t){if(pr.isNumber(e))return this._deriveWithNumber(e,t);if(pr.isString(e))return this._deriveFromString(e);throw new yo.InvalidDerivationArgument(e)};Z.prototype.deriveNonCompliantChild=function(e,t){if(pr.isNumber(e))return this._deriveWithNumber(e,t,!0);if(pr.isString(e))return this._deriveFromString(e,!0);throw new yo.InvalidDerivationArgument(e)};Z.prototype._deriveWithNumber=function(e,t,r){if(!Z.isValidPath(e,t))throw new yo.InvalidPath(e);t=e>=Z.Hardened?!0:t,e<Z.Hardened&&t===!0&&(e+=Z.Hardened);var i=vo.integerAsBuffer(e),n;if(t&&r){var o=this.privateKey.bn.toBuffer();n=f.Buffer.concat([vh.Buffer.from([0]),o,i])}else if(t){var a=this.privateKey.bn.toBuffer({size:32});hm(a.length===32,"length of private key buffer is expected to be 32 bytes"),n=f.Buffer.concat([vh.Buffer.from([0]),a,i])}else n=f.Buffer.concat([this.publicKey.toBuffer(),i]);var s=M_.sha512hmac(n,this._buffers.chainCode),u=wN.fromBuffer(s.slice(0,32),{size:32}),c=s.slice(32,64),l=u.add(this.privateKey.toBigNumber()).umod(tW.getN()).toBuffer({size:32});if(!SN.isValid(l))return this._deriveWithNumber(e+1,null,r);var p=new Z({network:this.network,depth:this.depth+1,parentFingerPrint:this.fingerPrint,childIndex:e,chainCode:c,privateKey:l});return p};Z.prototype._deriveFromString=function(e,t){if(!Z.isValidPath(e))throw new yo.InvalidPath(e);var r=Z._getDerivationIndexes(e),i=r.reduce(function(n,o){return n._deriveWithNumber(o,null,t)},this);return i};Z.isValidSerialized=function(e,t){return!Z.getSerializedError(e,t)};Z.getSerializedError=function(e,t){if(!(pr.isString(e)||f.Buffer.isBuffer(e)))return new yo.UnrecognizedArgument("Expected string or buffer");if(!eW.validCharacters(e))return new zc.InvalidB58Char("(unknown)",e);try{e=mh.decode(e)}catch{return new zc.InvalidB58Checksum(e)}if(e.length!==Z.DataLength)return new yo.InvalidLength(e);if(!pr.isUndefined(t)){var r=Z._validateNetwork(e,t);if(r)return r}return null};Z._validateNetwork=function(e,t){var r=fu.get(t);if(!r)return new zc.InvalidNetworkArgument(t);var i=e.slice(0,4);return i.readUInt32BE(0)!==r.xprivkey?new zc.InvalidNetwork(i):null};Z.fromString=function(e){return _N.checkArgument(pr.isString(e),"No valid string was provided"),new Z(e)};Z.fromObject=function(e){return _N.checkArgument(pr.isObject(e),"No valid argument was provided"),new Z(e)};Z.prototype._buildFromJSON=function(e){return this._buildFromObject(JSON.parse(e))};Z.prototype._buildFromObject=function(e){var t={version:e.network?vo.integerAsBuffer(fu.get(e.network).xprivkey):e.version,depth:pr.isNumber(e.depth)?f.Buffer.from([e.depth&255]):e.depth,parentFingerPrint:pr.isNumber(e.parentFingerPrint)?vo.integerAsBuffer(e.parentFingerPrint):e.parentFingerPrint,childIndex:pr.isNumber(e.childIndex)?vo.integerAsBuffer(e.childIndex):e.childIndex,chainCode:pr.isString(e.chainCode)?f.Buffer.from(e.chainCode,"hex"):e.chainCode,privateKey:pr.isString(e.privateKey)&&vo.isHexa(e.privateKey)?f.Buffer.from(e.privateKey,"hex"):e.privateKey,checksum:e.checksum?e.checksum.length?e.checksum:vo.integerAsBuffer(e.checksum):void 0};return this._buildFromBuffers(t)};Z.prototype._buildFromSerialized=function(e){var t=mh.decode(e),r={version:t.slice(Z.VersionStart,Z.VersionEnd),depth:t.slice(Z.DepthStart,Z.DepthEnd),parentFingerPrint:t.slice(Z.ParentFingerPrintStart,Z.ParentFingerPrintEnd),childIndex:t.slice(Z.ChildIndexStart,Z.ChildIndexEnd),chainCode:t.slice(Z.ChainCodeStart,Z.ChainCodeEnd),privateKey:t.slice(Z.PrivateKeyStart,Z.PrivateKeyEnd),checksum:t.slice(Z.ChecksumStart,Z.ChecksumEnd),xprivkey:e};return this._buildFromBuffers(r)};Z.prototype._generateRandomly=function(e){return Z.fromSeed(rW.getRandomBuffer(64),e)};Z.fromSeed=function(e,t){if(vo.isHexaString(e)&&(e=f.Buffer.from(e,"hex")),!f.Buffer.isBuffer(e))throw new yo.InvalidEntropyArgument(e);if(e.length<iW*bN)throw new yo.InvalidEntropyArgument.NotEnoughEntropy(e);if(e.length>nW*bN)throw new yo.InvalidEntropyArgument.TooMuchEntropy(e);var r=M_.sha512hmac(e,vh.Buffer.from("Bitcoin seed"));return new Z({network:fu.get(t)||fu.defaultNetwork,depth:0,parentFingerPrint:0,childIndex:0,privateKey:r.slice(0,32),chainCode:r.slice(32,64)})};Z.prototype._calcHDPublicKey=function(){if(!this._hdPublicKey){var e=L_();this._hdPublicKey=new e(this)}};Z.prototype._buildFromBuffers=function(e){Z._validateBufferArguments(e),vo.defineImmutable(this,{_buffers:e});var t=[e.version,e.depth,e.parentFingerPrint,e.childIndex,e.chainCode,f.Buffer.alloc(1),e.privateKey],r=vh.Buffer.concat(t);if(!e.checksum||!e.checksum.length)e.checksum=mh.checksum(r);else if(e.checksum.toString()!==mh.checksum(r).toString())throw new zc.InvalidB58Checksum(r);var i=fu.get(e.version.readUInt32BE(0)),n;n=mh.encode(vh.Buffer.concat(t)),e.xprivkey=f.Buffer.from(n);var o=new SN(wN.fromBuffer(e.privateKey),i),a=o.toPublicKey(),s=Z.ParentFingerPrintSize,u=M_.sha256ripemd160(a.toBuffer()).slice(0,s);return vo.defineImmutable(this,{xprivkey:n,network:i,depth:e.depth[0],privateKey:o,publicKey:a,fingerPrint:u}),this._hdPublicKey=null,Object.defineProperty(this,"hdPublicKey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey}}),Object.defineProperty(this,"xpubkey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey.xpubkey}}),this};Z._validateBufferArguments=function(e){var t=function(r,i){var n=e[r];hm(f.Buffer.isBuffer(n),r+" argument is not a buffer"),hm(n.length===i,r+" has not the expected size: found "+n.length+", expected "+i)};t("version",Z.VersionSize),t("depth",Z.DepthSize),t("parentFingerPrint",Z.ParentFingerPrintSize),t("childIndex",Z.ChildIndexSize),t("chainCode",Z.ChainCodeSize),t("privateKey",Z.PrivateKeySize),e.checksum&&e.checksum.length&&t("checksum",Z.CheckSumSize)};Z.prototype.toString=function(){return this.xprivkey};Z.prototype.inspect=function(){return"<HDPrivateKey: "+this.xprivkey+">"};Z.prototype.toObject=Z.prototype.toJSON=function(){return{network:fu.get(this._buffers.version.readUInt32BE(0),"xprivkey").name,depth:this._buffers.depth[0],fingerPrint:this.fingerPrint.readUInt32BE(0),parentFingerPrint:this._buffers.parentFingerPrint.readUInt32BE(0),childIndex:this._buffers.childIndex.readUInt32BE(0),chainCode:this._buffers.chainCode.toString("hex"),privateKey:this.privateKey.toBuffer().toString("hex"),checksum:this._buffers.checksum.readUInt32BE(0),xprivkey:this.xprivkey}};Z.fromBuffer=function(e){return new Z(e.toString())};Z.fromHex=function(e){return Z.fromBuffer(f.Buffer.from(e,"hex"))};Z.prototype.toBuffer=function(){return f.Buffer.from(this.toString())};Z.prototype.toHex=function(){return this.toBuffer().toString("hex")};Z.DefaultDepth=0;Z.DefaultFingerprint=0;Z.DefaultChildIndex=0;Z.Hardened=2147483648;Z.MaxIndex=2*Z.Hardened;Z.RootElementAlias=["m","M","m'","M'"];Z.VersionSize=4;Z.DepthSize=1;Z.ParentFingerPrintSize=4;Z.ChildIndexSize=4;Z.ChainCodeSize=32;Z.PrivateKeySize=32;Z.CheckSumSize=4;Z.DataLength=78;Z.SerializedByteSize=82;Z.VersionStart=0;Z.VersionEnd=Z.VersionStart+Z.VersionSize;Z.DepthStart=Z.VersionEnd;Z.DepthEnd=Z.DepthStart+Z.DepthSize;Z.ParentFingerPrintStart=Z.DepthEnd;Z.ParentFingerPrintEnd=Z.ParentFingerPrintStart+Z.ParentFingerPrintSize;Z.ChildIndexStart=Z.ParentFingerPrintEnd;Z.ChildIndexEnd=Z.ChildIndexStart+Z.ChildIndexSize;Z.ChainCodeStart=Z.ChildIndexEnd;Z.ChainCodeEnd=Z.ChainCodeStart+Z.ChainCodeSize;Z.PrivateKeyStart=Z.ChainCodeEnd+1;Z.PrivateKeyEnd=Z.PrivateKeyStart+Z.PrivateKeySize;Z.ChecksumStart=Z.PrivateKeyEnd;Z.ChecksumEnd=Z.ChecksumStart+Z.CheckSumSize;hm(Z.ChecksumEnd===Z.SerializedByteSize);EN.exports=Z});var IN=T((mue,ON)=>{"use strict";g();var xN=nr();function oW(e,t,r,i){var n=64;if(i>(Math.pow(2,32)-1)*n)throw Error("Requested key length too long");if(typeof e!="string"&&!f.Buffer.isBuffer(e))throw new TypeError("key must a string or Buffer");if(typeof t!="string"&&!f.Buffer.isBuffer(t))throw new TypeError("salt must a string or Buffer");typeof e=="string"&&(e=f.Buffer.from(e)),typeof t=="string"&&(t=f.Buffer.from(t));var o=f.Buffer.alloc(i),a=f.Buffer.alloc(n),s=f.Buffer.alloc(n),u=f.Buffer.alloc(t.length+4),c=Math.ceil(i/n),l=i-(c-1)*n;t.copy(u,0,0,t.length);for(var p=1;p<=c;p++){u[t.length+0]=p>>24&255,u[t.length+1]=p>>16&255,u[t.length+2]=p>>8&255,u[t.length+3]=p>>0&255,a=xN.createHmac("sha512",e).update(u).digest(),a.copy(s,0,0,n);for(var d=1;d<r;d++){a=xN.createHmac("sha512",e).update(a).digest();for(var v=0;v<n;v++)s[v]^=a[v]}var _=(p-1)*n,I=p===c?l:n;s.copy(o,_,0,I)}return o}ON.exports=oW});var PN=T((yue,TN)=>{"use strict";g();var AN=Le();function aW(e,t,r,i){var n=64;if(i>(Math.pow(2,32)-1)*n)throw Error("Requested key length too long");if(typeof e!="string"&&!f.Buffer.isBuffer(e))throw new TypeError("key must a string or Buffer");if(typeof t!="string"&&!f.Buffer.isBuffer(t))throw new TypeError("salt must a string or Buffer");typeof e=="string"&&(e=f.Buffer.from(e)),typeof t=="string"&&(t=f.Buffer.from(t));var o=f.Buffer.alloc(i),a=f.Buffer.alloc(n),s=f.Buffer.alloc(n),u=f.Buffer.alloc(t.length+4),c=Math.ceil(i/n),l=i-(c-1)*n;t.copy(u,0,0,t.length);for(var p=1;p<=c;p++){u[t.length+0]=p>>24&255,u[t.length+1]=p>>16&255,u[t.length+2]=p>>8&255,u[t.length+3]=p>>0&255,a=AN.sha512hmac(u,e),a.copy(s,0,0,n);for(var d=1;d<r;d++){a=AN.sha512hmac(a,e);for(var v=0;v<n;v++)s[v]^=a[v]}var _=(p-1)*n,I=p===c?l:n;s.copy(o,_,0,I)}return o}TN.exports=aW});var kN=T((_ue,RN)=>{"use strict";g();var sW="87aa7cdea5ef619d4ff0b4241a1d6cb02379f4e2ce4ec2787ad0b30545e17cdedaa833b7d6b8a702038b274eaea3f4e4be9d914eeb61f1702e696c203a126854";function uW(){var e;try{e=nr()}catch{return!1}if(!e||typeof e.createHmac!="function")return!1;try{var t=e.createHmac("sha512",f.Buffer.alloc(20,11)).update("Hi There").digest("hex");return t===sW}catch{return!1}}RN.exports=uW()?IN():PN()});var NN=T((Sue,BN)=>{"use strict";g();var cW={name:"Mnemonic",message:"Internal Error on bsv-mnemonic module {0}",errors:[{name:"InvalidEntropy",message:"Entropy length must be an even multiple of 11 bits: {0}"},{name:"UnknownWordlist",message:"Could not detect the used word list: {0}"},{name:"InvalidMnemonic",message:"Mnemonic string is invalid: {0}"}]};BN.exports=pi().extend(cW)});var LN=T((xue,CN)=>{"use strict";g();var fW=["\u7684","\u4E00","\u662F","\u5728","\u4E0D","\u4E86","\u6709","\u548C","\u4EBA","\u8FD9","\u4E2D","\u5927","\u4E3A","\u4E0A","\u4E2A","\u56FD","\u6211","\u4EE5","\u8981","\u4ED6","\u65F6","\u6765","\u7528","\u4EEC","\u751F","\u5230","\u4F5C","\u5730","\u4E8E","\u51FA","\u5C31","\u5206","\u5BF9","\u6210","\u4F1A","\u53EF","\u4E3B","\u53D1","\u5E74","\u52A8","\u540C","\u5DE5","\u4E5F","\u80FD","\u4E0B","\u8FC7","\u5B50","\u8BF4","\u4EA7","\u79CD","\u9762","\u800C","\u65B9","\u540E","\u591A","\u5B9A","\u884C","\u5B66","\u6CD5","\u6240","\u6C11","\u5F97","\u7ECF","\u5341","\u4E09","\u4E4B","\u8FDB","\u7740","\u7B49","\u90E8","\u5EA6","\u5BB6","\u7535","\u529B","\u91CC","\u5982","\u6C34","\u5316","\u9AD8","\u81EA","\u4E8C","\u7406","\u8D77","\u5C0F","\u7269","\u73B0","\u5B9E","\u52A0","\u91CF","\u90FD","\u4E24","\u4F53","\u5236","\u673A","\u5F53","\u4F7F","\u70B9","\u4ECE","\u4E1A","\u672C","\u53BB","\u628A","\u6027","\u597D","\u5E94","\u5F00","\u5B83","\u5408","\u8FD8","\u56E0","\u7531","\u5176","\u4E9B","\u7136","\u524D","\u5916","\u5929","\u653F","\u56DB","\u65E5","\u90A3","\u793E","\u4E49","\u4E8B","\u5E73","\u5F62","\u76F8","\u5168","\u8868","\u95F4","\u6837","\u4E0E","\u5173","\u5404","\u91CD","\u65B0","\u7EBF","\u5185","\u6570","\u6B63","\u5FC3","\u53CD","\u4F60","\u660E","\u770B","\u539F","\u53C8","\u4E48","\u5229","\u6BD4","\u6216","\u4F46","\u8D28","\u6C14","\u7B2C","\u5411","\u9053","\u547D","\u6B64","\u53D8","\u6761","\u53EA","\u6CA1","\u7ED3","\u89E3","\u95EE","\u610F","\u5EFA","\u6708","\u516C","\u65E0","\u7CFB","\u519B","\u5F88","\u60C5","\u8005","\u6700","\u7ACB","\u4EE3","\u60F3","\u5DF2","\u901A","\u5E76","\u63D0","\u76F4","\u9898","\u515A","\u7A0B","\u5C55","\u4E94","\u679C","\u6599","\u8C61","\u5458","\u9769","\u4F4D","\u5165","\u5E38","\u6587","\u603B","\u6B21","\u54C1","\u5F0F","\u6D3B","\u8BBE","\u53CA","\u7BA1","\u7279","\u4EF6","\u957F","\u6C42","\u8001","\u5934","\u57FA","\u8D44","\u8FB9","\u6D41","\u8DEF","\u7EA7","\u5C11","\u56FE","\u5C71","\u7EDF","\u63A5","\u77E5","\u8F83","\u5C06","\u7EC4","\u89C1","\u8BA1","\u522B","\u5979","\u624B","\u89D2","\u671F","\u6839","\u8BBA","\u8FD0","\u519C","\u6307","\u51E0","\u4E5D","\u533A","\u5F3A","\u653E","\u51B3","\u897F","\u88AB","\u5E72","\u505A","\u5FC5","\u6218","\u5148","\u56DE","\u5219","\u4EFB","\u53D6","\u636E","\u5904","\u961F","\u5357","\u7ED9","\u8272","\u5149","\u95E8","\u5373","\u4FDD","\u6CBB","\u5317","\u9020","\u767E","\u89C4","\u70ED","\u9886","\u4E03","\u6D77","\u53E3","\u4E1C","\u5BFC","\u5668","\u538B","\u5FD7","\u4E16","\u91D1","\u589E","\u4E89","\u6D4E","\u9636","\u6CB9","\u601D","\u672F","\u6781","\u4EA4","\u53D7","\u8054","\u4EC0","\u8BA4","\u516D","\u5171","\u6743","\u6536","\u8BC1","\u6539","\u6E05","\u7F8E","\u518D","\u91C7","\u8F6C","\u66F4","\u5355","\u98CE","\u5207","\u6253","\u767D","\u6559","\u901F","\u82B1","\u5E26","\u5B89","\u573A","\u8EAB","\u8F66","\u4F8B","\u771F","\u52A1","\u5177","\u4E07","\u6BCF","\u76EE","\u81F3","\u8FBE","\u8D70","\u79EF","\u793A","\u8BAE","\u58F0","\u62A5","\u6597","\u5B8C","\u7C7B","\u516B","\u79BB","\u534E","\u540D","\u786E","\u624D","\u79D1","\u5F20","\u4FE1","\u9A6C","\u8282","\u8BDD","\u7C73","\u6574","\u7A7A","\u5143","\u51B5","\u4ECA","\u96C6","\u6E29","\u4F20","\u571F","\u8BB8","\u6B65","\u7FA4","\u5E7F","\u77F3","\u8BB0","\u9700","\u6BB5","\u7814","\u754C","\u62C9","\u6797","\u5F8B","\u53EB","\u4E14","\u7A76","\u89C2","\u8D8A","\u7EC7","\u88C5","\u5F71","\u7B97","\u4F4E","\u6301","\u97F3","\u4F17","\u4E66","\u5E03","\u590D","\u5BB9","\u513F","\u987B","\u9645","\u5546","\u975E","\u9A8C","\u8FDE","\u65AD","\u6DF1","\u96BE","\u8FD1","\u77FF","\u5343","\u5468","\u59D4","\u7D20","\u6280","\u5907","\u534A","\u529E","\u9752","\u7701","\u5217","\u4E60","\u54CD","\u7EA6","\u652F","\u822C","\u53F2","\u611F","\u52B3","\u4FBF","\u56E2","\u5F80","\u9178","\u5386","\u5E02","\u514B","\u4F55","\u9664","\u6D88","\u6784","\u5E9C","\u79F0","\u592A","\u51C6","\u7CBE","\u503C","\u53F7","\u7387","\u65CF","\u7EF4","\u5212","\u9009","\u6807","\u5199","\u5B58","\u5019","\u6BDB","\u4EB2","\u5FEB","\u6548","\u65AF","\u9662","\u67E5","\u6C5F","\u578B","\u773C","\u738B","\u6309","\u683C","\u517B","\u6613","\u7F6E","\u6D3E","\u5C42","\u7247","\u59CB","\u5374","\u4E13","\u72B6","\u80B2","\u5382","\u4EAC","\u8BC6","\u9002","\u5C5E","\u5706","\u5305","\u706B","\u4F4F","\u8C03","\u6EE1","\u53BF","\u5C40","\u7167","\u53C2","\u7EA2","\u7EC6","\u5F15","\u542C","\u8BE5","\u94C1","\u4EF7","\u4E25","\u9996","\u5E95","\u6DB2","\u5B98","\u5FB7","\u968F","\u75C5","\u82CF","\u5931","\u5C14","\u6B7B","\u8BB2","\u914D","\u5973","\u9EC4","\u63A8","\u663E","\u8C08","\u7F6A","\u795E","\u827A","\u5462","\u5E2D","\u542B","\u4F01","\u671B","\u5BC6","\u6279","\u8425","\u9879","\u9632","\u4E3E","\u7403","\u82F1","\u6C27","\u52BF","\u544A","\u674E","\u53F0","\u843D","\u6728","\u5E2E","\u8F6E","\u7834","\u4E9A","\u5E08","\u56F4","\u6CE8","\u8FDC","\u5B57","\u6750","\u6392","\u4F9B","\u6CB3","\u6001","\u5C01","\u53E6","\u65BD","\u51CF","\u6811","\u6EB6","\u600E","\u6B62","\u6848","\u8A00","\u58EB","\u5747","\u6B66","\u56FA","\u53F6","\u9C7C","\u6CE2","\u89C6","\u4EC5","\u8D39","\u7D27","\u7231","\u5DE6","\u7AE0","\u65E9","\u671D","\u5BB3","\u7EED","\u8F7B","\u670D","\u8BD5","\u98DF","\u5145","\u5175","\u6E90","\u5224","\u62A4","\u53F8","\u8DB3","\u67D0","\u7EC3","\u5DEE","\u81F4","\u677F","\u7530","\u964D","\u9ED1","\u72AF","\u8D1F","\u51FB","\u8303","\u7EE7","\u5174","\u4F3C","\u4F59","\u575A","\u66F2","\u8F93","\u4FEE","\u6545","\u57CE","\u592B","\u591F","\u9001","\u7B14","\u8239","\u5360","\u53F3","\u8D22","\u5403","\u5BCC","\u6625","\u804C","\u89C9","\u6C49","\u753B","\u529F","\u5DF4","\u8DDF","\u867D","\u6742","\u98DE","\u68C0","\u5438","\u52A9","\u5347","\u9633","\u4E92","\u521D","\u521B","\u6297","\u8003","\u6295","\u574F","\u7B56","\u53E4","\u5F84","\u6362","\u672A","\u8DD1","\u7559","\u94A2","\u66FE","\u7AEF","\u8D23","\u7AD9","\u7B80","\u8FF0","\u94B1","\u526F","\u5C3D","\u5E1D","\u5C04","\u8349","\u51B2","\u627F","\u72EC","\u4EE4","\u9650","\u963F","\u5BA3","\u73AF","\u53CC","\u8BF7","\u8D85","\u5FAE","\u8BA9","\u63A7","\u5DDE","\u826F","\u8F74","\u627E","\u5426","\u7EAA","\u76CA","\u4F9D","\u4F18","\u9876","\u7840","\u8F7D","\u5012","\u623F","\u7A81","\u5750","\u7C89","\u654C","\u7565","\u5BA2","\u8881","\u51B7","\u80DC","\u7EDD","\u6790","\u5757","\u5242","\u6D4B","\u4E1D","\u534F","\u8BC9","\u5FF5","\u9648","\u4ECD","\u7F57","\u76D0","\u53CB","\u6D0B","\u9519","\u82E6","\u591C","\u5211","\u79FB","\u9891","\u9010","\u9760","\u6DF7","\u6BCD","\u77ED","\u76AE","\u7EC8","\u805A","\u6C7D","\u6751","\u4E91","\u54EA","\u65E2","\u8DDD","\u536B","\u505C","\u70C8","\u592E","\u5BDF","\u70E7","\u8FC5","\u5883","\u82E5","\u5370","\u6D32","\u523B","\u62EC","\u6FC0","\u5B54","\u641E","\u751A","\u5BA4","\u5F85","\u6838","\u6821","\u6563","\u4FB5","\u5427","\u7532","\u6E38","\u4E45","\u83DC","\u5473","\u65E7","\u6A21","\u6E56","\u8D27","\u635F","\u9884","\u963B","\u6BEB","\u666E","\u7A33","\u4E59","\u5988","\u690D","\u606F","\u6269","\u94F6","\u8BED","\u6325","\u9152","\u5B88","\u62FF","\u5E8F","\u7EB8","\u533B","\u7F3A","\u96E8","\u5417","\u9488","\u5218","\u554A","\u6025","\u5531","\u8BEF","\u8BAD","\u613F","\u5BA1","\u9644","\u83B7","\u8336","\u9C9C","\u7CAE","\u65A4","\u5B69","\u8131","\u786B","\u80A5","\u5584","\u9F99","\u6F14","\u7236","\u6E10","\u8840","\u6B22","\u68B0","\u638C","\u6B4C","\u6C99","\u521A","\u653B","\u8C13","\u76FE","\u8BA8","\u665A","\u7C92","\u4E71","\u71C3","\u77DB","\u4E4E","\u6740","\u836F","\u5B81","\u9C81","\u8D35","\u949F","\u7164","\u8BFB","\u73ED","\u4F2F","\u9999","\u4ECB","\u8FEB","\u53E5","\u4E30","\u57F9","\u63E1","\u5170","\u62C5","\u5F26","\u86CB","\u6C89","\u5047","\u7A7F","\u6267","\u7B54","\u4E50","\u8C01","\u987A","\u70DF","\u7F29","\u5F81","\u8138","\u559C","\u677E","\u811A","\u56F0","\u5F02","\u514D","\u80CC","\u661F","\u798F","\u4E70","\u67D3","\u4E95","\u6982","\u6162","\u6015","\u78C1","\u500D","\u7956","\u7687","\u4FC3","\u9759","\u8865","\u8BC4","\u7FFB","\u8089","\u8DF5","\u5C3C","\u8863","\u5BBD","\u626C","\u68C9","\u5E0C","\u4F24","\u64CD","\u5782","\u79CB","\u5B9C","\u6C22","\u5957","\u7763","\u632F","\u67B6","\u4EAE","\u672B","\u5BAA","\u5E86","\u7F16","\u725B","\u89E6","\u6620","\u96F7","\u9500","\u8BD7","\u5EA7","\u5C45","\u6293","\u88C2","\u80DE","\u547C","\u5A18","\u666F","\u5A01","\u7EFF","\u6676","\u539A","\u76DF","\u8861","\u9E21","\u5B59","\u5EF6","\u5371","\u80F6","\u5C4B","\u4E61","\u4E34","\u9646","\u987E","\u6389","\u5440","\u706F","\u5C81","\u63AA","\u675F","\u8010","\u5267","\u7389","\u8D75","\u8DF3","\u54E5","\u5B63","\u8BFE","\u51EF","\u80E1","\u989D","\u6B3E","\u7ECD","\u5377","\u9F50","\u4F1F","\u84B8","\u6B96","\u6C38","\u5B97","\u82D7","\u5DDD","\u7089","\u5CA9","\u5F31","\u96F6","\u6768","\u594F","\u6CBF","\u9732","\u6746","\u63A2","\u6ED1","\u9547","\u996D","\u6D53","\u822A","\u6000","\u8D76","\u5E93","\u593A","\u4F0A","\u7075","\u7A0E","\u9014","\u706D","\u8D5B","\u5F52","\u53EC","\u9F13","\u64AD","\u76D8","\u88C1","\u9669","\u5EB7","\u552F","\u5F55","\u83CC","\u7EAF","\u501F","\u7CD6","\u76D6","\u6A2A","\u7B26","\u79C1","\u52AA","\u5802","\u57DF","\u67AA","\u6DA6","\u5E45","\u54C8","\u7ADF","\u719F","\u866B","\u6CFD","\u8111","\u58E4","\u78B3","\u6B27","\u904D","\u4FA7","\u5BE8","\u6562","\u5F7B","\u8651","\u659C","\u8584","\u5EAD","\u7EB3","\u5F39","\u9972","\u4F38","\u6298","\u9EA6","\u6E7F","\u6697","\u8377","\u74E6","\u585E","\u5E8A","\u7B51","\u6076","\u6237","\u8BBF","\u5854","\u5947","\u900F","\u6881","\u5200","\u65CB","\u8FF9","\u5361","\u6C2F","\u9047","\u4EFD","\u6BD2","\u6CE5","\u9000","\u6D17","\u6446","\u7070","\u5F69","\u5356","\u8017","\u590F","\u62E9","\u5FD9","\u94DC","\u732E","\u786C","\u4E88","\u7E41","\u5708","\u96EA","\u51FD","\u4EA6","\u62BD","\u7BC7","\u9635","\u9634","\u4E01","\u5C3A","\u8FFD","\u5806","\u96C4","\u8FCE","\u6CDB","\u7238","\u697C","\u907F","\u8C0B","\u5428","\u91CE","\u732A","\u65D7","\u7D2F","\u504F","\u5178","\u9986","\u7D22","\u79E6","\u8102","\u6F6E","\u7237","\u8C46","\u5FFD","\u6258","\u60CA","\u5851","\u9057","\u6108","\u6731","\u66FF","\u7EA4","\u7C97","\u503E","\u5C1A","\u75DB","\u695A","\u8C22","\u594B","\u8D2D","\u78E8","\u541B","\u6C60","\u65C1","\u788E","\u9AA8","\u76D1","\u6355","\u5F1F","\u66B4","\u5272","\u8D2F","\u6B8A","\u91CA","\u8BCD","\u4EA1","\u58C1","\u987F","\u5B9D","\u5348","\u5C18","\u95FB","\u63ED","\u70AE","\u6B8B","\u51AC","\u6865","\u5987","\u8B66","\u7EFC","\u62DB","\u5434","\u4ED8","\u6D6E","\u906D","\u5F90","\u60A8","\u6447","\u8C37","\u8D5E","\u7BB1","\u9694","\u8BA2","\u7537","\u5439","\u56ED","\u7EB7","\u5510","\u8D25","\u5B8B","\u73BB","\u5DE8","\u8015","\u5766","\u8363","\u95ED","\u6E7E","\u952E","\u51E1","\u9A7B","\u9505","\u6551","\u6069","\u5265","\u51DD","\u78B1","\u9F7F","\u622A","\u70BC","\u9EBB","\u7EBA","\u7981","\u5E9F","\u76DB","\u7248","\u7F13","\u51C0","\u775B","\u660C","\u5A5A","\u6D89","\u7B52","\u5634","\u63D2","\u5CB8","\u6717","\u5E84","\u8857","\u85CF","\u59D1","\u8D38","\u8150","\u5974","\u5566","\u60EF","\u4E58","\u4F19","\u6062","\u5300","\u7EB1","\u624E","\u8FA9","\u8033","\u5F6A","\u81E3","\u4EBF","\u7483","\u62B5","\u8109","\u79C0","\u8428","\u4FC4","\u7F51","\u821E","\u5E97","\u55B7","\u7EB5","\u5BF8","\u6C57","\u6302","\u6D2A","\u8D3A","\u95EA","\u67EC","\u7206","\u70EF","\u6D25","\u7A3B","\u5899","\u8F6F","\u52C7","\u50CF","\u6EDA","\u5398","\u8499","\u82B3","\u80AF","\u5761","\u67F1","\u8361","\u817F","\u4EEA","\u65C5","\u5C3E","\u8F67","\u51B0","\u8D21","\u767B","\u9ECE","\u524A","\u94BB","\u52D2","\u9003","\u969C","\u6C28","\u90ED","\u5CF0","\u5E01","\u6E2F","\u4F0F","\u8F68","\u4EA9","\u6BD5","\u64E6","\u83AB","\u523A","\u6D6A","\u79D8","\u63F4","\u682A","\u5065","\u552E","\u80A1","\u5C9B","\u7518","\u6CE1","\u7761","\u7AE5","\u94F8","\u6C64","\u9600","\u4F11","\u6C47","\u820D","\u7267","\u7ED5","\u70B8","\u54F2","\u78F7","\u7EE9","\u670B","\u6DE1","\u5C16","\u542F","\u9677","\u67F4","\u5448","\u5F92","\u989C","\u6CEA","\u7A0D","\u5FD8","\u6CF5","\u84DD","\u62D6","\u6D1E","\u6388","\u955C","\u8F9B","\u58EE","\u950B","\u8D2B","\u865A","\u5F2F","\u6469","\u6CF0","\u5E7C","\u5EF7","\u5C0A","\u7A97","\u7EB2","\u5F04","\u96B6","\u7591","\u6C0F","\u5BAB","\u59D0","\u9707","\u745E","\u602A","\u5C24","\u7434","\u5FAA","\u63CF","\u819C","\u8FDD","\u5939","\u8170","\u7F18","\u73E0","\u7A77","\u68EE","\u679D","\u7AF9","\u6C9F","\u50AC","\u7EF3","\u5FC6","\u90A6","\u5269","\u5E78","\u6D46","\u680F","\u62E5","\u7259","\u8D2E","\u793C","\u6EE4","\u94A0","\u7EB9","\u7F62","\u62CD","\u54B1","\u558A","\u8896","\u57C3","\u52E4","\u7F5A","\u7126","\u6F5C","\u4F0D","\u58A8","\u6B32","\u7F1D","\u59D3","\u520A","\u9971","\u4EFF","\u5956","\u94DD","\u9B3C","\u4E3D","\u8DE8","\u9ED8","\u6316","\u94FE","\u626B","\u559D","\u888B","\u70AD","\u6C61","\u5E55","\u8BF8","\u5F27","\u52B1","\u6885","\u5976","\u6D01","\u707E","\u821F","\u9274","\u82EF","\u8BBC","\u62B1","\u6BC1","\u61C2","\u5BD2","\u667A","\u57D4","\u5BC4","\u5C4A","\u8DC3","\u6E21","\u6311","\u4E39","\u8270","\u8D1D","\u78B0","\u62D4","\u7239","\u6234","\u7801","\u68A6","\u82BD","\u7194","\u8D64","\u6E14","\u54ED","\u656C","\u9897","\u5954","\u94C5","\u4EF2","\u864E","\u7A00","\u59B9","\u4E4F","\u73CD","\u7533","\u684C","\u9075","\u5141","\u9686","\u87BA","\u4ED3","\u9B4F","\u9510","\u6653","\u6C2E","\u517C","\u9690","\u788D","\u8D6B","\u62E8","\u5FE0","\u8083","\u7F38","\u7275","\u62A2","\u535A","\u5DE7","\u58F3","\u5144","\u675C","\u8BAF","\u8BDA","\u78A7","\u7965","\u67EF","\u9875","\u5DE1","\u77E9","\u60B2","\u704C","\u9F84","\u4F26","\u7968","\u5BFB","\u6842","\u94FA","\u5723","\u6050","\u6070","\u90D1","\u8DA3","\u62AC","\u8352","\u817E","\u8D34","\u67D4","\u6EF4","\u731B","\u9614","\u8F86","\u59BB","\u586B","\u64A4","\u50A8","\u7B7E","\u95F9","\u6270","\u7D2B","\u7802","\u9012","\u620F","\u540A","\u9676","\u4F10","\u5582","\u7597","\u74F6","\u5A46","\u629A","\u81C2","\u6478","\u5FCD","\u867E","\u8721","\u90BB","\u80F8","\u5DE9","\u6324","\u5076","\u5F03","\u69FD","\u52B2","\u4E73","\u9093","\u5409","\u4EC1","\u70C2","\u7816","\u79DF","\u4E4C","\u8230","\u4F34","\u74DC","\u6D45","\u4E19","\u6682","\u71E5","\u6A61","\u67F3","\u8FF7","\u6696","\u724C","\u79E7","\u80C6","\u8BE6","\u7C27","\u8E0F","\u74F7","\u8C31","\u5446","\u5BBE","\u7CCA","\u6D1B","\u8F89","\u6124","\u7ADE","\u9699","\u6012","\u7C98","\u4E43","\u7EEA","\u80A9","\u7C4D","\u654F","\u6D82","\u7199","\u7686","\u4FA6","\u60AC","\u6398","\u4EAB","\u7EA0","\u9192","\u72C2","\u9501","\u6DC0","\u6068","\u7272","\u9738","\u722C","\u8D4F","\u9006","\u73A9","\u9675","\u795D","\u79D2","\u6D59","\u8C8C","\u5F79","\u5F7C","\u6089","\u9E2D","\u8D8B","\u51E4","\u6668","\u755C","\u8F88","\u79E9","\u5375","\u7F72","\u68AF","\u708E","\u6EE9","\u68CB","\u9A71","\u7B5B","\u5CE1","\u5192","\u5565","\u5BFF","\u8BD1","\u6D78","\u6CC9","\u5E3D","\u8FDF","\u7845","\u7586","\u8D37","\u6F0F","\u7A3F","\u51A0","\u5AE9","\u80C1","\u82AF","\u7262","\u53DB","\u8680","\u5965","\u9E23","\u5CAD","\u7F8A","\u51ED","\u4E32","\u5858","\u7ED8","\u9175","\u878D","\u76C6","\u9521","\u5E99","\u7B79","\u51BB","\u8F85","\u6444","\u88AD","\u7B4B","\u62D2","\u50DA","\u65F1","\u94BE","\u9E1F","\u6F06","\u6C88","\u7709","\u758F","\u6DFB","\u68D2","\u7A57","\u785D","\u97E9","\u903C","\u626D","\u4FA8","\u51C9","\u633A","\u7897","\u683D","\u7092","\u676F","\u60A3","\u998F","\u529D","\u8C6A","\u8FBD","\u52C3","\u9E3F","\u65E6","\u540F","\u62DC","\u72D7","\u57CB","\u8F8A","\u63A9","\u996E","\u642C","\u9A82","\u8F9E","\u52FE","\u6263","\u4F30","\u848B","\u7ED2","\u96FE","\u4E08","\u6735","\u59C6","\u62DF","\u5B87","\u8F91","\u9655","\u96D5","\u507F","\u84C4","\u5D07","\u526A","\u5021","\u5385","\u54AC","\u9A76","\u85AF","\u5237","\u65A5","\u756A","\u8D4B","\u5949","\u4F5B","\u6D47","\u6F2B","\u66FC","\u6247","\u9499","\u6843","\u6276","\u4ED4","\u8FD4","\u4FD7","\u4E8F","\u8154","\u978B","\u68F1","\u8986","\u6846","\u6084","\u53D4","\u649E","\u9A97","\u52D8","\u65FA","\u6CB8","\u5B64","\u5410","\u5B5F","\u6E20","\u5C48","\u75BE","\u5999","\u60DC","\u4EF0","\u72E0","\u80C0","\u8C10","\u629B","\u9709","\u6851","\u5C97","\u561B","\u8870","\u76D7","\u6E17","\u810F","\u8D56","\u6D8C","\u751C","\u66F9","\u9605","\u808C","\u54E9","\u5389","\u70C3","\u7EAC","\u6BC5","\u6628","\u4F2A","\u75C7","\u716E","\u53F9","\u9489","\u642D","\u830E","\u7B3C","\u9177","\u5077","\u5F13","\u9525","\u6052","\u6770","\u5751","\u9F3B","\u7FFC","\u7EB6","\u53D9","\u72F1","\u902E","\u7F50","\u7EDC","\u68DA","\u6291","\u81A8","\u852C","\u5BFA","\u9AA4","\u7A46","\u51B6","\u67AF","\u518C","\u5C38","\u51F8","\u7EC5","\u576F","\u727A","\u7130","\u8F70","\u6B23","\u664B","\u7626","\u5FA1","\u952D","\u9526","\u4E27","\u65EC","\u953B","\u5784","\u641C","\u6251","\u9080","\u4EAD","\u916F","\u8FC8","\u8212","\u8106","\u9176","\u95F2","\u5FE7","\u915A","\u987D","\u7FBD","\u6DA8","\u5378","\u4ED7","\u966A","\u8F9F","\u60E9","\u676D","\u59DA","\u809A","\u6349","\u98D8","\u6F02","\u6606","\u6B3A","\u543E","\u90CE","\u70F7","\u6C41","\u5475","\u9970","\u8427","\u96C5","\u90AE","\u8FC1","\u71D5","\u6492","\u59FB","\u8D74","\u5BB4","\u70E6","\u503A","\u5E10","\u6591","\u94C3","\u65E8","\u9187","\u8463","\u997C","\u96CF","\u59FF","\u62CC","\u5085","\u8179","\u59A5","\u63C9","\u8D24","\u62C6","\u6B6A","\u8461","\u80FA","\u4E22","\u6D69","\u5FBD","\u6602","\u57AB","\u6321","\u89C8","\u8D2A","\u6170","\u7F34","\u6C6A","\u614C","\u51AF","\u8BFA","\u59DC","\u8C0A","\u51F6","\u52A3","\u8BEC","\u8000","\u660F","\u8EBA","\u76C8","\u9A91","\u4E54","\u6EAA","\u4E1B","\u5362","\u62B9","\u95F7","\u54A8","\u522E","\u9A7E","\u7F06","\u609F","\u6458","\u94D2","\u63B7","\u9887","\u5E7B","\u67C4","\u60E0","\u60E8","\u4F73","\u4EC7","\u814A","\u7A9D","\u6DA4","\u5251","\u77A7","\u5821","\u6CFC","\u8471","\u7F69","\u970D","\u635E","\u80CE","\u82CD","\u6EE8","\u4FE9","\u6345","\u6E58","\u780D","\u971E","\u90B5","\u8404","\u75AF","\u6DEE","\u9042","\u718A","\u7CAA","\u70D8","\u5BBF","\u6863","\u6208","\u9A73","\u5AC2","\u88D5","\u5F99","\u7BAD","\u6350","\u80A0","\u6491","\u6652","\u8FA8","\u6BBF","\u83B2","\u644A","\u6405","\u9171","\u5C4F","\u75AB","\u54C0","\u8521","\u5835","\u6CAB","\u76B1","\u7545","\u53E0","\u9601","\u83B1","\u6572","\u8F96","\u94A9","\u75D5","\u575D","\u5DF7","\u997F","\u7978","\u4E18","\u7384","\u6E9C","\u66F0","\u903B","\u5F6D","\u5C1D","\u537F","\u59A8","\u8247","\u541E","\u97E6","\u6028","\u77EE","\u6B47"];CN.exports=fW});var DN=T((Iue,MN)=>{"use strict";g();var lW=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"];MN.exports=lW});var qN=T((Tue,HN)=>{"use string";g();var hW=["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","acade\u0301mie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acque\u0301rir","acronyme","acteur","actif","actuel","adepte","ade\u0301quat","adhe\u0301sif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","ae\u0301rer","ae\u0301ronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agre\u0301able","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","alge\u0300bre","algue","alie\u0301ner","aliment","alle\u0301ger","alliage","allouer","allumer","alourdir","alpaga","altesse","alve\u0301ole","amateur","ambigu","ambre","ame\u0301nager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","ane\u0301antir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","ape\u0301ritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","arte\u0301riel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannie\u0300re","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","be\u0301lier","belote","be\u0301ne\u0301fice","berceau","berger","berline","bermuda","besace","besogne","be\u0301tail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","bre\u0300che","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","cafe\u0301ine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","came\u0301ra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","ce\u0301dille","ceinture","ce\u0301leste","cellule","cendrier","censurer","central","cercle","ce\u0301re\u0301bral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","che\u0301quier","chercher","cheval","chien","chiffre","chignon","chime\u0300re","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cine\u0301ma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohe\u0301sion","coiffer","coincer","cole\u0300re","colibri","colline","colmater","colonel","combat","come\u0301die","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","corte\u0300ge","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","cre\u0301ature","cre\u0301diter","cre\u0301meux","creuser","crevette","cribler","crier","cristal","crite\u0300re","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuille\u0300re","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","de\u0301battre","de\u0301biter","de\u0301border","de\u0301brider","de\u0301butant","de\u0301caler","de\u0301cembre","de\u0301chirer","de\u0301cider","de\u0301clarer","de\u0301corer","de\u0301crire","de\u0301cupler","de\u0301dale","de\u0301ductif","de\u0301esse","de\u0301fensif","de\u0301filer","de\u0301frayer","de\u0301gager","de\u0301givrer","de\u0301glutir","de\u0301grafer","de\u0301jeuner","de\u0301lice","de\u0301loger","demander","demeurer","de\u0301molir","de\u0301nicher","de\u0301nouer","dentelle","de\u0301nuder","de\u0301part","de\u0301penser","de\u0301phaser","de\u0301placer","de\u0301poser","de\u0301ranger","de\u0301rober","de\u0301sastre","descente","de\u0301sert","de\u0301signer","de\u0301sobe\u0301ir","dessiner","destrier","de\u0301tacher","de\u0301tester","de\u0301tourer","de\u0301tresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","diffe\u0301rer","dige\u0301rer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","e\u0301blouir","e\u0301carter","e\u0301charpe","e\u0301chelle","e\u0301clairer","e\u0301clipse","e\u0301clore","e\u0301cluse","e\u0301cole","e\u0301conomie","e\u0301corce","e\u0301couter","e\u0301craser","e\u0301cre\u0301mer","e\u0301crivain","e\u0301crou","e\u0301cume","e\u0301cureuil","e\u0301difier","e\u0301duquer","effacer","effectif","effigie","effort","effrayer","effusion","e\u0301galiser","e\u0301garer","e\u0301jecter","e\u0301laborer","e\u0301largir","e\u0301lectron","e\u0301le\u0301gant","e\u0301le\u0301phant","e\u0301le\u0300ve","e\u0301ligible","e\u0301litisme","e\u0301loge","e\u0301lucider","e\u0301luder","emballer","embellir","embryon","e\u0301meraude","e\u0301mission","emmener","e\u0301motion","e\u0301mouvoir","empereur","employer","emporter","emprise","e\u0301mulsion","encadrer","enche\u0300re","enclave","encoche","endiguer","endosser","endroit","enduire","e\u0301nergie","enfance","enfermer","enfouir","engager","engin","englober","e\u0301nigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","e\u0301nume\u0301rer","envahir","enviable","envoyer","enzyme","e\u0301olien","e\u0301paissir","e\u0301pargne","e\u0301patant","e\u0301paule","e\u0301picerie","e\u0301pide\u0301mie","e\u0301pier","e\u0301pilogue","e\u0301pine","e\u0301pisode","e\u0301pitaphe","e\u0301poque","e\u0301preuve","e\u0301prouver","e\u0301puisant","e\u0301querre","e\u0301quipe","e\u0301riger","e\u0301rosion","erreur","e\u0301ruption","escalier","espadon","espe\u0300ce","espie\u0300gle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","e\u0301tage\u0300re","e\u0301taler","e\u0301tanche","e\u0301tatique","e\u0301teindre","e\u0301tendoir","e\u0301ternel","e\u0301thanol","e\u0301thique","ethnie","e\u0301tirer","e\u0301toffer","e\u0301toile","e\u0301tonnant","e\u0301tourdir","e\u0301trange","e\u0301troit","e\u0301tude","euphorie","e\u0301valuer","e\u0301vasion","e\u0301ventail","e\u0301vidence","e\u0301viter","e\u0301volutif","e\u0301voquer","exact","exage\u0301rer","exaucer","exceller","excitant","exclusif","excuse","exe\u0301cuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expe\u0301dier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fe\u0301brile","fe\u0301conder","fe\u0301de\u0301rer","fe\u0301lin","femme","fe\u0301mur","fendoir","fe\u0301odal","fermer","fe\u0301roce","ferveur","festival","feuille","feutre","fe\u0301vrier","fiasco","ficeler","fictif","fide\u0300le","figure","filature","filetage","filie\u0300re","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fle\u0301au","fle\u0300che","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fouge\u0300re","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","fre\u0301gate","freiner","frelon","fre\u0301mir","fre\u0301ne\u0301sie","fre\u0300re","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","ge\u0301ant","ge\u0301latine","ge\u0301lule","gendarme","ge\u0301ne\u0301ral","ge\u0301nie","genou","gentil","ge\u0301ologie","ge\u0301ome\u0300tre","ge\u0301ranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruye\u0300re","gue\u0301pard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","he\u0301lium","he\u0301matome","herbe","he\u0301risson","hermine","he\u0301ron","he\u0301siter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homoge\u0300ne","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygie\u0300ne","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impe\u0301rial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","ine\u0301dit","ineptie","inexact","infini","infliger","informer","infusion","inge\u0301rer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irre\u0301el","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juve\u0301nile","kayak","kimono","kiosque","label","labial","labourer","lace\u0301rer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","le\u0301gal","le\u0301ger","le\u0301gume","lessive","lettre","levier","lexique","le\u0301zard","liasse","libe\u0301rer","libre","licence","licorne","lie\u0300ge","lie\u0300vre","ligature","ligoter","ligue","limer","limite","limonade","limpide","line\u0301aire","lingot","lionceau","liquide","lisie\u0300re","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumie\u0300re","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","male\u0301fice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","mate\u0301riel","matie\u0300re","matraque","maudire","maussade","mauve","maximal","me\u0301chant","me\u0301connu","me\u0301daille","me\u0301decin","me\u0301diter","me\u0301duse","meilleur","me\u0301lange","me\u0301lodie","membre","me\u0301moire","menacer","mener","menhir","mensonge","mentor","mercredi","me\u0301rite","merle","messager","mesure","me\u0301tal","me\u0301te\u0301ore","me\u0301thode","me\u0301tier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","mine\u0301ral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","mure\u0300ne","murmure","muscle","muse\u0301um","musicien","mutation","muter","mutuel","myriade","myrtille","myste\u0300re","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","ne\u0301buleux","nectar","ne\u0301faste","ne\u0301gation","ne\u0301gliger","ne\u0301gocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","nume\u0301ro","nuptial","nuque","nutritif","obe\u0301ir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","oce\u0301an","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","one\u0301reux","onirique","opale","opaque","ope\u0301rer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxyge\u0300ne","ozone","paisible","palace","palmare\u0300s","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","paste\u0300que","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pe\u0301lican","pelle","pelouse","peluche","pendule","pe\u0301ne\u0301trer","pe\u0301nible","pensif","pe\u0301nurie","pe\u0301pite","pe\u0301plum","perdrix","perforer","pe\u0301riode","permuter","perplexe","persil","perte","peser","pe\u0301tale","petit","pe\u0301trir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pie\u0300ce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poe\u0301sie","poe\u0300te","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","ponde\u0301rer","poney","portique","position","posse\u0301der","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","pre\u0301cieux","pre\u0301dire","pre\u0301fixe","pre\u0301lude","pre\u0301nom","pre\u0301sence","pre\u0301texte","pre\u0301voir","primitif","prince","prison","priver","proble\u0300me","proce\u0301der","prodige","profond","progre\u0300s","proie","projeter","prologue","promener","propre","prospe\u0300re","prote\u0301ger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quie\u0301tude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","re\u0301actif","re\u0301agir","re\u0301aliser","re\u0301animer","recevoir","re\u0301citer","re\u0301clamer","re\u0301colter","recruter","reculer","recycler","re\u0301diger","redouter","refaire","re\u0301flexe","re\u0301former","refrain","refuge","re\u0301galien","re\u0301gion","re\u0301glage","re\u0301gulier","re\u0301ite\u0301rer","rejeter","rejouer","relatif","relever","relief","remarque","reme\u0300de","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","re\u0301serve","re\u0301sineux","re\u0301soudre","respect","rester","re\u0301sultat","re\u0301tablir","retenir","re\u0301ticule","retomber","retracer","re\u0301union","re\u0301ussir","revanche","revivre","re\u0301volte","re\u0301vulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivie\u0300re","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","sce\u0301le\u0301rat","sce\u0301nario","sceptre","sche\u0301ma","science","scinder","score","scrutin","sculpter","se\u0301ance","se\u0301cable","se\u0301cher","secouer","se\u0301cre\u0301ter","se\u0301datif","se\u0301duire","seigneur","se\u0301jour","se\u0301lectif","semaine","sembler","semence","se\u0301minal","se\u0301nateur","sensible","sentence","se\u0301parer","se\u0301quence","serein","sergent","se\u0301rieux","serrure","se\u0301rum","service","se\u0301same","se\u0301vir","sevrage","sextuple","side\u0301ral","sie\u0300cle","sie\u0301ger","siffler","sigle","signal","silence","silicium","simple","since\u0300re","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spe\u0301cial","sphe\u0300re","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succe\u0300s","sucre","suffixe","sugge\u0301rer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","syme\u0301trie","synapse","syntaxe","syste\u0300me","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","te\u0301moin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","te\u0301tine","texte","the\u0300me","the\u0301orie","the\u0301rapie","thorax","tibia","tie\u0300de","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tole\u0301rant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","tre\u0300fle","tremper","tre\u0301sor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","ve\u0301ge\u0301tal","ve\u0301hicule","veinard","ve\u0301loce","vendredi","ve\u0301ne\u0301rer","venger","venimeux","ventouse","verdure","ve\u0301rin","vernir","verrou","verser","vertu","veston","ve\u0301te\u0301ran","ve\u0301tuste","vexant","vexer","viaduc","viande","victoire","vidange","vide\u0301o","vignette","vigueur","vilain","village","vinaigre","violon","vipe\u0300re","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xe\u0301non","yacht","ze\u0300bre","ze\u0301nith","zeste","zoologie"];HN.exports=hW});var FN=T((Rue,UN)=>{"use strict";g();var dW=["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"];UN.exports=dW});var zN=T((Bue,jN)=>{"use strict";g();var pW=["\u3042\u3044\u3053\u304F\u3057\u3093","\u3042\u3044\u3055\u3064","\u3042\u3044\u305F\u3099","\u3042\u304A\u305D\u3099\u3089","\u3042\u304B\u3061\u3083\u3093","\u3042\u304D\u308B","\u3042\u3051\u304B\u3099\u305F","\u3042\u3051\u308B","\u3042\u3053\u304B\u3099\u308C\u308B","\u3042\u3055\u3044","\u3042\u3055\u3072","\u3042\u3057\u3042\u3068","\u3042\u3057\u3099\u308F\u3046","\u3042\u3059\u3099\u304B\u308B","\u3042\u3059\u3099\u304D","\u3042\u305D\u3075\u3099","\u3042\u305F\u3048\u308B","\u3042\u305F\u305F\u3081\u308B","\u3042\u305F\u308A\u307E\u3048","\u3042\u305F\u308B","\u3042\u3064\u3044","\u3042\u3064\u304B\u3046","\u3042\u3063\u3057\u3085\u304F","\u3042\u3064\u307E\u308A","\u3042\u3064\u3081\u308B","\u3042\u3066\u306A","\u3042\u3066\u306F\u307E\u308B","\u3042\u3072\u308B","\u3042\u3075\u3099\u3089","\u3042\u3075\u3099\u308B","\u3042\u3075\u308C\u308B","\u3042\u307E\u3044","\u3042\u307E\u3068\u3099","\u3042\u307E\u3084\u304B\u3059","\u3042\u307E\u308A","\u3042\u307F\u3082\u306E","\u3042\u3081\u308A\u304B","\u3042\u3084\u307E\u308B","\u3042\u3086\u3080","\u3042\u3089\u3044\u304F\u3099\u307E","\u3042\u3089\u3057","\u3042\u3089\u3059\u3057\u3099","\u3042\u3089\u305F\u3081\u308B","\u3042\u3089\u3086\u308B","\u3042\u3089\u308F\u3059","\u3042\u308A\u304B\u3099\u3068\u3046","\u3042\u308F\u305B\u308B","\u3042\u308F\u3066\u308B","\u3042\u3093\u3044","\u3042\u3093\u304B\u3099\u3044","\u3042\u3093\u3053","\u3042\u3093\u305B\u3099\u3093","\u3042\u3093\u3066\u3044","\u3042\u3093\u306A\u3044","\u3042\u3093\u307E\u308A","\u3044\u3044\u305F\u3099\u3059","\u3044\u304A\u3093","\u3044\u304B\u3099\u3044","\u3044\u304B\u3099\u304F","\u3044\u304D\u304A\u3044","\u3044\u304D\u306A\u308A","\u3044\u304D\u3082\u306E","\u3044\u304D\u308B","\u3044\u304F\u3057\u3099","\u3044\u304F\u3075\u3099\u3093","\u3044\u3051\u306F\u3099\u306A","\u3044\u3051\u3093","\u3044\u3053\u3046","\u3044\u3053\u304F","\u3044\u3053\u3064","\u3044\u3055\u307E\u3057\u3044","\u3044\u3055\u3093","\u3044\u3057\u304D","\u3044\u3057\u3099\u3085\u3046","\u3044\u3057\u3099\u3087\u3046","\u3044\u3057\u3099\u308F\u308B","\u3044\u3059\u3099\u307F","\u3044\u3059\u3099\u308C","\u3044\u305B\u3044","\u3044\u305B\u3048\u3072\u3099","\u3044\u305B\u304B\u3044","\u3044\u305B\u304D","\u3044\u305B\u3099\u3093","\u3044\u305D\u3046\u308D\u3046","\u3044\u305D\u304B\u3099\u3057\u3044","\u3044\u305F\u3099\u3044","\u3044\u305F\u3099\u304F","\u3044\u305F\u3059\u3099\u3089","\u3044\u305F\u307F","\u3044\u305F\u308A\u3042","\u3044\u3061\u304A\u3046","\u3044\u3061\u3057\u3099","\u3044\u3061\u3068\u3099","\u3044\u3061\u306F\u3099","\u3044\u3061\u3075\u3099","\u3044\u3061\u308A\u3085\u3046","\u3044\u3064\u304B","\u3044\u3063\u3057\u3085\u3093","\u3044\u3063\u305B\u3044","\u3044\u3063\u305D\u3046","\u3044\u3063\u305F\u3093","\u3044\u3063\u3061","\u3044\u3063\u3066\u3044","\u3044\u3063\u307B\u309A\u3046","\u3044\u3066\u3055\u3099","\u3044\u3066\u3093","\u3044\u3068\u3099\u3046","\u3044\u3068\u3053","\u3044\u306A\u3044","\u3044\u306A\u304B","\u3044\u306D\u3080\u308A","\u3044\u306E\u3061","\u3044\u306E\u308B","\u3044\u306F\u3064","\u3044\u306F\u3099\u308B","\u3044\u306F\u3093","\u3044\u3072\u3099\u304D","\u3044\u3072\u3093","\u3044\u3075\u304F","\u3044\u3078\u3093","\u3044\u307B\u3046","\u3044\u307F\u3093","\u3044\u3082\u3046\u3068","\u3044\u3082\u305F\u308C","\u3044\u3082\u308A","\u3044\u3084\u304B\u3099\u308B","\u3044\u3084\u3059","\u3044\u3088\u304B\u3093","\u3044\u3088\u304F","\u3044\u3089\u3044","\u3044\u3089\u3059\u3068","\u3044\u308A\u304F\u3099\u3061","\u3044\u308A\u3087\u3046","\u3044\u308C\u3044","\u3044\u308C\u3082\u306E","\u3044\u308C\u308B","\u3044\u308D\u3048\u3093\u3072\u309A\u3064","\u3044\u308F\u3044","\u3044\u308F\u3046","\u3044\u308F\u304B\u3093","\u3044\u308F\u306F\u3099","\u3044\u308F\u3086\u308B","\u3044\u3093\u3051\u3099\u3093\u307E\u3081","\u3044\u3093\u3055\u3064","\u3044\u3093\u3057\u3087\u3046","\u3044\u3093\u3088\u3046","\u3046\u3048\u304D","\u3046\u3048\u308B","\u3046\u304A\u3055\u3099","\u3046\u304B\u3099\u3044","\u3046\u304B\u3075\u3099","\u3046\u304B\u3078\u3099\u308B","\u3046\u304D\u308F","\u3046\u304F\u3089\u3044\u306A","\u3046\u304F\u308C\u308C","\u3046\u3051\u305F\u307E\u308F\u308B","\u3046\u3051\u3064\u3051","\u3046\u3051\u3068\u308B","\u3046\u3051\u3082\u3064","\u3046\u3051\u308B","\u3046\u3053\u3099\u304B\u3059","\u3046\u3053\u3099\u304F","\u3046\u3053\u3093","\u3046\u3055\u304D\u3099","\u3046\u3057\u306A\u3046","\u3046\u3057\u308D\u304B\u3099\u307F","\u3046\u3059\u3044","\u3046\u3059\u304D\u3099","\u3046\u3059\u304F\u3099\u3089\u3044","\u3046\u3059\u3081\u308B","\u3046\u305B\u3064","\u3046\u3061\u3042\u308F\u305B","\u3046\u3061\u304B\u3099\u308F","\u3046\u3061\u304D","\u3046\u3061\u3085\u3046","\u3046\u3063\u304B\u308A","\u3046\u3064\u304F\u3057\u3044","\u3046\u3063\u305F\u3048\u308B","\u3046\u3064\u308B","\u3046\u3068\u3099\u3093","\u3046\u306A\u304D\u3099","\u3046\u306A\u3057\u3099","\u3046\u306A\u3059\u3099\u304F","\u3046\u306A\u308B","\u3046\u306D\u308B","\u3046\u306E\u3046","\u3046\u3075\u3099\u3051\u3099","\u3046\u3075\u3099\u3053\u3099\u3048","\u3046\u307E\u308C\u308B","\u3046\u3081\u308B","\u3046\u3082\u3046","\u3046\u3084\u307E\u3046","\u3046\u3088\u304F","\u3046\u3089\u304B\u3099\u3048\u3059","\u3046\u3089\u304F\u3099\u3061","\u3046\u3089\u306A\u3044","\u3046\u308A\u3042\u3051\u3099","\u3046\u308A\u304D\u308C","\u3046\u308B\u3055\u3044","\u3046\u308C\u3057\u3044","\u3046\u308C\u3086\u304D","\u3046\u308C\u308B","\u3046\u308D\u3053","\u3046\u308F\u304D","\u3046\u308F\u3055","\u3046\u3093\u3053\u3046","\u3046\u3093\u3061\u3093","\u3046\u3093\u3066\u3093","\u3046\u3093\u3068\u3099\u3046","\u3048\u3044\u3048\u3093","\u3048\u3044\u304B\u3099","\u3048\u3044\u304D\u3087\u3046","\u3048\u3044\u3053\u3099","\u3048\u3044\u305B\u3044","\u3048\u3044\u3075\u3099\u3093","\u3048\u3044\u3088\u3046","\u3048\u3044\u308F","\u3048\u304A\u308A","\u3048\u304B\u3099\u304A","\u3048\u304B\u3099\u304F","\u3048\u304D\u305F\u3044","\u3048\u304F\u305B\u308B","\u3048\u3057\u3083\u304F","\u3048\u3059\u3066","\u3048\u3064\u3089\u3093","\u3048\u306E\u304F\u3099","\u3048\u307B\u3046\u307E\u304D","\u3048\u307B\u3093","\u3048\u307E\u304D","\u3048\u3082\u3057\u3099","\u3048\u3082\u306E","\u3048\u3089\u3044","\u3048\u3089\u3075\u3099","\u3048\u308A\u3042","\u3048\u3093\u3048\u3093","\u3048\u3093\u304B\u3044","\u3048\u3093\u304D\u3099","\u3048\u3093\u3051\u3099\u304D","\u3048\u3093\u3057\u3085\u3046","\u3048\u3093\u305B\u3099\u3064","\u3048\u3093\u305D\u304F","\u3048\u3093\u3061\u3087\u3046","\u3048\u3093\u3068\u3064","\u304A\u3044\u304B\u3051\u308B","\u304A\u3044\u3053\u3059","\u304A\u3044\u3057\u3044","\u304A\u3044\u3064\u304F","\u304A\u3046\u3048\u3093","\u304A\u3046\u3055\u307E","\u304A\u3046\u3057\u3099","\u304A\u3046\u305B\u3064","\u304A\u3046\u305F\u3044","\u304A\u3046\u3075\u304F","\u304A\u3046\u3078\u3099\u3044","\u304A\u3046\u3088\u3046","\u304A\u3048\u308B","\u304A\u304A\u3044","\u304A\u304A\u3046","\u304A\u304A\u3068\u3099\u304A\u308A","\u304A\u304A\u3084","\u304A\u304A\u3088\u305D","\u304A\u304B\u3048\u308A","\u304A\u304B\u3059\u3099","\u304A\u304B\u3099\u3080","\u304A\u304B\u308F\u308A","\u304A\u304D\u3099\u306A\u3046","\u304A\u304D\u308B","\u304A\u304F\u3055\u307E","\u304A\u304F\u3057\u3099\u3087\u3046","\u304A\u304F\u308A\u304B\u3099\u306A","\u304A\u304F\u308B","\u304A\u304F\u308C\u308B","\u304A\u3053\u3059","\u304A\u3053\u306A\u3046","\u304A\u3053\u308B","\u304A\u3055\u3048\u308B","\u304A\u3055\u306A\u3044","\u304A\u3055\u3081\u308B","\u304A\u3057\u3044\u308C","\u304A\u3057\u3048\u308B","\u304A\u3057\u3099\u304D\u3099","\u304A\u3057\u3099\u3055\u3093","\u304A\u3057\u3083\u308C","\u304A\u305D\u3089\u304F","\u304A\u305D\u308F\u308B","\u304A\u305F\u304B\u3099\u3044","\u304A\u305F\u304F","\u304A\u305F\u3099\u3084\u304B","\u304A\u3061\u3064\u304F","\u304A\u3063\u3068","\u304A\u3064\u308A","\u304A\u3066\u3099\u304B\u3051","\u304A\u3068\u3057\u3082\u306E","\u304A\u3068\u306A\u3057\u3044","\u304A\u3068\u3099\u308A","\u304A\u3068\u3099\u308D\u304B\u3059","\u304A\u306F\u3099\u3055\u3093","\u304A\u307E\u3044\u308A","\u304A\u3081\u3066\u3099\u3068\u3046","\u304A\u3082\u3044\u3066\u3099","\u304A\u3082\u3046","\u304A\u3082\u305F\u3044","\u304A\u3082\u3061\u3083","\u304A\u3084\u3064","\u304A\u3084\u3086\u3072\u3099","\u304A\u3088\u307B\u3099\u3059","\u304A\u3089\u3093\u305F\u3099","\u304A\u308D\u3059","\u304A\u3093\u304B\u3099\u304F","\u304A\u3093\u3051\u3044","\u304A\u3093\u3057\u3083","\u304A\u3093\u305B\u3093","\u304A\u3093\u305F\u3099\u3093","\u304A\u3093\u3061\u3085\u3046","\u304A\u3093\u3068\u3099\u3051\u3044","\u304B\u3042\u3064","\u304B\u3044\u304B\u3099","\u304B\u3099\u3044\u304D","\u304B\u3099\u3044\u3051\u3093","\u304B\u3099\u3044\u3053\u3046","\u304B\u3044\u3055\u3064","\u304B\u3044\u3057\u3083","\u304B\u3044\u3059\u3044\u3088\u304F","\u304B\u3044\u305B\u3099\u3093","\u304B\u3044\u305D\u3099\u3046\u3068\u3099","\u304B\u3044\u3064\u3046","\u304B\u3044\u3066\u3093","\u304B\u3044\u3068\u3046","\u304B\u3044\u3075\u304F","\u304B\u3099\u3044\u3078\u304D","\u304B\u3044\u307B\u3046","\u304B\u3044\u3088\u3046","\u304B\u3099\u3044\u3089\u3044","\u304B\u3044\u308F","\u304B\u3048\u308B","\u304B\u304A\u308A","\u304B\u304B\u3048\u308B","\u304B\u304B\u3099\u304F","\u304B\u304B\u3099\u3057","\u304B\u304B\u3099\u307F","\u304B\u304F\u3053\u3099","\u304B\u304F\u3068\u304F","\u304B\u3055\u3099\u308B","\u304B\u3099\u305D\u3099\u3046","\u304B\u305F\u3044","\u304B\u305F\u3061","\u304B\u3099\u3061\u3087\u3046","\u304B\u3099\u3063\u304D\u3085\u3046","\u304B\u3099\u3063\u3053\u3046","\u304B\u3099\u3063\u3055\u3093","\u304B\u3099\u3063\u3057\u3087\u3046","\u304B\u306A\u3055\u3099\u308F\u3057","\u304B\u306E\u3046","\u304B\u3099\u306F\u304F","\u304B\u3075\u3099\u304B","\u304B\u307B\u3046","\u304B\u307B\u3053\u3099","\u304B\u307E\u3046","\u304B\u307E\u307B\u3099\u3053","\u304B\u3081\u308C\u304A\u3093","\u304B\u3086\u3044","\u304B\u3088\u3046\u3072\u3099","\u304B\u3089\u3044","\u304B\u308B\u3044","\u304B\u308D\u3046","\u304B\u308F\u304F","\u304B\u308F\u3089","\u304B\u3099\u3093\u304B","\u304B\u3093\u3051\u3044","\u304B\u3093\u3053\u3046","\u304B\u3093\u3057\u3083","\u304B\u3093\u305D\u3046","\u304B\u3093\u305F\u3093","\u304B\u3093\u3061","\u304B\u3099\u3093\u306F\u3099\u308B","\u304D\u3042\u3044","\u304D\u3042\u3064","\u304D\u3044\u308D","\u304D\u3099\u3044\u3093","\u304D\u3046\u3044","\u304D\u3046\u3093","\u304D\u3048\u308B","\u304D\u304A\u3046","\u304D\u304A\u304F","\u304D\u304A\u3061","\u304D\u304A\u3093","\u304D\u304B\u3044","\u304D\u304B\u304F","\u304D\u304B\u3093\u3057\u3083","\u304D\u304D\u3066","\u304D\u304F\u306F\u3099\u308A","\u304D\u304F\u3089\u3051\u3099","\u304D\u3051\u3093\u305B\u3044","\u304D\u3053\u3046","\u304D\u3053\u3048\u308B","\u304D\u3053\u304F","\u304D\u3055\u3044","\u304D\u3055\u304F","\u304D\u3055\u307E","\u304D\u3055\u3089\u304D\u3099","\u304D\u3099\u3057\u3099\u304B\u304B\u3099\u304F","\u304D\u3099\u3057\u304D","\u304D\u3099\u3057\u3099\u305F\u3044\u3051\u3093","\u304D\u3099\u3057\u3099\u306B\u3063\u3066\u3044","\u304D\u3099\u3057\u3099\u3085\u3064\u3057\u3083","\u304D\u3059\u3046","\u304D\u305B\u3044","\u304D\u305B\u304D","\u304D\u305B\u3064","\u304D\u305D\u3046","\u304D\u305D\u3099\u304F","\u304D\u305D\u3099\u3093","\u304D\u305F\u3048\u308B","\u304D\u3061\u3087\u3046","\u304D\u3064\u3048\u3093","\u304D\u3099\u3063\u3061\u308A","\u304D\u3064\u3064\u304D","\u304D\u3064\u306D","\u304D\u3066\u3044","\u304D\u3068\u3099\u3046","\u304D\u3068\u3099\u304F","\u304D\u306A\u3044","\u304D\u306A\u304B\u3099","\u304D\u306A\u3053","\u304D\u306C\u3053\u3099\u3057","\u304D\u306D\u3093","\u304D\u306E\u3046","\u304D\u306E\u3057\u305F","\u304D\u306F\u304F","\u304D\u3072\u3099\u3057\u3044","\u304D\u3072\u3093","\u304D\u3075\u304F","\u304D\u3075\u3099\u3093","\u304D\u307B\u3099\u3046","\u304D\u307B\u3093","\u304D\u307E\u308B","\u304D\u307F\u3064","\u304D\u3080\u3059\u3099\u304B\u3057\u3044","\u304D\u3081\u308B","\u304D\u3082\u305F\u3099\u3081\u3057","\u304D\u3082\u3061","\u304D\u3082\u306E","\u304D\u3083\u304F","\u304D\u3084\u304F","\u304D\u3099\u3085\u3046\u306B\u304F","\u304D\u3088\u3046","\u304D\u3087\u3046\u308A\u3085\u3046","\u304D\u3089\u3044","\u304D\u3089\u304F","\u304D\u308A\u3093","\u304D\u308C\u3044","\u304D\u308C\u3064","\u304D\u308D\u304F","\u304D\u3099\u308D\u3093","\u304D\u308F\u3081\u308B","\u304D\u3099\u3093\u3044\u308D","\u304D\u3093\u304B\u304F\u3057\u3099","\u304D\u3093\u3057\u3099\u3087","\u304D\u3093\u3088\u3046\u3072\u3099","\u304F\u3099\u3042\u3044","\u304F\u3044\u3059\u3099","\u304F\u3046\u304B\u3093","\u304F\u3046\u304D","\u304F\u3046\u304F\u3099\u3093","\u304F\u3046\u3053\u3046","\u304F\u3099\u3046\u305B\u3044","\u304F\u3046\u305D\u3046","\u304F\u3099\u3046\u305F\u3089","\u304F\u3046\u3075\u304F","\u304F\u3046\u307B\u3099","\u304F\u304B\u3093","\u304F\u304D\u3087\u3046","\u304F\u3051\u3099\u3093","\u304F\u3099\u3053\u3046","\u304F\u3055\u3044","\u304F\u3055\u304D","\u304F\u3055\u306F\u3099\u306A","\u304F\u3055\u308B","\u304F\u3057\u3083\u307F","\u304F\u3057\u3087\u3046","\u304F\u3059\u306E\u304D","\u304F\u3059\u308A\u3086\u3072\u3099","\u304F\u305B\u3051\u3099","\u304F\u305B\u3093","\u304F\u3099\u305F\u3044\u3066\u304D","\u304F\u305F\u3099\u3055\u308B","\u304F\u305F\u3072\u3099\u308C\u308B","\u304F\u3061\u3053\u307F","\u304F\u3061\u3055\u304D","\u304F\u3064\u3057\u305F","\u304F\u3099\u3063\u3059\u308A","\u304F\u3064\u308D\u304F\u3099","\u304F\u3068\u3046\u3066\u3093","\u304F\u3068\u3099\u304F","\u304F\u306A\u3093","\u304F\u306D\u304F\u306D","\u304F\u306E\u3046","\u304F\u3075\u3046","\u304F\u307F\u3042\u308F\u305B","\u304F\u307F\u305F\u3066\u308B","\u304F\u3081\u308B","\u304F\u3084\u304F\u3057\u3087","\u304F\u3089\u3059","\u304F\u3089\u3078\u3099\u308B","\u304F\u308B\u307E","\u304F\u308C\u308B","\u304F\u308D\u3046","\u304F\u308F\u3057\u3044","\u304F\u3099\u3093\u304B\u3093","\u304F\u3099\u3093\u3057\u3087\u304F","\u304F\u3099\u3093\u305F\u3044","\u304F\u3099\u3093\u3066","\u3051\u3042\u306A","\u3051\u3044\u304B\u304F","\u3051\u3044\u3051\u3093","\u3051\u3044\u3053","\u3051\u3044\u3055\u3064","\u3051\u3099\u3044\u3057\u3099\u3085\u3064","\u3051\u3044\u305F\u3044","\u3051\u3099\u3044\u306E\u3046\u3057\u3099\u3093","\u3051\u3044\u308C\u304D","\u3051\u3044\u308D","\u3051\u304A\u3068\u3059","\u3051\u304A\u308A\u3082\u306E","\u3051\u3099\u304D\u304B","\u3051\u3099\u304D\u3051\u3099\u3093","\u3051\u3099\u304D\u305F\u3099\u3093","\u3051\u3099\u304D\u3061\u3093","\u3051\u3099\u304D\u3068\u3064","\u3051\u3099\u304D\u306F","\u3051\u3099\u304D\u3084\u304F","\u3051\u3099\u3053\u3046","\u3051\u3099\u3053\u304F\u3057\u3099\u3087\u3046","\u3051\u3099\u3055\u3099\u3044","\u3051\u3055\u304D","\u3051\u3099\u3055\u3099\u3093","\u3051\u3057\u304D","\u3051\u3057\u3053\u3099\u3080","\u3051\u3057\u3087\u3046","\u3051\u3099\u3059\u3068","\u3051\u305F\u306F\u3099","\u3051\u3061\u3083\u3063\u3075\u309A","\u3051\u3061\u3089\u3059","\u3051\u3064\u3042\u3064","\u3051\u3064\u3044","\u3051\u3064\u3048\u304D","\u3051\u3063\u3053\u3093","\u3051\u3064\u3057\u3099\u3087","\u3051\u3063\u305B\u304D","\u3051\u3063\u3066\u3044","\u3051\u3064\u307E\u3064","\u3051\u3099\u3064\u3088\u3046\u3072\u3099","\u3051\u3099\u3064\u308C\u3044","\u3051\u3064\u308D\u3093","\u3051\u3099\u3068\u3099\u304F","\u3051\u3068\u306F\u3099\u3059","\u3051\u3068\u308B","\u3051\u306A\u3051\u3099","\u3051\u306A\u3059","\u3051\u306A\u307F","\u3051\u306C\u304D","\u3051\u3099\u306D\u3064","\u3051\u306D\u3093","\u3051\u306F\u3044","\u3051\u3099\u3072\u3093","\u3051\u3075\u3099\u304B\u3044","\u3051\u3099\u307B\u3099\u304F","\u3051\u307E\u308A","\u3051\u307F\u304B\u308B","\u3051\u3080\u3057","\u3051\u3080\u308A","\u3051\u3082\u306E","\u3051\u3089\u3044","\u3051\u308D\u3051\u308D","\u3051\u308F\u3057\u3044","\u3051\u3093\u3044","\u3051\u3093\u3048\u3064","\u3051\u3093\u304A","\u3051\u3093\u304B","\u3051\u3099\u3093\u304D","\u3051\u3093\u3051\u3099\u3093","\u3051\u3093\u3053\u3046","\u3051\u3093\u3055\u304F","\u3051\u3093\u3057\u3085\u3046","\u3051\u3093\u3059\u3046","\u3051\u3099\u3093\u305D\u3046","\u3051\u3093\u3061\u304F","\u3051\u3093\u3066\u3044","\u3051\u3093\u3068\u3046","\u3051\u3093\u306A\u3044","\u3051\u3093\u306B\u3093","\u3051\u3099\u3093\u3075\u3099\u3064","\u3051\u3093\u307E","\u3051\u3093\u307F\u3093","\u3051\u3093\u3081\u3044","\u3051\u3093\u3089\u3093","\u3051\u3093\u308A","\u3053\u3042\u304F\u307E","\u3053\u3044\u306C","\u3053\u3044\u3072\u3099\u3068","\u3053\u3099\u3046\u3044","\u3053\u3046\u3048\u3093","\u3053\u3046\u304A\u3093","\u3053\u3046\u304B\u3093","\u3053\u3099\u3046\u304D\u3085\u3046","\u3053\u3099\u3046\u3051\u3044","\u3053\u3046\u3053\u3046","\u3053\u3046\u3055\u3044","\u3053\u3046\u3057\u3099","\u3053\u3046\u3059\u3044","\u3053\u3099\u3046\u305B\u3044","\u3053\u3046\u305D\u304F","\u3053\u3046\u305F\u3044","\u3053\u3046\u3061\u3083","\u3053\u3046\u3064\u3046","\u3053\u3046\u3066\u3044","\u3053\u3046\u3068\u3099\u3046","\u3053\u3046\u306A\u3044","\u3053\u3046\u306F\u3044","\u3053\u3099\u3046\u307B\u3046","\u3053\u3099\u3046\u307E\u3093","\u3053\u3046\u3082\u304F","\u3053\u3046\u308A\u3064","\u3053\u3048\u308B","\u3053\u304A\u308A","\u3053\u3099\u304B\u3044","\u3053\u3099\u304B\u3099\u3064","\u3053\u3099\u304B\u3093","\u3053\u304F\u3053\u3099","\u3053\u304F\u3055\u3044","\u3053\u304F\u3068\u3046","\u3053\u304F\u306A\u3044","\u3053\u304F\u306F\u304F","\u3053\u304F\u3099\u307E","\u3053\u3051\u3044","\u3053\u3051\u308B","\u3053\u3053\u306E\u304B","\u3053\u3053\u308D","\u3053\u3055\u3081","\u3053\u3057\u3064","\u3053\u3059\u3046","\u3053\u305B\u3044","\u3053\u305B\u304D","\u3053\u305B\u3099\u3093","\u3053\u305D\u305F\u3099\u3066","\u3053\u305F\u3044","\u3053\u305F\u3048\u308B","\u3053\u305F\u3064","\u3053\u3061\u3087\u3046","\u3053\u3063\u304B","\u3053\u3064\u3053\u3064","\u3053\u3064\u306F\u3099\u3093","\u3053\u3064\u3075\u3099","\u3053\u3066\u3044","\u3053\u3066\u3093","\u3053\u3068\u304B\u3099\u3089","\u3053\u3068\u3057","\u3053\u3068\u306F\u3099","\u3053\u3068\u308A","\u3053\u306A\u3053\u3099\u306A","\u3053\u306D\u3053\u306D","\u3053\u306E\u307E\u307E","\u3053\u306E\u307F","\u3053\u306E\u3088","\u3053\u3099\u306F\u3093","\u3053\u3072\u3064\u3057\u3099","\u3053\u3075\u3046","\u3053\u3075\u3093","\u3053\u307B\u3099\u308C\u308B","\u3053\u3099\u307E\u3042\u3075\u3099\u3089","\u3053\u307E\u304B\u3044","\u3053\u3099\u307E\u3059\u308A","\u3053\u307E\u3064\u306A","\u3053\u307E\u308B","\u3053\u3080\u304D\u3099\u3053","\u3053\u3082\u3057\u3099","\u3053\u3082\u3061","\u3053\u3082\u306E","\u3053\u3082\u3093","\u3053\u3084\u304F","\u3053\u3084\u307E","\u3053\u3086\u3046","\u3053\u3086\u3072\u3099","\u3053\u3088\u3044","\u3053\u3088\u3046","\u3053\u308A\u308B","\u3053\u308C\u304F\u3057\u3087\u3093","\u3053\u308D\u3063\u3051","\u3053\u308F\u3082\u3066","\u3053\u308F\u308C\u308B","\u3053\u3093\u3044\u3093","\u3053\u3093\u304B\u3044","\u3053\u3093\u304D","\u3053\u3093\u3057\u3085\u3046","\u3053\u3093\u3059\u3044","\u3053\u3093\u305F\u3099\u3066","\u3053\u3093\u3068\u3093","\u3053\u3093\u306A\u3093","\u3053\u3093\u3072\u3099\u306B","\u3053\u3093\u307B\u309A\u3093","\u3053\u3093\u307E\u3051","\u3053\u3093\u3084","\u3053\u3093\u308C\u3044","\u3053\u3093\u308F\u304F","\u3055\u3099\u3044\u3048\u304D","\u3055\u3044\u304B\u3044","\u3055\u3044\u304D\u3093","\u3055\u3099\u3044\u3051\u3099\u3093","\u3055\u3099\u3044\u3053","\u3055\u3044\u3057\u3087","\u3055\u3044\u305B\u3044","\u3055\u3099\u3044\u305F\u304F","\u3055\u3099\u3044\u3061\u3085\u3046","\u3055\u3044\u3066\u304D","\u3055\u3099\u3044\u308A\u3087\u3046","\u3055\u3046\u306A","\u3055\u304B\u3044\u3057","\u3055\u304B\u3099\u3059","\u3055\u304B\u306A","\u3055\u304B\u307F\u3061","\u3055\u304B\u3099\u308B","\u3055\u304D\u3099\u3087\u3046","\u3055\u304F\u3057","\u3055\u304F\u3072\u3093","\u3055\u304F\u3089","\u3055\u3053\u304F","\u3055\u3053\u3064","\u3055\u3059\u3099\u304B\u308B","\u3055\u3099\u305B\u304D","\u3055\u305F\u3093","\u3055\u3064\u3048\u3044","\u3055\u3099\u3064\u304A\u3093","\u3055\u3099\u3063\u304B","\u3055\u3099\u3064\u304B\u3099\u304F","\u3055\u3063\u304D\u3087\u304F","\u3055\u3099\u3063\u3057","\u3055\u3064\u3057\u3099\u3093","\u3055\u3099\u3063\u305D\u3046","\u3055\u3064\u305F\u306F\u3099","\u3055\u3064\u307E\u3044\u3082","\u3055\u3066\u3044","\u3055\u3068\u3044\u3082","\u3055\u3068\u3046","\u3055\u3068\u304A\u3084","\u3055\u3068\u3057","\u3055\u3068\u308B","\u3055\u306E\u3046","\u3055\u306F\u3099\u304F","\u3055\u3072\u3099\u3057\u3044","\u3055\u3078\u3099\u3064","\u3055\u307B\u3046","\u3055\u307B\u3068\u3099","\u3055\u307E\u3059","\u3055\u307F\u3057\u3044","\u3055\u307F\u305F\u3099\u308C","\u3055\u3080\u3051","\u3055\u3081\u308B","\u3055\u3084\u3048\u3093\u3068\u3099\u3046","\u3055\u3086\u3046","\u3055\u3088\u3046","\u3055\u3088\u304F","\u3055\u3089\u305F\u3099","\u3055\u3099\u308B\u305D\u306F\u3099","\u3055\u308F\u3084\u304B","\u3055\u308F\u308B","\u3055\u3093\u3044\u3093","\u3055\u3093\u304B","\u3055\u3093\u304D\u3083\u304F","\u3055\u3093\u3053\u3046","\u3055\u3093\u3055\u3044","\u3055\u3099\u3093\u3057\u3087","\u3055\u3093\u3059\u3046","\u3055\u3093\u305B\u3044","\u3055\u3093\u305D","\u3055\u3093\u3061","\u3055\u3093\u307E","\u3055\u3093\u307F","\u3055\u3093\u3089\u3093","\u3057\u3042\u3044","\u3057\u3042\u3051\u3099","\u3057\u3042\u3055\u3063\u3066","\u3057\u3042\u308F\u305B","\u3057\u3044\u304F","\u3057\u3044\u3093","\u3057\u3046\u3061","\u3057\u3048\u3044","\u3057\u304A\u3051","\u3057\u304B\u3044","\u3057\u304B\u304F","\u3057\u3099\u304B\u3093","\u3057\u3053\u3099\u3068","\u3057\u3059\u3046","\u3057\u3099\u305F\u3099\u3044","\u3057\u305F\u3046\u3051","\u3057\u305F\u304D\u3099","\u3057\u305F\u3066","\u3057\u305F\u307F","\u3057\u3061\u3087\u3046","\u3057\u3061\u308A\u3093","\u3057\u3063\u304B\u308A","\u3057\u3064\u3057\u3099","\u3057\u3064\u3082\u3093","\u3057\u3066\u3044","\u3057\u3066\u304D","\u3057\u3066\u3064","\u3057\u3099\u3066\u3093","\u3057\u3099\u3068\u3099\u3046","\u3057\u306A\u304D\u3099\u308C","\u3057\u306A\u3082\u306E","\u3057\u306A\u3093","\u3057\u306D\u307E","\u3057\u306D\u3093","\u3057\u306E\u304F\u3099","\u3057\u306E\u3075\u3099","\u3057\u306F\u3044","\u3057\u306F\u3099\u304B\u308A","\u3057\u306F\u3064","\u3057\u306F\u3089\u3044","\u3057\u306F\u3093","\u3057\u3072\u3087\u3046","\u3057\u3075\u304F","\u3057\u3099\u3075\u3099\u3093","\u3057\u3078\u3044","\u3057\u307B\u3046","\u3057\u307B\u3093","\u3057\u307E\u3046","\u3057\u307E\u308B","\u3057\u307F\u3093","\u3057\u3080\u3051\u308B","\u3057\u3099\u3080\u3057\u3087","\u3057\u3081\u3044","\u3057\u3081\u308B","\u3057\u3082\u3093","\u3057\u3083\u3044\u3093","\u3057\u3083\u3046\u3093","\u3057\u3083\u304A\u3093","\u3057\u3099\u3083\u304B\u3099\u3044\u3082","\u3057\u3084\u304F\u3057\u3087","\u3057\u3083\u304F\u307B\u3046","\u3057\u3083\u3051\u3093","\u3057\u3083\u3053","\u3057\u3083\u3055\u3099\u3044","\u3057\u3083\u3057\u3093","\u3057\u3083\u305B\u3093","\u3057\u3083\u305D\u3046","\u3057\u3083\u305F\u3044","\u3057\u3083\u3061\u3087\u3046","\u3057\u3083\u3063\u304D\u3093","\u3057\u3099\u3083\u307E","\u3057\u3083\u308A\u3093","\u3057\u3083\u308C\u3044","\u3057\u3099\u3086\u3046","\u3057\u3099\u3085\u3046\u3057\u3087","\u3057\u3085\u304F\u306F\u304F","\u3057\u3099\u3085\u3057\u3093","\u3057\u3085\u3063\u305B\u304D","\u3057\u3085\u307F","\u3057\u3085\u3089\u306F\u3099","\u3057\u3099\u3085\u3093\u306F\u3099\u3093","\u3057\u3087\u3046\u304B\u3044","\u3057\u3087\u304F\u305F\u304F","\u3057\u3087\u3063\u3051\u3093","\u3057\u3087\u3068\u3099\u3046","\u3057\u3087\u3082\u3064","\u3057\u3089\u305B\u308B","\u3057\u3089\u3078\u3099\u308B","\u3057\u3093\u304B","\u3057\u3093\u3053\u3046","\u3057\u3099\u3093\u3057\u3099\u3083","\u3057\u3093\u305B\u3044\u3057\u3099","\u3057\u3093\u3061\u304F","\u3057\u3093\u308A\u3093","\u3059\u3042\u3051\u3099","\u3059\u3042\u3057","\u3059\u3042\u306A","\u3059\u3099\u3042\u3093","\u3059\u3044\u3048\u3044","\u3059\u3044\u304B","\u3059\u3044\u3068\u3046","\u3059\u3099\u3044\u3075\u3099\u3093","\u3059\u3044\u3088\u3046\u3072\u3099","\u3059\u3046\u304B\u3099\u304F","\u3059\u3046\u3057\u3099\u3064","\u3059\u3046\u305B\u3093","\u3059\u304A\u3068\u3099\u308A","\u3059\u304D\u307E","\u3059\u304F\u3046","\u3059\u304F\u306A\u3044","\u3059\u3051\u308B","\u3059\u3053\u3099\u3044","\u3059\u3053\u3057","\u3059\u3099\u3055\u3093","\u3059\u3059\u3099\u3057\u3044","\u3059\u3059\u3080","\u3059\u3059\u3081\u308B","\u3059\u3063\u304B\u308A","\u3059\u3099\u3063\u3057\u308A","\u3059\u3099\u3063\u3068","\u3059\u3066\u304D","\u3059\u3066\u308B","\u3059\u306D\u308B","\u3059\u306E\u3053","\u3059\u306F\u305F\u3099","\u3059\u306F\u3099\u3089\u3057\u3044","\u3059\u3099\u3072\u3087\u3046","\u3059\u3099\u3075\u3099\u306C\u308C","\u3059\u3075\u3099\u308A","\u3059\u3075\u308C","\u3059\u3078\u3099\u3066","\u3059\u3078\u3099\u308B","\u3059\u3099\u307B\u3046","\u3059\u307B\u3099\u3093","\u3059\u307E\u3044","\u3059\u3081\u3057","\u3059\u3082\u3046","\u3059\u3084\u304D","\u3059\u3089\u3059\u3089","\u3059\u308B\u3081","\u3059\u308C\u3061\u304B\u3099\u3046","\u3059\u308D\u3063\u3068","\u3059\u308F\u308B","\u3059\u3093\u305B\u3099\u3093","\u3059\u3093\u307B\u309A\u3046","\u305B\u3042\u3075\u3099\u3089","\u305B\u3044\u304B\u3064","\u305B\u3044\u3051\u3099\u3093","\u305B\u3044\u3057\u3099","\u305B\u3044\u3088\u3046","\u305B\u304A\u3046","\u305B\u304B\u3044\u304B\u3093","\u305B\u304D\u306B\u3093","\u305B\u304D\u3080","\u305B\u304D\u3086","\u305B\u304D\u3089\u3093\u3046\u3093","\u305B\u3051\u3093","\u305B\u3053\u3046","\u305B\u3059\u3057\u3099","\u305B\u305F\u3044","\u305B\u305F\u3051","\u305B\u3063\u304B\u304F","\u305B\u3063\u304D\u3083\u304F","\u305B\u3099\u3063\u304F","\u305B\u3063\u3051\u3093","\u305B\u3063\u3053\u3064","\u305B\u3063\u3055\u305F\u304F\u307E","\u305B\u3064\u305D\u3099\u304F","\u305B\u3064\u305F\u3099\u3093","\u305B\u3064\u3066\u3099\u3093","\u305B\u3063\u306F\u309A\u3093","\u305B\u3064\u3072\u3099","\u305B\u3064\u3075\u3099\u3093","\u305B\u3064\u3081\u3044","\u305B\u3064\u308A\u3064","\u305B\u306A\u304B","\u305B\u306E\u3072\u3099","\u305B\u306F\u306F\u3099","\u305B\u3072\u3099\u308D","\u305B\u307B\u3099\u306D","\u305B\u307E\u3044","\u305B\u307E\u308B","\u305B\u3081\u308B","\u305B\u3082\u305F\u308C","\u305B\u308A\u3075","\u305B\u3099\u3093\u3042\u304F","\u305B\u3093\u3044","\u305B\u3093\u3048\u3044","\u305B\u3093\u304B","\u305B\u3093\u304D\u3087","\u305B\u3093\u304F","\u305B\u3093\u3051\u3099\u3093","\u305B\u3099\u3093\u3053\u3099","\u305B\u3093\u3055\u3044","\u305B\u3093\u3057\u3085","\u305B\u3093\u3059\u3044","\u305B\u3093\u305B\u3044","\u305B\u3093\u305D\u3099","\u305B\u3093\u305F\u304F","\u305B\u3093\u3061\u3087\u3046","\u305B\u3093\u3066\u3044","\u305B\u3093\u3068\u3046","\u305B\u3093\u306C\u304D","\u305B\u3093\u306D\u3093","\u305B\u3093\u306F\u309A\u3044","\u305B\u3099\u3093\u3075\u3099","\u305B\u3099\u3093\u307B\u309A\u3046","\u305B\u3093\u3080","\u305B\u3093\u3081\u3093\u3057\u3099\u3087","\u305B\u3093\u3082\u3093","\u305B\u3093\u3084\u304F","\u305B\u3093\u3086\u3046","\u305B\u3093\u3088\u3046","\u305B\u3099\u3093\u3089","\u305B\u3099\u3093\u308A\u3083\u304F","\u305B\u3093\u308C\u3044","\u305B\u3093\u308D","\u305D\u3042\u304F","\u305D\u3044\u3068\u3051\u3099\u308B","\u305D\u3044\u306D","\u305D\u3046\u304B\u3099\u3093\u304D\u3087\u3046","\u305D\u3046\u304D","\u305D\u3046\u3053\u3099","\u305D\u3046\u3057\u3093","\u305D\u3046\u305F\u3099\u3093","\u305D\u3046\u306A\u3093","\u305D\u3046\u3072\u3099","\u305D\u3046\u3081\u3093","\u305D\u3046\u308A","\u305D\u3048\u3082\u306E","\u305D\u3048\u3093","\u305D\u304B\u3099\u3044","\u305D\u3051\u3099\u304D","\u305D\u3053\u3046","\u305D\u3053\u305D\u3053","\u305D\u3055\u3099\u3044","\u305D\u3057\u306A","\u305D\u305B\u3044","\u305D\u305B\u3093","\u305D\u305D\u304F\u3099","\u305D\u305F\u3099\u3066\u308B","\u305D\u3064\u3046","\u305D\u3064\u3048\u3093","\u305D\u3063\u304B\u3093","\u305D\u3064\u304D\u3099\u3087\u3046","\u305D\u3063\u3051\u3064","\u305D\u3063\u3053\u3046","\u305D\u3063\u305B\u3093","\u305D\u3063\u3068","\u305D\u3068\u304B\u3099\u308F","\u305D\u3068\u3064\u3099\u3089","\u305D\u306A\u3048\u308B","\u305D\u306A\u305F","\u305D\u3075\u307B\u3099","\u305D\u307B\u3099\u304F","\u305D\u307B\u3099\u308D","\u305D\u307E\u3064","\u305D\u307E\u308B","\u305D\u3080\u304F","\u305D\u3080\u308A\u3048","\u305D\u3081\u308B","\u305D\u3082\u305D\u3082","\u305D\u3088\u304B\u305B\u3099","\u305D\u3089\u307E\u3081","\u305D\u308D\u3046","\u305D\u3093\u304B\u3044","\u305D\u3093\u3051\u3044","\u305D\u3093\u3055\u3099\u3044","\u305D\u3093\u3057\u3064","\u305D\u3093\u305D\u3099\u304F","\u305D\u3093\u3061\u3087\u3046","\u305D\u3099\u3093\u3072\u3099","\u305D\u3099\u3093\u3075\u3099\u3093","\u305D\u3093\u307F\u3093","\u305F\u3042\u3044","\u305F\u3044\u3044\u3093","\u305F\u3044\u3046\u3093","\u305F\u3044\u3048\u304D","\u305F\u3044\u304A\u3046","\u305F\u3099\u3044\u304B\u3099\u304F","\u305F\u3044\u304D","\u305F\u3044\u304F\u3099\u3046","\u305F\u3044\u3051\u3093","\u305F\u3044\u3053","\u305F\u3044\u3055\u3099\u3044","\u305F\u3099\u3044\u3057\u3099\u3087\u3046\u3075\u3099","\u305F\u3099\u3044\u3059\u304D","\u305F\u3044\u305B\u3064","\u305F\u3044\u305D\u3046","\u305F\u3099\u3044\u305F\u3044","\u305F\u3044\u3061\u3087\u3046","\u305F\u3044\u3066\u3044","\u305F\u3099\u3044\u3068\u3099\u3053\u308D","\u305F\u3044\u306A\u3044","\u305F\u3044\u306D\u3064","\u305F\u3044\u306E\u3046","\u305F\u3044\u306F\u3093","\u305F\u3099\u3044\u3072\u3087\u3046","\u305F\u3044\u3075\u3046","\u305F\u3044\u3078\u3093","\u305F\u3044\u307B","\u305F\u3044\u307E\u3064\u306F\u3099\u306A","\u305F\u3044\u307F\u3093\u304F\u3099","\u305F\u3044\u3080","\u305F\u3044\u3081\u3093","\u305F\u3044\u3084\u304D","\u305F\u3044\u3088\u3046","\u305F\u3044\u3089","\u305F\u3044\u308A\u3087\u304F","\u305F\u3044\u308B","\u305F\u3044\u308F\u3093","\u305F\u3046\u3048","\u305F\u3048\u308B","\u305F\u304A\u3059","\u305F\u304A\u308B","\u305F\u304A\u308C\u308B","\u305F\u304B\u3044","\u305F\u304B\u306D","\u305F\u304D\u3072\u3099","\u305F\u304F\u3055\u3093","\u305F\u3053\u304F","\u305F\u3053\u3084\u304D","\u305F\u3055\u3044","\u305F\u3057\u3055\u3099\u3093","\u305F\u3099\u3057\u3099\u3083\u308C","\u305F\u3059\u3051\u308B","\u305F\u3059\u3099\u3055\u308F\u308B","\u305F\u305D\u304B\u3099\u308C","\u305F\u305F\u304B\u3046","\u305F\u305F\u304F","\u305F\u305F\u3099\u3057\u3044","\u305F\u305F\u307F","\u305F\u3061\u306F\u3099\u306A","\u305F\u3099\u3063\u304B\u3044","\u305F\u3099\u3063\u304D\u3083\u304F","\u305F\u3099\u3063\u3053","\u305F\u3099\u3063\u3057\u3085\u3064","\u305F\u3099\u3063\u305F\u3044","\u305F\u3066\u308B","\u305F\u3068\u3048\u308B","\u305F\u306A\u306F\u3099\u305F","\u305F\u306B\u3093","\u305F\u306C\u304D","\u305F\u306E\u3057\u307F","\u305F\u306F\u3064","\u305F\u3075\u3099\u3093","\u305F\u3078\u3099\u308B","\u305F\u307B\u3099\u3046","\u305F\u307E\u3053\u3099","\u305F\u307E\u308B","\u305F\u3099\u3080\u308B","\u305F\u3081\u3044\u304D","\u305F\u3081\u3059","\u305F\u3081\u308B","\u305F\u3082\u3064","\u305F\u3084\u3059\u3044","\u305F\u3088\u308B","\u305F\u3089\u3059","\u305F\u308A\u304D\u307B\u3093\u304B\u3099\u3093","\u305F\u308A\u3087\u3046","\u305F\u308A\u308B","\u305F\u308B\u3068","\u305F\u308C\u308B","\u305F\u308C\u3093\u3068","\u305F\u308D\u3063\u3068","\u305F\u308F\u3080\u308C\u308B","\u305F\u3099\u3093\u3042\u3064","\u305F\u3093\u3044","\u305F\u3093\u304A\u3093","\u305F\u3093\u304B","\u305F\u3093\u304D","\u305F\u3093\u3051\u3093","\u305F\u3093\u3053\u3099","\u305F\u3093\u3055\u3093","\u305F\u3093\u3057\u3099\u3087\u3046\u3072\u3099","\u305F\u3099\u3093\u305B\u3044","\u305F\u3093\u305D\u304F","\u305F\u3093\u305F\u3044","\u305F\u3099\u3093\u3061","\u305F\u3093\u3066\u3044","\u305F\u3093\u3068\u3046","\u305F\u3099\u3093\u306A","\u305F\u3093\u306B\u3093","\u305F\u3099\u3093\u306D\u3064","\u305F\u3093\u306E\u3046","\u305F\u3093\u3072\u309A\u3093","\u305F\u3099\u3093\u307B\u3099\u3046","\u305F\u3093\u307E\u3064","\u305F\u3093\u3081\u3044","\u305F\u3099\u3093\u308C\u3064","\u305F\u3099\u3093\u308D","\u305F\u3099\u3093\u308F","\u3061\u3042\u3044","\u3061\u3042\u3093","\u3061\u3044\u304D","\u3061\u3044\u3055\u3044","\u3061\u3048\u3093","\u3061\u304B\u3044","\u3061\u304B\u3089","\u3061\u304D\u3085\u3046","\u3061\u304D\u3093","\u3061\u3051\u3044\u3059\u3099","\u3061\u3051\u3093","\u3061\u3053\u304F","\u3061\u3055\u3044","\u3061\u3057\u304D","\u3061\u3057\u308A\u3087\u3046","\u3061\u305B\u3044","\u3061\u305D\u3046","\u3061\u305F\u3044","\u3061\u305F\u3093","\u3061\u3061\u304A\u3084","\u3061\u3064\u3057\u3099\u3087","\u3061\u3066\u304D","\u3061\u3066\u3093","\u3061\u306C\u304D","\u3061\u306C\u308A","\u3061\u306E\u3046","\u3061\u3072\u3087\u3046","\u3061\u3078\u3044\u305B\u3093","\u3061\u307B\u3046","\u3061\u307E\u305F","\u3061\u307F\u3064","\u3061\u307F\u3068\u3099\u308D","\u3061\u3081\u3044\u3068\u3099","\u3061\u3083\u3093\u3053\u306A\u3078\u3099","\u3061\u3085\u3046\u3044","\u3061\u3086\u308A\u3087\u304F","\u3061\u3087\u3046\u3057","\u3061\u3087\u3055\u304F\u3051\u3093","\u3061\u3089\u3057","\u3061\u3089\u307F","\u3061\u308A\u304B\u3099\u307F","\u3061\u308A\u3087\u3046","\u3061\u308B\u3068\u3099","\u3061\u308F\u308F","\u3061\u3093\u305F\u3044","\u3061\u3093\u3082\u304F","\u3064\u3044\u304B","\u3064\u3044\u305F\u3061","\u3064\u3046\u304B","\u3064\u3046\u3057\u3099\u3087\u3046","\u3064\u3046\u306F\u3093","\u3064\u3046\u308F","\u3064\u304B\u3046","\u3064\u304B\u308C\u308B","\u3064\u304F\u306D","\u3064\u304F\u308B","\u3064\u3051\u306D","\u3064\u3051\u308B","\u3064\u3053\u3099\u3046","\u3064\u305F\u3048\u308B","\u3064\u3064\u3099\u304F","\u3064\u3064\u3057\u3099","\u3064\u3064\u3080","\u3064\u3068\u3081\u308B","\u3064\u306A\u304B\u3099\u308B","\u3064\u306A\u307F","\u3064\u306D\u3064\u3099\u306D","\u3064\u306E\u308B","\u3064\u3075\u3099\u3059","\u3064\u307E\u3089\u306A\u3044","\u3064\u307E\u308B","\u3064\u307F\u304D","\u3064\u3081\u305F\u3044","\u3064\u3082\u308A","\u3064\u3082\u308B","\u3064\u3088\u3044","\u3064\u308B\u307B\u3099","\u3064\u308B\u307F\u304F","\u3064\u308F\u3082\u306E","\u3064\u308F\u308A","\u3066\u3042\u3057","\u3066\u3042\u3066","\u3066\u3042\u307F","\u3066\u3044\u304A\u3093","\u3066\u3044\u304B","\u3066\u3044\u304D","\u3066\u3044\u3051\u3044","\u3066\u3044\u3053\u304F","\u3066\u3044\u3055\u3064","\u3066\u3044\u3057","\u3066\u3044\u305B\u3044","\u3066\u3044\u305F\u3044","\u3066\u3044\u3068\u3099","\u3066\u3044\u306D\u3044","\u3066\u3044\u3072\u3087\u3046","\u3066\u3044\u3078\u3093","\u3066\u3044\u307B\u3099\u3046","\u3066\u3046\u3061","\u3066\u304A\u304F\u308C","\u3066\u304D\u3068\u3046","\u3066\u304F\u3072\u3099","\u3066\u3099\u3053\u307B\u3099\u3053","\u3066\u3055\u304D\u3099\u3087\u3046","\u3066\u3055\u3051\u3099","\u3066\u3059\u308A","\u3066\u305D\u3046","\u3066\u3061\u304B\u3099\u3044","\u3066\u3061\u3087\u3046","\u3066\u3064\u304B\u3099\u304F","\u3066\u3064\u3064\u3099\u304D","\u3066\u3099\u3063\u306F\u309A","\u3066\u3064\u307B\u3099\u3046","\u3066\u3064\u3084","\u3066\u3099\u306C\u304B\u3048","\u3066\u306C\u304D","\u3066\u306C\u304F\u3099\u3044","\u3066\u306E\u3072\u3089","\u3066\u306F\u3044","\u3066\u3075\u3099\u304F\u308D","\u3066\u3075\u305F\u3099","\u3066\u307B\u3068\u3099\u304D","\u3066\u307B\u3093","\u3066\u307E\u3048","\u3066\u307E\u304D\u3059\u3099\u3057","\u3066\u307F\u3057\u3099\u304B","\u3066\u307F\u3084\u3051\u3099","\u3066\u3089\u3059","\u3066\u308C\u3072\u3099","\u3066\u308F\u3051","\u3066\u308F\u305F\u3057","\u3066\u3099\u3093\u3042\u3064","\u3066\u3093\u3044\u3093","\u3066\u3093\u304B\u3044","\u3066\u3093\u304D","\u3066\u3093\u304F\u3099","\u3066\u3093\u3051\u3093","\u3066\u3093\u3053\u3099\u304F","\u3066\u3093\u3055\u3044","\u3066\u3093\u3057","\u3066\u3093\u3059\u3046","\u3066\u3099\u3093\u3061","\u3066\u3093\u3066\u304D","\u3066\u3093\u3068\u3046","\u3066\u3093\u306A\u3044","\u3066\u3093\u3075\u309A\u3089","\u3066\u3093\u307B\u3099\u3046\u305F\u3099\u3044","\u3066\u3093\u3081\u3064","\u3066\u3093\u3089\u3093\u304B\u3044","\u3066\u3099\u3093\u308A\u3087\u304F","\u3066\u3099\u3093\u308F","\u3068\u3099\u3042\u3044","\u3068\u3044\u308C","\u3068\u3099\u3046\u304B\u3093","\u3068\u3046\u304D\u3085\u3046","\u3068\u3099\u3046\u304F\u3099","\u3068\u3046\u3057","\u3068\u3046\u3080\u304D\u3099","\u3068\u304A\u3044","\u3068\u304A\u304B","\u3068\u304A\u304F","\u3068\u304A\u3059","\u3068\u304A\u308B","\u3068\u304B\u3044","\u3068\u304B\u3059","\u3068\u304D\u304A\u308A","\u3068\u304D\u3068\u3099\u304D","\u3068\u304F\u3044","\u3068\u304F\u3057\u3085\u3046","\u3068\u304F\u3066\u3093","\u3068\u304F\u306B","\u3068\u304F\u3078\u3099\u3064","\u3068\u3051\u3044","\u3068\u3051\u308B","\u3068\u3053\u3084","\u3068\u3055\u304B","\u3068\u3057\u3087\u304B\u3093","\u3068\u305D\u3046","\u3068\u305F\u3093","\u3068\u3061\u3085\u3046","\u3068\u3063\u304D\u3085\u3046","\u3068\u3063\u304F\u3093","\u3068\u3064\u305B\u3099\u3093","\u3068\u3064\u306B\u3085\u3046","\u3068\u3068\u3099\u3051\u308B","\u3068\u3068\u306E\u3048\u308B","\u3068\u306A\u3044","\u3068\u306A\u3048\u308B","\u3068\u306A\u308A","\u3068\u306E\u3055\u307E","\u3068\u306F\u3099\u3059","\u3068\u3099\u3075\u3099\u304B\u3099\u308F","\u3068\u307B\u3046","\u3068\u307E\u308B","\u3068\u3081\u308B","\u3068\u3082\u305F\u3099\u3061","\u3068\u3082\u308B","\u3068\u3099\u3088\u3046\u3072\u3099","\u3068\u3089\u3048\u308B","\u3068\u3093\u304B\u3064","\u3068\u3099\u3093\u3075\u3099\u308A","\u306A\u3044\u304B\u304F","\u306A\u3044\u3053\u3046","\u306A\u3044\u3057\u3087","\u306A\u3044\u3059","\u306A\u3044\u305B\u3093","\u306A\u3044\u305D\u3046","\u306A\u304A\u3059","\u306A\u304B\u3099\u3044","\u306A\u304F\u3059","\u306A\u3051\u3099\u308B","\u306A\u3053\u3046\u3068\u3099","\u306A\u3055\u3051","\u306A\u305F\u3066\u3099\u3053\u3053","\u306A\u3063\u3068\u3046","\u306A\u3064\u3084\u3059\u307F","\u306A\u306A\u304A\u3057","\u306A\u306B\u3053\u3099\u3068","\u306A\u306B\u3082\u306E","\u306A\u306B\u308F","\u306A\u306E\u304B","\u306A\u3075\u305F\u3099","\u306A\u307E\u3044\u304D","\u306A\u307E\u3048","\u306A\u307E\u307F","\u306A\u307F\u305F\u3099","\u306A\u3081\u3089\u304B","\u306A\u3081\u308B","\u306A\u3084\u3080","\u306A\u3089\u3046","\u306A\u3089\u3072\u3099","\u306A\u3089\u3075\u3099","\u306A\u308C\u308B","\u306A\u308F\u3068\u3072\u3099","\u306A\u308F\u306F\u3099\u308A","\u306B\u3042\u3046","\u306B\u3044\u304B\u3099\u305F","\u306B\u3046\u3051","\u306B\u304A\u3044","\u306B\u304B\u3044","\u306B\u304B\u3099\u3066","\u306B\u304D\u3072\u3099","\u306B\u304F\u3057\u307F","\u306B\u304F\u307E\u3093","\u306B\u3051\u3099\u308B","\u306B\u3055\u3093\u304B\u305F\u3093\u305D","\u306B\u3057\u304D","\u306B\u305B\u3082\u306E","\u306B\u3061\u3057\u3099\u3087\u3046","\u306B\u3061\u3088\u3046\u3072\u3099","\u306B\u3063\u304B","\u306B\u3063\u304D","\u306B\u3063\u3051\u3044","\u306B\u3063\u3053\u3046","\u306B\u3063\u3055\u3093","\u306B\u3063\u3057\u3087\u304F","\u306B\u3063\u3059\u3046","\u306B\u3063\u305B\u304D","\u306B\u3063\u3066\u3044","\u306B\u306A\u3046","\u306B\u307B\u3093","\u306B\u307E\u3081","\u306B\u3082\u3064","\u306B\u3084\u308A","\u306B\u3085\u3046\u3044\u3093","\u306B\u308A\u3093\u3057\u3083","\u306B\u308F\u3068\u308A","\u306B\u3093\u3044","\u306B\u3093\u304B","\u306B\u3093\u304D","\u306B\u3093\u3051\u3099\u3093","\u306B\u3093\u3057\u304D","\u306B\u3093\u3059\u3099\u3046","\u306B\u3093\u305D\u3046","\u306B\u3093\u305F\u3044","\u306B\u3093\u3061","\u306B\u3093\u3066\u3044","\u306B\u3093\u306B\u304F","\u306B\u3093\u3075\u309A","\u306B\u3093\u307E\u308A","\u306B\u3093\u3080","\u306B\u3093\u3081\u3044","\u306B\u3093\u3088\u3046","\u306C\u3044\u304F\u304D\u3099","\u306C\u304B\u3059","\u306C\u304F\u3099\u3044\u3068\u308B","\u306C\u304F\u3099\u3046","\u306C\u304F\u3082\u308A","\u306C\u3059\u3080","\u306C\u307E\u3048\u3072\u3099","\u306C\u3081\u308A","\u306C\u3089\u3059","\u306C\u3093\u3061\u3083\u304F","\u306D\u3042\u3051\u3099","\u306D\u3044\u304D","\u306D\u3044\u308B","\u306D\u3044\u308D","\u306D\u304F\u3099\u305B","\u306D\u304F\u305F\u3044","\u306D\u304F\u3089","\u306D\u3053\u305B\u3099","\u306D\u3053\u3080","\u306D\u3055\u3051\u3099","\u306D\u3059\u3053\u3099\u3059","\u306D\u305D\u3078\u3099\u308B","\u306D\u305F\u3099\u3093","\u306D\u3064\u3044","\u306D\u3063\u3057\u3093","\u306D\u3064\u305D\u3099\u3046","\u306D\u3063\u305F\u3044\u304D\u3099\u3087","\u306D\u3075\u3099\u305D\u304F","\u306D\u3075\u305F\u3099","\u306D\u307B\u3099\u3046","\u306D\u307B\u308A\u306F\u307B\u308A","\u306D\u307E\u304D","\u306D\u307E\u308F\u3057","\u306D\u307F\u307F","\u306D\u3080\u3044","\u306D\u3080\u305F\u3044","\u306D\u3082\u3068","\u306D\u3089\u3046","\u306D\u308F\u3055\u3099","\u306D\u3093\u3044\u308A","\u306D\u3093\u304A\u3057","\u306D\u3093\u304B\u3093","\u306D\u3093\u304D\u3093","\u306D\u3093\u304F\u3099","\u306D\u3093\u3055\u3099","\u306D\u3093\u3057","\u306D\u3093\u3061\u3083\u304F","\u306D\u3093\u3068\u3099","\u306D\u3093\u3072\u309A","\u306D\u3093\u3075\u3099\u3064","\u306D\u3093\u307E\u3064","\u306D\u3093\u308A\u3087\u3046","\u306D\u3093\u308C\u3044","\u306E\u3044\u3059\u3099","\u306E\u304A\u3064\u3099\u307E","\u306E\u304B\u3099\u3059","\u306E\u304D\u306A\u307F","\u306E\u3053\u304D\u3099\u308A","\u306E\u3053\u3059","\u306E\u3053\u308B","\u306E\u305B\u308B","\u306E\u305D\u3099\u304F","\u306E\u305D\u3099\u3080","\u306E\u305F\u307E\u3046","\u306E\u3061\u307B\u3068\u3099","\u306E\u3063\u304F","\u306E\u306F\u3099\u3059","\u306E\u306F\u3089","\u306E\u3078\u3099\u308B","\u306E\u307B\u3099\u308B","\u306E\u307F\u3082\u306E","\u306E\u3084\u307E","\u306E\u3089\u3044\u306C","\u306E\u3089\u306D\u3053","\u306E\u308A\u3082\u306E","\u306E\u308A\u3086\u304D","\u306E\u308C\u3093","\u306E\u3093\u304D","\u306F\u3099\u3042\u3044","\u306F\u3042\u304F","\u306F\u3099\u3042\u3055\u3093","\u306F\u3099\u3044\u304B","\u306F\u3099\u3044\u304F","\u306F\u3044\u3051\u3093","\u306F\u3044\u3053\u3099","\u306F\u3044\u3057\u3093","\u306F\u3044\u3059\u3044","\u306F\u3044\u305B\u3093","\u306F\u3044\u305D\u3046","\u306F\u3044\u3061","\u306F\u3099\u3044\u306F\u3099\u3044","\u306F\u3044\u308C\u3064","\u306F\u3048\u308B","\u306F\u304A\u308B","\u306F\u304B\u3044","\u306F\u3099\u304B\u308A","\u306F\u304B\u308B","\u306F\u304F\u3057\u3085","\u306F\u3051\u3093","\u306F\u3053\u3075\u3099","\u306F\u3055\u307F","\u306F\u3055\u3093","\u306F\u3057\u3053\u3099","\u306F\u3099\u3057\u3087","\u306F\u3057\u308B","\u306F\u305B\u308B","\u306F\u309A\u305D\u3053\u3093","\u306F\u305D\u3093","\u306F\u305F\u3093","\u306F\u3061\u307F\u3064","\u306F\u3064\u304A\u3093","\u306F\u3063\u304B\u304F","\u306F\u3064\u3099\u304D","\u306F\u3063\u304D\u308A","\u306F\u3063\u304F\u3064","\u306F\u3063\u3051\u3093","\u306F\u3063\u3053\u3046","\u306F\u3063\u3055\u3093","\u306F\u3063\u3057\u3093","\u306F\u3063\u305F\u3064","\u306F\u3063\u3061\u3085\u3046","\u306F\u3063\u3066\u3093","\u306F\u3063\u3072\u309A\u3087\u3046","\u306F\u3063\u307B\u309A\u3046","\u306F\u306A\u3059","\u306F\u306A\u3072\u3099","\u306F\u306B\u304B\u3080","\u306F\u3075\u3099\u3089\u3057","\u306F\u307F\u304B\u3099\u304D","\u306F\u3080\u304B\u3046","\u306F\u3081\u3064","\u306F\u3084\u3044","\u306F\u3084\u3057","\u306F\u3089\u3046","\u306F\u308D\u3046\u3043\u3093","\u306F\u308F\u3044","\u306F\u3093\u3044","\u306F\u3093\u3048\u3044","\u306F\u3093\u304A\u3093","\u306F\u3093\u304B\u304F","\u306F\u3093\u304D\u3087\u3046","\u306F\u3099\u3093\u304F\u3099\u307F","\u306F\u3093\u3053","\u306F\u3093\u3057\u3083","\u306F\u3093\u3059\u3046","\u306F\u3093\u305F\u3099\u3093","\u306F\u309A\u3093\u3061","\u306F\u309A\u3093\u3064","\u306F\u3093\u3066\u3044","\u306F\u3093\u3068\u3057","\u306F\u3093\u306E\u3046","\u306F\u3093\u306F\u309A","\u306F\u3093\u3075\u3099\u3093","\u306F\u3093\u3078\u309A\u3093","\u306F\u3093\u307B\u3099\u3046\u304D","\u306F\u3093\u3081\u3044","\u306F\u3093\u3089\u3093","\u306F\u3093\u308D\u3093","\u3072\u3044\u304D","\u3072\u3046\u3093","\u3072\u3048\u308B","\u3072\u304B\u304F","\u3072\u304B\u308A","\u3072\u304B\u308B","\u3072\u304B\u3093","\u3072\u304F\u3044","\u3072\u3051\u3064","\u3072\u3053\u3046\u304D","\u3072\u3053\u304F","\u3072\u3055\u3044","\u3072\u3055\u3057\u3075\u3099\u308A","\u3072\u3055\u3093","\u3072\u3099\u3057\u3099\u3085\u3064\u304B\u3093","\u3072\u3057\u3087","\u3072\u305D\u304B","\u3072\u305D\u3080","\u3072\u305F\u3080\u304D","\u3072\u305F\u3099\u308A","\u3072\u305F\u308B","\u3072\u3064\u304D\u3099","\u3072\u3063\u3053\u3057","\u3072\u3063\u3057","\u3072\u3064\u3057\u3099\u3085\u3072\u3093","\u3072\u3063\u3059","\u3072\u3064\u305B\u3099\u3093","\u3072\u309A\u3063\u305F\u308A","\u3072\u309A\u3063\u3061\u308A","\u3072\u3064\u3088\u3046","\u3072\u3066\u3044","\u3072\u3068\u3053\u3099\u307F","\u3072\u306A\u307E\u3064\u308A","\u3072\u306A\u3093","\u3072\u306D\u308B","\u3072\u306F\u3093","\u3072\u3072\u3099\u304F","\u3072\u3072\u3087\u3046","\u3072\u307B\u3046","\u3072\u307E\u308F\u308A","\u3072\u307E\u3093","\u3072\u307F\u3064","\u3072\u3081\u3044","\u3072\u3081\u3057\u3099\u3057","\u3072\u3084\u3051","\u3072\u3084\u3059","\u3072\u3088\u3046","\u3072\u3099\u3087\u3046\u304D","\u3072\u3089\u304B\u3099\u306A","\u3072\u3089\u304F","\u3072\u308A\u3064","\u3072\u308A\u3087\u3046","\u3072\u308B\u307E","\u3072\u308B\u3084\u3059\u307F","\u3072\u308C\u3044","\u3072\u308D\u3044","\u3072\u308D\u3046","\u3072\u308D\u304D","\u3072\u308D\u3086\u304D","\u3072\u3093\u304B\u304F","\u3072\u3093\u3051\u3064","\u3072\u3093\u3053\u3093","\u3072\u3093\u3057\u3085","\u3072\u3093\u305D\u3046","\u3072\u309A\u3093\u3061","\u3072\u3093\u306F\u309A\u3093","\u3072\u3099\u3093\u307B\u3099\u3046","\u3075\u3042\u3093","\u3075\u3044\u3046\u3061","\u3075\u3046\u3051\u3044","\u3075\u3046\u305B\u3093","\u3075\u309A\u3046\u305F\u308D\u3046","\u3075\u3046\u3068\u3046","\u3075\u3046\u3075","\u3075\u3048\u308B","\u3075\u304A\u3093","\u3075\u304B\u3044","\u3075\u304D\u3093","\u3075\u304F\u3055\u3099\u3064","\u3075\u304F\u3075\u3099\u304F\u308D","\u3075\u3053\u3046","\u3075\u3055\u3044","\u3075\u3057\u304D\u3099","\u3075\u3057\u3099\u307F","\u3075\u3059\u307E","\u3075\u305B\u3044","\u3075\u305B\u304F\u3099","\u3075\u305D\u304F","\u3075\u3099\u305F\u306B\u304F","\u3075\u305F\u3093","\u3075\u3061\u3087\u3046","\u3075\u3064\u3046","\u3075\u3064\u304B","\u3075\u3063\u304B\u3064","\u3075\u3063\u304D","\u3075\u3063\u3053\u304F","\u3075\u3099\u3068\u3099\u3046","\u3075\u3068\u308B","\u3075\u3068\u3093","\u3075\u306E\u3046","\u3075\u306F\u3044","\u3075\u3072\u3087\u3046","\u3075\u3078\u3093","\u3075\u307E\u3093","\u3075\u307F\u3093","\u3075\u3081\u3064","\u3075\u3081\u3093","\u3075\u3088\u3046","\u3075\u308A\u3053","\u3075\u308A\u308B","\u3075\u308B\u3044","\u3075\u3093\u3044\u304D","\u3075\u3099\u3093\u304B\u3099\u304F","\u3075\u3099\u3093\u304F\u3099","\u3075\u3093\u3057\u3064","\u3075\u3099\u3093\u305B\u304D","\u3075\u3093\u305D\u3046","\u3075\u3099\u3093\u307B\u309A\u3046","\u3078\u3044\u3042\u3093","\u3078\u3044\u304A\u3093","\u3078\u3044\u304B\u3099\u3044","\u3078\u3044\u304D","\u3078\u3044\u3051\u3099\u3093","\u3078\u3044\u3053\u3046","\u3078\u3044\u3055","\u3078\u3044\u3057\u3083","\u3078\u3044\u305B\u3064","\u3078\u3044\u305D","\u3078\u3044\u305F\u304F","\u3078\u3044\u3066\u3093","\u3078\u3044\u306D\u3064","\u3078\u3044\u308F","\u3078\u304D\u304B\u3099","\u3078\u3053\u3080","\u3078\u3099\u306B\u3044\u308D","\u3078\u3099\u306B\u3057\u3087\u3046\u304B\u3099","\u3078\u3089\u3059","\u3078\u3093\u304B\u3093","\u3078\u3099\u3093\u304D\u3087\u3046","\u3078\u3099\u3093\u3053\u3099\u3057","\u3078\u3093\u3055\u3044","\u3078\u3093\u305F\u3044","\u3078\u3099\u3093\u308A","\u307B\u3042\u3093","\u307B\u3044\u304F","\u307B\u3099\u3046\u304D\u3099\u3087","\u307B\u3046\u3053\u304F","\u307B\u3046\u305D\u3046","\u307B\u3046\u307B\u3046","\u307B\u3046\u3082\u3093","\u307B\u3046\u308A\u3064","\u307B\u3048\u308B","\u307B\u304A\u3093","\u307B\u304B\u3093","\u307B\u304D\u3087\u3046","\u307B\u3099\u304D\u3093","\u307B\u304F\u308D","\u307B\u3051\u3064","\u307B\u3051\u3093","\u307B\u3053\u3046","\u307B\u3053\u308B","\u307B\u3057\u3044","\u307B\u3057\u3064","\u307B\u3057\u3085","\u307B\u3057\u3087\u3046","\u307B\u305B\u3044","\u307B\u305D\u3044","\u307B\u305D\u304F","\u307B\u305F\u3066","\u307B\u305F\u308B","\u307B\u309A\u3061\u3075\u3099\u304F\u308D","\u307B\u3063\u304D\u3087\u304F","\u307B\u3063\u3055","\u307B\u3063\u305F\u3093","\u307B\u3068\u3093\u3068\u3099","\u307B\u3081\u308B","\u307B\u3093\u3044","\u307B\u3093\u304D","\u307B\u3093\u3051","\u307B\u3093\u3057\u3064","\u307B\u3093\u3084\u304F","\u307E\u3044\u306B\u3061","\u307E\u304B\u3044","\u307E\u304B\u305B\u308B","\u307E\u304B\u3099\u308B","\u307E\u3051\u308B","\u307E\u3053\u3068","\u307E\u3055\u3064","\u307E\u3057\u3099\u3081","\u307E\u3059\u304F","\u307E\u305B\u3099\u308B","\u307E\u3064\u308A","\u307E\u3068\u3081","\u307E\u306A\u3075\u3099","\u307E\u306C\u3051","\u307E\u306D\u304F","\u307E\u307B\u3046","\u307E\u3082\u308B","\u307E\u3086\u3051\u3099","\u307E\u3088\u3046","\u307E\u308D\u3084\u304B","\u307E\u308F\u3059","\u307E\u308F\u308A","\u307E\u308F\u308B","\u307E\u3093\u304B\u3099","\u307E\u3093\u304D\u3064","\u307E\u3093\u305D\u3099\u304F","\u307E\u3093\u306A\u304B","\u307F\u3044\u3089","\u307F\u3046\u3061","\u307F\u3048\u308B","\u307F\u304B\u3099\u304F","\u307F\u304B\u305F","\u307F\u304B\u3093","\u307F\u3051\u3093","\u307F\u3053\u3093","\u307F\u3057\u3099\u304B\u3044","\u307F\u3059\u3044","\u307F\u3059\u3048\u308B","\u307F\u305B\u308B","\u307F\u3063\u304B","\u307F\u3064\u304B\u308B","\u307F\u3064\u3051\u308B","\u307F\u3066\u3044","\u307F\u3068\u3081\u308B","\u307F\u306A\u3068","\u307F\u306A\u307F\u304B\u3055\u3044","\u307F\u306D\u3089\u308B","\u307F\u306E\u3046","\u307F\u306E\u304B\u3099\u3059","\u307F\u307B\u3093","\u307F\u3082\u3068","\u307F\u3084\u3051\u3099","\u307F\u3089\u3044","\u307F\u308A\u3087\u304F","\u307F\u308F\u304F","\u307F\u3093\u304B","\u307F\u3093\u305D\u3099\u304F","\u3080\u3044\u304B","\u3080\u3048\u304D","\u3080\u3048\u3093","\u3080\u304B\u3044","\u3080\u304B\u3046","\u3080\u304B\u3048","\u3080\u304B\u3057","\u3080\u304D\u3099\u3061\u3083","\u3080\u3051\u308B","\u3080\u3051\u3099\u3093","\u3080\u3055\u307B\u3099\u308B","\u3080\u3057\u3042\u3064\u3044","\u3080\u3057\u306F\u3099","\u3080\u3057\u3099\u3085\u3093","\u3080\u3057\u308D","\u3080\u3059\u3046","\u3080\u3059\u3053","\u3080\u3059\u3075\u3099","\u3080\u3059\u3081","\u3080\u305B\u308B","\u3080\u305B\u3093","\u3080\u3061\u3085\u3046","\u3080\u306A\u3057\u3044","\u3080\u306E\u3046","\u3080\u3084\u307F","\u3080\u3088\u3046","\u3080\u3089\u3055\u304D","\u3080\u308A\u3087\u3046","\u3080\u308D\u3093","\u3081\u3044\u3042\u3093","\u3081\u3044\u3046\u3093","\u3081\u3044\u3048\u3093","\u3081\u3044\u304B\u304F","\u3081\u3044\u304D\u3087\u304F","\u3081\u3044\u3055\u3044","\u3081\u3044\u3057","\u3081\u3044\u305D\u3046","\u3081\u3044\u3075\u3099\u3064","\u3081\u3044\u308C\u3044","\u3081\u3044\u308F\u304F","\u3081\u304F\u3099\u307E\u308C\u308B","\u3081\u3055\u3099\u3059","\u3081\u3057\u305F","\u3081\u3059\u3099\u3089\u3057\u3044","\u3081\u305F\u3099\u3064","\u3081\u307E\u3044","\u3081\u3084\u3059","\u3081\u3093\u304D\u3087","\u3081\u3093\u305B\u304D","\u3081\u3093\u3068\u3099\u3046","\u3082\u3046\u3057\u3042\u3051\u3099\u308B","\u3082\u3046\u3068\u3099\u3046\u3051\u3093","\u3082\u3048\u308B","\u3082\u304F\u3057","\u3082\u304F\u3066\u304D","\u3082\u304F\u3088\u3046\u3072\u3099","\u3082\u3061\u308D\u3093","\u3082\u3068\u3099\u308B","\u3082\u3089\u3046","\u3082\u3093\u304F","\u3082\u3093\u305F\u3099\u3044","\u3084\u304A\u3084","\u3084\u3051\u308B","\u3084\u3055\u3044","\u3084\u3055\u3057\u3044","\u3084\u3059\u3044","\u3084\u3059\u305F\u308D\u3046","\u3084\u3059\u307F","\u3084\u305B\u308B","\u3084\u305D\u3046","\u3084\u305F\u3044","\u3084\u3061\u3093","\u3084\u3063\u3068","\u3084\u3063\u306F\u309A\u308A","\u3084\u3075\u3099\u308B","\u3084\u3081\u308B","\u3084\u3084\u3053\u3057\u3044","\u3084\u3088\u3044","\u3084\u308F\u3089\u304B\u3044","\u3086\u3046\u304D","\u3086\u3046\u3072\u3099\u3093\u304D\u3087\u304F","\u3086\u3046\u3078\u3099","\u3086\u3046\u3081\u3044","\u3086\u3051\u3064","\u3086\u3057\u3085\u3064","\u3086\u305B\u3093","\u3086\u305D\u3046","\u3086\u305F\u304B","\u3086\u3061\u3083\u304F","\u3086\u3066\u3099\u308B","\u3086\u306B\u3085\u3046","\u3086\u3072\u3099\u308F","\u3086\u3089\u3044","\u3086\u308C\u308B","\u3088\u3046\u3044","\u3088\u3046\u304B","\u3088\u3046\u304D\u3085\u3046","\u3088\u3046\u3057\u3099","\u3088\u3046\u3059","\u3088\u3046\u3061\u3048\u3093","\u3088\u304B\u305B\u3099","\u3088\u304B\u3093","\u3088\u304D\u3093","\u3088\u304F\u305B\u3044","\u3088\u304F\u307B\u3099\u3046","\u3088\u3051\u3044","\u3088\u3053\u3099\u308C\u308B","\u3088\u3055\u3093","\u3088\u3057\u3085\u3046","\u3088\u305D\u3046","\u3088\u305D\u304F","\u3088\u3063\u304B","\u3088\u3066\u3044","\u3088\u3068\u3099\u304B\u3099\u308F\u304F","\u3088\u306D\u3064","\u3088\u3084\u304F","\u3088\u3086\u3046","\u3088\u308D\u3053\u3075\u3099","\u3088\u308D\u3057\u3044","\u3089\u3044\u3046","\u3089\u304F\u304B\u3099\u304D","\u3089\u304F\u3053\u3099","\u3089\u304F\u3055\u3064","\u3089\u304F\u305F\u3099","\u3089\u3057\u3093\u306F\u3099\u3093","\u3089\u305B\u3093","\u3089\u305D\u3099\u304F","\u3089\u305F\u3044","\u3089\u3063\u304B","\u3089\u308C\u3064","\u308A\u3048\u304D","\u308A\u304B\u3044","\u308A\u304D\u3055\u304F","\u308A\u304D\u305B\u3064","\u308A\u304F\u304F\u3099\u3093","\u308A\u304F\u3064","\u308A\u3051\u3093","\u308A\u3053\u3046","\u308A\u305B\u3044","\u308A\u305D\u3046","\u308A\u305D\u304F","\u308A\u3066\u3093","\u308A\u306D\u3093","\u308A\u3086\u3046","\u308A\u3085\u3046\u304B\u3099\u304F","\u308A\u3088\u3046","\u308A\u3087\u3046\u308A","\u308A\u3087\u304B\u3093","\u308A\u3087\u304F\u3061\u3083","\u308A\u3087\u3053\u3046","\u308A\u308A\u304F","\u308A\u308C\u304D","\u308A\u308D\u3093","\u308A\u3093\u3053\u3099","\u308B\u3044\u3051\u3044","\u308B\u3044\u3055\u3044","\u308B\u3044\u3057\u3099","\u308B\u3044\u305B\u304D","\u308B\u3059\u306F\u3099\u3093","\u308B\u308A\u304B\u3099\u308F\u3089","\u308C\u3044\u304B\u3093","\u308C\u3044\u304D\u3099","\u308C\u3044\u305B\u3044","\u308C\u3044\u305D\u3099\u3046\u3053","\u308C\u3044\u3068\u3046","\u308C\u3044\u307B\u3099\u3046","\u308C\u304D\u3057","\u308C\u304D\u305F\u3099\u3044","\u308C\u3093\u3042\u3044","\u308C\u3093\u3051\u3044","\u308C\u3093\u3053\u3093","\u308C\u3093\u3055\u3044","\u308C\u3093\u3057\u3085\u3046","\u308C\u3093\u305D\u3099\u304F","\u308C\u3093\u3089\u304F","\u308D\u3046\u304B","\u308D\u3046\u3053\u3099","\u308D\u3046\u3057\u3099\u3093","\u308D\u3046\u305D\u304F","\u308D\u304F\u304B\u3099","\u308D\u3053\u3064","\u308D\u3057\u3099\u3046\u3089","\u308D\u3057\u3085\u3064","\u308D\u305B\u3093","\u308D\u3066\u3093","\u308D\u3081\u3093","\u308D\u308C\u3064","\u308D\u3093\u304D\u3099","\u308D\u3093\u306F\u309A","\u308D\u3093\u3075\u3099\u3093","\u308D\u3093\u308A","\u308F\u304B\u3059","\u308F\u304B\u3081","\u308F\u304B\u3084\u307E","\u308F\u304B\u308C\u308B","\u308F\u3057\u3064","\u308F\u3057\u3099\u307E\u3057","\u308F\u3059\u308C\u3082\u306E","\u308F\u3089\u3046","\u308F\u308C\u308B"];jN.exports=pW});var VN=T((Cue,KN)=>{"use strict";g();var gW=["a\u0301baco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","accio\u0301n","aceite","acelga","acento","aceptar","a\u0301cido","aclarar","acne\u0301","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","ae\u0301reo","afectar","aficio\u0301n","afinar","afirmar","a\u0301gil","agitar","agoni\u0301a","agosto","agotar","agregar","agrio","agua","agudo","a\u0301guila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacra\u0301n","alambre","alarma","alba","a\u0301lbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodo\u0301n","aliado","aliento","alivio","alma","almeja","almi\u0301bar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","a\u0301mbar","a\u0301mbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","ande\u0301n","anemia","a\u0301ngulo","anillo","a\u0301nimo","ani\u0301s","anotar","antena","antiguo","antojo","anual","anular","anuncio","an\u0303adir","an\u0303ejo","an\u0303o","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","aran\u0303a","arar","a\u0301rbitro","a\u0301rbol","arbusto","archivo","arco","arder","ardilla","arduo","a\u0301rea","a\u0301rido","aries","armoni\u0301a","arne\u0301s","aroma","arpa","arpo\u0301n","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","a\u0301spero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","a\u0301tico","atleta","a\u0301tomo","atraer","atroz","atu\u0301n","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avio\u0301n","aviso","ayer","ayuda","ayuno","azafra\u0301n","azar","azote","azu\u0301car","azufre","azul","baba","babor","bache","bahi\u0301a","baile","bajar","balanza","balco\u0301n","balde","bambu\u0301","banco","banda","ban\u0303o","barba","barco","barniz","barro","ba\u0301scula","basto\u0301n","basura","batalla","bateri\u0301a","batir","batuta","bau\u0301l","bazar","bebe\u0301","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsa\u0301i","borde","borrar","bosque","bote","boti\u0301n","bo\u0301veda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufo\u0301n","bu\u0301ho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzo\u0301n","caballo","cabeza","cabina","cabra","cacao","cada\u0301ver","cadena","caer","cafe\u0301","cai\u0301da","caima\u0301n","caja","cajo\u0301n","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","ca\u0301ncer","candil","canela","canguro","canica","canto","can\u0303a","can\u0303o\u0301n","caoba","caos","capaz","capita\u0301n","capote","captar","capucha","cara","carbo\u0301n","ca\u0301rcel","careta","carga","carin\u0303o","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","ce\u0301lebre","celoso","ce\u0301lula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","ce\u0301sped","cetro","chacal","chaleco","champu\u0301","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclo\u0301n","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","cipre\u0301s","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","cli\u0301nica","cobre","coccio\u0301n","cochino","cocina","coco","co\u0301digo","codo","cofre","coger","cohete","coji\u0301n","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","co\u0301modo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazo\u0301n","corbata","corcho","cordo\u0301n","corona","correr","coser","cosmos","costa","cra\u0301neo","cra\u0301ter","crear","crecer","crei\u0301do","crema","cri\u0301a","crimen","cripta","crisis","cromo","cro\u0301nica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupo\u0301n","cu\u0301pula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","da\u0301til","deber","de\u0301bil","de\u0301cada","decir","dedo","defensa","definir","dejar","delfi\u0301n","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvi\u0301o","detalle","detener","deuda","di\u0301a","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difi\u0301cil","digno","dilema","diluir","dinero","directo","dirigir","disco","disen\u0303o","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","drago\u0301n","droga","ducha","duda","duelo","duen\u0303o","dulce","du\u0301o","duque","durar","dureza","duro","e\u0301bano","ebrio","echar","eco","ecuador","edad","edicio\u0301n","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","e\u0301lite","elixir","elogio","eludir","embudo","emitir","emocio\u0301n","empate","empen\u0303o","empleo","empresa","enano","encargo","enchufe","enci\u0301a","enemigo","enero","enfado","enfermo","engan\u0303o","enigma","enlace","enorme","enredo","ensayo","ensen\u0303ar","entero","entrar","envase","envi\u0301o","e\u0301poca","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espi\u0301a","esposa","espuma","esqui\u0301","estar","este","estilo","estufa","etapa","eterno","e\u0301tica","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","e\u0301xito","experto","explicar","exponer","extremo","fa\u0301brica","fa\u0301bula","fachada","fa\u0301cil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","farao\u0301n","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fe\u0301rtil","fervor","festi\u0301n","fiable","fianza","fiar","fibra","ficcio\u0301n","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flu\u0301or","fobia","foca","fogata","fogo\u0301n","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","fra\u0301gil","franja","frase","fraude","frei\u0301r","freno","fresa","fri\u0301o","frito","fruta","fuego","fuente","fuerza","fuga","fumar","funcio\u0301n","funda","furgo\u0301n","furia","fusil","fu\u0301tbol","futuro","gacela","gafas","gaita","gajo","gala","galeri\u0301a","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavila\u0301n","gemelo","gemir","gen","ge\u0301nero","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gra\u0301fico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","gru\u0301a","grueso","grumo","grupo","guante","guapo","guardia","guerra","gui\u0301a","guin\u0303o","guion","guiso","guitarra","gusano","gustar","haber","ha\u0301bil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazan\u0303a","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","he\u0301roe","hervir","hielo","hierro","hi\u0301gado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","hu\u0301medo","humilde","humo","hundir","huraca\u0301n","hurto","icono","ideal","idioma","i\u0301dolo","iglesia","iglu\u0301","igual","ilegal","ilusio\u0301n","imagen","ima\u0301n","imitar","impar","imperio","imponer","impulso","incapaz","i\u0301ndice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","intere\u0301s","i\u0301ntimo","intuir","inu\u0301til","invierno","ira","iris","ironi\u0301a","isla","islote","jabali\u0301","jabo\u0301n","jamo\u0301n","jarabe","jardi\u0301n","jarra","jaula","jazmi\u0301n","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","ju\u0301piter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladro\u0301n","lagarto","la\u0301grima","laguna","laico","lamer","la\u0301mina","la\u0301mpara","lana","lancha","langosta","lanza","la\u0301piz","largo","larva","la\u0301stima","lata","la\u0301tex","latir","laurel","lavar","lazo","leal","leccio\u0301n","leche","lector","leer","legio\u0301n","legumbre","lejano","lengua","lento","len\u0303a","leo\u0301n","leopardo","lesio\u0301n","letal","letra","leve","leyenda","libertad","libro","licor","li\u0301der","lidiar","lienzo","liga","ligero","lima","li\u0301mite","limo\u0301n","limpio","lince","lindo","li\u0301nea","lingote","lino","linterna","li\u0301quido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","locio\u0301n","loco","locura","lo\u0301gica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","mai\u0301z","maldad","maleta","malla","malo","mama\u0301","mambo","mamut","manco","mando","manejar","manga","maniqui\u0301","manjar","mano","manso","manta","man\u0303ana","mapa","ma\u0301quina","mar","marco","marea","marfil","margen","marido","ma\u0301rmol","marro\u0301n","martes","marzo","masa","ma\u0301scara","masivo","matar","materia","matiz","matriz","ma\u0301ximo","mayor","mazorca","mecha","medalla","medio","me\u0301dula","mejilla","mejor","melena","melo\u0301n","memoria","menor","mensaje","mente","menu\u0301","mercado","merengue","me\u0301rito","mes","meso\u0301n","meta","meter","me\u0301todo","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millo\u0301n","mimo","mina","minero","mi\u0301nimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","mocio\u0301n","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","mon\u0303o","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","mo\u0301vil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","mun\u0303eca","mural","muro","mu\u0301sculo","museo","musgo","mu\u0301sica","muslo","na\u0301car","nacio\u0301n","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","na\u0301usea","naval","nave","navidad","necio","ne\u0301ctar","negar","negocio","negro","neo\u0301n","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","nin\u0303ez","nin\u0303o","ni\u0301tido","nivel","nobleza","noche","no\u0301mina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","nu\u0301cleo","nudillo","nudo","nuera","nueve","nuez","nulo","nu\u0301mero","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","oce\u0301ano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oi\u0301do","oi\u0301r","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opcio\u0301n","o\u0301pera","opinar","oponer","optar","o\u0301ptica","opuesto","oracio\u0301n","orador","oral","o\u0301rbita","orca","orden","oreja","o\u0301rgano","orgi\u0301a","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadi\u0301a","oscuro","osezno","oso","ostra","oton\u0303o","otro","oveja","o\u0301vulo","o\u0301xido","oxi\u0301geno","oyente","ozono","pacto","padre","paella","pa\u0301gina","pago","pai\u0301s","pa\u0301jaro","palabra","palco","paleta","pa\u0301lido","palma","paloma","palpar","pan","panal","pa\u0301nico","pantera","pan\u0303uelo","papa\u0301","papel","papilla","paquete","parar","parcela","pared","parir","paro","pa\u0301rpado","parque","pa\u0301rrafo","parte","pasar","paseo","pasio\u0301n","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peato\u0301n","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldan\u0303o","pelea","peligro","pellejo","pelo","peluca","pena","pensar","pen\u0303o\u0301n","peo\u0301n","peor","pepino","pequen\u0303o","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pe\u0301simo","pestan\u0303a","pe\u0301talo","petro\u0301leo","pez","pezun\u0303a","picar","picho\u0301n","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","pin\u0303a","piojo","pipa","pirata","pisar","piscina","piso","pista","pito\u0301n","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesi\u0301a","poeta","polen","polici\u0301a","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porcio\u0301n","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","pri\u0301ncipe","prisio\u0301n","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","pro\u0301ximo","prueba","pu\u0301blico","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmo\u0301n","pulpo","pulso","puma","punto","pun\u0303al","pun\u0303o","pupa","pupila","pure\u0301","quedar","queja","quemar","querer","queso","quieto","qui\u0301mica","quince","quitar","ra\u0301bano","rabia","rabo","racio\u0301n","radical","rai\u0301z","rama","rampa","rancho","rango","rapaz","ra\u0301pido","rapto","rasgo","raspa","rato","rayo","raza","razo\u0301n","reaccio\u0301n","realidad","reban\u0303o","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refra\u0301n","refugio","regalo","regir","regla","regreso","rehe\u0301n","reino","rei\u0301r","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","reve\u0301s","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","ri\u0301gido","rigor","rinco\u0301n","rin\u0303o\u0301n","ri\u0301o","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubi\u0301","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sa\u0301bado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmo\u0301n","salo\u0301n","salsa","salto","salud","salvar","samba","sancio\u0301n","sandi\u0301a","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sarte\u0301n","sastre","sata\u0301n","sauna","saxofo\u0301n","seccio\u0301n","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","sen\u0303al","sen\u0303or","separar","sepia","sequi\u0301a","ser","serie","sermo\u0301n","servir","sesenta","sesio\u0301n","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","si\u0301laba","silbar","silencio","silla","si\u0301mbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","so\u0301lido","soltar","solucio\u0301n","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","soste\u0301n","so\u0301tano","suave","subir","suceso","sudor","suegra","suelo","suen\u0303o","suerte","sufrir","sujeto","sulta\u0301n","sumar","superar","suplir","suponer","supremo","sur","surco","suren\u0303o","surgir","susto","sutil","tabaco","tabique","tabla","tabu\u0301","taco","tacto","tajo","talar","talco","talento","talla","talo\u0301n","taman\u0303o","tambor","tango","tanque","tapa","tapete","tapia","tapo\u0301n","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazo\u0301n","teatro","techo","tecla","te\u0301cnica","tejado","tejer","tejido","tela","tele\u0301fono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teori\u0301a","terapia","terco","te\u0301rmino","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburo\u0301n","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","ti\u0301mido","timo","tinta","ti\u0301o","ti\u0301pico","tipo","tira","tiro\u0301n","tita\u0301n","ti\u0301tere","ti\u0301tulo","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","to\u0301rax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","to\u0301xico","trabajo","tractor","traer","tra\u0301fico","trago","traje","tramo","trance","trato","trauma","trazar","tre\u0301bol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tuberi\u0301a","tubo","tuerto","tumba","tumor","tu\u0301nel","tu\u0301nica","turbina","turismo","turno","tutor","ubicar","u\u0301lcera","umbral","unidad","unir","universo","uno","untar","un\u0303a","urbano","urbe","urgente","urna","usar","usuario","u\u0301til","utopi\u0301a","uva","vaca","vaci\u0301o","vacuna","vagar","vago","vaina","vajilla","vale","va\u0301lido","valle","valor","va\u0301lvula","vampiro","vara","variar","varo\u0301n","vaso","vecino","vector","vehi\u0301culo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vi\u0301a","viaje","vibrar","vicio","vi\u0301ctima","vida","vi\u0301deo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","vin\u0303edo","violi\u0301n","viral","virgo","virtud","visor","vi\u0301spera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volca\u0301n","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"];KN.exports=gW});var WN=T((Mue,GN)=>{g();GN.exports={CHINESE:LN(),ENGLISH:DN(),FRENCH:qN(),ITALIAN:FN(),JAPANESE:zN(),SPANISH:VN()}});var D_=T((Hue,YN)=>{"use strict";g();YN.exports="9.22.1"});var $N=T((H_,ZN)=>{g();(function(e,t){"use strict";typeof define=="function"&&define.amd?define([],function(){return e.secrets=t()}):typeof H_=="object"?ZN.exports=t(nr()):e.secrets=t(e.crypto)})(H_,function(e){"use strict";var t,r,i,n,o;function a(){t={bits:8,radix:16,minBits:3,maxBits:20,bytesPerChar:2,maxBytesPerChar:6,primitivePolynomials:[null,null,1,3,3,5,3,3,29,17,9,5,83,27,43,3,45,9,39,39,9,5,3,33,27,9,71,39,9,5,83]},r={},i=new Array(1024).join("0"),n=!0,o=["nodeCryptoRandomBytes","browserCryptoGetRandomValues","testRandom"]}function s(){return!!(r&&r.rng&&typeof r.rng=="function")}function u(A,B){var M;if(B===0||B===1)return A;if(B&&B>1024)throw new Error("Padding must be multiples of no larger than 1024 bits.");return B=B||r.bits,A&&(M=A.length%B),M?(i+A).slice(-(B-M+A.length)):A}function c(A){var B="",M,F;for(F=A.length-1;F>=0;F--){if(M=parseInt(A[F],16),isNaN(M))throw new Error("Invalid hex character.");B=u(M.toString(2),4)+B}return B}function l(A){var B="",M,F;for(A=u(A,4),F=A.length;F>=4;F-=4){if(M=parseInt(A.slice(F-4,F),2),isNaN(M))throw new Error("Invalid binary character.");B=M.toString(16)+B}return B}function p(){return!!(e&&typeof e=="object"&&(typeof e.getRandomValues=="function"||typeof e.getRandomValues=="object")&&(typeof Uint32Array=="function"||typeof Uint32Array=="object"))}function d(){return typeof e=="object"&&typeof e.randomBytes=="function"}function v(A){function B(Y,E,h,y){var w=0,S,O="",C;for(E&&(S=E.length-1);w<S||O.length<Y;)C=Math.abs(parseInt(E[w],h)),O=O+u(C.toString(2),y),w++;return O=O.substr(-Y),(O.match(/0/g)||[]).length===O.length?null:O}function M(Y){var E,h,y,w,S=null;for(y=16,w=4,h=Math.ceil(Y/8);S===null;)E=e.randomBytes(h),S=B(Y,E.toString("hex"),y,w);return S}function F(Y){var E,h,y,w=null;for(h=10,y=32,E=Math.ceil(Y/32);w===null;)w=B(Y,e.getRandomValues(new Uint32Array(E)),h,y);return w}function V(Y){var E,h,y,w,S,O=null;w=10,S=32,h=Math.ceil(Y/32),y=123456789,E=new Uint32Array(h);for(var C=0;C<E.length;C++)E[C]=y;for(;O===null;)O=B(Y,E,w,S);return O}if(A&&A==="testRandom")return r.typeCSPRNG=A,V;if(A&&A==="nodeCryptoRandomBytes")return r.typeCSPRNG=A,M;if(A&&A==="browserCryptoGetRandomValues")return r.typeCSPRNG=A,F;if(d())return r.typeCSPRNG="nodeCryptoRandomBytes",M;if(p())return r.typeCSPRNG="browserCryptoGetRandomValues",F}function _(A,B){var M=[],F;for(B&&(A=u(A,B)),F=A.length;F>r.bits;F-=r.bits)M.push(parseInt(A.slice(F-r.bits,F),2));return M.push(parseInt(A.slice(0,F),2)),M}function I(A,B){var M=r.logs[A],F=0,V;for(V=B.length-1;V>=0;V--)F!==0?F=r.exps[(M+r.logs[F])%r.maxShares]^B[V]:F=B[V];return F}function R(A,B,M){var F=0,V,Y,E,h;for(E=0,V=B.length;E<V;E++)if(M[E]){for(Y=r.logs[M[E]],h=0;h<V;h++)if(E!==h){if(A===B[h]){Y=-1;break}Y=(Y+r.logs[A^B[h]]-r.logs[B[E]^B[h]]+r.maxShares)%r.maxShares}F=Y===-1?F:F^r.exps[Y]}return F}function k(A,B,M){var F=[],V=[A],Y,E;for(Y=1;Y<M;Y++)V[Y]=parseInt(r.rng(r.bits),2);for(Y=1,E=B+1;Y<E;Y++)F[Y-1]={x:Y,y:I(Y,V)};return F}function q(A,B,M){var F,V,Y,E,h;if(B=parseInt(B,r.radix),A=parseInt(A,10)||r.bits,F=A.toString(36).toUpperCase(),Y=Math.pow(2,A)-1,E=Y.toString(r.radix).length,V=u(B.toString(r.radix),E),typeof B!="number"||B%1!==0||B<1||B>Y)throw new Error("Share id must be an integer between 1 and "+Y+", inclusive.");return h=F+V+M,h}var z={init:function(A,B){var M=[],F=[],V=1,Y,E;if(a(),A&&(typeof A!="number"||A%1!==0||A<t.minBits||A>t.maxBits))throw new Error("Number of bits must be an integer between "+t.minBits+" and "+t.maxBits+", inclusive.");if(B&&o.indexOf(B)===-1)throw new Error("Invalid RNG type argument : '"+B+"'");for(r.radix=t.radix,r.bits=A||t.bits,r.size=Math.pow(2,r.bits),r.maxShares=r.size-1,Y=t.primitivePolynomials[r.bits],E=0;E<r.size;E++)F[E]=V,M[V]=E,V=V<<1,V>=r.size&&(V=V^Y,V=V&r.maxShares);if(r.logs=M,r.exps=F,B&&this.setRNG(B),s()||this.setRNG(),!s()||!r.bits||!r.size||!r.maxShares||!r.logs||!r.exps||r.logs.length!==r.size||r.exps.length!==r.size)throw new Error("Initialization failed.")},combine:function(A,B){var M,F,V,Y,E="",h,y,w,S=[],O=[];for(B=B||0,M=0,V=A.length;M<V;M++){if(y=this.extractShareComponents(A[M]),h===void 0)h=y.bits;else if(y.bits!==h)throw new Error("Mismatched shares: Different bit settings.");if(r.bits!==h&&this.init(h),S.indexOf(y.id)===-1)for(S.push(y.id),w=_(c(y.data)),F=0,Y=w.length;F<Y;F++)O[F]=O[F]||[],O[F][S.length-1]=w[F]}for(M=0,V=O.length;M<V;M++)E=u(R(B,S,O[M]).toString(2))+E;return l(B>=1?E:E.slice(E.indexOf("1")+1))},getConfig:function(){var A={};return A.radix=r.radix,A.bits=r.bits,A.maxShares=r.maxShares,A.hasCSPRNG=s(),A.typeCSPRNG=r.typeCSPRNG,A},extractShareComponents:function(A){var B,M,F,V,Y={},E,h;if(B=parseInt(A.substr(0,1),36),B&&(typeof B!="number"||B%1!==0||B<t.minBits||B>t.maxBits))throw new Error("Invalid share : Number of bits must be an integer between "+t.minBits+" and "+t.maxBits+", inclusive.");if(V=Math.pow(2,B)-1,F=(Math.pow(2,B)-1).toString(r.radix).length,E="^([a-kA-K3-9]{1})([a-fA-F0-9]{"+F+"})([a-fA-F0-9]+)$",h=new RegExp(E).exec(A),h&&(M=parseInt(h[2],r.radix)),typeof M!="number"||M%1!==0||M<1||M>V)throw new Error("Invalid share : Share id must be an integer between 1 and "+r.maxShares+", inclusive.");if(h&&h[3])return Y.bits=B,Y.id=M,Y.data=h[3],Y;throw new Error("The share data provided is invalid : "+A)},setRNG:function(A){var B="Random number generator is invalid ",M=" Supply an CSPRNG of the form function(bits){} that returns a string containing 'bits' number of random 1's and 0's.";if(A&&typeof A=="string"&&o.indexOf(A)===-1)throw new Error("Invalid RNG type argument : '"+A+"'");if(A||(A=v()),A&&typeof A=="string"&&(A=v(A)),n){if(A&&typeof A!="function")throw new Error(B+"(Not a function)."+M);if(A&&typeof A(r.bits)!="string")throw new Error(B+"(Output is not a string)."+M);if(A&&!parseInt(A(r.bits),2))throw new Error(B+"(Binary string output not parseable to an Integer)."+M);if(A&&A(r.bits).length>r.bits)throw new Error(B+"(Output length is greater than config.bits)."+M);if(A&&A(r.bits).length<r.bits)throw new Error(B+"(Output length is less than config.bits)."+M)}return r.rng=A,!0},str2hex:function(A,B){var M,F,V="",Y,E,h,y;if(typeof A!="string")throw new Error("Input must be a character string.");if(B||(B=t.bytesPerChar),typeof B!="number"||B<1||B>t.maxBytesPerChar||B%1!==0)throw new Error("Bytes per character must be an integer between 1 and "+t.maxBytesPerChar+", inclusive.");for(M=2*B,F=Math.pow(16,M)-1,h=0,y=A.length;h<y;h++){if(E=A[h].charCodeAt(),isNaN(E))throw new Error("Invalid character: "+A[h]);if(E>F)throw Y=Math.ceil(Math.log(E+1)/Math.log(256)),new Error("Invalid character code ("+E+"). Maximum allowable is 256^bytes-1 ("+F+"). To convert this character, use at least "+Y+" bytes.");V=u(E.toString(16),M)+V}return V},hex2str:function(A,B){var M,F="",V,Y;if(typeof A!="string")throw new Error("Input must be a hexadecimal string.");if(B=B||t.bytesPerChar,typeof B!="number"||B%1!==0||B<1||B>t.maxBytesPerChar)throw new Error("Bytes per character must be an integer between 1 and "+t.maxBytesPerChar+", inclusive.");for(M=2*B,A=u(A,M),V=0,Y=A.length;V<Y;V+=M)F=String.fromCharCode(parseInt(A.slice(V,V+M),16))+F;return F},random:function(A){if(typeof A!="number"||A%1!==0||A<2||A>65536)throw new Error("Number of bits must be an Integer between 1 and 65536.");return l(r.rng(A))},share:function(A,B,M,F){var V,Y,E=new Array(B),h=new Array(B),y,w,S;if(F=F||128,typeof A!="string")throw new Error("Secret must be a string.");if(typeof B!="number"||B%1!==0||B<2)throw new Error("Number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive.");if(B>r.maxShares)throw V=Math.ceil(Math.log(B+1)/Math.LN2),new Error("Number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive. To create "+B+" shares, use at least "+V+" bits.");if(typeof M!="number"||M%1!==0||M<2)throw new Error("Threshold number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive.");if(M>r.maxShares)throw V=Math.ceil(Math.log(M+1)/Math.LN2),new Error("Threshold number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive. To use a threshold of "+M+", use at least "+V+" bits.");if(M>B)throw new Error("Threshold number of shares was "+M+" but must be less than or equal to the "+B+" shares specified as the total to generate.");if(typeof F!="number"||F%1!==0||F<0||F>1024)throw new Error("Zero-pad length must be an integer between 0 and 1024 inclusive.");for(A="1"+c(A),A=_(A,F),y=0,S=A.length;y<S;y++)for(Y=k(A[y],B,M),w=0;w<B;w++)E[w]=E[w]||Y[w].x.toString(r.radix),h[w]=u(Y[w].y.toString(2))+(h[w]||"");for(y=0;y<B;y++)E[y]=q(r.bits,E[y],l(h[y]));return E},newShare:function(A,B){var M,F;if(A&&typeof A=="string"&&(A=parseInt(A,r.radix)),F=A.toString(r.radix),A&&F&&B&&B[0])return M=this.extractShareComponents(B[0]),q(M.bits,F,this.combine(B,A));throw new Error("Invalid 'id' or 'shares' Array argument to newShare().")},_reset:a,_padLeft:u,_hex2bin:c,_bin2hex:l,_hasCryptoGetRandomValues:p,_hasCryptoRandomBytes:d,_getRNG:v,_isSetRNG:s,_splitNumStringToIntArray:_,_horner:I,_lagrange:R,_getShares:k,_constructPublicShareString:q};return z.init(),z})});var U_=T((Fue,eC)=>{"use strict";g();var vi=Ke(),XN=Ki(),JN=Le(),dm=null;function q_(){if(dm)return dm;var e=$N();return e.setRNG(function(t){for(var r=64,i=0;i<r;i++){for(var n=XN.getRandomBuffer(Math.ceil(t/8)),o="",a=0;a<n.length;a++)o+=("00000000"+n[a].toString(2)).slice(-8);if(o=o.slice(0,t),/1/.test(o))return o}throw new Error("shamir: CSPRNG returned all-zero draws "+r+" times in a row \u2014 refusing to hang on a degenerate/stubbed random source")}),dm=e,dm}var pm="ff",QN=2;function Br(e){return this instanceof Br?(this.options=e||{},this):new Br(e)}Br.split=function(e,t,r,i){if(i=i||{},e==null)throw new Error("Secret is required");if(t<2)throw new Error("Threshold must be at least 2");if(r<t)throw new Error("Number of shares must be at least threshold");if(t>255||r>255)throw new Error("Threshold and shares must be <= 255");for(var n=f.Buffer.isBuffer(e)?e:f.Buffer.from(e,"utf8"),o=pm+n.toString("hex"),a=q_().share(o,r,t),s=XN.getRandomBuffer(8).toString("hex"),u=i.checksum===!0,c=u?JN.sha256(n).slice(0,4).toString("hex"):null,l=[],p=0;p<a.length;p++)l.push({v:QN,id:p+1,threshold:t,shares:r,length:n.length,splitId:s,share:a[p],checksum:c});return l};Br.combine=function(e){if(!e||e.length===0)throw new Error("Shares array is required");if(e[0]&&Array.isArray(e[0].bytes)&&e[0].share===void 0)return Br._combineLegacy(e);var t=e[0].threshold,r=e[0].splitId;if(e.length<t)throw new Error("Insufficient shares: need "+t+", got "+e.length);for(var i=[],n=0;n<e.length;n++){var o=e[n];if(!o||typeof o.share!="string")throw new Error("Invalid share at index "+n);if(r!==void 0&&o.splitId!==r)throw new Error("Shares are from different splits (splitId mismatch)");if(o.threshold!==t)throw new Error("Shares have inconsistent threshold");i.push(o.share)}var a=q_().combine(i);if(a.slice(0,pm.length)!==pm)throw new Error("Reconstruction failed: invalid or insufficient shares");var s=f.Buffer.from(a.slice(pm.length),"hex"),u=e[0].checksum;if(u){var c=JN.sha256(s).slice(0,4).toString("hex");if(c!==u)throw new Error("Integrity check failed: shares are inconsistent or tampered")}return s};Br.verifyShare=function(e){try{return!e||typeof e!="object"?!1:Array.isArray(e.bytes)&&e.share===void 0?Br._verifyLegacyShare(e):e.v!==QN||typeof e.share!="string"||!/^[0-9a-fA-F]+$/.test(e.share)||typeof e.threshold!="number"||typeof e.shares!="number"||e.threshold<2||e.shares<e.threshold||e.shares>255||e.id<1||e.id>e.shares||e.checksum!==null&&e.checksum!==void 0&&!/^[0-9a-fA-F]{8}$/.test(e.checksum)?!1:(q_().extractShareComponents(e.share),!0)}catch{return!1}};Br.generateTestVectors=function(){var e="Hello, Bitcoin SV!",t=3,r=5,i=Br.split(e,t,r),n=Br.combine(i.slice(0,t));return{secret:e,threshold:t,totalShares:r,shares:i,reconstructed:n.toString("utf8"),valid:n.toString("utf8")===e}};var cs=new vi(2147483647);Br._combineLegacy=function(e){var t=e[0].threshold,r=e[0].shares,i=e[0].length;if(e.length<t)throw new Error("Insufficient shares: need "+t+", got "+e.length);for(var n=0;n<e.length;n++){if(e[n].threshold!==t||e[n].shares!==r)throw new Error("Shares have inconsistent parameters");if(e[n].length!==i)throw new Error("Shares have different secret lengths")}for(var o=[],a=0;a<i;a++){for(var s=[],u=0;u<Math.min(e.length,t);u++)s.push(e[u].bytes[a]);o.push(Br._combineByteLegacy(s))}return f.Buffer.from(o)};Br._combineByteLegacy=function(e){for(var t=new vi(0),r=0;r<e.length;r++){for(var i=new vi(e[r].x),n=new vi(e[r].y,16),o=new vi(1),a=new vi(1),s=0;s<e.length;s++)if(r!==s){var u=new vi(e[s].x),c=new vi(0).sub(u);c.lt(new vi(0))&&(c=c.add(cs)),o=o.mul(c).mod(cs);var l=i.sub(u);l.lt(new vi(0))&&(l=l.add(cs)),a=a.mul(l).mod(cs)}var p=Br._modInverseLegacy(a,cs),d=o.mul(p).mod(cs);t=t.add(n.mul(d)).mod(cs)}return t.mod(cs).mod(new vi(256)).toNumber()};Br._modInverseLegacy=function(e,t){e.lt(new vi(0))&&(e=e.mod(t).add(t));var r=Br._extendedGCDLegacy(e,t);if(!r.gcd.eq(new vi(1)))throw new Error("Modular inverse does not exist");return r.x.mod(t).add(t).mod(t)};Br._extendedGCDLegacy=function(e,t){if(e.eq(new vi(0)))return{gcd:t,x:new vi(0),y:new vi(1)};var r=Br._extendedGCDLegacy(t.mod(e),e);return{gcd:r.gcd,x:r.y.sub(t.div(e).mul(r.x)),y:r.x}};Br._verifyLegacyShare=function(e){if(!e.id||!e.threshold||!e.shares||!e.bytes||typeof e.length!="number"||e.threshold<2||e.shares<e.threshold||!Array.isArray(e.bytes)||e.bytes.length!==e.length)return!1;for(var t=0;t<e.bytes.length;t++){var r=e.bytes[t];if(!r||!r.x||!r.y||r.x<1||r.x>e.shares||!/^[0-9a-fA-F]+$/.test(r.y))return!1}return!0};eC.exports=Br});var mm=T((zue,tC)=>{"use strict";g();var bo=Ke(),mW=un(),vW=dn(),yh=mW.getN(),gm=yh.shrn(1);function yW(e,t,r){if(!f.Buffer.isBuffer(e)||e.length!==32)throw new Error("Invalid message hash: must be 32-byte buffer");if(!t)return!1;let i=t;if(f.Buffer.isBuffer(t))try{i=gt().fromDER(t)}catch{return!1}if(!i||!i.r||!i.s)return!1;let n=bo.isBN(i.r)?i.r:new bo(i.r),o=bo.isBN(i.s)?i.s:new bo(i.s);if(n.isZero()||o.isZero()||n.gte(yh)||o.gte(yh)||o.gt(gm))return!1;let a=gt(),s=new a({r:n,s:o});return vW.verify(e,s,r)}function bW(e){if(!e)return!1;let t=e;if(f.Buffer.isBuffer(e))try{t=gt().fromDER(e)}catch{return!1}return!t||!t.s?!1:(bo.isBN(t.s)?t.s:new bo(t.s)).lte(gm)}function _W(e){if(!e||!e.r||!e.s)throw new Error("Invalid signature object");let t=bo.isBN(e.r)?e.r:new bo(e.r),r=bo.isBN(e.s)?e.s:new bo(e.s),i=r;return r.gt(gm)&&(i=yh.sub(r)),{r:t,s:i}}tC.exports={smartVerify:yW,isCanonical:bW,canonicalize:_W,constants:{n:yh,nh:gm}}});var vm=T((Vue,nC)=>{"use strict";g();var wW=Ke(),{secp256k1:Kc}=(Ll(),en(Cl)),rC=Kc.Point,SW=rC.Fn.ORDER;function F_(e){var t=e.toString(16);return t.length%2&&(t="0"+t),new wW(t,16)}function j_(e){return f.Buffer.isBuffer(e)?Uint8Array.from(e):e instanceof Uint8Array?e:Uint8Array.from(f.Buffer.from(e,"hex"))}function z_(e){this._p=e}z_.prototype.eq=function(e){var t=e&&e._p?e._p:e;return this._p.equals(t)};var iC={curve:{n:F_(SW)},keyFromPrivate:function(e,t){var r;f.Buffer.isBuffer(e)?r=e:e instanceof Uint8Array?r=f.Buffer.from(e):r=f.Buffer.from(e,t||"hex");var i=Uint8Array.from(r);return{_priv:i,getPublic:function(){return new z_(rC.fromBytes(Kc.getPublicKey(i,!0)))}}},sign:function(e,t){var r=Kc.sign(j_(e),t._priv,{lowS:!0,prehash:!1,format:"recovered"}),i=r[0],n=F_(BigInt("0x"+f.Buffer.from(r.subarray(1,33)).toString("hex"))),o=F_(BigInt("0x"+f.Buffer.from(r.subarray(33,65)).toString("hex")));return{r:n,s:o,recoveryParam:i}},verify:function(e,t,r){try{if(!t||typeof t!="object")return!1;var i=t.r,n=t.s;if(!i||!n||typeof i.cmp!="function"||typeof n.cmp!="function"||i.isZero()||n.isZero())return!1;var o=iC.curve.n;if(i.cmp(o)>=0||n.cmp(o)>=0)return!1;var a=f.Buffer.concat([i.toBuffer({size:32}),n.toBuffer({size:32})]),s=r._priv?Kc.getPublicKey(r._priv,!0):r._p?r._p.toBytes(!0):r;return Kc.verify(Uint8Array.from(a),j_(e),Uint8Array.from(s),{lowS:!1,prehash:!1})}catch{return!1}},recoverPubKey:function(e,t,r){var i=f.Buffer.concat([t.r.toBuffer({size:32}),t.s.toBuffer({size:32})]),n=Kc.Signature.fromBytes(Uint8Array.from(i),"compact").addRecoveryBit(r);return new z_(n.recoverPublicKey(j_(e)))}};nC.exports=iC});var Vc=T((Wue,sC)=>{"use strict";g();var ym=at(),bh=Ke(),bm=lo(),EW=Nn(),xW=Le(),oC=Ie(),OW=486604799,nt=function e(t){if(!(this instanceof e))return new e(t);var r=e._from(t);return this.version=r.version,this.prevHash=r.prevHash,this.merkleRoot=r.merkleRoot,this.time=r.time,this.timestamp=r.time,this.bits=r.bits,this.nonce=r.nonce,r.hash&&oC.checkState(this.hash===r.hash,"Argument object hash property does not match block hash."),this};nt._from=function(t){var r={};if(f.Buffer.isBuffer(t))r=nt._fromBufferReader(bm(t));else if(ym.isObject(t))r=nt._fromObject(t);else throw new TypeError("Unrecognized argument for BlockHeader");return r};nt._fromObject=function(t){oC.checkArgument(t,"data is required");var r=t.prevHash,i=t.merkleRoot;ym.isString(t.prevHash)&&(r=f.Buffer.from(t.prevHash,"hex").reverse()),ym.isString(t.merkleRoot)&&(i=f.Buffer.from(t.merkleRoot,"hex").reverse());var n={hash:t.hash,version:t.version,prevHash:r,merkleRoot:i,time:t.time,timestamp:t.time,bits:t.bits,nonce:t.nonce};return n};nt.fromObject=function(t){var r=nt._fromObject(t);return new nt(r)};nt.fromRawBlock=function(t){f.Buffer.isBuffer(t)||(t=f.Buffer.from(t,"binary"));var r=bm(t);r.pos=nt.Constants.START_OF_HEADER;var i=nt._fromBufferReader(r);return new nt(i)};nt.fromBuffer=function(t){var r=nt._fromBufferReader(bm(t));return new nt(r)};nt.fromString=function(t){var r=f.Buffer.from(t,"hex");return nt.fromBuffer(r)};nt._fromBufferReader=function(t){var r={};return r.version=t.readInt32LE(),r.prevHash=t.read(32),r.merkleRoot=t.read(32),r.time=t.readUInt32LE(),r.bits=t.readUInt32LE(),r.nonce=t.readUInt32LE(),r};nt.fromBufferReader=function(t){var r=nt._fromBufferReader(t);return new nt(r)};nt.prototype.toObject=nt.prototype.toJSON=function(){return{hash:this.hash,version:this.version,prevHash:f.Buffer.from(this.prevHash).reverse().toString("hex"),merkleRoot:f.Buffer.from(this.merkleRoot).reverse().toString("hex"),time:this.time,bits:this.bits,nonce:this.nonce}};nt.prototype.toBuffer=function(){return this.toBufferWriter().concat()};nt.prototype.toString=function(){return this.toBuffer().toString("hex")};nt.prototype.toBufferWriter=function(t){return t||(t=new EW),t.writeInt32LE(this.version),t.write(this.prevHash),t.write(this.merkleRoot),t.writeUInt32LE(this.time),t.writeUInt32LE(this.bits),t.writeUInt32LE(this.nonce),t};nt.prototype.getTargetDifficulty=function(t){t=t||this.bits;for(var r=new bh(t&16777215),i=8*((t>>>24)-3);i-- >0;)r=r.mul(new bh(2));return r};nt.prototype.getDifficulty=function(){var t=this.getTargetDifficulty(OW).mul(new bh(Math.pow(10,8))),r=this.getTargetDifficulty(),i=t.div(r).toString(10),n=i.length-8;return i=i.slice(0,n)+"."+i.slice(n),parseFloat(i)};nt.prototype._getHash=function(){var t=this.toBuffer();return xW.sha256sha256(t)};var aC={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=bm(this._getHash()).readReverse().toString("hex")),this._id},set:ym.noop};Object.defineProperty(nt.prototype,"id",aC);Object.defineProperty(nt.prototype,"hash",aC);nt.prototype.validTimestamp=function(){var t=Math.round(new Date().getTime()/1e3);return!(this.time>t+nt.Constants.MAX_TIME_OFFSET)};nt.prototype.validProofOfWork=function(){var t=new bh(this.id,"hex"),r=this.getTargetDifficulty();return!(t.cmp(r)>0)};nt.prototype.inspect=function(){return"<BlockHeader "+this.id+">"};nt.Constants={START_OF_HEADER:8,MAX_TIME_OFFSET:7200,LARGEST_HASH:new bh("10000000000000000000000000000000000000000000000000000000000000000","hex")};sC.exports=nt});var dC=T((Zue,hC)=>{"use strict";g();var V_=at(),cC=Vc(),uC=Ke(),G_=lo(),IW=Nn(),AW=Le(),K_=zt(),fC=Ie();function qe(e){return this instanceof qe?(V_.extend(this,qe._from(e)),this):new qe(e)}qe.MAX_BLOCK_SIZE=128e6;qe._from=function(t){var r={};if(f.Buffer.isBuffer(t))r=qe._fromBufferReader(G_(t));else if(V_.isObject(t))r=qe._fromObject(t);else throw new TypeError("Unrecognized argument for Block");return r};qe._fromObject=function(t){var r=[];t.transactions.forEach(function(n){n instanceof K_?r.push(n):r.push(K_().fromObject(n))});var i={header:cC.fromObject(t.header),transactions:r};return i};qe.fromObject=function(t){var r=qe._fromObject(t);return new qe(r)};qe._fromBufferReader=function(t){var r={};fC.checkState(!t.finished(),"No block data received"),r.header=cC.fromBufferReader(t);var i=t.readVarintNum();r.transactions=[];for(var n=0;n<i;n++)r.transactions.push(K_().fromBufferReader(t));return r};qe.fromBufferReader=function(t){fC.checkArgument(t,"br is required");var r=qe._fromBufferReader(t);return new qe(r)};qe.fromBuffer=function(t){return qe.fromBufferReader(new G_(t))};qe.fromString=function(t){var r=f.Buffer.from(t,"hex");return qe.fromBuffer(r)};qe.fromRawBlock=function(t){f.Buffer.isBuffer(t)||(t=f.Buffer.from(t,"binary"));var r=G_(t);r.pos=qe.Values.START_OF_BLOCK;var i=qe._fromBufferReader(r);return new qe(i)};qe.prototype.toObject=qe.prototype.toJSON=function(){var t=[];return this.transactions.forEach(function(r){t.push(r.toObject())}),{header:this.header.toObject(),transactions:t}};qe.prototype.toBuffer=function(){return this.toBufferWriter().concat()};qe.prototype.toString=function(){return this.toBuffer().toString("hex")};qe.prototype.toBufferWriter=function(t){t||(t=new IW),t.write(this.header.toBuffer()),t.writeVarintNum(this.transactions.length);for(var r=0;r<this.transactions.length;r++)this.transactions[r].toBufferWriter(t);return t};qe.prototype.getTransactionHashes=function(){var t=[];if(this.transactions.length===0)return[qe.Values.NULL_HASH];for(var r=0;r<this.transactions.length;r++)t.push(this.transactions[r]._getHash());return t};qe.prototype.getMerkleTree=function(){for(var t=this.getTransactionHashes(),r=0,i=this.transactions.length;i>1;i=Math.floor((i+1)/2)){for(var n=0;n<i;n+=2){var o=Math.min(n+1,i-1),a=f.Buffer.concat([t[r+n],t[r+o]]);t.push(AW.sha256sha256(a))}r+=i}return t};qe.prototype.getMerkleRoot=function(){var t=this.getMerkleTree();return t[t.length-1]};qe.prototype.validMerkleRoot=function(){var t=new uC(this.header.merkleRoot.toString("hex"),"hex"),r=new uC(this.getMerkleRoot().toString("hex"),"hex");return t.cmp(r)===0};qe.prototype._getHash=function(){return this.header._getHash()};var lC={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=this.header.id),this._id},set:V_.noop};Object.defineProperty(qe.prototype,"id",lC);Object.defineProperty(qe.prototype,"hash",lC);qe.prototype.inspect=function(){return"<Block "+this.id+">"};qe.Values={START_OF_BLOCK:8,NULL_HASH:f.Buffer.from("0000000000000000000000000000000000000000000000000000000000000000","hex")};hC.exports=qe});var Z_=T((Xue,mC)=>{"use strict";g();var lu=at(),Y_=Vc(),gC=lo(),TW=Nn(),PW=Le(),pC=zt(),W_=pi(),hu=Ie(),RW=ts();function _m(e){return Array.isArray(e)?e.slice():e}function Qt(e){if(!(this instanceof Qt))return new Qt(e);var t={};if(f.Buffer.isBuffer(e))t=Qt._fromBufferReader(gC(e));else if(lu.isObject(e)){var r;e.header instanceof Y_?r=e.header:r=Y_.fromObject(e.header),t={header:r,numTransactions:e.numTransactions,hashes:_m(e.hashes),flags:_m(e.flags)}}else throw new TypeError("Unrecognized argument for MerkleBlock");return lu.extend(this,t),this._flagBitsUsed=0,this._hashesUsed=0,this}Qt.fromBuffer=function(t){return Qt.fromBufferReader(gC(t))};Qt.fromBufferReader=function(t){return new Qt(Qt._fromBufferReader(t))};Qt.prototype.toBuffer=function(){return this.toBufferWriter().concat()};Qt.prototype.toBufferWriter=function(t){t||(t=new TW),t.write(this.header.toBuffer()),t.writeUInt32LE(this.numTransactions),t.writeVarintNum(this.hashes.length);for(var r=0;r<this.hashes.length;r++)t.write(f.Buffer.from(this.hashes[r],"hex"));for(t.writeVarintNum(this.flags.length),r=0;r<this.flags.length;r++)t.writeUInt8(this.flags[r]);return t};Qt.prototype.toObject=Qt.prototype.toJSON=function(){return{header:this.header.toObject(),numTransactions:this.numTransactions,hashes:_m(this.hashes),flags:_m(this.flags)}};Qt.prototype.validMerkleTree=function(){if(hu.checkState(lu.isArray(this.flags),"MerkleBlock flags is not an array"),hu.checkState(lu.isArray(this.hashes),"MerkleBlock hashes is not an array"),this.hashes.length>this.numTransactions||this.flags.length*8<this.hashes.length)return!1;var t=this._calcTreeHeight(),r={hashesUsed:0,flagBitsUsed:0},i=this._traverseMerkleTree(t,0,r);return r.hashesUsed!==this.hashes.length?!1:i.equals(this.header.merkleRoot)};Qt.prototype.filterdTxsHash=RW.fn(function(){return this.filteredTxsHash()},{what:"MerkleBlock#filterdTxsHash",since:"9.1.0",removeIn:"10.0.0",use:"MerkleBlock#filteredTxsHash",why:"the name is a misspelling"});Qt.prototype.filteredTxsHash=function(){if(hu.checkState(lu.isArray(this.flags),"MerkleBlock flags is not an array"),hu.checkState(lu.isArray(this.hashes),"MerkleBlock hashes is not an array"),this.hashes.length>this.numTransactions)throw new W_.MerkleBlock.InvalidMerkleTree;if(this.flags.length*8<this.hashes.length)throw new W_.MerkleBlock.InvalidMerkleTree;if(this.hashes.length===1)return[];var t=this._calcTreeHeight(),r={hashesUsed:0,flagBitsUsed:0},i=this._traverseMerkleTree(t,0,r,!0);if(r.hashesUsed!==this.hashes.length)throw new W_.MerkleBlock.InvalidMerkleTree;return i};Qt.prototype._traverseMerkleTree=function(t,r,i,n){if(i=i||{},i.txs=i.txs||[],i.flagBitsUsed=i.flagBitsUsed||0,i.hashesUsed=i.hashesUsed||0,n=n||!1,i.flagBitsUsed>this.flags.length*8)return null;var o=this.flags[i.flagBitsUsed>>3]>>>(i.flagBitsUsed++&7)&1;if(t===0||!o){if(i.hashesUsed>=this.hashes.length)return null;var a=this.hashes[i.hashesUsed++];return t===0&&o&&i.txs.push(a),f.Buffer.from(a,"hex")}else{var s=this._traverseMerkleTree(t-1,r*2,i),u=s;return r*2+1<this._calcTreeWidth(t-1)&&(u=this._traverseMerkleTree(t-1,r*2+1,i)),n?i.txs:PW.sha256sha256(f.Buffer.concat([s,u]))}};Qt.prototype._calcTreeWidth=function(t){return this.numTransactions+(1<<t)-1>>t};Qt.prototype._calcTreeHeight=function(){for(var t=0;this._calcTreeWidth(t)>1;)t++;return t};Qt.prototype.hasTransaction=function(t){hu.checkArgument(!lu.isUndefined(t),"tx cannot be undefined"),hu.checkArgument(t instanceof pC||typeof t=="string",'Invalid tx given, tx must be a "string" or "Transaction"');var r=t;t instanceof pC&&(r=f.Buffer.from(t.id,"hex").reverse().toString("hex"));var i=[],n=this._calcTreeHeight();return this._traverseMerkleTree(n,0,{txs:i}),i.indexOf(r)!==-1};Qt._fromBufferReader=function(t){hu.checkState(!t.finished(),"No merkleblock data received");var r={};r.header=Y_.fromBufferReader(t),r.numTransactions=t.readUInt32LE();var i=t.readVarintNum();r.hashes=[];for(var n=0;n<i;n++)r.hashes.push(t.read(32).toString("hex"));var o=t.readVarintNum();for(r.flags=[],n=0;n<o;n++)r.flags.push(t.readUInt8());return r};Qt.fromObject=function(t){return new Qt(t)};mC.exports=Qt});var vC=T((Que,wm)=>{g();wm.exports=dC();wm.exports.BlockHeader=Vc();wm.exports.MerkleBlock=Z_()});var ew=T((tce,AC)=>{"use strict";g();var $_=Vc(),mn=Ke(),yC=Le(),bC=/^[0-9a-fA-F]{64}$/,wC=$_.Constants.LARGEST_HASH,X_=486604799;function Sm(e){var t=e>>>24,r=e&8388607,i;return t<=3?(r=r>>>8*(3-t),i=new mn(r)):i=new mn(r).shln(8*(t-3)),r===0||(e&8388608)!==0||t>34||r>255&&t>33||r>65535&&t>32?null:i}function J_(e){return wC.div(e.add(new mn(1)))}function SC(e){if(e==null&&(e=X_),mn.isBN(e)){if(e.isNeg()||e.isZero()||e.cmp(wC)>=0)throw new Error("powLimit as a BN must be a target above zero and below 2^256");return e}var t;if(typeof e=="string"){if(!/^(0x)?[0-9a-fA-F]{1,8}$/.test(e))throw new Error("powLimit must be compact bits as hex, a uint32, or a BN target, not "+JSON.stringify(e));t=parseInt(e.replace(/^0x/,""),16)}else if(typeof e=="number"&&Number.isInteger(e)&&e>=0&&e<=4294967295)t=e;else throw new Error("powLimit must be compact bits as hex, a uint32, or a BN target, not "+JSON.stringify(e));var r=Sm(t);if(!r)throw new Error("powLimit is not a usable compact target: "+e);return r}function EC(e){var t=typeof e=="number"?BW(e):String(e);if(/^[0-9]+(\.[0-9]+)?[eE][+]?[0-9]+$/.test(t)&&(t=kW(t)),!/^[0-9]+(\.[0-9]+)?$/.test(t))throw new Error("minDifficulty must be a non-negative decimal number, not "+JSON.stringify(e));var r=t.split("."),i=r[1]||"",n=new mn(r[0]+i,10).mul(J_(Sm(X_)));return i.length?n.div(new mn(10).pow(new mn(i.length))):n}function kW(e){var t=e.split(/[eE]/),r=parseInt(t[1].replace("+",""),10),i=t[0].split("."),n=i[0],o=i[1]||"";return r>=o.length?n+o+new Array(r-o.length+1).join("0"):n+o.slice(0,r)+"."+o.slice(r)}function BW(e){if(!Number.isFinite(e)||e<0)throw new Error("minDifficulty must be a non-negative finite number, not "+String(e));return/e/i.test(String(e))?e.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20}):String(e)}function NW(e){if(mn.isBN(e)){if(e.isNeg())throw new Error("minWork as a BN must not be negative");return e}if(typeof e=="number"){if(!Number.isSafeInteger(e)||e<0)throw new Error("minWork as a number must be a non-negative safe integer; for larger floors pass a decimal string or a BN, not "+e);return new mn(String(e),10)}if(typeof e=="string"&&/^[0-9]+$/.test(e))return new mn(e,10);throw new Error("minWork must be a non-negative integer, a decimal string or a BN, not "+JSON.stringify(e))}function xC(e){var t;if(f.Buffer.isBuffer(e))t=e;else if(typeof e=="string"){if(!/^[0-9a-fA-F]{160}$/.test(e))throw new Error("a block header as hex must be exactly 160 hex characters");t=f.Buffer.from(e,"hex")}else if(e instanceof $_)t=e.toBuffer();else if(e&&typeof e.toBuffer=="function")t=e.toBuffer();else throw new Error("a block header must be 80 bytes, as hex, a Buffer or a BlockHeader; an object stating a merkleRoot is not a header and cannot be checked");if(!f.Buffer.isBuffer(t)||t.length!==80)throw new Error("a block header must be exactly 80 bytes, not "+(f.Buffer.isBuffer(t)?t.length:typeof t));return $_.fromBuffer(t)}function OC(e){return f.Buffer.from(e).reverse()}function _C(e){return OC(f.Buffer.from(e,"hex"))}function IC(e){return OC(e).toString("hex")}function Q_(e,t,r){if(!bC.test(String(e)))throw new Error("txid must be 32-byte hex");if(!Number.isInteger(t)||t<0)throw new Error("index must be a non-negative integer");r=r||[];for(var i=_C(e),n=t,o=0;o<r.length;o++){var a=r[o],s;if(a==="*"||a===""||a==null)s=i;else{if(!bC.test(String(a)))throw new Error("proof node "+o+' must be 32-byte hex or "*"');s=_C(a)}i=n&1?yC.sha256sha256(f.Buffer.concat([s,i])):yC.sha256sha256(f.Buffer.concat([i,s])),n=Math.floor(n/2)}return IC(i)}function CW(e){if(!e||!e.merkleRoot)throw new Error("proof.merkleRoot is required");var t=Q_(e.txid,e.index,e.nodes);return t.toLowerCase()===String(e.merkleRoot).toLowerCase()}function LW(e){var t=xC(e.header),r=IC(t.merkleRoot),i=Q_(e.txid,e.index,e.nodes),n=i.toLowerCase()===r.toLowerCase(),o=e.requirePow!==!1,a=Sm(t.bits),s=a!==null&&new mn(t.id,"hex").cmp(a)<=0,u=a===null?new mn(0):J_(a),c=a!==null&&(!o||a.cmp(SC(e.powLimit))<=0),l=null;if(o){if(e.minWork!==void 0&&e.minWork!==null&&e.minDifficulty!==void 0&&e.minDifficulty!==null)throw new Error("pass minWork (hashes) or minDifficulty (difficulty), not both");e.minWork!==void 0&&e.minWork!==null?l=NW(e.minWork):e.minDifficulty!==void 0&&e.minDifficulty!==null&&(l=EC(e.minDifficulty))}var p=l===null||u.cmp(l)>=0;return{valid:n&&(!o||s&&c&&p),rootMatches:n,powValid:s,targetAllowed:c,workSufficient:p,work:u.toString(10),merkleRoot:i,blockHash:t.id}}AC.exports={POW_LIMIT_BITS:X_,targetFromBits:Sm,targetLimit:SC,workFromTarget:J_,workFromDifficulty:EC,headerSnapshot:xC,merkleRootFromBranch:Q_,verifyMerkleProof:CW,verifyTxInclusion:LW}});var PC=T((ice,TC)=>{"use strict";g();var MW=Ke(),tw=ew();function DW(e){return f.Buffer.from(e).reverse()}function HW(e){return tw.headerSnapshot(e)}function qW(e,t){if(t=t||{},!Array.isArray(e)||e.length===0)throw new Error("headers must be a non-empty array");for(var r=e.map(HW),i=t.requirePow!==!1,n=0,o=i?tw.targetLimit(t.powLimit):null,a=0;a<r.length;a++){var s=tw.targetFromBits(r[a].bits);if(i){if(s===null||new MW(r[a].id,"hex").cmp(s)>0)return{valid:!1,reason:"invalid proof-of-work at index "+a,count:r.length};if(s.cmp(o)>0)return{valid:!1,reason:"target easier than the proof-of-work limit at index "+a,count:r.length}}if(n+=r[a].getDifficulty(),a>0){var u=DW(r[a].prevHash).toString("hex").toLowerCase()===r[a-1].id.toLowerCase();if(!u)return{valid:!1,reason:"broken link at index "+a,count:r.length}}}var c=r[0].id,l=r[r.length-1].id;if(t.trustedHash){var p=String(t.trustedHash).toLowerCase();if(p!==l.toLowerCase()&&p!==c.toLowerCase())return{valid:!1,reason:"chain is not anchored at the trusted hash",count:r.length,anchorHash:c,tipHash:l}}return{valid:!0,count:r.length,anchorHash:c,tipHash:l,work:n}}TC.exports={verifyHeaderChain:qW}});var xm=T((oce,RC)=>{"use strict";g();var Em=ew(),UW=PC();RC.exports={POW_LIMIT_BITS:Em.POW_LIMIT_BITS,merkleRootFromBranch:Em.merkleRootFromBranch,verifyMerkleProof:Em.verifyMerkleProof,verifyTxInclusion:Em.verifyTxInclusion,verifyHeaderChain:UW.verifyHeaderChain}});var iw=T((sce,kC)=>{"use strict";g();var FW=Le(),du=Ie(),ti={};ti.PROTOCOL_PREFIX="NotaryHash/1.0";ti.VERSION=1;ti.lp=function(e){var t=f.Buffer.isBuffer(e)?e:f.Buffer.from(String(e),"utf8"),r=f.Buffer.alloc(4);return r.writeUInt32BE(t.length,0),f.Buffer.concat([r,t])};function rw(e,t){if(!f.Buffer.isBuffer(e))throw new Error(t+" must be a Buffer of raw bytes, not "+typeof e+". Certificates store this field as hex; decode it with Buffer.from(hex, 'hex') before hashing, or the length prefix covers the wrong number of bytes.");return e}ti.u64be=function(e){du.checkArgument(typeof e=="number"&&isFinite(e),"createdAtUnix must be a finite number"),du.checkArgument(Number.isInteger(e),"createdAtUnix must be whole seconds, not milliseconds or a fraction"),du.checkArgument(e>=0,"createdAtUnix must not be negative");var t=f.Buffer.alloc(8);return t.writeBigUInt64BE(BigInt(e),0),t};ti.toUnixSeconds=function(e){var t=e instanceof Date?e:new Date(e);return du.checkArgument(!isNaN(t.getTime()),"createdAt is not a valid date: "+e),Math.floor(t.getTime()/1e3)};ti.canonicalBytes=function(e){return du.checkArgument(e&&typeof e=="object","fields object is required"),du.checkArgument(typeof e.algorithm=="string"&&e.algorithm.length>0,"algorithm must be a non-empty string"),du.checkArgument(typeof e.hashAlgorithm=="string"&&e.hashAlgorithm.length>0,"hashAlgorithm must be a non-empty string"),f.Buffer.concat([ti.lp(ti.PROTOCOL_PREFIX),f.Buffer.from([ti.VERSION]),ti.lp(e.algorithm),ti.lp(e.hashAlgorithm),ti.lp(rw(e.payloadHash,"payloadHash")),ti.lp(rw(e.publicKey,"publicKey")),ti.lp(rw(e.signature,"signature")),ti.u64be(e.createdAtUnix)])};ti.proofHash=function(e){return FW.sha256(ti.canonicalBytes(e))};kC.exports=ti});var nw=T((cce,MC)=>{"use strict";g();var Om=Kg(),vn=Pr(),BC=Le(),Gc=Ie(),Yt={};Yt.PREFIX="NOTARYHASH";Yt.VERSION=1;Yt.MODE={FULL:0,HYBRID:1,BATCH:2};var NC={full:Yt.MODE.FULL,hybrid:Yt.MODE.HYBRID,batch:Yt.MODE.BATCH};function CC(e){return f.Buffer.from([e])}function jW(e){var t=f.Buffer.alloc(4);return t.writeUInt32BE(e,0),t}function _o(e,t,r){if(!f.Buffer.isBuffer(e))throw new Error(t+" must be a Buffer of raw bytes, not "+typeof e+". Decode hex with Buffer.from(hex, 'hex') first.");if(r!=null&&e.length!==r)throw new Error(t+" must be exactly "+r+" bytes, got "+e.length);return e}function LC(e,t){if(e.buf&&e.buf.length===1)return e.buf[0];if(e.opcodenum===vn.OP_0)return 0;if(e.opcodenum>=vn.OP_1&&e.opcodenum<=vn.OP_16)return e.opcodenum-vn.OP_1+1;throw new Error(t+" must be a single byte at this push")}function Un(e,t){if(!e||!e.buf)throw new Error(t+" push is missing or carries no data");return e.buf}Yt.build=function(e){Gc.checkArgument(e&&typeof e=="object","record is required");var t=typeof e.mode=="string"&&Object.prototype.hasOwnProperty.call(NC,e.mode)?NC[e.mode]:e.mode;Gc.checkArgument(t===Yt.MODE.FULL||t===Yt.MODE.HYBRID||t===Yt.MODE.BATCH,"mode must be 0 (full), 1 (hybrid) or 2 (batch)");var r=new Om().add(vn.OP_FALSE).add(vn.OP_RETURN).add(f.Buffer.from(Yt.PREFIX,"ascii")).add(CC(Yt.VERSION)).add(CC(t));if(t===Yt.MODE.BATCH)return Gc.checkArgument(typeof e.leafCount=="number"&&Number.isInteger(e.leafCount)&&e.leafCount>=0,"leafCount must be a non-negative integer"),r.add(_o(e.merkleRoot,"merkleRoot",32)),r.add(jW(e.leafCount)),r;Gc.checkArgument(typeof e.algorithm=="string"&&e.algorithm.length>0,"algorithm must be a non-empty string"),Gc.checkArgument(typeof e.hashAlgorithm=="string"&&e.hashAlgorithm.length>0,"hashAlgorithm must be a non-empty string"),r.add(f.Buffer.from(e.algorithm,"utf8")),r.add(f.Buffer.from(e.hashAlgorithm,"utf8")),r.add(_o(e.payloadHash,"payloadHash",32)),r.add(_o(e.proofHash,"proofHash",32));var i=_o(e.publicKey,"publicKey"),n=_o(e.signature,"signature");return t===Yt.MODE.HYBRID?(r.add(BC.sha256(i)),r.add(BC.sha256(n))):(r.add(i),r.add(n)),r};Yt.parse=function(e){typeof e=="string"&&(e=Om.fromHex(e)),Gc.checkArgument(e instanceof Om,"script must be a Script or hex string");var t=e.chunks;if(t.length<5)throw new Error("not a NotaryHash record: too few pushes");if(t[0].opcodenum!==vn.OP_FALSE&&t[0].opcodenum!==vn.OP_0)throw new Error("not a NotaryHash record: does not start with OP_FALSE");if(t[1].opcodenum!==vn.OP_RETURN)throw new Error("not a NotaryHash record: no OP_RETURN");var r=Un(t[2],"prefix");if(r.toString("ascii")!==Yt.PREFIX)throw new Error("not a NotaryHash record: prefix is "+JSON.stringify(r.toString("ascii")));var i=LC(t[3],"version");if(i!==Yt.VERSION)throw new Error("unsupported NotaryHash version: "+i);var n=LC(t[4],"mode");if(n===Yt.MODE.BATCH){if(t.length!==7)throw new Error("batch record must have exactly 7 pushes, got "+t.length);var o=Un(t[6],"leafCount");if(o.length!==4)throw new Error("leafCount must be 4 bytes (u32be), got "+o.length);return{mode:n,version:i,merkleRoot:_o(Un(t[5],"merkleRoot"),"merkleRoot",32),leafCount:o.readUInt32BE(0)}}if(n!==Yt.MODE.FULL&&n!==Yt.MODE.HYBRID)throw new Error("unknown NotaryHash mode: "+n);if(t.length!==11)throw new Error("full/hybrid record must have exactly 11 pushes, got "+t.length);var a={mode:n,version:i,algorithm:Un(t[5],"algorithm").toString("utf8"),hashAlgorithm:Un(t[6],"hashAlgorithm").toString("utf8"),payloadHash:_o(Un(t[7],"payloadHash"),"payloadHash",32),proofHash:_o(Un(t[8],"proofHash"),"proofHash",32)};return n===Yt.MODE.HYBRID?(a.publicKeyHash=_o(Un(t[9],"publicKeyHash"),"publicKeyHash",32),a.signatureHash=_o(Un(t[10],"signatureHash"),"signatureHash",32)):(a.publicKey=Un(t[9],"publicKey"),a.signature=Un(t[10],"signature")),a};Yt.isNotaryHash=function(e){try{typeof e=="string"&&(e=Om.fromHex(e));var t=e.chunks;return t.length>=5&&(t[0].opcodenum===vn.OP_FALSE||t[0].opcodenum===vn.OP_0)&&t[1].opcodenum===vn.OP_RETURN&&!!t[2].buf&&t[2].buf.toString("ascii")===Yt.PREFIX}catch{return!1}};MC.exports=Yt});var aw=T((lce,DC)=>{"use strict";g();var ow=Le(),Li=Ie(),Ue={};Ue.LEAF_PREFIX=0;Ue.NODE_PREFIX=1;Ue.hashLeaf=function(e){return Li.checkArgument(f.Buffer.isBuffer(e),"leaf data must be a Buffer"),ow.sha256(f.Buffer.concat([f.Buffer.from([Ue.LEAF_PREFIX]),e]))};Ue.hashNode=function(e,t){return ow.sha256(f.Buffer.concat([f.Buffer.from([Ue.NODE_PREFIX]),e,t]))};Ue.largestPowerOfTwoBelow=function(e){Li.checkArgument(Number.isInteger(e)&&e>=2,"n must be an integer >= 2");for(var t=1;t*2<e;)t*=2;return t};Ue.root=function(e){if(Li.checkArgument(Array.isArray(e),"leaves must be an array"),e.length===0)return ow.sha256(f.Buffer.alloc(0));if(e.length===1)return Ue.hashLeaf(e[0]);var t=Ue.largestPowerOfTwoBelow(e.length);return Ue.hashNode(Ue.root(e.slice(0,t)),Ue.root(e.slice(t)))};Ue.path=function(e,t){if(Li.checkArgument(Array.isArray(e)&&e.length>0,"leaves must be a non-empty array"),Li.checkArgument(Number.isInteger(t)&&t>=0&&t<e.length,"index must be within the leaves"),e.length===1)return[];var r=Ue.largestPowerOfTwoBelow(e.length);return t<r?Ue.path(e.slice(0,r),t).concat([Ue.root(e.slice(r))]):Ue.path(e.slice(r),t-r).concat([Ue.root(e.slice(0,r))])};Ue.foldPath=function(e,t,r,i){Li.checkArgument(f.Buffer.isBuffer(e),"leafData must be a Buffer"),Li.checkArgument(Number.isInteger(t)&&t>=0,"index must be a non-negative integer"),Li.checkArgument(Number.isInteger(r)&&r>0,"leafCount must be a positive integer"),Li.checkArgument(t<r,"index must be less than leafCount"),Li.checkArgument(Array.isArray(i),"path must be an array");for(var n=Ue.hashLeaf(e),o=t,a=r-1,s=0;s<i.length;s++){if(a===0)throw new Error("audit path is too long for a tree of "+r+" leaves");if((o&1)===1||o===a)for(n=Ue.hashNode(i[s],n);(o&1)===0&&o!==0;)o>>=1,a>>=1;else n=Ue.hashNode(n,i[s]);o>>=1,a>>=1}if(a!==0)throw new Error("audit path is too short for a tree of "+r+" leaves");return n};Ue.verifyInclusion=function(e,t,r,i,n){try{return f.Buffer.isBuffer(n)?Ue.foldPath(e,t,r,i).equals(n):!1}catch{return!1}};Ue.pathSides=function(e,t){if(Li.checkArgument(Number.isInteger(t)&&t>0,"leafCount must be a positive integer"),Li.checkArgument(Number.isInteger(e)&&e>=0&&e<t,"index must be within the tree"),t===1)return[];var r=Ue.largestPowerOfTwoBelow(t);return e<r?Ue.pathSides(e,r).concat(["right"]):Ue.pathSides(e-r,t-r).concat(["left"])};Ue.auditPath=function(e,t){var r=Ue.pathSides(t,e.length);return Ue.path(e,t).map(function(i,n){return{hash:i,side:r[n]}})};function zW(e,t){var r=f.Buffer.isBuffer(e)?e:null;if(!r){if(typeof e!="string")throw new Error("audit path node "+t+" has no hash");var i=e.slice(0,2)==="0x"?e.slice(2):e;if(!/^[0-9a-fA-F]*$/.test(i))throw new Error("audit path node "+t+" is not hex");r=f.Buffer.from(i,"hex")}if(r.length!==32)throw new Error("audit path node "+t+" is not 32 bytes");return r}Ue.rootFromPath=function(e,t){Li.checkArgument(f.Buffer.isBuffer(e),"leafData must be a Buffer"),Li.checkArgument(Array.isArray(t),"path must be an array");for(var r=Ue.hashLeaf(e),i=0;i<t.length;i++){var n=t[i];if(!n||typeof n!="object")throw new Error("audit path node "+i+" is not an object");var o=zW(n.hash,i);if(n.side==="left")r=Ue.hashNode(o,r);else if(n.side==="right")r=Ue.hashNode(r,o);else throw new Error("audit path node "+i+" has side "+JSON.stringify(n.side))}return r};Ue.verifyAuditPath=function(e,t,r){try{return f.Buffer.isBuffer(r)?Ue.rootFromPath(e,t).equals(r):!1}catch{return!1}};DC.exports=Ue});var GC=T((dce,VC)=>{"use strict";g();var KW=jc(),Wc=iw(),HC=aw(),_h=nw(),VW=ts(),zr=Ie(),de={};de.PROTOCOL="NotaryHash";de.VERSION=1;de.REFERENCE_VERSION="1.0";de.FORMAT={REFERENCE:"reference",LEGACY:"legacy"};de.MODE={FULL:"full",HYBRID:"hybrid"};de.ENCODING={HEX:"hex",BASE64:"base64",RAW:"raw",DER:"der"};de.ANCHOR_TYPE={DIRECT:"direct",BATCH:"batch"};de.DEFAULT_NETWORK="bsv-mainnet";var fw=1,qC={0:"full",1:"hybrid",2:"full"},jC=/^[0-9a-fA-F]*$/,GW=/^[A-Za-z0-9+/_-]*={0,2}$/;de.decodeBytes=function(e,t,r){if(r=r||"value",typeof e!="string")throw new Error(r+" must be a string");if(t===de.ENCODING.HEX){var i=e.slice(0,2)==="0x"?e.slice(2):e;if(i.length%2!==0||!jC.test(i))throw new Error(r+" must be a hex string");return f.Buffer.from(i,"hex")}if(t===de.ENCODING.BASE64){if(!GW.test(e))throw new Error(r+" must be base64");var n=e.replace(/=+$/,"");if(n.length!==e.length&&e.length%4!==0||n.length%4===1)throw new Error(r+" is not a valid base64 length");return f.Buffer.from(e,"base64")}throw new Error('encoding must be "hex" or "base64", not '+JSON.stringify(t))};function sw(e,t,r){if(!f.Buffer.isBuffer(e))throw new Error(r+" must be a Buffer of raw bytes, not "+typeof e);return t===de.ENCODING.BASE64?e.toString("base64"):e.toString("hex")}function cw(e,t){var r=f.Buffer.isBuffer(e)?e:de.decodeBytes(e,"hex",t);if(r.length!==32)throw new Error(t+" must be 32 bytes");return r.toString("hex")}function WW(e){if(e===de.MODE.FULL||e===de.MODE.HYBRID)return{mode:e,batch:!1};if(e===_h.MODE.FULL)return{mode:"full",batch:!1};if(e===_h.MODE.HYBRID)return{mode:"hybrid",batch:!1};if(e===_h.MODE.BATCH)return{mode:"full",batch:!0};throw e==="batch"?new Error('batch is an anchor type, not a mode: pass mode "full" or "hybrid" with a merkle proof'):new Error('mode is required: "full" or "hybrid"')}function YW(e){if(e===void 0)return de.ENCODING.HEX;if(e===de.ENCODING.HEX||e===de.ENCODING.BASE64)return e;if(e===de.ENCODING.RAW||e===de.ENCODING.DER)return de.ENCODING.HEX;throw new Error('encoding must be "hex" or "base64"')}function zC(e,t,r){if(!Array.isArray(e))throw new Error("merkle.path must be an array");var i=e.length>0&&e.every(function(u){return u&&typeof u=="object"&&!f.Buffer.isBuffer(u)&&"side"in u});if(i||e.length===0){var n=e.map(function(u,c){if(u.side!=="left"&&u.side!=="right")throw new Error("merkle.path["+c+'].side must be "left" or "right"');return{hash:cw(u.hash,"merkle.path["+c+"].hash"),side:u.side}});if(Number.isInteger(t)&&Number.isInteger(r)&&r>0&&t>=0&&t<r){var o=HC.pathSides(t,r);if(o.length!==n.length)throw new Error("merkle.leafIndex "+t+" in a tree of "+r+" leaves needs "+o.length+" path nodes; the path has "+n.length);for(var a=0;a<o.length;a++)if(o[a]!==n[a].side)throw new Error("merkle.leafIndex "+t+" disagrees with the path: node "+a+' is marked "'+n[a].side+'" but leaf '+t+" of "+r+' requires "'+o[a]+'"')}return n}var s=HC.pathSides(t,r);if(s.length!==e.length)throw new Error("merkle.path has "+e.length+" nodes; a tree of "+r+" leaves needs "+s.length+" for leaf "+t);return e.map(function(u,c){return{hash:cw(u,"merkle.path["+c+"]"),side:s[c]}})}function ZW(e){return zr.checkArgument(e&&typeof e=="object","batch certificates require a merkle inclusion proof"),zr.checkArgument(Number.isInteger(e.leafIndex)&&e.leafIndex>=0,"merkle.leafIndex must be a non-negative integer"),zr.checkArgument(Number.isInteger(e.leafCount)&&e.leafCount>e.leafIndex,"merkle.leafCount must be an integer greater than leafIndex"),{root:cw(e.root,"merkle.root"),leafIndex:e.leafIndex,leafCount:e.leafCount,path:zC(e.path,e.leafIndex,e.leafCount)}}function $W(e,t){zr.checkArgument(e&&typeof e=="object","anchor is required"),zr.checkArgument(typeof e.txid=="string","anchor.txid must be a string");var r=e.type||(t?de.ANCHOR_TYPE.BATCH:de.ANCHOR_TYPE.DIRECT);return zr.checkArgument(r===de.ANCHOR_TYPE.DIRECT||r===de.ANCHOR_TYPE.BATCH,'anchor.type must be "direct" or "batch"'),zr.checkArgument(r===de.ANCHOR_TYPE.BATCH===t,'anchor.type is "batch" exactly when a merkle inclusion proof is given'),{type:r,network:e.network||de.DEFAULT_NETWORK,txid:e.txid,vout:e.vout===void 0?0:e.vout,blockHeight:e.blockHeight===void 0?null:e.blockHeight,blockTime:e.blockTime===void 0?null:e.blockTime}}function XW(e){var t=WW(e.mode),r=t.batch||e.merkle!==void 0||!!(e.anchor&&e.anchor.type===de.ANCHOR_TYPE.BATCH);r&&zr.checkArgument(e.merkle&&typeof e.merkle=="object","batch certificates require a merkle inclusion proof");var i=YW(e.encoding),n=$W(e.anchor,r),o=e.createdAtUnix!==void 0?e.createdAtUnix:Wc.toUnixSeconds(e.createdAt===void 0?new Date:e.createdAt);zr.checkArgument(Number.isInteger(o)&&o>=0,"createdAtUnix must be a non-negative whole number of seconds");var a=Wc.proofHash({algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:e.payloadHash,publicKey:e.publicKey,signature:e.signature,createdAtUnix:o}),s={protocol:de.PROTOCOL,version:de.REFERENCE_VERSION,mode:t.mode,algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:sw(e.payloadHash,"hex","payloadHash"),publicKey:sw(e.publicKey,i,"publicKey"),signature:sw(e.signature,i,"signature"),encoding:i,proofHash:a.toString("hex"),createdAt:new Date(o*1e3).toISOString(),anchor:n};return r&&(s.merkle=ZW(e.merkle)),s}function uw(e,t){if(!f.Buffer.isBuffer(e))throw new Error(t+" must be a Buffer of raw bytes, not "+typeof e);return e.toString("hex")}function UC(e){zr.checkArgument(e.anchor&&typeof e.anchor=="object","anchor is required"),zr.checkArgument(typeof e.anchor.txid=="string","anchor.txid must be a string");var t=e.encoding||de.ENCODING.RAW;zr.checkArgument(t===de.ENCODING.RAW||t===de.ENCODING.DER,'encoding must be "raw" or "der"');var r=e.createdAt?e.createdAt instanceof Date?e.createdAt.toISOString():e.createdAt:new Date().toISOString(),i=Wc.toUnixSeconds(r),n=Wc.proofHash({algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:e.payloadHash,publicKey:e.publicKey,signature:e.signature,createdAtUnix:i}),o={protocol:de.PROTOCOL,version:fw,mode:e.mode,algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:uw(e.payloadHash,"payloadHash"),publicKey:uw(e.publicKey,"publicKey"),signature:uw(e.signature,"signature"),encoding:t,proofHash:n.toString("hex"),createdAt:r,anchor:{txid:e.anchor.txid,blockHeight:e.anchor.blockHeight}};return e.mode===_h.MODE.BATCH&&(zr.checkArgument(e.merkle&&typeof e.merkle=="object","batch certificates require a merkle inclusion proof"),o.merkle={root:e.merkle.root,leafIndex:e.merkle.leafIndex,leafCount:e.merkle.leafCount,path:e.merkle.path}),o}de.build=function(e){zr.checkArgument(e&&typeof e=="object","params is required");var t=e.format;return t===void 0?(VW({what:"NotaryHash.Certificate.build() without a format",since:"9.9.0",removeIn:"10.0.0",use:"NotaryHash.Certificate.build({ ...params, format: 'reference' })",why:"the default format is this library's own, which the BRC-220 reference implementation cannot verify"}),UC(e)):(zr.checkArgument(t===de.FORMAT.REFERENCE||t===de.FORMAT.LEGACY,"Unknown certificate format: "+t+". Expected 'reference' or 'legacy' (NotaryHash.Certificate.FORMAT)"),t===de.FORMAT.REFERENCE?XW(e):UC(e))};de.isLegacy=function(e){return!!e&&typeof e=="object"&&(e.version===fw||e.version===void 0&&typeof e.mode=="number")};de.normalize=function(e){if(!de.isLegacy(e))return e;var t=e.mode===_h.MODE.BATCH,r=Object.assign({},e);r.version=e.version===fw?de.REFERENCE_VERSION:e.version,r.mode=qC[e.mode]!==void 0?qC[e.mode]:e.mode,(e.encoding===de.ENCODING.RAW||e.encoding===de.ENCODING.DER)&&(r.encoding=de.ENCODING.HEX);var i=e.anchor&&typeof e.anchor=="object"?e.anchor:{};if(r.anchor={type:t?de.ANCHOR_TYPE.BATCH:de.ANCHOR_TYPE.DIRECT,network:i.network||de.DEFAULT_NETWORK,txid:i.txid,vout:i.vout===void 0?0:i.vout,blockHeight:i.blockHeight===void 0?null:i.blockHeight,blockTime:i.blockTime===void 0?null:i.blockTime},e.merkle&&typeof e.merkle=="object"){var n=e.merkle,o=n.path;try{o=zC(n.path,n.leafIndex,n.leafCount)}catch{}r.merkle={root:n.root,leafIndex:n.leafIndex,leafCount:n.leafCount,path:o}}return r};function KC(e){return{algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:de.decodeBytes(e.payloadHash,"hex","payloadHash"),publicKey:de.decodeBytes(e.publicKey,e.encoding,"publicKey"),signature:de.decodeBytes(e.signature,e.encoding,"signature")}}de.toSignatureInput=function(e){return zr.checkArgument(e&&typeof e=="object","certificate is required"),KC(de.normalize(e))};de.toProofInput=function(e){zr.checkArgument(e&&typeof e=="object","certificate is required");var t=de.normalize(e),r=KC(t);return r.createdAtUnix=Wc.toUnixSeconds(t.createdAt),r};de.recomputeProofHash=function(e){return Wc.proofHash(de.toProofInput(e))};de.proofHashMatches=function(e){try{if(!e||typeof e.proofHash!="string")return!1;var t=de.decodeBytes(e.proofHash,"hex","proofHash");return t.length!==32?!1:de.recomputeProofHash(e).equals(t)}catch{return!1}};de.REQUIRED_FIELDS=["protocol","version","mode","algorithm","hashAlgorithm","payloadHash","publicKey","signature","encoding","proofHash","createdAt","anchor"];function Im(e,t,r){if(e!==void 0){var i=typeof e=="string"&&e.slice(0,2)==="0x"?e.slice(2):e;typeof i!="string"||!jC.test(i)||i.length%2!==0?r.push(t+" must be a hex string"):i.length!==64&&r.push(t+" must be 32 bytes (64 hex chars)")}}function FC(e){return e===null||Number.isInteger(e)}de.validateShape=function(e){if(!e||typeof e!="object")return["certificate must be an object"];var t=de.normalize(e),r=[];if(de.REQUIRED_FIELDS.forEach(function(s){t[s]===void 0&&r.push("missing required field: "+s)}),typeof t.createdAt=="string"&&!de.isLegacy(e)){var i=null,n=new Date(t.createdAt);isNaN(n.getTime())||(i=new Date(Math.floor(n.getTime()/1e3)*1e3).toISOString()),i===null?r.push("createdAt is not a date: "+t.createdAt):t.createdAt!==i&&r.push("createdAt must be the canonical rendering of its second: expected "+i+", got "+t.createdAt)}if(t.protocol!==void 0&&t.protocol!==de.PROTOCOL&&r.push('protocol must be "'+de.PROTOCOL+'"'),t.version!==void 0&&t.version!==de.REFERENCE_VERSION&&r.push("unsupported version: "+JSON.stringify(t.version)),t.mode!==void 0&&t.mode!==de.MODE.FULL&&t.mode!==de.MODE.HYBRID&&r.push('mode must be "full" or "hybrid"'),["algorithm","hashAlgorithm"].forEach(function(s){t[s]!==void 0&&(typeof t[s]!="string"||t[s].length===0)&&r.push(s+" must be a non-empty string")}),Im(t.payloadHash,"payloadHash",r),Im(t.proofHash,"proofHash",r),t.encoding!==void 0&&(t.encoding!==de.ENCODING.HEX&&t.encoding!==de.ENCODING.BASE64?r.push('encoding must be "hex" or "base64"'):["publicKey","signature"].forEach(function(s){if(t[s]!==void 0)try{de.decodeBytes(t[s],t.encoding,s).length===0&&r.push(s+" must not be empty")}catch{r.push(s+" is not valid "+t.encoding)}})),t.createdAt!==void 0&&(typeof t.createdAt!="string"||isNaN(new Date(t.createdAt).getTime()))&&r.push("createdAt must be an ISO 8601 date"),t.anchor!==void 0){var o=t.anchor;!o||typeof o!="object"?r.push("anchor must be an object"):(o.type!==de.ANCHOR_TYPE.DIRECT&&o.type!==de.ANCHOR_TYPE.BATCH&&r.push('anchor.type must be "direct" or "batch"'),(typeof o.txid!="string"||!/^[0-9a-fA-F]{64}$/.test(o.txid))&&r.push("anchor.txid must be a 32-byte hex string"),o.vout!==void 0&&!(Number.isInteger(o.vout)&&o.vout>=0)&&r.push("anchor.vout must be a non-negative integer"),o.blockHeight!==void 0&&!FC(o.blockHeight)&&r.push("anchor.blockHeight must be an integer or null"),o.blockTime!==void 0&&!FC(o.blockTime)&&r.push("anchor.blockTime must be an integer or null"),o.type===de.ANCHOR_TYPE.BATCH&&t.merkle===void 0&&r.push("batch certificates require a merkle inclusion proof"))}if(t.merkle!==void 0){var a=t.merkle;!a||typeof a!="object"?r.push("merkle must be an object"):(Im(a.root,"merkle.root",r),Number.isInteger(a.leafIndex)&&a.leafIndex>=0||r.push("merkle.leafIndex must be a non-negative integer"),Number.isInteger(a.leafCount)&&a.leafCount>=1?Number.isInteger(a.leafIndex)&&a.leafIndex>=a.leafCount&&r.push("merkle.leafIndex must be less than leafCount"):r.push("merkle.leafCount must be a positive integer"),Array.isArray(a.path)?a.path.forEach(function(s,u){!s||typeof s!="object"||s.side!=="left"&&s.side!=="right"?r.push("merkle.path["+u+'] must be { hash, side: "left" | "right" }'):Im(s.hash,"merkle.path["+u+"].hash",r)}):r.push("merkle.path must be an array"))}return r};de.attachSPV=function(e,t){zr.checkArgument(e&&typeof e=="object","certificate is required"),zr.checkArgument(t&&typeof t=="object","spv envelope is required");var r=e.proofHash,i=Object.assign({},e,{spv:{rawTx:t.rawTx,blockHash:t.blockHash,blockHeight:t.blockHeight,merkleProof:t.merkleProof,format:t.format||"TSC"}});if(i.proofHash!==r)throw new Error("attaching the SPV envelope changed proofHash; this must never happen");return i};de.canonicalize=function(e){return KW.stringify(e)};VC.exports=de});var XC=T((gce,$C)=>{"use strict";g();var WC=Ke(),JW=dn(),YC=gt(),QW=sr(),ZC=Ie(),ba={},wh={};ba.register=function(e,t){return ZC.checkArgument(typeof e=="string"&&e.length>0,"algorithm must be a non-empty string"),ZC.checkArgument(t&&typeof t.verify=="function","suite must provide a verify(payloadHash, signature, publicKey) function"),wh[e]=t,ba};ba.get=function(e){return wh[e]};ba.list=function(){return Object.keys(wh).sort()};ba.unregister=function(e){return delete wh[e],ba};ba.verify=function(e,t,r,i){var n=wh[e];if(!n||!f.Buffer.isBuffer(t)||!f.Buffer.isBuffer(r)||!f.Buffer.isBuffer(i))return!1;try{return n.verify(t,r,i)===!0}catch{return!1}};ba.register("ECDSA-secp256k1",{verify:function(e,t,r){if(e.length!==32)return!1;var i;if(t.length===64)i=new YC(WC.fromBuffer(t.slice(0,32)),WC.fromBuffer(t.slice(32,64)));else if(t[0]===48)try{i=YC.fromDER(t)}catch{return!1}else return!1;var n;try{n=QW.fromBuffer(r)}catch{return!1}var o=new JW;return o.hashbuf=e,o.pubkey=n,o.sig=i,o.verify()===!0}});$C.exports=ba});var eL=T((vce,QC)=>{"use strict";g();var eY=zt(),hw=Le(),tY=xm(),rY=iw(),wo=nw(),Nr=GC(),iY=ts(),Am=XC(),dw=aw(),Zt={};Zt.Encoding=rY;Zt.Script=wo;Zt.Certificate=Nr;Zt.Suites=Am;Zt.Merkle=dw;Zt.MODE=wo.MODE;Zt.registerSuite=function(e,t){return Am.register(e,t)};function lw(e,t){if(f.Buffer.isBuffer(e)){if(e.length===0)throw new Error(t+" must not be empty");return e}return Nr.decodeBytes(e,"hex",t)}Zt.verifySignature=function(e){try{if(!e||typeof e!="object")return!1;var t=Nr.toSignatureInput(e);return Am.verify(t.algorithm,t.payloadHash,t.signature,t.publicKey)}catch{return!1}};Zt.verifySignatureOnly=function(e,t,r,i){var n=i||"ECDSA-secp256k1";return Am.verify(n,lw(e,"payloadHash"),lw(t,"signature"),lw(r,"publicKey"))};Zt.txidFromRawTx=function(e){var t=f.Buffer.isBuffer(e)?e:f.Buffer.from(e,"hex");return f.Buffer.from(hw.sha256sha256(t)).reverse().toString("hex")};Zt.recordFromRawTx=function(e,t){try{var r=new eY(f.Buffer.isBuffer(e)?e.toString("hex"):e);if(t!=null){if(!Number.isInteger(t)||t<0||t>=r.outputs.length)return null;var i=r.outputs[t].script;return wo.isNotaryHash(i)?wo.parse(i):null}for(var n=0;n<r.outputs.length;n++){var o=r.outputs[n].script;if(wo.isNotaryHash(o))return wo.parse(o)}return null}catch{return null}};Zt.recordMatchesCertificate=function(e,t){try{if(!e||!t)return!1;var r=Nr.normalize(t),i=e.mode===wo.MODE.BATCH,n=!!(r.anchor&&r.anchor.type===Nr.ANCHOR_TYPE.BATCH);if(i||n)return!i||!n||!r.merkle||!e.merkleRoot.equals(Nr.decodeBytes(r.merkle.root,"hex","merkle.root"))?!1:e.leafCount===r.merkle.leafCount;var o=r.mode===Nr.MODE.FULL?wo.MODE.FULL:r.mode===Nr.MODE.HYBRID?wo.MODE.HYBRID:-1;if(e.mode!==o)return!1;var a=Nr.toProofInput(r);return e.algorithm!==a.algorithm||e.hashAlgorithm!==a.hashAlgorithm||!e.payloadHash.equals(a.payloadHash)||!e.proofHash.equals(Nr.decodeBytes(r.proofHash,"hex","proofHash"))?!1:e.mode===wo.MODE.HYBRID?e.publicKeyHash.equals(hw.sha256(a.publicKey))&&e.signatureHash.equals(hw.sha256(a.signature)):e.publicKey.equals(a.publicKey)&&e.signature.equals(a.signature)}catch{return!1}};Zt.verifyAnchorSPV=function(e,t){var r=[];t=t||{};try{var i=Nr.normalize(e),n=i&&i.spv;if(!n)return{valid:!1,errors:["certificate has no SPV envelope"]};if(!t.header)return{valid:!1,errors:["a block header is required: the verifier must obtain one itself rather than trust the certificate or its issuer for the anchor"]};var o=Zt.txidFromRawTx(n.rawTx);(!i.anchor||o!==String(i.anchor.txid).toLowerCase())&&r.push("rawTx does not hash to anchor.txid");var a=Zt.recordFromRawTx(n.rawTx,i.anchor&&i.anchor.vout);a?Zt.recordMatchesCertificate(a,i)||r.push("on-chain record does not match the certificate"):r.push("no NotaryHash record at anchor.vout in rawTx"),t.requirePow!==!1&&t.minWork===void 0&&t.minDifficulty===void 0&&(t.blockHashAtHeight===void 0||t.blockHashAtHeight===null)&&iY({what:"NotaryHash.verify() with a header but no minWork or blockHashAtHeight",since:"9.13.0",removeIn:"10.0.0",use:"verify(certificate, { header, blockHashAtHeight }) with the block hash your own chain source has at spv.blockHeight, or { header, minDifficulty } with the difficulty you require",why:"the proof-of-work limit only rules out a free forgery: a header at difficulty 1 costs about 4.3e9 hashes, while a real mainnet header carries about 1e20"});var s=n.merkleProof||{},u;try{u=tY.verifyTxInclusion({header:t.header,txid:o,index:s.index,nodes:s.nodes,requirePow:t.requirePow!==!1,powLimit:t.powLimit,minWork:t.minWork,minDifficulty:t.minDifficulty})}catch(_){return r.push(_.message),{valid:!1,errors:r}}if(u.rootMatches!==!0&&r.push("merkle proof does not fold to the header's root"),t.requirePow!==!1&&(u.powValid!==!0&&r.push("block header failed proof-of-work validation"),u.targetAllowed!==!0&&r.push("block header declares a target easier than the proof-of-work limit, so its work proves nothing"),u.workSufficient!==!0&&r.push("block header carries less work than required: "+u.work)),n.blockHash!==void 0&&String(n.blockHash).toLowerCase()!==String(u.blockHash).toLowerCase()&&r.push("the supplied header is not the block the SPV envelope names"),t.height!==void 0&&t.height!==n.blockHeight&&r.push("the supplied header is not at the height the SPV envelope names"),t.blockHashAtHeight!==void 0&&t.blockHashAtHeight!==null){var c=f.Buffer.isBuffer(t.blockHashAtHeight)?t.blockHashAtHeight.toString("hex"):String(t.blockHashAtHeight).replace(/^0x/,"");/^[0-9a-fA-F]{64}$/.test(c)?c.toLowerCase()!==String(u.blockHash).toLowerCase()&&r.push("the header is not the block the caller's chain has at that height: it may be orphaned"):r.push("blockHashAtHeight must be a 32-byte block hash")}var l=f.Buffer.isBuffer(t.header)?t.header:f.Buffer.from(String(t.header).replace(/^0x/,""),"hex");if(l.length===80&&i.anchor){if(i.anchor.blockTime!==void 0&&i.anchor.blockTime!==null){var p=l.readUInt32LE(68);Number(i.anchor.blockTime)!==p&&r.push("anchor.blockTime "+i.anchor.blockTime+" is not the time in the block header ("+p+")")}i.anchor.blockHeight!==void 0&&i.anchor.blockHeight!==null&&n.blockHeight!==void 0&&n.blockHeight!==null&&Number(i.anchor.blockHeight)!==Number(n.blockHeight)&&r.push("anchor.blockHeight "+i.anchor.blockHeight+" does not equal spv.blockHeight "+n.blockHeight)}t.network!==void 0&&t.network!==null&&i.anchor&&i.anchor.network!==void 0&&i.anchor.network!==null&&String(i.anchor.network)!==String(t.network)&&r.push('anchor.network is "'+i.anchor.network+'" but the verifier expects "'+t.network+'"');var d=n.merkleProof;if(d&&Array.isArray(d.nodes)&&d.index!==void 0&&d.index!==null){var v=Math.pow(2,d.nodes.length);(!Number.isInteger(Number(d.index))||Number(d.index)<0||Number(d.index)>=v)&&r.push("spv.merkleProof.index "+d.index+" does not fit a path of "+d.nodes.length+" nodes, which addresses at most "+v+" leaves")}return{valid:r.length===0,errors:r}}catch(_){return{valid:!1,errors:["anchor verification error: "+_.message]}}};Zt.verifyBatchInclusion=function(e){try{var t=Nr.normalize(e);return!t||!t.anchor||t.anchor.type!==Nr.ANCHOR_TYPE.BATCH?{valid:!1,errors:['certificate is not batch-anchored (anchor.type is not "batch")']}:t.merkle?JC(t,"merkle inclusion proof does not fold to the batch root"):{valid:!1,errors:["batch certificate has no merkle proof"]}}catch(r){return{valid:!1,errors:["batch inclusion error: "+r.message]}}};function JC(e,t){try{var r=e.merkle,i=Nr.decodeBytes(e.proofHash,"hex","proofHash"),n=Nr.decodeBytes(r.root,"hex","merkle.root");if(Number.isInteger(r.leafIndex)&&Number.isInteger(r.leafCount)&&r.leafCount>0&&r.leafIndex>=0&&r.leafIndex<r.leafCount){var o=dw.pathSides(r.leafIndex,r.leafCount),a=(r.path||[]).map(function(u){return u&&typeof u=="object"&&!f.Buffer.isBuffer(u)?u.side:void 0});if(o.length!==a.length)return{valid:!1,errors:["merkle.leafIndex "+r.leafIndex+" in a tree of "+r.leafCount+" leaves needs "+o.length+" path nodes; the path has "+a.length]};for(var s=0;s<o.length;s++)if(a[s]!==void 0&&a[s]!==o[s])return{valid:!1,errors:["merkle.leafIndex "+r.leafIndex+" disagrees with the path: node "+s+' is marked "'+a[s]+'" but leaf '+r.leafIndex+" of "+r.leafCount+' requires "'+o[s]+'"']}}return dw.verifyAuditPath(i,r.path,n)?{valid:!0,errors:[]}:{valid:!1,errors:[t]}}catch(u){return{valid:!1,errors:["batch inclusion error: "+u.message]}}}Zt.verify=function(e,t){t=t||{};var r={valid:!1,shape:[],signature:!1,proofIntegrity:!1,anchor:!1,errors:[]};if(r.legacy=Nr.isLegacy(e),e=Nr.normalize(e),r.shape=Nr.validateShape(e),r.shape.length)return r.errors=r.shape.slice(),r;if(r.signature=Zt.verifySignature(e),r.signature||r.errors.push("signature does not verify"),r.proofIntegrity=Nr.proofHashMatches(e),r.proofIntegrity||r.errors.push("proofHash does not match the certificate fields"),t.skipAnchor)return r.errors.push("anchor not checked (skipAnchor): this certificate is NOT verified"),r;var i=Zt.verifyAnchorSPV(e,t);r.anchor=i.valid,i.errors.forEach(function(a){r.errors.push(a)}),r.batchInclusion=!0;var n=!!(e.anchor&&e.anchor.type===Nr.ANCHOR_TYPE.BATCH);if(n||e.merkle!==void 0){var o=n?Zt.verifyBatchInclusion(e):JC(e,"merkle proof does not fold to its stated root");r.batchInclusion=o.valid,o.errors.forEach(function(a){r.errors.push(a)})}return r.valid=r.signature&&r.proofIntegrity&&r.anchor&&r.batchInclusion,r};Zt.isValid=function(e,t){return Zt.verify(e,t).valid===!0};QC.exports=Zt});var oL=T((bce,nL)=>{"use strict";g();var nY=Le(),Tm=at(),oY=ei(),aY=sr(),tL=Ni(),rL=Nn(),pw=dn(),iL=gt(),sY=nY.sha256sha256,uY=ni(),Yc=Ie(),er=function e(t){return this instanceof e?(Yc.checkArgument(Tm.isString(t)||f.Buffer.isBuffer(t),"First argument should be a string or Buffer"),Tm.isString(t)&&(this.messageBuffer=f.Buffer.from(t)),f.Buffer.isBuffer(t)&&(this.messageBuffer=t),this):new e(t)};er.sign=function(e,t){return new er(e).sign(t)};er.verify=function(e,t,r){return new er(e).verify(t,r)};er.MAGIC_BYTES=f.Buffer.from(`Bitcoin Signed Message:
75
+ `)};cN.exports=St});var hN=T((fue,lN)=>{"use strict";g();var um=Ki(),X9=am(),Ii=Le(),cue=Ke(),ai=Ie(),J9=jc();function Wt(e){return this instanceof Wt?(this.options=e||{},this):new Wt(e)}Wt.createMerkleTree=function(e,t){ai.checkArgument(e&&typeof e=="object","Invalid credential");var r=Wt._extractFields(e),i=t||um.getRandomBuffer(32).toString("hex"),n=r.map(function(a,s){var u=Ii.sha256(f.Buffer.from(i+":"+s+":"+a.path,"utf8")).toString("hex"),c=a.path+":"+JSON.stringify(a.value)+":"+u;return{path:a.path,value:a.value,hash:Ii.sha256(f.Buffer.from(c,"utf8")).toString("hex"),salt:u}}),o=Wt._buildMerkleTree(n.map(a=>a.hash));return{salt:i,leaves:n,tree:o,root:o[o.length-1][0]}};Wt.generateSelectiveProof=function(e,t,r){ai.checkArgument(e&&typeof e=="object","Invalid credential"),typeof t=="string"&&(t=[t]),ai.checkArgument(Array.isArray(t),"Disclose paths must be array");var i=Wt.createMerkleTree(e,r),n=[],o=[];return t.forEach(function(a){var s=i.leaves.find(l=>l.path===a);if(s){n.push(s);var u=i.leaves.findIndex(l=>l.path===a),c=Wt._generateMerkleProof(i.tree,u);o.push({path:a,leafIndex:u,proof:c})}}),{type:"SelectiveDisclosureProof",created:new Date().toISOString(),proofPurpose:"selectiveDisclosure",verificationMethod:e.proof?e.proof.verificationMethod:null,credentialRoot:i.root,credentialHash:e.rootHash||X9._hashCredential(e).toString("hex"),disclosedFields:n.map(function(a){return{path:a.path,value:a.value,hash:a.hash,salt:a.salt}}),merkleProofs:o}};Wt.verifySelectiveProof=function(e,t){try{ai.checkArgument(e&&typeof e=="object","Invalid proof"),ai.checkArgument(typeof t=="string","Expected root must be string");for(var r={valid:!1,errors:[],verifiedFields:[]},i=0;i<e.disclosedFields.length;i++){var n=e.disclosedFields[i],o=e.merkleProofs.find(c=>c.path===n.path);if(!o){r.errors.push("Missing Merkle proof for field: "+n.path);continue}if(typeof n.salt!="string"||!n.salt){r.errors.push("Missing per-field salt for: "+n.path);continue}var a=n.path+":"+JSON.stringify(n.value)+":"+n.salt,s=Ii.sha256(f.Buffer.from(a,"utf8")).toString("hex");if(s!==n.hash){r.errors.push("Field hash mismatch for: "+n.path);continue}var u=Wt._verifyMerkleProof(n.hash,o.proof,t);if(!u){r.errors.push("Invalid Merkle proof for: "+n.path);continue}r.verifiedFields.push({path:n.path,value:n.value,verified:!0})}return r.valid=r.errors.length===0&&r.verifiedFields.length>0,r}catch(c){return{valid:!1,errors:["Proof verification failed: "+c.message],verifiedFields:[]}}};Wt.generateAgeProof=function(e,t,r){ai.checkArgument(e instanceof Date,"Birth date must be Date object"),ai.checkArgument(typeof t=="number","Minimum age must be number"),r=r||um.getRandomBuffer(32).toString("hex");var i=new Date,n=Math.floor((i-e)/(365.25*24*60*60*1e3));if(n<t)throw new Error("Age requirement not met");var o=e.toISOString().split("T")[0],a=Ii.sha256(f.Buffer.from(o+":"+r,"utf8")).toString("hex"),s={minimumAge:t,ageAttestation:n>=t,timestamp:i.toISOString(),salt:r},u=Ii.sha256(f.Buffer.from(JSON.stringify(s),"utf8")).toString("hex");return{type:"AgeProof",created:new Date().toISOString(),proofPurpose:"ageVerification",minimumAge:t,meetsRequirement:!0,birthDateCommitment:a,ageProofHash:u,challengeResponse:Wt._generateAgeChallenge(e,t,r),opening:{birthDate:o,salt:r}}};Wt.verifyAgeProof=function(e,t,r){try{if(ai.checkArgument(e&&typeof e=="object","Invalid proof"),ai.checkArgument(typeof t=="number","Required age must be number"),e.type!=="AgeProof"||e.minimumAge!==t||!r||typeof r!="object")return!1;var i=r.birthDate;if(typeof i=="string"&&(i=new Date(i)),!(i instanceof Date)||isNaN(i.getTime())||typeof r.salt!="string")return!1;var n=i.toISOString().split("T")[0],o=Ii.sha256(f.Buffer.from(n+":"+r.salt,"utf8")).toString("hex");if(o!==e.birthDateCommitment)return!1;var a=Math.floor((Date.now()-i.getTime())/(365.25*24*60*60*1e3));return a>=t}catch{return!1}};Wt.generateRangeProof=function(e,t,r,i){ai.checkArgument(typeof e=="number","Value must be number"),ai.checkArgument(typeof t=="number","Min must be number"),ai.checkArgument(typeof r=="number","Max must be number"),ai.checkArgument(e>=t&&e<=r,"Value not in range"),i=i||um.getRandomBuffer(32).toString("hex");var n=Ii.sha256(f.Buffer.from(e.toString()+":"+i,"utf8")).toString("hex"),o={min:t,max:r,inRange:!0,timestamp:new Date().toISOString(),salt:i},a=Ii.sha256(f.Buffer.from(JSON.stringify(o),"utf8")).toString("hex");return{type:"RangeProof",created:new Date().toISOString(),proofPurpose:"rangeVerification",range:{min:t,max:r},valueCommitment:n,proofHash:a,inRange:!0,opening:{value:e,salt:i}}};Wt.verifyRangeProof=function(e,t,r,i){try{if(ai.checkArgument(e&&typeof e=="object","Invalid proof"),e.type!=="RangeProof"||!e.range||e.range.min!==t||e.range.max!==r||!i||typeof i!="object"||typeof i.value!="number"||typeof i.salt!="string")return!1;var n=Ii.sha256(f.Buffer.from(i.value.toString()+":"+i.salt,"utf8")).toString("hex");return n!==e.valueCommitment?!1:i.value>=t&&i.value<=r}catch{return!1}};Wt._extractFields=function(e,t){t=t||"";var r=[];return Object.keys(e).forEach(function(i){var n=t?t+"."+i:i,o=e[i];o&&typeof o=="object"&&!Array.isArray(o)&&!(o instanceof Date)?r=r.concat(Wt._extractFields(o,n)):r.push({path:n,value:o})}),r};Wt._buildMerkleTree=function(e){if(e.length===0)throw new Error("Cannot build tree from empty leaves");for(var t=[e];t[t.length-1].length>1;){for(var r=t[t.length-1],i=[],n=0;n<r.length;n+=2){var o=r[n],a=n+1<r.length?r[n+1]:o,s=o+a,u=Ii.sha256(f.Buffer.from(s,"hex")).toString("hex");i.push(u)}t.push(i)}return t};Wt._generateMerkleProof=function(e,t){for(var r=[],i=t,n=0;n<e.length-1;n++){var o=e[n],a=i%2===0,s=a?i+1:i-1;s<o.length&&r.push({hash:o[s],isLeft:!a}),i=Math.floor(i/2)}return r};Wt._verifyMerkleProof=function(e,t,r){for(var i=e,n=0;n<t.length;n++){var o=t[n],a=o.isLeft?o.hash+i:i+o.hash;i=Ii.sha256(f.Buffer.from(a,"hex")).toString("hex")}return i===r};Wt._generateAgeChallenge=function(e,t,r){var i=Ii.sha256(f.Buffer.from(e.toISOString()+t+r,"utf8"));return i.toString("hex")};function dh(e,t){var r=t||"value",i=typeof e;if(!(e===null||i==="boolean"||i==="string"))if(i==="number"){if(!isFinite(e))throw new Error(r+" must be a finite number")}else if(Array.isArray(e))for(var n=0;n<e.length;n++){if(e[n]===void 0)throw new Error(r+"["+n+"] is undefined");dh(e[n],r+"["+n+"]")}else if(i==="object"){if(Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==null)throw new Error(r+" must be a plain object");for(var o=Object.keys(e),a=0;a<o.length;a++){if(e[o[a]]===void 0)throw new Error(r+"."+o[a]+" is undefined");dh(e[o[a]],r+"."+o[a])}}else throw new Error(r+" is not a permitted type: "+i);return J9.stringify(e)}Wt.generateMembershipProof=function(e,t,r){ai.checkArgument(Array.isArray(e),"Set must be array");var i=e.map(function(s,u){return dh(s,"set["+u+"]")}),n=dh(t);ai.checkArgument(i.indexOf(n)!==-1,"Value not in set"),r=r||um.getRandomBuffer(32).toString("hex");var o=i.map(function(s){return Ii.sha256(f.Buffer.from(s+":"+r,"utf8")).toString("hex")}),a=Ii.sha256(f.Buffer.from(n+":"+r,"utf8")).toString("hex");return{type:"MembershipProof",created:new Date().toISOString(),proofPurpose:"membershipVerification",setCommitments:o,valueCommitment:a,isMember:!0,salt:r}};Wt.verifyMembershipProof=function(e,t,r){try{if(ai.checkArgument(e&&typeof e=="object","Invalid proof"),e.type!=="MembershipProof"||!Array.isArray(e.setCommitments)||!Array.isArray(r)||r.length===0||!t||typeof t!="object"||typeof t.salt!="string"||!("value"in t))return!1;var i=function(a,s){return Ii.sha256(f.Buffer.from(dh(a,s)+":"+t.salt,"utf8")).toString("hex")},n=r.map(function(a,s){return i(a,"set["+s+"]")});if(n.length!==e.setCommitments.length)return!1;for(var o=0;o<n.length;o++)if(n[o]!==e.setCommitments[o])return!1;return i(t.value,"opening.value")!==e.valueCommitment?!1:n.indexOf(e.valueCommitment)!==-1}catch{return!1}};lN.exports=Wt});var L_=T((hue,yN)=>{"use strict";g();var kr=at(),dN=Ie(),pN=Ke(),Q9=Tc(),cm=Pc(),gN=Le(),fm=gh(),cu=ca(),C_=un(),mN=sr(),vN=pi(),ph=vN,qn=vN.HDPublicKey,lm=fa(),us=ni();function re(e){if(e instanceof re)return e;if(!(this instanceof re))return new re(e);if(e)if(kr.isString(e)||f.Buffer.isBuffer(e)){var t=re.getSerializedError(e);if(t){if(f.Buffer.isBuffer(e)&&!re.getSerializedError(e.toString()))return this._buildFromSerialized(e.toString());if(t instanceof qn.ArgumentIsPrivateExtended)return new fm(e).hdPublicKey;throw t}else return this._buildFromSerialized(e)}else{if(kr.isObject(e))return e instanceof fm?this._buildFromPrivate(e):this._buildFromObject(e);throw new qn.UnrecognizedArgument(e)}else throw new qn.MustSupplyArgument}re.fromHDPrivateKey=function(e){return new re(e)};re.isValidPath=function(e){if(kr.isString(e)){var t=fm._getDerivationIndexes(e);return t!==null&&kr.every(t,re.isValidPath)}return kr.isNumber(e)?e>=0&&e<re.Hardened:!1};re.prototype.derive=function(){throw new Error("derive has been deprecated. use deriveChild or, for the old way, deriveNonCompliantChild.")};re.prototype.deriveChild=function(e,t){if(kr.isNumber(e))return this._deriveWithNumber(e,t);if(kr.isString(e))return this._deriveFromString(e);throw new qn.InvalidDerivationArgument(e)};re.prototype._deriveWithNumber=function(e,t){if(e>=re.Hardened||t)throw new qn.InvalidIndexCantDeriveHardened;if(e<0)throw new qn.InvalidPath(e);var r=us.integerAsBuffer(e),i=f.Buffer.concat([this.publicKey.toBuffer(),r]),n=gN.sha512hmac(i,this._buffers.chainCode),o=pN.fromBuffer(n.slice(0,32),{size:32}),a=n.slice(32,64),s;try{s=mN.fromPoint(C_.getG().mul(o).add(this.publicKey.point))}catch{return this._deriveWithNumber(e+1)}var u=new re({network:this.network,depth:this.depth+1,parentFingerPrint:this.fingerPrint,childIndex:e,chainCode:a,publicKey:s});return u};re.prototype._deriveFromString=function(e){if(kr.includes(e,"'"))throw new qn.InvalidIndexCantDeriveHardened;if(!re.isValidPath(e))throw new qn.InvalidPath(e);var t=fm._getDerivationIndexes(e),r=t.reduce(function(i,n){return i._deriveWithNumber(n)},this);return r};re.isValidSerialized=function(e,t){return kr.isNull(re.getSerializedError(e,t))};re.getSerializedError=function(e,t){if(!(kr.isString(e)||f.Buffer.isBuffer(e)))return new qn.UnrecognizedArgument("expected buffer or string");if(!Q9.validCharacters(e))return new ph.InvalidB58Char("(unknown)",e);try{e=cm.decode(e)}catch{return new ph.InvalidB58Checksum(e)}if(e.length!==re.DataSize)return new qn.InvalidLength(e);if(!kr.isUndefined(t)){var r=re._validateNetwork(e,t);if(r)return r}var i=e.readUInt32BE(0);return i===cu.livenet.xprivkey||i===cu.testnet.xprivkey?new qn.ArgumentIsPrivateExtended:null};re._validateNetwork=function(e,t){var r=cu.get(t);if(!r)return new ph.InvalidNetworkArgument(t);var i=e.slice(re.VersionStart,re.VersionEnd);return i.readUInt32BE(0)!==r.xpubkey?new ph.InvalidNetwork(i):null};re.prototype._buildFromPrivate=function(e){var t=kr.clone(e._buffers),r=C_.getG().mul(pN.fromBuffer(t.privateKey));return t.publicKey=C_.pointToCompressed(r),t.version=us.integerAsBuffer(cu.get(t.version.readUInt32BE(0)).xpubkey),t.privateKey=void 0,t.checksum=void 0,t.xprivkey=void 0,this._buildFromBuffers(t)};re.prototype._buildFromObject=function(e){var t={version:e.network?us.integerAsBuffer(cu.get(e.network).xpubkey):e.version,depth:kr.isNumber(e.depth)?f.Buffer.from([e.depth&255]):e.depth,parentFingerPrint:kr.isNumber(e.parentFingerPrint)?us.integerAsBuffer(e.parentFingerPrint):e.parentFingerPrint,childIndex:kr.isNumber(e.childIndex)?us.integerAsBuffer(e.childIndex):e.childIndex,chainCode:kr.isString(e.chainCode)?f.Buffer.from(e.chainCode,"hex"):e.chainCode,publicKey:kr.isString(e.publicKey)?f.Buffer.from(e.publicKey,"hex"):f.Buffer.isBuffer(e.publicKey)?e.publicKey:e.publicKey.toBuffer(),checksum:kr.isNumber(e.checksum)?us.integerAsBuffer(e.checksum):e.checksum};return this._buildFromBuffers(t)};re.prototype._buildFromSerialized=function(e){var t=cm.decode(e),r={version:t.slice(re.VersionStart,re.VersionEnd),depth:t.slice(re.DepthStart,re.DepthEnd),parentFingerPrint:t.slice(re.ParentFingerPrintStart,re.ParentFingerPrintEnd),childIndex:t.slice(re.ChildIndexStart,re.ChildIndexEnd),chainCode:t.slice(re.ChainCodeStart,re.ChainCodeEnd),publicKey:t.slice(re.PublicKeyStart,re.PublicKeyEnd),checksum:t.slice(re.ChecksumStart,re.ChecksumEnd),xpubkey:e};return this._buildFromBuffers(r)};re.prototype._buildFromBuffers=function(e){re._validateBufferArguments(e),us.defineImmutable(this,{_buffers:e});var t=[e.version,e.depth,e.parentFingerPrint,e.childIndex,e.chainCode,e.publicKey],r=f.Buffer.concat(t),i=cm.checksum(r);if(!e.checksum||!e.checksum.length)e.checksum=i;else if(e.checksum.toString("hex")!==i.toString("hex"))throw new ph.InvalidB58Checksum(r,i);var n=cu.get(e.version.readUInt32BE(0)),o;o=cm.encode(f.Buffer.concat(t)),e.xpubkey=f.Buffer.from(o);var a=new mN(e.publicKey,{network:n}),s=re.ParentFingerPrintSize,u=gN.sha256ripemd160(a.toBuffer()).slice(0,s);return us.defineImmutable(this,{xpubkey:o,network:n,depth:e.depth[0],publicKey:a,fingerPrint:u}),this};re._validateBufferArguments=function(e){var t=function(r,i){var n=e[r];lm(f.Buffer.isBuffer(n),r+" argument is not a buffer, it's "+typeof n),lm(n.length===i,r+" has not the expected size: found "+n.length+", expected "+i)};t("version",re.VersionSize),t("depth",re.DepthSize),t("parentFingerPrint",re.ParentFingerPrintSize),t("childIndex",re.ChildIndexSize),t("chainCode",re.ChainCodeSize),t("publicKey",re.PublicKeySize),e.checksum&&e.checksum.length&&t("checksum",re.CheckSumSize)};re.fromString=function(e){return dN.checkArgument(kr.isString(e),"No valid string was provided"),new re(e)};re.fromObject=function(e){return dN.checkArgument(kr.isObject(e),"No valid argument was provided"),new re(e)};re.prototype.toString=function(){return this.xpubkey};re.prototype.inspect=function(){return"<HDPublicKey: "+this.xpubkey+">"};re.prototype.toObject=re.prototype.toJSON=function(){return{network:cu.get(this._buffers.version.readUInt32BE(0)).name,depth:this._buffers.depth[0],fingerPrint:this.fingerPrint.readUInt32BE(0),parentFingerPrint:this._buffers.parentFingerPrint.readUInt32BE(0),childIndex:this._buffers.childIndex.readUInt32BE(0),chainCode:this._buffers.chainCode.toString("hex"),publicKey:this.publicKey.toString(),checksum:this._buffers.checksum.readUInt32BE(0),xpubkey:this.xpubkey}};re.fromBuffer=function(e){return new re(e)};re.fromHex=function(e){return re.fromBuffer(f.Buffer.from(e,"hex"))};re.prototype.toBuffer=function(){return f.Buffer.from(this._buffers.xpubkey)};re.prototype.toHex=function(){return this.toBuffer().toString("hex")};re.Hardened=2147483648;re.RootElementAlias=["m","M"];re.VersionSize=4;re.DepthSize=1;re.ParentFingerPrintSize=4;re.ChildIndexSize=4;re.ChainCodeSize=32;re.PublicKeySize=33;re.CheckSumSize=4;re.DataSize=78;re.SerializedByteSize=82;re.VersionStart=0;re.VersionEnd=re.VersionStart+re.VersionSize;re.DepthStart=re.VersionEnd;re.DepthEnd=re.DepthStart+re.DepthSize;re.ParentFingerPrintStart=re.DepthEnd;re.ParentFingerPrintEnd=re.ParentFingerPrintStart+re.ParentFingerPrintSize;re.ChildIndexStart=re.ParentFingerPrintEnd;re.ChildIndexEnd=re.ChildIndexStart+re.ChildIndexSize;re.ChainCodeStart=re.ChildIndexEnd;re.ChainCodeEnd=re.ChainCodeStart+re.ChainCodeSize;re.PublicKeyStart=re.ChainCodeEnd;re.PublicKeyEnd=re.PublicKeyStart+re.PublicKeySize;re.ChecksumStart=re.PublicKeyEnd;re.ChecksumEnd=re.ChecksumStart+re.CheckSumSize;lm(re.PublicKeyEnd===re.DataSize);lm(re.ChecksumEnd===re.SerializedByteSize);yN.exports=re});var gh=T((pue,EN)=>{"use strict";g();var hm=fa(),vh=rr(),pr=at(),_N=Ie(),wN=Ke(),eW=Tc(),mh=Pc(),M_=Le(),fu=ca(),tW=un(),SN=ei(),rW=Ki(),zc=pi(),yo=zc.HDPrivateKey,vo=ni(),iW=128,bN=1/8,nW=512;function Z(e){if(e instanceof Z)return e;if(!(this instanceof Z))return new Z(e);if(!e)return this._generateRandomly();if(fu.get(e))return this._generateRandomly(e);if(pr.isString(e)||f.Buffer.isBuffer(e))if(Z.isValidSerialized(e))this._buildFromSerialized(e);else if(vo.isValidJSON(e))this._buildFromJSON(e);else if(f.Buffer.isBuffer(e)&&Z.isValidSerialized(e.toString()))this._buildFromSerialized(e.toString());else throw Z.getSerializedError(e);else if(pr.isObject(e))this._buildFromObject(e);else throw new yo.UnrecognizedArgument(e)}Z.fromRandom=function(e){return new Z(e)};Z.isValidPath=function(e,t){if(pr.isString(e)){var r=Z._getDerivationIndexes(e);return r!==null&&pr.every(r,Z.isValidPath)}return pr.isNumber(e)?(e<Z.Hardened&&t===!0&&(e+=Z.Hardened),e>=0&&e<Z.MaxIndex):!1};Z._getDerivationIndexes=function(e){var t=e.split("/");if(pr.includes(Z.RootElementAlias,e))return[];if(!pr.includes(Z.RootElementAlias,t[0]))return null;var r=t.slice(1).map(function(i){var n=i.slice(-1)==="'";if(n&&(i=i.slice(0,-1)),!i||i[0]==="-")return NaN;var o=+i;return n&&(o+=Z.Hardened),o});return pr.some(r,isNaN)?null:r};Z.prototype.derive=function(){throw new Error("derive has been deprecated. use deriveChild or, for the old way, deriveNonCompliantChild.")};Z.prototype.deriveChild=function(e,t){if(pr.isNumber(e))return this._deriveWithNumber(e,t);if(pr.isString(e))return this._deriveFromString(e);throw new yo.InvalidDerivationArgument(e)};Z.prototype.deriveNonCompliantChild=function(e,t){if(pr.isNumber(e))return this._deriveWithNumber(e,t,!0);if(pr.isString(e))return this._deriveFromString(e,!0);throw new yo.InvalidDerivationArgument(e)};Z.prototype._deriveWithNumber=function(e,t,r){if(!Z.isValidPath(e,t))throw new yo.InvalidPath(e);t=e>=Z.Hardened?!0:t,e<Z.Hardened&&t===!0&&(e+=Z.Hardened);var i=vo.integerAsBuffer(e),n;if(t&&r){var o=this.privateKey.bn.toBuffer();n=f.Buffer.concat([vh.Buffer.from([0]),o,i])}else if(t){var a=this.privateKey.bn.toBuffer({size:32});hm(a.length===32,"length of private key buffer is expected to be 32 bytes"),n=f.Buffer.concat([vh.Buffer.from([0]),a,i])}else n=f.Buffer.concat([this.publicKey.toBuffer(),i]);var s=M_.sha512hmac(n,this._buffers.chainCode),u=wN.fromBuffer(s.slice(0,32),{size:32}),c=s.slice(32,64),l=u.add(this.privateKey.toBigNumber()).umod(tW.getN()).toBuffer({size:32});if(!SN.isValid(l))return this._deriveWithNumber(e+1,null,r);var p=new Z({network:this.network,depth:this.depth+1,parentFingerPrint:this.fingerPrint,childIndex:e,chainCode:c,privateKey:l});return p};Z.prototype._deriveFromString=function(e,t){if(!Z.isValidPath(e))throw new yo.InvalidPath(e);var r=Z._getDerivationIndexes(e),i=r.reduce(function(n,o){return n._deriveWithNumber(o,null,t)},this);return i};Z.isValidSerialized=function(e,t){return!Z.getSerializedError(e,t)};Z.getSerializedError=function(e,t){if(!(pr.isString(e)||f.Buffer.isBuffer(e)))return new yo.UnrecognizedArgument("Expected string or buffer");if(!eW.validCharacters(e))return new zc.InvalidB58Char("(unknown)",e);try{e=mh.decode(e)}catch{return new zc.InvalidB58Checksum(e)}if(e.length!==Z.DataLength)return new yo.InvalidLength(e);if(!pr.isUndefined(t)){var r=Z._validateNetwork(e,t);if(r)return r}return null};Z._validateNetwork=function(e,t){var r=fu.get(t);if(!r)return new zc.InvalidNetworkArgument(t);var i=e.slice(0,4);return i.readUInt32BE(0)!==r.xprivkey?new zc.InvalidNetwork(i):null};Z.fromString=function(e){return _N.checkArgument(pr.isString(e),"No valid string was provided"),new Z(e)};Z.fromObject=function(e){return _N.checkArgument(pr.isObject(e),"No valid argument was provided"),new Z(e)};Z.prototype._buildFromJSON=function(e){return this._buildFromObject(JSON.parse(e))};Z.prototype._buildFromObject=function(e){var t={version:e.network?vo.integerAsBuffer(fu.get(e.network).xprivkey):e.version,depth:pr.isNumber(e.depth)?f.Buffer.from([e.depth&255]):e.depth,parentFingerPrint:pr.isNumber(e.parentFingerPrint)?vo.integerAsBuffer(e.parentFingerPrint):e.parentFingerPrint,childIndex:pr.isNumber(e.childIndex)?vo.integerAsBuffer(e.childIndex):e.childIndex,chainCode:pr.isString(e.chainCode)?f.Buffer.from(e.chainCode,"hex"):e.chainCode,privateKey:pr.isString(e.privateKey)&&vo.isHexa(e.privateKey)?f.Buffer.from(e.privateKey,"hex"):e.privateKey,checksum:e.checksum?e.checksum.length?e.checksum:vo.integerAsBuffer(e.checksum):void 0};return this._buildFromBuffers(t)};Z.prototype._buildFromSerialized=function(e){var t=mh.decode(e),r={version:t.slice(Z.VersionStart,Z.VersionEnd),depth:t.slice(Z.DepthStart,Z.DepthEnd),parentFingerPrint:t.slice(Z.ParentFingerPrintStart,Z.ParentFingerPrintEnd),childIndex:t.slice(Z.ChildIndexStart,Z.ChildIndexEnd),chainCode:t.slice(Z.ChainCodeStart,Z.ChainCodeEnd),privateKey:t.slice(Z.PrivateKeyStart,Z.PrivateKeyEnd),checksum:t.slice(Z.ChecksumStart,Z.ChecksumEnd),xprivkey:e};return this._buildFromBuffers(r)};Z.prototype._generateRandomly=function(e){return Z.fromSeed(rW.getRandomBuffer(64),e)};Z.fromSeed=function(e,t){if(vo.isHexaString(e)&&(e=f.Buffer.from(e,"hex")),!f.Buffer.isBuffer(e))throw new yo.InvalidEntropyArgument(e);if(e.length<iW*bN)throw new yo.InvalidEntropyArgument.NotEnoughEntropy(e);if(e.length>nW*bN)throw new yo.InvalidEntropyArgument.TooMuchEntropy(e);var r=M_.sha512hmac(e,vh.Buffer.from("Bitcoin seed"));return new Z({network:fu.get(t)||fu.defaultNetwork,depth:0,parentFingerPrint:0,childIndex:0,privateKey:r.slice(0,32),chainCode:r.slice(32,64)})};Z.prototype._calcHDPublicKey=function(){if(!this._hdPublicKey){var e=L_();this._hdPublicKey=new e(this)}};Z.prototype._buildFromBuffers=function(e){Z._validateBufferArguments(e),vo.defineImmutable(this,{_buffers:e});var t=[e.version,e.depth,e.parentFingerPrint,e.childIndex,e.chainCode,f.Buffer.alloc(1),e.privateKey],r=vh.Buffer.concat(t);if(!e.checksum||!e.checksum.length)e.checksum=mh.checksum(r);else if(e.checksum.toString()!==mh.checksum(r).toString())throw new zc.InvalidB58Checksum(r);var i=fu.get(e.version.readUInt32BE(0)),n;n=mh.encode(vh.Buffer.concat(t)),e.xprivkey=f.Buffer.from(n);var o=new SN(wN.fromBuffer(e.privateKey),i),a=o.toPublicKey(),s=Z.ParentFingerPrintSize,u=M_.sha256ripemd160(a.toBuffer()).slice(0,s);return vo.defineImmutable(this,{xprivkey:n,network:i,depth:e.depth[0],privateKey:o,publicKey:a,fingerPrint:u}),this._hdPublicKey=null,Object.defineProperty(this,"hdPublicKey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey}}),Object.defineProperty(this,"xpubkey",{configurable:!1,enumerable:!0,get:function(){return this._calcHDPublicKey(),this._hdPublicKey.xpubkey}}),this};Z._validateBufferArguments=function(e){var t=function(r,i){var n=e[r];hm(f.Buffer.isBuffer(n),r+" argument is not a buffer"),hm(n.length===i,r+" has not the expected size: found "+n.length+", expected "+i)};t("version",Z.VersionSize),t("depth",Z.DepthSize),t("parentFingerPrint",Z.ParentFingerPrintSize),t("childIndex",Z.ChildIndexSize),t("chainCode",Z.ChainCodeSize),t("privateKey",Z.PrivateKeySize),e.checksum&&e.checksum.length&&t("checksum",Z.CheckSumSize)};Z.prototype.toString=function(){return this.xprivkey};Z.prototype.inspect=function(){return"<HDPrivateKey: "+this.xprivkey+">"};Z.prototype.toObject=Z.prototype.toJSON=function(){return{network:fu.get(this._buffers.version.readUInt32BE(0),"xprivkey").name,depth:this._buffers.depth[0],fingerPrint:this.fingerPrint.readUInt32BE(0),parentFingerPrint:this._buffers.parentFingerPrint.readUInt32BE(0),childIndex:this._buffers.childIndex.readUInt32BE(0),chainCode:this._buffers.chainCode.toString("hex"),privateKey:this.privateKey.toBuffer().toString("hex"),checksum:this._buffers.checksum.readUInt32BE(0),xprivkey:this.xprivkey}};Z.fromBuffer=function(e){return new Z(e.toString())};Z.fromHex=function(e){return Z.fromBuffer(f.Buffer.from(e,"hex"))};Z.prototype.toBuffer=function(){return f.Buffer.from(this.toString())};Z.prototype.toHex=function(){return this.toBuffer().toString("hex")};Z.DefaultDepth=0;Z.DefaultFingerprint=0;Z.DefaultChildIndex=0;Z.Hardened=2147483648;Z.MaxIndex=2*Z.Hardened;Z.RootElementAlias=["m","M","m'","M'"];Z.VersionSize=4;Z.DepthSize=1;Z.ParentFingerPrintSize=4;Z.ChildIndexSize=4;Z.ChainCodeSize=32;Z.PrivateKeySize=32;Z.CheckSumSize=4;Z.DataLength=78;Z.SerializedByteSize=82;Z.VersionStart=0;Z.VersionEnd=Z.VersionStart+Z.VersionSize;Z.DepthStart=Z.VersionEnd;Z.DepthEnd=Z.DepthStart+Z.DepthSize;Z.ParentFingerPrintStart=Z.DepthEnd;Z.ParentFingerPrintEnd=Z.ParentFingerPrintStart+Z.ParentFingerPrintSize;Z.ChildIndexStart=Z.ParentFingerPrintEnd;Z.ChildIndexEnd=Z.ChildIndexStart+Z.ChildIndexSize;Z.ChainCodeStart=Z.ChildIndexEnd;Z.ChainCodeEnd=Z.ChainCodeStart+Z.ChainCodeSize;Z.PrivateKeyStart=Z.ChainCodeEnd+1;Z.PrivateKeyEnd=Z.PrivateKeyStart+Z.PrivateKeySize;Z.ChecksumStart=Z.PrivateKeyEnd;Z.ChecksumEnd=Z.ChecksumStart+Z.CheckSumSize;hm(Z.ChecksumEnd===Z.SerializedByteSize);EN.exports=Z});var IN=T((mue,ON)=>{"use strict";g();var xN=nr();function oW(e,t,r,i){var n=64;if(i>(Math.pow(2,32)-1)*n)throw Error("Requested key length too long");if(typeof e!="string"&&!f.Buffer.isBuffer(e))throw new TypeError("key must a string or Buffer");if(typeof t!="string"&&!f.Buffer.isBuffer(t))throw new TypeError("salt must a string or Buffer");typeof e=="string"&&(e=f.Buffer.from(e)),typeof t=="string"&&(t=f.Buffer.from(t));var o=f.Buffer.alloc(i),a=f.Buffer.alloc(n),s=f.Buffer.alloc(n),u=f.Buffer.alloc(t.length+4),c=Math.ceil(i/n),l=i-(c-1)*n;t.copy(u,0,0,t.length);for(var p=1;p<=c;p++){u[t.length+0]=p>>24&255,u[t.length+1]=p>>16&255,u[t.length+2]=p>>8&255,u[t.length+3]=p>>0&255,a=xN.createHmac("sha512",e).update(u).digest(),a.copy(s,0,0,n);for(var d=1;d<r;d++){a=xN.createHmac("sha512",e).update(a).digest();for(var v=0;v<n;v++)s[v]^=a[v]}var _=(p-1)*n,I=p===c?l:n;s.copy(o,_,0,I)}return o}ON.exports=oW});var PN=T((yue,TN)=>{"use strict";g();var AN=Le();function aW(e,t,r,i){var n=64;if(i>(Math.pow(2,32)-1)*n)throw Error("Requested key length too long");if(typeof e!="string"&&!f.Buffer.isBuffer(e))throw new TypeError("key must a string or Buffer");if(typeof t!="string"&&!f.Buffer.isBuffer(t))throw new TypeError("salt must a string or Buffer");typeof e=="string"&&(e=f.Buffer.from(e)),typeof t=="string"&&(t=f.Buffer.from(t));var o=f.Buffer.alloc(i),a=f.Buffer.alloc(n),s=f.Buffer.alloc(n),u=f.Buffer.alloc(t.length+4),c=Math.ceil(i/n),l=i-(c-1)*n;t.copy(u,0,0,t.length);for(var p=1;p<=c;p++){u[t.length+0]=p>>24&255,u[t.length+1]=p>>16&255,u[t.length+2]=p>>8&255,u[t.length+3]=p>>0&255,a=AN.sha512hmac(u,e),a.copy(s,0,0,n);for(var d=1;d<r;d++){a=AN.sha512hmac(a,e);for(var v=0;v<n;v++)s[v]^=a[v]}var _=(p-1)*n,I=p===c?l:n;s.copy(o,_,0,I)}return o}TN.exports=aW});var kN=T((_ue,RN)=>{"use strict";g();var sW="87aa7cdea5ef619d4ff0b4241a1d6cb02379f4e2ce4ec2787ad0b30545e17cdedaa833b7d6b8a702038b274eaea3f4e4be9d914eeb61f1702e696c203a126854";function uW(){var e;try{e=nr()}catch{return!1}if(!e||typeof e.createHmac!="function")return!1;try{var t=e.createHmac("sha512",f.Buffer.alloc(20,11)).update("Hi There").digest("hex");return t===sW}catch{return!1}}RN.exports=uW()?IN():PN()});var NN=T((Sue,BN)=>{"use strict";g();var cW={name:"Mnemonic",message:"Internal Error on bsv-mnemonic module {0}",errors:[{name:"InvalidEntropy",message:"Entropy length must be an even multiple of 11 bits: {0}"},{name:"UnknownWordlist",message:"Could not detect the used word list: {0}"},{name:"InvalidMnemonic",message:"Mnemonic string is invalid: {0}"}]};BN.exports=pi().extend(cW)});var LN=T((xue,CN)=>{"use strict";g();var fW=["\u7684","\u4E00","\u662F","\u5728","\u4E0D","\u4E86","\u6709","\u548C","\u4EBA","\u8FD9","\u4E2D","\u5927","\u4E3A","\u4E0A","\u4E2A","\u56FD","\u6211","\u4EE5","\u8981","\u4ED6","\u65F6","\u6765","\u7528","\u4EEC","\u751F","\u5230","\u4F5C","\u5730","\u4E8E","\u51FA","\u5C31","\u5206","\u5BF9","\u6210","\u4F1A","\u53EF","\u4E3B","\u53D1","\u5E74","\u52A8","\u540C","\u5DE5","\u4E5F","\u80FD","\u4E0B","\u8FC7","\u5B50","\u8BF4","\u4EA7","\u79CD","\u9762","\u800C","\u65B9","\u540E","\u591A","\u5B9A","\u884C","\u5B66","\u6CD5","\u6240","\u6C11","\u5F97","\u7ECF","\u5341","\u4E09","\u4E4B","\u8FDB","\u7740","\u7B49","\u90E8","\u5EA6","\u5BB6","\u7535","\u529B","\u91CC","\u5982","\u6C34","\u5316","\u9AD8","\u81EA","\u4E8C","\u7406","\u8D77","\u5C0F","\u7269","\u73B0","\u5B9E","\u52A0","\u91CF","\u90FD","\u4E24","\u4F53","\u5236","\u673A","\u5F53","\u4F7F","\u70B9","\u4ECE","\u4E1A","\u672C","\u53BB","\u628A","\u6027","\u597D","\u5E94","\u5F00","\u5B83","\u5408","\u8FD8","\u56E0","\u7531","\u5176","\u4E9B","\u7136","\u524D","\u5916","\u5929","\u653F","\u56DB","\u65E5","\u90A3","\u793E","\u4E49","\u4E8B","\u5E73","\u5F62","\u76F8","\u5168","\u8868","\u95F4","\u6837","\u4E0E","\u5173","\u5404","\u91CD","\u65B0","\u7EBF","\u5185","\u6570","\u6B63","\u5FC3","\u53CD","\u4F60","\u660E","\u770B","\u539F","\u53C8","\u4E48","\u5229","\u6BD4","\u6216","\u4F46","\u8D28","\u6C14","\u7B2C","\u5411","\u9053","\u547D","\u6B64","\u53D8","\u6761","\u53EA","\u6CA1","\u7ED3","\u89E3","\u95EE","\u610F","\u5EFA","\u6708","\u516C","\u65E0","\u7CFB","\u519B","\u5F88","\u60C5","\u8005","\u6700","\u7ACB","\u4EE3","\u60F3","\u5DF2","\u901A","\u5E76","\u63D0","\u76F4","\u9898","\u515A","\u7A0B","\u5C55","\u4E94","\u679C","\u6599","\u8C61","\u5458","\u9769","\u4F4D","\u5165","\u5E38","\u6587","\u603B","\u6B21","\u54C1","\u5F0F","\u6D3B","\u8BBE","\u53CA","\u7BA1","\u7279","\u4EF6","\u957F","\u6C42","\u8001","\u5934","\u57FA","\u8D44","\u8FB9","\u6D41","\u8DEF","\u7EA7","\u5C11","\u56FE","\u5C71","\u7EDF","\u63A5","\u77E5","\u8F83","\u5C06","\u7EC4","\u89C1","\u8BA1","\u522B","\u5979","\u624B","\u89D2","\u671F","\u6839","\u8BBA","\u8FD0","\u519C","\u6307","\u51E0","\u4E5D","\u533A","\u5F3A","\u653E","\u51B3","\u897F","\u88AB","\u5E72","\u505A","\u5FC5","\u6218","\u5148","\u56DE","\u5219","\u4EFB","\u53D6","\u636E","\u5904","\u961F","\u5357","\u7ED9","\u8272","\u5149","\u95E8","\u5373","\u4FDD","\u6CBB","\u5317","\u9020","\u767E","\u89C4","\u70ED","\u9886","\u4E03","\u6D77","\u53E3","\u4E1C","\u5BFC","\u5668","\u538B","\u5FD7","\u4E16","\u91D1","\u589E","\u4E89","\u6D4E","\u9636","\u6CB9","\u601D","\u672F","\u6781","\u4EA4","\u53D7","\u8054","\u4EC0","\u8BA4","\u516D","\u5171","\u6743","\u6536","\u8BC1","\u6539","\u6E05","\u7F8E","\u518D","\u91C7","\u8F6C","\u66F4","\u5355","\u98CE","\u5207","\u6253","\u767D","\u6559","\u901F","\u82B1","\u5E26","\u5B89","\u573A","\u8EAB","\u8F66","\u4F8B","\u771F","\u52A1","\u5177","\u4E07","\u6BCF","\u76EE","\u81F3","\u8FBE","\u8D70","\u79EF","\u793A","\u8BAE","\u58F0","\u62A5","\u6597","\u5B8C","\u7C7B","\u516B","\u79BB","\u534E","\u540D","\u786E","\u624D","\u79D1","\u5F20","\u4FE1","\u9A6C","\u8282","\u8BDD","\u7C73","\u6574","\u7A7A","\u5143","\u51B5","\u4ECA","\u96C6","\u6E29","\u4F20","\u571F","\u8BB8","\u6B65","\u7FA4","\u5E7F","\u77F3","\u8BB0","\u9700","\u6BB5","\u7814","\u754C","\u62C9","\u6797","\u5F8B","\u53EB","\u4E14","\u7A76","\u89C2","\u8D8A","\u7EC7","\u88C5","\u5F71","\u7B97","\u4F4E","\u6301","\u97F3","\u4F17","\u4E66","\u5E03","\u590D","\u5BB9","\u513F","\u987B","\u9645","\u5546","\u975E","\u9A8C","\u8FDE","\u65AD","\u6DF1","\u96BE","\u8FD1","\u77FF","\u5343","\u5468","\u59D4","\u7D20","\u6280","\u5907","\u534A","\u529E","\u9752","\u7701","\u5217","\u4E60","\u54CD","\u7EA6","\u652F","\u822C","\u53F2","\u611F","\u52B3","\u4FBF","\u56E2","\u5F80","\u9178","\u5386","\u5E02","\u514B","\u4F55","\u9664","\u6D88","\u6784","\u5E9C","\u79F0","\u592A","\u51C6","\u7CBE","\u503C","\u53F7","\u7387","\u65CF","\u7EF4","\u5212","\u9009","\u6807","\u5199","\u5B58","\u5019","\u6BDB","\u4EB2","\u5FEB","\u6548","\u65AF","\u9662","\u67E5","\u6C5F","\u578B","\u773C","\u738B","\u6309","\u683C","\u517B","\u6613","\u7F6E","\u6D3E","\u5C42","\u7247","\u59CB","\u5374","\u4E13","\u72B6","\u80B2","\u5382","\u4EAC","\u8BC6","\u9002","\u5C5E","\u5706","\u5305","\u706B","\u4F4F","\u8C03","\u6EE1","\u53BF","\u5C40","\u7167","\u53C2","\u7EA2","\u7EC6","\u5F15","\u542C","\u8BE5","\u94C1","\u4EF7","\u4E25","\u9996","\u5E95","\u6DB2","\u5B98","\u5FB7","\u968F","\u75C5","\u82CF","\u5931","\u5C14","\u6B7B","\u8BB2","\u914D","\u5973","\u9EC4","\u63A8","\u663E","\u8C08","\u7F6A","\u795E","\u827A","\u5462","\u5E2D","\u542B","\u4F01","\u671B","\u5BC6","\u6279","\u8425","\u9879","\u9632","\u4E3E","\u7403","\u82F1","\u6C27","\u52BF","\u544A","\u674E","\u53F0","\u843D","\u6728","\u5E2E","\u8F6E","\u7834","\u4E9A","\u5E08","\u56F4","\u6CE8","\u8FDC","\u5B57","\u6750","\u6392","\u4F9B","\u6CB3","\u6001","\u5C01","\u53E6","\u65BD","\u51CF","\u6811","\u6EB6","\u600E","\u6B62","\u6848","\u8A00","\u58EB","\u5747","\u6B66","\u56FA","\u53F6","\u9C7C","\u6CE2","\u89C6","\u4EC5","\u8D39","\u7D27","\u7231","\u5DE6","\u7AE0","\u65E9","\u671D","\u5BB3","\u7EED","\u8F7B","\u670D","\u8BD5","\u98DF","\u5145","\u5175","\u6E90","\u5224","\u62A4","\u53F8","\u8DB3","\u67D0","\u7EC3","\u5DEE","\u81F4","\u677F","\u7530","\u964D","\u9ED1","\u72AF","\u8D1F","\u51FB","\u8303","\u7EE7","\u5174","\u4F3C","\u4F59","\u575A","\u66F2","\u8F93","\u4FEE","\u6545","\u57CE","\u592B","\u591F","\u9001","\u7B14","\u8239","\u5360","\u53F3","\u8D22","\u5403","\u5BCC","\u6625","\u804C","\u89C9","\u6C49","\u753B","\u529F","\u5DF4","\u8DDF","\u867D","\u6742","\u98DE","\u68C0","\u5438","\u52A9","\u5347","\u9633","\u4E92","\u521D","\u521B","\u6297","\u8003","\u6295","\u574F","\u7B56","\u53E4","\u5F84","\u6362","\u672A","\u8DD1","\u7559","\u94A2","\u66FE","\u7AEF","\u8D23","\u7AD9","\u7B80","\u8FF0","\u94B1","\u526F","\u5C3D","\u5E1D","\u5C04","\u8349","\u51B2","\u627F","\u72EC","\u4EE4","\u9650","\u963F","\u5BA3","\u73AF","\u53CC","\u8BF7","\u8D85","\u5FAE","\u8BA9","\u63A7","\u5DDE","\u826F","\u8F74","\u627E","\u5426","\u7EAA","\u76CA","\u4F9D","\u4F18","\u9876","\u7840","\u8F7D","\u5012","\u623F","\u7A81","\u5750","\u7C89","\u654C","\u7565","\u5BA2","\u8881","\u51B7","\u80DC","\u7EDD","\u6790","\u5757","\u5242","\u6D4B","\u4E1D","\u534F","\u8BC9","\u5FF5","\u9648","\u4ECD","\u7F57","\u76D0","\u53CB","\u6D0B","\u9519","\u82E6","\u591C","\u5211","\u79FB","\u9891","\u9010","\u9760","\u6DF7","\u6BCD","\u77ED","\u76AE","\u7EC8","\u805A","\u6C7D","\u6751","\u4E91","\u54EA","\u65E2","\u8DDD","\u536B","\u505C","\u70C8","\u592E","\u5BDF","\u70E7","\u8FC5","\u5883","\u82E5","\u5370","\u6D32","\u523B","\u62EC","\u6FC0","\u5B54","\u641E","\u751A","\u5BA4","\u5F85","\u6838","\u6821","\u6563","\u4FB5","\u5427","\u7532","\u6E38","\u4E45","\u83DC","\u5473","\u65E7","\u6A21","\u6E56","\u8D27","\u635F","\u9884","\u963B","\u6BEB","\u666E","\u7A33","\u4E59","\u5988","\u690D","\u606F","\u6269","\u94F6","\u8BED","\u6325","\u9152","\u5B88","\u62FF","\u5E8F","\u7EB8","\u533B","\u7F3A","\u96E8","\u5417","\u9488","\u5218","\u554A","\u6025","\u5531","\u8BEF","\u8BAD","\u613F","\u5BA1","\u9644","\u83B7","\u8336","\u9C9C","\u7CAE","\u65A4","\u5B69","\u8131","\u786B","\u80A5","\u5584","\u9F99","\u6F14","\u7236","\u6E10","\u8840","\u6B22","\u68B0","\u638C","\u6B4C","\u6C99","\u521A","\u653B","\u8C13","\u76FE","\u8BA8","\u665A","\u7C92","\u4E71","\u71C3","\u77DB","\u4E4E","\u6740","\u836F","\u5B81","\u9C81","\u8D35","\u949F","\u7164","\u8BFB","\u73ED","\u4F2F","\u9999","\u4ECB","\u8FEB","\u53E5","\u4E30","\u57F9","\u63E1","\u5170","\u62C5","\u5F26","\u86CB","\u6C89","\u5047","\u7A7F","\u6267","\u7B54","\u4E50","\u8C01","\u987A","\u70DF","\u7F29","\u5F81","\u8138","\u559C","\u677E","\u811A","\u56F0","\u5F02","\u514D","\u80CC","\u661F","\u798F","\u4E70","\u67D3","\u4E95","\u6982","\u6162","\u6015","\u78C1","\u500D","\u7956","\u7687","\u4FC3","\u9759","\u8865","\u8BC4","\u7FFB","\u8089","\u8DF5","\u5C3C","\u8863","\u5BBD","\u626C","\u68C9","\u5E0C","\u4F24","\u64CD","\u5782","\u79CB","\u5B9C","\u6C22","\u5957","\u7763","\u632F","\u67B6","\u4EAE","\u672B","\u5BAA","\u5E86","\u7F16","\u725B","\u89E6","\u6620","\u96F7","\u9500","\u8BD7","\u5EA7","\u5C45","\u6293","\u88C2","\u80DE","\u547C","\u5A18","\u666F","\u5A01","\u7EFF","\u6676","\u539A","\u76DF","\u8861","\u9E21","\u5B59","\u5EF6","\u5371","\u80F6","\u5C4B","\u4E61","\u4E34","\u9646","\u987E","\u6389","\u5440","\u706F","\u5C81","\u63AA","\u675F","\u8010","\u5267","\u7389","\u8D75","\u8DF3","\u54E5","\u5B63","\u8BFE","\u51EF","\u80E1","\u989D","\u6B3E","\u7ECD","\u5377","\u9F50","\u4F1F","\u84B8","\u6B96","\u6C38","\u5B97","\u82D7","\u5DDD","\u7089","\u5CA9","\u5F31","\u96F6","\u6768","\u594F","\u6CBF","\u9732","\u6746","\u63A2","\u6ED1","\u9547","\u996D","\u6D53","\u822A","\u6000","\u8D76","\u5E93","\u593A","\u4F0A","\u7075","\u7A0E","\u9014","\u706D","\u8D5B","\u5F52","\u53EC","\u9F13","\u64AD","\u76D8","\u88C1","\u9669","\u5EB7","\u552F","\u5F55","\u83CC","\u7EAF","\u501F","\u7CD6","\u76D6","\u6A2A","\u7B26","\u79C1","\u52AA","\u5802","\u57DF","\u67AA","\u6DA6","\u5E45","\u54C8","\u7ADF","\u719F","\u866B","\u6CFD","\u8111","\u58E4","\u78B3","\u6B27","\u904D","\u4FA7","\u5BE8","\u6562","\u5F7B","\u8651","\u659C","\u8584","\u5EAD","\u7EB3","\u5F39","\u9972","\u4F38","\u6298","\u9EA6","\u6E7F","\u6697","\u8377","\u74E6","\u585E","\u5E8A","\u7B51","\u6076","\u6237","\u8BBF","\u5854","\u5947","\u900F","\u6881","\u5200","\u65CB","\u8FF9","\u5361","\u6C2F","\u9047","\u4EFD","\u6BD2","\u6CE5","\u9000","\u6D17","\u6446","\u7070","\u5F69","\u5356","\u8017","\u590F","\u62E9","\u5FD9","\u94DC","\u732E","\u786C","\u4E88","\u7E41","\u5708","\u96EA","\u51FD","\u4EA6","\u62BD","\u7BC7","\u9635","\u9634","\u4E01","\u5C3A","\u8FFD","\u5806","\u96C4","\u8FCE","\u6CDB","\u7238","\u697C","\u907F","\u8C0B","\u5428","\u91CE","\u732A","\u65D7","\u7D2F","\u504F","\u5178","\u9986","\u7D22","\u79E6","\u8102","\u6F6E","\u7237","\u8C46","\u5FFD","\u6258","\u60CA","\u5851","\u9057","\u6108","\u6731","\u66FF","\u7EA4","\u7C97","\u503E","\u5C1A","\u75DB","\u695A","\u8C22","\u594B","\u8D2D","\u78E8","\u541B","\u6C60","\u65C1","\u788E","\u9AA8","\u76D1","\u6355","\u5F1F","\u66B4","\u5272","\u8D2F","\u6B8A","\u91CA","\u8BCD","\u4EA1","\u58C1","\u987F","\u5B9D","\u5348","\u5C18","\u95FB","\u63ED","\u70AE","\u6B8B","\u51AC","\u6865","\u5987","\u8B66","\u7EFC","\u62DB","\u5434","\u4ED8","\u6D6E","\u906D","\u5F90","\u60A8","\u6447","\u8C37","\u8D5E","\u7BB1","\u9694","\u8BA2","\u7537","\u5439","\u56ED","\u7EB7","\u5510","\u8D25","\u5B8B","\u73BB","\u5DE8","\u8015","\u5766","\u8363","\u95ED","\u6E7E","\u952E","\u51E1","\u9A7B","\u9505","\u6551","\u6069","\u5265","\u51DD","\u78B1","\u9F7F","\u622A","\u70BC","\u9EBB","\u7EBA","\u7981","\u5E9F","\u76DB","\u7248","\u7F13","\u51C0","\u775B","\u660C","\u5A5A","\u6D89","\u7B52","\u5634","\u63D2","\u5CB8","\u6717","\u5E84","\u8857","\u85CF","\u59D1","\u8D38","\u8150","\u5974","\u5566","\u60EF","\u4E58","\u4F19","\u6062","\u5300","\u7EB1","\u624E","\u8FA9","\u8033","\u5F6A","\u81E3","\u4EBF","\u7483","\u62B5","\u8109","\u79C0","\u8428","\u4FC4","\u7F51","\u821E","\u5E97","\u55B7","\u7EB5","\u5BF8","\u6C57","\u6302","\u6D2A","\u8D3A","\u95EA","\u67EC","\u7206","\u70EF","\u6D25","\u7A3B","\u5899","\u8F6F","\u52C7","\u50CF","\u6EDA","\u5398","\u8499","\u82B3","\u80AF","\u5761","\u67F1","\u8361","\u817F","\u4EEA","\u65C5","\u5C3E","\u8F67","\u51B0","\u8D21","\u767B","\u9ECE","\u524A","\u94BB","\u52D2","\u9003","\u969C","\u6C28","\u90ED","\u5CF0","\u5E01","\u6E2F","\u4F0F","\u8F68","\u4EA9","\u6BD5","\u64E6","\u83AB","\u523A","\u6D6A","\u79D8","\u63F4","\u682A","\u5065","\u552E","\u80A1","\u5C9B","\u7518","\u6CE1","\u7761","\u7AE5","\u94F8","\u6C64","\u9600","\u4F11","\u6C47","\u820D","\u7267","\u7ED5","\u70B8","\u54F2","\u78F7","\u7EE9","\u670B","\u6DE1","\u5C16","\u542F","\u9677","\u67F4","\u5448","\u5F92","\u989C","\u6CEA","\u7A0D","\u5FD8","\u6CF5","\u84DD","\u62D6","\u6D1E","\u6388","\u955C","\u8F9B","\u58EE","\u950B","\u8D2B","\u865A","\u5F2F","\u6469","\u6CF0","\u5E7C","\u5EF7","\u5C0A","\u7A97","\u7EB2","\u5F04","\u96B6","\u7591","\u6C0F","\u5BAB","\u59D0","\u9707","\u745E","\u602A","\u5C24","\u7434","\u5FAA","\u63CF","\u819C","\u8FDD","\u5939","\u8170","\u7F18","\u73E0","\u7A77","\u68EE","\u679D","\u7AF9","\u6C9F","\u50AC","\u7EF3","\u5FC6","\u90A6","\u5269","\u5E78","\u6D46","\u680F","\u62E5","\u7259","\u8D2E","\u793C","\u6EE4","\u94A0","\u7EB9","\u7F62","\u62CD","\u54B1","\u558A","\u8896","\u57C3","\u52E4","\u7F5A","\u7126","\u6F5C","\u4F0D","\u58A8","\u6B32","\u7F1D","\u59D3","\u520A","\u9971","\u4EFF","\u5956","\u94DD","\u9B3C","\u4E3D","\u8DE8","\u9ED8","\u6316","\u94FE","\u626B","\u559D","\u888B","\u70AD","\u6C61","\u5E55","\u8BF8","\u5F27","\u52B1","\u6885","\u5976","\u6D01","\u707E","\u821F","\u9274","\u82EF","\u8BBC","\u62B1","\u6BC1","\u61C2","\u5BD2","\u667A","\u57D4","\u5BC4","\u5C4A","\u8DC3","\u6E21","\u6311","\u4E39","\u8270","\u8D1D","\u78B0","\u62D4","\u7239","\u6234","\u7801","\u68A6","\u82BD","\u7194","\u8D64","\u6E14","\u54ED","\u656C","\u9897","\u5954","\u94C5","\u4EF2","\u864E","\u7A00","\u59B9","\u4E4F","\u73CD","\u7533","\u684C","\u9075","\u5141","\u9686","\u87BA","\u4ED3","\u9B4F","\u9510","\u6653","\u6C2E","\u517C","\u9690","\u788D","\u8D6B","\u62E8","\u5FE0","\u8083","\u7F38","\u7275","\u62A2","\u535A","\u5DE7","\u58F3","\u5144","\u675C","\u8BAF","\u8BDA","\u78A7","\u7965","\u67EF","\u9875","\u5DE1","\u77E9","\u60B2","\u704C","\u9F84","\u4F26","\u7968","\u5BFB","\u6842","\u94FA","\u5723","\u6050","\u6070","\u90D1","\u8DA3","\u62AC","\u8352","\u817E","\u8D34","\u67D4","\u6EF4","\u731B","\u9614","\u8F86","\u59BB","\u586B","\u64A4","\u50A8","\u7B7E","\u95F9","\u6270","\u7D2B","\u7802","\u9012","\u620F","\u540A","\u9676","\u4F10","\u5582","\u7597","\u74F6","\u5A46","\u629A","\u81C2","\u6478","\u5FCD","\u867E","\u8721","\u90BB","\u80F8","\u5DE9","\u6324","\u5076","\u5F03","\u69FD","\u52B2","\u4E73","\u9093","\u5409","\u4EC1","\u70C2","\u7816","\u79DF","\u4E4C","\u8230","\u4F34","\u74DC","\u6D45","\u4E19","\u6682","\u71E5","\u6A61","\u67F3","\u8FF7","\u6696","\u724C","\u79E7","\u80C6","\u8BE6","\u7C27","\u8E0F","\u74F7","\u8C31","\u5446","\u5BBE","\u7CCA","\u6D1B","\u8F89","\u6124","\u7ADE","\u9699","\u6012","\u7C98","\u4E43","\u7EEA","\u80A9","\u7C4D","\u654F","\u6D82","\u7199","\u7686","\u4FA6","\u60AC","\u6398","\u4EAB","\u7EA0","\u9192","\u72C2","\u9501","\u6DC0","\u6068","\u7272","\u9738","\u722C","\u8D4F","\u9006","\u73A9","\u9675","\u795D","\u79D2","\u6D59","\u8C8C","\u5F79","\u5F7C","\u6089","\u9E2D","\u8D8B","\u51E4","\u6668","\u755C","\u8F88","\u79E9","\u5375","\u7F72","\u68AF","\u708E","\u6EE9","\u68CB","\u9A71","\u7B5B","\u5CE1","\u5192","\u5565","\u5BFF","\u8BD1","\u6D78","\u6CC9","\u5E3D","\u8FDF","\u7845","\u7586","\u8D37","\u6F0F","\u7A3F","\u51A0","\u5AE9","\u80C1","\u82AF","\u7262","\u53DB","\u8680","\u5965","\u9E23","\u5CAD","\u7F8A","\u51ED","\u4E32","\u5858","\u7ED8","\u9175","\u878D","\u76C6","\u9521","\u5E99","\u7B79","\u51BB","\u8F85","\u6444","\u88AD","\u7B4B","\u62D2","\u50DA","\u65F1","\u94BE","\u9E1F","\u6F06","\u6C88","\u7709","\u758F","\u6DFB","\u68D2","\u7A57","\u785D","\u97E9","\u903C","\u626D","\u4FA8","\u51C9","\u633A","\u7897","\u683D","\u7092","\u676F","\u60A3","\u998F","\u529D","\u8C6A","\u8FBD","\u52C3","\u9E3F","\u65E6","\u540F","\u62DC","\u72D7","\u57CB","\u8F8A","\u63A9","\u996E","\u642C","\u9A82","\u8F9E","\u52FE","\u6263","\u4F30","\u848B","\u7ED2","\u96FE","\u4E08","\u6735","\u59C6","\u62DF","\u5B87","\u8F91","\u9655","\u96D5","\u507F","\u84C4","\u5D07","\u526A","\u5021","\u5385","\u54AC","\u9A76","\u85AF","\u5237","\u65A5","\u756A","\u8D4B","\u5949","\u4F5B","\u6D47","\u6F2B","\u66FC","\u6247","\u9499","\u6843","\u6276","\u4ED4","\u8FD4","\u4FD7","\u4E8F","\u8154","\u978B","\u68F1","\u8986","\u6846","\u6084","\u53D4","\u649E","\u9A97","\u52D8","\u65FA","\u6CB8","\u5B64","\u5410","\u5B5F","\u6E20","\u5C48","\u75BE","\u5999","\u60DC","\u4EF0","\u72E0","\u80C0","\u8C10","\u629B","\u9709","\u6851","\u5C97","\u561B","\u8870","\u76D7","\u6E17","\u810F","\u8D56","\u6D8C","\u751C","\u66F9","\u9605","\u808C","\u54E9","\u5389","\u70C3","\u7EAC","\u6BC5","\u6628","\u4F2A","\u75C7","\u716E","\u53F9","\u9489","\u642D","\u830E","\u7B3C","\u9177","\u5077","\u5F13","\u9525","\u6052","\u6770","\u5751","\u9F3B","\u7FFC","\u7EB6","\u53D9","\u72F1","\u902E","\u7F50","\u7EDC","\u68DA","\u6291","\u81A8","\u852C","\u5BFA","\u9AA4","\u7A46","\u51B6","\u67AF","\u518C","\u5C38","\u51F8","\u7EC5","\u576F","\u727A","\u7130","\u8F70","\u6B23","\u664B","\u7626","\u5FA1","\u952D","\u9526","\u4E27","\u65EC","\u953B","\u5784","\u641C","\u6251","\u9080","\u4EAD","\u916F","\u8FC8","\u8212","\u8106","\u9176","\u95F2","\u5FE7","\u915A","\u987D","\u7FBD","\u6DA8","\u5378","\u4ED7","\u966A","\u8F9F","\u60E9","\u676D","\u59DA","\u809A","\u6349","\u98D8","\u6F02","\u6606","\u6B3A","\u543E","\u90CE","\u70F7","\u6C41","\u5475","\u9970","\u8427","\u96C5","\u90AE","\u8FC1","\u71D5","\u6492","\u59FB","\u8D74","\u5BB4","\u70E6","\u503A","\u5E10","\u6591","\u94C3","\u65E8","\u9187","\u8463","\u997C","\u96CF","\u59FF","\u62CC","\u5085","\u8179","\u59A5","\u63C9","\u8D24","\u62C6","\u6B6A","\u8461","\u80FA","\u4E22","\u6D69","\u5FBD","\u6602","\u57AB","\u6321","\u89C8","\u8D2A","\u6170","\u7F34","\u6C6A","\u614C","\u51AF","\u8BFA","\u59DC","\u8C0A","\u51F6","\u52A3","\u8BEC","\u8000","\u660F","\u8EBA","\u76C8","\u9A91","\u4E54","\u6EAA","\u4E1B","\u5362","\u62B9","\u95F7","\u54A8","\u522E","\u9A7E","\u7F06","\u609F","\u6458","\u94D2","\u63B7","\u9887","\u5E7B","\u67C4","\u60E0","\u60E8","\u4F73","\u4EC7","\u814A","\u7A9D","\u6DA4","\u5251","\u77A7","\u5821","\u6CFC","\u8471","\u7F69","\u970D","\u635E","\u80CE","\u82CD","\u6EE8","\u4FE9","\u6345","\u6E58","\u780D","\u971E","\u90B5","\u8404","\u75AF","\u6DEE","\u9042","\u718A","\u7CAA","\u70D8","\u5BBF","\u6863","\u6208","\u9A73","\u5AC2","\u88D5","\u5F99","\u7BAD","\u6350","\u80A0","\u6491","\u6652","\u8FA8","\u6BBF","\u83B2","\u644A","\u6405","\u9171","\u5C4F","\u75AB","\u54C0","\u8521","\u5835","\u6CAB","\u76B1","\u7545","\u53E0","\u9601","\u83B1","\u6572","\u8F96","\u94A9","\u75D5","\u575D","\u5DF7","\u997F","\u7978","\u4E18","\u7384","\u6E9C","\u66F0","\u903B","\u5F6D","\u5C1D","\u537F","\u59A8","\u8247","\u541E","\u97E6","\u6028","\u77EE","\u6B47"];CN.exports=fW});var DN=T((Iue,MN)=>{"use strict";g();var lW=["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"];MN.exports=lW});var qN=T((Tue,HN)=>{"use string";g();var hW=["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","acade\u0301mie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acque\u0301rir","acronyme","acteur","actif","actuel","adepte","ade\u0301quat","adhe\u0301sif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","ae\u0301rer","ae\u0301ronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agre\u0301able","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","alge\u0300bre","algue","alie\u0301ner","aliment","alle\u0301ger","alliage","allouer","allumer","alourdir","alpaga","altesse","alve\u0301ole","amateur","ambigu","ambre","ame\u0301nager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","ane\u0301antir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","ape\u0301ritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","arte\u0301riel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannie\u0300re","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","be\u0301lier","belote","be\u0301ne\u0301fice","berceau","berger","berline","bermuda","besace","besogne","be\u0301tail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","bre\u0300che","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","cafe\u0301ine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","came\u0301ra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","ce\u0301dille","ceinture","ce\u0301leste","cellule","cendrier","censurer","central","cercle","ce\u0301re\u0301bral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","che\u0301quier","chercher","cheval","chien","chiffre","chignon","chime\u0300re","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cine\u0301ma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohe\u0301sion","coiffer","coincer","cole\u0300re","colibri","colline","colmater","colonel","combat","come\u0301die","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","corte\u0300ge","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","cre\u0301ature","cre\u0301diter","cre\u0301meux","creuser","crevette","cribler","crier","cristal","crite\u0300re","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuille\u0300re","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","de\u0301battre","de\u0301biter","de\u0301border","de\u0301brider","de\u0301butant","de\u0301caler","de\u0301cembre","de\u0301chirer","de\u0301cider","de\u0301clarer","de\u0301corer","de\u0301crire","de\u0301cupler","de\u0301dale","de\u0301ductif","de\u0301esse","de\u0301fensif","de\u0301filer","de\u0301frayer","de\u0301gager","de\u0301givrer","de\u0301glutir","de\u0301grafer","de\u0301jeuner","de\u0301lice","de\u0301loger","demander","demeurer","de\u0301molir","de\u0301nicher","de\u0301nouer","dentelle","de\u0301nuder","de\u0301part","de\u0301penser","de\u0301phaser","de\u0301placer","de\u0301poser","de\u0301ranger","de\u0301rober","de\u0301sastre","descente","de\u0301sert","de\u0301signer","de\u0301sobe\u0301ir","dessiner","destrier","de\u0301tacher","de\u0301tester","de\u0301tourer","de\u0301tresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","diffe\u0301rer","dige\u0301rer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","e\u0301blouir","e\u0301carter","e\u0301charpe","e\u0301chelle","e\u0301clairer","e\u0301clipse","e\u0301clore","e\u0301cluse","e\u0301cole","e\u0301conomie","e\u0301corce","e\u0301couter","e\u0301craser","e\u0301cre\u0301mer","e\u0301crivain","e\u0301crou","e\u0301cume","e\u0301cureuil","e\u0301difier","e\u0301duquer","effacer","effectif","effigie","effort","effrayer","effusion","e\u0301galiser","e\u0301garer","e\u0301jecter","e\u0301laborer","e\u0301largir","e\u0301lectron","e\u0301le\u0301gant","e\u0301le\u0301phant","e\u0301le\u0300ve","e\u0301ligible","e\u0301litisme","e\u0301loge","e\u0301lucider","e\u0301luder","emballer","embellir","embryon","e\u0301meraude","e\u0301mission","emmener","e\u0301motion","e\u0301mouvoir","empereur","employer","emporter","emprise","e\u0301mulsion","encadrer","enche\u0300re","enclave","encoche","endiguer","endosser","endroit","enduire","e\u0301nergie","enfance","enfermer","enfouir","engager","engin","englober","e\u0301nigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","e\u0301nume\u0301rer","envahir","enviable","envoyer","enzyme","e\u0301olien","e\u0301paissir","e\u0301pargne","e\u0301patant","e\u0301paule","e\u0301picerie","e\u0301pide\u0301mie","e\u0301pier","e\u0301pilogue","e\u0301pine","e\u0301pisode","e\u0301pitaphe","e\u0301poque","e\u0301preuve","e\u0301prouver","e\u0301puisant","e\u0301querre","e\u0301quipe","e\u0301riger","e\u0301rosion","erreur","e\u0301ruption","escalier","espadon","espe\u0300ce","espie\u0300gle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","e\u0301tage\u0300re","e\u0301taler","e\u0301tanche","e\u0301tatique","e\u0301teindre","e\u0301tendoir","e\u0301ternel","e\u0301thanol","e\u0301thique","ethnie","e\u0301tirer","e\u0301toffer","e\u0301toile","e\u0301tonnant","e\u0301tourdir","e\u0301trange","e\u0301troit","e\u0301tude","euphorie","e\u0301valuer","e\u0301vasion","e\u0301ventail","e\u0301vidence","e\u0301viter","e\u0301volutif","e\u0301voquer","exact","exage\u0301rer","exaucer","exceller","excitant","exclusif","excuse","exe\u0301cuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expe\u0301dier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fe\u0301brile","fe\u0301conder","fe\u0301de\u0301rer","fe\u0301lin","femme","fe\u0301mur","fendoir","fe\u0301odal","fermer","fe\u0301roce","ferveur","festival","feuille","feutre","fe\u0301vrier","fiasco","ficeler","fictif","fide\u0300le","figure","filature","filetage","filie\u0300re","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fle\u0301au","fle\u0300che","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fouge\u0300re","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","fre\u0301gate","freiner","frelon","fre\u0301mir","fre\u0301ne\u0301sie","fre\u0300re","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","ge\u0301ant","ge\u0301latine","ge\u0301lule","gendarme","ge\u0301ne\u0301ral","ge\u0301nie","genou","gentil","ge\u0301ologie","ge\u0301ome\u0300tre","ge\u0301ranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruye\u0300re","gue\u0301pard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","he\u0301lium","he\u0301matome","herbe","he\u0301risson","hermine","he\u0301ron","he\u0301siter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homoge\u0300ne","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygie\u0300ne","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impe\u0301rial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","ine\u0301dit","ineptie","inexact","infini","infliger","informer","infusion","inge\u0301rer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irre\u0301el","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juve\u0301nile","kayak","kimono","kiosque","label","labial","labourer","lace\u0301rer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","le\u0301gal","le\u0301ger","le\u0301gume","lessive","lettre","levier","lexique","le\u0301zard","liasse","libe\u0301rer","libre","licence","licorne","lie\u0300ge","lie\u0300vre","ligature","ligoter","ligue","limer","limite","limonade","limpide","line\u0301aire","lingot","lionceau","liquide","lisie\u0300re","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumie\u0300re","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","male\u0301fice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","mate\u0301riel","matie\u0300re","matraque","maudire","maussade","mauve","maximal","me\u0301chant","me\u0301connu","me\u0301daille","me\u0301decin","me\u0301diter","me\u0301duse","meilleur","me\u0301lange","me\u0301lodie","membre","me\u0301moire","menacer","mener","menhir","mensonge","mentor","mercredi","me\u0301rite","merle","messager","mesure","me\u0301tal","me\u0301te\u0301ore","me\u0301thode","me\u0301tier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","mine\u0301ral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","mure\u0300ne","murmure","muscle","muse\u0301um","musicien","mutation","muter","mutuel","myriade","myrtille","myste\u0300re","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","ne\u0301buleux","nectar","ne\u0301faste","ne\u0301gation","ne\u0301gliger","ne\u0301gocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","nume\u0301ro","nuptial","nuque","nutritif","obe\u0301ir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","oce\u0301an","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","one\u0301reux","onirique","opale","opaque","ope\u0301rer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxyge\u0300ne","ozone","paisible","palace","palmare\u0300s","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","paste\u0300que","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pe\u0301lican","pelle","pelouse","peluche","pendule","pe\u0301ne\u0301trer","pe\u0301nible","pensif","pe\u0301nurie","pe\u0301pite","pe\u0301plum","perdrix","perforer","pe\u0301riode","permuter","perplexe","persil","perte","peser","pe\u0301tale","petit","pe\u0301trir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pie\u0300ce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poe\u0301sie","poe\u0300te","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","ponde\u0301rer","poney","portique","position","posse\u0301der","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","pre\u0301cieux","pre\u0301dire","pre\u0301fixe","pre\u0301lude","pre\u0301nom","pre\u0301sence","pre\u0301texte","pre\u0301voir","primitif","prince","prison","priver","proble\u0300me","proce\u0301der","prodige","profond","progre\u0300s","proie","projeter","prologue","promener","propre","prospe\u0300re","prote\u0301ger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quie\u0301tude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","re\u0301actif","re\u0301agir","re\u0301aliser","re\u0301animer","recevoir","re\u0301citer","re\u0301clamer","re\u0301colter","recruter","reculer","recycler","re\u0301diger","redouter","refaire","re\u0301flexe","re\u0301former","refrain","refuge","re\u0301galien","re\u0301gion","re\u0301glage","re\u0301gulier","re\u0301ite\u0301rer","rejeter","rejouer","relatif","relever","relief","remarque","reme\u0300de","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","re\u0301serve","re\u0301sineux","re\u0301soudre","respect","rester","re\u0301sultat","re\u0301tablir","retenir","re\u0301ticule","retomber","retracer","re\u0301union","re\u0301ussir","revanche","revivre","re\u0301volte","re\u0301vulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivie\u0300re","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","sce\u0301le\u0301rat","sce\u0301nario","sceptre","sche\u0301ma","science","scinder","score","scrutin","sculpter","se\u0301ance","se\u0301cable","se\u0301cher","secouer","se\u0301cre\u0301ter","se\u0301datif","se\u0301duire","seigneur","se\u0301jour","se\u0301lectif","semaine","sembler","semence","se\u0301minal","se\u0301nateur","sensible","sentence","se\u0301parer","se\u0301quence","serein","sergent","se\u0301rieux","serrure","se\u0301rum","service","se\u0301same","se\u0301vir","sevrage","sextuple","side\u0301ral","sie\u0300cle","sie\u0301ger","siffler","sigle","signal","silence","silicium","simple","since\u0300re","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spe\u0301cial","sphe\u0300re","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succe\u0300s","sucre","suffixe","sugge\u0301rer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","syme\u0301trie","synapse","syntaxe","syste\u0300me","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","te\u0301moin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","te\u0301tine","texte","the\u0300me","the\u0301orie","the\u0301rapie","thorax","tibia","tie\u0300de","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tole\u0301rant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","tre\u0300fle","tremper","tre\u0301sor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","ve\u0301ge\u0301tal","ve\u0301hicule","veinard","ve\u0301loce","vendredi","ve\u0301ne\u0301rer","venger","venimeux","ventouse","verdure","ve\u0301rin","vernir","verrou","verser","vertu","veston","ve\u0301te\u0301ran","ve\u0301tuste","vexant","vexer","viaduc","viande","victoire","vidange","vide\u0301o","vignette","vigueur","vilain","village","vinaigre","violon","vipe\u0300re","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xe\u0301non","yacht","ze\u0300bre","ze\u0301nith","zeste","zoologie"];HN.exports=hW});var FN=T((Rue,UN)=>{"use strict";g();var dW=["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"];UN.exports=dW});var zN=T((Bue,jN)=>{"use strict";g();var pW=["\u3042\u3044\u3053\u304F\u3057\u3093","\u3042\u3044\u3055\u3064","\u3042\u3044\u305F\u3099","\u3042\u304A\u305D\u3099\u3089","\u3042\u304B\u3061\u3083\u3093","\u3042\u304D\u308B","\u3042\u3051\u304B\u3099\u305F","\u3042\u3051\u308B","\u3042\u3053\u304B\u3099\u308C\u308B","\u3042\u3055\u3044","\u3042\u3055\u3072","\u3042\u3057\u3042\u3068","\u3042\u3057\u3099\u308F\u3046","\u3042\u3059\u3099\u304B\u308B","\u3042\u3059\u3099\u304D","\u3042\u305D\u3075\u3099","\u3042\u305F\u3048\u308B","\u3042\u305F\u305F\u3081\u308B","\u3042\u305F\u308A\u307E\u3048","\u3042\u305F\u308B","\u3042\u3064\u3044","\u3042\u3064\u304B\u3046","\u3042\u3063\u3057\u3085\u304F","\u3042\u3064\u307E\u308A","\u3042\u3064\u3081\u308B","\u3042\u3066\u306A","\u3042\u3066\u306F\u307E\u308B","\u3042\u3072\u308B","\u3042\u3075\u3099\u3089","\u3042\u3075\u3099\u308B","\u3042\u3075\u308C\u308B","\u3042\u307E\u3044","\u3042\u307E\u3068\u3099","\u3042\u307E\u3084\u304B\u3059","\u3042\u307E\u308A","\u3042\u307F\u3082\u306E","\u3042\u3081\u308A\u304B","\u3042\u3084\u307E\u308B","\u3042\u3086\u3080","\u3042\u3089\u3044\u304F\u3099\u307E","\u3042\u3089\u3057","\u3042\u3089\u3059\u3057\u3099","\u3042\u3089\u305F\u3081\u308B","\u3042\u3089\u3086\u308B","\u3042\u3089\u308F\u3059","\u3042\u308A\u304B\u3099\u3068\u3046","\u3042\u308F\u305B\u308B","\u3042\u308F\u3066\u308B","\u3042\u3093\u3044","\u3042\u3093\u304B\u3099\u3044","\u3042\u3093\u3053","\u3042\u3093\u305B\u3099\u3093","\u3042\u3093\u3066\u3044","\u3042\u3093\u306A\u3044","\u3042\u3093\u307E\u308A","\u3044\u3044\u305F\u3099\u3059","\u3044\u304A\u3093","\u3044\u304B\u3099\u3044","\u3044\u304B\u3099\u304F","\u3044\u304D\u304A\u3044","\u3044\u304D\u306A\u308A","\u3044\u304D\u3082\u306E","\u3044\u304D\u308B","\u3044\u304F\u3057\u3099","\u3044\u304F\u3075\u3099\u3093","\u3044\u3051\u306F\u3099\u306A","\u3044\u3051\u3093","\u3044\u3053\u3046","\u3044\u3053\u304F","\u3044\u3053\u3064","\u3044\u3055\u307E\u3057\u3044","\u3044\u3055\u3093","\u3044\u3057\u304D","\u3044\u3057\u3099\u3085\u3046","\u3044\u3057\u3099\u3087\u3046","\u3044\u3057\u3099\u308F\u308B","\u3044\u3059\u3099\u307F","\u3044\u3059\u3099\u308C","\u3044\u305B\u3044","\u3044\u305B\u3048\u3072\u3099","\u3044\u305B\u304B\u3044","\u3044\u305B\u304D","\u3044\u305B\u3099\u3093","\u3044\u305D\u3046\u308D\u3046","\u3044\u305D\u304B\u3099\u3057\u3044","\u3044\u305F\u3099\u3044","\u3044\u305F\u3099\u304F","\u3044\u305F\u3059\u3099\u3089","\u3044\u305F\u307F","\u3044\u305F\u308A\u3042","\u3044\u3061\u304A\u3046","\u3044\u3061\u3057\u3099","\u3044\u3061\u3068\u3099","\u3044\u3061\u306F\u3099","\u3044\u3061\u3075\u3099","\u3044\u3061\u308A\u3085\u3046","\u3044\u3064\u304B","\u3044\u3063\u3057\u3085\u3093","\u3044\u3063\u305B\u3044","\u3044\u3063\u305D\u3046","\u3044\u3063\u305F\u3093","\u3044\u3063\u3061","\u3044\u3063\u3066\u3044","\u3044\u3063\u307B\u309A\u3046","\u3044\u3066\u3055\u3099","\u3044\u3066\u3093","\u3044\u3068\u3099\u3046","\u3044\u3068\u3053","\u3044\u306A\u3044","\u3044\u306A\u304B","\u3044\u306D\u3080\u308A","\u3044\u306E\u3061","\u3044\u306E\u308B","\u3044\u306F\u3064","\u3044\u306F\u3099\u308B","\u3044\u306F\u3093","\u3044\u3072\u3099\u304D","\u3044\u3072\u3093","\u3044\u3075\u304F","\u3044\u3078\u3093","\u3044\u307B\u3046","\u3044\u307F\u3093","\u3044\u3082\u3046\u3068","\u3044\u3082\u305F\u308C","\u3044\u3082\u308A","\u3044\u3084\u304B\u3099\u308B","\u3044\u3084\u3059","\u3044\u3088\u304B\u3093","\u3044\u3088\u304F","\u3044\u3089\u3044","\u3044\u3089\u3059\u3068","\u3044\u308A\u304F\u3099\u3061","\u3044\u308A\u3087\u3046","\u3044\u308C\u3044","\u3044\u308C\u3082\u306E","\u3044\u308C\u308B","\u3044\u308D\u3048\u3093\u3072\u309A\u3064","\u3044\u308F\u3044","\u3044\u308F\u3046","\u3044\u308F\u304B\u3093","\u3044\u308F\u306F\u3099","\u3044\u308F\u3086\u308B","\u3044\u3093\u3051\u3099\u3093\u307E\u3081","\u3044\u3093\u3055\u3064","\u3044\u3093\u3057\u3087\u3046","\u3044\u3093\u3088\u3046","\u3046\u3048\u304D","\u3046\u3048\u308B","\u3046\u304A\u3055\u3099","\u3046\u304B\u3099\u3044","\u3046\u304B\u3075\u3099","\u3046\u304B\u3078\u3099\u308B","\u3046\u304D\u308F","\u3046\u304F\u3089\u3044\u306A","\u3046\u304F\u308C\u308C","\u3046\u3051\u305F\u307E\u308F\u308B","\u3046\u3051\u3064\u3051","\u3046\u3051\u3068\u308B","\u3046\u3051\u3082\u3064","\u3046\u3051\u308B","\u3046\u3053\u3099\u304B\u3059","\u3046\u3053\u3099\u304F","\u3046\u3053\u3093","\u3046\u3055\u304D\u3099","\u3046\u3057\u306A\u3046","\u3046\u3057\u308D\u304B\u3099\u307F","\u3046\u3059\u3044","\u3046\u3059\u304D\u3099","\u3046\u3059\u304F\u3099\u3089\u3044","\u3046\u3059\u3081\u308B","\u3046\u305B\u3064","\u3046\u3061\u3042\u308F\u305B","\u3046\u3061\u304B\u3099\u308F","\u3046\u3061\u304D","\u3046\u3061\u3085\u3046","\u3046\u3063\u304B\u308A","\u3046\u3064\u304F\u3057\u3044","\u3046\u3063\u305F\u3048\u308B","\u3046\u3064\u308B","\u3046\u3068\u3099\u3093","\u3046\u306A\u304D\u3099","\u3046\u306A\u3057\u3099","\u3046\u306A\u3059\u3099\u304F","\u3046\u306A\u308B","\u3046\u306D\u308B","\u3046\u306E\u3046","\u3046\u3075\u3099\u3051\u3099","\u3046\u3075\u3099\u3053\u3099\u3048","\u3046\u307E\u308C\u308B","\u3046\u3081\u308B","\u3046\u3082\u3046","\u3046\u3084\u307E\u3046","\u3046\u3088\u304F","\u3046\u3089\u304B\u3099\u3048\u3059","\u3046\u3089\u304F\u3099\u3061","\u3046\u3089\u306A\u3044","\u3046\u308A\u3042\u3051\u3099","\u3046\u308A\u304D\u308C","\u3046\u308B\u3055\u3044","\u3046\u308C\u3057\u3044","\u3046\u308C\u3086\u304D","\u3046\u308C\u308B","\u3046\u308D\u3053","\u3046\u308F\u304D","\u3046\u308F\u3055","\u3046\u3093\u3053\u3046","\u3046\u3093\u3061\u3093","\u3046\u3093\u3066\u3093","\u3046\u3093\u3068\u3099\u3046","\u3048\u3044\u3048\u3093","\u3048\u3044\u304B\u3099","\u3048\u3044\u304D\u3087\u3046","\u3048\u3044\u3053\u3099","\u3048\u3044\u305B\u3044","\u3048\u3044\u3075\u3099\u3093","\u3048\u3044\u3088\u3046","\u3048\u3044\u308F","\u3048\u304A\u308A","\u3048\u304B\u3099\u304A","\u3048\u304B\u3099\u304F","\u3048\u304D\u305F\u3044","\u3048\u304F\u305B\u308B","\u3048\u3057\u3083\u304F","\u3048\u3059\u3066","\u3048\u3064\u3089\u3093","\u3048\u306E\u304F\u3099","\u3048\u307B\u3046\u307E\u304D","\u3048\u307B\u3093","\u3048\u307E\u304D","\u3048\u3082\u3057\u3099","\u3048\u3082\u306E","\u3048\u3089\u3044","\u3048\u3089\u3075\u3099","\u3048\u308A\u3042","\u3048\u3093\u3048\u3093","\u3048\u3093\u304B\u3044","\u3048\u3093\u304D\u3099","\u3048\u3093\u3051\u3099\u304D","\u3048\u3093\u3057\u3085\u3046","\u3048\u3093\u305B\u3099\u3064","\u3048\u3093\u305D\u304F","\u3048\u3093\u3061\u3087\u3046","\u3048\u3093\u3068\u3064","\u304A\u3044\u304B\u3051\u308B","\u304A\u3044\u3053\u3059","\u304A\u3044\u3057\u3044","\u304A\u3044\u3064\u304F","\u304A\u3046\u3048\u3093","\u304A\u3046\u3055\u307E","\u304A\u3046\u3057\u3099","\u304A\u3046\u305B\u3064","\u304A\u3046\u305F\u3044","\u304A\u3046\u3075\u304F","\u304A\u3046\u3078\u3099\u3044","\u304A\u3046\u3088\u3046","\u304A\u3048\u308B","\u304A\u304A\u3044","\u304A\u304A\u3046","\u304A\u304A\u3068\u3099\u304A\u308A","\u304A\u304A\u3084","\u304A\u304A\u3088\u305D","\u304A\u304B\u3048\u308A","\u304A\u304B\u3059\u3099","\u304A\u304B\u3099\u3080","\u304A\u304B\u308F\u308A","\u304A\u304D\u3099\u306A\u3046","\u304A\u304D\u308B","\u304A\u304F\u3055\u307E","\u304A\u304F\u3057\u3099\u3087\u3046","\u304A\u304F\u308A\u304B\u3099\u306A","\u304A\u304F\u308B","\u304A\u304F\u308C\u308B","\u304A\u3053\u3059","\u304A\u3053\u306A\u3046","\u304A\u3053\u308B","\u304A\u3055\u3048\u308B","\u304A\u3055\u306A\u3044","\u304A\u3055\u3081\u308B","\u304A\u3057\u3044\u308C","\u304A\u3057\u3048\u308B","\u304A\u3057\u3099\u304D\u3099","\u304A\u3057\u3099\u3055\u3093","\u304A\u3057\u3083\u308C","\u304A\u305D\u3089\u304F","\u304A\u305D\u308F\u308B","\u304A\u305F\u304B\u3099\u3044","\u304A\u305F\u304F","\u304A\u305F\u3099\u3084\u304B","\u304A\u3061\u3064\u304F","\u304A\u3063\u3068","\u304A\u3064\u308A","\u304A\u3066\u3099\u304B\u3051","\u304A\u3068\u3057\u3082\u306E","\u304A\u3068\u306A\u3057\u3044","\u304A\u3068\u3099\u308A","\u304A\u3068\u3099\u308D\u304B\u3059","\u304A\u306F\u3099\u3055\u3093","\u304A\u307E\u3044\u308A","\u304A\u3081\u3066\u3099\u3068\u3046","\u304A\u3082\u3044\u3066\u3099","\u304A\u3082\u3046","\u304A\u3082\u305F\u3044","\u304A\u3082\u3061\u3083","\u304A\u3084\u3064","\u304A\u3084\u3086\u3072\u3099","\u304A\u3088\u307B\u3099\u3059","\u304A\u3089\u3093\u305F\u3099","\u304A\u308D\u3059","\u304A\u3093\u304B\u3099\u304F","\u304A\u3093\u3051\u3044","\u304A\u3093\u3057\u3083","\u304A\u3093\u305B\u3093","\u304A\u3093\u305F\u3099\u3093","\u304A\u3093\u3061\u3085\u3046","\u304A\u3093\u3068\u3099\u3051\u3044","\u304B\u3042\u3064","\u304B\u3044\u304B\u3099","\u304B\u3099\u3044\u304D","\u304B\u3099\u3044\u3051\u3093","\u304B\u3099\u3044\u3053\u3046","\u304B\u3044\u3055\u3064","\u304B\u3044\u3057\u3083","\u304B\u3044\u3059\u3044\u3088\u304F","\u304B\u3044\u305B\u3099\u3093","\u304B\u3044\u305D\u3099\u3046\u3068\u3099","\u304B\u3044\u3064\u3046","\u304B\u3044\u3066\u3093","\u304B\u3044\u3068\u3046","\u304B\u3044\u3075\u304F","\u304B\u3099\u3044\u3078\u304D","\u304B\u3044\u307B\u3046","\u304B\u3044\u3088\u3046","\u304B\u3099\u3044\u3089\u3044","\u304B\u3044\u308F","\u304B\u3048\u308B","\u304B\u304A\u308A","\u304B\u304B\u3048\u308B","\u304B\u304B\u3099\u304F","\u304B\u304B\u3099\u3057","\u304B\u304B\u3099\u307F","\u304B\u304F\u3053\u3099","\u304B\u304F\u3068\u304F","\u304B\u3055\u3099\u308B","\u304B\u3099\u305D\u3099\u3046","\u304B\u305F\u3044","\u304B\u305F\u3061","\u304B\u3099\u3061\u3087\u3046","\u304B\u3099\u3063\u304D\u3085\u3046","\u304B\u3099\u3063\u3053\u3046","\u304B\u3099\u3063\u3055\u3093","\u304B\u3099\u3063\u3057\u3087\u3046","\u304B\u306A\u3055\u3099\u308F\u3057","\u304B\u306E\u3046","\u304B\u3099\u306F\u304F","\u304B\u3075\u3099\u304B","\u304B\u307B\u3046","\u304B\u307B\u3053\u3099","\u304B\u307E\u3046","\u304B\u307E\u307B\u3099\u3053","\u304B\u3081\u308C\u304A\u3093","\u304B\u3086\u3044","\u304B\u3088\u3046\u3072\u3099","\u304B\u3089\u3044","\u304B\u308B\u3044","\u304B\u308D\u3046","\u304B\u308F\u304F","\u304B\u308F\u3089","\u304B\u3099\u3093\u304B","\u304B\u3093\u3051\u3044","\u304B\u3093\u3053\u3046","\u304B\u3093\u3057\u3083","\u304B\u3093\u305D\u3046","\u304B\u3093\u305F\u3093","\u304B\u3093\u3061","\u304B\u3099\u3093\u306F\u3099\u308B","\u304D\u3042\u3044","\u304D\u3042\u3064","\u304D\u3044\u308D","\u304D\u3099\u3044\u3093","\u304D\u3046\u3044","\u304D\u3046\u3093","\u304D\u3048\u308B","\u304D\u304A\u3046","\u304D\u304A\u304F","\u304D\u304A\u3061","\u304D\u304A\u3093","\u304D\u304B\u3044","\u304D\u304B\u304F","\u304D\u304B\u3093\u3057\u3083","\u304D\u304D\u3066","\u304D\u304F\u306F\u3099\u308A","\u304D\u304F\u3089\u3051\u3099","\u304D\u3051\u3093\u305B\u3044","\u304D\u3053\u3046","\u304D\u3053\u3048\u308B","\u304D\u3053\u304F","\u304D\u3055\u3044","\u304D\u3055\u304F","\u304D\u3055\u307E","\u304D\u3055\u3089\u304D\u3099","\u304D\u3099\u3057\u3099\u304B\u304B\u3099\u304F","\u304D\u3099\u3057\u304D","\u304D\u3099\u3057\u3099\u305F\u3044\u3051\u3093","\u304D\u3099\u3057\u3099\u306B\u3063\u3066\u3044","\u304D\u3099\u3057\u3099\u3085\u3064\u3057\u3083","\u304D\u3059\u3046","\u304D\u305B\u3044","\u304D\u305B\u304D","\u304D\u305B\u3064","\u304D\u305D\u3046","\u304D\u305D\u3099\u304F","\u304D\u305D\u3099\u3093","\u304D\u305F\u3048\u308B","\u304D\u3061\u3087\u3046","\u304D\u3064\u3048\u3093","\u304D\u3099\u3063\u3061\u308A","\u304D\u3064\u3064\u304D","\u304D\u3064\u306D","\u304D\u3066\u3044","\u304D\u3068\u3099\u3046","\u304D\u3068\u3099\u304F","\u304D\u306A\u3044","\u304D\u306A\u304B\u3099","\u304D\u306A\u3053","\u304D\u306C\u3053\u3099\u3057","\u304D\u306D\u3093","\u304D\u306E\u3046","\u304D\u306E\u3057\u305F","\u304D\u306F\u304F","\u304D\u3072\u3099\u3057\u3044","\u304D\u3072\u3093","\u304D\u3075\u304F","\u304D\u3075\u3099\u3093","\u304D\u307B\u3099\u3046","\u304D\u307B\u3093","\u304D\u307E\u308B","\u304D\u307F\u3064","\u304D\u3080\u3059\u3099\u304B\u3057\u3044","\u304D\u3081\u308B","\u304D\u3082\u305F\u3099\u3081\u3057","\u304D\u3082\u3061","\u304D\u3082\u306E","\u304D\u3083\u304F","\u304D\u3084\u304F","\u304D\u3099\u3085\u3046\u306B\u304F","\u304D\u3088\u3046","\u304D\u3087\u3046\u308A\u3085\u3046","\u304D\u3089\u3044","\u304D\u3089\u304F","\u304D\u308A\u3093","\u304D\u308C\u3044","\u304D\u308C\u3064","\u304D\u308D\u304F","\u304D\u3099\u308D\u3093","\u304D\u308F\u3081\u308B","\u304D\u3099\u3093\u3044\u308D","\u304D\u3093\u304B\u304F\u3057\u3099","\u304D\u3093\u3057\u3099\u3087","\u304D\u3093\u3088\u3046\u3072\u3099","\u304F\u3099\u3042\u3044","\u304F\u3044\u3059\u3099","\u304F\u3046\u304B\u3093","\u304F\u3046\u304D","\u304F\u3046\u304F\u3099\u3093","\u304F\u3046\u3053\u3046","\u304F\u3099\u3046\u305B\u3044","\u304F\u3046\u305D\u3046","\u304F\u3099\u3046\u305F\u3089","\u304F\u3046\u3075\u304F","\u304F\u3046\u307B\u3099","\u304F\u304B\u3093","\u304F\u304D\u3087\u3046","\u304F\u3051\u3099\u3093","\u304F\u3099\u3053\u3046","\u304F\u3055\u3044","\u304F\u3055\u304D","\u304F\u3055\u306F\u3099\u306A","\u304F\u3055\u308B","\u304F\u3057\u3083\u307F","\u304F\u3057\u3087\u3046","\u304F\u3059\u306E\u304D","\u304F\u3059\u308A\u3086\u3072\u3099","\u304F\u305B\u3051\u3099","\u304F\u305B\u3093","\u304F\u3099\u305F\u3044\u3066\u304D","\u304F\u305F\u3099\u3055\u308B","\u304F\u305F\u3072\u3099\u308C\u308B","\u304F\u3061\u3053\u307F","\u304F\u3061\u3055\u304D","\u304F\u3064\u3057\u305F","\u304F\u3099\u3063\u3059\u308A","\u304F\u3064\u308D\u304F\u3099","\u304F\u3068\u3046\u3066\u3093","\u304F\u3068\u3099\u304F","\u304F\u306A\u3093","\u304F\u306D\u304F\u306D","\u304F\u306E\u3046","\u304F\u3075\u3046","\u304F\u307F\u3042\u308F\u305B","\u304F\u307F\u305F\u3066\u308B","\u304F\u3081\u308B","\u304F\u3084\u304F\u3057\u3087","\u304F\u3089\u3059","\u304F\u3089\u3078\u3099\u308B","\u304F\u308B\u307E","\u304F\u308C\u308B","\u304F\u308D\u3046","\u304F\u308F\u3057\u3044","\u304F\u3099\u3093\u304B\u3093","\u304F\u3099\u3093\u3057\u3087\u304F","\u304F\u3099\u3093\u305F\u3044","\u304F\u3099\u3093\u3066","\u3051\u3042\u306A","\u3051\u3044\u304B\u304F","\u3051\u3044\u3051\u3093","\u3051\u3044\u3053","\u3051\u3044\u3055\u3064","\u3051\u3099\u3044\u3057\u3099\u3085\u3064","\u3051\u3044\u305F\u3044","\u3051\u3099\u3044\u306E\u3046\u3057\u3099\u3093","\u3051\u3044\u308C\u304D","\u3051\u3044\u308D","\u3051\u304A\u3068\u3059","\u3051\u304A\u308A\u3082\u306E","\u3051\u3099\u304D\u304B","\u3051\u3099\u304D\u3051\u3099\u3093","\u3051\u3099\u304D\u305F\u3099\u3093","\u3051\u3099\u304D\u3061\u3093","\u3051\u3099\u304D\u3068\u3064","\u3051\u3099\u304D\u306F","\u3051\u3099\u304D\u3084\u304F","\u3051\u3099\u3053\u3046","\u3051\u3099\u3053\u304F\u3057\u3099\u3087\u3046","\u3051\u3099\u3055\u3099\u3044","\u3051\u3055\u304D","\u3051\u3099\u3055\u3099\u3093","\u3051\u3057\u304D","\u3051\u3057\u3053\u3099\u3080","\u3051\u3057\u3087\u3046","\u3051\u3099\u3059\u3068","\u3051\u305F\u306F\u3099","\u3051\u3061\u3083\u3063\u3075\u309A","\u3051\u3061\u3089\u3059","\u3051\u3064\u3042\u3064","\u3051\u3064\u3044","\u3051\u3064\u3048\u304D","\u3051\u3063\u3053\u3093","\u3051\u3064\u3057\u3099\u3087","\u3051\u3063\u305B\u304D","\u3051\u3063\u3066\u3044","\u3051\u3064\u307E\u3064","\u3051\u3099\u3064\u3088\u3046\u3072\u3099","\u3051\u3099\u3064\u308C\u3044","\u3051\u3064\u308D\u3093","\u3051\u3099\u3068\u3099\u304F","\u3051\u3068\u306F\u3099\u3059","\u3051\u3068\u308B","\u3051\u306A\u3051\u3099","\u3051\u306A\u3059","\u3051\u306A\u307F","\u3051\u306C\u304D","\u3051\u3099\u306D\u3064","\u3051\u306D\u3093","\u3051\u306F\u3044","\u3051\u3099\u3072\u3093","\u3051\u3075\u3099\u304B\u3044","\u3051\u3099\u307B\u3099\u304F","\u3051\u307E\u308A","\u3051\u307F\u304B\u308B","\u3051\u3080\u3057","\u3051\u3080\u308A","\u3051\u3082\u306E","\u3051\u3089\u3044","\u3051\u308D\u3051\u308D","\u3051\u308F\u3057\u3044","\u3051\u3093\u3044","\u3051\u3093\u3048\u3064","\u3051\u3093\u304A","\u3051\u3093\u304B","\u3051\u3099\u3093\u304D","\u3051\u3093\u3051\u3099\u3093","\u3051\u3093\u3053\u3046","\u3051\u3093\u3055\u304F","\u3051\u3093\u3057\u3085\u3046","\u3051\u3093\u3059\u3046","\u3051\u3099\u3093\u305D\u3046","\u3051\u3093\u3061\u304F","\u3051\u3093\u3066\u3044","\u3051\u3093\u3068\u3046","\u3051\u3093\u306A\u3044","\u3051\u3093\u306B\u3093","\u3051\u3099\u3093\u3075\u3099\u3064","\u3051\u3093\u307E","\u3051\u3093\u307F\u3093","\u3051\u3093\u3081\u3044","\u3051\u3093\u3089\u3093","\u3051\u3093\u308A","\u3053\u3042\u304F\u307E","\u3053\u3044\u306C","\u3053\u3044\u3072\u3099\u3068","\u3053\u3099\u3046\u3044","\u3053\u3046\u3048\u3093","\u3053\u3046\u304A\u3093","\u3053\u3046\u304B\u3093","\u3053\u3099\u3046\u304D\u3085\u3046","\u3053\u3099\u3046\u3051\u3044","\u3053\u3046\u3053\u3046","\u3053\u3046\u3055\u3044","\u3053\u3046\u3057\u3099","\u3053\u3046\u3059\u3044","\u3053\u3099\u3046\u305B\u3044","\u3053\u3046\u305D\u304F","\u3053\u3046\u305F\u3044","\u3053\u3046\u3061\u3083","\u3053\u3046\u3064\u3046","\u3053\u3046\u3066\u3044","\u3053\u3046\u3068\u3099\u3046","\u3053\u3046\u306A\u3044","\u3053\u3046\u306F\u3044","\u3053\u3099\u3046\u307B\u3046","\u3053\u3099\u3046\u307E\u3093","\u3053\u3046\u3082\u304F","\u3053\u3046\u308A\u3064","\u3053\u3048\u308B","\u3053\u304A\u308A","\u3053\u3099\u304B\u3044","\u3053\u3099\u304B\u3099\u3064","\u3053\u3099\u304B\u3093","\u3053\u304F\u3053\u3099","\u3053\u304F\u3055\u3044","\u3053\u304F\u3068\u3046","\u3053\u304F\u306A\u3044","\u3053\u304F\u306F\u304F","\u3053\u304F\u3099\u307E","\u3053\u3051\u3044","\u3053\u3051\u308B","\u3053\u3053\u306E\u304B","\u3053\u3053\u308D","\u3053\u3055\u3081","\u3053\u3057\u3064","\u3053\u3059\u3046","\u3053\u305B\u3044","\u3053\u305B\u304D","\u3053\u305B\u3099\u3093","\u3053\u305D\u305F\u3099\u3066","\u3053\u305F\u3044","\u3053\u305F\u3048\u308B","\u3053\u305F\u3064","\u3053\u3061\u3087\u3046","\u3053\u3063\u304B","\u3053\u3064\u3053\u3064","\u3053\u3064\u306F\u3099\u3093","\u3053\u3064\u3075\u3099","\u3053\u3066\u3044","\u3053\u3066\u3093","\u3053\u3068\u304B\u3099\u3089","\u3053\u3068\u3057","\u3053\u3068\u306F\u3099","\u3053\u3068\u308A","\u3053\u306A\u3053\u3099\u306A","\u3053\u306D\u3053\u306D","\u3053\u306E\u307E\u307E","\u3053\u306E\u307F","\u3053\u306E\u3088","\u3053\u3099\u306F\u3093","\u3053\u3072\u3064\u3057\u3099","\u3053\u3075\u3046","\u3053\u3075\u3093","\u3053\u307B\u3099\u308C\u308B","\u3053\u3099\u307E\u3042\u3075\u3099\u3089","\u3053\u307E\u304B\u3044","\u3053\u3099\u307E\u3059\u308A","\u3053\u307E\u3064\u306A","\u3053\u307E\u308B","\u3053\u3080\u304D\u3099\u3053","\u3053\u3082\u3057\u3099","\u3053\u3082\u3061","\u3053\u3082\u306E","\u3053\u3082\u3093","\u3053\u3084\u304F","\u3053\u3084\u307E","\u3053\u3086\u3046","\u3053\u3086\u3072\u3099","\u3053\u3088\u3044","\u3053\u3088\u3046","\u3053\u308A\u308B","\u3053\u308C\u304F\u3057\u3087\u3093","\u3053\u308D\u3063\u3051","\u3053\u308F\u3082\u3066","\u3053\u308F\u308C\u308B","\u3053\u3093\u3044\u3093","\u3053\u3093\u304B\u3044","\u3053\u3093\u304D","\u3053\u3093\u3057\u3085\u3046","\u3053\u3093\u3059\u3044","\u3053\u3093\u305F\u3099\u3066","\u3053\u3093\u3068\u3093","\u3053\u3093\u306A\u3093","\u3053\u3093\u3072\u3099\u306B","\u3053\u3093\u307B\u309A\u3093","\u3053\u3093\u307E\u3051","\u3053\u3093\u3084","\u3053\u3093\u308C\u3044","\u3053\u3093\u308F\u304F","\u3055\u3099\u3044\u3048\u304D","\u3055\u3044\u304B\u3044","\u3055\u3044\u304D\u3093","\u3055\u3099\u3044\u3051\u3099\u3093","\u3055\u3099\u3044\u3053","\u3055\u3044\u3057\u3087","\u3055\u3044\u305B\u3044","\u3055\u3099\u3044\u305F\u304F","\u3055\u3099\u3044\u3061\u3085\u3046","\u3055\u3044\u3066\u304D","\u3055\u3099\u3044\u308A\u3087\u3046","\u3055\u3046\u306A","\u3055\u304B\u3044\u3057","\u3055\u304B\u3099\u3059","\u3055\u304B\u306A","\u3055\u304B\u307F\u3061","\u3055\u304B\u3099\u308B","\u3055\u304D\u3099\u3087\u3046","\u3055\u304F\u3057","\u3055\u304F\u3072\u3093","\u3055\u304F\u3089","\u3055\u3053\u304F","\u3055\u3053\u3064","\u3055\u3059\u3099\u304B\u308B","\u3055\u3099\u305B\u304D","\u3055\u305F\u3093","\u3055\u3064\u3048\u3044","\u3055\u3099\u3064\u304A\u3093","\u3055\u3099\u3063\u304B","\u3055\u3099\u3064\u304B\u3099\u304F","\u3055\u3063\u304D\u3087\u304F","\u3055\u3099\u3063\u3057","\u3055\u3064\u3057\u3099\u3093","\u3055\u3099\u3063\u305D\u3046","\u3055\u3064\u305F\u306F\u3099","\u3055\u3064\u307E\u3044\u3082","\u3055\u3066\u3044","\u3055\u3068\u3044\u3082","\u3055\u3068\u3046","\u3055\u3068\u304A\u3084","\u3055\u3068\u3057","\u3055\u3068\u308B","\u3055\u306E\u3046","\u3055\u306F\u3099\u304F","\u3055\u3072\u3099\u3057\u3044","\u3055\u3078\u3099\u3064","\u3055\u307B\u3046","\u3055\u307B\u3068\u3099","\u3055\u307E\u3059","\u3055\u307F\u3057\u3044","\u3055\u307F\u305F\u3099\u308C","\u3055\u3080\u3051","\u3055\u3081\u308B","\u3055\u3084\u3048\u3093\u3068\u3099\u3046","\u3055\u3086\u3046","\u3055\u3088\u3046","\u3055\u3088\u304F","\u3055\u3089\u305F\u3099","\u3055\u3099\u308B\u305D\u306F\u3099","\u3055\u308F\u3084\u304B","\u3055\u308F\u308B","\u3055\u3093\u3044\u3093","\u3055\u3093\u304B","\u3055\u3093\u304D\u3083\u304F","\u3055\u3093\u3053\u3046","\u3055\u3093\u3055\u3044","\u3055\u3099\u3093\u3057\u3087","\u3055\u3093\u3059\u3046","\u3055\u3093\u305B\u3044","\u3055\u3093\u305D","\u3055\u3093\u3061","\u3055\u3093\u307E","\u3055\u3093\u307F","\u3055\u3093\u3089\u3093","\u3057\u3042\u3044","\u3057\u3042\u3051\u3099","\u3057\u3042\u3055\u3063\u3066","\u3057\u3042\u308F\u305B","\u3057\u3044\u304F","\u3057\u3044\u3093","\u3057\u3046\u3061","\u3057\u3048\u3044","\u3057\u304A\u3051","\u3057\u304B\u3044","\u3057\u304B\u304F","\u3057\u3099\u304B\u3093","\u3057\u3053\u3099\u3068","\u3057\u3059\u3046","\u3057\u3099\u305F\u3099\u3044","\u3057\u305F\u3046\u3051","\u3057\u305F\u304D\u3099","\u3057\u305F\u3066","\u3057\u305F\u307F","\u3057\u3061\u3087\u3046","\u3057\u3061\u308A\u3093","\u3057\u3063\u304B\u308A","\u3057\u3064\u3057\u3099","\u3057\u3064\u3082\u3093","\u3057\u3066\u3044","\u3057\u3066\u304D","\u3057\u3066\u3064","\u3057\u3099\u3066\u3093","\u3057\u3099\u3068\u3099\u3046","\u3057\u306A\u304D\u3099\u308C","\u3057\u306A\u3082\u306E","\u3057\u306A\u3093","\u3057\u306D\u307E","\u3057\u306D\u3093","\u3057\u306E\u304F\u3099","\u3057\u306E\u3075\u3099","\u3057\u306F\u3044","\u3057\u306F\u3099\u304B\u308A","\u3057\u306F\u3064","\u3057\u306F\u3089\u3044","\u3057\u306F\u3093","\u3057\u3072\u3087\u3046","\u3057\u3075\u304F","\u3057\u3099\u3075\u3099\u3093","\u3057\u3078\u3044","\u3057\u307B\u3046","\u3057\u307B\u3093","\u3057\u307E\u3046","\u3057\u307E\u308B","\u3057\u307F\u3093","\u3057\u3080\u3051\u308B","\u3057\u3099\u3080\u3057\u3087","\u3057\u3081\u3044","\u3057\u3081\u308B","\u3057\u3082\u3093","\u3057\u3083\u3044\u3093","\u3057\u3083\u3046\u3093","\u3057\u3083\u304A\u3093","\u3057\u3099\u3083\u304B\u3099\u3044\u3082","\u3057\u3084\u304F\u3057\u3087","\u3057\u3083\u304F\u307B\u3046","\u3057\u3083\u3051\u3093","\u3057\u3083\u3053","\u3057\u3083\u3055\u3099\u3044","\u3057\u3083\u3057\u3093","\u3057\u3083\u305B\u3093","\u3057\u3083\u305D\u3046","\u3057\u3083\u305F\u3044","\u3057\u3083\u3061\u3087\u3046","\u3057\u3083\u3063\u304D\u3093","\u3057\u3099\u3083\u307E","\u3057\u3083\u308A\u3093","\u3057\u3083\u308C\u3044","\u3057\u3099\u3086\u3046","\u3057\u3099\u3085\u3046\u3057\u3087","\u3057\u3085\u304F\u306F\u304F","\u3057\u3099\u3085\u3057\u3093","\u3057\u3085\u3063\u305B\u304D","\u3057\u3085\u307F","\u3057\u3085\u3089\u306F\u3099","\u3057\u3099\u3085\u3093\u306F\u3099\u3093","\u3057\u3087\u3046\u304B\u3044","\u3057\u3087\u304F\u305F\u304F","\u3057\u3087\u3063\u3051\u3093","\u3057\u3087\u3068\u3099\u3046","\u3057\u3087\u3082\u3064","\u3057\u3089\u305B\u308B","\u3057\u3089\u3078\u3099\u308B","\u3057\u3093\u304B","\u3057\u3093\u3053\u3046","\u3057\u3099\u3093\u3057\u3099\u3083","\u3057\u3093\u305B\u3044\u3057\u3099","\u3057\u3093\u3061\u304F","\u3057\u3093\u308A\u3093","\u3059\u3042\u3051\u3099","\u3059\u3042\u3057","\u3059\u3042\u306A","\u3059\u3099\u3042\u3093","\u3059\u3044\u3048\u3044","\u3059\u3044\u304B","\u3059\u3044\u3068\u3046","\u3059\u3099\u3044\u3075\u3099\u3093","\u3059\u3044\u3088\u3046\u3072\u3099","\u3059\u3046\u304B\u3099\u304F","\u3059\u3046\u3057\u3099\u3064","\u3059\u3046\u305B\u3093","\u3059\u304A\u3068\u3099\u308A","\u3059\u304D\u307E","\u3059\u304F\u3046","\u3059\u304F\u306A\u3044","\u3059\u3051\u308B","\u3059\u3053\u3099\u3044","\u3059\u3053\u3057","\u3059\u3099\u3055\u3093","\u3059\u3059\u3099\u3057\u3044","\u3059\u3059\u3080","\u3059\u3059\u3081\u308B","\u3059\u3063\u304B\u308A","\u3059\u3099\u3063\u3057\u308A","\u3059\u3099\u3063\u3068","\u3059\u3066\u304D","\u3059\u3066\u308B","\u3059\u306D\u308B","\u3059\u306E\u3053","\u3059\u306F\u305F\u3099","\u3059\u306F\u3099\u3089\u3057\u3044","\u3059\u3099\u3072\u3087\u3046","\u3059\u3099\u3075\u3099\u306C\u308C","\u3059\u3075\u3099\u308A","\u3059\u3075\u308C","\u3059\u3078\u3099\u3066","\u3059\u3078\u3099\u308B","\u3059\u3099\u307B\u3046","\u3059\u307B\u3099\u3093","\u3059\u307E\u3044","\u3059\u3081\u3057","\u3059\u3082\u3046","\u3059\u3084\u304D","\u3059\u3089\u3059\u3089","\u3059\u308B\u3081","\u3059\u308C\u3061\u304B\u3099\u3046","\u3059\u308D\u3063\u3068","\u3059\u308F\u308B","\u3059\u3093\u305B\u3099\u3093","\u3059\u3093\u307B\u309A\u3046","\u305B\u3042\u3075\u3099\u3089","\u305B\u3044\u304B\u3064","\u305B\u3044\u3051\u3099\u3093","\u305B\u3044\u3057\u3099","\u305B\u3044\u3088\u3046","\u305B\u304A\u3046","\u305B\u304B\u3044\u304B\u3093","\u305B\u304D\u306B\u3093","\u305B\u304D\u3080","\u305B\u304D\u3086","\u305B\u304D\u3089\u3093\u3046\u3093","\u305B\u3051\u3093","\u305B\u3053\u3046","\u305B\u3059\u3057\u3099","\u305B\u305F\u3044","\u305B\u305F\u3051","\u305B\u3063\u304B\u304F","\u305B\u3063\u304D\u3083\u304F","\u305B\u3099\u3063\u304F","\u305B\u3063\u3051\u3093","\u305B\u3063\u3053\u3064","\u305B\u3063\u3055\u305F\u304F\u307E","\u305B\u3064\u305D\u3099\u304F","\u305B\u3064\u305F\u3099\u3093","\u305B\u3064\u3066\u3099\u3093","\u305B\u3063\u306F\u309A\u3093","\u305B\u3064\u3072\u3099","\u305B\u3064\u3075\u3099\u3093","\u305B\u3064\u3081\u3044","\u305B\u3064\u308A\u3064","\u305B\u306A\u304B","\u305B\u306E\u3072\u3099","\u305B\u306F\u306F\u3099","\u305B\u3072\u3099\u308D","\u305B\u307B\u3099\u306D","\u305B\u307E\u3044","\u305B\u307E\u308B","\u305B\u3081\u308B","\u305B\u3082\u305F\u308C","\u305B\u308A\u3075","\u305B\u3099\u3093\u3042\u304F","\u305B\u3093\u3044","\u305B\u3093\u3048\u3044","\u305B\u3093\u304B","\u305B\u3093\u304D\u3087","\u305B\u3093\u304F","\u305B\u3093\u3051\u3099\u3093","\u305B\u3099\u3093\u3053\u3099","\u305B\u3093\u3055\u3044","\u305B\u3093\u3057\u3085","\u305B\u3093\u3059\u3044","\u305B\u3093\u305B\u3044","\u305B\u3093\u305D\u3099","\u305B\u3093\u305F\u304F","\u305B\u3093\u3061\u3087\u3046","\u305B\u3093\u3066\u3044","\u305B\u3093\u3068\u3046","\u305B\u3093\u306C\u304D","\u305B\u3093\u306D\u3093","\u305B\u3093\u306F\u309A\u3044","\u305B\u3099\u3093\u3075\u3099","\u305B\u3099\u3093\u307B\u309A\u3046","\u305B\u3093\u3080","\u305B\u3093\u3081\u3093\u3057\u3099\u3087","\u305B\u3093\u3082\u3093","\u305B\u3093\u3084\u304F","\u305B\u3093\u3086\u3046","\u305B\u3093\u3088\u3046","\u305B\u3099\u3093\u3089","\u305B\u3099\u3093\u308A\u3083\u304F","\u305B\u3093\u308C\u3044","\u305B\u3093\u308D","\u305D\u3042\u304F","\u305D\u3044\u3068\u3051\u3099\u308B","\u305D\u3044\u306D","\u305D\u3046\u304B\u3099\u3093\u304D\u3087\u3046","\u305D\u3046\u304D","\u305D\u3046\u3053\u3099","\u305D\u3046\u3057\u3093","\u305D\u3046\u305F\u3099\u3093","\u305D\u3046\u306A\u3093","\u305D\u3046\u3072\u3099","\u305D\u3046\u3081\u3093","\u305D\u3046\u308A","\u305D\u3048\u3082\u306E","\u305D\u3048\u3093","\u305D\u304B\u3099\u3044","\u305D\u3051\u3099\u304D","\u305D\u3053\u3046","\u305D\u3053\u305D\u3053","\u305D\u3055\u3099\u3044","\u305D\u3057\u306A","\u305D\u305B\u3044","\u305D\u305B\u3093","\u305D\u305D\u304F\u3099","\u305D\u305F\u3099\u3066\u308B","\u305D\u3064\u3046","\u305D\u3064\u3048\u3093","\u305D\u3063\u304B\u3093","\u305D\u3064\u304D\u3099\u3087\u3046","\u305D\u3063\u3051\u3064","\u305D\u3063\u3053\u3046","\u305D\u3063\u305B\u3093","\u305D\u3063\u3068","\u305D\u3068\u304B\u3099\u308F","\u305D\u3068\u3064\u3099\u3089","\u305D\u306A\u3048\u308B","\u305D\u306A\u305F","\u305D\u3075\u307B\u3099","\u305D\u307B\u3099\u304F","\u305D\u307B\u3099\u308D","\u305D\u307E\u3064","\u305D\u307E\u308B","\u305D\u3080\u304F","\u305D\u3080\u308A\u3048","\u305D\u3081\u308B","\u305D\u3082\u305D\u3082","\u305D\u3088\u304B\u305B\u3099","\u305D\u3089\u307E\u3081","\u305D\u308D\u3046","\u305D\u3093\u304B\u3044","\u305D\u3093\u3051\u3044","\u305D\u3093\u3055\u3099\u3044","\u305D\u3093\u3057\u3064","\u305D\u3093\u305D\u3099\u304F","\u305D\u3093\u3061\u3087\u3046","\u305D\u3099\u3093\u3072\u3099","\u305D\u3099\u3093\u3075\u3099\u3093","\u305D\u3093\u307F\u3093","\u305F\u3042\u3044","\u305F\u3044\u3044\u3093","\u305F\u3044\u3046\u3093","\u305F\u3044\u3048\u304D","\u305F\u3044\u304A\u3046","\u305F\u3099\u3044\u304B\u3099\u304F","\u305F\u3044\u304D","\u305F\u3044\u304F\u3099\u3046","\u305F\u3044\u3051\u3093","\u305F\u3044\u3053","\u305F\u3044\u3055\u3099\u3044","\u305F\u3099\u3044\u3057\u3099\u3087\u3046\u3075\u3099","\u305F\u3099\u3044\u3059\u304D","\u305F\u3044\u305B\u3064","\u305F\u3044\u305D\u3046","\u305F\u3099\u3044\u305F\u3044","\u305F\u3044\u3061\u3087\u3046","\u305F\u3044\u3066\u3044","\u305F\u3099\u3044\u3068\u3099\u3053\u308D","\u305F\u3044\u306A\u3044","\u305F\u3044\u306D\u3064","\u305F\u3044\u306E\u3046","\u305F\u3044\u306F\u3093","\u305F\u3099\u3044\u3072\u3087\u3046","\u305F\u3044\u3075\u3046","\u305F\u3044\u3078\u3093","\u305F\u3044\u307B","\u305F\u3044\u307E\u3064\u306F\u3099\u306A","\u305F\u3044\u307F\u3093\u304F\u3099","\u305F\u3044\u3080","\u305F\u3044\u3081\u3093","\u305F\u3044\u3084\u304D","\u305F\u3044\u3088\u3046","\u305F\u3044\u3089","\u305F\u3044\u308A\u3087\u304F","\u305F\u3044\u308B","\u305F\u3044\u308F\u3093","\u305F\u3046\u3048","\u305F\u3048\u308B","\u305F\u304A\u3059","\u305F\u304A\u308B","\u305F\u304A\u308C\u308B","\u305F\u304B\u3044","\u305F\u304B\u306D","\u305F\u304D\u3072\u3099","\u305F\u304F\u3055\u3093","\u305F\u3053\u304F","\u305F\u3053\u3084\u304D","\u305F\u3055\u3044","\u305F\u3057\u3055\u3099\u3093","\u305F\u3099\u3057\u3099\u3083\u308C","\u305F\u3059\u3051\u308B","\u305F\u3059\u3099\u3055\u308F\u308B","\u305F\u305D\u304B\u3099\u308C","\u305F\u305F\u304B\u3046","\u305F\u305F\u304F","\u305F\u305F\u3099\u3057\u3044","\u305F\u305F\u307F","\u305F\u3061\u306F\u3099\u306A","\u305F\u3099\u3063\u304B\u3044","\u305F\u3099\u3063\u304D\u3083\u304F","\u305F\u3099\u3063\u3053","\u305F\u3099\u3063\u3057\u3085\u3064","\u305F\u3099\u3063\u305F\u3044","\u305F\u3066\u308B","\u305F\u3068\u3048\u308B","\u305F\u306A\u306F\u3099\u305F","\u305F\u306B\u3093","\u305F\u306C\u304D","\u305F\u306E\u3057\u307F","\u305F\u306F\u3064","\u305F\u3075\u3099\u3093","\u305F\u3078\u3099\u308B","\u305F\u307B\u3099\u3046","\u305F\u307E\u3053\u3099","\u305F\u307E\u308B","\u305F\u3099\u3080\u308B","\u305F\u3081\u3044\u304D","\u305F\u3081\u3059","\u305F\u3081\u308B","\u305F\u3082\u3064","\u305F\u3084\u3059\u3044","\u305F\u3088\u308B","\u305F\u3089\u3059","\u305F\u308A\u304D\u307B\u3093\u304B\u3099\u3093","\u305F\u308A\u3087\u3046","\u305F\u308A\u308B","\u305F\u308B\u3068","\u305F\u308C\u308B","\u305F\u308C\u3093\u3068","\u305F\u308D\u3063\u3068","\u305F\u308F\u3080\u308C\u308B","\u305F\u3099\u3093\u3042\u3064","\u305F\u3093\u3044","\u305F\u3093\u304A\u3093","\u305F\u3093\u304B","\u305F\u3093\u304D","\u305F\u3093\u3051\u3093","\u305F\u3093\u3053\u3099","\u305F\u3093\u3055\u3093","\u305F\u3093\u3057\u3099\u3087\u3046\u3072\u3099","\u305F\u3099\u3093\u305B\u3044","\u305F\u3093\u305D\u304F","\u305F\u3093\u305F\u3044","\u305F\u3099\u3093\u3061","\u305F\u3093\u3066\u3044","\u305F\u3093\u3068\u3046","\u305F\u3099\u3093\u306A","\u305F\u3093\u306B\u3093","\u305F\u3099\u3093\u306D\u3064","\u305F\u3093\u306E\u3046","\u305F\u3093\u3072\u309A\u3093","\u305F\u3099\u3093\u307B\u3099\u3046","\u305F\u3093\u307E\u3064","\u305F\u3093\u3081\u3044","\u305F\u3099\u3093\u308C\u3064","\u305F\u3099\u3093\u308D","\u305F\u3099\u3093\u308F","\u3061\u3042\u3044","\u3061\u3042\u3093","\u3061\u3044\u304D","\u3061\u3044\u3055\u3044","\u3061\u3048\u3093","\u3061\u304B\u3044","\u3061\u304B\u3089","\u3061\u304D\u3085\u3046","\u3061\u304D\u3093","\u3061\u3051\u3044\u3059\u3099","\u3061\u3051\u3093","\u3061\u3053\u304F","\u3061\u3055\u3044","\u3061\u3057\u304D","\u3061\u3057\u308A\u3087\u3046","\u3061\u305B\u3044","\u3061\u305D\u3046","\u3061\u305F\u3044","\u3061\u305F\u3093","\u3061\u3061\u304A\u3084","\u3061\u3064\u3057\u3099\u3087","\u3061\u3066\u304D","\u3061\u3066\u3093","\u3061\u306C\u304D","\u3061\u306C\u308A","\u3061\u306E\u3046","\u3061\u3072\u3087\u3046","\u3061\u3078\u3044\u305B\u3093","\u3061\u307B\u3046","\u3061\u307E\u305F","\u3061\u307F\u3064","\u3061\u307F\u3068\u3099\u308D","\u3061\u3081\u3044\u3068\u3099","\u3061\u3083\u3093\u3053\u306A\u3078\u3099","\u3061\u3085\u3046\u3044","\u3061\u3086\u308A\u3087\u304F","\u3061\u3087\u3046\u3057","\u3061\u3087\u3055\u304F\u3051\u3093","\u3061\u3089\u3057","\u3061\u3089\u307F","\u3061\u308A\u304B\u3099\u307F","\u3061\u308A\u3087\u3046","\u3061\u308B\u3068\u3099","\u3061\u308F\u308F","\u3061\u3093\u305F\u3044","\u3061\u3093\u3082\u304F","\u3064\u3044\u304B","\u3064\u3044\u305F\u3061","\u3064\u3046\u304B","\u3064\u3046\u3057\u3099\u3087\u3046","\u3064\u3046\u306F\u3093","\u3064\u3046\u308F","\u3064\u304B\u3046","\u3064\u304B\u308C\u308B","\u3064\u304F\u306D","\u3064\u304F\u308B","\u3064\u3051\u306D","\u3064\u3051\u308B","\u3064\u3053\u3099\u3046","\u3064\u305F\u3048\u308B","\u3064\u3064\u3099\u304F","\u3064\u3064\u3057\u3099","\u3064\u3064\u3080","\u3064\u3068\u3081\u308B","\u3064\u306A\u304B\u3099\u308B","\u3064\u306A\u307F","\u3064\u306D\u3064\u3099\u306D","\u3064\u306E\u308B","\u3064\u3075\u3099\u3059","\u3064\u307E\u3089\u306A\u3044","\u3064\u307E\u308B","\u3064\u307F\u304D","\u3064\u3081\u305F\u3044","\u3064\u3082\u308A","\u3064\u3082\u308B","\u3064\u3088\u3044","\u3064\u308B\u307B\u3099","\u3064\u308B\u307F\u304F","\u3064\u308F\u3082\u306E","\u3064\u308F\u308A","\u3066\u3042\u3057","\u3066\u3042\u3066","\u3066\u3042\u307F","\u3066\u3044\u304A\u3093","\u3066\u3044\u304B","\u3066\u3044\u304D","\u3066\u3044\u3051\u3044","\u3066\u3044\u3053\u304F","\u3066\u3044\u3055\u3064","\u3066\u3044\u3057","\u3066\u3044\u305B\u3044","\u3066\u3044\u305F\u3044","\u3066\u3044\u3068\u3099","\u3066\u3044\u306D\u3044","\u3066\u3044\u3072\u3087\u3046","\u3066\u3044\u3078\u3093","\u3066\u3044\u307B\u3099\u3046","\u3066\u3046\u3061","\u3066\u304A\u304F\u308C","\u3066\u304D\u3068\u3046","\u3066\u304F\u3072\u3099","\u3066\u3099\u3053\u307B\u3099\u3053","\u3066\u3055\u304D\u3099\u3087\u3046","\u3066\u3055\u3051\u3099","\u3066\u3059\u308A","\u3066\u305D\u3046","\u3066\u3061\u304B\u3099\u3044","\u3066\u3061\u3087\u3046","\u3066\u3064\u304B\u3099\u304F","\u3066\u3064\u3064\u3099\u304D","\u3066\u3099\u3063\u306F\u309A","\u3066\u3064\u307B\u3099\u3046","\u3066\u3064\u3084","\u3066\u3099\u306C\u304B\u3048","\u3066\u306C\u304D","\u3066\u306C\u304F\u3099\u3044","\u3066\u306E\u3072\u3089","\u3066\u306F\u3044","\u3066\u3075\u3099\u304F\u308D","\u3066\u3075\u305F\u3099","\u3066\u307B\u3068\u3099\u304D","\u3066\u307B\u3093","\u3066\u307E\u3048","\u3066\u307E\u304D\u3059\u3099\u3057","\u3066\u307F\u3057\u3099\u304B","\u3066\u307F\u3084\u3051\u3099","\u3066\u3089\u3059","\u3066\u308C\u3072\u3099","\u3066\u308F\u3051","\u3066\u308F\u305F\u3057","\u3066\u3099\u3093\u3042\u3064","\u3066\u3093\u3044\u3093","\u3066\u3093\u304B\u3044","\u3066\u3093\u304D","\u3066\u3093\u304F\u3099","\u3066\u3093\u3051\u3093","\u3066\u3093\u3053\u3099\u304F","\u3066\u3093\u3055\u3044","\u3066\u3093\u3057","\u3066\u3093\u3059\u3046","\u3066\u3099\u3093\u3061","\u3066\u3093\u3066\u304D","\u3066\u3093\u3068\u3046","\u3066\u3093\u306A\u3044","\u3066\u3093\u3075\u309A\u3089","\u3066\u3093\u307B\u3099\u3046\u305F\u3099\u3044","\u3066\u3093\u3081\u3064","\u3066\u3093\u3089\u3093\u304B\u3044","\u3066\u3099\u3093\u308A\u3087\u304F","\u3066\u3099\u3093\u308F","\u3068\u3099\u3042\u3044","\u3068\u3044\u308C","\u3068\u3099\u3046\u304B\u3093","\u3068\u3046\u304D\u3085\u3046","\u3068\u3099\u3046\u304F\u3099","\u3068\u3046\u3057","\u3068\u3046\u3080\u304D\u3099","\u3068\u304A\u3044","\u3068\u304A\u304B","\u3068\u304A\u304F","\u3068\u304A\u3059","\u3068\u304A\u308B","\u3068\u304B\u3044","\u3068\u304B\u3059","\u3068\u304D\u304A\u308A","\u3068\u304D\u3068\u3099\u304D","\u3068\u304F\u3044","\u3068\u304F\u3057\u3085\u3046","\u3068\u304F\u3066\u3093","\u3068\u304F\u306B","\u3068\u304F\u3078\u3099\u3064","\u3068\u3051\u3044","\u3068\u3051\u308B","\u3068\u3053\u3084","\u3068\u3055\u304B","\u3068\u3057\u3087\u304B\u3093","\u3068\u305D\u3046","\u3068\u305F\u3093","\u3068\u3061\u3085\u3046","\u3068\u3063\u304D\u3085\u3046","\u3068\u3063\u304F\u3093","\u3068\u3064\u305B\u3099\u3093","\u3068\u3064\u306B\u3085\u3046","\u3068\u3068\u3099\u3051\u308B","\u3068\u3068\u306E\u3048\u308B","\u3068\u306A\u3044","\u3068\u306A\u3048\u308B","\u3068\u306A\u308A","\u3068\u306E\u3055\u307E","\u3068\u306F\u3099\u3059","\u3068\u3099\u3075\u3099\u304B\u3099\u308F","\u3068\u307B\u3046","\u3068\u307E\u308B","\u3068\u3081\u308B","\u3068\u3082\u305F\u3099\u3061","\u3068\u3082\u308B","\u3068\u3099\u3088\u3046\u3072\u3099","\u3068\u3089\u3048\u308B","\u3068\u3093\u304B\u3064","\u3068\u3099\u3093\u3075\u3099\u308A","\u306A\u3044\u304B\u304F","\u306A\u3044\u3053\u3046","\u306A\u3044\u3057\u3087","\u306A\u3044\u3059","\u306A\u3044\u305B\u3093","\u306A\u3044\u305D\u3046","\u306A\u304A\u3059","\u306A\u304B\u3099\u3044","\u306A\u304F\u3059","\u306A\u3051\u3099\u308B","\u306A\u3053\u3046\u3068\u3099","\u306A\u3055\u3051","\u306A\u305F\u3066\u3099\u3053\u3053","\u306A\u3063\u3068\u3046","\u306A\u3064\u3084\u3059\u307F","\u306A\u306A\u304A\u3057","\u306A\u306B\u3053\u3099\u3068","\u306A\u306B\u3082\u306E","\u306A\u306B\u308F","\u306A\u306E\u304B","\u306A\u3075\u305F\u3099","\u306A\u307E\u3044\u304D","\u306A\u307E\u3048","\u306A\u307E\u307F","\u306A\u307F\u305F\u3099","\u306A\u3081\u3089\u304B","\u306A\u3081\u308B","\u306A\u3084\u3080","\u306A\u3089\u3046","\u306A\u3089\u3072\u3099","\u306A\u3089\u3075\u3099","\u306A\u308C\u308B","\u306A\u308F\u3068\u3072\u3099","\u306A\u308F\u306F\u3099\u308A","\u306B\u3042\u3046","\u306B\u3044\u304B\u3099\u305F","\u306B\u3046\u3051","\u306B\u304A\u3044","\u306B\u304B\u3044","\u306B\u304B\u3099\u3066","\u306B\u304D\u3072\u3099","\u306B\u304F\u3057\u307F","\u306B\u304F\u307E\u3093","\u306B\u3051\u3099\u308B","\u306B\u3055\u3093\u304B\u305F\u3093\u305D","\u306B\u3057\u304D","\u306B\u305B\u3082\u306E","\u306B\u3061\u3057\u3099\u3087\u3046","\u306B\u3061\u3088\u3046\u3072\u3099","\u306B\u3063\u304B","\u306B\u3063\u304D","\u306B\u3063\u3051\u3044","\u306B\u3063\u3053\u3046","\u306B\u3063\u3055\u3093","\u306B\u3063\u3057\u3087\u304F","\u306B\u3063\u3059\u3046","\u306B\u3063\u305B\u304D","\u306B\u3063\u3066\u3044","\u306B\u306A\u3046","\u306B\u307B\u3093","\u306B\u307E\u3081","\u306B\u3082\u3064","\u306B\u3084\u308A","\u306B\u3085\u3046\u3044\u3093","\u306B\u308A\u3093\u3057\u3083","\u306B\u308F\u3068\u308A","\u306B\u3093\u3044","\u306B\u3093\u304B","\u306B\u3093\u304D","\u306B\u3093\u3051\u3099\u3093","\u306B\u3093\u3057\u304D","\u306B\u3093\u3059\u3099\u3046","\u306B\u3093\u305D\u3046","\u306B\u3093\u305F\u3044","\u306B\u3093\u3061","\u306B\u3093\u3066\u3044","\u306B\u3093\u306B\u304F","\u306B\u3093\u3075\u309A","\u306B\u3093\u307E\u308A","\u306B\u3093\u3080","\u306B\u3093\u3081\u3044","\u306B\u3093\u3088\u3046","\u306C\u3044\u304F\u304D\u3099","\u306C\u304B\u3059","\u306C\u304F\u3099\u3044\u3068\u308B","\u306C\u304F\u3099\u3046","\u306C\u304F\u3082\u308A","\u306C\u3059\u3080","\u306C\u307E\u3048\u3072\u3099","\u306C\u3081\u308A","\u306C\u3089\u3059","\u306C\u3093\u3061\u3083\u304F","\u306D\u3042\u3051\u3099","\u306D\u3044\u304D","\u306D\u3044\u308B","\u306D\u3044\u308D","\u306D\u304F\u3099\u305B","\u306D\u304F\u305F\u3044","\u306D\u304F\u3089","\u306D\u3053\u305B\u3099","\u306D\u3053\u3080","\u306D\u3055\u3051\u3099","\u306D\u3059\u3053\u3099\u3059","\u306D\u305D\u3078\u3099\u308B","\u306D\u305F\u3099\u3093","\u306D\u3064\u3044","\u306D\u3063\u3057\u3093","\u306D\u3064\u305D\u3099\u3046","\u306D\u3063\u305F\u3044\u304D\u3099\u3087","\u306D\u3075\u3099\u305D\u304F","\u306D\u3075\u305F\u3099","\u306D\u307B\u3099\u3046","\u306D\u307B\u308A\u306F\u307B\u308A","\u306D\u307E\u304D","\u306D\u307E\u308F\u3057","\u306D\u307F\u307F","\u306D\u3080\u3044","\u306D\u3080\u305F\u3044","\u306D\u3082\u3068","\u306D\u3089\u3046","\u306D\u308F\u3055\u3099","\u306D\u3093\u3044\u308A","\u306D\u3093\u304A\u3057","\u306D\u3093\u304B\u3093","\u306D\u3093\u304D\u3093","\u306D\u3093\u304F\u3099","\u306D\u3093\u3055\u3099","\u306D\u3093\u3057","\u306D\u3093\u3061\u3083\u304F","\u306D\u3093\u3068\u3099","\u306D\u3093\u3072\u309A","\u306D\u3093\u3075\u3099\u3064","\u306D\u3093\u307E\u3064","\u306D\u3093\u308A\u3087\u3046","\u306D\u3093\u308C\u3044","\u306E\u3044\u3059\u3099","\u306E\u304A\u3064\u3099\u307E","\u306E\u304B\u3099\u3059","\u306E\u304D\u306A\u307F","\u306E\u3053\u304D\u3099\u308A","\u306E\u3053\u3059","\u306E\u3053\u308B","\u306E\u305B\u308B","\u306E\u305D\u3099\u304F","\u306E\u305D\u3099\u3080","\u306E\u305F\u307E\u3046","\u306E\u3061\u307B\u3068\u3099","\u306E\u3063\u304F","\u306E\u306F\u3099\u3059","\u306E\u306F\u3089","\u306E\u3078\u3099\u308B","\u306E\u307B\u3099\u308B","\u306E\u307F\u3082\u306E","\u306E\u3084\u307E","\u306E\u3089\u3044\u306C","\u306E\u3089\u306D\u3053","\u306E\u308A\u3082\u306E","\u306E\u308A\u3086\u304D","\u306E\u308C\u3093","\u306E\u3093\u304D","\u306F\u3099\u3042\u3044","\u306F\u3042\u304F","\u306F\u3099\u3042\u3055\u3093","\u306F\u3099\u3044\u304B","\u306F\u3099\u3044\u304F","\u306F\u3044\u3051\u3093","\u306F\u3044\u3053\u3099","\u306F\u3044\u3057\u3093","\u306F\u3044\u3059\u3044","\u306F\u3044\u305B\u3093","\u306F\u3044\u305D\u3046","\u306F\u3044\u3061","\u306F\u3099\u3044\u306F\u3099\u3044","\u306F\u3044\u308C\u3064","\u306F\u3048\u308B","\u306F\u304A\u308B","\u306F\u304B\u3044","\u306F\u3099\u304B\u308A","\u306F\u304B\u308B","\u306F\u304F\u3057\u3085","\u306F\u3051\u3093","\u306F\u3053\u3075\u3099","\u306F\u3055\u307F","\u306F\u3055\u3093","\u306F\u3057\u3053\u3099","\u306F\u3099\u3057\u3087","\u306F\u3057\u308B","\u306F\u305B\u308B","\u306F\u309A\u305D\u3053\u3093","\u306F\u305D\u3093","\u306F\u305F\u3093","\u306F\u3061\u307F\u3064","\u306F\u3064\u304A\u3093","\u306F\u3063\u304B\u304F","\u306F\u3064\u3099\u304D","\u306F\u3063\u304D\u308A","\u306F\u3063\u304F\u3064","\u306F\u3063\u3051\u3093","\u306F\u3063\u3053\u3046","\u306F\u3063\u3055\u3093","\u306F\u3063\u3057\u3093","\u306F\u3063\u305F\u3064","\u306F\u3063\u3061\u3085\u3046","\u306F\u3063\u3066\u3093","\u306F\u3063\u3072\u309A\u3087\u3046","\u306F\u3063\u307B\u309A\u3046","\u306F\u306A\u3059","\u306F\u306A\u3072\u3099","\u306F\u306B\u304B\u3080","\u306F\u3075\u3099\u3089\u3057","\u306F\u307F\u304B\u3099\u304D","\u306F\u3080\u304B\u3046","\u306F\u3081\u3064","\u306F\u3084\u3044","\u306F\u3084\u3057","\u306F\u3089\u3046","\u306F\u308D\u3046\u3043\u3093","\u306F\u308F\u3044","\u306F\u3093\u3044","\u306F\u3093\u3048\u3044","\u306F\u3093\u304A\u3093","\u306F\u3093\u304B\u304F","\u306F\u3093\u304D\u3087\u3046","\u306F\u3099\u3093\u304F\u3099\u307F","\u306F\u3093\u3053","\u306F\u3093\u3057\u3083","\u306F\u3093\u3059\u3046","\u306F\u3093\u305F\u3099\u3093","\u306F\u309A\u3093\u3061","\u306F\u309A\u3093\u3064","\u306F\u3093\u3066\u3044","\u306F\u3093\u3068\u3057","\u306F\u3093\u306E\u3046","\u306F\u3093\u306F\u309A","\u306F\u3093\u3075\u3099\u3093","\u306F\u3093\u3078\u309A\u3093","\u306F\u3093\u307B\u3099\u3046\u304D","\u306F\u3093\u3081\u3044","\u306F\u3093\u3089\u3093","\u306F\u3093\u308D\u3093","\u3072\u3044\u304D","\u3072\u3046\u3093","\u3072\u3048\u308B","\u3072\u304B\u304F","\u3072\u304B\u308A","\u3072\u304B\u308B","\u3072\u304B\u3093","\u3072\u304F\u3044","\u3072\u3051\u3064","\u3072\u3053\u3046\u304D","\u3072\u3053\u304F","\u3072\u3055\u3044","\u3072\u3055\u3057\u3075\u3099\u308A","\u3072\u3055\u3093","\u3072\u3099\u3057\u3099\u3085\u3064\u304B\u3093","\u3072\u3057\u3087","\u3072\u305D\u304B","\u3072\u305D\u3080","\u3072\u305F\u3080\u304D","\u3072\u305F\u3099\u308A","\u3072\u305F\u308B","\u3072\u3064\u304D\u3099","\u3072\u3063\u3053\u3057","\u3072\u3063\u3057","\u3072\u3064\u3057\u3099\u3085\u3072\u3093","\u3072\u3063\u3059","\u3072\u3064\u305B\u3099\u3093","\u3072\u309A\u3063\u305F\u308A","\u3072\u309A\u3063\u3061\u308A","\u3072\u3064\u3088\u3046","\u3072\u3066\u3044","\u3072\u3068\u3053\u3099\u307F","\u3072\u306A\u307E\u3064\u308A","\u3072\u306A\u3093","\u3072\u306D\u308B","\u3072\u306F\u3093","\u3072\u3072\u3099\u304F","\u3072\u3072\u3087\u3046","\u3072\u307B\u3046","\u3072\u307E\u308F\u308A","\u3072\u307E\u3093","\u3072\u307F\u3064","\u3072\u3081\u3044","\u3072\u3081\u3057\u3099\u3057","\u3072\u3084\u3051","\u3072\u3084\u3059","\u3072\u3088\u3046","\u3072\u3099\u3087\u3046\u304D","\u3072\u3089\u304B\u3099\u306A","\u3072\u3089\u304F","\u3072\u308A\u3064","\u3072\u308A\u3087\u3046","\u3072\u308B\u307E","\u3072\u308B\u3084\u3059\u307F","\u3072\u308C\u3044","\u3072\u308D\u3044","\u3072\u308D\u3046","\u3072\u308D\u304D","\u3072\u308D\u3086\u304D","\u3072\u3093\u304B\u304F","\u3072\u3093\u3051\u3064","\u3072\u3093\u3053\u3093","\u3072\u3093\u3057\u3085","\u3072\u3093\u305D\u3046","\u3072\u309A\u3093\u3061","\u3072\u3093\u306F\u309A\u3093","\u3072\u3099\u3093\u307B\u3099\u3046","\u3075\u3042\u3093","\u3075\u3044\u3046\u3061","\u3075\u3046\u3051\u3044","\u3075\u3046\u305B\u3093","\u3075\u309A\u3046\u305F\u308D\u3046","\u3075\u3046\u3068\u3046","\u3075\u3046\u3075","\u3075\u3048\u308B","\u3075\u304A\u3093","\u3075\u304B\u3044","\u3075\u304D\u3093","\u3075\u304F\u3055\u3099\u3064","\u3075\u304F\u3075\u3099\u304F\u308D","\u3075\u3053\u3046","\u3075\u3055\u3044","\u3075\u3057\u304D\u3099","\u3075\u3057\u3099\u307F","\u3075\u3059\u307E","\u3075\u305B\u3044","\u3075\u305B\u304F\u3099","\u3075\u305D\u304F","\u3075\u3099\u305F\u306B\u304F","\u3075\u305F\u3093","\u3075\u3061\u3087\u3046","\u3075\u3064\u3046","\u3075\u3064\u304B","\u3075\u3063\u304B\u3064","\u3075\u3063\u304D","\u3075\u3063\u3053\u304F","\u3075\u3099\u3068\u3099\u3046","\u3075\u3068\u308B","\u3075\u3068\u3093","\u3075\u306E\u3046","\u3075\u306F\u3044","\u3075\u3072\u3087\u3046","\u3075\u3078\u3093","\u3075\u307E\u3093","\u3075\u307F\u3093","\u3075\u3081\u3064","\u3075\u3081\u3093","\u3075\u3088\u3046","\u3075\u308A\u3053","\u3075\u308A\u308B","\u3075\u308B\u3044","\u3075\u3093\u3044\u304D","\u3075\u3099\u3093\u304B\u3099\u304F","\u3075\u3099\u3093\u304F\u3099","\u3075\u3093\u3057\u3064","\u3075\u3099\u3093\u305B\u304D","\u3075\u3093\u305D\u3046","\u3075\u3099\u3093\u307B\u309A\u3046","\u3078\u3044\u3042\u3093","\u3078\u3044\u304A\u3093","\u3078\u3044\u304B\u3099\u3044","\u3078\u3044\u304D","\u3078\u3044\u3051\u3099\u3093","\u3078\u3044\u3053\u3046","\u3078\u3044\u3055","\u3078\u3044\u3057\u3083","\u3078\u3044\u305B\u3064","\u3078\u3044\u305D","\u3078\u3044\u305F\u304F","\u3078\u3044\u3066\u3093","\u3078\u3044\u306D\u3064","\u3078\u3044\u308F","\u3078\u304D\u304B\u3099","\u3078\u3053\u3080","\u3078\u3099\u306B\u3044\u308D","\u3078\u3099\u306B\u3057\u3087\u3046\u304B\u3099","\u3078\u3089\u3059","\u3078\u3093\u304B\u3093","\u3078\u3099\u3093\u304D\u3087\u3046","\u3078\u3099\u3093\u3053\u3099\u3057","\u3078\u3093\u3055\u3044","\u3078\u3093\u305F\u3044","\u3078\u3099\u3093\u308A","\u307B\u3042\u3093","\u307B\u3044\u304F","\u307B\u3099\u3046\u304D\u3099\u3087","\u307B\u3046\u3053\u304F","\u307B\u3046\u305D\u3046","\u307B\u3046\u307B\u3046","\u307B\u3046\u3082\u3093","\u307B\u3046\u308A\u3064","\u307B\u3048\u308B","\u307B\u304A\u3093","\u307B\u304B\u3093","\u307B\u304D\u3087\u3046","\u307B\u3099\u304D\u3093","\u307B\u304F\u308D","\u307B\u3051\u3064","\u307B\u3051\u3093","\u307B\u3053\u3046","\u307B\u3053\u308B","\u307B\u3057\u3044","\u307B\u3057\u3064","\u307B\u3057\u3085","\u307B\u3057\u3087\u3046","\u307B\u305B\u3044","\u307B\u305D\u3044","\u307B\u305D\u304F","\u307B\u305F\u3066","\u307B\u305F\u308B","\u307B\u309A\u3061\u3075\u3099\u304F\u308D","\u307B\u3063\u304D\u3087\u304F","\u307B\u3063\u3055","\u307B\u3063\u305F\u3093","\u307B\u3068\u3093\u3068\u3099","\u307B\u3081\u308B","\u307B\u3093\u3044","\u307B\u3093\u304D","\u307B\u3093\u3051","\u307B\u3093\u3057\u3064","\u307B\u3093\u3084\u304F","\u307E\u3044\u306B\u3061","\u307E\u304B\u3044","\u307E\u304B\u305B\u308B","\u307E\u304B\u3099\u308B","\u307E\u3051\u308B","\u307E\u3053\u3068","\u307E\u3055\u3064","\u307E\u3057\u3099\u3081","\u307E\u3059\u304F","\u307E\u305B\u3099\u308B","\u307E\u3064\u308A","\u307E\u3068\u3081","\u307E\u306A\u3075\u3099","\u307E\u306C\u3051","\u307E\u306D\u304F","\u307E\u307B\u3046","\u307E\u3082\u308B","\u307E\u3086\u3051\u3099","\u307E\u3088\u3046","\u307E\u308D\u3084\u304B","\u307E\u308F\u3059","\u307E\u308F\u308A","\u307E\u308F\u308B","\u307E\u3093\u304B\u3099","\u307E\u3093\u304D\u3064","\u307E\u3093\u305D\u3099\u304F","\u307E\u3093\u306A\u304B","\u307F\u3044\u3089","\u307F\u3046\u3061","\u307F\u3048\u308B","\u307F\u304B\u3099\u304F","\u307F\u304B\u305F","\u307F\u304B\u3093","\u307F\u3051\u3093","\u307F\u3053\u3093","\u307F\u3057\u3099\u304B\u3044","\u307F\u3059\u3044","\u307F\u3059\u3048\u308B","\u307F\u305B\u308B","\u307F\u3063\u304B","\u307F\u3064\u304B\u308B","\u307F\u3064\u3051\u308B","\u307F\u3066\u3044","\u307F\u3068\u3081\u308B","\u307F\u306A\u3068","\u307F\u306A\u307F\u304B\u3055\u3044","\u307F\u306D\u3089\u308B","\u307F\u306E\u3046","\u307F\u306E\u304B\u3099\u3059","\u307F\u307B\u3093","\u307F\u3082\u3068","\u307F\u3084\u3051\u3099","\u307F\u3089\u3044","\u307F\u308A\u3087\u304F","\u307F\u308F\u304F","\u307F\u3093\u304B","\u307F\u3093\u305D\u3099\u304F","\u3080\u3044\u304B","\u3080\u3048\u304D","\u3080\u3048\u3093","\u3080\u304B\u3044","\u3080\u304B\u3046","\u3080\u304B\u3048","\u3080\u304B\u3057","\u3080\u304D\u3099\u3061\u3083","\u3080\u3051\u308B","\u3080\u3051\u3099\u3093","\u3080\u3055\u307B\u3099\u308B","\u3080\u3057\u3042\u3064\u3044","\u3080\u3057\u306F\u3099","\u3080\u3057\u3099\u3085\u3093","\u3080\u3057\u308D","\u3080\u3059\u3046","\u3080\u3059\u3053","\u3080\u3059\u3075\u3099","\u3080\u3059\u3081","\u3080\u305B\u308B","\u3080\u305B\u3093","\u3080\u3061\u3085\u3046","\u3080\u306A\u3057\u3044","\u3080\u306E\u3046","\u3080\u3084\u307F","\u3080\u3088\u3046","\u3080\u3089\u3055\u304D","\u3080\u308A\u3087\u3046","\u3080\u308D\u3093","\u3081\u3044\u3042\u3093","\u3081\u3044\u3046\u3093","\u3081\u3044\u3048\u3093","\u3081\u3044\u304B\u304F","\u3081\u3044\u304D\u3087\u304F","\u3081\u3044\u3055\u3044","\u3081\u3044\u3057","\u3081\u3044\u305D\u3046","\u3081\u3044\u3075\u3099\u3064","\u3081\u3044\u308C\u3044","\u3081\u3044\u308F\u304F","\u3081\u304F\u3099\u307E\u308C\u308B","\u3081\u3055\u3099\u3059","\u3081\u3057\u305F","\u3081\u3059\u3099\u3089\u3057\u3044","\u3081\u305F\u3099\u3064","\u3081\u307E\u3044","\u3081\u3084\u3059","\u3081\u3093\u304D\u3087","\u3081\u3093\u305B\u304D","\u3081\u3093\u3068\u3099\u3046","\u3082\u3046\u3057\u3042\u3051\u3099\u308B","\u3082\u3046\u3068\u3099\u3046\u3051\u3093","\u3082\u3048\u308B","\u3082\u304F\u3057","\u3082\u304F\u3066\u304D","\u3082\u304F\u3088\u3046\u3072\u3099","\u3082\u3061\u308D\u3093","\u3082\u3068\u3099\u308B","\u3082\u3089\u3046","\u3082\u3093\u304F","\u3082\u3093\u305F\u3099\u3044","\u3084\u304A\u3084","\u3084\u3051\u308B","\u3084\u3055\u3044","\u3084\u3055\u3057\u3044","\u3084\u3059\u3044","\u3084\u3059\u305F\u308D\u3046","\u3084\u3059\u307F","\u3084\u305B\u308B","\u3084\u305D\u3046","\u3084\u305F\u3044","\u3084\u3061\u3093","\u3084\u3063\u3068","\u3084\u3063\u306F\u309A\u308A","\u3084\u3075\u3099\u308B","\u3084\u3081\u308B","\u3084\u3084\u3053\u3057\u3044","\u3084\u3088\u3044","\u3084\u308F\u3089\u304B\u3044","\u3086\u3046\u304D","\u3086\u3046\u3072\u3099\u3093\u304D\u3087\u304F","\u3086\u3046\u3078\u3099","\u3086\u3046\u3081\u3044","\u3086\u3051\u3064","\u3086\u3057\u3085\u3064","\u3086\u305B\u3093","\u3086\u305D\u3046","\u3086\u305F\u304B","\u3086\u3061\u3083\u304F","\u3086\u3066\u3099\u308B","\u3086\u306B\u3085\u3046","\u3086\u3072\u3099\u308F","\u3086\u3089\u3044","\u3086\u308C\u308B","\u3088\u3046\u3044","\u3088\u3046\u304B","\u3088\u3046\u304D\u3085\u3046","\u3088\u3046\u3057\u3099","\u3088\u3046\u3059","\u3088\u3046\u3061\u3048\u3093","\u3088\u304B\u305B\u3099","\u3088\u304B\u3093","\u3088\u304D\u3093","\u3088\u304F\u305B\u3044","\u3088\u304F\u307B\u3099\u3046","\u3088\u3051\u3044","\u3088\u3053\u3099\u308C\u308B","\u3088\u3055\u3093","\u3088\u3057\u3085\u3046","\u3088\u305D\u3046","\u3088\u305D\u304F","\u3088\u3063\u304B","\u3088\u3066\u3044","\u3088\u3068\u3099\u304B\u3099\u308F\u304F","\u3088\u306D\u3064","\u3088\u3084\u304F","\u3088\u3086\u3046","\u3088\u308D\u3053\u3075\u3099","\u3088\u308D\u3057\u3044","\u3089\u3044\u3046","\u3089\u304F\u304B\u3099\u304D","\u3089\u304F\u3053\u3099","\u3089\u304F\u3055\u3064","\u3089\u304F\u305F\u3099","\u3089\u3057\u3093\u306F\u3099\u3093","\u3089\u305B\u3093","\u3089\u305D\u3099\u304F","\u3089\u305F\u3044","\u3089\u3063\u304B","\u3089\u308C\u3064","\u308A\u3048\u304D","\u308A\u304B\u3044","\u308A\u304D\u3055\u304F","\u308A\u304D\u305B\u3064","\u308A\u304F\u304F\u3099\u3093","\u308A\u304F\u3064","\u308A\u3051\u3093","\u308A\u3053\u3046","\u308A\u305B\u3044","\u308A\u305D\u3046","\u308A\u305D\u304F","\u308A\u3066\u3093","\u308A\u306D\u3093","\u308A\u3086\u3046","\u308A\u3085\u3046\u304B\u3099\u304F","\u308A\u3088\u3046","\u308A\u3087\u3046\u308A","\u308A\u3087\u304B\u3093","\u308A\u3087\u304F\u3061\u3083","\u308A\u3087\u3053\u3046","\u308A\u308A\u304F","\u308A\u308C\u304D","\u308A\u308D\u3093","\u308A\u3093\u3053\u3099","\u308B\u3044\u3051\u3044","\u308B\u3044\u3055\u3044","\u308B\u3044\u3057\u3099","\u308B\u3044\u305B\u304D","\u308B\u3059\u306F\u3099\u3093","\u308B\u308A\u304B\u3099\u308F\u3089","\u308C\u3044\u304B\u3093","\u308C\u3044\u304D\u3099","\u308C\u3044\u305B\u3044","\u308C\u3044\u305D\u3099\u3046\u3053","\u308C\u3044\u3068\u3046","\u308C\u3044\u307B\u3099\u3046","\u308C\u304D\u3057","\u308C\u304D\u305F\u3099\u3044","\u308C\u3093\u3042\u3044","\u308C\u3093\u3051\u3044","\u308C\u3093\u3053\u3093","\u308C\u3093\u3055\u3044","\u308C\u3093\u3057\u3085\u3046","\u308C\u3093\u305D\u3099\u304F","\u308C\u3093\u3089\u304F","\u308D\u3046\u304B","\u308D\u3046\u3053\u3099","\u308D\u3046\u3057\u3099\u3093","\u308D\u3046\u305D\u304F","\u308D\u304F\u304B\u3099","\u308D\u3053\u3064","\u308D\u3057\u3099\u3046\u3089","\u308D\u3057\u3085\u3064","\u308D\u305B\u3093","\u308D\u3066\u3093","\u308D\u3081\u3093","\u308D\u308C\u3064","\u308D\u3093\u304D\u3099","\u308D\u3093\u306F\u309A","\u308D\u3093\u3075\u3099\u3093","\u308D\u3093\u308A","\u308F\u304B\u3059","\u308F\u304B\u3081","\u308F\u304B\u3084\u307E","\u308F\u304B\u308C\u308B","\u308F\u3057\u3064","\u308F\u3057\u3099\u307E\u3057","\u308F\u3059\u308C\u3082\u306E","\u308F\u3089\u3046","\u308F\u308C\u308B"];jN.exports=pW});var VN=T((Cue,KN)=>{"use strict";g();var gW=["a\u0301baco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","accio\u0301n","aceite","acelga","acento","aceptar","a\u0301cido","aclarar","acne\u0301","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","ae\u0301reo","afectar","aficio\u0301n","afinar","afirmar","a\u0301gil","agitar","agoni\u0301a","agosto","agotar","agregar","agrio","agua","agudo","a\u0301guila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacra\u0301n","alambre","alarma","alba","a\u0301lbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodo\u0301n","aliado","aliento","alivio","alma","almeja","almi\u0301bar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","a\u0301mbar","a\u0301mbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","ande\u0301n","anemia","a\u0301ngulo","anillo","a\u0301nimo","ani\u0301s","anotar","antena","antiguo","antojo","anual","anular","anuncio","an\u0303adir","an\u0303ejo","an\u0303o","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","aran\u0303a","arar","a\u0301rbitro","a\u0301rbol","arbusto","archivo","arco","arder","ardilla","arduo","a\u0301rea","a\u0301rido","aries","armoni\u0301a","arne\u0301s","aroma","arpa","arpo\u0301n","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","a\u0301spero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","a\u0301tico","atleta","a\u0301tomo","atraer","atroz","atu\u0301n","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avio\u0301n","aviso","ayer","ayuda","ayuno","azafra\u0301n","azar","azote","azu\u0301car","azufre","azul","baba","babor","bache","bahi\u0301a","baile","bajar","balanza","balco\u0301n","balde","bambu\u0301","banco","banda","ban\u0303o","barba","barco","barniz","barro","ba\u0301scula","basto\u0301n","basura","batalla","bateri\u0301a","batir","batuta","bau\u0301l","bazar","bebe\u0301","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsa\u0301i","borde","borrar","bosque","bote","boti\u0301n","bo\u0301veda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufo\u0301n","bu\u0301ho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzo\u0301n","caballo","cabeza","cabina","cabra","cacao","cada\u0301ver","cadena","caer","cafe\u0301","cai\u0301da","caima\u0301n","caja","cajo\u0301n","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","ca\u0301ncer","candil","canela","canguro","canica","canto","can\u0303a","can\u0303o\u0301n","caoba","caos","capaz","capita\u0301n","capote","captar","capucha","cara","carbo\u0301n","ca\u0301rcel","careta","carga","carin\u0303o","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","ce\u0301lebre","celoso","ce\u0301lula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","ce\u0301sped","cetro","chacal","chaleco","champu\u0301","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclo\u0301n","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","cipre\u0301s","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","cli\u0301nica","cobre","coccio\u0301n","cochino","cocina","coco","co\u0301digo","codo","cofre","coger","cohete","coji\u0301n","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","co\u0301modo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazo\u0301n","corbata","corcho","cordo\u0301n","corona","correr","coser","cosmos","costa","cra\u0301neo","cra\u0301ter","crear","crecer","crei\u0301do","crema","cri\u0301a","crimen","cripta","crisis","cromo","cro\u0301nica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupo\u0301n","cu\u0301pula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","da\u0301til","deber","de\u0301bil","de\u0301cada","decir","dedo","defensa","definir","dejar","delfi\u0301n","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvi\u0301o","detalle","detener","deuda","di\u0301a","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difi\u0301cil","digno","dilema","diluir","dinero","directo","dirigir","disco","disen\u0303o","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","drago\u0301n","droga","ducha","duda","duelo","duen\u0303o","dulce","du\u0301o","duque","durar","dureza","duro","e\u0301bano","ebrio","echar","eco","ecuador","edad","edicio\u0301n","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","e\u0301lite","elixir","elogio","eludir","embudo","emitir","emocio\u0301n","empate","empen\u0303o","empleo","empresa","enano","encargo","enchufe","enci\u0301a","enemigo","enero","enfado","enfermo","engan\u0303o","enigma","enlace","enorme","enredo","ensayo","ensen\u0303ar","entero","entrar","envase","envi\u0301o","e\u0301poca","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espi\u0301a","esposa","espuma","esqui\u0301","estar","este","estilo","estufa","etapa","eterno","e\u0301tica","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","e\u0301xito","experto","explicar","exponer","extremo","fa\u0301brica","fa\u0301bula","fachada","fa\u0301cil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","farao\u0301n","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fe\u0301rtil","fervor","festi\u0301n","fiable","fianza","fiar","fibra","ficcio\u0301n","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flu\u0301or","fobia","foca","fogata","fogo\u0301n","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","fra\u0301gil","franja","frase","fraude","frei\u0301r","freno","fresa","fri\u0301o","frito","fruta","fuego","fuente","fuerza","fuga","fumar","funcio\u0301n","funda","furgo\u0301n","furia","fusil","fu\u0301tbol","futuro","gacela","gafas","gaita","gajo","gala","galeri\u0301a","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavila\u0301n","gemelo","gemir","gen","ge\u0301nero","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gra\u0301fico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","gru\u0301a","grueso","grumo","grupo","guante","guapo","guardia","guerra","gui\u0301a","guin\u0303o","guion","guiso","guitarra","gusano","gustar","haber","ha\u0301bil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazan\u0303a","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","he\u0301roe","hervir","hielo","hierro","hi\u0301gado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","hu\u0301medo","humilde","humo","hundir","huraca\u0301n","hurto","icono","ideal","idioma","i\u0301dolo","iglesia","iglu\u0301","igual","ilegal","ilusio\u0301n","imagen","ima\u0301n","imitar","impar","imperio","imponer","impulso","incapaz","i\u0301ndice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","intere\u0301s","i\u0301ntimo","intuir","inu\u0301til","invierno","ira","iris","ironi\u0301a","isla","islote","jabali\u0301","jabo\u0301n","jamo\u0301n","jarabe","jardi\u0301n","jarra","jaula","jazmi\u0301n","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","ju\u0301piter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladro\u0301n","lagarto","la\u0301grima","laguna","laico","lamer","la\u0301mina","la\u0301mpara","lana","lancha","langosta","lanza","la\u0301piz","largo","larva","la\u0301stima","lata","la\u0301tex","latir","laurel","lavar","lazo","leal","leccio\u0301n","leche","lector","leer","legio\u0301n","legumbre","lejano","lengua","lento","len\u0303a","leo\u0301n","leopardo","lesio\u0301n","letal","letra","leve","leyenda","libertad","libro","licor","li\u0301der","lidiar","lienzo","liga","ligero","lima","li\u0301mite","limo\u0301n","limpio","lince","lindo","li\u0301nea","lingote","lino","linterna","li\u0301quido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","locio\u0301n","loco","locura","lo\u0301gica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","mai\u0301z","maldad","maleta","malla","malo","mama\u0301","mambo","mamut","manco","mando","manejar","manga","maniqui\u0301","manjar","mano","manso","manta","man\u0303ana","mapa","ma\u0301quina","mar","marco","marea","marfil","margen","marido","ma\u0301rmol","marro\u0301n","martes","marzo","masa","ma\u0301scara","masivo","matar","materia","matiz","matriz","ma\u0301ximo","mayor","mazorca","mecha","medalla","medio","me\u0301dula","mejilla","mejor","melena","melo\u0301n","memoria","menor","mensaje","mente","menu\u0301","mercado","merengue","me\u0301rito","mes","meso\u0301n","meta","meter","me\u0301todo","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millo\u0301n","mimo","mina","minero","mi\u0301nimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","mocio\u0301n","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","mon\u0303o","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","mo\u0301vil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","mun\u0303eca","mural","muro","mu\u0301sculo","museo","musgo","mu\u0301sica","muslo","na\u0301car","nacio\u0301n","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","na\u0301usea","naval","nave","navidad","necio","ne\u0301ctar","negar","negocio","negro","neo\u0301n","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","nin\u0303ez","nin\u0303o","ni\u0301tido","nivel","nobleza","noche","no\u0301mina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","nu\u0301cleo","nudillo","nudo","nuera","nueve","nuez","nulo","nu\u0301mero","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","oce\u0301ano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oi\u0301do","oi\u0301r","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opcio\u0301n","o\u0301pera","opinar","oponer","optar","o\u0301ptica","opuesto","oracio\u0301n","orador","oral","o\u0301rbita","orca","orden","oreja","o\u0301rgano","orgi\u0301a","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadi\u0301a","oscuro","osezno","oso","ostra","oton\u0303o","otro","oveja","o\u0301vulo","o\u0301xido","oxi\u0301geno","oyente","ozono","pacto","padre","paella","pa\u0301gina","pago","pai\u0301s","pa\u0301jaro","palabra","palco","paleta","pa\u0301lido","palma","paloma","palpar","pan","panal","pa\u0301nico","pantera","pan\u0303uelo","papa\u0301","papel","papilla","paquete","parar","parcela","pared","parir","paro","pa\u0301rpado","parque","pa\u0301rrafo","parte","pasar","paseo","pasio\u0301n","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peato\u0301n","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldan\u0303o","pelea","peligro","pellejo","pelo","peluca","pena","pensar","pen\u0303o\u0301n","peo\u0301n","peor","pepino","pequen\u0303o","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pe\u0301simo","pestan\u0303a","pe\u0301talo","petro\u0301leo","pez","pezun\u0303a","picar","picho\u0301n","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","pin\u0303a","piojo","pipa","pirata","pisar","piscina","piso","pista","pito\u0301n","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesi\u0301a","poeta","polen","polici\u0301a","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porcio\u0301n","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","pri\u0301ncipe","prisio\u0301n","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","pro\u0301ximo","prueba","pu\u0301blico","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmo\u0301n","pulpo","pulso","puma","punto","pun\u0303al","pun\u0303o","pupa","pupila","pure\u0301","quedar","queja","quemar","querer","queso","quieto","qui\u0301mica","quince","quitar","ra\u0301bano","rabia","rabo","racio\u0301n","radical","rai\u0301z","rama","rampa","rancho","rango","rapaz","ra\u0301pido","rapto","rasgo","raspa","rato","rayo","raza","razo\u0301n","reaccio\u0301n","realidad","reban\u0303o","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refra\u0301n","refugio","regalo","regir","regla","regreso","rehe\u0301n","reino","rei\u0301r","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","reve\u0301s","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","ri\u0301gido","rigor","rinco\u0301n","rin\u0303o\u0301n","ri\u0301o","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubi\u0301","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sa\u0301bado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmo\u0301n","salo\u0301n","salsa","salto","salud","salvar","samba","sancio\u0301n","sandi\u0301a","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sarte\u0301n","sastre","sata\u0301n","sauna","saxofo\u0301n","seccio\u0301n","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","sen\u0303al","sen\u0303or","separar","sepia","sequi\u0301a","ser","serie","sermo\u0301n","servir","sesenta","sesio\u0301n","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","si\u0301laba","silbar","silencio","silla","si\u0301mbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","so\u0301lido","soltar","solucio\u0301n","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","soste\u0301n","so\u0301tano","suave","subir","suceso","sudor","suegra","suelo","suen\u0303o","suerte","sufrir","sujeto","sulta\u0301n","sumar","superar","suplir","suponer","supremo","sur","surco","suren\u0303o","surgir","susto","sutil","tabaco","tabique","tabla","tabu\u0301","taco","tacto","tajo","talar","talco","talento","talla","talo\u0301n","taman\u0303o","tambor","tango","tanque","tapa","tapete","tapia","tapo\u0301n","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazo\u0301n","teatro","techo","tecla","te\u0301cnica","tejado","tejer","tejido","tela","tele\u0301fono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teori\u0301a","terapia","terco","te\u0301rmino","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburo\u0301n","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","ti\u0301mido","timo","tinta","ti\u0301o","ti\u0301pico","tipo","tira","tiro\u0301n","tita\u0301n","ti\u0301tere","ti\u0301tulo","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","to\u0301rax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","to\u0301xico","trabajo","tractor","traer","tra\u0301fico","trago","traje","tramo","trance","trato","trauma","trazar","tre\u0301bol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tuberi\u0301a","tubo","tuerto","tumba","tumor","tu\u0301nel","tu\u0301nica","turbina","turismo","turno","tutor","ubicar","u\u0301lcera","umbral","unidad","unir","universo","uno","untar","un\u0303a","urbano","urbe","urgente","urna","usar","usuario","u\u0301til","utopi\u0301a","uva","vaca","vaci\u0301o","vacuna","vagar","vago","vaina","vajilla","vale","va\u0301lido","valle","valor","va\u0301lvula","vampiro","vara","variar","varo\u0301n","vaso","vecino","vector","vehi\u0301culo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vi\u0301a","viaje","vibrar","vicio","vi\u0301ctima","vida","vi\u0301deo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","vin\u0303edo","violi\u0301n","viral","virgo","virtud","visor","vi\u0301spera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volca\u0301n","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"];KN.exports=gW});var WN=T((Mue,GN)=>{g();GN.exports={CHINESE:LN(),ENGLISH:DN(),FRENCH:qN(),ITALIAN:FN(),JAPANESE:zN(),SPANISH:VN()}});var D_=T((Hue,YN)=>{"use strict";g();YN.exports="9.23.0"});var $N=T((H_,ZN)=>{g();(function(e,t){"use strict";typeof define=="function"&&define.amd?define([],function(){return e.secrets=t()}):typeof H_=="object"?ZN.exports=t(nr()):e.secrets=t(e.crypto)})(H_,function(e){"use strict";var t,r,i,n,o;function a(){t={bits:8,radix:16,minBits:3,maxBits:20,bytesPerChar:2,maxBytesPerChar:6,primitivePolynomials:[null,null,1,3,3,5,3,3,29,17,9,5,83,27,43,3,45,9,39,39,9,5,3,33,27,9,71,39,9,5,83]},r={},i=new Array(1024).join("0"),n=!0,o=["nodeCryptoRandomBytes","browserCryptoGetRandomValues","testRandom"]}function s(){return!!(r&&r.rng&&typeof r.rng=="function")}function u(A,B){var M;if(B===0||B===1)return A;if(B&&B>1024)throw new Error("Padding must be multiples of no larger than 1024 bits.");return B=B||r.bits,A&&(M=A.length%B),M?(i+A).slice(-(B-M+A.length)):A}function c(A){var B="",M,F;for(F=A.length-1;F>=0;F--){if(M=parseInt(A[F],16),isNaN(M))throw new Error("Invalid hex character.");B=u(M.toString(2),4)+B}return B}function l(A){var B="",M,F;for(A=u(A,4),F=A.length;F>=4;F-=4){if(M=parseInt(A.slice(F-4,F),2),isNaN(M))throw new Error("Invalid binary character.");B=M.toString(16)+B}return B}function p(){return!!(e&&typeof e=="object"&&(typeof e.getRandomValues=="function"||typeof e.getRandomValues=="object")&&(typeof Uint32Array=="function"||typeof Uint32Array=="object"))}function d(){return typeof e=="object"&&typeof e.randomBytes=="function"}function v(A){function B(Y,E,h,y){var w=0,S,O="",C;for(E&&(S=E.length-1);w<S||O.length<Y;)C=Math.abs(parseInt(E[w],h)),O=O+u(C.toString(2),y),w++;return O=O.substr(-Y),(O.match(/0/g)||[]).length===O.length?null:O}function M(Y){var E,h,y,w,S=null;for(y=16,w=4,h=Math.ceil(Y/8);S===null;)E=e.randomBytes(h),S=B(Y,E.toString("hex"),y,w);return S}function F(Y){var E,h,y,w=null;for(h=10,y=32,E=Math.ceil(Y/32);w===null;)w=B(Y,e.getRandomValues(new Uint32Array(E)),h,y);return w}function V(Y){var E,h,y,w,S,O=null;w=10,S=32,h=Math.ceil(Y/32),y=123456789,E=new Uint32Array(h);for(var C=0;C<E.length;C++)E[C]=y;for(;O===null;)O=B(Y,E,w,S);return O}if(A&&A==="testRandom")return r.typeCSPRNG=A,V;if(A&&A==="nodeCryptoRandomBytes")return r.typeCSPRNG=A,M;if(A&&A==="browserCryptoGetRandomValues")return r.typeCSPRNG=A,F;if(d())return r.typeCSPRNG="nodeCryptoRandomBytes",M;if(p())return r.typeCSPRNG="browserCryptoGetRandomValues",F}function _(A,B){var M=[],F;for(B&&(A=u(A,B)),F=A.length;F>r.bits;F-=r.bits)M.push(parseInt(A.slice(F-r.bits,F),2));return M.push(parseInt(A.slice(0,F),2)),M}function I(A,B){var M=r.logs[A],F=0,V;for(V=B.length-1;V>=0;V--)F!==0?F=r.exps[(M+r.logs[F])%r.maxShares]^B[V]:F=B[V];return F}function R(A,B,M){var F=0,V,Y,E,h;for(E=0,V=B.length;E<V;E++)if(M[E]){for(Y=r.logs[M[E]],h=0;h<V;h++)if(E!==h){if(A===B[h]){Y=-1;break}Y=(Y+r.logs[A^B[h]]-r.logs[B[E]^B[h]]+r.maxShares)%r.maxShares}F=Y===-1?F:F^r.exps[Y]}return F}function k(A,B,M){var F=[],V=[A],Y,E;for(Y=1;Y<M;Y++)V[Y]=parseInt(r.rng(r.bits),2);for(Y=1,E=B+1;Y<E;Y++)F[Y-1]={x:Y,y:I(Y,V)};return F}function q(A,B,M){var F,V,Y,E,h;if(B=parseInt(B,r.radix),A=parseInt(A,10)||r.bits,F=A.toString(36).toUpperCase(),Y=Math.pow(2,A)-1,E=Y.toString(r.radix).length,V=u(B.toString(r.radix),E),typeof B!="number"||B%1!==0||B<1||B>Y)throw new Error("Share id must be an integer between 1 and "+Y+", inclusive.");return h=F+V+M,h}var z={init:function(A,B){var M=[],F=[],V=1,Y,E;if(a(),A&&(typeof A!="number"||A%1!==0||A<t.minBits||A>t.maxBits))throw new Error("Number of bits must be an integer between "+t.minBits+" and "+t.maxBits+", inclusive.");if(B&&o.indexOf(B)===-1)throw new Error("Invalid RNG type argument : '"+B+"'");for(r.radix=t.radix,r.bits=A||t.bits,r.size=Math.pow(2,r.bits),r.maxShares=r.size-1,Y=t.primitivePolynomials[r.bits],E=0;E<r.size;E++)F[E]=V,M[V]=E,V=V<<1,V>=r.size&&(V=V^Y,V=V&r.maxShares);if(r.logs=M,r.exps=F,B&&this.setRNG(B),s()||this.setRNG(),!s()||!r.bits||!r.size||!r.maxShares||!r.logs||!r.exps||r.logs.length!==r.size||r.exps.length!==r.size)throw new Error("Initialization failed.")},combine:function(A,B){var M,F,V,Y,E="",h,y,w,S=[],O=[];for(B=B||0,M=0,V=A.length;M<V;M++){if(y=this.extractShareComponents(A[M]),h===void 0)h=y.bits;else if(y.bits!==h)throw new Error("Mismatched shares: Different bit settings.");if(r.bits!==h&&this.init(h),S.indexOf(y.id)===-1)for(S.push(y.id),w=_(c(y.data)),F=0,Y=w.length;F<Y;F++)O[F]=O[F]||[],O[F][S.length-1]=w[F]}for(M=0,V=O.length;M<V;M++)E=u(R(B,S,O[M]).toString(2))+E;return l(B>=1?E:E.slice(E.indexOf("1")+1))},getConfig:function(){var A={};return A.radix=r.radix,A.bits=r.bits,A.maxShares=r.maxShares,A.hasCSPRNG=s(),A.typeCSPRNG=r.typeCSPRNG,A},extractShareComponents:function(A){var B,M,F,V,Y={},E,h;if(B=parseInt(A.substr(0,1),36),B&&(typeof B!="number"||B%1!==0||B<t.minBits||B>t.maxBits))throw new Error("Invalid share : Number of bits must be an integer between "+t.minBits+" and "+t.maxBits+", inclusive.");if(V=Math.pow(2,B)-1,F=(Math.pow(2,B)-1).toString(r.radix).length,E="^([a-kA-K3-9]{1})([a-fA-F0-9]{"+F+"})([a-fA-F0-9]+)$",h=new RegExp(E).exec(A),h&&(M=parseInt(h[2],r.radix)),typeof M!="number"||M%1!==0||M<1||M>V)throw new Error("Invalid share : Share id must be an integer between 1 and "+r.maxShares+", inclusive.");if(h&&h[3])return Y.bits=B,Y.id=M,Y.data=h[3],Y;throw new Error("The share data provided is invalid : "+A)},setRNG:function(A){var B="Random number generator is invalid ",M=" Supply an CSPRNG of the form function(bits){} that returns a string containing 'bits' number of random 1's and 0's.";if(A&&typeof A=="string"&&o.indexOf(A)===-1)throw new Error("Invalid RNG type argument : '"+A+"'");if(A||(A=v()),A&&typeof A=="string"&&(A=v(A)),n){if(A&&typeof A!="function")throw new Error(B+"(Not a function)."+M);if(A&&typeof A(r.bits)!="string")throw new Error(B+"(Output is not a string)."+M);if(A&&!parseInt(A(r.bits),2))throw new Error(B+"(Binary string output not parseable to an Integer)."+M);if(A&&A(r.bits).length>r.bits)throw new Error(B+"(Output length is greater than config.bits)."+M);if(A&&A(r.bits).length<r.bits)throw new Error(B+"(Output length is less than config.bits)."+M)}return r.rng=A,!0},str2hex:function(A,B){var M,F,V="",Y,E,h,y;if(typeof A!="string")throw new Error("Input must be a character string.");if(B||(B=t.bytesPerChar),typeof B!="number"||B<1||B>t.maxBytesPerChar||B%1!==0)throw new Error("Bytes per character must be an integer between 1 and "+t.maxBytesPerChar+", inclusive.");for(M=2*B,F=Math.pow(16,M)-1,h=0,y=A.length;h<y;h++){if(E=A[h].charCodeAt(),isNaN(E))throw new Error("Invalid character: "+A[h]);if(E>F)throw Y=Math.ceil(Math.log(E+1)/Math.log(256)),new Error("Invalid character code ("+E+"). Maximum allowable is 256^bytes-1 ("+F+"). To convert this character, use at least "+Y+" bytes.");V=u(E.toString(16),M)+V}return V},hex2str:function(A,B){var M,F="",V,Y;if(typeof A!="string")throw new Error("Input must be a hexadecimal string.");if(B=B||t.bytesPerChar,typeof B!="number"||B%1!==0||B<1||B>t.maxBytesPerChar)throw new Error("Bytes per character must be an integer between 1 and "+t.maxBytesPerChar+", inclusive.");for(M=2*B,A=u(A,M),V=0,Y=A.length;V<Y;V+=M)F=String.fromCharCode(parseInt(A.slice(V,V+M),16))+F;return F},random:function(A){if(typeof A!="number"||A%1!==0||A<2||A>65536)throw new Error("Number of bits must be an Integer between 1 and 65536.");return l(r.rng(A))},share:function(A,B,M,F){var V,Y,E=new Array(B),h=new Array(B),y,w,S;if(F=F||128,typeof A!="string")throw new Error("Secret must be a string.");if(typeof B!="number"||B%1!==0||B<2)throw new Error("Number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive.");if(B>r.maxShares)throw V=Math.ceil(Math.log(B+1)/Math.LN2),new Error("Number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive. To create "+B+" shares, use at least "+V+" bits.");if(typeof M!="number"||M%1!==0||M<2)throw new Error("Threshold number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive.");if(M>r.maxShares)throw V=Math.ceil(Math.log(M+1)/Math.LN2),new Error("Threshold number of shares must be an integer between 2 and 2^bits-1 ("+r.maxShares+"), inclusive. To use a threshold of "+M+", use at least "+V+" bits.");if(M>B)throw new Error("Threshold number of shares was "+M+" but must be less than or equal to the "+B+" shares specified as the total to generate.");if(typeof F!="number"||F%1!==0||F<0||F>1024)throw new Error("Zero-pad length must be an integer between 0 and 1024 inclusive.");for(A="1"+c(A),A=_(A,F),y=0,S=A.length;y<S;y++)for(Y=k(A[y],B,M),w=0;w<B;w++)E[w]=E[w]||Y[w].x.toString(r.radix),h[w]=u(Y[w].y.toString(2))+(h[w]||"");for(y=0;y<B;y++)E[y]=q(r.bits,E[y],l(h[y]));return E},newShare:function(A,B){var M,F;if(A&&typeof A=="string"&&(A=parseInt(A,r.radix)),F=A.toString(r.radix),A&&F&&B&&B[0])return M=this.extractShareComponents(B[0]),q(M.bits,F,this.combine(B,A));throw new Error("Invalid 'id' or 'shares' Array argument to newShare().")},_reset:a,_padLeft:u,_hex2bin:c,_bin2hex:l,_hasCryptoGetRandomValues:p,_hasCryptoRandomBytes:d,_getRNG:v,_isSetRNG:s,_splitNumStringToIntArray:_,_horner:I,_lagrange:R,_getShares:k,_constructPublicShareString:q};return z.init(),z})});var U_=T((Fue,eC)=>{"use strict";g();var vi=Ke(),XN=Ki(),JN=Le(),dm=null;function q_(){if(dm)return dm;var e=$N();return e.setRNG(function(t){for(var r=64,i=0;i<r;i++){for(var n=XN.getRandomBuffer(Math.ceil(t/8)),o="",a=0;a<n.length;a++)o+=("00000000"+n[a].toString(2)).slice(-8);if(o=o.slice(0,t),/1/.test(o))return o}throw new Error("shamir: CSPRNG returned all-zero draws "+r+" times in a row \u2014 refusing to hang on a degenerate/stubbed random source")}),dm=e,dm}var pm="ff",QN=2;function Br(e){return this instanceof Br?(this.options=e||{},this):new Br(e)}Br.split=function(e,t,r,i){if(i=i||{},e==null)throw new Error("Secret is required");if(t<2)throw new Error("Threshold must be at least 2");if(r<t)throw new Error("Number of shares must be at least threshold");if(t>255||r>255)throw new Error("Threshold and shares must be <= 255");for(var n=f.Buffer.isBuffer(e)?e:f.Buffer.from(e,"utf8"),o=pm+n.toString("hex"),a=q_().share(o,r,t),s=XN.getRandomBuffer(8).toString("hex"),u=i.checksum===!0,c=u?JN.sha256(n).slice(0,4).toString("hex"):null,l=[],p=0;p<a.length;p++)l.push({v:QN,id:p+1,threshold:t,shares:r,length:n.length,splitId:s,share:a[p],checksum:c});return l};Br.combine=function(e){if(!e||e.length===0)throw new Error("Shares array is required");if(e[0]&&Array.isArray(e[0].bytes)&&e[0].share===void 0)return Br._combineLegacy(e);var t=e[0].threshold,r=e[0].splitId;if(e.length<t)throw new Error("Insufficient shares: need "+t+", got "+e.length);for(var i=[],n=0;n<e.length;n++){var o=e[n];if(!o||typeof o.share!="string")throw new Error("Invalid share at index "+n);if(r!==void 0&&o.splitId!==r)throw new Error("Shares are from different splits (splitId mismatch)");if(o.threshold!==t)throw new Error("Shares have inconsistent threshold");i.push(o.share)}var a=q_().combine(i);if(a.slice(0,pm.length)!==pm)throw new Error("Reconstruction failed: invalid or insufficient shares");var s=f.Buffer.from(a.slice(pm.length),"hex"),u=e[0].checksum;if(u){var c=JN.sha256(s).slice(0,4).toString("hex");if(c!==u)throw new Error("Integrity check failed: shares are inconsistent or tampered")}return s};Br.verifyShare=function(e){try{return!e||typeof e!="object"?!1:Array.isArray(e.bytes)&&e.share===void 0?Br._verifyLegacyShare(e):e.v!==QN||typeof e.share!="string"||!/^[0-9a-fA-F]+$/.test(e.share)||typeof e.threshold!="number"||typeof e.shares!="number"||e.threshold<2||e.shares<e.threshold||e.shares>255||e.id<1||e.id>e.shares||e.checksum!==null&&e.checksum!==void 0&&!/^[0-9a-fA-F]{8}$/.test(e.checksum)?!1:(q_().extractShareComponents(e.share),!0)}catch{return!1}};Br.generateTestVectors=function(){var e="Hello, Bitcoin SV!",t=3,r=5,i=Br.split(e,t,r),n=Br.combine(i.slice(0,t));return{secret:e,threshold:t,totalShares:r,shares:i,reconstructed:n.toString("utf8"),valid:n.toString("utf8")===e}};var cs=new vi(2147483647);Br._combineLegacy=function(e){var t=e[0].threshold,r=e[0].shares,i=e[0].length;if(e.length<t)throw new Error("Insufficient shares: need "+t+", got "+e.length);for(var n=0;n<e.length;n++){if(e[n].threshold!==t||e[n].shares!==r)throw new Error("Shares have inconsistent parameters");if(e[n].length!==i)throw new Error("Shares have different secret lengths")}for(var o=[],a=0;a<i;a++){for(var s=[],u=0;u<Math.min(e.length,t);u++)s.push(e[u].bytes[a]);o.push(Br._combineByteLegacy(s))}return f.Buffer.from(o)};Br._combineByteLegacy=function(e){for(var t=new vi(0),r=0;r<e.length;r++){for(var i=new vi(e[r].x),n=new vi(e[r].y,16),o=new vi(1),a=new vi(1),s=0;s<e.length;s++)if(r!==s){var u=new vi(e[s].x),c=new vi(0).sub(u);c.lt(new vi(0))&&(c=c.add(cs)),o=o.mul(c).mod(cs);var l=i.sub(u);l.lt(new vi(0))&&(l=l.add(cs)),a=a.mul(l).mod(cs)}var p=Br._modInverseLegacy(a,cs),d=o.mul(p).mod(cs);t=t.add(n.mul(d)).mod(cs)}return t.mod(cs).mod(new vi(256)).toNumber()};Br._modInverseLegacy=function(e,t){e.lt(new vi(0))&&(e=e.mod(t).add(t));var r=Br._extendedGCDLegacy(e,t);if(!r.gcd.eq(new vi(1)))throw new Error("Modular inverse does not exist");return r.x.mod(t).add(t).mod(t)};Br._extendedGCDLegacy=function(e,t){if(e.eq(new vi(0)))return{gcd:t,x:new vi(0),y:new vi(1)};var r=Br._extendedGCDLegacy(t.mod(e),e);return{gcd:r.gcd,x:r.y.sub(t.div(e).mul(r.x)),y:r.x}};Br._verifyLegacyShare=function(e){if(!e.id||!e.threshold||!e.shares||!e.bytes||typeof e.length!="number"||e.threshold<2||e.shares<e.threshold||!Array.isArray(e.bytes)||e.bytes.length!==e.length)return!1;for(var t=0;t<e.bytes.length;t++){var r=e.bytes[t];if(!r||!r.x||!r.y||r.x<1||r.x>e.shares||!/^[0-9a-fA-F]+$/.test(r.y))return!1}return!0};eC.exports=Br});var mm=T((zue,tC)=>{"use strict";g();var bo=Ke(),mW=un(),vW=dn(),yh=mW.getN(),gm=yh.shrn(1);function yW(e,t,r){if(!f.Buffer.isBuffer(e)||e.length!==32)throw new Error("Invalid message hash: must be 32-byte buffer");if(!t)return!1;let i=t;if(f.Buffer.isBuffer(t))try{i=gt().fromDER(t)}catch{return!1}if(!i||!i.r||!i.s)return!1;let n=bo.isBN(i.r)?i.r:new bo(i.r),o=bo.isBN(i.s)?i.s:new bo(i.s);if(n.isZero()||o.isZero()||n.gte(yh)||o.gte(yh)||o.gt(gm))return!1;let a=gt(),s=new a({r:n,s:o});return vW.verify(e,s,r)}function bW(e){if(!e)return!1;let t=e;if(f.Buffer.isBuffer(e))try{t=gt().fromDER(e)}catch{return!1}return!t||!t.s?!1:(bo.isBN(t.s)?t.s:new bo(t.s)).lte(gm)}function _W(e){if(!e||!e.r||!e.s)throw new Error("Invalid signature object");let t=bo.isBN(e.r)?e.r:new bo(e.r),r=bo.isBN(e.s)?e.s:new bo(e.s),i=r;return r.gt(gm)&&(i=yh.sub(r)),{r:t,s:i}}tC.exports={smartVerify:yW,isCanonical:bW,canonicalize:_W,constants:{n:yh,nh:gm}}});var vm=T((Vue,nC)=>{"use strict";g();var wW=Ke(),{secp256k1:Kc}=(Ll(),en(Cl)),rC=Kc.Point,SW=rC.Fn.ORDER;function F_(e){var t=e.toString(16);return t.length%2&&(t="0"+t),new wW(t,16)}function j_(e){return f.Buffer.isBuffer(e)?Uint8Array.from(e):e instanceof Uint8Array?e:Uint8Array.from(f.Buffer.from(e,"hex"))}function z_(e){this._p=e}z_.prototype.eq=function(e){var t=e&&e._p?e._p:e;return this._p.equals(t)};var iC={curve:{n:F_(SW)},keyFromPrivate:function(e,t){var r;f.Buffer.isBuffer(e)?r=e:e instanceof Uint8Array?r=f.Buffer.from(e):r=f.Buffer.from(e,t||"hex");var i=Uint8Array.from(r);return{_priv:i,getPublic:function(){return new z_(rC.fromBytes(Kc.getPublicKey(i,!0)))}}},sign:function(e,t){var r=Kc.sign(j_(e),t._priv,{lowS:!0,prehash:!1,format:"recovered"}),i=r[0],n=F_(BigInt("0x"+f.Buffer.from(r.subarray(1,33)).toString("hex"))),o=F_(BigInt("0x"+f.Buffer.from(r.subarray(33,65)).toString("hex")));return{r:n,s:o,recoveryParam:i}},verify:function(e,t,r){try{if(!t||typeof t!="object")return!1;var i=t.r,n=t.s;if(!i||!n||typeof i.cmp!="function"||typeof n.cmp!="function"||i.isZero()||n.isZero())return!1;var o=iC.curve.n;if(i.cmp(o)>=0||n.cmp(o)>=0)return!1;var a=f.Buffer.concat([i.toBuffer({size:32}),n.toBuffer({size:32})]),s=r._priv?Kc.getPublicKey(r._priv,!0):r._p?r._p.toBytes(!0):r;return Kc.verify(Uint8Array.from(a),j_(e),Uint8Array.from(s),{lowS:!1,prehash:!1})}catch{return!1}},recoverPubKey:function(e,t,r){var i=f.Buffer.concat([t.r.toBuffer({size:32}),t.s.toBuffer({size:32})]),n=Kc.Signature.fromBytes(Uint8Array.from(i),"compact").addRecoveryBit(r);return new z_(n.recoverPublicKey(j_(e)))}};nC.exports=iC});var Vc=T((Wue,sC)=>{"use strict";g();var ym=at(),bh=Ke(),bm=lo(),EW=Nn(),xW=Le(),oC=Ie(),OW=486604799,nt=function e(t){if(!(this instanceof e))return new e(t);var r=e._from(t);return this.version=r.version,this.prevHash=r.prevHash,this.merkleRoot=r.merkleRoot,this.time=r.time,this.timestamp=r.time,this.bits=r.bits,this.nonce=r.nonce,r.hash&&oC.checkState(this.hash===r.hash,"Argument object hash property does not match block hash."),this};nt._from=function(t){var r={};if(f.Buffer.isBuffer(t))r=nt._fromBufferReader(bm(t));else if(ym.isObject(t))r=nt._fromObject(t);else throw new TypeError("Unrecognized argument for BlockHeader");return r};nt._fromObject=function(t){oC.checkArgument(t,"data is required");var r=t.prevHash,i=t.merkleRoot;ym.isString(t.prevHash)&&(r=f.Buffer.from(t.prevHash,"hex").reverse()),ym.isString(t.merkleRoot)&&(i=f.Buffer.from(t.merkleRoot,"hex").reverse());var n={hash:t.hash,version:t.version,prevHash:r,merkleRoot:i,time:t.time,timestamp:t.time,bits:t.bits,nonce:t.nonce};return n};nt.fromObject=function(t){var r=nt._fromObject(t);return new nt(r)};nt.fromRawBlock=function(t){f.Buffer.isBuffer(t)||(t=f.Buffer.from(t,"binary"));var r=bm(t);r.pos=nt.Constants.START_OF_HEADER;var i=nt._fromBufferReader(r);return new nt(i)};nt.fromBuffer=function(t){var r=nt._fromBufferReader(bm(t));return new nt(r)};nt.fromString=function(t){var r=f.Buffer.from(t,"hex");return nt.fromBuffer(r)};nt._fromBufferReader=function(t){var r={};return r.version=t.readInt32LE(),r.prevHash=t.read(32),r.merkleRoot=t.read(32),r.time=t.readUInt32LE(),r.bits=t.readUInt32LE(),r.nonce=t.readUInt32LE(),r};nt.fromBufferReader=function(t){var r=nt._fromBufferReader(t);return new nt(r)};nt.prototype.toObject=nt.prototype.toJSON=function(){return{hash:this.hash,version:this.version,prevHash:f.Buffer.from(this.prevHash).reverse().toString("hex"),merkleRoot:f.Buffer.from(this.merkleRoot).reverse().toString("hex"),time:this.time,bits:this.bits,nonce:this.nonce}};nt.prototype.toBuffer=function(){return this.toBufferWriter().concat()};nt.prototype.toString=function(){return this.toBuffer().toString("hex")};nt.prototype.toBufferWriter=function(t){return t||(t=new EW),t.writeInt32LE(this.version),t.write(this.prevHash),t.write(this.merkleRoot),t.writeUInt32LE(this.time),t.writeUInt32LE(this.bits),t.writeUInt32LE(this.nonce),t};nt.prototype.getTargetDifficulty=function(t){t=t||this.bits;for(var r=new bh(t&16777215),i=8*((t>>>24)-3);i-- >0;)r=r.mul(new bh(2));return r};nt.prototype.getDifficulty=function(){var t=this.getTargetDifficulty(OW).mul(new bh(Math.pow(10,8))),r=this.getTargetDifficulty(),i=t.div(r).toString(10),n=i.length-8;return i=i.slice(0,n)+"."+i.slice(n),parseFloat(i)};nt.prototype._getHash=function(){var t=this.toBuffer();return xW.sha256sha256(t)};var aC={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=bm(this._getHash()).readReverse().toString("hex")),this._id},set:ym.noop};Object.defineProperty(nt.prototype,"id",aC);Object.defineProperty(nt.prototype,"hash",aC);nt.prototype.validTimestamp=function(){var t=Math.round(new Date().getTime()/1e3);return!(this.time>t+nt.Constants.MAX_TIME_OFFSET)};nt.prototype.validProofOfWork=function(){var t=new bh(this.id,"hex"),r=this.getTargetDifficulty();return!(t.cmp(r)>0)};nt.prototype.inspect=function(){return"<BlockHeader "+this.id+">"};nt.Constants={START_OF_HEADER:8,MAX_TIME_OFFSET:7200,LARGEST_HASH:new bh("10000000000000000000000000000000000000000000000000000000000000000","hex")};sC.exports=nt});var dC=T((Zue,hC)=>{"use strict";g();var V_=at(),cC=Vc(),uC=Ke(),G_=lo(),IW=Nn(),AW=Le(),K_=zt(),fC=Ie();function qe(e){return this instanceof qe?(V_.extend(this,qe._from(e)),this):new qe(e)}qe.MAX_BLOCK_SIZE=128e6;qe._from=function(t){var r={};if(f.Buffer.isBuffer(t))r=qe._fromBufferReader(G_(t));else if(V_.isObject(t))r=qe._fromObject(t);else throw new TypeError("Unrecognized argument for Block");return r};qe._fromObject=function(t){var r=[];t.transactions.forEach(function(n){n instanceof K_?r.push(n):r.push(K_().fromObject(n))});var i={header:cC.fromObject(t.header),transactions:r};return i};qe.fromObject=function(t){var r=qe._fromObject(t);return new qe(r)};qe._fromBufferReader=function(t){var r={};fC.checkState(!t.finished(),"No block data received"),r.header=cC.fromBufferReader(t);var i=t.readVarintNum();r.transactions=[];for(var n=0;n<i;n++)r.transactions.push(K_().fromBufferReader(t));return r};qe.fromBufferReader=function(t){fC.checkArgument(t,"br is required");var r=qe._fromBufferReader(t);return new qe(r)};qe.fromBuffer=function(t){return qe.fromBufferReader(new G_(t))};qe.fromString=function(t){var r=f.Buffer.from(t,"hex");return qe.fromBuffer(r)};qe.fromRawBlock=function(t){f.Buffer.isBuffer(t)||(t=f.Buffer.from(t,"binary"));var r=G_(t);r.pos=qe.Values.START_OF_BLOCK;var i=qe._fromBufferReader(r);return new qe(i)};qe.prototype.toObject=qe.prototype.toJSON=function(){var t=[];return this.transactions.forEach(function(r){t.push(r.toObject())}),{header:this.header.toObject(),transactions:t}};qe.prototype.toBuffer=function(){return this.toBufferWriter().concat()};qe.prototype.toString=function(){return this.toBuffer().toString("hex")};qe.prototype.toBufferWriter=function(t){t||(t=new IW),t.write(this.header.toBuffer()),t.writeVarintNum(this.transactions.length);for(var r=0;r<this.transactions.length;r++)this.transactions[r].toBufferWriter(t);return t};qe.prototype.getTransactionHashes=function(){var t=[];if(this.transactions.length===0)return[qe.Values.NULL_HASH];for(var r=0;r<this.transactions.length;r++)t.push(this.transactions[r]._getHash());return t};qe.prototype.getMerkleTree=function(){for(var t=this.getTransactionHashes(),r=0,i=this.transactions.length;i>1;i=Math.floor((i+1)/2)){for(var n=0;n<i;n+=2){var o=Math.min(n+1,i-1),a=f.Buffer.concat([t[r+n],t[r+o]]);t.push(AW.sha256sha256(a))}r+=i}return t};qe.prototype.getMerkleRoot=function(){var t=this.getMerkleTree();return t[t.length-1]};qe.prototype.validMerkleRoot=function(){var t=new uC(this.header.merkleRoot.toString("hex"),"hex"),r=new uC(this.getMerkleRoot().toString("hex"),"hex");return t.cmp(r)===0};qe.prototype._getHash=function(){return this.header._getHash()};var lC={configurable:!1,enumerable:!0,get:function(){return this._id||(this._id=this.header.id),this._id},set:V_.noop};Object.defineProperty(qe.prototype,"id",lC);Object.defineProperty(qe.prototype,"hash",lC);qe.prototype.inspect=function(){return"<Block "+this.id+">"};qe.Values={START_OF_BLOCK:8,NULL_HASH:f.Buffer.from("0000000000000000000000000000000000000000000000000000000000000000","hex")};hC.exports=qe});var Z_=T((Xue,mC)=>{"use strict";g();var lu=at(),Y_=Vc(),gC=lo(),TW=Nn(),PW=Le(),pC=zt(),W_=pi(),hu=Ie(),RW=ts();function _m(e){return Array.isArray(e)?e.slice():e}function Qt(e){if(!(this instanceof Qt))return new Qt(e);var t={};if(f.Buffer.isBuffer(e))t=Qt._fromBufferReader(gC(e));else if(lu.isObject(e)){var r;e.header instanceof Y_?r=e.header:r=Y_.fromObject(e.header),t={header:r,numTransactions:e.numTransactions,hashes:_m(e.hashes),flags:_m(e.flags)}}else throw new TypeError("Unrecognized argument for MerkleBlock");return lu.extend(this,t),this._flagBitsUsed=0,this._hashesUsed=0,this}Qt.fromBuffer=function(t){return Qt.fromBufferReader(gC(t))};Qt.fromBufferReader=function(t){return new Qt(Qt._fromBufferReader(t))};Qt.prototype.toBuffer=function(){return this.toBufferWriter().concat()};Qt.prototype.toBufferWriter=function(t){t||(t=new TW),t.write(this.header.toBuffer()),t.writeUInt32LE(this.numTransactions),t.writeVarintNum(this.hashes.length);for(var r=0;r<this.hashes.length;r++)t.write(f.Buffer.from(this.hashes[r],"hex"));for(t.writeVarintNum(this.flags.length),r=0;r<this.flags.length;r++)t.writeUInt8(this.flags[r]);return t};Qt.prototype.toObject=Qt.prototype.toJSON=function(){return{header:this.header.toObject(),numTransactions:this.numTransactions,hashes:_m(this.hashes),flags:_m(this.flags)}};Qt.prototype.validMerkleTree=function(){if(hu.checkState(lu.isArray(this.flags),"MerkleBlock flags is not an array"),hu.checkState(lu.isArray(this.hashes),"MerkleBlock hashes is not an array"),this.hashes.length>this.numTransactions||this.flags.length*8<this.hashes.length)return!1;var t=this._calcTreeHeight(),r={hashesUsed:0,flagBitsUsed:0},i=this._traverseMerkleTree(t,0,r);return r.hashesUsed!==this.hashes.length?!1:i.equals(this.header.merkleRoot)};Qt.prototype.filterdTxsHash=RW.fn(function(){return this.filteredTxsHash()},{what:"MerkleBlock#filterdTxsHash",since:"9.1.0",removeIn:"10.0.0",use:"MerkleBlock#filteredTxsHash",why:"the name is a misspelling"});Qt.prototype.filteredTxsHash=function(){if(hu.checkState(lu.isArray(this.flags),"MerkleBlock flags is not an array"),hu.checkState(lu.isArray(this.hashes),"MerkleBlock hashes is not an array"),this.hashes.length>this.numTransactions)throw new W_.MerkleBlock.InvalidMerkleTree;if(this.flags.length*8<this.hashes.length)throw new W_.MerkleBlock.InvalidMerkleTree;if(this.hashes.length===1)return[];var t=this._calcTreeHeight(),r={hashesUsed:0,flagBitsUsed:0},i=this._traverseMerkleTree(t,0,r,!0);if(r.hashesUsed!==this.hashes.length)throw new W_.MerkleBlock.InvalidMerkleTree;return i};Qt.prototype._traverseMerkleTree=function(t,r,i,n){if(i=i||{},i.txs=i.txs||[],i.flagBitsUsed=i.flagBitsUsed||0,i.hashesUsed=i.hashesUsed||0,n=n||!1,i.flagBitsUsed>this.flags.length*8)return null;var o=this.flags[i.flagBitsUsed>>3]>>>(i.flagBitsUsed++&7)&1;if(t===0||!o){if(i.hashesUsed>=this.hashes.length)return null;var a=this.hashes[i.hashesUsed++];return t===0&&o&&i.txs.push(a),f.Buffer.from(a,"hex")}else{var s=this._traverseMerkleTree(t-1,r*2,i),u=s;return r*2+1<this._calcTreeWidth(t-1)&&(u=this._traverseMerkleTree(t-1,r*2+1,i)),n?i.txs:PW.sha256sha256(f.Buffer.concat([s,u]))}};Qt.prototype._calcTreeWidth=function(t){return this.numTransactions+(1<<t)-1>>t};Qt.prototype._calcTreeHeight=function(){for(var t=0;this._calcTreeWidth(t)>1;)t++;return t};Qt.prototype.hasTransaction=function(t){hu.checkArgument(!lu.isUndefined(t),"tx cannot be undefined"),hu.checkArgument(t instanceof pC||typeof t=="string",'Invalid tx given, tx must be a "string" or "Transaction"');var r=t;t instanceof pC&&(r=f.Buffer.from(t.id,"hex").reverse().toString("hex"));var i=[],n=this._calcTreeHeight();return this._traverseMerkleTree(n,0,{txs:i}),i.indexOf(r)!==-1};Qt._fromBufferReader=function(t){hu.checkState(!t.finished(),"No merkleblock data received");var r={};r.header=Y_.fromBufferReader(t),r.numTransactions=t.readUInt32LE();var i=t.readVarintNum();r.hashes=[];for(var n=0;n<i;n++)r.hashes.push(t.read(32).toString("hex"));var o=t.readVarintNum();for(r.flags=[],n=0;n<o;n++)r.flags.push(t.readUInt8());return r};Qt.fromObject=function(t){return new Qt(t)};mC.exports=Qt});var vC=T((Que,wm)=>{g();wm.exports=dC();wm.exports.BlockHeader=Vc();wm.exports.MerkleBlock=Z_()});var ew=T((tce,AC)=>{"use strict";g();var $_=Vc(),mn=Ke(),yC=Le(),bC=/^[0-9a-fA-F]{64}$/,wC=$_.Constants.LARGEST_HASH,X_=486604799;function Sm(e){var t=e>>>24,r=e&8388607,i;return t<=3?(r=r>>>8*(3-t),i=new mn(r)):i=new mn(r).shln(8*(t-3)),r===0||(e&8388608)!==0||t>34||r>255&&t>33||r>65535&&t>32?null:i}function J_(e){return wC.div(e.add(new mn(1)))}function SC(e){if(e==null&&(e=X_),mn.isBN(e)){if(e.isNeg()||e.isZero()||e.cmp(wC)>=0)throw new Error("powLimit as a BN must be a target above zero and below 2^256");return e}var t;if(typeof e=="string"){if(!/^(0x)?[0-9a-fA-F]{1,8}$/.test(e))throw new Error("powLimit must be compact bits as hex, a uint32, or a BN target, not "+JSON.stringify(e));t=parseInt(e.replace(/^0x/,""),16)}else if(typeof e=="number"&&Number.isInteger(e)&&e>=0&&e<=4294967295)t=e;else throw new Error("powLimit must be compact bits as hex, a uint32, or a BN target, not "+JSON.stringify(e));var r=Sm(t);if(!r)throw new Error("powLimit is not a usable compact target: "+e);return r}function EC(e){var t=typeof e=="number"?BW(e):String(e);if(/^[0-9]+(\.[0-9]+)?[eE][+]?[0-9]+$/.test(t)&&(t=kW(t)),!/^[0-9]+(\.[0-9]+)?$/.test(t))throw new Error("minDifficulty must be a non-negative decimal number, not "+JSON.stringify(e));var r=t.split("."),i=r[1]||"",n=new mn(r[0]+i,10).mul(J_(Sm(X_)));return i.length?n.div(new mn(10).pow(new mn(i.length))):n}function kW(e){var t=e.split(/[eE]/),r=parseInt(t[1].replace("+",""),10),i=t[0].split("."),n=i[0],o=i[1]||"";return r>=o.length?n+o+new Array(r-o.length+1).join("0"):n+o.slice(0,r)+"."+o.slice(r)}function BW(e){if(!Number.isFinite(e)||e<0)throw new Error("minDifficulty must be a non-negative finite number, not "+String(e));return/e/i.test(String(e))?e.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20}):String(e)}function NW(e){if(mn.isBN(e)){if(e.isNeg())throw new Error("minWork as a BN must not be negative");return e}if(typeof e=="number"){if(!Number.isSafeInteger(e)||e<0)throw new Error("minWork as a number must be a non-negative safe integer; for larger floors pass a decimal string or a BN, not "+e);return new mn(String(e),10)}if(typeof e=="string"&&/^[0-9]+$/.test(e))return new mn(e,10);throw new Error("minWork must be a non-negative integer, a decimal string or a BN, not "+JSON.stringify(e))}function xC(e){var t;if(f.Buffer.isBuffer(e))t=e;else if(typeof e=="string"){if(!/^[0-9a-fA-F]{160}$/.test(e))throw new Error("a block header as hex must be exactly 160 hex characters");t=f.Buffer.from(e,"hex")}else if(e instanceof $_)t=e.toBuffer();else if(e&&typeof e.toBuffer=="function")t=e.toBuffer();else throw new Error("a block header must be 80 bytes, as hex, a Buffer or a BlockHeader; an object stating a merkleRoot is not a header and cannot be checked");if(!f.Buffer.isBuffer(t)||t.length!==80)throw new Error("a block header must be exactly 80 bytes, not "+(f.Buffer.isBuffer(t)?t.length:typeof t));return $_.fromBuffer(t)}function OC(e){return f.Buffer.from(e).reverse()}function _C(e){return OC(f.Buffer.from(e,"hex"))}function IC(e){return OC(e).toString("hex")}function Q_(e,t,r){if(!bC.test(String(e)))throw new Error("txid must be 32-byte hex");if(!Number.isInteger(t)||t<0)throw new Error("index must be a non-negative integer");r=r||[];for(var i=_C(e),n=t,o=0;o<r.length;o++){var a=r[o],s;if(a==="*"||a===""||a==null)s=i;else{if(!bC.test(String(a)))throw new Error("proof node "+o+' must be 32-byte hex or "*"');s=_C(a)}i=n&1?yC.sha256sha256(f.Buffer.concat([s,i])):yC.sha256sha256(f.Buffer.concat([i,s])),n=Math.floor(n/2)}return IC(i)}function CW(e){if(!e||!e.merkleRoot)throw new Error("proof.merkleRoot is required");var t=Q_(e.txid,e.index,e.nodes);return t.toLowerCase()===String(e.merkleRoot).toLowerCase()}function LW(e){var t=xC(e.header),r=IC(t.merkleRoot),i=Q_(e.txid,e.index,e.nodes),n=i.toLowerCase()===r.toLowerCase(),o=e.requirePow!==!1,a=Sm(t.bits),s=a!==null&&new mn(t.id,"hex").cmp(a)<=0,u=a===null?new mn(0):J_(a),c=a!==null&&(!o||a.cmp(SC(e.powLimit))<=0),l=null;if(o){if(e.minWork!==void 0&&e.minWork!==null&&e.minDifficulty!==void 0&&e.minDifficulty!==null)throw new Error("pass minWork (hashes) or minDifficulty (difficulty), not both");e.minWork!==void 0&&e.minWork!==null?l=NW(e.minWork):e.minDifficulty!==void 0&&e.minDifficulty!==null&&(l=EC(e.minDifficulty))}var p=l===null||u.cmp(l)>=0;return{valid:n&&(!o||s&&c&&p),rootMatches:n,powValid:s,targetAllowed:c,workSufficient:p,work:u.toString(10),merkleRoot:i,blockHash:t.id}}AC.exports={POW_LIMIT_BITS:X_,targetFromBits:Sm,targetLimit:SC,workFromTarget:J_,workFromDifficulty:EC,headerSnapshot:xC,merkleRootFromBranch:Q_,verifyMerkleProof:CW,verifyTxInclusion:LW}});var PC=T((ice,TC)=>{"use strict";g();var MW=Ke(),tw=ew();function DW(e){return f.Buffer.from(e).reverse()}function HW(e){return tw.headerSnapshot(e)}function qW(e,t){if(t=t||{},!Array.isArray(e)||e.length===0)throw new Error("headers must be a non-empty array");for(var r=e.map(HW),i=t.requirePow!==!1,n=0,o=i?tw.targetLimit(t.powLimit):null,a=0;a<r.length;a++){var s=tw.targetFromBits(r[a].bits);if(i){if(s===null||new MW(r[a].id,"hex").cmp(s)>0)return{valid:!1,reason:"invalid proof-of-work at index "+a,count:r.length};if(s.cmp(o)>0)return{valid:!1,reason:"target easier than the proof-of-work limit at index "+a,count:r.length}}if(n+=r[a].getDifficulty(),a>0){var u=DW(r[a].prevHash).toString("hex").toLowerCase()===r[a-1].id.toLowerCase();if(!u)return{valid:!1,reason:"broken link at index "+a,count:r.length}}}var c=r[0].id,l=r[r.length-1].id;if(t.trustedHash){var p=String(t.trustedHash).toLowerCase();if(p!==l.toLowerCase()&&p!==c.toLowerCase())return{valid:!1,reason:"chain is not anchored at the trusted hash",count:r.length,anchorHash:c,tipHash:l}}return{valid:!0,count:r.length,anchorHash:c,tipHash:l,work:n}}TC.exports={verifyHeaderChain:qW}});var xm=T((oce,RC)=>{"use strict";g();var Em=ew(),UW=PC();RC.exports={POW_LIMIT_BITS:Em.POW_LIMIT_BITS,merkleRootFromBranch:Em.merkleRootFromBranch,verifyMerkleProof:Em.verifyMerkleProof,verifyTxInclusion:Em.verifyTxInclusion,verifyHeaderChain:UW.verifyHeaderChain}});var iw=T((sce,kC)=>{"use strict";g();var FW=Le(),du=Ie(),ti={};ti.PROTOCOL_PREFIX="NotaryHash/1.0";ti.VERSION=1;ti.lp=function(e){var t=f.Buffer.isBuffer(e)?e:f.Buffer.from(String(e),"utf8"),r=f.Buffer.alloc(4);return r.writeUInt32BE(t.length,0),f.Buffer.concat([r,t])};function rw(e,t){if(!f.Buffer.isBuffer(e))throw new Error(t+" must be a Buffer of raw bytes, not "+typeof e+". Certificates store this field as hex; decode it with Buffer.from(hex, 'hex') before hashing, or the length prefix covers the wrong number of bytes.");return e}ti.u64be=function(e){du.checkArgument(typeof e=="number"&&isFinite(e),"createdAtUnix must be a finite number"),du.checkArgument(Number.isInteger(e),"createdAtUnix must be whole seconds, not milliseconds or a fraction"),du.checkArgument(e>=0,"createdAtUnix must not be negative");var t=f.Buffer.alloc(8);return t.writeBigUInt64BE(BigInt(e),0),t};ti.toUnixSeconds=function(e){var t=e instanceof Date?e:new Date(e);return du.checkArgument(!isNaN(t.getTime()),"createdAt is not a valid date: "+e),Math.floor(t.getTime()/1e3)};ti.canonicalBytes=function(e){return du.checkArgument(e&&typeof e=="object","fields object is required"),du.checkArgument(typeof e.algorithm=="string"&&e.algorithm.length>0,"algorithm must be a non-empty string"),du.checkArgument(typeof e.hashAlgorithm=="string"&&e.hashAlgorithm.length>0,"hashAlgorithm must be a non-empty string"),f.Buffer.concat([ti.lp(ti.PROTOCOL_PREFIX),f.Buffer.from([ti.VERSION]),ti.lp(e.algorithm),ti.lp(e.hashAlgorithm),ti.lp(rw(e.payloadHash,"payloadHash")),ti.lp(rw(e.publicKey,"publicKey")),ti.lp(rw(e.signature,"signature")),ti.u64be(e.createdAtUnix)])};ti.proofHash=function(e){return FW.sha256(ti.canonicalBytes(e))};kC.exports=ti});var nw=T((cce,MC)=>{"use strict";g();var Om=Kg(),vn=Pr(),BC=Le(),Gc=Ie(),Yt={};Yt.PREFIX="NOTARYHASH";Yt.VERSION=1;Yt.MODE={FULL:0,HYBRID:1,BATCH:2};var NC={full:Yt.MODE.FULL,hybrid:Yt.MODE.HYBRID,batch:Yt.MODE.BATCH};function CC(e){return f.Buffer.from([e])}function jW(e){var t=f.Buffer.alloc(4);return t.writeUInt32BE(e,0),t}function _o(e,t,r){if(!f.Buffer.isBuffer(e))throw new Error(t+" must be a Buffer of raw bytes, not "+typeof e+". Decode hex with Buffer.from(hex, 'hex') first.");if(r!=null&&e.length!==r)throw new Error(t+" must be exactly "+r+" bytes, got "+e.length);return e}function LC(e,t){if(e.buf&&e.buf.length===1)return e.buf[0];if(e.opcodenum===vn.OP_0)return 0;if(e.opcodenum>=vn.OP_1&&e.opcodenum<=vn.OP_16)return e.opcodenum-vn.OP_1+1;throw new Error(t+" must be a single byte at this push")}function Un(e,t){if(!e||!e.buf)throw new Error(t+" push is missing or carries no data");return e.buf}Yt.build=function(e){Gc.checkArgument(e&&typeof e=="object","record is required");var t=typeof e.mode=="string"&&Object.prototype.hasOwnProperty.call(NC,e.mode)?NC[e.mode]:e.mode;Gc.checkArgument(t===Yt.MODE.FULL||t===Yt.MODE.HYBRID||t===Yt.MODE.BATCH,"mode must be 0 (full), 1 (hybrid) or 2 (batch)");var r=new Om().add(vn.OP_FALSE).add(vn.OP_RETURN).add(f.Buffer.from(Yt.PREFIX,"ascii")).add(CC(Yt.VERSION)).add(CC(t));if(t===Yt.MODE.BATCH)return Gc.checkArgument(typeof e.leafCount=="number"&&Number.isInteger(e.leafCount)&&e.leafCount>=0,"leafCount must be a non-negative integer"),r.add(_o(e.merkleRoot,"merkleRoot",32)),r.add(jW(e.leafCount)),r;Gc.checkArgument(typeof e.algorithm=="string"&&e.algorithm.length>0,"algorithm must be a non-empty string"),Gc.checkArgument(typeof e.hashAlgorithm=="string"&&e.hashAlgorithm.length>0,"hashAlgorithm must be a non-empty string"),r.add(f.Buffer.from(e.algorithm,"utf8")),r.add(f.Buffer.from(e.hashAlgorithm,"utf8")),r.add(_o(e.payloadHash,"payloadHash",32)),r.add(_o(e.proofHash,"proofHash",32));var i=_o(e.publicKey,"publicKey"),n=_o(e.signature,"signature");return t===Yt.MODE.HYBRID?(r.add(BC.sha256(i)),r.add(BC.sha256(n))):(r.add(i),r.add(n)),r};Yt.parse=function(e){typeof e=="string"&&(e=Om.fromHex(e)),Gc.checkArgument(e instanceof Om,"script must be a Script or hex string");var t=e.chunks;if(t.length<5)throw new Error("not a NotaryHash record: too few pushes");if(t[0].opcodenum!==vn.OP_FALSE&&t[0].opcodenum!==vn.OP_0)throw new Error("not a NotaryHash record: does not start with OP_FALSE");if(t[1].opcodenum!==vn.OP_RETURN)throw new Error("not a NotaryHash record: no OP_RETURN");var r=Un(t[2],"prefix");if(r.toString("ascii")!==Yt.PREFIX)throw new Error("not a NotaryHash record: prefix is "+JSON.stringify(r.toString("ascii")));var i=LC(t[3],"version");if(i!==Yt.VERSION)throw new Error("unsupported NotaryHash version: "+i);var n=LC(t[4],"mode");if(n===Yt.MODE.BATCH){if(t.length!==7)throw new Error("batch record must have exactly 7 pushes, got "+t.length);var o=Un(t[6],"leafCount");if(o.length!==4)throw new Error("leafCount must be 4 bytes (u32be), got "+o.length);return{mode:n,version:i,merkleRoot:_o(Un(t[5],"merkleRoot"),"merkleRoot",32),leafCount:o.readUInt32BE(0)}}if(n!==Yt.MODE.FULL&&n!==Yt.MODE.HYBRID)throw new Error("unknown NotaryHash mode: "+n);if(t.length!==11)throw new Error("full/hybrid record must have exactly 11 pushes, got "+t.length);var a={mode:n,version:i,algorithm:Un(t[5],"algorithm").toString("utf8"),hashAlgorithm:Un(t[6],"hashAlgorithm").toString("utf8"),payloadHash:_o(Un(t[7],"payloadHash"),"payloadHash",32),proofHash:_o(Un(t[8],"proofHash"),"proofHash",32)};return n===Yt.MODE.HYBRID?(a.publicKeyHash=_o(Un(t[9],"publicKeyHash"),"publicKeyHash",32),a.signatureHash=_o(Un(t[10],"signatureHash"),"signatureHash",32)):(a.publicKey=Un(t[9],"publicKey"),a.signature=Un(t[10],"signature")),a};Yt.isNotaryHash=function(e){try{typeof e=="string"&&(e=Om.fromHex(e));var t=e.chunks;return t.length>=5&&(t[0].opcodenum===vn.OP_FALSE||t[0].opcodenum===vn.OP_0)&&t[1].opcodenum===vn.OP_RETURN&&!!t[2].buf&&t[2].buf.toString("ascii")===Yt.PREFIX}catch{return!1}};MC.exports=Yt});var aw=T((lce,DC)=>{"use strict";g();var ow=Le(),Li=Ie(),Ue={};Ue.LEAF_PREFIX=0;Ue.NODE_PREFIX=1;Ue.hashLeaf=function(e){return Li.checkArgument(f.Buffer.isBuffer(e),"leaf data must be a Buffer"),ow.sha256(f.Buffer.concat([f.Buffer.from([Ue.LEAF_PREFIX]),e]))};Ue.hashNode=function(e,t){return ow.sha256(f.Buffer.concat([f.Buffer.from([Ue.NODE_PREFIX]),e,t]))};Ue.largestPowerOfTwoBelow=function(e){Li.checkArgument(Number.isInteger(e)&&e>=2,"n must be an integer >= 2");for(var t=1;t*2<e;)t*=2;return t};Ue.root=function(e){if(Li.checkArgument(Array.isArray(e),"leaves must be an array"),e.length===0)return ow.sha256(f.Buffer.alloc(0));if(e.length===1)return Ue.hashLeaf(e[0]);var t=Ue.largestPowerOfTwoBelow(e.length);return Ue.hashNode(Ue.root(e.slice(0,t)),Ue.root(e.slice(t)))};Ue.path=function(e,t){if(Li.checkArgument(Array.isArray(e)&&e.length>0,"leaves must be a non-empty array"),Li.checkArgument(Number.isInteger(t)&&t>=0&&t<e.length,"index must be within the leaves"),e.length===1)return[];var r=Ue.largestPowerOfTwoBelow(e.length);return t<r?Ue.path(e.slice(0,r),t).concat([Ue.root(e.slice(r))]):Ue.path(e.slice(r),t-r).concat([Ue.root(e.slice(0,r))])};Ue.foldPath=function(e,t,r,i){Li.checkArgument(f.Buffer.isBuffer(e),"leafData must be a Buffer"),Li.checkArgument(Number.isInteger(t)&&t>=0,"index must be a non-negative integer"),Li.checkArgument(Number.isInteger(r)&&r>0,"leafCount must be a positive integer"),Li.checkArgument(t<r,"index must be less than leafCount"),Li.checkArgument(Array.isArray(i),"path must be an array");for(var n=Ue.hashLeaf(e),o=t,a=r-1,s=0;s<i.length;s++){if(a===0)throw new Error("audit path is too long for a tree of "+r+" leaves");if((o&1)===1||o===a)for(n=Ue.hashNode(i[s],n);(o&1)===0&&o!==0;)o>>=1,a>>=1;else n=Ue.hashNode(n,i[s]);o>>=1,a>>=1}if(a!==0)throw new Error("audit path is too short for a tree of "+r+" leaves");return n};Ue.verifyInclusion=function(e,t,r,i,n){try{return f.Buffer.isBuffer(n)?Ue.foldPath(e,t,r,i).equals(n):!1}catch{return!1}};Ue.pathSides=function(e,t){if(Li.checkArgument(Number.isInteger(t)&&t>0,"leafCount must be a positive integer"),Li.checkArgument(Number.isInteger(e)&&e>=0&&e<t,"index must be within the tree"),t===1)return[];var r=Ue.largestPowerOfTwoBelow(t);return e<r?Ue.pathSides(e,r).concat(["right"]):Ue.pathSides(e-r,t-r).concat(["left"])};Ue.auditPath=function(e,t){var r=Ue.pathSides(t,e.length);return Ue.path(e,t).map(function(i,n){return{hash:i,side:r[n]}})};function zW(e,t){var r=f.Buffer.isBuffer(e)?e:null;if(!r){if(typeof e!="string")throw new Error("audit path node "+t+" has no hash");var i=e.slice(0,2)==="0x"?e.slice(2):e;if(!/^[0-9a-fA-F]*$/.test(i))throw new Error("audit path node "+t+" is not hex");r=f.Buffer.from(i,"hex")}if(r.length!==32)throw new Error("audit path node "+t+" is not 32 bytes");return r}Ue.rootFromPath=function(e,t){Li.checkArgument(f.Buffer.isBuffer(e),"leafData must be a Buffer"),Li.checkArgument(Array.isArray(t),"path must be an array");for(var r=Ue.hashLeaf(e),i=0;i<t.length;i++){var n=t[i];if(!n||typeof n!="object")throw new Error("audit path node "+i+" is not an object");var o=zW(n.hash,i);if(n.side==="left")r=Ue.hashNode(o,r);else if(n.side==="right")r=Ue.hashNode(r,o);else throw new Error("audit path node "+i+" has side "+JSON.stringify(n.side))}return r};Ue.verifyAuditPath=function(e,t,r){try{return f.Buffer.isBuffer(r)?Ue.rootFromPath(e,t).equals(r):!1}catch{return!1}};DC.exports=Ue});var GC=T((dce,VC)=>{"use strict";g();var KW=jc(),Wc=iw(),HC=aw(),_h=nw(),VW=ts(),zr=Ie(),de={};de.PROTOCOL="NotaryHash";de.VERSION=1;de.REFERENCE_VERSION="1.0";de.FORMAT={REFERENCE:"reference",LEGACY:"legacy"};de.MODE={FULL:"full",HYBRID:"hybrid"};de.ENCODING={HEX:"hex",BASE64:"base64",RAW:"raw",DER:"der"};de.ANCHOR_TYPE={DIRECT:"direct",BATCH:"batch"};de.DEFAULT_NETWORK="bsv-mainnet";var fw=1,qC={0:"full",1:"hybrid",2:"full"},jC=/^[0-9a-fA-F]*$/,GW=/^[A-Za-z0-9+/_-]*={0,2}$/;de.decodeBytes=function(e,t,r){if(r=r||"value",typeof e!="string")throw new Error(r+" must be a string");if(t===de.ENCODING.HEX){var i=e.slice(0,2)==="0x"?e.slice(2):e;if(i.length%2!==0||!jC.test(i))throw new Error(r+" must be a hex string");return f.Buffer.from(i,"hex")}if(t===de.ENCODING.BASE64){if(!GW.test(e))throw new Error(r+" must be base64");var n=e.replace(/=+$/,"");if(n.length!==e.length&&e.length%4!==0||n.length%4===1)throw new Error(r+" is not a valid base64 length");return f.Buffer.from(e,"base64")}throw new Error('encoding must be "hex" or "base64", not '+JSON.stringify(t))};function sw(e,t,r){if(!f.Buffer.isBuffer(e))throw new Error(r+" must be a Buffer of raw bytes, not "+typeof e);return t===de.ENCODING.BASE64?e.toString("base64"):e.toString("hex")}function cw(e,t){var r=f.Buffer.isBuffer(e)?e:de.decodeBytes(e,"hex",t);if(r.length!==32)throw new Error(t+" must be 32 bytes");return r.toString("hex")}function WW(e){if(e===de.MODE.FULL||e===de.MODE.HYBRID)return{mode:e,batch:!1};if(e===_h.MODE.FULL)return{mode:"full",batch:!1};if(e===_h.MODE.HYBRID)return{mode:"hybrid",batch:!1};if(e===_h.MODE.BATCH)return{mode:"full",batch:!0};throw e==="batch"?new Error('batch is an anchor type, not a mode: pass mode "full" or "hybrid" with a merkle proof'):new Error('mode is required: "full" or "hybrid"')}function YW(e){if(e===void 0)return de.ENCODING.HEX;if(e===de.ENCODING.HEX||e===de.ENCODING.BASE64)return e;if(e===de.ENCODING.RAW||e===de.ENCODING.DER)return de.ENCODING.HEX;throw new Error('encoding must be "hex" or "base64"')}function zC(e,t,r){if(!Array.isArray(e))throw new Error("merkle.path must be an array");var i=e.length>0&&e.every(function(u){return u&&typeof u=="object"&&!f.Buffer.isBuffer(u)&&"side"in u});if(i||e.length===0){var n=e.map(function(u,c){if(u.side!=="left"&&u.side!=="right")throw new Error("merkle.path["+c+'].side must be "left" or "right"');return{hash:cw(u.hash,"merkle.path["+c+"].hash"),side:u.side}});if(Number.isInteger(t)&&Number.isInteger(r)&&r>0&&t>=0&&t<r){var o=HC.pathSides(t,r);if(o.length!==n.length)throw new Error("merkle.leafIndex "+t+" in a tree of "+r+" leaves needs "+o.length+" path nodes; the path has "+n.length);for(var a=0;a<o.length;a++)if(o[a]!==n[a].side)throw new Error("merkle.leafIndex "+t+" disagrees with the path: node "+a+' is marked "'+n[a].side+'" but leaf '+t+" of "+r+' requires "'+o[a]+'"')}return n}var s=HC.pathSides(t,r);if(s.length!==e.length)throw new Error("merkle.path has "+e.length+" nodes; a tree of "+r+" leaves needs "+s.length+" for leaf "+t);return e.map(function(u,c){return{hash:cw(u,"merkle.path["+c+"]"),side:s[c]}})}function ZW(e){return zr.checkArgument(e&&typeof e=="object","batch certificates require a merkle inclusion proof"),zr.checkArgument(Number.isInteger(e.leafIndex)&&e.leafIndex>=0,"merkle.leafIndex must be a non-negative integer"),zr.checkArgument(Number.isInteger(e.leafCount)&&e.leafCount>e.leafIndex,"merkle.leafCount must be an integer greater than leafIndex"),{root:cw(e.root,"merkle.root"),leafIndex:e.leafIndex,leafCount:e.leafCount,path:zC(e.path,e.leafIndex,e.leafCount)}}function $W(e,t){zr.checkArgument(e&&typeof e=="object","anchor is required"),zr.checkArgument(typeof e.txid=="string","anchor.txid must be a string");var r=e.type||(t?de.ANCHOR_TYPE.BATCH:de.ANCHOR_TYPE.DIRECT);return zr.checkArgument(r===de.ANCHOR_TYPE.DIRECT||r===de.ANCHOR_TYPE.BATCH,'anchor.type must be "direct" or "batch"'),zr.checkArgument(r===de.ANCHOR_TYPE.BATCH===t,'anchor.type is "batch" exactly when a merkle inclusion proof is given'),{type:r,network:e.network||de.DEFAULT_NETWORK,txid:e.txid,vout:e.vout===void 0?0:e.vout,blockHeight:e.blockHeight===void 0?null:e.blockHeight,blockTime:e.blockTime===void 0?null:e.blockTime}}function XW(e){var t=WW(e.mode),r=t.batch||e.merkle!==void 0||!!(e.anchor&&e.anchor.type===de.ANCHOR_TYPE.BATCH);r&&zr.checkArgument(e.merkle&&typeof e.merkle=="object","batch certificates require a merkle inclusion proof");var i=YW(e.encoding),n=$W(e.anchor,r),o=e.createdAtUnix!==void 0?e.createdAtUnix:Wc.toUnixSeconds(e.createdAt===void 0?new Date:e.createdAt);zr.checkArgument(Number.isInteger(o)&&o>=0,"createdAtUnix must be a non-negative whole number of seconds");var a=Wc.proofHash({algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:e.payloadHash,publicKey:e.publicKey,signature:e.signature,createdAtUnix:o}),s={protocol:de.PROTOCOL,version:de.REFERENCE_VERSION,mode:t.mode,algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:sw(e.payloadHash,"hex","payloadHash"),publicKey:sw(e.publicKey,i,"publicKey"),signature:sw(e.signature,i,"signature"),encoding:i,proofHash:a.toString("hex"),createdAt:new Date(o*1e3).toISOString(),anchor:n};return r&&(s.merkle=ZW(e.merkle)),s}function uw(e,t){if(!f.Buffer.isBuffer(e))throw new Error(t+" must be a Buffer of raw bytes, not "+typeof e);return e.toString("hex")}function UC(e){zr.checkArgument(e.anchor&&typeof e.anchor=="object","anchor is required"),zr.checkArgument(typeof e.anchor.txid=="string","anchor.txid must be a string");var t=e.encoding||de.ENCODING.RAW;zr.checkArgument(t===de.ENCODING.RAW||t===de.ENCODING.DER,'encoding must be "raw" or "der"');var r=e.createdAt?e.createdAt instanceof Date?e.createdAt.toISOString():e.createdAt:new Date().toISOString(),i=Wc.toUnixSeconds(r),n=Wc.proofHash({algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:e.payloadHash,publicKey:e.publicKey,signature:e.signature,createdAtUnix:i}),o={protocol:de.PROTOCOL,version:fw,mode:e.mode,algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:uw(e.payloadHash,"payloadHash"),publicKey:uw(e.publicKey,"publicKey"),signature:uw(e.signature,"signature"),encoding:t,proofHash:n.toString("hex"),createdAt:r,anchor:{txid:e.anchor.txid,blockHeight:e.anchor.blockHeight}};return e.mode===_h.MODE.BATCH&&(zr.checkArgument(e.merkle&&typeof e.merkle=="object","batch certificates require a merkle inclusion proof"),o.merkle={root:e.merkle.root,leafIndex:e.merkle.leafIndex,leafCount:e.merkle.leafCount,path:e.merkle.path}),o}de.build=function(e){zr.checkArgument(e&&typeof e=="object","params is required");var t=e.format;return t===void 0?(VW({what:"NotaryHash.Certificate.build() without a format",since:"9.9.0",removeIn:"10.0.0",use:"NotaryHash.Certificate.build({ ...params, format: 'reference' })",why:"the default format is this library's own, which the BRC-220 reference implementation cannot verify"}),UC(e)):(zr.checkArgument(t===de.FORMAT.REFERENCE||t===de.FORMAT.LEGACY,"Unknown certificate format: "+t+". Expected 'reference' or 'legacy' (NotaryHash.Certificate.FORMAT)"),t===de.FORMAT.REFERENCE?XW(e):UC(e))};de.isLegacy=function(e){return!!e&&typeof e=="object"&&(e.version===fw||e.version===void 0&&typeof e.mode=="number")};de.normalize=function(e){if(!de.isLegacy(e))return e;var t=e.mode===_h.MODE.BATCH,r=Object.assign({},e);r.version=e.version===fw?de.REFERENCE_VERSION:e.version,r.mode=qC[e.mode]!==void 0?qC[e.mode]:e.mode,(e.encoding===de.ENCODING.RAW||e.encoding===de.ENCODING.DER)&&(r.encoding=de.ENCODING.HEX);var i=e.anchor&&typeof e.anchor=="object"?e.anchor:{};if(r.anchor={type:t?de.ANCHOR_TYPE.BATCH:de.ANCHOR_TYPE.DIRECT,network:i.network||de.DEFAULT_NETWORK,txid:i.txid,vout:i.vout===void 0?0:i.vout,blockHeight:i.blockHeight===void 0?null:i.blockHeight,blockTime:i.blockTime===void 0?null:i.blockTime},e.merkle&&typeof e.merkle=="object"){var n=e.merkle,o=n.path;try{o=zC(n.path,n.leafIndex,n.leafCount)}catch{}r.merkle={root:n.root,leafIndex:n.leafIndex,leafCount:n.leafCount,path:o}}return r};function KC(e){return{algorithm:e.algorithm,hashAlgorithm:e.hashAlgorithm,payloadHash:de.decodeBytes(e.payloadHash,"hex","payloadHash"),publicKey:de.decodeBytes(e.publicKey,e.encoding,"publicKey"),signature:de.decodeBytes(e.signature,e.encoding,"signature")}}de.toSignatureInput=function(e){return zr.checkArgument(e&&typeof e=="object","certificate is required"),KC(de.normalize(e))};de.toProofInput=function(e){zr.checkArgument(e&&typeof e=="object","certificate is required");var t=de.normalize(e),r=KC(t);return r.createdAtUnix=Wc.toUnixSeconds(t.createdAt),r};de.recomputeProofHash=function(e){return Wc.proofHash(de.toProofInput(e))};de.proofHashMatches=function(e){try{if(!e||typeof e.proofHash!="string")return!1;var t=de.decodeBytes(e.proofHash,"hex","proofHash");return t.length!==32?!1:de.recomputeProofHash(e).equals(t)}catch{return!1}};de.REQUIRED_FIELDS=["protocol","version","mode","algorithm","hashAlgorithm","payloadHash","publicKey","signature","encoding","proofHash","createdAt","anchor"];function Im(e,t,r){if(e!==void 0){var i=typeof e=="string"&&e.slice(0,2)==="0x"?e.slice(2):e;typeof i!="string"||!jC.test(i)||i.length%2!==0?r.push(t+" must be a hex string"):i.length!==64&&r.push(t+" must be 32 bytes (64 hex chars)")}}function FC(e){return e===null||Number.isInteger(e)}de.validateShape=function(e){if(!e||typeof e!="object")return["certificate must be an object"];var t=de.normalize(e),r=[];if(de.REQUIRED_FIELDS.forEach(function(s){t[s]===void 0&&r.push("missing required field: "+s)}),typeof t.createdAt=="string"&&!de.isLegacy(e)){var i=null,n=new Date(t.createdAt);isNaN(n.getTime())||(i=new Date(Math.floor(n.getTime()/1e3)*1e3).toISOString()),i===null?r.push("createdAt is not a date: "+t.createdAt):t.createdAt!==i&&r.push("createdAt must be the canonical rendering of its second: expected "+i+", got "+t.createdAt)}if(t.protocol!==void 0&&t.protocol!==de.PROTOCOL&&r.push('protocol must be "'+de.PROTOCOL+'"'),t.version!==void 0&&t.version!==de.REFERENCE_VERSION&&r.push("unsupported version: "+JSON.stringify(t.version)),t.mode!==void 0&&t.mode!==de.MODE.FULL&&t.mode!==de.MODE.HYBRID&&r.push('mode must be "full" or "hybrid"'),["algorithm","hashAlgorithm"].forEach(function(s){t[s]!==void 0&&(typeof t[s]!="string"||t[s].length===0)&&r.push(s+" must be a non-empty string")}),Im(t.payloadHash,"payloadHash",r),Im(t.proofHash,"proofHash",r),t.encoding!==void 0&&(t.encoding!==de.ENCODING.HEX&&t.encoding!==de.ENCODING.BASE64?r.push('encoding must be "hex" or "base64"'):["publicKey","signature"].forEach(function(s){if(t[s]!==void 0)try{de.decodeBytes(t[s],t.encoding,s).length===0&&r.push(s+" must not be empty")}catch{r.push(s+" is not valid "+t.encoding)}})),t.createdAt!==void 0&&(typeof t.createdAt!="string"||isNaN(new Date(t.createdAt).getTime()))&&r.push("createdAt must be an ISO 8601 date"),t.anchor!==void 0){var o=t.anchor;!o||typeof o!="object"?r.push("anchor must be an object"):(o.type!==de.ANCHOR_TYPE.DIRECT&&o.type!==de.ANCHOR_TYPE.BATCH&&r.push('anchor.type must be "direct" or "batch"'),(typeof o.txid!="string"||!/^[0-9a-fA-F]{64}$/.test(o.txid))&&r.push("anchor.txid must be a 32-byte hex string"),o.vout!==void 0&&!(Number.isInteger(o.vout)&&o.vout>=0)&&r.push("anchor.vout must be a non-negative integer"),o.blockHeight!==void 0&&!FC(o.blockHeight)&&r.push("anchor.blockHeight must be an integer or null"),o.blockTime!==void 0&&!FC(o.blockTime)&&r.push("anchor.blockTime must be an integer or null"),o.type===de.ANCHOR_TYPE.BATCH&&t.merkle===void 0&&r.push("batch certificates require a merkle inclusion proof"))}if(t.merkle!==void 0){var a=t.merkle;!a||typeof a!="object"?r.push("merkle must be an object"):(Im(a.root,"merkle.root",r),Number.isInteger(a.leafIndex)&&a.leafIndex>=0||r.push("merkle.leafIndex must be a non-negative integer"),Number.isInteger(a.leafCount)&&a.leafCount>=1?Number.isInteger(a.leafIndex)&&a.leafIndex>=a.leafCount&&r.push("merkle.leafIndex must be less than leafCount"):r.push("merkle.leafCount must be a positive integer"),Array.isArray(a.path)?a.path.forEach(function(s,u){!s||typeof s!="object"||s.side!=="left"&&s.side!=="right"?r.push("merkle.path["+u+'] must be { hash, side: "left" | "right" }'):Im(s.hash,"merkle.path["+u+"].hash",r)}):r.push("merkle.path must be an array"))}return r};de.attachSPV=function(e,t){zr.checkArgument(e&&typeof e=="object","certificate is required"),zr.checkArgument(t&&typeof t=="object","spv envelope is required");var r=e.proofHash,i=Object.assign({},e,{spv:{rawTx:t.rawTx,blockHash:t.blockHash,blockHeight:t.blockHeight,merkleProof:t.merkleProof,format:t.format||"TSC"}});if(i.proofHash!==r)throw new Error("attaching the SPV envelope changed proofHash; this must never happen");return i};de.canonicalize=function(e){return KW.stringify(e)};VC.exports=de});var XC=T((gce,$C)=>{"use strict";g();var WC=Ke(),JW=dn(),YC=gt(),QW=sr(),ZC=Ie(),ba={},wh={};ba.register=function(e,t){return ZC.checkArgument(typeof e=="string"&&e.length>0,"algorithm must be a non-empty string"),ZC.checkArgument(t&&typeof t.verify=="function","suite must provide a verify(payloadHash, signature, publicKey) function"),wh[e]=t,ba};ba.get=function(e){return wh[e]};ba.list=function(){return Object.keys(wh).sort()};ba.unregister=function(e){return delete wh[e],ba};ba.verify=function(e,t,r,i){var n=wh[e];if(!n||!f.Buffer.isBuffer(t)||!f.Buffer.isBuffer(r)||!f.Buffer.isBuffer(i))return!1;try{return n.verify(t,r,i)===!0}catch{return!1}};ba.register("ECDSA-secp256k1",{verify:function(e,t,r){if(e.length!==32)return!1;var i;if(t.length===64)i=new YC(WC.fromBuffer(t.slice(0,32)),WC.fromBuffer(t.slice(32,64)));else if(t[0]===48)try{i=YC.fromDER(t)}catch{return!1}else return!1;var n;try{n=QW.fromBuffer(r)}catch{return!1}var o=new JW;return o.hashbuf=e,o.pubkey=n,o.sig=i,o.verify()===!0}});$C.exports=ba});var eL=T((vce,QC)=>{"use strict";g();var eY=zt(),hw=Le(),tY=xm(),rY=iw(),wo=nw(),Nr=GC(),iY=ts(),Am=XC(),dw=aw(),Zt={};Zt.Encoding=rY;Zt.Script=wo;Zt.Certificate=Nr;Zt.Suites=Am;Zt.Merkle=dw;Zt.MODE=wo.MODE;Zt.registerSuite=function(e,t){return Am.register(e,t)};function lw(e,t){if(f.Buffer.isBuffer(e)){if(e.length===0)throw new Error(t+" must not be empty");return e}return Nr.decodeBytes(e,"hex",t)}Zt.verifySignature=function(e){try{if(!e||typeof e!="object")return!1;var t=Nr.toSignatureInput(e);return Am.verify(t.algorithm,t.payloadHash,t.signature,t.publicKey)}catch{return!1}};Zt.verifySignatureOnly=function(e,t,r,i){var n=i||"ECDSA-secp256k1";return Am.verify(n,lw(e,"payloadHash"),lw(t,"signature"),lw(r,"publicKey"))};Zt.txidFromRawTx=function(e){var t=f.Buffer.isBuffer(e)?e:f.Buffer.from(e,"hex");return f.Buffer.from(hw.sha256sha256(t)).reverse().toString("hex")};Zt.recordFromRawTx=function(e,t){try{var r=new eY(f.Buffer.isBuffer(e)?e.toString("hex"):e);if(t!=null){if(!Number.isInteger(t)||t<0||t>=r.outputs.length)return null;var i=r.outputs[t].script;return wo.isNotaryHash(i)?wo.parse(i):null}for(var n=0;n<r.outputs.length;n++){var o=r.outputs[n].script;if(wo.isNotaryHash(o))return wo.parse(o)}return null}catch{return null}};Zt.recordMatchesCertificate=function(e,t){try{if(!e||!t)return!1;var r=Nr.normalize(t),i=e.mode===wo.MODE.BATCH,n=!!(r.anchor&&r.anchor.type===Nr.ANCHOR_TYPE.BATCH);if(i||n)return!i||!n||!r.merkle||!e.merkleRoot.equals(Nr.decodeBytes(r.merkle.root,"hex","merkle.root"))?!1:e.leafCount===r.merkle.leafCount;var o=r.mode===Nr.MODE.FULL?wo.MODE.FULL:r.mode===Nr.MODE.HYBRID?wo.MODE.HYBRID:-1;if(e.mode!==o)return!1;var a=Nr.toProofInput(r);return e.algorithm!==a.algorithm||e.hashAlgorithm!==a.hashAlgorithm||!e.payloadHash.equals(a.payloadHash)||!e.proofHash.equals(Nr.decodeBytes(r.proofHash,"hex","proofHash"))?!1:e.mode===wo.MODE.HYBRID?e.publicKeyHash.equals(hw.sha256(a.publicKey))&&e.signatureHash.equals(hw.sha256(a.signature)):e.publicKey.equals(a.publicKey)&&e.signature.equals(a.signature)}catch{return!1}};Zt.verifyAnchorSPV=function(e,t){var r=[];t=t||{};try{var i=Nr.normalize(e),n=i&&i.spv;if(!n)return{valid:!1,errors:["certificate has no SPV envelope"]};if(!t.header)return{valid:!1,errors:["a block header is required: the verifier must obtain one itself rather than trust the certificate or its issuer for the anchor"]};var o=Zt.txidFromRawTx(n.rawTx);(!i.anchor||o!==String(i.anchor.txid).toLowerCase())&&r.push("rawTx does not hash to anchor.txid");var a=Zt.recordFromRawTx(n.rawTx,i.anchor&&i.anchor.vout);a?Zt.recordMatchesCertificate(a,i)||r.push("on-chain record does not match the certificate"):r.push("no NotaryHash record at anchor.vout in rawTx"),t.requirePow!==!1&&t.minWork===void 0&&t.minDifficulty===void 0&&(t.blockHashAtHeight===void 0||t.blockHashAtHeight===null)&&iY({what:"NotaryHash.verify() with a header but no minWork or blockHashAtHeight",since:"9.13.0",removeIn:"10.0.0",use:"verify(certificate, { header, blockHashAtHeight }) with the block hash your own chain source has at spv.blockHeight, or { header, minDifficulty } with the difficulty you require",why:"the proof-of-work limit only rules out a free forgery: a header at difficulty 1 costs about 4.3e9 hashes, while a real mainnet header carries about 1e20"});var s=n.merkleProof||{},u;try{u=tY.verifyTxInclusion({header:t.header,txid:o,index:s.index,nodes:s.nodes,requirePow:t.requirePow!==!1,powLimit:t.powLimit,minWork:t.minWork,minDifficulty:t.minDifficulty})}catch(_){return r.push(_.message),{valid:!1,errors:r}}if(u.rootMatches!==!0&&r.push("merkle proof does not fold to the header's root"),t.requirePow!==!1&&(u.powValid!==!0&&r.push("block header failed proof-of-work validation"),u.targetAllowed!==!0&&r.push("block header declares a target easier than the proof-of-work limit, so its work proves nothing"),u.workSufficient!==!0&&r.push("block header carries less work than required: "+u.work)),n.blockHash!==void 0&&String(n.blockHash).toLowerCase()!==String(u.blockHash).toLowerCase()&&r.push("the supplied header is not the block the SPV envelope names"),t.height!==void 0&&t.height!==n.blockHeight&&r.push("the supplied header is not at the height the SPV envelope names"),t.blockHashAtHeight!==void 0&&t.blockHashAtHeight!==null){var c=f.Buffer.isBuffer(t.blockHashAtHeight)?t.blockHashAtHeight.toString("hex"):String(t.blockHashAtHeight).replace(/^0x/,"");/^[0-9a-fA-F]{64}$/.test(c)?c.toLowerCase()!==String(u.blockHash).toLowerCase()&&r.push("the header is not the block the caller's chain has at that height: it may be orphaned"):r.push("blockHashAtHeight must be a 32-byte block hash")}var l=f.Buffer.isBuffer(t.header)?t.header:f.Buffer.from(String(t.header).replace(/^0x/,""),"hex");if(l.length===80&&i.anchor){if(i.anchor.blockTime!==void 0&&i.anchor.blockTime!==null){var p=l.readUInt32LE(68);Number(i.anchor.blockTime)!==p&&r.push("anchor.blockTime "+i.anchor.blockTime+" is not the time in the block header ("+p+")")}i.anchor.blockHeight!==void 0&&i.anchor.blockHeight!==null&&n.blockHeight!==void 0&&n.blockHeight!==null&&Number(i.anchor.blockHeight)!==Number(n.blockHeight)&&r.push("anchor.blockHeight "+i.anchor.blockHeight+" does not equal spv.blockHeight "+n.blockHeight)}t.network!==void 0&&t.network!==null&&i.anchor&&i.anchor.network!==void 0&&i.anchor.network!==null&&String(i.anchor.network)!==String(t.network)&&r.push('anchor.network is "'+i.anchor.network+'" but the verifier expects "'+t.network+'"');var d=n.merkleProof;if(d&&Array.isArray(d.nodes)&&d.index!==void 0&&d.index!==null){var v=Math.pow(2,d.nodes.length);(!Number.isInteger(Number(d.index))||Number(d.index)<0||Number(d.index)>=v)&&r.push("spv.merkleProof.index "+d.index+" does not fit a path of "+d.nodes.length+" nodes, which addresses at most "+v+" leaves")}return{valid:r.length===0,errors:r}}catch(_){return{valid:!1,errors:["anchor verification error: "+_.message]}}};Zt.verifyBatchInclusion=function(e){try{var t=Nr.normalize(e);return!t||!t.anchor||t.anchor.type!==Nr.ANCHOR_TYPE.BATCH?{valid:!1,errors:['certificate is not batch-anchored (anchor.type is not "batch")']}:t.merkle?JC(t,"merkle inclusion proof does not fold to the batch root"):{valid:!1,errors:["batch certificate has no merkle proof"]}}catch(r){return{valid:!1,errors:["batch inclusion error: "+r.message]}}};function JC(e,t){try{var r=e.merkle,i=Nr.decodeBytes(e.proofHash,"hex","proofHash"),n=Nr.decodeBytes(r.root,"hex","merkle.root");if(Number.isInteger(r.leafIndex)&&Number.isInteger(r.leafCount)&&r.leafCount>0&&r.leafIndex>=0&&r.leafIndex<r.leafCount){var o=dw.pathSides(r.leafIndex,r.leafCount),a=(r.path||[]).map(function(u){return u&&typeof u=="object"&&!f.Buffer.isBuffer(u)?u.side:void 0});if(o.length!==a.length)return{valid:!1,errors:["merkle.leafIndex "+r.leafIndex+" in a tree of "+r.leafCount+" leaves needs "+o.length+" path nodes; the path has "+a.length]};for(var s=0;s<o.length;s++)if(a[s]!==void 0&&a[s]!==o[s])return{valid:!1,errors:["merkle.leafIndex "+r.leafIndex+" disagrees with the path: node "+s+' is marked "'+a[s]+'" but leaf '+r.leafIndex+" of "+r.leafCount+' requires "'+o[s]+'"']}}return dw.verifyAuditPath(i,r.path,n)?{valid:!0,errors:[]}:{valid:!1,errors:[t]}}catch(u){return{valid:!1,errors:["batch inclusion error: "+u.message]}}}Zt.verify=function(e,t){t=t||{};var r={valid:!1,shape:[],signature:!1,proofIntegrity:!1,anchor:!1,errors:[]};if(r.legacy=Nr.isLegacy(e),e=Nr.normalize(e),r.shape=Nr.validateShape(e),r.shape.length)return r.errors=r.shape.slice(),r;if(r.signature=Zt.verifySignature(e),r.signature||r.errors.push("signature does not verify"),r.proofIntegrity=Nr.proofHashMatches(e),r.proofIntegrity||r.errors.push("proofHash does not match the certificate fields"),t.skipAnchor)return r.errors.push("anchor not checked (skipAnchor): this certificate is NOT verified"),r;var i=Zt.verifyAnchorSPV(e,t);r.anchor=i.valid,i.errors.forEach(function(a){r.errors.push(a)}),r.batchInclusion=!0;var n=!!(e.anchor&&e.anchor.type===Nr.ANCHOR_TYPE.BATCH);if(n||e.merkle!==void 0){var o=n?Zt.verifyBatchInclusion(e):JC(e,"merkle proof does not fold to its stated root");r.batchInclusion=o.valid,o.errors.forEach(function(a){r.errors.push(a)})}return r.valid=r.signature&&r.proofIntegrity&&r.anchor&&r.batchInclusion,r};Zt.isValid=function(e,t){return Zt.verify(e,t).valid===!0};QC.exports=Zt});var oL=T((bce,nL)=>{"use strict";g();var nY=Le(),Tm=at(),oY=ei(),aY=sr(),tL=Ni(),rL=Nn(),pw=dn(),iL=gt(),sY=nY.sha256sha256,uY=ni(),Yc=Ie(),er=function e(t){return this instanceof e?(Yc.checkArgument(Tm.isString(t)||f.Buffer.isBuffer(t),"First argument should be a string or Buffer"),Tm.isString(t)&&(this.messageBuffer=f.Buffer.from(t)),f.Buffer.isBuffer(t)&&(this.messageBuffer=t),this):new e(t)};er.sign=function(e,t){return new er(e).sign(t)};er.verify=function(e,t,r){return new er(e).verify(t,r)};er.MAGIC_BYTES=f.Buffer.from(`Bitcoin Signed Message:
76
76
  `);er.prototype.magicHash=function(){var t=rL.varintBufNum(er.MAGIC_BYTES.length),r=rL.varintBufNum(this.messageBuffer.length),i=f.Buffer.concat([t,er.MAGIC_BYTES,r,this.messageBuffer]),n=sY(i);return n};er.prototype._sign=function(t){Yc.checkArgument(t instanceof oY,"First argument should be an instance of PrivateKey");var r=this.magicHash();return pw.signWithCalcI(r,t)};er.prototype.sign=function(t){var r=this._sign(t);return r.toCompact().toString("base64")};er.prototype._verify=function(t,r){Yc.checkArgument(t instanceof aY,"First argument should be an instance of PublicKey"),Yc.checkArgument(r instanceof iL,"Second argument should be an instance of Signature");var i=this.magicHash(),n=pw.verify(i,r,t);return n||(this.error="The signature was invalid"),n};er.prototype.verify=function(t,r){Yc.checkArgument(t),Yc.checkArgument(r&&Tm.isString(r)),Tm.isString(t)&&(t=tL.fromString(t));var i=iL.fromCompact(f.Buffer.from(r,"base64")),n=new pw;n.hashbuf=this.magicHash(),n.sig=i;var o=n.toPublicKey(),a=tL.fromPublicKey(o,t.network);return t.toString()!==a.toString()?(this.error="The signature did not match the message digest",!1):this._verify(o,i)};er.fromString=function(e){return new er(e)};er.fromJSON=function(t){return uY.isValidJSON(t)&&(t=JSON.parse(t)),er.fromObject(t)};er.prototype.toObject=function(){return{messageHex:this.messageBuffer.toString("hex")}};er.fromObject=function(e){let t=f.Buffer.from(e.messageHex,"hex");return new er(t)};er.prototype.toJSON=function(){return JSON.stringify(this.toObject())};er.prototype.toString=function(){return this.messageBuffer.toString()};er.prototype.inspect=function(){return"<Message: "+this.toString()+">"};nL.exports=er});var sL=T((wce,aL)=>{g();aL.exports=oL()});function gw(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"&&"BYTES_PER_ELEMENT"in e&&e.BYTES_PER_ELEMENT===1}function cY(e,t=""){if(typeof e!="boolean")throw new TypeError(Pm(t)+"expected boolean, got type="+typeof e);return e}function Sh(e,t=""){if(typeof e!="number")throw new TypeError(Pm(t)+"expected number, got "+typeof e);if(!Number.isSafeInteger(e)||e<0)throw new RangeError(Pm(t)+"expected integer >= 0, got "+e);return e}function He(e,t,r=""){if(gw(e)&&(t===void 0||e.length===t))return e;t!==void 0&&Sh(t,"length");let i=gw(e),n=t!==void 0?` of length ${t}`:"",o=i?`length=${e.length}`:`type=${typeof e}`,a=Pm(r)+"expected Uint8Array"+n+", got "+o;throw i?new RangeError(a):new TypeError(a)}function fs(e,t=!0){if(e.destroyed)throw new Error("hash was destroyed");if(t&&e.finished)throw new Error("digest() was already called")}function fY(e,t){He(e,void 0,"output");let r=t.outputLen;if(!(e.length>=r))throw new RangeError('"output" expected length >= '+r)}function Eh(e,t){if(fY(e,t),!ri(e))throw new Error("invalid output, must be aligned")}function Rm(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function Ve(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function ot(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function Zc(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function pu(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function lY(e){for(let t=0;t<e.length;t++)e[t]=pu(e[t]);return e}function mw(e,t){return!e.byteLength||!t.byteLength?!1:e.buffer===t.buffer&&e.byteOffset<t.byteOffset+t.byteLength&&t.byteOffset<e.byteOffset+e.byteLength}function km(e,t){if(mw(e,t)&&e.byteOffset<t.byteOffset)throw new Error("complex overlap of input and output is not supported")}function vw(...e){let t=0;for(let i=0;i<e.length;i++){let n=e[i];He(n),t+=n.length}let r=new Uint8Array(t);for(let i=0,n=0;i<e.length;i++){let o=e[i];r.set(o,n),n+=o.length}return r}function xh(e,t){if(e=He(e),t=He(t),e.length!==t.length)return!1;let r=0;for(let i=0;i<e.length;i++)r|=e[i]^t[i];return r===0}function Oh(e,t,r){let i=t,n=r||(()=>[]),o=(s,u)=>i(u,...n(s)).update(s).digest(),a=i(new Uint8Array(e),...n(new Uint8Array(0)));return o.outputLen=a.outputLen,o.blockLen=a.blockLen,o.create=(s,...u)=>i(s,...u),o}function $c(e,t,r=!0){if(t===void 0)return new Uint8Array(e);if(He(t,e,"output"),r&&!ri(t))throw new Error("invalid output, must be aligned");return t}function uL(e,t,r){Sh(e),Sh(t),cY(r);let i=new Uint8Array(16),n=Zc(i);return n.setBigUint64(0,BigInt(t),r),n.setBigUint64(8,BigInt(e),r),i}function ri(e){return e.byteOffset%4===0}function $t(e){return Uint8Array.from(He(e))}var Pm,yi,Fe,Ge,So,yw=Dr(()=>{g();Pm=e=>e?`"${e}" `:"";yi=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;Fe=yi?e=>e:e=>pu(e)>>>0;Ge=yi?e=>e:lY;So=(e,t)=>{function r(i,...n){if(He(i,void 0,"key"),e.nonceLength!==void 0){let p=n[0];He(p,e.varSizeNonce?void 0:e.nonceLength,"nonce")}let o=e.tagLength,a=e.nonceLength!==void 0?1:0;if(!e.withAAD){for(let p=a;p<n.length;p++)if(gw(n[p]))throw new Error("AAD not supported")}e.withAAD&&n[a]!==void 0&&He(n[a],void 0,"AAD");let s=t(i,...n),u=(p,d)=>{if(d!==void 0){if(p!==2)throw new Error("cipher output not supported");He(d,void 0,"output")}},c=!1;return{encrypt(p,d){if(c)throw new Error("cannot encrypt() twice with same key + nonce");return c=!0,He(p,void 0,"data"),u(s.encrypt.length,d),s.encrypt(p,d)},decrypt(p,d){if(He(p,void 0,"data"),o&&p.length<o)throw new Error('"ciphertext" expected length >= tagLength='+o);return u(s.decrypt.length,d),s.decrypt(p,d)}}}return Object.assign(r,e),r}});function pY(e){e.reverse();let t=e[15]&1,r=0;for(let i=0;i<e.length;i++){let n=e[i];e[i]=n>>>1|r,r=(n&1)<<7}return e[0]^=-t&225,e}var Eo,_w,xo,hY,dY,Ih,ls,gY,Bm,bw,ww,cL,fL=Dr(()=>{g();yw();Eo=16,_w=new Uint8Array(16),xo=Ve(_w),hY=225,dY=(e,t,r,i)=>{let n=i&1;return{s3:r<<31|i>>>1,s2:t<<31|r>>>1,s1:e<<31|t>>>1,s0:e>>>1^hY<<24&-(n&1)}},Ih=e=>(e>>>0&255)<<24|(e>>>8&255)<<16|(e>>>16&255)<<8|e>>>24&255|0,ls=e=>Fe(Ih(e));gY=e=>e>64*1024?8:e>1024?4:2,Bm=class{constructor(t,r){ee(this,"blockLen",Eo);ee(this,"outputLen",Eo);ee(this,"s0",0);ee(this,"s1",0);ee(this,"s2",0);ee(this,"s3",0);ee(this,"finished",!1);ee(this,"destroyed",!1);ee(this,"t");ee(this,"W");ee(this,"windowSize");He(t,16,"key"),t=$t(t);let i=Zc(t),n=i.getUint32(0,!1),o=i.getUint32(4,!1),a=i.getUint32(8,!1),s=i.getUint32(12,!1),u=[];for(let _=0;_<128;_++)u.push({s0:Ih(n),s1:Ih(o),s2:Ih(a),s3:Ih(s)}),{s0:n,s1:o,s2:a,s3:s}=dY(n,o,a,s);let c=gY(r||1024);if(![1,2,4,8].includes(c))throw new Error("ghash: invalid window size, expected 2, 4 or 8");this.W=c;let p=128/c,d=this.windowSize=2**c,v=[];for(let _=0;_<p;_++)for(let I=0;I<d;I++){let R=0,k=0,q=0,z=0;for(let A=0;A<c;A++){if(!(I>>>c-A-1&1))continue;let{s0:M,s1:F,s2:V,s3:Y}=u[c*_+A];R^=M,k^=F,q^=V,z^=Y}v.push({s0:R,s1:k,s2:q,s3:z})}this.t=v}_updateBlock(t,r,i,n){t^=this.s0,r^=this.s1,i^=this.s2,n^=this.s3;let{W:o,t:a,windowSize:s}=this,u=0,c=0,l=0,p=0,d=(1<<o)-1,v=0;for(let _ of[t,r,i,n])for(let I=0;I<4;I++){let R=_>>>8*I&255;for(let k=8/o-1;k>=0;k--){let q=R>>>o*k&d,{s0:z,s1:A,s2:B,s3:M}=a[v*s+q];u^=z,c^=A,l^=B,p^=M,v+=1}}this.s0=u,this.s1=c,this.s2=l,this.s3=p}update(t){fs(this),He(t),t=$t(t);let r=Ve(t),i=Math.floor(t.length/Eo),n=t.length%Eo;for(let o=0;o<i;o++)this._updateBlock(Fe(r[o*4+0]),Fe(r[o*4+1]),Fe(r[o*4+2]),Fe(r[o*4+3]));return n&&(_w.set(t.subarray(i*Eo)),this._updateBlock(Fe(xo[0]),Fe(xo[1]),Fe(xo[2]),Fe(xo[3])),ot(xo)),this}destroy(){this.destroyed=!0;let{t}=this;for(let r of t)r.s0=0,r.s1=0,r.s2=0,r.s3=0}digestInto(t){fs(this),Eh(t,this),this.finished=!0;let{s0:r,s1:i,s2:n,s3:o}=this,a=Ve(t);a[0]=r,a[1]=i,a[2]=n,a[3]=o,yi||Ge(a.subarray(0,Eo/4))}digest(){let t=new Uint8Array(Eo);return this.digestInto(t),this.destroy(),t}},bw=class extends Bm{constructor(t,r){He(t);let i=pY($t(t));super(i,r),ot(i)}update(t){fs(this),He(t),t=$t(t);let r=Ve(t),i=t.length%Eo,n=Math.floor(t.length/Eo);for(let o=0;o<n;o++)this._updateBlock(ls(r[o*4+3]),ls(r[o*4+2]),ls(r[o*4+1]),ls(r[o*4+0]));return i&&(_w.set(t.subarray(n*Eo)),this._updateBlock(ls(xo[3]),ls(xo[2]),ls(xo[1]),ls(xo[0])),ot(xo)),this}digestInto(t){fs(this),Eh(t,this),this.finished=!0;let r=t.subarray(0,this.outputLen),{s0:i,s1:n,s2:o,s3:a}=this,s=Ve(r);s[0]=i,s[1]=n,s[2]=o,s[3]=a,Ge(s),r.reverse()}},ww=Oh(16,(e,t)=>new Bm(e,t),e=>[e.length]),cL=Oh(16,(e,t)=>new bw(e,t),e=>[e.length])});var Rw={};Hf(Rw,{__TESTS:()=>NY,aeskw:()=>IY,aeskwp:()=>AY,aessiv:()=>kY,cbc:()=>SY,cfb:()=>EY,cmac:()=>Th,ctr:()=>ef,ecb:()=>wY,gcm:()=>xY,gcmsiv:()=>OY,rngAesCtrDrbg128:()=>TY,rngAesCtrDrbg256:()=>PY,siv:()=>RY,unsafe:()=>BY});function Mm(e){if(![16,24,32].includes(e.length))throw new Error('"aes key" expected Uint8Array of length 16/24/32, got length='+e.length)}function Tw(e){return e<<1^vY&-(e>>7)}function Xc(e,t){let r=0;for(;t>0;t>>=1)r^=e&-(t&1),e=Tw(e);return r}function dL(e,t){if(e.length!==256)throw new Error("wrong sbox length");let r=new Uint32Array(256).map((c,l)=>t(e[l])),i=r.map(Sw),n=i.map(Sw),o=n.map(Sw),a=new Uint32Array(256*256),s=new Uint32Array(256*256),u=new Uint16Array(256*256);for(let c=0;c<256;c++)for(let l=0;l<256;l++){let p=c*256+l;a[p]=r[c]^i[l],s[p]=n[c]^o[l],u[p]=e[c]<<8|e[l]}return{sbox:e,sbox2:u,T0:r,T1:i,T2:n,T3:o,T01:a,T23:s}}function Fn(e){He(e);let t=e.length;Mm(e);let{sbox2:r}=Pw,i=[];(!yi||!ri(e))&&i.push(e=$t(e));let n=Ge(Ve(e)),o=n.length,a=u=>Oo(r,u,u,u,u),s=new Uint32Array(t+28);s.set(n);for(let u=o;u<s.length;u++){let c=s[u-1];u%o===0?c=a(bY(c))^_Y[u/o-1]:o>6&&u%o===4&&(c=a(c)),s[u]=s[u-o]^c}return ot(...i),s}function Dm(e){let t=Fn(e),r=t.slice(),i=t.length,{sbox2:n}=Pw,{T0:o,T1:a,T2:s,T3:u}=pL;for(let c=0;c<i;c+=4)for(let l=0;l<4;l++)r[c+l]=t[i-c-4+l];ot(t);for(let c=4;c<i-4;c++){let l=r[c],p=Oo(n,l,l,l,l);r[c]=o[p&255]^a[p>>>8&255]^s[p>>>16&255]^u[p>>>24]}return r}function hs(e,t,r,i,n,o){return e[r<<8&65280|i>>>8&255]^t[n>>>8&65280|o>>>24&255]}function Oo(e,t,r,i,n){return e[t&255|r&65280]|e[i>>>16&255|n>>>16&65280]<<16}function bi(e,t,r,i,n){let{sbox2:o,T01:a,T23:s}=Pw,u=0;t^=e[u++],r^=e[u++],i^=e[u++],n^=e[u++];let c=e.length/4-2;for(let _=0;_<c;_++){let I=e[u++]^hs(a,s,t,r,i,n),R=e[u++]^hs(a,s,r,i,n,t),k=e[u++]^hs(a,s,i,n,t,r),q=e[u++]^hs(a,s,n,t,r,i);t=I,r=R,i=k,n=q}let l=e[u++]^Oo(o,t,r,i,n),p=e[u++]^Oo(o,r,i,n,t),d=e[u++]^Oo(o,i,n,t,r),v=e[u++]^Oo(o,n,t,r,i);return{s0:l,s1:p,s2:d,s3:v}}function Rh(e,t,r,i,n){let{sbox2:o,T01:a,T23:s}=pL,u=0;t^=e[u++],r^=e[u++],i^=e[u++],n^=e[u++];let c=e.length/4-2;for(let _=0;_<c;_++){let I=e[u++]^hs(a,s,t,n,i,r),R=e[u++]^hs(a,s,r,t,n,i),k=e[u++]^hs(a,s,i,r,t,n),q=e[u++]^hs(a,s,n,i,r,t);t=I,r=R,i=k,n=q}let l=e[u++]^Oo(o,t,n,i,r),p=e[u++]^Oo(o,r,t,n,i),d=e[u++]^Oo(o,i,r,t,n),v=e[u++]^Oo(o,n,i,r,t);return{s0:l,s1:p,s2:d,s3:v}}function gL(e,t,r,i){He(t,ft,"nonce"),He(r);let n=r.length;i=$c(n,i),km(r,i);let o=t,a=Ve(o),s=Ve(r),u=Ve(i);for(let l=0;l+4<=s.length;l+=4){let{s0:p,s1:d,s2:v,s3:_}=bi(e,Fe(a[0]),Fe(a[1]),Fe(a[2]),Fe(a[3]));u[l+0]=s[l+0]^Fe(p),u[l+1]=s[l+1]^Fe(d),u[l+2]=s[l+2]^Fe(v),u[l+3]=s[l+3]^Fe(_);for(let I=ft-1,R=1;I>=0;I--)R=R+o[I]|0,o[I]=R&255,R>>>=8}let c=ft*Math.floor(s.length/Aw);if(c<n){let{s0:l,s1:p,s2:d,s3:v}=bi(e,Fe(a[0]),Fe(a[1]),Fe(a[2]),Fe(a[3])),_=new Uint32Array([l,p,d,v]);Ge(_);let I=Rm(_);for(let R=c,k=0;R<n;R++,k++)i[R]=r[R]^I[k];ot(_)}return i}function Jc(e,t,r,i,n){He(r,ft,"nonce"),He(i),n=$c(i.length,n);let o=r,a=Ve(o),s=Zc(o),u=Ve(i),c=Ve(n),l=t?0:12,p=i.length,d=s.getUint32(l,t);for(let _=0;_+4<=u.length;_+=4){let{s0:I,s1:R,s2:k,s3:q}=bi(e,Fe(a[0]),Fe(a[1]),Fe(a[2]),Fe(a[3]));c[_+0]=u[_+0]^Fe(I),c[_+1]=u[_+1]^Fe(R),c[_+2]=u[_+2]^Fe(k),c[_+3]=u[_+3]^Fe(q),d=d+1>>>0,s.setUint32(l,d,t)}let v=ft*Math.floor(u.length/Aw);if(v<p){let{s0:_,s1:I,s2:R,s3:k}=bi(e,Fe(a[0]),Fe(a[1]),Fe(a[2]),Fe(a[3])),q=new Uint32Array([_,I,R,k]);Ge(q);let z=Rm(q);for(let A=v,B=0;A<p;A++,B++)n[A]=i[A]^z[B];ot(q)}return n}function mL(e,t){if(He(e),e.length%ft!==0)throw new Error("ciphertext must be multiple of "+ft);t!==void 0&&($c(e.length,t),km(e,t))}function vL(e,t,r){He(e);let i=e.length,n=i%ft;if(!t&&n!==0)throw new Error("plaintext must be multiple of "+ft);if(t){let o=ft-n;o||(o=ft),i=i+o}return r!==void 0&&($c(i,r),km(e,r)),i}function yL(e,t,r){r===void 0&&(r=new Uint8Array(t)),(!yi||!ri(e))&&(e=$t(e));let i=Ve(r);return{b:e,o:i,out:r}}function bL(e,t){if(!t)return e;let r=e.length;if(r===0)throw new Error("pkcs7: empty ciphertext not allowed");let i=e[r-1],n=1;n&=i-1>>>31^1,n&=16-i>>>31^1;for(let o=0;o<16;o++){let a=o-i>>>31,s=(e[r-1-o]^i)===0?1:0;n&=s|a^1}if(!n)throw new Error("aes: bad decrypt");return e.subarray(0,r-i)}function _L(e){let t=new Uint8Array(16),r=Ve(t);t.set(e);let i=ft-e.length;for(let n=ft-i;n<ft;n++)t[n]=i;return r}function wL(e,t,r,i,n){let o=n?n.length:0,a=e.create(r,i.length+o);n&&a.update(n);let s=uL(8*i.length,8*o,t);a.update(i),a.update(s);let u=a.digest();return ot(s),u}function SL(e){return e instanceof Uint32Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint32Array"}function Cm(e,t){if(He(t,16,"block"),!SL(e))throw new Error("_encryptBlock accepts result of expandKeyLE");let r=Ve(t);Ge(r);let{s0:i,s1:n,s2:o,s3:a}=bi(e,r[0],r[1],r[2],r[3]);return r[0]=i,r[1]=n,r[2]=o,r[3]=a,Ge(r),t}function EL(e,t){if(He(t,16,"block"),!SL(e))throw new Error("_decryptBlock accepts result of expandKeyLE");let r=Ve(t);Ge(r);let{s0:i,s1:n,s2:o,s3:a}=Rh(e,r[0],r[1],r[2],r[3]);return r[0]=i,r[1]=n,r[2]=o,r[3]=a,Ge(r),t}function Ph(e){let t=0;for(let r=ft-1;r>=0;r--){let i=(e[r]&128)>>>7;e[r]=e[r]<<1|t,t=i}return e[ft-1]^=135&-t,e}function tf(e,t){if(e.length!==t.length)throw new Error("xorBlock: blocks must have same length");for(let r=0;r<e.length;r++)e[r]=e[r]^t[r];return e}function OL(e,t){if(t.length>e.length)throw new Error("xorend: expected len(B) <= len(A)");let r=e.length-t.length;for(let i=0;i<t.length;i++)e[r+i]=e[r+i]^t[i];return e}function Iw(e,t){Mm(e);let r=t.length;if(r>127)throw new Error("s2v: expected <= 127 inputs");if(r===0)return Th(mY,e);let i=Th(Ah,e);for(let s=0;s<r-1;s++){Ph(i);let u=Th(t[s],e);tf(i,u),ot(u)}let n=t[r-1];He(n);let o;if(n.byteLength>=ft)o=OL(Uint8Array.from(n),i);else{let s=new Uint8Array(ft);s.set(n),s[n.length]=128,o=tf(Ph(i),s),ot(s)}let a=Th(o,e);return ot(i,o),a}var ft,Aw,Ah,mY,vY,Nm,Ew,yY,bY,Sw,Pw,pL,_Y,ef,wY,SY,EY,xY,Qc,OY,Lm,lL,IY,hL,AY,xw,xL,TY,PY,Ow,Th,RY,kY,BY,NY,kw=Dr(()=>{g();fL();yw();ft=16,Aw=4,Ah=new Uint8Array(ft),mY=Uint8Array.from([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1]),vY=283;Nm=(e,t,r=1)=>{if(!Number.isSafeInteger(r)||r<0||r>4294967040)throw new Error("incBytes: wrong carry "+r);He(e);for(let i=0;i<e.length;i++){let n=t?i:e.length-1-i;r=r+(e[n]&255)|0,e[n]=r&255,r>>>=8}},Ew=(()=>{let e=new Uint8Array(256);for(let r=0,i=1;r<256;r++,i^=Tw(i))e[r]=i;let t=new Uint8Array(256);t[0]=99;for(let r=0;r<255;r++){let i=e[255-r];i|=i<<8,t[e[r]]=(i^i>>4^i>>5^i>>6^i>>7^99)&255}return ot(e),t})(),yY=Ew.map((e,t)=>Ew.indexOf(t)),bY=e=>e<<24|e>>>8,Sw=e=>e<<8|e>>>24;Pw=dL(Ew,e=>Xc(e,3)<<24|e<<16|e<<8|Xc(e,2)),pL=dL(yY,e=>Xc(e,11)<<24|Xc(e,13)<<16|Xc(e,9)<<8|Xc(e,14)),_Y=(()=>{let e=new Uint8Array(16);for(let t=0,r=1;t<16;t++,r=Tw(r))e[t]=r;return e})();ef=So({blockSize:16,nonceLength:16},function(t,r){function i(n,o){if(He(n),o!==void 0&&(He(o),!ri(o)))throw new Error("unaligned destination");let a=Fn(t),s=$t(r),u=[a,s];ri(n)||u.push(n=$t(n));let c=gL(a,s,n,o);return ot(...u),c}return{encrypt:(n,o)=>i(n,o),decrypt:(n,o)=>i(n,o)}});wY=So({blockSize:16},function(t,r={}){let i=!r.disablePadding;return{encrypt(n,o){let a=vL(n,i,o),s=Fn(t),{b:u,o:c,out:l}=yL(n,a,o),p=Ve(u);Ge(p);let d=0;for(;d+4<=p.length;){let{s0:v,s1:_,s2:I,s3:R}=bi(s,p[d+0],p[d+1],p[d+2],p[d+3]);c[d++]=v,c[d++]=_,c[d++]=I,c[d++]=R}if(i){let v=_L(n.subarray(d*4));Ge(v);let{s0:_,s1:I,s2:R,s3:k}=bi(s,v[0],v[1],v[2],v[3]);c[d++]=_,c[d++]=I,c[d++]=R,c[d++]=k,ot(v)}return Ge(c),ot(s),u!==n&&ot(u),l},decrypt(n,o){mL(n,o);let a=Dm(t);o===void 0&&(o=new Uint8Array(n.length));let s=[a];(!yi||!ri(n))&&s.push(n=$t(n));let u=Ve(n),c=Ve(o);Ge(u);for(let l=0;l+4<=u.length;){let{s0:p,s1:d,s2:v,s3:_}=Rh(a,u[l+0],u[l+1],u[l+2],u[l+3]);c[l++]=p,c[l++]=d,c[l++]=v,c[l++]=_}return Ge(c),ot(...s),bL(o,i)}}}),SY=So({blockSize:16,nonceLength:16},function(t,r,i={}){let n=!i.disablePadding;return{encrypt(o,a){let s=vL(o,n,a),u=Fn(t),{b:c,o:l,out:p}=yL(o,s,a),d=Ve(c);Ge(d);let v=r,_=[u];(!yi||!ri(v))&&_.push(v=$t(v));let I=Ve(v);Ge(I);let R=I[0],k=I[1],q=I[2],z=I[3],A=0;for(;A+4<=d.length;)R^=d[A+0],k^=d[A+1],q^=d[A+2],z^=d[A+3],{s0:R,s1:k,s2:q,s3:z}=bi(u,R,k,q,z),l[A++]=R,l[A++]=k,l[A++]=q,l[A++]=z;if(n){let B=_L(o.subarray(A*4));Ge(B),R^=B[0],k^=B[1],q^=B[2],z^=B[3],{s0:R,s1:k,s2:q,s3:z}=bi(u,R,k,q,z),l[A++]=R,l[A++]=k,l[A++]=q,l[A++]=z,ot(B)}return Ge(l),ot(..._),c!==o&&ot(c),p},decrypt(o,a){mL(o,a);let s=Dm(t);a===void 0&&(a=new Uint8Array(o.length));let u=r,c=[s];(!yi||!ri(u))&&c.push(u=$t(u));let l=Ve(u);Ge(l),(!yi||!ri(o))&&c.push(o=$t(o));let p=Ve(o),d=Ve(a);Ge(p);let v=l[0],_=l[1],I=l[2],R=l[3];for(let k=0;k+4<=p.length;){let q=v,z=_,A=I,B=R;v=p[k+0],_=p[k+1],I=p[k+2],R=p[k+3];let{s0:M,s1:F,s2:V,s3:Y}=Rh(s,v,_,I,R);d[k++]=M^q,d[k++]=F^z,d[k++]=V^A,d[k++]=Y^B}return Ge(d),ot(...c),bL(a,n)}}}),EY=So({blockSize:16,nonceLength:16},function(t,r){function i(n,o,a){He(n);let s=n.length;if(a=$c(s,a),mw(n,a))throw new Error("overlapping src and dst not supported");let u=Fn(t),c=r,l=[u];(!yi||!ri(c))&&l.push(c=$t(c)),(!yi||!ri(n))&&l.push(n=$t(n));let p=Ve(n),d=Ve(a),v=o?d:p,_=Ve(c);Ge(p),Ge(_);let I=_[0],R=_[1],k=_[2],q=_[3];for(let A=0;A+4<=p.length;){let{s0:B,s1:M,s2:F,s3:V}=bi(u,I,R,k,q);d[A+0]=p[A+0]^B,d[A+1]=p[A+1]^M,d[A+2]=p[A+2]^F,d[A+3]=p[A+3]^V,I=v[A++],R=v[A++],k=v[A++],q=v[A++]}let z=ft*Math.floor(p.length/Aw);if(z<s){yi||Ge(p.subarray(z/4)),{s0:I,s1:R,s2:k,s3:q}=bi(u,I,R,k,q);let A=new Uint32Array([I,R,k,q]);Ge(A);let B=Rm(A);for(let M=z,F=0;M<s;M++,F++)a[M]=n[M]^B[F];ot(B)}return yi||Ge(d.subarray(0,z/4)),ot(...l),a}return{encrypt:(n,o)=>i(n,!0,o),decrypt:(n,o)=>i(n,!1,o)}});xY=So({blockSize:16,nonceLength:12,tagLength:16,withAAD:!0,varSizeNonce:!0},function(t,r,i){if(r.length<8)throw new Error("aes/gcm: invalid nonce length");let n=16;function o(s,u,c){let l=wL(ww,!1,s,c,i);for(let p=0;p<u.length;p++)l[p]^=u[p];return l}function a(){let s=Fn(t),u=Ah.slice(),c=Ah.slice();if(Jc(s,!1,c,c,u),r.length===12)c.set(r);else{let p=Ah.slice();Zc(p).setBigUint64(8,BigInt(r.length*8),!1);let v=ww.create(u).update(r).update(p);v.digestInto(c),v.destroy()}let l=Jc(s,!1,c,Ah);return{xk:s,authKey:u,counter:c,tagMask:l}}return{encrypt(s){let{xk:u,authKey:c,counter:l,tagMask:p}=a(),d=new Uint8Array(s.length+n),v=[u,c,l,p];ri(s)||v.push(s=$t(s)),Jc(u,!1,l,s,d.subarray(0,s.length));let _=o(c,p,d.subarray(0,d.length-n));return v.push(_),d.set(_,s.length),ot(...v),d},decrypt(s){let{xk:u,authKey:c,counter:l,tagMask:p}=a(),d=[u,c,p,l];ri(s)||d.push(s=$t(s));let v=s.subarray(0,-n),_=s.subarray(-n),I=o(c,p,v);if(d.push(I),!xh(I,_))throw ot(...d),new Error("aes-gcm: invalid tag");let R=Jc(u,!1,l,v);return ot(...d),R}}}),Qc=(e,t,r)=>i=>{if(!Number.isSafeInteger(i)||t>i||i>r){let n="["+t+".."+r+"]";throw new Error(""+e+": expected value in range "+n+", got "+i)}},OY=So({blockSize:16,nonceLength:12,tagLength:16,withAAD:!0,varSizeNonce:!0},function(t,r,i){let o=Qc("AAD",0,68719476736),a=Qc("plaintext",0,2**36),s=Qc("nonce",12,12),u=Qc("ciphertext",16,2**36+16);He(t),Mm(t),s(r.length),i!==void 0&&o(i.length);function c(){let d=Fn(t),v=new Uint8Array(t.length),_=new Uint8Array(16),I=[d,v],R=r;(!yi||!ri(R))&&I.push(R=$t(R));let k=Ve(R);Ge(k);let q=0,z=k[0],A=k[1],B=k[2],M=0;for(let V of[_,v].map(Ve)){let Y=Ve(V);for(let E=0;E<Y.length;E+=2){let{s0:h,s1:y}=bi(d,q,z,A,B);Y[E+0]=h,Y[E+1]=y,q=++M}Ge(Y)}let F={authKey:_,encKey:Fn(v)};return ot(...I),F}function l(d,v,_){let I=wL(cL,!0,v,_,i);for(let B=0;B<12;B++)I[B]^=r[B];I[15]&=127;let R=Ve(I);Ge(R);let k=R[0],q=R[1],z=R[2],A=R[3];return{s0:k,s1:q,s2:z,s3:A}=bi(d,k,q,z,A),R[0]=k,R[1]=q,R[2]=z,R[3]=A,Ge(R),I}function p(d,v,_){let I=$t(v);I[15]|=128;let R=Jc(d,!0,I,_);return ot(I),R}return{encrypt(d){a(d.length);let{encKey:v,authKey:_}=c(),I=l(v,_,d),R=[v,_,I];ri(d)||R.push(d=$t(d));let k=new Uint8Array(d.length+16);return k.set(I,d.length),k.set(p(v,I,d)),ot(...R),k},decrypt(d){u(d.length);let v=d.subarray(-16),{encKey:_,authKey:I}=c(),R=[_,I];ri(d)||R.push(d=$t(d));let k=p(_,v,d.subarray(0,-16)),q=l(_,I,k);if(R.push(q),!xh(v,q))throw ot(k,...R),new Error("invalid polyval tag");return ot(...R),k}}});Lm={encrypt(e,t){if(t.length>=2**32)throw new Error("plaintext should be less than 4gb");let r=Fn(e);if(t.length===16)Cm(r,t);else{let i=Ve(t);Ge(i);let n=i[0],o=i[1];for(let a=0,s=1;a<6;a++)for(let u=2;u<i.length;u+=2,s++){let{s0:c,s1:l,s2:p,s3:d}=bi(r,n,o,i[u],i[u+1]);n=c,o=l^pu(s),i[u]=p,i[u+1]=d}i[0]=n,i[1]=o,Ge(i)}r.fill(0)},decrypt(e,t){if(t.length-8>=2**32)throw new Error("ciphertext should be less than 4gb");let r=Dm(e),i=t.length/8-1;if(i===1)EL(r,t);else{let n=Ve(t);Ge(n);let o=n[0],a=n[1];for(let s=0,u=i*6;s<6;s++)for(let c=i*2;c>=1;c-=2,u--){a^=pu(u);let{s0:l,s1:p,s2:d,s3:v}=Rh(r,o,a,n[c],n[c+1]);o=l,a=p,n[c]=d,n[c+1]=v}n[0]=o,n[1]=a,Ge(n)}r.fill(0)}},lL=new Uint8Array(8).fill(166),IY=So({blockSize:8},e=>({encrypt(t){if(!t.length||t.length%8!==0)throw new Error("invalid plaintext length");if(t.length===8)throw new Error("8-byte keys not allowed, use AESKWP");let r=vw(lL,t);return Lm.encrypt(e,r),r},decrypt(t){if(t.length%8!==0||t.length<24)throw new Error("invalid ciphertext length");let r=$t(t);if(Lm.decrypt(e,r),!xh(r.subarray(0,8),lL))throw new Error("integrity check failed");return r.subarray(0,8).fill(0),r.subarray(8)}})),hL=2790873510,AY=So({blockSize:8},e=>({encrypt(t){if(!t.length)throw new Error("invalid plaintext length");let r=Math.ceil(t.length/8)*8,i=new Uint8Array(8+r);i.set(t,8);let n=Ve(i);return n[0]=Fe(hL),n[1]=Fe(pu(t.length)),Lm.encrypt(e,i),i},decrypt(t){if(t.length<16)throw new Error("invalid ciphertext length");let r=$t(t),i=Ve(r);Lm.decrypt(e,r);let n=pu(Fe(i[1]))>>>0,o=Math.ceil(n/8)*8;if(Fe(i[0])!==hL||r.length-8!==o)throw new Error("integrity check failed");for(let a=n;a<o;a++)if(r[8+a]!==0)throw new Error("integrity check failed");return r.subarray(0,8).fill(0),r.subarray(8,8+n)}})),xw=class{constructor(t,r,i){ee(this,"blockLen");ee(this,"key");ee(this,"nonce");ee(this,"state");ee(this,"reseedCnt");ee(this,"destroyed",!1);this.blockLen=ef.blockSize;let n=t/8,o=16;this.state=new Uint8Array(n+o),this.key=this.state.subarray(0,n),this.nonce=this.state.subarray(n,n+o),this.reseedCnt=1,Nm(this.nonce,!1,1),this.addEntropy(r,i)}update(t){if(ef(this.key,this.nonce).encrypt(new Uint8Array(this.state.length),this.state),t){He(t);for(let r=0;r<t.length;r++)this.state[r]^=t[r]}Nm(this.nonce,!1,1)}addEntropy(t,r){if(this.destroyed)throw new Error("cannot use destroyed DRBG");He(t,this.state.length,"seed");let i=t.slice();if(r){if(He(r),r.length>i.length)throw new Error("info length is too big");for(let n=0;n<r.length;n++)i[n]^=r[n]}this.update(i),i.fill(0),this.reseedCnt=1}randomBytes(t,r){if(this.destroyed)throw new Error("cannot use destroyed DRBG");if(Sh(t),t>2**16)throw new Error("requested output is too big");if(this.reseedCnt>2**48)throw new Error("entropy exhausted");if(r){if(He(r),r.length>this.state.length)throw new Error("info length is too big");this.update(r)}let i=new Uint8Array(t);return ef(this.key,this.nonce).encrypt(i,i),Nm(this.nonce,!1,Math.ceil(t/this.blockLen)),this.update(r),this.reseedCnt++,i}clean(){this.state.fill(0),this.reseedCnt=0,this.destroyed=!0}},xL=e=>(t,r=void 0)=>new xw(e,t,r),TY=xL(128),PY=xL(256);Ow=class{constructor(t){ee(this,"blockLen",ft);ee(this,"outputLen",ft);ee(this,"buffer");ee(this,"pos");ee(this,"finished");ee(this,"destroyed");ee(this,"k1");ee(this,"k2");ee(this,"x");ee(this,"x32");ee(this,"xk");He(t),Mm(t),this.xk=Fn(t),this.buffer=new Uint8Array(ft),this.pos=0,this.finished=!1,this.destroyed=!1,this.x=new Uint8Array(ft),this.x32=Ve(this.x);let r=new Uint8Array(ft);Cm(this.xk,r),this.k1=Ph(r),this.k2=Ph(new Uint8Array(this.k1))}process(t,r){let{x:i,x32:n,xk:o}=this;for(let l=0;l<ft;l++)i[l]^=t[r+l];Ge(n);let{s0:a,s1:s,s2:u,s3:c}=bi(o,n[0],n[1],n[2],n[3]);n[0]=a,n[1]=s,n[2]=u,n[3]=c,Ge(n)}update(t){fs(this),He(t);let r=0;if(this.pos){let i=Math.min(ft-this.pos,t.length);this.buffer.set(t.subarray(0,i),this.pos),this.pos+=i,r=i,this.pos===ft&&r<t.length&&(this.process(this.buffer,0),this.pos=0)}for(;r+ft<t.length;)this.process(t,r),r+=ft;return r<t.length&&(this.buffer.set(t.subarray(r),0),this.pos=t.length-r),this}digestInto(t){fs(this),Eh(t,this),this.finished=!0;let r=t.subarray(0,this.outputLen),i=new Uint8Array(ft);this.pos===ft?(i.set(this.buffer),tf(i,this.k1)):(i.set(this.buffer.subarray(0,this.pos)),i[this.pos]=128,tf(i,this.k2)),r.set(this.x),tf(r,i),Cm(this.xk,r),ot(i)}digest(){let{buffer:t,outputLen:r}=this;this.digestInto(t);let i=t.slice(0,r);return this.destroy(),i}destroy(){let{buffer:t,destroyed:r,x:i,xk:n,k1:o,k2:a}=this;r||(this.destroyed=!0,ot(t,i,n,o,a))}},Th=Oh(16,e=>new Ow(e));RY=()=>{throw new Error('"siv" from v1 is now "gcmsiv"')},kY=So({blockSize:16,tagLength:16,withAAD:!0},function(t,...r){let i=Qc("plaintext",0,5444517870735016e24),n=Qc("ciphertext",16,2**132+16);if(r.length>126)throw new Error('"AAD" expected <= 126 items');if(r.forEach(s=>He(s)),He(t),![32,48,64].includes(t.length))throw new Error('"aes key" expected Uint8Array of length 32/48/64, got length='+t.length);let o=t.subarray(0,t.length/2),a=t.subarray(t.length/2);return{encrypt(s){i(s.length);let u=Iw(o,[...r,s]),c=Uint8Array.from(u);c[8]&=127,c[12]&=127;let l=ef(a,c).encrypt(s);return vw(u,l)},decrypt(s){n(s.length);let u=s.subarray(0,ft),c=s.subarray(ft),l=Uint8Array.from(u);l[8]&=127,l[12]&=127;let p=ef(a,l).decrypt(c),d=Iw(o,[...r,p]);if(xh(d,u))return p;throw ot(p),new Error("invalid siv tag")}}}),BY=Object.freeze({expandKeyLE:Fn,expandKeyDecLE:Dm,encrypt:bi,decrypt:Rh,encryptBlock:Cm,decryptBlock:EL,ctrCounter:gL,ctr32:Jc,dbl:Ph,xorBlock:tf,xorend:OL,s2v:Iw}),NY=Object.freeze({incBytes:Nm})});var PL=T((Nce,TL)=>{"use strict";g();var{secp256k1:IL}=(Ll(),en(Cl)),{sha512:CY,sha256:LY}=(Il(),en(tg)),{hmac:MY}=(fg(),en(xb)),{cbc:AL}=(kw(),en(Rw)),DY=sr(),ds=Ie(),HY=Ki();function kh(e){return f.Buffer.from(e.buffer,e.byteOffset,e.byteLength)}function Bw(e,t){return kh(MY(LY,e,t))}function qY(e,t){if(e.length!==t.length)return!1;for(var r=0,i=0;i<e.length;i++)r|=e[i]^t[i];return r===0}var Hm=function(){};Hm.encrypt=function(e,t,r){ds.checkArgument(e),ds.checkArgument(t),ds.checkArgument(r),r=r||HY.getRandomBuffer(128/8);var i=AL(Uint8Array.from(t),Uint8Array.from(r)).encrypt(Uint8Array.from(e));return f.Buffer.concat([f.Buffer.from(r),kh(i)])};Hm.decrypt=function(e,t){ds.checkArgument(e),ds.checkArgument(t);var r=e.slice(0,128/8),i=e.slice(128/8),n=AL(Uint8Array.from(t),Uint8Array.from(r)).decrypt(Uint8Array.from(i));return kh(n)};var rf=function e(t){if(!(this instanceof e))return new e(t);this.opts=t||{}};rf.prototype.privateKey=function(e){return ds.checkArgument(e,"no private key provided"),this._privateKey=e||null,this};rf.prototype.publicKey=function(e){return ds.checkArgument(e,"no public key provided"),this._publicKey=e||null,this};var qm=function(e,t){var r="_"+e;Object.defineProperty(rf.prototype,e,{configurable:!1,enumerable:!0,get:function(){var i=this[r];return i||(i=this[r]=t.apply(this)),i}})};qm("Rbuf",function(){var e=this._privateKey.bn.toBuffer({size:32});return kh(IL.getPublicKey(Uint8Array.from(e),!0))});qm("kEkM",function(){var e=this._privateKey.bn.toBuffer({size:32}),t=this._publicKey.toDER(),r=IL.getSharedSecret(Uint8Array.from(e),Uint8Array.from(t),!0),i=r.slice(1);return kh(CY(i))});qm("kE",function(){return this.kEkM.slice(0,32)});qm("kM",function(){return this.kEkM.slice(32,64)});rf.prototype.encrypt=function(e,t){f.Buffer.isBuffer(e)||(e=f.Buffer.from(e)),t===void 0&&(t=Bw(this._privateKey.toBuffer(),e).slice(0,16));var r=Hm.encrypt(e,this.kE,t),i=Bw(this.kM,r);return this.opts.shortTag&&(i=i.slice(0,4)),this.opts.noKey?f.Buffer.concat([r,i]):f.Buffer.concat([this.Rbuf,r,i])};rf.prototype.decrypt=function(e){ds.checkArgument(e);var t=0,r=this.opts.shortTag?4:32;if(!this.opts.noKey){var i;switch(e[0]){case 4:i=e.slice(0,65);break;case 3:case 2:i=e.slice(0,33);break;default:throw new Error("Invalid type: "+e[0])}this._publicKey=DY.fromDER(i),t+=i.length}var n=e.slice(t,e.length-r),o=e.slice(e.length-r,e.length),a=Bw(this.kM,n);if(this.opts.shortTag&&(a=a.slice(0,4)),!qY(o,a))throw new Error("Invalid checksum");return Hm.decrypt(n,this.kE)};TL.exports=rf});var kL=T((Lce,RL)=>{"use strict";g();var UY={name:"ECIES",message:"Internal Error on bsv-ecies Module {0}",errors:[{name:"DecryptionError",message:"Invalid Message: {0}"},{name:"UnsupportAlgorithm",message:"Unsupport Algorithm: {0}"}]};RL.exports=pi().extend(UY)});var ML=T((Dce,LL)=>{"use strict";g();var Nw=sr(),Cw=ei(),Wi=Ie(),FY=PL(),Um=kL(),{secp256k1:BL}=(Ll(),en(Cl)),{sha512:jY,sha256:zY}=(Il(),en(tg)),{hmac:KY}=(fg(),en(xb)),{cbc:NL}=(kw(),en(Rw));function Bh(e){return f.Buffer.from(e.buffer,e.byteOffset,e.byteLength)}function CL(e,t){return Bh(KY(zY,t,e))}var Fm=function(){};Fm.encrypt=function(e,t,r){return Wi.checkArgument(e),Wi.checkArgument(t),Wi.checkArgument(r),Wi.checkArgument(t.length===16,"keybuf length must be 16"),Wi.checkArgument(r.length===16,"ivbuf length must be 16"),Bh(NL(Uint8Array.from(t),Uint8Array.from(r)).encrypt(Uint8Array.from(e)))};Fm.decrypt=function(e,t,r){return Wi.checkArgument(e),Wi.checkArgument(t),Wi.checkArgument(r),Wi.checkArgument(t.length===16,"keybuf length must be 16"),Wi.checkArgument(r.length===16,"ivbuf length must be 16"),Bh(NL(Uint8Array.from(t),Uint8Array.from(r)).decrypt(Uint8Array.from(e)))};var gu=function e(t,r="BIE1"){if(r!=="BIE1")throw new Um.UnsupportAlgorithm(r);if(!(this instanceof e))return new e(t,r);this._privateKey=new Cw,this.opts=t||{},this.opts.ephemeralKey=!0};gu.prototype.privateKey=function(e){return Wi.checkArgument(Cw.isValid(e),"no private key provided"),this._privateKey=Cw(e.toHex())||null,this.opts.ephemeralKey=!1,this};gu.prototype.publicKey=function(e){return Wi.checkArgument(Nw.isValid(e),"no public key provided"),this._publicKey=Nw(e.toString())||null,this._publicKey!=null&&(this.opts.fixedPublicKey=!0),this};var Nh=function(e,t){var r="_"+e;Object.defineProperty(gu.prototype,e,{configurable:!1,enumerable:!0,get:function(){var i=this[r];return i=this[r]=t.apply(this),i}})};Nh("Rbuf",function(){var e=this._privateKey.bn.toBuffer({size:32});return Bh(BL.getPublicKey(Uint8Array.from(e),!0))});Nh("ivkEkM",function(){var e=this._privateKey.bn.toBuffer({size:32}),t=this._publicKey.toDER(),r=BL.getSharedSecret(Uint8Array.from(e),Uint8Array.from(t),!0);return Bh(jY(r))});Nh("iv",function(){return this.ivkEkM.slice(0,16)});Nh("kE",function(){return this.ivkEkM.slice(16,32)});Nh("kM",function(){return this.ivkEkM.slice(32,64)});gu.prototype.encrypt=function(e){f.Buffer.isBuffer(e)||(e=f.Buffer.from(e));var t=Fm.encrypt(e,this.kE,this.iv),r,i=f.Buffer.from("BIE1");this.opts.noKey&&!this.opts.ephemeralKey?r=f.Buffer.concat([i,t]):r=f.Buffer.concat([i,this.Rbuf,t]);var n=CL(r,this.kM);return this.opts.shortTag&&(n=n.slice(0,4)),f.Buffer.concat([r,n])};gu.prototype.decrypt=function(e){Wi.checkArgument(f.Buffer.isBuffer(e),"ciphetext must be a buffer");var t=this.opts.shortTag?4:32,r=4,i=e.slice(0,4);if(!i.equals(f.Buffer.from("BIE1")))throw new Um.DecryptionError("Invalid Magic");if(!this.opts.noKey){var n=e.slice(4,37);this.opts.fixedPublicKey?console.log('Notice: Overriding PublicKey in message. Consider use "noKey" option if you are not sending message to electrum and do not want to use ephemeral key'):this._publicKey=Nw.fromDER(n),r=37}var o=e.slice(r,e.length-t),a=e.slice(e.length-t,e.length),s=CL(e.slice(0,e.length-t),this.kM);if(this.opts.shortTag&&(s=s.slice(0,4)),a.length!==s.length)throw new Um.DecryptionError("Invalid checksum");for(var u=0,c=0;c<s.length;c++)u|=a[c]^s[c];if(u!==0)throw new Um.DecryptionError("Invalid checksum");return Fm.decrypt(o,this.kE,this.iv)};gu.bitcoreECIES=FY;LL.exports=gu});var HL=T((qce,DL)=>{g();DL.exports=ML()});var jm=T((Fce,UL)=>{"use strict";g();function Io(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function qL(e,t){for(var r="",i=0,n=-1,o=0,a,s=0;s<=e.length;++s){if(s<e.length)a=e.charCodeAt(s);else{if(a===47)break;a=47}if(a===47){if(!(n===s-1||o===1))if(n!==s-1&&o===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var u=r.lastIndexOf("/");if(u!==r.length-1){u===-1?(r="",i=0):(r=r.slice(0,u),i=r.length-1-r.lastIndexOf("/")),n=s,o=0;continue}}else if(r.length===2||r.length===1){r="",i=0,n=s,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(n+1,s):r=e.slice(n+1,s),i=s-n-1;n=s,o=0}else a===46&&o!==-1?++o:o=-1}return r}function VY(e,t){var r=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+i:r+e+i:i}var nf={resolve:function(){for(var t="",r=!1,i,n=arguments.length-1;n>=-1&&!r;n--){var o;n>=0?o=arguments[n]:(i===void 0&&(i=b.default.cwd()),o=i),Io(o),o.length!==0&&(t=o+"/"+t,r=o.charCodeAt(0)===47)}return t=qL(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(Io(t),t.length===0)return".";var r=t.charCodeAt(0)===47,i=t.charCodeAt(t.length-1)===47;return t=qL(t,!r),t.length===0&&!r&&(t="."),t.length>0&&i&&(t+="/"),r?"/"+t:t},isAbsolute:function(t){return Io(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,r=0;r<arguments.length;++r){var i=arguments[r];Io(i),i.length>0&&(t===void 0?t=i:t+="/"+i)}return t===void 0?".":nf.normalize(t)},relative:function(t,r){if(Io(t),Io(r),t===r||(t=nf.resolve(t),r=nf.resolve(r),t===r))return"";for(var i=1;i<t.length&&t.charCodeAt(i)===47;++i);for(var n=t.length,o=n-i,a=1;a<r.length&&r.charCodeAt(a)===47;++a);for(var s=r.length,u=s-a,c=o<u?o:u,l=-1,p=0;p<=c;++p){if(p===c){if(u>c){if(r.charCodeAt(a+p)===47)return r.slice(a+p+1);if(p===0)return r.slice(a+p)}else o>c&&(t.charCodeAt(i+p)===47?l=p:p===0&&(l=0));break}var d=t.charCodeAt(i+p),v=r.charCodeAt(a+p);if(d!==v)break;d===47&&(l=p)}var _="";for(p=i+l+1;p<=n;++p)(p===n||t.charCodeAt(p)===47)&&(_.length===0?_+="..":_+="/..");return _.length>0?_+r.slice(a+l):(a+=l,r.charCodeAt(a)===47&&++a,r.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(Io(t),t.length===0)return".";for(var r=t.charCodeAt(0),i=r===47,n=-1,o=!0,a=t.length-1;a>=1;--a)if(r=t.charCodeAt(a),r===47){if(!o){n=a;break}}else o=!1;return n===-1?i?"/":".":i&&n===1?"//":t.slice(0,n)},basename:function(t,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');Io(t);var i=0,n=-1,o=!0,a;if(r!==void 0&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var s=r.length-1,u=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!o){i=a+1;break}}else u===-1&&(o=!1,u=a+1),s>=0&&(c===r.charCodeAt(s)?--s===-1&&(n=a):(s=-1,n=u))}return i===n?n=u:n===-1&&(n=t.length),t.slice(i,n)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!o){i=a+1;break}}else n===-1&&(o=!1,n=a+1);return n===-1?"":t.slice(i,n)}},extname:function(t){Io(t);for(var r=-1,i=0,n=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var u=t.charCodeAt(s);if(u===47){if(!o){i=s+1;break}continue}n===-1&&(o=!1,n=s+1),u===46?r===-1?r=s:a!==1&&(a=1):r!==-1&&(a=-1)}return r===-1||n===-1||a===0||a===1&&r===n-1&&r===i+1?"":t.slice(r,n)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return VY("/",t)},parse:function(t){Io(t);var r={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return r;var i=t.charCodeAt(0),n=i===47,o;n?(r.root="/",o=1):o=0;for(var a=-1,s=0,u=-1,c=!0,l=t.length-1,p=0;l>=o;--l){if(i=t.charCodeAt(l),i===47){if(!c){s=l+1;break}continue}u===-1&&(c=!1,u=l+1),i===46?a===-1?a=l:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===1&&a===u-1&&a===s+1?u!==-1&&(s===0&&n?r.base=r.name=t.slice(1,u):r.base=r.name=t.slice(s,u)):(s===0&&n?(r.name=t.slice(1,a),r.base=t.slice(1,u)):(r.name=t.slice(s,a),r.base=t.slice(s,u)),r.ext=t.slice(a,u)),s>0?r.dir=t.slice(0,s-1):n&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};nf.posix=nf;UL.exports=nf});var Ch=T((zce,FL)=>{"use strict";g();FL.exports={}});var WL=T((Vce,GL)=>{"use strict";g();var KL=mi(),GY=ho(),of=hn(),jL=gt(),WY=Le(),Lw=Ke(),VL=zt(),ps=ut(),zL=jm(),_a;try{_a=Ch()}catch{_a=null}var YY=function(){var e=typeof b.default<"u"&&b.default.env&&b.default.env.BSV_DEBUG||typeof window<"u"&&window.BSV_DEBUG;e&&console.log.apply(console,arguments)};function Mi(e,t){if(!(this instanceof Mi))return new Mi(e,t);this.privateKey=e,this.publicKey=e.publicKey,this.address=e.toAddress(),t=t||{},this.storageDir=t.storageDir||(typeof b.default<"u"?zL.join(b.default.cwd(),".bsv-covenants"):".bsv-covenants"),this.covenantUtxoPath=zL.join(this.storageDir,"covenant_utxos.json"),this.sighashType=jL.SIGHASH_ALL|jL.SIGHASH_FORKID,this.allowNonEnforcing=t.allowNonEnforcing===!0,_a&&this._ensureStorageDir()}Mi.prototype.createFromP2PKH=function(e){if(!this.allowNonEnforcing)throw new Error("SmartContract.Covenant builds a NON-ENFORCING script that reduces to plain P2PK \u2014 it does not constrain the spend. Use SmartContract.PushTx.valueCovenant (output binding) or SmartContract.Token / perpetualCovenant (stateful covenants) for real covenants. To use this demo anyway, construct with { allowNonEnforcing: true }.");e.script||(e.script=Mi.reconstructP2pkhScript(this.address));var t=new VL().from({txId:e.txid,outputIndex:e.vout,script:e.script,satoshis:e.satoshis}).to(this.address,e.satoshis-1e3),r=ps.fromHex(e.script),i=KL.sighashPreimage(t,this.sighashType,0,r,new Lw(e.satoshis)),n=WY.sha256sha256(i),o=new ps().add("OP_DUP").add("OP_HASH256").add(n).add("OP_EQUALVERIFY").add("OP_DROP").add(this.publicKey.toBuffer()).add("OP_CHECKSIG");t.outputs[0].setScript(o),t.sign(this.privateKey);var a={txid:t.id,vout:0,satoshis:e.satoshis-1e3,script:o.toHex(),scriptPubKey:o.toHex(),preimageHash:n.toString("hex"),originalPreimage:i.toString("hex"),status:"local",createdAt:new Date().toISOString(),type:"preimage_covenant"};return{transaction:t,covenantUtxo:a}};Mi.prototype.createSpendingTx=function(e,t,r){var i=t||this.address,n=r||e.satoshis-500,o=new VL;o.addInput(new GY({prevTxId:e.txid,outputIndex:e.vout,script:ps.empty()}),ps.fromHex(e.script),e.satoshis),o.to(i,n);var a=ps.fromHex(e.script),s=KL.sign(o,this.privateKey,this.sighashType,0,a,new Lw(e.satoshis)),u=f.Buffer.concat([s.toDER(),f.Buffer.from([this.sighashType])]),c=f.Buffer.from(e.originalPreimage,"hex"),l=new ps().add(u).add(c);return o.inputs[0].setScript(l),o};Mi.prototype.validate=function(e,t){var r=new of,i=of.SCRIPT_VERIFY_P2SH|of.SCRIPT_VERIFY_STRICTENC|of.SCRIPT_VERIFY_DERSIG|of.SCRIPT_VERIFY_LOW_S|of.SCRIPT_ENABLE_SIGHASH_FORKID,n=e.inputs[0].script,o=ps.fromHex(t.script),a=r.verify(n,o,e,0,i,new Lw(t.satoshis));return{valid:a,error:a?null:r.errstr}};Mi.prototype.save=function(e){if(!_a)return YY("File system operations not available in browser environment"),e;var t=this.list();return t.push(e),_a.writeFileSync(this.covenantUtxoPath,JSON.stringify(t,null,2)),e};Mi.prototype.load=function(e){var t=this.list();if(e){var r=t.find(function(i){return i.txid===e});if(!r)throw new Error("Covenant UTXO with TXID "+e+" not found");return r}else{var r=t.find(function(n){return n.type==="preimage_covenant"});if(!r)throw new Error("No preimage covenant UTXO found");return r}};Mi.prototype.list=function(){return _a.existsSync(this.covenantUtxoPath)?JSON.parse(_a.readFileSync(this.covenantUtxoPath,"utf8")):[]};Mi.prototype.getPortfolio=function(){var e=this.list(),t={total:e.length,totalValue:e.reduce(function(r,i){return r+i.satoshis},0),byStatus:{},recent:e.slice(-5)};return e.forEach(function(r){var i=r.status||"local";t.byStatus[i]||(t.byStatus[i]={count:0,value:0}),t.byStatus[i].count++,t.byStatus[i].value+=r.satoshis}),t};Mi.prototype.completeFlow=function(e,t){var r=this.createFromP2PKH(e),i=this.save(r.covenantUtxo);t&&t(r.transaction,"creation");var n=this.createSpendingTx(i),o=this.validate(n,i);return t&&o.valid&&t(n,"spending"),{creationTx:r.transaction,spendingTx:n,covenantUtxo:i,validation:o,success:o.valid}};Mi.prototype._ensureStorageDir=function(){_a.existsSync(this.storageDir)||_a.mkdirSync(this.storageDir,{recursive:!0})};Mi.reconstructP2pkhScript=function(e){return ps.buildPublicKeyHashOut(e).toHex()};GL.exports=Mi});var Ao=T((Yce,ZL)=>{"use strict";g();var ZY=mi(),$Y=Ke(),XY=zt(),JY=ei(),YL=ut(),Wce=nr();function Te(e,t){if(!(this instanceof Te))return new Te(e,t);this.preimage=f.Buffer.isBuffer(e)?e:f.Buffer.from(e,"hex"),this.options=t||{},this.strategy=this.options.strategy||"DYNAMIC",this.fields=null,this.sighashInfo=null,this.options.deferExtraction||this._extractFields()}Te.LEFT_FIXED_LENGTH=104;Te.RIGHT_FIXED_LENGTH=52;Te.MIN_PREIMAGE_LENGTH=Te.LEFT_FIXED_LENGTH+1+Te.RIGHT_FIXED_LENGTH;Te.prototype.extract=function(e){return this.strategy=e||this.strategy,this._extractFields(),this.fields};Te.prototype.getSighashInfo=function(){return this.fields||this._extractFields(),this.sighashInfo};Te.prototype.getField=function(e){return this.fields||this._extractFields(),this.fields[e]};Te.prototype.extractField=function(e,t){t=t||{},this.fields||this._extractFields();var r=this._parsePreimageStructure(),i=this._generateBidirectionalASM(e,r,t.includeComments),n=this._extractSpecificField(e,r),o=this._interpretField(e,n,r);return{field:e,value:n?n.toString("hex"):null,buffer:n,asm:i,interpretation:o,strategy:this._getExtractionStrategy(e),structure:r._structure}};Te.prototype.generateASM=function(e,t){var r=this._parsePreimageStructure();return this._generateBidirectionalASM(e,r,t)};Te.prototype.extractFields=function(e){var t={};return e.forEach(function(r){t[r]=this.extractField(r)}.bind(this)),t};Te.prototype.validate=function(){var e=[],t=[];if(this.preimage.length<Te.MIN_PREIMAGE_LENGTH)return e.push("Preimage too short: "+this.preimage.length+" bytes (BIP-143 preimage requires at least "+Te.MIN_PREIMAGE_LENGTH+")"),{valid:!1,errors:e,warnings:t,sighashInfo:this.sighashInfo};this.fields||this._extractFields();var r=["version","hashPrevouts","hashSequence","outpoint","scriptCode","amount","sequence","hashOutputs","locktime","sighash"];return r.forEach(function(i){this.fields[i]||e.push("Missing required field: "+i)}.bind(this)),this.sighashInfo.hasZeroHashes&&t.push("Zero hashes detected - check SIGHASH flags: "+this.sighashInfo.zeroFields.join(", ")),{valid:e.length===0,errors:e,warnings:t,sighashInfo:this.sighashInfo}};Te.prototype.toObject=function(){return this.fields||this._extractFields(),{preimage:this.preimage.toString("hex"),length:this.preimage.length,strategy:this.strategy,fields:{version:this.fields.version?this.fields.version.toString("hex"):null,hashPrevouts:this.fields.hashPrevouts?this.fields.hashPrevouts.toString("hex"):null,hashSequence:this.fields.hashSequence?this.fields.hashSequence.toString("hex"):null,outpoint:this.fields.outpoint?this.fields.outpoint.toString("hex"):null,scriptCode:this.fields.scriptCode?this.fields.scriptCode.toString("hex"):null,scriptCodeLength:this.fields.scriptCodeLength,amount:this.fields.amount?this.fields.amount.toString("hex"):null,sequence:this.fields.sequence?this.fields.sequence.toString("hex"):null,hashOutputs:this.fields.hashOutputs?this.fields.hashOutputs.toString("hex"):null,locktime:this.fields.locktime?this.fields.locktime.toString("hex"):null,sighash:this.fields.sighash?this.fields.sighash.toString("hex"):null},sighashInfo:this.sighashInfo,validation:this.validate()}};Te.prototype._extractFields=function(){if(this.fields={},this.sighashInfo={flag:null,hasZeroHashes:!1,zeroFields:[],warnings:[]},this.preimage.length<Te.MIN_PREIMAGE_LENGTH)throw new Error("Preimage too short: "+this.preimage.length+" bytes (BIP-143 preimage requires at least "+Te.MIN_PREIMAGE_LENGTH+")");try{this.strategy==="LEFT"||this.strategy==="DYNAMIC"?this._extractFromLeft():this.strategy==="RIGHT"&&this._extractFromRight(),this._analyzeSighash()}catch(e){if(this.strategy==="DYNAMIC")try{this.strategy="RIGHT",this._extractFromRight(),this._analyzeSighash()}catch{throw new Error("Failed to extract preimage fields with any strategy: "+e.message)}else throw e}};Te.prototype._extractFromLeft=function(){var e=0;this.fields.version=this.preimage.slice(e,e+4),e+=4,this.fields.hashPrevouts=this.preimage.slice(e,e+32),e+=32,this.fields.hashSequence=this.preimage.slice(e,e+32),e+=32,this.fields.outpoint=this.preimage.slice(e,e+36),e+=36;var t=Te.decodeCompactSize(this.preimage,e);this.fields.scriptCodeLength=t.value,e=t.nextOffset,this.fields.scriptCode=this.preimage.slice(e,e+this.fields.scriptCodeLength),e+=this.fields.scriptCodeLength,this.fields.amount=this.preimage.slice(e,e+8),e+=8,this.fields.sequence=this.preimage.slice(e,e+4),e+=4,this.fields.hashOutputs=this.preimage.slice(e,e+32),e+=32,this.fields.locktime=this.preimage.slice(e,e+4),e+=4,this.fields.sighash=this.preimage.slice(e,e+4)};Te.prototype._extractFromRight=function(){var e=this.preimage.length,t=e;t-=4,this.fields.sighash=this.preimage.slice(t,t+4),t-=4,this.fields.locktime=this.preimage.slice(t,t+4),t-=32,this.fields.hashOutputs=this.preimage.slice(t,t+32),t-=4,this.fields.sequence=this.preimage.slice(t,t+4),t-=8,this.fields.amount=this.preimage.slice(t,t+8);var r=104,i=Te.decodeCompactSize(this.preimage,r);this.fields.scriptCodeLength=i.value,this.fields.scriptCode=this.preimage.slice(i.nextOffset,i.nextOffset+this.fields.scriptCodeLength),this.fields.version=this.preimage.slice(0,4),this.fields.hashPrevouts=this.preimage.slice(4,36),this.fields.hashSequence=this.preimage.slice(36,68),this.fields.outpoint=this.preimage.slice(68,104)};Te.prototype._analyzeSighash=function(){if(this.fields.sighash){var e=this.fields.sighash.readUInt32LE(0);this.sighashInfo.flag=e;var t=e&31,r=(e&128)!==0,i=(e&64)!==0,n=f.Buffer.alloc(32);r&&this.fields.hashPrevouts.equals(n)&&(this.sighashInfo.hasZeroHashes=!0,this.sighashInfo.zeroFields.push("hashPrevouts"),this.sighashInfo.warnings.push("ANYONECANPAY flag detected - hashPrevouts is zero")),t===2&&this.fields.hashSequence.equals(n)&&(this.sighashInfo.hasZeroHashes=!0,this.sighashInfo.zeroFields.push("hashSequence"),this.sighashInfo.warnings.push("SIGHASH_NONE flag detected - hashSequence is zero")),(t===2||t===3)&&this.fields.hashOutputs.equals(n)&&(this.sighashInfo.hasZeroHashes=!0,this.sighashInfo.zeroFields.push("hashOutputs"),this.sighashInfo.warnings.push("SIGHASH_NONE/SINGLE flag detected - hashOutputs is zero"));var o=[];t===1?o.push("ALL"):t===2?o.push("NONE"):t===3&&o.push("SINGLE"),r&&o.push("ANYONECANPAY"),i&&o.push("FORKID"),this.sighashInfo.flagName=o.join(" | ")}};Te.prototype._parsePreimageStructure=function(){for(var e=this.preimage,t=0,r={},i=[{name:"nVersion",len:4},{name:"hashPrevouts",len:32},{name:"hashSequence",len:32},{name:"outpoint_txid",len:32},{name:"outpoint_vout",len:4}],n=[{name:"value",len:8},{name:"nSequence",len:4},{name:"hashOutputs",len:32},{name:"nLocktime",len:4},{name:"sighashType",len:4}],o=0;o<i.length;o++){var a=i[o];r[a.name]=e.slice(t,t+a.len).toString("hex"),t+=a.len}var s=Te.decodeCompactSize(e,t);r.scriptLen=s.value,r.scriptLenSize=s.bytes,r.scriptLenRaw=e.slice(t,t+s.bytes).toString("hex"),t+=s.bytes,r.scriptCode=e.slice(t,t+r.scriptLen).toString("hex"),t+=r.scriptLen;for(var u=0;u<n.length;u++){var c=n[u];r[c.name]=e.slice(t,t+c.len).toString("hex"),t+=c.len}var l=i.reduce(function(d,v){return d+v.len},0),p=n.reduce(function(d,v){return d+v.len},0);return r._structure={leftFixed:l,scriptLenVarint:s.bytes,scriptCode:r.scriptLen,rightFixed:p,totalCalculated:l+s.bytes+r.scriptLen+p,totalActual:e.length},r};Te.prototype._generateBidirectionalASM=function(e,t,r){var i=["value","nSequence","hashOutputs","nLocktime","sighashType"],n=["nVersion","hashPrevouts","hashSequence","outpoint_txid","outpoint_vout"];if(i.includes(e))return this._generateRightExtractionASM(e,r);if(n.includes(e))return this._generateLeftExtractionASM(e,r);if(e==="scriptCode")return this._generateDynamicExtractionASM(t,r);if(e==="scriptLen")return this._generateScriptLenExtractionASM(t,r);throw new Error("Unknown field: "+e)};Te.prototype._generateRightExtractionASM=function(e,t){for(var r=[{name:"value",len:8},{name:"nSequence",len:4},{name:"hashOutputs",len:32},{name:"nLocktime",len:4},{name:"sighashType",len:4}],i=0,n=0,o=!1,a=0;a<r.length;a++){var s=r[a];if(s.name===e){n=s.len,o=!0;break}i+=s.len}if(!o)throw new Error("Field not found in RIGHT fields: "+e);var u=52,c=u-i,l=[];return t?(l.push("# \u{1F504} Extract "+e+" from RIGHT side (bidirectional strategy)"),l.push("OP_SIZE # Push preimage size: [preimage, size]")):l.push("OP_SIZE"),t?l=l.concat([c+" OP_SUB # Calculate split point: [preimage, split_point]","OP_SPLIT # Split: [left_part, right_part]","OP_NIP # Drop left (OP_SPLIT leaves right on top): [right_part]",n+" OP_SPLIT # Extract field: ["+e+", remaining]","OP_DROP # Clean up: ["+e+"]","# \u2705 Result: "+e+" is now on top of stack"]):l=l.concat([c+" OP_SUB","OP_SPLIT","OP_NIP",n+" OP_SPLIT","OP_DROP"]),l.join(`
77
77
  `)};Te.prototype._generateLeftExtractionASM=function(e,t){var r=[{name:"nVersion",len:4,offset:0},{name:"hashPrevouts",len:32,offset:4},{name:"hashSequence",len:32,offset:36},{name:"outpoint_txid",len:32,offset:68},{name:"outpoint_vout",len:4,offset:100}],i=r.find(function(o){return o.name===e});if(!i)throw new Error("Field not found in LEFT fields: "+e);var n=[];return t?n=["# \u{1F504} Extract "+e+" from LEFT side (bidirectional strategy)",i.offset+" OP_SPLIT # Skip to field: [prefix, remainder]","OP_NIP # Drop prefix (OP_SPLIT leaves remainder on top): [remainder]",i.len+" OP_SPLIT # Extract field: ["+e+", suffix]","OP_DROP # Clean up: ["+e+"]","# \u2705 Result: "+e+" is now on top of stack"]:n=[i.offset+" OP_SPLIT","OP_NIP",i.len+" OP_SPLIT","OP_DROP"],n.join(`
78
78
  `)};Te.prototype._generateDynamicExtractionASM=function(e,t){var r=104+e.scriptLenSize;return["# \u{1F3AF} Extract scriptCode DYNAMICALLY with CompactSize varint support",r+" OP_SPLIT # Skip left zone + scriptLen varint: [left_zone, remainder]","OP_NIP # Drop left (OP_SPLIT leaves remainder on top): [remainder]",e.scriptLen+" OP_SPLIT # Extract scriptCode: [scriptCode, right_zone]","OP_DROP # Clean up: [scriptCode]","# \u2705 Result: scriptCode extracted with "+e.scriptLenSize+"-byte varint awareness"].join(`
@@ -98,5 +98,5 @@ To validate against BSV as it is today, omit the flags argument or pass Interpre
98
98
  `)}function j$(e){return console.log(fD(e)),e}lD.exports={trace:F$,format:fD,print:j$,opLabel:cD}});var gD=T((Ffe,pD)=>{"use strict";g();var z$=Le(),dD=zt(),K$=Ni(),V$=ut(),Q={Covenant:WL(),Preimage:Ao(),SIGHASH:JL(),Builder:rM(),UTXOGenerator:dM(),ScriptTester:mM(),CovenantBuilder:Yw().CovenantBuilder,CovenantTemplates:Yw().CovenantTemplates,OpcodeMap:Vw(),ScriptUtils:EM(),StackExaminer:OM(),ScriptInterpreter:RM(),CovenantHelpers:To(),Locks:FM(),PushTx:pf(),PELS:fS(),Token:gS(),Authorizers:dS(),DSL:wS(),Policy:wS().Policy,Debugger:hD()};Q.policy=Q.DSL.policy;Q.trace=function(e,t,r){return Q.Debugger.trace(e,t,r)};Q.verifyScript=function(e,t,r){return Q.CovenantHelpers.verify(e,t,r)};Q.perpetualCovenant=function(e){return Q.PELS.pelsCovenant(e)};Q.ownershipToken=function(e,t,r){return Q.Token.ownershipToken(e,t,r)};Q.valueCovenant=function(e){return Q.PushTx.valueCovenant(e)};Q.ordinalLock=function(e,t){return Q.Token.ordinalLock(e,t)};Q.transferOrdinal=function(e,t,r,i,n,o){return Q.Token.transferOrdinal(e,t,r,i,n,o)};Q.createCovenant=function(e,t){return new Q.Covenant(e,t)};Q.extractPreimage=function(e,t){return new Q.Preimage(e,t)};Q.analyzeSIGHASH=function(e){return new Q.SIGHASH(e)};Q.buildCovenant=function(e,t){return new Q.Builder(e,t)};Q.createUTXOGenerator=function(e){return new Q.UTXOGenerator(e)};Q.createTestEnvironment=function(e){return Q.UTXOGenerator.createTestEnvironment(e)};Q.testScript=function(e,t,r){return Q.ScriptTester.test(e,t,r)};Q.testCovenant=function(e,t,r){return Q.ScriptTester.testCovenant(e,t,r)};Q.testFieldExtraction=function(e,t,r){return Q.ScriptTester.testFieldExtraction(e,t,r)};Q.debugScript=function(e,t){var r=new Q.ScriptTester(t);return r.debug(e)};Q.explainZeroHashes=function(){return Q.SIGHASH.explainZeroMystery()};Q.getAllSIGHASHTypes=function(){return Q.SIGHASH.getAllTypes()};Q.demonstrateAllSIGHASH=function(){return Q.SIGHASH.generateAllDemonstrations()};Q.createCovenantBuilder=function(){return new Q.CovenantBuilder};Q.createValueLockCovenant=function(e){return Q.CovenantTemplates.valueLock(e)};Q.createHashLockCovenant=function(e){return Q.CovenantTemplates.hashLock(e)};Q.createComplexValidationCovenant=function(e){return Q.CovenantTemplates.complexValidation(e)};Q.getOpcodeMap=function(){return Q.OpcodeMap.opcodeMap};Q.simulateScript=function(e,t){return Q.OpcodeMap.utils.simulate(e,t)};Q.createASMFromJS=function(e){return Q.OpcodeMap.utils.createASM(e)};Q.scriptToASM=function(e){return Q.ScriptUtils.scriptToASM(e)};Q.asmToScript=function(e){return Q.ScriptUtils.asmToScript(e)};Q.asmToHex=function(e){return Q.ScriptUtils.asmToHex(e)};Q.hexToASM=function(e){return Q.ScriptUtils.hexToASM(e)};Q.scriptToHex=function(e){return Q.ScriptUtils.scriptToHex(e)};Q.validateASM=function(e){return Q.ScriptUtils.validateASM(e)};Q.validateScript=function(e){return Q.ScriptUtils.validateScript(e)};Q.estimateScriptSize=function(e){return Q.ScriptUtils.estimateScriptSize(e)};Q.optimizeScript=function(e){return Q.ScriptUtils.optimizeScript(e)};Q.compareScripts=function(e,t){return Q.ScriptUtils.compareScripts(e,t)};Q.explainScript=function(e){return Q.ScriptUtils.explainScript(e)};Q.scriptMetrics=function(e){return Q.ScriptUtils.scriptMetrics(e)};Q.analyzeComplexity=function(e){return Q.ScriptUtils.analyzeComplexity(e)};Q.findOptimizations=function(e){return Q.ScriptUtils.findOptimizations(e)};Q.covenantToEnglish=function(e){return Q.ScriptUtils.covenantToEnglish(e)};Q.batchTestScripts=function(e,t){return Q.ScriptUtils.batchTestScripts(e,t)};Q.examineStack=function(e,t){return Q.StackExaminer.runScript(e,t)};Q.debugScriptExecution=function(e,t,r){return r=r||{},r.stepMode?Q.ScriptInterpreter.stepThroughScript(Q.ScriptInterpreter.parseScript(e+" "+t),new dD,!0):Q.ScriptInterpreter.runFullEvaluation(Q.ScriptInterpreter.parseScript(e),Q.ScriptInterpreter.parseScript(t),new dD)};Q.parseScript=function(e){return Q.ScriptInterpreter.parseScript(e)};Q.printStack=function(e,t){return Q.ScriptInterpreter.printStack(e,t)};Q.createQuickCovenant=function(e,t){let r=Q.createCovenantBuilder();switch(e){case"value_lock":return r.comment(`Value lock: minimum ${t.value} satoshis`).extractField("value").push(t.value).greaterThanOrEqual().verify().build();case"hash_lock":return r.comment(`Hash lock: requires preimage of ${t.hash}`).push("secret_placeholder").sha256().push(t.hash).equalVerify().build();case"time_lock":return r.comment(`Time lock: requires nLockTime > ${t.timestamp}`).extractField("nLockTime").push(t.timestamp).greaterThan().verify().build();case"multi_condition":let i=r.comment("Multi-condition covenant");return t.conditions.forEach(n=>{switch(n.type){case"value":i=i.extractField("value").push(n.value).greaterThanOrEqual().verify();break;case"hash":i=i.push("secret_placeholder").sha256().push(n.hash).equalVerify();break;case"time":i=i.extractField("nLockTime").push(n.timestamp).greaterThan().verify();break}}),i.build();default:throw new Error(`Unknown covenant type: ${e}`)}};Q.completeCovenantFlow=function(e,t,r){var i=new Q.Covenant(e);return i.completeFlow(t,r)};Q.getEducationalResources=function(){return{zeroHashMystery:Q.SIGHASH.explainZeroMystery(),sighashTypes:Q.SIGHASH.getAllTypes(),exampleDemonstrations:Q.SIGHASH.generateAllDemonstrations()}};Q.utils={};Q.utils.reconstructP2pkhScript=function(e){return V$.buildPublicKeyHashOut(e).toHex()};Q.utils.createCovenantAddress=function(e){var t=z$.sha256ripemd160(e.toBuffer());return K$.fromScriptHash(t)};Q.utils.decodeCompactSize=function(e,t){return Q.Preimage.decodeCompactSize(e,t)};Q.version=D_();Q.description="Smart Contract Framework for Bitcoin SV";Q.features={BIP143_PREIMAGE:!0,COMPACT_SIZE_VARINT:!0,BIDIRECTIONAL_EXTRACTION:!0,SIGHASH_DETECTION:!0,ZERO_HASH_WARNINGS:!0,MULTI_FIELD_VALIDATION:!0,REAL_UTXO_GENERATION:!0,SCRIPT_TESTING:!0,LOCAL_VERIFICATION:!0,JAVASCRIPT_TO_SCRIPT:!0,OPCODE_MAPPING:!0,COVENANT_BUILDER:!0,SCRIPT_ANALYSIS:!0,SCRIPT_OPTIMIZATION:!0,SCRIPT_CONVERSION:!0,BATCH_TESTING:!0,QUICK_COVENANTS:!0,SCRIPT_EXPLANATIONS:!0,STACK_EXAMINATION:!0,SCRIPT_DEBUGGING:!0,STEP_BY_STEP_EXECUTION:!0,INTERACTIVE_DEBUGGING:!0};Q.interpretScript=Q.debugScriptExecution;Q.getScriptMetrics=Q.scriptMetrics;pD.exports=Q});var mD=T((zfe,qh)=>{"use strict";g();var rv=function(){var e=typeof b.default<"u"&&b.default.env&&b.default.env.BSV_DEBUG||typeof window<"u"&&window.BSV_DEBUG;e&&console.log.apply(console,arguments)},Oa={MEMORY:"memory",SESSION:"session",LOCAL:"local"};function Ai(e){e=e||{},this.options={storage:e.storage||Oa.MEMORY,storageKey:e.storageKey||"smartledger-utxos",autoSave:e.autoSave!==!1,maxUTXOs:e.maxUTXOs||1e3};var t=[Oa.MEMORY,Oa.SESSION,Oa.LOCAL];if(t.indexOf(this.options.storage)===-1)throw new Error("Invalid storage type: "+this.options.storage);this.utxos=new Map,this.addressIndex=new Map,this.spentUTXOs=new Map,this.metadata={totalUTXOs:0,totalValue:0,createdAt:new Date().toISOString(),lastModified:new Date().toISOString()},this.loadFromStorage()}Ai.prototype.getStorage=function(){return this.options.storage===Oa.SESSION?typeof sessionStorage<"u"?sessionStorage:null:this.options.storage===Oa.LOCAL&&typeof localStorage<"u"?localStorage:null};Ai.prototype.loadFromStorage=function(){var e=this.getStorage();if(e)try{var t=e.getItem(this.options.storageKey);if(!t)return;var r=JSON.parse(t);if(!r.utxos)return;var i=this;r.utxos.forEach(function(n){var o=n.txid+":"+n.vout;i.utxos.set(o,n),i.addressIndex.has(n.address)||i.addressIndex.set(n.address,new Set),i.addressIndex.get(n.address).add(o)}),r.metadata&&(this.metadata=r.metadata),rv("\u2705 BrowserUTXOManager: Loaded "+this.utxos.size+" UTXOs from "+this.options.storage+" storage")}catch(n){console.error("Failed to load UTXOs from storage:",n)}};Ai.prototype.saveToStorage=function(){if(this.options.storage!==Oa.MEMORY){var e=this.getStorage();if(e)try{var t={utxos:Array.from(this.utxos.values()),metadata:this.metadata,version:"1.0.0",timestamp:new Date().toISOString()};e.setItem(this.options.storageKey,JSON.stringify(t)),rv("\u{1F4BE} BrowserUTXOManager: Saved "+this.utxos.size+" UTXOs to "+this.options.storage+" storage")}catch(r){console.error("Failed to save UTXOs to storage:",r)}}};Ai.prototype.addUTXO=function(e){if(!e||!e.txid||typeof e.vout!="number")throw new Error("Invalid UTXO: missing txid or vout");var t=e.txid+":"+e.vout;if(this.utxos.has(t))return rv("\u26A0\uFE0F UTXO already exists: "+t),!1;var r={txid:e.txid,vout:e.vout,address:e.address||"",satoshis:e.satoshis||0,script:e.script||"",status:"available",addedAt:new Date().toISOString()};return this.utxos.set(t,r),r.address&&(this.addressIndex.has(r.address)||this.addressIndex.set(r.address,new Set),this.addressIndex.get(r.address).add(t)),this.updateMetadata(),this.options.autoSave&&this.saveToStorage(),!0};Ai.prototype.getUTXOsForAddress=function(e){var t=this.addressIndex.get(e);if(!t)return[];var r=[],i=this;return t.forEach(function(n){var o=i.utxos.get(n);o&&o.status==="available"&&r.push(o)}),r};Ai.prototype.getBalance=function(e){var t=this.getUTXOsForAddress(e);return t.reduce(function(r,i){return r+(i.satoshis||0)},0)};Ai.prototype.spendUTXOs=function(e,t){t=t||"browser-spend";for(var r=[],i=0;i<e.length;i++){var n=e[i],o=n.txid+":"+n.vout,a=this.utxos.get(o);a&&a.status==="available"&&(a.status="spent",a.spentAt=new Date().toISOString(),a.spentInTx=t,this.spentUTXOs.set(o,{txid:a.txid,vout:a.vout,spentInTx:t,spentAt:a.spentAt}),r.push(a))}return this.updateMetadata(),this.options.autoSave&&this.saveToStorage(),r};Ai.prototype.getUTXO=function(e,t){var r=e+":"+t,i=this.utxos.get(r);return{exists:!!i,utxo:i,status:i?i.status:"not-found"}};Ai.prototype.createMockUTXOs=function(e,t,r){t=t||5,r=r||1e5;for(var i=[],n=0;n<t;n++){for(var o="",a=0;a<64;a++)o+=Math.floor(Math.random()*16).toString(16);var s={txid:o,vout:n,address:e,satoshis:r+Math.floor(Math.random()*1e4),script:"",status:"available"};this.addUTXO(s),i.push(s)}return i};Ai.prototype.getStats=function(){var e=0,t=0,r=0;return this.utxos.forEach(function(i){e+=i.satoshis||0,i.status==="available"?t++:i.status==="spent"&&r++}),{totalUTXOs:this.utxos.size,totalAvailable:t,totalSpent:r,totalValue:e,totalAddresses:this.addressIndex.size,storageType:this.options.storage,metadata:this.metadata}};Ai.prototype.updateMetadata=function(){var e=this.getStats();this.metadata.totalUTXOs=e.totalUTXOs,this.metadata.totalValue=e.totalValue,this.metadata.lastModified=new Date().toISOString()};Ai.prototype.exportData=function(){return JSON.stringify({utxos:Array.from(this.utxos.values()),metadata:this.metadata,version:"1.0.0",exportedAt:new Date().toISOString()})};Ai.prototype.importData=function(e,t){t=t||!1;try{var r=JSON.parse(e);if(t||(this.utxos.clear(),this.addressIndex.clear(),this.spentUTXOs.clear()),r.utxos&&Array.isArray(r.utxos)){var i=this;r.utxos.forEach(function(n){i.addUTXO(n)})}return rv("\u2705 BrowserUTXOManager: Imported "+(r.utxos&&r.utxos.length||0)+" UTXOs"),!0}catch(n){return console.error("Failed to import UTXO data:",n),!1}};typeof qh<"u"&&qh.exports?(qh.exports=Ai,qh.exports.STORAGE_TYPES=Oa):typeof window<"u"&&(window.BrowserUTXOManager=Ai,window.BrowserUTXOManager.STORAGE_TYPES=Oa)});var yD=T((Vfe,vD)=>{"use strict";g();var SS=class{constructor(t,r={}){this.bsv=t,this.options={difficulty:r.difficulty||1,blockTime:r.blockTime||1e4,validateScripts:r.validateScripts!==!1,logLevel:r.logLevel||"info",...r},this.currentBlock={height:0,transactions:[],timestamp:Date.now()},this.mempool=[]}acceptTransaction(t){try{return this.options.validateScripts&&!this.validateTransactionSignatures(t)?(this.log("warn","\u274C Transaction rejected: Invalid signatures"),!1):(this.mempool.push(t),this.log("info",`\u2705 Transaction accepted into mempool: ${t.id||"unknown"}`),!0)}catch(r){return this.log("error",`\u274C Transaction rejected: ${r.message}`),!1}}validateTransactionSignatures(t){try{let r=t.verify();return this.log("debug",`\u{1F4CA} Transaction verification result: ${r}`),r===!0}catch(r){return this.log("warn",`\u26A0\uFE0F Signature validation error: ${r.message}`),!1}}mineBlock(t=10){let r=this.mempool.splice(0,t),i={height:this.currentBlock.height+1,timestamp:Date.now(),transactions:r,transactionCount:r.length,previousBlockHash:this.currentBlock.hash||"0000000000000000000000000000000000000000000000000000000000000000"},n=JSON.stringify({height:i.height,timestamp:i.timestamp,previousBlockHash:i.previousBlockHash,transactions:r.map(o=>o.id||o.toString())});return i.hash=this.bsv.crypto.Hash.sha256(f.Buffer.from(n)).toString("hex"),this.currentBlock=i,this.log("info",`\u26CF\uFE0F Mined block ${i.height} with ${r.length} transactions`),this.log("debug",`\u{1F4E6} Block hash: ${i.hash}`),i}getMempoolStats(){return{transactionCount:this.mempool.length,transactions:this.mempool.map(t=>({id:t.id||"unknown",size:t.toBuffer?t.toBuffer().length:0,inputs:t.inputs?t.inputs.length:0,outputs:t.outputs?t.outputs.length:0}))}}getBlockchainStats(){return{currentHeight:this.currentBlock.height,currentBlockHash:this.currentBlock.hash,currentBlockTimestamp:this.currentBlock.timestamp,mempoolSize:this.mempool.length,difficulty:this.options.difficulty,blockTime:this.options.blockTime}}reset(){this.currentBlock={height:0,transactions:[],timestamp:Date.now()},this.mempool=[],this.log("info","\u{1F504} Miner reset to genesis state")}log(t,r){let i={error:0,warn:1,info:2,debug:3},n=i[this.options.logLevel]||2;if(i[t]<=n){let o=new Date().toISOString();console.log(`[${o}] [${t.toUpperCase()}] ${r}`)}}};vD.exports=SS});var SD=T((Wfe,wD)=>{g();var bD=mi(),yf=hn(),ko=gt(),_D=Ke(),G$=zt(),Zi=Pr(),vu=ut(),bf=class{static createSignature(t,r,i,n,o,a=null){a=a||ko.SIGHASH_ALL|ko.SIGHASH_FORKID;let s=bD.sign(t,r,a,i,n,new _D(o));return f.Buffer.concat([s.toDER(),f.Buffer.from([a])])}static createMultisigScript(t,r){let i=new vu().add(Zi[`OP_${t}`]);for(let n of r)i=i.add(n.toBuffer());return i.add(Zi[`OP_${r.length}`]).add(Zi.OP_CHECKMULTISIG)}static createMultisigUnlocking(t){let r=new vu().add(Zi.OP_0);for(let i of t)r=r.add(i);return r}static createConditionalScript(t,r=null){let i=new vu().add(Zi.OP_IF).add(t.toBuffer());return r&&(i=i.add(Zi.OP_ELSE).add(r.toBuffer())),i.add(Zi.OP_ENDIF)}static createP2PKHScript(t){return new vu().add(Zi.OP_DUP).add(Zi.OP_HASH160).add(t.toAddress().hashBuffer).add(Zi.OP_EQUALVERIFY).add(Zi.OP_CHECKSIG)}static createP2PKHUnlocking(t,r){return new vu().add(t).add(r.toBuffer())}static getPreimage(t,r,i,n,o=null){return o=o||ko.SIGHASH_ALL|ko.SIGHASH_FORKID,bD.sighash(t,o,r,i,new _D(n))}static createDataScript(t){return typeof t=="string"&&(t=f.Buffer.from(t,"utf8")),new vu().add(t)}static createOpReturnScript(t){return typeof t=="string"&&(t=f.Buffer.from(t,"utf8")),new vu().add(Zi.OP_FALSE).add(Zi.OP_RETURN).add(t)}static validateTransaction(t){try{return t.verify()}catch(r){return console.error("Transaction validation error:",r.message),!1}}static validateScript(t,r,i,n){try{return new yf().verify(t,r,i,n,yf.SCRIPT_VERIFY_P2SH|yf.SCRIPT_VERIFY_STRICTENC|yf.SCRIPT_ENABLE_SIGHASH_FORKID|yf.SCRIPT_ENABLE_MAGNETIC_OPCODES|yf.SCRIPT_ENABLE_MONOLITH_OPCODES)}catch(o){return console.error("Script validation error:",o.message),!1}}static createLowFeeTransaction(t,r,i=10){let n=new G$().feePerKb(i);for(let o of t)n=n.from(o);for(let o of r)n=n.to(o.address,o.satoshis);return n}};bf.SIGHASH_ALL=ko.SIGHASH_ALL|ko.SIGHASH_FORKID;bf.SIGHASH_NONE=ko.SIGHASH_NONE|ko.SIGHASH_FORKID;bf.SIGHASH_SINGLE=ko.SIGHASH_SINGLE|ko.SIGHASH_FORKID;wD.exports=bf});var iv=T((Zfe,TD)=>{"use strict";g();var Ia=ut(),Kn=Pr(),ED=Ni(),W$=gi(),xD=f.Buffer.from("ord","utf8");function OD(e){if(e===null)return"null";if(e===void 0)return"undefined";if(Array.isArray(e))return"an array";var t=typeof e;return(t==="object"?"an ":"a ")+t}function ES(e,t){if(f.Buffer.isBuffer(e))return e;if(typeof e=="string")return f.Buffer.from(e,"utf8");throw new Error(t+" must be a string or Buffer, got "+OD(e))}var Y$=["data","body","payload","text","message"];function Z$(e){var t=e.lock!=null,r=e.address!=null;if(t&&r)throw new Error("buildInscription accepts `lock` or `address`, not both \u2014 they name different owners and one would be silently ignored");if(t){var i;if(e.lock instanceof Ia)i=e.lock;else if(f.Buffer.isBuffer(e.lock))i=Ia.fromBuffer(e.lock);else if(typeof e.lock=="string")i=Ia.fromHex(e.lock);else throw new Error("lock must be a Script, Buffer, or hex string, got "+OD(e.lock));if(!i.chunks.length&&!e.allowEmptyLock)throw new Error("lock is empty: the inscription would carry no locking script at all and the ordinal would be spendable by anyone. Pass a real lock, or { allowEmptyLock: true } if you are appending this envelope to your own script");return i}if(r){var n=e.address instanceof ED?e.address:ED.fromString(String(e.address));return Ia.buildPublicKeyHashOut(n)}throw new Error("buildInscription requires an address or a lock script")}var $$=[0,1,2,3,5,7,9,11],X$=0,J$=1;function Q$(e,t){if(t>=1&&t<=16)return e.add(Kn.OP_1-1+t);for(var r=[],i=t;i>0;)r.push(i&255),i=Math.floor(i/256);return r[r.length-1]&128&&r.push(0),e.add(f.Buffer.from(r))}function eX(e,t){if(!Number.isSafeInteger(e)||e<0)throw new Error("field tag must be a non-negative integer, got "+JSON.stringify(e));if(e===X$)throw new Error("field tag 0 opens the inscription body and cannot carry a field: anything pushed after it becomes part of the content");if(e===J$)throw new Error("field tag 1 is the content type; pass `contentType` instead of a field, or the inscription declares it twice");if(e%2===0&&$$.indexOf(e)===-1&&!t)throw new Error("field tag "+e+" is an unrecognized even tag. The Ordinals spec requires such an inscription to be treated as unbound \u2014 it would be indexed without a location, permanently, and nothing local would report it. Use an odd tag, or pass { allowUnknownEvenFields: true } if you have established that every indexer you care about recognises "+e+".")}function tX(e){var t=e.fields;if(t==null)return[];if(typeof t!="object"||Array.isArray(t)||f.Buffer.isBuffer(t))throw new Error("fields must be an object of tag numbers to values, e.g. { 5: metadata }");return Object.keys(t).filter(function(r){return t[r]!=null}).map(function(r){var i=Number(r);eX(i,e.allowUnknownEvenFields);var n=ES(t[r],"field "+i);if(!n.length)throw new Error("field "+i+" has an empty value; omit the field instead of inscribing a zero-length one permanently");return[i,n]}).sort(function(r,i){return r[0]-i[0]})}function ID(e){e=e||{};var t=Z$(e);if(e.content==null){var r=Y$.filter(function(s){return e[s]!=null})[0];throw new Error("buildInscription requires `content`"+(r?" \u2014 received `"+r+"`, which is not read":"")+". Omitting it would inscribe an empty payload; pass content: '' if that is intended")}var i=ES(e.content,"content"),n;if(e.contentType==null){if(f.Buffer.isBuffer(e.content))throw new Error("contentType is required when content is a Buffer (e.g. 'image/png', 'application/octet-stream') \u2014 it cannot be inferred from bytes");n=f.Buffer.from("text/plain","utf8")}else if(n=ES(e.contentType,"contentType"),!n.length)throw new Error("contentType must not be empty");var o=tX(e),a=Ia.fromBuffer(t.toBuffer());return a.add(Kn.OP_FALSE),a.add(Kn.OP_IF),a.add(xD),a.add(Kn.OP_1),a.add(n),o.forEach(function(s){Q$(a,s[0]),a.add(s[1])}),a.add(Kn.OP_0),a.add(i),a.add(Kn.OP_ENDIF),a}function Uh(e,t){return e&&e.opcodenum===t&&e.buf==null}function AD(e){for(var t=e instanceof Ia?e:f.Buffer.isBuffer(e)?Ia.fromBuffer(e):Ia.fromHex(e),r=t.chunks,i=-1,n=0;n+2<r.length;n++)if(Uh(r[n],Kn.OP_FALSE)&&Uh(r[n+1],Kn.OP_IF)&&r[n+2].buf&&r[n+2].buf.equals(xD)){i=n;break}if(i===-1)return null;for(var o=f.Buffer.alloc(0),a=f.Buffer.alloc(0),s=r.length,u=i+3;u<r.length;u++){var c=r[u];if(Uh(c,Kn.OP_ENDIF)){s=u;break}Uh(c,Kn.OP_1)&&r[u+1]&&r[u+1].buf?(o=r[u+1].buf,u++):Uh(c,Kn.OP_0)&&r[u+1]&&r[u+1].buf&&(a=r[u+1].buf,u++)}for(var l=new Ia,p=0;p<i;p++)l.chunks.push(r[p]);for(var d=s+1;d<r.length;d++)l.chunks.push(r[d]);return{contentType:o.toString("utf8"),content:a,contentText:a.toString("utf8"),lock:l}}function rX(e){try{return AD(e)!==null}catch{return!1}}function iX(e){e=e||{};var t=e.satoshis!=null?e.satoshis:1;if(typeof t!="number"||!Number.isInteger(t)||t<1)throw new Error("satoshis must be a positive integer (1 for a standard 1Sat ordinal)");return new W$({script:ID(e),satoshis:t})}TD.exports={buildInscription:ID,parseInscription:AD,isInscription:rX,createInscriptionOutput:iX}});var DD=T((Xfe,MD)=>{"use strict";g();var wf=pf(),xS=To(),kD=iv(),Bo=ut(),Vt=Pr(),OS=Ni(),nX=sr(),oX=Le(),BD=zt(),aX=ho(),ys=gi(),ND=lo(),av=wf.SIGHASH_ALL_ANYONECANPAY_FORKID;function PD(e,t){return t&&t.length?e.add(f.Buffer.from(t)):e.add(Vt.OP_0)}function nv(e){return e.toBufferWriter().toBuffer()}function Sf(e,t){if(typeof e!="number"||!isFinite(e)||e<0||Math.floor(e)!==e)throw new Error(t+" must be a non-negative integer number of satoshis (got "+e+")");return e}function uv(e){return e instanceof Bo?e:f.Buffer.isBuffer(e)?Bo.fromBuffer(e):Bo.fromHex(e)}function CD(e){return e instanceof OS?e:e&&typeof e.toAddress=="function"?e.toAddress():OS.fromString(String(e))}function sX(e){if(f.Buffer.isBuffer(e)){if(e.length!==20)throw new Error("seller pubkeyhash buffer must be 20 bytes (HASH160)");return e}return e instanceof nX?oX.sha256ripemd160(e.toBuffer()):CD(e).hashBuffer}function Ef(e,t){return Sf(t,"payment price"),new ys({script:Bo.buildPublicKeyHashOut(CD(e)),satoshis:t})}function ov(e){if(e instanceof ys)return e;if(f.Buffer.isBuffer(e))return ys.fromBufferReader(new ND(e));var t=e.payTo!=null?e.payTo:e.address,r=e.satoshis!=null?e.satoshis:e.price;if(t==null||r==null)throw new Error("payment spec needs {address|payTo, satoshis|price}");return Ef(t,r)}function uX(e){if(e.payOutputs){if(!e.payOutputs.length)throw new Error("payOutputs must be a non-empty array");return e.payOutputs.map(ov)}if(e.payOutput!=null)return[ov(e.payOutput)];if(e.price!=null){var t=e.payTo!=null?e.payTo:e.seller,r=t instanceof ys?t:Ef(t,e.price),i=[r];return e.royalties&&e.royalties.forEach(function(n){i.push(ov(n))}),i}throw new Error("buildOrdLock requires a price, a payOutput, or payOutputs")}function cX(e){return f.Buffer.concat(e.map(nv))}function cv(e){if(e=e||{},e.seller==null)throw new Error("buildOrdLock requires a seller");var t=sX(e.seller),r=cX(uX(e)),i=new Bo;if(i.add(Vt.OP_IF),i.add(Vt.OP_DUP).add(Vt.OP_HASH160),i.add(f.Buffer.from(t)).add(Vt.OP_EQUALVERIFY).add(Vt.OP_CHECKSIG),i.add(Vt.OP_ELSE),i.add(Vt.OP_DUP),wf.pushTxCore(i,{sighashType:av}),i.add(Vt.OP_VERIFY),wf.assertSighashType(i,av),wf.extractHashOutputs(i),i.add(Vt.OP_TOALTSTACK),i.add(f.Buffer.from(r)).add(Vt.OP_CAT),i.add(Vt.OP_SWAP).add(Vt.OP_CAT),i.add(Vt.OP_HASH256),i.add(Vt.OP_FROMALTSTACK).add(Vt.OP_EQUAL),i.add(Vt.OP_ENDIF),e.inscription){var n=kD.buildInscription({lock:new Bo,allowEmptyLock:!0,contentType:e.inscription.contentType,content:e.inscription.content});n.chunks.forEach(function(o){i.chunks.push(o)})}return i}function _f(e,t){return e&&e.opcodenum===t&&e.buf==null}function RD(e){for(var t=new ND(e),r=[];!t.eof();)r.push(ys.fromBufferReader(t));return r}function fv(e,t){var r=t&&t.network;try{for(var i=uv(e),n=i.chunks,o=0,a=-1,s=-1,u=-1,c=0;c<n.length;c++)if(_f(n[c],Vt.OP_IF))o===0&&(a=c),o++;else if(_f(n[c],Vt.OP_ELSE)&&o===1)s=c;else if(_f(n[c],Vt.OP_ENDIF)&&(o--,o===0)){u=c;break}if(a===-1||s===-1||u===-1)return null;for(var l=null,p=a+1;p<s;p++)if(n[p].buf&&n[p].buf.length===20){l=n[p].buf;break}if(!l)return null;for(var d=null,v=s+1;v<u;v++)_f(n[v],Vt.OP_TOALTSTACK)&&n[v+1]&&n[v+1].buf&&_f(n[v+2],Vt.OP_CAT)&&_f(n[v+3],Vt.OP_SWAP)&&(d=n[v+1].buf);if(!d)return null;var _=RD(d).map(function(z){var A=null;try{z.script.isPublicKeyHashOut()&&(A=z.script.toAddress(r).toString())}catch{}return{satoshis:z.satoshis,script:z.script,address:A}}),I=_.reduce(function(z,A){return z+A.satoshis},0),R=null,k=kD.parseInscription(i);k&&(R={contentType:k.contentType,content:k.content,contentText:k.contentText});var q=cv({seller:l,payOutputs:RD(d),inscription:k?{contentType:k.contentType,content:k.content}:void 0});return q.toHex()!==i.toHex()?null:{seller:{pubKeyHash:l,address:OS.fromPublicKeyHash(l,r).toString()},payOutputs:_,payBlob:d,totalPrice:I,inscription:R}}catch{return null}}function fX(e,t){return fv(e,t)!==null}function lX(e){e=e||{};var t=e.satoshis!=null?e.satoshis:1;return new ys({script:cv(e),satoshis:t})}function LD(e){e=e||{};var t=e.spend,r=e.lockingScript;if(!t||!r)throw new Error("purchase requires { spend, lockingScript }");var i=e.inputIndex||0,n=e.payoutIndex!=null?e.payoutIndex:1,o=e.satoshis!=null?e.satoshis:1,a=t.outputs||[],s=e.parsed||fv(r),u=e.payoutCount!=null?e.payoutCount:s?s.payOutputs.length:1;if(n+u>a.length)throw new Error("purchase: spend has fewer outputs than the pinned block requires (need "+(n+u)+", have "+a.length+")");if(e.validate!==!1&&s){var c=f.Buffer.concat(a.slice(n,n+u).map(nv));if(!c.equals(s.payBlob))throw new Error("purchase: outputs ["+n+".."+(n+u-1)+"] do not match the listing payment \u2014 the seller (or a royalty/fee payee) would not be paid")}var l=f.Buffer.concat(a.slice(0,n).map(nv)),p=f.Buffer.concat(a.slice(n+u).map(nv)),d=Object.assign({sighashType:av},e.grind||{}),v=wf.grind(t,i,r,o,d),_=new Bo;return PD(_,p),PD(_,l),_.add(f.Buffer.from(v.preimage)),_.add(Vt.OP_FALSE),t.inputs[i].setScript(_),_}function hX(e){e=e||{};var t=e.privateKey,r=e.spend,i=e.lockingScript;if(!t||!r||!i)throw new Error("cancel requires { privateKey, spend, lockingScript }");var n=e.inputIndex||0,o=e.satoshis!=null?e.satoshis:1,a=e.sighashType!=null?e.sighashType:xS.SIGHASH,s=xS.signInput(r,t,n,i,o,a),u=new Bo;return u.add(f.Buffer.from(s)),u.add(t.toPublicKey().toBuffer()),u.add(Vt.OP_TRUE),r.inputs[n].setScript(u),u}function sv(e,t,r,i){e.addInput(new aX({prevTxId:t.txid||t.prevTxId,outputIndex:t.outputIndex!=null?t.outputIndex:t.vout,script:Bo.empty()}),uv(r),i)}function IS(e,t,r){Sf(r.satoshis,"input "+t+" satoshis");var i=uv(r.script),n=xS.signInput(e,r.privateKey,t,i,r.satoshis,wf.SIGHASH_ALL_FORKID),o=new Bo;o.add(f.Buffer.from(n)),o.add(r.privateKey.toPublicKey().toBuffer()),e.inputs[t].setScript(o)}function dX(e){e=e||{};var t=e.ordinal;if(!t||!t.script||!t.privateKey)throw new Error("buildListingTx requires ordinal { script, privateKey, txid, outputIndex }");var r=Sf(t.satoshis!=null?t.satoshis:1,"ordinal satoshis"),i=cv(e),n=e.funding||[],o=e.fee!=null?e.fee:500,a=n.reduce(function(c,l){return c+Sf(l.satoshis,"funding satoshis")},0),s=a-o;if(s<0)throw new Error("buildListingTx: insufficient funding \u2014 need "+o+" sat fee, funded "+a);var u=new BD;return sv(u,t,t.script,r),n.forEach(function(c){sv(u,c,c.script,c.satoshis)}),u.addOutput(new ys({script:i,satoshis:r})),s>0&&u.addOutput(Ef(e.changeAddress||t.privateKey.toAddress(),s)),IS(u,0,{script:t.script,privateKey:t.privateKey,satoshis:r}),n.forEach(function(c,l){IS(u,1+l,c)}),{tx:u,listingScript:i,listingOutpoint:{txid:u.hash,outputIndex:0}}}function pX(e){e=e||{};var t=e.listing;if(!t||!t.script)throw new Error("buildPurchaseTx requires listing.script");if(!e.ordinalDestination)throw new Error("buildPurchaseTx requires ordinalDestination");if(!e.funding||!e.funding.length)throw new Error("buildPurchaseTx requires funding coins");var r=uv(t.script),i=fv(r);if(!i)throw new Error("buildPurchaseTx: listing.script is not a parseable OrdLock");var n=Sf(t.satoshis!=null?t.satoshis:1,"listing satoshis"),o=e.payOutputs?e.payOutputs.map(ov):i.payOutputs.map(function(p){return new ys({script:p.script,satoshis:p.satoshis})}),a=o.reduce(function(p,d){return p+d.satoshis},0),s=e.fee!=null?e.fee:500,u=e.funding.reduce(function(p,d){return p+Sf(d.satoshis,"funding satoshis")},0),c=u-a-s;if(c<0)throw new Error("buildPurchaseTx: insufficient funding \u2014 need "+(a+s)+" sat (payments "+a+" + fee "+s+"), funded "+u);var l=new BD;return sv(l,t,r,n),e.funding.forEach(function(p){sv(l,p,p.script,p.satoshis)}),l.addOutput(Ef(e.ordinalDestination,n)),o.forEach(function(p){l.addOutput(p)}),c>0&&l.addOutput(Ef(e.changeAddress||e.ordinalDestination,c)),LD({spend:l,lockingScript:r,parsed:i,satoshis:n,inputIndex:0,payoutIndex:1,payoutCount:o.length,grind:e.grind}),e.funding.forEach(function(p,d){IS(l,1+d,p)}),l}MD.exports={ORDLOCK_SIGHASH:av,buildOrdLock:cv,parseOrdLock:fv,isOrdLock:fX,listInscriptionOutput:lX,payOutputFor:Ef,purchase:LD,cancel:hX,buildListingTx:dX,buildPurchaseTx:pX}});var r6=T((Qfe,t6)=>{"use strict";g();var HD=iv(),gX=ut(),mX=gi(),qD="application/bsv-20",AS=18,lv="18446744073709551615";function UD(e){return typeof e=="string"&&/^\d+$/.test(e)}function FD(e){return e.length>lv.length||e.length===lv.length&&e>lv}function jD(e,t){var r;if(typeof e=="number"){if(!Number.isInteger(e)||e<0)throw new Error(t+" must be a non-negative integer");if(e>Number.MAX_SAFE_INTEGER)throw new Error(t+" exceeds Number.MAX_SAFE_INTEGER and would lose precision \u2014 pass it as a string");r=String(e)}else if(UD(e))r=e.replace(/^0+(?=\d)/,"");else throw new Error(t+" must be a non-negative integer (string or number)");if(FD(r))throw new Error(t+" exceeds the uint64 maximum ("+lv+")");return r}function Fh(e,t){var r=jD(e,t);if(!/[1-9]/.test(r))throw new Error(t+" must be greater than zero");return r}function zD(e){if(typeof e!="string"||!e.length)throw new Error("tick is required");if(f.Buffer.byteLength(e,"utf8")>4)throw new Error("tick must be 1\u20134 UTF-8 bytes");return e}function TS(e){var t=typeof e=="string"?Number(e):e;if(!Number.isInteger(t)||t<0||t>AS)throw new Error("dec must be an integer 0\u2026"+AS);return String(t)}var PS=/^[0-9a-fA-F]{64}_\d+$/;function RS(e){if(typeof e!="string"||!PS.test(e))throw new Error('id must be "<txid>_<vout>" (64-hex txid, underscore, output index)');return e}function kS(e,t){if(typeof e!="string"){var r=e===null?"null":Array.isArray(e)?"an array":(typeof e=="object"?"an ":"a ")+typeof e;throw new Error(t+" must be a string, got "+r)}if(!e.length)throw new Error(t+" must not be empty");return e}function KD(e){if(kS(e,"icon"),!PS.test(e))throw new Error('icon must be an outpoint reference "<txid>_<vout>" (64-hex txid, underscore, output index)');return e}function yu(e,t){return t=t||{},HD.buildInscription({lock:t.lock,address:t.address,contentType:t.contentType||qD,content:JSON.stringify(e)})}function VD(e){e=e||{};var t={p:"bsv-20",op:"deploy",tick:zD(e.tick),max:Fh(e.max,"max")};return e.lim!=null&&(t.lim=jD(e.lim,"lim")),e.dec!=null&&(t.dec=TS(e.dec)),yu(t,e)}function GD(e,t,r){var i=t.tick!=null,n=t.id!=null;if(i&&n)throw new Error(r+" names a token by `tick` (v1) or `id` (BSV-21), not both");if(!i&&!n)throw new Error(r+" requires `tick` (v1) or `id` (BSV-21)");return n?e.id=RS(t.id):e.tick=zD(t.tick),e}function WD(e,t){if(e.amt!=null)throw new Error(t+" must not carry an amt \u2014 the specification forbids it, and a payload that does is discarded")}function YD(e){e=e||{};var t={p:"bsv-20",op:"mint"};return GD(t,e,"mint"),t.amt=Fh(e.amt,"amt"),yu(t,e)}function ZD(e){e=e||{};var t={p:"bsv-20",op:"transfer",amt:Fh(e.amt,"amt")};return GD(t,e,"transfer"),yu(t,e)}function $D(e){if(e=e||{},e.tick!=null)throw new Error("burn is a BSV-21 operation and names its token by `id` (<txid>_<vout>), not `tick`");var t={p:"bsv-20",op:"burn",id:RS(e.id),amt:Fh(e.amt,"amt")};return yu(t,e)}function XD(e){e=e||{},WD(e,"deploy+auth");var t={p:"bsv-20",op:"deploy+auth"};return e.dec!=null&&(t.dec=TS(e.dec)),e.sym!=null&&(t.sym=kS(e.sym,"sym")),e.icon!=null&&(t.icon=KD(e.icon)),yu(t,e)}function JD(e){e=e||{},WD(e,"auth");var t={p:"bsv-20",op:"auth",id:RS(e.id)};return yu(t,e)}function QD(e){e=e||{};var t={p:"bsv-20",op:"deploy+mint",amt:Fh(e.amt,"amt")};return e.dec!=null&&(t.dec=TS(e.dec)),e.sym!=null&&(t.sym=kS(e.sym,"sym")),e.icon!=null&&(t.icon=KD(e.icon)),yu(t,e)}function bu(e,t){return new mX({script:e,satoshis:t??1})}function vX(e){return bu(VD(e),e&&e.satoshis)}function yX(e){return bu(YD(e),e&&e.satoshis)}function bX(e){return bu(ZD(e),e&&e.satoshis)}function _X(e){return bu(QD(e),e&&e.satoshis)}function wX(e){return bu($D(e),e&&e.satoshis)}function SX(e){return bu(XD(e),e&&e.satoshis)}function EX(e){return bu(JD(e),e&&e.satoshis)}function xX(e){if(e&&typeof e=="object"&&!f.Buffer.isBuffer(e)&&!(e instanceof gX)||typeof e=="string"&&e.trim()[0]==="{")return e;var t=HD.parseInscription(e);return t?t.contentText:null}var OX={deploy:{need:["tick","max"]},mint:{need:["amt"],tickOrId:!0},transfer:{need:["amt"],tickOrId:!0},"deploy+mint":{need:["amt"]},"deploy+auth":{need:[],noAmt:!0},auth:{need:["id"],noAmt:!0},burn:{need:["id","amt"]}};function IX(e){var t=typeof e=="number"?Number.isInteger(e)&&e>=0?String(e):null:UD(e)?e:null;return t==null?!1:!FD(t.replace(/^0+(?=\d)/,""))}function AX(e){if(!e||e.p!=="bsv-20"||typeof e.op!="string")return!1;var t=OX[e.op];if(!t)return!1;for(var r=0;r<t.need.length;r++)if(e[t.need[r]]==null)return!1;if(t.tickOrId&&e.tick==null==(e.id==null)||t.noAmt&&e.amt!=null||e.tick!=null&&(typeof e.tick!="string"||!e.tick.length||f.Buffer.byteLength(e.tick,"utf8")>4)||e.id!=null&&(typeof e.id!="string"||!PS.test(e.id)))return!1;for(var i=["amt","max","lim"],n=0;n<i.length;n++)if(e[i[n]]!=null&&!IX(e[i[n]]))return!1;if(e.dec!=null){var o=typeof e.dec=="string"?Number(e.dec):e.dec;if(!Number.isInteger(o)||o<0||o>AS)return!1}return!0}function e6(e){try{var t=xX(e);if(t==null)return null;var r=typeof t=="object"?t:JSON.parse(t);return AX(r)?r:null}catch{return null}}function TX(e){return e6(e)!==null}t6.exports={CONTENT_TYPE:qD,buildDeploy:VD,buildMint:YD,buildTransfer:ZD,buildDeployMint:QD,buildBurn:$D,buildDeployAuth:XD,buildAuth:JD,createDeployOutput:vX,createMintOutput:yX,createTransferOutput:bX,createDeployMintOutput:_X,createBurnOutput:wX,createDeployAuthOutput:SX,createAuthOutput:EX,parseBsv20:e6,isBsv20:TX}});var n6=T((tle,i6)=>{"use strict";g();var jh=iv(),No=DD(),PX=r6();function RX(e){if(!Array.isArray(e)||!e.length)throw new Error("batchInscriptionOutputs requires a non-empty array of items");return e.map(function(t){return jh.createInscriptionOutput(t)})}i6.exports={buildInscription:jh.buildInscription,parseInscription:jh.parseInscription,isInscription:jh.isInscription,createInscriptionOutput:jh.createInscriptionOutput,batchInscriptionOutputs:RX,ORDLOCK_SIGHASH:No.ORDLOCK_SIGHASH,buildOrdLock:No.buildOrdLock,parseOrdLock:No.parseOrdLock,isOrdLock:No.isOrdLock,listInscriptionOutput:No.listInscriptionOutput,payOutputFor:No.payOutputFor,purchaseOrdLock:No.purchase,cancelOrdLock:No.cancel,buildListingTx:No.buildListingTx,buildPurchaseTx:No.buildPurchaseTx,BSV20:PX}});var a6=T((ile,o6)=>{"use strict";g();var hv=nr();async function kX(e){e=e||{};var t=e.alg||"ES256",r=e.kid||"key-"+Date.now();if(t!=="ES256"&&t!=="ES256K")throw new Error("Invalid algorithm. Must be ES256 or ES256K");var i;t==="ES256"?i=hv.generateKeyPairSync("ec",{namedCurve:"P-256",publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}):i=hv.generateKeyPairSync("ec",{namedCurve:"secp256k1",publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}});var n=hv.createPublicKey(i.publicKey).export({format:"jwk"}),o=hv.createPrivateKey(i.privateKey).export({format:"jwk"});return n.kid=r,n.alg=t,n.use="sig",n.kty="EC",o.kid=r,o.alg=t,o.use="sig",o.kty="EC",{privateJwk:o,publicJwk:n,kid:r,alg:t}}var zh=["authentication","assertionMethod","keyAgreement","capabilityInvocation","capabilityDelegation"],BX=["authentication","assertionMethod"];function BS(e){var t=e.relationships||BX;if(!Array.isArray(t)||t.length===0)throw new Error("relationships must be a non-empty array of DID Core verification relationships");return t.forEach(function(r){if(zh.indexOf(r)===-1)throw new Error("unknown verification relationship: "+r+" (expected one of "+zh.join(", ")+")")}),t}function NX(e){if(!e.domain)throw new Error("domain is required");var t=e.domain,r="did:web:"+t.replace(/:/g,"%3A"),i=[],n=[],o=[];if(e.p256){var a={id:r+"#"+e.p256.kid,type:"JsonWebKey2020",controller:r,publicKeyJwk:e.p256.jwk};i.push(a),n.push(BS(e.p256)),o.push(e.p256.jwk)}if(e.k1){var s={id:r+"#"+e.k1.kid,type:"JsonWebKey2020",controller:r,publicKeyJwk:e.k1.jwk};i.push(s),n.push(BS(e.k1)),o.push(e.k1.jwk)}if(i.length===0)throw new Error("At least one key (p256 or k1) must be provided");var u={"@context":["https://www.w3.org/ns/did/v1","https://w3id.org/security/suites/jws-2020/v1"],id:r,verificationMethod:i};zh.forEach(function(l){var p=i.filter(function(d,v){return n[v].indexOf(l)!==-1}).map(function(d){return d.id});p.length&&(u[l]=p)}),e.controllerName&&(u.controller=e.controllerName);var c={keys:o};return{did:r,didDocument:u,jwks:c}}function CX(e){if(!e.domain||!e.newKey)throw new Error("domain and newKey are required");var t=e.domain,r="did:web:"+t.replace(/:/g,"%3A"),i=e.keepOldForDays||30,n={id:r+"#"+e.newKey.kid,type:"JsonWebKey2020",controller:r,publicKeyJwk:e.newKey.jwk},o=BS(e.newKey),a=e.currentDocument||null,s={"@context":["https://www.w3.org/ns/did/v1","https://w3id.org/security/suites/jws-2020/v1"],id:r,verificationMethod:[n]};if(zh.forEach(function(l){o.indexOf(l)!==-1?s[l]=[n.id]:a&&Array.isArray(a[l])&&a[l].length&&(s[l]=a[l].slice())}),a&&Array.isArray(a.verificationMethod)){var u={};zh.forEach(function(l){(s[l]||[]).forEach(function(p){u[p]=!0})}),a.verificationMethod.forEach(function(l){u[l.id]&&l.id!==n.id&&s.verificationMethod.push(l)})}s.rotationInfo={rotatedAt:new Date().toISOString(),gracePeriodDays:i};var c={keys:[e.newKey.jwk]};return{didDocument:s,jwks:c}}o6.exports={generateIssuerKeys:kX,buildDidWebDocuments:NX,rotateIssuerKey:CX}});var NS=T((ole,s6)=>{"use strict";g();var Kh=nr(),Vh={ES256:"P-256",ES256K:"secp256k1"},LX=["ES256","ES256K"];function dv(e){return e.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function pv(e){for(e=e.replace(/-/g,"+").replace(/_/g,"/");e.length%4;)e+="=";return f.Buffer.from(e,"base64")}async function MX(e){if(!e.issuerDid||!e.subjectId||!e.credentialSubject||!e.privateJwk)throw new Error("issuerDid, subjectId, credentialSubject, and privateJwk are required");var t=e.alg||"ES256";if(!Vh[t])throw new Error("Unsupported algorithm: "+t);if(e.privateJwk.crv&&e.privateJwk.crv!==Vh[t])throw new Error("Key curve "+e.privateJwk.crv+" does not match alg "+t);var r=e.kid||e.privateJwk.kid,i=e.types||["VerifiableCredential"],n=e.expSeconds||365*24*60*60,o=Math.floor(Date.now()/1e3),a=new Date().toISOString(),s={"@context":["https://www.w3.org/2018/credentials/v1"],type:i,issuer:e.issuerDid,issuanceDate:a,credentialSubject:Object.assign({id:e.subjectId},e.credentialSubject)},u={iss:e.issuerDid,sub:e.subjectId,iat:o,exp:o+n,vc:s},c={alg:t,typ:"JWT",kid:r},l=dv(f.Buffer.from(JSON.stringify(c))),p=dv(f.Buffer.from(JSON.stringify(u))),d=l+"."+p,v=Kh.createPrivateKey({key:e.privateJwk,format:"jwk"}),_=Kh.sign("sha256",f.Buffer.from(d),{key:v,dsaEncoding:"ieee-p1363"}),I=dv(_),R=d+"."+I;return{jwt:R}}async function DX(e,t){t=t||{};try{if(typeof e!="string")return{valid:!1,error:"Invalid JWT format"};var r=e.split(".");if(r.length!==3)return{valid:!1,error:"Invalid JWT format"};var i=r[0],n=r[1],o=r[2],a=JSON.parse(pv(i).toString()),s=JSON.parse(pv(n).toString()),u=pv(o),c=t.allowedAlgs||LX;if(!a.alg||c.indexOf(a.alg)===-1||!Vh[a.alg])return{valid:!1,error:"Algorithm not allowed: "+a.alg,header:a,payload:s};var l=Math.floor(Date.now()/1e3),p=t.clockToleranceSec||60;if(t.requireExpiration&&!s.exp)return{valid:!1,error:"JWT missing required exp claim",header:a,payload:s};if(s.exp&&s.exp<l-p)return{valid:!1,error:"JWT expired",header:a,payload:s};if(s.nbf&&s.nbf>l+p)return{valid:!1,error:"JWT not yet valid",header:a,payload:s};if(t.expectedIssuerDid&&s.iss!==t.expectedIssuerDid)return{valid:!1,error:"Unexpected issuer",header:a,payload:s};var d;if(t.didResolver){var v=await t.didResolver(s.iss);if(!v||!v.jwks||!v.jwks.keys)return{valid:!1,error:"Failed to resolve issuer DID",header:a,payload:s};var _=v.jwks.keys.find(function(q){return q.kid===a.kid});if(!_)return{valid:!1,error:"Key not found in JWKS",header:a,payload:s};d=_}else return{valid:!1,error:"DID resolver required for verification",header:a,payload:s};if(d.crv&&d.crv!==Vh[a.alg])return{valid:!1,error:"Key curve does not match algorithm",header:a,payload:s};var I=i+"."+n,R=Kh.createPublicKey({key:d,format:"jwk"}),k=Kh.verify("sha256",f.Buffer.from(I),{key:R,dsaEncoding:"ieee-p1363"},u);if(!k&&t.allowLegacyDER)try{k=Kh.verify("sha256",f.Buffer.from(I),{key:R,dsaEncoding:"der"},u)}catch{k=!1}return k?{valid:!0,header:a,payload:s}:{valid:!1,error:"Invalid signature",header:a,payload:s}}catch(q){return{valid:!1,error:q.message||"Verification failed"}}}s6.exports={issueVcJwt:MX,verifyVcJwt:DX,base64UrlEncode:dv,base64UrlDecode:pv,ALG_TO_CRV:Vh}});var c6=T((sle,u6)=>{"use strict";g();function HX(){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}u6.exports=HX});var Gh=T(Ti=>{"use strict";g();var qX=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function UX(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Ti.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(typeof r!="object")throw new TypeError(r+"must be non-object");for(var i in r)UX(r,i)&&(e[i]=r[i])}}return e};Ti.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var FX={arraySet:function(e,t,r,i,n){if(t.subarray&&e.subarray){e.set(t.subarray(r,r+i),n);return}for(var o=0;o<i;o++)e[n+o]=t[r+o]},flattenChunks:function(e){var t,r,i,n,o,a;for(i=0,t=0,r=e.length;t<r;t++)i+=e[t].length;for(a=new Uint8Array(i),n=0,t=0,r=e.length;t<r;t++)o=e[t],a.set(o,n),n+=o.length;return a}},jX={arraySet:function(e,t,r,i,n){for(var o=0;o<i;o++)e[n+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};Ti.setTyped=function(e){e?(Ti.Buf8=Uint8Array,Ti.Buf16=Uint16Array,Ti.Buf32=Int32Array,Ti.assign(Ti,FX)):(Ti.Buf8=Array,Ti.Buf16=Array,Ti.Buf32=Array,Ti.assign(Ti,jX))};Ti.setTyped(qX)});var B6=T(If=>{"use strict";g();var zX=Gh(),KX=4,f6=0,l6=1,VX=2;function Of(e){for(var t=e.length;--t>=0;)e[t]=0}var GX=0,v6=1,WX=2,YX=3,ZX=258,US=29,Jh=256,Yh=Jh+1+US,xf=30,FS=19,y6=2*Yh+1,_u=15,CS=16,$X=7,jS=256,b6=16,_6=17,w6=18,HS=[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],gv=[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],XX=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],S6=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],JX=512,Aa=new Array((Yh+2)*2);Of(Aa);var Wh=new Array(xf*2);Of(Wh);var Zh=new Array(JX);Of(Zh);var $h=new Array(ZX-YX+1);Of($h);var zS=new Array(US);Of(zS);var mv=new Array(xf);Of(mv);function LS(e,t,r,i,n){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=n,this.has_stree=e&&e.length}var E6,x6,O6;function MS(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function I6(e){return e<256?Zh[e]:Zh[256+(e>>>7)]}function Xh(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Ui(e,t,r){e.bi_valid>CS-r?(e.bi_buf|=t<<e.bi_valid&65535,Xh(e,e.bi_buf),e.bi_buf=t>>CS-e.bi_valid,e.bi_valid+=r-CS):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Co(e,t,r){Ui(e,r[t*2],r[t*2+1])}function A6(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function QX(e){e.bi_valid===16?(Xh(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function eJ(e,t){var r=t.dyn_tree,i=t.max_code,n=t.stat_desc.static_tree,o=t.stat_desc.has_stree,a=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,u=t.stat_desc.max_length,c,l,p,d,v,_,I=0;for(d=0;d<=_u;d++)e.bl_count[d]=0;for(r[e.heap[e.heap_max]*2+1]=0,c=e.heap_max+1;c<y6;c++)l=e.heap[c],d=r[r[l*2+1]*2+1]+1,d>u&&(d=u,I++),r[l*2+1]=d,!(l>i)&&(e.bl_count[d]++,v=0,l>=s&&(v=a[l-s]),_=r[l*2],e.opt_len+=_*(d+v),o&&(e.static_len+=_*(n[l*2+1]+v)));if(I!==0){do{for(d=u-1;e.bl_count[d]===0;)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[u]--,I-=2}while(I>0);for(d=u;d!==0;d--)for(l=e.bl_count[d];l!==0;)p=e.heap[--c],!(p>i)&&(r[p*2+1]!==d&&(e.opt_len+=(d-r[p*2+1])*r[p*2],r[p*2+1]=d),l--)}}function T6(e,t,r){var i=new Array(_u+1),n=0,o,a;for(o=1;o<=_u;o++)i[o]=n=n+r[o-1]<<1;for(a=0;a<=t;a++){var s=e[a*2+1];s!==0&&(e[a*2]=A6(i[s]++,s))}}function tJ(){var e,t,r,i,n,o=new Array(_u+1);for(r=0,i=0;i<US-1;i++)for(zS[i]=r,e=0;e<1<<HS[i];e++)$h[r++]=i;for($h[r-1]=i,n=0,i=0;i<16;i++)for(mv[i]=n,e=0;e<1<<gv[i];e++)Zh[n++]=i;for(n>>=7;i<xf;i++)for(mv[i]=n<<7,e=0;e<1<<gv[i]-7;e++)Zh[256+n++]=i;for(t=0;t<=_u;t++)o[t]=0;for(e=0;e<=143;)Aa[e*2+1]=8,e++,o[8]++;for(;e<=255;)Aa[e*2+1]=9,e++,o[9]++;for(;e<=279;)Aa[e*2+1]=7,e++,o[7]++;for(;e<=287;)Aa[e*2+1]=8,e++,o[8]++;for(T6(Aa,Yh+1,o),e=0;e<xf;e++)Wh[e*2+1]=5,Wh[e*2]=A6(e,5);E6=new LS(Aa,HS,Jh+1,Yh,_u),x6=new LS(Wh,gv,0,xf,_u),O6=new LS(new Array(0),XX,0,FS,$X)}function P6(e){var t;for(t=0;t<Yh;t++)e.dyn_ltree[t*2]=0;for(t=0;t<xf;t++)e.dyn_dtree[t*2]=0;for(t=0;t<FS;t++)e.bl_tree[t*2]=0;e.dyn_ltree[jS*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function R6(e){e.bi_valid>8?Xh(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function rJ(e,t,r,i){R6(e),i&&(Xh(e,r),Xh(e,~r)),zX.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function h6(e,t,r,i){var n=t*2,o=r*2;return e[n]<e[o]||e[n]===e[o]&&i[t]<=i[r]}function DS(e,t,r){for(var i=e.heap[r],n=r<<1;n<=e.heap_len&&(n<e.heap_len&&h6(t,e.heap[n+1],e.heap[n],e.depth)&&n++,!h6(t,i,e.heap[n],e.depth));)e.heap[r]=e.heap[n],r=n,n<<=1;e.heap[r]=i}function d6(e,t,r){var i,n,o=0,a,s;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+o*2]<<8|e.pending_buf[e.d_buf+o*2+1],n=e.pending_buf[e.l_buf+o],o++,i===0?Co(e,n,t):(a=$h[n],Co(e,a+Jh+1,t),s=HS[a],s!==0&&(n-=zS[a],Ui(e,n,s)),i--,a=I6(i),Co(e,a,r),s=gv[a],s!==0&&(i-=mv[a],Ui(e,i,s)));while(o<e.last_lit);Co(e,jS,t)}function qS(e,t){var r=t.dyn_tree,i=t.stat_desc.static_tree,n=t.stat_desc.has_stree,o=t.stat_desc.elems,a,s,u=-1,c;for(e.heap_len=0,e.heap_max=y6,a=0;a<o;a++)r[a*2]!==0?(e.heap[++e.heap_len]=u=a,e.depth[a]=0):r[a*2+1]=0;for(;e.heap_len<2;)c=e.heap[++e.heap_len]=u<2?++u:0,r[c*2]=1,e.depth[c]=0,e.opt_len--,n&&(e.static_len-=i[c*2+1]);for(t.max_code=u,a=e.heap_len>>1;a>=1;a--)DS(e,r,a);c=o;do a=e.heap[1],e.heap[1]=e.heap[e.heap_len--],DS(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=a,e.heap[--e.heap_max]=s,r[c*2]=r[a*2]+r[s*2],e.depth[c]=(e.depth[a]>=e.depth[s]?e.depth[a]:e.depth[s])+1,r[a*2+1]=r[s*2+1]=c,e.heap[1]=c++,DS(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],eJ(e,t),T6(r,u,e.bl_count)}function p6(e,t,r){var i,n=-1,o,a=t[1],s=0,u=7,c=4;for(a===0&&(u=138,c=3),t[(r+1)*2+1]=65535,i=0;i<=r;i++)o=a,a=t[(i+1)*2+1],!(++s<u&&o===a)&&(s<c?e.bl_tree[o*2]+=s:o!==0?(o!==n&&e.bl_tree[o*2]++,e.bl_tree[b6*2]++):s<=10?e.bl_tree[_6*2]++:e.bl_tree[w6*2]++,s=0,n=o,a===0?(u=138,c=3):o===a?(u=6,c=3):(u=7,c=4))}function g6(e,t,r){var i,n=-1,o,a=t[1],s=0,u=7,c=4;for(a===0&&(u=138,c=3),i=0;i<=r;i++)if(o=a,a=t[(i+1)*2+1],!(++s<u&&o===a)){if(s<c)do Co(e,o,e.bl_tree);while(--s!==0);else o!==0?(o!==n&&(Co(e,o,e.bl_tree),s--),Co(e,b6,e.bl_tree),Ui(e,s-3,2)):s<=10?(Co(e,_6,e.bl_tree),Ui(e,s-3,3)):(Co(e,w6,e.bl_tree),Ui(e,s-11,7));s=0,n=o,a===0?(u=138,c=3):o===a?(u=6,c=3):(u=7,c=4)}}function iJ(e){var t;for(p6(e,e.dyn_ltree,e.l_desc.max_code),p6(e,e.dyn_dtree,e.d_desc.max_code),qS(e,e.bl_desc),t=FS-1;t>=3&&e.bl_tree[S6[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function nJ(e,t,r,i){var n;for(Ui(e,t-257,5),Ui(e,r-1,5),Ui(e,i-4,4),n=0;n<i;n++)Ui(e,e.bl_tree[S6[n]*2+1],3);g6(e,e.dyn_ltree,t-1),g6(e,e.dyn_dtree,r-1)}function oJ(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return f6;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return l6;for(r=32;r<Jh;r++)if(e.dyn_ltree[r*2]!==0)return l6;return f6}var m6=!1;function aJ(e){m6||(tJ(),m6=!0),e.l_desc=new MS(e.dyn_ltree,E6),e.d_desc=new MS(e.dyn_dtree,x6),e.bl_desc=new MS(e.bl_tree,O6),e.bi_buf=0,e.bi_valid=0,P6(e)}function k6(e,t,r,i){Ui(e,(GX<<1)+(i?1:0),3),rJ(e,t,r,!0)}function sJ(e){Ui(e,v6<<1,3),Co(e,jS,Aa),QX(e)}function uJ(e,t,r,i){var n,o,a=0;e.level>0?(e.strm.data_type===VX&&(e.strm.data_type=oJ(e)),qS(e,e.l_desc),qS(e,e.d_desc),a=iJ(e),n=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=n&&(n=o)):n=o=r+5,r+4<=n&&t!==-1?k6(e,t,r,i):e.strategy===KX||o===n?(Ui(e,(v6<<1)+(i?1:0),3),d6(e,Aa,Wh)):(Ui(e,(WX<<1)+(i?1:0),3),nJ(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),d6(e,e.dyn_ltree,e.dyn_dtree)),P6(e),i&&R6(e)}function cJ(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[($h[r]+Jh+1)*2]++,e.dyn_dtree[I6(t)*2]++),e.last_lit===e.lit_bufsize-1}If._tr_init=aJ;If._tr_stored_block=k6;If._tr_flush_block=uJ;If._tr_tally=cJ;If._tr_align=sJ});var KS=T((dle,N6)=>{"use strict";g();function fJ(e,t,r,i){for(var n=e&65535|0,o=e>>>16&65535|0,a=0;r!==0;){a=r>2e3?2e3:r,r-=a;do n=n+t[i++]|0,o=o+n|0;while(--a);n%=65521,o%=65521}return n|o<<16|0}N6.exports=fJ});var VS=T((gle,C6)=>{"use strict";g();function lJ(){for(var e,t=[],r=0;r<256;r++){e=r;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var hJ=lJ();function dJ(e,t,r,i){var n=hJ,o=i+r;e^=-1;for(var a=i;a<o;a++)e=e>>>8^n[(e^t[a])&255];return e^-1}C6.exports=dJ});var M6=T((vle,L6)=>{"use strict";g();L6.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 V6=T(Do=>{"use strict";g();var Pi=Gh(),_n=B6(),U6=KS(),bs=VS(),pJ=M6(),xu=0,gJ=1,mJ=3,xs=4,D6=5,Mo=0,H6=1,wn=-2,vJ=-3,GS=-5,yJ=-1,bJ=1,vv=2,_J=3,wJ=4,SJ=0,EJ=2,wv=8,xJ=9,OJ=15,IJ=8,AJ=29,TJ=256,YS=TJ+1+AJ,PJ=30,RJ=19,kJ=2*YS+1,BJ=15,ct=3,Ss=258,Vn=Ss+ct+1,NJ=32,Sv=42,ZS=69,yv=73,bv=91,_v=103,wu=113,ed=666,Gr=1,td=2,Su=3,Pf=4,CJ=3;function Es(e,t){return e.msg=pJ[t],t}function q6(e){return(e<<1)-(e>4?9:0)}function ws(e){for(var t=e.length;--t>=0;)e[t]=0}function _s(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(Pi.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function si(e,t){_n._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,_s(e.strm)}function mt(e,t){e.pending_buf[e.pending++]=t}function Qh(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function LJ(e,t,r,i){var n=e.avail_in;return n>i&&(n=i),n===0?0:(e.avail_in-=n,Pi.arraySet(t,e.input,e.next_in,n,r),e.state.wrap===1?e.adler=U6(e.adler,t,n,r):e.state.wrap===2&&(e.adler=bs(e.adler,t,n,r)),e.next_in+=n,e.total_in+=n,n)}function F6(e,t){var r=e.max_chain_length,i=e.strstart,n,o,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-Vn?e.strstart-(e.w_size-Vn):0,c=e.window,l=e.w_mask,p=e.prev,d=e.strstart+Ss,v=c[i+a-1],_=c[i+a];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(n=t,!(c[n+a]!==_||c[n+a-1]!==v||c[n]!==c[i]||c[++n]!==c[i+1])){i+=2,n++;do;while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&i<d);if(o=Ss-(d-i),i=d-Ss,o>a){if(e.match_start=t,a=o,o>=s)break;v=c[i+a-1],_=c[i+a]}}while((t=p[t&l])>u&&--r!==0);return a<=e.lookahead?a:e.lookahead}function Eu(e){var t=e.w_size,r,i,n,o,a;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Vn)){Pi.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do n=e.head[--r],e.head[r]=n>=t?n-t:0;while(--i);i=t,r=i;do n=e.prev[--r],e.prev[r]=n>=t?n-t:0;while(--i);o+=t}if(e.strm.avail_in===0)break;if(i=LJ(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=i,e.lookahead+e.insert>=ct)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+ct-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<ct)););}while(e.lookahead<Vn&&e.strm.avail_in!==0)}function MJ(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Eu(e),e.lookahead===0&&t===xu)return Gr;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,si(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Vn&&(si(e,!1),e.strm.avail_out===0))return Gr}return e.insert=0,t===xs?(si(e,!0),e.strm.avail_out===0?Su:Pf):(e.strstart>e.block_start&&(si(e,!1),e.strm.avail_out===0),Gr)}function WS(e,t){for(var r,i;;){if(e.lookahead<Vn){if(Eu(e),e.lookahead<Vn&&t===xu)return Gr;if(e.lookahead===0)break}if(r=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-Vn&&(e.match_length=F6(e,r)),e.match_length>=ct)if(i=_n._tr_tally(e,e.strstart-e.match_start,e.match_length-ct),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ct){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=_n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(si(e,!1),e.strm.avail_out===0))return Gr}return e.insert=e.strstart<ct-1?e.strstart:ct-1,t===xs?(si(e,!0),e.strm.avail_out===0?Su:Pf):e.last_lit&&(si(e,!1),e.strm.avail_out===0)?Gr:td}function Af(e,t){for(var r,i,n;;){if(e.lookahead<Vn){if(Eu(e),e.lookahead<Vn&&t===xu)return Gr;if(e.lookahead===0)break}if(r=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ct-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Vn&&(e.match_length=F6(e,r),e.match_length<=5&&(e.strategy===bJ||e.match_length===ct&&e.strstart-e.match_start>4096)&&(e.match_length=ct-1)),e.prev_length>=ct&&e.match_length<=e.prev_length){n=e.strstart+e.lookahead-ct,i=_n._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ct),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ct-1,e.strstart++,i&&(si(e,!1),e.strm.avail_out===0))return Gr}else if(e.match_available){if(i=_n._tr_tally(e,0,e.window[e.strstart-1]),i&&si(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Gr}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=_n._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ct-1?e.strstart:ct-1,t===xs?(si(e,!0),e.strm.avail_out===0?Su:Pf):e.last_lit&&(si(e,!1),e.strm.avail_out===0)?Gr:td}function DJ(e,t){for(var r,i,n,o,a=e.window;;){if(e.lookahead<=Ss){if(Eu(e),e.lookahead<=Ss&&t===xu)return Gr;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ct&&e.strstart>0&&(n=e.strstart-1,i=a[n],i===a[++n]&&i===a[++n]&&i===a[++n])){o=e.strstart+Ss;do;while(i===a[++n]&&i===a[++n]&&i===a[++n]&&i===a[++n]&&i===a[++n]&&i===a[++n]&&i===a[++n]&&i===a[++n]&&n<o);e.match_length=Ss-(o-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ct?(r=_n._tr_tally(e,1,e.match_length-ct),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=_n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(si(e,!1),e.strm.avail_out===0))return Gr}return e.insert=0,t===xs?(si(e,!0),e.strm.avail_out===0?Su:Pf):e.last_lit&&(si(e,!1),e.strm.avail_out===0)?Gr:td}function HJ(e,t){for(var r;;){if(e.lookahead===0&&(Eu(e),e.lookahead===0)){if(t===xu)return Gr;break}if(e.match_length=0,r=_n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(si(e,!1),e.strm.avail_out===0))return Gr}return e.insert=0,t===xs?(si(e,!0),e.strm.avail_out===0?Su:Pf):e.last_lit&&(si(e,!1),e.strm.avail_out===0)?Gr:td}function Lo(e,t,r,i,n){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=i,this.func=n}var Tf;Tf=[new Lo(0,0,0,0,MJ),new Lo(4,4,8,4,WS),new Lo(4,5,16,8,WS),new Lo(4,6,32,32,WS),new Lo(4,4,16,16,Af),new Lo(8,16,32,32,Af),new Lo(8,16,128,128,Af),new Lo(8,32,128,256,Af),new Lo(32,128,258,1024,Af),new Lo(32,258,258,4096,Af)];function qJ(e){e.window_size=2*e.w_size,ws(e.head),e.max_lazy_match=Tf[e.level].max_lazy,e.good_match=Tf[e.level].good_length,e.nice_match=Tf[e.level].nice_length,e.max_chain_length=Tf[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ct-1,e.match_available=0,e.ins_h=0}function UJ(){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=wv,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 Pi.Buf16(kJ*2),this.dyn_dtree=new Pi.Buf16((2*PJ+1)*2),this.bl_tree=new Pi.Buf16((2*RJ+1)*2),ws(this.dyn_ltree),ws(this.dyn_dtree),ws(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Pi.Buf16(BJ+1),this.heap=new Pi.Buf16(2*YS+1),ws(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Pi.Buf16(2*YS+1),ws(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 j6(e){var t;return!e||!e.state?Es(e,wn):(e.total_in=e.total_out=0,e.data_type=EJ,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Sv:wu,e.adler=t.wrap===2?0:1,t.last_flush=xu,_n._tr_init(t),Mo)}function z6(e){var t=j6(e);return t===Mo&&qJ(e.state),t}function FJ(e,t){return!e||!e.state||e.state.wrap!==2?wn:(e.state.gzhead=t,Mo)}function K6(e,t,r,i,n,o){if(!e)return wn;var a=1;if(t===yJ&&(t=6),i<0?(a=0,i=-i):i>15&&(a=2,i-=16),n<1||n>xJ||r!==wv||i<8||i>15||t<0||t>9||o<0||o>wJ)return Es(e,wn);i===8&&(i=9);var s=new UJ;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=n+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+ct-1)/ct),s.window=new Pi.Buf8(s.w_size*2),s.head=new Pi.Buf16(s.hash_size),s.prev=new Pi.Buf16(s.w_size),s.lit_bufsize=1<<n+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Pi.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=r,z6(e)}function jJ(e,t){return K6(e,t,wv,OJ,IJ,SJ)}function zJ(e,t){var r,i,n,o;if(!e||!e.state||t>D6||t<0)return e?Es(e,wn):wn;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===ed&&t!==xs)return Es(e,e.avail_out===0?GS:wn);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===Sv)if(i.wrap===2)e.adler=0,mt(i,31),mt(i,139),mt(i,8),i.gzhead?(mt(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),mt(i,i.gzhead.time&255),mt(i,i.gzhead.time>>8&255),mt(i,i.gzhead.time>>16&255),mt(i,i.gzhead.time>>24&255),mt(i,i.level===9?2:i.strategy>=vv||i.level<2?4:0),mt(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(mt(i,i.gzhead.extra.length&255),mt(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=bs(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=ZS):(mt(i,0),mt(i,0),mt(i,0),mt(i,0),mt(i,0),mt(i,i.level===9?2:i.strategy>=vv||i.level<2?4:0),mt(i,CJ),i.status=wu);else{var a=wv+(i.w_bits-8<<4)<<8,s=-1;i.strategy>=vv||i.level<2?s=0:i.level<6?s=1:i.level===6?s=2:s=3,a|=s<<6,i.strstart!==0&&(a|=NJ),a+=31-a%31,i.status=wu,Qh(i,a),i.strstart!==0&&(Qh(i,e.adler>>>16),Qh(i,e.adler&65535)),e.adler=1}if(i.status===ZS)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=bs(e.adler,i.pending_buf,i.pending-n,n)),_s(e),n=i.pending,i.pending===i.pending_buf_size));)mt(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=bs(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=yv)}else i.status=yv;if(i.status===yv)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=bs(e.adler,i.pending_buf,i.pending-n,n)),_s(e),n=i.pending,i.pending===i.pending_buf_size)){o=1;break}i.gzindex<i.gzhead.name.length?o=i.gzhead.name.charCodeAt(i.gzindex++)&255:o=0,mt(i,o)}while(o!==0);i.gzhead.hcrc&&i.pending>n&&(e.adler=bs(e.adler,i.pending_buf,i.pending-n,n)),o===0&&(i.gzindex=0,i.status=bv)}else i.status=bv;if(i.status===bv)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=bs(e.adler,i.pending_buf,i.pending-n,n)),_s(e),n=i.pending,i.pending===i.pending_buf_size)){o=1;break}i.gzindex<i.gzhead.comment.length?o=i.gzhead.comment.charCodeAt(i.gzindex++)&255:o=0,mt(i,o)}while(o!==0);i.gzhead.hcrc&&i.pending>n&&(e.adler=bs(e.adler,i.pending_buf,i.pending-n,n)),o===0&&(i.status=_v)}else i.status=_v;if(i.status===_v&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&_s(e),i.pending+2<=i.pending_buf_size&&(mt(i,e.adler&255),mt(i,e.adler>>8&255),e.adler=0,i.status=wu)):i.status=wu),i.pending!==0){if(_s(e),e.avail_out===0)return i.last_flush=-1,Mo}else if(e.avail_in===0&&q6(t)<=q6(r)&&t!==xs)return Es(e,GS);if(i.status===ed&&e.avail_in!==0)return Es(e,GS);if(e.avail_in!==0||i.lookahead!==0||t!==xu&&i.status!==ed){var u=i.strategy===vv?HJ(i,t):i.strategy===_J?DJ(i,t):Tf[i.level].func(i,t);if((u===Su||u===Pf)&&(i.status=ed),u===Gr||u===Su)return e.avail_out===0&&(i.last_flush=-1),Mo;if(u===td&&(t===gJ?_n._tr_align(i):t!==D6&&(_n._tr_stored_block(i,0,0,!1),t===mJ&&(ws(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),_s(e),e.avail_out===0))return i.last_flush=-1,Mo}return t!==xs?Mo:i.wrap<=0?H6:(i.wrap===2?(mt(i,e.adler&255),mt(i,e.adler>>8&255),mt(i,e.adler>>16&255),mt(i,e.adler>>24&255),mt(i,e.total_in&255),mt(i,e.total_in>>8&255),mt(i,e.total_in>>16&255),mt(i,e.total_in>>24&255)):(Qh(i,e.adler>>>16),Qh(i,e.adler&65535)),_s(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Mo:H6)}function KJ(e){var t;return!e||!e.state?wn:(t=e.state.status,t!==Sv&&t!==ZS&&t!==yv&&t!==bv&&t!==_v&&t!==wu&&t!==ed?Es(e,wn):(e.state=null,t===wu?Es(e,vJ):Mo))}function VJ(e,t){var r=t.length,i,n,o,a,s,u,c,l;if(!e||!e.state||(i=e.state,a=i.wrap,a===2||a===1&&i.status!==Sv||i.lookahead))return wn;for(a===1&&(e.adler=U6(e.adler,t,r,0)),i.wrap=0,r>=i.w_size&&(a===0&&(ws(i.head),i.strstart=0,i.block_start=0,i.insert=0),l=new Pi.Buf8(i.w_size),Pi.arraySet(l,t,r-i.w_size,i.w_size,0),t=l,r=i.w_size),s=e.avail_in,u=e.next_in,c=e.input,e.avail_in=r,e.next_in=0,e.input=t,Eu(i);i.lookahead>=ct;){n=i.strstart,o=i.lookahead-(ct-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[n+ct-1])&i.hash_mask,i.prev[n&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=n,n++;while(--o);i.strstart=n,i.lookahead=ct-1,Eu(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=ct-1,i.match_available=0,e.next_in=u,e.input=c,e.avail_in=s,i.wrap=a,Mo}Do.deflateInit=jJ;Do.deflateInit2=K6;Do.deflateReset=z6;Do.deflateResetKeep=j6;Do.deflateSetHeader=FJ;Do.deflate=zJ;Do.deflateEnd=KJ;Do.deflateSetDictionary=VJ;Do.deflateInfo="pako deflate (from Nodeca project)"});var W6=T((wle,G6)=>{"use strict";g();var Ev=30,GJ=12;G6.exports=function(t,r){var i,n,o,a,s,u,c,l,p,d,v,_,I,R,k,q,z,A,B,M,F,V,Y,E,h;i=t.state,n=t.next_in,E=t.input,o=n+(t.avail_in-5),a=t.next_out,h=t.output,s=a-(r-t.avail_out),u=a+(t.avail_out-257),c=i.dmax,l=i.wsize,p=i.whave,d=i.wnext,v=i.window,_=i.hold,I=i.bits,R=i.lencode,k=i.distcode,q=(1<<i.lenbits)-1,z=(1<<i.distbits)-1;e:do{I<15&&(_+=E[n++]<<I,I+=8,_+=E[n++]<<I,I+=8),A=R[_&q];t:for(;;){if(B=A>>>24,_>>>=B,I-=B,B=A>>>16&255,B===0)h[a++]=A&65535;else if(B&16){M=A&65535,B&=15,B&&(I<B&&(_+=E[n++]<<I,I+=8),M+=_&(1<<B)-1,_>>>=B,I-=B),I<15&&(_+=E[n++]<<I,I+=8,_+=E[n++]<<I,I+=8),A=k[_&z];r:for(;;){if(B=A>>>24,_>>>=B,I-=B,B=A>>>16&255,B&16){if(F=A&65535,B&=15,I<B&&(_+=E[n++]<<I,I+=8,I<B&&(_+=E[n++]<<I,I+=8)),F+=_&(1<<B)-1,F>c){t.msg="invalid distance too far back",i.mode=Ev;break e}if(_>>>=B,I-=B,B=a-s,F>B){if(B=F-B,B>p&&i.sane){t.msg="invalid distance too far back",i.mode=Ev;break e}if(V=0,Y=v,d===0){if(V+=l-B,B<M){M-=B;do h[a++]=v[V++];while(--B);V=a-F,Y=h}}else if(d<B){if(V+=l+d-B,B-=d,B<M){M-=B;do h[a++]=v[V++];while(--B);if(V=0,d<M){B=d,M-=B;do h[a++]=v[V++];while(--B);V=a-F,Y=h}}}else if(V+=d-B,B<M){M-=B;do h[a++]=v[V++];while(--B);V=a-F,Y=h}for(;M>2;)h[a++]=Y[V++],h[a++]=Y[V++],h[a++]=Y[V++],M-=3;M&&(h[a++]=Y[V++],M>1&&(h[a++]=Y[V++]))}else{V=a-F;do h[a++]=h[V++],h[a++]=h[V++],h[a++]=h[V++],M-=3;while(M>2);M&&(h[a++]=h[V++],M>1&&(h[a++]=h[V++]))}}else if((B&64)===0){A=k[(A&65535)+(_&(1<<B)-1)];continue r}else{t.msg="invalid distance code",i.mode=Ev;break e}break}}else if((B&64)===0){A=R[(A&65535)+(_&(1<<B)-1)];continue t}else if(B&32){i.mode=GJ;break e}else{t.msg="invalid literal/length code",i.mode=Ev;break e}break}}while(n<o&&a<u);M=I>>3,n-=M,I-=M<<3,_&=(1<<I)-1,t.next_in=n,t.next_out=a,t.avail_in=n<o?5+(o-n):5-(n-o),t.avail_out=a<u?257+(u-a):257-(a-u),i.hold=_,i.bits=I}});var e3=T((Ele,Q6)=>{"use strict";g();var Y6=Gh(),Rf=15,Z6=852,$6=592,X6=0,$S=1,J6=2,WJ=[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],YJ=[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],ZJ=[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],$J=[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];Q6.exports=function(t,r,i,n,o,a,s,u){var c=u.bits,l=0,p=0,d=0,v=0,_=0,I=0,R=0,k=0,q=0,z=0,A,B,M,F,V,Y=null,E=0,h,y=new Y6.Buf16(Rf+1),w=new Y6.Buf16(Rf+1),S=null,O=0,C,D,P;for(l=0;l<=Rf;l++)y[l]=0;for(p=0;p<n;p++)y[r[i+p]]++;for(_=c,v=Rf;v>=1&&y[v]===0;v--);if(_>v&&(_=v),v===0)return o[a++]=1<<24|64<<16|0,o[a++]=1<<24|64<<16|0,u.bits=1,0;for(d=1;d<v&&y[d]===0;d++);for(_<d&&(_=d),k=1,l=1;l<=Rf;l++)if(k<<=1,k-=y[l],k<0)return-1;if(k>0&&(t===X6||v!==1))return-1;for(w[1]=0,l=1;l<Rf;l++)w[l+1]=w[l]+y[l];for(p=0;p<n;p++)r[i+p]!==0&&(s[w[r[i+p]]++]=p);if(t===X6?(Y=S=s,h=19):t===$S?(Y=WJ,E-=257,S=YJ,O-=257,h=256):(Y=ZJ,S=$J,h=-1),z=0,p=0,l=d,V=a,I=_,R=0,M=-1,q=1<<_,F=q-1,t===$S&&q>Z6||t===J6&&q>$6)return 1;for(;;){C=l-R,s[p]<h?(D=0,P=s[p]):s[p]>h?(D=S[O+s[p]],P=Y[E+s[p]]):(D=96,P=0),A=1<<l-R,B=1<<I,d=B;do B-=A,o[V+(z>>R)+B]=C<<24|D<<16|P|0;while(B!==0);for(A=1<<l-1;z&A;)A>>=1;if(A!==0?(z&=A-1,z+=A):z=0,p++,--y[l]===0){if(l===v)break;l=r[i+s[p]]}if(l>_&&(z&F)!==M){for(R===0&&(R=_),V+=d,I=l-R,k=1<<I;I+R<v&&(k-=y[I+R],!(k<=0));)I++,k<<=1;if(q+=1<<I,t===$S&&q>Z6||t===J6&&q>$6)return 1;M=z&F,o[M]=_<<24|I<<16|V-a|0}}return z!==0&&(o[V+z]=l-R<<24|64<<16|0),u.bits=_,0}});var L3=T(Gn=>{"use strict";g();var $i=Gh(),rE=KS(),Ho=VS(),XJ=W6(),rd=e3(),JJ=0,I3=1,A3=2,t3=4,QJ=5,xv=6,Ou=0,eQ=1,tQ=2,Sn=-2,T3=-3,iE=-4,rQ=-5,r3=8,P3=1,i3=2,n3=3,o3=4,a3=5,s3=6,u3=7,c3=8,f3=9,l3=10,Av=11,Ta=12,XS=13,h3=14,JS=15,d3=16,p3=17,g3=18,m3=19,Ov=20,Iv=21,v3=22,y3=23,b3=24,_3=25,w3=26,QS=27,S3=28,E3=29,Xt=30,nE=31,iQ=32,nQ=852,oQ=592,aQ=15,sQ=aQ;function x3(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function uQ(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new $i.Buf16(320),this.work=new $i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function R3(e){var t;return!e||!e.state?Sn:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=P3,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new $i.Buf32(nQ),t.distcode=t.distdyn=new $i.Buf32(oQ),t.sane=1,t.back=-1,Ou)}function k3(e){var t;return!e||!e.state?Sn:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,R3(e))}function B3(e,t){var r,i;return!e||!e.state||(i=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Sn:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=r,i.wbits=t,k3(e))}function N3(e,t){var r,i;return e?(i=new uQ,e.state=i,i.window=null,r=B3(e,t),r!==Ou&&(e.state=null),r):Sn}function cQ(e){return N3(e,sQ)}var O3=!0,eE,tE;function fQ(e){if(O3){var t;for(eE=new $i.Buf32(512),tE=new $i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(rd(I3,e.lens,0,288,eE,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;rd(A3,e.lens,0,32,tE,0,e.work,{bits:5}),O3=!1}e.lencode=eE,e.lenbits=9,e.distcode=tE,e.distbits=5}function C3(e,t,r,i){var n,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new $i.Buf8(o.wsize)),i>=o.wsize?($i.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n=o.wsize-o.wnext,n>i&&(n=i),$i.arraySet(o.window,t,r-i,n,o.wnext),i-=n,i?($i.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=n,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=n))),0}function lQ(e,t){var r,i,n,o,a,s,u,c,l,p,d,v,_,I,R=0,k,q,z,A,B,M,F,V,Y=new $i.Buf8(4),E,h,y=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Sn;r=e.state,r.mode===Ta&&(r.mode=XS),a=e.next_out,n=e.output,u=e.avail_out,o=e.next_in,i=e.input,s=e.avail_in,c=r.hold,l=r.bits,p=s,d=u,V=Ou;e:for(;;)switch(r.mode){case P3:if(r.wrap===0){r.mode=XS;break}for(;l<16;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(r.wrap&2&&c===35615){r.check=0,Y[0]=c&255,Y[1]=c>>>8&255,r.check=Ho(r.check,Y,2,0),c=0,l=0,r.mode=i3;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((c&255)<<8)+(c>>8))%31){e.msg="incorrect header check",r.mode=Xt;break}if((c&15)!==r3){e.msg="unknown compression method",r.mode=Xt;break}if(c>>>=4,l-=4,F=(c&15)+8,r.wbits===0)r.wbits=F;else if(F>r.wbits){e.msg="invalid window size",r.mode=Xt;break}r.dmax=1<<F,e.adler=r.check=1,r.mode=c&512?l3:Ta,c=0,l=0;break;case i3:for(;l<16;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(r.flags=c,(r.flags&255)!==r3){e.msg="unknown compression method",r.mode=Xt;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=Xt;break}r.head&&(r.head.text=c>>8&1),r.flags&512&&(Y[0]=c&255,Y[1]=c>>>8&255,r.check=Ho(r.check,Y,2,0)),c=0,l=0,r.mode=n3;case n3:for(;l<32;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}r.head&&(r.head.time=c),r.flags&512&&(Y[0]=c&255,Y[1]=c>>>8&255,Y[2]=c>>>16&255,Y[3]=c>>>24&255,r.check=Ho(r.check,Y,4,0)),c=0,l=0,r.mode=o3;case o3:for(;l<16;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}r.head&&(r.head.xflags=c&255,r.head.os=c>>8),r.flags&512&&(Y[0]=c&255,Y[1]=c>>>8&255,r.check=Ho(r.check,Y,2,0)),c=0,l=0,r.mode=a3;case a3:if(r.flags&1024){for(;l<16;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}r.length=c,r.head&&(r.head.extra_len=c),r.flags&512&&(Y[0]=c&255,Y[1]=c>>>8&255,r.check=Ho(r.check,Y,2,0)),c=0,l=0}else r.head&&(r.head.extra=null);r.mode=s3;case s3:if(r.flags&1024&&(v=r.length,v>s&&(v=s),v&&(r.head&&(F=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),$i.arraySet(r.head.extra,i,o,v,F)),r.flags&512&&(r.check=Ho(r.check,i,v,o)),s-=v,o+=v,r.length-=v),r.length))break e;r.length=0,r.mode=u3;case u3:if(r.flags&2048){if(s===0)break e;v=0;do F=i[o+v++],r.head&&F&&r.length<65536&&(r.head.name+=String.fromCharCode(F));while(F&&v<s);if(r.flags&512&&(r.check=Ho(r.check,i,v,o)),s-=v,o+=v,F)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=c3;case c3:if(r.flags&4096){if(s===0)break e;v=0;do F=i[o+v++],r.head&&F&&r.length<65536&&(r.head.comment+=String.fromCharCode(F));while(F&&v<s);if(r.flags&512&&(r.check=Ho(r.check,i,v,o)),s-=v,o+=v,F)break e}else r.head&&(r.head.comment=null);r.mode=f3;case f3:if(r.flags&512){for(;l<16;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(c!==(r.check&65535)){e.msg="header crc mismatch",r.mode=Xt;break}c=0,l=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Ta;break;case l3:for(;l<32;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}e.adler=r.check=x3(c),c=0,l=0,r.mode=Av;case Av:if(r.havedict===0)return e.next_out=a,e.avail_out=u,e.next_in=o,e.avail_in=s,r.hold=c,r.bits=l,tQ;e.adler=r.check=1,r.mode=Ta;case Ta:if(t===QJ||t===xv)break e;case XS:if(r.last){c>>>=l&7,l-=l&7,r.mode=QS;break}for(;l<3;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}switch(r.last=c&1,c>>>=1,l-=1,c&3){case 0:r.mode=h3;break;case 1:if(fQ(r),r.mode=Ov,t===xv){c>>>=2,l-=2;break e}break;case 2:r.mode=p3;break;case 3:e.msg="invalid block type",r.mode=Xt}c>>>=2,l-=2;break;case h3:for(c>>>=l&7,l-=l&7;l<32;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if((c&65535)!==(c>>>16^65535)){e.msg="invalid stored block lengths",r.mode=Xt;break}if(r.length=c&65535,c=0,l=0,r.mode=JS,t===xv)break e;case JS:r.mode=d3;case d3:if(v=r.length,v){if(v>s&&(v=s),v>u&&(v=u),v===0)break e;$i.arraySet(n,i,o,v,a),s-=v,o+=v,u-=v,a+=v,r.length-=v;break}r.mode=Ta;break;case p3:for(;l<14;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(r.nlen=(c&31)+257,c>>>=5,l-=5,r.ndist=(c&31)+1,c>>>=5,l-=5,r.ncode=(c&15)+4,c>>>=4,l-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Xt;break}r.have=0,r.mode=g3;case g3:for(;r.have<r.ncode;){for(;l<3;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}r.lens[y[r.have++]]=c&7,c>>>=3,l-=3}for(;r.have<19;)r.lens[y[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,E={bits:r.lenbits},V=rd(JJ,r.lens,0,19,r.lencode,0,r.work,E),r.lenbits=E.bits,V){e.msg="invalid code lengths set",r.mode=Xt;break}r.have=0,r.mode=m3;case m3:for(;r.have<r.nlen+r.ndist;){for(;R=r.lencode[c&(1<<r.lenbits)-1],k=R>>>24,q=R>>>16&255,z=R&65535,!(k<=l);){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(z<16)c>>>=k,l-=k,r.lens[r.have++]=z;else{if(z===16){for(h=k+2;l<h;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(c>>>=k,l-=k,r.have===0){e.msg="invalid bit length repeat",r.mode=Xt;break}F=r.lens[r.have-1],v=3+(c&3),c>>>=2,l-=2}else if(z===17){for(h=k+3;l<h;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}c>>>=k,l-=k,F=0,v=3+(c&7),c>>>=3,l-=3}else{for(h=k+7;l<h;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}c>>>=k,l-=k,F=0,v=11+(c&127),c>>>=7,l-=7}if(r.have+v>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Xt;break}for(;v--;)r.lens[r.have++]=F}}if(r.mode===Xt)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Xt;break}if(r.lenbits=9,E={bits:r.lenbits},V=rd(I3,r.lens,0,r.nlen,r.lencode,0,r.work,E),r.lenbits=E.bits,V){e.msg="invalid literal/lengths set",r.mode=Xt;break}if(r.distbits=6,r.distcode=r.distdyn,E={bits:r.distbits},V=rd(A3,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,E),r.distbits=E.bits,V){e.msg="invalid distances set",r.mode=Xt;break}if(r.mode=Ov,t===xv)break e;case Ov:r.mode=Iv;case Iv:if(s>=6&&u>=258){e.next_out=a,e.avail_out=u,e.next_in=o,e.avail_in=s,r.hold=c,r.bits=l,XJ(e,d),a=e.next_out,n=e.output,u=e.avail_out,o=e.next_in,i=e.input,s=e.avail_in,c=r.hold,l=r.bits,r.mode===Ta&&(r.back=-1);break}for(r.back=0;R=r.lencode[c&(1<<r.lenbits)-1],k=R>>>24,q=R>>>16&255,z=R&65535,!(k<=l);){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(q&&(q&240)===0){for(A=k,B=q,M=z;R=r.lencode[M+((c&(1<<A+B)-1)>>A)],k=R>>>24,q=R>>>16&255,z=R&65535,!(A+k<=l);){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}c>>>=A,l-=A,r.back+=A}if(c>>>=k,l-=k,r.back+=k,r.length=z,q===0){r.mode=w3;break}if(q&32){r.back=-1,r.mode=Ta;break}if(q&64){e.msg="invalid literal/length code",r.mode=Xt;break}r.extra=q&15,r.mode=v3;case v3:if(r.extra){for(h=r.extra;l<h;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}r.length+=c&(1<<r.extra)-1,c>>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=y3;case y3:for(;R=r.distcode[c&(1<<r.distbits)-1],k=R>>>24,q=R>>>16&255,z=R&65535,!(k<=l);){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if((q&240)===0){for(A=k,B=q,M=z;R=r.distcode[M+((c&(1<<A+B)-1)>>A)],k=R>>>24,q=R>>>16&255,z=R&65535,!(A+k<=l);){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}c>>>=A,l-=A,r.back+=A}if(c>>>=k,l-=k,r.back+=k,q&64){e.msg="invalid distance code",r.mode=Xt;break}r.offset=z,r.extra=q&15,r.mode=b3;case b3:if(r.extra){for(h=r.extra;l<h;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}r.offset+=c&(1<<r.extra)-1,c>>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Xt;break}r.mode=_3;case _3:if(u===0)break e;if(v=d-u,r.offset>v){if(v=r.offset-v,v>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Xt;break}v>r.wnext?(v-=r.wnext,_=r.wsize-v):_=r.wnext-v,v>r.length&&(v=r.length),I=r.window}else I=n,_=a-r.offset,v=r.length;v>u&&(v=u),u-=v,r.length-=v;do n[a++]=I[_++];while(--v);r.length===0&&(r.mode=Iv);break;case w3:if(u===0)break e;n[a++]=r.length,u--,r.mode=Iv;break;case QS:if(r.wrap){for(;l<32;){if(s===0)break e;s--,c|=i[o++]<<l,l+=8}if(d-=u,e.total_out+=d,r.total+=d,d&&(e.adler=r.check=r.flags?Ho(r.check,n,d,a-d):rE(r.check,n,d,a-d)),d=u,(r.flags?c:x3(c))!==r.check){e.msg="incorrect data check",r.mode=Xt;break}c=0,l=0}r.mode=S3;case S3:if(r.wrap&&r.flags){for(;l<32;){if(s===0)break e;s--,c+=i[o++]<<l,l+=8}if(c!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=Xt;break}c=0,l=0}r.mode=E3;case E3:V=eQ;break e;case Xt:V=T3;break e;case nE:return iE;case iQ:default:return Sn}return e.next_out=a,e.avail_out=u,e.next_in=o,e.avail_in=s,r.hold=c,r.bits=l,(r.wsize||d!==e.avail_out&&r.mode<Xt&&(r.mode<QS||t!==t3))&&C3(e,e.output,e.next_out,d-e.avail_out)?(r.mode=nE,iE):(p-=e.avail_in,d-=e.avail_out,e.total_in+=p,e.total_out+=d,r.total+=d,r.wrap&&d&&(e.adler=r.check=r.flags?Ho(r.check,n,d,e.next_out-d):rE(r.check,n,d,e.next_out-d)),e.data_type=r.bits+(r.last?64:0)+(r.mode===Ta?128:0)+(r.mode===Ov||r.mode===JS?256:0),(p===0&&d===0||t===t3)&&V===Ou&&(V=rQ),V)}function hQ(e){if(!e||!e.state)return Sn;var t=e.state;return t.window&&(t.window=null),e.state=null,Ou}function dQ(e,t){var r;return!e||!e.state||(r=e.state,(r.wrap&2)===0)?Sn:(r.head=t,t.done=!1,Ou)}function pQ(e,t){var r=t.length,i,n,o;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==Av)?Sn:i.mode===Av&&(n=1,n=rE(n,t,r,0),n!==i.check)?T3:(o=C3(e,t,r,r),o?(i.mode=nE,iE):(i.havedict=1,Ou))}Gn.inflateReset=k3;Gn.inflateReset2=B3;Gn.inflateResetKeep=R3;Gn.inflateInit=cQ;Gn.inflateInit2=N3;Gn.inflate=lQ;Gn.inflateEnd=hQ;Gn.inflateGetHeader=dQ;Gn.inflateSetDictionary=pQ;Gn.inflateInfo="pako inflate (from Nodeca project)"});var D3=T((Ale,M3)=>{"use strict";g();M3.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 q3=T(fe=>{"use strict";g();var Xi=fa(),gQ=c6(),id=V6(),Iu=L3(),H3=D3();for(oE in H3)fe[oE]=H3[oE];var oE;fe.NONE=0;fe.DEFLATE=1;fe.INFLATE=2;fe.GZIP=3;fe.GUNZIP=4;fe.DEFLATERAW=5;fe.INFLATERAW=6;fe.UNZIP=7;var mQ=31,vQ=139;function _i(e){if(typeof e!="number"||e<fe.DEFLATE||e>fe.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=e,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}_i.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,Xi(this.init_done,"close before init"),Xi(this.mode<=fe.UNZIP),this.mode===fe.DEFLATE||this.mode===fe.GZIP||this.mode===fe.DEFLATERAW?id.deflateEnd(this.strm):(this.mode===fe.INFLATE||this.mode===fe.GUNZIP||this.mode===fe.INFLATERAW||this.mode===fe.UNZIP)&&Iu.inflateEnd(this.strm),this.mode=fe.NONE,this.dictionary=null};_i.prototype.write=function(e,t,r,i,n,o,a){return this._write(!0,e,t,r,i,n,o,a)};_i.prototype.writeSync=function(e,t,r,i,n,o,a){return this._write(!1,e,t,r,i,n,o,a)};_i.prototype._write=function(e,t,r,i,n,o,a,s){if(Xi.equal(arguments.length,8),Xi(this.init_done,"write before init"),Xi(this.mode!==fe.NONE,"already finalized"),Xi.equal(!1,this.write_in_progress,"write already in progress"),Xi.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,Xi.equal(!1,t===void 0,"must provide flush value"),this.write_in_progress=!0,t!==fe.Z_NO_FLUSH&&t!==fe.Z_PARTIAL_FLUSH&&t!==fe.Z_SYNC_FLUSH&&t!==fe.Z_FULL_FLUSH&&t!==fe.Z_FINISH&&t!==fe.Z_BLOCK)throw new Error("Invalid flush value");if(r==null&&(r=f.Buffer.alloc(0),n=0,i=0),this.strm.avail_in=n,this.strm.input=r,this.strm.next_in=i,this.strm.avail_out=s,this.strm.output=o,this.strm.next_out=a,this.flush=t,!e)return this._process(),this._checkError()?this._afterSync():void 0;var u=this;return b.default.nextTick(function(){u._process(),u._after()}),this};_i.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]};_i.prototype._process=function(){var e=null;switch(this.mode){case fe.DEFLATE:case fe.GZIP:case fe.DEFLATERAW:this.err=id.deflate(this.strm,this.flush);break;case fe.UNZIP:switch(this.strm.avail_in>0&&(e=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(e===null)break;if(this.strm.input[e]===mQ){if(this.gzip_id_bytes_read=1,e++,this.strm.avail_in===1)break}else{this.mode=fe.INFLATE;break}case 1:if(e===null)break;this.strm.input[e]===vQ?(this.gzip_id_bytes_read=2,this.mode=fe.GUNZIP):this.mode=fe.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case fe.INFLATE:case fe.GUNZIP:case fe.INFLATERAW:for(this.err=Iu.inflate(this.strm,this.flush),this.err===fe.Z_NEED_DICT&&this.dictionary&&(this.err=Iu.inflateSetDictionary(this.strm,this.dictionary),this.err===fe.Z_OK?this.err=Iu.inflate(this.strm,this.flush):this.err===fe.Z_DATA_ERROR&&(this.err=fe.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===fe.GUNZIP&&this.err===fe.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=Iu.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}};_i.prototype._checkError=function(){switch(this.err){case fe.Z_OK:case fe.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===fe.Z_FINISH)return this._error("unexpected end of file"),!1;break;case fe.Z_STREAM_END:break;case fe.Z_NEED_DICT:return this.dictionary==null?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0};_i.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}};_i.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()};_i.prototype.init=function(e,t,r,i,n){Xi(arguments.length===4||arguments.length===5,"init(windowBits, level, memLevel, strategy, [dictionary])"),Xi(e>=8&&e<=15,"invalid windowBits"),Xi(t>=-1&&t<=9,"invalid compression level"),Xi(r>=1&&r<=9,"invalid memlevel"),Xi(i===fe.Z_FILTERED||i===fe.Z_HUFFMAN_ONLY||i===fe.Z_RLE||i===fe.Z_FIXED||i===fe.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(t,e,r,i,n),this._setDictionary()};_i.prototype.params=function(){throw new Error("deflateParams Not supported")};_i.prototype.reset=function(){this._reset(),this._setDictionary()};_i.prototype._init=function(e,t,r,i,n){switch(this.level=e,this.windowBits=t,this.memLevel=r,this.strategy=i,this.flush=fe.Z_NO_FLUSH,this.err=fe.Z_OK,(this.mode===fe.GZIP||this.mode===fe.GUNZIP)&&(this.windowBits+=16),this.mode===fe.UNZIP&&(this.windowBits+=32),(this.mode===fe.DEFLATERAW||this.mode===fe.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new gQ,this.mode){case fe.DEFLATE:case fe.GZIP:case fe.DEFLATERAW:this.err=id.deflateInit2(this.strm,this.level,fe.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case fe.INFLATE:case fe.GUNZIP:case fe.INFLATERAW:case fe.UNZIP:this.err=Iu.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==fe.Z_OK&&this._error("Init error"),this.dictionary=n,this.write_in_progress=!1,this.init_done=!0};_i.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=fe.Z_OK,this.mode){case fe.DEFLATE:case fe.DEFLATERAW:this.err=id.deflateSetDictionary(this.strm,this.dictionary);break;default:break}this.err!==fe.Z_OK&&this._error("Failed to set dictionary")}};_i.prototype._reset=function(){switch(this.err=fe.Z_OK,this.mode){case fe.DEFLATE:case fe.DEFLATERAW:case fe.GZIP:this.err=id.deflateReset(this.strm);break;case fe.INFLATE:case fe.INFLATERAW:case fe.GUNZIP:this.err=Iu.inflateReset(this.strm);break;default:break}this.err!==fe.Z_OK&&this._error("Failed to reset stream")};fe.Zlib=_i});var uE=T(Se=>{"use strict";g();var qo=rr().Buffer,z3=mp().Transform,De=q3(),Os=nn(),nd=fa().ok,sE=rr().kMaxLength,K3="Cannot create final Buffer. It would be larger than 0x"+sE.toString(16)+" bytes";De.Z_MIN_WINDOWBITS=8;De.Z_MAX_WINDOWBITS=15;De.Z_DEFAULT_WINDOWBITS=15;De.Z_MIN_CHUNK=64;De.Z_MAX_CHUNK=1/0;De.Z_DEFAULT_CHUNK=16*1024;De.Z_MIN_MEMLEVEL=1;De.Z_MAX_MEMLEVEL=9;De.Z_DEFAULT_MEMLEVEL=8;De.Z_MIN_LEVEL=-1;De.Z_MAX_LEVEL=9;De.Z_DEFAULT_LEVEL=De.Z_DEFAULT_COMPRESSION;var U3=Object.keys(De);for(Tv=0;Tv<U3.length;Tv++)Pv=U3[Tv],Pv.match(/^Z/)&&Object.defineProperty(Se,Pv,{enumerable:!0,value:De[Pv],writable:!1});var Pv,Tv,kv={Z_OK:De.Z_OK,Z_STREAM_END:De.Z_STREAM_END,Z_NEED_DICT:De.Z_NEED_DICT,Z_ERRNO:De.Z_ERRNO,Z_STREAM_ERROR:De.Z_STREAM_ERROR,Z_DATA_ERROR:De.Z_DATA_ERROR,Z_MEM_ERROR:De.Z_MEM_ERROR,Z_BUF_ERROR:De.Z_BUF_ERROR,Z_VERSION_ERROR:De.Z_VERSION_ERROR},F3=Object.keys(kv);for(Rv=0;Rv<F3.length;Rv++)aE=F3[Rv],kv[kv[aE]]=aE;var aE,Rv;Object.defineProperty(Se,"codes",{enumerable:!0,value:Object.freeze(kv),writable:!1});Se.Deflate=Au;Se.Inflate=Tu;Se.Gzip=Pu;Se.Gunzip=Ru;Se.DeflateRaw=ku;Se.InflateRaw=Bu;Se.Unzip=Nu;Se.createDeflate=function(e){return new Au(e)};Se.createInflate=function(e){return new Tu(e)};Se.createDeflateRaw=function(e){return new ku(e)};Se.createInflateRaw=function(e){return new Bu(e)};Se.createGzip=function(e){return new Pu(e)};Se.createGunzip=function(e){return new Ru(e)};Se.createUnzip=function(e){return new Nu(e)};Se.deflate=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Cu(new Au(t),e,r)};Se.deflateSync=function(e,t){return Lu(new Au(t),e)};Se.gzip=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Cu(new Pu(t),e,r)};Se.gzipSync=function(e,t){return Lu(new Pu(t),e)};Se.deflateRaw=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Cu(new ku(t),e,r)};Se.deflateRawSync=function(e,t){return Lu(new ku(t),e)};Se.unzip=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Cu(new Nu(t),e,r)};Se.unzipSync=function(e,t){return Lu(new Nu(t),e)};Se.inflate=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Cu(new Tu(t),e,r)};Se.inflateSync=function(e,t){return Lu(new Tu(t),e)};Se.gunzip=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Cu(new Ru(t),e,r)};Se.gunzipSync=function(e,t){return Lu(new Ru(t),e)};Se.inflateRaw=function(e,t,r){return typeof t=="function"&&(r=t,t={}),Cu(new Bu(t),e,r)};Se.inflateRawSync=function(e,t){return Lu(new Bu(t),e)};function Cu(e,t,r){var i=[],n=0;e.on("error",a),e.on("end",s),e.end(t),o();function o(){for(var u;(u=e.read())!==null;)i.push(u),n+=u.length;e.once("readable",o)}function a(u){e.removeListener("end",s),e.removeListener("readable",o),r(u)}function s(){var u,c=null;n>=sE?c=new RangeError(K3):u=qo.concat(i,n),i=[],e.close(),r(c,u)}}function Lu(e,t){if(typeof t=="string"&&(t=qo.from(t)),!qo.isBuffer(t))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(t,r)}function Au(e){if(!(this instanceof Au))return new Au(e);cr.call(this,e,De.DEFLATE)}function Tu(e){if(!(this instanceof Tu))return new Tu(e);cr.call(this,e,De.INFLATE)}function Pu(e){if(!(this instanceof Pu))return new Pu(e);cr.call(this,e,De.GZIP)}function Ru(e){if(!(this instanceof Ru))return new Ru(e);cr.call(this,e,De.GUNZIP)}function ku(e){if(!(this instanceof ku))return new ku(e);cr.call(this,e,De.DEFLATERAW)}function Bu(e){if(!(this instanceof Bu))return new Bu(e);cr.call(this,e,De.INFLATERAW)}function Nu(e){if(!(this instanceof Nu))return new Nu(e);cr.call(this,e,De.UNZIP)}function j3(e){return e===De.Z_NO_FLUSH||e===De.Z_PARTIAL_FLUSH||e===De.Z_SYNC_FLUSH||e===De.Z_FULL_FLUSH||e===De.Z_FINISH||e===De.Z_BLOCK}function cr(e,t){var r=this;if(this._opts=e=e||{},this._chunkSize=e.chunkSize||Se.Z_DEFAULT_CHUNK,z3.call(this,e),e.flush&&!j3(e.flush))throw new Error("Invalid flush flag: "+e.flush);if(e.finishFlush&&!j3(e.finishFlush))throw new Error("Invalid flush flag: "+e.finishFlush);if(this._flushFlag=e.flush||De.Z_NO_FLUSH,this._finishFlushFlag=typeof e.finishFlush<"u"?e.finishFlush:De.Z_FINISH,e.chunkSize&&(e.chunkSize<Se.Z_MIN_CHUNK||e.chunkSize>Se.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<Se.Z_MIN_WINDOWBITS||e.windowBits>Se.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<Se.Z_MIN_LEVEL||e.level>Se.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<Se.Z_MIN_MEMLEVEL||e.memLevel>Se.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=Se.Z_FILTERED&&e.strategy!=Se.Z_HUFFMAN_ONLY&&e.strategy!=Se.Z_RLE&&e.strategy!=Se.Z_FIXED&&e.strategy!=Se.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!qo.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new De.Zlib(t);var i=this;this._hadError=!1,this._handle.onerror=function(a,s){Bv(i),i._hadError=!0;var u=new Error(a);u.errno=s,u.code=Se.codes[s],i.emit("error",u)};var n=Se.Z_DEFAULT_COMPRESSION;typeof e.level=="number"&&(n=e.level);var o=Se.Z_DEFAULT_STRATEGY;typeof e.strategy=="number"&&(o=e.strategy),this._handle.init(e.windowBits||Se.Z_DEFAULT_WINDOWBITS,n,e.memLevel||Se.Z_DEFAULT_MEMLEVEL,o,e.dictionary),this._buffer=qo.allocUnsafe(this._chunkSize),this._offset=0,this._level=n,this._strategy=o,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!r._handle},configurable:!0,enumerable:!0})}Os.inherits(cr,z3);cr.prototype.params=function(e,t,r){if(e<Se.Z_MIN_LEVEL||e>Se.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(t!=Se.Z_FILTERED&&t!=Se.Z_HUFFMAN_ONLY&&t!=Se.Z_RLE&&t!=Se.Z_FIXED&&t!=Se.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+t);if(this._level!==e||this._strategy!==t){var i=this;this.flush(De.Z_SYNC_FLUSH,function(){nd(i._handle,"zlib binding closed"),i._handle.params(e,t),i._hadError||(i._level=e,i._strategy=t,r&&r())})}else b.default.nextTick(r)};cr.prototype.reset=function(){return nd(this._handle,"zlib binding closed"),this._handle.reset()};cr.prototype._flush=function(e){this._transform(qo.alloc(0),"",e)};cr.prototype.flush=function(e,t){var r=this,i=this._writableState;(typeof e=="function"||e===void 0&&!t)&&(t=e,e=De.Z_FULL_FLUSH),i.ended?t&&b.default.nextTick(t):i.ending?t&&this.once("end",t):i.needDrain?t&&this.once("drain",function(){return r.flush(e,t)}):(this._flushFlag=e,this.write(qo.alloc(0),"",t))};cr.prototype.close=function(e){Bv(this,e),b.default.nextTick(yQ,this)};function Bv(e,t){t&&b.default.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function yQ(e){e.emit("close")}cr.prototype._transform=function(e,t,r){var i,n=this._writableState,o=n.ending||n.ended,a=o&&(!e||n.length===e.length);if(e!==null&&!qo.isBuffer(e))return r(new Error("invalid input"));if(!this._handle)return r(new Error("zlib binding closed"));a?i=this._finishFlushFlag:(i=this._flushFlag,e.length>=n.length&&(this._flushFlag=this._opts.flush||De.Z_NO_FLUSH)),this._processChunk(e,i,r)};cr.prototype._processChunk=function(e,t,r){var i=e&&e.length,n=this._chunkSize-this._offset,o=0,a=this,s=typeof r=="function";if(!s){var u=[],c=0,l;this.on("error",function(I){l=I}),nd(this._handle,"zlib binding closed");do var p=this._handle.writeSync(t,e,o,i,this._buffer,this._offset,n);while(!this._hadError&&_(p[0],p[1]));if(this._hadError)throw l;if(c>=sE)throw Bv(this),new RangeError(K3);var d=qo.concat(u,c);return Bv(this),d}nd(this._handle,"zlib binding closed");var v=this._handle.write(t,e,o,i,this._buffer,this._offset,n);v.buffer=e,v.callback=_;function _(I,R){if(this&&(this.buffer=null,this.callback=null),!a._hadError){var k=n-R;if(nd(k>=0,"have should not go down"),k>0){var q=a._buffer.slice(a._offset,a._offset+k);a._offset+=k,s?a.push(q):(u.push(q),c+=q.length)}if((R===0||a._offset>=a._chunkSize)&&(n=a._chunkSize,a._offset=0,a._buffer=qo.allocUnsafe(a._chunkSize)),R===0){if(o+=i-I,i=I,!s)return!0;var z=a._handle.write(t,e,o,i,a._buffer,a._offset,a._chunkSize);z.callback=_,z.buffer=e;return}if(!s)return!1;r()}}};Os.inherits(Au,cr);Os.inherits(Tu,cr);Os.inherits(Pu,cr);Os.inherits(Ru,cr);Os.inherits(ku,cr);Os.inherits(Bu,cr);Os.inherits(Nu,cr)});var Z3=T((Cle,Y3)=>{"use strict";g();var cE=NS(),Nle=nr(),V3=uE(),bQ=8*1024*1024;function G3(e,t){var r=t&&t.maxDecompressedBytes||bQ;return V3.gunzipSync(f.Buffer.from(e,"base64"),{maxOutputLength:r})}async function W3(e,t){if(!t.expectedIssuerDid)throw new Error("expectedIssuerDid is required to verify a status list (issuer pinning); refusing to read revocation state from an unpinned/unverified JWT");var r=t.didResolver;if(!r){var i=t.issuerJwks||(t.issuerPublicJwk?{keys:[t.issuerPublicJwk]}:null);if(!i)throw new Error("Provide params.didResolver, params.issuerJwks, or params.issuerPublicJwk to verify the status list signature");r=async function(){return{jwks:i}}}var n=await cE.verifyVcJwt(e,{didResolver:r,expectedIssuerDid:t.expectedIssuerDid,allowedAlgs:t.allowedAlgs,allowLegacyDER:t.allowLegacyDER,clockToleranceSec:t.clockToleranceSec});if(!n.valid)throw new Error("Status list signature verification failed: "+(n.error||"invalid signature"));return n.payload}async function _Q(e){if(!e.issuerDid||!e.privateJwk)throw new Error("issuerDid and privateJwk are required");var t=e.listId||e.issuerDid+"/status/"+Date.now(),r=e.listSize||1e5,i=Math.ceil(r/8),n=f.Buffer.alloc(i,0),o=uE(),a=o.gzipSync(n),s=a.toString("base64"),u={"@context":["https://www.w3.org/2018/credentials/v1","https://w3id.org/vc/status-list/2021/v1"],type:["VerifiableCredential","StatusList2021Credential"],issuer:e.issuerDid,issuanceDate:new Date().toISOString(),credentialSubject:{id:t,type:"StatusList2021",statusPurpose:"revocation",encodedList:s}},c=await cE.issueVcJwt({issuerDid:e.issuerDid,subjectId:t,types:["VerifiableCredential","StatusList2021Credential"],credentialSubject:u.credentialSubject,privateJwk:e.privateJwk,alg:e.privateJwk.alg||"ES256"});return{listVcJwt:c.jwt,listId:t}}async function wQ(e){if(!e.listVcJwt||e.index===void 0||!e.status||!e.privateJwk)throw new Error("listVcJwt, index, status, and privateJwk are required");if(e.status==="suspended")throw new Error("status 'suspended' is not supported by this list: its statusPurpose is 'revocation', and suspension would be written to the same bit and read back as 'revoked'. Maintain a separate list for suspension until statusPurpose is configurable.");var t=await W3(e.listVcJwt,e),r=t.vc.credentialSubject.encodedList,i=G3(r,e),n=Math.floor(e.index/8),o=e.index%8;if(n>=i.length)throw new Error("Index out of range");var a=e.status==="revoked"?1:0;a===1?i[n]|=1<<o:i[n]&=~(1<<o);var s=V3.gzipSync(i),u=s.toString("base64"),c={id:t.vc.credentialSubject.id,type:"StatusList2021",statusPurpose:"revocation",encodedList:u},l=await cE.issueVcJwt({issuerDid:t.iss,subjectId:t.vc.credentialSubject.id,types:["VerifiableCredential","StatusList2021Credential"],credentialSubject:c,privateJwk:e.privateJwk,alg:e.privateJwk.alg||"ES256"});return{listVcJwt:l.jwt}}async function SQ(e){if(!e.listVcJwt||e.index===void 0)throw new Error("listVcJwt and index are required");var t=await W3(e.listVcJwt,e),r=t.vc.credentialSubject.encodedList,i=G3(r,e),n=Math.floor(e.index/8),o=e.index%8;if(n>=i.length)throw new Error("Index out of range");var a=i[n]>>o&1;return a===1?"revoked":"valid"}Y3.exports={createStatusList:_Q,updateStatusList:wQ,getCredentialStatusEntry:SQ}});var J3=T((Mle,X3)=>{"use strict";g();var EQ=nr();function $3(e){var t;if(typeof e=="string")t=f.Buffer.from(e,"utf8");else if(f.Buffer.isBuffer(e))t=e;else if(e instanceof Uint8Array)t=f.Buffer.from(e);else throw new Error("Data must be string, Buffer, or Uint8Array");return EQ.createHash("sha256").update(t).digest("hex")}function xQ(e){if(!e.kind||!e.hash||!e.issuerDid)throw new Error("kind, hash, and issuerDid are required");var t=["VC_ANCHOR_SHA256","STATUSLIST_SHA256","PRESENTATION_SHA256"];if(t.indexOf(e.kind)===-1)throw new Error("Invalid kind. Must be one of: "+t.join(", "));if(!/^[a-fA-F0-9]{64}$/.test(e.hash))throw new Error("Invalid hash format. Must be 64 hex characters");var r={protocol:"SmartLedger",version:"1.0",type:e.kind,hash:e.hash,issuer:e.issuerDid,timestamp:e.issuedAt||new Date().toISOString()};return{json:JSON.stringify(r)}}function OQ(e,t){var r=$3(e);return r===t}function IQ(e){try{var t=JSON.parse(e);if(t.protocol!=="SmartLedger")return{valid:!1,error:"Invalid protocol"};var r=["VC_ANCHOR_SHA256","STATUSLIST_SHA256","PRESENTATION_SHA256"];return r.indexOf(t.type)===-1?{valid:!1,error:"Invalid anchor type"}:/^[a-fA-F0-9]{64}$/.test(t.hash)?{valid:!0,protocol:t.protocol,version:t.version,type:t.type,hash:t.hash,issuer:t.issuer,timestamp:t.timestamp}:{valid:!1,error:"Invalid hash format"}}catch(i){return{valid:!1,error:"Failed to parse anchor payload: "+i.message}}}X3.exports={sha256Hex:$3,buildAnchorPayload:xQ,verifyAnchorHash:OQ,parseAnchorPayload:IQ}});var od=T((Hle,eH)=>{"use strict";g();var Q3=Ki();function AQ(){var e=Q3.getRandomBuffer(16);e[6]=e[6]&15|64,e[8]=e[8]&63|128;var t=e.toString("hex");return[t.substring(0,8),t.substring(8,12),t.substring(12,16),t.substring(16,20),t.substring(20,32)].join("-")}function TQ(e){return Q3.getRandomBuffer(Math.ceil(e/2)).toString("hex").substring(0,e)}eH.exports={uuid4:AQ,randomHex:TQ}});var oH=T((Fle,nH)=>{"use strict";g();var ad=sr(),fE=Le(),lE=dn(),tH=gt(),hE=ei(),Lr=Ie(),Ule=at(),PQ=od();function rH(e,t){if(t=t||{},t.issuerPublicKey)return t.issuerPublicKey instanceof ad?t.issuerPublicKey:ad.fromString(t.issuerPublicKey);var r=e&&e.issuer;if(typeof r!="string")return null;try{var i=r.split("#")[0].split(":")[2];return i?ad.fromString(i):null}catch{return null}}var kf={PROPERTY_TITLE:"PropertyTitle",VEHICLE_TITLE:"VehicleTitle",INTELLECTUAL_PROPERTY:"IntellectualProperty",MUSIC_LICENSE:"MusicLicense",SOFTWARE_LICENSE:"SoftwareLicense",FINANCIAL_INSTRUMENT:"FinancialInstrument",PROMISSORY_NOTE:"PromissoryNote",BOND:"Bond",EQUITY_SHARE:"EquityShare",PROFESSIONAL_LICENSE:"ProfessionalLicense",REGULATORY_PERMIT:"RegulatoryPermit",ACCESS_RIGHT:"AccessRight",VOTING_RIGHT:"VotingRight",ROYALTY_RIGHT:"RoyaltyRight",USAGE_RIGHT:"UsageRight"},iH={create:function(e,t,r,i,n,o){o=o||{},Lr.checkArgument(typeof e=="string","Right type must be string"),Lr.checkArgument(typeof t=="string","Issuer DID must be string"),Lr.checkArgument(typeof r=="string","Subject DID must be string"),Lr.checkArgument(i&&typeof i=="object","Claim must be object");var a=Object.values(kf);Lr.checkArgument(a.includes(e),"Invalid right type: "+e);var s={"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ltp/v1"],id:"urn:uuid:"+this._generateUUID(),type:["VerifiableCredential","LegalRightToken",e],issuer:t,issuanceDate:new Date().toISOString(),credentialSubject:{id:r,rightType:e,claim:i,jurisdiction:o.jurisdiction||"US",purpose:o.purpose||"legal_right",validFrom:o.validFrom||new Date().toISOString(),validUntil:o.validUntil||null,transferable:o.transferable!==!1,revocable:o.revocable!==!1}};return o.metadata&&(s.credentialSubject.metadata=o.metadata),s},prepareRightToken:function(e,t,r,i,n,o){o=o||{},Lr.checkArgument(typeof e=="string","Right type must be string"),Lr.checkArgument(typeof t=="string","Issuer DID must be string"),Lr.checkArgument(typeof r=="string","Subject DID must be string"),Lr.checkArgument(i&&typeof i=="object","Claim must be object"),Lr.checkArgument(n instanceof hE,"Invalid issuer private key");var a=Object.values(kf);Lr.checkArgument(a.includes(e),"Invalid right type: "+e);try{var s=this.create(e,t,r,i,n,o),u=this._signToken(s,n);return{success:!0,rightToken:u,tokenHash:u.tokenHash,metadata:{type:e,issuer:t,subject:r,transferable:s.credentialSubject.transferable,revocable:s.credentialSubject.revocable,jurisdiction:s.credentialSubject.jurisdiction},externalOperations:{storeToken:{endpoint:"POST /rights/tokens",data:{token:u,metadata:{type:e,issuer:t,subject:r,transferable:s.credentialSubject.transferable,revocable:s.credentialSubject.revocable,jurisdiction:s.credentialSubject.jurisdiction}}},indexToken:{endpoint:"POST /rights/index",data:{tokenId:u.id,tokenHash:u.tokenHash,type:e,issuer:t,subject:r,issuedAt:u.issuanceDate}},notifyParties:{endpoint:"POST /notifications/right-issued",data:{tokenId:u.id,issuer:t,subject:r,rightType:e}}}}}catch(c){return{success:!1,error:c.message}}},prepareRightTokenVerification:function(e,t){t=t||{};try{var r=[],i=[];this._validateTokenStructure(e,r),this._verifyTokenSignature(e,r,t),this._validateTokenTemporal(e,r,i),this._validateRightType(e,r),t.requireJurisdiction&&this._validateJurisdiction(e,t.allowedJurisdictions,r);var n={valid:r.length===0,errors:r,warnings:i,issuerDID:e.issuer,subjectDID:e.credentialSubject?e.credentialSubject.id:null,rightType:e.credentialSubject?e.credentialSubject.rightType:null,transferable:e.credentialSubject?e.credentialSubject.transferable:null,revocable:e.credentialSubject?e.credentialSubject.revocable:null,verifiedAt:new Date().toISOString()};return{success:!0,verification:n,externalOperations:{recordVerification:{endpoint:"POST /rights/verification-record",data:{tokenId:e.id,result:n.valid,errors:r,warnings:i,verifiedAt:n.verifiedAt}},auditVerification:{endpoint:"POST /audit/right-verification",data:{tokenId:e.id,rightType:n.rightType,issuer:n.issuerDID,subject:n.subjectDID,result:n.valid,verifiedAt:n.verifiedAt}},updateTokenStatus:n.valid?{endpoint:"PUT /rights/tokens/"+e.id+"/status",data:{status:"VERIFIED",verifiedAt:n.verifiedAt}}:null}}}catch(o){return{success:!1,error:"Verification preparation failed: "+o.message}}},prepareRightTokenTransfer:function(e,t,r,i){i=i||{},Lr.checkArgument(e&&typeof e=="object","Invalid token"),Lr.checkArgument(typeof t=="string","New owner DID must be string"),Lr.checkArgument(r instanceof hE,"Invalid current owner key");try{var n=this.prepareRightTokenVerification(e,{});if(!n.success||!n.verification.valid)return{success:!1,error:"Cannot transfer invalid token: "+n.verification.errors.join(", ")};if(!e.credentialSubject.transferable)return{success:!1,error:"Token is not transferable"};var o=e.credentialSubject&&e.credentialSubject.id,a=rH({issuer:o},{issuerPublicKey:i.currentOwnerPublicKey});if(!a)return{success:!1,error:"Cannot resolve current owner public key from token.credentialSubject.id; pass options.currentOwnerPublicKey"};if(r.toPublicKey().toString()!==a.toString())return{success:!1,error:"Unauthorized transfer: signing key does not match the current owner"};var s={"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ltp/v1"],id:"urn:uuid:"+this._generateUUID(),type:["VerifiableCredential","LegalRightTransfer"],issuer:e.credentialSubject.id,issuanceDate:new Date().toISOString(),credentialSubject:{id:t,originalToken:e.id,transferFrom:e.credentialSubject.id,transferTo:t,transferDate:new Date().toISOString(),transferReason:i.reason||"ownership_transfer",consideration:i.consideration||null}},u=this._signToken(s,r),c=JSON.parse(JSON.stringify(e));c.id="urn:uuid:"+this._generateUUID(),c.issuanceDate=new Date().toISOString(),c.credentialSubject.id=t,c.credentialSubject.transferHistory=c.credentialSubject.transferHistory||[],c.credentialSubject.transferHistory.push({transferId:u.id,transferDate:u.issuanceDate,from:e.credentialSubject.id,to:t}),delete c.proof;var l=this._signToken(c,r);return{success:!0,newToken:l,transferProof:u,transferId:u.id,externalOperations:{recordTransfer:{endpoint:"POST /rights/transfers",data:{originalTokenId:e.id,newTokenId:l.id,transferProof:u,fromOwner:e.credentialSubject.id,toOwner:t,transferDate:u.issuanceDate}},updateOwnership:{endpoint:"PUT /rights/tokens/"+e.id+"/ownership",data:{newOwner:t,transferId:u.id,transferDate:u.issuanceDate,previousOwner:e.credentialSubject.id}},notifyParties:{endpoint:"POST /notifications/right-transferred",data:{originalTokenId:e.id,newTokenId:l.id,fromOwner:e.credentialSubject.id,toOwner:t,rightType:e.credentialSubject.rightType}},auditTransfer:{endpoint:"POST /audit/right-transfer",data:{originalTokenId:e.id,newTokenId:l.id,transferId:u.id,fromOwner:e.credentialSubject.id,toOwner:t,transferredAt:u.issuanceDate}}}}}catch(p){return{success:!1,error:p.message}}},prepareObligationToken:function(e,t,r,i){Lr.checkArgument(e&&typeof e=="object","Invalid right token"),Lr.checkArgument(typeof t=="string","Obligor DID must be string"),Lr.checkArgument(r&&typeof r=="object","Obligation must be object"),Lr.checkArgument(i instanceof hE,"Invalid issuer key");try{var n={"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ltp/v1"],id:"urn:uuid:"+this._generateUUID(),type:["VerifiableCredential","LegalObligationToken"],issuer:e.issuer,issuanceDate:new Date().toISOString(),credentialSubject:{id:t,obligationType:"correlative_obligation",correlativeRight:e.id,rightHolder:e.credentialSubject.id,obligation:r,jurisdiction:e.credentialSubject.jurisdiction,purpose:e.credentialSubject.purpose}},o=this._signToken(n,i);return{success:!0,obligationToken:o,correlativeRight:e.id,externalOperations:{storeObligation:{endpoint:"POST /obligations/tokens",data:{obligationToken:o,correlativeRightId:e.id,obligor:t,rightHolder:e.credentialSubject.id}},linkToRight:{endpoint:"POST /rights/tokens/"+e.id+"/obligations",data:{obligationId:o.id,obligor:t,obligationType:"correlative_obligation"}},notifyObligor:{endpoint:"POST /notifications/obligation-created",data:{obligationId:o.id,obligor:t,rightHolder:e.credentialSubject.id,correlativeRight:e.id}}}}}catch(a){return{success:!1,error:a.message}}},prepareRightTypeValidation:function(e){Lr.checkArgument(typeof e=="string","Right type must be string");var t=Object.values(kf),r=t.includes(e);return{success:!0,validation:{type:e,valid:r,availableTypes:t,category:this._categorizeRightType(e),description:this._getRightTypeDescription(e)},externalOperations:{validateType:{endpoint:"POST /rights/validate-type",data:{type:e,valid:r}}}}},_categorizeRightType:function(e){var t={PropertyTitle:"PROPERTY_RIGHT",VehicleTitle:"PROPERTY_RIGHT",IntellectualProperty:"IP_RIGHT",MusicLicense:"IP_RIGHT",SoftwareLicense:"IP_RIGHT",FinancialInstrument:"FINANCIAL_RIGHT",PromissoryNote:"FINANCIAL_RIGHT",Bond:"FINANCIAL_RIGHT",EquityShare:"FINANCIAL_RIGHT",ProfessionalLicense:"LICENSE_RIGHT",RegulatoryPermit:"LICENSE_RIGHT",AccessRight:"ACCESS_RIGHT",VotingRight:"GOVERNANCE_RIGHT",RoyaltyRight:"IP_RIGHT",UsageRight:"ACCESS_RIGHT"};return t[e]||"UNKNOWN"},_getRightTypeDescription:function(e){var t={PropertyTitle:"Legal ownership of real estate property",VehicleTitle:"Legal ownership of motor vehicle",IntellectualProperty:"Rights to intellectual property assets",MusicLicense:"License for music performance and usage",SoftwareLicense:"License for software usage and distribution",FinancialInstrument:"Rights related to financial instruments",PromissoryNote:"Promise to pay a specified amount",Bond:"Debt security representing loan",EquityShare:"Ownership stake in company",ProfessionalLicense:"License for professional practice",RegulatoryPermit:"Permit for regulated activities",AccessRight:"Right to access resources or locations",VotingRight:"Right to participate in governance",RoyaltyRight:"Right to receive royalty payments",UsageRight:"Right to use specific assets or services"};return t[e]||"Unknown right type"},getRightTypes:function(){return kf},verifyToken:function(e,t){var r=[];try{if(Lr.checkArgument(e&&typeof e=="object","Invalid token"),!e.proof||!e.proof.jws)return r.push("Missing signature proof"),{valid:!1,errors:r};var i=t instanceof ad?t:ad.fromString(t),n=this._canonicalizeToken(e),o=fE.sha256(f.Buffer.from(n));if(e.tokenHash&&e.tokenHash!==o.toString("hex"))return r.push("Token hash mismatch"),{valid:!1,errors:r};var a=e.proof.jws.split(".");if(a.length!==3||!a[2])return r.push("Malformed JWS"),{valid:!1,errors:r};var s=tH.fromDER(f.Buffer.from(a[2],"base64url")),u=new lE;return u.hashbuf=o,u.sig=s,u.pubkey=i,u.verify()||r.push("Signature verification failed"),{valid:r.length===0,errors:r,tokenHash:o.toString("hex"),verifiedAt:new Date().toISOString()}}catch(c){return r.push(c.message),{valid:!1,errors:r}}},_signToken:function(e,t){var r=this._canonicalizeToken(e),i=fE.sha256(f.Buffer.from(r)),n=new lE;n.hashbuf=i,n.privkey=t,n.pubkey=t.toPublicKey(),n.sign();var o=n.sig,a={type:"EcdsaSecp256k1Signature2019",created:new Date().toISOString(),verificationMethod:"did:smartledger:"+t.toPublicKey().toString()+"#keys-1",proofPurpose:"assertionMethod",jws:this._createJWS(i,o)},s=JSON.parse(JSON.stringify(e));return s.proof=a,s.tokenHash=i.toString("hex"),s},_createJWS:function(e,t){var r={alg:"ES256K",typ:"JWT"},i=f.Buffer.from(JSON.stringify(r)).toString("base64url"),n=t.toDER().toString("base64url");return i+".."+n},_canonicalizeToken:function(e){var t=JSON.parse(JSON.stringify(e));return delete t.proof,delete t.tokenHash,JSON.stringify(this._sortObjectKeys(t))},_sortObjectKeys:function(e){if(Array.isArray(e))return e.map(this._sortObjectKeys.bind(this));if(e!==null&&typeof e=="object"){var t={};return Object.keys(e).sort().forEach(function(r){t[r]=this._sortObjectKeys(e[r])}.bind(this)),t}return e},_validateTokenStructure:function(e,t){e["@context"]||t.push("Missing @context"),e.id||t.push("Missing id"),(!e.type||!Array.isArray(e.type))&&t.push("Missing or invalid type"),e.issuer||t.push("Missing issuer"),e.issuanceDate||t.push("Missing issuanceDate"),e.credentialSubject||t.push("Missing credentialSubject"),e.proof||t.push("Missing proof")},_verifyTokenSignature:function(e,t,r){try{if(!e.proof||!e.proof.jws){t.push("Missing signature proof");return}var i=this._canonicalizeToken(e),n=fE.sha256(f.Buffer.from(i));if(e.tokenHash&&e.tokenHash!==n.toString("hex")){t.push("Token hash mismatch");return}var o=rH(e,r);if(!o){t.push("Signature not verified: issuer public key could not be resolved from token.issuer; pass options.issuerPublicKey");return}var a=e.proof.jws.split(".");if(a.length!==3||!a[2]){t.push("Malformed JWS");return}var s=tH.fromDER(f.Buffer.from(a[2],"base64url")),u=new lE;u.hashbuf=n,u.sig=s,u.pubkey=o,u.verify()!==!0&&t.push("Signature verification failed")}catch(c){t.push("Signature verification failed: "+c.message)}},_validateTokenTemporal:function(e,t,r){var i=new Date,n=new Date(e.issuanceDate);if(n>i&&t.push("Token issued in the future"),e.credentialSubject.validFrom){var o=new Date(e.credentialSubject.validFrom);i<o&&r.push("Token not yet valid")}if(e.credentialSubject.validUntil){var a=new Date(e.credentialSubject.validUntil);i>a&&t.push("Token expired")}},_validateRightType:function(e,t){if(!e.credentialSubject.rightType){t.push("Missing rightType");return}var r=Object.values(kf);r.includes(e.credentialSubject.rightType)||t.push("Invalid right type: "+e.credentialSubject.rightType)},_validateJurisdiction:function(e,t,r){if(!e.credentialSubject.jurisdiction){r.push("Missing jurisdiction");return}t&&Array.isArray(t)&&(t.includes(e.credentialSubject.jurisdiction)||r.push("Jurisdiction not allowed: "+e.credentialSubject.jurisdiction))},_generateUUID:function(){return PQ.uuid4()}};iH.RightTypes=kf;nH.exports=iH});var sH=T((zle,aH)=>{"use strict";g();var Bf=Le(),Fi=Ie(),RQ=od(),kQ=jc(),BQ=ts(),Mu={PropertyTitle:{title:"Property Title",description:"Real estate property ownership title",type:"object",required:["propertyId","address","ownershipType"],properties:{propertyId:{type:"string",description:"Unique property identifier"},address:{type:"object",required:["street","city","state","country"],properties:{street:{type:"string"},city:{type:"string"},state:{type:"string"},country:{type:"string"},postalCode:{type:"string"}}},ownershipType:{type:"string",enum:["fee_simple","leasehold","joint_tenancy","tenancy_in_common"]},titleNumber:{type:"string"},registeredDate:{type:"string",format:"date-time"},legalDescription:{type:"string"},encumbrances:{type:"array",items:{type:"object",properties:{type:{type:"string"},amount:{type:"number"},description:{type:"string"}}}}}},VehicleTitle:{title:"Vehicle Title",description:"Motor vehicle ownership title",type:"object",required:["vin","make","model","year"],properties:{vin:{type:"string",pattern:"^[A-HJ-NPR-Z0-9]{17}$",description:"Vehicle Identification Number"},make:{type:"string"},model:{type:"string"},year:{type:"integer",minimum:1900,maximum:2030},titleNumber:{type:"string"},registeredState:{type:"string"},mileage:{type:"integer",minimum:0},color:{type:"string"},fuelType:{type:"string",enum:["gasoline","diesel","electric","hybrid","other"]},liens:{type:"array",items:{type:"object",properties:{lienholderName:{type:"string"},lienAmount:{type:"number"},lienDate:{type:"string",format:"date"}}}}}},PromissoryNote:{title:"Promissory Note",description:"Legal promise to pay a specified amount",type:"object",required:["principal","interestRate","maturityDate","borrower","lender"],properties:{principalAmount:{type:"number",minimum:0,description:"Principal amount in base currency units"},currency:{type:"string",default:"USD"},interestRate:{type:"number",minimum:0,maximum:100,description:"Annual interest rate percentage"},maturityDate:{type:"string",format:"date",description:"Date when principal and interest are due"},payee:{type:"string",description:"DID of the payee (creditor)"},payor:{type:"string",description:"DID of the payor (debtor)"},paymentSchedule:{type:"string",enum:["lump_sum","monthly","quarterly","annually"]},collateral:{type:"array",items:{type:"object",properties:{description:{type:"string"},value:{type:"number"},type:{type:"string"}}}},defaultProvisions:{type:"string"},governingLaw:{type:"string"}}},IntellectualProperty:{title:"Intellectual Property",description:"Intellectual property rights and licensing",type:"object",required:["ipType","title","registrationNumber"],properties:{ipType:{type:"string",enum:["patent","trademark","copyright","trade_secret"]},title:{type:"string"},creator:{type:"string",description:"Creator DID"},registrationNumber:{type:"string"},registrationDate:{type:"string",format:"date"},expirationDate:{type:"string",format:"date"},jurisdiction:{type:"string"},description:{type:"string"},claims:{type:"array",items:{type:"string"}},priorArt:{type:"array",items:{type:"object",properties:{reference:{type:"string"},date:{type:"string",format:"date"},relevance:{type:"string"}}}}}},ProfessionalLicense:{title:"Professional License",description:"Professional practice license or certification",type:"object",required:["licenseType","licenseNumber","issuingAuthority","expirationDate"],properties:{licenseType:{type:"string"},licenseNumber:{type:"string"},issuingAuthority:{type:"string"},licensee:{type:"string",description:"Licensee DID"},issueDate:{type:"string",format:"date"},expirationDate:{type:"string",format:"date"},renewalDate:{type:"string",format:"date"},jurisdiction:{type:"string"},scope:{type:"string"},restrictions:{type:"array",items:{type:"string"}},continuing_education:{type:"object",properties:{hours_required:{type:"integer"},deadline:{type:"string",format:"date"},completed_hours:{type:"integer"}}}}},MusicLicense:{title:"Music License",description:"Music performance and usage licensing",type:"object",required:["songTitle","artist","licenseType","royaltyRate"],properties:{workTitle:{type:"string"},composer:{type:"string",description:"Composer DID"},performer:{type:"string",description:"Performer DID"},licenseType:{type:"string",enum:["mechanical","performance","synchronization","master_use"]},territory:{type:"string"},duration:{type:"string"},royaltyRate:{type:"number",minimum:0,maximum:100},advancePayment:{type:"number",minimum:0},exclusivity:{type:"boolean"},mediaTypes:{type:"array",items:{type:"string",enum:["cd","vinyl","digital","streaming","broadcast","film","tv"]}},usage_restrictions:{type:"string"},copyrightNotice:{type:"string"}}}},NQ={prepareClaimValidation:function(e,t){try{Fi.checkArgument(e&&typeof e=="object","Invalid claim"),Fi.checkArgument(typeof t=="string","Schema name must be string");var r=Mu[t];if(!r)return{success:!1,error:"Unknown schema: "+t};var i=[],n=[];this._validateObject(e,r,"",i,n);var o={valid:i.length===0,errors:i,warnings:n,schema:t,claimHash:Bf.sha256(f.Buffer.from(this._canonicalizeWith(e,this.CANONICALIZATION.LEGACY))).toString("hex"),canonical:this._canonicalizeWith(e,this.CANONICALIZATION.LEGACY)};return{success:!0,validation:o,claim:e,schema:r,externalOperations:{store:{endpoint:"POST /claims/validate",data:{claim:e,validation:o,schema:t}},index:{endpoint:"POST /claims/index",data:{claimHash:o.claimHash,schemaName:t,valid:o.valid}}}}}catch(a){return{success:!1,error:"Validation preparation failed: "+a.message}}},prepareClaimAttestation:function(e,t,r){try{Fi.checkArgument(e&&typeof e=="object","Invalid claim"),Fi.checkArgument(typeof t=="string","Schema name must be string"),Fi.checkArgument(r&&typeof r=="object","Invalid attestor");var i=this.prepareClaimValidation(e,t);if(!i.success||!i.validation.valid)return{success:!1,error:"Cannot attest invalid claim",validation:i};var n={type:"LTP_CLAIM_ATTESTATION",claimHash:i.validation.claimHash,schemaName:t,attestor:{did:r.did||r.id,name:r.name||"Unknown",authority:r.authority||null,jurisdiction:r.jurisdiction||null},attestedAt:new Date().toISOString(),confidence:r.confidence||100,evidence:r.evidence||null,notes:r.notes||null},o=Bf.sha256(f.Buffer.from(this._canonicalizeWith(n,this.CANONICALIZATION.LEGACY))).toString("hex");return n.attestationHash=o,{success:!0,attestation:n,claim:e,validation:i.validation,externalOperations:{storeAttestation:{endpoint:"POST /claims/"+i.validation.claimHash+"/attestations",data:n},notifyStakeholders:{endpoint:"POST /notifications/claim-attested",data:{claimHash:i.validation.claimHash,attestorDid:n.attestor.did,attestationHash:o}}}}}catch(a){return{success:!1,error:"Attestation preparation failed: "+a.message}}},prepareClaimDispute:function(e,t,r){try{Fi.checkArgument(typeof e=="string","Claim hash must be string"),Fi.checkArgument(t&&typeof t=="object","Invalid disputant"),Fi.checkArgument(r&&typeof r=="object","Invalid dispute");var i={type:"LTP_CLAIM_DISPUTE",claimHash:e,disputant:{did:t.did||t.id,name:t.name||"Unknown",jurisdiction:t.jurisdiction||null},dispute:{reason:r.reason||"UNSPECIFIED",category:r.category||"ACCURACY",description:r.description||"",evidence:r.evidence||null,requestedAction:r.requestedAction||"REVIEW"},disputedAt:new Date().toISOString(),status:"FILED",priority:r.priority||"NORMAL"},n=Bf.sha256(f.Buffer.from(this._canonicalizeWith(i,this.CANONICALIZATION.LEGACY))).toString("hex");return i.disputeHash=n,{success:!0,dispute:i,disputeId:this._generateDisputeId(e),externalOperations:{fileDispute:{endpoint:"POST /claims/"+e+"/disputes",data:i},notifyStakeholders:{endpoint:"POST /notifications/claim-disputed",data:{claimHash:e,disputantDid:i.disputant.did,disputeHash:n}},escalate:{endpoint:"POST /disputes/escalate",data:{disputeHash:n,priority:i.priority}}}}}catch(o){return{success:!1,error:"Dispute preparation failed: "+o.message}}},prepareBulkClaimValidation:function(e,t){try{Fi.checkArgument(Array.isArray(e),"Claims must be array"),Fi.checkArgument(typeof t=="string","Schema name must be string");var r=[],i=[],n=0;e.forEach(function(s,u){try{var c=this.prepareClaimValidation(s,t);c.success&&c.validation.valid&&n++,r.push({index:u,result:c})}catch(l){i.push({index:u,error:l.message})}}.bind(this));var o=this._generateBatchId(),a=Bf.sha256(f.Buffer.from(JSON.stringify(r.map(s=>s.result.validation.claimHash)))).toString("hex");return{success:!0,batchId:o,batchHash:a,totalClaims:e.length,validClaims:n,invalidClaims:e.length-n,validations:r,errors:i,externalOperations:{storeBatch:{endpoint:"POST /claims/batch-validate",data:{batchId:o,batchHash:a,schemaName:t,validations:r}},generateReport:{endpoint:"POST /reports/bulk-validation",data:{batchId:o,summary:{total:e.length,valid:n,invalid:e.length-n}}}}}}catch(s){return{success:!1,error:"Bulk validation preparation failed: "+s.message}}},CANONICALIZATION:{JCS:"jcs",LEGACY:"legacy"},canonicalize:function(e,t){return this._canonicalizeWith(e,this._resolveCanonicalization(t,"LTP.Claim.canonicalize"))},hash:function(e,t){var r=this._canonicalizeWith(e,this._resolveCanonicalization(t,"LTP.Claim.hash"));return Bf.sha256(f.Buffer.from(r)).toString("hex")},_canonicalizeWith:function(e,t){if(Fi.checkArgument(e&&typeof e=="object","Invalid claim"),t===this.CANONICALIZATION.JCS)return kQ.stringify(e);var r=this._sortObjectKeys(e);return JSON.stringify(r)},_resolveCanonicalization:function(e,t){return e===void 0?(BQ({what:t+"() without a canonicalization argument",since:"9.2.0",removeIn:"10.0.0",use:t+"(claim, bsv.LTP.Claim.CANONICALIZATION.JCS)",why:"the default sorted-key form is not RFC 8785, so other implementations compute a different claim hash"}),this.CANONICALIZATION.LEGACY):(Fi.checkArgument(e===this.CANONICALIZATION.JCS||e===this.CANONICALIZATION.LEGACY,"Unknown canonicalization: "+e+". Expected 'jcs' or 'legacy' (bsv.LTP.Claim.CANONICALIZATION)"),e)},prepareClaimTemplate:function(e,t){t=t||{};try{var r=Mu[e];if(!r)return{success:!1,error:"Unknown schema: "+e};var i=this._createTemplateFromSchema(r),n=this._generateFormStructure(r);return{success:!0,schemaName:e,template:i,schema:r,formStructure:n,validation:{required:r.required||[],patterns:this._extractPatterns(r),enums:this._extractEnums(r)},externalOperations:{generateForm:{endpoint:"POST /forms/generate",data:{schemaName:e,formStructure:n,template:i}},saveTemplate:{endpoint:"POST /templates/claim",data:{schemaName:e,template:i,customizations:t.customizations||{}}}}}}catch(o){return{success:!1,error:"Template preparation failed: "+o.message}}},getSchemas:function(){return Mu},getSchemaNames:function(){return Object.keys(Mu)},getSchema:function(e){return Mu[e]||null},addSchema:function(e,t){Fi.checkArgument(typeof e=="string","Schema name must be string"),Fi.checkArgument(t&&typeof t=="object","Invalid schema"),Mu[e]=t},createTemplate:function(e){var t=Mu[e];if(!t)throw new Error("Unknown schema: "+e);return this._createTemplateFromSchema(t)},_generateDisputeId:function(e){var t="dispute_"+e+"_"+Date.now();return Bf.sha256(f.Buffer.from(t)).toString("hex").substring(0,16)},_generateBatchId:function(){return RQ.randomHex(16)},_generateFormStructure:function(e){var t={type:"form",title:e.title||"Legal Claim Form",description:e.description||"",fields:[]};return e.properties&&Object.keys(e.properties).forEach(function(r){var i=e.properties[r],n={name:r,label:this._humanizeFieldName(r),type:this._mapSchemaTypeToFormType(i),required:e.required&&e.required.includes(r),validation:this._extractFieldValidation(i)};i.enum&&(n.options=i.enum.map(function(o){return{value:o,label:this._humanizeValue(o)}}.bind(this))),t.fields.push(n)}.bind(this)),t},_extractPatterns:function(e){var t={};return e.properties&&Object.keys(e.properties).forEach(function(r){var i=e.properties[r];i.pattern&&(t[r]=i.pattern)}),t},_extractEnums:function(e){var t={};return e.properties&&Object.keys(e.properties).forEach(function(r){var i=e.properties[r];i.enum&&(t[r]=i.enum)}),t},_mapSchemaTypeToFormType:function(e){switch(e.type){case"string":return e.enum?"select":e.format==="date"?"date":e.format==="date-time"?"datetime":"text";case"number":case"integer":return"number";case"boolean":return"checkbox";case"array":return"list";case"object":return"fieldset";default:return"text"}},_extractFieldValidation:function(e){var t={};return e.pattern&&(t.pattern=e.pattern),e.minimum!==void 0&&(t.min=e.minimum),e.maximum!==void 0&&(t.max=e.maximum),e.format&&(t.format=e.format),t},_humanizeFieldName:function(e){return e.replace(/([A-Z])/g," $1").replace(/^./,function(t){return t.toUpperCase()}).replace(/_/g," ")},_humanizeValue:function(e){return e.replace(/_/g," ").replace(/\b\w/g,function(t){return t.toUpperCase()})},_validateObject:function(e,t,r,i,n){t.type==="object"?(t.required&&Array.isArray(t.required)&&t.required.forEach(function(o){e.hasOwnProperty(o)||i.push("Missing required field: "+this._getFieldPath(r,o))}.bind(this)),t.properties&&Object.keys(e).forEach(function(o){var a=this._getFieldPath(r,o),s=t.properties[o];s?this._validateValue(e[o],s,a,i,n):n.push("Unknown field: "+a)}.bind(this))):this._validateValue(e,t,r,i,n)},_validateValue:function(e,t,r,i,n){if(t.type){var o=Array.isArray(e)?"array":typeof e;if(o!==t.type){i.push("Invalid type for "+r+": expected "+t.type+", got "+o);return}}if(t.type==="string"&&(t.pattern&&!new RegExp(t.pattern).test(e)&&i.push("Value does not match pattern for "+r),t.enum&&!t.enum.includes(e)&&i.push("Invalid enum value for "+r+": "+e),t.format==="date"&&!this._isValidDate(e)&&i.push("Invalid date format for "+r),t.format==="date-time"&&!this._isValidDateTime(e)&&i.push("Invalid date-time format for "+r)),(t.type==="number"||t.type==="integer")&&(t.minimum!==void 0&&e<t.minimum&&i.push("Value below minimum for "+r+": "+e+" < "+t.minimum),t.maximum!==void 0&&e>t.maximum&&i.push("Value above maximum for "+r+": "+e+" > "+t.maximum),t.type==="integer"&&!Number.isInteger(e)&&i.push("Value must be integer for "+r)),t.type==="array"&&t.items)for(var a=0;a<e.length;a++)this._validateValue(e[a],t.items,r+"["+a+"]",i,n);t.type==="object"&&this._validateObject(e,t,r,i,n)},_sortObjectKeys:function(e){if(Array.isArray(e))return e.map(this._sortObjectKeys.bind(this));if(e!==null&&typeof e=="object"){var t={};return Object.keys(e).sort().forEach(function(r){t[r]=this._sortObjectKeys(e[r])}.bind(this)),t}return e},_createTemplateFromSchema:function(e){if(e.type==="object"){var t={};return e.properties&&Object.keys(e.properties).forEach(function(r){var i=e.properties[r];t[r]=this._getDefaultValue(i)}.bind(this)),t}return this._getDefaultValue(e)},_getDefaultValue:function(e){if(e.default!==void 0)return e.default;switch(e.type){case"string":return e.enum?e.enum[0]:e.format==="date"?"2023-01-01":e.format==="date-time"?new Date().toISOString():"PLACEHOLDER_STRING";case"number":case"integer":return e.minimum||0;case"boolean":return!1;case"array":return[];case"object":return this._createTemplateFromSchema(e);default:return null}},_getFieldPath:function(e,t){return e?e+"."+t:t},_isValidDate:function(e){var t=new Date(e);return!isNaN(t.getTime())&&e.match(/^\d{4}-\d{2}-\d{2}$/)},_isValidDateTime:function(e){var t=new Date(e);return!isNaN(t.getTime())}};aH.exports=NQ});var cH=T((Vle,uH)=>{"use strict";g();var sd=Le(),Nf=Ie(),CQ={prepareTokenCommitment:function(e,t){t=t||{},Nf.checkArgument(e&&typeof e=="object","Invalid token");try{var r=this._createCommitment(e,t),i=this._formatOpReturn(r,t),n=this._createTxTemplate(i,t);return{success:!0,commitment:r,opReturnData:i,txTemplate:n,preparedAt:new Date().toISOString(),metadata:{tokenId:e.id,purpose:t.purpose||"legal_token_anchor",version:"LTP.v1"}}}catch(o){return{success:!1,error:o.message}}},prepareBatchCommitment:function(e,t){t=t||{},Nf.checkArgument(Array.isArray(e),"Tokens must be array");try{var r=this._createBatchCommitment(e,t),i=this._formatOpReturn(r,t),n=this._createTxTemplate(i,t);return{success:!0,batchCommitment:r,opReturnData:i,txTemplate:n,tokenCount:e.length,preparedAt:new Date().toISOString(),metadata:{purpose:t.purpose||"legal_token_batch_anchor",version:"LTP.v1"}}}catch(o){return{success:!1,error:o.message}}},verifyTokenAnchor:function(e,t,r){Nf.checkArgument(e&&typeof e=="object","Invalid token"),Nf.checkArgument(typeof t=="string","Transaction ID must be string");try{var i=this._createCommitment(e,{}),n=this._extractOpReturn(r);if(!n)return{valid:!1,error:"No OP_RETURN data found in transaction"};var o=this._verifyCommitment(i,n);return{valid:o,chainVerified:!1,txid:t,commitment:i,anchorData:n,verifiedAt:new Date().toISOString()}}catch(a){return{valid:!1,error:a.message}}},formatRevocation:function(e,t){Nf.checkArgument(typeof e=="string","Token ID must be string"),Nf.checkArgument(t&&typeof t=="object","Invalid revocation data");try{var r={type:"LTP_REVOCATION",tokenId:e,reason:t.reason||"UNSPECIFIED",revokedBy:t.revokedBy||"UNKNOWN",revokedAt:new Date().toISOString(),effectiveDate:t.effectiveDate||new Date().toISOString(),legalBasis:t.legalBasis||null,evidence:t.evidence||null},i=sd.sha256(f.Buffer.from(JSON.stringify(r))).toString("hex");return{success:!0,revocation:r,revocationHash:i,opReturnData:this._formatOpReturn({hash:i,type:"REVOCATION"},{})}}catch(n){return{success:!1,error:n.message}}},_createCommitment:function(e,t){var r=this._canonicalizeToken(e),i={type:"LTP_TOKEN",tokenHash:sd.sha256(f.Buffer.from(r)).toString("hex"),tokenId:e.id,timestamp:new Date().toISOString(),purpose:t.purpose||"legal_token"},n=sd.sha256(f.Buffer.from(JSON.stringify(i))).toString("hex");return{hash:n,data:i,canonical:r}},_createBatchCommitment:function(e,t){var r=[],i=[];e.forEach(function(s){var u=this._createCommitment(s,t);r.push(u.hash),i.push(s.id)}.bind(this));var n=this._createMerkleRoot(r),o={type:"LTP_BATCH",merkleRoot:n,tokenCount:e.length,tokenIds:i,timestamp:new Date().toISOString(),purpose:t.purpose||"batch_anchor"},a=sd.sha256(f.Buffer.from(JSON.stringify(o))).toString("hex");return{hash:a,data:o,merkleRoot:n,tokenHashes:r}},_formatOpReturn:function(e,t){var r=t.prefix||"LTP.v1",i=e.hash;return{prefix:r,data:i,full:r+"."+i,bytes:f.Buffer.from(r+"."+i,"utf8"),size:f.Buffer.from(r+"."+i,"utf8").length}},_createTxTemplate:function(e,t){try{var r={version:1,inputs:[],outputs:[{satoshis:0,script:"OP_RETURN "+e.data}],locktime:0};return t.feeOutput&&r.outputs.push(t.feeOutput),{template:r,opReturn:e,estimatedSize:this._estimateSize(r),instructions:{step1:"Add input UTXOs to cover fees",step2:"Add change output if needed",step3:"Sign transaction with appropriate keys",step4:"Broadcast to BSV network"}}}catch(i){throw new Error("Failed to create transaction template: "+i.message)}},_extractOpReturn:function(e){try{if(!e||!e.outputs)return null;for(var t=0;t<e.outputs.length;t++){var r=e.outputs[t];if(r.script&&r.script.startsWith("OP_RETURN")){var i=r.script.replace("OP_RETURN ","");return{raw:i,decoded:f.Buffer.from(i,"hex").toString("utf8")}}}return null}catch{return null}},_verifyCommitment:function(e,t){try{return!t||!t.decoded?!1:t.decoded.includes(e.hash)}catch{return!1}},_canonicalizeToken:function(e){var t=JSON.parse(JSON.stringify(e));return delete t.proof,delete t.tokenHash,delete t.anchorTx,delete t.anchorBlock,JSON.stringify(this._sortObjectKeys(t))},_createMerkleRoot:function(e){if(e.length===0)return null;if(e.length===1)return e[0];for(var t=e.slice();t.length>1;){for(var r=[],i=0;i<t.length;i+=2){var n=t[i],o=t[i+1]||n,a=f.Buffer.concat([f.Buffer.from(n,"hex"),f.Buffer.from(o,"hex")]),s=sd.sha256(a).toString("hex");r.push(s)}t=r}return t[0]},_estimateSize:function(e){var t=10,r=e.outputs.length*34,i=148;return{base:t+r,withOneInput:t+r+i,bytesPerInput:i}},_sortObjectKeys:function(e){if(Array.isArray(e))return e.map(this._sortObjectKeys.bind(this));if(e!==null&&typeof e=="object"){var t={};return Object.keys(e).sort().forEach(function(r){t[r]=this._sortObjectKeys(e[r])}.bind(this)),t}return e}};uH.exports=CQ});var hH=T((Wle,lH)=>{"use strict";g();var LQ=sr(),Wn=Le(),fH=dn(),MQ=gt(),DQ=ei(),Ri=Ie(),HQ={prepareSignatureProof:function(e,t,r){r=r||{},Ri.checkArgument(e&&typeof e=="object","Invalid token"),Ri.checkArgument(t instanceof DQ,"Invalid private key");try{var i=this._canonicalizeForSigning(e),n=Wn.sha256(f.Buffer.from(i)),o=new fH;o.hashbuf=n,o.privkey=t,o.pubkey=t.toPublicKey(),o.sign();var a=o.sig,s={type:"EcdsaSecp256k1Signature2019",created:new Date().toISOString(),verificationMethod:"did:smartledger:"+t.toPublicKey().toString()+"#keys-1",proofPurpose:r.purpose||"assertionMethod",jws:this._createJWS(n,a),proofValue:a.toDER().toString("hex")};return{success:!0,proof:s,tokenHash:n.toString("hex"),canonical:i,signingKey:{publicKey:t.toPublicKey().toString(),keyId:"did:smartledger:"+t.toPublicKey().toString()+"#keys-1"},externalOperations:{storeProof:{endpoint:"POST /proofs/signature",data:{tokenHash:n.toString("hex"),proof:s,signingKey:t.toPublicKey().toString()}},verifyProof:{endpoint:"POST /proofs/verify-signature",data:{tokenHash:n.toString("hex"),signature:a.toDER().toString("hex"),publicKey:t.toPublicKey().toString()}}}}}catch(u){return{success:!1,error:u.message}}},prepareSignatureVerification:function(e,t){try{if(Ri.checkArgument(e&&typeof e=="object","Invalid token"),Ri.checkArgument(typeof t=="string","Public key must be string"),!e.proof)return{success:!1,error:"No proof found in token"};var r=this._canonicalizeForSigning(e),i=Wn.sha256(f.Buffer.from(r)),n=MQ.fromDER(f.Buffer.from(e.proof.proofValue,"hex")),o={tokenHash:i.toString("hex"),signature:n.toDER().toString("hex"),publicKey:t,proof:e.proof,canonical:r},a=new fH;a.hashbuf=i,a.sig=n,a.pubkey=LQ.fromString(t);var s=a.verify()===!0;return{success:!0,verification:{valid:s,tokenHash:i.toString("hex"),signatureValid:s,publicKey:t,verifiedAt:new Date().toISOString()},verificationData:o,externalOperations:{recordVerification:{endpoint:"POST /proofs/verification-record",data:{tokenHash:i.toString("hex"),result:s,publicKey:t,verifiedAt:new Date().toISOString()}},auditVerification:{endpoint:"POST /audit/proof-verification",data:{tokenId:e.id,proofType:e.proof.type,result:s,verifier:t}}}}}catch(u){return{success:!1,error:u.message}}},prepareSelectiveDisclosure:function(e,t,r){Ri.checkArgument(e&&typeof e=="object","Invalid token"),Ri.checkArgument(Array.isArray(t),"Revealed fields must be array"),Ri.checkArgument(typeof r=="string","Nonce must be string");try{var i=this._createFieldCommitments(e,r),n=this._createMerkleTree(i),o=[],a=[];t.forEach(function(u){var c=this._getNestedValue(e,u),l=this._findFieldCommitment(i,u);if(l){o.push({path:u,value:c,commitment:l.hash,salt:l.salt});var p=this._generateMerkleProof(n,l.index);a.push({path:u,leafIndex:l.index,proof:p})}}.bind(this));var s={type:"LegalTokenSelectiveDisclosure",created:new Date().toISOString(),proofPurpose:"selectiveDisclosure",verificationMethod:e.proof?e.proof.verificationMethod:null,nonce:r,merkleRoot:n.root,disclosures:o,merkleProofs:a,totalFields:i.length};return{success:!0,proof:s,hiddenFieldCount:i.length-o.length,revealedFieldCount:o.length,externalOperations:{storeDisclosure:{endpoint:"POST /proofs/selective-disclosure",data:{tokenId:e.id,proof:s,merkleRoot:n.root}},verifyDisclosure:{endpoint:"POST /proofs/verify-disclosure",data:{proof:s,expectedNonce:r}},auditDisclosure:{endpoint:"POST /audit/selective-disclosure",data:{tokenId:e.id,revealedFields:t,totalFields:i.length,disclosedAt:new Date().toISOString()}}}}}catch(u){return{success:!1,error:u.message}}},prepareSelectiveDisclosureVerification:function(e,t){try{if(Ri.checkArgument(e&&typeof e=="object","Invalid proof"),Ri.checkArgument(typeof t=="string","Expected nonce must be string"),e.nonce!==t)return{success:!1,error:"Nonce mismatch"};var r=[],i=[];e.disclosures.forEach(function(o,a){var s=e.merkleProofs[a],u=this._hashField(o.path,o.value,o.salt);if(u!==o.commitment){i.push("Invalid commitment for field: "+o.path);return}var c=this._verifyMerkleProof(o.commitment,s.leafIndex,s.proof,e.merkleRoot);c?r.push({path:o.path,value:o.value,verified:!0}):i.push("Invalid Merkle proof for field: "+o.path)}.bind(this));var n={valid:i.length===0,errors:i,disclosures:r,merkleRoot:e.merkleRoot,totalFields:e.totalFields,verifiedAt:new Date().toISOString()};return{success:!0,verification:n,externalOperations:{recordVerification:{endpoint:"POST /proofs/disclosure-verification",data:{proofId:e.id||"unknown",result:n.valid,verifiedFields:r.length,totalFields:e.totalFields,verifiedAt:n.verifiedAt}},auditVerification:{endpoint:"POST /audit/disclosure-verification",data:{merkleRoot:e.merkleRoot,disclosuresVerified:r.length,errors:i.length,result:n.valid}}}}}catch(o){return{success:!1,error:o.message}}},prepareLegalValidityProof:function(e,t,r){Ri.checkArgument(e&&typeof e=="object","Invalid token"),Ri.checkArgument(t&&typeof t=="object","Invalid jurisdiction"),Ri.checkArgument(typeof r=="string","Nonce must be string");try{var i=t.requirements||[],n=[],o=!0;i.forEach(function(s){var u=this._checkLegalRequirement(e,s);n.push(u),u.satisfied||(o=!1)}.bind(this));var a={type:"LegalValidityProof",created:new Date().toISOString(),proofPurpose:"legalValidity",jurisdiction:t.code,nonce:r,valid:o,checks:n,complianceHash:this._hashCompliance(e,t,r)};return{success:!0,proof:a,valid:o,complianceReport:{jurisdiction:t.code,totalRequirements:i.length,satisfiedRequirements:n.filter(s=>s.satisfied).length,failedRequirements:n.filter(s=>!s.satisfied).length,overallCompliance:o},externalOperations:{submitCompliance:{endpoint:"POST /compliance/legal-validity",data:{tokenId:e.id,jurisdiction:t.code,proof:a,complianceReport:{jurisdiction:t.code,totalRequirements:i.length,satisfiedRequirements:n.filter(s=>s.satisfied).length,failedRequirements:n.filter(s=>!s.satisfied).length,overallCompliance:o}}},auditCompliance:{endpoint:"POST /audit/compliance-check",data:{tokenId:e.id,jurisdiction:t.code,result:o,checkedAt:new Date().toISOString(),requirements:n}},notifyRegulator:o?null:{endpoint:"POST /notifications/compliance-failure",data:{tokenId:e.id,jurisdiction:t.code,failedRequirements:n.filter(s=>!s.satisfied)}}}}}catch(s){return{success:!1,error:s.message}}},prepareZeroKnowledgeProof:function(e,t,r){Ri.checkArgument(e&&typeof e=="object","Invalid token"),Ri.checkArgument(t&&typeof t=="object","Invalid statement"),Ri.checkArgument(typeof r=="string","Nonce must be string");try{var i=Wn.sha256(f.Buffer.from(this._canonicalizeForSigning(e)+r)).toString("hex"),n={type:"LegalTokenZKProof",created:new Date().toISOString(),proofPurpose:"zeroKnowledge",statement:{claim:t.claim||"UNSPECIFIED",predicate:t.predicate||"SATISFIES",threshold:t.threshold||null},commitment:i,nonce:r,proofData:this._generateZKProofData(e,t,r)};return{success:!0,proof:n,commitment:i,externalOperations:{storeZKProof:{endpoint:"POST /proofs/zero-knowledge",data:{tokenId:e.id,proof:n,statement:t}},verifyZKProof:{endpoint:"POST /proofs/verify-zk",data:{proof:n,expectedNonce:r}},auditZKProof:{endpoint:"POST /audit/zk-proof",data:{tokenId:e.id,statement:t.claim,proofGenerated:new Date().toISOString()}}}}}catch(o){return{success:!1,error:o.message}}},_generateZKProofData:function(e,t,r){var i={challenge:Wn.sha256(f.Buffer.from(t.claim+r)).toString("hex"),response:Wn.sha256(f.Buffer.from(this._canonicalizeForSigning(e)+t.claim)).toString("hex"),witness:Wn.sha256(f.Buffer.from(r+e.id+t.predicate)).toString("hex")};return i},_createJWS:function(e,t){var r={alg:"ES256K",typ:"JWT"},i=f.Buffer.from(JSON.stringify(r)).toString("base64url"),n=e.toString("base64url"),o=t.toDER().toString("base64url");return i+".."+o},_canonicalizeForSigning:function(e){var t=JSON.parse(JSON.stringify(e));delete t.proof,delete t.tokenHash;var r=this._sortObjectKeys(t);return JSON.stringify(r)},_createFieldCommitments:function(e,t){var r=[],i=0;return this._traverseObject(e,"",function(n,o){if(n!=="proof"&&n!=="tokenHash"){var a=Wn.sha256(f.Buffer.from(t+n+i)).toString("hex"),s=this._hashField(n,o,a);r.push({path:n,value:o,salt:a,hash:s,index:i}),i++}}.bind(this)),r},_hashField:function(e,t,r){var i=e+":"+JSON.stringify(t)+":"+r;return Wn.sha256(f.Buffer.from(i)).toString("hex")},_createMerkleTree:function(e){var t=e.map(function(l){return l.hash});if(t.length===0)return{root:null,levels:[]};for(var r=[t],i=t;i.length>1;){for(var n=[],o=0;o<i.length;o+=2){var a=i[o],s=i[o+1]||a,u=f.Buffer.concat([f.Buffer.from(a,"hex"),f.Buffer.from(s,"hex")]),c=Wn.sha256(u).toString("hex");n.push(c)}r.push(n),i=n}return{root:i[0],levels:r}},_generateMerkleProof:function(e,t){for(var r=[],i=t,n=0;n<e.levels.length-1;n++){var o=e.levels[n],a=i%2===0,s=a?i+1:i-1;s<o.length&&r.push({hash:o[s],isLeft:!a}),i=Math.floor(i/2)}return r},_verifyMerkleProof:function(e,t,r,i){for(var n=e,o=t,a=0;a<r.length;a++){var s=r[a],u=o%2===0,c;s.isLeft?c=f.Buffer.concat([f.Buffer.from(s.hash,"hex"),f.Buffer.from(n,"hex")]):c=f.Buffer.concat([f.Buffer.from(n,"hex"),f.Buffer.from(s.hash,"hex")]),n=Wn.sha256(c).toString("hex"),o=Math.floor(o/2)}return n===i},_traverseObject:function(e,t,r){Array.isArray(e)?e.forEach(function(i,n){var o=t+"["+n+"]";this._traverseObject(i,o,r)}.bind(this)):e!==null&&typeof e=="object"?Object.keys(e).forEach(function(i){var n=t?t+"."+i:i;this._traverseObject(e[i],n,r)}.bind(this)):r(t,e)},_getNestedValue:function(e,t){return t.split(".").reduce(function(r,i){return r&&r[i]},e)},_findFieldCommitment:function(e,t){return e.find(function(r){return r.path===t})},_checkLegalRequirement:function(e,t){switch(t.type){case"field_present":var r=this._getNestedValue(e,t.field);return{requirement:t.type,field:t.field,satisfied:r!=null};case"field_value":var r=this._getNestedValue(e,t.field);return{requirement:t.type,field:t.field,satisfied:r===t.expectedValue};case"temporal_validity":var i=new Date,n=new Date(e.issuanceDate);return{requirement:t.type,satisfied:n<=i};default:return{requirement:t.type,satisfied:!1,error:"Unknown requirement type"}}},_hashCompliance:function(e,t,r){var i={tokenId:e.id,jurisdiction:t.code,nonce:r,timestamp:new Date().toISOString()};return Wn.sha256(f.Buffer.from(JSON.stringify(i))).toString("hex")},_sortObjectKeys:function(e){if(Array.isArray(e))return e.map(this._sortObjectKeys.bind(this));if(e!==null&&typeof e=="object"){var t={};return Object.keys(e).sort().forEach(function(r){t[r]=this._sortObjectKeys(e[r])}.bind(this)),t}return e}};lH.exports=HQ});var gH=T((Xle,pH)=>{"use strict";g();var ud=Le(),Zle=Ni(),$le=zt(),ji=Ie(),dH=od(),qQ={prepareRegistry:function(e){e=e||{},ji.checkArgument(typeof e=="object","Config must be object");var t={id:e.id||this._generateRegistryId(),name:e.name||"Legal Token Registry",jurisdiction:e.jurisdiction||"GLOBAL",authority:e.authority||null,created:new Date().toISOString(),version:"1.0.0",config:{allowPublicRegistration:e.allowPublicRegistration||!1,requireApproval:e.requireApproval||!0,enableRevocation:e.enableRevocation!==!1,enableAuditTrail:e.enableAuditTrail!==!1,retentionPeriod:e.retentionPeriod||"7Y",complianceLevel:e.complianceLevel||"STANDARD"},dataStructure:{tokens:"Map<tokenId, registrationRecord>",revocations:"Map<tokenId, revocationRecord>",auditLog:"Array<auditEntry>",statistics:{totalTokens:0,activeTokens:0,revokedTokens:0,registrations:0}},externalStorage:{required:!0,type:"database_or_blockchain",endpoints:{store:"POST /registry/{id}/tokens",retrieve:"GET /registry/{id}/tokens/{tokenId}",search:"GET /registry/{id}/search",revoke:"POST /registry/{id}/revocations"}}},r=this._prepareAuditEntry({action:"REGISTRY_CREATED",actor:e.authority,timestamp:t.created,metadata:{jurisdiction:t.jurisdiction,config:t.config}});return{success:!0,registry:t,initialAudit:r,instructions:{step1:"Store registry configuration in external system",step2:"Initialize token storage with provided data structure",step3:"Set up audit logging with provided templates",step4:"Configure external endpoints for registry operations"}}},prepareTokenRegistration:function(e,t,r){r=r||{},ji.checkArgument(e&&typeof e=="object","Invalid token"),ji.checkArgument(t&&typeof t=="object","Invalid registry config");try{var i=this._validateTokenForRegistration(e,t);if(!i.valid)return{success:!1,error:"Token validation failed: "+i.error};var n={tokenId:e.id,tokenHash:this._hashToken(e),token:e,status:t.requireApproval?"PENDING":"ACTIVE",registeredBy:r.registeredBy||"UNKNOWN",registeredAt:new Date().toISOString(),approvedBy:null,approvedAt:null,metadata:r.metadata||{},compliance:{jurisdiction:e.jurisdiction||t.jurisdiction,level:this._calculateComplianceLevel(e),checks:i.checks||[]}},o=this._prepareAuditEntry({action:"TOKEN_REGISTERED",actor:r.registeredBy,tokenId:e.id,timestamp:n.registeredAt,metadata:{status:n.status,tokenType:e.type,compliance:n.compliance}});return{success:!0,registrationRecord:n,auditEntry:o,registrationId:this._generateRegistrationId(e.id),validation:i,externalOperations:{store:{endpoint:"POST /registry/"+t.id+"/tokens",data:n},audit:{endpoint:"POST /registry/"+t.id+"/audit",data:o}}}}catch(a){return{success:!1,error:a.message}}},prepareTokenApproval:function(e,t,r){try{ji.checkArgument(typeof e=="string","Token ID must be string"),ji.checkArgument(typeof t=="string","Approver must be string"),ji.checkArgument(r&&typeof r=="object","Invalid registry config");var i={tokenId:e,status:"ACTIVE",approvedBy:t,approvedAt:new Date().toISOString()},n=this._prepareAuditEntry({action:"TOKEN_APPROVED",actor:t,tokenId:e,timestamp:i.approvedAt});return{success:!0,approvalData:i,auditEntry:n,externalOperations:{update:{endpoint:"PUT /registry/"+r.id+"/tokens/"+e+"/status",data:i},audit:{endpoint:"POST /registry/"+r.id+"/audit",data:n}}}}catch(o){return{success:!1,error:o.message}}},prepareTokenRevocation:function(e,t,r){try{if(ji.checkArgument(typeof e=="string","Token ID must be string"),ji.checkArgument(t&&typeof t=="object","Invalid revocation"),ji.checkArgument(r&&typeof r=="object","Invalid registry config"),!r.enableRevocation)return{success:!1,error:"Revocation is disabled for this registry"};var i={tokenId:e,reason:t.reason||"UNSPECIFIED",revokedBy:t.revokedBy||"UNKNOWN",revokedAt:new Date().toISOString(),effectiveDate:t.effectiveDate||new Date().toISOString(),legalBasis:t.legalBasis||null,evidence:t.evidence||null,revocationHash:this._generateRevocationHash(e,t)},n={tokenId:e,status:"REVOKED",revokedAt:i.revokedAt,revocationReason:i.reason},o=this._prepareAuditEntry({action:"TOKEN_REVOKED",actor:t.revokedBy,tokenId:e,timestamp:i.revokedAt,metadata:{reason:i.reason,legalBasis:i.legalBasis}});return{success:!0,revocationRecord:i,statusUpdate:n,auditEntry:o,revocationId:this._generateRevocationId(e),externalOperations:{storeRevocation:{endpoint:"POST /registry/"+r.id+"/revocations",data:i},updateStatus:{endpoint:"PUT /registry/"+r.id+"/tokens/"+e+"/status",data:n},audit:{endpoint:"POST /registry/"+r.id+"/audit",data:o}}}}catch(a){return{success:!1,error:a.message}}},prepareTokenStatusQuery:function(e,t){try{return ji.checkArgument(typeof e=="string","Token ID must be string"),ji.checkArgument(t&&typeof t=="object","Invalid registry config"),{success:!0,query:{tokenId:e,registryId:t.id},externalOperations:{retrieve:{endpoint:"GET /registry/"+t.id+"/tokens/"+e,method:"GET"},checkRevocation:{endpoint:"GET /registry/"+t.id+"/revocations/"+e,method:"GET"}},expectedResponse:{found:"boolean",status:"string (PENDING|ACTIVE|REVOKED)",registeredAt:"ISO datetime",registeredBy:"string",approvedAt:"ISO datetime or null",approvedBy:"string or null",revokedAt:"ISO datetime or null",revocationReason:"string or null",compliance:"object",revocation:"object or null"}}}catch(r){return{success:!1,error:r.message}}},prepareTokenSearch:function(e,t){e=e||{};try{ji.checkArgument(t&&typeof t=="object","Invalid registry config");var r=[];e.status&&r.push("status="+encodeURIComponent(e.status)),e.type&&r.push("type="+encodeURIComponent(e.type)),e.registeredBy&&r.push("registeredBy="+encodeURIComponent(e.registeredBy)),e.jurisdiction&&r.push("jurisdiction="+encodeURIComponent(e.jurisdiction)),e.dateFrom&&r.push("dateFrom="+encodeURIComponent(e.dateFrom)),e.dateTo&&r.push("dateTo="+encodeURIComponent(e.dateTo)),e.includeTokens&&r.push("includeTokens=true"),e.sortBy&&r.push("sortBy="+encodeURIComponent(e.sortBy)),e.sortOrder&&r.push("sortOrder="+encodeURIComponent(e.sortOrder));var i=e.offset||0,n=e.limit||100;r.push("offset="+i),r.push("limit="+n);var o=r.length>0?"?"+r.join("&"):"";return{success:!0,searchCriteria:e,externalOperations:{search:{endpoint:"GET /registry/"+t.id+"/search"+o,method:"GET"}},expectedResponse:{success:"boolean",results:"Array<tokenRecord>",totalCount:"number",totalRegistrations:"number",offset:"number",limit:"number",hasMore:"boolean"}}}catch(a){return{success:!1,error:a.message}}},prepareStatisticsQuery:function(e){return ji.checkArgument(e&&typeof e=="object","Invalid registry config"),{success:!0,query:{registryId:e.id},externalOperations:{getStatistics:{endpoint:"GET /registry/"+e.id+"/statistics",method:"GET"}},expectedResponse:{id:"string",name:"string",jurisdiction:"string",created:"ISO datetime",statistics:{totalTokens:"number",activeTokens:"number",revokedTokens:"number",registrations:"number"},auditEntries:"number",lastActivity:"ISO datetime"}}},prepareAuditLogQuery:function(e,t){if(t=t||{},ji.checkArgument(e&&typeof e=="object","Invalid registry config"),!e.enableAuditTrail)return{success:!1,error:"Audit trail is disabled"};var r=[];t.action&&r.push("action="+encodeURIComponent(t.action)),t.actor&&r.push("actor="+encodeURIComponent(t.actor)),t.tokenId&&r.push("tokenId="+encodeURIComponent(t.tokenId)),t.dateFrom&&r.push("dateFrom="+encodeURIComponent(t.dateFrom)),t.dateTo&&r.push("dateTo="+encodeURIComponent(t.dateTo));var i=t.offset||0,n=t.limit||100;r.push("offset="+i),r.push("limit="+n);var o=r.length>0?"?"+r.join("&"):"";return{success:!0,auditOptions:t,externalOperations:{getAuditLog:{endpoint:"GET /registry/"+e.id+"/audit"+o,method:"GET"}},expectedResponse:{success:"boolean",entries:"Array<auditEntry>",totalEntries:"number",offset:"number",limit:"number",hasMore:"boolean"}}},_generateRegistryId:function(){return"reg_"+dH.randomHex(16)},_generateRegistrationId:function(e){var t="reg_"+e+"_"+Date.now();return ud.sha256(f.Buffer.from(t)).toString("hex").substring(0,16)},_generateRevocationId:function(e){var t="rev_"+e+"_"+Date.now();return ud.sha256(f.Buffer.from(t)).toString("hex").substring(0,16)},_hashToken:function(e){var t=JSON.parse(JSON.stringify(e));return delete t.proof,delete t.tokenHash,ud.sha256(f.Buffer.from(JSON.stringify(t))).toString("hex")},_generateRevocationHash:function(e,t){var r=e+(t.reason||"")+(t.revokedBy||"")+Date.now();return ud.sha256(f.Buffer.from(r)).toString("hex")},_validateTokenForRegistration:function(e,t){var r=[],i=!0;return e.id?r.push({field:"id",valid:!0}):(r.push({field:"id",valid:!1,error:"Missing token ID"}),i=!1),e.type?r.push({field:"type",valid:!0}):(r.push({field:"type",valid:!1,error:"Missing token type"}),i=!1),e.issuanceDate?r.push({field:"issuanceDate",valid:!0}):(r.push({field:"issuanceDate",valid:!1,error:"Missing issuance date"}),i=!1),e.proof?r.push({field:"proof",valid:!0}):(r.push({field:"proof",valid:!1,error:"Missing cryptographic proof"}),i=!1),{valid:i,checks:r}},_calculateComplianceLevel:function(e){var t="BASIC";return e.proof&&e.proof.type&&(t="STANDARD"),e.jurisdiction&&e.legalBasis&&(t="ENHANCED"),e.attestations&&e.attestations.length>0&&(t="PREMIUM"),t},_prepareAuditEntry:function(e){var t={id:this._generateAuditId(),action:e.action,actor:e.actor||"SYSTEM",tokenId:e.tokenId||null,timestamp:e.timestamp||new Date().toISOString(),metadata:e.metadata||{},hash:this._generateAuditHash(e)};return t},_generateAuditId:function(){return"audit_"+dH.randomHex(32)},_generateAuditHash:function(e){var t=(e.action||"")+(e.actor||"")+(e.tokenId||"")+(e.timestamp||"");return ud.sha256(f.Buffer.from(t)).toString("hex").substring(0,16)}};pH.exports=qQ});var bH=T((Qle,yH)=>{"use strict";g();var dE=sr(),pE=Le(),mH=dn(),UQ=gt(),vH=ei(),Ji=Ie(),FQ=od();function jQ(e,t){if(t=t||{},t.issuerPublicKey)return t.issuerPublicKey instanceof dE?t.issuerPublicKey:dE.fromString(t.issuerPublicKey);var r=e&&e.issuer;if(typeof r!="string")return null;try{var i=r.split("#")[0].split(":")[2];return i?dE.fromString(i):null}catch{return null}}var Nv={CORRELATIVE_OBLIGATION:"CorrelativeObligation",CONTRACTUAL_OBLIGATION:"ContractualObligation",PAYMENT_OBLIGATION:"PaymentObligation",DELIVERY_OBLIGATION:"DeliveryObligation",PERFORMANCE_OBLIGATION:"PerformanceObligation",MAINTENANCE_OBLIGATION:"MaintenanceObligation",COMPLIANCE_OBLIGATION:"ComplianceObligation",REPORTING_OBLIGATION:"ReportingObligation",CONFIDENTIALITY_OBLIGATION:"ConfidentialityObligation",NON_COMPETE_OBLIGATION:"NonCompeteObligation",INDEMNIFICATION_OBLIGATION:"IndemnificationObligation",WARRANTY_OBLIGATION:"WarrantyObligation",SUPPORT_OBLIGATION:"SupportObligation",REGULATORY_OBLIGATION:"RegulatoryObligation",FIDUCIARY_OBLIGATION:"FiduciaryObligation"},Cf={CRITICAL:"CRITICAL",HIGH:"HIGH",MEDIUM:"MEDIUM",LOW:"LOW",DEFERRED:"DEFERRED"},zi={PENDING:"PENDING",ACTIVE:"ACTIVE",IN_PROGRESS:"IN_PROGRESS",COMPLETED:"COMPLETED",OVERDUE:"OVERDUE",BREACHED:"BREACHED",WAIVED:"WAIVED",TERMINATED:"TERMINATED"},Cv={prepareObligationToken:function(e,t,r,i,n,o){o=o||{},Ji.checkArgument(typeof e=="string","Obligation type must be string"),Ji.checkArgument(typeof t=="string","Issuer DID must be string"),Ji.checkArgument(typeof r=="string","Obligor DID must be string"),Ji.checkArgument(i&&typeof i=="object","Obligation must be object"),Ji.checkArgument(n instanceof vH,"Invalid issuer private key");var a=Object.values(Nv);Ji.checkArgument(a.includes(e),"Invalid obligation type: "+e);try{var s={"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ltp/v1"],id:"urn:uuid:"+this._generateUUID(),type:["VerifiableCredential","LegalObligationToken",e],issuer:t,issuanceDate:new Date().toISOString(),credentialSubject:{id:r,obligationType:e,obligation:i,jurisdiction:o.jurisdiction||"US",priority:o.priority||Cf.MEDIUM,status:zi.PENDING,dueDate:o.dueDate||null,effectiveDate:o.effectiveDate||new Date().toISOString(),expirationDate:o.expirationDate||null,correlativeRight:o.correlativeRight||null,rightHolder:o.rightHolder||null,enforceable:o.enforceable!==!1,penalties:o.penalties||null,remedies:o.remedies||null}};o.metadata&&(s.credentialSubject.metadata=o.metadata);var u=this._signToken(s,n);return{success:!0,obligationToken:u,tokenHash:u.tokenHash,metadata:{type:e,issuer:t,obligor:r,priority:s.credentialSubject.priority,status:s.credentialSubject.status,jurisdiction:s.credentialSubject.jurisdiction,dueDate:s.credentialSubject.dueDate,correlativeRight:s.credentialSubject.correlativeRight},externalOperations:{storeToken:{endpoint:"POST /obligations/tokens",data:{token:u,metadata:{type:e,issuer:t,obligor:r,priority:s.credentialSubject.priority,status:s.credentialSubject.status,jurisdiction:s.credentialSubject.jurisdiction,dueDate:s.credentialSubject.dueDate,correlativeRight:s.credentialSubject.correlativeRight}}},indexToken:{endpoint:"POST /obligations/index",data:{tokenId:u.id,tokenHash:u.tokenHash,type:e,issuer:t,obligor:r,issuedAt:u.issuanceDate,dueDate:s.credentialSubject.dueDate,priority:s.credentialSubject.priority}},notifyObligor:{endpoint:"POST /notifications/obligation-issued",data:{tokenId:u.id,issuer:t,obligor:r,obligationType:e,dueDate:s.credentialSubject.dueDate,priority:s.credentialSubject.priority}},scheduleReminders:s.credentialSubject.dueDate?{endpoint:"POST /obligations/schedule-reminders",data:{tokenId:u.id,obligor:r,dueDate:s.credentialSubject.dueDate,reminderSchedule:o.reminderSchedule||["7d","3d","1d"]}}:null}}}catch(c){return{success:!1,error:c.message}}},prepareObligationVerification:function(e,t){t=t||{};try{var r=[],i=[];this._validateTokenStructure(e,r),this._verifyTokenSignature(e,r,t),this._validateTokenTemporal(e,r,i),this._validateObligationType(e,r),this._validateObligationStatus(e,r,i),this._validateObligationPriority(e,i);var n={valid:r.length===0,errors:r,warnings:i,issuerDID:e.issuer,obligorDID:e.credentialSubject?e.credentialSubject.id:null,obligationType:e.credentialSubject?e.credentialSubject.obligationType:null,status:e.credentialSubject?e.credentialSubject.status:null,priority:e.credentialSubject?e.credentialSubject.priority:null,isOverdue:this._checkIfOverdue(e),verifiedAt:new Date().toISOString()};return{success:!0,verification:n,externalOperations:{recordVerification:{endpoint:"POST /obligations/verification-record",data:{tokenId:e.id,result:n.valid,errors:r,warnings:i,verifiedAt:n.verifiedAt,isOverdue:n.isOverdue}},auditVerification:{endpoint:"POST /audit/obligation-verification",data:{tokenId:e.id,obligationType:n.obligationType,issuer:n.issuerDID,obligor:n.obligorDID,result:n.valid,verifiedAt:n.verifiedAt}},updateStatus:n.isOverdue&&e.credentialSubject.status===zi.ACTIVE?{endpoint:"PUT /obligations/tokens/"+e.id+"/status",data:{status:zi.OVERDUE,updatedAt:n.verifiedAt,reason:"Due date passed"}}:null}}}catch(o){return{success:!1,error:"Verification preparation failed: "+o.message}}},prepareObligationFulfillment:function(e,t,r,i){i=i||{},Ji.checkArgument(e&&typeof e=="object","Invalid token"),Ji.checkArgument(t&&typeof t=="object","Invalid fulfillment"),Ji.checkArgument(r instanceof vH,"Invalid obligor key");try{var n=this.prepareObligationVerification(e,{});if(!n.success||!n.verification.valid)return{success:!1,error:"Cannot fulfill invalid obligation: "+n.verification.errors.join(", ")};if(e.credentialSubject.status===zi.COMPLETED)return{success:!1,error:"Obligation already fulfilled"};if(e.credentialSubject.status===zi.TERMINATED)return{success:!1,error:"Obligation has been terminated"};var o={"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ltp/v1"],id:"urn:uuid:"+this._generateUUID(),type:["VerifiableCredential","ObligationFulfillment"],issuer:e.credentialSubject.id,issuanceDate:new Date().toISOString(),credentialSubject:{id:e.id,fulfillmentType:t.type||"FULL_FULFILLMENT",fulfillmentDate:new Date().toISOString(),evidence:t.evidence||null,description:t.description||"",completionPercentage:t.completionPercentage||100,attestations:t.attestations||[],notes:t.notes||null}},a=this._signToken(o,r),s=o.credentialSubject.completionPercentage>=100?zi.COMPLETED:zi.IN_PROGRESS;return{success:!0,fulfillmentRecord:a,newStatus:s,fulfillmentId:a.id,externalOperations:{recordFulfillment:{endpoint:"POST /obligations/fulfillments",data:{obligationId:e.id,fulfillmentRecord:a,obligor:e.credentialSubject.id,fulfillmentDate:o.credentialSubject.fulfillmentDate,completionPercentage:o.credentialSubject.completionPercentage}},updateStatus:{endpoint:"PUT /obligations/tokens/"+e.id+"/status",data:{status:s,fulfillmentId:a.id,updatedAt:o.credentialSubject.fulfillmentDate,completionPercentage:o.credentialSubject.completionPercentage}},notifyRightHolder:e.credentialSubject.rightHolder?{endpoint:"POST /notifications/obligation-fulfilled",data:{obligationId:e.id,fulfillmentId:a.id,obligor:e.credentialSubject.id,rightHolder:e.credentialSubject.rightHolder,completionPercentage:o.credentialSubject.completionPercentage,newStatus:s}}:null,auditFulfillment:{endpoint:"POST /audit/obligation-fulfillment",data:{obligationId:e.id,fulfillmentId:a.id,obligor:e.credentialSubject.id,fulfilledAt:o.credentialSubject.fulfillmentDate,completionPercentage:o.credentialSubject.completionPercentage}}}}}catch(u){return{success:!1,error:u.message}}},prepareObligationBreachAssessment:function(e,t,r){Ji.checkArgument(e&&typeof e=="object","Invalid token"),Ji.checkArgument(t&&typeof t=="object","Invalid breach details"),Ji.checkArgument(r&&typeof r=="object","Invalid assessor");try{var i={"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ltp/v1"],id:"urn:uuid:"+this._generateUUID(),type:["VerifiableCredential","ObligationBreachAssessment"],issuer:r.did||r.id,issuanceDate:new Date().toISOString(),credentialSubject:{id:e.id,breachType:t.type||"MATERIAL_BREACH",breachDate:t.date||new Date().toISOString(),description:t.description||"",severity:t.severity||"MODERATE",evidence:t.evidence||[],assessor:{did:r.did||r.id,name:r.name||"Unknown",authority:r.authority||null,jurisdiction:r.jurisdiction||null},damages:t.damages||null,recommendedRemedies:t.recommendedRemedies||[],assessmentDate:new Date().toISOString()}},n=pE.sha256(f.Buffer.from(JSON.stringify(i))).toString("hex");return i.credentialSubject.assessmentHash=n,{success:!0,breachAssessment:i,breachId:i.id,severity:t.severity||"MODERATE",externalOperations:{recordBreach:{endpoint:"POST /obligations/breaches",data:{obligationId:e.id,breachAssessment:i,obligor:e.credentialSubject.id,rightHolder:e.credentialSubject.rightHolder,breachDate:t.date||new Date().toISOString(),severity:t.severity||"MODERATE"}},updateStatus:{endpoint:"PUT /obligations/tokens/"+e.id+"/status",data:{status:zi.BREACHED,breachId:i.id,breachDate:t.date||new Date().toISOString(),updatedAt:new Date().toISOString()}},notifyParties:{endpoint:"POST /notifications/obligation-breached",data:{obligationId:e.id,breachId:i.id,obligor:e.credentialSubject.id,rightHolder:e.credentialSubject.rightHolder,breachType:t.type||"MATERIAL_BREACH",severity:t.severity||"MODERATE"}},escalateBreach:t.severity==="CRITICAL"?{endpoint:"POST /legal/escalate-breach",data:{obligationId:e.id,breachId:i.id,severity:t.severity,jurisdiction:e.credentialSubject.jurisdiction}}:null,auditBreach:{endpoint:"POST /audit/obligation-breach",data:{obligationId:e.id,breachId:i.id,obligor:e.credentialSubject.id,assessedAt:i.credentialSubject.assessmentDate,severity:t.severity||"MODERATE"}}}}}catch(o){return{success:!1,error:o.message}}},prepareObligationMonitoringReport:function(e,t){t=t||{},Ji.checkArgument(Array.isArray(e),"Obligations must be array");try{var r={reportId:"rpt_"+this._generateUUID(),generatedAt:new Date().toISOString(),criteria:t,summary:{totalObligations:e.length,byStatus:{},byPriority:{},byType:{},overdue:0,dueSoon:0,completed:0},obligations:[],alerts:[],recommendations:[]},i=new Date,n=new Date(i.getTime()+10080*60*1e3);return e.forEach(function(o){var a={id:o.id,type:o.credentialSubject.obligationType,status:o.credentialSubject.status,priority:o.credentialSubject.priority,obligor:o.credentialSubject.id,dueDate:o.credentialSubject.dueDate,isOverdue:this._checkIfOverdue(o),isDueSoon:!1};if(o.credentialSubject.dueDate){var s=new Date(o.credentialSubject.dueDate);a.isDueSoon=s<=n&&s>i}r.summary.byStatus[a.status]=(r.summary.byStatus[a.status]||0)+1,r.summary.byPriority[a.priority]=(r.summary.byPriority[a.priority]||0)+1,r.summary.byType[a.type]=(r.summary.byType[a.type]||0)+1,a.isOverdue&&r.summary.overdue++,a.isDueSoon&&r.summary.dueSoon++,a.status===zi.COMPLETED&&r.summary.completed++,a.isOverdue&&a.priority===Cf.CRITICAL&&r.alerts.push({type:"CRITICAL_OVERDUE",obligationId:o.id,message:"Critical obligation is overdue",priority:"HIGH"}),a.isDueSoon&&a.priority===Cf.HIGH&&r.alerts.push({type:"HIGH_PRIORITY_DUE_SOON",obligationId:o.id,message:"High priority obligation due soon",priority:"MEDIUM"}),r.obligations.push(a)}.bind(this)),r.summary.overdue>0&&r.recommendations.push({type:"OVERDUE_MANAGEMENT",message:"Consider prioritizing overdue obligations",count:r.summary.overdue}),r.summary.dueSoon>5&&r.recommendations.push({type:"WORKLOAD_MANAGEMENT",message:"High number of obligations due soon - consider workload distribution",count:r.summary.dueSoon}),{success:!0,report:r,externalOperations:{storeReport:{endpoint:"POST /obligations/monitoring-reports",data:{report:r,generatedAt:r.generatedAt}},sendAlerts:r.alerts.length>0?{endpoint:"POST /notifications/obligation-alerts",data:{reportId:r.reportId,alerts:r.alerts,summary:r.summary}}:null,updateDashboard:{endpoint:"PUT /dashboard/obligation-metrics",data:{summary:r.summary,lastUpdated:r.generatedAt}}}}}catch(o){return{success:!1,error:o.message}}},getObligationTypes:function(){return Nv},getObligationPriority:function(){return Cf},getObligationStatus:function(){return zi},_signToken:function(e,t){var r=this._canonicalizeToken(e),i=pE.sha256(f.Buffer.from(r)),n=new mH;n.hashbuf=i,n.privkey=t,n.pubkey=t.toPublicKey(),n.sign();var o=n.sig,a={type:"EcdsaSecp256k1Signature2019",created:new Date().toISOString(),verificationMethod:"did:smartledger:"+t.toPublicKey().toString()+"#keys-1",proofPurpose:"assertionMethod",jws:this._createJWS(i,o)},s=JSON.parse(JSON.stringify(e));return s.proof=a,s.tokenHash=i.toString("hex"),s},_createJWS:function(e,t){var r={alg:"ES256K",typ:"JWT"},i=f.Buffer.from(JSON.stringify(r)).toString("base64url"),n=e.toString("base64url"),o=t.toDER().toString("base64url");return i+".."+o},_canonicalizeToken:function(e){var t=JSON.parse(JSON.stringify(e));return delete t.proof,delete t.tokenHash,JSON.stringify(this._sortObjectKeys(t))},_sortObjectKeys:function(e){if(Array.isArray(e))return e.map(this._sortObjectKeys.bind(this));if(e!==null&&typeof e=="object"){var t={};return Object.keys(e).sort().forEach(function(r){t[r]=this._sortObjectKeys(e[r])}.bind(this)),t}return e},_validateTokenStructure:function(e,t){e["@context"]||t.push("Missing @context"),e.id||t.push("Missing id"),(!e.type||!Array.isArray(e.type))&&t.push("Missing or invalid type"),e.issuer||t.push("Missing issuer"),e.issuanceDate||t.push("Missing issuanceDate"),e.credentialSubject||t.push("Missing credentialSubject"),e.proof||t.push("Missing proof")},_verifyTokenSignature:function(e,t,r){try{if(!e.proof||!e.proof.jws){t.push("Missing signature proof");return}var i=this._canonicalizeToken(e),n=pE.sha256(f.Buffer.from(i));if(e.tokenHash&&e.tokenHash!==n.toString("hex")){t.push("Token hash mismatch");return}var o=jQ(e,r);if(!o){t.push("Signature not verified: issuer public key could not be resolved from token.issuer; pass options.issuerPublicKey");return}var a=e.proof.jws.split(".");if(a.length!==3||!a[2]){t.push("Malformed JWS");return}var s=UQ.fromDER(f.Buffer.from(a[2],"base64url")),u=new mH;u.hashbuf=n,u.sig=s,u.pubkey=o,u.verify()!==!0&&t.push("Signature verification failed")}catch(c){t.push("Signature verification failed: "+c.message)}},_validateTokenTemporal:function(e,t,r){var i=new Date,n=new Date(e.issuanceDate);if(n>i&&t.push("Token issued in the future"),e.credentialSubject.effectiveDate){var o=new Date(e.credentialSubject.effectiveDate);i<o&&r.push("Obligation not yet effective")}if(e.credentialSubject.expirationDate){var a=new Date(e.credentialSubject.expirationDate);i>a&&t.push("Obligation expired")}},_validateObligationType:function(e,t){if(!e.credentialSubject.obligationType){t.push("Missing obligationType");return}var r=Object.values(Nv);r.includes(e.credentialSubject.obligationType)||t.push("Invalid obligation type: "+e.credentialSubject.obligationType)},_validateObligationStatus:function(e,t,r){if(!e.credentialSubject.status){t.push("Missing status");return}var i=Object.values(zi);i.includes(e.credentialSubject.status)||t.push("Invalid obligation status: "+e.credentialSubject.status),this._checkIfOverdue(e)&&e.credentialSubject.status===zi.ACTIVE&&r.push("Obligation is overdue but status is still ACTIVE")},_validateObligationPriority:function(e,t){if(e.credentialSubject.priority){var r=Object.values(Cf);r.includes(e.credentialSubject.priority)||t.push("Invalid obligation priority: "+e.credentialSubject.priority)}},_checkIfOverdue:function(e){if(!e.credentialSubject.dueDate)return!1;var t=new Date,r=new Date(e.credentialSubject.dueDate);return t>r&&e.credentialSubject.status!==zi.COMPLETED},_generateUUID:function(){return FQ.uuid4()}};Cv.ObligationTypes=Nv;Cv.ObligationPriority=Cf;Cv.ObligationStatus=zi;yH.exports=Cv});var wH=T((the,_H)=>{"use strict";g();var Du=oH(),Lv=sH(),cd=cH(),gE=hH(),Uo=gH(),zQ=bH(),mE=ei(),Qi=Ie(),lt=function(e){return this instanceof lt?(this.config=e||{},this.registry=null,this.config.registry&&(this.registry=Uo.createRegistry(this.config.registry)),this):new lt(e)};lt.prototype.createRightToken=function(e,t,r){Qi.checkArgument(e&&typeof e=="object","Invalid right data"),Qi.checkArgument(t instanceof mE,"Invalid private key"),r=r||{};try{var i=Du.create(e.type,e.owner,e.owner,e,t,r);if(!i)return{success:!1,error:"Failed to create token"};if(r.addProof!==!1&&(i=Du._signToken(i,t)),r.anchor){var n=cd.anchorToken(i,r.anchor);n.success&&(i.anchorTx=n.txid,i.anchorBlock=n.blockHeight)}if(this.registry&&r.register!==!1){var o=Uo.registerToken(this.registry,i,{registeredBy:r.registeredBy||"SYSTEM"});o.success&&(i.registrationId=o.registrationId,i.registrationStatus=o.status)}return{success:!0,token:i,type:"LegalRightToken"}}catch(a){return{success:!1,error:a.message}}};lt.prototype.validateClaim=function(e,t){return Lv.validate(e,t)};lt.prototype.createSelectiveDisclosure=function(e,t,r){return gE.prepareSelectiveDisclosure(e,t,r)};lt.prototype.verifyToken=function(e,t){return!e||!e.proof?{valid:!1,error:"No proof found in token"}:Du.verifyToken(e,t)};lt.prototype.transferRight=function(e,t,r,i){Qi.checkArgument(e&&typeof e=="object","Invalid token"),Qi.checkArgument(typeof t=="string","New owner must be string"),Qi.checkArgument(r instanceof mE,"Invalid owner key"),i=i||{};try{var n=this.verifyToken(e,r.toPublicKey().toString());if(!n.valid)return{success:!1,error:"Invalid token or ownership proof"};var o=Du.prepareRightTokenTransfer(e,t,r,i);if(!o.success)return{success:!1,error:o.error};var a=o.newToken,s=o.transferProof;if(i.anchor){var u=cd.anchorToken(a,i.anchor);u.success&&(a.transferAnchorTx=u.txid)}if(this.registry){var c=Uo.registerToken(this.registry,a,{registeredBy:i.registeredBy||t,metadata:{transferFrom:e.owner,transferTo:t,originalTokenId:e.id}});c.success&&(a.registrationId=c.registrationId)}return{success:!0,token:a,transferId:s.id,transferredAt:s.issuanceDate,transferProof:s}}catch(l){return{success:!1,error:l.message}}};lt.prototype.createObligation=function(e,t,r){Qi.checkArgument(e&&typeof e=="object","Invalid right token"),Qi.checkArgument(t&&typeof t=="object","Invalid obligation data"),Qi.checkArgument(r instanceof mE,"Invalid private key");try{var i=Du.prepareObligationToken(e,t.obligor,t,r);return i.success?{success:!0,obligation:i.obligationToken,rightTokenId:e.id}:{success:!1,error:i.error}}catch(n){return{success:!1,error:n.message}}};lt.prototype.revokeToken=function(e,t,r){return Qi.checkArgument(typeof e=="string","Token ID must be string"),Qi.checkArgument(t&&typeof t=="object","Invalid revocation data"),Qi.checkArgument(typeof r=="string","Authority must be string"),this.registry?Uo.revokeToken(this.registry,e,{reason:t.reason,revokedBy:r,legalBasis:t.legalBasis,evidence:t.evidence}):{success:!1,error:"No registry available for revocation"}};lt.prototype.checkTokenStatus=function(e){return Qi.checkArgument(typeof e=="string","Token ID must be string"),this.registry?Uo.checkTokenStatus(this.registry,e):{found:!1,error:"No registry available"}};lt.prototype.searchTokens=function(e){return this.registry?Uo.searchTokens(this.registry,e):{success:!1,error:"No registry available"}};lt.prototype.getRegistryStats=function(){return this.registry?Uo.getStatistics(this.registry):{error:"No registry available"}};lt.prototype.createLegalValidityProof=function(e,t,r){return gE.prepareLegalValidityProof(e,t,r)};lt.prototype.anchorTokenBatch=function(e,t){return cd.anchorBatch(e,t)};lt.prototype.verifyAnchor=function(e,t){return cd.verifyAnchor(e,t)};lt.prototype.getRightTypes=function(){return Du.getRightTypes()};lt.prototype.getClaimSchemas=function(){return Lv.getSchemas()};lt.prototype.createRegistry=function(e){return this.registry=Uo.createRegistry(e),this.registry};lt.prototype.setRegistry=function(e){Qi.checkArgument(e&&typeof e=="object","Invalid registry"),this.registry=e};lt.create=function(e){return new lt(e)};lt.createRightToken=function(e,t,r){var i=new lt;return i.createRightToken(e,t,r)};lt.validateClaim=function(e,t){return Lv.validate(e,t)};lt.verifyToken=function(e,t){var r=new lt;return r.verifyToken(e,t)};lt.createRegistry=function(e){return Uo.createRegistry(e)};lt.Right=Du;lt.Claim=Lv;lt.Anchor=cd;lt.Proof=gE;lt.Registry=Uo;lt.Obligation=zQ;_H.exports=lt});var Uw=T((ihe,EH)=>{"use strict";g();var H=EH.exports;H.deps=H.deps||{};H.deps._=at();H.deps.Buffer=typeof f.Buffer<"u"?f.Buffer:null;var SH=Tc();H.deps.bs58={encode:SH.encode,decode:SH.decode};if(typeof window>"u")H.deps.bnjs=bd();else try{H.deps.bnjs=bd()}catch{}H.version="v"+D_();H.versionGuard=function(e){if(e!==void 0){var t=`
99
99
  More than one instance of bsv found.
100
100
  Please make sure to require bsv and check that submodules do
101
- not also include their own bsv dependency.`;console.warn(t)}};H.versionGuard(globalThis._bsv);globalThis._bsv=H.version;H.isHardened=!0;H.hardenedBy="SmartLedger";H.baseVersion="v1.5.6";H.securityFeatures=["canonical-signatures","malleability-protection","enhanced-validation","audited-noble-curves","fail-closed-verification"];H.crypto={};H.crypto.BN=Ke();H.crypto.ECDSA=dn();H.crypto.Hash=Le();H.crypto.Random=Ki();H.crypto.Point=un();H.crypto.Signature=gt();H.crypto.Shamir=U_();H.crypto.SmartVerify=mm();H.crypto.EllipticFixed=vm();H.encoding={};H.encoding.Base58=Tc();H.encoding.Base58Check=Pc();H.encoding.BufferReader=lo();H.encoding.BufferWriter=Nn();H.encoding.Varint=Cc();H.util={};H.util.js=ni();H.util.preconditions=Ie();H.util.deprecate=ts();H.errors=pi();H.Address=Ni();H.Block=vC();H.MerkleBlock=Z_();H.BlockHeader=Vc();H.SPV=xm();H.NotaryHash=eL();H.HDPrivateKey=gh();H.HDPublicKey=L_();H.Networks=ca();H.Opcode=Pr();H.PrivateKey=ei();H.PublicKey=sr();H.Script=ut();H.Transaction=zt();H.Input=zt().Input;H.Output=zt().Output;H.UnspentOutput=zt().UnspentOutput;H.Message=sL();H.Mnemonic=vE();H.ECIES=HL();H.Signature=gt();H.Shamir=U_();H.SmartLedger={version:H.version,hardenedBy:H.hardenedBy,baseVersion:H.baseVersion,securityFeatures:H.securityFeatures,SmartVerify:mm(),EllipticFixed:vm()};H.SmartVerify=mm();H.EllipticFixed=vm();try{H.SmartContract=gD()}catch(e){typeof window>"u"&&console.warn("SmartContract module not available:",e.message)}try{H.BrowserUTXOManager=mD()}catch(e){typeof window>"u"&&console.warn("[bsv] BrowserUTXOManager failed to load:",e.message)}if(typeof window>"u"&&typeof Wr=="function")try{H.SmartMiner=yD(),H.CustomScriptHelper=SD()}catch{}H.Ordinals=n6();H.GDAF=yE();try{H.DIDWeb=a6()}catch(e){typeof window>"u"&&console.warn("[bsv] DIDWeb module failed to load:",e.message)}try{H.VcJwt=NS()}catch(e){typeof window>"u"&&console.warn("[bsv] VcJwt module failed to load:",e.message)}try{H.StatusList=Z3()}catch(e){typeof window>"u"&&console.warn("[bsv] StatusList module failed to load:",e.message)}try{H.Anchor=J3()}catch(e){typeof window>"u"&&console.warn("[bsv] Anchor module failed to load:",e.message)}H.createDID=function(e){var t=new H.GDAF;return t.createDID(e)};H.resolveDID=function(e){var t=new H.GDAF;return t.resolveDID(e)};H.createEmailCredential=function(e,t,r,i){var n=new H.GDAF;return n.createEmailCredential(e,t,r,i)};H.createAgeCredential=function(e,t,r,i,n){var o=new H.GDAF;return o.createAgeCredential(e,t,r,i,n)};H.createKYCCredential=function(e,t,r,i,n){var o=new H.GDAF;return o.createKYCCredential(e,t,r,i,n)};H.verifyCredential=function(e,t){var r=new H.GDAF;return r.verifyCredential(e,t)};H.validateCredential=function(e,t){var r=new H.GDAF;return r.validateCredential(e,t)};H.generateSelectiveProof=function(e,t,r){var i=new H.GDAF;return i.generateSelectiveProof(e,t,r)};H.generateAgeProof=function(e,t,r){var i=new H.GDAF;return i.generateAgeProof(e,t,r)};H.verifyAgeProof=function(e,t,r){var i=new H.GDAF;return i.verifyAgeProof(e,t,r)};H.createPresentation=function(e,t,r,i){var n=new H.GDAF;return n.createPresentation(e,t,r,i)};H.getCredentialSchemas=function(){var e=new H.GDAF;return e.getAllSchemas()};H.createCredentialTemplate=function(e){var t=new H.GDAF;return t.createTemplate(e)};H.LTP=wH();H.JCS=jc();H.prepareRightToken=function(e,t,r,i,n,o){return H.LTP.Right.prepareRightToken(e,t,r,i,n,o)};H.prepareRightTokenVerification=function(e,t){return H.LTP.Right.prepareRightTokenVerification(e,t)};H.prepareRightTokenTransfer=function(e,t,r,i){return H.LTP.Right.prepareRightTokenTransfer(e,t,r,i)};H.prepareRightTypeValidation=function(e){return H.LTP.Right.prepareRightTypeValidation(e)};H.prepareObligationToken=function(e,t,r,i,n,o){return H.LTP.Obligation.prepareObligationToken(e,t,r,i,n,o)};H.prepareObligationVerification=function(e,t){return H.LTP.Obligation.prepareObligationVerification(e,t)};H.prepareObligationFulfillment=function(e,t,r,i){return H.LTP.Obligation.prepareObligationFulfillment(e,t,r,i)};H.prepareObligationBreachAssessment=function(e,t,r){return H.LTP.Obligation.prepareObligationBreachAssessment(e,t,r)};H.prepareObligationMonitoringReport=function(e,t){return H.LTP.Obligation.prepareObligationMonitoringReport(e,t)};H.prepareClaimValidation=function(e,t){return H.LTP.Claim.prepareClaimValidation(e,t)};H.prepareClaimAttestation=function(e,t,r){return H.LTP.Claim.prepareClaimAttestation(e,t,r)};H.prepareClaimDispute=function(e,t,r){return H.LTP.Claim.prepareClaimDispute(e,t,r)};H.prepareBulkClaimValidation=function(e,t){return H.LTP.Claim.prepareBulkClaimValidation(e,t)};H.prepareClaimTemplate=function(e,t){return H.LTP.Claim.prepareClaimTemplate(e,t)};H.prepareSignatureProof=function(e,t,r){return H.LTP.Proof.prepareSignatureProof(e,t,r)};H.prepareSignatureVerification=function(e,t){return H.LTP.Proof.prepareSignatureVerification(e,t)};H.prepareSelectiveDisclosure=function(e,t,r){return H.LTP.Proof.prepareSelectiveDisclosure(e,t,r)};H.prepareSelectiveDisclosureVerification=function(e,t){return H.LTP.Proof.prepareSelectiveDisclosureVerification(e,t)};H.prepareLegalValidityProof=function(e,t,r){return H.LTP.Proof.prepareLegalValidityProof(e,t,r)};H.prepareZeroKnowledgeProof=function(e,t,r){return H.LTP.Proof.prepareZeroKnowledgeProof(e,t,r)};H.prepareRegistry=function(e){return H.LTP.Registry.prepareRegistry(e)};H.prepareTokenRegistration=function(e,t,r){return H.LTP.Registry.prepareTokenRegistration(e,t,r)};H.prepareTokenApproval=function(e,t,r){return H.LTP.Registry.prepareTokenApproval(e,t,r)};H.prepareTokenRevocation=function(e,t,r){return H.LTP.Registry.prepareTokenRevocation(e,t,r)};H.prepareTokenStatusQuery=function(e,t){return H.LTP.Registry.prepareTokenStatusQuery(e,t)};H.prepareTokenSearch=function(e,t){return H.LTP.Registry.prepareTokenSearch(e,t)};H.prepareStatisticsQuery=function(e){return H.LTP.Registry.prepareStatisticsQuery(e)};H.prepareAuditLogQuery=function(e,t){return H.LTP.Registry.prepareAuditLogQuery(e,t)};H.prepareTokenCommitment=function(e,t){return H.LTP.Anchor.prepareTokenCommitment(e,t)};H.prepareBatchCommitment=function(e,t){return H.LTP.Anchor.prepareBatchCommitment(e,t)};H.verifyTokenAnchor=function(e,t,r){return H.LTP.Anchor.verifyTokenAnchor(e,t,r)};H.formatRevocation=function(e,t){return H.LTP.Anchor.formatRevocation(e,t)};H.createRightToken=function(e,t,r){var i=new H.LTP;return i.createRightToken(e,t,r)};H.verifyLegalToken=function(e,t){var r=new H.LTP;return r.verifyToken(e,t)};H.validateLegalClaim=function(e,t){var r=new H.LTP;return r.validateClaim(e,t)};H.createSelectiveDisclosure=function(e,t,r){var i=new H.LTP;return i.createSelectiveDisclosure(e,t,r)};H.createLegalRegistry=function(e){return H.LTP.Registry.prepareRegistry(e)};H.createLegalValidityProof=function(e,t,r){var i=new H.LTP;return i.createLegalValidityProof(e,t,r)};H.getRightTypes=function(){return H.LTP.Right.getRightTypes()};H.getObligationTypes=function(){return H.LTP.Obligation.getObligationTypes()};H.getObligationPriority=function(){return H.LTP.Obligation.getObligationPriority()};H.getObligationStatus=function(){return H.LTP.Obligation.getObligationStatus()};H.getClaimSchemas=function(){return H.LTP.Claim.getSchemas()};H.getClaimSchemaNames=function(){return H.LTP.Claim.getSchemaNames()};H.getClaimSchema=function(e){return H.LTP.Claim.getSchema(e)};H.createClaimTemplate=function(e){return H.LTP.Claim.createTemplate(e)};H.canonicalizeClaim=function(e,t){return H.LTP.Claim.canonicalize(e,t)};H.hashClaim=function(e,t){return H.LTP.Claim.hash(e,t)};H.addCustomClaimSchema=function(e,t){return H.LTP.Claim.addSchema(e,t)};H.Transaction.sighash=mi()});var AH=T((ahe,IH)=>{"use strict";g();var KQ=gh(),VQ=Ke(),Lf=at(),GQ=kN(),bE=NN(),xH=pi(),WQ=Le(),YQ=Ki(),OH=Ie();function fd(e){return typeof e=="string"?e.normalize("NFKD"):""}var et=function(e,t){if(!(this instanceof et))return new et(e,t);Lf.isArray(e)&&(t=e,e=null);var r,i,n;if(f.Buffer.isBuffer(e))n=e;else if(Lf.isString(e))i=fd(e);else if(Lf.isNumber(e))r=e;else if(e)throw new xH.InvalidArgument("data","Must be a Buffer, a string or an integer");if(r=r||128,t=t||et._getDictionary(i),i&&!t)throw new bE.UnknownWordlist(i);if(t=t||et.Words.ENGLISH,n&&(i=et._entropy2mnemonic(n,t)),i&&!et.isValid(i,t))throw new bE.InvalidMnemonic(i);if(r%32!==0||r<128)throw new xH.InvalidArgument("ENT","Values must be ENT > 128 and ENT % 32 == 0");i=i||et._mnemonic(r,t),Object.defineProperty(this,"wordlist",{configurable:!1,value:t}),Object.defineProperty(this,"phrase",{configurable:!1,value:i})};et.fromRandom=function(e,t){if(Lf.isNumber(e)){var r=t;t=e,e=r}return e=e||et.Words.ENGLISH,t=t||128,new et(t,e)};et.fromString=function(e,t=et.Words.ENGLISH){return new et(e,t)};et.Words=WN();et.isValid=function(e,t){if(e=fd(e),t=t||et._getDictionary(e),!t)return!1;for(var r=e.split(" "),i="",n=0;n<r.length;n++){var o=t.indexOf(r[n]);if(o<0)return!1;i=i+("00000000000"+o.toString(2)).slice(-11)}var a=i.length/33,s=i.slice(-a),u=i.slice(0,i.length-a),c=f.Buffer.alloc(u.length/8);for(n=0;n<u.length/8;n++)c.writeUInt8(parseInt(i.slice(n*8,(n+1)*8),2),n);var l=et._entropyChecksum(c);return l===s};et._belongsToWordlist=function(e,t){for(var r=fd(e).split(" "),i=0;i<r.length;i++){var n=t.indexOf(r[i]);if(n<0)return!1}return!0};et._getDictionary=function(e){if(!e)return null;for(var t=Object.keys(et.Words),r=0;r<t.length;r++){var i=t[r];if(et._belongsToWordlist(e,et.Words[i]))return et.Words[i]}return null};et.prototype.toSeed=function(e){return e=e||"",GQ(fd(this.phrase),fd("mnemonic"+e),2048,64)};et.fromSeed=function(e,t){return OH.checkArgument(f.Buffer.isBuffer(e),"seed must be a Buffer."),OH.checkArgument(Lf.isArray(t)||Lf.isString(t),"wordlist must be a string or an array."),new et(e,t)};et.prototype.toHDPrivateKey=function(e,t){var r=this.toSeed(e);return KQ.fromSeed(r,t)};et.prototype.toString=function(){return this.phrase};et.prototype.inspect=function(){return"<Mnemonic: "+this.toString()+" >"};et._mnemonic=function(e,t){var r=YQ.getRandomBuffer(e/8);return et._entropy2mnemonic(r,t)};et._entropy2mnemonic=function(e,t){for(var r="",i=0;i<e.length;i++)r=r+("00000000"+e[i].toString(2)).slice(-8);if(r=r+et._entropyChecksum(e),r.length%11!==0)throw new bE.InvalidEntropy(r);var n=[];for(i=0;i<r.length/11;i++){var o=parseInt(r.slice(i*11,(i+1)*11),2);n.push(t[o])}var a;return t===et.Words.JAPANESE?a=n.join("\u3000"):a=n.join(" "),a};et._entropyChecksum=function(e){for(var t=WQ.sha256(e),r=e.length*8,i=r/32,n=new VQ(t.toString("hex"),16).toString(2);n.length%256!==0;)n="0"+n;var o=n.slice(0,i);return o};Object.defineProperty(et,"bsv",{configurable:!0,enumerable:!0,get:function(){return Uw()}});IH.exports=et});var vE=T((uhe,TH)=>{g();TH.exports=AH()});var CH=T((lhe,NH)=>{"use strict";g();var ZQ=gh(),$Q=vE(),_E=zt(),XQ=ut(),ld=ei(),fhe=Ni(),hd=Le(),PH=xm(),Is=Ie();function Mr(e,t){return this instanceof Mr?(typeof e=="string"&&(e=ld.fromWIF(e)),e!==null?(Is.checkArgument(e instanceof ld,"Invalid private key"),this.privateKey=e,this.address=e.toAddress()):(this.privateKey=null,this.address=null),this.options=t||{},this.network=this.options.network||"mainnet",this.PROTOCOL_ID="SMARTLEDGER.ATTEST",this.VERSION=1,this):new Mr(e,t)}Mr.prototype.anchorCredential=async function(e,t,r){t=t||{},typeof e=="string"&&(e=f.Buffer.from(e,"hex")),Is.checkArgument(f.Buffer.isBuffer(e),"Invalid credential hash"),Is.checkArgument(e.length===32,"Hash must be 32 bytes");var i=this._createAnchorPayload("CREDENTIAL",e,t),n=await this._createAnchorTransaction(i,r);return{txid:n.hash,transaction:n,anchorHash:e.toString("hex"),metadata:t,timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"CREDENTIAL"}}};Mr.prototype.anchorBatch=async function(e,t,r){t=t||{},Is.checkArgument(Array.isArray(e),"Credential hashes must be array"),Is.checkArgument(e.length>0,"Must provide at least one hash");var i=this._createMerkleRoot(e),n=this._createAnchorPayload("BATCH",i,{...t,batchSize:e.length,merkleRoot:i.toString("hex")}),o=await this._createAnchorTransaction(n,r);return{txid:o.hash,transaction:o,merkleRoot:i.toString("hex"),batchSize:e.length,credentialHashes:e.map(a=>f.Buffer.isBuffer(a)?a.toString("hex"):a),metadata:t,timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"BATCH"}}};Mr.prototype.registerDID=async function(e,t,r){Is.checkArgument(typeof e=="string","DID must be string"),Is.checkArgument(t&&typeof t=="object","Invalid DID document");var i=hd.sha256(f.Buffer.from(JSON.stringify(t),"utf8")),n=this._createAnchorPayload("DID_REG",i,{did:e,operation:"create",documentHash:i.toString("hex")}),o=await this._createAnchorTransaction(n,r);return{txid:o.hash,transaction:o,did:e,documentHash:i.toString("hex"),timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"DID_REG"}}};Mr.prototype.revokeCredential=async function(e,t,r){Is.checkArgument(typeof e=="string","Credential ID must be string"),t=t||"unspecified";var i={credentialId:e,reason:t,timestamp:new Date().toISOString(),issuer:this.address.toString()},n=hd.sha256(f.Buffer.from(JSON.stringify(i),"utf8")),o=this._createAnchorPayload("REVOKE",n,{credentialId:e,reason:t}),a=await this._createAnchorTransaction(o,r);return{txid:a.hash,transaction:a,credentialId:e,reason:t,revocationHash:n.toString("hex"),timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"REVOKE"}}};var JQ=["bn","privateKey","privkey","privKey","wif","privateJwk","xpriv","xprv","mnemonic"],QQ=["d","seed","secret","key"];function RH(e){if(typeof e!="string"||e.length<50||e.length>53)return!1;try{return ld.fromWIF(e),!0}catch{return!1}}function kH(e){if(typeof e!="string"||!/^(xprv|tprv)/.test(e))return!1;try{return ZQ.fromString(e),!0}catch{return!1}}function BH(e){if(typeof e!="string")return!1;var t=e.trim().split(/\s+/);if([12,15,18,21,24].indexOf(t.length)===-1)return!1;try{return $Q.isValid(e.trim())}catch{return!1}}function eee(e){if(typeof e!="string"||!/^[0-9a-fA-F]{64}$/.test(e))return!1;try{return ld.fromHex(e),!0}catch{return!1}}function tee(e){return RH(e)||kH(e)||BH(e)}function ree(e,t){var r=[];if(t&&typeof t.toWIF=="function")try{r=[t.toWIF(),t.toString(),t.bn&&t.bn.toString(16)].filter(function(a){return typeof a=="string"&&a.length}).map(function(a){return a.toLowerCase()})}catch{r=[]}function i(a,s){throw new Error("Refusing to anchor: "+(a||"metadata")+" "+s+", and anchor metadata is published in the OP_RETURN where it is permanent and public.")}function n(a,s){r.length&&r.indexOf(a.toLowerCase())!==-1&&i(s,"is this anchor's own private key"),RH(a)&&i(s,"is a WIF private key"),kH(a)&&i(s,"is an extended private key"),BH(a)&&i(s,"is a BIP39 mnemonic phrase")}function o(a,s,u){if(typeof a=="string"){n(a,s);return}if(!(!a||typeof a!="object"||u>6)){if(typeof a.toWIF=="function"&&a.bn&&i(s,"is a PrivateKey"),Array.isArray(a)){a.forEach(function(c,l){o(c,(s||"metadata")+"["+l+"]",u+1)});return}Object.keys(a).forEach(function(c){var l=a[c],p=s?s+"."+c:c;if(l!=null&&typeof l!="object"){var d=String(l);JQ.indexOf(c)!==-1&&i(p,"is a field that holds key material"),QQ.indexOf(c)!==-1&&(tee(d)||eee(d))&&i(p,"holds something that decodes as a private key")}o(l,p,u+1)})}}o(e,"",0)}Mr.prototype._createAnchorPayload=function(e,t,r){var i=Math.floor(Date.now()/1e3);ree(r,this.privateKey);var n=f.Buffer.concat([f.Buffer.from(this.PROTOCOL_ID,"utf8"),f.Buffer.from([this.VERSION]),f.Buffer.from(e.padEnd(10,"\0"),"utf8"),f.Buffer.from([i>>24,i>>16,i>>8,i]),t,f.Buffer.from(JSON.stringify(r),"utf8")]);return n};Mr.prototype._createAnchorTransaction=async function(e,t){if(!t||t.length===0)throw new Error("UTXOs required for anchor transaction");var r=200+e.length,i=this.options.feeRate||1,n=r*i,o=t.reduce((c,l)=>c+l.satoshis,0);if(o<n)throw new Error("Insufficient funds for anchor transaction");var a=new _E;t.forEach(c=>{a.from(c)});var s=XQ.buildDataOut(e);a.addOutput(new _E.Output({script:s,satoshis:0}));var u=o-n;return u>546&&a.to(this.address,u),a.sign(this.privateKey),a};Mr.prototype._createMerkleRoot=function(e){if(e.length===0)throw new Error("Cannot create Merkle root from empty array");for(var t=e.map(u=>f.Buffer.isBuffer(u)?u:f.Buffer.from(u,"hex"));t.length>1;){for(var r=[],i=0;i<t.length;i+=2){var n=t[i],o=i+1<t.length?t[i+1]:n,a=f.Buffer.concat([n,o]),s=hd.sha256(a);r.push(s)}t=r}return t[0]};Mr.parseAnchorData=function(e){if(!f.Buffer.isBuffer(e))throw new Error("Data must be Buffer");if(e.length<50)throw new Error("Data too short for SmartLedger anchor");var t=0,r=18,i=e.slice(t,t+r).toString("utf8");if(t+=r,i!=="SMARTLEDGER.ATTEST")throw new Error("Invalid protocol identifier");var n=e[t];t+=1;var o=e.slice(t,t+10).toString("utf8").replace(/\0/g,"");t+=10;var a=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3];t+=4;var s=e.slice(t,t+32);t+=32;var u=e.slice(t),c={};try{c=JSON.parse(u.toString("utf8"))}catch{}return{protocol:i,version:n,type:o,timestamp:new Date(a*1e3),hash:s.toString("hex"),metadata:c}};Mr.verifyAnchor=async function(e,t,r){if(r=r||{},!e||!t)throw new Error("verifyAnchor requires both txid and expectedHash");if(r.spvProof&&(r.header||r.headerChain)&&r.rawTx)return Mr._verifyAnchorSPV(e,t,r);if(typeof r.chainProvider!="function")throw new Error("verifyAnchor needs either a trustless SPV proof \u2014 { spvProof: { index, nodes }, header, rawTx } \u2014 or a trusted options.chainProvider(txid) returning { confirmations, blockHeight, opReturns }. Refusing to fabricate a result.");var i=r.minConfirmations!=null?r.minConfirmations:1,n=await r.chainProvider(e),o=n&&n.confirmations||0,a=n&&n.opReturns||[],s=String(t).toLowerCase(),u=a.some(function(l){return String(l).toLowerCase().indexOf(s)!==-1}),c=o>=i&&u;return{verified:c,txid:e,hash:t,committed:u,confirmations:o,blockHeight:n&&n.blockHeight||null,timestamp:new Date().toISOString(),proof:{type:"blockchain_anchor",protocol:"SMARTLEDGER.ATTEST",network:r.network||"mainnet"}}};Mr._verifyAnchorSPV=function(e,t,r){var i=r.spvProof||{},n=null,o=r.header;r.headerChain&&(n=PH.verifyHeaderChain(r.headerChain,{requirePow:r.requirePow!==!1,powLimit:r.powLimit,trustedHash:r.trustedHash}),o=r.headerChain[0]);var a=PH.verifyTxInclusion({txid:e,index:i.index,nodes:i.nodes,header:o,requirePow:r.requirePow!==!1,powLimit:r.powLimit,minWork:r.minWork}),s=f.Buffer.isBuffer(r.rawTx)?r.rawTx:f.Buffer.from(r.rawTx,"hex"),u=f.Buffer.from(hd.sha256sha256(s)).reverse().toString("hex"),c=u.toLowerCase()===String(e).toLowerCase(),l=c&&Mr._rawTxCommitsTo(s,t),p=n?n.count:r.header?1:0,d=r.minConfirmations!=null?r.minConfirmations:1,v=n?n.valid:!0,_=p>=d;return{verified:a.valid&&c&&l&&v&&_,chainVerified:a.valid,committed:l,txidBound:c,powValid:a.powValid,confirmations:p,headerChainValid:n?n.valid:null,headerChainReason:n&&n.reason||null,tipHash:n?n.tipHash:null,txid:e,hash:t,blockHash:a.blockHash,merkleRoot:a.merkleRoot,timestamp:new Date().toISOString(),proof:{type:n?"spv_merkle_inclusion_with_confirmations":"spv_merkle_inclusion",protocol:"SMARTLEDGER.ATTEST",network:r.network||"mainnet"}}};Mr._rawTxCommitsTo=function(e,t){var r=String(t).toLowerCase(),i;try{i=new _E(e)}catch{return!1}return i.outputs.some(function(n){var o=n.script;if(!o||!o.chunks||!o.chunks.length)return!1;var a=o.chunks[0].opcodenum===106||o.chunks[0].opcodenum===0&&o.chunks[1]&&o.chunks[1].opcodenum===106;return a?o.chunks.some(function(s){return s.buf&&s.buf.toString("hex").toLowerCase().indexOf(r)!==-1}):!1})};Mr.getCostEstimate=function(e,t){t=t||{};var r=t.feeRate||1,i=200,n=32,o=e*(i+n)*r,a=(i+e*n)*r;return{individual:{totalCost:o,costPerHash:i*r,transactions:e},batch:{totalCost:a,costPerHash:Math.ceil(a/e),transactions:1},savings:{absolute:o-a,percentage:Math.round((o-a)/o*100)}}};Mr.createUTXO=function(e,t,r,i){return{txid:e,outputIndex:t,satoshis:r,script:i}};Mr.generateTestData=function(){var e=new ld,t=new Mr(e),r=hd.sha256(f.Buffer.from("test credential data")),i={issuer:"did:smartledger:test",type:"EmailVerifiedCredential",environment:"test"};return{privateKey:e.toWIF(),address:e.toAddress().toString(),credentialHash:r.toString("hex"),metadata:i,anchor:t}};NH.exports=Mr});var MH=T((dhe,LH)=>{"use strict";g();var wE=Ie(),dd={EmailVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/email/v1"],type:["VerifiableCredential","EmailVerifiedCredential"],requiredFields:["credentialSubject.email","credentialSubject.verified"],properties:{credentialSubject:{type:"object",required:["email","verified"],properties:{email:{type:"string",format:"email"},verified:{type:"boolean"},verificationMethod:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"}}}}},AgeVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/age/v1"],type:["VerifiableCredential","AgeVerifiedCredential"],requiredFields:["credentialSubject.ageOver","credentialSubject.verified"],properties:{credentialSubject:{type:"object",required:["ageOver","verified"],properties:{ageOver:{type:"number",minimum:0,maximum:150},verified:{type:"boolean"},birthDateHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},verificationMethod:{type:"string"}}}}},KYCVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/kyc/v1"],type:["VerifiableCredential","KYCVerifiedCredential"],requiredFields:["credentialSubject.kycLevel","credentialSubject.verified","credentialSubject.verifyingAuthority"],properties:{credentialSubject:{type:"object",required:["kycLevel","verified","verifyingAuthority"],properties:{kycLevel:{type:"string",enum:["basic","enhanced","premium","institutional"]},verified:{type:"boolean"},verifyingAuthority:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"},firstNameHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},lastNameHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},ssnHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"}}}}},OrganizationCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/organization/v1"],type:["VerifiableCredential","OrganizationCredential"],requiredFields:["credentialSubject.name","credentialSubject.type","credentialSubject.verified"],properties:{credentialSubject:{type:"object",required:["name","type","verified"],properties:{name:{type:"string"},type:{type:"string",enum:["Corporation","LLC","Partnership","NGO","Government","Other"]},verified:{type:"boolean"},taxIdHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},incorporationState:{type:"string"},industry:{type:"string"},verificationMethod:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"}}}}},SSNVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ssn/v1"],type:["VerifiableCredential","SSNVerifiedCredential"],requiredFields:["credentialSubject.ssnHash","credentialSubject.verified","credentialSubject.verifyingAuthority"],properties:{credentialSubject:{type:"object",required:["ssnHash","verified","verifyingAuthority"],properties:{ssnHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},verified:{type:"boolean"},verifyingAuthority:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"},issuingState:{type:"string"}}}}},EducationalCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/education/v1"],type:["VerifiableCredential","EducationalCredential"],requiredFields:["credentialSubject.degree","credentialSubject.institution","credentialSubject.graduationDate"],properties:{credentialSubject:{type:"object",required:["degree","institution","graduationDate"],properties:{degree:{type:"string"},institution:{type:"string"},graduationDate:{type:"string",format:"date"},gpa:{type:"number",minimum:0,maximum:4},major:{type:"string"},honors:{type:"array",items:{type:"string"}}}}}},ProfessionalLicenseCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/license/v1"],type:["VerifiableCredential","ProfessionalLicenseCredential"],requiredFields:["credentialSubject.licenseType","credentialSubject.licenseNumber","credentialSubject.issuingAuthority","credentialSubject.isValid"],properties:{credentialSubject:{type:"object",required:["licenseType","licenseNumber","issuingAuthority","isValid"],properties:{licenseType:{type:"string"},licenseNumber:{type:"string"},issuingAuthority:{type:"string"},issuingState:{type:"string"},isValid:{type:"boolean"},issueDate:{type:"string",format:"date"},expirationDate:{type:"string",format:"date"}}}}}},iee={getSchema:function(e){return dd[e]||null},getAllSchemas:function(){return dd},validate:function(e,t){try{wE.checkArgument(e&&typeof e=="object","Invalid credential");var r;if(typeof t=="string"){if(r=dd[t],!r)return{valid:!1,errors:["Unknown schema type: "+t]}}else if(typeof t=="object")r=t;else return{valid:!1,errors:["Invalid schema parameter"]};var i=[],n=[];return this._validateCredentialStructure(e,i),this._validateCredentialTypes(e,r,i),this._validateRequiredFields(e,r,i),this._validateFieldProperties(e,r,i,n),{valid:i.length===0,errors:i,warnings:n}}catch(o){return{valid:!1,errors:["Schema validation error: "+o.message]}}},_validateCredentialStructure:function(e,t){e["@context"]||t.push("Missing @context"),e.type||t.push("Missing type"),e.issuer||t.push("Missing issuer"),e.issuanceDate||t.push("Missing issuanceDate"),e.credentialSubject||t.push("Missing credentialSubject")},_validateCredentialTypes:function(e,t,r){if(!Array.isArray(e.type)){r.push("Credential type must be array");return}if(t.type&&Array.isArray(t.type))for(var i=0;i<t.type.length;i++)e.type.includes(t.type[i])||r.push("Missing required type: "+t.type[i])},_validateRequiredFields:function(e,t,r){if(t.requiredFields&&Array.isArray(t.requiredFields))for(var i=0;i<t.requiredFields.length;i++){var n=t.requiredFields[i],o=this._getNestedProperty(e,n);o==null&&r.push("Missing required field: "+n)}},_validateFieldProperties:function(e,t,r,i){t.properties&&t.properties.credentialSubject&&this._validateObjectProperties(e.credentialSubject,t.properties.credentialSubject,"credentialSubject",r,i)},_validateObjectProperties:function(e,t,r,i,n){!e||typeof e!="object"||t.properties&&Object.keys(t.properties).forEach(function(o){var a=e[o],s=t.properties[o],u=r+"."+o;a!=null&&this._validateProperty(a,s,u,i,n)}.bind(this))},_validateProperty:function(e,t,r,i,n){if(t.type){var o=Array.isArray(e)?"array":typeof e;if(o!==t.type){i.push("Invalid type for "+r+": expected "+t.type+", got "+o);return}}if(t.type==="string"&&(t.format==="email"&&!this._isValidEmail(e)&&i.push("Invalid email format for "+r),t.format==="date"&&!this._isValidDate(e)&&i.push("Invalid date format for "+r),t.format==="date-time"&&!this._isValidDateTime(e)&&i.push("Invalid date-time format for "+r),t.pattern&&!new RegExp(t.pattern).test(e)&&i.push("Value does not match pattern for "+r),t.enum&&!t.enum.includes(e)&&i.push("Invalid enum value for "+r+": "+e)),t.type==="number"&&(t.minimum!==void 0&&e<t.minimum&&i.push("Value below minimum for "+r+": "+e+" < "+t.minimum),t.maximum!==void 0&&e>t.maximum&&i.push("Value above maximum for "+r+": "+e+" > "+t.maximum)),t.type==="array"&&t.items)for(var a=0;a<e.length;a++)this._validateProperty(e[a],t.items,r+"["+a+"]",i,n)},_getNestedProperty:function(e,t){return t.split(".").reduce(function(r,i){return r&&r[i]},e)},_isValidEmail:function(e){var t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return t.test(e)},_isValidDate:function(e){var t=new Date(e);return!isNaN(t.getTime())&&e.match(/^\d{4}-\d{2}-\d{2}$/)},_isValidDateTime:function(e){var t=new Date(e);return!isNaN(t.getTime())},addSchema:function(e,t){wE.checkArgument(typeof e=="string","Schema name must be string"),wE.checkArgument(t&&typeof t=="object","Invalid schema definition"),dd[e]=t},createTemplate:function(e){var t=dd[e];if(!t)throw new Error("Unknown credential type: "+e);var r={"@context":t["@context"]||["https://www.w3.org/2018/credentials/v1"],type:t.type||["VerifiableCredential"],issuer:"did:smartledger:ISSUER_DID_HERE",issuanceDate:new Date().toISOString(),credentialSubject:this._createSubjectTemplate(t.properties?t.properties.credentialSubject:{})};return r},_createSubjectTemplate:function(e){var t={id:"SUBJECT_ID_HERE"};return e.properties&&Object.keys(e.properties).forEach(function(r){var i=e.properties[r];t[r]=this._getDefaultValue(i)}.bind(this)),t},_getDefaultValue:function(e){switch(e.type){case"string":return e.enum?e.enum[0]:e.format==="email"?"example@example.com":e.format==="date"?"2023-01-01":e.format==="date-time"?new Date().toISOString():"PLACEHOLDER_STRING";case"number":return e.minimum||0;case"boolean":return!0;case"array":return[];case"object":return{};default:return null}}};LH.exports=iee});var yE=T((ghe,DH)=>{"use strict";g();var nee=om(),Mf=am(),oee=fN(),aee=hN(),pd=CH(),see=MH();function tt(e){if(!(this instanceof tt))return new tt(e);e=e||{},this.didResolver=nee,this.attestationVerifier=oee,this.zkProver=aee,this.schemaValidator=see,this._attestationSignerOptions=e.attestationSigner||{},this._anchorOptions=e.anchor||{}}tt.prototype.createDID=function(e){return this.didResolver.fromPublicKey(e)};tt.prototype.resolveDID=function(e){return this.didResolver.resolve(e)};tt.prototype.verifyDIDOwnership=function(e,t){return this.didResolver.verifyOwnership(e,t)};tt.prototype.createEmailCredential=function(e,t,r,i){var n=new Mf(i,this._attestationSignerOptions);return n.createEmailCredential(r,{issuerDID:e,subjectId:t})};tt.prototype.createAgeCredential=function(e,t,r,i,n){var o=new Mf(n,this._attestationSignerOptions);return o.createAgeCredential(r,i,{issuerDID:e,subjectId:t})};tt.prototype.createKYCCredential=function(e,t,r,i,n){var o=new Mf(n,this._attestationSignerOptions),a=Object.assign({level:r},i);return o.createKYCCredential(a,{issuerDID:e,subjectId:t})};tt.prototype.createOrganizationCredential=function(e,t,r,i){var n=new Mf(i,this._attestationSignerOptions);return n.createOrganizationCredential(r,{issuerDID:e,subjectId:t})};tt.prototype.createPresentation=function(e,t,r,i){var n=new Mf(r,this._attestationSignerOptions);return n.createPresentation(e,t,r,i)};tt.prototype.signCredential=function(e,t){var r=new Mf(t,this._attestationSignerOptions);return r.signCredential(e,t)};tt.prototype.verifyCredential=function(e,t){return this.attestationVerifier.verifyCredential(e,t)};tt.prototype.verifyPresentation=function(e,t){return this.attestationVerifier.verifyPresentation(e,t)};tt.prototype.extractClaims=function(e){return this.attestationVerifier.extractClaims(e)};tt.prototype.generateSelectiveProof=function(e,t,r){return this.zkProver.generateSelectiveProof(e,t,r)};tt.prototype.verifySelectiveProof=function(e,t){return this.zkProver.verifySelectiveProof(e,t)};tt.prototype.generateAgeProof=function(e,t,r){var i=new Date("1995-06-15");return this.zkProver.generateAgeProof(i,t,r)};tt.prototype.verifyAgeProof=function(e,t,r){return this.zkProver.verifyAgeProof(e,t,r)};tt.prototype.generateRangeProof=function(e,t,r,i){return this.zkProver.generateRangeProof(e,t,r,i)};tt.prototype.verifyRangeProof=function(e,t,r){return this.zkProver.verifyRangeProof(e,t,r)};tt.prototype.generateMembershipProof=function(e,t,r){return this.zkProver.generateMembershipProof(e,t,r)};tt.prototype.verifyMembershipProof=function(e,t){return this.zkProver.verifyMembershipProof(e,t)};function Mv(e){return Array.isArray(e)?{metadata:void 0,utxos:e}:(e=e||{},{metadata:e.metadata,utxos:e.utxos})}tt.prototype.anchorCredential=function(e,t,r){var i=new pd(t,this._anchorOptions),n=Mv(r);return i.anchorCredential(e,n.metadata,n.utxos)};tt.prototype.anchorBatch=function(e,t,r){var i=new pd(t,this._anchorOptions),n=Mv(r);return i.anchorBatch(e,n.metadata,n.utxos)};tt.prototype.registerDID=function(e,t,r,i){var n=new pd(r,this._anchorOptions);return n.registerDID(e,t,Mv(i).utxos)};tt.prototype.revokeCredential=function(e,t,r,i){var n=new pd(r,this._anchorOptions);return n.revokeCredential(e,t,Mv(i).utxos)};tt.prototype.queryAnchoredData=function(e){var t=new pd(null,this._anchorOptions);return t.queryAnchoredData(e)};tt.prototype.validateCredential=function(e,t){return this.schemaValidator.validate(e,t)};tt.prototype.getSchema=function(e){return this.schemaValidator.getSchema(e)};tt.prototype.getAllSchemas=function(){return this.schemaValidator.getAllSchemas()};tt.prototype.addSchema=function(e,t){return this.schemaValidator.addSchema(e,t)};tt.prototype.createTemplate=function(e){return this.schemaValidator.createTemplate(e)};tt.prototype.generateNonce=function(e){e=e||32;var t=nr();return t.randomBytes(e).toString("hex")};tt.prototype.hashData=function(e,t){var r=nr(),i=r.createHash("sha256");return i.update(e),t&&i.update(t),i.digest("hex")};tt.prototype.getVersion=function(){return"1.0.0"};tt.prototype.getInfo=function(){return{name:"SmartLedger BSV Global Digital Attestation Framework",version:this.getVersion(),description:"W3C-compliant verifiable credentials with DID resolution, zero-knowledge proofs, and blockchain anchoring",components:{didResolver:"DID Resolution and Management",attestationSigner:"Verifiable Credential Creation",attestationVerifier:"Credential and Presentation Verification",zkProver:"Zero-Knowledge Proof Generation and Verification",anchor:"Blockchain Anchoring and Timestamping",schemaValidator:"W3C VC Schema Validation"},standards:["W3C Verifiable Credentials Data Model v1.1","W3C Decentralized Identifiers (DIDs) v1.0","RFC 7515 JSON Web Signature (JWS)","BSV Blockchain Protocol"]}};DH.exports=tt});var uee=T((vhe,HH)=>{g();HH.exports=yE()});return uee();})();
101
+ not also include their own bsv dependency.`;console.warn(t)}};H.versionGuard(globalThis._bsv);globalThis._bsv=H.version;H.isHardened=!0;H.hardenedBy="SmartLedger";H.baseVersion="v1.5.6";H.securityFeatures=["canonical-signatures","malleability-protection","enhanced-validation","audited-noble-curves","fail-closed-verification"];H.crypto={};H.crypto.BN=Ke();H.crypto.ECDSA=dn();H.crypto.Hash=Le();H.crypto.Random=Ki();H.crypto.Point=un();H.crypto.Signature=gt();H.crypto.Shamir=U_();H.crypto.SmartVerify=mm();H.crypto.EllipticFixed=vm();H.encoding={};H.encoding.Base58=Tc();H.encoding.Base58Check=Pc();H.encoding.BufferReader=lo();H.encoding.BufferWriter=Nn();H.encoding.Varint=Cc();H.util={};H.util.js=ni();H.util.preconditions=Ie();H.util.deprecate=ts();H.errors=pi();H.Address=Ni();H.Block=vC();H.MerkleBlock=Z_();H.BlockHeader=Vc();H.SPV=xm();H.NotaryHash=eL();H.HDPrivateKey=gh();H.HDPublicKey=L_();H.Networks=ca();H.Opcode=Pr();H.PrivateKey=ei();H.PublicKey=sr();H.Script=ut();H.Transaction=zt();H.Input=zt().Input;H.Output=zt().Output;H.UnspentOutput=zt().UnspentOutput;H.Message=sL();H.Mnemonic=vE();H.ECIES=HL();H.Signature=gt();H.Shamir=U_();H.SmartLedger={version:H.version,hardenedBy:H.hardenedBy,baseVersion:H.baseVersion,securityFeatures:H.securityFeatures,SmartVerify:mm(),EllipticFixed:vm()};H.SmartVerify=mm();H.EllipticFixed=vm();try{H.SmartContract=gD()}catch(e){typeof window>"u"&&console.warn("SmartContract module not available:",e.message)}try{H.BrowserUTXOManager=mD()}catch(e){typeof window>"u"&&console.warn("[bsv] BrowserUTXOManager failed to load:",e.message)}if(typeof window>"u"&&typeof Wr=="function")try{H.SmartMiner=yD(),H.CustomScriptHelper=SD()}catch{}H.Ordinals=n6();H.GDAF=yE();try{H.DIDWeb=a6()}catch(e){typeof window>"u"&&console.warn("[bsv] DIDWeb module failed to load:",e.message)}try{H.VcJwt=NS()}catch(e){typeof window>"u"&&console.warn("[bsv] VcJwt module failed to load:",e.message)}try{H.StatusList=Z3()}catch(e){typeof window>"u"&&console.warn("[bsv] StatusList module failed to load:",e.message)}try{H.Anchor=J3()}catch(e){typeof window>"u"&&console.warn("[bsv] Anchor module failed to load:",e.message)}H.createDID=function(e){var t=new H.GDAF;return t.createDID(e)};H.resolveDID=function(e){var t=new H.GDAF;return t.resolveDID(e)};H.createEmailCredential=function(e,t,r,i){var n=new H.GDAF;return n.createEmailCredential(e,t,r,i)};H.createAgeCredential=function(e,t,r,i,n){var o=new H.GDAF;return o.createAgeCredential(e,t,r,i,n)};H.createKYCCredential=function(e,t,r,i,n){var o=new H.GDAF;return o.createKYCCredential(e,t,r,i,n)};H.verifyCredential=function(e,t){var r=new H.GDAF;return r.verifyCredential(e,t)};H.validateCredential=function(e,t){var r=new H.GDAF;return r.validateCredential(e,t)};H.generateSelectiveProof=function(e,t,r){var i=new H.GDAF;return i.generateSelectiveProof(e,t,r)};H.generateAgeProof=function(e,t,r){var i=new H.GDAF;return i.generateAgeProof(e,t,r)};H.verifyAgeProof=function(e,t,r){var i=new H.GDAF;return i.verifyAgeProof(e,t,r)};H.createPresentation=function(e,t,r,i){var n=new H.GDAF;return n.createPresentation(e,t,r,i)};H.getCredentialSchemas=function(){var e=new H.GDAF;return e.getAllSchemas()};H.createCredentialTemplate=function(e){var t=new H.GDAF;return t.createTemplate(e)};H.LTP=wH();H.JCS=jc();H.prepareRightToken=function(e,t,r,i,n,o){return H.LTP.Right.prepareRightToken(e,t,r,i,n,o)};H.prepareRightTokenVerification=function(e,t){return H.LTP.Right.prepareRightTokenVerification(e,t)};H.prepareRightTokenTransfer=function(e,t,r,i){return H.LTP.Right.prepareRightTokenTransfer(e,t,r,i)};H.prepareRightTypeValidation=function(e){return H.LTP.Right.prepareRightTypeValidation(e)};H.prepareObligationToken=function(e,t,r,i,n,o){return H.LTP.Obligation.prepareObligationToken(e,t,r,i,n,o)};H.prepareObligationVerification=function(e,t){return H.LTP.Obligation.prepareObligationVerification(e,t)};H.prepareObligationFulfillment=function(e,t,r,i){return H.LTP.Obligation.prepareObligationFulfillment(e,t,r,i)};H.prepareObligationBreachAssessment=function(e,t,r){return H.LTP.Obligation.prepareObligationBreachAssessment(e,t,r)};H.prepareObligationMonitoringReport=function(e,t){return H.LTP.Obligation.prepareObligationMonitoringReport(e,t)};H.prepareClaimValidation=function(e,t){return H.LTP.Claim.prepareClaimValidation(e,t)};H.prepareClaimAttestation=function(e,t,r){return H.LTP.Claim.prepareClaimAttestation(e,t,r)};H.prepareClaimDispute=function(e,t,r){return H.LTP.Claim.prepareClaimDispute(e,t,r)};H.prepareBulkClaimValidation=function(e,t){return H.LTP.Claim.prepareBulkClaimValidation(e,t)};H.prepareClaimTemplate=function(e,t){return H.LTP.Claim.prepareClaimTemplate(e,t)};H.prepareSignatureProof=function(e,t,r){return H.LTP.Proof.prepareSignatureProof(e,t,r)};H.prepareSignatureVerification=function(e,t){return H.LTP.Proof.prepareSignatureVerification(e,t)};H.prepareSelectiveDisclosure=function(e,t,r){return H.LTP.Proof.prepareSelectiveDisclosure(e,t,r)};H.prepareSelectiveDisclosureVerification=function(e,t){return H.LTP.Proof.prepareSelectiveDisclosureVerification(e,t)};H.prepareLegalValidityProof=function(e,t,r){return H.LTP.Proof.prepareLegalValidityProof(e,t,r)};H.prepareZeroKnowledgeProof=function(e,t,r){return H.LTP.Proof.prepareZeroKnowledgeProof(e,t,r)};H.prepareRegistry=function(e){return H.LTP.Registry.prepareRegistry(e)};H.prepareTokenRegistration=function(e,t,r){return H.LTP.Registry.prepareTokenRegistration(e,t,r)};H.prepareTokenApproval=function(e,t,r){return H.LTP.Registry.prepareTokenApproval(e,t,r)};H.prepareTokenRevocation=function(e,t,r){return H.LTP.Registry.prepareTokenRevocation(e,t,r)};H.prepareTokenStatusQuery=function(e,t){return H.LTP.Registry.prepareTokenStatusQuery(e,t)};H.prepareTokenSearch=function(e,t){return H.LTP.Registry.prepareTokenSearch(e,t)};H.prepareStatisticsQuery=function(e){return H.LTP.Registry.prepareStatisticsQuery(e)};H.prepareAuditLogQuery=function(e,t){return H.LTP.Registry.prepareAuditLogQuery(e,t)};H.prepareTokenCommitment=function(e,t){return H.LTP.Anchor.prepareTokenCommitment(e,t)};H.prepareBatchCommitment=function(e,t){return H.LTP.Anchor.prepareBatchCommitment(e,t)};H.verifyTokenAnchor=function(e,t,r){return H.LTP.Anchor.verifyTokenAnchor(e,t,r)};H.formatRevocation=function(e,t){return H.LTP.Anchor.formatRevocation(e,t)};H.createRightToken=function(e,t,r){var i=new H.LTP;return i.createRightToken(e,t,r)};H.verifyLegalToken=function(e,t){var r=new H.LTP;return r.verifyToken(e,t)};H.validateLegalClaim=function(e,t){var r=new H.LTP;return r.validateClaim(e,t)};H.createSelectiveDisclosure=function(e,t,r){var i=new H.LTP;return i.createSelectiveDisclosure(e,t,r)};H.createLegalRegistry=function(e){return H.LTP.Registry.prepareRegistry(e)};H.createLegalValidityProof=function(e,t,r){var i=new H.LTP;return i.createLegalValidityProof(e,t,r)};H.getRightTypes=function(){return H.LTP.Right.getRightTypes()};H.getObligationTypes=function(){return H.LTP.Obligation.getObligationTypes()};H.getObligationPriority=function(){return H.LTP.Obligation.getObligationPriority()};H.getObligationStatus=function(){return H.LTP.Obligation.getObligationStatus()};H.getClaimSchemas=function(){return H.LTP.Claim.getSchemas()};H.getClaimSchemaNames=function(){return H.LTP.Claim.getSchemaNames()};H.getClaimSchema=function(e){return H.LTP.Claim.getSchema(e)};H.createClaimTemplate=function(e){return H.LTP.Claim.createTemplate(e)};H.canonicalizeClaim=function(e,t){return H.LTP.Claim.canonicalize(e,t)};H.hashClaim=function(e,t){return H.LTP.Claim.hash(e,t)};H.addCustomClaimSchema=function(e,t){return H.LTP.Claim.addSchema(e,t)};H.Transaction.sighash=mi()});var AH=T((ahe,IH)=>{"use strict";g();var KQ=gh(),VQ=Ke(),Lf=at(),GQ=kN(),bE=NN(),xH=pi(),WQ=Le(),YQ=Ki(),OH=Ie();function fd(e){return typeof e=="string"?e.normalize("NFKD"):""}var et=function(e,t){if(!(this instanceof et))return new et(e,t);Lf.isArray(e)&&(t=e,e=null);var r,i,n;if(f.Buffer.isBuffer(e))n=e;else if(Lf.isString(e))i=fd(e);else if(Lf.isNumber(e))r=e;else if(e)throw new xH.InvalidArgument("data","Must be a Buffer, a string or an integer");if(r=r||128,t=t||et._getDictionary(i),i&&!t)throw new bE.UnknownWordlist(i);if(t=t||et.Words.ENGLISH,n&&(i=et._entropy2mnemonic(n,t)),i&&!et.isValid(i,t))throw new bE.InvalidMnemonic(i);if(r%32!==0||r<128)throw new xH.InvalidArgument("ENT","Values must be ENT > 128 and ENT % 32 == 0");i=i||et._mnemonic(r,t),Object.defineProperty(this,"wordlist",{configurable:!1,value:t}),Object.defineProperty(this,"phrase",{configurable:!1,value:i})};et.fromRandom=function(e,t){if(Lf.isNumber(e)){var r=t;t=e,e=r}return e=e||et.Words.ENGLISH,t=t||128,new et(t,e)};et.fromString=function(e,t=et.Words.ENGLISH){return new et(e,t)};et.Words=WN();et.isValid=function(e,t){if(e=fd(e),t=t||et._getDictionary(e),!t)return!1;for(var r=e.split(" "),i="",n=0;n<r.length;n++){var o=t.indexOf(r[n]);if(o<0)return!1;i=i+("00000000000"+o.toString(2)).slice(-11)}var a=i.length/33,s=i.slice(-a),u=i.slice(0,i.length-a),c=f.Buffer.alloc(u.length/8);for(n=0;n<u.length/8;n++)c.writeUInt8(parseInt(i.slice(n*8,(n+1)*8),2),n);var l=et._entropyChecksum(c);return l===s};et._belongsToWordlist=function(e,t){for(var r=fd(e).split(" "),i=0;i<r.length;i++){var n=t.indexOf(r[i]);if(n<0)return!1}return!0};et._getDictionary=function(e){if(!e)return null;for(var t=Object.keys(et.Words),r=0;r<t.length;r++){var i=t[r];if(et._belongsToWordlist(e,et.Words[i]))return et.Words[i]}return null};et.prototype.toSeed=function(e){return e=e||"",GQ(fd(this.phrase),fd("mnemonic"+e),2048,64)};et.fromSeed=function(e,t){return OH.checkArgument(f.Buffer.isBuffer(e),"seed must be a Buffer."),OH.checkArgument(Lf.isArray(t)||Lf.isString(t),"wordlist must be a string or an array."),new et(e,t)};et.prototype.toHDPrivateKey=function(e,t){var r=this.toSeed(e);return KQ.fromSeed(r,t)};et.prototype.toString=function(){return this.phrase};et.prototype.inspect=function(){return"<Mnemonic: "+this.toString()+" >"};et._mnemonic=function(e,t){var r=YQ.getRandomBuffer(e/8);return et._entropy2mnemonic(r,t)};et._entropy2mnemonic=function(e,t){for(var r="",i=0;i<e.length;i++)r=r+("00000000"+e[i].toString(2)).slice(-8);if(r=r+et._entropyChecksum(e),r.length%11!==0)throw new bE.InvalidEntropy(r);var n=[];for(i=0;i<r.length/11;i++){var o=parseInt(r.slice(i*11,(i+1)*11),2);n.push(t[o])}var a;return t===et.Words.JAPANESE?a=n.join("\u3000"):a=n.join(" "),a};et._entropyChecksum=function(e){for(var t=WQ.sha256(e),r=e.length*8,i=r/32,n=new VQ(t.toString("hex"),16).toString(2);n.length%256!==0;)n="0"+n;var o=n.slice(0,i);return o};Object.defineProperty(et,"bsv",{configurable:!0,enumerable:!0,get:function(){return Uw()}});IH.exports=et});var vE=T((uhe,TH)=>{g();TH.exports=AH()});var CH=T((lhe,NH)=>{"use strict";g();var ZQ=gh(),$Q=vE(),_E=zt(),XQ=ut(),ld=ei(),fhe=Ni(),hd=Le(),PH=xm(),Is=Ie();function Mr(e,t){return this instanceof Mr?(typeof e=="string"&&(e=ld.fromWIF(e)),e!==null?(Is.checkArgument(e instanceof ld,"Invalid private key"),this.privateKey=e,this.address=e.toAddress()):(this.privateKey=null,this.address=null),this.options=t||{},this.network=this.options.network||"mainnet",this.PROTOCOL_ID="SMARTLEDGER.ATTEST",this.VERSION=1,this):new Mr(e,t)}Mr.prototype.anchorCredential=async function(e,t,r){t=t||{},typeof e=="string"&&(e=f.Buffer.from(e,"hex")),Is.checkArgument(f.Buffer.isBuffer(e),"Invalid credential hash"),Is.checkArgument(e.length===32,"Hash must be 32 bytes");var i=this._createAnchorPayload("CREDENTIAL",e,t),n=await this._createAnchorTransaction(i,r);return{txid:n.hash,transaction:n,anchorHash:e.toString("hex"),metadata:t,timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"CREDENTIAL"}}};Mr.prototype.anchorBatch=async function(e,t,r){t=t||{},Is.checkArgument(Array.isArray(e),"Credential hashes must be array"),Is.checkArgument(e.length>0,"Must provide at least one hash");var i=this._createMerkleRoot(e),n=this._createAnchorPayload("BATCH",i,{...t,batchSize:e.length,merkleRoot:i.toString("hex")}),o=await this._createAnchorTransaction(n,r);return{txid:o.hash,transaction:o,merkleRoot:i.toString("hex"),batchSize:e.length,credentialHashes:e.map(a=>f.Buffer.isBuffer(a)?a.toString("hex"):a),metadata:t,timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"BATCH"}}};Mr.prototype.registerDID=async function(e,t,r){Is.checkArgument(typeof e=="string","DID must be string"),Is.checkArgument(t&&typeof t=="object","Invalid DID document");var i=hd.sha256(f.Buffer.from(JSON.stringify(t),"utf8")),n=this._createAnchorPayload("DID_REG",i,{did:e,operation:"create",documentHash:i.toString("hex")}),o=await this._createAnchorTransaction(n,r);return{txid:o.hash,transaction:o,did:e,documentHash:i.toString("hex"),timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"DID_REG"}}};Mr.prototype.revokeCredential=async function(e,t,r){Is.checkArgument(typeof e=="string","Credential ID must be string"),t=t||"unspecified";var i={credentialId:e,reason:t,timestamp:new Date().toISOString(),issuer:this.address.toString()},n=hd.sha256(f.Buffer.from(JSON.stringify(i),"utf8")),o=this._createAnchorPayload("REVOKE",n,{credentialId:e,reason:t}),a=await this._createAnchorTransaction(o,r);return{txid:a.hash,transaction:a,credentialId:e,reason:t,revocationHash:n.toString("hex"),timestamp:new Date().toISOString(),blockchainProof:{protocol:this.PROTOCOL_ID,version:this.VERSION,type:"REVOKE"}}};var JQ=["bn","privateKey","privkey","privKey","wif","privateJwk","xpriv","xprv","mnemonic"],QQ=["d","seed","secret","key"];function RH(e){if(typeof e!="string"||e.length<50||e.length>53)return!1;try{return ld.fromWIF(e),!0}catch{return!1}}function kH(e){if(typeof e!="string"||!/^(xprv|tprv)/.test(e))return!1;try{return ZQ.fromString(e),!0}catch{return!1}}function BH(e){if(typeof e!="string")return!1;var t=e.trim().split(/\s+/);if([12,15,18,21,24].indexOf(t.length)===-1)return!1;try{return $Q.isValid(e.trim())}catch{return!1}}function eee(e){if(typeof e!="string"||!/^[0-9a-fA-F]{64}$/.test(e))return!1;try{return ld.fromHex(e),!0}catch{return!1}}function tee(e){return RH(e)||kH(e)||BH(e)}function ree(e,t){var r=[];if(t&&typeof t.toWIF=="function")try{r=[t.toWIF(),t.toString(),t.bn&&t.bn.toString(16)].filter(function(a){return typeof a=="string"&&a.length}).map(function(a){return a.toLowerCase()})}catch{r=[]}function i(a,s){throw new Error("Refusing to anchor: "+(a||"metadata")+" "+s+", and anchor metadata is published in the OP_RETURN where it is permanent and public.")}function n(a,s){r.length&&r.indexOf(a.toLowerCase())!==-1&&i(s,"is this anchor's own private key"),RH(a)&&i(s,"is a WIF private key"),kH(a)&&i(s,"is an extended private key"),BH(a)&&i(s,"is a BIP39 mnemonic phrase")}function o(a,s,u){if(typeof a=="string"){n(a,s);return}if(!(!a||typeof a!="object"||u>6)){if(typeof a.toWIF=="function"&&a.bn&&i(s,"is a PrivateKey"),Array.isArray(a)){a.forEach(function(c,l){o(c,(s||"metadata")+"["+l+"]",u+1)});return}Object.keys(a).forEach(function(c){var l=a[c],p=s?s+"."+c:c;if(l!=null&&typeof l!="object"){var d=String(l);JQ.indexOf(c)!==-1&&i(p,"is a field that holds key material"),QQ.indexOf(c)!==-1&&(tee(d)||eee(d))&&i(p,"holds something that decodes as a private key")}o(l,p,u+1)})}}o(e,"",0)}Mr.prototype._createAnchorPayload=function(e,t,r){var i=Math.floor(Date.now()/1e3);ree(r,this.privateKey);var n=f.Buffer.concat([f.Buffer.from(this.PROTOCOL_ID,"utf8"),f.Buffer.from([this.VERSION]),f.Buffer.from(e.padEnd(10,"\0"),"utf8"),f.Buffer.from([i>>24,i>>16,i>>8,i]),t,f.Buffer.from(JSON.stringify(r),"utf8")]);return n};Mr.prototype._createAnchorTransaction=async function(e,t){if(!t||t.length===0)throw new Error("UTXOs required for anchor transaction");var r=200+e.length,i=this.options.feeRate||1,n=r*i,o=t.reduce((c,l)=>c+l.satoshis,0);if(o<n)throw new Error("Insufficient funds for anchor transaction");var a=new _E;t.forEach(c=>{a.from(c)});var s=XQ.buildDataOut(e);a.addOutput(new _E.Output({script:s,satoshis:0}));var u=o-n;return u>546&&a.to(this.address,u),a.sign(this.privateKey),a};Mr.prototype._createMerkleRoot=function(e){if(e.length===0)throw new Error("Cannot create Merkle root from empty array");for(var t=e.map(u=>f.Buffer.isBuffer(u)?u:f.Buffer.from(u,"hex"));t.length>1;){for(var r=[],i=0;i<t.length;i+=2){var n=t[i],o=i+1<t.length?t[i+1]:n,a=f.Buffer.concat([n,o]),s=hd.sha256(a);r.push(s)}t=r}return t[0]};Mr.parseAnchorData=function(e){if(!f.Buffer.isBuffer(e))throw new Error("Data must be Buffer");if(e.length<50)throw new Error("Data too short for SmartLedger anchor");var t=0,r=18,i=e.slice(t,t+r).toString("utf8");if(t+=r,i!=="SMARTLEDGER.ATTEST")throw new Error("Invalid protocol identifier");var n=e[t];t+=1;var o=e.slice(t,t+10).toString("utf8").replace(/\0/g,"");t+=10;var a=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3];t+=4;var s=e.slice(t,t+32);t+=32;var u=e.slice(t),c={};try{c=JSON.parse(u.toString("utf8"))}catch{}return{protocol:i,version:n,type:o,timestamp:new Date(a*1e3),hash:s.toString("hex"),metadata:c}};Mr.verifyAnchor=async function(e,t,r){if(r=r||{},!e||!t)throw new Error("verifyAnchor requires both txid and expectedHash");if(r.spvProof&&(r.header||r.headerChain)&&r.rawTx)return Mr._verifyAnchorSPV(e,t,r);if(typeof r.chainProvider!="function")throw new Error("verifyAnchor needs either a trustless SPV proof \u2014 { spvProof: { index, nodes }, header, rawTx } \u2014 or a trusted options.chainProvider(txid) returning { confirmations, blockHeight, opReturns }. Refusing to fabricate a result.");var i=r.minConfirmations!=null?r.minConfirmations:1,n=await r.chainProvider(e),o=n&&n.confirmations||0,a=n&&n.opReturns||[],s=String(t).toLowerCase(),u=a.some(function(l){return String(l).toLowerCase().indexOf(s)!==-1}),c=o>=i&&u;return{verified:c,txid:e,hash:t,committed:u,confirmations:o,blockHeight:n&&n.blockHeight||null,timestamp:new Date().toISOString(),proof:{type:"blockchain_anchor",protocol:"SMARTLEDGER.ATTEST",network:r.network||"mainnet"}}};Mr._verifyAnchorSPV=function(e,t,r){var i=r.spvProof||{},n=null,o=r.header;r.headerChain&&(n=PH.verifyHeaderChain(r.headerChain,{requirePow:r.requirePow!==!1,powLimit:r.powLimit,trustedHash:r.trustedHash}),o=r.headerChain[0]);var a=PH.verifyTxInclusion({txid:e,index:i.index,nodes:i.nodes,header:o,requirePow:r.requirePow!==!1,powLimit:r.powLimit,minWork:r.minWork}),s=f.Buffer.isBuffer(r.rawTx)?r.rawTx:f.Buffer.from(r.rawTx,"hex"),u=f.Buffer.from(hd.sha256sha256(s)).reverse().toString("hex"),c=u.toLowerCase()===String(e).toLowerCase(),l=c&&Mr._rawTxCommitsTo(s,t),p=n?n.count:r.header?1:0,d=r.minConfirmations!=null?r.minConfirmations:1,v=n?n.valid:!0,_=p>=d;return{verified:a.valid&&c&&l&&v&&_,chainVerified:a.valid,committed:l,txidBound:c,powValid:a.powValid,confirmations:p,headerChainValid:n?n.valid:null,headerChainReason:n&&n.reason||null,tipHash:n?n.tipHash:null,txid:e,hash:t,blockHash:a.blockHash,merkleRoot:a.merkleRoot,timestamp:new Date().toISOString(),proof:{type:n?"spv_merkle_inclusion_with_confirmations":"spv_merkle_inclusion",protocol:"SMARTLEDGER.ATTEST",network:r.network||"mainnet"}}};Mr._rawTxCommitsTo=function(e,t){var r=String(t).toLowerCase(),i;try{i=new _E(e)}catch{return!1}return i.outputs.some(function(n){var o=n.script;if(!o||!o.chunks||!o.chunks.length)return!1;var a=o.chunks[0].opcodenum===106||o.chunks[0].opcodenum===0&&o.chunks[1]&&o.chunks[1].opcodenum===106;return a?o.chunks.some(function(s){return s.buf&&s.buf.toString("hex").toLowerCase().indexOf(r)!==-1}):!1})};Mr.getCostEstimate=function(e,t){t=t||{};var r=t.feeRate||1,i=200,n=32,o=e*(i+n)*r,a=(i+e*n)*r;return{individual:{totalCost:o,costPerHash:i*r,transactions:e},batch:{totalCost:a,costPerHash:Math.ceil(a/e),transactions:1},savings:{absolute:o-a,percentage:Math.round((o-a)/o*100)}}};Mr.createUTXO=function(e,t,r,i){return{txid:e,outputIndex:t,satoshis:r,script:i}};Mr.generateTestData=function(){var e=new ld,t=new Mr(e),r=hd.sha256(f.Buffer.from("test credential data")),i={issuer:"did:smartledger:test",type:"EmailVerifiedCredential",environment:"test"};return{privateKey:e.toWIF(),address:e.toAddress().toString(),credentialHash:r.toString("hex"),metadata:i,anchor:t}};NH.exports=Mr});var MH=T((dhe,LH)=>{"use strict";g();var wE=Ie(),dd={EmailVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/email/v1"],type:["VerifiableCredential","EmailVerifiedCredential"],requiredFields:["credentialSubject.email","credentialSubject.verified"],properties:{credentialSubject:{type:"object",required:["email","verified"],properties:{email:{type:"string",format:"email"},verified:{type:"boolean"},verificationMethod:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"}}}}},AgeVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/age/v1"],type:["VerifiableCredential","AgeVerifiedCredential"],requiredFields:["credentialSubject.ageOver","credentialSubject.verified"],properties:{credentialSubject:{type:"object",required:["ageOver","verified"],properties:{ageOver:{type:"number",minimum:0,maximum:150},verified:{type:"boolean"},birthDateHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},verificationMethod:{type:"string"}}}}},KYCVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/kyc/v1"],type:["VerifiableCredential","KYCVerifiedCredential"],requiredFields:["credentialSubject.kycLevel","credentialSubject.verified","credentialSubject.verifyingAuthority"],properties:{credentialSubject:{type:"object",required:["kycLevel","verified","verifyingAuthority"],properties:{kycLevel:{type:"string",enum:["basic","enhanced","premium","institutional"]},verified:{type:"boolean"},verifyingAuthority:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"},firstNameHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},lastNameHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},ssnHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"}}}}},OrganizationCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/organization/v1"],type:["VerifiableCredential","OrganizationCredential"],requiredFields:["credentialSubject.name","credentialSubject.type","credentialSubject.verified"],properties:{credentialSubject:{type:"object",required:["name","type","verified"],properties:{name:{type:"string"},type:{type:"string",enum:["Corporation","LLC","Partnership","NGO","Government","Other"]},verified:{type:"boolean"},taxIdHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},incorporationState:{type:"string"},industry:{type:"string"},verificationMethod:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"}}}}},SSNVerifiedCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/ssn/v1"],type:["VerifiableCredential","SSNVerifiedCredential"],requiredFields:["credentialSubject.ssnHash","credentialSubject.verified","credentialSubject.verifyingAuthority"],properties:{credentialSubject:{type:"object",required:["ssnHash","verified","verifyingAuthority"],properties:{ssnHash:{type:"string",pattern:"^[a-fA-F0-9]{64}$"},verified:{type:"boolean"},verifyingAuthority:{type:"string"},verificationTimestamp:{type:"string",format:"date-time"},issuingState:{type:"string"}}}}},EducationalCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/education/v1"],type:["VerifiableCredential","EducationalCredential"],requiredFields:["credentialSubject.degree","credentialSubject.institution","credentialSubject.graduationDate"],properties:{credentialSubject:{type:"object",required:["degree","institution","graduationDate"],properties:{degree:{type:"string"},institution:{type:"string"},graduationDate:{type:"string",format:"date"},gpa:{type:"number",minimum:0,maximum:4},major:{type:"string"},honors:{type:"array",items:{type:"string"}}}}}},ProfessionalLicenseCredential:{"@context":["https://www.w3.org/2018/credentials/v1","https://smartledger.technology/contexts/license/v1"],type:["VerifiableCredential","ProfessionalLicenseCredential"],requiredFields:["credentialSubject.licenseType","credentialSubject.licenseNumber","credentialSubject.issuingAuthority","credentialSubject.isValid"],properties:{credentialSubject:{type:"object",required:["licenseType","licenseNumber","issuingAuthority","isValid"],properties:{licenseType:{type:"string"},licenseNumber:{type:"string"},issuingAuthority:{type:"string"},issuingState:{type:"string"},isValid:{type:"boolean"},issueDate:{type:"string",format:"date"},expirationDate:{type:"string",format:"date"}}}}}},iee={getSchema:function(e){return dd[e]||null},getAllSchemas:function(){return dd},validate:function(e,t){try{wE.checkArgument(e&&typeof e=="object","Invalid credential");var r;if(typeof t=="string"){if(r=dd[t],!r)return{valid:!1,errors:["Unknown schema type: "+t]}}else if(typeof t=="object")r=t;else return{valid:!1,errors:["Invalid schema parameter"]};var i=[],n=[];return this._validateCredentialStructure(e,i),this._validateCredentialTypes(e,r,i),this._validateRequiredFields(e,r,i),this._validateFieldProperties(e,r,i,n),{valid:i.length===0,errors:i,warnings:n}}catch(o){return{valid:!1,errors:["Schema validation error: "+o.message]}}},_validateCredentialStructure:function(e,t){e["@context"]||t.push("Missing @context"),e.type||t.push("Missing type"),e.issuer||t.push("Missing issuer"),e.issuanceDate||t.push("Missing issuanceDate"),e.credentialSubject||t.push("Missing credentialSubject")},_validateCredentialTypes:function(e,t,r){if(!Array.isArray(e.type)){r.push("Credential type must be array");return}if(t.type&&Array.isArray(t.type))for(var i=0;i<t.type.length;i++)e.type.includes(t.type[i])||r.push("Missing required type: "+t.type[i])},_validateRequiredFields:function(e,t,r){if(t.requiredFields&&Array.isArray(t.requiredFields))for(var i=0;i<t.requiredFields.length;i++){var n=t.requiredFields[i],o=this._getNestedProperty(e,n);o==null&&r.push("Missing required field: "+n)}},_validateFieldProperties:function(e,t,r,i){t.properties&&t.properties.credentialSubject&&this._validateObjectProperties(e.credentialSubject,t.properties.credentialSubject,"credentialSubject",r,i)},_validateObjectProperties:function(e,t,r,i,n){!e||typeof e!="object"||t.properties&&Object.keys(t.properties).forEach(function(o){var a=e[o],s=t.properties[o],u=r+"."+o;a!=null&&this._validateProperty(a,s,u,i,n)}.bind(this))},_validateProperty:function(e,t,r,i,n){if(t.type){var o=Array.isArray(e)?"array":typeof e;if(o!==t.type){i.push("Invalid type for "+r+": expected "+t.type+", got "+o);return}}if(t.type==="string"&&(t.format==="email"&&!this._isValidEmail(e)&&i.push("Invalid email format for "+r),t.format==="date"&&!this._isValidDate(e)&&i.push("Invalid date format for "+r),t.format==="date-time"&&!this._isValidDateTime(e)&&i.push("Invalid date-time format for "+r),t.pattern&&!new RegExp(t.pattern).test(e)&&i.push("Value does not match pattern for "+r),t.enum&&!t.enum.includes(e)&&i.push("Invalid enum value for "+r+": "+e)),t.type==="number"&&(t.minimum!==void 0&&e<t.minimum&&i.push("Value below minimum for "+r+": "+e+" < "+t.minimum),t.maximum!==void 0&&e>t.maximum&&i.push("Value above maximum for "+r+": "+e+" > "+t.maximum)),t.type==="array"&&t.items)for(var a=0;a<e.length;a++)this._validateProperty(e[a],t.items,r+"["+a+"]",i,n)},_getNestedProperty:function(e,t){return t.split(".").reduce(function(r,i){return r&&r[i]},e)},_isValidEmail:function(e){var t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return t.test(e)},_isValidDate:function(e){var t=new Date(e);return!isNaN(t.getTime())&&e.match(/^\d{4}-\d{2}-\d{2}$/)},_isValidDateTime:function(e){var t=new Date(e);return!isNaN(t.getTime())},addSchema:function(e,t){wE.checkArgument(typeof e=="string","Schema name must be string"),wE.checkArgument(t&&typeof t=="object","Invalid schema definition"),dd[e]=t},createTemplate:function(e){var t=dd[e];if(!t)throw new Error("Unknown credential type: "+e);var r={"@context":t["@context"]||["https://www.w3.org/2018/credentials/v1"],type:t.type||["VerifiableCredential"],issuer:"did:smartledger:ISSUER_DID_HERE",issuanceDate:new Date().toISOString(),credentialSubject:this._createSubjectTemplate(t.properties?t.properties.credentialSubject:{})};return r},_createSubjectTemplate:function(e){var t={id:"SUBJECT_ID_HERE"};return e.properties&&Object.keys(e.properties).forEach(function(r){var i=e.properties[r];t[r]=this._getDefaultValue(i)}.bind(this)),t},_getDefaultValue:function(e){switch(e.type){case"string":return e.enum?e.enum[0]:e.format==="email"?"example@example.com":e.format==="date"?"2023-01-01":e.format==="date-time"?new Date().toISOString():"PLACEHOLDER_STRING";case"number":return e.minimum||0;case"boolean":return!0;case"array":return[];case"object":return{};default:return null}}};LH.exports=iee});var yE=T((ghe,DH)=>{"use strict";g();var nee=om(),Mf=am(),oee=fN(),aee=hN(),pd=CH(),see=MH();function tt(e){if(!(this instanceof tt))return new tt(e);e=e||{},this.didResolver=nee,this.attestationVerifier=oee,this.zkProver=aee,this.schemaValidator=see,this._attestationSignerOptions=e.attestationSigner||{},this._anchorOptions=e.anchor||{}}tt.prototype.createDID=function(e){return this.didResolver.fromPublicKey(e)};tt.prototype.resolveDID=function(e){return this.didResolver.resolve(e)};tt.prototype.verifyDIDOwnership=function(e,t){return this.didResolver.verifyOwnership(e,t)};tt.prototype.createEmailCredential=function(e,t,r,i){var n=new Mf(i,this._attestationSignerOptions);return n.createEmailCredential(r,{issuerDID:e,subjectId:t})};tt.prototype.createAgeCredential=function(e,t,r,i,n){var o=new Mf(n,this._attestationSignerOptions);return o.createAgeCredential(r,i,{issuerDID:e,subjectId:t})};tt.prototype.createKYCCredential=function(e,t,r,i,n){var o=new Mf(n,this._attestationSignerOptions),a=Object.assign({level:r},i);return o.createKYCCredential(a,{issuerDID:e,subjectId:t})};tt.prototype.createOrganizationCredential=function(e,t,r,i){var n=new Mf(i,this._attestationSignerOptions);return n.createOrganizationCredential(r,{issuerDID:e,subjectId:t})};tt.prototype.createPresentation=function(e,t,r,i){var n=new Mf(r,this._attestationSignerOptions);return n.createPresentation(e,t,r,i)};tt.prototype.signCredential=function(e,t){var r=new Mf(t,this._attestationSignerOptions);return r.signCredential(e,t)};tt.prototype.verifyCredential=function(e,t){return this.attestationVerifier.verifyCredential(e,t)};tt.prototype.verifyPresentation=function(e,t){return this.attestationVerifier.verifyPresentation(e,t)};tt.prototype.extractClaims=function(e){return this.attestationVerifier.extractClaims(e)};tt.prototype.generateSelectiveProof=function(e,t,r){return this.zkProver.generateSelectiveProof(e,t,r)};tt.prototype.verifySelectiveProof=function(e,t){return this.zkProver.verifySelectiveProof(e,t)};tt.prototype.generateAgeProof=function(e,t,r){var i=new Date("1995-06-15");return this.zkProver.generateAgeProof(i,t,r)};tt.prototype.verifyAgeProof=function(e,t,r){return this.zkProver.verifyAgeProof(e,t,r)};tt.prototype.generateRangeProof=function(e,t,r,i){return this.zkProver.generateRangeProof(e,t,r,i)};tt.prototype.verifyRangeProof=function(e,t,r,i){return this.zkProver.verifyRangeProof(e,t,r,i)};tt.prototype.generateMembershipProof=function(e,t,r){return this.zkProver.generateMembershipProof(e,t,r)};tt.prototype.verifyMembershipProof=function(e,t,r){return this.zkProver.verifyMembershipProof(e,t,r)};function Mv(e){return Array.isArray(e)?{metadata:void 0,utxos:e}:(e=e||{},{metadata:e.metadata,utxos:e.utxos})}tt.prototype.anchorCredential=function(e,t,r){var i=new pd(t,this._anchorOptions),n=Mv(r);return i.anchorCredential(e,n.metadata,n.utxos)};tt.prototype.anchorBatch=function(e,t,r){var i=new pd(t,this._anchorOptions),n=Mv(r);return i.anchorBatch(e,n.metadata,n.utxos)};tt.prototype.registerDID=function(e,t,r,i){var n=new pd(r,this._anchorOptions);return n.registerDID(e,t,Mv(i).utxos)};tt.prototype.revokeCredential=function(e,t,r,i){var n=new pd(r,this._anchorOptions);return n.revokeCredential(e,t,Mv(i).utxos)};tt.prototype.queryAnchoredData=function(e){var t=new pd(null,this._anchorOptions);return t.queryAnchoredData(e)};tt.prototype.validateCredential=function(e,t){return this.schemaValidator.validate(e,t)};tt.prototype.getSchema=function(e){return this.schemaValidator.getSchema(e)};tt.prototype.getAllSchemas=function(){return this.schemaValidator.getAllSchemas()};tt.prototype.addSchema=function(e,t){return this.schemaValidator.addSchema(e,t)};tt.prototype.createTemplate=function(e){return this.schemaValidator.createTemplate(e)};tt.prototype.generateNonce=function(e){e=e||32;var t=nr();return t.randomBytes(e).toString("hex")};tt.prototype.hashData=function(e,t){var r=nr(),i=r.createHash("sha256");return i.update(e),t&&i.update(t),i.digest("hex")};tt.prototype.getVersion=function(){return"1.0.0"};tt.prototype.getInfo=function(){return{name:"SmartLedger BSV Global Digital Attestation Framework",version:this.getVersion(),description:"W3C-compliant verifiable credentials with DID resolution, zero-knowledge proofs, and blockchain anchoring",components:{didResolver:"DID Resolution and Management",attestationSigner:"Verifiable Credential Creation",attestationVerifier:"Credential and Presentation Verification",zkProver:"Zero-Knowledge Proof Generation and Verification",anchor:"Blockchain Anchoring and Timestamping",schemaValidator:"W3C VC Schema Validation"},standards:["W3C Verifiable Credentials Data Model v1.1","W3C Decentralized Identifiers (DIDs) v1.0","RFC 7515 JSON Web Signature (JWS)","BSV Blockchain Protocol"]}};DH.exports=tt});var uee=T((vhe,HH)=>{g();HH.exports=yE()});return uee();})();
102
102
  if(typeof module!=="undefined"&&module.exports){module.exports=bsvGDAF}else if(typeof define==="function"&&define.amd){define([],function(){return bsvGDAF})}