{"matchId":"57070339","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-10-26T08:07:10Z","creationBytecode":{"onchainBytecode":"0x6101e03461061457601f61abfc38819003918201601f19168301916001600160401b0383118484101761056757808492610160946040528339810103126106145780519061004f60208201610618565b9161005c60408301610618565b9061006960608401610618565b9061007660808501610618565b9061008360a08601610618565b61008f60c08701610618565b9261009c60e08801610618565b946100aa6101008901610618565b966100c56101406100be6101208c01610618565b9a01610618565b993315610601575f8054336001600160a01b0319821681178355604051989290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556101f4600255607860035560646004556104b06005555f6006556001600b55600160ff19600f541617600f55801580156105f0575b80156105df575b80156105ce575b80156105bd575b80156105ac575b801561059b575b801561058a575b61057b576080526001600160a01b0390811660a05290811660c05290811660e05290811661010052166101208190529061109f808201906001600160401b0382118383101761056757602091839161658083393081520301905ff0801561055c5761014052604051906135dd8083016001600160401b0381118482101761056757604092849261761f843930825260208201520301905ff0801561055c5761016052610180526101a0526101c0525f8054600160a01b600160e01b03191678010000000100000000000000000000000000000000000000001781556001908190526020527fcc69885fda6bcc1a4ace058b4a62bf5e179ea78fd58a1ccd71c22cc9b688792f80546001600160a01b0319166001600160a01b0392831617905581166105575750335b600780546001600160a01b0319166001600160a01b0392909216919091178155601860205260147ff3794665d3af9b6fb6f858b70185898134f96768ef31c325d52e04f0ac195a4d8190557f2bacf7cca723d030d12aee795132f2c5f2d14ad131f16f3f27eeba3e79d18b8c5560127f7a6340a7048c03c55288da75abed74d2ce9194201bafb03be53c0a7cca59149555600f7f5b650d93b25a5c652bc6f9215f522b521daf6d36977dcec1343c2a8310b869d655600c7f2288853b49db4f36075bf4a8cfdae4e5e3b39b7b03937d0a9148b051a6f64c5c5560067f33d69b83f8d9644c8360a50d7275bf12a50019a4cd4e17926d0b315da648c58d555f5260017f0aaa0ccf1df0cbc345d3ab7229415a03568bb157ac6e99a99e7acfb410c400f555604051615f53908161062d8239608051818181613c5501528181614a900152614de1015260a05181611d5a015260c05181611d82015260e051818181611c2f0152818161380b0152615c7f01526101005181818161184f015281816130db0152613ba1015261012051816110c101526101405181818161078401528181610f89015281816122f401528181613631015281816144420152615af30152610160518181816107e301528181610d1b015281816110120152818161174801528181611b8701528181611def015281816123cf0152818161257a0152818161271201528181612e7701528181612f500152818161333d015281816136090152818161372d0152818161485601528181614d3d015281816151500152818161562f0152818161571d0152818161576f01526159ae015261018051818181611a0e015281816124f1015281816132cd0152615b2e01526101a0518181816108a20152612b6b01526101c0518181816120ea01526132870152f35b6102bf565b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b63b4fa3fb360e01b5f5260045ffd5b506001600160a01b038b1615610197565b506001600160a01b03891615610190565b506001600160a01b03881615610189565b506001600160a01b03861615610182565b506001600160a01b0384161561017b565b506001600160a01b03831615610174565b506001600160a01b0382161561016d565b631e4fbdf760e01b5f525f60045260245ffd5b5f80fd5b51906001600160a01b03821682036106145756fe60a0806040526004361015610081575b50361561001a575f80fd5b73eaee8942bc98760ed5b6cb471ac5836748fe16cf803b1561007d575f60449160405192838092631a9ec59560e21b8252602360048301523460248301525af480156100725761006657005b5f61007091613dcc565b005b6040513d5f823e3d90fd5b5f80fd5b5f6080525f3560e01c908163023f711514613c95575080630333052814613c785780630492296014613c3e5780630a01a95f14613c155780630ba4b75114613b525780630e23314214613aee578063130dec3d14613a5a57806315b366c914613a2c57806316a19641146139fe57806316ed02c31461388b5780631a4778b0146137b15780631cab4912146136f75780631fadcc9c146135ce5780632049f209146135aa5780632243de84146134545780632910ce58146132f15780632ae758e4146132545780632baa11771461322b57806330788952146131655780633210768414613137578063325c7d541461308f5780633371756e14612f7f57806334698ee114612f39578063352a425814612f0b57806337720cce14612edd5780633bcd483b14612e4957806340f5efd914612bb1578063453698f114612b3757806345fc4aa614612b1857806346cb6a8814612af45780634a0f6ac814612ad55780634b96dec11461283b5780634d61ac31146127c9578063514e7697146126ea578063541a5d07146126cb578063548bb199146126ac5780635b5e3bd11461249657806362c226681461246857806362d8a6891461237c5780636352211e146122c657806366a5a80b146122a2578063671f8a38146122775780636b6dad07146121bc5780636bd060fb1461219d5780636ce62d421461216f5780636d0fc32a146121385780636e01792c146121195780636f20a888146120d35780636f9eb35f146120a5578063715018a6146120465780637422416b1461202757806375383de114611fb4578063776ee44c14611f865780637b0e394e14611f675780637bf9c5f214611f1b5780638146776c14611cd657806383ac909a14611cb75780638af2ecf614611c895780638da5cb5b14611c5e5780638ef55ef714611c185780638f62c79c14611bf9578063909a236714611b34578063918fd15c14611b06578063976715e314611a6b578063976e74fd14611a3d578063a23d3c35146119f7578063a430cd35146119c4578063a63447b114611988578063a87316ee14611953578063acc72a9414611929578063b19e22d71461187e578063b44a230114611838578063b5258121146116ff578063b69d76a81461125a578063bc0baa751461122c578063c6b274e514611203578063c87b56dd14610f58578063ca1a9efd14610f39578063cf36815714610e6d578063d17e8e5214610e4e578063d1d425c514610e2f578063d504e2f814610c5e578063db95b05a14610c3f578063dc3520e114610c20578063ddb9375c14610b95578063e20a01a514610b59578063e234a671146108f0578063e36f5a97146108d1578063e8d7438f1461088b578063ec260ef9146107b3578063ee16efdd1461076d578063f0403e6b1461074e578063f1930eab14610712578063f2d5bdf4146106cd578063f2fde38b1461063c578063f812212c1461061b578063faba6987146105ed578063fc19b78e146105ce578063fe553464146105975763fe581c3f146104dd575f61000f565b34610591576020366003190112610591576104f6613d06565b6040516323653fa760e21b8152602960048201526001600160a01b0390911660248201526020816044817365b8cae34c5110baf69b2584c23995f7dfca61d25af480156105845760805190610551575b602090604051908152f35b506020813d60201161057c575b8161056b60209383613dcc565b8101031261007d5760209051610546565b3d915061055e565b6040513d608051823e3d90fd5b60805180fd5b34610591576105a536613d1c565b9060805152601e6020526040608051209060805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600454604051908152f35b3461059157602036600319011261059157600435608051526018602052602060406080512054604051908152f35b3461059157602061063461062e36613d1c565b90615330565b604051908152f35b3461059157602036600319011261059157610655613d06565b61065d61544c565b6001600160a01b031680156106b45760805180546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360805180f35b631e4fbdf760e01b608051526080516004526024608051fd5b346105915760203660031901126105915760043563ffffffff81169081900361059157608051526001602052602060018060a01b036040608051205416604051908152f35b34610591576020366003190112610591576001600160a01b03610733613d06565b16608051526027602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602454604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576107cd615414565b604051630ab12fb760e01b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526020816044817365b8cae34c5110baf69b2584c23995f7dfca61d25af480156105845760805190610858575b60209060015f516020615efe5f395f51905f5255604051908152f35b506020813d602011610883575b8161087260209383613dcc565b8101031261007d576020905161083c565b3d9150610865565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020603354604051908152f35b346105915760203660031901126105915760405161090d81613db0565b608080518252805160208301528051604080840191909152815160608401525190919061093a8382613dcc565b823682378183015260405161094f8382613dcc565b8236823760a082015260805160c082015260805160e082015260805161010082015261012060805191015260043560805152600e602052604060805120906040519061099a82613db0565b825482526001830154906020830191825260018060a01b036002850154166040840190815260038501549460608501958652604051926109dd8460048401613ff1565b6109e78185613dcc565b808601938452600960405192610a25846008830160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b610a2f8385613dcc565b60a0880193845201549360c08701976001600160401b038616895260e08801946001600160401b038760401c16865260ff6101008a019763ffffffff81871c16895260a01c16976101208a01986008811015610b41578952604080519a518b52905160208b015290516001600160a01b03169089015251606088015251608051909187015b60048210610b2b5750505051946101008501608051905b60048210610b125761020087610b108863ffffffff896001600160401b038a818b511661018088015251166101a086015251166101c0840152516101e0830190613cf9565bf35b60208060019260ff8b5116815201980191019096610acb565b6020806001928551815201930191019091610ab4565b634e487b7160e01b6080515260216004526024608051fd5b3461059157610b6736613d1c565b9060805152601b6020526040608051209060805152602052602060ff60406080512054166040519015158152f35b3461059157602036600319011261059157600435608051526015602052610bfc604060805120610bc481613ed2565b90610bd160018201613ed2565b600282015491610c0a60ff60046003840154930154169260405196879660a0885260a0880190613e76565b908682036020880152613e76565b9260408501526060840152151560808301520390f35b3461059157608051366003190112610591576020600d54604051908152f35b3461059157608051366003190112610591576020600554604051908152f35b3461059157610c8d610c92610c7236613e59565b610c7d939193615414565b610c8684615c62565b3690613ded565b615bcb565b80516020820151610ce0604084015191610cd260608601516040519485936020850197889290916080949284526020840152604083015260608201520190565b03601f198101835282613dcc565b51902060805152601760205260406080512054908115610e165760608214610e035760405163abe3b08560e01b81529260808480610d4385337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b038173fa0b98827b35b920155c8ffab08a38a787eb50d65af4908115610584576040948492610dd6575b50610d78823361576d565b610d83828233615903565b927f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a865180610db487339583614bbd565b0390a460015f516020615efe5f395f51905f5255825191825215156020820152f35b610df79060803d608011610dfc575b610def8183613dcc565b810190614b03565b610d6d565b503d610de5565b63e113b20760e01b608051526004608051fd5b63dd4e0ec360e01b608051526080516004526024608051fd5b3461059157608051366003190112610591576020602e54604051908152f35b3461059157608051366003190112610591576020602354604051908152f35b346105915760805136600319011261059157610e87615414565b33608051526027602052604060805120548015610f2657336080515260276020526080516040608051205560805160805160805160805184335af1610eca6149ba565b5015610f13576040519081527f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988860203392a260015f516020615efe5f395f51905f525560805180f35b6312171d8360e31b608051526004608051fd5b6312d37ee560e31b608051526004608051fd5b3461059157608051366003190112610591576020602554604051908152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201819052906020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610584576111cc575b50806080515260166020526040608051208160805152601560205260406080512060028101549160018060a01b038154166040519163bd85b03960e01b835285600484015260208360248160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa9283156105845760805193611196575b508061109060046110a3930154956040519863062caf5560e31b8a5260048a015261016060248a0152600161107d6101648b0183614065565b8a81036003190160448c01529101614065565b9560648801526005608488019101613ff1565b610104850152610124840152610144830152608051908290819003817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190611116575b61111290604051918291602083526020830190613e76565b0390f35b503d80608051833e6111288183613dcc565b810190602081830312610591578051906001600160401b03821161059157019080601f8301121561059157815161115e81613f72565b9161116c6040519384613dcc565b81835260208285010111610591578060206111129401602084015e602060805191830101526110fa565b9092506020813d6020116111c4575b816111b260209383613dcc565b8101031261007d5751916110a3611044565b3d91506111a5565b6020813d6020116111fb575b816111e560209383613dcc565b81010312610591576111f6906149ff565b610fbe565b3d91506111d8565b346105915760805136600319011261059157602063ffffffff6080515460c01c16604051908152f35b3461059157602036600319011261059157600435608051526011602052602060406080512054604051908152f35b346105915760a0366003190112610591576004356001600160401b0381116105915761128a903690600401613e29565b6024356001600160401b038111610591576112a9903690600401613e29565b91906044356001600160401b038111610591576112ca903690600401613e29565b90946064356001600160401b038111610591576112eb903690600401613e29565b9490926084356001600160401b0381116105915761130d903690600401613e29565b92909361131861544c565b60ff601454166116ec578882148015906116e2575b80156116d8575b80156116ce575b61168c576080515b8281106113505760805180f35b61135b8184846152df565b35611367828c8b6152df565b35906005811080156116c4575b80156116b2575b801561169f575b61168c578060805152601560205260ff600460406080512001541661167657908a91896113f28f8a6113e96113d3898f94818f816113c3916113cb946152ef565b9c90996152ef565b9490956152df565b3594604051986113e28a613d7a565b3691613f8d565b87523691613f8d565b926020850193845260408501526060840152600160808401526080515260156020526040608051209082518051906001600160401b0382116115b857819061143a8554613e9a565b601f8111611642575b506020906001601f8411146115db57608051926115d0575b50508160011b915f199060031b1c19161782555b51805160018301916001600160401b0382116115b85761148f8354613e9a565b601f8111611579575b506020906001601f8411146115075792826004936001989796936080968751926114fc575b50505f19600383901b1c191690881b1790555b604084015160028201556060840151600382015501910151151560ff8019835416911617905501611343565b015190505f806114bd565b90601f1983169184608051528160805120926080515b818110611561575093600198979693608096938a938360049810611549575b505050811b0190556114d0565b01515f1960f88460031b161c191690555f808061153c565b9293602060018192878601518155019501930161151d565b6115a8908460805152602060805120601f850160051c810191602086106115ae575b601f0160051c0190614018565b5f611498565b909150819061159b565b634e487b7160e01b6080515260416004526024608051fd5b015190505f8061145b565b60808051879052518281209350601f198516905b81811061162a5750908460019594939210611612575b505050811b01825561146f565b01515f1960f88460031b161c191690555f8080611605565b929360206001819287860151815501950193016115ef565b611670908660805152602060805120601f850160051c810191602086106115ae57601f0160051c0190614018565b5f611443565b632abac2c960e11b608051526004526024608051fd5b63b4fa3fb360e01b608051526004608051fd5b506116ab83888a6152df565b3515611382565b506116bc81615d14565b82141561137b565b5060608111611374565b508382141561133b565b5087821415611334565b508282141561132d565b6306e53adf60e01b608051526004608051fd5b3461059157606036600319011261059157611718613d06565b6024359060443590611728615414565b6001600160a01b03169081158015611830575b801561181d575b61168c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b15610591576040519063390f7af560e21b8252336004830152836024830152846044830152670de0b6b3a7640000830460648301528160848160805193608051905af1801561058457611804575b506040519081527fbb0ca0e137fd31811359637c8aa804a4a14cd1f475f7fb93d39cfb10452705a860203392a460015f516020615efe5f395f51905f525560805180f35b60805161181091613dcc565b60805161059157836117c0565b50670de0b6b3a764000081061515611742565b50801561173b565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610591576080513660031901126105915761189861544c565b60145460ff81166116ec5760055b60608111156118c05760ff19821660011760145560805180f35b8060805152601560205260ff6004604060805120015416158015611904575b6118f1576118ec90613fe3565b6118a6565b633c3de45760e01b608051526004608051fd5b50806080515260156020526002604060805120015461192282615d14565b14156118df565b3461059157608051366003190112610591576007546040516001600160a01b039091168152602090f35b602061196f61196136613e59565b9061196a615414565b614bd8565b60015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576001600160a01b036119a9613d06565b16608051526030602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526012602052602060ff60406080512054166040519015158152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760203660031901126105915760043560805152601a602052602060406080512054604051908152f35b3461059157602036600319011261059157604051611a8881613d95565b608051815260805160208201526040608051910152600435608051526029602052606060406080512060405190611abe82613d95565b546001600160401b0360018060a01b0382169283815260ff60406020830192848660a01c168452019360e01c1615158352604051938452511660208301525115156040820152f35b34610591576080513660031901126105915760265460405160089190911c6001600160a01b03168152602090f35b3461059157602036600319011261059157611b4d615414565b73522c131fef36ef649928f3e1aa0d4e984cd685e6803b156105915760405190634ca6c1c960e01b82526033600483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166024830152600435604483015281606481608051935af4801561058457611be0575b60015f516020615efe5f395f51905f525560805180f35b608051611bec91613dcc565b6080516105915780611bc9565b3461059157608051366003190112610591576020600654604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760805136600319011261059157608051546040516001600160a01b039091168152602090f35b346105915760203660031901126105915760043560805152600a602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600254604051908152f35b34610591576060366003190112610591576004356024356001600160401b03811161059157611d09903690600401613e29565b90604435906001600160401b03821161059157611dbf92611dd1611d336040943690600401613e29565b611d3b615414565b611d4488615c62565b8551630e691b2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000016602482015261012060448201529687958695610124870191614adf565b84810360031901606486015291614adf565b601f6084830152602060a4830152602160c4830152602260e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610104830152038173fa0b98827b35b920155c8ffab08a38a787eb50d65af4801561058457608051918291611eea575b50670de0b6b3a7640000820291808304670de0b6b3a76400001490151715611ed257670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed25760405191825260208201527f3ee0042b656a8c28a48ae2fed2887d9eef8afe18542f02b43192596aff9ff28b60403392a360015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b6080515260116004526024608051fd5b9050611f0e915060403d604011611f14575b611f068183613dcc565b8101906149e9565b83611e47565b503d611efc565b34610591576040366003190112610591576001600160a01b03611f3c613d06565b1660805152601060205260406080512060243560805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602f54604051908152f35b3461059157602036600319011261059157600435608051526017602052602060406080512054604051908152f35b346105915760c036600319011261059157366043121561059157604051611fdc608082613dcc565b803660a411610591576020916024915b60a48310612004578361063460a43584600435614a65565b82358152918301918301611fec565b634e487b7160e01b5f52604160045260245ffd5b3461059157608051366003190112610591576020600b54604051908152f35b34610591576080513660031901126105915761206061544c565b60805180546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a360805180f35b346105915760203660031901126105915760043560805152601c602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020601354604051908152f35b346105915761214636613d1c565b9060805152601d6020526040608051209060805152602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526009602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600854604051908152f35b34610591576020366003190112610591576004358015801561226c575b61168c57600b5460805191905b81831080612260575b15612258578060805152600e60205260ff6009604060805120015460a01c166008811015610b41576001811490811561224d575b506122405761223461223a91613fe3565b92613fe3565b916121e6565b9150505b600b5560805180f35b600714905084612223565b915050612244565b50600d548111156121ef565b506103e881116121d9565b34610591576060366003190112610591576020610634612295613caf565b6044359060243590614a13565b346105915760805136600319011261059157602060ff601454166040519015158152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190612342575b6040516001600160a01b039091168152602090f35b506020813d602011612374575b8161235c60209383613dcc565b810103126105915761236f6020916149ff565b61232d565b3d915061234f565b34610591576040366003190112610591576123cb602061239a613d06565b60405163511cd8cf60e01b81526001600160a01b039091166004820152602480359082015291829081906044820190565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105845760805191612436575b50670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b90506020813d602011612460575b8161245160209383613dcc565b8101031261007d575181612409565b3d9150612444565b3461059157602036600319011261059157600435608051526028602052602060406080512054604051908152f35b6020366003190112610591576004356124ad615414565b801561168c57806611c37937e08000026611c37937e0800081048203611ed25780341061269957604051636902c1f360e01b815260236004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166044820152608051606482015260208160848173eaee8942bc98760ed5b6cb471ac5836748fe16cf5af480156105845761266a575b5073fa0b98827b35b920155c8ffab08a38a787eb50d6803b15610591576040516301fac8cd60e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152336024820152604481018490526080519091829060649082905af4801561058457612651575b5080341161261e575b60405191825260208201527fb3c981b9b7b707d312a929a2eac4e1b16bf5550677e6b1931a95e846dd32e89f60403392a260015f516020615efe5f395f51905f525560805180f35b60805180808061262e85346149ad565b335af16126396149ba565b506125d6576312171d8360e31b608051526004608051fd5b60805161265d91613dcc565b60805161059157826125cd565b61268b9060203d602011612692575b6126838183613dcc565b810190614983565b508261254e565b503d612679565b63cd1c886760e01b608051526004608051fd5b3461059157608051366003190112610591576020602b54604051908152f35b3461059157608051366003190112610591576020600354604051908152f35b6126f336613d1c565b6126fb615414565b604080516373306cbf60e11b8152603360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015260276044820152606481019390935260848301919091528160a48173522c131fef36ef649928f3e1aa0d4e984cd685e65af480156105845761278e9160805190608051926127a7575b50615ac1565b505060015f516020615efe5f395f51905f525560805180f35b90506127c2915060403d604011611f1457611f068183613dcc565b9083612788565b346105915760203660031901126105915760043560805152601660205260c060406080512060018060a01b0381541690600181015490600281015460038201549060ff6009600485015494015416936040519586526020860152604085015260608401526080830152151560a0820152f35b346105915761284936613d32565b92612852615414565b61285b85615472565b8460805152600e6020526040608051209260098401908154938760805152600c60205260406080512054966080515060ff8660a01c166008811015610b415760018103612ab55750841561168c576128b3838861549d565b6004880154600589015460068a015460078b0154604080516020810195865290810193909352606083019190915260808083019190915281529193916128fa60a082613dcc565b519020600189015490895499600160a01b600190036002820154169060030154906040519b60208d01948d7f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e87526040015260608d015260808c015260a08b015260c08a01528660e08a015263ffffffff85169889610100820152610100815261298661012082613dcc565b51902061299290615522565b91369061299e92613f8d565b6129a791615d6b565b6129b391939293615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020849055825463ffffffff60801b191691901b63ffffffff60801b16178155805460ff60a01b1916600760a01b17905560805115612a6a579163ffffffff7ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72094926080946040519485526020850152841c1660408301526060820152a260015f516020615efe5f395f51905f525560805180f35b90507f755d44a73910c278ea8e6a9c76f0f1f5ffd0a2705bdfcb37fc0eb1d77cfe83db925060409182519182526020820152a2611bc9565b630574e98560e01b608051526004608051fd5b612ace908a6345161eb560e11b60805152600452613ceb565b6044608051fd5b3461059157608051366003190112610591576020603654604051908152f35b346105915760805136600319011261059157602060ff600f54166040519015158152f35b3461059157608051366003190112610591576020602c54604051908152f35b346105915760805136600319011261059157612b51615414565b6024548015610f26576080516024819055908190819081907f00000000000000000000000000000000000000000000000000000000000000005af1612b946149ba565b5015610f135760015f516020615efe5f395f51905f525560805180f35b3461059157612bbf36613d32565b90612bc861544c565b612bd0615414565b612bd985615472565b8460805152600e60205260406080512090600982019485549363ffffffff8560801c16928860805152600c60205260ff604060805120549660a01c166008811015610b4157600703612e32576080515463ffffffff8160c01c169081861090811591612e18575b50612df85750821561168c57612d48612d5192612d42612c608a8961549d565b93612d3a60048a01548a612ca76005820154610cd2600760068501549401546040519485936020850197889290916080949284526020840152604083015260608201520190565b51902060018b0154908b549b600360018060a01b036002830154169101549060806040519e8f9060208201967f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e885260408301526060820152015260a08d015260c08c01528860e08c015263ffffffff8d169a8b6101008201526101008152612d3261012082613dcc565b519020615522565b923691613f8d565b90615d6b565b90939193615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020829055865463ffffffff60801b191695811b63ffffffff60801b169590951786557ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72095805460ff60a01b1916600760a01b1790556040805194855260208501919091528301526060820152a260015f516020615efe5f395f51905f525560805180f35b63ffffffff88631be6ac0d60e11b60805152166004526024526044608051fd5b63ffffffff915060a01c1663ffffffff891614158b612c40565b88631d33890f60e11b608051526004526024608051fd5b346105915760203660031901126105915760405163bd85b03960e01b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561058457608051916124365750670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b3461059157602036600319011261059157600435608051526022602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526021602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157604036600319011261059157612f98613d06565b60243563ffffffff81169182820361059157612fb261544c565b6001600160a01b031691821561168c5760805154600163ffffffff8260a01c16019163ffffffff8311611ed25763ffffffff8260c01c1681108015613080575b61168c578260209263ffffffff7fdd5800b3f65c197a1ed496f5e1dea9434eec56ae67ce70d6e4d281cb146ab0f495169563ffffffff60c01b9060c01b169163ffffffff60a01b9060a01b16906001600160401b0360a01b1916171760805155836080515260018252604060805120856001600160601b0360a01b825416179055604051908152a360805180f35b5063ffffffff83168111612ff2565b3461059157608051366003190112610591576130a9615414565b7365b8cae34c5110baf69b2584c23995f7dfca61d2803b1561059157604051630cf2271b60e41b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526080519091829060449082905af4801561058457611be05760015f516020615efe5f395f51905f525560805180f35b346105915760203660031901126105915760043560805152601f602052602060406080512054604051908152f35b346105915760203660031901126105915760405161318281613d7a565b60805181526080516020820152608051604082015260805160608201526080805191015260043560805152603460205260a06040608051206040516131c681613d7a565b600180841b038254169182825260018101546020830190815260028201549060408401918252608060ff600460038601549560608801968752015416940193151584526040519485525160208501525160408401525160608301525115156080820152f35b346105915760805136600319011261059157602063ffffffff6080515460a01c16604051908152f35b34610591576080513660031901126105915761326e61544c565b613276615414565b6025548015610f26576080516025557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b038116156132ca575b608051918291829182915af1612b946149ba565b507f00000000000000000000000000000000000000000000000000000000000000006132b6565b6132fa36613d1c565b613302615414565b61330c8183615330565b803410612699578260805152601160205260406080512061332e838254614976565b905561333a8184615ac1565b917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156105915760405190635e2d2fff60e11b82523360048301528660248301528560448301528160648160805193608051905af180156105845761343b575b50803411613408575b604051938452602084015260018060a01b0316604083015260608201527ff829cb0f939db361d00f6ce8df243365f2b3f62ab614b6e0eadb85e85ae72e5260803392a360015f516020615efe5f395f51905f525560805180f35b60805180808061341885346149ad565b335af16134236149ba565b506133ae576312171d8360e31b608051526004608051fd5b60805161344791613dcc565b60805161059157856133a5565b346105915760c03660031901126105915760243560a4356001600160a01b03811690600435906084359060643590604435908590036105915761349561544c565b60148410801561359f575b8015613595575b801561358a575b8015613580575b8015613575575b801561356b575b8015613560575b8015613550575b8015613548575b61168c577fff4b9d3b935b1ce181cbd983738a06320ee3a3f807c922375fd72ea1f566e1039560a09585600255816003558260045583600555846006556001600160601b03871b60075416176007556040519485526020850152604084015260608301526080820152a160805180f35b5084156134d8565b506601c6bf5263400083116134d1565b5061708082116134ca565b50606482106134c3565b506104b081116134bc565b50600a81106134b5565b506107d086116134ae565b50600586106134a7565b5061271084116134a0565b346105915760805136600319011261059157602060ff602654166040519015158152f35b34610591576020366003190112610591576135e7615414565b604051636ae8cff360e01b815260296004808301919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248401527f00000000000000000000000000000000000000000000000000000000000000001660448301523560648201526060816084817365b8cae34c5110baf69b2584c23995f7dfca61d25af48015610584576080519182918291906136c0575b506111129060015f516020615efe5f395f51905f5255604051938493846040919493926060820195825260208201520152565b905061111292506136e9915060603d6060116136f0575b6136e18183613dcc565b810190614992565b909261368d565b503d6136d7565b3461059157606036600319011261059157613710615414565b604051630536a43b60e51b81526033600482015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015260043560448201526024356064820152604435608482015260208160a48173522c131fef36ef649928f3e1aa0d4e984cd685e65af4801561058457608051906108585760209060015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576137ca615414565b73fa0b98827b35b920155c8ffab08a38a787eb50d6803b156105915760405190630c9c2fd760e11b8252601260048301526010602483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166044830152600435606483015281608481608051935af4801561058457613872575b613858601354613fe3565b60135560015f516020615efe5f395f51905f525560805180f35b60805161387e91613dcc565b608051610591578061384d565b34610591576020366003190112610591576004356138a7615414565b8060805152600e60205260406080512060098101805460ff8160a01c166008811015610b4157600181036139e557506005546138eb916001600160401b0316614976565b8043106139cb5750805460ff60a01b1916600360a11b17905560085461391090613fc3565b60085560038101908154806080515260096020528360406080512054146139b2575b5061393c816155e2565b6139446157e3565b60020154905460405190926001600160a01b0392909216919060808160065f516020615ede5f395f51905f5293528151602082015281516040820152336060820152a460015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b5f52602160045260245ffd5b6080515260096020526080516040608051205583613932565b631b016eeb60e21b60805152436004526024526044608051fd5b612ace90856345161eb560e11b60805152600452613ceb565b346105915760203660031901126105915760043560805152600c602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526019602052602060406080512054604051908152f35b346105915760c03660031901126105915760243580151581036105915760843563ffffffff811681036105915760a435906001600160401b03821161059157604092613aad613ac8933690600401613cbe565b929091613ab8615414565b60643590604435906004356140e6565b60015f516020615efe5f395f51905f5255613ae583518093613cf9565b15156020820152f35b3461059157602036600319011261059157613b07613caf565b613b0f61544c565b158080613b45575b613b325760ff8019600f541691151617600f55608051608051f35b63d96668af60e01b608051526004608051fd5b5060ff6014541615613b17565b3461007d57602036600319011261007d57613b6b615414565b7365b8cae34c5110baf69b2584c23995f7dfca61d2803b1561007d57604051633fe171d760e11b815260296004808301919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166024830152356044820152905f90829060649082905af4801561007257613c015760015f516020615efe5f395f51905f525560805180f35b5f613c0b91613dcc565b5f60805280611bc9565b3461007d57602036600319011261007d576004355f5260208052602060405f2054604051908152f35b3461007d575f36600319011261007d5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461007d575f36600319011261007d576020603554604051908152f35b3461007d575f36600319011261007d57602090602a548152f35b60043590811515820361007d57565b9181601f8401121561007d578235916001600160401b03831161007d576020838186019501011161007d57565b600881101561399e57602452565b90600882101561399e5752565b600435906001600160a01b038216820361007d57565b604090600319011261007d576004359060243590565b90608060031983011261007d57600435916024359160443563ffffffff8116810361007d5791606435906001600160401b03821161007d57613d7691600401613cbe565b9091565b60a081019081106001600160401b0382111761201357604052565b606081019081106001600160401b0382111761201357604052565b61014081019081106001600160401b0382111761201357604052565b90601f801991011681019081106001600160401b0382111761201357604052565b919060405192613dfe608085613dcc565b83906080810192831161007d57905b828210613e1957505050565b8135815260209182019101613e0d565b9181601f8401121561007d578235916001600160401b03831161007d576020808501948460051b01011161007d57565b9060a060031983011261007d576004359160a41161007d57602490565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90600182811c92168015613ec8575b6020831014613eb457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691613ea9565b9060405191825f825492613ee584613e9a565b8084529360018116908115613f505750600114613f0c575b50613f0a92500383613dcc565b565b90505f9291925260205f20905f915b818310613f34575050906020613f0a928201015f613efd565b6020919350806001915483858901015201910190918492613f1b565b905060209250613f0a94915060ff191682840152151560051b8201015f613efd565b6001600160401b03811161201357601f01601f191660200190565b929192613f9982613f72565b91613fa76040519384613dcc565b82948184528183011161007d578281602093845f960137010152565b8015613fcf575f190190565b634e487b7160e01b5f52601160045260245ffd5b5f198114613fcf5760010190565b905f905b6004821061400257505050565b6001602081928554815201930191019091613ff5565b818110614023575050565b5f8155600101614018565b9080821461406157908154905f915b6004831061404b5750505050565b600180919401928354948184015501919261403d565b5050565b5f929181549161407483613e9a565b80835292600181169081156140c9575060011461409057505050565b5f9081526020812093945091925b8383106140af575060209250010190565b60018160209294939454838587010152019101919061409e565b915050602093945060ff929192191683830152151560051b010190565b9695939290969491945f945f98825f52600e60205260405f209561410984615472565b600987019260ff845460a01c16600881101561399e5760070361496357614131868b85614a13565b855f52600c60205260405f2054036149545787968a91614151848a61549d565b60048a015460058b015460068c015460078d01546040805160208101958652908101939093526060830191909152608080830191909152815291939161419860a082613dcc565b5190209460018b0154908b549060028d0198600160a01b600190038a54169e6003019e8f54906040519460208601967fd123b68dcff6cfb42b0407ace14883c1bdb588bc177b11d032630a2d4518caa7885260408701526060860152608085015260a08401528860c08401521596871560e08401526101008301528b61012083015263ffffffff16610140820152610140815261423761016082613dcc565b51902061424390615522565b91369061424f92613f8d565b61425891615d6b565b61426491939293615da5565b6001600160a01b0390811691160361494557614281600854613fc3565b6008558754805f5260096020528560405f205414614932575b50614807578888526015602052604088209460ff6004870154161580156147d7575b6147c8576142e5816040516142d48160048c01613ff1565b6142df608082613dcc565b8c614a65565b6003870154036147b957898952601660205260408920600981019160ff8354166146a3576002880154956201518042049061431f88615a79565b1561468f57600860408e848152601c6020522054101561467b57600160408e8e548152601d6020528181208582526020522054101561466757805460ff60a01b1916600160a11b1790556143f89291906143788b6156c4565b808d52601c60205260408d2061438e8154613fe3565b90558b548d52601d60205260408d20908d5260205260408c206143b18154613fe3565b9055855482546001600160a01b0319166001600160a01b03919091161782558a5460018301556002820188905542600383015560048083019190915589019060050161402e565b600160ff19825416179055875260176020528760408820558187526019602052604087206144268154613fe3565b9055614433603554613fe3565b60355580546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b15614663576040516340c10f1960e01b81526001600160a01b03919091166004820152602481018a9052888160448183865af180156146585790899161463f575b505081546144c0908a906001600160a01b031661576d565b6060891480614632575b15614610578154604051639fd8ca2d60e01b8152602360048201526001600160a01b039091166024820152604481019190915260608160648173eaee8942bc98760ed5b6cb471ac5836748fe16cf5af48015614605576145e6575b505b61452f6157e3565b5494546040519096506001600160a01b0395909516947fc66c28b1ed7c7dbd812926df0a452a3d82087505f49a860b52f242f35d2dd88b948787855f516020615ede5f395f51905f5260808f966145dd978f60028352602083015215156040820152336060820152a46145ca6040519586958652610100602087015260016145bb610100880183614065565b91878303604089015201614065565b9260608501526004608085019101613ff1565b0390a460029190565b6145fe9060603d6060116136f0576136e18183613dcc565b5050614525565b6040513d8a823e3d90fd5b5080548654919a5061462c9189916001600160a01b0316615903565b98614527565b5060ff60265416156144ca565b8161464991613dcc565b61465457875f6144a8565b8780fd5b6040513d8b823e3d90fd5b8880fd5b63a60e886760e01b8d52600160045260248dfd5b6323a2f40760e21b8d52600860045260248dfd5b6302cf233b60e51b8d52600488905260248dfd5b5050505098509093949291506060861461475157805460ff60a01b1916600360a01b1790556146d1906156c4565b85546146e79085906001600160a01b031661576d565b85548354614700918691906001600160a01b0316615903565b956147096157e3565b54925460405190946001600160a01b0394909416939091508160809160035f516020615ede5f395f51905f52945260208201528715156040820152336060820152a460039190565b805460ff60a01b1916600560a01b17905590959061476e906155e2565b6147766157e3565b54915460405190936001600160a01b0393909316928160809160055f516020615ede5f395f51905f5294526020820152876040820152336060820152a460059190565b63108505d960e01b8952600489fd5b63b4fa3fb360e01b8952600489fd5b506147fb6040516147eb8160048b01613ff1565b6147f6608082613dcc565b61585d565b600287015414156142bc565b5094959850929190951590811591614929575b5061491a57815460ff60a01b1916600160a21b1790915560365461484a919061484290613fe3565b6036556156c4565b80546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b1561007d575f91606483926040519485938492635e2d2fff60e11b8452600484015260696024840152600160448401525af1801561007257614905575b506148c16157e3565b54905460405190926001600160a01b0392909216919060808160045f516020615ede5f395f51905f529352876020820152876040820152336060820152a460049190565b6149129195505f90613dcc565b5f935f6148b8565b63b4fa3fb360e01b5f5260045ffd5b9050155f61481a565b5f5260096020525f60408120555f61429a565b630574e98560e01b5f5260045ffd5b632f272d1160e21b5f5260045ffd5b84631d33890f60e11b5f5260045260245ffd5b91908201809211613fcf57565b9081602091031261007d575190565b9081606091031261007d578051916040602083015192015190565b91908203918211613fcf57565b3d156149e4573d906149cb82613f72565b916149d96040519384613dcc565b82523d5f602084013e565b606090565b919082604091031261007d576020825192015190565b51906001600160a01b038216820361007d57565b91604051916020830193151584526040830152606082015260608152614a3a608082613dcc565b51902090565b906004811015614a515760051b0190565b634e487b7160e01b5f52603260045260245ffd5b9190614a7090615bcb565b9081519160208101519060606040820151910151916040519460208601967f0000000000000000000000000000000000000000000000000000000000000000885260408701526060860152608085015260a084015260c083015260e082015260e08152614a3a61010082613dcc565b81835290916001600160fb1b03831161007d5760209260051b809284830137010190565b60808183031261007d5781601f8201121561007d5760405191614b27608084613dcc565b82916080810191821161007d57915b818310614b435750505090565b825160ff8116810361007d57815260209283019201614b36565b905f905b60048210614b6e57505050565b6020806001928551815201930191019091614b61565b601081526001600160a01b03918216602082015291166040820152610100810192915f9160e091614bb9906060830190614b5d565b0152565b909291608090614bd18360a0810196614b5d565b1515910152565b919060ff60145416156152d057614bee83615c62565b60065434106152c157610c8d614c05913690613ded565b915f5b60048110615242575082516020840151614c51604086015191610cd260608801516040519485936020850197889290916080949284526020840152604083015260608201520190565b5190205f52601760205260405f20548061512e5750614c6f8361585d565b614c7881615a79565b1561511c575060ff600f541661510e57805f52600960205260405f20546150eb57620151804204815f52601d60205260405f20815f52602052600160405f205410156150d7575f52601c60205260405f20546008614cd881548093614976565b10156150c35760025490818110156150ae575050600454801561509a574304805f52600a60205260405f20546003548091101561508457505f52600a60205260405f20614d258154613fe3565b905560405163abe3b08560e01b8152601060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015233604482015292614d7e6064850182614b5d565b600160e48501526080846101048173fa0b98827b35b920155c8ffab08a38a787eb50d65af4938415610072575f94615063575b50614dbd600d54613fe3565b80600d558094614dce600854613fe3565b600855835f5260096020528160405f20557f0000000000000000000000000000000000000000000000000000000000000000926001600160401b0343169163ffffffff5f5460c01c1660405190614e2482613db0565b8582526020820191878352604081019033825260608101948a86526080820187815260a0830191825260c083019689885260e08401946001600160401b03421686526101008501968752610120850197600189528c5f52600e60205260405f209551865551600186015560018060a01b03905116600285019060018060a01b03166001600160601b0360a01b825416179055516003840155515f5b6004811061504c575050515f905f5b60048110615028575050600882015593516009949094018054915192516001600160a01b03199092166001600160401b03959095169490941760409290921b6fffffffffffffffff0000000000000000169190911760809190911b63ffffffff60801b1617825551600881101561399e57815460ff60a01b191660a09190911b60ff60a01b1617905560065480151580615014575b614fea575b50600654803411614fb6575b50614f89906040519586526020860190614b5d565b60a08401527f04da450f287fc9dd57e2b12725cc80466957c3394d1a26b0cad80d7d0899bb5060c03394a4565b5f8080614fc48194346149ad565b335af1614fcf6149ba565b5015614fdb575f614f74565b6312171d8360e31b5f5260045ffd5b6007545f918291829182916001600160a01b03165af16150086149ba565b5015614fdb575f614f68565b506007546001600160a01b03161515614f63565b9091602060019160ff8551169060ff8560031b92831b921b19161793019101614ece565b600190602083519301926004828701015501614ebf565b61507d91945060803d608011610dfc57610def8183613dcc565b925f614db1565b906368236ccb60e01b5f5260045260245260445ffd5b634e487b7160e01b5f52601260045260245ffd5b63c7f5853160e01b5f5260045260245260445ffd5b6323a2f40760e21b5f52600860045260245ffd5b63a60e886760e01b5f52600160045260245ffd5b805f52600960205260405f2054906346dfad8360e01b5f5260045260245260445ffd5b6288b61360e51b5f5260045ffd5b6302cf233b60e51b5f5260045260245ffd5b9192606083146152335760405163abe3b08560e01b81526080818061517885337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b038173fa0b98827b35b920155c8ffab08a38a787eb50d65af4801561007257615216575b506151a7833361576d565b6151b2838333615903565b346151f2575b6151eb7f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a91604051918291339583614bbd565b0390a45f90565b5f80808034335af16152026149ba565b506151b8576312171d8360e31b5f5260045ffd5b61522e9060803d608011610dfc57610def8183613dcc565b61519c565b63e113b20760e01b5f5260045ffd5b61524c8185614a40565b516005811015806152b6575b1561529257805f52601660205260ff600960405f200154161561528057506001905b01614c08565b63ddb5519f60e01b5f5260045260245ffd5b606581109081156152ab575b5061491a5760019061527a565b60699150115f61529e565b506060811115615258565b63cd1c886760e01b5f5260045ffd5b63d96668af60e01b5f5260045ffd5b9190811015614a515760051b0190565b9190811015614a515760051b81013590601e198136030182121561007d5701908135916001600160401b03831161007d57602001823603811361007d579190565b805f52601660205260ff600960405f2001541615801561540c575b8015615402575b6153f0575f9081526015602090815260408083206002015460118352928190205490516397e32c8560e01b8152600481019390935260248301526044820192909252908160648173522c131fef36ef649928f3e1aa0d4e984cd685e65af4908115610072575f916153c1575090565b90506020813d6020116153e8575b816153dc60209383613dcc565b8101031261007d575190565b3d91506153cf565b63dd4e0ec360e01b5f5260045260245ffd5b5060608114615352565b50811561534b565b60025f516020615efe5f395f51905f52541461543d5760025f516020615efe5f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b0316330361545f57565b63118cdaa760e01b5f523360045260245ffd5b61547a6157e3565b600b54808203615488575050565b6321fdff9d60e21b5f5260045260245260445ffd5b919063ffffffff805f5460c01c1691169281841090811561550b575b506154f5575f838152600160205260409020546001600160a01b03169283156154e0575050565b631be6ac0d60e11b5f5260045260245260445ffd5b82631be6ac0d60e11b5f5260045260245260445ffd5b63ffffffff91506009015460801c1683105f6154b9565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527fb7db8a9ff93f0ace8d65b1e852b0af12effcf8be8a5e25ba5dc1781d23d2717660408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526155b460c082613dcc565b5190209060405190602082019261190160f01b84526022830152604282015260428152614a3a606282613dcc565b600281015473fa0b98827b35b920155c8ffab08a38a787eb50d691823b1561007d576101845f926156a394604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260018060a01b031660448501526156716064850160048301613ff1565b600860e48501910160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b60016101648301525af48015610072576156ba5750565b5f613f0a91613dcc565b600281015473fa0b98827b35b920155c8ffab08a38a787eb50d6916001600160a01b0390911690823b1561007d576101845f9261575794604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260448501526156716064850160048301613ff1565b846101648301525af48015610072576156ba5750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561007d57604051635e2d2fff60e11b81526001600160a01b039092166004830152602482015260016044820152905f908290606490829084905af18015610072576156ba5750565b600b545f905b6020821080615851575b1561584057805f52600e60205260ff600960405f20015460a01c16600881101561399e5760018114908115615846575b506158405761583461583a91613fe3565b91613fe3565b906157e9565b600b5550565b60079150145f615823565b50600d548111156157f3565b5f5b600481106158b2575060405163042fcd0160e21b815290615884906004830190614b5d565b60208160848173fa0b98827b35b920155c8ffab08a38a787eb50d65af4908115610072575f916153c1575090565b6158bc8183614a40565b51600581101590816158f7575b816158dc575b5061491a5760010161585f565b90505f52601660205260ff600960405f20015416155f6158cf565b605f81111591506158c9565b90915f92815f526015602052600260405f2001549162015180420492815f52601a60205261593560405f205491615e05565b1180615a58575b80615a38575b61594d575050505090565b8091929394505f52601a60205260405f206159688154613fe3565b9055815f52601b60205260405f20905f5260205260405f20600160ff198254161790555f52601e60205260405f20905f5260205260405f206159aa8154613fe3565b90557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561007d57604051635e2d2fff60e11b81526001600160a01b0390911660048201526064602482018190526001604483015290915f918391829084905af1801561007257615a28575b50600190565b5f615a3291613dcc565b5f615a22565b50815f52601e60205260405f20835f52602052600260405f205410615942565b50815f52601b60205260405f20815f5260205260ff60405f2054161561593c565b60018114908115615a88575090565b5f19810191508111613fcf57805f52601960205260405f2054905f52601860205260405f205460018101809111613fcf5760011c111590565b9190825f526016602052615b27600560405f200160405194631b9bc40360e11b86526023600487015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602487015260448601526064850190613ff1565b60e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166101048301526040826101248173eaee8942bc98760ed5b6cb471ac5836748fe16cf5af4918215610072575f905f93615b8e57509190565b9250506040823d604011615bc3575b81615baa60409383613dcc565b8101031261007d576020615bbd836149ff565b92015190565b3d9150615b9d565b6080604051615bda8282613dcc565b3690375f5b60048110615beb575090565b919060018301808411613fcf575b60048110615c0c57509091600101615bdf565b600190615c198584614a40565b51615c248285614a40565b5110615c31575b01615bf9565b615c3b8184614a40565b51615c468685614a40565b51615c518386614a40565b52615c5c8685614a40565b52615c2b565b6040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610072575f91615cda575b50336001600160a01b0390911603615ccb57565b636061778f60e11b5f5260045ffd5b90506020813d602011615d0c575b81615cf560209383613dcc565b8101031261007d57615d06906149ff565b5f615cb7565b3d9150615ce8565b6018811115615a2257602c811115615d6557603e811115615d5f57604d811115615d59576059811115615d5357605f1015615d4e57600790565b600690565b50600590565b50600490565b50600390565b50600290565b8151919060418303615d9b57615d949250602082015190606060408401519301515f1a90615e5b565b9192909190565b50505f9160029190565b600481101561399e5780615db7575050565b60018103615dce5763f645eedf60e01b5f5260045ffd5b60028103615de9575063fce698f760e01b5f5260045260245ffd5b600314615df35750565b6335e2f38360e21b5f5260045260245ffd5b60018114615e555760028114615e4f5760038114615e495760048114615e435760058114615e3d57600614615e38575f90565b600890565b50600a90565b50600c90565b50600f90565b50601490565b50601990565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411615ed2579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610072575f516001600160a01b03811615615ec857905f905f90565b505f906001905f90565b5050505f916003919056fe3d3a07bd6d8d84b8ac0a290a3fa928176f5e74d1fa2a56adfa2c68f4345207f59b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e003360a0604052346103545761109f6020813803918261001c81610358565b93849283398101031261035457516001600160a01b0381168103610354576100446040610358565b90601b82527f4861736844726f6964732053796e74686573697320506174656e74000000000060208301526100796040610358565b6008815267121114105511539560c21b602082015282519091906001600160401b038111610268575f54600181811c9116801561034a575b602082101461024a57601f81116102e8575b506020601f821160011461028757819293945f9261027c575b50508160011b915f199060031b1c1916175f555b81516001600160401b03811161026857600154600181811c9116801561025e575b602082101461024a57601f81116101e7575b50602092601f821160011461018657928192935f9261017b575b50508160011b915f199060031b1c1916176001555b608052604051610d21908161037e8239608051818181610156015281816102ce01526105820152f35b015190505f8061013d565b601f1982169360015f52805f20915f5b8681106101cf57508360019596106101b7575b505050811b01600155610152565b01515f1960f88460031b161c191690555f80806101a9565b91926020600181928685015181550194019201610196565b60015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f830160051c81019160208410610240575b601f0160051c01905b8181106102355750610123565b5f8155600101610228565b909150819061021f565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610111565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100dc565b601f198216905f8052805f20915f5b8181106102d0575095836001959697106102b8575b505050811b015f556100f0565b01515f1960f88460031b161c191690555f80806102ab565b9192602060018192868b015181550194019201610296565b5f80527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f830160051c81019160208410610340575b601f0160051c01905b81811061033557506100c3565b5f8155600101610328565b909150819061031f565b90607f16906100b1565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176102685760405256fe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146108a35750806306fdde03146107eb578063081812fc146107af578063095ea7b3146106c557806323b872dd146106ae57806340c10f191461056357806342842e0e1461053a5780636352211e1461050a57806370a08231146104b957806395d89b41146103b1578063a22cb465146102fd578063a3f5c1d2146102b9578063b88d4fde1461022f578063c87b56dd1461011c5763e985e9c5146100c1575f80fd5b34610118576040366003190112610118576100da610932565b6100e2610948565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b5f80fd5b346101185760203660031901126101185760043561013981610cb7565b5060405163c87b56dd60e01b815260048101919091525f816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610224575f906101a9575b6101a59060405191829160208352602083019061090e565b0390f35b503d805f833e6101b98183610998565b8101906020818303126101185780519067ffffffffffffffff821161011857019080601f830112156101185781516101f0816109ce565b916101fe6040519384610998565b81835260208285010111610118576020815f92826101a596018386015e8301015261018d565b6040513d5f823e3d90fd5b3461011857608036600319011261011857610248610932565b610250610948565b6064359167ffffffffffffffff831161011857366023840112156101185782600401359161027d836109ce565b9261028b6040519485610998565b8084523660248287010111610118576020815f9260246102b79801838801378501015260443591610b77565b005b34610118575f366003190112610118576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461011857604036600319011261011857610316610932565b6024359081151580920361011857331561039e576001600160a01b031690811561038b57335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b34610118575f366003190112610118576040515f6001548060011c906001811680156104af575b60208310811461049b578285529081156104775750600114610419575b6101a58361040581850382610998565b60405191829160208352602083019061090e565b91905060015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6915f905b80821061045d575090915081016020016104056103f5565b919260018160209254838588010152019101909291610445565b60ff191660208086019190915291151560051b8401909101915061040590506103f5565b634e487b7160e01b5f52602260045260245ffd5b91607f16916103d8565b34610118576020366003190112610118576001600160a01b036104da610932565b1680156104f7575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610118576020366003190112610118576020610528600435610cb7565b6040516001600160a01b039091168152f35b34610118576102b761054b3661095e565b906040519261055b602085610998565b5f8452610b77565b346101185760403660031901126101185761057c610932565b602435907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361069f576001600160a01b031690811561068c575f818152600260205260409020546001600160a01b03168015159290919083610659575b805f52600360205260405f2060018154019055815f52600260205260405f20816bffffffffffffffffffffffff60a01b825416179055827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45061064657005b6339e3563760e11b5f525f60045260245ffd5b5f82815260046020526040902080546001600160a01b0319169055825f52600360205260405f205f1981540190556105e4565b633250574960e11b5f525f60045260245ffd5b633721f51560e11b5f5260045ffd5b34610118576102b76106bf3661095e565b916109ea565b34610118576040366003190112610118576106de610932565b6024356106ea81610cb7565b3315158061079c575b8061076f575b61075c5781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff16156106f9565b506001600160a01b0381163314156106f3565b34610118576020366003190112610118576004356107cc81610cb7565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610118575f366003190112610118576040515f5f548060011c90600181168015610899575b60208310811461049b57828552908115610477575060011461083d576101a58361040581850382610998565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b80821061087f575090915081016020016104056103f5565b919260018160209254838588010152019101909291610867565b91607f1691610811565b34610118576020366003190112610118576004359063ffffffff60e01b8216809203610118576020916380ac58cd60e01b81149081156108fd575b81156108ec575b5015158152f35b6301ffc9a760e01b149050836108e5565b635b5e139f60e01b811491506108de565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361011857565b602435906001600160a01b038216820361011857565b6060906003190112610118576004356001600160a01b038116810361011857906024356001600160a01b0381168103610118579060443590565b90601f8019910116810190811067ffffffffffffffff8211176109ba57604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116109ba57601f01601f191660200190565b6001600160a01b039091169190821561068c575f828152600260205260409020546001600160a01b031692829033151580610ae2575b5084610aaf575b805f52600360205260405f2060018154019055815f52600260205260405f20816bffffffffffffffffffffffff60a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b0316808303610a9757505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f198154019055610a27565b90915080610b26575b15610af85782905f610a20565b8284610b1057637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b503384148015610b55575b80610aeb57505f838152600460205260409020546001600160a01b03163314610aeb565b505f84815260056020908152604080832033845290915290205460ff16610b31565b9291610b848183866109ea565b813b610b91575b50505050565b604051630a85bd0160e11b81523360048201526001600160a01b0394851660248201526044810191909152608060648201529216919060209082908190610bdc90608483019061090e565b03815f865af15f9181610c72575b50610c3f57503d15610c38573d610c00816109ce565b90610c0e6040519283610998565b81523d5f602083013e5b80519081610c335782633250574960e11b5f5260045260245ffd5b602001fd5b6060610c18565b6001600160e01b03191663757a42ff60e11b01610c6057505f808080610b8b565b633250574960e11b5f5260045260245ffd5b9091506020813d602011610caf575b81610c8e60209383610998565b8101031261011857516001600160e01b03198116810361011857905f610bea565b3d9150610c81565b5f818152600260205260409020546001600160a01b0316908115610cd9575090565b637e27328960e01b5f5260045260245ffdfea2646970667358221220314a5d8b5156f5213884afc2d26eee5c5440ba15c60e88155d9b5de34a4e66e064736f6c634300081e003360c080604052346104cd576040816135dd803803809161001f828561052a565b8339810103126104cd5761003e60206100378361054d565b920161054d565b6020905f60405161004f848261052a565b52600254600181811c91168015610520575b838210146102a457601f81116104f6575b505f60025560017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b03831680159081156104eb575b506104dc57803b156102d657604051637764583960e01b8152925f846004816001600160a01b0386165afa9384156104d1575f94610447575b50835160098110908115610425575b5080156103ff575b80156103d9575b80156103b3575b801561038d575b8015610367575b8015610341575b80156102e5575b6102d65760805260a0528151906001600160401b0382116102c257600554600181811c911680156102b8575b828210146102a457601f8111610260575b5080601f83116001146101fd575081925f926101f2575b50508160011b915f199060031b1c1916176005555b60405161307b908161056282396080518181816105ac015281816107fc01528181610a2201528181610d8c015281816110180152818161114d015281816112c00152818161162d01528181611bc50152611f82015260a05181610bea0152f35b015190505f8061017d565b90601f1983169360055f52825f20925f905b8682106102485750508360019510610230575b505050811b01600555610192565b01515f1960f88460031b161c191690555f8080610222565b8060018596829496860151815501950193019061020f565b60055f52815f20601f840160051c81019183851061029a575b601f0160051c01905b81811061028f5750610166565b5f8155600101610282565b9091508190610279565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610155565b634e487b7160e01b5f52604160045260245ffd5b630161139960e31b5f5260045ffd5b5083515f19810181811161032d578551111561031957840183015f1901516001600160f81b031916602f60f81b1415610129565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b508351600610156103195760268401516001600160f81b031916602f60f81b1415610122565b508351600510156103195760258401516001600160f81b031916602f60f81b141561011b565b508351600410156103195760248401516001600160f81b031916601d60f91b1415610114565b508351600310156103195760238401516001600160f81b031916607360f81b141561010d565b508351600210156103195760228401516001600160f81b031916603360f91b1415610106565b508351600110156103195760218401516001600160f81b031916600760fc1b14156100ff565b90501561031957838301516001600160f81b031916606960f81b14155f6100f7565b9093503d805f833e610459818361052a565b81019083818303126104cd578051906001600160401b0382116104cd570181601f820112156104cd578051906001600160401b0382116102c257604051926104aa601f8401601f191687018561052a565b8284528583830101116104cd57815f92868093018386015e83010152925f6100e8565b5f80fd5b6040513d5f823e3d90fd5b633721f51560e11b5f5260045ffd5b90503314155f6100af565b60025f52601f835f20910160051c8101905b8181106105155750610072565b5f8155600101610508565b90607f1690610061565b601f909101601f19168101906001600160401b038211908210176102c257604052565b51906001600160a01b03821682036104cd5756fe60806040526004361015610011575f80fd5b5f3560e01c8062fdd58e1461020357806301ffc9a7146101fe57806306fdde03146101f95780630e89341c146101f457806318160ddd146101ef5780632a795fd5146101ea5780632eb2c2d6146101e55780633c764801146101e057806349a2e71c146101db5780634e1273f4146101d65780634f558e79146101d1578063511cd8cf146101cc5780637577dd70146101c757806377645839146101c2578063865190ef146101bd5780638ada6b0f146101b857806395d89b41146101b35780639eb656cc146101ae578063a22cb465146101a9578063a3f5c1d2146101a4578063a52c76031461019f578063ac44ff311461019a578063ac46fa2214610195578063bc197c8114610190578063bc5a5ffe1461018b578063bd85b03914610186578063e43debd414610181578063e8a3d4851461017c578063e985e9c514610177578063f23a6e61146101725763f242432a1461016d575f80fd5b611663565b6115a2565b611546565b611346565b61128f565b611265565b61113b565b61108f565b610fff565b610f5c565b610deb565b610d77565b610caa565b610c5b565b610c40565b610bd5565b610bab565b610ae1565b610a11565b6109e2565b6109b6565b6108f7565b610889565b6107eb565b61075f565b61059a565b610553565b610454565b610421565b6102bc565b610262565b600435906001600160a01b038216820361021e57565b5f80fd5b602435906001600160a01b038216820361021e57565b604435906001600160a01b038216820361021e57565b35906001600160a01b038216820361021e57565b3461021e57604036600319011261021e5760206102a1610280610208565b6024355f525f835260405f209060018060a01b03165f5260205260405f2090565b54604051908152f35b6001600160e01b031981160361021e57565b3461021e57602036600319011261021e576004356102d9816102aa565b63ffffffff60e01b16630271189760e51b8114908115610302575b506040519015158152602090f35b636cdb3d1360e11b811491508115610334575b8115610323575b505f6102f4565b6301ffc9a760e01b1490505f61031c565b6303a24d0760e21b81149150610315565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b0382111761037a57604052565b610345565b6001600160401b03811161037a57601f01601f191660200190565b604051906103a9602083610359565b5f8252565b604051906103bd604083610359565b601e82527f4861736844726f69647320456c656d656e747320616e642043686573747300006020830152565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90602061041e9281815201906103e9565b90565b3461021e575f36600319011261021e5761045061043c6103ae565b6040519182916020835260208301906103e9565b0390f35b3461021e57602036600319011261021e5761045061051d61051860043561047a81611bfb565b606481036105295761049e61048d6116bf565b61049683611ebe565b93909161202b565b9361051261050c6105066105006104e26104fb60046104bc88612270565b60405193849160056104d0602085016116ec565b64656c656d5f60d81b81520190611773565b632e6a706760e01b815203601b19810184520182610359565b61202b565b93612270565b9361202b565b94612270565b94611785565b6123c6565b6040519182918261040d565b61049e60405161053a604082610359565b6007815266115b195b595b9d60ca1b602082015261048d565b3461021e575f36600319011261021e576020600454604051908152f35b606090600319011261021e576004356001600160a01b038116810361021e57906024359060443590565b3461021e576105a836610570565b90917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c576105e2612419565b6105eb81612451565b6105f58284612484565b60018060a01b031690815f52600660205260405f20835f5260205260405f20805491808301809311610687577fa49d05c5e826932347d09d61bdfcb0d495502ae74885fbb3910c95083722b712926106719255845f52600760205260405f2061065f828254611a33565b90556040519081529081906020820190565b0390a360015f5160206130265f395f51905f5255005b611a11565b633721f51560e11b5f5260045ffd5b6001600160401b03811161037a5760051b60200190565b9291906106be8161069b565b936106cc6040519586610359565b602085838152019160051b810192831161021e57905b8282106106ee57505050565b81358152602091820191016106e2565b9080601f8301121561021e5781602061041e933591016106b2565b81601f8201121561021e578035906107308261037f565b9261073e6040519485610359565b8284526020838301011161021e57815f926020809301838601378301015290565b3461021e5760a036600319011261021e57610778610208565b610780610222565b906044356001600160401b03811161021e576107a09036906004016106fe565b6064356001600160401b03811161021e576107bf9036906004016106fe565b90608435936001600160401b03851161021e576107e36107e9953690600401610719565b93611a40565b005b3461021e576107f936610570565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57610832612419565b61083d8282856125de565b80610879575b80831161085e575b60015f5160206130265f395f51905f5255005b820391821161068757610870926126b3565b5f80808061084b565b6108848183306126b3565b610843565b3461021e57602036600319011261021e576004355f526007602052602060405f2054604051908152f35b90602080835192838152019201905f5b8181106108d05750505090565b82518452602093840193909201916001016108c3565b90602061041e9281815201906108b3565b3461021e57604036600319011261021e576004356001600160401b03811161021e573660238201121561021e578060040135906109338261069b565b916109416040519384610359565b8083526024602084019160051b8301019136831161021e57602401905b82821061099e57836024356001600160401b03811161021e576104509161098c6109929236906004016106fe565b90611a91565b604051918291826108e6565b602080916109ab8461024e565b81520191019061095e565b3461021e57602036600319011261021e576004355f526003602052602060405f20541515604051908152f35b3461021e57604036600319011261021e576020610a09610a00610208565b60243590611b45565b604051908152f35b3461021e57610a1f36610570565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57610a58612419565b610a638282856125de565b815f52600860205260405f208054908482018092116106875755808311610a975760015f5160206130265f395f51905f5255005b8203918211610687576108709261279b565b90600182811c92168015610ad7575b6020831014610ac357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610ab8565b3461021e575f36600319011261021e576040515f600554610b0181610aa9565b8084529060018116908115610b875750600114610b29575b6104508361051d81850382610359565b91905060055f527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0915f905b808210610b6d5750909150810160200161051d610b19565b919260018160209254838588010152019101909291610b55565b60ff191660208086019190915291151560051b8401909101915061051d9050610b19565b3461021e57602036600319011261021e576004355f526008602052602060405f2054604051908152f35b3461021e575f36600319011261021e576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60405190610c28604083610359565b600982526812111153115351539560ba1b6020830152565b3461021e575f36600319011261021e5761045061043c610c19565b3461021e57604036600319011261021e57610c74610208565b6024359060018060a01b03165f52600660205260405f20905f52602052602060405f2054604051908152f35b8015150361021e57565b3461021e57604036600319011261021e57610cc3610208565b602435610ccf81610ca0565b3315610d64576001600160a01b038216918215610d525781610d0f610d2092335f52600160205260405f209060018060a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b62ced3e160e81b5f525f60045260245ffd5b631f18c42760e11b5f525f60045260245ffd5b3461021e575f36600319011261021e576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561021e578235916001600160401b03831161021e576020808501948460051b01011161021e57565b3461021e57606036600319011261021e576004356001600160401b03811161021e57610e1b903690600401610dbb565b6024356001600160401b03811161021e57610e3a903690600401610dbb565b92610e43610238565b92610e4c612419565b610e5584612451565b80158015610f52575b610f43579092905f5b818110610f135750610e98610e7d3683876106b2565b610e883688876106b2565b610e9061039a565b918530612539565b6001600160a01b03909116905f5b818110610ec3576107e960015f5160206130265f395f51905f5255565b80610ed16001928488611b83565b3584610ede838a89611b83565b6040519035815233907fc80e326f520ee6c8773d6271d2f8679e5cbc56fb69ad9c8ee2e287ffafdd64ea90602090a401610ea6565b80610f3a610f2660019385899799611b83565b35610f32838a89611b83565b3590336127d3565b01939193610e67565b63162908e360e11b5f5260045ffd5b5084811415610e5e565b3461021e57606036600319011261021e57600435602435610f7b610238565b610f83612419565b610f8c81612451565b610f978284336127d3565b610fb4604051610fa8602082610359565b5f81528385843061286d565b6040519182526001600160a01b03169033907fc80e326f520ee6c8773d6271d2f8679e5cbc56fb69ad9c8ee2e287ffafdd64ea90602090a460015f5160206130265f395f51905f5255005b3461021e57604036600319011261021e576004356024357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c5761084b91611052612419565b61105c8282612484565b306126b3565b9181601f8401121561021e578235916001600160401b03831161021e576020838186019501011161021e57565b3461021e5760a036600319011261021e576110a8610208565b6110b0610222565b506044356001600160401b03811161021e576110d0903690600401610dbb565b50506064356001600160401b03811161021e576110f1903690600401610dbb565b50506084356001600160401b03811161021e5761045091611119611120923690600401611062565b5050611b93565b6040516001600160e01b031990911681529081906020820190565b3461021e5761114936610570565b90917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57611183612419565b61118c81612451565b611196828461291b565b60018060a01b031690815f52600660205260405f20835f5260205260405f20805491808301809311610687577fa49d05c5e826932347d09d61bdfcb0d495502ae74885fbb3910c95083722b7129261124c92556111fb855f52600760205260405f2090565b611206828254611a33565b905561121a600160ff196009541617600955565b61122d61122561039a565b82873061292b565b61123c60ff1960095416600955565b6040519081529081906020820190565b0390a36107e960015f5160206130265f395f51905f5255565b3461021e57602036600319011261021e576004355f526003602052602060405f2054604051908152f35b3461021e57608036600319011261021e576112a8610208565b6112b0610222565b6064356044356001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361068c576112ee612419565b6112f783612451565b6113028282866125de565b808311611328575b5061084b93506040519261131f602085610359565b5f84523061286d565b8203938285116106875761084b94826113409261279b565b5f61130a565b3461021e575f36600319011261021e5761045061051d6113da610518602b61136c6103ae565b611501611377610c19565b60dd6113f36113b56040516104fb600c82611394602082016116ec565b6b656c656d5f3130302e6a706760a01b815203601319810184520182610359565b92600c604051998a97683d913730b6b2911d1160b91b60208a01526029890190611773565b6b11161139bcb6b137b6111d1160a11b81520190611773565b7f222c226465736372697074696f6e223a225472616e7366657261626c6520455281527f432d3131353520656c656d656e747320616e642073796e74686573697320636860208201527f6573747320666f72204861736844726f696473205068617365204949492e204f60408201527f6e6520746f6b656e20657175616c73206f6e6520756e69742e20446973636f7660608201527f65727920706174656e7473206172652061207365706172617465204552432d3760808201527f323120636f6c6c656374696f6e2e204e6f2061646d696e206d696e74206f722060a08201527f7570677261646520617574686f726974792e222c22696d616765223a2200000060c08201520190611773565b7f222c2265787465726e616c5f6c696e6b223a2268747470733a2f2f686173686481526a726f6964732e66756e227d60a81b602082015203600b810184520182610359565b3461021e57604036600319011261021e57602060ff611596611566610208565b61156e610222565b6001600160a01b039182165f9081526001865260408082209290931681526020919091522090565b54166040519015158152f35b3461021e5760a036600319011261021e576115bb610208565b6115c3610222565b506084356001600160401b03811161021e576115e3903690600401611062565b50503033149081159161162b575b50801561161e575b61160f5760405163f23a6e6160e01b8152602090f35b632e74c3ff60e01b5f5260045ffd5b5060ff60095416156115f9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b039081169116141590505f6115f1565b3461021e5760a036600319011261021e5761167c610208565b611684610222565b9060443560643590608435936001600160401b03851161021e576116af6107e9953690600401610719565b936116ba81336124d3565b61286d565b604051906116ce604083610359565b600f82526e14de5b9d1a195cda5cc810da195cdd608a1b6020830152565b6005545f92916116fb82610aa9565b91600181169081156117615750600114611713575050565b60055f90815292935090917f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b83821061174d5750500190565b600181602092548486015201910190611740565b60ff1916825250811515909102019150565b805191908290602001825e015f815290565b93919594929095604051968795683d913730b6b2911d1160b91b6020880152602987016117b191611773565b7f222c226465736372697074696f6e223a224f6e65204552432d3131353520746f81527f6b656e206973206f6e652067616d6520756e69742e2047616d6520637573746f60208201527f6479206372656469747320617265206261636b6564206279207265616c20746f60408201527f6b656e7320616e642063616e20626520636c61696d6564206f7220757365642060608201527f696e2074686520437269736f6c2e205468697320746f6b656e206973206e6f7460808201527f206120646973636f7665727920706174656e742e222c22696d616765223a220060a08201526118a19160bf90910190611773565b7f222c2265787465726e616c5f75726c223a2268747470733a2f2f6861736864728152602081017f6f6964732e66756e222c2261747472696275746573223a5b7b2274726169745f9052604081017f74797065223a22456c656d656e74204944222c2276616c7565223a00000000009052605b0161191e91611773565b7f7d2c7b2274726169745f74797065223a2241737365742074797065222c227661815265363ab2911d1160d11b602082015260260161195c91611773565b7f227d2c7b2274726169745f74797065223a2253796d626f6c222c2276616c7565815262111d1160e91b602082015260230161199791611773565b7f227d2c7b2274726169745f74797065223a2254696572222c2276616c7565223a81526020016119c691611773565b7f7d2c7b2274726169745f74797065223a22556e69742073697a65222c2276616c8152677565223a317d5d7d60c01b602082015260280103601f1981018352611a0f9083610359565b565b634e487b7160e01b5f52601160045260245ffd5b906002820180921161068757565b9190820180921161068757565b90611a0f94939291611a5281336124d3565b612539565b9190820391821161068757565b634e487b7160e01b5f52603260045260245ffd5b8051821015611a8c5760209160051b010190565b611a64565b91909180518351808203611b30575050805190611aad8261069b565b91611abb6040519384610359565b808352611aca601f199161069b565b013660208401375f5b8151811015611b295780611b1860019260051b60208082870101519189010151905f918252602082815260408084206001600160a01b03909316845291905290205490565b611b228286611a78565b5201611ad3565b5090925050565b635b05999160e01b5f5260045260245260445ffd5b5f828152602081815260408083206001600160a01b039490941683529281528282205460068252838320948352939052205481019081106106875790565b9190811015611a8c5760051b0190565b30331490811591611bc3575b508015611bb6575b61160f5763bc197c8160e01b90565b5060ff6009541615611ba7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b039081169116141590505f611b9f565b600581101580611c3e575b8015611c27575b15611c155750565b63a1f5a4f560e01b5f5260045260245ffd5b5060648110158015611c0d57506069811115611c0d565b506060811115611c06565b81601f8201121561021e57805190611c608261037f565b92611c6e6040519485610359565b8284526020838301011161021e57815f9260208093018386015e8301015290565b909160a08284031261021e5781516001600160401b03811161021e5783611cb7918401611c49565b926020830151906001600160401b03821161021e57611cd7918401611c49565b916040810151916080606083015192015161041e81610ca0565b6040513d5f823e3d90fd5b90611a0f611d3192604051938491734861736844726f69647320456c656d656e74202360601b60208401526034830190611773565b03601f198101845283610359565b60405190611d4e604083610359565b600582526410d21154d560da1b6020830152565b60405190611d71604083610359565b60058252642bb0ba32b960d91b6020830152565b60405190611d94604083610359565b60058252642ba0aa22a960d91b6020830152565b60405190611db7604083610359565b60048252634669726560e01b6020830152565b60405190611dd9604083610359565b60048252634649524560e01b6020830152565b60405190611dfb604083610359565b600582526408ac2e4e8d60db1b6020830152565b60405190611e1e604083610359565b600582526408a82a4a8960db1b6020830152565b60405190611e41604083610359565b600382526220b4b960e91b6020830152565b60405190611e62604083610359565b600382526220a4a960e91b6020830152565b60405190611e83604083610359565b6007825266456e74726f707960c81b6020830152565b60405190611ea8604083610359565b6007825266454e54524f505960c81b6020830152565b6060811115611f5d5760648114611f4b5760658114611f395760668114611f275760678114611f1557606814611f0457611ef6611e74565b90611eff611e99565b905f90565b611f0c611e32565b90611eff611e53565b50611f1e611dec565b90611eff611e0f565b50611f30611da8565b90611eff611dca565b50611f42611d62565b90611eff611d85565b50611f546116bf565b90611eff611d3f565b60405163376e4dd760e21b81526004810182905290915f826024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa8015612018575f935f935f905f93611fe6575b5093949115611fc65750929190565b9050611fd8919350611fdd9250612270565b611cfc565b90611eff61039a565b92505092506120089193503d805f833e6120008183610359565b810190611c8f565b929593905093909394935f611fb7565b611cf1565b5f1981146106875760010190565b906040515f925f5b815181101561222e578181016020015160f81c6b1000000000000004ffffffff6001821b1615612207576120706120698761201d565b9685612a2e565b60ff81166008810361209a57505060019061209461208d8761201d565b9685612a7e565b01612033565b600981036120bf5750506001906120ba6120b38761201d565b9685612a74565b612094565b600a81036120df5750506001906120ba6120d88761201d565b9685612a6a565b600c81036120ff5750506001906120ba6120f88761201d565b9685612a60565b600d810361211f5750506001906120ba6121188761201d565b9685612a56565b605c81036121385750506001906120ba6120698761201d565b60220361215657506001906120ba61214f8761201d565b9685612a4c565b949061216b6121648361201d565b9285612a38565b61217e6121778361201d565b9285612a42565b61218a6121778361201d565b6121938261201d565b91600f600488901c16906010821015611a8c576121ca916f181899199a1a9b1b9c1cb0b131b232b360811b901a60f81b9086612a88565b600f6121d58361201d565b96166010811015611a8c576001926120ba916f181899199a1a9b1b9c1cb0b131b232b360811b901a60f81b9086612a88565b94906120ba826122196001949161201d565b9760f81b6001600160f81b0319169086612a88565b5050828152918201602001604052565b906122488261037f565b6122556040519182610359565b8281528092612266601f199161037f565b0190602036910137565b805f9172184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8210156123a3575b806d04ee2d6d415b85acef8100000000600a921015612387575b662386f26fc10000811015612372575b6305f5e100811015612360575b612710811015612350575b6064811015612341575b1015612336575b61232160216122f66001850161223e565b938401015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b600a82061a8353600a900490565b80156123315761232190916122fb565b505090565b6001909101906122e5565b600290606490049301926122de565b60049061271090049301926122d4565b6008906305f5e10090049301926122c9565b601090662386f26fc1000090049301926122bc565b6020906d04ee2d6d415b85acef810000000090049301926122ac565b506040915072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8104612292565b61041e6123d561240b92612aae565b6040519283917f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020840152603d830190611773565b03601f198101835282610359565b60025f5160206130265f395f51905f5254146124425760025f5160206130265f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b0316801590811561247a575b5061246b57565b630da30f6560e31b5f5260045ffd5b905030145f612464565b61248e828261291b565b805f52600860205260405f2054918083106124ba578203918211610687575f52600860205260405f2055565b9063ba43a20b60e01b5f5260045260245260445260645ffd5b6001600160a01b039182169181169082821415908161250b575b506124f6575050565b63711bec9160e11b5f5260045260245260445ffd5b5f8481526001602090815260408083206001600160a01b0390941683529290522060ff91505416155f6124ed565b9491939192906001600160a01b03811680156125cb576001600160a01b038716156125b9573014806125ac575b61160f575f5b8551811015612591578061258b61258560019389611a78565b51611bfb565b0161256c565b50611a0f94919293956125a684848484612e56565b33612d93565b5060ff6009541615612566565b626a0d4560e21b5f525f60045260245ffd5b632bfa23e760e11b5f525f60045260245ffd5b909291926125eb82612451565b6125f5848261291b565b6125ff8183611b45565b848110612699575060018060a01b0382165f52600660205260405f20815f5260205260405f205493808511612691575b5083612639575050565b6126678161265a6126829460018060a01b03165f52600660205260405f2090565b905f5260205260405f2090565b612672858254611a57565b90555f52600760205260405f2090565b61268d838254611a57565b9055565b93505f61262f565b848263b60bda9760e01b5f5260045260245260445260645ffd5b916001600160a01b038316156125b9576126ea60405192600184526020840152604083019160018352606084015260808301604052565b926020935f6040516126fd602082610359565b5230158061278e575b61160f575f5b835181101561272b578061272561258560019387611a78565b0161270c565b50909281835f61273a93612e56565b5f90815b835183101561277b576001908360051b9061276c8880848701015193880101515f52600360205260405f2090565b8281540390550192019161273e565b92505050611a0f91925060045403600455565b5060ff6009541615612706565b90916127c792600160ff196009541617600955604051926127bd602085610359565b5f8452309061286d565b60ff1960095416600955565b906127de838261291b565b60018060a01b0382165f52600660205260405f20815f5260205260405f2054838110612853578381039081116106875761282b6128449360018060a01b03165f52600660205260405f2090565b825f5260205260405f20555f52600760205260405f2090565b80549182039182116106875755565b8382630b831b8960e21b5f5260045260245260445260645ffd5b90946001600160a01b03861694909390929085156125cb576001600160a01b038316156125b9576128bb60405192600184526020840152604083019160018352606084015260808301604052565b909430148061290e575b61160f575f5b85518110156128ea57806128e461258560019389611a78565b016128cb565b5090919294602080611a0f9661290285828689612e56565b01519201519233612c4a565b5060ff60095416156128c5565b61292490611bfb565b15610f4357565b6001600160a01b0381169290919083156125cb5761296660405192600184526020840152604083019160018352606084015260808301604052565b939092301480612a21575b61160f575f5b8351811015612996578061299061258560019387611a78565b01612977565b5090926129a58184865f612e56565b5f91825b84518410156129f5576129ed6001918560051b906129db6020808489010151938a0101515f52600360205260405f2090565b6129e6838254611a33565b9055611a33565b9301926129a9565b611a0f95935060209194612a14612a0f8493600454611a33565b600455565b0151910151915f33612c4a565b5060ff6009541615612971565b605c910160200153565b6075910160200153565b6030910160200153565b6022910160200153565b6072910160200153565b6066910160200153565b606e910160200153565b6074910160200153565b6062910160200153565b919060209160f81c92010153565b600281901b91906001600160fe1b0381160361068757565b90815115612bc357612ad2612acd612ac68451611a25565b6003900490565b612a96565b90604051917f4142434445464748494a4b4c4d4e4f505152535455565758595a616263646566601f527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f603f52602083018480518101602081018051915f82525b808910612b875750602095969750906003929152510680600114612b7257600214612b65575b50808452830101604052565b603d905f1901535f612b59565b50603d90815f1982015360011901535f612b59565b939760036004910198603f8a51818160121c165183538181600c1c16516001840153818160061c16516002840153165160038201530193612b33565b905061041e61039a565b9081602091031261021e575161041e816102aa565b6001600160a01b039182168152911660208201526040810191909152606081019190915260a06080820181905261041e929101906103e9565b3d15612c45573d90612c2c8261037f565b91612c3a6040519384610359565b82523d5f602084013e565b606090565b9091949293853b612c5e575b505050505050565b602093612c8091604051968795869563f23a6e6160e01b875260048701612be2565b03815f6001600160a01b0387165af15f9181612d0f575b50612cd15750612ca5612c1b565b8051919082612cca57632bfa23e760e11b5f526001600160a01b03821660045260245ffd5b6020915001fd5b6001600160e01b031916630dc5919f60e01b01612cf457505f8080808080612c56565b632bfa23e760e11b5f526001600160a01b031660045260245ffd5b612d3291925060203d602011612d39575b612d2a8183610359565b810190612bcd565b905f612c97565b503d612d20565b6001600160a01b0391821681529116602082015260a06040820181905261041e9491939192612d859291612d7791908601906108b3565b9084820360608601526108b3565b9160808184039101526103e9565b9091949293853b612da657505050505050565b602093612dc891604051968795869563bc197c8160e01b875260048701612d40565b03815f6001600160a01b0387165af15f9181612e10575b50612ded5750612ca5612c1b565b6001600160e01b0319166343e6837f60e01b01612cf457505f8080808080612c56565b612e2a91925060203d602011612d3957612d2a8183610359565b905f612ddf565b9091612e4861041e936040845260408401906108b3565b9160208184039101526108b3565b93929180518351908181036130105750505f5b8151811015612f6a578060051b90602080838501015192860101518460018060a01b038916612eed575b6001936001600160a01b038216612eae575b50505001612e69565b612ee391612ec6612edb925f525f60205260405f2090565b9060018060a01b03165f5260205260405f2090565b918254611a33565b90555f8481612ea5565b509091612f0588612ec6835f525f60205260405f2090565b54828110612f3357829160019493879203612f2b8b612ec6845f525f60205260405f2090565b559350612e93565b6040516303dee4c560e01b81526001600160a01b038a16600482015260248101919091526044810183905260648101829052608490fd5b508051939493919291600103612fcd576020908101519181015160408051938452918301526001600160a01b03928316939092169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6291819081015b0390a4565b6040516001600160a01b03938416949093169233927f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb928291612fc89183612e31565b635b05999160e01b5f5260045260245260445ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204ffa5e48ada7773638ddc462f4aa4fdb5eb7d8c3cea93d4515190e3aefd6378164736f6c634300081e0033000000000000000000000000000000000000000000000000000000000000000100000000000000000000000049718f13f9318dfac9638cd0a79a25bbbe4649a90000000000000000000000008cfe21d4ba33ff195b3b8ed9a14bc7ecf92d05c30000000000000000000000000eed2c5e866a3792f587caf0839941ea57fe69150000000000000000000000000a4ac218349d36143ed4a65e7da6e60857b77777000000000000000000000000d39ac117cce323221f0627ed9c2d1fd8c7a992520000000000000000000000004f8fdbd4df216fec5b2bf82d26ef0b76f4a6b1f40000000000000000000000005ddccf56216fc5b545876b04a0a5a1d4cb3d75ab000000000000000000000000c0c4a49130925dc7084ffb34ce4693335073d07000000000000000000000000064e98b82a03f147b00b2185f0139e48d24929b840000000000000000000000002dfc7510e985c1814ff54f7d13f7de19599531a0","recompiledBytecode":"0x6101e03461061457601f61abfc38819003918201601f19168301916001600160401b0383118484101761056757808492610160946040528339810103126106145780519061004f60208201610618565b9161005c60408301610618565b9061006960608401610618565b9061007660808501610618565b9061008360a08601610618565b61008f60c08701610618565b9261009c60e08801610618565b946100aa6101008901610618565b966100c56101406100be6101208c01610618565b9a01610618565b993315610601575f8054336001600160a01b0319821681178355604051989290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556101f4600255607860035560646004556104b06005555f6006556001600b55600160ff19600f541617600f55801580156105f0575b80156105df575b80156105ce575b80156105bd575b80156105ac575b801561059b575b801561058a575b61057b576080526001600160a01b0390811660a05290811660c05290811660e05290811661010052166101208190529061109f808201906001600160401b0382118383101761056757602091839161658083393081520301905ff0801561055c5761014052604051906135dd8083016001600160401b0381118482101761056757604092849261761f843930825260208201520301905ff0801561055c5761016052610180526101a0526101c0525f8054600160a01b600160e01b03191678010000000100000000000000000000000000000000000000001781556001908190526020527fcc69885fda6bcc1a4ace058b4a62bf5e179ea78fd58a1ccd71c22cc9b688792f80546001600160a01b0319166001600160a01b0392831617905581166105575750335b600780546001600160a01b0319166001600160a01b0392909216919091178155601860205260147ff3794665d3af9b6fb6f858b70185898134f96768ef31c325d52e04f0ac195a4d8190557f2bacf7cca723d030d12aee795132f2c5f2d14ad131f16f3f27eeba3e79d18b8c5560127f7a6340a7048c03c55288da75abed74d2ce9194201bafb03be53c0a7cca59149555600f7f5b650d93b25a5c652bc6f9215f522b521daf6d36977dcec1343c2a8310b869d655600c7f2288853b49db4f36075bf4a8cfdae4e5e3b39b7b03937d0a9148b051a6f64c5c5560067f33d69b83f8d9644c8360a50d7275bf12a50019a4cd4e17926d0b315da648c58d555f5260017f0aaa0ccf1df0cbc345d3ab7229415a03568bb157ac6e99a99e7acfb410c400f555604051615f53908161062d8239608051818181613c5501528181614a900152614de1015260a05181611d5a015260c05181611d82015260e051818181611c2f0152818161380b0152615c7f01526101005181818161184f015281816130db0152613ba1015261012051816110c101526101405181818161078401528181610f89015281816122f401528181613631015281816144420152615af30152610160518181816107e301528181610d1b015281816110120152818161174801528181611b8701528181611def015281816123cf0152818161257a0152818161271201528181612e7701528181612f500152818161333d015281816136090152818161372d0152818161485601528181614d3d015281816151500152818161562f0152818161571d0152818161576f01526159ae015261018051818181611a0e015281816124f1015281816132cd0152615b2e01526101a0518181816108a20152612b6b01526101c0518181816120ea01526132870152f35b6102bf565b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b63b4fa3fb360e01b5f5260045ffd5b506001600160a01b038b1615610197565b506001600160a01b03891615610190565b506001600160a01b03881615610189565b506001600160a01b03861615610182565b506001600160a01b0384161561017b565b506001600160a01b03831615610174565b506001600160a01b0382161561016d565b631e4fbdf760e01b5f525f60045260245ffd5b5f80fd5b51906001600160a01b03821682036106145756fe60a0806040526004361015610081575b50361561001a575f80fd5b730000000000000000000000000000000000000000803b1561007d575f60449160405192838092631a9ec59560e21b8252602360048301523460248301525af480156100725761006657005b5f61007091613dcc565b005b6040513d5f823e3d90fd5b5f80fd5b5f6080525f3560e01c908163023f711514613c95575080630333052814613c785780630492296014613c3e5780630a01a95f14613c155780630ba4b75114613b525780630e23314214613aee578063130dec3d14613a5a57806315b366c914613a2c57806316a19641146139fe57806316ed02c31461388b5780631a4778b0146137b15780631cab4912146136f75780631fadcc9c146135ce5780632049f209146135aa5780632243de84146134545780632910ce58146132f15780632ae758e4146132545780632baa11771461322b57806330788952146131655780633210768414613137578063325c7d541461308f5780633371756e14612f7f57806334698ee114612f39578063352a425814612f0b57806337720cce14612edd5780633bcd483b14612e4957806340f5efd914612bb1578063453698f114612b3757806345fc4aa614612b1857806346cb6a8814612af45780634a0f6ac814612ad55780634b96dec11461283b5780634d61ac31146127c9578063514e7697146126ea578063541a5d07146126cb578063548bb199146126ac5780635b5e3bd11461249657806362c226681461246857806362d8a6891461237c5780636352211e146122c657806366a5a80b146122a2578063671f8a38146122775780636b6dad07146121bc5780636bd060fb1461219d5780636ce62d421461216f5780636d0fc32a146121385780636e01792c146121195780636f20a888146120d35780636f9eb35f146120a5578063715018a6146120465780637422416b1461202757806375383de114611fb4578063776ee44c14611f865780637b0e394e14611f675780637bf9c5f214611f1b5780638146776c14611cd657806383ac909a14611cb75780638af2ecf614611c895780638da5cb5b14611c5e5780638ef55ef714611c185780638f62c79c14611bf9578063909a236714611b34578063918fd15c14611b06578063976715e314611a6b578063976e74fd14611a3d578063a23d3c35146119f7578063a430cd35146119c4578063a63447b114611988578063a87316ee14611953578063acc72a9414611929578063b19e22d71461187e578063b44a230114611838578063b5258121146116ff578063b69d76a81461125a578063bc0baa751461122c578063c6b274e514611203578063c87b56dd14610f58578063ca1a9efd14610f39578063cf36815714610e6d578063d17e8e5214610e4e578063d1d425c514610e2f578063d504e2f814610c5e578063db95b05a14610c3f578063dc3520e114610c20578063ddb9375c14610b95578063e20a01a514610b59578063e234a671146108f0578063e36f5a97146108d1578063e8d7438f1461088b578063ec260ef9146107b3578063ee16efdd1461076d578063f0403e6b1461074e578063f1930eab14610712578063f2d5bdf4146106cd578063f2fde38b1461063c578063f812212c1461061b578063faba6987146105ed578063fc19b78e146105ce578063fe553464146105975763fe581c3f146104dd575f61000f565b34610591576020366003190112610591576104f6613d06565b6040516323653fa760e21b8152602960048201526001600160a01b0390911660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610551575b602090604051908152f35b506020813d60201161057c575b8161056b60209383613dcc565b8101031261007d5760209051610546565b3d915061055e565b6040513d608051823e3d90fd5b60805180fd5b34610591576105a536613d1c565b9060805152601e6020526040608051209060805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600454604051908152f35b3461059157602036600319011261059157600435608051526018602052602060406080512054604051908152f35b3461059157602061063461062e36613d1c565b90615330565b604051908152f35b3461059157602036600319011261059157610655613d06565b61065d61544c565b6001600160a01b031680156106b45760805180546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360805180f35b631e4fbdf760e01b608051526080516004526024608051fd5b346105915760203660031901126105915760043563ffffffff81169081900361059157608051526001602052602060018060a01b036040608051205416604051908152f35b34610591576020366003190112610591576001600160a01b03610733613d06565b16608051526027602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602454604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576107cd615414565b604051630ab12fb760e01b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610858575b60209060015f516020615efe5f395f51905f5255604051908152f35b506020813d602011610883575b8161087260209383613dcc565b8101031261007d576020905161083c565b3d9150610865565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020603354604051908152f35b346105915760203660031901126105915760405161090d81613db0565b608080518252805160208301528051604080840191909152815160608401525190919061093a8382613dcc565b823682378183015260405161094f8382613dcc565b8236823760a082015260805160c082015260805160e082015260805161010082015261012060805191015260043560805152600e602052604060805120906040519061099a82613db0565b825482526001830154906020830191825260018060a01b036002850154166040840190815260038501549460608501958652604051926109dd8460048401613ff1565b6109e78185613dcc565b808601938452600960405192610a25846008830160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b610a2f8385613dcc565b60a0880193845201549360c08701976001600160401b038616895260e08801946001600160401b038760401c16865260ff6101008a019763ffffffff81871c16895260a01c16976101208a01986008811015610b41578952604080519a518b52905160208b015290516001600160a01b03169089015251606088015251608051909187015b60048210610b2b5750505051946101008501608051905b60048210610b125761020087610b108863ffffffff896001600160401b038a818b511661018088015251166101a086015251166101c0840152516101e0830190613cf9565bf35b60208060019260ff8b5116815201980191019096610acb565b6020806001928551815201930191019091610ab4565b634e487b7160e01b6080515260216004526024608051fd5b3461059157610b6736613d1c565b9060805152601b6020526040608051209060805152602052602060ff60406080512054166040519015158152f35b3461059157602036600319011261059157600435608051526015602052610bfc604060805120610bc481613ed2565b90610bd160018201613ed2565b600282015491610c0a60ff60046003840154930154169260405196879660a0885260a0880190613e76565b908682036020880152613e76565b9260408501526060840152151560808301520390f35b3461059157608051366003190112610591576020600d54604051908152f35b3461059157608051366003190112610591576020600554604051908152f35b3461059157610c8d610c92610c7236613e59565b610c7d939193615414565b610c8684615c62565b3690613ded565b615bcb565b80516020820151610ce0604084015191610cd260608601516040519485936020850197889290916080949284526020840152604083015260608201520190565b03601f198101835282613dcc565b51902060805152601760205260406080512054908115610e165760608214610e035760405163abe3b08560e01b81529260808480610d4385337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4908115610584576040948492610dd6575b50610d78823361576d565b610d83828233615903565b927f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a865180610db487339583614bbd565b0390a460015f516020615efe5f395f51905f5255825191825215156020820152f35b610df79060803d608011610dfc575b610def8183613dcc565b810190614b03565b610d6d565b503d610de5565b63e113b20760e01b608051526004608051fd5b63dd4e0ec360e01b608051526080516004526024608051fd5b3461059157608051366003190112610591576020602e54604051908152f35b3461059157608051366003190112610591576020602354604051908152f35b346105915760805136600319011261059157610e87615414565b33608051526027602052604060805120548015610f2657336080515260276020526080516040608051205560805160805160805160805184335af1610eca6149ba565b5015610f13576040519081527f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988860203392a260015f516020615efe5f395f51905f525560805180f35b6312171d8360e31b608051526004608051fd5b6312d37ee560e31b608051526004608051fd5b3461059157608051366003190112610591576020602554604051908152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201819052906020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610584576111cc575b50806080515260166020526040608051208160805152601560205260406080512060028101549160018060a01b038154166040519163bd85b03960e01b835285600484015260208360248160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa9283156105845760805193611196575b508061109060046110a3930154956040519863062caf5560e31b8a5260048a015261016060248a0152600161107d6101648b0183614065565b8a81036003190160448c01529101614065565b9560648801526005608488019101613ff1565b610104850152610124840152610144830152608051908290819003817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190611116575b61111290604051918291602083526020830190613e76565b0390f35b503d80608051833e6111288183613dcc565b810190602081830312610591578051906001600160401b03821161059157019080601f8301121561059157815161115e81613f72565b9161116c6040519384613dcc565b81835260208285010111610591578060206111129401602084015e602060805191830101526110fa565b9092506020813d6020116111c4575b816111b260209383613dcc565b8101031261007d5751916110a3611044565b3d91506111a5565b6020813d6020116111fb575b816111e560209383613dcc565b81010312610591576111f6906149ff565b610fbe565b3d91506111d8565b346105915760805136600319011261059157602063ffffffff6080515460c01c16604051908152f35b3461059157602036600319011261059157600435608051526011602052602060406080512054604051908152f35b346105915760a0366003190112610591576004356001600160401b0381116105915761128a903690600401613e29565b6024356001600160401b038111610591576112a9903690600401613e29565b91906044356001600160401b038111610591576112ca903690600401613e29565b90946064356001600160401b038111610591576112eb903690600401613e29565b9490926084356001600160401b0381116105915761130d903690600401613e29565b92909361131861544c565b60ff601454166116ec578882148015906116e2575b80156116d8575b80156116ce575b61168c576080515b8281106113505760805180f35b61135b8184846152df565b35611367828c8b6152df565b35906005811080156116c4575b80156116b2575b801561169f575b61168c578060805152601560205260ff600460406080512001541661167657908a91896113f28f8a6113e96113d3898f94818f816113c3916113cb946152ef565b9c90996152ef565b9490956152df565b3594604051986113e28a613d7a565b3691613f8d565b87523691613f8d565b926020850193845260408501526060840152600160808401526080515260156020526040608051209082518051906001600160401b0382116115b857819061143a8554613e9a565b601f8111611642575b506020906001601f8411146115db57608051926115d0575b50508160011b915f199060031b1c19161782555b51805160018301916001600160401b0382116115b85761148f8354613e9a565b601f8111611579575b506020906001601f8411146115075792826004936001989796936080968751926114fc575b50505f19600383901b1c191690881b1790555b604084015160028201556060840151600382015501910151151560ff8019835416911617905501611343565b015190505f806114bd565b90601f1983169184608051528160805120926080515b818110611561575093600198979693608096938a938360049810611549575b505050811b0190556114d0565b01515f1960f88460031b161c191690555f808061153c565b9293602060018192878601518155019501930161151d565b6115a8908460805152602060805120601f850160051c810191602086106115ae575b601f0160051c0190614018565b5f611498565b909150819061159b565b634e487b7160e01b6080515260416004526024608051fd5b015190505f8061145b565b60808051879052518281209350601f198516905b81811061162a5750908460019594939210611612575b505050811b01825561146f565b01515f1960f88460031b161c191690555f8080611605565b929360206001819287860151815501950193016115ef565b611670908660805152602060805120601f850160051c810191602086106115ae57601f0160051c0190614018565b5f611443565b632abac2c960e11b608051526004526024608051fd5b63b4fa3fb360e01b608051526004608051fd5b506116ab83888a6152df565b3515611382565b506116bc81615d14565b82141561137b565b5060608111611374565b508382141561133b565b5087821415611334565b508282141561132d565b6306e53adf60e01b608051526004608051fd5b3461059157606036600319011261059157611718613d06565b6024359060443590611728615414565b6001600160a01b03169081158015611830575b801561181d575b61168c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b15610591576040519063390f7af560e21b8252336004830152836024830152846044830152670de0b6b3a7640000830460648301528160848160805193608051905af1801561058457611804575b506040519081527fbb0ca0e137fd31811359637c8aa804a4a14cd1f475f7fb93d39cfb10452705a860203392a460015f516020615efe5f395f51905f525560805180f35b60805161181091613dcc565b60805161059157836117c0565b50670de0b6b3a764000081061515611742565b50801561173b565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610591576080513660031901126105915761189861544c565b60145460ff81166116ec5760055b60608111156118c05760ff19821660011760145560805180f35b8060805152601560205260ff6004604060805120015416158015611904575b6118f1576118ec90613fe3565b6118a6565b633c3de45760e01b608051526004608051fd5b50806080515260156020526002604060805120015461192282615d14565b14156118df565b3461059157608051366003190112610591576007546040516001600160a01b039091168152602090f35b602061196f61196136613e59565b9061196a615414565b614bd8565b60015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576001600160a01b036119a9613d06565b16608051526030602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526012602052602060ff60406080512054166040519015158152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760203660031901126105915760043560805152601a602052602060406080512054604051908152f35b3461059157602036600319011261059157604051611a8881613d95565b608051815260805160208201526040608051910152600435608051526029602052606060406080512060405190611abe82613d95565b546001600160401b0360018060a01b0382169283815260ff60406020830192848660a01c168452019360e01c1615158352604051938452511660208301525115156040820152f35b34610591576080513660031901126105915760265460405160089190911c6001600160a01b03168152602090f35b3461059157602036600319011261059157611b4d615414565b730000000000000000000000000000000000000000803b156105915760405190634ca6c1c960e01b82526033600483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166024830152600435604483015281606481608051935af4801561058457611be0575b60015f516020615efe5f395f51905f525560805180f35b608051611bec91613dcc565b6080516105915780611bc9565b3461059157608051366003190112610591576020600654604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760805136600319011261059157608051546040516001600160a01b039091168152602090f35b346105915760203660031901126105915760043560805152600a602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600254604051908152f35b34610591576060366003190112610591576004356024356001600160401b03811161059157611d09903690600401613e29565b90604435906001600160401b03821161059157611dbf92611dd1611d336040943690600401613e29565b611d3b615414565b611d4488615c62565b8551630e691b2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000016602482015261012060448201529687958695610124870191614adf565b84810360031901606486015291614adf565b601f6084830152602060a4830152602160c4830152602260e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661010483015203817300000000000000000000000000000000000000005af4801561058457608051918291611eea575b50670de0b6b3a7640000820291808304670de0b6b3a76400001490151715611ed257670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed25760405191825260208201527f3ee0042b656a8c28a48ae2fed2887d9eef8afe18542f02b43192596aff9ff28b60403392a360015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b6080515260116004526024608051fd5b9050611f0e915060403d604011611f14575b611f068183613dcc565b8101906149e9565b83611e47565b503d611efc565b34610591576040366003190112610591576001600160a01b03611f3c613d06565b1660805152601060205260406080512060243560805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602f54604051908152f35b3461059157602036600319011261059157600435608051526017602052602060406080512054604051908152f35b346105915760c036600319011261059157366043121561059157604051611fdc608082613dcc565b803660a411610591576020916024915b60a48310612004578361063460a43584600435614a65565b82358152918301918301611fec565b634e487b7160e01b5f52604160045260245ffd5b3461059157608051366003190112610591576020600b54604051908152f35b34610591576080513660031901126105915761206061544c565b60805180546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a360805180f35b346105915760203660031901126105915760043560805152601c602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020601354604051908152f35b346105915761214636613d1c565b9060805152601d6020526040608051209060805152602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526009602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600854604051908152f35b34610591576020366003190112610591576004358015801561226c575b61168c57600b5460805191905b81831080612260575b15612258578060805152600e60205260ff6009604060805120015460a01c166008811015610b41576001811490811561224d575b506122405761223461223a91613fe3565b92613fe3565b916121e6565b9150505b600b5560805180f35b600714905084612223565b915050612244565b50600d548111156121ef565b506103e881116121d9565b34610591576060366003190112610591576020610634612295613caf565b6044359060243590614a13565b346105915760805136600319011261059157602060ff601454166040519015158152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190612342575b6040516001600160a01b039091168152602090f35b506020813d602011612374575b8161235c60209383613dcc565b810103126105915761236f6020916149ff565b61232d565b3d915061234f565b34610591576040366003190112610591576123cb602061239a613d06565b60405163511cd8cf60e01b81526001600160a01b039091166004820152602480359082015291829081906044820190565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105845760805191612436575b50670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b90506020813d602011612460575b8161245160209383613dcc565b8101031261007d575181612409565b3d9150612444565b3461059157602036600319011261059157600435608051526028602052602060406080512054604051908152f35b6020366003190112610591576004356124ad615414565b801561168c57806611c37937e08000026611c37937e0800081048203611ed25780341061269957604051636902c1f360e01b815260236004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316604482015260805160648201526020816084817300000000000000000000000000000000000000005af480156105845761266a575b50730000000000000000000000000000000000000000803b15610591576040516301fac8cd60e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152336024820152604481018490526080519091829060649082905af4801561058457612651575b5080341161261e575b60405191825260208201527fb3c981b9b7b707d312a929a2eac4e1b16bf5550677e6b1931a95e846dd32e89f60403392a260015f516020615efe5f395f51905f525560805180f35b60805180808061262e85346149ad565b335af16126396149ba565b506125d6576312171d8360e31b608051526004608051fd5b60805161265d91613dcc565b60805161059157826125cd565b61268b9060203d602011612692575b6126838183613dcc565b810190614983565b508261254e565b503d612679565b63cd1c886760e01b608051526004608051fd5b3461059157608051366003190112610591576020602b54604051908152f35b3461059157608051366003190112610591576020600354604051908152f35b6126f336613d1c565b6126fb615414565b604080516373306cbf60e11b8152603360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015260276044820152606481019390935260848301919091528160a4817300000000000000000000000000000000000000005af480156105845761278e9160805190608051926127a7575b50615ac1565b505060015f516020615efe5f395f51905f525560805180f35b90506127c2915060403d604011611f1457611f068183613dcc565b9083612788565b346105915760203660031901126105915760043560805152601660205260c060406080512060018060a01b0381541690600181015490600281015460038201549060ff6009600485015494015416936040519586526020860152604085015260608401526080830152151560a0820152f35b346105915761284936613d32565b92612852615414565b61285b85615472565b8460805152600e6020526040608051209260098401908154938760805152600c60205260406080512054966080515060ff8660a01c166008811015610b415760018103612ab55750841561168c576128b3838861549d565b6004880154600589015460068a015460078b0154604080516020810195865290810193909352606083019190915260808083019190915281529193916128fa60a082613dcc565b519020600189015490895499600160a01b600190036002820154169060030154906040519b60208d01948d7f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e87526040015260608d015260808c015260a08b015260c08a01528660e08a015263ffffffff85169889610100820152610100815261298661012082613dcc565b51902061299290615522565b91369061299e92613f8d565b6129a791615d6b565b6129b391939293615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020849055825463ffffffff60801b191691901b63ffffffff60801b16178155805460ff60a01b1916600760a01b17905560805115612a6a579163ffffffff7ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72094926080946040519485526020850152841c1660408301526060820152a260015f516020615efe5f395f51905f525560805180f35b90507f755d44a73910c278ea8e6a9c76f0f1f5ffd0a2705bdfcb37fc0eb1d77cfe83db925060409182519182526020820152a2611bc9565b630574e98560e01b608051526004608051fd5b612ace908a6345161eb560e11b60805152600452613ceb565b6044608051fd5b3461059157608051366003190112610591576020603654604051908152f35b346105915760805136600319011261059157602060ff600f54166040519015158152f35b3461059157608051366003190112610591576020602c54604051908152f35b346105915760805136600319011261059157612b51615414565b6024548015610f26576080516024819055908190819081907f00000000000000000000000000000000000000000000000000000000000000005af1612b946149ba565b5015610f135760015f516020615efe5f395f51905f525560805180f35b3461059157612bbf36613d32565b90612bc861544c565b612bd0615414565b612bd985615472565b8460805152600e60205260406080512090600982019485549363ffffffff8560801c16928860805152600c60205260ff604060805120549660a01c166008811015610b4157600703612e32576080515463ffffffff8160c01c169081861090811591612e18575b50612df85750821561168c57612d48612d5192612d42612c608a8961549d565b93612d3a60048a01548a612ca76005820154610cd2600760068501549401546040519485936020850197889290916080949284526020840152604083015260608201520190565b51902060018b0154908b549b600360018060a01b036002830154169101549060806040519e8f9060208201967f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e885260408301526060820152015260a08d015260c08c01528860e08c015263ffffffff8d169a8b6101008201526101008152612d3261012082613dcc565b519020615522565b923691613f8d565b90615d6b565b90939193615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020829055865463ffffffff60801b191695811b63ffffffff60801b169590951786557ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72095805460ff60a01b1916600760a01b1790556040805194855260208501919091528301526060820152a260015f516020615efe5f395f51905f525560805180f35b63ffffffff88631be6ac0d60e11b60805152166004526024526044608051fd5b63ffffffff915060a01c1663ffffffff891614158b612c40565b88631d33890f60e11b608051526004526024608051fd5b346105915760203660031901126105915760405163bd85b03960e01b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561058457608051916124365750670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b3461059157602036600319011261059157600435608051526022602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526021602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157604036600319011261059157612f98613d06565b60243563ffffffff81169182820361059157612fb261544c565b6001600160a01b031691821561168c5760805154600163ffffffff8260a01c16019163ffffffff8311611ed25763ffffffff8260c01c1681108015613080575b61168c578260209263ffffffff7fdd5800b3f65c197a1ed496f5e1dea9434eec56ae67ce70d6e4d281cb146ab0f495169563ffffffff60c01b9060c01b169163ffffffff60a01b9060a01b16906001600160401b0360a01b1916171760805155836080515260018252604060805120856001600160601b0360a01b825416179055604051908152a360805180f35b5063ffffffff83168111612ff2565b3461059157608051366003190112610591576130a9615414565b730000000000000000000000000000000000000000803b1561059157604051630cf2271b60e41b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526080519091829060449082905af4801561058457611be05760015f516020615efe5f395f51905f525560805180f35b346105915760203660031901126105915760043560805152601f602052602060406080512054604051908152f35b346105915760203660031901126105915760405161318281613d7a565b60805181526080516020820152608051604082015260805160608201526080805191015260043560805152603460205260a06040608051206040516131c681613d7a565b600180841b038254169182825260018101546020830190815260028201549060408401918252608060ff600460038601549560608801968752015416940193151584526040519485525160208501525160408401525160608301525115156080820152f35b346105915760805136600319011261059157602063ffffffff6080515460a01c16604051908152f35b34610591576080513660031901126105915761326e61544c565b613276615414565b6025548015610f26576080516025557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b038116156132ca575b608051918291829182915af1612b946149ba565b507f00000000000000000000000000000000000000000000000000000000000000006132b6565b6132fa36613d1c565b613302615414565b61330c8183615330565b803410612699578260805152601160205260406080512061332e838254614976565b905561333a8184615ac1565b917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156105915760405190635e2d2fff60e11b82523360048301528660248301528560448301528160648160805193608051905af180156105845761343b575b50803411613408575b604051938452602084015260018060a01b0316604083015260608201527ff829cb0f939db361d00f6ce8df243365f2b3f62ab614b6e0eadb85e85ae72e5260803392a360015f516020615efe5f395f51905f525560805180f35b60805180808061341885346149ad565b335af16134236149ba565b506133ae576312171d8360e31b608051526004608051fd5b60805161344791613dcc565b60805161059157856133a5565b346105915760c03660031901126105915760243560a4356001600160a01b03811690600435906084359060643590604435908590036105915761349561544c565b60148410801561359f575b8015613595575b801561358a575b8015613580575b8015613575575b801561356b575b8015613560575b8015613550575b8015613548575b61168c577fff4b9d3b935b1ce181cbd983738a06320ee3a3f807c922375fd72ea1f566e1039560a09585600255816003558260045583600555846006556001600160601b03871b60075416176007556040519485526020850152604084015260608301526080820152a160805180f35b5084156134d8565b506601c6bf5263400083116134d1565b5061708082116134ca565b50606482106134c3565b506104b081116134bc565b50600a81106134b5565b506107d086116134ae565b50600586106134a7565b5061271084116134a0565b346105915760805136600319011261059157602060ff602654166040519015158152f35b34610591576020366003190112610591576135e7615414565b604051636ae8cff360e01b815260296004808301919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248401527f00000000000000000000000000000000000000000000000000000000000000001660448301523560648201526060816084817300000000000000000000000000000000000000005af48015610584576080519182918291906136c0575b506111129060015f516020615efe5f395f51905f5255604051938493846040919493926060820195825260208201520152565b905061111292506136e9915060603d6060116136f0575b6136e18183613dcc565b810190614992565b909261368d565b503d6136d7565b3461059157606036600319011261059157613710615414565b604051630536a43b60e51b81526033600482015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015260043560448201526024356064820152604435608482015260208160a4817300000000000000000000000000000000000000005af4801561058457608051906108585760209060015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576137ca615414565b730000000000000000000000000000000000000000803b156105915760405190630c9c2fd760e11b8252601260048301526010602483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166044830152600435606483015281608481608051935af4801561058457613872575b613858601354613fe3565b60135560015f516020615efe5f395f51905f525560805180f35b60805161387e91613dcc565b608051610591578061384d565b34610591576020366003190112610591576004356138a7615414565b8060805152600e60205260406080512060098101805460ff8160a01c166008811015610b4157600181036139e557506005546138eb916001600160401b0316614976565b8043106139cb5750805460ff60a01b1916600360a11b17905560085461391090613fc3565b60085560038101908154806080515260096020528360406080512054146139b2575b5061393c816155e2565b6139446157e3565b60020154905460405190926001600160a01b0392909216919060808160065f516020615ede5f395f51905f5293528151602082015281516040820152336060820152a460015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b5f52602160045260245ffd5b6080515260096020526080516040608051205583613932565b631b016eeb60e21b60805152436004526024526044608051fd5b612ace90856345161eb560e11b60805152600452613ceb565b346105915760203660031901126105915760043560805152600c602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526019602052602060406080512054604051908152f35b346105915760c03660031901126105915760243580151581036105915760843563ffffffff811681036105915760a435906001600160401b03821161059157604092613aad613ac8933690600401613cbe565b929091613ab8615414565b60643590604435906004356140e6565b60015f516020615efe5f395f51905f5255613ae583518093613cf9565b15156020820152f35b3461059157602036600319011261059157613b07613caf565b613b0f61544c565b158080613b45575b613b325760ff8019600f541691151617600f55608051608051f35b63d96668af60e01b608051526004608051fd5b5060ff6014541615613b17565b3461007d57602036600319011261007d57613b6b615414565b730000000000000000000000000000000000000000803b1561007d57604051633fe171d760e11b815260296004808301919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166024830152356044820152905f90829060649082905af4801561007257613c015760015f516020615efe5f395f51905f525560805180f35b5f613c0b91613dcc565b5f60805280611bc9565b3461007d57602036600319011261007d576004355f5260208052602060405f2054604051908152f35b3461007d575f36600319011261007d5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461007d575f36600319011261007d576020603554604051908152f35b3461007d575f36600319011261007d57602090602a548152f35b60043590811515820361007d57565b9181601f8401121561007d578235916001600160401b03831161007d576020838186019501011161007d57565b600881101561399e57602452565b90600882101561399e5752565b600435906001600160a01b038216820361007d57565b604090600319011261007d576004359060243590565b90608060031983011261007d57600435916024359160443563ffffffff8116810361007d5791606435906001600160401b03821161007d57613d7691600401613cbe565b9091565b60a081019081106001600160401b0382111761201357604052565b606081019081106001600160401b0382111761201357604052565b61014081019081106001600160401b0382111761201357604052565b90601f801991011681019081106001600160401b0382111761201357604052565b919060405192613dfe608085613dcc565b83906080810192831161007d57905b828210613e1957505050565b8135815260209182019101613e0d565b9181601f8401121561007d578235916001600160401b03831161007d576020808501948460051b01011161007d57565b9060a060031983011261007d576004359160a41161007d57602490565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90600182811c92168015613ec8575b6020831014613eb457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691613ea9565b9060405191825f825492613ee584613e9a565b8084529360018116908115613f505750600114613f0c575b50613f0a92500383613dcc565b565b90505f9291925260205f20905f915b818310613f34575050906020613f0a928201015f613efd565b6020919350806001915483858901015201910190918492613f1b565b905060209250613f0a94915060ff191682840152151560051b8201015f613efd565b6001600160401b03811161201357601f01601f191660200190565b929192613f9982613f72565b91613fa76040519384613dcc565b82948184528183011161007d578281602093845f960137010152565b8015613fcf575f190190565b634e487b7160e01b5f52601160045260245ffd5b5f198114613fcf5760010190565b905f905b6004821061400257505050565b6001602081928554815201930191019091613ff5565b818110614023575050565b5f8155600101614018565b9080821461406157908154905f915b6004831061404b5750505050565b600180919401928354948184015501919261403d565b5050565b5f929181549161407483613e9a565b80835292600181169081156140c9575060011461409057505050565b5f9081526020812093945091925b8383106140af575060209250010190565b60018160209294939454838587010152019101919061409e565b915050602093945060ff929192191683830152151560051b010190565b9695939290969491945f945f98825f52600e60205260405f209561410984615472565b600987019260ff845460a01c16600881101561399e5760070361496357614131868b85614a13565b855f52600c60205260405f2054036149545787968a91614151848a61549d565b60048a015460058b015460068c015460078d01546040805160208101958652908101939093526060830191909152608080830191909152815291939161419860a082613dcc565b5190209460018b0154908b549060028d0198600160a01b600190038a54169e6003019e8f54906040519460208601967fd123b68dcff6cfb42b0407ace14883c1bdb588bc177b11d032630a2d4518caa7885260408701526060860152608085015260a08401528860c08401521596871560e08401526101008301528b61012083015263ffffffff16610140820152610140815261423761016082613dcc565b51902061424390615522565b91369061424f92613f8d565b61425891615d6b565b61426491939293615da5565b6001600160a01b0390811691160361494557614281600854613fc3565b6008558754805f5260096020528560405f205414614932575b50614807578888526015602052604088209460ff6004870154161580156147d7575b6147c8576142e5816040516142d48160048c01613ff1565b6142df608082613dcc565b8c614a65565b6003870154036147b957898952601660205260408920600981019160ff8354166146a3576002880154956201518042049061431f88615a79565b1561468f57600860408e848152601c6020522054101561467b57600160408e8e548152601d6020528181208582526020522054101561466757805460ff60a01b1916600160a11b1790556143f89291906143788b6156c4565b808d52601c60205260408d2061438e8154613fe3565b90558b548d52601d60205260408d20908d5260205260408c206143b18154613fe3565b9055855482546001600160a01b0319166001600160a01b03919091161782558a5460018301556002820188905542600383015560048083019190915589019060050161402e565b600160ff19825416179055875260176020528760408820558187526019602052604087206144268154613fe3565b9055614433603554613fe3565b60355580546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b15614663576040516340c10f1960e01b81526001600160a01b03919091166004820152602481018a9052888160448183865af180156146585790899161463f575b505081546144c0908a906001600160a01b031661576d565b6060891480614632575b15614610578154604051639fd8ca2d60e01b8152602360048201526001600160a01b03909116602482015260448101919091526060816064817300000000000000000000000000000000000000005af48015614605576145e6575b505b61452f6157e3565b5494546040519096506001600160a01b0395909516947fc66c28b1ed7c7dbd812926df0a452a3d82087505f49a860b52f242f35d2dd88b948787855f516020615ede5f395f51905f5260808f966145dd978f60028352602083015215156040820152336060820152a46145ca6040519586958652610100602087015260016145bb610100880183614065565b91878303604089015201614065565b9260608501526004608085019101613ff1565b0390a460029190565b6145fe9060603d6060116136f0576136e18183613dcc565b5050614525565b6040513d8a823e3d90fd5b5080548654919a5061462c9189916001600160a01b0316615903565b98614527565b5060ff60265416156144ca565b8161464991613dcc565b61465457875f6144a8565b8780fd5b6040513d8b823e3d90fd5b8880fd5b63a60e886760e01b8d52600160045260248dfd5b6323a2f40760e21b8d52600860045260248dfd5b6302cf233b60e51b8d52600488905260248dfd5b5050505098509093949291506060861461475157805460ff60a01b1916600360a01b1790556146d1906156c4565b85546146e79085906001600160a01b031661576d565b85548354614700918691906001600160a01b0316615903565b956147096157e3565b54925460405190946001600160a01b0394909416939091508160809160035f516020615ede5f395f51905f52945260208201528715156040820152336060820152a460039190565b805460ff60a01b1916600560a01b17905590959061476e906155e2565b6147766157e3565b54915460405190936001600160a01b0393909316928160809160055f516020615ede5f395f51905f5294526020820152876040820152336060820152a460059190565b63108505d960e01b8952600489fd5b63b4fa3fb360e01b8952600489fd5b506147fb6040516147eb8160048b01613ff1565b6147f6608082613dcc565b61585d565b600287015414156142bc565b5094959850929190951590811591614929575b5061491a57815460ff60a01b1916600160a21b1790915560365461484a919061484290613fe3565b6036556156c4565b80546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b1561007d575f91606483926040519485938492635e2d2fff60e11b8452600484015260696024840152600160448401525af1801561007257614905575b506148c16157e3565b54905460405190926001600160a01b0392909216919060808160045f516020615ede5f395f51905f529352876020820152876040820152336060820152a460049190565b6149129195505f90613dcc565b5f935f6148b8565b63b4fa3fb360e01b5f5260045ffd5b9050155f61481a565b5f5260096020525f60408120555f61429a565b630574e98560e01b5f5260045ffd5b632f272d1160e21b5f5260045ffd5b84631d33890f60e11b5f5260045260245ffd5b91908201809211613fcf57565b9081602091031261007d575190565b9081606091031261007d578051916040602083015192015190565b91908203918211613fcf57565b3d156149e4573d906149cb82613f72565b916149d96040519384613dcc565b82523d5f602084013e565b606090565b919082604091031261007d576020825192015190565b51906001600160a01b038216820361007d57565b91604051916020830193151584526040830152606082015260608152614a3a608082613dcc565b51902090565b906004811015614a515760051b0190565b634e487b7160e01b5f52603260045260245ffd5b9190614a7090615bcb565b9081519160208101519060606040820151910151916040519460208601967f0000000000000000000000000000000000000000000000000000000000000000885260408701526060860152608085015260a084015260c083015260e082015260e08152614a3a61010082613dcc565b81835290916001600160fb1b03831161007d5760209260051b809284830137010190565b60808183031261007d5781601f8201121561007d5760405191614b27608084613dcc565b82916080810191821161007d57915b818310614b435750505090565b825160ff8116810361007d57815260209283019201614b36565b905f905b60048210614b6e57505050565b6020806001928551815201930191019091614b61565b601081526001600160a01b03918216602082015291166040820152610100810192915f9160e091614bb9906060830190614b5d565b0152565b909291608090614bd18360a0810196614b5d565b1515910152565b919060ff60145416156152d057614bee83615c62565b60065434106152c157610c8d614c05913690613ded565b915f5b60048110615242575082516020840151614c51604086015191610cd260608801516040519485936020850197889290916080949284526020840152604083015260608201520190565b5190205f52601760205260405f20548061512e5750614c6f8361585d565b614c7881615a79565b1561511c575060ff600f541661510e57805f52600960205260405f20546150eb57620151804204815f52601d60205260405f20815f52602052600160405f205410156150d7575f52601c60205260405f20546008614cd881548093614976565b10156150c35760025490818110156150ae575050600454801561509a574304805f52600a60205260405f20546003548091101561508457505f52600a60205260405f20614d258154613fe3565b905560405163abe3b08560e01b8152601060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015233604482015292614d7e6064850182614b5d565b600160e4850152608084610104817300000000000000000000000000000000000000005af4938415610072575f94615063575b50614dbd600d54613fe3565b80600d558094614dce600854613fe3565b600855835f5260096020528160405f20557f0000000000000000000000000000000000000000000000000000000000000000926001600160401b0343169163ffffffff5f5460c01c1660405190614e2482613db0565b8582526020820191878352604081019033825260608101948a86526080820187815260a0830191825260c083019689885260e08401946001600160401b03421686526101008501968752610120850197600189528c5f52600e60205260405f209551865551600186015560018060a01b03905116600285019060018060a01b03166001600160601b0360a01b825416179055516003840155515f5b6004811061504c575050515f905f5b60048110615028575050600882015593516009949094018054915192516001600160a01b03199092166001600160401b03959095169490941760409290921b6fffffffffffffffff0000000000000000169190911760809190911b63ffffffff60801b1617825551600881101561399e57815460ff60a01b191660a09190911b60ff60a01b1617905560065480151580615014575b614fea575b50600654803411614fb6575b50614f89906040519586526020860190614b5d565b60a08401527f04da450f287fc9dd57e2b12725cc80466957c3394d1a26b0cad80d7d0899bb5060c03394a4565b5f8080614fc48194346149ad565b335af1614fcf6149ba565b5015614fdb575f614f74565b6312171d8360e31b5f5260045ffd5b6007545f918291829182916001600160a01b03165af16150086149ba565b5015614fdb575f614f68565b506007546001600160a01b03161515614f63565b9091602060019160ff8551169060ff8560031b92831b921b19161793019101614ece565b600190602083519301926004828701015501614ebf565b61507d91945060803d608011610dfc57610def8183613dcc565b925f614db1565b906368236ccb60e01b5f5260045260245260445ffd5b634e487b7160e01b5f52601260045260245ffd5b63c7f5853160e01b5f5260045260245260445ffd5b6323a2f40760e21b5f52600860045260245ffd5b63a60e886760e01b5f52600160045260245ffd5b805f52600960205260405f2054906346dfad8360e01b5f5260045260245260445ffd5b6288b61360e51b5f5260045ffd5b6302cf233b60e51b5f5260045260245ffd5b9192606083146152335760405163abe3b08560e01b81526080818061517885337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4801561007257615216575b506151a7833361576d565b6151b2838333615903565b346151f2575b6151eb7f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a91604051918291339583614bbd565b0390a45f90565b5f80808034335af16152026149ba565b506151b8576312171d8360e31b5f5260045ffd5b61522e9060803d608011610dfc57610def8183613dcc565b61519c565b63e113b20760e01b5f5260045ffd5b61524c8185614a40565b516005811015806152b6575b1561529257805f52601660205260ff600960405f200154161561528057506001905b01614c08565b63ddb5519f60e01b5f5260045260245ffd5b606581109081156152ab575b5061491a5760019061527a565b60699150115f61529e565b506060811115615258565b63cd1c886760e01b5f5260045ffd5b63d96668af60e01b5f5260045ffd5b9190811015614a515760051b0190565b9190811015614a515760051b81013590601e198136030182121561007d5701908135916001600160401b03831161007d57602001823603811361007d579190565b805f52601660205260ff600960405f2001541615801561540c575b8015615402575b6153f0575f9081526015602090815260408083206002015460118352928190205490516397e32c8560e01b815260048101939093526024830152604482019290925290816064817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b90506020813d6020116153e8575b816153dc60209383613dcc565b8101031261007d575190565b3d91506153cf565b63dd4e0ec360e01b5f5260045260245ffd5b5060608114615352565b50811561534b565b60025f516020615efe5f395f51905f52541461543d5760025f516020615efe5f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b0316330361545f57565b63118cdaa760e01b5f523360045260245ffd5b61547a6157e3565b600b54808203615488575050565b6321fdff9d60e21b5f5260045260245260445ffd5b919063ffffffff805f5460c01c1691169281841090811561550b575b506154f5575f838152600160205260409020546001600160a01b03169283156154e0575050565b631be6ac0d60e11b5f5260045260245260445ffd5b82631be6ac0d60e11b5f5260045260245260445ffd5b63ffffffff91506009015460801c1683105f6154b9565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527fb7db8a9ff93f0ace8d65b1e852b0af12effcf8be8a5e25ba5dc1781d23d2717660408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526155b460c082613dcc565b5190209060405190602082019261190160f01b84526022830152604282015260428152614a3a606282613dcc565b600281015473000000000000000000000000000000000000000091823b1561007d576101845f926156a394604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260018060a01b031660448501526156716064850160048301613ff1565b600860e48501910160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b60016101648301525af48015610072576156ba5750565b5f613f0a91613dcc565b6002810154730000000000000000000000000000000000000000916001600160a01b0390911690823b1561007d576101845f9261575794604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260448501526156716064850160048301613ff1565b846101648301525af48015610072576156ba5750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561007d57604051635e2d2fff60e11b81526001600160a01b039092166004830152602482015260016044820152905f908290606490829084905af18015610072576156ba5750565b600b545f905b6020821080615851575b1561584057805f52600e60205260ff600960405f20015460a01c16600881101561399e5760018114908115615846575b506158405761583461583a91613fe3565b91613fe3565b906157e9565b600b5550565b60079150145f615823565b50600d548111156157f3565b5f5b600481106158b2575060405163042fcd0160e21b815290615884906004830190614b5d565b6020816084817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b6158bc8183614a40565b51600581101590816158f7575b816158dc575b5061491a5760010161585f565b90505f52601660205260ff600960405f20015416155f6158cf565b605f81111591506158c9565b90915f92815f526015602052600260405f2001549162015180420492815f52601a60205261593560405f205491615e05565b1180615a58575b80615a38575b61594d575050505090565b8091929394505f52601a60205260405f206159688154613fe3565b9055815f52601b60205260405f20905f5260205260405f20600160ff198254161790555f52601e60205260405f20905f5260205260405f206159aa8154613fe3565b90557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561007d57604051635e2d2fff60e11b81526001600160a01b0390911660048201526064602482018190526001604483015290915f918391829084905af1801561007257615a28575b50600190565b5f615a3291613dcc565b5f615a22565b50815f52601e60205260405f20835f52602052600260405f205410615942565b50815f52601b60205260405f20815f5260205260ff60405f2054161561593c565b60018114908115615a88575090565b5f19810191508111613fcf57805f52601960205260405f2054905f52601860205260405f205460018101809111613fcf5760011c111590565b9190825f526016602052615b27600560405f200160405194631b9bc40360e11b86526023600487015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602487015260448601526064850190613ff1565b60e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610104830152604082610124817300000000000000000000000000000000000000005af4918215610072575f905f93615b8e57509190565b9250506040823d604011615bc3575b81615baa60409383613dcc565b8101031261007d576020615bbd836149ff565b92015190565b3d9150615b9d565b6080604051615bda8282613dcc565b3690375f5b60048110615beb575090565b919060018301808411613fcf575b60048110615c0c57509091600101615bdf565b600190615c198584614a40565b51615c248285614a40565b5110615c31575b01615bf9565b615c3b8184614a40565b51615c468685614a40565b51615c518386614a40565b52615c5c8685614a40565b52615c2b565b6040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610072575f91615cda575b50336001600160a01b0390911603615ccb57565b636061778f60e11b5f5260045ffd5b90506020813d602011615d0c575b81615cf560209383613dcc565b8101031261007d57615d06906149ff565b5f615cb7565b3d9150615ce8565b6018811115615a2257602c811115615d6557603e811115615d5f57604d811115615d59576059811115615d5357605f1015615d4e57600790565b600690565b50600590565b50600490565b50600390565b50600290565b8151919060418303615d9b57615d949250602082015190606060408401519301515f1a90615e5b565b9192909190565b50505f9160029190565b600481101561399e5780615db7575050565b60018103615dce5763f645eedf60e01b5f5260045ffd5b60028103615de9575063fce698f760e01b5f5260045260245ffd5b600314615df35750565b6335e2f38360e21b5f5260045260245ffd5b60018114615e555760028114615e4f5760038114615e495760048114615e435760058114615e3d57600614615e38575f90565b600890565b50600a90565b50600c90565b50600f90565b50601490565b50601990565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411615ed2579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610072575f516001600160a01b03811615615ec857905f905f90565b505f906001905f90565b5050505f916003919056fe3d3a07bd6d8d84b8ac0a290a3fa928176f5e74d1fa2a56adfa2c68f4345207f59b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e003360a0604052346103545761109f6020813803918261001c81610358565b93849283398101031261035457516001600160a01b0381168103610354576100446040610358565b90601b82527f4861736844726f6964732053796e74686573697320506174656e74000000000060208301526100796040610358565b6008815267121114105511539560c21b602082015282519091906001600160401b038111610268575f54600181811c9116801561034a575b602082101461024a57601f81116102e8575b506020601f821160011461028757819293945f9261027c575b50508160011b915f199060031b1c1916175f555b81516001600160401b03811161026857600154600181811c9116801561025e575b602082101461024a57601f81116101e7575b50602092601f821160011461018657928192935f9261017b575b50508160011b915f199060031b1c1916176001555b608052604051610d21908161037e8239608051818181610156015281816102ce01526105820152f35b015190505f8061013d565b601f1982169360015f52805f20915f5b8681106101cf57508360019596106101b7575b505050811b01600155610152565b01515f1960f88460031b161c191690555f80806101a9565b91926020600181928685015181550194019201610196565b60015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f830160051c81019160208410610240575b601f0160051c01905b8181106102355750610123565b5f8155600101610228565b909150819061021f565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610111565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100dc565b601f198216905f8052805f20915f5b8181106102d0575095836001959697106102b8575b505050811b015f556100f0565b01515f1960f88460031b161c191690555f80806102ab565b9192602060018192868b015181550194019201610296565b5f80527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f830160051c81019160208410610340575b601f0160051c01905b81811061033557506100c3565b5f8155600101610328565b909150819061031f565b90607f16906100b1565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176102685760405256fe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146108a35750806306fdde03146107eb578063081812fc146107af578063095ea7b3146106c557806323b872dd146106ae57806340c10f191461056357806342842e0e1461053a5780636352211e1461050a57806370a08231146104b957806395d89b41146103b1578063a22cb465146102fd578063a3f5c1d2146102b9578063b88d4fde1461022f578063c87b56dd1461011c5763e985e9c5146100c1575f80fd5b34610118576040366003190112610118576100da610932565b6100e2610948565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b5f80fd5b346101185760203660031901126101185760043561013981610cb7565b5060405163c87b56dd60e01b815260048101919091525f816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610224575f906101a9575b6101a59060405191829160208352602083019061090e565b0390f35b503d805f833e6101b98183610998565b8101906020818303126101185780519067ffffffffffffffff821161011857019080601f830112156101185781516101f0816109ce565b916101fe6040519384610998565b81835260208285010111610118576020815f92826101a596018386015e8301015261018d565b6040513d5f823e3d90fd5b3461011857608036600319011261011857610248610932565b610250610948565b6064359167ffffffffffffffff831161011857366023840112156101185782600401359161027d836109ce565b9261028b6040519485610998565b8084523660248287010111610118576020815f9260246102b79801838801378501015260443591610b77565b005b34610118575f366003190112610118576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461011857604036600319011261011857610316610932565b6024359081151580920361011857331561039e576001600160a01b031690811561038b57335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b34610118575f366003190112610118576040515f6001548060011c906001811680156104af575b60208310811461049b578285529081156104775750600114610419575b6101a58361040581850382610998565b60405191829160208352602083019061090e565b91905060015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6915f905b80821061045d575090915081016020016104056103f5565b919260018160209254838588010152019101909291610445565b60ff191660208086019190915291151560051b8401909101915061040590506103f5565b634e487b7160e01b5f52602260045260245ffd5b91607f16916103d8565b34610118576020366003190112610118576001600160a01b036104da610932565b1680156104f7575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610118576020366003190112610118576020610528600435610cb7565b6040516001600160a01b039091168152f35b34610118576102b761054b3661095e565b906040519261055b602085610998565b5f8452610b77565b346101185760403660031901126101185761057c610932565b602435907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361069f576001600160a01b031690811561068c575f818152600260205260409020546001600160a01b03168015159290919083610659575b805f52600360205260405f2060018154019055815f52600260205260405f20816bffffffffffffffffffffffff60a01b825416179055827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45061064657005b6339e3563760e11b5f525f60045260245ffd5b5f82815260046020526040902080546001600160a01b0319169055825f52600360205260405f205f1981540190556105e4565b633250574960e11b5f525f60045260245ffd5b633721f51560e11b5f5260045ffd5b34610118576102b76106bf3661095e565b916109ea565b34610118576040366003190112610118576106de610932565b6024356106ea81610cb7565b3315158061079c575b8061076f575b61075c5781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff16156106f9565b506001600160a01b0381163314156106f3565b34610118576020366003190112610118576004356107cc81610cb7565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610118575f366003190112610118576040515f5f548060011c90600181168015610899575b60208310811461049b57828552908115610477575060011461083d576101a58361040581850382610998565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b80821061087f575090915081016020016104056103f5565b919260018160209254838588010152019101909291610867565b91607f1691610811565b34610118576020366003190112610118576004359063ffffffff60e01b8216809203610118576020916380ac58cd60e01b81149081156108fd575b81156108ec575b5015158152f35b6301ffc9a760e01b149050836108e5565b635b5e139f60e01b811491506108de565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361011857565b602435906001600160a01b038216820361011857565b6060906003190112610118576004356001600160a01b038116810361011857906024356001600160a01b0381168103610118579060443590565b90601f8019910116810190811067ffffffffffffffff8211176109ba57604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116109ba57601f01601f191660200190565b6001600160a01b039091169190821561068c575f828152600260205260409020546001600160a01b031692829033151580610ae2575b5084610aaf575b805f52600360205260405f2060018154019055815f52600260205260405f20816bffffffffffffffffffffffff60a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b0316808303610a9757505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f198154019055610a27565b90915080610b26575b15610af85782905f610a20565b8284610b1057637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b503384148015610b55575b80610aeb57505f838152600460205260409020546001600160a01b03163314610aeb565b505f84815260056020908152604080832033845290915290205460ff16610b31565b9291610b848183866109ea565b813b610b91575b50505050565b604051630a85bd0160e11b81523360048201526001600160a01b0394851660248201526044810191909152608060648201529216919060209082908190610bdc90608483019061090e565b03815f865af15f9181610c72575b50610c3f57503d15610c38573d610c00816109ce565b90610c0e6040519283610998565b81523d5f602083013e5b80519081610c335782633250574960e11b5f5260045260245ffd5b602001fd5b6060610c18565b6001600160e01b03191663757a42ff60e11b01610c6057505f808080610b8b565b633250574960e11b5f5260045260245ffd5b9091506020813d602011610caf575b81610c8e60209383610998565b8101031261011857516001600160e01b03198116810361011857905f610bea565b3d9150610c81565b5f818152600260205260409020546001600160a01b0316908115610cd9575090565b637e27328960e01b5f5260045260245ffdfea2646970667358221220314a5d8b5156f5213884afc2d26eee5c5440ba15c60e88155d9b5de34a4e66e064736f6c634300081e003360c080604052346104cd576040816135dd803803809161001f828561052a565b8339810103126104cd5761003e60206100378361054d565b920161054d565b6020905f60405161004f848261052a565b52600254600181811c91168015610520575b838210146102a457601f81116104f6575b505f60025560017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b03831680159081156104eb575b506104dc57803b156102d657604051637764583960e01b8152925f846004816001600160a01b0386165afa9384156104d1575f94610447575b50835160098110908115610425575b5080156103ff575b80156103d9575b80156103b3575b801561038d575b8015610367575b8015610341575b80156102e5575b6102d65760805260a0528151906001600160401b0382116102c257600554600181811c911680156102b8575b828210146102a457601f8111610260575b5080601f83116001146101fd575081925f926101f2575b50508160011b915f199060031b1c1916176005555b60405161307b908161056282396080518181816105ac015281816107fc01528181610a2201528181610d8c015281816110180152818161114d015281816112c00152818161162d01528181611bc50152611f82015260a05181610bea0152f35b015190505f8061017d565b90601f1983169360055f52825f20925f905b8682106102485750508360019510610230575b505050811b01600555610192565b01515f1960f88460031b161c191690555f8080610222565b8060018596829496860151815501950193019061020f565b60055f52815f20601f840160051c81019183851061029a575b601f0160051c01905b81811061028f5750610166565b5f8155600101610282565b9091508190610279565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610155565b634e487b7160e01b5f52604160045260245ffd5b630161139960e31b5f5260045ffd5b5083515f19810181811161032d578551111561031957840183015f1901516001600160f81b031916602f60f81b1415610129565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b508351600610156103195760268401516001600160f81b031916602f60f81b1415610122565b508351600510156103195760258401516001600160f81b031916602f60f81b141561011b565b508351600410156103195760248401516001600160f81b031916601d60f91b1415610114565b508351600310156103195760238401516001600160f81b031916607360f81b141561010d565b508351600210156103195760228401516001600160f81b031916603360f91b1415610106565b508351600110156103195760218401516001600160f81b031916600760fc1b14156100ff565b90501561031957838301516001600160f81b031916606960f81b14155f6100f7565b9093503d805f833e610459818361052a565b81019083818303126104cd578051906001600160401b0382116104cd570181601f820112156104cd578051906001600160401b0382116102c257604051926104aa601f8401601f191687018561052a565b8284528583830101116104cd57815f92868093018386015e83010152925f6100e8565b5f80fd5b6040513d5f823e3d90fd5b633721f51560e11b5f5260045ffd5b90503314155f6100af565b60025f52601f835f20910160051c8101905b8181106105155750610072565b5f8155600101610508565b90607f1690610061565b601f909101601f19168101906001600160401b038211908210176102c257604052565b51906001600160a01b03821682036104cd5756fe60806040526004361015610011575f80fd5b5f3560e01c8062fdd58e1461020357806301ffc9a7146101fe57806306fdde03146101f95780630e89341c146101f457806318160ddd146101ef5780632a795fd5146101ea5780632eb2c2d6146101e55780633c764801146101e057806349a2e71c146101db5780634e1273f4146101d65780634f558e79146101d1578063511cd8cf146101cc5780637577dd70146101c757806377645839146101c2578063865190ef146101bd5780638ada6b0f146101b857806395d89b41146101b35780639eb656cc146101ae578063a22cb465146101a9578063a3f5c1d2146101a4578063a52c76031461019f578063ac44ff311461019a578063ac46fa2214610195578063bc197c8114610190578063bc5a5ffe1461018b578063bd85b03914610186578063e43debd414610181578063e8a3d4851461017c578063e985e9c514610177578063f23a6e61146101725763f242432a1461016d575f80fd5b611663565b6115a2565b611546565b611346565b61128f565b611265565b61113b565b61108f565b610fff565b610f5c565b610deb565b610d77565b610caa565b610c5b565b610c40565b610bd5565b610bab565b610ae1565b610a11565b6109e2565b6109b6565b6108f7565b610889565b6107eb565b61075f565b61059a565b610553565b610454565b610421565b6102bc565b610262565b600435906001600160a01b038216820361021e57565b5f80fd5b602435906001600160a01b038216820361021e57565b604435906001600160a01b038216820361021e57565b35906001600160a01b038216820361021e57565b3461021e57604036600319011261021e5760206102a1610280610208565b6024355f525f835260405f209060018060a01b03165f5260205260405f2090565b54604051908152f35b6001600160e01b031981160361021e57565b3461021e57602036600319011261021e576004356102d9816102aa565b63ffffffff60e01b16630271189760e51b8114908115610302575b506040519015158152602090f35b636cdb3d1360e11b811491508115610334575b8115610323575b505f6102f4565b6301ffc9a760e01b1490505f61031c565b6303a24d0760e21b81149150610315565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b0382111761037a57604052565b610345565b6001600160401b03811161037a57601f01601f191660200190565b604051906103a9602083610359565b5f8252565b604051906103bd604083610359565b601e82527f4861736844726f69647320456c656d656e747320616e642043686573747300006020830152565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90602061041e9281815201906103e9565b90565b3461021e575f36600319011261021e5761045061043c6103ae565b6040519182916020835260208301906103e9565b0390f35b3461021e57602036600319011261021e5761045061051d61051860043561047a81611bfb565b606481036105295761049e61048d6116bf565b61049683611ebe565b93909161202b565b9361051261050c6105066105006104e26104fb60046104bc88612270565b60405193849160056104d0602085016116ec565b64656c656d5f60d81b81520190611773565b632e6a706760e01b815203601b19810184520182610359565b61202b565b93612270565b9361202b565b94612270565b94611785565b6123c6565b6040519182918261040d565b61049e60405161053a604082610359565b6007815266115b195b595b9d60ca1b602082015261048d565b3461021e575f36600319011261021e576020600454604051908152f35b606090600319011261021e576004356001600160a01b038116810361021e57906024359060443590565b3461021e576105a836610570565b90917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c576105e2612419565b6105eb81612451565b6105f58284612484565b60018060a01b031690815f52600660205260405f20835f5260205260405f20805491808301809311610687577fa49d05c5e826932347d09d61bdfcb0d495502ae74885fbb3910c95083722b712926106719255845f52600760205260405f2061065f828254611a33565b90556040519081529081906020820190565b0390a360015f5160206130265f395f51905f5255005b611a11565b633721f51560e11b5f5260045ffd5b6001600160401b03811161037a5760051b60200190565b9291906106be8161069b565b936106cc6040519586610359565b602085838152019160051b810192831161021e57905b8282106106ee57505050565b81358152602091820191016106e2565b9080601f8301121561021e5781602061041e933591016106b2565b81601f8201121561021e578035906107308261037f565b9261073e6040519485610359565b8284526020838301011161021e57815f926020809301838601378301015290565b3461021e5760a036600319011261021e57610778610208565b610780610222565b906044356001600160401b03811161021e576107a09036906004016106fe565b6064356001600160401b03811161021e576107bf9036906004016106fe565b90608435936001600160401b03851161021e576107e36107e9953690600401610719565b93611a40565b005b3461021e576107f936610570565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57610832612419565b61083d8282856125de565b80610879575b80831161085e575b60015f5160206130265f395f51905f5255005b820391821161068757610870926126b3565b5f80808061084b565b6108848183306126b3565b610843565b3461021e57602036600319011261021e576004355f526007602052602060405f2054604051908152f35b90602080835192838152019201905f5b8181106108d05750505090565b82518452602093840193909201916001016108c3565b90602061041e9281815201906108b3565b3461021e57604036600319011261021e576004356001600160401b03811161021e573660238201121561021e578060040135906109338261069b565b916109416040519384610359565b8083526024602084019160051b8301019136831161021e57602401905b82821061099e57836024356001600160401b03811161021e576104509161098c6109929236906004016106fe565b90611a91565b604051918291826108e6565b602080916109ab8461024e565b81520191019061095e565b3461021e57602036600319011261021e576004355f526003602052602060405f20541515604051908152f35b3461021e57604036600319011261021e576020610a09610a00610208565b60243590611b45565b604051908152f35b3461021e57610a1f36610570565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57610a58612419565b610a638282856125de565b815f52600860205260405f208054908482018092116106875755808311610a975760015f5160206130265f395f51905f5255005b8203918211610687576108709261279b565b90600182811c92168015610ad7575b6020831014610ac357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610ab8565b3461021e575f36600319011261021e576040515f600554610b0181610aa9565b8084529060018116908115610b875750600114610b29575b6104508361051d81850382610359565b91905060055f527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0915f905b808210610b6d5750909150810160200161051d610b19565b919260018160209254838588010152019101909291610b55565b60ff191660208086019190915291151560051b8401909101915061051d9050610b19565b3461021e57602036600319011261021e576004355f526008602052602060405f2054604051908152f35b3461021e575f36600319011261021e576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60405190610c28604083610359565b600982526812111153115351539560ba1b6020830152565b3461021e575f36600319011261021e5761045061043c610c19565b3461021e57604036600319011261021e57610c74610208565b6024359060018060a01b03165f52600660205260405f20905f52602052602060405f2054604051908152f35b8015150361021e57565b3461021e57604036600319011261021e57610cc3610208565b602435610ccf81610ca0565b3315610d64576001600160a01b038216918215610d525781610d0f610d2092335f52600160205260405f209060018060a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b62ced3e160e81b5f525f60045260245ffd5b631f18c42760e11b5f525f60045260245ffd5b3461021e575f36600319011261021e576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561021e578235916001600160401b03831161021e576020808501948460051b01011161021e57565b3461021e57606036600319011261021e576004356001600160401b03811161021e57610e1b903690600401610dbb565b6024356001600160401b03811161021e57610e3a903690600401610dbb565b92610e43610238565b92610e4c612419565b610e5584612451565b80158015610f52575b610f43579092905f5b818110610f135750610e98610e7d3683876106b2565b610e883688876106b2565b610e9061039a565b918530612539565b6001600160a01b03909116905f5b818110610ec3576107e960015f5160206130265f395f51905f5255565b80610ed16001928488611b83565b3584610ede838a89611b83565b6040519035815233907fc80e326f520ee6c8773d6271d2f8679e5cbc56fb69ad9c8ee2e287ffafdd64ea90602090a401610ea6565b80610f3a610f2660019385899799611b83565b35610f32838a89611b83565b3590336127d3565b01939193610e67565b63162908e360e11b5f5260045ffd5b5084811415610e5e565b3461021e57606036600319011261021e57600435602435610f7b610238565b610f83612419565b610f8c81612451565b610f978284336127d3565b610fb4604051610fa8602082610359565b5f81528385843061286d565b6040519182526001600160a01b03169033907fc80e326f520ee6c8773d6271d2f8679e5cbc56fb69ad9c8ee2e287ffafdd64ea90602090a460015f5160206130265f395f51905f5255005b3461021e57604036600319011261021e576004356024357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c5761084b91611052612419565b61105c8282612484565b306126b3565b9181601f8401121561021e578235916001600160401b03831161021e576020838186019501011161021e57565b3461021e5760a036600319011261021e576110a8610208565b6110b0610222565b506044356001600160401b03811161021e576110d0903690600401610dbb565b50506064356001600160401b03811161021e576110f1903690600401610dbb565b50506084356001600160401b03811161021e5761045091611119611120923690600401611062565b5050611b93565b6040516001600160e01b031990911681529081906020820190565b3461021e5761114936610570565b90917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57611183612419565b61118c81612451565b611196828461291b565b60018060a01b031690815f52600660205260405f20835f5260205260405f20805491808301809311610687577fa49d05c5e826932347d09d61bdfcb0d495502ae74885fbb3910c95083722b7129261124c92556111fb855f52600760205260405f2090565b611206828254611a33565b905561121a600160ff196009541617600955565b61122d61122561039a565b82873061292b565b61123c60ff1960095416600955565b6040519081529081906020820190565b0390a36107e960015f5160206130265f395f51905f5255565b3461021e57602036600319011261021e576004355f526003602052602060405f2054604051908152f35b3461021e57608036600319011261021e576112a8610208565b6112b0610222565b6064356044356001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361068c576112ee612419565b6112f783612451565b6113028282866125de565b808311611328575b5061084b93506040519261131f602085610359565b5f84523061286d565b8203938285116106875761084b94826113409261279b565b5f61130a565b3461021e575f36600319011261021e5761045061051d6113da610518602b61136c6103ae565b611501611377610c19565b60dd6113f36113b56040516104fb600c82611394602082016116ec565b6b656c656d5f3130302e6a706760a01b815203601319810184520182610359565b92600c604051998a97683d913730b6b2911d1160b91b60208a01526029890190611773565b6b11161139bcb6b137b6111d1160a11b81520190611773565b7f222c226465736372697074696f6e223a225472616e7366657261626c6520455281527f432d3131353520656c656d656e747320616e642073796e74686573697320636860208201527f6573747320666f72204861736844726f696473205068617365204949492e204f60408201527f6e6520746f6b656e20657175616c73206f6e6520756e69742e20446973636f7660608201527f65727920706174656e7473206172652061207365706172617465204552432d3760808201527f323120636f6c6c656374696f6e2e204e6f2061646d696e206d696e74206f722060a08201527f7570677261646520617574686f726974792e222c22696d616765223a2200000060c08201520190611773565b7f222c2265787465726e616c5f6c696e6b223a2268747470733a2f2f686173686481526a726f6964732e66756e227d60a81b602082015203600b810184520182610359565b3461021e57604036600319011261021e57602060ff611596611566610208565b61156e610222565b6001600160a01b039182165f9081526001865260408082209290931681526020919091522090565b54166040519015158152f35b3461021e5760a036600319011261021e576115bb610208565b6115c3610222565b506084356001600160401b03811161021e576115e3903690600401611062565b50503033149081159161162b575b50801561161e575b61160f5760405163f23a6e6160e01b8152602090f35b632e74c3ff60e01b5f5260045ffd5b5060ff60095416156115f9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b039081169116141590505f6115f1565b3461021e5760a036600319011261021e5761167c610208565b611684610222565b9060443560643590608435936001600160401b03851161021e576116af6107e9953690600401610719565b936116ba81336124d3565b61286d565b604051906116ce604083610359565b600f82526e14de5b9d1a195cda5cc810da195cdd608a1b6020830152565b6005545f92916116fb82610aa9565b91600181169081156117615750600114611713575050565b60055f90815292935090917f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b83821061174d5750500190565b600181602092548486015201910190611740565b60ff1916825250811515909102019150565b805191908290602001825e015f815290565b93919594929095604051968795683d913730b6b2911d1160b91b6020880152602987016117b191611773565b7f222c226465736372697074696f6e223a224f6e65204552432d3131353520746f81527f6b656e206973206f6e652067616d6520756e69742e2047616d6520637573746f60208201527f6479206372656469747320617265206261636b6564206279207265616c20746f60408201527f6b656e7320616e642063616e20626520636c61696d6564206f7220757365642060608201527f696e2074686520437269736f6c2e205468697320746f6b656e206973206e6f7460808201527f206120646973636f7665727920706174656e742e222c22696d616765223a220060a08201526118a19160bf90910190611773565b7f222c2265787465726e616c5f75726c223a2268747470733a2f2f6861736864728152602081017f6f6964732e66756e222c2261747472696275746573223a5b7b2274726169745f9052604081017f74797065223a22456c656d656e74204944222c2276616c7565223a00000000009052605b0161191e91611773565b7f7d2c7b2274726169745f74797065223a2241737365742074797065222c227661815265363ab2911d1160d11b602082015260260161195c91611773565b7f227d2c7b2274726169745f74797065223a2253796d626f6c222c2276616c7565815262111d1160e91b602082015260230161199791611773565b7f227d2c7b2274726169745f74797065223a2254696572222c2276616c7565223a81526020016119c691611773565b7f7d2c7b2274726169745f74797065223a22556e69742073697a65222c2276616c8152677565223a317d5d7d60c01b602082015260280103601f1981018352611a0f9083610359565b565b634e487b7160e01b5f52601160045260245ffd5b906002820180921161068757565b9190820180921161068757565b90611a0f94939291611a5281336124d3565b612539565b9190820391821161068757565b634e487b7160e01b5f52603260045260245ffd5b8051821015611a8c5760209160051b010190565b611a64565b91909180518351808203611b30575050805190611aad8261069b565b91611abb6040519384610359565b808352611aca601f199161069b565b013660208401375f5b8151811015611b295780611b1860019260051b60208082870101519189010151905f918252602082815260408084206001600160a01b03909316845291905290205490565b611b228286611a78565b5201611ad3565b5090925050565b635b05999160e01b5f5260045260245260445ffd5b5f828152602081815260408083206001600160a01b039490941683529281528282205460068252838320948352939052205481019081106106875790565b9190811015611a8c5760051b0190565b30331490811591611bc3575b508015611bb6575b61160f5763bc197c8160e01b90565b5060ff6009541615611ba7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b039081169116141590505f611b9f565b600581101580611c3e575b8015611c27575b15611c155750565b63a1f5a4f560e01b5f5260045260245ffd5b5060648110158015611c0d57506069811115611c0d565b506060811115611c06565b81601f8201121561021e57805190611c608261037f565b92611c6e6040519485610359565b8284526020838301011161021e57815f9260208093018386015e8301015290565b909160a08284031261021e5781516001600160401b03811161021e5783611cb7918401611c49565b926020830151906001600160401b03821161021e57611cd7918401611c49565b916040810151916080606083015192015161041e81610ca0565b6040513d5f823e3d90fd5b90611a0f611d3192604051938491734861736844726f69647320456c656d656e74202360601b60208401526034830190611773565b03601f198101845283610359565b60405190611d4e604083610359565b600582526410d21154d560da1b6020830152565b60405190611d71604083610359565b60058252642bb0ba32b960d91b6020830152565b60405190611d94604083610359565b60058252642ba0aa22a960d91b6020830152565b60405190611db7604083610359565b60048252634669726560e01b6020830152565b60405190611dd9604083610359565b60048252634649524560e01b6020830152565b60405190611dfb604083610359565b600582526408ac2e4e8d60db1b6020830152565b60405190611e1e604083610359565b600582526408a82a4a8960db1b6020830152565b60405190611e41604083610359565b600382526220b4b960e91b6020830152565b60405190611e62604083610359565b600382526220a4a960e91b6020830152565b60405190611e83604083610359565b6007825266456e74726f707960c81b6020830152565b60405190611ea8604083610359565b6007825266454e54524f505960c81b6020830152565b6060811115611f5d5760648114611f4b5760658114611f395760668114611f275760678114611f1557606814611f0457611ef6611e74565b90611eff611e99565b905f90565b611f0c611e32565b90611eff611e53565b50611f1e611dec565b90611eff611e0f565b50611f30611da8565b90611eff611dca565b50611f42611d62565b90611eff611d85565b50611f546116bf565b90611eff611d3f565b60405163376e4dd760e21b81526004810182905290915f826024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa8015612018575f935f935f905f93611fe6575b5093949115611fc65750929190565b9050611fd8919350611fdd9250612270565b611cfc565b90611eff61039a565b92505092506120089193503d805f833e6120008183610359565b810190611c8f565b929593905093909394935f611fb7565b611cf1565b5f1981146106875760010190565b906040515f925f5b815181101561222e578181016020015160f81c6b1000000000000004ffffffff6001821b1615612207576120706120698761201d565b9685612a2e565b60ff81166008810361209a57505060019061209461208d8761201d565b9685612a7e565b01612033565b600981036120bf5750506001906120ba6120b38761201d565b9685612a74565b612094565b600a81036120df5750506001906120ba6120d88761201d565b9685612a6a565b600c81036120ff5750506001906120ba6120f88761201d565b9685612a60565b600d810361211f5750506001906120ba6121188761201d565b9685612a56565b605c81036121385750506001906120ba6120698761201d565b60220361215657506001906120ba61214f8761201d565b9685612a4c565b949061216b6121648361201d565b9285612a38565b61217e6121778361201d565b9285612a42565b61218a6121778361201d565b6121938261201d565b91600f600488901c16906010821015611a8c576121ca916f181899199a1a9b1b9c1cb0b131b232b360811b901a60f81b9086612a88565b600f6121d58361201d565b96166010811015611a8c576001926120ba916f181899199a1a9b1b9c1cb0b131b232b360811b901a60f81b9086612a88565b94906120ba826122196001949161201d565b9760f81b6001600160f81b0319169086612a88565b5050828152918201602001604052565b906122488261037f565b6122556040519182610359565b8281528092612266601f199161037f565b0190602036910137565b805f9172184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8210156123a3575b806d04ee2d6d415b85acef8100000000600a921015612387575b662386f26fc10000811015612372575b6305f5e100811015612360575b612710811015612350575b6064811015612341575b1015612336575b61232160216122f66001850161223e565b938401015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b600a82061a8353600a900490565b80156123315761232190916122fb565b505090565b6001909101906122e5565b600290606490049301926122de565b60049061271090049301926122d4565b6008906305f5e10090049301926122c9565b601090662386f26fc1000090049301926122bc565b6020906d04ee2d6d415b85acef810000000090049301926122ac565b506040915072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8104612292565b61041e6123d561240b92612aae565b6040519283917f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020840152603d830190611773565b03601f198101835282610359565b60025f5160206130265f395f51905f5254146124425760025f5160206130265f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b0316801590811561247a575b5061246b57565b630da30f6560e31b5f5260045ffd5b905030145f612464565b61248e828261291b565b805f52600860205260405f2054918083106124ba578203918211610687575f52600860205260405f2055565b9063ba43a20b60e01b5f5260045260245260445260645ffd5b6001600160a01b039182169181169082821415908161250b575b506124f6575050565b63711bec9160e11b5f5260045260245260445ffd5b5f8481526001602090815260408083206001600160a01b0390941683529290522060ff91505416155f6124ed565b9491939192906001600160a01b03811680156125cb576001600160a01b038716156125b9573014806125ac575b61160f575f5b8551811015612591578061258b61258560019389611a78565b51611bfb565b0161256c565b50611a0f94919293956125a684848484612e56565b33612d93565b5060ff6009541615612566565b626a0d4560e21b5f525f60045260245ffd5b632bfa23e760e11b5f525f60045260245ffd5b909291926125eb82612451565b6125f5848261291b565b6125ff8183611b45565b848110612699575060018060a01b0382165f52600660205260405f20815f5260205260405f205493808511612691575b5083612639575050565b6126678161265a6126829460018060a01b03165f52600660205260405f2090565b905f5260205260405f2090565b612672858254611a57565b90555f52600760205260405f2090565b61268d838254611a57565b9055565b93505f61262f565b848263b60bda9760e01b5f5260045260245260445260645ffd5b916001600160a01b038316156125b9576126ea60405192600184526020840152604083019160018352606084015260808301604052565b926020935f6040516126fd602082610359565b5230158061278e575b61160f575f5b835181101561272b578061272561258560019387611a78565b0161270c565b50909281835f61273a93612e56565b5f90815b835183101561277b576001908360051b9061276c8880848701015193880101515f52600360205260405f2090565b8281540390550192019161273e565b92505050611a0f91925060045403600455565b5060ff6009541615612706565b90916127c792600160ff196009541617600955604051926127bd602085610359565b5f8452309061286d565b60ff1960095416600955565b906127de838261291b565b60018060a01b0382165f52600660205260405f20815f5260205260405f2054838110612853578381039081116106875761282b6128449360018060a01b03165f52600660205260405f2090565b825f5260205260405f20555f52600760205260405f2090565b80549182039182116106875755565b8382630b831b8960e21b5f5260045260245260445260645ffd5b90946001600160a01b03861694909390929085156125cb576001600160a01b038316156125b9576128bb60405192600184526020840152604083019160018352606084015260808301604052565b909430148061290e575b61160f575f5b85518110156128ea57806128e461258560019389611a78565b016128cb565b5090919294602080611a0f9661290285828689612e56565b01519201519233612c4a565b5060ff60095416156128c5565b61292490611bfb565b15610f4357565b6001600160a01b0381169290919083156125cb5761296660405192600184526020840152604083019160018352606084015260808301604052565b939092301480612a21575b61160f575f5b8351811015612996578061299061258560019387611a78565b01612977565b5090926129a58184865f612e56565b5f91825b84518410156129f5576129ed6001918560051b906129db6020808489010151938a0101515f52600360205260405f2090565b6129e6838254611a33565b9055611a33565b9301926129a9565b611a0f95935060209194612a14612a0f8493600454611a33565b600455565b0151910151915f33612c4a565b5060ff6009541615612971565b605c910160200153565b6075910160200153565b6030910160200153565b6022910160200153565b6072910160200153565b6066910160200153565b606e910160200153565b6074910160200153565b6062910160200153565b919060209160f81c92010153565b600281901b91906001600160fe1b0381160361068757565b90815115612bc357612ad2612acd612ac68451611a25565b6003900490565b612a96565b90604051917f4142434445464748494a4b4c4d4e4f505152535455565758595a616263646566601f527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f603f52602083018480518101602081018051915f82525b808910612b875750602095969750906003929152510680600114612b7257600214612b65575b50808452830101604052565b603d905f1901535f612b59565b50603d90815f1982015360011901535f612b59565b939760036004910198603f8a51818160121c165183538181600c1c16516001840153818160061c16516002840153165160038201530193612b33565b905061041e61039a565b9081602091031261021e575161041e816102aa565b6001600160a01b039182168152911660208201526040810191909152606081019190915260a06080820181905261041e929101906103e9565b3d15612c45573d90612c2c8261037f565b91612c3a6040519384610359565b82523d5f602084013e565b606090565b9091949293853b612c5e575b505050505050565b602093612c8091604051968795869563f23a6e6160e01b875260048701612be2565b03815f6001600160a01b0387165af15f9181612d0f575b50612cd15750612ca5612c1b565b8051919082612cca57632bfa23e760e11b5f526001600160a01b03821660045260245ffd5b6020915001fd5b6001600160e01b031916630dc5919f60e01b01612cf457505f8080808080612c56565b632bfa23e760e11b5f526001600160a01b031660045260245ffd5b612d3291925060203d602011612d39575b612d2a8183610359565b810190612bcd565b905f612c97565b503d612d20565b6001600160a01b0391821681529116602082015260a06040820181905261041e9491939192612d859291612d7791908601906108b3565b9084820360608601526108b3565b9160808184039101526103e9565b9091949293853b612da657505050505050565b602093612dc891604051968795869563bc197c8160e01b875260048701612d40565b03815f6001600160a01b0387165af15f9181612e10575b50612ded5750612ca5612c1b565b6001600160e01b0319166343e6837f60e01b01612cf457505f8080808080612c56565b612e2a91925060203d602011612d3957612d2a8183610359565b905f612ddf565b9091612e4861041e936040845260408401906108b3565b9160208184039101526108b3565b93929180518351908181036130105750505f5b8151811015612f6a578060051b90602080838501015192860101518460018060a01b038916612eed575b6001936001600160a01b038216612eae575b50505001612e69565b612ee391612ec6612edb925f525f60205260405f2090565b9060018060a01b03165f5260205260405f2090565b918254611a33565b90555f8481612ea5565b509091612f0588612ec6835f525f60205260405f2090565b54828110612f3357829160019493879203612f2b8b612ec6845f525f60205260405f2090565b559350612e93565b6040516303dee4c560e01b81526001600160a01b038a16600482015260248101919091526044810183905260648101829052608490fd5b508051939493919291600103612fcd576020908101519181015160408051938452918301526001600160a01b03928316939092169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6291819081015b0390a4565b6040516001600160a01b03938416949093169233927f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb928291612fc89183612e31565b635b05999160e01b5f5260045260245260445ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204ffa5e48ada7773638ddc462f4aa4fdb5eb7d8c3cea93d4515190e3aefd6378164736f6c634300081e0033","sourceMap":"2738:54011:6:-:0;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;:::i;:::-;18770:10;;1273:26:8;1269:95;;-1:-1:-1;2738:54011:6;;18770:10;-1:-1:-1;;;;;;2738:54011:6;;;;;;;;;;18770:10;;-1:-1:-1;;;;;2738:54011:6;;3052:40:8;;-1:-1:-1;3052:40:8;2738:54011:6;1505:66:28;2738:54011:6;8032:3;;2738:54011;8081:3;;2738:54011;8185:3;;2738:54011;8238:4;;2738:54011;-1:-1:-1;8348:1:6;2738:54011;;8813:1;2738:54011;;;;9023:4;2738:54011;;;9023:4;2738:54011;18813:14;;:55;;;;-1:-1:-1;18813:98:6;;;;-1:-1:-1;18813:141:6;;;;-1:-1:-1;18813:186:6;;;;-1:-1:-1;18813:230:6;;;;-1:-1:-1;18813:281:6;;;;-1:-1:-1;18813:333:6;;;;-1:-1:-1;18796:382:6;;2738:54011;19189:20;-1:-1:-1;;;;;2738:54011:6;;;;19219:43;2738:54011;;;;19272:49;2738:54011;;;;19331:53;2738:54011;;;;19394:32;2738:54011;;19436:58;;;2738:54011;19523:36;;;;;-1:-1:-1;;;;;19523:36:6;;;;;;;;2738:54011;19523:36;;;;;;19553:4;2738:54011;;19523:36;;;-1:-1:-1;19523:36:6;;;;;2738:54011;19504:55;2738:54011;;;19589:54;;;;-1:-1:-1;;;;;19589:54:6;;;;;;;;2738:54011;19589:54;;;;;;19553:4;2738:54011;;;;;;19589:54;;;-1:-1:-1;19589:54:6;;;;;2738:54011;19569:74;19653:30;;19693:44;;19747:34;;-1:-1:-1;2738:54011:6;;-1:-1:-1;;;;;;;;2738:54011:6;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2738:54011:6;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;18770:10;;19956:68;19935:89;2738:54011;;-1:-1:-1;;;;;;2738:54011:6;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;20035:17;2738:54011;;20058:2;2738:54011;;;;;;20128:2;2738:54011;;9023:4;2738:54011;;20198:2;2738:54011;;8348:1;2738:54011;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19653:30;2738:54011;;;;;;;;;;;;;;;;;;;;19693:44;2738:54011;;;;;;;;;;19747:34;2738:54011;;;;;;;;;;;19956:68;;;19589:54;2738:54011;;;-1:-1:-1;2738:54011:6;;;;;19589:54;2738:54011;;;-1:-1:-1;2738:54011:6;;8185:3;2738:54011;;-1:-1:-1;2738:54011:6;18796:382;19164:14;;;-1:-1:-1;19164:14:6;8185:3;-1:-1:-1;19164:14:6;18813:333;-1:-1:-1;;;;;;2738:54011:6;;19110:36;18813:333;;:281;-1:-1:-1;;;;;;2738:54011:6;;19059:35;18813:281;;:230;-1:-1:-1;;;;;;2738:54011:6;;19015:28;18813:230;;:186;-1:-1:-1;;;;;;2738:54011:6;;18970:29;18813:186;;:141;-1:-1:-1;;;;;;2738:54011:6;;18927:27;18813:141;;:98;-1:-1:-1;;;;;;2738:54011:6;;18884:27;18813:98;;:55;-1:-1:-1;;;;;;2738:54011:6;;18843:25;18813:55;;1269:95:8;1322:31;;;-1:-1:-1;1322:31:8;-1:-1:-1;1322:31:8;2738:54011:6;;-1:-1:-1;1322:31:8;2738:54011:6;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;:::o","linkReferences":{"contracts/HashDroidsCrystalLib.sol":{"HashDroidsCrystalLib":[{"start":2895,"length":20},{"start":3653,"length":20},{"start":14040,"length":20},{"start":15505,"length":20},{"start":16794,"length":20}]},"contracts/HashDroidsEconomyLib.sol":{"HashDroidsEconomyLib":[{"start":8572,"length":20},{"start":11657,"length":20},{"start":15775,"length":20},{"start":22984,"length":20}]},"contracts/HashDroidsHarvestLib.sol":{"HashDroidsHarvestLib":[{"start":4980,"length":20},{"start":9294,"length":20},{"start":11134,"length":20},{"start":15865,"length":20},{"start":21435,"length":20},{"start":22441,"length":20},{"start":23574,"length":20},{"start":23800,"length":20},{"start":24249,"length":20}]},"contracts/HashDroidsTreasuryLib.sol":{"HashDroidsTreasuryLib":[{"start":1609,"length":20},{"start":11099,"length":20},{"start":19250,"length":20},{"start":24978,"length":20}]}},"cborAuxdata":{"1":{"value":"0xa2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e0033","offset":25931},"2":{"value":"0xa2646970667358221220314a5d8b5156f5213884afc2d26eee5c5440ba15c60e88155d9b5de34a4e66e064736f6c634300081e0033","offset":30186},"3":{"value":"0xa26469706673582212204ffa5e48ada7773638ddc462f4aa4fdb5eb7d8c3cea93d4515190e3aefd6378164736f6c634300081e0033","offset":43975}},"transformations":[{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":2895,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":3653,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":14040,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":15505,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":16794,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":8572,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":11657,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":15775,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":22984,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":4980,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":9294,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":11134,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":15865,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":21435,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":22441,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":23574,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":23800,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":24249,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":1609,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":11099,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":19250,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":24978,"reason":"library"},{"type":"insert","offset":44028,"reason":"constructorArguments"}],"transformationValues":{"libraries":{"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib":"0x65b8cae34c5110baf69b2584c23995f7dfca61d2","contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib":"0x522c131fef36ef649928f3e1aa0d4e984cd685e6","contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib":"0xfa0b98827b35b920155c8ffab08a38a787eb50d6","contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib":"0xeaee8942bc98760ed5b6cb471ac5836748fe16cf"},"constructorArguments":"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000049718f13f9318dfac9638cd0a79a25bbbe4649a90000000000000000000000008cfe21d4ba33ff195b3b8ed9a14bc7ecf92d05c30000000000000000000000000eed2c5e866a3792f587caf0839941ea57fe69150000000000000000000000000a4ac218349d36143ed4a65e7da6e60857b77777000000000000000000000000d39ac117cce323221f0627ed9c2d1fd8c7a992520000000000000000000000004f8fdbd4df216fec5b2bf82d26ef0b76f4a6b1f40000000000000000000000005ddccf56216fc5b545876b04a0a5a1d4cb3d75ab000000000000000000000000c0c4a49130925dc7084ffb34ce4693335073d07000000000000000000000000064e98b82a03f147b00b2185f0139e48d24929b840000000000000000000000002dfc7510e985c1814ff54f7d13f7de19599531a0"}},"runtimeBytecode":{"onchainBytecode":"0x60a0806040526004361015610081575b50361561001a575f80fd5b73eaee8942bc98760ed5b6cb471ac5836748fe16cf803b1561007d575f60449160405192838092631a9ec59560e21b8252602360048301523460248301525af480156100725761006657005b5f61007091613dcc565b005b6040513d5f823e3d90fd5b5f80fd5b5f6080525f3560e01c908163023f711514613c95575080630333052814613c785780630492296014613c3e5780630a01a95f14613c155780630ba4b75114613b525780630e23314214613aee578063130dec3d14613a5a57806315b366c914613a2c57806316a19641146139fe57806316ed02c31461388b5780631a4778b0146137b15780631cab4912146136f75780631fadcc9c146135ce5780632049f209146135aa5780632243de84146134545780632910ce58146132f15780632ae758e4146132545780632baa11771461322b57806330788952146131655780633210768414613137578063325c7d541461308f5780633371756e14612f7f57806334698ee114612f39578063352a425814612f0b57806337720cce14612edd5780633bcd483b14612e4957806340f5efd914612bb1578063453698f114612b3757806345fc4aa614612b1857806346cb6a8814612af45780634a0f6ac814612ad55780634b96dec11461283b5780634d61ac31146127c9578063514e7697146126ea578063541a5d07146126cb578063548bb199146126ac5780635b5e3bd11461249657806362c226681461246857806362d8a6891461237c5780636352211e146122c657806366a5a80b146122a2578063671f8a38146122775780636b6dad07146121bc5780636bd060fb1461219d5780636ce62d421461216f5780636d0fc32a146121385780636e01792c146121195780636f20a888146120d35780636f9eb35f146120a5578063715018a6146120465780637422416b1461202757806375383de114611fb4578063776ee44c14611f865780637b0e394e14611f675780637bf9c5f214611f1b5780638146776c14611cd657806383ac909a14611cb75780638af2ecf614611c895780638da5cb5b14611c5e5780638ef55ef714611c185780638f62c79c14611bf9578063909a236714611b34578063918fd15c14611b06578063976715e314611a6b578063976e74fd14611a3d578063a23d3c35146119f7578063a430cd35146119c4578063a63447b114611988578063a87316ee14611953578063acc72a9414611929578063b19e22d71461187e578063b44a230114611838578063b5258121146116ff578063b69d76a81461125a578063bc0baa751461122c578063c6b274e514611203578063c87b56dd14610f58578063ca1a9efd14610f39578063cf36815714610e6d578063d17e8e5214610e4e578063d1d425c514610e2f578063d504e2f814610c5e578063db95b05a14610c3f578063dc3520e114610c20578063ddb9375c14610b95578063e20a01a514610b59578063e234a671146108f0578063e36f5a97146108d1578063e8d7438f1461088b578063ec260ef9146107b3578063ee16efdd1461076d578063f0403e6b1461074e578063f1930eab14610712578063f2d5bdf4146106cd578063f2fde38b1461063c578063f812212c1461061b578063faba6987146105ed578063fc19b78e146105ce578063fe553464146105975763fe581c3f146104dd575f61000f565b34610591576020366003190112610591576104f6613d06565b6040516323653fa760e21b8152602960048201526001600160a01b0390911660248201526020816044817365b8cae34c5110baf69b2584c23995f7dfca61d25af480156105845760805190610551575b602090604051908152f35b506020813d60201161057c575b8161056b60209383613dcc565b8101031261007d5760209051610546565b3d915061055e565b6040513d608051823e3d90fd5b60805180fd5b34610591576105a536613d1c565b9060805152601e6020526040608051209060805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600454604051908152f35b3461059157602036600319011261059157600435608051526018602052602060406080512054604051908152f35b3461059157602061063461062e36613d1c565b90615330565b604051908152f35b3461059157602036600319011261059157610655613d06565b61065d61544c565b6001600160a01b031680156106b45760805180546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360805180f35b631e4fbdf760e01b608051526080516004526024608051fd5b346105915760203660031901126105915760043563ffffffff81169081900361059157608051526001602052602060018060a01b036040608051205416604051908152f35b34610591576020366003190112610591576001600160a01b03610733613d06565b16608051526027602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602454604051908152f35b3461059157608051366003190112610591576040517f000000000000000000000000ef45ec3351c8d0df83798d7fc0f82b3ca5c8596f6001600160a01b03168152602090f35b3461059157608051366003190112610591576107cd615414565b604051630ab12fb760e01b8152602960048201527f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b031660248201526020816044817365b8cae34c5110baf69b2584c23995f7dfca61d25af480156105845760805190610858575b60209060015f516020615efe5f395f51905f5255604051908152f35b506020813d602011610883575b8161087260209383613dcc565b8101031261007d576020905161083c565b3d9150610865565b3461059157608051366003190112610591576040517f0000000000000000000000005ddccf56216fc5b545876b04a0a5a1d4cb3d75ab6001600160a01b03168152602090f35b3461059157608051366003190112610591576020603354604051908152f35b346105915760203660031901126105915760405161090d81613db0565b608080518252805160208301528051604080840191909152815160608401525190919061093a8382613dcc565b823682378183015260405161094f8382613dcc565b8236823760a082015260805160c082015260805160e082015260805161010082015261012060805191015260043560805152600e602052604060805120906040519061099a82613db0565b825482526001830154906020830191825260018060a01b036002850154166040840190815260038501549460608501958652604051926109dd8460048401613ff1565b6109e78185613dcc565b808601938452600960405192610a25846008830160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b610a2f8385613dcc565b60a0880193845201549360c08701976001600160401b038616895260e08801946001600160401b038760401c16865260ff6101008a019763ffffffff81871c16895260a01c16976101208a01986008811015610b41578952604080519a518b52905160208b015290516001600160a01b03169089015251606088015251608051909187015b60048210610b2b5750505051946101008501608051905b60048210610b125761020087610b108863ffffffff896001600160401b038a818b511661018088015251166101a086015251166101c0840152516101e0830190613cf9565bf35b60208060019260ff8b5116815201980191019096610acb565b6020806001928551815201930191019091610ab4565b634e487b7160e01b6080515260216004526024608051fd5b3461059157610b6736613d1c565b9060805152601b6020526040608051209060805152602052602060ff60406080512054166040519015158152f35b3461059157602036600319011261059157600435608051526015602052610bfc604060805120610bc481613ed2565b90610bd160018201613ed2565b600282015491610c0a60ff60046003840154930154169260405196879660a0885260a0880190613e76565b908682036020880152613e76565b9260408501526060840152151560808301520390f35b3461059157608051366003190112610591576020600d54604051908152f35b3461059157608051366003190112610591576020600554604051908152f35b3461059157610c8d610c92610c7236613e59565b610c7d939193615414565b610c8684615c62565b3690613ded565b615bcb565b80516020820151610ce0604084015191610cd260608601516040519485936020850197889290916080949284526020840152604083015260608201520190565b03601f198101835282613dcc565b51902060805152601760205260406080512054908115610e165760608214610e035760405163abe3b08560e01b81529260808480610d4385337f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc60048501614b84565b038173fa0b98827b35b920155c8ffab08a38a787eb50d65af4908115610584576040948492610dd6575b50610d78823361576d565b610d83828233615903565b927f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a865180610db487339583614bbd565b0390a460015f516020615efe5f395f51905f5255825191825215156020820152f35b610df79060803d608011610dfc575b610def8183613dcc565b810190614b03565b610d6d565b503d610de5565b63e113b20760e01b608051526004608051fd5b63dd4e0ec360e01b608051526080516004526024608051fd5b3461059157608051366003190112610591576020602e54604051908152f35b3461059157608051366003190112610591576020602354604051908152f35b346105915760805136600319011261059157610e87615414565b33608051526027602052604060805120548015610f2657336080515260276020526080516040608051205560805160805160805160805184335af1610eca6149ba565b5015610f13576040519081527f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988860203392a260015f516020615efe5f395f51905f525560805180f35b6312171d8360e31b608051526004608051fd5b6312d37ee560e31b608051526004608051fd5b3461059157608051366003190112610591576020602554604051908152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201819052906020816024817f000000000000000000000000ef45ec3351c8d0df83798d7fc0f82b3ca5c8596f6001600160a01b03165afa8015610584576111cc575b50806080515260166020526040608051208160805152601560205260406080512060028101549160018060a01b038154166040519163bd85b03960e01b835285600484015260208360248160018060a01b037f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc165afa9283156105845760805193611196575b508061109060046110a3930154956040519863062caf5560e31b8a5260048a015261016060248a0152600161107d6101648b0183614065565b8a81036003190160448c01529101614065565b9560648801526005608488019101613ff1565b610104850152610124840152610144830152608051908290819003817f000000000000000000000000d39ac117cce323221f0627ed9c2d1fd8c7a992526001600160a01b03165afa80156105845760805190611116575b61111290604051918291602083526020830190613e76565b0390f35b503d80608051833e6111288183613dcc565b810190602081830312610591578051906001600160401b03821161059157019080601f8301121561059157815161115e81613f72565b9161116c6040519384613dcc565b81835260208285010111610591578060206111129401602084015e602060805191830101526110fa565b9092506020813d6020116111c4575b816111b260209383613dcc565b8101031261007d5751916110a3611044565b3d91506111a5565b6020813d6020116111fb575b816111e560209383613dcc565b81010312610591576111f6906149ff565b610fbe565b3d91506111d8565b346105915760805136600319011261059157602063ffffffff6080515460c01c16604051908152f35b3461059157602036600319011261059157600435608051526011602052602060406080512054604051908152f35b346105915760a0366003190112610591576004356001600160401b0381116105915761128a903690600401613e29565b6024356001600160401b038111610591576112a9903690600401613e29565b91906044356001600160401b038111610591576112ca903690600401613e29565b90946064356001600160401b038111610591576112eb903690600401613e29565b9490926084356001600160401b0381116105915761130d903690600401613e29565b92909361131861544c565b60ff601454166116ec578882148015906116e2575b80156116d8575b80156116ce575b61168c576080515b8281106113505760805180f35b61135b8184846152df565b35611367828c8b6152df565b35906005811080156116c4575b80156116b2575b801561169f575b61168c578060805152601560205260ff600460406080512001541661167657908a91896113f28f8a6113e96113d3898f94818f816113c3916113cb946152ef565b9c90996152ef565b9490956152df565b3594604051986113e28a613d7a565b3691613f8d565b87523691613f8d565b926020850193845260408501526060840152600160808401526080515260156020526040608051209082518051906001600160401b0382116115b857819061143a8554613e9a565b601f8111611642575b506020906001601f8411146115db57608051926115d0575b50508160011b915f199060031b1c19161782555b51805160018301916001600160401b0382116115b85761148f8354613e9a565b601f8111611579575b506020906001601f8411146115075792826004936001989796936080968751926114fc575b50505f19600383901b1c191690881b1790555b604084015160028201556060840151600382015501910151151560ff8019835416911617905501611343565b015190505f806114bd565b90601f1983169184608051528160805120926080515b818110611561575093600198979693608096938a938360049810611549575b505050811b0190556114d0565b01515f1960f88460031b161c191690555f808061153c565b9293602060018192878601518155019501930161151d565b6115a8908460805152602060805120601f850160051c810191602086106115ae575b601f0160051c0190614018565b5f611498565b909150819061159b565b634e487b7160e01b6080515260416004526024608051fd5b015190505f8061145b565b60808051879052518281209350601f198516905b81811061162a5750908460019594939210611612575b505050811b01825561146f565b01515f1960f88460031b161c191690555f8080611605565b929360206001819287860151815501950193016115ef565b611670908660805152602060805120601f850160051c810191602086106115ae57601f0160051c0190614018565b5f611443565b632abac2c960e11b608051526004526024608051fd5b63b4fa3fb360e01b608051526004608051fd5b506116ab83888a6152df565b3515611382565b506116bc81615d14565b82141561137b565b5060608111611374565b508382141561133b565b5087821415611334565b508282141561132d565b6306e53adf60e01b608051526004608051fd5b3461059157606036600319011261059157611718613d06565b6024359060443590611728615414565b6001600160a01b03169081158015611830575b801561181d575b61168c577f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b0316803b15610591576040519063390f7af560e21b8252336004830152836024830152846044830152670de0b6b3a7640000830460648301528160848160805193608051905af1801561058457611804575b506040519081527fbb0ca0e137fd31811359637c8aa804a4a14cd1f475f7fb93d39cfb10452705a860203392a460015f516020615efe5f395f51905f525560805180f35b60805161181091613dcc565b60805161059157836117c0565b50670de0b6b3a764000081061515611742565b50801561173b565b3461059157608051366003190112610591576040517f0000000000000000000000000a4ac218349d36143ed4a65e7da6e60857b777776001600160a01b03168152602090f35b34610591576080513660031901126105915761189861544c565b60145460ff81166116ec5760055b60608111156118c05760ff19821660011760145560805180f35b8060805152601560205260ff6004604060805120015416158015611904575b6118f1576118ec90613fe3565b6118a6565b633c3de45760e01b608051526004608051fd5b50806080515260156020526002604060805120015461192282615d14565b14156118df565b3461059157608051366003190112610591576007546040516001600160a01b039091168152602090f35b602061196f61196136613e59565b9061196a615414565b614bd8565b60015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576001600160a01b036119a9613d06565b16608051526030602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526012602052602060ff60406080512054166040519015158152f35b3461059157608051366003190112610591576040517f0000000000000000000000004f8fdbd4df216fec5b2bf82d26ef0b76f4a6b1f46001600160a01b03168152602090f35b346105915760203660031901126105915760043560805152601a602052602060406080512054604051908152f35b3461059157602036600319011261059157604051611a8881613d95565b608051815260805160208201526040608051910152600435608051526029602052606060406080512060405190611abe82613d95565b546001600160401b0360018060a01b0382169283815260ff60406020830192848660a01c168452019360e01c1615158352604051938452511660208301525115156040820152f35b34610591576080513660031901126105915760265460405160089190911c6001600160a01b03168152602090f35b3461059157602036600319011261059157611b4d615414565b73522c131fef36ef649928f3e1aa0d4e984cd685e6803b156105915760405190634ca6c1c960e01b82526033600483015260018060a01b037f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc166024830152600435604483015281606481608051935af4801561058457611be0575b60015f516020615efe5f395f51905f525560805180f35b608051611bec91613dcc565b6080516105915780611bc9565b3461059157608051366003190112610591576020600654604051908152f35b3461059157608051366003190112610591576040517f0000000000000000000000000eed2c5e866a3792f587caf0839941ea57fe69156001600160a01b03168152602090f35b346105915760805136600319011261059157608051546040516001600160a01b039091168152602090f35b346105915760203660031901126105915760043560805152600a602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600254604051908152f35b34610591576060366003190112610591576004356024356001600160401b03811161059157611d09903690600401613e29565b90604435906001600160401b03821161059157611dbf92611dd1611d336040943690600401613e29565b611d3b615414565b611d4488615c62565b8551630e691b2160e41b81526001600160a01b037f00000000000000000000000049718f13f9318dfac9638cd0a79a25bbbe4649a9811660048301527f0000000000000000000000008cfe21d4ba33ff195b3b8ed9a14bc7ecf92d05c316602482015261012060448201529687958695610124870191614adf565b84810360031901606486015291614adf565b601f6084830152602060a4830152602160c4830152602260e48301527f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b0316610104830152038173fa0b98827b35b920155c8ffab08a38a787eb50d65af4801561058457608051918291611eea575b50670de0b6b3a7640000820291808304670de0b6b3a76400001490151715611ed257670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed25760405191825260208201527f3ee0042b656a8c28a48ae2fed2887d9eef8afe18542f02b43192596aff9ff28b60403392a360015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b6080515260116004526024608051fd5b9050611f0e915060403d604011611f14575b611f068183613dcc565b8101906149e9565b83611e47565b503d611efc565b34610591576040366003190112610591576001600160a01b03611f3c613d06565b1660805152601060205260406080512060243560805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602f54604051908152f35b3461059157602036600319011261059157600435608051526017602052602060406080512054604051908152f35b346105915760c036600319011261059157366043121561059157604051611fdc608082613dcc565b803660a411610591576020916024915b60a48310612004578361063460a43584600435614a65565b82358152918301918301611fec565b634e487b7160e01b5f52604160045260245ffd5b3461059157608051366003190112610591576020600b54604051908152f35b34610591576080513660031901126105915761206061544c565b60805180546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a360805180f35b346105915760203660031901126105915760043560805152601c602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f000000000000000000000000c0c4a49130925dc7084ffb34ce4693335073d0706001600160a01b03168152602090f35b3461059157608051366003190112610591576020601354604051908152f35b346105915761214636613d1c565b9060805152601d6020526040608051209060805152602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526009602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600854604051908152f35b34610591576020366003190112610591576004358015801561226c575b61168c57600b5460805191905b81831080612260575b15612258578060805152600e60205260ff6009604060805120015460a01c166008811015610b41576001811490811561224d575b506122405761223461223a91613fe3565b92613fe3565b916121e6565b9150505b600b5560805180f35b600714905084612223565b915050612244565b50600d548111156121ef565b506103e881116121d9565b34610591576060366003190112610591576020610634612295613caf565b6044359060243590614a13565b346105915760805136600319011261059157602060ff601454166040519015158152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201526020816024817f000000000000000000000000ef45ec3351c8d0df83798d7fc0f82b3ca5c8596f6001600160a01b03165afa80156105845760805190612342575b6040516001600160a01b039091168152602090f35b506020813d602011612374575b8161235c60209383613dcc565b810103126105915761236f6020916149ff565b61232d565b3d915061234f565b34610591576040366003190112610591576123cb602061239a613d06565b60405163511cd8cf60e01b81526001600160a01b039091166004820152602480359082015291829081906044820190565b03817f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b03165afa9081156105845760805191612436575b50670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b90506020813d602011612460575b8161245160209383613dcc565b8101031261007d575181612409565b3d9150612444565b3461059157602036600319011261059157600435608051526028602052602060406080512054604051908152f35b6020366003190112610591576004356124ad615414565b801561168c57806611c37937e08000026611c37937e0800081048203611ed25780341061269957604051636902c1f360e01b815260236004820152602481018290527f0000000000000000000000004f8fdbd4df216fec5b2bf82d26ef0b76f4a6b1f46001600160a01b03166044820152608051606482015260208160848173eaee8942bc98760ed5b6cb471ac5836748fe16cf5af480156105845761266a575b5073fa0b98827b35b920155c8ffab08a38a787eb50d6803b15610591576040516301fac8cd60e01b81527f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b03166004820152336024820152604481018490526080519091829060649082905af4801561058457612651575b5080341161261e575b60405191825260208201527fb3c981b9b7b707d312a929a2eac4e1b16bf5550677e6b1931a95e846dd32e89f60403392a260015f516020615efe5f395f51905f525560805180f35b60805180808061262e85346149ad565b335af16126396149ba565b506125d6576312171d8360e31b608051526004608051fd5b60805161265d91613dcc565b60805161059157826125cd565b61268b9060203d602011612692575b6126838183613dcc565b810190614983565b508261254e565b503d612679565b63cd1c886760e01b608051526004608051fd5b3461059157608051366003190112610591576020602b54604051908152f35b3461059157608051366003190112610591576020600354604051908152f35b6126f336613d1c565b6126fb615414565b604080516373306cbf60e11b8152603360048201527f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b0316602482015260276044820152606481019390935260848301919091528160a48173522c131fef36ef649928f3e1aa0d4e984cd685e65af480156105845761278e9160805190608051926127a7575b50615ac1565b505060015f516020615efe5f395f51905f525560805180f35b90506127c2915060403d604011611f1457611f068183613dcc565b9083612788565b346105915760203660031901126105915760043560805152601660205260c060406080512060018060a01b0381541690600181015490600281015460038201549060ff6009600485015494015416936040519586526020860152604085015260608401526080830152151560a0820152f35b346105915761284936613d32565b92612852615414565b61285b85615472565b8460805152600e6020526040608051209260098401908154938760805152600c60205260406080512054966080515060ff8660a01c166008811015610b415760018103612ab55750841561168c576128b3838861549d565b6004880154600589015460068a015460078b0154604080516020810195865290810193909352606083019190915260808083019190915281529193916128fa60a082613dcc565b519020600189015490895499600160a01b600190036002820154169060030154906040519b60208d01948d7f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e87526040015260608d015260808c015260a08b015260c08a01528660e08a015263ffffffff85169889610100820152610100815261298661012082613dcc565b51902061299290615522565b91369061299e92613f8d565b6129a791615d6b565b6129b391939293615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020849055825463ffffffff60801b191691901b63ffffffff60801b16178155805460ff60a01b1916600760a01b17905560805115612a6a579163ffffffff7ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72094926080946040519485526020850152841c1660408301526060820152a260015f516020615efe5f395f51905f525560805180f35b90507f755d44a73910c278ea8e6a9c76f0f1f5ffd0a2705bdfcb37fc0eb1d77cfe83db925060409182519182526020820152a2611bc9565b630574e98560e01b608051526004608051fd5b612ace908a6345161eb560e11b60805152600452613ceb565b6044608051fd5b3461059157608051366003190112610591576020603654604051908152f35b346105915760805136600319011261059157602060ff600f54166040519015158152f35b3461059157608051366003190112610591576020602c54604051908152f35b346105915760805136600319011261059157612b51615414565b6024548015610f26576080516024819055908190819081907f0000000000000000000000005ddccf56216fc5b545876b04a0a5a1d4cb3d75ab5af1612b946149ba565b5015610f135760015f516020615efe5f395f51905f525560805180f35b3461059157612bbf36613d32565b90612bc861544c565b612bd0615414565b612bd985615472565b8460805152600e60205260406080512090600982019485549363ffffffff8560801c16928860805152600c60205260ff604060805120549660a01c166008811015610b4157600703612e32576080515463ffffffff8160c01c169081861090811591612e18575b50612df85750821561168c57612d48612d5192612d42612c608a8961549d565b93612d3a60048a01548a612ca76005820154610cd2600760068501549401546040519485936020850197889290916080949284526020840152604083015260608201520190565b51902060018b0154908b549b600360018060a01b036002830154169101549060806040519e8f9060208201967f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e885260408301526060820152015260a08d015260c08c01528860e08c015263ffffffff8d169a8b6101008201526101008152612d3261012082613dcc565b519020615522565b923691613f8d565b90615d6b565b90939193615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020829055865463ffffffff60801b191695811b63ffffffff60801b169590951786557ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72095805460ff60a01b1916600760a01b1790556040805194855260208501919091528301526060820152a260015f516020615efe5f395f51905f525560805180f35b63ffffffff88631be6ac0d60e11b60805152166004526024526044608051fd5b63ffffffff915060a01c1663ffffffff891614158b612c40565b88631d33890f60e11b608051526004526024608051fd5b346105915760203660031901126105915760405163bd85b03960e01b815260048035908201526020816024817f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b03165afa90811561058457608051916124365750670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b3461059157602036600319011261059157600435608051526022602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526021602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b03168152602090f35b3461059157604036600319011261059157612f98613d06565b60243563ffffffff81169182820361059157612fb261544c565b6001600160a01b031691821561168c5760805154600163ffffffff8260a01c16019163ffffffff8311611ed25763ffffffff8260c01c1681108015613080575b61168c578260209263ffffffff7fdd5800b3f65c197a1ed496f5e1dea9434eec56ae67ce70d6e4d281cb146ab0f495169563ffffffff60c01b9060c01b169163ffffffff60a01b9060a01b16906001600160401b0360a01b1916171760805155836080515260018252604060805120856001600160601b0360a01b825416179055604051908152a360805180f35b5063ffffffff83168111612ff2565b3461059157608051366003190112610591576130a9615414565b7365b8cae34c5110baf69b2584c23995f7dfca61d2803b1561059157604051630cf2271b60e41b8152602960048201527f0000000000000000000000000a4ac218349d36143ed4a65e7da6e60857b777776001600160a01b031660248201526080519091829060449082905af4801561058457611be05760015f516020615efe5f395f51905f525560805180f35b346105915760203660031901126105915760043560805152601f602052602060406080512054604051908152f35b346105915760203660031901126105915760405161318281613d7a565b60805181526080516020820152608051604082015260805160608201526080805191015260043560805152603460205260a06040608051206040516131c681613d7a565b600180841b038254169182825260018101546020830190815260028201549060408401918252608060ff600460038601549560608801968752015416940193151584526040519485525160208501525160408401525160608301525115156080820152f35b346105915760805136600319011261059157602063ffffffff6080515460a01c16604051908152f35b34610591576080513660031901126105915761326e61544c565b613276615414565b6025548015610f26576080516025557f000000000000000000000000c0c4a49130925dc7084ffb34ce4693335073d0706001600160a01b038116156132ca575b608051918291829182915af1612b946149ba565b507f0000000000000000000000004f8fdbd4df216fec5b2bf82d26ef0b76f4a6b1f46132b6565b6132fa36613d1c565b613302615414565b61330c8183615330565b803410612699578260805152601160205260406080512061332e838254614976565b905561333a8184615ac1565b917f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b0316803b156105915760405190635e2d2fff60e11b82523360048301528660248301528560448301528160648160805193608051905af180156105845761343b575b50803411613408575b604051938452602084015260018060a01b0316604083015260608201527ff829cb0f939db361d00f6ce8df243365f2b3f62ab614b6e0eadb85e85ae72e5260803392a360015f516020615efe5f395f51905f525560805180f35b60805180808061341885346149ad565b335af16134236149ba565b506133ae576312171d8360e31b608051526004608051fd5b60805161344791613dcc565b60805161059157856133a5565b346105915760c03660031901126105915760243560a4356001600160a01b03811690600435906084359060643590604435908590036105915761349561544c565b60148410801561359f575b8015613595575b801561358a575b8015613580575b8015613575575b801561356b575b8015613560575b8015613550575b8015613548575b61168c577fff4b9d3b935b1ce181cbd983738a06320ee3a3f807c922375fd72ea1f566e1039560a09585600255816003558260045583600555846006556001600160601b03871b60075416176007556040519485526020850152604084015260608301526080820152a160805180f35b5084156134d8565b506601c6bf5263400083116134d1565b5061708082116134ca565b50606482106134c3565b506104b081116134bc565b50600a81106134b5565b506107d086116134ae565b50600586106134a7565b5061271084116134a0565b346105915760805136600319011261059157602060ff602654166040519015158152f35b34610591576020366003190112610591576135e7615414565b604051636ae8cff360e01b815260296004808301919091526001600160a01b037f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc811660248401527f000000000000000000000000ef45ec3351c8d0df83798d7fc0f82b3ca5c8596f1660448301523560648201526060816084817365b8cae34c5110baf69b2584c23995f7dfca61d25af48015610584576080519182918291906136c0575b506111129060015f516020615efe5f395f51905f5255604051938493846040919493926060820195825260208201520152565b905061111292506136e9915060603d6060116136f0575b6136e18183613dcc565b810190614992565b909261368d565b503d6136d7565b3461059157606036600319011261059157613710615414565b604051630536a43b60e51b81526033600482015260018060a01b037f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc16602482015260043560448201526024356064820152604435608482015260208160a48173522c131fef36ef649928f3e1aa0d4e984cd685e65af4801561058457608051906108585760209060015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576137ca615414565b73fa0b98827b35b920155c8ffab08a38a787eb50d6803b156105915760405190630c9c2fd760e11b8252601260048301526010602483015260018060a01b037f0000000000000000000000000eed2c5e866a3792f587caf0839941ea57fe6915166044830152600435606483015281608481608051935af4801561058457613872575b613858601354613fe3565b60135560015f516020615efe5f395f51905f525560805180f35b60805161387e91613dcc565b608051610591578061384d565b34610591576020366003190112610591576004356138a7615414565b8060805152600e60205260406080512060098101805460ff8160a01c166008811015610b4157600181036139e557506005546138eb916001600160401b0316614976565b8043106139cb5750805460ff60a01b1916600360a11b17905560085461391090613fc3565b60085560038101908154806080515260096020528360406080512054146139b2575b5061393c816155e2565b6139446157e3565b60020154905460405190926001600160a01b0392909216919060808160065f516020615ede5f395f51905f5293528151602082015281516040820152336060820152a460015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b5f52602160045260245ffd5b6080515260096020526080516040608051205583613932565b631b016eeb60e21b60805152436004526024526044608051fd5b612ace90856345161eb560e11b60805152600452613ceb565b346105915760203660031901126105915760043560805152600c602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526019602052602060406080512054604051908152f35b346105915760c03660031901126105915760243580151581036105915760843563ffffffff811681036105915760a435906001600160401b03821161059157604092613aad613ac8933690600401613cbe565b929091613ab8615414565b60643590604435906004356140e6565b60015f516020615efe5f395f51905f5255613ae583518093613cf9565b15156020820152f35b3461059157602036600319011261059157613b07613caf565b613b0f61544c565b158080613b45575b613b325760ff8019600f541691151617600f55608051608051f35b63d96668af60e01b608051526004608051fd5b5060ff6014541615613b17565b3461007d57602036600319011261007d57613b6b615414565b7365b8cae34c5110baf69b2584c23995f7dfca61d2803b1561007d57604051633fe171d760e11b815260296004808301919091527f0000000000000000000000000a4ac218349d36143ed4a65e7da6e60857b777776001600160a01b03166024830152356044820152905f90829060649082905af4801561007257613c015760015f516020615efe5f395f51905f525560805180f35b5f613c0b91613dcc565b5f60805280611bc9565b3461007d57602036600319011261007d576004355f5260208052602060405f2054604051908152f35b3461007d575f36600319011261007d5760206040517f00000000000000000000000000000000000000000000000000000000000000018152f35b3461007d575f36600319011261007d576020603554604051908152f35b3461007d575f36600319011261007d57602090602a548152f35b60043590811515820361007d57565b9181601f8401121561007d578235916001600160401b03831161007d576020838186019501011161007d57565b600881101561399e57602452565b90600882101561399e5752565b600435906001600160a01b038216820361007d57565b604090600319011261007d576004359060243590565b90608060031983011261007d57600435916024359160443563ffffffff8116810361007d5791606435906001600160401b03821161007d57613d7691600401613cbe565b9091565b60a081019081106001600160401b0382111761201357604052565b606081019081106001600160401b0382111761201357604052565b61014081019081106001600160401b0382111761201357604052565b90601f801991011681019081106001600160401b0382111761201357604052565b919060405192613dfe608085613dcc565b83906080810192831161007d57905b828210613e1957505050565b8135815260209182019101613e0d565b9181601f8401121561007d578235916001600160401b03831161007d576020808501948460051b01011161007d57565b9060a060031983011261007d576004359160a41161007d57602490565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90600182811c92168015613ec8575b6020831014613eb457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691613ea9565b9060405191825f825492613ee584613e9a565b8084529360018116908115613f505750600114613f0c575b50613f0a92500383613dcc565b565b90505f9291925260205f20905f915b818310613f34575050906020613f0a928201015f613efd565b6020919350806001915483858901015201910190918492613f1b565b905060209250613f0a94915060ff191682840152151560051b8201015f613efd565b6001600160401b03811161201357601f01601f191660200190565b929192613f9982613f72565b91613fa76040519384613dcc565b82948184528183011161007d578281602093845f960137010152565b8015613fcf575f190190565b634e487b7160e01b5f52601160045260245ffd5b5f198114613fcf5760010190565b905f905b6004821061400257505050565b6001602081928554815201930191019091613ff5565b818110614023575050565b5f8155600101614018565b9080821461406157908154905f915b6004831061404b5750505050565b600180919401928354948184015501919261403d565b5050565b5f929181549161407483613e9a565b80835292600181169081156140c9575060011461409057505050565b5f9081526020812093945091925b8383106140af575060209250010190565b60018160209294939454838587010152019101919061409e565b915050602093945060ff929192191683830152151560051b010190565b9695939290969491945f945f98825f52600e60205260405f209561410984615472565b600987019260ff845460a01c16600881101561399e5760070361496357614131868b85614a13565b855f52600c60205260405f2054036149545787968a91614151848a61549d565b60048a015460058b015460068c015460078d01546040805160208101958652908101939093526060830191909152608080830191909152815291939161419860a082613dcc565b5190209460018b0154908b549060028d0198600160a01b600190038a54169e6003019e8f54906040519460208601967fd123b68dcff6cfb42b0407ace14883c1bdb588bc177b11d032630a2d4518caa7885260408701526060860152608085015260a08401528860c08401521596871560e08401526101008301528b61012083015263ffffffff16610140820152610140815261423761016082613dcc565b51902061424390615522565b91369061424f92613f8d565b61425891615d6b565b61426491939293615da5565b6001600160a01b0390811691160361494557614281600854613fc3565b6008558754805f5260096020528560405f205414614932575b50614807578888526015602052604088209460ff6004870154161580156147d7575b6147c8576142e5816040516142d48160048c01613ff1565b6142df608082613dcc565b8c614a65565b6003870154036147b957898952601660205260408920600981019160ff8354166146a3576002880154956201518042049061431f88615a79565b1561468f57600860408e848152601c6020522054101561467b57600160408e8e548152601d6020528181208582526020522054101561466757805460ff60a01b1916600160a11b1790556143f89291906143788b6156c4565b808d52601c60205260408d2061438e8154613fe3565b90558b548d52601d60205260408d20908d5260205260408c206143b18154613fe3565b9055855482546001600160a01b0319166001600160a01b03919091161782558a5460018301556002820188905542600383015560048083019190915589019060050161402e565b600160ff19825416179055875260176020528760408820558187526019602052604087206144268154613fe3565b9055614433603554613fe3565b60355580546001600160a01b037f000000000000000000000000ef45ec3351c8d0df83798d7fc0f82b3ca5c8596f81169116813b15614663576040516340c10f1960e01b81526001600160a01b03919091166004820152602481018a9052888160448183865af180156146585790899161463f575b505081546144c0908a906001600160a01b031661576d565b6060891480614632575b15614610578154604051639fd8ca2d60e01b8152602360048201526001600160a01b039091166024820152604481019190915260608160648173eaee8942bc98760ed5b6cb471ac5836748fe16cf5af48015614605576145e6575b505b61452f6157e3565b5494546040519096506001600160a01b0395909516947fc66c28b1ed7c7dbd812926df0a452a3d82087505f49a860b52f242f35d2dd88b948787855f516020615ede5f395f51905f5260808f966145dd978f60028352602083015215156040820152336060820152a46145ca6040519586958652610100602087015260016145bb610100880183614065565b91878303604089015201614065565b9260608501526004608085019101613ff1565b0390a460029190565b6145fe9060603d6060116136f0576136e18183613dcc565b5050614525565b6040513d8a823e3d90fd5b5080548654919a5061462c9189916001600160a01b0316615903565b98614527565b5060ff60265416156144ca565b8161464991613dcc565b61465457875f6144a8565b8780fd5b6040513d8b823e3d90fd5b8880fd5b63a60e886760e01b8d52600160045260248dfd5b6323a2f40760e21b8d52600860045260248dfd5b6302cf233b60e51b8d52600488905260248dfd5b5050505098509093949291506060861461475157805460ff60a01b1916600360a01b1790556146d1906156c4565b85546146e79085906001600160a01b031661576d565b85548354614700918691906001600160a01b0316615903565b956147096157e3565b54925460405190946001600160a01b0394909416939091508160809160035f516020615ede5f395f51905f52945260208201528715156040820152336060820152a460039190565b805460ff60a01b1916600560a01b17905590959061476e906155e2565b6147766157e3565b54915460405190936001600160a01b0393909316928160809160055f516020615ede5f395f51905f5294526020820152876040820152336060820152a460059190565b63108505d960e01b8952600489fd5b63b4fa3fb360e01b8952600489fd5b506147fb6040516147eb8160048b01613ff1565b6147f6608082613dcc565b61585d565b600287015414156142bc565b5094959850929190951590811591614929575b5061491a57815460ff60a01b1916600160a21b1790915560365461484a919061484290613fe3565b6036556156c4565b80546001600160a01b037f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc81169116813b1561007d575f91606483926040519485938492635e2d2fff60e11b8452600484015260696024840152600160448401525af1801561007257614905575b506148c16157e3565b54905460405190926001600160a01b0392909216919060808160045f516020615ede5f395f51905f529352876020820152876040820152336060820152a460049190565b6149129195505f90613dcc565b5f935f6148b8565b63b4fa3fb360e01b5f5260045ffd5b9050155f61481a565b5f5260096020525f60408120555f61429a565b630574e98560e01b5f5260045ffd5b632f272d1160e21b5f5260045ffd5b84631d33890f60e11b5f5260045260245ffd5b91908201809211613fcf57565b9081602091031261007d575190565b9081606091031261007d578051916040602083015192015190565b91908203918211613fcf57565b3d156149e4573d906149cb82613f72565b916149d96040519384613dcc565b82523d5f602084013e565b606090565b919082604091031261007d576020825192015190565b51906001600160a01b038216820361007d57565b91604051916020830193151584526040830152606082015260608152614a3a608082613dcc565b51902090565b906004811015614a515760051b0190565b634e487b7160e01b5f52603260045260245ffd5b9190614a7090615bcb565b9081519160208101519060606040820151910151916040519460208601967f0000000000000000000000000000000000000000000000000000000000000001885260408701526060860152608085015260a084015260c083015260e082015260e08152614a3a61010082613dcc565b81835290916001600160fb1b03831161007d5760209260051b809284830137010190565b60808183031261007d5781601f8201121561007d5760405191614b27608084613dcc565b82916080810191821161007d57915b818310614b435750505090565b825160ff8116810361007d57815260209283019201614b36565b905f905b60048210614b6e57505050565b6020806001928551815201930191019091614b61565b601081526001600160a01b03918216602082015291166040820152610100810192915f9160e091614bb9906060830190614b5d565b0152565b909291608090614bd18360a0810196614b5d565b1515910152565b919060ff60145416156152d057614bee83615c62565b60065434106152c157610c8d614c05913690613ded565b915f5b60048110615242575082516020840151614c51604086015191610cd260608801516040519485936020850197889290916080949284526020840152604083015260608201520190565b5190205f52601760205260405f20548061512e5750614c6f8361585d565b614c7881615a79565b1561511c575060ff600f541661510e57805f52600960205260405f20546150eb57620151804204815f52601d60205260405f20815f52602052600160405f205410156150d7575f52601c60205260405f20546008614cd881548093614976565b10156150c35760025490818110156150ae575050600454801561509a574304805f52600a60205260405f20546003548091101561508457505f52600a60205260405f20614d258154613fe3565b905560405163abe3b08560e01b8152601060048201527f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b0316602482015233604482015292614d7e6064850182614b5d565b600160e48501526080846101048173fa0b98827b35b920155c8ffab08a38a787eb50d65af4938415610072575f94615063575b50614dbd600d54613fe3565b80600d558094614dce600854613fe3565b600855835f5260096020528160405f20557f0000000000000000000000000000000000000000000000000000000000000001926001600160401b0343169163ffffffff5f5460c01c1660405190614e2482613db0565b8582526020820191878352604081019033825260608101948a86526080820187815260a0830191825260c083019689885260e08401946001600160401b03421686526101008501968752610120850197600189528c5f52600e60205260405f209551865551600186015560018060a01b03905116600285019060018060a01b03166001600160601b0360a01b825416179055516003840155515f5b6004811061504c575050515f905f5b60048110615028575050600882015593516009949094018054915192516001600160a01b03199092166001600160401b03959095169490941760409290921b6fffffffffffffffff0000000000000000169190911760809190911b63ffffffff60801b1617825551600881101561399e57815460ff60a01b191660a09190911b60ff60a01b1617905560065480151580615014575b614fea575b50600654803411614fb6575b50614f89906040519586526020860190614b5d565b60a08401527f04da450f287fc9dd57e2b12725cc80466957c3394d1a26b0cad80d7d0899bb5060c03394a4565b5f8080614fc48194346149ad565b335af1614fcf6149ba565b5015614fdb575f614f74565b6312171d8360e31b5f5260045ffd5b6007545f918291829182916001600160a01b03165af16150086149ba565b5015614fdb575f614f68565b506007546001600160a01b03161515614f63565b9091602060019160ff8551169060ff8560031b92831b921b19161793019101614ece565b600190602083519301926004828701015501614ebf565b61507d91945060803d608011610dfc57610def8183613dcc565b925f614db1565b906368236ccb60e01b5f5260045260245260445ffd5b634e487b7160e01b5f52601260045260245ffd5b63c7f5853160e01b5f5260045260245260445ffd5b6323a2f40760e21b5f52600860045260245ffd5b63a60e886760e01b5f52600160045260245ffd5b805f52600960205260405f2054906346dfad8360e01b5f5260045260245260445ffd5b6288b61360e51b5f5260045ffd5b6302cf233b60e51b5f5260045260245ffd5b9192606083146152335760405163abe3b08560e01b81526080818061517885337f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc60048501614b84565b038173fa0b98827b35b920155c8ffab08a38a787eb50d65af4801561007257615216575b506151a7833361576d565b6151b2838333615903565b346151f2575b6151eb7f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a91604051918291339583614bbd565b0390a45f90565b5f80808034335af16152026149ba565b506151b8576312171d8360e31b5f5260045ffd5b61522e9060803d608011610dfc57610def8183613dcc565b61519c565b63e113b20760e01b5f5260045ffd5b61524c8185614a40565b516005811015806152b6575b1561529257805f52601660205260ff600960405f200154161561528057506001905b01614c08565b63ddb5519f60e01b5f5260045260245ffd5b606581109081156152ab575b5061491a5760019061527a565b60699150115f61529e565b506060811115615258565b63cd1c886760e01b5f5260045ffd5b63d96668af60e01b5f5260045ffd5b9190811015614a515760051b0190565b9190811015614a515760051b81013590601e198136030182121561007d5701908135916001600160401b03831161007d57602001823603811361007d579190565b805f52601660205260ff600960405f2001541615801561540c575b8015615402575b6153f0575f9081526015602090815260408083206002015460118352928190205490516397e32c8560e01b8152600481019390935260248301526044820192909252908160648173522c131fef36ef649928f3e1aa0d4e984cd685e65af4908115610072575f916153c1575090565b90506020813d6020116153e8575b816153dc60209383613dcc565b8101031261007d575190565b3d91506153cf565b63dd4e0ec360e01b5f5260045260245ffd5b5060608114615352565b50811561534b565b60025f516020615efe5f395f51905f52541461543d5760025f516020615efe5f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b0316330361545f57565b63118cdaa760e01b5f523360045260245ffd5b61547a6157e3565b600b54808203615488575050565b6321fdff9d60e21b5f5260045260245260445ffd5b919063ffffffff805f5460c01c1691169281841090811561550b575b506154f5575f838152600160205260409020546001600160a01b03169283156154e0575050565b631be6ac0d60e11b5f5260045260245260445ffd5b82631be6ac0d60e11b5f5260045260245260445ffd5b63ffffffff91506009015460801c1683105f6154b9565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527fb7db8a9ff93f0ace8d65b1e852b0af12effcf8be8a5e25ba5dc1781d23d2717660408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526155b460c082613dcc565b5190209060405190602082019261190160f01b84526022830152604282015260428152614a3a606282613dcc565b600281015473fa0b98827b35b920155c8ffab08a38a787eb50d691823b1561007d576101845f926156a394604051958694859363d22f69c560e01b85526010600486015260018060a01b037f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc16602486015260018060a01b031660448501526156716064850160048301613ff1565b600860e48501910160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b60016101648301525af48015610072576156ba5750565b5f613f0a91613dcc565b600281015473fa0b98827b35b920155c8ffab08a38a787eb50d6916001600160a01b0390911690823b1561007d576101845f9261575794604051958694859363d22f69c560e01b85526010600486015260018060a01b037f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc16602486015260448501526156716064850160048301613ff1565b846101648301525af48015610072576156ba5750565b7f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b031691823b1561007d57604051635e2d2fff60e11b81526001600160a01b039092166004830152602482015260016044820152905f908290606490829084905af18015610072576156ba5750565b600b545f905b6020821080615851575b1561584057805f52600e60205260ff600960405f20015460a01c16600881101561399e5760018114908115615846575b506158405761583461583a91613fe3565b91613fe3565b906157e9565b600b5550565b60079150145f615823565b50600d548111156157f3565b5f5b600481106158b2575060405163042fcd0160e21b815290615884906004830190614b5d565b60208160848173fa0b98827b35b920155c8ffab08a38a787eb50d65af4908115610072575f916153c1575090565b6158bc8183614a40565b51600581101590816158f7575b816158dc575b5061491a5760010161585f565b90505f52601660205260ff600960405f20015416155f6158cf565b605f81111591506158c9565b90915f92815f526015602052600260405f2001549162015180420492815f52601a60205261593560405f205491615e05565b1180615a58575b80615a38575b61594d575050505090565b8091929394505f52601a60205260405f206159688154613fe3565b9055815f52601b60205260405f20905f5260205260405f20600160ff198254161790555f52601e60205260405f20905f5260205260405f206159aa8154613fe3565b90557f0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc6001600160a01b031690813b1561007d57604051635e2d2fff60e11b81526001600160a01b0390911660048201526064602482018190526001604483015290915f918391829084905af1801561007257615a28575b50600190565b5f615a3291613dcc565b5f615a22565b50815f52601e60205260405f20835f52602052600260405f205410615942565b50815f52601b60205260405f20815f5260205260ff60405f2054161561593c565b60018114908115615a88575090565b5f19810191508111613fcf57805f52601960205260405f2054905f52601860205260405f205460018101809111613fcf5760011c111590565b9190825f526016602052615b27600560405f200160405194631b9bc40360e11b86526023600487015260018060a01b037f000000000000000000000000ef45ec3351c8d0df83798d7fc0f82b3ca5c8596f16602487015260448601526064850190613ff1565b60e48301527f0000000000000000000000004f8fdbd4df216fec5b2bf82d26ef0b76f4a6b1f46001600160a01b03166101048301526040826101248173eaee8942bc98760ed5b6cb471ac5836748fe16cf5af4918215610072575f905f93615b8e57509190565b9250506040823d604011615bc3575b81615baa60409383613dcc565b8101031261007d576020615bbd836149ff565b92015190565b3d9150615b9d565b6080604051615bda8282613dcc565b3690375f5b60048110615beb575090565b919060018301808411613fcf575b60048110615c0c57509091600101615bdf565b600190615c198584614a40565b51615c248285614a40565b5110615c31575b01615bf9565b615c3b8184614a40565b51615c468685614a40565b51615c518386614a40565b52615c5c8685614a40565b52615c2b565b6040516331a9108f60e11b815260048101919091526020816024817f0000000000000000000000000eed2c5e866a3792f587caf0839941ea57fe69156001600160a01b03165afa908115610072575f91615cda575b50336001600160a01b0390911603615ccb57565b636061778f60e11b5f5260045ffd5b90506020813d602011615d0c575b81615cf560209383613dcc565b8101031261007d57615d06906149ff565b5f615cb7565b3d9150615ce8565b6018811115615a2257602c811115615d6557603e811115615d5f57604d811115615d59576059811115615d5357605f1015615d4e57600790565b600690565b50600590565b50600490565b50600390565b50600290565b8151919060418303615d9b57615d949250602082015190606060408401519301515f1a90615e5b565b9192909190565b50505f9160029190565b600481101561399e5780615db7575050565b60018103615dce5763f645eedf60e01b5f5260045ffd5b60028103615de9575063fce698f760e01b5f5260045260245ffd5b600314615df35750565b6335e2f38360e21b5f5260045260245ffd5b60018114615e555760028114615e4f5760038114615e495760048114615e435760058114615e3d57600614615e38575f90565b600890565b50600a90565b50600c90565b50600f90565b50601490565b50601990565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411615ed2579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610072575f516001600160a01b03811615615ec857905f905f90565b505f906001905f90565b5050505f916003919056fe3d3a07bd6d8d84b8ac0a290a3fa928176f5e74d1fa2a56adfa2c68f4345207f59b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e0033","recompiledBytecode":"0x60a0806040526004361015610081575b50361561001a575f80fd5b730000000000000000000000000000000000000000803b1561007d575f60449160405192838092631a9ec59560e21b8252602360048301523460248301525af480156100725761006657005b5f61007091613dcc565b005b6040513d5f823e3d90fd5b5f80fd5b5f6080525f3560e01c908163023f711514613c95575080630333052814613c785780630492296014613c3e5780630a01a95f14613c155780630ba4b75114613b525780630e23314214613aee578063130dec3d14613a5a57806315b366c914613a2c57806316a19641146139fe57806316ed02c31461388b5780631a4778b0146137b15780631cab4912146136f75780631fadcc9c146135ce5780632049f209146135aa5780632243de84146134545780632910ce58146132f15780632ae758e4146132545780632baa11771461322b57806330788952146131655780633210768414613137578063325c7d541461308f5780633371756e14612f7f57806334698ee114612f39578063352a425814612f0b57806337720cce14612edd5780633bcd483b14612e4957806340f5efd914612bb1578063453698f114612b3757806345fc4aa614612b1857806346cb6a8814612af45780634a0f6ac814612ad55780634b96dec11461283b5780634d61ac31146127c9578063514e7697146126ea578063541a5d07146126cb578063548bb199146126ac5780635b5e3bd11461249657806362c226681461246857806362d8a6891461237c5780636352211e146122c657806366a5a80b146122a2578063671f8a38146122775780636b6dad07146121bc5780636bd060fb1461219d5780636ce62d421461216f5780636d0fc32a146121385780636e01792c146121195780636f20a888146120d35780636f9eb35f146120a5578063715018a6146120465780637422416b1461202757806375383de114611fb4578063776ee44c14611f865780637b0e394e14611f675780637bf9c5f214611f1b5780638146776c14611cd657806383ac909a14611cb75780638af2ecf614611c895780638da5cb5b14611c5e5780638ef55ef714611c185780638f62c79c14611bf9578063909a236714611b34578063918fd15c14611b06578063976715e314611a6b578063976e74fd14611a3d578063a23d3c35146119f7578063a430cd35146119c4578063a63447b114611988578063a87316ee14611953578063acc72a9414611929578063b19e22d71461187e578063b44a230114611838578063b5258121146116ff578063b69d76a81461125a578063bc0baa751461122c578063c6b274e514611203578063c87b56dd14610f58578063ca1a9efd14610f39578063cf36815714610e6d578063d17e8e5214610e4e578063d1d425c514610e2f578063d504e2f814610c5e578063db95b05a14610c3f578063dc3520e114610c20578063ddb9375c14610b95578063e20a01a514610b59578063e234a671146108f0578063e36f5a97146108d1578063e8d7438f1461088b578063ec260ef9146107b3578063ee16efdd1461076d578063f0403e6b1461074e578063f1930eab14610712578063f2d5bdf4146106cd578063f2fde38b1461063c578063f812212c1461061b578063faba6987146105ed578063fc19b78e146105ce578063fe553464146105975763fe581c3f146104dd575f61000f565b34610591576020366003190112610591576104f6613d06565b6040516323653fa760e21b8152602960048201526001600160a01b0390911660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610551575b602090604051908152f35b506020813d60201161057c575b8161056b60209383613dcc565b8101031261007d5760209051610546565b3d915061055e565b6040513d608051823e3d90fd5b60805180fd5b34610591576105a536613d1c565b9060805152601e6020526040608051209060805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600454604051908152f35b3461059157602036600319011261059157600435608051526018602052602060406080512054604051908152f35b3461059157602061063461062e36613d1c565b90615330565b604051908152f35b3461059157602036600319011261059157610655613d06565b61065d61544c565b6001600160a01b031680156106b45760805180546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360805180f35b631e4fbdf760e01b608051526080516004526024608051fd5b346105915760203660031901126105915760043563ffffffff81169081900361059157608051526001602052602060018060a01b036040608051205416604051908152f35b34610591576020366003190112610591576001600160a01b03610733613d06565b16608051526027602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602454604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576107cd615414565b604051630ab12fb760e01b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610858575b60209060015f516020615efe5f395f51905f5255604051908152f35b506020813d602011610883575b8161087260209383613dcc565b8101031261007d576020905161083c565b3d9150610865565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020603354604051908152f35b346105915760203660031901126105915760405161090d81613db0565b608080518252805160208301528051604080840191909152815160608401525190919061093a8382613dcc565b823682378183015260405161094f8382613dcc565b8236823760a082015260805160c082015260805160e082015260805161010082015261012060805191015260043560805152600e602052604060805120906040519061099a82613db0565b825482526001830154906020830191825260018060a01b036002850154166040840190815260038501549460608501958652604051926109dd8460048401613ff1565b6109e78185613dcc565b808601938452600960405192610a25846008830160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b610a2f8385613dcc565b60a0880193845201549360c08701976001600160401b038616895260e08801946001600160401b038760401c16865260ff6101008a019763ffffffff81871c16895260a01c16976101208a01986008811015610b41578952604080519a518b52905160208b015290516001600160a01b03169089015251606088015251608051909187015b60048210610b2b5750505051946101008501608051905b60048210610b125761020087610b108863ffffffff896001600160401b038a818b511661018088015251166101a086015251166101c0840152516101e0830190613cf9565bf35b60208060019260ff8b5116815201980191019096610acb565b6020806001928551815201930191019091610ab4565b634e487b7160e01b6080515260216004526024608051fd5b3461059157610b6736613d1c565b9060805152601b6020526040608051209060805152602052602060ff60406080512054166040519015158152f35b3461059157602036600319011261059157600435608051526015602052610bfc604060805120610bc481613ed2565b90610bd160018201613ed2565b600282015491610c0a60ff60046003840154930154169260405196879660a0885260a0880190613e76565b908682036020880152613e76565b9260408501526060840152151560808301520390f35b3461059157608051366003190112610591576020600d54604051908152f35b3461059157608051366003190112610591576020600554604051908152f35b3461059157610c8d610c92610c7236613e59565b610c7d939193615414565b610c8684615c62565b3690613ded565b615bcb565b80516020820151610ce0604084015191610cd260608601516040519485936020850197889290916080949284526020840152604083015260608201520190565b03601f198101835282613dcc565b51902060805152601760205260406080512054908115610e165760608214610e035760405163abe3b08560e01b81529260808480610d4385337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4908115610584576040948492610dd6575b50610d78823361576d565b610d83828233615903565b927f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a865180610db487339583614bbd565b0390a460015f516020615efe5f395f51905f5255825191825215156020820152f35b610df79060803d608011610dfc575b610def8183613dcc565b810190614b03565b610d6d565b503d610de5565b63e113b20760e01b608051526004608051fd5b63dd4e0ec360e01b608051526080516004526024608051fd5b3461059157608051366003190112610591576020602e54604051908152f35b3461059157608051366003190112610591576020602354604051908152f35b346105915760805136600319011261059157610e87615414565b33608051526027602052604060805120548015610f2657336080515260276020526080516040608051205560805160805160805160805184335af1610eca6149ba565b5015610f13576040519081527f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988860203392a260015f516020615efe5f395f51905f525560805180f35b6312171d8360e31b608051526004608051fd5b6312d37ee560e31b608051526004608051fd5b3461059157608051366003190112610591576020602554604051908152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201819052906020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610584576111cc575b50806080515260166020526040608051208160805152601560205260406080512060028101549160018060a01b038154166040519163bd85b03960e01b835285600484015260208360248160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa9283156105845760805193611196575b508061109060046110a3930154956040519863062caf5560e31b8a5260048a015261016060248a0152600161107d6101648b0183614065565b8a81036003190160448c01529101614065565b9560648801526005608488019101613ff1565b610104850152610124840152610144830152608051908290819003817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190611116575b61111290604051918291602083526020830190613e76565b0390f35b503d80608051833e6111288183613dcc565b810190602081830312610591578051906001600160401b03821161059157019080601f8301121561059157815161115e81613f72565b9161116c6040519384613dcc565b81835260208285010111610591578060206111129401602084015e602060805191830101526110fa565b9092506020813d6020116111c4575b816111b260209383613dcc565b8101031261007d5751916110a3611044565b3d91506111a5565b6020813d6020116111fb575b816111e560209383613dcc565b81010312610591576111f6906149ff565b610fbe565b3d91506111d8565b346105915760805136600319011261059157602063ffffffff6080515460c01c16604051908152f35b3461059157602036600319011261059157600435608051526011602052602060406080512054604051908152f35b346105915760a0366003190112610591576004356001600160401b0381116105915761128a903690600401613e29565b6024356001600160401b038111610591576112a9903690600401613e29565b91906044356001600160401b038111610591576112ca903690600401613e29565b90946064356001600160401b038111610591576112eb903690600401613e29565b9490926084356001600160401b0381116105915761130d903690600401613e29565b92909361131861544c565b60ff601454166116ec578882148015906116e2575b80156116d8575b80156116ce575b61168c576080515b8281106113505760805180f35b61135b8184846152df565b35611367828c8b6152df565b35906005811080156116c4575b80156116b2575b801561169f575b61168c578060805152601560205260ff600460406080512001541661167657908a91896113f28f8a6113e96113d3898f94818f816113c3916113cb946152ef565b9c90996152ef565b9490956152df565b3594604051986113e28a613d7a565b3691613f8d565b87523691613f8d565b926020850193845260408501526060840152600160808401526080515260156020526040608051209082518051906001600160401b0382116115b857819061143a8554613e9a565b601f8111611642575b506020906001601f8411146115db57608051926115d0575b50508160011b915f199060031b1c19161782555b51805160018301916001600160401b0382116115b85761148f8354613e9a565b601f8111611579575b506020906001601f8411146115075792826004936001989796936080968751926114fc575b50505f19600383901b1c191690881b1790555b604084015160028201556060840151600382015501910151151560ff8019835416911617905501611343565b015190505f806114bd565b90601f1983169184608051528160805120926080515b818110611561575093600198979693608096938a938360049810611549575b505050811b0190556114d0565b01515f1960f88460031b161c191690555f808061153c565b9293602060018192878601518155019501930161151d565b6115a8908460805152602060805120601f850160051c810191602086106115ae575b601f0160051c0190614018565b5f611498565b909150819061159b565b634e487b7160e01b6080515260416004526024608051fd5b015190505f8061145b565b60808051879052518281209350601f198516905b81811061162a5750908460019594939210611612575b505050811b01825561146f565b01515f1960f88460031b161c191690555f8080611605565b929360206001819287860151815501950193016115ef565b611670908660805152602060805120601f850160051c810191602086106115ae57601f0160051c0190614018565b5f611443565b632abac2c960e11b608051526004526024608051fd5b63b4fa3fb360e01b608051526004608051fd5b506116ab83888a6152df565b3515611382565b506116bc81615d14565b82141561137b565b5060608111611374565b508382141561133b565b5087821415611334565b508282141561132d565b6306e53adf60e01b608051526004608051fd5b3461059157606036600319011261059157611718613d06565b6024359060443590611728615414565b6001600160a01b03169081158015611830575b801561181d575b61168c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b15610591576040519063390f7af560e21b8252336004830152836024830152846044830152670de0b6b3a7640000830460648301528160848160805193608051905af1801561058457611804575b506040519081527fbb0ca0e137fd31811359637c8aa804a4a14cd1f475f7fb93d39cfb10452705a860203392a460015f516020615efe5f395f51905f525560805180f35b60805161181091613dcc565b60805161059157836117c0565b50670de0b6b3a764000081061515611742565b50801561173b565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610591576080513660031901126105915761189861544c565b60145460ff81166116ec5760055b60608111156118c05760ff19821660011760145560805180f35b8060805152601560205260ff6004604060805120015416158015611904575b6118f1576118ec90613fe3565b6118a6565b633c3de45760e01b608051526004608051fd5b50806080515260156020526002604060805120015461192282615d14565b14156118df565b3461059157608051366003190112610591576007546040516001600160a01b039091168152602090f35b602061196f61196136613e59565b9061196a615414565b614bd8565b60015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576001600160a01b036119a9613d06565b16608051526030602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526012602052602060ff60406080512054166040519015158152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760203660031901126105915760043560805152601a602052602060406080512054604051908152f35b3461059157602036600319011261059157604051611a8881613d95565b608051815260805160208201526040608051910152600435608051526029602052606060406080512060405190611abe82613d95565b546001600160401b0360018060a01b0382169283815260ff60406020830192848660a01c168452019360e01c1615158352604051938452511660208301525115156040820152f35b34610591576080513660031901126105915760265460405160089190911c6001600160a01b03168152602090f35b3461059157602036600319011261059157611b4d615414565b730000000000000000000000000000000000000000803b156105915760405190634ca6c1c960e01b82526033600483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166024830152600435604483015281606481608051935af4801561058457611be0575b60015f516020615efe5f395f51905f525560805180f35b608051611bec91613dcc565b6080516105915780611bc9565b3461059157608051366003190112610591576020600654604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760805136600319011261059157608051546040516001600160a01b039091168152602090f35b346105915760203660031901126105915760043560805152600a602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600254604051908152f35b34610591576060366003190112610591576004356024356001600160401b03811161059157611d09903690600401613e29565b90604435906001600160401b03821161059157611dbf92611dd1611d336040943690600401613e29565b611d3b615414565b611d4488615c62565b8551630e691b2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000016602482015261012060448201529687958695610124870191614adf565b84810360031901606486015291614adf565b601f6084830152602060a4830152602160c4830152602260e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661010483015203817300000000000000000000000000000000000000005af4801561058457608051918291611eea575b50670de0b6b3a7640000820291808304670de0b6b3a76400001490151715611ed257670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed25760405191825260208201527f3ee0042b656a8c28a48ae2fed2887d9eef8afe18542f02b43192596aff9ff28b60403392a360015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b6080515260116004526024608051fd5b9050611f0e915060403d604011611f14575b611f068183613dcc565b8101906149e9565b83611e47565b503d611efc565b34610591576040366003190112610591576001600160a01b03611f3c613d06565b1660805152601060205260406080512060243560805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602f54604051908152f35b3461059157602036600319011261059157600435608051526017602052602060406080512054604051908152f35b346105915760c036600319011261059157366043121561059157604051611fdc608082613dcc565b803660a411610591576020916024915b60a48310612004578361063460a43584600435614a65565b82358152918301918301611fec565b634e487b7160e01b5f52604160045260245ffd5b3461059157608051366003190112610591576020600b54604051908152f35b34610591576080513660031901126105915761206061544c565b60805180546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a360805180f35b346105915760203660031901126105915760043560805152601c602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020601354604051908152f35b346105915761214636613d1c565b9060805152601d6020526040608051209060805152602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526009602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600854604051908152f35b34610591576020366003190112610591576004358015801561226c575b61168c57600b5460805191905b81831080612260575b15612258578060805152600e60205260ff6009604060805120015460a01c166008811015610b41576001811490811561224d575b506122405761223461223a91613fe3565b92613fe3565b916121e6565b9150505b600b5560805180f35b600714905084612223565b915050612244565b50600d548111156121ef565b506103e881116121d9565b34610591576060366003190112610591576020610634612295613caf565b6044359060243590614a13565b346105915760805136600319011261059157602060ff601454166040519015158152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190612342575b6040516001600160a01b039091168152602090f35b506020813d602011612374575b8161235c60209383613dcc565b810103126105915761236f6020916149ff565b61232d565b3d915061234f565b34610591576040366003190112610591576123cb602061239a613d06565b60405163511cd8cf60e01b81526001600160a01b039091166004820152602480359082015291829081906044820190565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105845760805191612436575b50670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b90506020813d602011612460575b8161245160209383613dcc565b8101031261007d575181612409565b3d9150612444565b3461059157602036600319011261059157600435608051526028602052602060406080512054604051908152f35b6020366003190112610591576004356124ad615414565b801561168c57806611c37937e08000026611c37937e0800081048203611ed25780341061269957604051636902c1f360e01b815260236004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316604482015260805160648201526020816084817300000000000000000000000000000000000000005af480156105845761266a575b50730000000000000000000000000000000000000000803b15610591576040516301fac8cd60e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152336024820152604481018490526080519091829060649082905af4801561058457612651575b5080341161261e575b60405191825260208201527fb3c981b9b7b707d312a929a2eac4e1b16bf5550677e6b1931a95e846dd32e89f60403392a260015f516020615efe5f395f51905f525560805180f35b60805180808061262e85346149ad565b335af16126396149ba565b506125d6576312171d8360e31b608051526004608051fd5b60805161265d91613dcc565b60805161059157826125cd565b61268b9060203d602011612692575b6126838183613dcc565b810190614983565b508261254e565b503d612679565b63cd1c886760e01b608051526004608051fd5b3461059157608051366003190112610591576020602b54604051908152f35b3461059157608051366003190112610591576020600354604051908152f35b6126f336613d1c565b6126fb615414565b604080516373306cbf60e11b8152603360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015260276044820152606481019390935260848301919091528160a4817300000000000000000000000000000000000000005af480156105845761278e9160805190608051926127a7575b50615ac1565b505060015f516020615efe5f395f51905f525560805180f35b90506127c2915060403d604011611f1457611f068183613dcc565b9083612788565b346105915760203660031901126105915760043560805152601660205260c060406080512060018060a01b0381541690600181015490600281015460038201549060ff6009600485015494015416936040519586526020860152604085015260608401526080830152151560a0820152f35b346105915761284936613d32565b92612852615414565b61285b85615472565b8460805152600e6020526040608051209260098401908154938760805152600c60205260406080512054966080515060ff8660a01c166008811015610b415760018103612ab55750841561168c576128b3838861549d565b6004880154600589015460068a015460078b0154604080516020810195865290810193909352606083019190915260808083019190915281529193916128fa60a082613dcc565b519020600189015490895499600160a01b600190036002820154169060030154906040519b60208d01948d7f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e87526040015260608d015260808c015260a08b015260c08a01528660e08a015263ffffffff85169889610100820152610100815261298661012082613dcc565b51902061299290615522565b91369061299e92613f8d565b6129a791615d6b565b6129b391939293615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020849055825463ffffffff60801b191691901b63ffffffff60801b16178155805460ff60a01b1916600760a01b17905560805115612a6a579163ffffffff7ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72094926080946040519485526020850152841c1660408301526060820152a260015f516020615efe5f395f51905f525560805180f35b90507f755d44a73910c278ea8e6a9c76f0f1f5ffd0a2705bdfcb37fc0eb1d77cfe83db925060409182519182526020820152a2611bc9565b630574e98560e01b608051526004608051fd5b612ace908a6345161eb560e11b60805152600452613ceb565b6044608051fd5b3461059157608051366003190112610591576020603654604051908152f35b346105915760805136600319011261059157602060ff600f54166040519015158152f35b3461059157608051366003190112610591576020602c54604051908152f35b346105915760805136600319011261059157612b51615414565b6024548015610f26576080516024819055908190819081907f00000000000000000000000000000000000000000000000000000000000000005af1612b946149ba565b5015610f135760015f516020615efe5f395f51905f525560805180f35b3461059157612bbf36613d32565b90612bc861544c565b612bd0615414565b612bd985615472565b8460805152600e60205260406080512090600982019485549363ffffffff8560801c16928860805152600c60205260ff604060805120549660a01c166008811015610b4157600703612e32576080515463ffffffff8160c01c169081861090811591612e18575b50612df85750821561168c57612d48612d5192612d42612c608a8961549d565b93612d3a60048a01548a612ca76005820154610cd2600760068501549401546040519485936020850197889290916080949284526020840152604083015260608201520190565b51902060018b0154908b549b600360018060a01b036002830154169101549060806040519e8f9060208201967f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e885260408301526060820152015260a08d015260c08c01528860e08c015263ffffffff8d169a8b6101008201526101008152612d3261012082613dcc565b519020615522565b923691613f8d565b90615d6b565b90939193615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020829055865463ffffffff60801b191695811b63ffffffff60801b169590951786557ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72095805460ff60a01b1916600760a01b1790556040805194855260208501919091528301526060820152a260015f516020615efe5f395f51905f525560805180f35b63ffffffff88631be6ac0d60e11b60805152166004526024526044608051fd5b63ffffffff915060a01c1663ffffffff891614158b612c40565b88631d33890f60e11b608051526004526024608051fd5b346105915760203660031901126105915760405163bd85b03960e01b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561058457608051916124365750670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b3461059157602036600319011261059157600435608051526022602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526021602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157604036600319011261059157612f98613d06565b60243563ffffffff81169182820361059157612fb261544c565b6001600160a01b031691821561168c5760805154600163ffffffff8260a01c16019163ffffffff8311611ed25763ffffffff8260c01c1681108015613080575b61168c578260209263ffffffff7fdd5800b3f65c197a1ed496f5e1dea9434eec56ae67ce70d6e4d281cb146ab0f495169563ffffffff60c01b9060c01b169163ffffffff60a01b9060a01b16906001600160401b0360a01b1916171760805155836080515260018252604060805120856001600160601b0360a01b825416179055604051908152a360805180f35b5063ffffffff83168111612ff2565b3461059157608051366003190112610591576130a9615414565b730000000000000000000000000000000000000000803b1561059157604051630cf2271b60e41b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526080519091829060449082905af4801561058457611be05760015f516020615efe5f395f51905f525560805180f35b346105915760203660031901126105915760043560805152601f602052602060406080512054604051908152f35b346105915760203660031901126105915760405161318281613d7a565b60805181526080516020820152608051604082015260805160608201526080805191015260043560805152603460205260a06040608051206040516131c681613d7a565b600180841b038254169182825260018101546020830190815260028201549060408401918252608060ff600460038601549560608801968752015416940193151584526040519485525160208501525160408401525160608301525115156080820152f35b346105915760805136600319011261059157602063ffffffff6080515460a01c16604051908152f35b34610591576080513660031901126105915761326e61544c565b613276615414565b6025548015610f26576080516025557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b038116156132ca575b608051918291829182915af1612b946149ba565b507f00000000000000000000000000000000000000000000000000000000000000006132b6565b6132fa36613d1c565b613302615414565b61330c8183615330565b803410612699578260805152601160205260406080512061332e838254614976565b905561333a8184615ac1565b917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156105915760405190635e2d2fff60e11b82523360048301528660248301528560448301528160648160805193608051905af180156105845761343b575b50803411613408575b604051938452602084015260018060a01b0316604083015260608201527ff829cb0f939db361d00f6ce8df243365f2b3f62ab614b6e0eadb85e85ae72e5260803392a360015f516020615efe5f395f51905f525560805180f35b60805180808061341885346149ad565b335af16134236149ba565b506133ae576312171d8360e31b608051526004608051fd5b60805161344791613dcc565b60805161059157856133a5565b346105915760c03660031901126105915760243560a4356001600160a01b03811690600435906084359060643590604435908590036105915761349561544c565b60148410801561359f575b8015613595575b801561358a575b8015613580575b8015613575575b801561356b575b8015613560575b8015613550575b8015613548575b61168c577fff4b9d3b935b1ce181cbd983738a06320ee3a3f807c922375fd72ea1f566e1039560a09585600255816003558260045583600555846006556001600160601b03871b60075416176007556040519485526020850152604084015260608301526080820152a160805180f35b5084156134d8565b506601c6bf5263400083116134d1565b5061708082116134ca565b50606482106134c3565b506104b081116134bc565b50600a81106134b5565b506107d086116134ae565b50600586106134a7565b5061271084116134a0565b346105915760805136600319011261059157602060ff602654166040519015158152f35b34610591576020366003190112610591576135e7615414565b604051636ae8cff360e01b815260296004808301919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248401527f00000000000000000000000000000000000000000000000000000000000000001660448301523560648201526060816084817300000000000000000000000000000000000000005af48015610584576080519182918291906136c0575b506111129060015f516020615efe5f395f51905f5255604051938493846040919493926060820195825260208201520152565b905061111292506136e9915060603d6060116136f0575b6136e18183613dcc565b810190614992565b909261368d565b503d6136d7565b3461059157606036600319011261059157613710615414565b604051630536a43b60e51b81526033600482015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015260043560448201526024356064820152604435608482015260208160a4817300000000000000000000000000000000000000005af4801561058457608051906108585760209060015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576137ca615414565b730000000000000000000000000000000000000000803b156105915760405190630c9c2fd760e11b8252601260048301526010602483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166044830152600435606483015281608481608051935af4801561058457613872575b613858601354613fe3565b60135560015f516020615efe5f395f51905f525560805180f35b60805161387e91613dcc565b608051610591578061384d565b34610591576020366003190112610591576004356138a7615414565b8060805152600e60205260406080512060098101805460ff8160a01c166008811015610b4157600181036139e557506005546138eb916001600160401b0316614976565b8043106139cb5750805460ff60a01b1916600360a11b17905560085461391090613fc3565b60085560038101908154806080515260096020528360406080512054146139b2575b5061393c816155e2565b6139446157e3565b60020154905460405190926001600160a01b0392909216919060808160065f516020615ede5f395f51905f5293528151602082015281516040820152336060820152a460015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b5f52602160045260245ffd5b6080515260096020526080516040608051205583613932565b631b016eeb60e21b60805152436004526024526044608051fd5b612ace90856345161eb560e11b60805152600452613ceb565b346105915760203660031901126105915760043560805152600c602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526019602052602060406080512054604051908152f35b346105915760c03660031901126105915760243580151581036105915760843563ffffffff811681036105915760a435906001600160401b03821161059157604092613aad613ac8933690600401613cbe565b929091613ab8615414565b60643590604435906004356140e6565b60015f516020615efe5f395f51905f5255613ae583518093613cf9565b15156020820152f35b3461059157602036600319011261059157613b07613caf565b613b0f61544c565b158080613b45575b613b325760ff8019600f541691151617600f55608051608051f35b63d96668af60e01b608051526004608051fd5b5060ff6014541615613b17565b3461007d57602036600319011261007d57613b6b615414565b730000000000000000000000000000000000000000803b1561007d57604051633fe171d760e11b815260296004808301919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166024830152356044820152905f90829060649082905af4801561007257613c015760015f516020615efe5f395f51905f525560805180f35b5f613c0b91613dcc565b5f60805280611bc9565b3461007d57602036600319011261007d576004355f5260208052602060405f2054604051908152f35b3461007d575f36600319011261007d5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461007d575f36600319011261007d576020603554604051908152f35b3461007d575f36600319011261007d57602090602a548152f35b60043590811515820361007d57565b9181601f8401121561007d578235916001600160401b03831161007d576020838186019501011161007d57565b600881101561399e57602452565b90600882101561399e5752565b600435906001600160a01b038216820361007d57565b604090600319011261007d576004359060243590565b90608060031983011261007d57600435916024359160443563ffffffff8116810361007d5791606435906001600160401b03821161007d57613d7691600401613cbe565b9091565b60a081019081106001600160401b0382111761201357604052565b606081019081106001600160401b0382111761201357604052565b61014081019081106001600160401b0382111761201357604052565b90601f801991011681019081106001600160401b0382111761201357604052565b919060405192613dfe608085613dcc565b83906080810192831161007d57905b828210613e1957505050565b8135815260209182019101613e0d565b9181601f8401121561007d578235916001600160401b03831161007d576020808501948460051b01011161007d57565b9060a060031983011261007d576004359160a41161007d57602490565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90600182811c92168015613ec8575b6020831014613eb457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691613ea9565b9060405191825f825492613ee584613e9a565b8084529360018116908115613f505750600114613f0c575b50613f0a92500383613dcc565b565b90505f9291925260205f20905f915b818310613f34575050906020613f0a928201015f613efd565b6020919350806001915483858901015201910190918492613f1b565b905060209250613f0a94915060ff191682840152151560051b8201015f613efd565b6001600160401b03811161201357601f01601f191660200190565b929192613f9982613f72565b91613fa76040519384613dcc565b82948184528183011161007d578281602093845f960137010152565b8015613fcf575f190190565b634e487b7160e01b5f52601160045260245ffd5b5f198114613fcf5760010190565b905f905b6004821061400257505050565b6001602081928554815201930191019091613ff5565b818110614023575050565b5f8155600101614018565b9080821461406157908154905f915b6004831061404b5750505050565b600180919401928354948184015501919261403d565b5050565b5f929181549161407483613e9a565b80835292600181169081156140c9575060011461409057505050565b5f9081526020812093945091925b8383106140af575060209250010190565b60018160209294939454838587010152019101919061409e565b915050602093945060ff929192191683830152151560051b010190565b9695939290969491945f945f98825f52600e60205260405f209561410984615472565b600987019260ff845460a01c16600881101561399e5760070361496357614131868b85614a13565b855f52600c60205260405f2054036149545787968a91614151848a61549d565b60048a015460058b015460068c015460078d01546040805160208101958652908101939093526060830191909152608080830191909152815291939161419860a082613dcc565b5190209460018b0154908b549060028d0198600160a01b600190038a54169e6003019e8f54906040519460208601967fd123b68dcff6cfb42b0407ace14883c1bdb588bc177b11d032630a2d4518caa7885260408701526060860152608085015260a08401528860c08401521596871560e08401526101008301528b61012083015263ffffffff16610140820152610140815261423761016082613dcc565b51902061424390615522565b91369061424f92613f8d565b61425891615d6b565b61426491939293615da5565b6001600160a01b0390811691160361494557614281600854613fc3565b6008558754805f5260096020528560405f205414614932575b50614807578888526015602052604088209460ff6004870154161580156147d7575b6147c8576142e5816040516142d48160048c01613ff1565b6142df608082613dcc565b8c614a65565b6003870154036147b957898952601660205260408920600981019160ff8354166146a3576002880154956201518042049061431f88615a79565b1561468f57600860408e848152601c6020522054101561467b57600160408e8e548152601d6020528181208582526020522054101561466757805460ff60a01b1916600160a11b1790556143f89291906143788b6156c4565b808d52601c60205260408d2061438e8154613fe3565b90558b548d52601d60205260408d20908d5260205260408c206143b18154613fe3565b9055855482546001600160a01b0319166001600160a01b03919091161782558a5460018301556002820188905542600383015560048083019190915589019060050161402e565b600160ff19825416179055875260176020528760408820558187526019602052604087206144268154613fe3565b9055614433603554613fe3565b60355580546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b15614663576040516340c10f1960e01b81526001600160a01b03919091166004820152602481018a9052888160448183865af180156146585790899161463f575b505081546144c0908a906001600160a01b031661576d565b6060891480614632575b15614610578154604051639fd8ca2d60e01b8152602360048201526001600160a01b03909116602482015260448101919091526060816064817300000000000000000000000000000000000000005af48015614605576145e6575b505b61452f6157e3565b5494546040519096506001600160a01b0395909516947fc66c28b1ed7c7dbd812926df0a452a3d82087505f49a860b52f242f35d2dd88b948787855f516020615ede5f395f51905f5260808f966145dd978f60028352602083015215156040820152336060820152a46145ca6040519586958652610100602087015260016145bb610100880183614065565b91878303604089015201614065565b9260608501526004608085019101613ff1565b0390a460029190565b6145fe9060603d6060116136f0576136e18183613dcc565b5050614525565b6040513d8a823e3d90fd5b5080548654919a5061462c9189916001600160a01b0316615903565b98614527565b5060ff60265416156144ca565b8161464991613dcc565b61465457875f6144a8565b8780fd5b6040513d8b823e3d90fd5b8880fd5b63a60e886760e01b8d52600160045260248dfd5b6323a2f40760e21b8d52600860045260248dfd5b6302cf233b60e51b8d52600488905260248dfd5b5050505098509093949291506060861461475157805460ff60a01b1916600360a01b1790556146d1906156c4565b85546146e79085906001600160a01b031661576d565b85548354614700918691906001600160a01b0316615903565b956147096157e3565b54925460405190946001600160a01b0394909416939091508160809160035f516020615ede5f395f51905f52945260208201528715156040820152336060820152a460039190565b805460ff60a01b1916600560a01b17905590959061476e906155e2565b6147766157e3565b54915460405190936001600160a01b0393909316928160809160055f516020615ede5f395f51905f5294526020820152876040820152336060820152a460059190565b63108505d960e01b8952600489fd5b63b4fa3fb360e01b8952600489fd5b506147fb6040516147eb8160048b01613ff1565b6147f6608082613dcc565b61585d565b600287015414156142bc565b5094959850929190951590811591614929575b5061491a57815460ff60a01b1916600160a21b1790915560365461484a919061484290613fe3565b6036556156c4565b80546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b1561007d575f91606483926040519485938492635e2d2fff60e11b8452600484015260696024840152600160448401525af1801561007257614905575b506148c16157e3565b54905460405190926001600160a01b0392909216919060808160045f516020615ede5f395f51905f529352876020820152876040820152336060820152a460049190565b6149129195505f90613dcc565b5f935f6148b8565b63b4fa3fb360e01b5f5260045ffd5b9050155f61481a565b5f5260096020525f60408120555f61429a565b630574e98560e01b5f5260045ffd5b632f272d1160e21b5f5260045ffd5b84631d33890f60e11b5f5260045260245ffd5b91908201809211613fcf57565b9081602091031261007d575190565b9081606091031261007d578051916040602083015192015190565b91908203918211613fcf57565b3d156149e4573d906149cb82613f72565b916149d96040519384613dcc565b82523d5f602084013e565b606090565b919082604091031261007d576020825192015190565b51906001600160a01b038216820361007d57565b91604051916020830193151584526040830152606082015260608152614a3a608082613dcc565b51902090565b906004811015614a515760051b0190565b634e487b7160e01b5f52603260045260245ffd5b9190614a7090615bcb565b9081519160208101519060606040820151910151916040519460208601967f0000000000000000000000000000000000000000000000000000000000000000885260408701526060860152608085015260a084015260c083015260e082015260e08152614a3a61010082613dcc565b81835290916001600160fb1b03831161007d5760209260051b809284830137010190565b60808183031261007d5781601f8201121561007d5760405191614b27608084613dcc565b82916080810191821161007d57915b818310614b435750505090565b825160ff8116810361007d57815260209283019201614b36565b905f905b60048210614b6e57505050565b6020806001928551815201930191019091614b61565b601081526001600160a01b03918216602082015291166040820152610100810192915f9160e091614bb9906060830190614b5d565b0152565b909291608090614bd18360a0810196614b5d565b1515910152565b919060ff60145416156152d057614bee83615c62565b60065434106152c157610c8d614c05913690613ded565b915f5b60048110615242575082516020840151614c51604086015191610cd260608801516040519485936020850197889290916080949284526020840152604083015260608201520190565b5190205f52601760205260405f20548061512e5750614c6f8361585d565b614c7881615a79565b1561511c575060ff600f541661510e57805f52600960205260405f20546150eb57620151804204815f52601d60205260405f20815f52602052600160405f205410156150d7575f52601c60205260405f20546008614cd881548093614976565b10156150c35760025490818110156150ae575050600454801561509a574304805f52600a60205260405f20546003548091101561508457505f52600a60205260405f20614d258154613fe3565b905560405163abe3b08560e01b8152601060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015233604482015292614d7e6064850182614b5d565b600160e4850152608084610104817300000000000000000000000000000000000000005af4938415610072575f94615063575b50614dbd600d54613fe3565b80600d558094614dce600854613fe3565b600855835f5260096020528160405f20557f0000000000000000000000000000000000000000000000000000000000000000926001600160401b0343169163ffffffff5f5460c01c1660405190614e2482613db0565b8582526020820191878352604081019033825260608101948a86526080820187815260a0830191825260c083019689885260e08401946001600160401b03421686526101008501968752610120850197600189528c5f52600e60205260405f209551865551600186015560018060a01b03905116600285019060018060a01b03166001600160601b0360a01b825416179055516003840155515f5b6004811061504c575050515f905f5b60048110615028575050600882015593516009949094018054915192516001600160a01b03199092166001600160401b03959095169490941760409290921b6fffffffffffffffff0000000000000000169190911760809190911b63ffffffff60801b1617825551600881101561399e57815460ff60a01b191660a09190911b60ff60a01b1617905560065480151580615014575b614fea575b50600654803411614fb6575b50614f89906040519586526020860190614b5d565b60a08401527f04da450f287fc9dd57e2b12725cc80466957c3394d1a26b0cad80d7d0899bb5060c03394a4565b5f8080614fc48194346149ad565b335af1614fcf6149ba565b5015614fdb575f614f74565b6312171d8360e31b5f5260045ffd5b6007545f918291829182916001600160a01b03165af16150086149ba565b5015614fdb575f614f68565b506007546001600160a01b03161515614f63565b9091602060019160ff8551169060ff8560031b92831b921b19161793019101614ece565b600190602083519301926004828701015501614ebf565b61507d91945060803d608011610dfc57610def8183613dcc565b925f614db1565b906368236ccb60e01b5f5260045260245260445ffd5b634e487b7160e01b5f52601260045260245ffd5b63c7f5853160e01b5f5260045260245260445ffd5b6323a2f40760e21b5f52600860045260245ffd5b63a60e886760e01b5f52600160045260245ffd5b805f52600960205260405f2054906346dfad8360e01b5f5260045260245260445ffd5b6288b61360e51b5f5260045ffd5b6302cf233b60e51b5f5260045260245ffd5b9192606083146152335760405163abe3b08560e01b81526080818061517885337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4801561007257615216575b506151a7833361576d565b6151b2838333615903565b346151f2575b6151eb7f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a91604051918291339583614bbd565b0390a45f90565b5f80808034335af16152026149ba565b506151b8576312171d8360e31b5f5260045ffd5b61522e9060803d608011610dfc57610def8183613dcc565b61519c565b63e113b20760e01b5f5260045ffd5b61524c8185614a40565b516005811015806152b6575b1561529257805f52601660205260ff600960405f200154161561528057506001905b01614c08565b63ddb5519f60e01b5f5260045260245ffd5b606581109081156152ab575b5061491a5760019061527a565b60699150115f61529e565b506060811115615258565b63cd1c886760e01b5f5260045ffd5b63d96668af60e01b5f5260045ffd5b9190811015614a515760051b0190565b9190811015614a515760051b81013590601e198136030182121561007d5701908135916001600160401b03831161007d57602001823603811361007d579190565b805f52601660205260ff600960405f2001541615801561540c575b8015615402575b6153f0575f9081526015602090815260408083206002015460118352928190205490516397e32c8560e01b815260048101939093526024830152604482019290925290816064817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b90506020813d6020116153e8575b816153dc60209383613dcc565b8101031261007d575190565b3d91506153cf565b63dd4e0ec360e01b5f5260045260245ffd5b5060608114615352565b50811561534b565b60025f516020615efe5f395f51905f52541461543d5760025f516020615efe5f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b0316330361545f57565b63118cdaa760e01b5f523360045260245ffd5b61547a6157e3565b600b54808203615488575050565b6321fdff9d60e21b5f5260045260245260445ffd5b919063ffffffff805f5460c01c1691169281841090811561550b575b506154f5575f838152600160205260409020546001600160a01b03169283156154e0575050565b631be6ac0d60e11b5f5260045260245260445ffd5b82631be6ac0d60e11b5f5260045260245260445ffd5b63ffffffff91506009015460801c1683105f6154b9565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527fb7db8a9ff93f0ace8d65b1e852b0af12effcf8be8a5e25ba5dc1781d23d2717660408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526155b460c082613dcc565b5190209060405190602082019261190160f01b84526022830152604282015260428152614a3a606282613dcc565b600281015473000000000000000000000000000000000000000091823b1561007d576101845f926156a394604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260018060a01b031660448501526156716064850160048301613ff1565b600860e48501910160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b60016101648301525af48015610072576156ba5750565b5f613f0a91613dcc565b6002810154730000000000000000000000000000000000000000916001600160a01b0390911690823b1561007d576101845f9261575794604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260448501526156716064850160048301613ff1565b846101648301525af48015610072576156ba5750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561007d57604051635e2d2fff60e11b81526001600160a01b039092166004830152602482015260016044820152905f908290606490829084905af18015610072576156ba5750565b600b545f905b6020821080615851575b1561584057805f52600e60205260ff600960405f20015460a01c16600881101561399e5760018114908115615846575b506158405761583461583a91613fe3565b91613fe3565b906157e9565b600b5550565b60079150145f615823565b50600d548111156157f3565b5f5b600481106158b2575060405163042fcd0160e21b815290615884906004830190614b5d565b6020816084817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b6158bc8183614a40565b51600581101590816158f7575b816158dc575b5061491a5760010161585f565b90505f52601660205260ff600960405f20015416155f6158cf565b605f81111591506158c9565b90915f92815f526015602052600260405f2001549162015180420492815f52601a60205261593560405f205491615e05565b1180615a58575b80615a38575b61594d575050505090565b8091929394505f52601a60205260405f206159688154613fe3565b9055815f52601b60205260405f20905f5260205260405f20600160ff198254161790555f52601e60205260405f20905f5260205260405f206159aa8154613fe3565b90557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561007d57604051635e2d2fff60e11b81526001600160a01b0390911660048201526064602482018190526001604483015290915f918391829084905af1801561007257615a28575b50600190565b5f615a3291613dcc565b5f615a22565b50815f52601e60205260405f20835f52602052600260405f205410615942565b50815f52601b60205260405f20815f5260205260ff60405f2054161561593c565b60018114908115615a88575090565b5f19810191508111613fcf57805f52601960205260405f2054905f52601860205260405f205460018101809111613fcf5760011c111590565b9190825f526016602052615b27600560405f200160405194631b9bc40360e11b86526023600487015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602487015260448601526064850190613ff1565b60e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610104830152604082610124817300000000000000000000000000000000000000005af4918215610072575f905f93615b8e57509190565b9250506040823d604011615bc3575b81615baa60409383613dcc565b8101031261007d576020615bbd836149ff565b92015190565b3d9150615b9d565b6080604051615bda8282613dcc565b3690375f5b60048110615beb575090565b919060018301808411613fcf575b60048110615c0c57509091600101615bdf565b600190615c198584614a40565b51615c248285614a40565b5110615c31575b01615bf9565b615c3b8184614a40565b51615c468685614a40565b51615c518386614a40565b52615c5c8685614a40565b52615c2b565b6040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610072575f91615cda575b50336001600160a01b0390911603615ccb57565b636061778f60e11b5f5260045ffd5b90506020813d602011615d0c575b81615cf560209383613dcc565b8101031261007d57615d06906149ff565b5f615cb7565b3d9150615ce8565b6018811115615a2257602c811115615d6557603e811115615d5f57604d811115615d59576059811115615d5357605f1015615d4e57600790565b600690565b50600590565b50600490565b50600390565b50600290565b8151919060418303615d9b57615d949250602082015190606060408401519301515f1a90615e5b565b9192909190565b50505f9160029190565b600481101561399e5780615db7575050565b60018103615dce5763f645eedf60e01b5f5260045ffd5b60028103615de9575063fce698f760e01b5f5260045260245ffd5b600314615df35750565b6335e2f38360e21b5f5260045260245ffd5b60018114615e555760028114615e4f5760038114615e495760048114615e435760058114615e3d57600614615e38575f90565b600890565b50600a90565b50600c90565b50600f90565b50601490565b50601990565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411615ed2579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610072575f516001600160a01b03811615615ec857905f905f90565b505f906001905f90565b5050505f916003919056fe3d3a07bd6d8d84b8ac0a290a3fa928176f5e74d1fa2a56adfa2c68f4345207f59b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e0033","sourceMap":"2738:54011:6:-:0;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;45519:21;:45;;;;;-1:-1:-1;45519:45:6;2738:54011;;;;;;;;;;45519:45;;45547:8;2738:54011;45519:45;;2738:54011;20349:9;2738:54011;;;;45519:45;;;;;;;;2738:54011;45519:45;-1:-1:-1;45519:45:6;;;:::i;:::-;-1:-1:-1;45519:45:6;2738:54011;;;-1:-1:-1;2738:54011:6;;;;;45519:45;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;;;-1:-1:-1;;;41369:59:6;;41410:12;2738:54011;41369:59;;2738:54011;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;41369:59;2738:54011;41369:20;:59;;;;;;2738:54011;;41369:59;;;2738:54011;;;;;;;;;41369:59;;2738:54011;41369:59;;2738:54011;41369:59;;;;;;2738:54011;41369:59;;;:::i;:::-;;;2738:54011;;;;;;;41369:59;;;;;-1:-1:-1;41369:59:6;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;10830:70;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10248:52;2738:54011;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;1500:62:8;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;2627:22:8;;2623:91;;3004:6;;2738:54011:6;;-1:-1:-1;;;;;;11062:1:6;;;;;;-1:-1:-1;;;;;2738:54011:6;;3052:40:8;;3004:6;3052:40;2738:54011:6;;;;2623:91:8;2672:31;;;2738:54011:6;;2672:31:8;2738:54011:6;;;;;;;2672:31:8;2738:54011:6;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;7349:57;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;:::i;:::-;;;;;12320:16;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;11924:14;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6634:51;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;2738:54011:6;;-1:-1:-1;;;40963:77:6;;41009:12;2738:54011;40963:77;;2738:54011;41022:17;-1:-1:-1;;;;;2738:54011:6;;;;;;;40963:77;2738:54011;40963:20;:77;;;;;;2738:54011;;40963:77;;;2738:54011;;3668:216;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;40963:77;;2738:54011;40963:77;;2738:54011;40963:77;;;;;;2738:54011;40963:77;;;:::i;:::-;;;2738:54011;;;;;;;40963:77;;;;;-1:-1:-1;40963:77:6;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6835:45;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;41892:11;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47690:16;2738:54011;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3194:3;2738:54011;;;;3194:3;:::i;:::-;;;;;:::i;:::-;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;:::i;:::-;;;;;10542:78;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;9953:50;2738:54011;;;;;;;9953:50;;;:::i;:::-;;;2738:54011;9953:50;;;:::i;:::-;;;;2738:54011;9953:50;2738:54011;;;9953:50;;;2738:54011;9953:50;;2738:54011;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8885:37;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8194:48;2738:54011;;;;;;;;;;;;23574:27;2738:54011;;;:::i;:::-;2989:103:28;;;;;:::i;:::-;23530:6:6;;;:::i;:::-;2738:54011;;;:::i;:::-;23574:27;:::i;:::-;11062:1;;2738:54011;;;11062:1;23644:60;2738:54011;;;11062:1;2738:54011;23644:60;2738:54011;;;11062:1;2738:54011;;23644:60;;;2738:54011;23644:60;;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;23644:60;;48765:88;;23644:60;;;;;;:::i;:::-;2738:54011;23634:71;;2738:54011;;;23735:27;2738:54011;;;;;;;23790:21;;;23786:57;;2738:54011;23857:34;;23853:73;;2738:54011;;-1:-1:-1;;;23937:94:6;;2738:54011;23937:94;2738:54011;;23937:94;24007:10;;23989:17;2738:54011;23937:94;;;:::i;:::-;;:20;;:94;;;;;;;2738:54011;;;;23937:94;;2738:54011;24007:10;24042:45;24007:10;;24042:45;:::i;:::-;24112:56;24007:10;;;24112:56;:::i;:::-;2738:54011;24184:86;2738:54011;;24007:10;24184:86;24007:10;;24184:86;;;:::i;:::-;;;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;23937:94;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;23853:73;23900:26;;;2738:54011;;23900:26;2738:54011;;;23900:26;23786:57;23820:23;;;2738:54011;;23820:23;2738:54011;;;;;;;23820:23;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13152:38;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;11831:8;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;44426:10:6;2738:54011;;;44409:16;2738:54011;;;;;;;44451:11;;44447:40;;44426:10;2738:54011;;;44409:16;2738:54011;;;;;;;;3668:216;2738:54011;;;;;;;;44426:10;;44554:34;;;;:::i;:::-;;44602:3;44598:32;;2738:54011;;;;;44646:36;2738:54011;44426:10;44646:36;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;44598:32;43840:16;;;2738:54011;;44614:16;2738:54011;;;44614:16;44447:40;56352:16;;;2738:54011;;44471:16;2738:54011;;;44471:16;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;12020:16;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;46845:33:6;;2738:54011;;;46845:33;;;2738:54011;;;;;;46845:33;2738:54011;46845:16;-1:-1:-1;;;;;2738:54011:6;46845:33;;;;;;;;2738:54011;;;;;;46913:11;2738:54011;;;;;;;;;;46970:11;2738:54011;;;;;;47155:9;;;2738:54011;;;;;;;;;;;;;;;;47241:38;;;2738:54011;47241:38;;2738:54011;;;46845:33;2738:54011;;;;;;47241:17;2738:54011;47241:38;;;;;;;2738:54011;;47241:38;;;2738:54011;47297:17;;2738:54011;;;47297:17;;2738:54011;;;;;;;;47019:309;;2738:54011;47019:309;;2738:54011;;46845:33;2738:54011;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2738:54011:6;;;;;;47126:11;2738:54011;:::i;:::-;;;;;;47182:10;2738:54011;;;47182:10;;2738:54011;:::i;:::-;;;;;;;;;;;;;;;;;;47019:309;;;2738:54011;47019:14;-1:-1:-1;;;;;2738:54011:6;47019:309;;;;;;2738:54011;;47019:309;;;2738:54011;;;;;;;;;;;;;;;;:::i;:::-;;;;47019:309;;;2738:54011;;;47019:309;;;;;;:::i;:::-;;;2738:54011;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47019:309;;47241:38;;;;2738:54011;47241:38;;2738:54011;47241:38;;;;;;2738:54011;47241:38;;;:::i;:::-;;;2738:54011;;;;;;;47241:38;;;;;-1:-1:-1;47241:38:6;;46845:33;2738:54011;46845:33;;2738:54011;46845:33;;;;;;2738:54011;46845:33;;;:::i;:::-;;;2738:54011;;;;;;;:::i;:::-;46845:33;;;;;-1:-1:-1;46845:33:6;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;9276:50;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;1500:62:8;;;;;:::i;:::-;2738:54011:6;52031:20;2738:54011;;52027:55;;52143:19;;;;;:54;;;2738:54011;52143:91;;;;2738:54011;52143:137;;;;2738:54011;52126:186;;2738:54011;;52343:7;;;;;;2738:54011;;;;52352:3;52384:6;;;;;:::i;:::-;2738:54011;52419:8;;;;;:::i;:::-;2738:54011;52445:6;52450:1;52445:6;;:17;;;;52352:3;52445:48;;;;52352:3;52445:85;;;;52352:3;52441:145;;2738:54011;;;;52603:11;2738:54011;;;;;;;;52603:26;2738:54011;;52599:67;;52742:8;;;;2738:54011;52742:8;;2738:54011;52848:19;52742:8;;;;;;;;52776:10;52742:8;;:::i;:::-;52776:10;;;;:::i;:::-;52848:19;;;;:::i;:::-;2738:54011;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;:::i;:::-;52699:217;2738:54011;52699:217;;2738:54011;;;;52699:217;;2738:54011;;52699:217;;2738:54011;;;52699:217;;2738:54011;;;;52603:11;2738:54011;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;:::i;:::-;;;;;;52352:3;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2738:54011:6;;;;;;;;;;;;;;;52699:217;;11062:1;2738:54011;;;3668:216;2738:54011;52699:217;;2738:54011;;;;3668:216;2738:54011;52699:217;;2738:54011;;;;;;;;;;;;;;;52328:13;;2738:54011;;;;-1:-1:-1;2738:54011:6;;;;;48765:88;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52450:1;2738:54011;;;;;;;;;;;;52450:1;2738:54011;;;;:::i;:::-;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;-1:-1:-1;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52450:1;2738:54011;;;;;;;;;;;52450:1;2738:54011;;;;:::i;:::-;;;;52599:67;52638:28;;;2738:54011;;52638:28;2738:54011;;;;;52638:28;52441:145;55386:14;;;2738:54011;;52557:14;2738:54011;;;52557:14;52445:85;52497:19;;;;;;:::i;:::-;2738:54011;52497:33;52445:85;;:48;52474:19;;;;:::i;:::-;52466:27;;;52445:48;;:17;52455:7;2738:54011;52455:7;;52445:17;;52143:137;52250:30;;;;;52143:137;;:91;52213:21;;;;;52143:91;;:54;52178:19;;;;;52143:54;;52027:55;53209:22;;;2738:54011;;52060:22;2738:54011;;;52060:22;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;;;;;;2989:103:28;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;44803:16;;:31;;;;2738:54011;44803:56;;;;2738:54011;44799:83;;44892:17;-1:-1:-1;;;;;2738:54011:6;44892:77;;;;;2738:54011;;;;;;44892:77;;44928:10;2738:54011;44892:77;;2738:54011;;;;;;;;;;;44961:7;2914:2;;2738:54011;;;;;44892:77;2738:54011;;;;;;44892:77;;;;;;;;;2738:54011;;;;;;;44984:50;2738:54011;44928:10;44984:50;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;44892:77;2738:54011;;44892:77;;;:::i;:::-;2738:54011;;;;44892:77;;;44803:56;2738:54011;44847:7;2738:54011;;44838:21;;44803:56;;:31;44823:11;;;44803:31;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6531:34;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;1500:62:8;;:::i;:::-;53180:20:6;2738:54011;;;;53176:55;;53259:1;53262:8;53268:2;53262:8;;;;;-1:-1:-1;;2738:54011:6;;53485:4;2738:54011;53180:20;2738:54011;;;;;53272:4;2738:54011;;;;53297:11;2738:54011;;;;;;;;53297:26;2738:54011;;53296:27;2738:54011;;53296:74;;53272:4;53292:151;;53272:4;;;:::i;:::-;53246:14;;53292:151;53397:31;;;2738:54011;;53397:31;2738:54011;;;53397:31;53296:74;2738:54011;;;;;53297:11;2738:54011;;53327:20;2738:54011;;;;53327:20;2738:54011;53351:19;;;:::i;:::-;53327:43;;53296:74;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;8443:33;2738:54011;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;25036:4725;2738:54011;;;:::i;:::-;2989:103:28;;;:::i;:::-;25036:4725:6;:::i;:::-;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;:::i;:::-;;;;;13412:30;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;9685:46;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6750:38;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10483:53;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;12715:12;2738:54011;;;;;;;;;;;;;:::i;:::-;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;12207:18;2738:54011;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;42421:20:6;:68;;;;;2738:54011;;;;;;42421:68;;42449:11;2738:54011;42421:68;;2738:54011;;;;;;42461:17;2738:54011;;;;;;;;;;;;42421:68;2738:54011;;;42421:68;;;;;;;;;2738:54011;;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;42421:68;2738:54011;;42421:68;;;:::i;:::-;2738:54011;;;;42421:68;;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8313:36;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6472:53;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;8657:55;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;7990:45;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;:::i;:::-;2989:103:28;;:::i;:::-;21419:6:6;;;:::i;:::-;2738:54011;;-1:-1:-1;;;21486:256:6;;-1:-1:-1;;;;;21536:10:6;2738:54011;;;21486:256;;2738:54011;21557:12;2738:54011;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2738:54011:6;;;;;;;:::i;:::-;21613:21;2738:54011;;;;;;;;;21662:17;2738:54011;;;;21681:20;2738:54011;;;;21715:17;-1:-1:-1;;;;;2738:54011:6;;;;;21486:256;:20;;:256;;;;;;2738:54011;;;;;21486:256;;2738:54011;11062:1;21820:7;11062:1;;;;;;21820:7;11062:1;;;;;;;21820:7;11062:1;;;;;;21820:7;11062:1;;;;;;;2738:54011;;;;;;;;;21758:94;2738:54011;21783:10;21758:94;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;11062:1;2738:54011;;;;;3668:216;;2738:54011;3668:216;2738:54011;;;3668:216;21486:256;;;;;;2738:54011;21486:256;2738:54011;21486:256;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;:::i;:::-;;;;;9195:75;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13280:43;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10179:62;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8776:38;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;1500:62:8;;:::i;:::-;2738:54011:6;;;;-1:-1:-1;;;;;;11062:1:6;;;;-1:-1:-1;;;;;2738:54011:6;3052:40:8;2738:54011:6;;3052:40:8;2738:54011:6;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10657:57;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6945:40;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;9737:36;2738:54011;;;;;;;;;;;;;;:::i;:::-;;;;;10720:75;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;8530:61;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8483:41;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;49901:13;;:32;;;;2738:54011;49897:59;;50079:19;2738:54011;-1:-1:-1;;;;50174:3:6;50124:12;;;:48;;;50174:3;50124:48;;;-1:-1:-1;;;2738:54011:6;50216:16;2738:54011;;;50216:31;2738:54011;-1:-1:-1;;2738:54011:6;50216:31;2738:54011;;;;;;;;;;50275:21;50265:31;;:75;;;;;50174:3;50261:86;;;50361:8;50174:3;50361:8;;:::i;:::-;50174:3;;:::i;:::-;50113:9;;;50261:86;50342:5;;;50108:272;50079:19;3668:216;2738:54011;;;;50265:75;50310:30;50300:40;;-1:-1:-1;50265:75:6;;;50124:48;;;;;;;2738:54011;50150:22;2738:54011;50140:32;;;50124:48;;49901:32;49918:15;49929:4;49918:15;;49901:32;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;9915:32;2738:54011;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;46718:33:6;;2738:54011;;;46718:33;;;2738:54011;;;46718:33;2738:54011;46718:16;-1:-1:-1;;;;;2738:54011:6;46718:33;;;;;;2738:54011;;46718:33;;;2738:54011;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;46718:33;;2738:54011;46718:33;;2738:54011;46718:33;;;;;;2738:54011;46718:33;;;:::i;:::-;;;2738:54011;;;;;;;;:::i;:::-;46718:33;;;;;-1:-1:-1;46718:33:6;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;9429:47;2738:54011;;;:::i;:::-;;;-1:-1:-1;;;9429:47:6;;-1:-1:-1;;;;;2738:54011:6;;;;9429:47;;2738:54011;;;;11062:1;;;2738:54011;;;;;;11062:1;;;;;9429:47;;2738:54011;9429:17;-1:-1:-1;;;;;2738:54011:6;9429:47;;;;;;;2738:54011;;9429:47;;;2738:54011;11062:1;9479:7;11062:1;;;;;;9479:7;11062:1;;;;;;;2738:54011;;;;;;;;9429:47;;;2738:54011;9429:47;;2738:54011;9429:47;;;;;;2738:54011;9429:47;;;:::i;:::-;;;2738:54011;;;;;9429:47;;;;;;-1:-1:-1;9429:47:6;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;12440:21;2738:54011;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;2989:103:28;;:::i;:::-;22185:14:6;;22181:41;;11062:1;9828:11;11062:1;9828:11;11062:1;;;;;;22302:9;;:24;22298:58;;2738:54011;;-1:-1:-1;;;45356:75:6;;45389:8;2738:54011;45356:75;;2738:54011;;;;;;;45410:13;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;45356:75;2738:54011;45356:21;:75;;;;;;;;2738:54011;22412:20;;:75;;;;;2738:54011;;-1:-1:-1;;;22412:75:6;;22448:17;-1:-1:-1;;;;;2738:54011:6;;22412:75;;2738:54011;22466:10;2738:54011;9828:11;;2738:54011;;9828:11;;2738:54011;;;;;;;;;;;;;22412:75;;;;;;;;2738:54011;22302:9;;;22502:24;22498:167;;2738:54011;;;;;;;;;;22680:56;2738:54011;22466:10;22680:56;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;22498:167;2738:54011;;;;;22579:24;22302:9;;22579:24;:::i;:::-;22466:10;22556:52;;;;:::i;:::-;;22498:167;22622:32;43840:16;;;2738:54011;;22638:16;2738:54011;;;22638:16;22412:75;2738:54011;;22412:75;;;:::i;:::-;2738:54011;;;;22412:75;;;45356;;;2738:54011;45356:75;2738:54011;45356:75;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;22298:58;43476:21;;;2738:54011;;22335:21;2738:54011;;;22335:21;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;12928:30;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8041:43;2738:54011;;;;;;;;;;;:::i;:::-;2989:103:28;;:::i;:::-;2738:54011:6;;;-1:-1:-1;;;42636:106:6;;42661:11;2738:54011;42636:106;;2738:54011;42673:17;-1:-1:-1;;;;;2738:54011:6;;;;;42704:16;2738:54011;;;;;;;;;;;;;;;;;;;42636:106;2738:54011;42636:20;:106;;;;;;42752:42;2738:54011;;;;;;42636:106;;;2738:54011;42752:42;;:::i;:::-;-1:-1:-1;;11062:1:6;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;42636:106;;;;;;2738:54011;42636:106;2738:54011;42636:106;;;;;;;:::i;:::-;;;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10009:48;2738:54011;;;;;;;;;;;;;;;10009:48;2738:54011;10009:48;;2738:54011;10009:48;;;;2738:54011;10009:48;;;2738:54011;10009:48;2738:54011;10009:48;2738:54011;10009:48;;2738:54011;10009:48;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2989:103:28;;;:::i;:::-;31154:9:6;;;:::i;:::-;2738:54011;;;;31202:16;2738:54011;;;;;;31259:15;;;;2738:54011;;;;;;;;31308:24;2738:54011;;;;;;;31353:525;;;2738:54011;;;;;;;;;;;;31810:21;31798:33;;31794:84;;31892:30;;;31888:57;;31980:34;;;;:::i;:::-;2738:54011;48782:13;;2738:54011;;;;;;;;;;;;;;;;;48765:88;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;48765:88;;48782:13;;;48765:88;2738:54011;;48765:88;:::i;:::-;2738:54011;48755:99;;31810:21;48939:10;;2738:54011;;;;;;;;;;;48832:1;48976:8;;2738:54011;;48986:8;2738:54011;48986:8;2738:54011;;;;48898:138;2738:54011;48898:138;;2738:54011;;3947:178;2738:54011;;;3947:178;2738:54011;3947:178;;;2738:54011;;3947:178;;2738:54011;;3947:178;;2738:54011;3947:178;;;2738:54011;3947:178;2738:54011;3947:178;;2738:54011;;;;3947:178;;;;;2738:54011;3947:178;48898:138;;;;;;:::i;:::-;2738:54011;48888:149;;48871:167;;;:::i;:::-;2738:54011;;3668:216;;;;:::i;:::-;5433:27:32;;;:::i;:::-;5489:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;;;;32028:95;32024:159;;31920:1;;;2738:54011;;;31308:24;2738:54011;;31920:1;;2738:54011;;;3668:216;;;2738:54011;;-1:-1:-1;;;;2738:54011:6;;;;-1:-1:-1;;;2738:54011:6;;;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;32345:194;;;;;2738:54011;;32364:91;2738:54011;;;;;;;;;;;;;;;;;;;;3947:178;2738:54011;;;32364:91;31810:21;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;32345:194;2738:54011;;32475:64;2738:54011;;;;;;;;;;;;;32475:64;32345:194;;32024:159;32146:26;;;31920:1;;32146:26;2738:54011;31920:1;;32146:26;31794:84;2738:54011;39229:38;;;;;31353:525;;31840:38;2738:54011;;;:::i;:::-;;31353:525;;31840:38;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13597:34;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;8994:33;2738:54011;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13036:31;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;55996:14:6;2738:54011;56024:11;;56020:40;;2738:54011;;55996:14;3668:216;;;2738:54011;;;;;;;56112:20;:44;;;;:::i;:::-;;56170:3;56166:32;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;:::i;:::-;1500:62:8;;;:::i;:::-;2989:103:28;;:::i;:::-;31154:9:6;;;:::i;:::-;-1:-1:-1;;;2738:54011:6;31202:16;2738:54011;;;-1:-1:-1;;2738:54011:6;31259:15;;;;2738:54011;;;;;;;;;-1:-1:-1;;;;2738:54011:6;31308:24;2738:54011;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;31397:30;31385:42;31381:85;;-1:-1:-1;;2738:54011:6;;;;;;31590:43;;;;;;;:86;;;2738:54011;31586:192;;;31892:30;;;31888:57;;5433:27:32;5489:8;31980:34:6;3668:216;31980:34;;;;:::i;:::-;48782:13;48871:167;2738:54011;48782:13;;2738:54011;;48765:88;2738:54011;;;;48765:88;31397:30;2738:54011;;;;;;;;;48765:88;;;2738:54011;48765:88;;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;48765:88;2738:54011;48755:99;;30958:4;48939:10;;2738:54011;;;;;;;;;;;48832:1;48976:8;;2738:54011;;48986:8;;2738:54011;;;;;48898:138;;;2738:54011;48898:138;;2738:54011;3947:178;2738:54011;;;3947:178;;2738:54011;3947:178;;;2738:54011;3947:178;2738:54011;;3947:178;;2738:54011;;3947:178;;2738:54011;3947:178;2738:54011;3947:178;;2738:54011;;;;3947:178;;;;;2738:54011;3947:178;48898:138;;;;;;:::i;:::-;2738:54011;48888:149;;48871:167;:::i;:::-;2738:54011;;3668:216;;:::i;:::-;5433:27:32;;:::i;:::-;5489:8;;;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;;;;32028:95;32024:159;;2738:54011;-1:-1:-1;;2738:54011:6;;;31308:24;2738:54011;;-1:-1:-1;;2738:54011:6;;;3668:216;;;2738:54011;;-1:-1:-1;;;;2738:54011:6;;;;-1:-1:-1;;;2738:54011:6;;;;;;;32364:91;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;2738:54011;;;;;;;;;;;;;;;;3947:178;2738:54011;;;32364:91;30958:4;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;31586:192;2738:54011;31703:60;;;;-1:-1:-1;;31703:60:6;2738:54011;;;;;;-1:-1:-1;;31703:60:6;31590:86;2738:54011;;;;;;;;;31637:39;;31590:86;;;31381:85;31436:30;;;;-1:-1:-1;;31436:30:6;2738:54011;;;-1:-1:-1;;31436:30:6;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;9584:33:6;;2738:54011;;;9584:33;;;2738:54011;;;9584:33;2738:54011;9584:17;-1:-1:-1;;;;;2738:54011:6;9584:33;;;;;;;2738:54011;;9584:33;;;11062:1;9620:7;11062:1;;;;;;9620:7;11062:1;;;;;;;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;11584:55;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;11526:52;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6691:53;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;;;;;;;;;;;;1500:62:8;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;53974:23;;53970:50;;2738:54011;;;54075:1;2738:54011;;;;;;;;;;;;;;;;;54090:53;;:88;;;;2738:54011;54086:115;;2738:54011;;;;54380:61;2738:54011;;;;;;;;;;3668:216;2738:54011;3668:216;;;2738:54011;3668:216;;2738:54011;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;54075:1;2738:54011;;;;;;11062:1;-1:-1:-1;;;;;11062:1:6;;;;;;;;2738:54011;;;;;54380:61;2738:54011;;;;54090:88;2738:54011;;;;54147:31;;54090:88;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;41508:20:6;:70;;;;;2738:54011;;-1:-1:-1;;;41508:70:6;;41554:12;2738:54011;41508:70;;2738:54011;41567:10;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;41508:70;;2738:54011;;41508:70;;;;;;;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;11399:56;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42050:20;2738:54011;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;1500:62:8;;:::i;:::-;2989:103:28;;:::i;:::-;56302:16:6;2738:54011;56332:11;;56328:40;;2738:54011;;56302:16;3668:216;56425:15;-1:-1:-1;;;;;2738:54011:6;;56425:29;2738:54011;;56425:63;2738:54011;;;;;;;;;56512:30;;;;:::i;56425:63::-;56475:13;;56425:63;;2738:54011;;;;:::i;:::-;2989:103:28;;:::i;:::-;43394:43:6;;;;:::i;:::-;43451:9;;:16;43447:50;;2738:54011;;;;43508:15;2738:54011;;;;;;43508:35;2738:54011;;;43508:35;:::i;:::-;3668:216;;43608:44;;;;:::i;:::-;2738:54011;46227:17;-1:-1:-1;;;;;2738:54011:6;46227:48;;;;;2738:54011;;;;;;46227:48;;43676:10;2738:54011;46227:48;;2738:54011;;;;;;;;;;;-1:-1:-1;46227:48:6;-1:-1:-1;;;;;;46227:48:6;;;;;;;;;2738:54011;43451:9;;;43720:16;43716:151;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;43882:93;2738:54011;43676:10;43882:93;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;43716:151;2738:54011;;;;;43789:16;43451:9;;43789:16;:::i;:::-;43676:10;43766:44;;;;:::i;:::-;;43716:151;43824:32;43840:16;;;2738:54011;;43840:16;2738:54011;;;43840:16;46227:48;-1:-1:-1;;46227:48:6;;;:::i;:::-;2738:54011;;;;46227:48;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;1500:62:8;;:::i;:::-;7545:2:6;54853:38;;:100;;;;2738:54011;54853:153;;;;2738:54011;54853:214;;;;2738:54011;54853:248;;;;2738:54011;54853:284;;;;2738:54011;54853:348;;;;2738:54011;54853:412;;;;2738:54011;54853:466;;;;2738:54011;54853:515;;;;2738:54011;54836:564;;55720:180;3668:216;2738:54011;3668:216;;55411:44;3668:216;;55465:38;3668:216;;2738:54011;3668:216;;55560:49;3668:216;;55619:35;3668:216;-1:-1:-1;;;;;11062:1:6;;55664:40;11062:1;;;55664:40;11062:1;2738:54011;;;;;;7925:12;;2738:54011;;7925:12;;2738:54011;;7925:12;;2738:54011;;7925:12;;2738:54011;55720:180;2738:54011;;;;54853:515;55335:33;;;54853:515;;:466;55281:38;7925:12;55281:38;;54853:466;;:412;55217:48;7863:6;55217:48;;54853:412;;:348;55153:48;2738:54011;55153:48;;54853:348;;:284;55117:20;55133:4;55117:20;;54853:284;;:248;55083:18;55099:2;55083:18;;54853:248;;:214;55022:45;7732:5;55022:45;;54853:214;;:153;54969:37;7668:1;54969:37;;54853:153;;:100;54907:46;7607:6;54907:46;;54853:100;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;12111:16;2738:54011;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;2738:54011:6;;-1:-1:-1;;;41166:102:6;;41208:12;2738:54011;41166:102;;;2738:54011;;;;-1:-1:-1;;;;;41221:17:6;2738:54011;;;;;;41247:16;2738:54011;;;;;;;;;;;;41166:102;2738:54011;41166:20;:102;;;;;;2738:54011;;;;;;;;41166:102;;2738:54011;3668:216;2738:54011;3668:216;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;41166:102;;;2738:54011;41166:102;;;;;2738:54011;41166:102;2738:54011;41166:102;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;2738:54011:6;;;;;42244:88;;42270:11;2738:54011;42244:88;;2738:54011;;;;;;42282:17;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;42244:20;:88;:20;;:88;;;;;;2738:54011;;42244:88;;;2738:54011;3668:216;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;20846:20:6;:101;;;;;2738:54011;;;;;;20846:101;;20882:14;2738:54011;20846:101;;2738:54011;20897:20;2738:54011;;;;;;;;;20926:12;2738:54011;;;;;;;;;;;;20846:101;2738:54011;;;20846:101;;;;;;;;;2738:54011;20957:23;;2738:54011;20957:23;:::i;:::-;;3668:216;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;20846:101;2738:54011;;20846:101;;;:::i;:::-;2738:54011;;;;20846:101;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;2989:103:28;;:::i;:::-;2738:54011:6;;;;39146:16;2738:54011;;;;;;39187:8;;;2738:54011;;;;;;;;;;;;;;39187:33;;39183:84;;-1:-1:-1;39329:26:6;2738:54011;39301:54;;-1:-1:-1;;;;;2738:54011:6;39301:54;:::i;:::-;39369:12;;:27;39365:116;;-1:-1:-1;3668:216:6;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;2738:54011;;39543:28;;;:::i;:::-;2738:54011;3668:216;39612:8;;;2738:54011;;;;;;;39187:8;2738:54011;;;;;;;;39585:49;39581:120;;2738:54011;39739:4;;;;:::i;:::-;39754:17;;:::i;:::-;39821:8;;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;3194:3;2738:54011;39502:31;-1:-1:-1;;;;;;;;;;;2738:54011:6;;;;;3194:3;;2738:54011;;;;3194:3;;2738:54011;39884:10;3194:3;;;2738:54011;39787:108;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;39581:120;2738:54011;;;39187:8;2738:54011;;;;;;;;3668:216;39581:120;;;39365:116;39419:51;;;2738:54011;;39419:51;39369:12;2738:54011;;;;;;;39419:51;39183:84;2738:54011;39229:38;;;;;2738:54011;;39229:38;2738:54011;;;:::i;:::-;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;8820:59;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10306:54;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;32885:5763;2738:54011;;;;;;:::i;:::-;2989:103:28;;;;;:::i;:::-;2738:54011:6;;;;;;;;32885:5763;:::i;:::-;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;1500:62:8;;:::i;:::-;53012:7:6;;;:32;;2738:54011;53008:63;;2738:54011;;;53081:23;2738:54011;;;;;;53081:23;2738:54011;;;;;;53008:63;53053:18;;;2738:54011;;53053:18;2738:54011;;;53053:18;53012:32;2738:54011;;53024:20;2738:54011;;53023:21;53012:32;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;56681:20:6;:59;;;;;2738:54011;;-1:-1:-1;;;56681:59:6;;56709:12;2738:54011;56681:59;;;2738:54011;;;;56722:10;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;56681:59;;2738:54011;;56681:59;;;;;;;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;56681:59;2738:54011;56681:59;;;:::i;:::-;2738:54011;;;56681:59;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;6325:33;2738:54011;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13560:31;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;12821:30;2738:54011;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;48765:88;;2738:54011;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;-1:-1:-1;;2738:54011:6;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3668:216;-1:-1:-1;;;;;3668:216:6;;;;2738:54011;;-1:-1:-1;;2738:54011:6;3668:216;;;:::o;:::-;;;;;;;:::i;:::-;2738:54011;;;;;;;:::i;:::-;3668:216;;;;;;;;;;;;;;;;-1:-1:-1;3668:216:6;;;;;;:::o;:::-;;;;;-1:-1:-1;;3668:216:6;;:::o;:::-;2738:54011;;;3668:216;;;;;;;;;-1:-1:-1;;3668:216:6;;;;;;;:::o;3194:3::-;;;;;2738:54011;3194:3;;;;;;;:::o;:::-;;2738:54011;;;;;;;;3194:3;;;;;;;;11062:1;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;2738:54011;11062:1;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;2738:54011;;;;11062:1;;;;;;;;2738:54011;11062:1;2738:54011;;;11062:1;;;:::o;:::-;-1:-1:-1;2738:54011:6;;;;;;;;-1:-1:-1;2738:54011:6;;11062:1;;;;;;;2738:54011;11062:1;;;;;:::o;:::-;;;2738:54011;11062:1;;;;;;;;;;;;;;;;;;;2738:54011;;;;;;;;;;;;11062:1;2738:54011;;;11062:1;;;;;;;;:::o;32885:5763::-;;;;;;;;;;2738:54011;32885:5763;2738:54011;;;;;33211:16;2738:54011;;;;;33266:9;;;;:::i;:::-;33290:8;;;2738:54011;;;;;;;;;;;;;33302:30;33290:42;33286:85;;33385:64;;;;;:::i;:::-;2738:54011;;;33453:24;2738:54011;;;;;;33385:103;33381:167;;33582:34;;;;;;;;:::i;:::-;33693:13;;;2738:54011;;;;;;;;;33302:30;2738:54011;;;;;;;33676:88;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;33676:88;;33693:13;;;33676:88;2738:54011;;33676:88;:::i;:::-;2738:54011;33653:121;;33899:10;2738:54011;33899:10;;2738:54011;;;;33956:8;33743:1;33956:8;;2738:54011;;;;;;;;;;33982:8;2738:54011;33982:8;2738:54011;;;;;;33829:325;2738:54011;33829:325;;2738:54011;3668:216;2738:54011;;;3668:216;;2738:54011;3668:216;;;2738:54011;3668:216;;;2738:54011;;3668:216;;2738:54011;3668:216;;;;2738:54011;;;;;3668:216;;;2738:54011;3668:216;;;2738:54011;3668:216;;;;2738:54011;;;3668:216;;;2738:54011;3668:216;33829:325;;;;;;:::i;:::-;2738:54011;33806:358;;34191:28;;;:::i;:::-;3668:216;;;;;;:::i;:::-;5433:27:32;;;:::i;:::-;5489:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;;;;34233:43;34229:82;;34387:28;2738:54011;;34387:28;:::i;:::-;2738:54011;3668:216;2738:54011;;;;;33290:8;2738:54011;;;;;;;34429:49;34425:120;;32885:5763;34614:522;;;2738:54011;;;35282:11;2738:54011;;;;;35319:15;2738:54011;33693:13;35319:15;;2738:54011;;35318:16;2738:54011;;35318:68;;32885:5763;35314:95;;35449:66;2738:54011;;;3194:3;33693:13;;;;3194:3;:::i;:::-;;3668:216;3194:3;;:::i;:::-;35449:66;;:::i;:::-;2738:54011;35551:19;;2738:54011;35529:41;35525:79;;2738:54011;;;35640:11;2738:54011;;;;;33290:8;35771:15;;2738:54011;;;;;35767:901;;33743:1;36792:9;;2738:54011;36832:15;36850:6;36832:15;2914:2;36872:21;;;;:::i;:::-;36871:22;36867:51;;2738:54011;;;;;;36932:22;2738:54011;;;;36932:68;;36928:170;;2738:54011;;;;;;;37111:20;2738:54011;;;;;;;;;;;;37111:74;;37107:172;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;11062:1;;2738:54011;;37410:5;;;:::i;:::-;2738:54011;;;36932:22;2738:54011;;;;;37426:36;2738:54011;;37426:36;:::i;:::-;3668:216;;2738:54011;;;;37111:20;2738:54011;;;;;;;;;;;;;37472:44;2738:54011;;37472:44;:::i;:::-;3668:216;;2738:54011;;11062:1;;-1:-1:-1;;;;;;11062:1:6;-1:-1:-1;;;;;2738:54011:6;;;;11062:1;;;2738:54011;;;37561:19;;3668:216;33743:1;37601:14;;3668:216;;;36832:15;2738:54011;37637:14;;3668:216;33693:13;37679:17;;;3668:216;;;;33693:13;;;2738:54011;37726:10;11062:1;:::i;:::-;2738:54011;;;;;;;;;;;37795:27;2738:54011;;;;;;3668:216;2738:54011;;;37861:19;2738:54011;;;;;37861:27;2738:54011;;37861:27;:::i;:::-;3668:216;;37898:18;;2738:54011;37898:18;:::i;:::-;;3668:216;2738:54011;;-1:-1:-1;;;;;37927:16:6;2738:54011;;;;37927:42;;;;;2738:54011;;-1:-1:-1;;;37927:42:6;;-1:-1:-1;;;;;2738:54011:6;;;;33693:13;37927:42;;2738:54011;11062:1;;;2738:54011;;;;;11062:1;2738:54011;;37927:42;;;;;;;;;;;;32885:5763;-1:-1:-1;;2738:54011:6;;38036:36;;2738:54011;;-1:-1:-1;;;;;2738:54011:6;38036:36;:::i;:::-;3668:216;38087:27;;:48;;;32885:5763;38083:203;;;2738:54011;;;;-1:-1:-1;;;45644:77:6;;45674:8;33693:13;45644:77;;2738:54011;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;3668:216;2738:54011;45644:77;2738:54011;45644:21;:77;;;;;;;;38083:203;;;38296:17;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;;2738:54011:6;;;;;38466:111;2738:54011;;;;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;11062:1;2738:54011;;33743:1;2738:54011;;;2914:2;;2738:54011;;;;2914:2;;2738:54011;38440:10;3668:216;2914:2;;2738:54011;38328:123;11062:1;2738:54011;;;;;;;3668:216;2738:54011;11062:1;;;2738:54011;11062:1;3668:216;11062:1;;;;:::i;:::-;;;;;2738:54011;11062:1;;;38544:11;11062:1;:::i;:::-;;3668:216;11062:1;;2738:54011;33693:13;3668:216;11062:1;;33693:13;;11062:1;:::i;:::-;38466:111;;;33743:1;38587:54;32885:5763;:::o;45644:77::-;;;3668:216;45644:77;3668:216;45644:77;;;;;;;:::i;:::-;;;;;;2738:54011;;;;;;;;;38083:203;-1:-1:-1;2738:54011:6;;;;;;-1:-1:-1;38226:49:6;;2738:54011;;-1:-1:-1;;;;;2738:54011:6;38226:49;:::i;:::-;38083:203;;;38087:48;2738:54011;;38119:16;2738:54011;;38118:17;38087:48;;37927:42;;;;;:::i;:::-;2738:54011;;37927:42;;;;2738:54011;;;;37927:42;2738:54011;;;;;;;;;37927:42;2738:54011;;;37107:172;-1:-1:-1;;;37208:60:6;;2738:54011;33693:13;2738:54011;;37208:60;;36928:170;-1:-1:-1;;;37023:64:6;;2738:54011;33693:13;2738:54011;;37023:64;;36867:51;-1:-1:-1;;;36902:16:6;;33693:13;2738:54011;;;;36902:16;;35767:901;35806:27;;;;;;;;;;;;3668:216;35806:27;;35802:395;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;36290:5;;;:::i;:::-;2738:54011;;36310:36;;2738:54011;;-1:-1:-1;;;;;2738:54011:6;36310:36;:::i;:::-;2738:54011;;;;36375:49;;2738:54011;;;-1:-1:-1;;;;;2738:54011:6;36375:49;:::i;:::-;36438:17;;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;-1:-1:-1;2738:54011:6;3668:216;2738:54011;;-1:-1:-1;;;;;;;;;;;2738:54011:6;;;2914:2;;2738:54011;;;;;2914:2;;2738:54011;36582:10;3668:216;2914:2;;2738:54011;36474:119;2738:54011;36607:50;;:::o;35802:395::-;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;2738:54011;;;35940:4;;;:::i;:::-;35963:17;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;3668:216;2738:54011;;-1:-1:-1;;;;;;;;;;;2738:54011:6;;;2914:2;;2738:54011;2914:2;2738:54011;2914:2;;2738:54011;36107:10;3668:216;2914:2;;2738:54011;36003:115;2738:54011;36136:46;;:::o;35525:79::-;-1:-1:-1;;;35579:25:6;;33693:13;35579:25;;35314:95;-1:-1:-1;;;35395:14:6;;33693:13;55386:14;35395;35318:68;2738:54011;35338:35;2738:54011;;3194:3;33693:13;;;;3194:3;:::i;:::-;;3668:216;3194:3;;:::i;:::-;35338:35;:::i;:::-;33743:1;35377:9;;2738:54011;35338:48;;35318:68;;34614:522;34648:14;;;;;;;;;;;;;:49;;;34614:522;34644:76;;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;;34788:21;2738:54011;34851:5;;-1:-1:-1;34788:21:6;;;:::i;:::-;;3668:216;34851:5;:::i;:::-;2738:54011;;-1:-1:-1;;;;;46227:17:6;2738:54011;;;;46227:48;;;;;2738:54011;;46227:48;2738:54011;;;;;;;;;;;;46227:48;;33693:13;46227:48;;2738:54011;3194:3;2738:54011;;;;;;;;;46227:48;;;;;;;;34614:522;34924:17;;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;3668:216;2738:54011;33693:13;-1:-1:-1;;;;;;;;;;;2738:54011:6;;3194:3;2738:54011;3194:3;;2738:54011;3194:3;2738:54011;3194:3;;2738:54011;35055:10;3668:216;3194:3;;2738:54011;34960:106;33693:13;35080:45;;:::o;46227:48::-;;;;;2738:54011;46227:48;;:::i;:::-;2738:54011;46227:48;;;;34644:76;55386:14;;;2738:54011;34706:14;33693:13;2738:54011;34706:14;34648:49;34666:31;;;34648:49;;;34425:120;2738:54011;;33290:8;2738:54011;;;;;;3668:216;34425:120;;;34229:82;32146:26;;;2738:54011;34285:26;33693:13;2738:54011;34285:26;33381:167;33511:26;;;2738:54011;33511:26;;2738:54011;33511:26;33286:85;31436:30;;;;2738:54011;33341:30;;2738:54011;;;33341:30;2738:54011;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;2738:54011:6;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2738:54011:6;;;;;;:::o;47730:197::-;;2738:54011;;47875:44;;;;2738:54011;;;;;;;;;;;;;;47875:44;;;;;;:::i;:::-;2738:54011;47865:55;;47730:197;:::o;2738:54011::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;51440:333;;;51637:21;51440:333;51637:21;:::i;:::-;11062:1;;;2738:54011;;;;11062:1;2738:54011;;;;;11062:1;2738:54011;;11062:1;2738:54011;;;51685:80;2738:54011;51685:80;;51702:8;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;51685:80;;;;;;:::i;2738:54011::-;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;23968:20;2738:54011;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;25036:4725::-;;;2738:54011;25228:20;2738:54011;;25227:21;25223:52;;25303:6;;;:::i;:::-;25336:17;2738:54011;25324:9;:29;25320:63;;2738:54011;25421:27;2738:54011;;;;:::i;25421:27::-;25551:13;-1:-1:-1;25566:5:6;2738:54011;25566:5;;;;11062:1;;;2738:54011;;;11062:1;26005:60;2738:54011;;;11062:1;2738:54011;26005:60;2738:54011;;;11062:1;2738:54011;;26005:60;;;2738:54011;26005:60;;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;26005:60;2738:54011;25995:71;;-1:-1:-1;2738:54011:6;26101:27;2738:54011;;;-1:-1:-1;2738:54011:6;;26156:19;26152:669;;26852:28;;;;:::i;:::-;26895:27;;;:::i;:::-;26894:28;26890:63;;2738:54011;;26968:14;2738:54011;;26964:43;;2738:54011;-1:-1:-1;2738:54011:6;27083:26;2738:54011;;;-1:-1:-1;2738:54011:6;;27079:149;;27389:6;27371:15;2914:2;2738:54011;-1:-1:-1;2738:54011:6;27409:20;2738:54011;;;-1:-1:-1;2738:54011:6;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;;27409:72;;27405:170;;-1:-1:-1;2738:54011:6;27588:22;2738:54011;;;-1:-1:-1;2738:54011:6;;27625:26;27588:63;2738:54011;;27588:63;;;:::i;:::-;:97;;27584:199;;26051:1;2738:54011;27874:54;;;;;27870:161;;2738:54011;;;;2914:2;;;;28059:12;2914:2;2738:54011;-1:-1:-1;2738:54011:6;28109:20;2738:54011;;;-1:-1:-1;2738:54011:6;;26062:1;2738:54011;28109:56;;;;28105:155;;2738:54011;-1:-1:-1;2738:54011:6;28109:20;2738:54011;;;-1:-1:-1;2738:54011:6;28269:32;2738:54011;;28269:32;:::i;:::-;3668:216;;2738:54011;;-1:-1:-1;;;28452:93:6;;28483:20;2738:54011;28452:93;;2738:54011;28504:17;-1:-1:-1;;;;;2738:54011:6;;;;;28522:10;2738:54011;;;;;;;;;;;:::i;:::-;;;;;;28452:93;:20;:93;:20;;:93;;;;;;;-1:-1:-1;28452:93:6;;;25546:303;2738:54011;28568:24;;2738:54011;28568:24;:::i;:::-;3668:216;28568:24;3668:216;28556:36;2738:54011;28602:28;27625:26;2738:54011;28602:28;:::i;:::-;27625:26;3668:216;2738:54011;-1:-1:-1;2738:54011:6;27083:26;2738:54011;;;;-1:-1:-1;2738:54011:6;3668:216;28801:8;28059:12;-1:-1:-1;;;;;28059:12:6;2738:54011;;;-1:-1:-1;2738:54011:6;;;;;;;;;;:::i;:::-;;;;;28727:443;;2738:54011;;;;;28727:443;;28522:10;;2738:54011;;;28727:443;;2738:54011;;;;28452:93;28727:443;;2738:54011;;;28727:443;;;2738:54011;;;;28727:443;;2738:54011;;;;;28727:443;;27371:15;-1:-1:-1;;;;;27371:15:6;2738:54011;;;;28727:443;;2738:54011;;;28727:443;;;2738:54011;;;;;-1:-1:-1;2738:54011:6;28697:16;2738:54011;;;-1:-1:-1;2738:54011:6;11062:1;;3668:216;;11062:1;2738:54011;;;3668:216;2738:54011;;;;;;;;26051:1;2738:54011;;;;;;;;;-1:-1:-1;;;;;11062:1:6;;;;;;;;;26062;2738:54011;;3668:216;2738:54011;-1:-1:-1;2738:54011:6;;;;;;;;;-1:-1:-1;2738:54011:6;-1:-1:-1;2738:54011:6;;;;;;-1:-1:-1;;27625:26:6;2738:54011;;;;;27083:26;2738:54011;;;;;;;;;;-1:-1:-1;;;;;;2738:54011:6;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2738:54011:6;;;;;27625:26;2738:54011;;;;;3668:216;;-1:-1:-1;;;;3668:216:6;;;;;;-1:-1:-1;;;3668:216:6;;;;25336:17;2738:54011;29252:21;;;;:57;;2738:54011;29248:207;;2738:54011;;25336:17;2738:54011;25324:9;;29468:29;29464:181;;2738:54011;;;;;;;;;;;;;;:::i;:::-;28727:443;2738:54011;;;29660:94;2738:54011;28522:10;29660:94;;25036:4725::o;29464:181::-;-1:-1:-1;25324:9:6;;29552:29;25324:9;;;29552:29;:::i;:::-;28522:10;29529:57;;;;:::i;:::-;;29604:5;29600:34;;29464:181;;;29600:34;43840:16;;;-1:-1:-1;29618:16:6;2738:54011;-1:-1:-1;29618:16:6;29248:207;29342:18;2738:54011;-1:-1:-1;;;;;;;;;;;;;2738:54011:6;29342:53;;;;:::i;:::-;;29413:6;29409:35;;29248:207;;;29252:57;-1:-1:-1;29277:18:6;2738:54011;-1:-1:-1;;;;;2738:54011:6;29277:32;;29252:57;;2738:54011;;;;;;;;;;;;;26062:1;2738:54011;;;;11062:1;;2738:54011;;;;;;;;;;;11062:1;2738:54011;11062:1;;2738:54011;;;;;;;;;;;;28452:93;;;;;;;;;;;;;;;:::i;:::-;;;;;28105:155;28188:61;;;;-1:-1:-1;28188:61:6;2738:54011;;;;;-1:-1:-1;28188:61:6;2914:2;2738:54011;;;-1:-1:-1;2914:2:6;;2738:54011;2914:2;;-1:-1:-1;2914:2:6;27870:161;27951:69;;;-1:-1:-1;27951:69:6;2738:54011;;;;;-1:-1:-1;27951:69:6;27584:199;37023:64;;;-1:-1:-1;27708:64:6;27625:26;2738:54011;;;-1:-1:-1;27708:64:6;27405:170;37208:60;;;-1:-1:-1;27504:60:6;2738:54011;;;;-1:-1:-1;27504:60:6;27079:149;2738:54011;-1:-1:-1;2738:54011:6;27083:26;2738:54011;;;-1:-1:-1;2738:54011:6;;27145:72;;;;-1:-1:-1;27145:72:6;2738:54011;;;;;-1:-1:-1;27145:72:6;26964:43;26991:16;;;-1:-1:-1;26991:16:6;2738:54011;-1:-1:-1;26991:16:6;26890:63;36902:16;;;-1:-1:-1;26931:22:6;2738:54011;;;-1:-1:-1;26931:22:6;26152:669;26195:32;;2738:54011;26195:32;;26191:71;;2738:54011;;-1:-1:-1;;;26276:94:6;;;2738:54011;;26276:94;26346:10;;26328:17;2738:54011;26276:94;;;:::i;:::-;;:20;;:94;;;;;;;;26152:669;26346:10;26384:43;26346:10;;26384:43;:::i;:::-;26457:54;26346:10;;;26457:54;:::i;:::-;25324:9;26525:165;;26152:669;26708:80;;2738:54011;;;26346:10;;;;26708:80;;;:::i;:::-;;;;-1:-1:-1;26802:8:6;:::o;26525:165::-;-1:-1:-1;25324:9:6;;;;26346:10;26582:37;;;;:::i;:::-;;26525:165;26637:38;43840:16;;;-1:-1:-1;26659:16:6;2738:54011;-1:-1:-1;26659:16:6;26276:94;;;;;;;;;;;;;:::i;:::-;;;26191:71;23900:26;;;-1:-1:-1;26236:26:6;2738:54011;-1:-1:-1;26236:26:6;25573:3;25605:9;;;;:::i;:::-;11062:1;25638;25632:7;;;:19;;;25573:3;25628:211;;;2738:54011;-1:-1:-1;2738:54011:6;25676:11;2738:54011;;;25676:26;2738:54011;-1:-1:-1;2738:54011:6;25676:26;2738:54011;;25675:27;25671:67;;25628:211;2738:54011;25628:211;;2738:54011;25551:13;;25671:67;25711:27;;;-1:-1:-1;25711:27:6;2738:54011;;;-1:-1:-1;25711:27:6;25628:211;25768:3;25763:8;;:20;;;;;25628:211;25759:80;;;2738:54011;25628:211;;;25763:20;25780:3;25775:8;;;25763:20;;;25632:19;25643:8;25649:2;25643:8;;;25632:19;;25320:63;43476:21;;;-1:-1:-1;25362:21:6;;-1:-1:-1;25362:21:6;25223:52;53053:18;;;-1:-1:-1;25257:18:6;;-1:-1:-1;25257:18:6;2738:54011;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;:::o;42807:462::-;2738:54011;-1:-1:-1;2738:54011:6;42982:11;2738:54011;;;43019:15;2738:54011;-1:-1:-1;2738:54011:6;43019:15;2738:54011;;43018:16;2738:54011;;43018:30;;42807:462;43018:61;;;;42807:462;43014:130;;-1:-1:-1;2738:54011:6;;;43201:11;2738:54011;;;;;;;;43201:27;;2738:54011;43229:15;2738:54011;;;;;;;;;-1:-1:-1;;;43161:101:6;;;;;2738:54011;;;;;;;;;;;;;;;;;;;43161:20;:101;;;;;;;-1:-1:-1;43161:101:6;;;43154:108;42807:462;:::o;43161:101::-;;;2738:54011;43161:101;;2738:54011;43161:101;;;;;;2738:54011;43161:101;;;:::i;:::-;;;2738:54011;;;;;42807:462;:::o;43161:101::-;;;-1:-1:-1;43161:101:6;;43014:130;23820:23;;;-1:-1:-1;43102:31:6;;2738:54011;;-1:-1:-1;43102:31:6;43018:61;43052:27;2914:2;43052:27;;43018:61;;:30;43038:10;;;43018:30;;3749:292:28;2407:1;-1:-1:-1;;;;;;;;;;;2738:54011:6;4560:63:28;3644:93;;2407:1;-1:-1:-1;;;;;;;;;;;3668:216:6;3749:292:28:o;3644:93::-;3696:30;;;-1:-1:-1;3696:30:28;;-1:-1:-1;3696:30:28;1796:162:8;1710:6;2738:54011:6;-1:-1:-1;;;;;2738:54011:6;735:10:26;1855:23:8;1851:101;;1796:162::o;1851:101::-;1901:40;;;1710:6;1901:40;735:10:26;1901:40:8;2738:54011:6;;1710:6:8;1901:40;49516:193:6;49581:17;;:::i;:::-;49625:19;2738:54011;49612:32;;;49608:94;;49516:193;;:::o;49608:94::-;49653:49;;;-1:-1:-1;49653:49:6;;2738:54011;;;;-1:-1:-1;49653:49:6;49051:459;;;2738:54011;;49192:29;2738:54011;;;;;;49179:42;;;;:74;;;;;49051:459;49175:172;;;49192:29;2738:54011;;;49365:23;2738:54011;;;;;;-1:-1:-1;;;;;2738:54011:6;;49414:20;;49410:93;;49051:459;;:::o;49410:93::-;31703:60;;;49192:29;49443:60;;2738:54011;;;;49192:29;49443:60;49175:172;31703:60;;;;49192:29;49276:60;;2738:54011;;;;49192:29;49276:60;49179:74;2738:54011;49238:15;;;;2738:54011;;;;49225:28;;49179:74;;;48161:407;2738:54011;;48273:214;;;2738:54011;48297:95;2738:54011;;48406:37;2738:54011;;;;48444:14;2738:54011;;;;48459:13;2738:54011;;;;48481:4;2738:54011;;;;;48273:214;;;;;;:::i;:::-;2738:54011;48263:225;;2738:54011;;;48515:45;48273:214;48515:45;;2738:54011;;;;;;;;;;;;;;;48515:45;;;;;;:::i;45892:242::-;46058:8;;;2738:54011;45985:20;;:142;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;45985:142;;46019:20;46080:13;45985:142;;2738:54011;;;;;;46040:17;2738:54011;;;;;;;;;;;;;;;;;;;46080:13;;;2738:54011;:::i;:::-;46094:25;2738:54011;;;46094:25;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39199:21;2738:54011;;;;45985:142;;;;;;;;45892:242;:::o;45985:142::-;-1:-1:-1;45985:142:6;;;:::i;45892:242::-;46058:8;;;2738:54011;45985:20;;-1:-1:-1;;;;;2738:54011:6;;;;45985:142;;;;;;33707:1;2738:54011;;;;;;;;;;;;;45985:142;;46019:20;46080:13;45985:142;;2738:54011;;;;;;46040:17;2738:54011;;;;;;;;;;;;;46080:13;;;2738:54011;:::i;:::-;;;;;;45985:142;;;;;;;;45892:242;:::o;46140:142::-;46227:17;-1:-1:-1;;;;;2738:54011:6;;46227:48;;;;;2738:54011;;-1:-1:-1;;;46227:48:6;;-1:-1:-1;;;;;2738:54011:6;;;46227:48;;;2738:54011;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;46227:48;;2738:54011;;-1:-1:-1;;46227:48:6;;;;;;;;46140:142;:::o;50002:422::-;50079:19;2738:54011;-1:-1:-1;50108:272:6;50174:3;2738:54011;50124:12;;:48;;;50174:3;50124:48;;;2738:54011;-1:-1:-1;2738:54011:6;50216:16;2738:54011;;;50216:31;2738:54011;-1:-1:-1;2738:54011:6;50216:31;2738:54011;;;;;;;;;;50275:21;50265:31;;:75;;;;;50174:3;50261:86;;;50361:8;50174:3;50361:8;;:::i;:::-;50174:3;;:::i;:::-;50113:9;;;50261:86;50079:19;3668:216;-1:-1:-1;50002:422:6:o;50265:75::-;50310:30;2738:54011;;50300:40;50265:75;;;50124:48;2738:54011;50150:22;2738:54011;50140:32;;;50124:48;;51005:333;2738:54011;51118:5;51122:1;51118:5;;;;-1:-1:-1;2738:54011:6;;-1:-1:-1;;;51283:48:6;;2738:54011;;;51122:1;51283:48;;;2738:54011;:::i;:::-;51283:48;:20;:48;:20;;:48;;;;;;;2738:54011;51283:48;;;51276:55;51005:333;:::o;51125:3::-;51157:8;;;;:::i;:::-;11062:1;51189;51183:7;;;:19;;;;51125:3;51183:50;;;51125:3;51179:77;;;2738:54011;;51107:9;;51183:50;2738:54011;;;;51207:11;2738:54011;;;51207:26;2738:54011;;;51207:26;2738:54011;;51206:27;51183:50;;;:19;51200:2;51194:8;;;;-1:-1:-1;51183:19:6;;39908:724;;;2738:54011;40005:12;2738:54011;;;40044:11;2738:54011;;40044:27;2738:54011;;;40044:27;2738:54011;40102:15;40120:6;40102:15;2914:2;2738:54011;;;;40153:18;2738:54011;;40185:22;2738:54011;;;;40185:22;;:::i;:::-;-1:-1:-1;40153:116:6;;;39908:724;40153:193;;;39908:724;40136:468;;40613:12;;;;39908:724;:::o;40136:468::-;2738:54011;;;;;;;;40153:18;2738:54011;;;;;40371:31;2738:54011;;40371:31;:::i;:::-;3668:216;;2738:54011;;;40416:26;2738:54011;;;;;;;;;;;;;40464:4;2738:54011;;;;;;;;;;40482:15;2738:54011;;;;;;;;;;;;;40482:37;2738:54011;;40482:37;:::i;:::-;3668:216;;46227:17;-1:-1:-1;;;;;2738:54011:6;;46227:48;;;;;2738:54011;;-1:-1:-1;;;46227:48:6;;-1:-1:-1;;;;;2738:54011:6;;;46227:48;;;2738:54011;7796:3;2738:54011;;;;;;;;;;;;;;;;;;;;;46227:48;;;;;;;;40136:468;40582:11;40464:4;40582:11;:::o;46227:48::-;2738:54011;46227:48;;;:::i;:::-;2738:54011;46227:48;;40153:193;2738:54011;;;;40285:15;2738:54011;;;;;;;;;;40044:27;2738:54011;;;;40285:61;40153:193;;:116;2738:54011;;;;40224:26;2738:54011;;;;;;;;;;;;;;;;40223:46;40153:116;;50722:175;50815:1;50807:9;;:83;;;;;50800:90;50722:175;:::o;50807:83::-;-1:-1:-1;;2738:54011:6;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;50820:19;2738:54011;;;-1:-1:-1;2738:54011:6;;;-1:-1:-1;2738:54011:6;50854:17;2738:54011;;;-1:-1:-1;2738:54011:6;;50815:1;2738:54011;;;;;;;50815:1;2914:2;-1:-1:-1;50820:70:6;50722:175;:::o;43988:334::-;;;2738:54011;-1:-1:-1;2738:54011:6;44260:11;2738:54011;;;44260:28;2738:54011;-1:-1:-1;2738:54011:6;44260:28;2738:54011;;;;;;44162:153;;44200:8;44162:153;;;2738:54011;;;;;;44218:16;2738:54011;;;;;;;;;;;;;;:::i;:::-;;;;;44301:13;-1:-1:-1;;;;;2738:54011:6;;;;;;;44162:153;2738:54011;44162:21;:153;;;;;;;-1:-1:-1;;;44162:153:6;;;44155:160;;43988:334;:::o;44162:153::-;;;;2738:54011;44162:153;;2738:54011;44162:153;;;;;;2738:54011;44162:153;;;:::i;:::-;;;2738:54011;;;;;;;;:::i;:::-;;;;43988:334;:::o;44162:153::-;;;-1:-1:-1;44162:153:6;;46288:343;2738:54011;;;;;;;:::i;:::-;;;;-1:-1:-1;46404:5:6;2738:54011;46404:5;;;;46614:10;46288:343;:::o;46411:3::-;2738:54011;;46451:1;2738:54011;;;;;;;46454:5;2738:54011;46454:5;;;;46411:3;;;46451:1;2738:54011;46389:13;;46461:3;46451:1;46488:6;;;;;:::i;:::-;11062:1;46497:6;;;;:::i;:::-;11062:1;-1:-1:-1;46484:97:6;;46461:3;2738:54011;46435:17;;46484:97;46547:6;;;;:::i;:::-;11062:1;46555:6;;;;:::i;:::-;11062:1;46527:35;;;;:::i;:::-;2738:54011;46527:35;;;;:::i;:::-;2738:54011;46484:97;;20619:143;2738:54011;;-1:-1:-1;;;20690:28:6;;;;;2738:54011;;;;;;20690:28;2738:54011;20690:12;-1:-1:-1;;;;;2738:54011:6;20690:28;;;;;;;-1:-1:-1;20690:28:6;;;20619:143;-1:-1:-1;20722:10:6;-1:-1:-1;;;;;2738:54011:6;;;20690:42;20686:69;;20619:143::o;20686:69::-;20741:14;;;-1:-1:-1;20741:14:6;20690:28;-1:-1:-1;20741:14:6;20690:28;;;2738:54011;20690:28;;2738:54011;20690:28;;;;;;2738:54011;20690:28;;;:::i;:::-;;;2738:54011;;;;;;;:::i;:::-;20690:28;;;;;;-1:-1:-1;20690:28:6;;50430:286;50519:2;50513:8;;;50509:22;;50551:2;50545:8;;;50541:22;;50583:2;50577:8;;;50573:22;;50615:2;50609:8;;;50605:22;;50647:2;50641:8;;;50637:22;;50679:2;-1:-1:-1;50673:8:6;50669:22;;50708:1;50430:286;:::o;50669:22::-;50690:1;50683:8;:::o;50637:22::-;50651:8;50658:1;50651:8;:::o;50605:22::-;50619:8;50626:1;50619:8;:::o;50573:22::-;50587:8;50594:1;50587:8;:::o;50541:22::-;50555:8;50562:1;50555:8;:::o;2419:778:32:-;2738:54011:6;;;2419:778:32;2609:2;2589:22;;2609:2;;3041:25;2825:196;;;;;;;;;;;;;;;-1:-1:-1;2825:196:32;3041:25;;:::i;:::-;3034:32;;;;;:::o;2585:606::-;3097:83;;3113:1;3097:83;3117:35;3097:83;;:::o;11617:532::-;2738:54011:6;;;;;;11703:29:32;;;11748:7;;:::o;11699:444::-;2738:54011:6;11799:38:32;;2738:54011:6;;11860:23:32;;;11712:20;11860:23;2738:54011:6;11712:20:32;11860:23;11795:348;11913:35;11904:44;;11913:35;;11971:46;;;;11712:20;11971:46;2738:54011:6;;;11712:20:32;11971:46;11900:243;12047:30;12038:39;12034:109;;11900:243;11617:532::o;12034:109::-;12100:32;;;11712:20;12100:32;2738:54011:6;;;11712:20:32;12100:32;23007:300:6;23101:1;23093:9;;23089:24;;23135:1;23127:9;;23123:24;;23169:1;23161:9;;23157:24;;23203:1;23195:9;;23191:24;;23237:1;23229:9;;23225:24;;23271:1;23263:9;23259:23;;2738:54011;23007:300;:::o;23259:23::-;23281:1;23274:8;:::o;23225:24::-;23240:9;23247:2;23240:9;:::o;23191:24::-;23206:9;23213:2;23206:9;:::o;23157:24::-;23172:9;23179:2;23172:9;:::o;23123:24::-;23138:9;23145:2;23138:9;:::o;23089:24::-;23104:9;23111:2;23104:9;:::o;7129:1551:32:-;;;8209:66;8196:79;;8192:164;;2738:54011:6;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;8467:24:32;;;;;;;;;-1:-1:-1;8467:24:32;-1:-1:-1;;;;;2738:54011:6;;8505:20:32;8501:113;;8624:49;-1:-1:-1;8624:49:32;-1:-1:-1;7129:1551:32;:::o;8501:113::-;8541:62;-1:-1:-1;8541:62:32;8467:24;8541:62;-1:-1:-1;8541:62:32;:::o;8192:164::-;8291:54;;;8307:1;8291:54;8311:30;8291:54;;:::o","linkReferences":{"contracts/HashDroidsCrystalLib.sol":{"HashDroidsCrystalLib":[{"start":1314,"length":20},{"start":2072,"length":20},{"start":12459,"length":20},{"start":13924,"length":20},{"start":15213,"length":20}]},"contracts/HashDroidsEconomyLib.sol":{"HashDroidsEconomyLib":[{"start":6991,"length":20},{"start":10076,"length":20},{"start":14194,"length":20},{"start":21403,"length":20}]},"contracts/HashDroidsHarvestLib.sol":{"HashDroidsHarvestLib":[{"start":3399,"length":20},{"start":7713,"length":20},{"start":9553,"length":20},{"start":14284,"length":20},{"start":19854,"length":20},{"start":20860,"length":20},{"start":21993,"length":20},{"start":22219,"length":20},{"start":22668,"length":20}]},"contracts/HashDroidsTreasuryLib.sol":{"HashDroidsTreasuryLib":[{"start":28,"length":20},{"start":9518,"length":20},{"start":17669,"length":20},{"start":23397,"length":20}]}},"cborAuxdata":{"1":{"value":"0xa2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e0033","offset":24350}},"immutableReferences":{"4781":[{"start":15445,"length":32},{"start":19088,"length":32},{"start":19937,"length":32}],"4784":[{"start":7514,"length":32}],"4787":[{"start":7554,"length":32}],"4790":[{"start":7215,"length":32},{"start":14347,"length":32},{"start":23679,"length":32}],"4793":[{"start":6223,"length":32},{"start":12507,"length":32},{"start":15265,"length":32}],"4796":[{"start":4289,"length":32}],"4799":[{"start":1924,"length":32},{"start":3977,"length":32},{"start":8948,"length":32},{"start":13873,"length":32},{"start":17474,"length":32},{"start":23283,"length":32}],"4802":[{"start":2019,"length":32},{"start":3355,"length":32},{"start":4114,"length":32},{"start":5960,"length":32},{"start":7047,"length":32},{"start":7663,"length":32},{"start":9167,"length":32},{"start":9594,"length":32},{"start":10002,"length":32},{"start":11895,"length":32},{"start":12112,"length":32},{"start":13117,"length":32},{"start":13833,"length":32},{"start":14125,"length":32},{"start":18518,"length":32},{"start":19773,"length":32},{"start":20816,"length":32},{"start":22063,"length":32},{"start":22301,"length":32},{"start":22383,"length":32},{"start":22958,"length":32}],"4804":[{"start":6670,"length":32},{"start":9457,"length":32},{"start":13005,"length":32},{"start":23342,"length":32}],"4806":[{"start":2210,"length":32},{"start":11115,"length":32}],"4808":[{"start":8426,"length":32},{"start":12935,"length":32}]},"transformations":[{"id":"4799","type":"replace","offset":1924,"reason":"immutable"},{"id":"4802","type":"replace","offset":2019,"reason":"immutable"},{"id":"4806","type":"replace","offset":2210,"reason":"immutable"},{"id":"4802","type":"replace","offset":3355,"reason":"immutable"},{"id":"4799","type":"replace","offset":3977,"reason":"immutable"},{"id":"4802","type":"replace","offset":4114,"reason":"immutable"},{"id":"4796","type":"replace","offset":4289,"reason":"immutable"},{"id":"4802","type":"replace","offset":5960,"reason":"immutable"},{"id":"4793","type":"replace","offset":6223,"reason":"immutable"},{"id":"4804","type":"replace","offset":6670,"reason":"immutable"},{"id":"4802","type":"replace","offset":7047,"reason":"immutable"},{"id":"4790","type":"replace","offset":7215,"reason":"immutable"},{"id":"4784","type":"replace","offset":7514,"reason":"immutable"},{"id":"4787","type":"replace","offset":7554,"reason":"immutable"},{"id":"4802","type":"replace","offset":7663,"reason":"immutable"},{"id":"4808","type":"replace","offset":8426,"reason":"immutable"},{"id":"4799","type":"replace","offset":8948,"reason":"immutable"},{"id":"4802","type":"replace","offset":9167,"reason":"immutable"},{"id":"4804","type":"replace","offset":9457,"reason":"immutable"},{"id":"4802","type":"replace","offset":9594,"reason":"immutable"},{"id":"4802","type":"replace","offset":10002,"reason":"immutable"},{"id":"4806","type":"replace","offset":11115,"reason":"immutable"},{"id":"4802","type":"replace","offset":11895,"reason":"immutable"},{"id":"4802","type":"replace","offset":12112,"reason":"immutable"},{"id":"4793","type":"replace","offset":12507,"reason":"immutable"},{"id":"4808","type":"replace","offset":12935,"reason":"immutable"},{"id":"4804","type":"replace","offset":13005,"reason":"immutable"},{"id":"4802","type":"replace","offset":13117,"reason":"immutable"},{"id":"4802","type":"replace","offset":13833,"reason":"immutable"},{"id":"4799","type":"replace","offset":13873,"reason":"immutable"},{"id":"4802","type":"replace","offset":14125,"reason":"immutable"},{"id":"4790","type":"replace","offset":14347,"reason":"immutable"},{"id":"4793","type":"replace","offset":15265,"reason":"immutable"},{"id":"4781","type":"replace","offset":15445,"reason":"immutable"},{"id":"4799","type":"replace","offset":17474,"reason":"immutable"},{"id":"4802","type":"replace","offset":18518,"reason":"immutable"},{"id":"4781","type":"replace","offset":19088,"reason":"immutable"},{"id":"4802","type":"replace","offset":19773,"reason":"immutable"},{"id":"4781","type":"replace","offset":19937,"reason":"immutable"},{"id":"4802","type":"replace","offset":20816,"reason":"immutable"},{"id":"4802","type":"replace","offset":22063,"reason":"immutable"},{"id":"4802","type":"replace","offset":22301,"reason":"immutable"},{"id":"4802","type":"replace","offset":22383,"reason":"immutable"},{"id":"4802","type":"replace","offset":22958,"reason":"immutable"},{"id":"4799","type":"replace","offset":23283,"reason":"immutable"},{"id":"4804","type":"replace","offset":23342,"reason":"immutable"},{"id":"4790","type":"replace","offset":23679,"reason":"immutable"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":1314,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":2072,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":12459,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":13924,"reason":"library"},{"id":"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib","type":"replace","offset":15213,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":6991,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":10076,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":14194,"reason":"library"},{"id":"contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib","type":"replace","offset":21403,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":3399,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":7713,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":9553,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":14284,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":19854,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":20860,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":21993,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":22219,"reason":"library"},{"id":"contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib","type":"replace","offset":22668,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":28,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":9518,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":17669,"reason":"library"},{"id":"contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib","type":"replace","offset":23397,"reason":"library"}],"transformationValues":{"libraries":{"contracts/HashDroidsCrystalLib.sol:HashDroidsCrystalLib":"0x65b8cae34c5110baf69b2584c23995f7dfca61d2","contracts/HashDroidsEconomyLib.sol:HashDroidsEconomyLib":"0x522c131fef36ef649928f3e1aa0d4e984cd685e6","contracts/HashDroidsHarvestLib.sol:HashDroidsHarvestLib":"0xfa0b98827b35b920155c8ffab08a38a787eb50d6","contracts/HashDroidsTreasuryLib.sol:HashDroidsTreasuryLib":"0xeaee8942bc98760ed5b6cb471ac5836748fe16cf"},"immutables":{"4781":"0x0000000000000000000000000000000000000000000000000000000000000001","4784":"0x00000000000000000000000049718f13f9318dfac9638cd0a79a25bbbe4649a9","4787":"0x0000000000000000000000008cfe21d4ba33ff195b3b8ed9a14bc7ecf92d05c3","4790":"0x0000000000000000000000000eed2c5e866a3792f587caf0839941ea57fe6915","4793":"0x0000000000000000000000000a4ac218349d36143ed4a65e7da6e60857b77777","4796":"0x000000000000000000000000d39ac117cce323221f0627ed9c2d1fd8c7a99252","4799":"0x000000000000000000000000ef45ec3351c8d0df83798d7fc0f82b3ca5c8596f","4802":"0x0000000000000000000000000b5e7a91763d43186f8f1056ffbcd11fdb0de6bc","4804":"0x0000000000000000000000004f8fdbd4df216fec5b2bf82d26ef0b76f4a6b1f4","4806":"0x0000000000000000000000005ddccf56216fc5b545876b04a0a5a1d4cb3d75ab","4808":"0x000000000000000000000000c0c4a49130925dc7084ffb34ce4693335073d070"}}},"deployment":{"transactionHash":"0x1a453384a56212b11812044f0768c323219d505001e9eda553fe9ff66bcb7972","blockNumber":"129862201","transactionIndex":"157","deployer":"0x4fccAA2287A108c97e898C560EE5a4b54E6e4854"},"sources":{"contracts/HashDroidsCrystalLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\ninterface ICrystalPatentOwner { function ownerOf(uint256) external view returns(address); }\n/// @notice Immutable linked chest and crystal accounting; invoked by the Nexus under its reentrancy guard.\nlibrary HashDroidsCrystalLib {\n    uint256 private constant ACC_PRECISION=1e18;\n    uint256 private constant ELEM_WATER=101;\n    uint256 private constant ELEM_FIRE=102;\n    uint256 private constant ELEM_ENTROPY=105;\n    struct PendingChestCommit { address player; uint64 unlockBlock; bool resolved; }\n    struct CrystalState {\n        mapping(uint256=>PendingChestCommit) chestCommits;\n        uint256 totalChestCommits;\n        uint256 totalChestsOpened;\n        uint256 totalCrystalShares;\n        uint256 accPrimaPerShare;\n        uint256 undistributedPrimaRewards;\n        uint256 totalPrimaDistributedToStakers;\n        mapping(address=>uint256) userCrystalShares;\n        mapping(address=>uint256) userRewardDebt;\n        mapping(address=>uint256) pendingPrimaRewards;\n    }\n    error CommitAlreadyResolved();\n    error CommitNotReady(uint256 currentBlock,uint256 requiredBlock);\n    error NothingToClaim();\n    error TransferFailed();\n    error InvalidInput();\n    error InsufficientElementBalance(uint256 elementId,uint256 required,uint256 available);\n    event ChestCommitCreated(uint256 indexed chestCommitId,address indexed player,uint64 unlockBlock);\n    event SynthesisChestOpened(address indexed player,uint256 indexed chestCommitId,uint256 crystalTierRolled,uint256 crystalSharesGranted,uint256 bonusElementId);\n    event CrystalPrimaClaimed(address indexed player,uint256 primaAmount);\n    function commitOpenSynthesisChest(CrystalState storage state, HashDroidsElements elements) external returns (uint256 chestCommitId) {\n        elements.burnAvailable(msg.sender,100,1);\n        chestCommitId = ++state.totalChestCommits;\n        uint64 unlockBlock = uint64(block.number + 1);\n        state.chestCommits[chestCommitId] = PendingChestCommit({\n            player: msg.sender,\n            unlockBlock: unlockBlock,\n            resolved: false\n        });\n        emit ChestCommitCreated(chestCommitId, msg.sender, unlockBlock);\n    }\n\n    function revealSynthesisChest(CrystalState storage state, HashDroidsElements elements, address patent, uint256 chestCommitId)\n        external\n        returns (\n            uint256 crystalTierRolled,\n            uint256 crystalSharesGranted,\n            uint256 bonusElementId\n        )\n    {\n        PendingChestCommit storage cc = state.chestCommits[chestCommitId];\n        if (cc.player == address(0) || cc.resolved) revert CommitAlreadyResolved();\n        if (block.number <= cc.unlockBlock) revert CommitNotReady(block.number, uint256(cc.unlockBlock) + 1);\n\n        cc.resolved = true;\n        state.totalChestsOpened++;\n\n        bytes32 bHash = blockhash(cc.unlockBlock);\n        if (bHash == bytes32(0)) {\n            elements.mintCredit(cc.player, ELEM_WATER, 1);\n            elements.mintCredit(cc.player, ELEM_FIRE, 1);\n            elements.mintCredit(cc.player, ELEM_ENTROPY, 1);\n            crystalTierRolled = 1;\n            crystalSharesGranted = 10;\n            _addCrystalShares(state,cc.player, 10);\n            emit SynthesisChestOpened(cc.player, chestCommitId, 1, 10, 0);\n            return (1, 10, 0);\n        }\n\n        uint256 rand = uint256(keccak256(abi.encodePacked(bHash, cc.player, chestCommitId)));\n\n        uint256 base1 = ELEM_WATER + (rand % 4);\n        uint256 base2 = ELEM_WATER + ((rand >> 8) % 4);\n        elements.mintCredit(cc.player, base1, 1);\n        elements.mintCredit(cc.player, base2, 1);\n        elements.mintCredit(cc.player, ELEM_ENTROPY, 1);\n\n        uint256 bonusRoll = (rand >> 16) % 100;\n        if (bonusRoll < 35) {\n            uint256 candidateId = 5 + ((rand >> 24) % 20);\n            if (_exists(patent,candidateId)) {\n                bonusElementId = candidateId;\n                elements.mintCredit(cc.player, candidateId, 1);\n            } else {\n                bonusElementId = ELEM_ENTROPY;\n                elements.mintCredit(cc.player, ELEM_ENTROPY, 1);\n            }\n        }\n\n        uint256 tierRoll = (rand >> 32) % 100;\n        if (tierRoll < 45) {\n            crystalTierRolled = 1;\n            crystalSharesGranted = 10;\n        } else if (tierRoll < 75) {\n            crystalTierRolled = 2;\n            crystalSharesGranted = 25;\n        } else if (tierRoll < 90) {\n            crystalTierRolled = 3;\n            crystalSharesGranted = 60;\n        } else if (tierRoll < 98) {\n            crystalTierRolled = 4;\n            crystalSharesGranted = 150;\n        } else {\n            crystalTierRolled = 5;\n            crystalSharesGranted = 350;\n        }\n\n        _addCrystalShares(state,cc.player, crystalSharesGranted);\n\n        emit SynthesisChestOpened(cc.player, chestCommitId, crystalTierRolled, crystalSharesGranted, bonusElementId);\n    }\n\n    function pendingCrystalPrima(CrystalState storage state, address user) external view returns (uint256) {\n        uint256 shares = state.userCrystalShares[user];\n        uint256 accrued = (shares * state.accPrimaPerShare) / ACC_PRECISION;\n        return state.pendingPrimaRewards[user] + (accrued - state.userRewardDebt[user]);\n    }\n\n    function claimCrystalPrimaRewards(CrystalState storage state, IERC20 primaToken) external {\n        _harvestPendingPrimaToStorage(state,msg.sender);\n        uint256 reward = state.pendingPrimaRewards[msg.sender];\n        if (reward == 0) revert NothingToClaim();\n\n        state.pendingPrimaRewards[msg.sender] = 0;\n        bool ok = primaToken.transfer(msg.sender, reward);\n        if (!ok) revert TransferFailed();\n\n        emit CrystalPrimaClaimed(msg.sender, reward);\n    }\n\n    function _addCrystalShares(CrystalState storage state, address user, uint256 sharesToAdd) private {\n        _harvestPendingPrimaToStorage(state,user);\n        state.userCrystalShares[user] += sharesToAdd;\n        state.totalCrystalShares += sharesToAdd;\n        state.userRewardDebt[user] = (state.userCrystalShares[user] * state.accPrimaPerShare) / ACC_PRECISION;\n\n        if (state.undistributedPrimaRewards > 0 && state.totalCrystalShares > 0) {\n            uint256 toDistribute = state.undistributedPrimaRewards;\n            state.undistributedPrimaRewards = 0;\n            state.accPrimaPerShare += (toDistribute * ACC_PRECISION) / state.totalCrystalShares;\n            state.totalPrimaDistributedToStakers += toDistribute;\n        }\n    }\n\n    function _harvestPendingPrimaToStorage(CrystalState storage state, address user) private {\n        uint256 shares = state.userCrystalShares[user];\n        if (shares > 0) {\n            uint256 accrued = (shares * state.accPrimaPerShare) / ACC_PRECISION;\n            uint256 pending = accrued - state.userRewardDebt[user];\n            if (pending > 0) {\n                state.pendingPrimaRewards[user] += pending;\n            }\n        }\n        state.userRewardDebt[user] = (shares * state.accPrimaPerShare) / ACC_PRECISION;\n    }\n\n    function distributePrima(CrystalState storage state, uint256 primaAmount) public {\n        if (primaAmount == 0) return;\n        if (state.totalCrystalShares == 0) {\n            state.undistributedPrimaRewards += primaAmount;\n        } else {\n            uint256 totalToShare = primaAmount + state.undistributedPrimaRewards;\n            state.undistributedPrimaRewards = 0;\n            state.accPrimaPerShare += (totalToShare * ACC_PRECISION) / state.totalCrystalShares;\n            state.totalPrimaDistributedToStakers += totalToShare;\n        }\n    }\n\n    function inject(CrystalState storage state, IERC20 token, uint256 amount) external {\n        if(address(token)==address(0)||amount==0) revert InvalidInput();\n        uint256 balanceBefore=token.balanceOf(address(this));\n        if(!token.transferFrom(msg.sender,address(this),amount)) revert TransferFailed();\n        uint256 received=token.balanceOf(address(this))-balanceBefore;\n        if(received==0) revert InvalidInput();\n        // Only received tokens may become liabilities to Crystal holders.\n        distributePrima(state,received);\n    }\n    function _exists(address patent,uint256 id) private view returns(bool) {\n        try ICrystalPatentOwner(patent).ownerOf(id) returns(address) { return true; } catch { return false; }\n    }\n}\n"},"contracts/HashDroidsEconomyLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\n\n/// @notice Linked P2P escrow implementation. Runs by DELEGATECALL in the Nexus.\n/// @dev All mutating entry points MUST be called by a nonReentrant Nexus wrapper.\n///      The library has no independent custody, administrator, or upgrade function.\nlibrary HashDroidsEconomyLib {\n    struct MarketListing {\n        address seller;\n        uint256 elementId;\n        uint256 units;\n        uint256 pricePerUnitBnb;\n        bool active;\n    }\n\n    struct MarketState {\n        uint256 totalListings;\n        mapping(uint256 => MarketListing) listings;\n    }\n\n    error InvalidInput();\n    error InsufficientPayment();\n    error TransferFailed();\n    error InsufficientElementBalance(uint256 elementId, uint256 required, uint256 available);\n\n    event ElementListedP2P(uint256 indexed listingId, address indexed seller, uint256 indexed elementId, uint256 units, uint256 pricePerUnitBnb);\n    event ElementSoldP2P(uint256 indexed listingId, address indexed buyer, uint256 indexed elementId, uint256 units, uint256 totalBnbPrice);\n\n    function list(\n        MarketState storage market,\n        HashDroidsElements elements,\n        uint256 elementId,\n        uint256 units,\n        uint256 pricePerUnitBnb\n    ) external returns (uint256 listingId) {\n        // Farmers may trade harvested bases and tradable Entropy as well as\n        // discovered elements. Chests, the Singularity and unknown IDs stay out.\n        bool tradableId = (elementId >= 5 && elementId <= 95) || (elementId >= 101 && elementId <= 105);\n        if (units == 0 || pricePerUnitBnb == 0 || !tradableId) revert InvalidInput();\n        elements.lockAvailable(msg.sender,elementId,units);\n        listingId = ++market.totalListings;\n        market.listings[listingId] = MarketListing(msg.sender, elementId, units, pricePerUnitBnb, true);\n        emit ElementListedP2P(listingId, msg.sender, elementId, units, pricePerUnitBnb);\n    }\n\n    function cancel(\n        MarketState storage market,\n        HashDroidsElements elements,\n        uint256 listingId\n    ) external {\n        MarketListing storage listing = market.listings[listingId];\n        if (!listing.active || listing.seller != msg.sender) revert InvalidInput();\n        listing.active = false;\n        elements.releaseEscrow(msg.sender,listing.elementId,listing.units);\n    }\n\n    function buy(\n        MarketState storage market,\n        HashDroidsElements elements,\n        mapping(address => uint256) storage pendingBnb,\n        uint256 listingId,\n        uint256 units\n    ) external returns (uint256 elementId, uint256 marketFee) {\n        MarketListing storage listing = market.listings[listingId];\n        if (!listing.active || units == 0 || units > listing.units) revert InvalidInput();\n        uint256 price = units * listing.pricePerUnitBnb;\n        if (msg.value < price) revert InsufficientPayment();\n        elementId = listing.elementId;\n        listing.units -= units;\n        if (listing.units == 0) listing.active = false;\n        // The protocol's 15% share is taken from this 5% fee, not the sale price.\n        marketFee = price * 500 / 10000;\n        uint256 proceeds = price - marketFee;\n        elements.releaseEscrow(msg.sender,elementId,units);\n        (bool paid,) = listing.seller.call{value: proceeds}(\"\");\n        if (!paid) pendingBnb[listing.seller] += proceeds;\n        if (msg.value > price) {\n            (bool refunded,) = msg.sender.call{value: msg.value - price}(\"\");\n            if (!refunded) revert TransferFailed();\n        }\n        emit ElementSoldP2P(listingId, msg.sender, elementId, units, price);\n    }\n\n    function tierBaseEquivalent(uint256 tier) public pure returns (uint256) {\n        if (tier == 1) return 4;\n        if (tier == 2) return 10;\n        if (tier == 3) return 19;\n        if (tier == 4) return 37;\n        if (tier == 5) return 68;\n        if (tier == 6) return 126;\n        if (tier == 7) return 322;\n        revert InvalidInput();\n    }\n\n    function quoteProtocolPrice(uint256 tier, uint256 sold, uint256 units) external pure returns (uint256) {\n        if (units == 0) revert InvalidInput();\n        uint256 recursiveBaseCostBnb = tierBaseEquivalent(tier) * 0.0005 ether;\n        uint256 ceilingUnitCostBnb = recursiveBaseCostBnb * 1350 / 1000;\n        uint256 avgMultiplier = 1000 + ((sold * 2 + units) * 10 / 100);\n        return ceilingUnitCostBnb * units * avgMultiplier / 1000;\n    }\n}\n"},"contracts/HashDroidsElements.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\nimport {ERC1155} from \"@openzeppelin/contracts/token/ERC1155/ERC1155.sol\";\nimport {ERC1155Supply} from \"@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol\";\nimport {IERC1155Receiver} from \"@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\";\nimport {IERC165} from \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Base64} from \"@openzeppelin/contracts/utils/Base64.sol\";\nimport {Strings} from \"@openzeppelin/contracts/utils/Strings.sol\";\n\ninterface IHashDroidsElementArtwork {\n    function imageBaseURI() external view returns (string memory);\n}\n\ninterface IHashDroidsPublicElementMeta {\n    function elementMeta(uint256 id) external view returns (\n        string memory elementName, string memory symbol, uint256 tier, bytes32 commitmentHash, bool registered\n    );\n}\n\n/// @notice Real ERC-1155 game units: one token is one ingredient or synthesis chest.\n/// @dev The immutable Nexus is the only issuer/game custodian. New output is minted\n/// to this collection and credited to its beneficiary, without calling that player.\n/// A beneficiary can spend this custody balance in-game or safely claim it to a\n/// wallet. Bound welcome resources are deliberately separate and are never minted here.\n/// For every id: balanceOf(this,id) == totalClaimable(id) + lockedEscrow(id).\ncontract HashDroidsElements is ERC1155Supply, IERC1155Receiver, ReentrancyGuard {\n    using Strings for uint256;\n\n    string public constant name = \"HashDroids Elements and Chests\";\n    string public constant symbol = \"HDELEMENT\";\n    address public immutable nexus;\n    address public immutable renderer;\n    // Constructor-only string; there is no owner, setter, proxy or retarget method.\n    string public imageBaseURI;\n\n    mapping(address => mapping(uint256 => uint256)) public claimableBalance;\n    mapping(uint256 => uint256) public totalClaimable;\n    mapping(uint256 => uint256) public lockedEscrow;\n    bool private acceptingEscrow;\n\n    error OnlyNexus();\n    error InvalidElementId(uint256 id);\n    error InvalidAmount();\n    error InvalidAccount();\n    error InvalidRenderer();\n    error UnsolicitedEscrowDeposit();\n    error InsufficientAvailable(uint256 id, uint256 required, uint256 available);\n    error InsufficientClaimable(uint256 id, uint256 required, uint256 available);\n    error InsufficientLocked(uint256 id, uint256 required, uint256 available);\n\n    event ClaimableCredited(address indexed beneficiary, uint256 indexed id, uint256 units);\n    event ElementsClaimed(address indexed beneficiary, address indexed to, uint256 indexed id, uint256 units);\n\n    modifier onlyNexus() {\n        if (msg.sender != nexus) revert OnlyNexus();\n        _;\n    }\n\n    constructor(address nexus_, address renderer_) ERC1155(\"\") {\n        // Created inside the immutable game constructor; nobody can initialize\n        // this collection and later redirect its authority to another game.\n        if (nexus_ == address(0) || nexus_ != msg.sender) revert OnlyNexus();\n        if (renderer_.code.length == 0) revert InvalidRenderer();\n        string memory base = IHashDroidsElementArtwork(renderer_).imageBaseURI();\n        bytes memory b = bytes(base);\n        if (b.length < 9 || b[0] != \"i\" || b[1] != \"p\" || b[2] != \"f\" || b[3] != \"s\" ||\n            b[4] != \":\" || b[5] != \"/\" || b[6] != \"/\" || b[b.length - 1] != \"/\") revert InvalidRenderer();\n        nexus = nexus_;\n        renderer = renderer_;\n        imageBaseURI = base;\n    }\n\n    function availableBalanceOf(address account, uint256 id) public view returns (uint256) {\n        return balanceOf(account, id) + claimableBalance[account][id];\n    }\n\n    function mintCredit(address to, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _requireAccount(to);\n        _requireUnits(id, units);\n        claimableBalance[to][id] += units;\n        totalClaimable[id] += units;\n        acceptingEscrow = true;\n        _mint(address(this), id, units, \"\");\n        acceptingEscrow = false;\n        emit ClaimableCredited(to, id, units);\n    }\n\n    /// @dev Consume credited units first, then units already in the player's wallet.\n    /// Only the fixed game can do this, through its authorized player/game actions.\n    function burnAvailable(address from, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        uint256 credited = _debitAvailable(from, id, units);\n        if (credited != 0) _burn(address(this), id, credited);\n        if (units > credited) _burn(from, id, units - credited);\n    }\n\n    /// @dev Move units into real custody without burning or reducing totalSupply.\n    function lockAvailable(address from, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        uint256 credited = _debitAvailable(from, id, units);\n        lockedEscrow[id] += units;\n        if (units > credited) _receiveWalletUnits(from, id, units - credited);\n    }\n\n    /// @dev A timeout, cancellation or purchase reallocates existing escrow tokens.\n    /// It cannot call an external recipient or mint replacement supply.\n    function releaseEscrow(address to, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _requireAccount(to);\n        _debitLocked(id, units);\n        claimableBalance[to][id] += units;\n        totalClaimable[id] += units;\n        emit ClaimableCredited(to, id, units);\n    }\n\n    function burnEscrow(uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _debitLocked(id, units);\n        _burn(address(this), id, units);\n    }\n\n    /// @dev User-requested transfer from the game UI. This safe delivery can call\n    /// the recipient; the Nexus wrapper must also protect its own mutable state.\n    function transferAvailable(address from, address to, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _requireAccount(to);\n        uint256 credited = _debitAvailable(from, id, units);\n        if (units > credited) _receiveWalletUnits(from, id, units - credited);\n        _safeTransferFrom(address(this), to, id, units, \"\");\n    }\n\n    function claim(uint256 id, uint256 units, address to) external nonReentrant {\n        _requireAccount(to);\n        _debitClaim(msg.sender, id, units);\n        _safeTransferFrom(address(this), to, id, units, \"\");\n        emit ElementsClaimed(msg.sender, to, id, units);\n    }\n\n    function claimBatch(uint256[] calldata ids, uint256[] calldata units, address to) external nonReentrant {\n        _requireAccount(to);\n        if (ids.length == 0 || ids.length != units.length) revert InvalidAmount();\n        // Sequential debits correctly aggregate duplicate IDs. All effects occur\n        // before the receiver callback; rejecting any receipt rolls back everything.\n        for (uint256 i; i < ids.length; i++) _debitClaim(msg.sender, ids[i], units[i]);\n        _safeBatchTransferFrom(address(this), to, ids, units, \"\");\n        for (uint256 i; i < ids.length; i++) emit ElementsClaimed(msg.sender, to, ids[i], units[i]);\n    }\n\n    function _debitAvailable(address from, uint256 id, uint256 units) private returns (uint256 credited) {\n        _requireAccount(from);\n        _requireUnits(id, units);\n        uint256 available = availableBalanceOf(from, id);\n        if (available < units) revert InsufficientAvailable(id, units, available);\n        credited = claimableBalance[from][id];\n        if (credited > units) credited = units;\n        if (credited != 0) {\n            claimableBalance[from][id] -= credited;\n            totalClaimable[id] -= credited;\n        }\n    }\n\n    function _debitClaim(address from, uint256 id, uint256 units) private {\n        _requireUnits(id, units);\n        uint256 available = claimableBalance[from][id];\n        if (available < units) revert InsufficientClaimable(id, units, available);\n        claimableBalance[from][id] = available - units;\n        totalClaimable[id] -= units;\n    }\n\n    function _debitLocked(uint256 id, uint256 units) private {\n        _requireUnits(id, units);\n        uint256 available = lockedEscrow[id];\n        if (available < units) revert InsufficientLocked(id, units, available);\n        lockedEscrow[id] = available - units;\n    }\n\n    function _receiveWalletUnits(address from, uint256 id, uint256 units) private {\n        acceptingEscrow = true;\n        _safeTransferFrom(from, address(this), id, units, \"\");\n        acceptingEscrow = false;\n    }\n\n    function _requireAccount(address account) private view {\n        if (account == address(0) || account == address(this)) revert InvalidAccount();\n    }\n\n    function _requireUnits(uint256 id, uint256 units) private pure {\n        _requireId(id);\n        if (units == 0) revert InvalidAmount();\n    }\n\n    function _requireId(uint256 id) private pure {\n        if (!((id >= 5 && id <= 96) || (id >= 100 && id <= 105))) revert InvalidElementId(id);\n    }\n\n    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal override {\n        // Unsolicited own-token deposits would create unallocated custody and\n        // cannot be recovered by a privileged sweep. Refuse them before mutation.\n        if (to == address(this) && !acceptingEscrow) revert UnsolicitedEscrowDeposit();\n        for (uint256 i; i < ids.length; i++) _requireId(ids[i]);\n        super._update(from, to, ids, values);\n    }\n\n    function onERC1155Received(address operator, address, uint256, uint256, bytes calldata) external view override returns (bytes4) {\n        if (msg.sender != address(this) || operator != nexus || !acceptingEscrow) revert UnsolicitedEscrowDeposit();\n        return IERC1155Receiver.onERC1155Received.selector;\n    }\n\n    function onERC1155BatchReceived(address operator, address, uint256[] calldata, uint256[] calldata, bytes calldata) external view override returns (bytes4) {\n        if (msg.sender != address(this) || operator != nexus || !acceptingEscrow) revert UnsolicitedEscrowDeposit();\n        return IERC1155Receiver.onERC1155BatchReceived.selector;\n    }\n\n    function supportsInterface(bytes4 interfaceId) public view override(ERC1155, IERC165) returns (bool) {\n        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    function uri(uint256 id) public view override returns (string memory) {\n        _requireId(id);\n        string memory kind = id == 100 ? \"Synthesis Chest\" : \"Element\";\n        (string memory elementName, string memory elementSymbol, uint256 tier) = _displayMeta(id);\n        return _dataURI(string.concat(\n            '{\"name\":\"', Strings.escapeJSON(elementName),\n            '\",\"description\":\"One ERC-1155 token is one game unit. Game custody credits are backed by real tokens and can be claimed or used in the Crisol. This token is not a discovery patent.\",\"image\":\"',\n            Strings.escapeJSON(string.concat(imageBaseURI, \"elem_\", id.toString(), \".jpg\")),\n            '\",\"external_url\":\"https://hashdroids.fun\",\"attributes\":[{\"trait_type\":\"Element ID\",\"value\":', id.toString(),\n            '},{\"trait_type\":\"Asset type\",\"value\":\"', kind,\n            '\"},{\"trait_type\":\"Symbol\",\"value\":\"', Strings.escapeJSON(elementSymbol),\n            '\"},{\"trait_type\":\"Tier\",\"value\":', tier.toString(),\n            '},{\"trait_type\":\"Unit size\",\"value\":1}]}'\n        ));\n    }\n\n    function _displayMeta(uint256 id) private view returns (string memory elementName, string memory elementSymbol, uint256 tier) {\n        if (id <= 96) {\n            // Only public identity fields are used. The commitment hash is ignored;\n            // this metadata does not request or expose recipe slots or secret salts.\n            bool registered;\n            (elementName, elementSymbol, tier,, registered) = IHashDroidsPublicElementMeta(nexus).elementMeta(id);\n            if (!registered) return (string.concat(\"HashDroids Element #\", id.toString()), \"\", 0);\n            return (elementName, elementSymbol, tier);\n        }\n        if (id == 100) return (\"Synthesis Chest\", \"CHEST\", 0);\n        if (id == 101) return (\"Water\", \"WATER\", 0);\n        if (id == 102) return (\"Fire\", \"FIRE\", 0);\n        if (id == 103) return (\"Earth\", \"EARTH\", 0);\n        if (id == 104) return (\"Air\", \"AIR\", 0);\n        return (\"Entropy\", \"ENTROPY\", 0);\n    }\n\n    function contractURI() external view returns (string memory) {\n        return _dataURI(string.concat(\n            '{\"name\":\"', name, '\",\"symbol\":\"', symbol,\n            '\",\"description\":\"Transferable ERC-1155 elements and synthesis chests for HashDroids Phase III. One token equals one unit. Discovery patents are a separate ERC-721 collection. No admin mint or upgrade authority.\",\"image\":\"',\n            Strings.escapeJSON(string.concat(imageBaseURI, \"elem_100.jpg\")),\n            '\",\"external_link\":\"https://hashdroids.fun\"}'\n        ));\n    }\n\n    function _dataURI(string memory data) private pure returns (string memory) {\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(data)));\n    }\n}\n"},"contracts/HashDroidsHarvestLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\ninterface IHarvestNFT { function ownerOf(uint256 id) external view returns(address); }\ninterface IHarvestTitan is IHarvestNFT { function titanShares(uint256 id) external view returns(uint256); }\ninterface IHarvestPass is IHarvestNFT { function hasEarlyBox(uint256 id) external view returns(bool); }\n/// @notice Linked immutable library executed in the Nexus storage context. No independently held assets.\nlibrary HashDroidsHarvestLib {\n    error InvalidInput(); error NothingToHarvest();\n    error NotPassOwner(); error NotEligibleForEarlyBox(); error EarlyBoxAlreadyOpened();\n    event EarlySupplyBoxOpened(address indexed player,uint256 indexed passId,uint256 crucibleBoundGrantedEach);\n    function openGenesisBox(mapping(uint256=>bool) storage opened,\n        mapping(address=>mapping(uint256=>uint256)) storage bound,address pass,uint256 passId) external\n    {\n        if(IHarvestPass(pass).ownerOf(passId)!=msg.sender) revert NotPassOwner();\n        if(!IHarvestPass(pass).hasEarlyBox(passId)) revert NotEligibleForEarlyBox();\n        if(opened[passId]) revert EarlyBoxAlreadyOpened();\n        opened[passId]=true;\n        for(uint256 id=101;id<=104;id++)bound[msg.sender][id]+=3 ether;\n        emit EarlySupplyBoxOpened(msg.sender,passId,3 ether);\n    }\n    function takeSlots(mapping(address=>mapping(uint256=>uint256)) storage bound,HashDroidsElements elements,\n        address player,uint256[4] memory slots,bool lockInEscrow) external returns(uint8[4] memory flags)\n    {\n        for(uint256 i;i<4;i++){\n            uint256 id=slots[i];uint256 credit=bound[player][id];\n            if(credit>=1 ether){bound[player][id]=credit-1 ether;flags[i]=1;}\n            else if(lockInEscrow) elements.lockAvailable(player,id,1);\n            else elements.burnAvailable(player,id,1);\n        }\n    }\n    function resolveSlots(mapping(address=>mapping(uint256=>uint256)) storage bound,HashDroidsElements elements,\n        address player,uint256[4] memory slots,uint8[4] memory flags,bool refund) external\n    {\n        for(uint256 i;i<4;i++){\n            if(flags[i]==1){if(refund)bound[player][slots[i]]+=1 ether;}\n            else if(refund)elements.releaseEscrow(player,slots[i],1);\n            else elements.burnEscrow(slots[i],1);\n        }\n    }\n    function mintBaseBundle(HashDroidsElements elements,address to,uint256 packCount) external {\n        uint256 units=2*packCount;\n        for(uint256 id=101;id<=105;id++)elements.mintCredit(to,id,units);\n    }\n    /// @dev Public ingredient families only; the Nexus separately checks each\n    /// non-base ingredient was actually discovered before invoking this helper.\n    function researchTierForSlots(uint256[4] memory slots) external pure returns(uint256) {\n        uint256[8] memory count;\n        for(uint256 i;i<4;i++){\n            uint256 id=slots[i];\n            if(id>=101 && id<=104)count[0]++;\n            else if(id==105)count[7]++;\n            else if(id>=5 && id<=95){\n                uint256 tier=id<=24?1:id<=44?2:id<=62?3:id<=77?4:id<=89?5:6;\n                count[tier]++;\n            }else revert InvalidInput();\n        }\n        if(count[0]==4)return 1;\n        if(count[0]==2 && count[1]==2)return 2;\n        if(count[0]==1 && count[1]==2 && count[2]==1)return 3;\n        if(count[1]==2 && count[2]==1 && count[3]==1)return 4;\n        if(count[2]==1 && count[3]==1 && count[4]==1 && count[7]==1)return 5;\n        if(count[3]==1 && count[4]==1 && count[5]==1 && count[7]==1)return 6;\n        if(count[5]==1 && count[6]==2 && count[7]==1)return 7;\n        revert InvalidInput();\n    }\n    function harvest(address gen1,address titans,uint256[] calldata gen1Ids,uint256[] calldata titanIds,\n        mapping(uint256=>uint256) storage gen1Count,mapping(uint256=>uint256) storage gen1Time,\n        mapping(uint256=>uint256) storage titanCount,mapping(uint256=>uint256) storage titanTime,\n        HashDroidsElements elements)\n        external returns(uint256 base,uint256 entropy)\n    {\n        for(uint256 i;i<gen1Ids.length;i++){\n            uint256 id=gen1Ids[i];if(IHarvestNFT(gen1).ownerOf(id)!=msg.sender)revert InvalidInput();\n            if(gen1Count[id]>=8 || (gen1Time[id]!=0 && block.timestamp<gen1Time[id]+24 hours))continue;\n            gen1Count[id]++;gen1Time[id]=block.timestamp;base++;\n        }\n        for(uint256 i;i<titanIds.length;i++){\n            uint256 id=titanIds[i];if(IHarvestTitan(titans).ownerOf(id)!=msg.sender)revert InvalidInput();\n            if(titanCount[id]>=30 || (titanTime[id]!=0 && block.timestamp<titanTime[id]+24 hours))continue;\n            titanCount[id]++;titanTime[id]=block.timestamp;\n            uint256 shares=IHarvestTitan(titans).titanShares(id);uint256 units=(shares>12?12:shares)/3;\n            base+=units==0?1:units;entropy++;\n        }\n        if(base==0 && entropy==0)revert NothingToHarvest();\n        uint256 each=base/4;\n        if(each>0)for(uint256 id=101;id<=104;id++){elements.mintCredit(msg.sender,id,each);}\n        for(uint256 i;i<base%4;i++){uint256 id=101+((block.number+i)%4);elements.mintCredit(msg.sender,id,1);}\n        if(entropy>0){elements.mintCredit(msg.sender,105,entropy);}\n    }\n}\n"},"contracts/HashDroidsPatentRenderer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\nimport {Base64} from \"@openzeppelin/contracts/utils/Base64.sol\";\nimport {Strings} from \"@openzeppelin/contracts/utils/Strings.sol\";\n\n/// @title HashDroidsPatentRenderer — Phase III patent metadata and optional animated telemetry\n/// @notice The 92 possible patents (IDs 5–96) use fixed IPFS illustrations and onchain discovery metadata.\ncontract HashDroidsPatentRenderer {\n    using Strings for uint256;\n\n    // Constructor-only storage: Solidity does not support immutable strings.\n    // There is no administrator, setter, upgrade path or mutable image gateway.\n    string public imageBaseURI;\n    bytes32 public immutable imageCidHash;\n    error InvalidImageCid();\n    error InvalidPatentElement();\n\n    /// @dev Format validation cannot prove availability: deployment must verify/pin the directory containing all 92 patent illustrations.\n    ///      PLACEHOLDER, empty strings, gateways and path suffixes are intentionally rejected.\n    constructor(string memory imageDirectoryCid) {\n        bytes memory cid=bytes(imageDirectoryCid);\n        bool v0=cid.length==46 && cid[0]==\"Q\" && cid[1]==\"m\";\n        bool v1=cid.length==59 && cid[0]==\"b\" && cid[1]==\"a\" && cid[2]==\"f\" && cid[3]==\"y\";\n        if(!v0 && !v1) revert InvalidImageCid();\n        for(uint256 i; i<cid.length; i++) {\n            bytes1 c=cid[i];\n            if(v0) {\n                if(!((c>=\"1\" && c<=\"9\") || (c>=\"A\" && c<=\"H\") || (c>=\"J\" && c<=\"N\") || (c>=\"P\" && c<=\"Z\") || (c>=\"a\" && c<=\"k\") || (c>=\"m\" && c<=\"z\"))) revert InvalidImageCid();\n            } else if(!((c>=\"a\" && c<=\"z\") || (c>=\"2\" && c<=\"7\"))) revert InvalidImageCid();\n        }\n        imageBaseURI=string.concat(\"ipfs://\",imageDirectoryCid,\"/\");\n        imageCidHash=keccak256(cid);\n    }\n\n    function _escapeXml(string memory text) private pure returns(string memory) {\n        bytes memory input=bytes(text);\n        bytes memory escaped=new bytes(input.length*6);\n        uint256 used;\n        for(uint256 i; i<input.length; i++) {\n            bytes1 c=input[i];\n            bytes memory replacement;\n            if(c==\"&\") replacement=bytes(\"&amp;\");\n            else if(c==\"<\") replacement=bytes(\"&lt;\");\n            else if(c==\">\") replacement=bytes(\"&gt;\");\n            else if(c=='\"') replacement=bytes(\"&quot;\");\n            else if(c==\"'\") replacement=bytes(\"&apos;\");\n            else { escaped[used++]=c; continue; }\n            for(uint256 j; j<replacement.length; j++) escaped[used++]=replacement[j];\n        }\n        assembly (\"memory-safe\") { mstore(escaped,used) }\n        return string(escaped);\n    }\n\n    function _tierPalette(uint256 tier)\n        internal\n        pure\n        returns (\n            string memory bgHex,\n            string memory primaryHex,\n            string memory accentHex,\n            string memory tierName\n        )\n    {\n        if (tier >= 7) {\n            return (\"#090414\", \"#f3ba2f\", \"#ff006e\", \"TIER 7: THE SINGULARITY\");\n        } else if (tier == 6) {\n            return (\"#050814\", \"#00f5d4\", \"#f3ba2f\", \"TIER 6: COSMOS\");\n        } else if (tier == 5) {\n            return (\"#0f0720\", \"#a855f7\", \"#00bbf9\", \"TIER 5: SCIENCE\");\n        } else if (tier == 4) {\n            return (\"#16070b\", \"#ef4444\", \"#f3ba2f\", \"TIER 4: INVENTION\");\n        } else if (tier == 3) {\n            return (\"#140b04\", \"#f97316\", \"#fde047\", \"TIER 3: MATERIALS\");\n        } else if (tier == 2) {\n            return (\"#08140b\", \"#eab308\", \"#10b981\", \"TIER 2: NATURE\");\n        } else {\n            return (\"#041318\", \"#10b981\", \"#00f5d4\", \"TIER 1: AWAKENING\");\n        }\n    }\n\n    function renderPatentSVG(\n        uint256 elementId,\n        string memory elementName,\n        string memory symbol,\n        uint256 tier,\n        uint256[4] memory slots,\n        address inventor,\n        uint256 totalSupplyUnits,\n        bytes32 recipeHash\n    ) public pure returns (string memory svg) {\n        (\n            string memory bgHex,\n            string memory primaryHex,\n            string memory accentHex,\n            string memory tierName\n        ) = _tierPalette(tier);\n\n        svg = string.concat(\n            '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 360 460\" font-family=\"monospace\">',\n            '<rect width=\"360\" height=\"460\" rx=\"14\" fill=\"', bgHex, '\"/>',\n            '<rect x=\"10\" y=\"10\" width=\"340\" height=\"440\" rx=\"10\" fill=\"none\" stroke=\"', primaryHex, '\" stroke-width=\"2\" stroke-opacity=\"0.75\"/>',\n            '<rect x=\"16\" y=\"16\" width=\"328\" height=\"428\" rx=\"8\" fill=\"none\" stroke=\"', accentHex, '\" stroke-width=\"1\" stroke-opacity=\"0.35\"/>'\n        );\n\n        // Header Bar & Tier Badge\n        svg = string.concat(\n            svg,\n            '<rect x=\"24\" y=\"24\" width=\"312\" height=\"36\" rx=\"6\" fill=\"#020617\" stroke=\"', primaryHex, '\" stroke-width=\"1\"/>',\n            '<text x=\"36\" y=\"47\" fill=\"', primaryHex, '\" font-size=\"12\" font-weight=\"bold\">SYNTHESIS PATENT #', elementId.toString(), '</text>',\n            '<text x=\"324\" y=\"47\" fill=\"', accentHex, '\" font-size=\"11\" font-weight=\"bold\" text-anchor=\"end\">', tierName, '</text>'\n        );\n\n        // Central Atomic Reactor Chamber + Deterministic Matrix\n        svg = string.concat(\n            svg,\n            '<rect x=\"40\" y=\"74\" width=\"280\" height=\"200\" rx=\"10\" fill=\"#020617\" stroke=\"', primaryHex, '\" stroke-width=\"1\" stroke-opacity=\"0.5\"/>',\n            '<circle cx=\"180\" cy=\"174\" r=\"72\" fill=\"none\" stroke=\"', primaryHex, '\" stroke-width=\"1.5\" stroke-dasharray=\"6 4\" stroke-opacity=\"0.6\">',\n            '<animateTransform attributeName=\"transform\" type=\"rotate\" from=\"0 180 174\" to=\"360 180 174\" dur=\"18s\" repeatCount=\"indefinite\"/></circle>',\n            '<circle cx=\"180\" cy=\"174\" r=\"50\" fill=\"none\" stroke=\"', accentHex, '\" stroke-width=\"1.5\" stroke-dasharray=\"4 6\" stroke-opacity=\"0.7\">',\n            '<animateTransform attributeName=\"transform\" type=\"rotate\" from=\"360 180 174\" to=\"0 180 174\" dur=\"12s\" repeatCount=\"indefinite\"/></circle>'\n        );\n\n        // Deterministic 5x5 symmetric crystal core derived from recipeHash\n        uint256 seed = uint256(recipeHash);\n        for (uint256 r = 0; r < 5; r++) {\n            for (uint256 c = 0; c < 3; c++) {\n                uint256 bitIdx = r * 3 + c;\n                if ((seed >> bitIdx) & 1 == 1) {\n                    string memory cellColor = ((seed >> (bitIdx + 20)) & 1 == 1) ? primaryHex : accentHex;\n                    uint256 yPos = 144 + r * 12;\n                    uint256 xLeft = 150 + c * 12;\n                    uint256 xRight = 150 + (4 - c) * 12;\n                    svg = string.concat(\n                        svg,\n                        '<rect x=\"', xLeft.toString(), '\" y=\"', yPos.toString(), '\" width=\"10\" height=\"10\" rx=\"2\" fill=\"', cellColor, '\"/>'\n                    );\n                    if (c < 2) {\n                        svg = string.concat(\n                            svg,\n                            '<rect x=\"', xRight.toString(), '\" y=\"', yPos.toString(), '\" width=\"10\" height=\"10\" rx=\"2\" fill=\"', cellColor, '\"/>'\n                        );\n                    }\n                }\n            }\n        }\n\n        // Patent uniqueness and the actual four recipe slots; no invented parents or royalty percentages.\n        svg = string.concat(\n            svg,\n            '<text x=\"180\" y=\"304\" fill=\"#ffffff\" font-size=\"22\" font-weight=\"bold\" text-anchor=\"middle\">', _escapeXml(elementName), '</text>',\n            '<text x=\"180\" y=\"326\" fill=\"', primaryHex, '\" font-size=\"14\" font-weight=\"bold\" text-anchor=\"middle\">$', _escapeXml(symbol), ' | ONCHAIN ELEMENT</text>',\n            '<rect x=\"24\" y=\"342\" width=\"312\" height=\"98\" rx=\"8\" fill=\"#020617\" stroke=\"', accentHex, '\" stroke-width=\"1\" stroke-opacity=\"0.45\"/>',\n            '<text x=\"38\" y=\"359\" fill=\"#10b981\" font-size=\"11\">PATENT: 1 OF 1</text>',\n            '<text x=\"322\" y=\"359\" fill=\"#f3ba2f\" font-size=\"10\" text-anchor=\"end\">ELEMENT UNITS: ', totalSupplyUnits.toString(), '</text>',\n            '<text x=\"38\" y=\"378\" fill=\"#94a3b8\" font-size=\"10\">INGREDIENTS:</text>',\n            '<text x=\"322\" y=\"378\" fill=\"', primaryHex, '\" font-size=\"10\" text-anchor=\"end\">#', slots[0].toString(), ' + #', slots[1].toString(), ' + #', slots[2].toString(), ' + #', slots[3].toString(), '</text>',\n            '<text x=\"180\" y=\"397\" fill=\"#94a3b8\" font-size=\"9\" text-anchor=\"middle\">DISCOVERED BY</text>',\n            '<text x=\"180\" y=\"412\" fill=\"', primaryHex, '\" font-size=\"8\" text-anchor=\"middle\">', Strings.toHexString(inventor), '</text>',\n            '<text x=\"180\" y=\"430\" fill=\"#64748b\" font-size=\"9\" text-anchor=\"middle\">92 POSSIBLE PATENTS | HASHDROIDS PHASE III</text>',\n            '</svg>'\n        );\n    }\n\n    function renderPatentURI(\n        uint256 elementId,\n        string memory elementName,\n        string memory symbol,\n        uint256 tier,\n        uint256[4] memory slots,\n        address inventor,\n        uint256 totalSupplyUnits,\n        bytes32 recipeHash\n    ) external view returns (string memory) {\n        if(elementId<5 || elementId>96) revert InvalidPatentElement();\n        string memory svg = renderPatentSVG(\n            elementId,\n            elementName,\n            symbol,\n            tier,\n            slots,\n            inventor,\n            totalSupplyUnits,\n            recipeHash\n        );\n\n        string memory json = string.concat(\n            '{\"name\":\"Synthesis Patent #',\n            elementId.toString(),\n            \": \",\n            Strings.escapeJSON(elementName),\n            \" ($\",\n            Strings.escapeJSON(symbol),\n            ')\",\"description\":\"Unique 1-of-1 patent for this discovered element, among 92 possible patents (IDs 5-96) in HashDroids Phase III. The illustration is stored on IPFS; the recipe and original inventor are recorded onchain. Applicable royalties follow the Nexus contract rules. Marketplace royalty amounts derive from fees, not the full trade price. No revenue or return is guaranteed.\",\"attributes\":[{\"trait_type\":\"Element ID\",\"value\":',\n            elementId.toString(),\n            '},{\"trait_type\":\"Symbol\",\"value\":\"$',\n            Strings.escapeJSON(symbol),\n            '\"},{\"trait_type\":\"Tier\",\"value\":',\n            tier.toString(),\n            '},{\"trait_type\":\"Ingredient 1 ID\",\"value\":',\n            slots[0].toString(),\n            '},{\"trait_type\":\"Ingredient 2 ID\",\"value\":',\n            slots[1].toString(),\n            '},{\"trait_type\":\"Ingredient 3 ID\",\"value\":',\n            slots[2].toString(),\n            '},{\"trait_type\":\"Ingredient 4 ID\",\"value\":',\n            slots[3].toString(),\n            '},{\"trait_type\":\"Inventor\",\"value\":\"',\n            Strings.toHexString(inventor),\n            '\"},{\"trait_type\":\"Edition\",\"value\":\"1 of 1\"},{\"trait_type\":\"Maximum Patents\",\"value\":92},{\"trait_type\":\"Circulating Element Units\",\"value\":',\n            totalSupplyUnits.toString(),\n            '}],\"image\":\"',imageBaseURI,'elem_',elementId.toString(),'.jpg\",\"animation_url\":\"data:text/html;base64,',\n            Base64.encode(bytes(string.concat('<!doctype html><html><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><style>body{margin:0;background:#020617;display:grid;place-items:center;min-height:100vh}svg{max-height:100vh;width:auto}</style></head><body>',svg,'</body></html>'))),\n            '\"}'\n        );\n\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n}\n"},"contracts/HashDroidsPatents.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {ERC721} from \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\ninterface IPatentMetadata { function tokenURI(uint256 tokenId) external view returns (string memory); }\n/// @notice Immutable patent collection. Trading approvals and transfers use this address, not the Nexus.\ncontract HashDroidsPatents is ERC721 {\n    address public immutable nexus;\n    error OnlyNexus();\n    constructor(address _nexus) ERC721(\"HashDroids Synthesis Patent\", \"HDPATENT\") { nexus = _nexus; }\n    function mint(address to, uint256 tokenId) external {\n        if (msg.sender != nexus) revert OnlyNexus();\n        _mint(to, tokenId);\n    }\n    function tokenURI(uint256 tokenId) public view override returns (string memory) {\n        _requireOwned(tokenId);\n        return IPatentMetadata(nexus).tokenURI(tokenId);\n    }\n}\n"},"contracts/HashDroidsPhase3.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\nimport {HashDroidsCrystalLib} from \"./HashDroidsCrystalLib.sol\";\nimport {HashDroidsTreasuryLib} from \"./HashDroidsTreasuryLib.sol\";\nimport {HashDroidsEconomyLib} from \"./HashDroidsEconomyLib.sol\";\nimport {HashDroidsHarvestLib} from \"./HashDroidsHarvestLib.sol\";\nimport {HashDroidsPatents} from \"./HashDroidsPatents.sol\";\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\nimport {IERC721} from \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {Ownable} from \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {ECDSA} from \"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\";\nimport {HashDroidsPatentRenderer} from \"./HashDroidsPatentRenderer.sol\";\n\ninterface IHashDroidsGen1P3 {\n    function balanceOf(address owner) external view returns (uint256);\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\ninterface IHashDroidsPhase2P3 {\n    function balanceOf(address owner) external view returns (uint256);\n    function ownerOf(uint256 tokenId) external view returns (address);\n    function titanShares(uint256 titanId) external view returns (uint256);\n}\n\ninterface IHashDroidsOperatorPass {\n    function balanceOf(address owner) external view returns (uint256);\n    function ownerOf(uint256 tokenId) external view returns (address);\n    function hasEarlyBox(uint256 tokenId) external view returns (bool);\n}\n\n/// @title HashDroidsPhase3 — The Synthesis Nexus (V5 Committed Results & FIFO Queue Edition)\n/// @notice Deterministic 4-Slot Alchemical Crucible with Private Verifier EIP-712 Settlement + Cryptographic\n///         256-Bit Recipe Commitments, Bounded Admission Queue, Separated Signer/Relayer/Treasury Keys,\n///         Per-TokenId Capped Soft-Staking, Future-Blockhash Chests, and Recursive Ceiling + P2P Market.\n/// @dev Trust Assumption (Explicit per Audit Section 1):\n///      - Plaintext recipes & 256-bit salts remain strictly offchain in the owner's private Verifier service.\n///      - Successes (`isSuccess = true`) are verified onchain against immutable `commitmentHash` commitments AND\n///        EIP-712 signature from the authorized `verifierSignerByVersion[keyVersion]`.\n///      - Failures (`isSuccess = false`) are authorized via EIP-712 signature from the Verifier Signer (or\n///        resolved via timeout cancellation after `attemptCancelTimeoutBlocks` if the Verifier is unreachable).\n///      - Neither the Verifier Signer nor the Relayer can withdraw funds, alter recipes, or redirect prizes away\n///        from the registered `attempt.player`.\ncontract HashDroidsPhase3 is Ownable, ReentrancyGuard {\n    using ECDSA for bytes32;\n\n    // --- Element & Asset ID Constants ---\n    uint256 private constant SINGULARITY_ID = 96;\n    uint256 private constant ELEM_CHEST = 100;\n    uint256 private constant ELEM_WATER = 101;\n    uint256 private constant ELEM_FIRE = 102;\n    uint256 private constant ELEM_EARTH = 103;\n    uint256 private constant ELEM_AIR = 104;\n    uint256 private constant ELEM_ENTROPY = 105;\n\n    address private constant DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD;\n    uint256 private constant ACC_PRECISION = 1e18;\n\n    // --- EIP-712 TypeHash for Research Settlement (Audit Section 2) ---\n    // Bound to: contract (via EIP712 domain), chainId (via EIP712 domain), seasonId, attemptId, player,\n    // passId, sortedSlotsHash, isSuccess, elementId, secretElementSalt, keyVersion.\n    bytes32 private constant RESEARCH_RESULT_TYPEHASH =\n        keccak256(\n            \"ResearchResult(uint256 seasonId,uint256 attemptId,address player,uint256 passId,bytes32 sortedSlotsHash,bool isSuccess,uint256 elementId,bytes32 secretElementSalt,uint32 keyVersion)\"\n        );\n\n    bytes32 private constant RESEARCH_COMMITMENT_TYPEHASH = keccak256(\n        \"ResearchCommitment(uint256 seasonId,uint256 attemptId,address player,uint256 passId,bytes32 sortedSlotsHash,bytes32 resultCommitment,uint32 keyVersion)\"\n    );\n\n    // --- Attempt State Machine (Audit Section 3) ---\n    enum AttemptStatus {\n        NONE,               // 0: Uninitialized\n        PENDING,            // 1: Admitted onchain, 4 ingredients locked in escrow (`crucibleBound` vs `tradable` tracked)\n        SETTLED_DISCOVERY,  // 2: First discovery awarded (1-of-1 Patent + Element + Inventor Chest)\n        SETTLED_CRAFT,      // 3: Recipe was valid, but Patent was already claimed by an earlier attempt (mints Element + Wolf Chest if eligible)\n        SETTLED_FAILURE,    // 4: Signed failure (burns locked 4 ingredients + grants 1x #105 Primordial Entropy)\n        SETTLED_REFUNDED,   // 5: duplicate already-public Singularity only; daily quotas never refund secrets\n        CANCELLED_TIMEOUT,  // 6: Service outage timeout reached; player recovered their exact 4 locked ingredients (NO free answer revealed!)\n        RESULT_COMMITTED    // 7: opaque decision fixed; no refund/cancellation; operator must complete settlement\n    }\n\n    struct ElementMeta {\n        string elementName;\n        string symbol;\n        uint256 tier;             // 1..7\n        bytes32 commitmentHash;   // keccak256(abi.encodePacked(seasonId, elementId, s0, s1, s2, s3, secretElementSalt))\n        bool registered;\n    }\n\n    struct Discovery {\n        address inventor;\n        uint256 inventorPassId;\n        uint256 attemptId;\n        uint256 timestamp;\n        bytes32 revealedSalt;\n        uint256[4] slots;\n        bool discovered;\n    }\n\n    struct ResearchAttempt {\n        uint256 attemptId;\n        uint256 seasonId;\n        address player;\n        uint256 passId;\n        uint256[4] sortedSlots;\n        uint8[4] lockedFromCrucibleBound; // 1 if slot `i` was locked from `crucibleBoundBalance`, 0 if locked from `elementBalance`\n        uint64 submittedBlock;\n        uint64 submittedTimestamp;\n        uint32 minKeyVersion; // Admission minimum while PENDING; effective commitment signer version once committed.\n        AttemptStatus status;\n    }\n\n    struct PendingChestCommit {\n        address player;\n        uint64 unlockBlock;\n        bool resolved;\n    }\n\n    // --- Immutable Ecosystem & Treasury Contracts (Audit Section 1, 5 & 8) ---\n    uint256 public immutable seasonId;\n    IHashDroidsGen1P3 private immutable gen1Droids;\n    IHashDroidsPhase2P3 private immutable phase2Titans;\n    IHashDroidsOperatorPass public immutable operatorPass;\n    IERC20 public immutable primaToken;\n    HashDroidsPatentRenderer private immutable patentRenderer;\n    HashDroidsPatents public immutable patentCollection;\n    HashDroidsElements public immutable elementCollection;\n    address public immutable founderWallet;        // 15% direct BNB cut (kairos.ai)\n    address public immutable ecosystemVaultWallet; // 20% BNB reserve vault (Phase 1 & 2 Buyback/Yield Vault)\n    address public immutable flapCurveMarket;      // 5% BNB reserve for $PRIMA Flap Curve / Stakers\n\n    // --- Separated Verifier Signer Key Versioning (Audit Section 2 & 5) ---\n    // Allows rotating the Verifier Signer key without invalidating in-flight signatures unless compromised versions are revoked.\n    uint32 public currentVerifierKeyVersion;\n    uint32 public minAcceptedVerifierKeyVersion;\n    mapping(uint32 => address) public verifierSignerByVersion;\n\n    // --- Bounded Admission Queue & Rate-Window Parameters (Audit Section 2 & 6) ---\n    uint256 private constant MIN_QUEUE_CAPACITY = 20;\n    uint256 private constant MAX_QUEUE_CAPACITY_CEILING = 10_000;\n    uint256 private constant MIN_WINDOW_ADMISSIONS = 5;\n    uint256 private constant MAX_WINDOW_ADMISSIONS_CEILING = 2_000;\n    uint256 private constant MIN_CANCEL_TIMEOUT_BLOCKS = 100;     \n    uint256 private constant MAX_CANCEL_TIMEOUT_BLOCKS = 28_800;  \n    uint256 private constant MAX_RESEARCH_FEE_BNB = 0.0005 ether;  // Hard ceiling on optional gas-coverage fee\n\n    uint256 public maxPendingAttemptsGlobal = 500;\n    uint256 public maxAdmissionsPerWindow = 120;      // Max new research attempts per 100-block window \n    uint256 public admissionWindowBlocks = 100;\n    uint256 public attemptCancelTimeoutBlocks = 1200; // Block-based timeout; never assume a fixed wall-clock duration\n    uint256 public researchGasFeeBnb = 0;             // Default 0 BNB; adjustable up to MAX_RESEARCH_FEE_BNB to fund relayer gas\n    address public relayerGasReceiver;\n\n    uint256 public activePendingAttemptsCount;\n    mapping(uint256 => uint256) public activePendingAttemptByPass; // passId => attemptId (0 if none: max 1 pending per Pass!)\n    mapping(uint256 => uint256) public windowAdmissionCount;       // (block.number / admissionWindowBlocks) => count\n\n    uint256 public nextAttemptToSettle = 1;\n    mapping(uint256 => bytes32) public committedResearchResults;\n    uint256 public totalAttemptsSubmitted;\n    mapping(uint256 => ResearchAttempt) private researchAttempts;\n    bool public researchPaused = true;\n\n    // --- ERC-1155 tradable inventory; compatibility views use 18 decimals. ---\n    // Bound welcome credits are deliberately not transferable ERC-1155 tokens.\n    mapping(address => mapping(uint256 => uint256)) public crucibleBoundBalance;\n    mapping(uint256 => uint256) public marketUnitsSold;\n    function elementBalance(address player,uint256 id) public view returns(uint256) {\n        return elementCollection.availableBalanceOf(player,id) * 1 ether;\n    }\n    function elementTotalSupply(uint256 id) public view returns(uint256) {\n        return elementCollection.totalSupply(id) * 1 ether;\n    }\n\n    // --- Operator Pass & Genesis Boxes ---\n    mapping(uint256 => bool) public earlyBoxOpened;\n    uint256 public totalEarlyBoxesOpened;\n    uint256 private constant SUPPLY_PACK_PRICE_BNB = 0.005 ether;\n\n    // --- Cryptographic Commitments, Known Recipes & Tier Locks ---\n    bool public recipesLockedForever;\n    mapping(uint256 => ElementMeta) public elementMeta;\n    mapping(uint256 => Discovery) public discoveries;\n    // Once an element is discovered, its 4-slot hash is cached so subsequent deterministic crafts execute in 1 tx!\n    mapping(bytes32 => uint256) public known4SlotRecipeToElementId;\n\n    mapping(uint256 => uint256) public tierTotalElements;\n    mapping(uint256 => uint256) public tierDiscoveredCount;\n\n    // --- Daily Discovery & Chest Quotas (Strictly 1 Patent/Day/Pass, 2 Chests/Day/Pass — NO $PRIMA Resets!) ---\n    mapping(uint256 => uint256) public elementChestClaims;\n    mapping(uint256 => mapping(uint256 => bool)) public passHasClaimedElementChest; // passId => elementId => bool\n    mapping(uint256 => uint256) public dailyGlobalDiscoveries;\n    mapping(uint256 => mapping(uint256 => uint256)) public dailyPassDiscoveries;    // passId => day => count\n    mapping(uint256 => mapping(uint256 => uint256)) public dailyPassChests;         // passId => day => count\n\n    uint256 private constant MAX_GLOBAL_DISCOVERIES_PER_DAY = 8;\n    uint256 private constant MAX_PASS_DISCOVERIES_PER_DAY = 1;\n    uint256 private constant MAX_PASS_CHESTS_PER_DAY = 2;\n\n    // --- Per-TokenId Soft-Staking Limits ---\n    uint256 private constant HARVEST_COOLDOWN = 24 hours;\n    uint256 private constant MAX_GEN1_HARVESTS = 8;\n    uint256 private constant MAX_TITAN_HARVESTS = 30;\n    uint256 private constant MAX_CAPPED_TITAN_SHARES = 12;\n\n    mapping(uint256 => uint256) public gen1DroidHarvestCount;\n    mapping(uint256 => uint256) public lastGen1DroidHarvestTime;\n    mapping(uint256 => uint256) public titanHarvestCount;\n    mapping(uint256 => uint256) public lastTitanHarvestTime;\n\n    // --- BNB Pools & Cascade Royalty Accounting ---\n    HashDroidsTreasuryLib.TreasuryState private treasury;\n    function singularityJackpotBnb() external view returns(uint256) { return treasury.jackpot; }\n    function ecosystemVaultBnb() external view returns(uint256) { return treasury.vault; }\n    function primaBuybackReserveBnb() external view returns(uint256) { return treasury.buyback; }\n    function singularityReached() external view returns(bool) { return treasury.reached; }\n    function singularityArchitect() external view returns(address) { return treasury.architect; }\n    function claimableRoyaltiesBnb(address holder) external view returns(uint256) { return treasury.credits[holder]; }\n    function patentTotalRoyaltiesEarned(uint256 id) external view returns(uint256) { return treasury.patentEarned[id]; }\n\n    // --- Future-Blockhash Chests & Nexus Crystal Staking Pool ---\n    HashDroidsCrystalLib.CrystalState private crystalState;\n    function chestCommits(uint256 id) external view returns(HashDroidsCrystalLib.PendingChestCommit memory) { return crystalState.chestCommits[id]; }\n    function totalChestCommits() external view returns(uint256) { return crystalState.totalChestCommits; }\n    function totalChestsOpened() external view returns(uint256) { return crystalState.totalChestsOpened; }\n    function totalCrystalShares() external view returns(uint256) { return crystalState.totalCrystalShares; }\n    function undistributedPrimaRewards() external view returns(uint256) { return crystalState.undistributedPrimaRewards; }\n    function totalPrimaDistributedToStakers() external view returns(uint256) { return crystalState.totalPrimaDistributedToStakers; }\n    function userCrystalShares(address user) external view returns(uint256) { return crystalState.userCrystalShares[user]; }\n\n    // --- P2P Element Market Orderbook ---\n    HashDroidsEconomyLib.MarketState private marketState;\n\n    uint256 public totalDiscoveries;\n    uint256 public totalBurnedAttempts;\n\n    // --- Events ---\n    event EarlySupplyBoxOpened(address indexed player, uint256 indexed passId, uint256 crucibleBoundGrantedEach);\n    event FleetExtractorsHarvested(address indexed player, uint256 indexed passId, uint256 baseUnitsTotal, uint256 entropyUnits);\n    event SupplyPackPurchased(address indexed buyer, uint256 packCount, uint256 totalBnbCost);\n    event ResearchAttemptAdmitted(\n        uint256 indexed attemptId,\n        uint256 indexed seasonId,\n        address indexed player,\n        uint256 passId,\n        uint256[4] sortedSlots,\n        uint64 submittedBlock\n    );\n    event ResearchResultCommitted(uint256 indexed attemptId, bytes32 resultCommitment, uint32 keyVersion);\n    event ResearchResultRecovered(uint256 indexed attemptId, bytes32 oldCommitment, bytes32 newCommitment,\n        uint32 oldKeyVersion, uint32 newKeyVersion);\n    event ResearchAttemptSettled(\n        uint256 indexed attemptId,\n        address indexed player,\n        uint256 indexed passId,\n        AttemptStatus finalStatus,\n        uint256 elementId,\n        bool chestAwarded,\n        address relayer\n    );\n    event DeterministicCraftExecuted(\n        address indexed player,\n        uint256 indexed passId,\n        uint256 indexed elementId,\n        uint256[4] sortedSlots,\n        bool chestAwarded\n    );\n    event ElementDiscovered(\n        address indexed inventor,\n        uint256 indexed passId,\n        uint256 indexed elementId,\n        uint256 attemptId,\n        string elementName,\n        string symbol,\n        uint256 tier,\n        uint256[4] slots\n    );\n    event ChestCommitCreated(uint256 indexed chestCommitId, address indexed player, uint64 unlockBlock);\n    event SynthesisChestOpened(\n        address indexed player,\n        uint256 indexed chestCommitId,\n        uint256 crystalTierRolled,\n        uint256 crystalSharesGranted,\n        uint256 bonusElementId\n    );\n    event CrystalPrimaClaimed(address indexed player, uint256 primaAmount);\n    event ElementTransfer(address indexed from, address indexed to, uint256 indexed elementId, uint256 amount);\n    event ElementListedP2P(uint256 indexed listingId, address indexed seller, uint256 indexed elementId, uint256 units, uint256 pricePerUnitBnb);\n    event ElementSoldP2P(uint256 indexed listingId, address indexed buyer, uint256 indexed elementId, uint256 units, uint256 totalBnb);\n    event ElementMarketPurchase(\n        address indexed buyer,\n        uint256 indexed elementId,\n        uint256 units,\n        uint256 totalBnbCost,\n        address inventorRecipient,\n        uint256 inventorRoyalty\n    );\n    event RoyaltiesClaimed(address indexed holder, uint256 bnbAmount);\n    event SingularityReached(\n        address indexed architect,\n        uint256 architectPrizeBnb,\n        uint256 ecosystemVaultCutBnb,\n        uint256 patentBonusBnb\n    );\n    event VerifierKeyRotated(uint32 indexed keyVersion, address indexed signer, uint32 minAcceptedVersion);\n    event QueueParametersUpdated(uint256 maxPendingGlobal, uint256 maxPerWindow, uint256 windowBlocks, uint256 cancelTimeoutBlocks, uint256 researchFeeBnb);\n\n    // --- Errors ---\n    error InvalidInput();\n    error RecipesNotLocked();\n    error ResearchPaused();\n    error IncompleteRecipeConfiguration();\n    error OutOfOrderAttempt(uint256 expected, uint256 received);\n    error AttemptNotCommitted(uint256 attemptId);\n    error TierLocked(uint256 tier);\n    error ResultCommitmentMismatch();\n    error NotPassOwner();\n    error NotEligibleForEarlyBox();\n    error EarlyBoxAlreadyOpened();\n    error InsufficientElementBalance(uint256 elementId, uint256 required, uint256 available);\n    error IngredientNotDiscovered(uint256 elementId);\n    error PassAlreadyHasPendingAttempt(uint256 passId, uint256 pendingAttemptId);\n    error GlobalQueueFull(uint256 currentPending, uint256 maxAllowed);\n    error WindowAdmissionLimitReached(uint256 windowId, uint256 maxPerWindow);\n    error DailyPassDiscoveryLimitReached(uint256 limit);\n    error DailyGlobalDiscoveryLimitReached(uint256 limit);\n    error AttemptNotPending(uint256 attemptId, AttemptStatus currentStatus);\n    error InvalidKeyVersion(uint32 keyVersion, uint32 minAccepted);\n    error InvalidVerifierSignature();\n    error InvalidCommitmentReveal();\n    error CancelTimeoutNotReached(uint256 currentBlock, uint256 timeoutBlock);\n    error SingularityAlreadyForged();\n    error NothingToHarvest();\n    error ElementNotDiscovered(uint256 elementId);\n    error InsufficientPayment();\n    error NothingToClaim();\n    error TransferFailed();\n    error RecipesAlreadyLocked();\n    error ElementAlreadyRegistered(uint256 elementId);\n    error CommitAlreadyResolved();\n    error CommitNotReady(uint256 currentBlock, uint256 requiredBlock);\n\n    constructor(\n        uint256 _seasonId,\n        address _gen1Droids,\n        address _phase2Titans,\n        address _operatorPass,\n        address _primaToken,\n        address _patentRenderer,\n        address _founderWallet,\n        address _ecosystemVaultWallet,\n        address _flapCurveMarket,\n        address _initialVerifierSigner,\n        address _relayerGasReceiver\n    )\n        Ownable(msg.sender)\n    {\n        if (\n            _seasonId == 0 ||\n            _gen1Droids == address(0) ||\n            _phase2Titans == address(0) ||\n            _operatorPass == address(0) ||\n            _patentRenderer == address(0) ||\n            _founderWallet == address(0) ||\n            _ecosystemVaultWallet == address(0) ||\n            _initialVerifierSigner == address(0)\n        ) revert InvalidInput();\n\n        seasonId = _seasonId;\n        gen1Droids = IHashDroidsGen1P3(_gen1Droids);\n        phase2Titans = IHashDroidsPhase2P3(_phase2Titans);\n        operatorPass = IHashDroidsOperatorPass(_operatorPass);\n        primaToken = IERC20(_primaToken);\n        patentRenderer = HashDroidsPatentRenderer(_patentRenderer);\n        patentCollection = new HashDroidsPatents(address(this));\n        elementCollection = new HashDroidsElements(address(this), _patentRenderer);\n        founderWallet = _founderWallet;\n        ecosystemVaultWallet = _ecosystemVaultWallet;\n        flapCurveMarket = _flapCurveMarket;\n\n        currentVerifierKeyVersion = 1;\n        minAcceptedVerifierKeyVersion = 1;\n        verifierSignerByVersion[1] = _initialVerifierSigner;\n        relayerGasReceiver = _relayerGasReceiver == address(0) ? msg.sender : _relayerGasReceiver;\n\n        tierTotalElements[1] = 20;\n        tierTotalElements[2] = 20;\n        tierTotalElements[3] = 18;\n        tierTotalElements[4] = 15;\n        tierTotalElements[5] = 12;\n        tierTotalElements[6] = 6;\n        tierTotalElements[7] = 1;\n    }\n\n    receive() external payable {\n        _routeJackpotOrPostSingularity(msg.value);\n    }\n\n    // =========================================================================\n    // 1. .AI OPERATOR PASS VERIFICATION & FREE GENESIS SUPPLY BOX (CRUCIBLE-BOUND)\n    // =========================================================================\n\n    function _requirePassOwner(uint256 passId) internal view {\n        if (operatorPass.ownerOf(passId) != msg.sender) revert NotPassOwner();\n    }\n\n    function openGenesisSupplyBox(uint256 passId) external nonReentrant {\n        HashDroidsHarvestLib.openGenesisBox(earlyBoxOpened,crucibleBoundBalance,address(operatorPass),passId);\n        totalEarlyBoxesOpened++;\n    }\n\n    // =========================================================================\n    // 2. PER-TOKENID SOFT-STAKING (GEN-1 DROIDS & PHASE II TITANS)\n    // =========================================================================\n\n    function harvestFleetExtractors(\n        uint256 passId,\n        uint256[] calldata gen1TokenIds,\n        uint256[] calldata titanTokenIds\n    ) external nonReentrant {\n        _requirePassOwner(passId);\n\n        (uint256 baseUnitsTotal, uint256 entropyUnits) = HashDroidsHarvestLib.harvest(\n            address(gen1Droids), address(phase2Titans), gen1TokenIds, titanTokenIds,\n            gen1DroidHarvestCount, lastGen1DroidHarvestTime, titanHarvestCount, lastTitanHarvestTime,\n            elementCollection\n        );\n\n        emit FleetExtractorsHarvested(msg.sender, passId, baseUnitsTotal * 1 ether, entropyUnits * 1 ether);\n    }\n\n    // =========================================================================\n    // 3. SUPPLY PACKS IN BNB (NO PRIMA CONVERSION OR QUOTA RESETS)\n    // =========================================================================\n\n    function buySupplyPackBnb(uint256 packCount) external payable nonReentrant {\n        if (packCount == 0) revert InvalidInput();\n        uint256 totalBnbCost = SUPPLY_PACK_PRICE_BNB * packCount;\n        if (msg.value < totalBnbCost) revert InsufficientPayment();\n\n        _distributeBnbRevenue(totalBnbCost);\n        HashDroidsHarvestLib.mintBaseBundle(elementCollection,msg.sender,packCount);\n\n        if (msg.value > totalBnbCost) {\n            (bool ok, ) = msg.sender.call{value: msg.value - totalBnbCost}(\"\");\n            if (!ok) revert TransferFailed();\n        }\n\n        emit SupplyPackPurchased(msg.sender, packCount, totalBnbCost);\n    }\n\n    // =========================================================================\n    // 4. DETERMINISTIC CRUCIBLE & EIP-712 VERIFIER RESEARCH QUEUE (AUDIT SECTIONS 2, 3, 5, 6)\n    // =========================================================================\n\n    function maxChestsForTier(uint256 tier) internal pure returns (uint256) {\n        if (tier == 1) return 25;\n        if (tier == 2) return 20;\n        if (tier == 3) return 15;\n        if (tier == 4) return 12;\n        if (tier == 5) return 10;\n        if (tier == 6) return 8;\n        return 0;\n    }\n\n\n    function craftDiscoveredElement(uint256 passId, uint256[4] calldata slotElementIds)\n        external\n        nonReentrant\n        returns (uint256 craftedElementId, bool chestAwarded)\n    {\n        _requirePassOwner(passId);\n        uint256[4] memory sorted = _sort4Slots(slotElementIds);\n        bytes32 raw4SlotHash = keccak256(abi.encodePacked(sorted[0], sorted[1], sorted[2], sorted[3]));\n\n        craftedElementId = known4SlotRecipeToElementId[raw4SlotHash];\n        if (craftedElementId == 0) revert ElementNotDiscovered(0);\n        if (craftedElementId == SINGULARITY_ID) revert SingularityAlreadyForged();\n\n        HashDroidsHarvestLib.takeSlots(crucibleBoundBalance,elementCollection,msg.sender,sorted,false);\n\n        _mintElement(msg.sender, craftedElementId, 1);\n        chestAwarded = _tryAwardWolfChest(msg.sender, passId, craftedElementId);\n\n        emit DeterministicCraftExecuted(msg.sender, passId, craftedElementId, sorted, chestAwarded);\n    }\n\n    /// @notice Admit a new 4-Slot Research Attempt into the onchain queue for private Verifier evaluation.\n    /// @dev Enforces:\n    ///      1. Valid `.ai` Operator Pass ownership (`passId`).\n    ///      2. If the 4-slot combination is ALREADY discovered, executes deterministic craft immediately (no queue work!).\n    ///      3. At most 1 `PENDING` research attempt per `passId` (`activePendingAttemptByPass[passId] == 0`).\n    ///      4. Global queue capacity (`activePendingAttemptsCount < maxPendingAttemptsGlobal`) & window rate limit.\n    ///      5. Locks all 4 ingredients upfront and records whether each slot came from `crucibleBoundBalance` or `elementBalance`\n    ///         so a PENDING timeout restores the exact same balance type.\n    function submitResearchAttempt(uint256 passId, uint256[4] calldata slotElementIds)\n        external\n        payable\n        nonReentrant\n        returns (uint256 attemptId)\n    {\n        if (!recipesLockedForever) revert RecipesNotLocked();\n        _requirePassOwner(passId);\n        if (msg.value < researchGasFeeBnb) revert InsufficientPayment();\n\n        uint256[4] memory sorted = _sort4Slots(slotElementIds);\n\n        // Validate that all 4 ingredients are valid & already discovered (if #5..#96)\n        for (uint256 i = 0; i < 4; i++) {\n            uint256 id = sorted[i];\n            if (id >= 5 && id <= 96) {\n                if (!discoveries[id].discovered) revert IngredientNotDiscovered(id);\n            } else if (id < 101 || id > 105) {\n                revert InvalidInput();\n            }\n        }\n\n        // Reject redundant queue work if this recipe was ALREADY discovered: auto-route to deterministic craft!\n        bytes32 raw4SlotHash = keccak256(abi.encodePacked(sorted[0], sorted[1], sorted[2], sorted[3]));\n        uint256 existingElemId = known4SlotRecipeToElementId[raw4SlotHash];\n        if (existingElemId != 0) {\n            if (existingElemId == SINGULARITY_ID) revert SingularityAlreadyForged();\n            HashDroidsHarvestLib.takeSlots(crucibleBoundBalance,elementCollection,msg.sender,sorted,false);\n            _mintElement(msg.sender, existingElemId, 1);\n            bool gotChest = _tryAwardWolfChest(msg.sender, passId, existingElemId);\n            if (msg.value > 0) {\n                (bool okRefund, ) = msg.sender.call{value: msg.value}(\"\");\n                if (!okRefund) revert TransferFailed();\n            }\n            emit DeterministicCraftExecuted(msg.sender, passId, existingElemId, sorted, gotChest);\n            return 0;\n        }\n\n        uint256 targetTier = researchTierForSlots(sorted);\n        if (!_isTierUnlocked(targetTier)) revert TierLocked(targetTier);\n\n        if (researchPaused) revert ResearchPaused();\n\n        // Enforce 1 Pending Attempt per Identity (`passId`)\n        if (activePendingAttemptByPass[passId] != 0) {\n            revert PassAlreadyHasPendingAttempt(passId, activePendingAttemptByPass[passId]);\n        }\n\n        // Reserve one possible daily discovery per pending attempt; failures/crafts/timeouts release the slot.\n        uint256 currentDay = block.timestamp / 1 days;\n        if (dailyPassDiscoveries[passId][currentDay] >= MAX_PASS_DISCOVERIES_PER_DAY) {\n            revert DailyPassDiscoveryLimitReached(MAX_PASS_DISCOVERIES_PER_DAY);\n        }\n        if (dailyGlobalDiscoveries[currentDay] + activePendingAttemptsCount >= MAX_GLOBAL_DISCOVERIES_PER_DAY) {\n            revert DailyGlobalDiscoveryLimitReached(MAX_GLOBAL_DISCOVERIES_PER_DAY);\n        }\n\n        // Enforce Global Pending Queue Capacity & Per-Window Admission Rate\n        if (activePendingAttemptsCount >= maxPendingAttemptsGlobal) {\n            revert GlobalQueueFull(activePendingAttemptsCount, maxPendingAttemptsGlobal);\n        }\n        uint256 windowId = block.number / admissionWindowBlocks;\n        if (windowAdmissionCount[windowId] >= maxAdmissionsPerWindow) {\n            revert WindowAdmissionLimitReached(windowId, maxAdmissionsPerWindow);\n        }\n        windowAdmissionCount[windowId]++;\n\n        // Lock the 4 ingredients in escrow, recording whether each came from Crucible-Bound or Tradable balance\n        uint8[4] memory boundFlags=HashDroidsHarvestLib.takeSlots(crucibleBoundBalance,elementCollection,msg.sender,sorted,true);\n\n        attemptId = ++totalAttemptsSubmitted;\n        activePendingAttemptsCount++;\n        activePendingAttemptByPass[passId] = attemptId;\n\n        researchAttempts[attemptId] = ResearchAttempt({\n            attemptId: attemptId,\n            seasonId: seasonId,\n            player: msg.sender,\n            passId: passId,\n            sortedSlots: sorted,\n            lockedFromCrucibleBound: boundFlags,\n            submittedBlock: uint64(block.number),\n            submittedTimestamp: uint64(block.timestamp),\n            minKeyVersion: minAcceptedVerifierKeyVersion,\n            status: AttemptStatus.PENDING\n        });\n\n        // Route optional research gas fee to `relayerGasReceiver`\n        if (researchGasFeeBnb > 0 && relayerGasReceiver != address(0)) {\n            (bool okFee, ) = relayerGasReceiver.call{value: researchGasFeeBnb}(\"\");\n            if (!okFee) revert TransferFailed();\n        }\n        if (msg.value > researchGasFeeBnb) {\n            (bool okEx, ) = msg.sender.call{value: msg.value - researchGasFeeBnb}(\"\");\n            if (!okEx) revert TransferFailed();\n        }\n\n        emit ResearchAttemptAdmitted(attemptId, seasonId, msg.sender, passId, sorted, uint64(block.number));\n    }\n\n    /// @notice Anchor a private decision before revealing its signed plaintext. Only the FIFO head may commit.\n    /// @dev The worker MUST persist the full decision and wait for this transaction's confirmation before broadcasting\n    ///      settlement. A committed attempt cannot time out: recovery requires the retained decision and an accepted key.\n    function commitResearchResult(uint256 attemptId, bytes32 resultCommitment, uint32 keyVersion, bytes calldata signature)\n        external nonReentrant\n    {\n        _commitDecision(attemptId, resultCommitment, keyVersion, signature, false);\n    }\n\n    /// @notice Owner and current verifier may jointly replace a decision signed by a REVOKED key.\n    /// @dev Explicit recovery power: no refund, mint, reorder or owner change. Persist the new preimage before calling.\n    ///      Revocation alone does not repair a bad commitment; the worker never invokes recovery automatically.\n    function recoverCommittedResearchResult(uint256 attemptId, bytes32 resultCommitment, uint32 keyVersion, bytes calldata signature)\n        external onlyOwner nonReentrant\n    {\n        _commitDecision(attemptId, resultCommitment, keyVersion, signature, true);\n    }\n\n    function _commitDecision(uint256 attemptId, bytes32 resultCommitment, uint32 keyVersion, bytes calldata signature, bool recovery)\n        private\n    {\n        _requireQueueHead(attemptId);\n        ResearchAttempt storage a = researchAttempts[attemptId];\n        uint32 oldVersion = a.minKeyVersion;\n        bytes32 oldCommitment = committedResearchResults[attemptId];\n        if (recovery) {\n            if (a.status != AttemptStatus.RESULT_COMMITTED) revert AttemptNotCommitted(attemptId);\n            // minAccepted <= current, so a revoked oldVersion is necessarily lower than the new version.\n            if (oldVersion >= minAcceptedVerifierKeyVersion || keyVersion != currentVerifierKeyVersion) {\n                revert InvalidKeyVersion(keyVersion, minAcceptedVerifierKeyVersion);\n            }\n        } else if (a.status != AttemptStatus.PENDING) revert AttemptNotPending(attemptId, a.status);\n        if (resultCommitment == bytes32(0)) revert InvalidInput();\n        address expectedSigner = _requireVerifierKey(a, keyVersion);\n        if (_researchCommitmentDigest(a, resultCommitment, keyVersion).recover(signature) != expectedSigner) {\n            revert InvalidVerifierSignature();\n        }\n        committedResearchResults[attemptId] = resultCommitment;\n        a.minKeyVersion = keyVersion;\n        a.status = AttemptStatus.RESULT_COMMITTED;\n        if (recovery) emit ResearchResultRecovered(attemptId, oldCommitment, resultCommitment, oldVersion, keyVersion);\n        else emit ResearchResultCommitted(attemptId, resultCommitment, keyVersion);\n    }\n\n    /// @notice Resolve a confirmed private decision in FIFO order. Rewards belong to the admitted player.\n    /// @dev Quota exhaustion defers settlement until next UTC day; it NEVER refunds an exposed success.\n    ///      Failure payloads must carry a fresh random nonzero salt, so the opaque commitment cannot identify failures.\n    function settleResearchAttempt(\n        uint256 attemptId,\n        bool isSuccess,\n        uint256 elementId,\n        bytes32 secretElementSalt,\n        uint32 keyVersion,\n        bytes calldata signature\n    ) external nonReentrant returns (AttemptStatus finalStatus, bool chestAwarded) {\n        ResearchAttempt storage a = researchAttempts[attemptId];\n        _requireQueueHead(attemptId);\n        if (a.status != AttemptStatus.RESULT_COMMITTED) revert AttemptNotCommitted(attemptId);\n        if (computeResultCommitment(isSuccess, elementId, secretElementSalt) != committedResearchResults[attemptId]) {\n            revert ResultCommitmentMismatch();\n        }\n        address expectedSigner = _requireVerifierKey(a, keyVersion);\n\n        bytes32 sortedSlotsHash = keccak256(\n            abi.encodePacked(a.sortedSlots[0], a.sortedSlots[1], a.sortedSlots[2], a.sortedSlots[3])\n        );\n\n        bytes32 structHash = keccak256(\n            abi.encode(\n                RESEARCH_RESULT_TYPEHASH,\n                a.seasonId,\n                a.attemptId,\n                a.player,\n                a.passId,\n                sortedSlotsHash,\n                isSuccess,\n                elementId,\n                secretElementSalt,\n                keyVersion\n            )\n        );\n        bytes32 digest = _hashTypedDataV4(structHash);\n        if (digest.recover(signature) != expectedSigner) revert InvalidVerifierSignature();\n\n        // Release pending queue slot for this Pass and globally\n        activePendingAttemptsCount--;\n        if (activePendingAttemptByPass[a.passId] == attemptId) {\n            activePendingAttemptByPass[a.passId] = 0;\n        }\n\n        // Branch 1: Signed Failure (`isSuccess == false`)\n        if (!isSuccess) {\n            if (elementId != 0 || secretElementSalt == bytes32(0)) revert InvalidInput();\n            a.status = AttemptStatus.SETTLED_FAILURE;\n            totalBurnedAttempts++;\n            _resolveLockedIngredients(a,false);\n            _mintElement(a.player, ELEM_ENTROPY, 1);\n            _advanceQueue(32);\n            emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_FAILURE, 0, false, msg.sender);\n            return (AttemptStatus.SETTLED_FAILURE, false);\n        }\n\n        // Branch 2: Signed Success (`isSuccess == true`) — MUST match immutable onchain `commitmentHash`!\n        ElementMeta storage meta = elementMeta[elementId];\n        if (!meta.registered || researchTierForSlots(a.sortedSlots) != meta.tier) revert InvalidInput();\n\n        bytes32 computedCommitment = computeCommitmentHash(elementId, a.sortedSlots, secretElementSalt);\n        if (computedCommitment != meta.commitmentHash) revert InvalidCommitmentReveal();\n\n        Discovery storage disc = discoveries[elementId];\n\n        // Case A: Another attempt already claimed the First Discovery Patent for `elementId`\n        if (disc.discovered) {\n            if (elementId == SINGULARITY_ID) {\n                a.status = AttemptStatus.SETTLED_REFUNDED;\n                _resolveLockedIngredients(a,true);\n                _advanceQueue(32);\n                emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_REFUNDED, elementId, false, msg.sender);\n                return (AttemptStatus.SETTLED_REFUNDED, false);\n            }\n            a.status = AttemptStatus.SETTLED_CRAFT;\n            _resolveLockedIngredients(a,false);\n            _mintElement(a.player, elementId, 1);\n            chestAwarded = _tryAwardWolfChest(a.player, a.passId, elementId);\n            _advanceQueue(32);\n            emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_CRAFT, elementId, chestAwarded, msg.sender);\n            return (AttemptStatus.SETTLED_CRAFT, chestAwarded);\n        }\n\n        // Case B: Element is NOT yet discovered -> Check Progressive 50% Tier Lock & Daily Quotas\n        uint256 tier = meta.tier;\n        uint256 currentDay = block.timestamp / 1 days;\n\n        if (!_isTierUnlocked(tier)) revert TierLocked(tier);\n        if (dailyGlobalDiscoveries[currentDay] >= MAX_GLOBAL_DISCOVERIES_PER_DAY) {\n            revert DailyGlobalDiscoveryLimitReached(MAX_GLOBAL_DISCOVERIES_PER_DAY);\n        }\n        if (dailyPassDiscoveries[a.passId][currentDay] >= MAX_PASS_DISCOVERIES_PER_DAY) {\n            revert DailyPassDiscoveryLimitReached(MAX_PASS_DISCOVERIES_PER_DAY);\n        }\n\n        // Award First Discovery Patent!\n        a.status = AttemptStatus.SETTLED_DISCOVERY;\n        _resolveLockedIngredients(a,false);\n        dailyGlobalDiscoveries[currentDay]++;\n        dailyPassDiscoveries[a.passId][currentDay]++;\n\n        disc.inventor = a.player;\n        disc.inventorPassId = a.passId;\n        disc.attemptId = attemptId;\n        disc.timestamp = block.timestamp;\n        disc.revealedSalt = secretElementSalt;\n        disc.slots = a.sortedSlots;\n        disc.discovered = true;\n\n        known4SlotRecipeToElementId[sortedSlotsHash] = elementId;\n        tierDiscoveredCount[tier]++;\n        totalDiscoveries++;\n\n        patentCollection.mint(a.player, elementId); // No receiver callback can block the shared FIFO queue.\n        _mintElement(a.player, elementId, 1);\n\n        if (elementId == SINGULARITY_ID && !treasury.reached) {\n            _triggerSingularity(a.player);\n        } else {\n            chestAwarded = _tryAwardWolfChest(a.player, a.passId, elementId);\n        }\n\n        _advanceQueue(32);\n        emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_DISCOVERY, elementId, chestAwarded, msg.sender);\n        emit ElementDiscovered(a.player, a.passId, elementId, attemptId, meta.elementName, meta.symbol, tier, a.sortedSlots);\n        return (AttemptStatus.SETTLED_DISCOVERY, chestAwarded);\n    }\n\n    /// @notice Cancel only a PENDING attempt after `attemptCancelTimeoutBlocks`; committed decisions require operator recovery.\n    /// @dev Restores the exact 4 locked ingredients (`crucibleBound` vs `tradable`) to `attempt.player` and marks\n    ///      status as `CANCELLED_TIMEOUT` so `settleResearchAttempt` can NEVER be called afterward (prevents double-refund + settlement).\n    function cancelExpiredAttempt(uint256 attemptId) external nonReentrant {\n        ResearchAttempt storage a = researchAttempts[attemptId];\n        if (a.status != AttemptStatus.PENDING) revert AttemptNotPending(attemptId, a.status);\n\n        uint256 timeoutBlock = uint256(a.submittedBlock) + attemptCancelTimeoutBlocks;\n        if (block.number < timeoutBlock) {\n            revert CancelTimeoutNotReached(block.number, timeoutBlock);\n        }\n\n        a.status = AttemptStatus.CANCELLED_TIMEOUT;\n        activePendingAttemptsCount--;\n        if (activePendingAttemptByPass[a.passId] == attemptId) {\n            activePendingAttemptByPass[a.passId] = 0;\n        }\n\n        _resolveLockedIngredients(a,true);\n        _advanceQueue(32);\n\n        emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.CANCELLED_TIMEOUT, 0, false, msg.sender);\n    }\n\n    function _tryAwardWolfChest(address player, uint256 passId, uint256 elementId) internal returns (bool awarded) {\n        uint256 tier = elementMeta[elementId].tier;\n        uint256 currentDay = block.timestamp / 1 days;\n        if (\n            elementChestClaims[elementId] < maxChestsForTier(tier) &&\n            !passHasClaimedElementChest[passId][elementId] &&\n            dailyPassChests[passId][currentDay] < MAX_PASS_CHESTS_PER_DAY\n        ) {\n            elementChestClaims[elementId]++;\n            passHasClaimedElementChest[passId][elementId] = true;\n            dailyPassChests[passId][currentDay]++;\n            _mintElement(player, ELEM_CHEST, 1);\n            return true;\n        }\n        return false;\n    }\n\n    // =========================================================================\n    // 5. ANTI-REVERT 2-STEP SYNTHESIS CHESTS & NEXUS CRYSTAL STAKING\n    // =========================================================================\n\n    function commitOpenSynthesisChest() external nonReentrant returns(uint256) {\n        return HashDroidsCrystalLib.commitOpenSynthesisChest(crystalState,elementCollection);\n    }\n    function revealSynthesisChest(uint256 id) external nonReentrant returns(uint256,uint256,uint256) {\n        return HashDroidsCrystalLib.revealSynthesisChest(crystalState,elementCollection,address(patentCollection),id);\n    }\n    function pendingCrystalPrima(address user) public view returns(uint256) {\n        return HashDroidsCrystalLib.pendingCrystalPrima(crystalState,user);\n    }\n    function claimCrystalPrimaRewards() external nonReentrant {\n        HashDroidsCrystalLib.claimCrystalPrimaRewards(crystalState,primaToken);\n    }\n\n    // =========================================================================\n    // 6. P2P FARMER ORDERBOOK + RECURSIVE PROTOCOL CEILING MARKET\n    // =========================================================================\n\n    function totalMarketListings() external view returns(uint256) { return marketState.totalListings; }\n    function marketListings(uint256 listingId) external view returns(HashDroidsEconomyLib.MarketListing memory) {\n        return marketState.listings[listingId];\n    }\n    function listElementP2P(uint256 elementId, uint256 units, uint256 pricePerUnitBnb)\n        external nonReentrant returns(uint256)\n    {\n        return HashDroidsEconomyLib.list(marketState,elementCollection,elementId,units,pricePerUnitBnb);\n    }\n    function cancelListingP2P(uint256 listingId) external nonReentrant {\n        HashDroidsEconomyLib.cancel(marketState,elementCollection,listingId);\n    }\n    function buyElementP2P(uint256 listingId,uint256 unitsToBuy) external payable nonReentrant {\n        (uint256 elementId,uint256 fee) = HashDroidsEconomyLib.buy(marketState,elementCollection,\n            treasury.credits,listingId,unitsToBuy);\n        _distributeElementMarketBnb(elementId,fee);\n    }\n\n    function quoteBuyDiscoveredElement(uint256 elementId, uint256 units)\n        public\n        view\n        returns (uint256 totalBnbCost)\n    {\n        Discovery storage disc = discoveries[elementId];\n        if (!disc.discovered || units == 0 || elementId == SINGULARITY_ID) {\n            revert ElementNotDiscovered(elementId);\n        }\n\n        return HashDroidsEconomyLib.quoteProtocolPrice(elementMeta[elementId].tier,marketUnitsSold[elementId],units);\n    }\n\n    function buyDiscoveredElement(uint256 elementId, uint256 units) external payable nonReentrant {\n        uint256 cost = quoteBuyDiscoveredElement(elementId, units);\n        if (msg.value < cost) revert InsufficientPayment();\n\n        marketUnitsSold[elementId] += units;\n        (address inventorOwner, uint256 directInventorShare) = _distributeElementMarketBnb(elementId, cost);\n\n        _mintElement(msg.sender, elementId, units);\n\n        if (msg.value > cost) {\n            (bool ok, ) = msg.sender.call{value: msg.value - cost}(\"\");\n            if (!ok) revert TransferFailed();\n        }\n\n        emit ElementMarketPurchase(msg.sender, elementId, units, cost, inventorOwner, directInventorShare);\n    }\n\n    function _distributeElementMarketBnb(uint256 elementId, uint256 bnbAmount)\n        internal returns (address inventorOwner, uint256 directInventorShare)\n    {\n        return HashDroidsTreasuryLib.marketRoyalties(treasury, address(patentCollection),\n            elementId, discoveries[elementId].slots, bnbAmount, founderWallet);\n    }\n\n    function claimPatentRoyalties() external nonReentrant {\n        uint256 amount = treasury.credits[msg.sender];\n        if (amount == 0) revert NothingToClaim();\n        treasury.credits[msg.sender] = 0;\n\n        (bool ok, ) = msg.sender.call{value: amount}(\"\");\n        if (!ok) revert TransferFailed();\n\n        emit RoyaltiesClaimed(msg.sender, amount);\n    }\n\n    function transferElement(address to, uint256 elementId, uint256 amount) external nonReentrant {\n        if (to == address(0) || amount == 0 || amount % 1 ether != 0) revert InvalidInput();\n        elementCollection.transferAvailable(msg.sender,to,elementId,amount / 1 ether);\n        emit ElementTransfer(msg.sender, to, elementId, amount);\n    }\n\n    // =========================================================================\n    // 7. REVENUE DISTRIBUTION, POST-SINGULARITY ROUTING & IMMUTABLE FLUSHES\n    // =========================================================================\n\n    function _distributeBnbRevenue(uint256 bnbAmount) internal {\n        HashDroidsTreasuryLib.distribute(treasury, bnbAmount, founderWallet, false);\n    }\n\n    function _routeJackpotOrPostSingularity(uint256 amount) internal {\n        HashDroidsTreasuryLib.route(treasury, amount);\n    }\n\n    function _triggerSingularity(address architect) internal {\n        HashDroidsTreasuryLib.trigger(treasury, architect, address(patentCollection));\n    }\n\n    /// @dev Bound refunds retain their nontransferable type; tradable escrow is\n    /// either burned at settlement or credited without a receiver callback.\n    function _resolveLockedIngredients(ResearchAttempt storage a,bool refund) internal {\n        HashDroidsHarvestLib.resolveSlots(crucibleBoundBalance,elementCollection,a.player,\n            a.sortedSlots,a.lockedFromCrucibleBound,refund);\n    }\n\n    function _mintElement(address to, uint256 elementId, uint256 units) internal {\n        elementCollection.mintCredit(to,elementId,units);\n    }\n\n    function _sort4Slots(uint256[4] memory arr) internal pure returns (uint256[4] memory) {\n        for (uint256 i = 0; i < 4; i++) {\n            for (uint256 j = i + 1; j < 4; j++) {\n                if (arr[i] > arr[j]) {\n                    (arr[i], arr[j]) = (arr[j], arr[i]);\n                }\n            }\n        }\n        return arr;\n    }\n\n    function ownerOf(uint256 tokenId) public view returns (address) {\n        return patentCollection.ownerOf(tokenId);\n    }\n\n    function tokenURI(uint256 tokenId) public view returns (string memory) {\n        patentCollection.ownerOf(tokenId);\n        Discovery storage disc = discoveries[tokenId];\n        ElementMeta storage meta = elementMeta[tokenId];\n        return\n            patentRenderer.renderPatentURI(\n                tokenId,\n                meta.elementName,\n                meta.symbol,\n                meta.tier,\n                disc.slots,\n                disc.inventor,\n                elementCollection.totalSupply(tokenId),\n                disc.revealedSalt\n            );\n    }\n\n    // =========================================================================\n    // 8. COMMITMENT REGISTRATION, KEY ROTATION & BOUNDED QUEUE GOVERNANCE\n    // =========================================================================\n\n    function getResearchAttempt(uint256 attemptId) external view returns (ResearchAttempt memory) {\n        return researchAttempts[attemptId];\n    }\n\n    function computeResultCommitment(bool isSuccess, uint256 elementId, bytes32 resultSalt) public pure returns (bytes32) {\n        return keccak256(abi.encode(isSuccess, elementId, resultSalt));\n    }\n\n    /// @dev Fixed EIP-712 name/version; chain and verifying address are recomputed to prevent cross-domain replay.\n    ///      Equivalent to the previous OZ EIP712 domain, without its unused dynamic domain-metadata interface.\n    function _hashTypedDataV4(bytes32 structHash) internal view returns(bytes32) {\n        bytes32 domain=keccak256(abi.encode(\n            keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\n            keccak256(\"HashDroidsSynthesisNexus\"),keccak256(\"1\"),block.chainid,address(this)));\n        return keccak256(abi.encodePacked(hex\"1901\",domain,structHash));\n    }\n\n    function _researchCommitmentDigest(ResearchAttempt storage a, bytes32 resultCommitment, uint32 keyVersion)\n        internal view returns (bytes32)\n    {\n        bytes32 slotsHash = keccak256(abi.encodePacked(a.sortedSlots[0], a.sortedSlots[1], a.sortedSlots[2], a.sortedSlots[3]));\n        return _hashTypedDataV4(keccak256(abi.encode(RESEARCH_COMMITMENT_TYPEHASH, a.seasonId, a.attemptId,\n            a.player, a.passId, slotsHash, resultCommitment, keyVersion)));\n    }\n\n    function _requireVerifierKey(ResearchAttempt storage a, uint32 keyVersion) internal view returns (address signer) {\n        if (keyVersion < minAcceptedVerifierKeyVersion || keyVersion < a.minKeyVersion) {\n            revert InvalidKeyVersion(keyVersion, minAcceptedVerifierKeyVersion);\n        }\n        signer = verifierSignerByVersion[keyVersion];\n        if (signer == address(0)) revert InvalidKeyVersion(keyVersion, minAcceptedVerifierKeyVersion);\n    }\n\n    function _requireQueueHead(uint256 attemptId) internal {\n        _advanceQueue(32);\n        if (attemptId != nextAttemptToSettle) revert OutOfOrderAttempt(nextAttemptToSettle, attemptId);\n    }\n\n    /// @notice Bounded progress through terminal queue entries. Anyone may call; no effects on pending decisions.\n    function advanceResearchQueue(uint256 maxSteps) external {\n        if (maxSteps == 0 || maxSteps > 1000) revert InvalidInput();\n        _advanceQueue(maxSteps);\n    }\n\n    function _advanceQueue(uint256 maxSteps) internal {\n        uint256 cursor = nextAttemptToSettle;\n        for (uint256 i; i < maxSteps && cursor <= totalAttemptsSubmitted; i++) {\n            AttemptStatus status = researchAttempts[cursor].status;\n            if (status == AttemptStatus.PENDING || status == AttemptStatus.RESULT_COMMITTED) break;\n            cursor++;\n        }\n        nextAttemptToSettle = cursor;\n    }\n\n    function _tierForElement(uint256 id) internal pure returns (uint256) {\n        if (id <= 24) return 1;\n        if (id <= 44) return 2;\n        if (id <= 62) return 3;\n        if (id <= 77) return 4;\n        if (id <= 89) return 5;\n        if (id <= 95) return 6;\n        return 7;\n    }\n\n    function _isTierUnlocked(uint256 tier) internal view returns (bool) {\n        return tier == 1 || tierDiscoveredCount[tier - 1] >= (tierTotalElements[tier - 1] + 1) / 2;\n    }\n\n    /// @notice Public ingredient-family rules do not disclose the private recipe within that family.\n    function researchTierForSlots(uint256[4] memory slots) internal view returns (uint256) {\n        for (uint256 i; i < 4; i++) {\n            uint256 id = slots[i];\n            if (id >= 5 && id <= 95 && !discoveries[id].discovered) revert InvalidInput();\n        }\n        return HashDroidsHarvestLib.researchTierForSlots(slots);\n    }\n\n    /// @notice Computes the season-bound 256-bit salted commitment hash for an element recipe.\n    function computeCommitmentHash(\n        uint256 elementId,\n        uint256[4] memory rawSlots,\n        bytes32 secretElementSalt\n    ) public view returns (bytes32) {\n        uint256[4] memory s = _sort4Slots(rawSlots);\n        return keccak256(abi.encodePacked(seasonId, elementId, s[0], s[1], s[2], s[3], secretElementSalt));\n    }\n\n    function addRecipeCommitmentBatch(\n        uint256[] calldata ids,\n        uint256[] calldata tiers,\n        string[] calldata names,\n        string[] calldata symbols,\n        bytes32[] calldata commitmentHashes\n    ) external onlyOwner {\n        if (recipesLockedForever) revert RecipesAlreadyLocked();\n        uint256 len = ids.length;\n        if (\n            len != tiers.length ||\n            len != names.length ||\n            len != symbols.length ||\n            len != commitmentHashes.length\n        ) revert InvalidInput();\n\n        for (uint256 i = 0; i < len; i++) {\n            uint256 id = ids[i];\n            uint256 tier = tiers[i];\n            if (id < 5 || id > 96 || tier != _tierForElement(id) || commitmentHashes[i] == bytes32(0)) {\n                revert InvalidInput();\n            }\n            if (elementMeta[id].registered) revert ElementAlreadyRegistered(id);\n\n            elementMeta[id] = ElementMeta({\n                elementName: names[i],\n                symbol: symbols[i],\n                tier: tier,\n                commitmentHash: commitmentHashes[i],\n                registered: true\n            });\n        }\n    }\n\n    function setResearchPaused(bool paused) external onlyOwner {\n        if (!paused && !recipesLockedForever) revert RecipesNotLocked();\n        researchPaused = paused;\n    }\n\n    function lockRecipesForever() external onlyOwner {\n        if (recipesLockedForever) revert RecipesAlreadyLocked();\n        for (uint256 id = 5; id <= 96; id++) {\n            if (!elementMeta[id].registered || elementMeta[id].tier != _tierForElement(id)) {\n                revert IncompleteRecipeConfiguration();\n            }\n        }\n        recipesLockedForever = true;\n    }\n\n    /// @notice Rotate the Verifier Signer key to a new `currentVerifierKeyVersion + 1`.\n    /// @param newSigner The new Verifier Signer EOA.\n    /// @param newMinAcceptedVersion Set equal to previous version for graceful rollover of in-flight attempts,\n    ///                              or set to the new version to immediately revoke a compromised old key.\n    function rotateVerifierKey(address newSigner, uint32 newMinAcceptedVersion) external onlyOwner {\n        if (newSigner == address(0)) revert InvalidInput();\n        uint32 nextVer = currentVerifierKeyVersion + 1;\n        if (newMinAcceptedVersion < minAcceptedVerifierKeyVersion || newMinAcceptedVersion > nextVer) revert InvalidInput();\n\n        currentVerifierKeyVersion = nextVer;\n        minAcceptedVerifierKeyVersion = newMinAcceptedVersion;\n        verifierSignerByVersion[nextVer] = newSigner;\n\n        emit VerifierKeyRotated(nextVer, newSigner, newMinAcceptedVersion);\n    }\n\n    /// @notice Adjust queue admission parameters within explicit hard-coded safety bounds (Audit Section 2 & 6).\n    function setQueueParameters(\n        uint256 _maxPendingGlobal,\n        uint256 _maxPerWindow,\n        uint256 _windowBlocks,\n        uint256 _cancelTimeoutBlocks,\n        uint256 _researchFeeBnb,\n        address _relayerGasReceiver\n    ) external onlyOwner {\n        if (\n            _maxPendingGlobal < MIN_QUEUE_CAPACITY ||\n            _maxPendingGlobal > MAX_QUEUE_CAPACITY_CEILING ||\n            _maxPerWindow < MIN_WINDOW_ADMISSIONS ||\n            _maxPerWindow > MAX_WINDOW_ADMISSIONS_CEILING ||\n            _windowBlocks < 10 ||\n            _windowBlocks > 1200 ||\n            _cancelTimeoutBlocks < MIN_CANCEL_TIMEOUT_BLOCKS ||\n            _cancelTimeoutBlocks > MAX_CANCEL_TIMEOUT_BLOCKS ||\n            _researchFeeBnb > MAX_RESEARCH_FEE_BNB ||\n            _relayerGasReceiver == address(0)\n        ) revert InvalidInput();\n\n        maxPendingAttemptsGlobal = _maxPendingGlobal;\n        maxAdmissionsPerWindow = _maxPerWindow;\n        admissionWindowBlocks = _windowBlocks;\n        attemptCancelTimeoutBlocks = _cancelTimeoutBlocks;\n        researchGasFeeBnb = _researchFeeBnb;\n        relayerGasReceiver = _relayerGasReceiver;\n\n        emit QueueParametersUpdated(\n            _maxPendingGlobal,\n            _maxPerWindow,\n            _windowBlocks,\n            _cancelTimeoutBlocks,\n            _researchFeeBnb\n        );\n    }\n\n    function flushEcosystemVaultBnb() external nonReentrant {\n        uint256 amount = treasury.vault;\n        if (amount == 0) revert NothingToClaim();\n        treasury.vault = 0;\n        (bool ok, ) = ecosystemVaultWallet.call{value: amount}(\"\");\n        if (!ok) revert TransferFailed();\n    }\n\n    function flushPrimaBuybackBnb() external onlyOwner nonReentrant {\n        uint256 amount = treasury.buyback;\n        if (amount == 0) revert NothingToClaim();\n        treasury.buyback = 0;\n        address target = flapCurveMarket != address(0) ? flapCurveMarket : founderWallet;\n        (bool ok, ) = target.call{value: amount}(\"\");\n        if (!ok) revert TransferFailed();\n    }\n\n    function injectPrimaIntoStakingPool(uint256 amount) external nonReentrant {\n        HashDroidsCrystalLib.inject(crystalState,primaToken,amount);\n    }\n}\n"},"contracts/HashDroidsTreasuryLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ninterface IHashDroidsPatentOwner {\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\n/// @notice Linked treasury accounting. Executes in the Nexus through DELEGATECALL.\n/// @dev The Nexus must guard payout entry points against reentrancy. This library\n///      preserves the V4 distribution, including its original rounding policy.\nlibrary HashDroidsTreasuryLib {\n    struct TreasuryState {\n        uint256 jackpot;\n        uint256 vault;\n        uint256 buyback;\n        bool reached;\n        address architect;\n        mapping(address => uint256) credits;\n        mapping(uint256 => uint256) patentEarned;\n    }\n\n    event SingularityReached(\n        address indexed architect,\n        uint256 architectPrizeBnb,\n        uint256 ecosystemVaultCutBnb,\n        uint256 patentBonusBnb\n    );\n\n    function distribute(TreasuryState storage state, uint256 amount, address founder, bool withPatent)\n        public returns (uint256 patentCut)\n    {\n        uint256 founderCut = amount * 1500 / 10000;\n        uint256 vaultCut = amount * 2000 / 10000;\n        uint256 buybackCut = amount * 500 / 10000;\n        uint256 jackpotCut;\n        if (withPatent) {\n            jackpotCut = amount * 3000 / 10000;\n            patentCut = amount - founderCut - vaultCut - buybackCut - jackpotCut;\n        } else {\n            jackpotCut = amount - founderCut - vaultCut - buybackCut;\n        }\n        state.vault += vaultCut;\n        state.buyback += buybackCut;\n        route(state, jackpotCut);\n        _payOrCredit(state, founder, founderCut);\n    }\n\n    function route(TreasuryState storage state, uint256 amount) public {\n        if (amount == 0) return;\n        if (state.reached) state.vault += amount;\n        else state.jackpot += amount;\n    }\n\n    function marketRoyalties(\n        TreasuryState storage state,\n        address patent,\n        uint256 elementId,\n        uint256[4] memory parents,\n        uint256 amount,\n        address founder\n    ) external returns (address inventorOwner, uint256 directInventorShare) {\n        // Base elements and Entropy have no patent. Their P2P fee follows the\n        // existing revenue split without patents; no ownerOf lookup is valid.\n        if (elementId >= 101 && elementId <= 105) {\n            distribute(state, amount, founder, false);\n            return (address(0), 0);\n        }\n        uint256 patentCut = distribute(state, amount, founder, true);\n        IHashDroidsPatentOwner collection = IHashDroidsPatentOwner(patent);\n        inventorOwner = collection.ownerOf(elementId);\n        directInventorShare = patentCut * 6000 / 10000;\n        state.credits[inventorOwner] += directInventorShare;\n        state.patentEarned[elementId] += directInventorShare;\n        uint256 perSlotShare = (patentCut - directInventorShare) / 4;\n        for (uint256 i = 0; i < 4; i++) {\n            uint256 parent = parents[i];\n            if (parent >= 5 && parent <= 95) {\n                // A patent is minted iff its element was discovered. Base IDs\n                // never have patents. Missing parents retain the V4 routing.\n                try collection.ownerOf(parent) returns (address holder) {\n                    state.credits[holder] += perSlotShare;\n                    state.patentEarned[parent] += perSlotShare;\n                    continue;\n                } catch {}\n            }\n            route(state, perSlotShare);\n        }\n    }\n\n    function trigger(TreasuryState storage state, address architect, address patent)\n        external returns (uint256 architectPrize, uint256 vaultAddition, uint256 distributedRelic)\n    {\n        state.reached = true;\n        state.architect = architect;\n        uint256 pot = state.jackpot;\n        state.jackpot = 0;\n        architectPrize = pot * 7000 / 10000;\n        vaultAddition = pot * 2000 / 10000;\n        state.vault += vaultAddition;\n        uint256 tier6RelicBonus = pot - architectPrize - vaultAddition;\n        uint256 perRelic = tier6RelicBonus / 6;\n        if (perRelic > 0) {\n            IHashDroidsPatentOwner collection = IHashDroidsPatentOwner(patent);\n            for (uint256 id = 90; id <= 95; id++) {\n                try collection.ownerOf(id) returns (address holder) {\n                    state.credits[holder] += perRelic;\n                    distributedRelic += perRelic;\n                } catch {}\n            }\n        }\n        architectPrize += tier6RelicBonus - distributedRelic;\n        _payOrCredit(state, architect, architectPrize);\n        emit SingularityReached(architect, architectPrize, vaultAddition, distributedRelic);\n    }\n\n    function _payOrCredit(TreasuryState storage state, address recipient, uint256 amount) private {\n        if (amount == 0) return;\n        (bool paid,) = recipient.call{value: amount}(\"\");\n        if (!paid) state.credits[recipient] += amount;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/draft-IERC6093.sol)\n\npragma solidity >=0.8.4;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/ERC1155.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (token/ERC1155/ERC1155.sol)\n\npragma solidity ^0.8.24;\n\nimport {IERC1155} from \"./IERC1155.sol\";\nimport {IERC1155MetadataURI} from \"./extensions/IERC1155MetadataURI.sol\";\nimport {ERC1155Utils} from \"./utils/ERC1155Utils.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\nimport {Arrays} from \"../../utils/Arrays.sol\";\nimport {IERC1155Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the basic standard multi-token.\n * See https://eips.ethereum.org/EIPS/eip-1155\n * Originally based on code by Enjin: https://github.com/enjin/erc-1155\n */\nabstract contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI, IERC1155Errors {\n    using Arrays for uint256[];\n    using Arrays for address[];\n\n    mapping(uint256 id => mapping(address account => uint256)) private _balances;\n\n    mapping(address account => mapping(address operator => bool)) private _operatorApprovals;\n\n    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json\n    string private _uri;\n\n    /**\n     * @dev See {_setURI}.\n     */\n    constructor(string memory uri_) {\n        _setURI(uri_);\n    }\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC1155).interfaceId ||\n            interfaceId == type(IERC1155MetadataURI).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC1155MetadataURI-uri}.\n     *\n     * This implementation returns the same URI for *all* token types. It relies\n     * on the token type ID substitution mechanism\n     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the ERC].\n     *\n     * Clients calling this function must replace the `\\{id\\}` substring with the\n     * actual token type ID.\n     */\n    function uri(uint256 /* id */) public view virtual returns (string memory) {\n        return _uri;\n    }\n\n    /// @inheritdoc IERC1155\n    function balanceOf(address account, uint256 id) public view virtual returns (uint256) {\n        return _balances[id][account];\n    }\n\n    /**\n     * @dev See {IERC1155-balanceOfBatch}.\n     *\n     * Requirements:\n     *\n     * - `accounts` and `ids` must have the same length.\n     */\n    function balanceOfBatch(\n        address[] memory accounts,\n        uint256[] memory ids\n    ) public view virtual returns (uint256[] memory) {\n        if (accounts.length != ids.length) {\n            revert ERC1155InvalidArrayLength(ids.length, accounts.length);\n        }\n\n        uint256[] memory batchBalances = new uint256[](accounts.length);\n\n        for (uint256 i = 0; i < accounts.length; ++i) {\n            batchBalances[i] = balanceOf(accounts.unsafeMemoryAccess(i), ids.unsafeMemoryAccess(i));\n        }\n\n        return batchBalances;\n    }\n\n    /// @inheritdoc IERC1155\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /// @inheritdoc IERC1155\n    function isApprovedForAll(address account, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[account][operator];\n    }\n\n    /// @inheritdoc IERC1155\n    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) public virtual {\n        _checkAuthorized(_msgSender(), from);\n        _safeTransferFrom(from, to, id, value, data);\n    }\n\n    /// @inheritdoc IERC1155\n    function safeBatchTransferFrom(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) public virtual {\n        _checkAuthorized(_msgSender(), from);\n        _safeBatchTransferFrom(from, to, ids, values, data);\n    }\n\n    /// @dev Checks if `operator` is authorized to transfer tokens owned by `owner`. Reverts with {ERC1155MissingApprovalForAll} if not.\n    function _checkAuthorized(address operator, address owner) internal view virtual {\n        if (owner != operator && !isApprovedForAll(owner, operator)) {\n            revert ERC1155MissingApprovalForAll(operator, owner);\n        }\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`. Will mint (or burn) if `from`\n     * (or `to`) is the zero address.\n     *\n     * Emits a {TransferSingle} event if the arrays contain one element, and {TransferBatch} otherwise.\n     *\n     * Requirements:\n     *\n     * - If `to` refers to a smart contract, it must implement either {IERC1155Receiver-onERC1155Received}\n     *   or {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value.\n     * - `ids` and `values` must have the same length.\n     *\n     * NOTE: The ERC-1155 acceptance check is not performed in this function. See {_updateWithAcceptanceCheck} instead.\n     */\n    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal virtual {\n        if (ids.length != values.length) {\n            revert ERC1155InvalidArrayLength(ids.length, values.length);\n        }\n\n        address operator = _msgSender();\n\n        for (uint256 i = 0; i < ids.length; ++i) {\n            uint256 id = ids.unsafeMemoryAccess(i);\n            uint256 value = values.unsafeMemoryAccess(i);\n\n            if (from != address(0)) {\n                uint256 fromBalance = _balances[id][from];\n                if (fromBalance < value) {\n                    revert ERC1155InsufficientBalance(from, fromBalance, value, id);\n                }\n                unchecked {\n                    // Overflow not possible: value <= fromBalance\n                    _balances[id][from] = fromBalance - value;\n                }\n            }\n\n            if (to != address(0)) {\n                _balances[id][to] += value;\n            }\n        }\n\n        if (ids.length == 1) {\n            uint256 id = ids.unsafeMemoryAccess(0);\n            uint256 value = values.unsafeMemoryAccess(0);\n            emit TransferSingle(operator, from, to, id, value);\n        } else {\n            emit TransferBatch(operator, from, to, ids, values);\n        }\n    }\n\n    /**\n     * @dev Version of {_update} that performs the token acceptance check by calling\n     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it\n     * contains code (eg. is a smart contract at the moment of execution).\n     *\n     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any\n     * update to the contract state after this function would break the check-effect-interaction pattern. Consider\n     * overriding {_update} instead.\n     *\n     * NOTE: This version is kept for backward compatibility. We recommend calling the alternative version with a boolean\n     * flag in order to achieve better control over which hook to call.\n     */\n    function _updateWithAcceptanceCheck(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) internal virtual {\n        _updateWithAcceptanceCheck(from, to, ids, values, data, ids.length != 1);\n    }\n\n    /**\n     * @dev Version of {_update} that performs the token acceptance check by calling\n     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it\n     * contains code (eg. is a smart contract at the moment of execution).\n     *\n     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any\n     * update to the contract state after this function would break the check-effect-interaction pattern. Consider\n     * overriding {_update} instead.\n     */\n    function _updateWithAcceptanceCheck(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data,\n        bool batch\n    ) internal virtual {\n        _update(from, to, ids, values);\n        if (to != address(0)) {\n            address operator = _msgSender();\n            if (batch) {\n                ERC1155Utils.checkOnERC1155BatchReceived(operator, from, to, ids, values, data);\n            } else {\n                uint256 id = ids.unsafeMemoryAccess(0);\n                uint256 value = values.unsafeMemoryAccess(0);\n                ERC1155Utils.checkOnERC1155Received(operator, from, to, id, value, data);\n            }\n        }\n    }\n\n    /**\n     * @dev Transfers a `value` tokens of token type `id` from `from` to `to`.\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `from` must have a balance of tokens of type `id` of at least `value` amount.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n     * acceptance magic value.\n     */\n    function _safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);\n        _updateWithAcceptanceCheck(from, to, ids, values, data, false);\n    }\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.\n     *\n     * Emits a {TransferBatch} event.\n     *\n     * Requirements:\n     *\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n     * acceptance magic value.\n     * - `ids` and `values` must have the same length.\n     */\n    function _safeBatchTransferFrom(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        _updateWithAcceptanceCheck(from, to, ids, values, data, true);\n    }\n\n    /**\n     * @dev Sets a new URI for all token types, by relying on the token type ID\n     * substitution mechanism\n     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the ERC].\n     *\n     * By this mechanism, any occurrence of the `\\{id\\}` substring in either the\n     * URI or any of the values in the JSON file at said URI will be replaced by\n     * clients with the token type ID.\n     *\n     * For example, the `https://token-cdn-domain/\\{id\\}.json` URI would be\n     * interpreted by clients as\n     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`\n     * for token type ID 0x4cce0.\n     *\n     * See {uri}.\n     *\n     * Because these URIs cannot be meaningfully represented by the {URI} event,\n     * this function emits no events.\n     */\n    function _setURI(string memory newuri) internal virtual {\n        _uri = newuri;\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens of type `id`, and assigns them to `to`.\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n     * acceptance magic value.\n     */\n    function _mint(address to, uint256 id, uint256 value, bytes memory data) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);\n        _updateWithAcceptanceCheck(address(0), to, ids, values, data, false);\n    }\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.\n     *\n     * Emits a {TransferBatch} event.\n     *\n     * Requirements:\n     *\n     * - `ids` and `values` must have the same length.\n     * - `to` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n     * acceptance magic value.\n     */\n    function _mintBatch(address to, uint256[] memory ids, uint256[] memory values, bytes memory data) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        _updateWithAcceptanceCheck(address(0), to, ids, values, data, true);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens of type `id` from `from`\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `from` must have at least `value` amount of tokens of type `id`.\n     */\n    function _burn(address from, uint256 id, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);\n        _updateWithAcceptanceCheck(from, address(0), ids, values, \"\", false);\n    }\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.\n     *\n     * Emits a {TransferBatch} event.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `from` must have at least `value` amount of tokens of type `id`.\n     * - `ids` and `values` must have the same length.\n     */\n    function _burnBatch(address from, uint256[] memory ids, uint256[] memory values) internal {\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        _updateWithAcceptanceCheck(from, address(0), ids, values, \"\", true);\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Emits an {ApprovalForAll} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `operator` cannot be the zero address.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (owner == address(0)) {\n            revert ERC1155InvalidApprover(address(0));\n        }\n        if (operator == address(0)) {\n            revert ERC1155InvalidOperator(address(0));\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Creates an array in memory with only one value for each of the elements provided.\n     */\n    function _asSingletonArrays(\n        uint256 element1,\n        uint256 element2\n    ) private pure returns (uint256[] memory array1, uint256[] memory array2) {\n        assembly (\"memory-safe\") {\n            // Load the free memory pointer\n            array1 := mload(0x40)\n            // Set array length to 1\n            mstore(array1, 1)\n            // Store the single element at the next word after the length (where content starts)\n            mstore(add(array1, 0x20), element1)\n\n            // Repeat for next array locating it right after the first array\n            array2 := add(array1, 0x40)\n            mstore(array2, 1)\n            mstore(add(array2, 0x20), element2)\n\n            // Update the free memory pointer by pointing after the second array\n            mstore(0x40, add(array2, 0x40))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/IERC1155.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-1155 compliant contract, as defined in the\n * https://eips.ethereum.org/EIPS/eip-1155[ERC].\n */\ninterface IERC1155 is IERC165 {\n    /**\n     * @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.\n     */\n    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\n\n    /**\n     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\n     * transfers.\n     */\n    event TransferBatch(\n        address indexed operator,\n        address indexed from,\n        address indexed to,\n        uint256[] ids,\n        uint256[] values\n    );\n\n    /**\n     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\n     * `approved`.\n     */\n    event ApprovalForAll(address indexed account, address indexed operator, bool approved);\n\n    /**\n     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\n     *\n     * If an {URI} event was emitted for `id`, the standard\n     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\n     * returned by {IERC1155MetadataURI-uri}.\n     */\n    event URI(string value, uint256 indexed id);\n\n    /**\n     * @dev Returns the value of tokens of token type `id` owned by `account`.\n     */\n    function balanceOf(address account, uint256 id) external view returns (uint256);\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\n     *\n     * Requirements:\n     *\n     * - `accounts` and `ids` must have the same length.\n     */\n    function balanceOfBatch(\n        address[] calldata accounts,\n        uint256[] calldata ids\n    ) external view returns (uint256[] memory);\n\n    /**\n     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\n     *\n     * Emits an {ApprovalForAll} event.\n     *\n     * Requirements:\n     *\n     * - `operator` cannot be the zero address.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\n     *\n     * See {setApprovalForAll}.\n     */\n    function isApprovedForAll(address account, address operator) external view returns (bool);\n\n    /**\n     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.\n     *\n     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens\n     * to an untrusted contract, when invoking {IERC1155Receiver-onERC1155Received} on the receiver.\n     * Ensure to follow the checks-effects-interactions pattern and consider employing\n     * reentrancy guards when interacting with untrusted contracts.\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\n     * - `from` must have a balance of tokens of type `id` of at least `value` amount.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n     * acceptance magic value.\n     */\n    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\n     *\n     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens\n     * to an untrusted contract, when invoking {IERC1155Receiver-onERC1155BatchReceived} on the receiver.\n     * Ensure to follow the checks-effects-interactions pattern and consider employing\n     * reentrancy guards when interacting with untrusted contracts.\n     *\n     * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.\n     *\n     * Requirements:\n     *\n     * - `ids` and `values` must have the same length.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n     * acceptance magic value.\n     */\n    function safeBatchTransferFrom(\n        address from,\n        address to,\n        uint256[] calldata ids,\n        uint256[] calldata values,\n        bytes calldata data\n    ) external;\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/IERC1155Receiver.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface that must be implemented by smart contracts in order to receive\n * ERC-1155 token transfers.\n */\ninterface IERC1155Receiver is IERC165 {\n    /**\n     * @dev Handles the receipt of a single ERC-1155 token type. This function is\n     * called at the end of a `safeTransferFrom` after the balance has been updated.\n     *\n     * NOTE: To accept the transfer, this must return\n     * `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n     * (i.e. 0xf23a6e61, or its own function selector).\n     *\n     * @param operator The address which initiated the transfer (i.e. msg.sender)\n     * @param from The address which previously owned the token\n     * @param id The ID of the token being transferred\n     * @param value The amount of tokens being transferred\n     * @param data Additional data with no specified format\n     * @return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed\n     */\n    function onERC1155Received(\n        address operator,\n        address from,\n        uint256 id,\n        uint256 value,\n        bytes calldata data\n    ) external returns (bytes4);\n\n    /**\n     * @dev Handles the receipt of a multiple ERC-1155 token types. This function\n     * is called at the end of a `safeBatchTransferFrom` after the balances have\n     * been updated.\n     *\n     * NOTE: To accept the transfer(s), this must return\n     * `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n     * (i.e. 0xbc197c81, or its own function selector).\n     *\n     * @param operator The address which initiated the batch transfer (i.e. msg.sender)\n     * @param from The address which previously owned the token\n     * @param ids An array containing ids of each token being transferred (order and length must match values array)\n     * @param values An array containing amounts of each token being transferred (order and length must match ids array)\n     * @param data Additional data with no specified format\n     * @return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed\n     */\n    function onERC1155BatchReceived(\n        address operator,\n        address from,\n        uint256[] calldata ids,\n        uint256[] calldata values,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)\n\npragma solidity ^0.8.24;\n\nimport {ERC1155} from \"../ERC1155.sol\";\nimport {Arrays} from \"../../../utils/Arrays.sol\";\n\n/**\n * @dev Extension of ERC-1155 that adds tracking of total supply per id.\n *\n * Useful for scenarios where Fungible and Non-fungible tokens have to be\n * clearly identified. Note: While a `totalSupply` of 1 may mean the\n * corresponding token is an NFT, there are no inherent guarantees that\n * no more tokens with the same id will be minted in future.\n *\n * NOTE: This contract implies a global limit of 2**256 - 1 to the number of tokens\n * that can be minted.\n *\n * CAUTION: This extension should not be added in an upgrade to an already deployed contract.\n */\nabstract contract ERC1155Supply is ERC1155 {\n    using Arrays for uint256[];\n\n    mapping(uint256 id => uint256) private _totalSupply;\n    uint256 private _totalSupplyAll;\n\n    /**\n     * @dev Total value of tokens with a given id.\n     */\n    function totalSupply(uint256 id) public view virtual returns (uint256) {\n        return _totalSupply[id];\n    }\n\n    /**\n     * @dev Total value of tokens.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupplyAll;\n    }\n\n    /**\n     * @dev Indicates whether any tokens exist with a given id, or not.\n     */\n    function exists(uint256 id) public view virtual returns (bool) {\n        return totalSupply(id) > 0;\n    }\n\n    /// @inheritdoc ERC1155\n    function _update(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values\n    ) internal virtual override {\n        super._update(from, to, ids, values);\n\n        if (from == address(0)) {\n            uint256 totalMintValue = 0;\n            for (uint256 i = 0; i < ids.length; ++i) {\n                uint256 value = values.unsafeMemoryAccess(i);\n                // Overflow check required: The rest of the code assumes that totalSupply never overflows\n                _totalSupply[ids.unsafeMemoryAccess(i)] += value;\n                totalMintValue += value;\n            }\n            // Overflow check required: The rest of the code assumes that totalSupplyAll never overflows\n            _totalSupplyAll += totalMintValue;\n        }\n\n        if (to == address(0)) {\n            uint256 totalBurnValue = 0;\n            for (uint256 i = 0; i < ids.length; ++i) {\n                uint256 value = values.unsafeMemoryAccess(i);\n\n                unchecked {\n                    // Overflow not possible: values[i] <= balanceOf(from, ids[i]) <= totalSupply(ids[i])\n                    _totalSupply[ids.unsafeMemoryAccess(i)] -= value;\n                    // Overflow not possible: sum_i(values[i]) <= sum_i(totalSupply(ids[i])) <= totalSupplyAll\n                    totalBurnValue += value;\n                }\n            }\n            unchecked {\n                // Overflow not possible: totalBurnValue = sum_i(values[i]) <= sum_i(totalSupply(ids[i])) <= totalSupplyAll\n                _totalSupplyAll -= totalBurnValue;\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/extensions/IERC1155MetadataURI.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC1155} from \"../IERC1155.sol\";\n\n/**\n * @dev Interface of the optional ERC1155MetadataExtension interface, as defined\n * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[ERC].\n */\ninterface IERC1155MetadataURI is IERC1155 {\n    /**\n     * @dev Returns the URI for token type `id`.\n     *\n     * If the `\\{id\\}` substring is present in the URI, it must be replaced by\n     * clients with the actual token type ID.\n     */\n    function uri(uint256 id) external view returns (string memory);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/utils/ERC1155Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC1155Receiver} from \"../IERC1155Receiver.sol\";\nimport {IERC1155Errors} from \"../../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Library that provide common ERC-1155 utility functions.\n *\n * See https://eips.ethereum.org/EIPS/eip-1155[ERC-1155].\n *\n * _Available since v5.1._\n */\nlibrary ERC1155Utils {\n    /**\n     * @dev Performs an acceptance check for the provided `operator` by calling {IERC1155Receiver-onERC1155Received}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC1155Received(\n        address operator,\n        address from,\n        address to,\n        uint256 id,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC1155Receiver(to).onERC1155Received(operator, from, id, value, data) returns (bytes4 response) {\n                if (response != IERC1155Receiver.onERC1155Received.selector) {\n                    // Tokens rejected\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC1155Receiver implementer\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(reason, 0x20), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n\n    /**\n     * @dev Performs a batch acceptance check for the provided `operator` by calling {IERC1155Receiver-onERC1155BatchReceived}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC1155BatchReceived(\n        address operator,\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, values, data) returns (\n                bytes4 response\n            ) {\n                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {\n                    // Tokens rejected\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC1155Receiver implementer\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(reason, 0x20), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (token/ERC721/ERC721.sol)\n\npragma solidity ^0.8.24;\n\nimport {IERC721} from \"./IERC721.sol\";\nimport {IERC721Metadata} from \"./extensions/IERC721Metadata.sol\";\nimport {ERC721Utils} from \"./utils/ERC721Utils.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {Strings} from \"../../utils/Strings.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\nimport {IERC721Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\nabstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {\n    using Strings for uint256;\n\n    // Token name\n    string private _name;\n\n    // Token symbol\n    string private _symbol;\n\n    mapping(uint256 tokenId => address) private _owners;\n\n    mapping(address owner => uint256) private _balances;\n\n    mapping(uint256 tokenId => address) private _tokenApprovals;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    /**\n     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC721).interfaceId ||\n            interfaceId == type(IERC721Metadata).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /// @inheritdoc IERC721\n    function balanceOf(address owner) public view virtual returns (uint256) {\n        if (owner == address(0)) {\n            revert ERC721InvalidOwner(address(0));\n        }\n        return _balances[owner];\n    }\n\n    /// @inheritdoc IERC721\n    function ownerOf(uint256 tokenId) public view virtual returns (address) {\n        return _requireOwned(tokenId);\n    }\n\n    /// @inheritdoc IERC721Metadata\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /// @inheritdoc IERC721Metadata\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /// @inheritdoc IERC721Metadata\n    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\n        _requireOwned(tokenId);\n\n        string memory baseURI = _baseURI();\n        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : \"\";\n    }\n\n    /**\n     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n     * by default, can be overridden in child contracts.\n     */\n    function _baseURI() internal view virtual returns (string memory) {\n        return \"\";\n    }\n\n    /// @inheritdoc IERC721\n    function approve(address to, uint256 tokenId) public virtual {\n        _approve(to, tokenId, _msgSender());\n    }\n\n    /// @inheritdoc IERC721\n    function getApproved(uint256 tokenId) public view virtual returns (address) {\n        _requireOwned(tokenId);\n\n        return _getApproved(tokenId);\n    }\n\n    /// @inheritdoc IERC721\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /// @inheritdoc IERC721\n    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[owner][operator];\n    }\n\n    /// @inheritdoc IERC721\n    function transferFrom(address from, address to, uint256 tokenId) public virtual {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        // Setting an \"auth\" arguments enables the `_isAuthorized` check which verifies that the token exists\n        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\n        address previousOwner = _update(to, tokenId, _msgSender());\n        if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /// @inheritdoc IERC721\n    function safeTransferFrom(address from, address to, uint256 tokenId) public {\n        safeTransferFrom(from, to, tokenId, \"\");\n    }\n\n    /// @inheritdoc IERC721\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\n        transferFrom(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n     *\n     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n     * core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\n     */\n    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n        return _owners[tokenId];\n    }\n\n    /**\n     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\n     */\n    function _getApproved(uint256 tokenId) internal view virtual returns (address) {\n        return _tokenApprovals[tokenId];\n    }\n\n    /**\n     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n     * particular (ignoring whether it is owned by `owner`).\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\n        return\n            spender != address(0) &&\n            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\n    }\n\n    /**\n     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n     * Reverts if:\n     * - `spender` does not have approval from `owner` for `tokenId`.\n     * - `spender` does not have approval to manage all of `owner`'s assets.\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\n        if (!_isAuthorized(owner, spender, tokenId)) {\n            if (owner == address(0)) {\n                revert ERC721NonexistentToken(tokenId);\n            } else {\n                revert ERC721InsufficientApproval(spender, tokenId);\n            }\n        }\n    }\n\n    /**\n     * @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n     *\n     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n     *\n     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n     * remain consistent with one another.\n     */\n    function _increaseBalance(address account, uint128 value) internal virtual {\n        unchecked {\n            _balances[account] += value;\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that\n     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\n     */\n    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\n        address from = _ownerOf(tokenId);\n\n        // Perform (optional) operator check\n        if (auth != address(0)) {\n            _checkAuthorized(from, auth, tokenId);\n        }\n\n        // Execute the update\n        if (from != address(0)) {\n            // Clear approval. No need to re-authorize or emit the Approval event\n            _approve(address(0), tokenId, address(0), false);\n\n            unchecked {\n                _balances[from] -= 1;\n            }\n        }\n\n        if (to != address(0)) {\n            unchecked {\n                _balances[to] += 1;\n            }\n        }\n\n        _owners[tokenId] = to;\n\n        emit Transfer(from, to, tokenId);\n\n        return from;\n    }\n\n    /**\n     * @dev Mints `tokenId` and transfers it to `to`.\n     *\n     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - `to` cannot be the zero address.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _mint(address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner != address(0)) {\n            revert ERC721InvalidSender(address(0));\n        }\n    }\n\n    /**\n     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeMint(address to, uint256 tokenId) internal {\n        _safeMint(to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {\n        _mint(to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), address(0), to, tokenId, data);\n    }\n\n    /**\n     * @dev Destroys `tokenId`.\n     * The approval is cleared when the token is burned.\n     * This is an internal function that does not check if the sender is authorized to operate on the token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _burn(uint256 tokenId) internal {\n        address previousOwner = _update(address(0), tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from `from` to `to`.\n     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _transfer(address from, address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        } else if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n     * are aware of the ERC-721 standard to prevent tokens from being forever locked.\n     *\n     * `data` is additional data, it has no specified format and it is sent in call to `to`.\n     *\n     * This internal function is like {safeTransferFrom} in the sense that it invokes\n     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n     * implement alternative mechanisms to perform token transfer, such as signature-based.\n     *\n     * Requirements:\n     *\n     * - `tokenId` token must exist and be owned by `from`.\n     * - `to` cannot be the zero address.\n     * - `from` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId) internal {\n        _safeTransfer(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\n        _transfer(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Approve `to` to operate on `tokenId`\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n     * either the owner of the token, or approved to operate on all tokens held by this owner.\n     *\n     * Emits an {Approval} event.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address to, uint256 tokenId, address auth) internal {\n        _approve(to, tokenId, auth, true);\n    }\n\n    /**\n     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n     * emitted in the context of transfers.\n     */\n    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\n        // Avoid reading the owner unless necessary\n        if (emitEvent || auth != address(0)) {\n            address owner = _requireOwned(tokenId);\n\n            // We do not use _isAuthorized because single-token approvals should not be able to call approve\n            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\n                revert ERC721InvalidApprover(auth);\n            }\n\n            if (emitEvent) {\n                emit Approval(owner, to, tokenId);\n            }\n        }\n\n        _tokenApprovals[tokenId] = to;\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Requirements:\n     * - operator can't be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (owner == address(0)) {\n            revert ERC721InvalidApprover(address(0));\n        }\n        if (operator == address(0)) {\n            revert ERC721InvalidOperator(operator);\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n     * Returns the owner.\n     *\n     * Overrides to ownership logic should be done to {_ownerOf}.\n     */\n    function _requireOwned(uint256 tokenId) internal view returns (address) {\n        address owner = _ownerOf(tokenId);\n        if (owner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n        return owner;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC721} from \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC721/utils/ERC721Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721Receiver} from \"../IERC721Receiver.sol\";\nimport {IERC721Errors} from \"../../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Library that provides common ERC-721 utility functions.\n *\n * See https://eips.ethereum.org/EIPS/eip-721[ERC-721].\n *\n * _Available since v5.1._\n */\nlibrary ERC721Utils {\n    /**\n     * @dev Performs an acceptance check for the provided `operator` by calling {IERC721Receiver-onERC721Received}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC721Received(\n        address operator,\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) returns (bytes4 retval) {\n                if (retval != IERC721Receiver.onERC721Received.selector) {\n                    // Token rejected\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC721Receiver implementer\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(reason, 0x20), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Arrays.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Arrays.sol)\n// This file was procedurally generated from scripts/generate/templates/Arrays.js.\n\npragma solidity ^0.8.24;\n\nimport {Comparators} from \"./Comparators.sol\";\nimport {SlotDerivation} from \"./SlotDerivation.sol\";\nimport {StorageSlot} from \"./StorageSlot.sol\";\nimport {Math} from \"./math/Math.sol\";\n\n/**\n * @dev Collection of functions related to array types.\n */\nlibrary Arrays {\n    using SlotDerivation for bytes32;\n    using StorageSlot for bytes32;\n\n    /**\n     * @dev Sort an array of uint256 (in memory) following the provided comparator function.\n     *\n     * This function does the sorting \"in place\", meaning that it overrides the input. The object is returned for\n     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.\n     *\n     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the\n     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful\n     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may\n     * consume more gas than is available in a block, leading to potential DoS.\n     *\n     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.\n     */\n    function sort(\n        uint256[] memory array,\n        function(uint256, uint256) pure returns (bool) comp\n    ) internal pure returns (uint256[] memory) {\n        _quickSort(_begin(array), _end(array), comp);\n        return array;\n    }\n\n    /**\n     * @dev Variant of {sort} that sorts an array of uint256 in increasing order.\n     */\n    function sort(uint256[] memory array) internal pure returns (uint256[] memory) {\n        sort(array, Comparators.lt);\n        return array;\n    }\n\n    /**\n     * @dev Sort an array of address (in memory) following the provided comparator function.\n     *\n     * This function does the sorting \"in place\", meaning that it overrides the input. The object is returned for\n     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.\n     *\n     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the\n     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful\n     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may\n     * consume more gas than is available in a block, leading to potential DoS.\n     *\n     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.\n     */\n    function sort(\n        address[] memory array,\n        function(address, address) pure returns (bool) comp\n    ) internal pure returns (address[] memory) {\n        sort(_castToUint256Array(array), _castToUint256Comp(comp));\n        return array;\n    }\n\n    /**\n     * @dev Variant of {sort} that sorts an array of address in increasing order.\n     */\n    function sort(address[] memory array) internal pure returns (address[] memory) {\n        sort(_castToUint256Array(array), Comparators.lt);\n        return array;\n    }\n\n    /**\n     * @dev Sort an array of bytes32 (in memory) following the provided comparator function.\n     *\n     * This function does the sorting \"in place\", meaning that it overrides the input. The object is returned for\n     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.\n     *\n     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the\n     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful\n     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may\n     * consume more gas than is available in a block, leading to potential DoS.\n     *\n     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.\n     */\n    function sort(\n        bytes32[] memory array,\n        function(bytes32, bytes32) pure returns (bool) comp\n    ) internal pure returns (bytes32[] memory) {\n        sort(_castToUint256Array(array), _castToUint256Comp(comp));\n        return array;\n    }\n\n    /**\n     * @dev Variant of {sort} that sorts an array of bytes32 in increasing order.\n     */\n    function sort(bytes32[] memory array) internal pure returns (bytes32[] memory) {\n        sort(_castToUint256Array(array), Comparators.lt);\n        return array;\n    }\n\n    /**\n     * @dev Performs a quick sort of a segment of memory. The segment sorted starts at `begin` (inclusive), and stops\n     * at end (exclusive). Sorting follows the `comp` comparator.\n     *\n     * Invariant: `begin <= end`. This is the case when initially called by {sort} and is preserved in subcalls.\n     *\n     * IMPORTANT: Memory locations between `begin` and `end` are not validated/zeroed. This function should\n     * be used only if the limits are within a memory array.\n     */\n    function _quickSort(uint256 begin, uint256 end, function(uint256, uint256) pure returns (bool) comp) private pure {\n        unchecked {\n            if (end - begin < 0x40) return;\n\n            // Use first element as pivot\n            uint256 pivot = _mload(begin);\n            // Position where the pivot should be at the end of the loop\n            uint256 pos = begin;\n\n            for (uint256 it = begin + 0x20; it < end; it += 0x20) {\n                if (comp(_mload(it), pivot)) {\n                    // If the value stored at the iterator's position comes before the pivot, we increment the\n                    // position of the pivot and move the value there.\n                    pos += 0x20;\n                    _swap(pos, it);\n                }\n            }\n\n            _swap(begin, pos); // Swap pivot into place\n            _quickSort(begin, pos, comp); // Sort the left side of the pivot\n            _quickSort(pos + 0x20, end, comp); // Sort the right side of the pivot\n        }\n    }\n\n    /**\n     * @dev Pointer to the memory location of the first element of `array`.\n     */\n    function _begin(uint256[] memory array) private pure returns (uint256 ptr) {\n        assembly (\"memory-safe\") {\n            ptr := add(array, 0x20)\n        }\n    }\n\n    /**\n     * @dev Pointer to the memory location of the first memory word (32bytes) after `array`. This is the memory word\n     * that comes just after the last element of the array.\n     */\n    function _end(uint256[] memory array) private pure returns (uint256 ptr) {\n        unchecked {\n            return _begin(array) + array.length * 0x20;\n        }\n    }\n\n    /**\n     * @dev Load memory word (as a uint256) at location `ptr`.\n     */\n    function _mload(uint256 ptr) private pure returns (uint256 value) {\n        assembly {\n            value := mload(ptr)\n        }\n    }\n\n    /**\n     * @dev Swaps the elements memory location `ptr1` and `ptr2`.\n     */\n    function _swap(uint256 ptr1, uint256 ptr2) private pure {\n        assembly {\n            let value1 := mload(ptr1)\n            let value2 := mload(ptr2)\n            mstore(ptr1, value2)\n            mstore(ptr2, value1)\n        }\n    }\n\n    /// @dev Helper: low level cast address memory array to uint256 memory array\n    function _castToUint256Array(address[] memory input) private pure returns (uint256[] memory output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /// @dev Helper: low level cast bytes32 memory array to uint256 memory array\n    function _castToUint256Array(bytes32[] memory input) private pure returns (uint256[] memory output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /// @dev Helper: low level cast address comp function to uint256 comp function\n    function _castToUint256Comp(\n        function(address, address) pure returns (bool) input\n    ) private pure returns (function(uint256, uint256) pure returns (bool) output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /// @dev Helper: low level cast bytes32 comp function to uint256 comp function\n    function _castToUint256Comp(\n        function(bytes32, bytes32) pure returns (bool) input\n    ) private pure returns (function(uint256, uint256) pure returns (bool) output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /**\n     * @dev Searches a sorted `array` and returns the first index that contains\n     * a value greater or equal to `element`. If no such index exists (i.e. all\n     * values in the array are strictly less than `element`), the array length is\n     * returned. Time complexity O(log n).\n     *\n     * NOTE: The `array` is expected to be sorted in ascending order, and to\n     * contain no repeated elements.\n     *\n     * IMPORTANT: Deprecated. This implementation behaves as {lowerBound} but lacks\n     * support for repeated elements in the array. The {lowerBound} function should\n     * be used instead.\n     */\n    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeAccess(array, mid).value > element) {\n                high = mid;\n            } else {\n                low = mid + 1;\n            }\n        }\n\n        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.\n        if (low > 0 && unsafeAccess(array, low - 1).value == element) {\n            return low - 1;\n        } else {\n            return low;\n        }\n    }\n\n    /**\n     * @dev Searches an `array` sorted in ascending order and returns the first\n     * index that contains a value greater or equal than `element`. If no such index\n     * exists (i.e. all values in the array are strictly less than `element`), the array\n     * length is returned. Time complexity O(log n).\n     *\n     * See C++'s https://en.cppreference.com/w/cpp/algorithm/lower_bound[lower_bound].\n     */\n    function lowerBound(uint256[] storage array, uint256 element) internal view returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeAccess(array, mid).value < element) {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            } else {\n                high = mid;\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Searches an `array` sorted in ascending order and returns the first\n     * index that contains a value strictly greater than `element`. If no such index\n     * exists (i.e. all values in the array are strictly less than `element`), the array\n     * length is returned. Time complexity O(log n).\n     *\n     * See C++'s https://en.cppreference.com/w/cpp/algorithm/upper_bound[upper_bound].\n     */\n    function upperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeAccess(array, mid).value > element) {\n                high = mid;\n            } else {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Same as {lowerBound}, but with an array in memory.\n     */\n    function lowerBoundMemory(uint256[] memory array, uint256 element) internal pure returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeMemoryAccess(array, mid) < element) {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            } else {\n                high = mid;\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Same as {upperBound}, but with an array in memory.\n     */\n    function upperBoundMemory(uint256[] memory array, uint256 element) internal pure returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeMemoryAccess(array, mid) > element) {\n                high = mid;\n            } else {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to the end of `array` into a new address array in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(address[] memory array, uint256 start) internal pure returns (address[] memory) {\n        return slice(array, start, array.length);\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to `end` (excluded) into a new address array in\n     * memory. The `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(address[] memory array, uint256 start, uint256 end) internal pure returns (address[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        address[] memory result = new address[](end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to the end of `array` into a new bytes32 array in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes32[] memory array, uint256 start) internal pure returns (bytes32[] memory) {\n        return slice(array, start, array.length);\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to `end` (excluded) into a new bytes32 array in\n     * memory. The `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes32[] memory array, uint256 start, uint256 end) internal pure returns (bytes32[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        bytes32[] memory result = new bytes32[](end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to the end of `array` into a new uint256 array in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(uint256[] memory array, uint256 start) internal pure returns (uint256[] memory) {\n        return slice(array, start, array.length);\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to `end` (excluded) into a new uint256 array in\n     * memory. The `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(uint256[] memory array, uint256 start, uint256 end) internal pure returns (uint256[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        uint256[] memory result = new uint256[](end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to the end of `array` to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:].\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(address[] memory array, uint256 start) internal pure returns (address[] memory) {\n        return splice(array, start, array.length);\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to `end` (excluded) to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:end]. The\n     * `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(address[] memory array, uint256 start, uint256 end) internal pure returns (address[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(array, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n            mstore(array, sub(end, start))\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with all elements from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (e.g. `pos` is clamped to `[0, array.length]`).\n     * If `pos >= array.length`, no replacement occurs and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        address[] memory array,\n        uint256 pos,\n        address[] memory replacement\n    ) internal pure returns (address[] memory) {\n        return replace(array, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with elements from `replacement` starting at `offset`.\n     * Copies at most `length` elements from `replacement` to `array`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, array.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * array.length - pos)`). If `pos >= array.length` or `offset >= replacement.length`, no replacement occurs\n     * and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        address[] memory array,\n        uint256 pos,\n        address[] memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (address[] memory) {\n        // sanitize\n        pos = Math.min(pos, array.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, array.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(\n                add(add(array, 0x20), mul(pos, 0x20)),\n                add(add(replacement, 0x20), mul(offset, 0x20)),\n                mul(length, 0x20)\n            )\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to the end of `array` to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:].\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(bytes32[] memory array, uint256 start) internal pure returns (bytes32[] memory) {\n        return splice(array, start, array.length);\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to `end` (excluded) to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:end]. The\n     * `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(bytes32[] memory array, uint256 start, uint256 end) internal pure returns (bytes32[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(array, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n            mstore(array, sub(end, start))\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with all elements from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (e.g. `pos` is clamped to `[0, array.length]`).\n     * If `pos >= array.length`, no replacement occurs and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        bytes32[] memory array,\n        uint256 pos,\n        bytes32[] memory replacement\n    ) internal pure returns (bytes32[] memory) {\n        return replace(array, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with elements from `replacement` starting at `offset`.\n     * Copies at most `length` elements from `replacement` to `array`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, array.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * array.length - pos)`). If `pos >= array.length` or `offset >= replacement.length`, no replacement occurs\n     * and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        bytes32[] memory array,\n        uint256 pos,\n        bytes32[] memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (bytes32[] memory) {\n        // sanitize\n        pos = Math.min(pos, array.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, array.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(\n                add(add(array, 0x20), mul(pos, 0x20)),\n                add(add(replacement, 0x20), mul(offset, 0x20)),\n                mul(length, 0x20)\n            )\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to the end of `array` to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:].\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(uint256[] memory array, uint256 start) internal pure returns (uint256[] memory) {\n        return splice(array, start, array.length);\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to `end` (excluded) to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:end]. The\n     * `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(uint256[] memory array, uint256 start, uint256 end) internal pure returns (uint256[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(array, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n            mstore(array, sub(end, start))\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with all elements from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (e.g. `pos` is clamped to `[0, array.length]`).\n     * If `pos >= array.length`, no replacement occurs and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        uint256[] memory array,\n        uint256 pos,\n        uint256[] memory replacement\n    ) internal pure returns (uint256[] memory) {\n        return replace(array, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with elements from `replacement` starting at `offset`.\n     * Copies at most `length` elements from `replacement` to `array`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, array.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * array.length - pos)`). If `pos >= array.length` or `offset >= replacement.length`, no replacement occurs\n     * and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        uint256[] memory array,\n        uint256 pos,\n        uint256[] memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (uint256[] memory) {\n        // sanitize\n        pos = Math.min(pos, array.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, array.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(\n                add(add(array, 0x20), mul(pos, 0x20)),\n                add(add(replacement, 0x20), mul(offset, 0x20)),\n                mul(length, 0x20)\n            )\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getAddressSlot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getBytes32Slot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getUint256Slot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(bytes[] storage arr, uint256 pos) internal pure returns (StorageSlot.BytesSlot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getBytesSlot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(string[] storage arr, uint256 pos) internal pure returns (StorageSlot.StringSlot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getStringSlot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(address[] memory arr, uint256 pos) internal pure returns (address res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(bytes32[] memory arr, uint256 pos) internal pure returns (bytes32 res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(uint256[] memory arr, uint256 pos) internal pure returns (uint256 res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(bytes[] memory arr, uint256 pos) internal pure returns (bytes memory res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(string[] memory arr, uint256 pos) internal pure returns (string memory res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(address[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(bytes32[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(uint256[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(bytes[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(string[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Base64.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Base64.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./math/SafeCast.sol\";\n\n/**\n * @dev Provides a set of functions to operate with Base64 strings.\n */\nlibrary Base64 {\n    using SafeCast for bool;\n\n    error InvalidBase64Char(bytes1);\n\n    /**\n     * @dev Converts a `bytes` to its Base64 `string` representation.\n     */\n    function encode(bytes memory data) internal pure returns (string memory) {\n        return string(_encode(data, false));\n    }\n\n    /**\n     * @dev Converts a `bytes` to its Base64Url `string` representation.\n     * Output is not padded with `=` as specified in https://www.rfc-editor.org/rfc/rfc4648[rfc4648].\n     */\n    function encodeURL(bytes memory data) internal pure returns (string memory) {\n        return string(_encode(data, true));\n    }\n\n    /**\n     * @dev Converts a Base64 `string` to the `bytes` it represents.\n     *\n     * * Supports padded and unpadded inputs.\n     * * Supports both encoding ({encode} and {encodeURL}) seamlessly.\n     * * Reverts with {InvalidBase64Char} if the input contains an invalid character.\n     */\n    function decode(string memory data) internal pure returns (bytes memory) {\n        return _decode(bytes(data));\n    }\n\n    /**\n     * @dev Internal table-agnostic encoding\n     *\n     * Padding is enabled when using the Base64 table, and disabled when using the Base64Url table.\n     * See sections 4 and 5 of https://datatracker.ietf.org/doc/html/rfc4648\n     */\n    function _encode(bytes memory data, bool urlAndFilenameSafe) private pure returns (bytes memory result) {\n        /**\n         * Inspired by Brecht Devos (Brechtpd) implementation - MIT license\n         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol\n         */\n        if (data.length == 0) return \"\";\n\n        // Padding is enabled by default, but disabled when the \"urlAndFilenameSafe\" alphabet is used\n        //\n        // If padding is enabled, the final length should be `bytes` data length divided by 3 rounded up and then\n        // multiplied by 4 so that it leaves room for padding the last chunk\n        // - `data.length + 2`  -> Prepare for division rounding up\n        // - `/ 3`              -> Number of 3-bytes chunks (rounded up)\n        // - `4 *`              -> 4 characters for each chunk\n        // This is equivalent to: 4 * Math.ceil(data.length / 3)\n        //\n        // If padding is disabled, the final length should be `bytes` data length multiplied by 4/3 rounded up as\n        // opposed to when padding is required to fill the last chunk.\n        // - `4 * data.length`  -> 4 characters for each chunk\n        // - ` + 2`             -> Prepare for division rounding up\n        // - `/ 3`              -> Number of 3-bytes chunks (rounded up)\n        // This is equivalent to: Math.ceil((4 * data.length) / 3)\n        uint256 resultLength = urlAndFilenameSafe ? (4 * data.length + 2) / 3 : 4 * ((data.length + 2) / 3);\n\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n\n            // Store the encoding table in the scratch space (and fmp ptr) to avoid memory allocation\n            //\n            // Base64    (ascii)  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 + /\n            // Base64    (hex)   4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f\n            // Base64Url (ascii)  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 - _\n            // Base64Url (hex)   4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392d5f\n            // xor       (hex)   00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000670\n            mstore(0x1f, \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef\")\n            mstore(0x3f, xor(\"ghijklmnopqrstuvwxyz0123456789+/\", mul(urlAndFilenameSafe, 0x670)))\n\n            // Prepare result pointer, jump over length\n            let resultPtr := add(result, 0x20)\n            let resultEnd := add(resultPtr, resultLength)\n            let dataPtr := data\n            let endPtr := add(data, mload(data))\n\n            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and\n            // set it to zero to make sure no dirty bytes are read in that section.\n            let afterPtr := add(endPtr, 0x20)\n            let afterCache := mload(afterPtr)\n            mstore(afterPtr, 0x00)\n\n            // Run over the input, 3 bytes at a time\n            for {} lt(dataPtr, endPtr) {} {\n                // Advance 3 bytes\n                dataPtr := add(dataPtr, 3)\n                let input := mload(dataPtr)\n\n                // To write each character, shift the 3 byte (24 bits) chunk\n                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)\n                // and apply logical AND with 0x3F to bitmask the least significant 6 bits.\n                // Use this as an index into the lookup table, mload an entire word\n                // so the desired character is in the least significant byte, and\n                // mstore8 this least significant byte into the result and continue.\n                mstore8(resultPtr, mload(and(shr(18, input), 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n                mstore8(resultPtr, mload(and(shr(12, input), 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n                mstore8(resultPtr, mload(and(shr(6, input), 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n                mstore8(resultPtr, mload(and(input, 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n            }\n\n            // Reset the value that was cached\n            mstore(afterPtr, afterCache)\n\n            if iszero(urlAndFilenameSafe) {\n                // When data `bytes` is not exactly 3 bytes long\n                // it is padded with `=` characters at the end\n                switch mod(mload(data), 3)\n                case 1 {\n                    mstore8(sub(resultPtr, 1), 0x3d)\n                    mstore8(sub(resultPtr, 2), 0x3d)\n                }\n                case 2 {\n                    mstore8(sub(resultPtr, 1), 0x3d)\n                }\n            }\n\n            // Store result length and update FMP to reserve allocated space\n            mstore(result, resultLength)\n            mstore(0x40, resultEnd)\n        }\n    }\n\n    /**\n     * @dev Internal decoding\n     */\n    function _decode(bytes memory data) private pure returns (bytes memory result) {\n        bytes4 errorSelector = InvalidBase64Char.selector;\n\n        uint256 dataLength = data.length;\n        if (dataLength == 0) return \"\";\n\n        uint256 resultLength = (dataLength / 4) * 3;\n        if (dataLength % 4 == 0) {\n            resultLength -= (data[dataLength - 1] == \"=\").toUint() + (data[dataLength - 2] == \"=\").toUint();\n        } else {\n            resultLength += (dataLength % 4) - 1;\n        }\n\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n\n            // Temporarily store the reverse lookup table between in memory. This spans from 0x00 to 0x50, Using:\n            // - all 64bytes of scratch space\n            // - part of the FMP (at location 0x40)\n            mstore(0x30, 0x2425262728292a2b2c2d2e2f30313233)\n            mstore(0x20, 0x0a0b0c0d0e0f10111213141516171819ffffffff3fff1a1b1c1d1e1f20212223)\n            mstore(0x00, 0x3eff3eff3f3435363738393a3b3c3dffffff00ffffff00010203040506070809)\n\n            // Prepare result pointer, jump over length\n            let dataPtr := data\n            let resultPtr := add(result, 0x20)\n            let endPtr := add(resultPtr, resultLength)\n\n            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and\n            // set it to \"==\" (fake padding) to make sure no dirty bytes are read in that section.\n            let afterPtr := add(add(data, 0x20), dataLength)\n            let afterCache := mload(afterPtr)\n            mstore(afterPtr, shl(240, 0x3d3d))\n\n            // loop while not everything is decoded\n            for {} lt(resultPtr, endPtr) {} {\n                dataPtr := add(dataPtr, 4)\n\n                // Read a 4 bytes chunk of data\n                let input := mload(dataPtr)\n\n                // Decode each byte in the chunk as a 6 bit block, and align them to form a block of 3 bytes\n                let a := sub(byte(28, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(a, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(a, 43)))\n                    revert(0, 0x24)\n                }\n                let b := sub(byte(29, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(b, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(b, 43)))\n                    revert(0, 0x24)\n                }\n                let c := sub(byte(30, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(c, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(c, 43)))\n                    revert(0, 0x24)\n                }\n                let d := sub(byte(31, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(d, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(d, 43)))\n                    revert(0, 0x24)\n                }\n\n                mstore(\n                    resultPtr,\n                    or(\n                        or(shl(250, byte(0, mload(a))), shl(244, byte(0, mload(b)))),\n                        or(shl(238, byte(0, mload(c))), shl(232, byte(0, mload(d))))\n                    )\n                )\n\n                resultPtr := add(resultPtr, 3)\n            }\n\n            // Reset the value that was cached\n            mstore(afterPtr, afterCache)\n\n            // Store result length and update FMP to reserve allocated space\n            mstore(result, resultLength)\n            mstore(0x40, endPtr)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Bytes.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Bytes.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\n\n/**\n * @dev Bytes operations.\n */\nlibrary Bytes {\n    /**\n     * @dev Forward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the first instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return indexOf(buffer, s, 0);\n    }\n\n    /**\n     * @dev Forward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or after `pos`), returns the index of the next instance\n     * * If `s` is not present in the buffer (at or after `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        uint256 length = buffer.length;\n        for (uint256 i = pos; i < length; ++i) {\n            if (bytes1(_unsafeReadBytesOffset(buffer, i)) == s) {\n                return i;\n            }\n        }\n        return type(uint256).max;\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the last instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return lastIndexOf(buffer, s, type(uint256).max);\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or before `pos`), returns the index of the previous instance\n     * * If `s` is not present in the buffer (at or before `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        unchecked {\n            uint256 length = buffer.length;\n            for (uint256 i = Math.min(Math.saturatingAdd(pos, 1), length); i > 0; --i) {\n                if (bytes1(_unsafeReadBytesOffset(buffer, i - 1)) == s) {\n                    return i - 1;\n                }\n            }\n            return type(uint256).max;\n        }\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to the end of `buffer` into a new bytes object in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return slice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to `end` (excluded) into a new bytes object in\n     * memory. The `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        bytes memory result = new bytes(end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to the end of `buffer` to the start of that buffer,\n     * and shrinks the buffer length accordingly, effectively overriding the content of buffer with buffer[start:].\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     */\n    function splice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return splice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to `end` (excluded) to the start of that buffer,\n     * and shrinks the buffer length accordingly, effectively overriding the content of buffer with buffer[start:end].\n     * The `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     */\n    function splice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(buffer, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n            mstore(buffer, sub(end, start))\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with all bytes from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`).\n     * If `pos >= buffer.length`, no replacement occurs and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(bytes memory buffer, uint256 pos, bytes memory replacement) internal pure returns (bytes memory) {\n        return replace(buffer, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with bytes from `replacement` starting at `offset`.\n     * Copies at most `length` bytes from `replacement` to `buffer`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * buffer.length - pos))`. If `pos >= buffer.length` or `offset >= replacement.length`, no replacement occurs\n     * and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(\n        bytes memory buffer,\n        uint256 pos,\n        bytes memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (bytes memory) {\n        // sanitize\n        pos = Math.min(pos, buffer.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, buffer.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(add(add(buffer, 0x20), pos), add(add(replacement, 0x20), offset), length)\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Concatenate an array of bytes into a single bytes object.\n     *\n     * For fixed bytes types, we recommend using the solidity built-in `bytes.concat` or (equivalent)\n     * `abi.encodePacked`.\n     *\n     * NOTE: this could be done in assembly with a single loop that expands starting at the FMP, but that would be\n     * significantly less readable. It might be worth benchmarking the savings of the full-assembly approach.\n     */\n    function concat(bytes[] memory buffers) internal pure returns (bytes memory) {\n        uint256 length = 0;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            length += buffers[i].length;\n        }\n\n        bytes memory result = new bytes(length);\n\n        uint256 offset = 0x20;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            bytes memory input = buffers[i];\n            assembly (\"memory-safe\") {\n                mcopy(add(result, offset), add(input, 0x20), mload(input))\n            }\n            unchecked {\n                offset += input.length;\n            }\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Split each byte in `input` into two nibbles (4 bits each)\n     *\n     * Example: hex\"01234567\" → hex\"0001020304050607\"\n     */\n    function toNibbles(bytes memory input) internal pure returns (bytes memory output) {\n        assembly (\"memory-safe\") {\n            let length := mload(input)\n            output := mload(0x40)\n            mstore(0x40, add(add(output, 0x20), mul(length, 2)))\n            mstore(output, mul(length, 2))\n            for {\n                let i := 0\n            } lt(i, length) {\n                i := add(i, 0x10)\n            } {\n                let chunk := shr(128, mload(add(add(input, 0x20), i)))\n                chunk := and(\n                    0x0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff,\n                    or(shl(64, chunk), chunk)\n                )\n                chunk := and(\n                    0x00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff,\n                    or(shl(32, chunk), chunk)\n                )\n                chunk := and(\n                    0x0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff,\n                    or(shl(16, chunk), chunk)\n                )\n                chunk := and(\n                    0x00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff,\n                    or(shl(8, chunk), chunk)\n                )\n                chunk := and(\n                    0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f,\n                    or(shl(4, chunk), chunk)\n                )\n                mstore(add(add(output, 0x20), mul(i, 2)), chunk)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns true if the two byte buffers are equal.\n     */\n    function equal(bytes memory a, bytes memory b) internal pure returns (bool) {\n        return a.length == b.length && keccak256(a) == keccak256(b);\n    }\n\n    /**\n     * @dev Reverses the byte order of a bytes32 value, converting between little-endian and big-endian.\n     * Inspired by https://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel[Reverse Parallel]\n     */\n    function reverseBytes32(bytes32 value) internal pure returns (bytes32) {\n        value = // swap bytes\n            ((value >> 8) & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value >> 16) & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value >> 32) & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        value = // swap 8-byte long pairs\n            ((value >> 64) & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) |\n            ((value & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) << 64);\n        return (value >> 128) | (value << 128); // swap 16-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 128-bit values.\n    function reverseBytes16(bytes16 value) internal pure returns (bytes16) {\n        value = // swap bytes\n            ((value & 0xFF00FF00FF00FF00FF00FF00FF00FF00) >> 8) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value & 0xFFFF0000FFFF0000FFFF0000FFFF0000) >> 16) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value & 0xFFFFFFFF00000000FFFFFFFF00000000) >> 32) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        return (value >> 64) | (value << 64); // swap 8-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 64-bit values.\n    function reverseBytes8(bytes8 value) internal pure returns (bytes8) {\n        value = ((value & 0xFF00FF00FF00FF00) >> 8) | ((value & 0x00FF00FF00FF00FF) << 8); // swap bytes\n        value = ((value & 0xFFFF0000FFFF0000) >> 16) | ((value & 0x0000FFFF0000FFFF) << 16); // swap 2-byte long pairs\n        return (value >> 32) | (value << 32); // swap 4-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 32-bit values.\n    function reverseBytes4(bytes4 value) internal pure returns (bytes4) {\n        value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); // swap bytes\n        return (value >> 16) | (value << 16); // swap 2-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 16-bit values.\n    function reverseBytes2(bytes2 value) internal pure returns (bytes2) {\n        return (value >> 8) | (value << 8);\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits a bytes array. Returns `8 * buffer.length`\n     * if the buffer is all zeros.\n     */\n    function clz(bytes memory buffer) internal pure returns (uint256) {\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            bytes32 chunk = _unsafeReadBytesOffset(buffer, i);\n            if (chunk != bytes32(0)) {\n                return Math.min(8 * i + Math.clz(uint256(chunk)), 8 * buffer.length);\n            }\n        }\n        return 8 * buffer.length;\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Comparators.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Comparators.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides a set of functions to compare values.\n *\n * _Available since v5.1._\n */\nlibrary Comparators {\n    function lt(uint256 a, uint256 b) internal pure returns (bool) {\n        return a < b;\n    }\n\n    function gt(uint256 a, uint256 b) internal pure returns (bool) {\n        return a > b;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/SlotDerivation.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/SlotDerivation.sol)\n// This file was procedurally generated from scripts/generate/templates/SlotDerivation.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for computing storage (and transient storage) locations from namespaces and deriving slots\n * corresponding to standard patterns. The derivation method for array and mapping matches the storage layout used by\n * the solidity language / compiler.\n *\n * See https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays[Solidity docs for mappings and dynamic arrays.].\n *\n * Example usage:\n * ```solidity\n * contract Example {\n *     // Add the library methods\n *     using StorageSlot for bytes32;\n *     using SlotDerivation for *;\n *\n *     // Declare a namespace\n *     string private constant _NAMESPACE = \"<namespace>\"; // eg. OpenZeppelin.Slot\n *\n *     function setValueInNamespace(uint256 key, address newValue) internal {\n *         _NAMESPACE.erc7201Slot().deriveMapping(key).getAddressSlot().value = newValue;\n *     }\n *\n *     function getValueInNamespace(uint256 key) internal view returns (address) {\n *         return _NAMESPACE.erc7201Slot().deriveMapping(key).getAddressSlot().value;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {StorageSlot}.\n *\n * NOTE: This library provides a way to manipulate storage locations in a non-standard way. Tooling for checking\n * upgrade safety will ignore the slots accessed through this library.\n *\n * _Available since v5.1._\n */\nlibrary SlotDerivation {\n    /**\n     * @dev Derive an ERC-7201 slot from a string (namespace).\n     */\n    function erc7201Slot(string memory namespace) internal pure returns (bytes32 slot) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, sub(keccak256(add(namespace, 0x20), mload(namespace)), 1))\n            slot := and(keccak256(0x00, 0x20), not(0xff))\n        }\n    }\n\n    /**\n     * @dev Add an offset to a slot to get the n-th element of a structure or an array.\n     */\n    function offset(bytes32 slot, uint256 pos) internal pure returns (bytes32 result) {\n        unchecked {\n            return bytes32(uint256(slot) + pos);\n        }\n    }\n\n    /**\n     * @dev Derive the location of the first element in an array from the slot where the length is stored.\n     */\n    function deriveArray(bytes32 slot) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, slot)\n            result := keccak256(0x00, 0x20)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, address key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, and(key, shr(96, not(0))))\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, bool key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, iszero(iszero(key)))\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, bytes32 key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, key)\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, uint256 key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, key)\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, int256 key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, key)\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, string memory key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            let length := mload(key)\n            let begin := add(key, 0x20)\n            let end := add(begin, length)\n            let cache := mload(end)\n            mstore(end, slot)\n            result := keccak256(begin, add(length, 0x20))\n            mstore(end, cache)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, bytes memory key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            let length := mload(key)\n            let begin := add(key, 0x20)\n            let end := add(begin, length)\n            let cache := mload(end)\n            mstore(end, slot)\n            result := keccak256(begin, add(length, 0x20))\n            mstore(end, cache)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Strings.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SafeCast} from \"./math/SafeCast.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\nimport {Bytes} from \"./Bytes.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    using SafeCast for *;\n\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n    uint256 private constant SPECIAL_CHARS_LOOKUP =\n        0xffffffff | // first 32 bits corresponding to the control characters (U+0000 to U+001F)\n            (1 << 0x22) | // double quote\n            (1 << 0x5c); // backslash\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev The string being parsed contains characters that are not in scope of the given base.\n     */\n    error StringsInvalidChar();\n\n    /**\n     * @dev The string being parsed is not a properly formatted address.\n     */\n    error StringsInvalidAddressFormat();\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            assembly (\"memory-safe\") {\n                ptr := add(add(buffer, 0x20), length)\n            }\n            while (true) {\n                ptr--;\n                assembly (\"memory-safe\") {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n     * representation, according to EIP-55.\n     */\n    function toChecksumHexString(address addr) internal pure returns (string memory) {\n        bytes memory buffer = bytes(toHexString(addr));\n\n        // hash the hex part of buffer (skip length + 2 bytes, length 40)\n        uint256 hashValue;\n        assembly (\"memory-safe\") {\n            hashValue := shr(96, keccak256(add(buffer, 0x22), 40))\n        }\n\n        for (uint256 i = 41; i > 1; --i) {\n            // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)\n            if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {\n                // case shift by xoring with 0x20\n                buffer[i] ^= 0x20;\n            }\n            hashValue >>= 4;\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts a `bytes` buffer to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(bytes memory input) internal pure returns (string memory) {\n        unchecked {\n            bytes memory buffer = new bytes(2 * input.length + 2);\n            buffer[0] = \"0\";\n            buffer[1] = \"x\";\n            for (uint256 i = 0; i < input.length; ++i) {\n                uint8 v = uint8(input[i]);\n                buffer[2 * i + 2] = HEX_DIGITS[v >> 4];\n                buffer[2 * i + 3] = HEX_DIGITS[v & 0xf];\n            }\n            return string(buffer);\n        }\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return Bytes.equal(bytes(a), bytes(b));\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input) internal pure returns (uint256) {\n        return parseUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        uint256 result = 0;\n        for (uint256 i = begin; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 9) return (false, 0);\n            result *= 10;\n            result += chr;\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `int256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input) internal pure returns (int256) {\n        return parseInt(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input, uint256 begin, uint256 end) internal pure returns (int256) {\n        (bool success, int256 value) = tryParseInt(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n     * the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(string memory input) internal pure returns (bool success, int256 value) {\n        return _tryParseIntUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    uint256 private constant ABS_MIN_INT256 = 2 ** 255;\n\n    /**\n     * @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character or if the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, int256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseIntUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseIntUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, int256 value) {\n        bytes memory buffer = bytes(input);\n\n        // Check presence of a negative sign.\n        bytes1 sign = begin == end ? bytes1(0) : bytes1(_unsafeReadBytesOffset(buffer, begin)); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        bool positiveSign = sign == bytes1(\"+\");\n        bool negativeSign = sign == bytes1(\"-\");\n        uint256 offset = (positiveSign || negativeSign).toUint();\n\n        (bool absSuccess, uint256 absValue) = tryParseUint(input, begin + offset, end);\n\n        if (absSuccess && absValue < ABS_MIN_INT256) {\n            return (true, negativeSign ? -int256(absValue) : int256(absValue));\n        } else if (absSuccess && negativeSign && absValue == ABS_MIN_INT256) {\n            return (true, type(int256).min);\n        } else return (false, 0);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input) internal pure returns (uint256) {\n        return parseHexUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseHexUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseHexUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n     * invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseHexUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseHexUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        // skip 0x prefix if present\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(buffer, begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 offset = hasPrefix.toUint() * 2;\n\n        uint256 result = 0;\n        for (uint256 i = begin + offset; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 15) return (false, 0);\n            result *= 16;\n            unchecked {\n                // Multiplying by 16 is equivalent to a shift of 4 bits (with additional overflow check).\n                // This guarantees that adding a value < 16 will not cause an overflow, hence the unchecked.\n                result += chr;\n            }\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input) internal pure returns (address) {\n        return parseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input, uint256 begin, uint256 end) internal pure returns (address) {\n        (bool success, address value) = tryParseAddress(input, begin, end);\n        if (!success) revert StringsInvalidAddressFormat();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n     * formatted address. See {parseAddress-string} requirements.\n     */\n    function tryParseAddress(string memory input) internal pure returns (bool success, address value) {\n        return tryParseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n     * formatted address. See {parseAddress-string-uint256-uint256} requirements.\n     */\n    function tryParseAddress(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, address value) {\n        if (end > bytes(input).length || begin > end) return (false, address(0));\n\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(bytes(input), begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 expectedLength = 40 + hasPrefix.toUint() * 2;\n\n        // check that input is the correct length\n        if (end - begin == expectedLength) {\n            // length guarantees that this does not overflow, and value is at most type(uint160).max\n            (bool s, uint256 v) = _tryParseHexUintUncheckedBounds(input, begin, end);\n            return (s, address(uint160(v)));\n        } else {\n            return (false, address(0));\n        }\n    }\n\n    function _tryParseChr(bytes1 chr) private pure returns (uint8) {\n        uint8 value = uint8(chr);\n\n        // Try to parse `chr`:\n        // - Case 1: [0-9]\n        // - Case 2: [a-f]\n        // - Case 3: [A-F]\n        // - otherwise not supported\n        unchecked {\n            if (value > 47 && value < 58) value -= 48;\n            else if (value > 96 && value < 103) value -= 87;\n            else if (value > 64 && value < 71) value -= 55;\n            else return type(uint8).max;\n        }\n\n        return value;\n    }\n\n    /**\n     * @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n     *\n     * WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n     *\n     * NOTE: This function escapes backslashes (including those in \\uXXXX sequences) and the characters in ranges\n     * defined in section 2.5 of RFC-4627 (U+0000 to U+001F, U+0022 and U+005C). All control characters in U+0000\n     * to U+001F are escaped (\\b, \\t, \\n, \\f, \\r use short form; others use \\u00XX). ECMAScript's `JSON.parse` does\n     * recover escaped unicode characters that are not in this range, but other tooling may provide different results.\n     */\n    function escapeJSON(string memory input) internal pure returns (string memory) {\n        bytes memory buffer = bytes(input);\n\n        // Put output at the FMP. Memory will be reserved later when we figure out the actual length of the escaped\n        // string. All write are done using _unsafeWriteBytesOffset, which avoid the (expensive) length checks for\n        // each character written.\n        bytes memory output;\n        assembly (\"memory-safe\") {\n            output := mload(0x40)\n        }\n        uint256 outputLength = 0;\n\n        for (uint256 i = 0; i < buffer.length; ++i) {\n            uint8 char = uint8(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (((SPECIAL_CHARS_LOOKUP & (1 << char)) != 0)) {\n                _unsafeWriteBytesOffset(output, outputLength++, \"\\\\\");\n                if (char == 0x08) _unsafeWriteBytesOffset(output, outputLength++, \"b\");\n                else if (char == 0x09) _unsafeWriteBytesOffset(output, outputLength++, \"t\");\n                else if (char == 0x0a) _unsafeWriteBytesOffset(output, outputLength++, \"n\");\n                else if (char == 0x0c) _unsafeWriteBytesOffset(output, outputLength++, \"f\");\n                else if (char == 0x0d) _unsafeWriteBytesOffset(output, outputLength++, \"r\");\n                else if (char == 0x5c) _unsafeWriteBytesOffset(output, outputLength++, \"\\\\\");\n                else if (char == 0x22) {\n                    // solhint-disable-next-line quotes\n                    _unsafeWriteBytesOffset(output, outputLength++, '\"');\n                } else {\n                    // U+0000 to U+001F without short form: output \\u00XX\n                    _unsafeWriteBytesOffset(output, outputLength++, \"u\");\n                    _unsafeWriteBytesOffset(output, outputLength++, \"0\");\n                    _unsafeWriteBytesOffset(output, outputLength++, \"0\");\n                    _unsafeWriteBytesOffset(output, outputLength++, HEX_DIGITS[char >> 4]);\n                    _unsafeWriteBytesOffset(output, outputLength++, HEX_DIGITS[char & 0x0f]);\n                }\n            } else {\n                _unsafeWriteBytesOffset(output, outputLength++, bytes1(char));\n            }\n        }\n        // write the actual length and reserve memory\n        assembly (\"memory-safe\") {\n            mstore(output, outputLength)\n            mstore(0x40, add(output, add(outputLength, 0x20)))\n        }\n\n        return string(output);\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n\n    /**\n     * @dev Write a bytes1 to a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeWriteBytesOffset(bytes memory buffer, uint256 offset, bytes1 value) private pure {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            mstore8(add(add(buffer, 0x20), offset), shr(248, value))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/cryptography/ECDSA.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n *\n * These functions can be used to verify that a message was signed by the holder\n * of the private keys of a given address.\n */\nlibrary ECDSA {\n    enum RecoverError {\n        NoError,\n        InvalidSignature,\n        InvalidSignatureLength,\n        InvalidSignatureS\n    }\n\n    /**\n     * @dev The signature is invalid.\n     */\n    error ECDSAInvalidSignature();\n\n    /**\n     * @dev The signature has an invalid length.\n     */\n    error ECDSAInvalidSignatureLength(uint256 length);\n\n    /**\n     * @dev The signature has an S value that is in the upper half order.\n     */\n    error ECDSAInvalidSignatureS(bytes32 s);\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n     * return address(0) without also returning an error description. Errors are documented using an enum (error type)\n     * and a bytes32 providing additional information about the error.\n     *\n     * If no error is returned, then the address can be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     *\n     * Documentation for signature generation:\n     *\n     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes memory signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, and the only way to get them\n            // currently is to use assembly.\n            assembly (\"memory-safe\") {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Variant of {tryRecover} that takes a signature in calldata\n     */\n    function tryRecoverCalldata(\n        bytes32 hash,\n        bytes calldata signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, calldata slices would work here, but are\n            // significantly more expensive (length check) than using calldataload in assembly.\n            assembly (\"memory-safe\") {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with\n     * `signature`. This address can then be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     */\n    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Variant of {recover} that takes a signature in calldata\n     */\n    function recoverCalldata(bytes32 hash, bytes calldata signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecoverCalldata(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n     *\n     * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes32 r,\n        bytes32 vs\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        unchecked {\n            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n            // We do not check for an overflow here since the shift operation results in 0 or 1.\n            uint8 v = uint8((uint256(vs) >> 255) + 27);\n            return tryRecover(hash, v, r, s);\n        }\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately.\n     */\n    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function tryRecover(\n        bytes32 hash,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\n        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\n        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\n        // signatures from current libraries generate a unique signature with an s-value in the lower half order.\n        //\n        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\n        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\n        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\n        // these malleable signatures as well.\n        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\n            return (address(0), RecoverError.InvalidSignatureS, s);\n        }\n\n        // If the signature is valid (and not malleable), return the signer address\n        address signer = ecrecover(hash, v, r, s);\n        if (signer == address(0)) {\n            return (address(0), RecoverError.InvalidSignature, bytes32(0));\n        }\n\n        return (signer, RecoverError.NoError, bytes32(0));\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Parse a signature into its `v`, `r` and `s` components. Supports 65-byte and 64-byte (ERC-2098)\n     * formats. Returns (0,0,0) for invalid signatures.\n     *\n     * For 64-byte signatures, `v` is automatically normalized to 27 or 28.\n     * For 65-byte signatures, `v` is returned as-is and MUST already be 27 or 28 for use with ecrecover.\n     *\n     * Consider validating the result before use, or use {tryRecover}/{recover} which perform full validation.\n     */\n    function parse(bytes memory signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch mload(signature)\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := mload(add(signature, 0x40))\n                r := mload(add(signature, 0x20))\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Variant of {parse} that takes a signature in calldata\n     */\n    function parseCalldata(bytes calldata signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch signature.length\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := calldataload(add(signature.offset, 0x20))\n                r := calldataload(signature.offset)\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\n     */\n    function _throwError(RecoverError error, bytes32 errorArg) private pure {\n        if (error == RecoverError.NoError) {\n            return; // no error: do nothing\n        } else if (error == RecoverError.InvalidSignature) {\n            revert ECDSAInvalidSignature();\n        } else if (error == RecoverError.InvalidSignatureLength) {\n            revert ECDSAInvalidSignatureLength(uint256(errorArg));\n        } else if (error == RecoverError.InvalidSignatureS) {\n            revert ECDSAInvalidSignatureS(errorArg);\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `condition ? a : b`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `condition ? a : b`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // (a + b) / 2 can overflow.\n            return (a & b) + (a ^ b) / 2;\n        }\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory buffer) private pure returns (bool) {\n        uint256 chunk;\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            // See _unsafeReadBytesOffset from utils/Bytes.sol\n            assembly (\"memory-safe\") {\n                chunk := mload(add(add(buffer, 0x20), i))\n            }\n            if (chunk >> (8 * saturatingSub(i + 0x20, buffer.length)) != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the first 16 bytes (most significant half).\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits in a uint256.\n     */\n    function clz(uint256 x) internal pure returns (uint256) {\n        return ternary(x == 0, 256, 255 - log2(x));\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev A uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // Formula from the \"Bit Twiddling Hacks\" by Sean Eron Anderson.\n            // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,\n            // taking advantage of the most significant (or \"sign\" bit) in two's complement representation.\n            // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,\n            // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).\n            int256 mask = n >> 255;\n\n            // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.\n            return uint256((n + mask) ^ mask);\n        }\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.30+commit.73712a01","compilerSettings":{"viaIR":true,"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/"]},"name":"HashDroidsPhase3","fullyQualifiedName":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},"abi":[{"type":"constructor","inputs":[{"name":"_seasonId","type":"uint256","internalType":"uint256"},{"name":"_gen1Droids","type":"address","internalType":"address"},{"name":"_phase2Titans","type":"address","internalType":"address"},{"name":"_operatorPass","type":"address","internalType":"address"},{"name":"_primaToken","type":"address","internalType":"address"},{"name":"_patentRenderer","type":"address","internalType":"address"},{"name":"_founderWallet","type":"address","internalType":"address"},{"name":"_ecosystemVaultWallet","type":"address","internalType":"address"},{"name":"_flapCurveMarket","type":"address","internalType":"address"},{"name":"_initialVerifierSigner","type":"address","internalType":"address"},{"name":"_relayerGasReceiver","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"AttemptNotCommitted","type":"error","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}]},{"name":"AttemptNotPending","type":"error","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"currentStatus","type":"uint8","internalType":"enum HashDroidsPhase3.AttemptStatus"}]},{"name":"CancelTimeoutNotReached","type":"error","inputs":[{"name":"currentBlock","type":"uint256","internalType":"uint256"},{"name":"timeoutBlock","type":"uint256","internalType":"uint256"}]},{"name":"CommitAlreadyResolved","type":"error","inputs":[]},{"name":"CommitNotReady","type":"error","inputs":[{"name":"currentBlock","type":"uint256","internalType":"uint256"},{"name":"requiredBlock","type":"uint256","internalType":"uint256"}]},{"name":"DailyGlobalDiscoveryLimitReached","type":"error","inputs":[{"name":"limit","type":"uint256","internalType":"uint256"}]},{"name":"DailyPassDiscoveryLimitReached","type":"error","inputs":[{"name":"limit","type":"uint256","internalType":"uint256"}]},{"name":"ECDSAInvalidSignature","type":"error","inputs":[]},{"name":"ECDSAInvalidSignatureLength","type":"error","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"name":"ECDSAInvalidSignatureS","type":"error","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]},{"name":"EarlyBoxAlreadyOpened","type":"error","inputs":[]},{"name":"ElementAlreadyRegistered","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"}]},{"name":"ElementNotDiscovered","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"}]},{"name":"GlobalQueueFull","type":"error","inputs":[{"name":"currentPending","type":"uint256","internalType":"uint256"},{"name":"maxAllowed","type":"uint256","internalType":"uint256"}]},{"name":"IncompleteRecipeConfiguration","type":"error","inputs":[]},{"name":"IngredientNotDiscovered","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"}]},{"name":"InsufficientElementBalance","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"required","type":"uint256","internalType":"uint256"},{"name":"available","type":"uint256","internalType":"uint256"}]},{"name":"InsufficientPayment","type":"error","inputs":[]},{"name":"InvalidCommitmentReveal","type":"error","inputs":[]},{"name":"InvalidInput","type":"error","inputs":[]},{"name":"InvalidKeyVersion","type":"error","inputs":[{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"minAccepted","type":"uint32","internalType":"uint32"}]},{"name":"InvalidVerifierSignature","type":"error","inputs":[]},{"name":"NotEligibleForEarlyBox","type":"error","inputs":[]},{"name":"NotPassOwner","type":"error","inputs":[]},{"name":"NothingToClaim","type":"error","inputs":[]},{"name":"NothingToHarvest","type":"error","inputs":[]},{"name":"OutOfOrderAttempt","type":"error","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PassAlreadyHasPendingAttempt","type":"error","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"pendingAttemptId","type":"uint256","internalType":"uint256"}]},{"name":"RecipesAlreadyLocked","type":"error","inputs":[]},{"name":"RecipesNotLocked","type":"error","inputs":[]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"ResearchPaused","type":"error","inputs":[]},{"name":"ResultCommitmentMismatch","type":"error","inputs":[]},{"name":"SingularityAlreadyForged","type":"error","inputs":[]},{"name":"TierLocked","type":"error","inputs":[{"name":"tier","type":"uint256","internalType":"uint256"}]},{"name":"TransferFailed","type":"error","inputs":[]},{"name":"WindowAdmissionLimitReached","type":"error","inputs":[{"name":"windowId","type":"uint256","internalType":"uint256"},{"name":"maxPerWindow","type":"uint256","internalType":"uint256"}]},{"name":"ChestCommitCreated","type":"event","inputs":[{"name":"chestCommitId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"unlockBlock","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"CrystalPrimaClaimed","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"primaAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DeterministicCraftExecuted","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"sortedSlots","type":"uint256[4]","indexed":false,"internalType":"uint256[4]"},{"name":"chestAwarded","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"EarlySupplyBoxOpened","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"crucibleBoundGrantedEach","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementDiscovered","type":"event","inputs":[{"name":"inventor","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"attemptId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"elementName","type":"string","indexed":false,"internalType":"string"},{"name":"symbol","type":"string","indexed":false,"internalType":"string"},{"name":"tier","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"slots","type":"uint256[4]","indexed":false,"internalType":"uint256[4]"}],"anonymous":false},{"name":"ElementListedP2P","type":"event","inputs":[{"name":"listingId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"units","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"pricePerUnitBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementMarketPurchase","type":"event","inputs":[{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"units","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBnbCost","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"inventorRecipient","type":"address","indexed":false,"internalType":"address"},{"name":"inventorRoyalty","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementSoldP2P","type":"event","inputs":[{"name":"listingId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"units","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementTransfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FleetExtractorsHarvested","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"baseUnitsTotal","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"entropyUnits","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"QueueParametersUpdated","type":"event","inputs":[{"name":"maxPendingGlobal","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"maxPerWindow","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"windowBlocks","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"cancelTimeoutBlocks","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"researchFeeBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ResearchAttemptAdmitted","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seasonId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"sortedSlots","type":"uint256[4]","indexed":false,"internalType":"uint256[4]"},{"name":"submittedBlock","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"ResearchAttemptSettled","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"finalStatus","type":"uint8","indexed":false,"internalType":"enum HashDroidsPhase3.AttemptStatus"},{"name":"elementId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"chestAwarded","type":"bool","indexed":false,"internalType":"bool"},{"name":"relayer","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"ResearchResultCommitted","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"resultCommitment","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"keyVersion","type":"uint32","indexed":false,"internalType":"uint32"}],"anonymous":false},{"name":"ResearchResultRecovered","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"oldCommitment","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"newCommitment","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"oldKeyVersion","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"newKeyVersion","type":"uint32","indexed":false,"internalType":"uint32"}],"anonymous":false},{"name":"RoyaltiesClaimed","type":"event","inputs":[{"name":"holder","type":"address","indexed":true,"internalType":"address"},{"name":"bnbAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SingularityReached","type":"event","inputs":[{"name":"architect","type":"address","indexed":true,"internalType":"address"},{"name":"architectPrizeBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"ecosystemVaultCutBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"patentBonusBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SupplyPackPurchased","type":"event","inputs":[{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"packCount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBnbCost","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SynthesisChestOpened","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"chestCommitId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"crystalTierRolled","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"crystalSharesGranted","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"bonusElementId","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"VerifierKeyRotated","type":"event","inputs":[{"name":"keyVersion","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"signer","type":"address","indexed":true,"internalType":"address"},{"name":"minAcceptedVersion","type":"uint32","indexed":false,"internalType":"uint32"}],"anonymous":false},{"name":"activePendingAttemptByPass","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"activePendingAttemptsCount","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"addRecipeCommitmentBatch","type":"function","inputs":[{"name":"ids","type":"uint256[]","internalType":"uint256[]"},{"name":"tiers","type":"uint256[]","internalType":"uint256[]"},{"name":"names","type":"string[]","internalType":"string[]"},{"name":"symbols","type":"string[]","internalType":"string[]"},{"name":"commitmentHashes","type":"bytes32[]","internalType":"bytes32[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"admissionWindowBlocks","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"advanceResearchQueue","type":"function","inputs":[{"name":"maxSteps","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"attemptCancelTimeoutBlocks","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"buyDiscoveredElement","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"buyElementP2P","type":"function","inputs":[{"name":"listingId","type":"uint256","internalType":"uint256"},{"name":"unitsToBuy","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"buySupplyPackBnb","type":"function","inputs":[{"name":"packCount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"cancelExpiredAttempt","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancelListingP2P","type":"function","inputs":[{"name":"listingId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"chestCommits","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"player","type":"address","internalType":"address"},{"name":"unlockBlock","type":"uint64","internalType":"uint64"},{"name":"resolved","type":"bool","internalType":"bool"}],"internalType":"struct HashDroidsCrystalLib.PendingChestCommit"}],"stateMutability":"view"},{"name":"claimCrystalPrimaRewards","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimPatentRoyalties","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimableRoyaltiesBnb","type":"function","inputs":[{"name":"holder","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"commitOpenSynthesisChest","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"commitResearchResult","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"resultCommitment","type":"bytes32","internalType":"bytes32"},{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"committedResearchResults","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"computeCommitmentHash","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"rawSlots","type":"uint256[4]","internalType":"uint256[4]"},{"name":"secretElementSalt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"computeResultCommitment","type":"function","inputs":[{"name":"isSuccess","type":"bool","internalType":"bool"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"resultSalt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"pure"},{"name":"craftDiscoveredElement","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"slotElementIds","type":"uint256[4]","internalType":"uint256[4]"}],"outputs":[{"name":"craftedElementId","type":"uint256","internalType":"uint256"},{"name":"chestAwarded","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"crucibleBoundBalance","type":"function","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"currentVerifierKeyVersion","type":"function","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"dailyGlobalDiscoveries","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"dailyPassChests","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"dailyPassDiscoveries","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"discoveries","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"inventor","type":"address","internalType":"address"},{"name":"inventorPassId","type":"uint256","internalType":"uint256"},{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"timestamp","type":"uint256","internalType":"uint256"},{"name":"revealedSalt","type":"bytes32","internalType":"bytes32"},{"name":"discovered","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"earlyBoxOpened","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"ecosystemVaultBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"ecosystemVaultWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"elementBalance","type":"function","inputs":[{"name":"player","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"elementChestClaims","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"elementCollection","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract HashDroidsElements"}],"stateMutability":"view"},{"name":"elementMeta","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"elementName","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"tier","type":"uint256","internalType":"uint256"},{"name":"commitmentHash","type":"bytes32","internalType":"bytes32"},{"name":"registered","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"elementTotalSupply","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"flapCurveMarket","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"flushEcosystemVaultBnb","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"flushPrimaBuybackBnb","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"founderWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"gen1DroidHarvestCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getResearchAttempt","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"seasonId","type":"uint256","internalType":"uint256"},{"name":"player","type":"address","internalType":"address"},{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"sortedSlots","type":"uint256[4]","internalType":"uint256[4]"},{"name":"lockedFromCrucibleBound","type":"uint8[4]","internalType":"uint8[4]"},{"name":"submittedBlock","type":"uint64","internalType":"uint64"},{"name":"submittedTimestamp","type":"uint64","internalType":"uint64"},{"name":"minKeyVersion","type":"uint32","internalType":"uint32"},{"name":"status","type":"uint8","internalType":"enum HashDroidsPhase3.AttemptStatus"}],"internalType":"struct HashDroidsPhase3.ResearchAttempt"}],"stateMutability":"view"},{"name":"harvestFleetExtractors","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"gen1TokenIds","type":"uint256[]","internalType":"uint256[]"},{"name":"titanTokenIds","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"injectPrimaIntoStakingPool","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"known4SlotRecipeToElementId","type":"function","inputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lastGen1DroidHarvestTime","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lastTitanHarvestTime","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"listElementP2P","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"},{"name":"pricePerUnitBnb","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"lockRecipesForever","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"marketListings","type":"function","inputs":[{"name":"listingId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"seller","type":"address","internalType":"address"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"},{"name":"pricePerUnitBnb","type":"uint256","internalType":"uint256"},{"name":"active","type":"bool","internalType":"bool"}],"internalType":"struct HashDroidsEconomyLib.MarketListing"}],"stateMutability":"view"},{"name":"marketUnitsSold","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxAdmissionsPerWindow","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxPendingAttemptsGlobal","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"minAcceptedVerifierKeyVersion","type":"function","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"nextAttemptToSettle","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"openGenesisSupplyBox","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"operatorPass","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IHashDroidsOperatorPass"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"ownerOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"passHasClaimedElementChest","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"patentCollection","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract HashDroidsPatents"}],"stateMutability":"view"},{"name":"patentTotalRoyaltiesEarned","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"pendingCrystalPrima","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"primaBuybackReserveBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"primaToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"quoteBuyDiscoveredElement","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"totalBnbCost","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"recipesLockedForever","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"recoverCommittedResearchResult","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"resultCommitment","type":"bytes32","internalType":"bytes32"},{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"relayerGasReceiver","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"researchGasFeeBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"researchPaused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"revealSynthesisChest","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"rotateVerifierKey","type":"function","inputs":[{"name":"newSigner","type":"address","internalType":"address"},{"name":"newMinAcceptedVersion","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"seasonId","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"setQueueParameters","type":"function","inputs":[{"name":"_maxPendingGlobal","type":"uint256","internalType":"uint256"},{"name":"_maxPerWindow","type":"uint256","internalType":"uint256"},{"name":"_windowBlocks","type":"uint256","internalType":"uint256"},{"name":"_cancelTimeoutBlocks","type":"uint256","internalType":"uint256"},{"name":"_researchFeeBnb","type":"uint256","internalType":"uint256"},{"name":"_relayerGasReceiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setResearchPaused","type":"function","inputs":[{"name":"paused","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"settleResearchAttempt","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"isSuccess","type":"bool","internalType":"bool"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"secretElementSalt","type":"bytes32","internalType":"bytes32"},{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"finalStatus","type":"uint8","internalType":"enum HashDroidsPhase3.AttemptStatus"},{"name":"chestAwarded","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"singularityArchitect","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"singularityJackpotBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"singularityReached","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"submitResearchAttempt","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"slotElementIds","type":"uint256[4]","internalType":"uint256[4]"}],"outputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"tierDiscoveredCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"tierTotalElements","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"titanHarvestCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"tokenURI","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalAttemptsSubmitted","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalBurnedAttempts","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalChestCommits","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalChestsOpened","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalCrystalShares","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalDiscoveries","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalEarlyBoxesOpened","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalMarketListings","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalPrimaDistributedToStakers","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferElement","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"undistributedPrimaRewards","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"userCrystalShares","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"verifierSignerByVersion","type":"function","inputs":[{"name":"","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"windowAdmissionCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_seasonId","type":"uint256"},{"internalType":"address","name":"_gen1Droids","type":"address"},{"internalType":"address","name":"_phase2Titans","type":"address"},{"internalType":"address","name":"_operatorPass","type":"address"},{"internalType":"address","name":"_primaToken","type":"address"},{"internalType":"address","name":"_patentRenderer","type":"address"},{"internalType":"address","name":"_founderWallet","type":"address"},{"internalType":"address","name":"_ecosystemVaultWallet","type":"address"},{"internalType":"address","name":"_flapCurveMarket","type":"address"},{"internalType":"address","name":"_initialVerifierSigner","type":"address"},{"internalType":"address","name":"_relayerGasReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"}],"name":"AttemptNotCommitted","type":"error"},{"inputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"},{"internalType":"enum HashDroidsPhase3.AttemptStatus","name":"currentStatus","type":"uint8"}],"name":"AttemptNotPending","type":"error"},{"inputs":[{"internalType":"uint256","name":"currentBlock","type":"uint256"},{"internalType":"uint256","name":"timeoutBlock","type":"uint256"}],"name":"CancelTimeoutNotReached","type":"error"},{"inputs":[],"name":"CommitAlreadyResolved","type":"error"},{"inputs":[{"internalType":"uint256","name":"currentBlock","type":"uint256"},{"internalType":"uint256","name":"requiredBlock","type":"uint256"}],"name":"CommitNotReady","type":"error"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"DailyGlobalDiscoveryLimitReached","type":"error"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"DailyPassDiscoveryLimitReached","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[],"name":"EarlyBoxAlreadyOpened","type":"error"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"}],"name":"ElementAlreadyRegistered","type":"error"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"}],"name":"ElementNotDiscovered","type":"error"},{"inputs":[{"internalType":"uint256","name":"currentPending","type":"uint256"},{"internalType":"uint256","name":"maxAllowed","type":"uint256"}],"name":"GlobalQueueFull","type":"error"},{"inputs":[],"name":"IncompleteRecipeConfiguration","type":"error"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"}],"name":"IngredientNotDiscovered","type":"error"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"uint256","name":"required","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"}],"name":"InsufficientElementBalance","type":"error"},{"inputs":[],"name":"InsufficientPayment","type":"error"},{"inputs":[],"name":"InvalidCommitmentReveal","type":"error"},{"inputs":[],"name":"InvalidInput","type":"error"},{"inputs":[{"internalType":"uint32","name":"keyVersion","type":"uint32"},{"internalType":"uint32","name":"minAccepted","type":"uint32"}],"name":"InvalidKeyVersion","type":"error"},{"inputs":[],"name":"InvalidVerifierSignature","type":"error"},{"inputs":[],"name":"NotEligibleForEarlyBox","type":"error"},{"inputs":[],"name":"NotPassOwner","type":"error"},{"inputs":[],"name":"NothingToClaim","type":"error"},{"inputs":[],"name":"NothingToHarvest","type":"error"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"}],"name":"OutOfOrderAttempt","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256","name":"pendingAttemptId","type":"uint256"}],"name":"PassAlreadyHasPendingAttempt","type":"error"},{"inputs":[],"name":"RecipesAlreadyLocked","type":"error"},{"inputs":[],"name":"RecipesNotLocked","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"ResearchPaused","type":"error"},{"inputs":[],"name":"ResultCommitmentMismatch","type":"error"},{"inputs":[],"name":"SingularityAlreadyForged","type":"error"},{"inputs":[{"internalType":"uint256","name":"tier","type":"uint256"}],"name":"TierLocked","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"windowId","type":"uint256"},{"internalType":"uint256","name":"maxPerWindow","type":"uint256"}],"name":"WindowAdmissionLimitReached","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"chestCommitId","type":"uint256"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint64","name":"unlockBlock","type":"uint64"}],"name":"ChestCommitCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint256","name":"primaAmount","type":"uint256"}],"name":"CrystalPrimaClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"passId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"elementId","type":"uint256"},{"indexed":false,"internalType":"uint256[4]","name":"sortedSlots","type":"uint256[4]"},{"indexed":false,"internalType":"bool","name":"chestAwarded","type":"bool"}],"name":"DeterministicCraftExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"passId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"crucibleBoundGrantedEach","type":"uint256"}],"name":"EarlySupplyBoxOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"inventor","type":"address"},{"indexed":true,"internalType":"uint256","name":"passId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"elementId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"attemptId","type":"uint256"},{"indexed":false,"internalType":"string","name":"elementName","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"},{"indexed":false,"internalType":"uint256","name":"tier","type":"uint256"},{"indexed":false,"internalType":"uint256[4]","name":"slots","type":"uint256[4]"}],"name":"ElementDiscovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":true,"internalType":"uint256","name":"elementId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"units","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pricePerUnitBnb","type":"uint256"}],"name":"ElementListedP2P","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"elementId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"units","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBnbCost","type":"uint256"},{"indexed":false,"internalType":"address","name":"inventorRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"inventorRoyalty","type":"uint256"}],"name":"ElementMarketPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"listingId","type":"uint256"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"elementId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"units","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBnb","type":"uint256"}],"name":"ElementSoldP2P","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"elementId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ElementTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"passId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"baseUnitsTotal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"entropyUnits","type":"uint256"}],"name":"FleetExtractorsHarvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxPendingGlobal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxPerWindow","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"windowBlocks","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cancelTimeoutBlocks","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"researchFeeBnb","type":"uint256"}],"name":"QueueParametersUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"attemptId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"seasonId","type":"uint256"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint256","name":"passId","type":"uint256"},{"indexed":false,"internalType":"uint256[4]","name":"sortedSlots","type":"uint256[4]"},{"indexed":false,"internalType":"uint64","name":"submittedBlock","type":"uint64"}],"name":"ResearchAttemptAdmitted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"attemptId","type":"uint256"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"passId","type":"uint256"},{"indexed":false,"internalType":"enum HashDroidsPhase3.AttemptStatus","name":"finalStatus","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"elementId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"chestAwarded","type":"bool"},{"indexed":false,"internalType":"address","name":"relayer","type":"address"}],"name":"ResearchAttemptSettled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"attemptId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"resultCommitment","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"keyVersion","type":"uint32"}],"name":"ResearchResultCommitted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"attemptId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"oldCommitment","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newCommitment","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"oldKeyVersion","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"newKeyVersion","type":"uint32"}],"name":"ResearchResultRecovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"uint256","name":"bnbAmount","type":"uint256"}],"name":"RoyaltiesClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"architect","type":"address"},{"indexed":false,"internalType":"uint256","name":"architectPrizeBnb","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ecosystemVaultCutBnb","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"patentBonusBnb","type":"uint256"}],"name":"SingularityReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"packCount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBnbCost","type":"uint256"}],"name":"SupplyPackPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"chestCommitId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"crystalTierRolled","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"crystalSharesGranted","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bonusElementId","type":"uint256"}],"name":"SynthesisChestOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint32","name":"keyVersion","type":"uint32"},{"indexed":true,"internalType":"address","name":"signer","type":"address"},{"indexed":false,"internalType":"uint32","name":"minAcceptedVersion","type":"uint32"}],"name":"VerifierKeyRotated","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activePendingAttemptByPass","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activePendingAttemptsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"tiers","type":"uint256[]"},{"internalType":"string[]","name":"names","type":"string[]"},{"internalType":"string[]","name":"symbols","type":"string[]"},{"internalType":"bytes32[]","name":"commitmentHashes","type":"bytes32[]"}],"name":"addRecipeCommitmentBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admissionWindowBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSteps","type":"uint256"}],"name":"advanceResearchQueue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"attemptCancelTimeoutBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"uint256","name":"units","type":"uint256"}],"name":"buyDiscoveredElement","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"listingId","type":"uint256"},{"internalType":"uint256","name":"unitsToBuy","type":"uint256"}],"name":"buyElementP2P","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"packCount","type":"uint256"}],"name":"buySupplyPackBnb","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"}],"name":"cancelExpiredAttempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"listingId","type":"uint256"}],"name":"cancelListingP2P","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"chestCommits","outputs":[{"components":[{"internalType":"address","name":"player","type":"address"},{"internalType":"uint64","name":"unlockBlock","type":"uint64"},{"internalType":"bool","name":"resolved","type":"bool"}],"internalType":"struct HashDroidsCrystalLib.PendingChestCommit","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimCrystalPrimaRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPatentRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"claimableRoyaltiesBnb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"commitOpenSynthesisChest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"},{"internalType":"bytes32","name":"resultCommitment","type":"bytes32"},{"internalType":"uint32","name":"keyVersion","type":"uint32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"commitResearchResult","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"committedResearchResults","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"uint256[4]","name":"rawSlots","type":"uint256[4]"},{"internalType":"bytes32","name":"secretElementSalt","type":"bytes32"}],"name":"computeCommitmentHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isSuccess","type":"bool"},{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"bytes32","name":"resultSalt","type":"bytes32"}],"name":"computeResultCommitment","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256[4]","name":"slotElementIds","type":"uint256[4]"}],"name":"craftDiscoveredElement","outputs":[{"internalType":"uint256","name":"craftedElementId","type":"uint256"},{"internalType":"bool","name":"chestAwarded","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"crucibleBoundBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentVerifierKeyVersion","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyGlobalDiscoveries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyPassChests","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyPassDiscoveries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"discoveries","outputs":[{"internalType":"address","name":"inventor","type":"address"},{"internalType":"uint256","name":"inventorPassId","type":"uint256"},{"internalType":"uint256","name":"attemptId","type":"uint256"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"bytes32","name":"revealedSalt","type":"bytes32"},{"internalType":"bool","name":"discovered","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earlyBoxOpened","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecosystemVaultBnb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecosystemVaultWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"player","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"elementBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"elementChestClaims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"elementCollection","outputs":[{"internalType":"contract HashDroidsElements","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"elementMeta","outputs":[{"internalType":"string","name":"elementName","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"tier","type":"uint256"},{"internalType":"bytes32","name":"commitmentHash","type":"bytes32"},{"internalType":"bool","name":"registered","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"elementTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flapCurveMarket","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flushEcosystemVaultBnb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flushPrimaBuybackBnb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"founderWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"gen1DroidHarvestCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"}],"name":"getResearchAttempt","outputs":[{"components":[{"internalType":"uint256","name":"attemptId","type":"uint256"},{"internalType":"uint256","name":"seasonId","type":"uint256"},{"internalType":"address","name":"player","type":"address"},{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256[4]","name":"sortedSlots","type":"uint256[4]"},{"internalType":"uint8[4]","name":"lockedFromCrucibleBound","type":"uint8[4]"},{"internalType":"uint64","name":"submittedBlock","type":"uint64"},{"internalType":"uint64","name":"submittedTimestamp","type":"uint64"},{"internalType":"uint32","name":"minKeyVersion","type":"uint32"},{"internalType":"enum HashDroidsPhase3.AttemptStatus","name":"status","type":"uint8"}],"internalType":"struct HashDroidsPhase3.ResearchAttempt","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256[]","name":"gen1TokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"titanTokenIds","type":"uint256[]"}],"name":"harvestFleetExtractors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"injectPrimaIntoStakingPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"known4SlotRecipeToElementId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastGen1DroidHarvestTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastTitanHarvestTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"uint256","name":"units","type":"uint256"},{"internalType":"uint256","name":"pricePerUnitBnb","type":"uint256"}],"name":"listElementP2P","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockRecipesForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"listingId","type":"uint256"}],"name":"marketListings","outputs":[{"components":[{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"uint256","name":"units","type":"uint256"},{"internalType":"uint256","name":"pricePerUnitBnb","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"internalType":"struct HashDroidsEconomyLib.MarketListing","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"marketUnitsSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAdmissionsPerWindow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPendingAttemptsGlobal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAcceptedVerifierKeyVersion","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextAttemptToSettle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"}],"name":"openGenesisSupplyBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operatorPass","outputs":[{"internalType":"contract IHashDroidsOperatorPass","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"passHasClaimedElementChest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"patentCollection","outputs":[{"internalType":"contract HashDroidsPatents","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"patentTotalRoyaltiesEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"pendingCrystalPrima","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primaBuybackReserveBnb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primaToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"uint256","name":"units","type":"uint256"}],"name":"quoteBuyDiscoveredElement","outputs":[{"internalType":"uint256","name":"totalBnbCost","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipesLockedForever","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"},{"internalType":"bytes32","name":"resultCommitment","type":"bytes32"},{"internalType":"uint32","name":"keyVersion","type":"uint32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"recoverCommittedResearchResult","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"relayerGasReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"researchGasFeeBnb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"researchPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"revealSynthesisChest","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"},{"internalType":"uint32","name":"newMinAcceptedVersion","type":"uint32"}],"name":"rotateVerifierKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seasonId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPendingGlobal","type":"uint256"},{"internalType":"uint256","name":"_maxPerWindow","type":"uint256"},{"internalType":"uint256","name":"_windowBlocks","type":"uint256"},{"internalType":"uint256","name":"_cancelTimeoutBlocks","type":"uint256"},{"internalType":"uint256","name":"_researchFeeBnb","type":"uint256"},{"internalType":"address","name":"_relayerGasReceiver","type":"address"}],"name":"setQueueParameters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"setResearchPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"},{"internalType":"bool","name":"isSuccess","type":"bool"},{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"bytes32","name":"secretElementSalt","type":"bytes32"},{"internalType":"uint32","name":"keyVersion","type":"uint32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"settleResearchAttempt","outputs":[{"internalType":"enum HashDroidsPhase3.AttemptStatus","name":"finalStatus","type":"uint8"},{"internalType":"bool","name":"chestAwarded","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"singularityArchitect","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"singularityJackpotBnb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"singularityReached","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256[4]","name":"slotElementIds","type":"uint256[4]"}],"name":"submitResearchAttempt","outputs":[{"internalType":"uint256","name":"attemptId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tierDiscoveredCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tierTotalElements","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"titanHarvestCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAttemptsSubmitted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurnedAttempts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalChestCommits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalChestsOpened","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCrystalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDiscoveries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEarlyBoxesOpened","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMarketListings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPrimaDistributedToStakers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"elementId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferElement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"undistributedPrimaRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"userCrystalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"}],"name":"verifierSignerByVersion","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"windowAdmissionCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"details":"Trust Assumption (Explicit per Audit Section 1):      - Plaintext recipes & 256-bit salts remain strictly offchain in the owner's private Verifier service.      - Successes (`isSuccess = true`) are verified onchain against immutable `commitmentHash` commitments AND        EIP-712 signature from the authorized `verifierSignerByVersion[keyVersion]`.      - Failures (`isSuccess = false`) are authorized via EIP-712 signature from the Verifier Signer (or        resolved via timeout cancellation after `attemptCancelTimeoutBlocks` if the Verifier is unreachable).      - Neither the Verifier Signer nor the Relayer can withdraw funds, alter recipes, or redirect prizes away        from the registered `attempt.player`.","errors":{"ECDSAInvalidSignature()":[{"details":"The signature is invalid."}],"ECDSAInvalidSignatureLength(uint256)":[{"details":"The signature has an invalid length."}],"ECDSAInvalidSignatureS(bytes32)":[{"details":"The signature has an S value that is in the upper half order."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}]},"kind":"dev","methods":{"cancelExpiredAttempt(uint256)":{"details":"Restores the exact 4 locked ingredients (`crucibleBound` vs `tradable`) to `attempt.player` and marks      status as `CANCELLED_TIMEOUT` so `settleResearchAttempt` can NEVER be called afterward (prevents double-refund + settlement)."},"commitResearchResult(uint256,bytes32,uint32,bytes)":{"details":"The worker MUST persist the full decision and wait for this transaction's confirmation before broadcasting      settlement. A committed attempt cannot time out: recovery requires the retained decision and an accepted key."},"owner()":{"details":"Returns the address of the current owner."},"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)":{"details":"Explicit recovery power: no refund, mint, reorder or owner change. Persist the new preimage before calling.      Revocation alone does not repair a bad commitment; the worker never invokes recovery automatically."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"rotateVerifierKey(address,uint32)":{"params":{"newMinAcceptedVersion":"Set equal to previous version for graceful rollover of in-flight attempts,                              or set to the new version to immediately revoke a compromised old key.","newSigner":"The new Verifier Signer EOA."}},"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)":{"details":"Quota exhaustion defers settlement until next UTC day; it NEVER refunds an exposed success.      Failure payloads must carry a fresh random nonzero salt, so the opaque commitment cannot identify failures."},"submitResearchAttempt(uint256,uint256[4])":{"details":"Enforces:      1. Valid `.ai` Operator Pass ownership (`passId`).      2. If the 4-slot combination is ALREADY discovered, executes deterministic craft immediately (no queue work!).      3. At most 1 `PENDING` research attempt per `passId` (`activePendingAttemptByPass[passId] == 0`).      4. Global queue capacity (`activePendingAttemptsCount < maxPendingAttemptsGlobal`) & window rate limit.      5. Locks all 4 ingredients upfront and records whether each slot came from `crucibleBoundBalance` or `elementBalance`         so a PENDING timeout restores the exact same balance type."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"title":"HashDroidsPhase3 — The Synthesis Nexus (V5 Committed Results & FIFO Queue Edition)","version":1},"userdoc":{"kind":"user","methods":{"advanceResearchQueue(uint256)":{"notice":"Bounded progress through terminal queue entries. Anyone may call; no effects on pending decisions."},"cancelExpiredAttempt(uint256)":{"notice":"Cancel only a PENDING attempt after `attemptCancelTimeoutBlocks`; committed decisions require operator recovery."},"commitResearchResult(uint256,bytes32,uint32,bytes)":{"notice":"Anchor a private decision before revealing its signed plaintext. Only the FIFO head may commit."},"computeCommitmentHash(uint256,uint256[4],bytes32)":{"notice":"Computes the season-bound 256-bit salted commitment hash for an element recipe."},"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)":{"notice":"Owner and current verifier may jointly replace a decision signed by a REVOKED key."},"rotateVerifierKey(address,uint32)":{"notice":"Rotate the Verifier Signer key to a new `currentVerifierKeyVersion + 1`."},"setQueueParameters(uint256,uint256,uint256,uint256,uint256,address)":{"notice":"Adjust queue admission parameters within explicit hard-coded safety bounds (Audit Section 2 & 6)."},"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)":{"notice":"Resolve a confirmed private decision in FIFO order. Rewards belong to the admitted player."},"submitResearchAttempt(uint256,uint256[4])":{"notice":"Admit a new 4-Slot Research Attempt into the onchain queue for private Verifier evaluation."}},"notice":"Deterministic 4-Slot Alchemical Crucible with Private Verifier EIP-712 Settlement + Cryptographic         256-Bit Recipe Commitments, Bounded Admission Queue, Separated Signer/Relayer/Treasury Keys,         Per-TokenId Capped Soft-Staking, Future-Blockhash Chests, and Recursive Ceiling + P2P Market.","version":1}},"settings":{"compilationTarget":{"contracts/HashDroidsPhase3.sol":"HashDroidsPhase3"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/"],"viaIR":true},"sources":{"contracts/HashDroidsCrystalLib.sol":{"keccak256":"0x8b7b8897105d65f2fce9627afa7fcc7eef4baad6c4bf6e6432ff4bd3a78e331a","license":"MIT","urls":["bzz-raw://f0a4dee8c7830a42a8967236a1d578c8b79e508d9a797cc4d9a6dab5e9520633","dweb:/ipfs/QmekJHgVUj1z68mZc7NzSSUBA8phAb2Cxwccy1P3SJiEfZ"]},"contracts/HashDroidsEconomyLib.sol":{"keccak256":"0x420e6eccd1963470056088fc7336b5ad3010e4d8e8c15adc3388b552e5862799","license":"MIT","urls":["bzz-raw://986cc5509497e57729920e7cad790e66a46f57fd7813e82f0385486a99d4258b","dweb:/ipfs/Qmcv2hvxYmgzmhmGgsA6oRrr2fBJsMiojeqZ9m99fXDnLJ"]},"contracts/HashDroidsElements.sol":{"keccak256":"0x2ae2f16754c03e2e732711d898e8072467ddbfa6112e64d2d3b3813e6a2adac2","license":"MIT","urls":["bzz-raw://594e0ed73c73b2570a443716301b4f51a69c41605572808434d41f82553cc1b8","dweb:/ipfs/QmbjF7M6jNmxDiJmG8gchEjAUpzj8c3MEd11AGW7H3PmwX"]},"contracts/HashDroidsHarvestLib.sol":{"keccak256":"0x75306ee0f5a6d8dd937b0e7767b8428c09176e732c7410691d679ac0c606fa49","license":"MIT","urls":["bzz-raw://ca00d9248af1ad2841b73320222635746f188198ffd302a613d3556a4679a89d","dweb:/ipfs/QmeXdf315r2YppZwyv5sVKiigswm6fSvt63RYbSq7LhjPE"]},"contracts/HashDroidsPatentRenderer.sol":{"keccak256":"0xe9bea390c897d4d8d4bc8687037b4e8834d4bc877df5c56699cf3ff8cf3e11e7","license":"MIT","urls":["bzz-raw://71200a6bb1a2cd38976115fe5971099113a6f4e53558428790e44283fbe344d6","dweb:/ipfs/QmZsZ2TddPkPGpEsQLP2GjEFgD6GLhHNbnvbb7sowEPMxd"]},"contracts/HashDroidsPatents.sol":{"keccak256":"0x3a056792d30024410cc9bba692d0266ac265aeba69a02cd3ef08a061dd8bf0f7","license":"MIT","urls":["bzz-raw://ee9704b4c8bfe28fbf4513d0c8dba40ad76c31410d1f36a404e0d1bed42b2b54","dweb:/ipfs/QmRZhTz3tc3NjXPgFnfvu5byQfWvwAev3YDEJNLpS8u1pJ"]},"contracts/HashDroidsPhase3.sol":{"keccak256":"0xeae756a9eac85169a6e5150a90438db03d6c98d64596a3d918590527aff96d45","license":"MIT","urls":["bzz-raw://92da169d3240ff37d1b74c87d02c526512900b64f286fe831af2d171f76af3ce","dweb:/ipfs/QmQ6ir4ZWL2S5fBamQcrtBS9sbBXBwCyMcS1mtV2wfDFvJ"]},"contracts/HashDroidsTreasuryLib.sol":{"keccak256":"0x7687a887703c192817a00fd583c9a8b55e9b5205f1f6a427801601545d2dc7a5","license":"MIT","urls":["bzz-raw://7aac348e38df656876b7deeb34a9e94a3cb6ca29bd0f473a50fdc36bb5e00f2d","dweb:/ipfs/QmVNPhLdriWxmFJkcWeGUD2Bc1ikEBN15c5JMzannohAyv"]},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x1b88b3fb3d85ba5496d7d5f396f83ee1fddcdd6762059ff65992655b67920998","license":"MIT","urls":["bzz-raw://89393bb3212da1c0889601b9706a07b39419ddc4d2faab9eaf6e7f9152cf6a1c","dweb:/ipfs/QmcCfzzxv1Bkdz1c1yF4gQCeYb6Us5BJANnzTFqawfd1HL"]},"node_modules/@openzeppelin/contracts/token/ERC1155/ERC1155.sol":{"keccak256":"0x405aba2c4c654f9ee77437739109afc694bec03a074f978733c11205927d774b","license":"MIT","urls":["bzz-raw://4f573eec7a4e9f9155e23cc593e1cf1c90f8d0b737aa11c50aab35f26b377af5","dweb:/ipfs/Qmbg8NLfyicH2fQjnzCkdTT3zt2xt8zjdCZMz1eZdMfcGV"]},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155.sol":{"keccak256":"0xf189f9b417fe1931e1ab706838aff1128528694a9fcdb5ff7665197f2ca57d09","license":"MIT","urls":["bzz-raw://2ff0143c836c8c9f85d13708733c09e21251395847fccfb518bf3b556726a840","dweb:/ipfs/QmP69sjjrQrhYAsvCSSB69Bx66SiUPdQUqdzMYnf4wANHm"]},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol":{"keccak256":"0x6ec6d7fce29668ede560c7d2e10f9d10de3473f5298e431e70a5767db42fa620","license":"MIT","urls":["bzz-raw://ac0139e51874aeec0730d040e57993187541777eb01d5939c06d5d2b986a54e8","dweb:/ipfs/QmZbMbdPzusXuX9FGkyArV8hgzKLBZaL5RzMtCdCawtwPF"]},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol":{"keccak256":"0xf7a3a3aadaec19ab6e38797cd0ad90a903ff056c33e830d1aa16e67de9fe55c6","license":"MIT","urls":["bzz-raw://4c691686da62e09468ccc6f5b1c2d58c769f417d6bd05af03acf8b206e739f96","dweb:/ipfs/QmZXCHzzwnftg8xUr68pAnNsQMucU2REzqj45Tq9wjapSD"]},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol":{"keccak256":"0x98c32de9b02f43eba7c0aba9fadf331cffb35a8d2076dce1d556c8f2cad704aa","license":"MIT","urls":["bzz-raw://38f68f76e741cce3ca4e0f8ece5ab9d69a203829311a403bafc8f7b95a7e6d63","dweb:/ipfs/QmZ8PrDXU5DiZ7fzEoRN7vHMQdemtsqvYVV5AdvAnScS4o"]},"node_modules/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol":{"keccak256":"0xaeca1511f7da49bdb16e44aa0f09dca76b51ba079bd068b2f80b8fe6d22b5fa1","license":"MIT","urls":["bzz-raw://542fe084e72e14f4298954f70c407d5795c1207a02c049f9b91e15f3b9a525a5","dweb:/ipfs/QmbPQMVUVZBE9R9Va6FNfZBTrUY51nrjm8qxpeoAoRrPrQ"]},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2","license":"MIT","urls":["bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303","dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV"]},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"keccak256":"0xf6bb0dc431a9c50e25756412ec14cfcd4dc61dd40b8dc0e1b58ec09fce6d5564","license":"MIT","urls":["bzz-raw://eb87fef7e8ed754b8600cd5d42e4f23128059006368ffd19e4d50cc166471ee5","dweb:/ipfs/Qmc1vy1cevKreGUsG7S79gyhNvDtPnNz9qG47eYVHmMKLs"]},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"keccak256":"0xf78f05f3b8c9f75570e85300d7b4600d7f6f6a198449273f31d44c1641adb46f","license":"MIT","urls":["bzz-raw://e28b872613b45e0e801d4995aa4380be2531147bfe2d85c1d6275f1de514fba3","dweb:/ipfs/QmeeFcfShHYaS3BdgVj78nxR28ZaVUwbvr66ud8bT6kzw9"]},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"keccak256":"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055","license":"MIT","urls":["bzz-raw://8dc7e7ab5b8ea36c15027ab04221b05d1c970f47a53e9fd47ead8ca665d49c7e","dweb:/ipfs/Qmeeph7fsDyfRr8vb2L8KcDEmKPb224TAayMvgqgGAnqpL"]},"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"keccak256":"0xf46268c37522320bb2119a5a394bc5c739a95c0c574c8d08e8c643f4d06e5c76","license":"MIT","urls":["bzz-raw://517e4b295f35b9947c72ad7379a6089439ece7bb6f4a2ea0a159da13046c039e","dweb:/ipfs/QmZXzkSfLUbvujig3zVbpDHykpHhqLpvQtdiN3B5j4TA3u"]},"node_modules/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"keccak256":"0xc7efbc23214ad7dced8bf2249460f4bda114d57f6a0079f84040654280f455bd","license":"MIT","urls":["bzz-raw://1f5bd44efca8c8c0d74439e7b808d1f9c4af1df78f91fef8e8bbca8104645435","dweb:/ipfs/Qmb42XSd8MKsEitp42sZkSFGqDRigk6QgGXtiJyJqUZJJ6"]},"node_modules/@openzeppelin/contracts/utils/Arrays.sol":{"keccak256":"0xb3b81029526a4c3acf39e57cc446407141ebce338cc99585942af1340e1a69e0","license":"MIT","urls":["bzz-raw://3857ce97e8f7a51ad78ea5419b3386e18fcc8af73b65803eedd8193ab7abc9df","dweb:/ipfs/QmSQi6x2cYsUy76mfMNwuq151bVmh4kAND141kjume51Aq"]},"node_modules/@openzeppelin/contracts/utils/Base64.sol":{"keccak256":"0xe802369c4d2d254590d371eca16c8d247d7e0782ad2faaaa0180159ea8e736af","license":"MIT","urls":["bzz-raw://3afb5bedd76d842847c730499c3acc9c28e91ac981bb95467671118ec0c7cdc8","dweb:/ipfs/QmWzjmjvZPJEvNTiN22V3E9hQ2JnGeZgYfhFjqGMPMcSNH"]},"node_modules/@openzeppelin/contracts/utils/Bytes.sol":{"keccak256":"0xf80e4b96b6849936ea0fabd76cf81b13d7276295fddb1e1c07afb3ddf650b0ac","license":"MIT","urls":["bzz-raw://6430007255ac11c6e9c4331a418f3af52ff66fbbae959f645301d025b20aeb08","dweb:/ipfs/QmQE5fjmBBRw9ndnzJuC2uskYss1gbaR7JdazoCf1FGoBj"]},"node_modules/@openzeppelin/contracts/utils/Comparators.sol":{"keccak256":"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58","license":"MIT","urls":["bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd","dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC"]},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","license":"MIT","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"]},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"keccak256":"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53","license":"MIT","urls":["bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99","dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N"]},"node_modules/@openzeppelin/contracts/utils/SlotDerivation.sol":{"keccak256":"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f","license":"MIT","urls":["bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337","dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv"]},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"]},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x1fdc2de9585ab0f1c417f02a873a2b6343cd64bb7ffec6b00ffa11a4a158d9e8","license":"MIT","urls":["bzz-raw://1ab223a3d969c6cd7610049431dd42740960c477e45878f5d8b54411f7a32bdc","dweb:/ipfs/QmWumhjvhpKcwx3vDPQninsNVTc3BGvqaihkQakFkQYpaS"]},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0xbeb5cad8aaabe0d35d2ec1a8414d91e81e5a8ca679add4cf57e2f33476861f40","license":"MIT","urls":["bzz-raw://ebb272a5ee2da4e8bd5551334e0ce8dce4e9c56a04570d6bf046d260fab3116a","dweb:/ipfs/QmNw6RyM769qcqFocDq6HJMG2WiEnQbvizpRaUXsACHho2"]},"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol":{"keccak256":"0x2d9dc2fe26180f74c11c13663647d38e259e45f95eb88f57b61d2160b0109d3e","license":"MIT","urls":["bzz-raw://81233d1f98060113d9922180bb0f14f8335856fe9f339134b09335e9f678c377","dweb:/ipfs/QmWh6R35SarhAn4z2wH8SU456jJSYL2FgucfTFgbHJJN4E"]},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c","license":"MIT","urls":["bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617","dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u"]},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857","license":"MIT","urls":["bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5","dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y"]},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083","license":"MIT","urls":["bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9","dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif"]},"node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3","license":"MIT","urls":["bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03","dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint32":{"label":"uint32","encoding":"inplace","numberOfBytes":"4"},"t_uint64":{"label":"uint64","encoding":"inplace","numberOfBytes":"8"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_array(t_uint8)4_storage":{"base":"t_uint8","label":"uint8[4]","encoding":"inplace","numberOfBytes":"32"},"t_enum(AttemptStatus)4718":{"label":"enum HashDroidsPhase3.AttemptStatus","encoding":"inplace","numberOfBytes":"1"},"t_array(t_uint256)4_storage":{"base":"t_uint256","label":"uint256[4]","encoding":"inplace","numberOfBytes":"128"},"t_mapping(t_uint256,t_bool)":{"key":"t_uint256","label":"mapping(uint256 => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint32,t_address)":{"key":"t_uint32","label":"mapping(uint32 => address)","value":"t_address","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_uint256)":{"key":"t_address","label":"mapping(address => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_uint256)":{"key":"t_bytes32","label":"mapping(bytes32 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_bytes32)":{"key":"t_uint256","label":"mapping(uint256 => bytes32)","value":"t_bytes32","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint256)":{"key":"t_uint256","label":"mapping(uint256 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_struct(Discovery)4746_storage":{"label":"struct HashDroidsPhase3.Discovery","members":[{"slot":"0","type":"t_address","astId":4731,"label":"inventor","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":4733,"label":"inventorPassId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":4735,"label":"attemptId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":4737,"label":"timestamp","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_bytes32","astId":4739,"label":"revealedSalt","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_array(t_uint256)4_storage","astId":4743,"label":"slots","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_bool","astId":4745,"label":"discovered","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"320"},"t_struct(CrystalState)63_storage":{"label":"struct HashDroidsCrystalLib.CrystalState","members":[{"slot":"0","type":"t_mapping(t_uint256,t_struct(PendingChestCommit)33_storage)","astId":38,"label":"chestCommits","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":40,"label":"totalChestCommits","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":42,"label":"totalChestsOpened","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":44,"label":"totalCrystalShares","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_uint256","astId":46,"label":"accPrimaPerShare","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_uint256","astId":48,"label":"undistributedPrimaRewards","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"6","type":"t_uint256","astId":50,"label":"totalPrimaDistributedToStakers","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"7","type":"t_mapping(t_address,t_uint256)","astId":54,"label":"userCrystalShares","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"8","type":"t_mapping(t_address,t_uint256)","astId":58,"label":"userRewardDebt","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_mapping(t_address,t_uint256)","astId":62,"label":"pendingPrimaRewards","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"320"},"t_struct(MarketState)963_storage":{"label":"struct HashDroidsEconomyLib.MarketState","members":[{"slot":"0","type":"t_uint256","astId":957,"label":"totalListings","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_mapping(t_uint256,t_struct(MarketListing)955_storage)","astId":962,"label":"listings","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"64"},"t_struct(ElementMeta)4729_storage":{"label":"struct HashDroidsPhase3.ElementMeta","members":[{"slot":"0","type":"t_string_storage","astId":4720,"label":"elementName","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_string_storage","astId":4722,"label":"symbol","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":4724,"label":"tier","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_bytes32","astId":4726,"label":"commitmentHash","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_bool","astId":4728,"label":"registered","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"160"},"t_struct(MarketListing)955_storage":{"label":"struct HashDroidsEconomyLib.MarketListing","members":[{"slot":"0","type":"t_address","astId":946,"label":"seller","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":948,"label":"elementId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":950,"label":"units","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":952,"label":"pricePerUnitBnb","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_bool","astId":954,"label":"active","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"160"},"t_struct(TreasuryState)8978_storage":{"label":"struct HashDroidsTreasuryLib.TreasuryState","members":[{"slot":"0","type":"t_uint256","astId":8961,"label":"jackpot","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":8963,"label":"vault","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":8965,"label":"buyback","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_bool","astId":8967,"label":"reached","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_address","astId":8969,"label":"architect","offset":1,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_mapping(t_address,t_uint256)","astId":8973,"label":"credits","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_mapping(t_uint256,t_uint256)","astId":8977,"label":"patentEarned","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"192"},"t_struct(ResearchAttempt)4772_storage":{"label":"struct HashDroidsPhase3.ResearchAttempt","members":[{"slot":"0","type":"t_uint256","astId":4748,"label":"attemptId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":4750,"label":"seasonId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_address","astId":4752,"label":"player","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":4754,"label":"passId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_array(t_uint256)4_storage","astId":4758,"label":"sortedSlots","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"8","type":"t_array(t_uint8)4_storage","astId":4762,"label":"lockedFromCrucibleBound","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_uint64","astId":4764,"label":"submittedBlock","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_uint64","astId":4766,"label":"submittedTimestamp","offset":8,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_uint32","astId":4768,"label":"minKeyVersion","offset":16,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_enum(AttemptStatus)4718","astId":4771,"label":"status","offset":20,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"320"},"t_struct(PendingChestCommit)33_storage":{"label":"struct HashDroidsCrystalLib.PendingChestCommit","members":[{"slot":"0","type":"t_address","astId":28,"label":"player","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_uint64","astId":30,"label":"unlockBlock","offset":20,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_bool","astId":32,"label":"resolved","offset":28,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_uint256,t_mapping(t_uint256,t_bool))":{"key":"t_uint256","label":"mapping(uint256 => mapping(uint256 => bool))","value":"t_mapping(t_uint256,t_bool)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_uint256,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(uint256 => uint256))","value":"t_mapping(t_uint256,t_uint256)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))":{"key":"t_uint256","label":"mapping(uint256 => mapping(uint256 => uint256))","value":"t_mapping(t_uint256,t_uint256)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(Discovery)4746_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsPhase3.Discovery)","value":"t_struct(Discovery)4746_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(ElementMeta)4729_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsPhase3.ElementMeta)","value":"t_struct(ElementMeta)4729_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(MarketListing)955_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsEconomyLib.MarketListing)","value":"t_struct(MarketListing)955_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(ResearchAttempt)4772_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsPhase3.ResearchAttempt)","value":"t_struct(ResearchAttempt)4772_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(PendingChestCommit)33_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsCrystalLib.PendingChestCommit)","value":"t_struct(PendingChestCommit)33_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":9468,"label":"_owner","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_uint32","astId":4810,"label":"currentVerifierKeyVersion","offset":20,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_uint32","astId":4812,"label":"minAcceptedVerifierKeyVersion","offset":24,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_mapping(t_uint32,t_address)","astId":4816,"label":"verifierSignerByVersion","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":4840,"label":"maxPendingAttemptsGlobal","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":4843,"label":"maxAdmissionsPerWindow","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_uint256","astId":4846,"label":"admissionWindowBlocks","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_uint256","astId":4849,"label":"attemptCancelTimeoutBlocks","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"6","type":"t_uint256","astId":4852,"label":"researchGasFeeBnb","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"7","type":"t_address","astId":4854,"label":"relayerGasReceiver","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"8","type":"t_uint256","astId":4856,"label":"activePendingAttemptsCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_mapping(t_uint256,t_uint256)","astId":4860,"label":"activePendingAttemptByPass","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"10","type":"t_mapping(t_uint256,t_uint256)","astId":4864,"label":"windowAdmissionCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"11","type":"t_uint256","astId":4867,"label":"nextAttemptToSettle","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"12","type":"t_mapping(t_uint256,t_bytes32)","astId":4871,"label":"committedResearchResults","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"13","type":"t_uint256","astId":4873,"label":"totalAttemptsSubmitted","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"14","type":"t_mapping(t_uint256,t_struct(ResearchAttempt)4772_storage)","astId":4878,"label":"researchAttempts","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"15","type":"t_bool","astId":4881,"label":"researchPaused","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"16","type":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","astId":4887,"label":"crucibleBoundBalance","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"17","type":"t_mapping(t_uint256,t_uint256)","astId":4891,"label":"marketUnitsSold","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"18","type":"t_mapping(t_uint256,t_bool)","astId":4928,"label":"earlyBoxOpened","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"19","type":"t_uint256","astId":4930,"label":"totalEarlyBoxesOpened","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"20","type":"t_bool","astId":4935,"label":"recipesLockedForever","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"21","type":"t_mapping(t_uint256,t_struct(ElementMeta)4729_storage)","astId":4940,"label":"elementMeta","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"22","type":"t_mapping(t_uint256,t_struct(Discovery)4746_storage)","astId":4945,"label":"discoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"23","type":"t_mapping(t_bytes32,t_uint256)","astId":4949,"label":"known4SlotRecipeToElementId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"24","type":"t_mapping(t_uint256,t_uint256)","astId":4953,"label":"tierTotalElements","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"25","type":"t_mapping(t_uint256,t_uint256)","astId":4957,"label":"tierDiscoveredCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"26","type":"t_mapping(t_uint256,t_uint256)","astId":4961,"label":"elementChestClaims","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"27","type":"t_mapping(t_uint256,t_mapping(t_uint256,t_bool))","astId":4967,"label":"passHasClaimedElementChest","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"28","type":"t_mapping(t_uint256,t_uint256)","astId":4971,"label":"dailyGlobalDiscoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"29","type":"t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))","astId":4977,"label":"dailyPassDiscoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"30","type":"t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))","astId":4983,"label":"dailyPassChests","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"31","type":"t_mapping(t_uint256,t_uint256)","astId":5008,"label":"gen1DroidHarvestCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"32","type":"t_mapping(t_uint256,t_uint256)","astId":5012,"label":"lastGen1DroidHarvestTime","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"33","type":"t_mapping(t_uint256,t_uint256)","astId":5016,"label":"titanHarvestCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"34","type":"t_mapping(t_uint256,t_uint256)","astId":5020,"label":"lastTitanHarvestTime","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"35","type":"t_struct(TreasuryState)8978_storage","astId":5023,"label":"treasury","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"41","type":"t_struct(CrystalState)63_storage","astId":5097,"label":"crystalState","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"51","type":"t_struct(MarketState)963_storage","astId":5172,"label":"marketState","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"53","type":"t_uint256","astId":5174,"label":"totalDiscoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"54","type":"t_uint256","astId":5176,"label":"totalBurnedAttempts","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}]},"transientStorageLayout":{"types":null,"storage":[]},"userdoc":{"kind":"user","notice":"Deterministic 4-Slot Alchemical Crucible with Private Verifier EIP-712 Settlement + Cryptographic         256-Bit Recipe Commitments, Bounded Admission Queue, Separated Signer/Relayer/Treasury Keys,         Per-TokenId Capped Soft-Staking, Future-Blockhash Chests, and Recursive Ceiling + P2P Market.","methods":{"advanceResearchQueue(uint256)":{"notice":"Bounded progress through terminal queue entries. Anyone may call; no effects on pending decisions."},"cancelExpiredAttempt(uint256)":{"notice":"Cancel only a PENDING attempt after `attemptCancelTimeoutBlocks`; committed decisions require operator recovery."},"rotateVerifierKey(address,uint32)":{"notice":"Rotate the Verifier Signer key to a new `currentVerifierKeyVersion + 1`."},"submitResearchAttempt(uint256,uint256[4])":{"notice":"Admit a new 4-Slot Research Attempt into the onchain queue for private Verifier evaluation."},"computeCommitmentHash(uint256,uint256[4],bytes32)":{"notice":"Computes the season-bound 256-bit salted commitment hash for an element recipe."},"commitResearchResult(uint256,bytes32,uint32,bytes)":{"notice":"Anchor a private decision before revealing its signed plaintext. Only the FIFO head may commit."},"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)":{"notice":"Owner and current verifier may jointly replace a decision signed by a REVOKED key."},"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)":{"notice":"Resolve a confirmed private decision in FIFO order. Rewards belong to the admitted player."},"setQueueParameters(uint256,uint256,uint256,uint256,uint256,address)":{"notice":"Adjust queue admission parameters within explicit hard-coded safety bounds (Audit Section 2 & 6)."}},"version":1},"devdoc":{"kind":"dev","title":"HashDroidsPhase3 — The Synthesis Nexus (V5 Committed Results & FIFO Queue Edition)","errors":{"ECDSAInvalidSignature()":[{"details":"The signature is invalid."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"ECDSAInvalidSignatureS(bytes32)":[{"details":"The signature has an S value that is in the upper half order."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ECDSAInvalidSignatureLength(uint256)":[{"details":"The signature has an invalid length."}]},"details":"Trust Assumption (Explicit per Audit Section 1):      - Plaintext recipes & 256-bit salts remain strictly offchain in the owner's private Verifier service.      - Successes (`isSuccess = true`) are verified onchain against immutable `commitmentHash` commitments AND        EIP-712 signature from the authorized `verifierSignerByVersion[keyVersion]`.      - Failures (`isSuccess = false`) are authorized via EIP-712 signature from the Verifier Signer (or        resolved via timeout cancellation after `attemptCancelTimeoutBlocks` if the Verifier is unreachable).      - Neither the Verifier Signer nor the Relayer can withdraw funds, alter recipes, or redirect prizes away        from the registered `attempt.player`.","methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"cancelExpiredAttempt(uint256)":{"details":"Restores the exact 4 locked ingredients (`crucibleBound` vs `tradable`) to `attempt.player` and marks      status as `CANCELLED_TIMEOUT` so `settleResearchAttempt` can NEVER be called afterward (prevents double-refund + settlement)."},"rotateVerifierKey(address,uint32)":{"params":{"newSigner":"The new Verifier Signer EOA.","newMinAcceptedVersion":"Set equal to previous version for graceful rollover of in-flight attempts,                              or set to the new version to immediately revoke a compromised old key."}},"submitResearchAttempt(uint256,uint256[4])":{"details":"Enforces:      1. Valid `.ai` Operator Pass ownership (`passId`).      2. If the 4-slot combination is ALREADY discovered, executes deterministic craft immediately (no queue work!).      3. At most 1 `PENDING` research attempt per `passId` (`activePendingAttemptByPass[passId] == 0`).      4. Global queue capacity (`activePendingAttemptsCount < maxPendingAttemptsGlobal`) & window rate limit.      5. Locks all 4 ingredients upfront and records whether each slot came from `crucibleBoundBalance` or `elementBalance`         so a PENDING timeout restores the exact same balance type."},"commitResearchResult(uint256,bytes32,uint32,bytes)":{"details":"The worker MUST persist the full decision and wait for this transaction's confirmation before broadcasting      settlement. A committed attempt cannot time out: recovery requires the retained decision and an accepted key."},"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)":{"details":"Explicit recovery power: no refund, mint, reorder or owner change. Persist the new preimage before calling.      Revocation alone does not repair a bad commitment; the worker never invokes recovery automatically."},"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)":{"details":"Quota exhaustion defers settlement until next UTC day; it NEVER refunds an exposed success.      Failure payloads must carry a fresh random nonzero salt, so the opaque commitment cannot identify failures."}},"version":1},"sourceIds":{"contracts/HashDroidsPhase3.sol":{"id":6},"contracts/HashDroidsPatents.sol":{"id":5},"contracts/HashDroidsElements.sol":{"id":2},"contracts/HashDroidsCrystalLib.sol":{"id":0},"contracts/HashDroidsEconomyLib.sol":{"id":1},"contracts/HashDroidsHarvestLib.sol":{"id":3},"contracts/HashDroidsTreasuryLib.sol":{"id":7},"contracts/HashDroidsPatentRenderer.sol":{"id":4},"node_modules/@openzeppelin/contracts/utils/Bytes.sol":{"id":24},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"id":27},"node_modules/@openzeppelin/contracts/utils/Arrays.sol":{"id":22},"node_modules/@openzeppelin/contracts/utils/Base64.sol":{"id":23},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"id":26},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"id":31},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"id":8},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"id":35},"node_modules/@openzeppelin/contracts/utils/Comparators.sol":{"id":25},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"id":30},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":16},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"id":17},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":36},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"id":18},"node_modules/@openzeppelin/contracts/utils/SlotDerivation.sol":{"id":29},"node_modules/@openzeppelin/contracts/token/ERC1155/ERC1155.sol":{"id":10},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":28},"node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol":{"id":37},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155.sol":{"id":11},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"id":32},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":9},"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol":{"id":33},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":34},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":19},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol":{"id":12},"node_modules/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"id":21},"node_modules/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol":{"id":15},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol":{"id":13},"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"id":20},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol":{"id":14}},"additionalInput":null,"stdJsonInput":{"sources":{"contracts/HashDroidsPhase3.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\nimport {HashDroidsCrystalLib} from \"./HashDroidsCrystalLib.sol\";\nimport {HashDroidsTreasuryLib} from \"./HashDroidsTreasuryLib.sol\";\nimport {HashDroidsEconomyLib} from \"./HashDroidsEconomyLib.sol\";\nimport {HashDroidsHarvestLib} from \"./HashDroidsHarvestLib.sol\";\nimport {HashDroidsPatents} from \"./HashDroidsPatents.sol\";\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\nimport {IERC721} from \"@openzeppelin/contracts/token/ERC721/IERC721.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {Ownable} from \"@openzeppelin/contracts/access/Ownable.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {ECDSA} from \"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\";\nimport {HashDroidsPatentRenderer} from \"./HashDroidsPatentRenderer.sol\";\n\ninterface IHashDroidsGen1P3 {\n    function balanceOf(address owner) external view returns (uint256);\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\ninterface IHashDroidsPhase2P3 {\n    function balanceOf(address owner) external view returns (uint256);\n    function ownerOf(uint256 tokenId) external view returns (address);\n    function titanShares(uint256 titanId) external view returns (uint256);\n}\n\ninterface IHashDroidsOperatorPass {\n    function balanceOf(address owner) external view returns (uint256);\n    function ownerOf(uint256 tokenId) external view returns (address);\n    function hasEarlyBox(uint256 tokenId) external view returns (bool);\n}\n\n/// @title HashDroidsPhase3 — The Synthesis Nexus (V5 Committed Results & FIFO Queue Edition)\n/// @notice Deterministic 4-Slot Alchemical Crucible with Private Verifier EIP-712 Settlement + Cryptographic\n///         256-Bit Recipe Commitments, Bounded Admission Queue, Separated Signer/Relayer/Treasury Keys,\n///         Per-TokenId Capped Soft-Staking, Future-Blockhash Chests, and Recursive Ceiling + P2P Market.\n/// @dev Trust Assumption (Explicit per Audit Section 1):\n///      - Plaintext recipes & 256-bit salts remain strictly offchain in the owner's private Verifier service.\n///      - Successes (`isSuccess = true`) are verified onchain against immutable `commitmentHash` commitments AND\n///        EIP-712 signature from the authorized `verifierSignerByVersion[keyVersion]`.\n///      - Failures (`isSuccess = false`) are authorized via EIP-712 signature from the Verifier Signer (or\n///        resolved via timeout cancellation after `attemptCancelTimeoutBlocks` if the Verifier is unreachable).\n///      - Neither the Verifier Signer nor the Relayer can withdraw funds, alter recipes, or redirect prizes away\n///        from the registered `attempt.player`.\ncontract HashDroidsPhase3 is Ownable, ReentrancyGuard {\n    using ECDSA for bytes32;\n\n    // --- Element & Asset ID Constants ---\n    uint256 private constant SINGULARITY_ID = 96;\n    uint256 private constant ELEM_CHEST = 100;\n    uint256 private constant ELEM_WATER = 101;\n    uint256 private constant ELEM_FIRE = 102;\n    uint256 private constant ELEM_EARTH = 103;\n    uint256 private constant ELEM_AIR = 104;\n    uint256 private constant ELEM_ENTROPY = 105;\n\n    address private constant DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD;\n    uint256 private constant ACC_PRECISION = 1e18;\n\n    // --- EIP-712 TypeHash for Research Settlement (Audit Section 2) ---\n    // Bound to: contract (via EIP712 domain), chainId (via EIP712 domain), seasonId, attemptId, player,\n    // passId, sortedSlotsHash, isSuccess, elementId, secretElementSalt, keyVersion.\n    bytes32 private constant RESEARCH_RESULT_TYPEHASH =\n        keccak256(\n            \"ResearchResult(uint256 seasonId,uint256 attemptId,address player,uint256 passId,bytes32 sortedSlotsHash,bool isSuccess,uint256 elementId,bytes32 secretElementSalt,uint32 keyVersion)\"\n        );\n\n    bytes32 private constant RESEARCH_COMMITMENT_TYPEHASH = keccak256(\n        \"ResearchCommitment(uint256 seasonId,uint256 attemptId,address player,uint256 passId,bytes32 sortedSlotsHash,bytes32 resultCommitment,uint32 keyVersion)\"\n    );\n\n    // --- Attempt State Machine (Audit Section 3) ---\n    enum AttemptStatus {\n        NONE,               // 0: Uninitialized\n        PENDING,            // 1: Admitted onchain, 4 ingredients locked in escrow (`crucibleBound` vs `tradable` tracked)\n        SETTLED_DISCOVERY,  // 2: First discovery awarded (1-of-1 Patent + Element + Inventor Chest)\n        SETTLED_CRAFT,      // 3: Recipe was valid, but Patent was already claimed by an earlier attempt (mints Element + Wolf Chest if eligible)\n        SETTLED_FAILURE,    // 4: Signed failure (burns locked 4 ingredients + grants 1x #105 Primordial Entropy)\n        SETTLED_REFUNDED,   // 5: duplicate already-public Singularity only; daily quotas never refund secrets\n        CANCELLED_TIMEOUT,  // 6: Service outage timeout reached; player recovered their exact 4 locked ingredients (NO free answer revealed!)\n        RESULT_COMMITTED    // 7: opaque decision fixed; no refund/cancellation; operator must complete settlement\n    }\n\n    struct ElementMeta {\n        string elementName;\n        string symbol;\n        uint256 tier;             // 1..7\n        bytes32 commitmentHash;   // keccak256(abi.encodePacked(seasonId, elementId, s0, s1, s2, s3, secretElementSalt))\n        bool registered;\n    }\n\n    struct Discovery {\n        address inventor;\n        uint256 inventorPassId;\n        uint256 attemptId;\n        uint256 timestamp;\n        bytes32 revealedSalt;\n        uint256[4] slots;\n        bool discovered;\n    }\n\n    struct ResearchAttempt {\n        uint256 attemptId;\n        uint256 seasonId;\n        address player;\n        uint256 passId;\n        uint256[4] sortedSlots;\n        uint8[4] lockedFromCrucibleBound; // 1 if slot `i` was locked from `crucibleBoundBalance`, 0 if locked from `elementBalance`\n        uint64 submittedBlock;\n        uint64 submittedTimestamp;\n        uint32 minKeyVersion; // Admission minimum while PENDING; effective commitment signer version once committed.\n        AttemptStatus status;\n    }\n\n    struct PendingChestCommit {\n        address player;\n        uint64 unlockBlock;\n        bool resolved;\n    }\n\n    // --- Immutable Ecosystem & Treasury Contracts (Audit Section 1, 5 & 8) ---\n    uint256 public immutable seasonId;\n    IHashDroidsGen1P3 private immutable gen1Droids;\n    IHashDroidsPhase2P3 private immutable phase2Titans;\n    IHashDroidsOperatorPass public immutable operatorPass;\n    IERC20 public immutable primaToken;\n    HashDroidsPatentRenderer private immutable patentRenderer;\n    HashDroidsPatents public immutable patentCollection;\n    HashDroidsElements public immutable elementCollection;\n    address public immutable founderWallet;        // 15% direct BNB cut (kairos.ai)\n    address public immutable ecosystemVaultWallet; // 20% BNB reserve vault (Phase 1 & 2 Buyback/Yield Vault)\n    address public immutable flapCurveMarket;      // 5% BNB reserve for $PRIMA Flap Curve / Stakers\n\n    // --- Separated Verifier Signer Key Versioning (Audit Section 2 & 5) ---\n    // Allows rotating the Verifier Signer key without invalidating in-flight signatures unless compromised versions are revoked.\n    uint32 public currentVerifierKeyVersion;\n    uint32 public minAcceptedVerifierKeyVersion;\n    mapping(uint32 => address) public verifierSignerByVersion;\n\n    // --- Bounded Admission Queue & Rate-Window Parameters (Audit Section 2 & 6) ---\n    uint256 private constant MIN_QUEUE_CAPACITY = 20;\n    uint256 private constant MAX_QUEUE_CAPACITY_CEILING = 10_000;\n    uint256 private constant MIN_WINDOW_ADMISSIONS = 5;\n    uint256 private constant MAX_WINDOW_ADMISSIONS_CEILING = 2_000;\n    uint256 private constant MIN_CANCEL_TIMEOUT_BLOCKS = 100;     \n    uint256 private constant MAX_CANCEL_TIMEOUT_BLOCKS = 28_800;  \n    uint256 private constant MAX_RESEARCH_FEE_BNB = 0.0005 ether;  // Hard ceiling on optional gas-coverage fee\n\n    uint256 public maxPendingAttemptsGlobal = 500;\n    uint256 public maxAdmissionsPerWindow = 120;      // Max new research attempts per 100-block window \n    uint256 public admissionWindowBlocks = 100;\n    uint256 public attemptCancelTimeoutBlocks = 1200; // Block-based timeout; never assume a fixed wall-clock duration\n    uint256 public researchGasFeeBnb = 0;             // Default 0 BNB; adjustable up to MAX_RESEARCH_FEE_BNB to fund relayer gas\n    address public relayerGasReceiver;\n\n    uint256 public activePendingAttemptsCount;\n    mapping(uint256 => uint256) public activePendingAttemptByPass; // passId => attemptId (0 if none: max 1 pending per Pass!)\n    mapping(uint256 => uint256) public windowAdmissionCount;       // (block.number / admissionWindowBlocks) => count\n\n    uint256 public nextAttemptToSettle = 1;\n    mapping(uint256 => bytes32) public committedResearchResults;\n    uint256 public totalAttemptsSubmitted;\n    mapping(uint256 => ResearchAttempt) private researchAttempts;\n    bool public researchPaused = true;\n\n    // --- ERC-1155 tradable inventory; compatibility views use 18 decimals. ---\n    // Bound welcome credits are deliberately not transferable ERC-1155 tokens.\n    mapping(address => mapping(uint256 => uint256)) public crucibleBoundBalance;\n    mapping(uint256 => uint256) public marketUnitsSold;\n    function elementBalance(address player,uint256 id) public view returns(uint256) {\n        return elementCollection.availableBalanceOf(player,id) * 1 ether;\n    }\n    function elementTotalSupply(uint256 id) public view returns(uint256) {\n        return elementCollection.totalSupply(id) * 1 ether;\n    }\n\n    // --- Operator Pass & Genesis Boxes ---\n    mapping(uint256 => bool) public earlyBoxOpened;\n    uint256 public totalEarlyBoxesOpened;\n    uint256 private constant SUPPLY_PACK_PRICE_BNB = 0.005 ether;\n\n    // --- Cryptographic Commitments, Known Recipes & Tier Locks ---\n    bool public recipesLockedForever;\n    mapping(uint256 => ElementMeta) public elementMeta;\n    mapping(uint256 => Discovery) public discoveries;\n    // Once an element is discovered, its 4-slot hash is cached so subsequent deterministic crafts execute in 1 tx!\n    mapping(bytes32 => uint256) public known4SlotRecipeToElementId;\n\n    mapping(uint256 => uint256) public tierTotalElements;\n    mapping(uint256 => uint256) public tierDiscoveredCount;\n\n    // --- Daily Discovery & Chest Quotas (Strictly 1 Patent/Day/Pass, 2 Chests/Day/Pass — NO $PRIMA Resets!) ---\n    mapping(uint256 => uint256) public elementChestClaims;\n    mapping(uint256 => mapping(uint256 => bool)) public passHasClaimedElementChest; // passId => elementId => bool\n    mapping(uint256 => uint256) public dailyGlobalDiscoveries;\n    mapping(uint256 => mapping(uint256 => uint256)) public dailyPassDiscoveries;    // passId => day => count\n    mapping(uint256 => mapping(uint256 => uint256)) public dailyPassChests;         // passId => day => count\n\n    uint256 private constant MAX_GLOBAL_DISCOVERIES_PER_DAY = 8;\n    uint256 private constant MAX_PASS_DISCOVERIES_PER_DAY = 1;\n    uint256 private constant MAX_PASS_CHESTS_PER_DAY = 2;\n\n    // --- Per-TokenId Soft-Staking Limits ---\n    uint256 private constant HARVEST_COOLDOWN = 24 hours;\n    uint256 private constant MAX_GEN1_HARVESTS = 8;\n    uint256 private constant MAX_TITAN_HARVESTS = 30;\n    uint256 private constant MAX_CAPPED_TITAN_SHARES = 12;\n\n    mapping(uint256 => uint256) public gen1DroidHarvestCount;\n    mapping(uint256 => uint256) public lastGen1DroidHarvestTime;\n    mapping(uint256 => uint256) public titanHarvestCount;\n    mapping(uint256 => uint256) public lastTitanHarvestTime;\n\n    // --- BNB Pools & Cascade Royalty Accounting ---\n    HashDroidsTreasuryLib.TreasuryState private treasury;\n    function singularityJackpotBnb() external view returns(uint256) { return treasury.jackpot; }\n    function ecosystemVaultBnb() external view returns(uint256) { return treasury.vault; }\n    function primaBuybackReserveBnb() external view returns(uint256) { return treasury.buyback; }\n    function singularityReached() external view returns(bool) { return treasury.reached; }\n    function singularityArchitect() external view returns(address) { return treasury.architect; }\n    function claimableRoyaltiesBnb(address holder) external view returns(uint256) { return treasury.credits[holder]; }\n    function patentTotalRoyaltiesEarned(uint256 id) external view returns(uint256) { return treasury.patentEarned[id]; }\n\n    // --- Future-Blockhash Chests & Nexus Crystal Staking Pool ---\n    HashDroidsCrystalLib.CrystalState private crystalState;\n    function chestCommits(uint256 id) external view returns(HashDroidsCrystalLib.PendingChestCommit memory) { return crystalState.chestCommits[id]; }\n    function totalChestCommits() external view returns(uint256) { return crystalState.totalChestCommits; }\n    function totalChestsOpened() external view returns(uint256) { return crystalState.totalChestsOpened; }\n    function totalCrystalShares() external view returns(uint256) { return crystalState.totalCrystalShares; }\n    function undistributedPrimaRewards() external view returns(uint256) { return crystalState.undistributedPrimaRewards; }\n    function totalPrimaDistributedToStakers() external view returns(uint256) { return crystalState.totalPrimaDistributedToStakers; }\n    function userCrystalShares(address user) external view returns(uint256) { return crystalState.userCrystalShares[user]; }\n\n    // --- P2P Element Market Orderbook ---\n    HashDroidsEconomyLib.MarketState private marketState;\n\n    uint256 public totalDiscoveries;\n    uint256 public totalBurnedAttempts;\n\n    // --- Events ---\n    event EarlySupplyBoxOpened(address indexed player, uint256 indexed passId, uint256 crucibleBoundGrantedEach);\n    event FleetExtractorsHarvested(address indexed player, uint256 indexed passId, uint256 baseUnitsTotal, uint256 entropyUnits);\n    event SupplyPackPurchased(address indexed buyer, uint256 packCount, uint256 totalBnbCost);\n    event ResearchAttemptAdmitted(\n        uint256 indexed attemptId,\n        uint256 indexed seasonId,\n        address indexed player,\n        uint256 passId,\n        uint256[4] sortedSlots,\n        uint64 submittedBlock\n    );\n    event ResearchResultCommitted(uint256 indexed attemptId, bytes32 resultCommitment, uint32 keyVersion);\n    event ResearchResultRecovered(uint256 indexed attemptId, bytes32 oldCommitment, bytes32 newCommitment,\n        uint32 oldKeyVersion, uint32 newKeyVersion);\n    event ResearchAttemptSettled(\n        uint256 indexed attemptId,\n        address indexed player,\n        uint256 indexed passId,\n        AttemptStatus finalStatus,\n        uint256 elementId,\n        bool chestAwarded,\n        address relayer\n    );\n    event DeterministicCraftExecuted(\n        address indexed player,\n        uint256 indexed passId,\n        uint256 indexed elementId,\n        uint256[4] sortedSlots,\n        bool chestAwarded\n    );\n    event ElementDiscovered(\n        address indexed inventor,\n        uint256 indexed passId,\n        uint256 indexed elementId,\n        uint256 attemptId,\n        string elementName,\n        string symbol,\n        uint256 tier,\n        uint256[4] slots\n    );\n    event ChestCommitCreated(uint256 indexed chestCommitId, address indexed player, uint64 unlockBlock);\n    event SynthesisChestOpened(\n        address indexed player,\n        uint256 indexed chestCommitId,\n        uint256 crystalTierRolled,\n        uint256 crystalSharesGranted,\n        uint256 bonusElementId\n    );\n    event CrystalPrimaClaimed(address indexed player, uint256 primaAmount);\n    event ElementTransfer(address indexed from, address indexed to, uint256 indexed elementId, uint256 amount);\n    event ElementListedP2P(uint256 indexed listingId, address indexed seller, uint256 indexed elementId, uint256 units, uint256 pricePerUnitBnb);\n    event ElementSoldP2P(uint256 indexed listingId, address indexed buyer, uint256 indexed elementId, uint256 units, uint256 totalBnb);\n    event ElementMarketPurchase(\n        address indexed buyer,\n        uint256 indexed elementId,\n        uint256 units,\n        uint256 totalBnbCost,\n        address inventorRecipient,\n        uint256 inventorRoyalty\n    );\n    event RoyaltiesClaimed(address indexed holder, uint256 bnbAmount);\n    event SingularityReached(\n        address indexed architect,\n        uint256 architectPrizeBnb,\n        uint256 ecosystemVaultCutBnb,\n        uint256 patentBonusBnb\n    );\n    event VerifierKeyRotated(uint32 indexed keyVersion, address indexed signer, uint32 minAcceptedVersion);\n    event QueueParametersUpdated(uint256 maxPendingGlobal, uint256 maxPerWindow, uint256 windowBlocks, uint256 cancelTimeoutBlocks, uint256 researchFeeBnb);\n\n    // --- Errors ---\n    error InvalidInput();\n    error RecipesNotLocked();\n    error ResearchPaused();\n    error IncompleteRecipeConfiguration();\n    error OutOfOrderAttempt(uint256 expected, uint256 received);\n    error AttemptNotCommitted(uint256 attemptId);\n    error TierLocked(uint256 tier);\n    error ResultCommitmentMismatch();\n    error NotPassOwner();\n    error NotEligibleForEarlyBox();\n    error EarlyBoxAlreadyOpened();\n    error InsufficientElementBalance(uint256 elementId, uint256 required, uint256 available);\n    error IngredientNotDiscovered(uint256 elementId);\n    error PassAlreadyHasPendingAttempt(uint256 passId, uint256 pendingAttemptId);\n    error GlobalQueueFull(uint256 currentPending, uint256 maxAllowed);\n    error WindowAdmissionLimitReached(uint256 windowId, uint256 maxPerWindow);\n    error DailyPassDiscoveryLimitReached(uint256 limit);\n    error DailyGlobalDiscoveryLimitReached(uint256 limit);\n    error AttemptNotPending(uint256 attemptId, AttemptStatus currentStatus);\n    error InvalidKeyVersion(uint32 keyVersion, uint32 minAccepted);\n    error InvalidVerifierSignature();\n    error InvalidCommitmentReveal();\n    error CancelTimeoutNotReached(uint256 currentBlock, uint256 timeoutBlock);\n    error SingularityAlreadyForged();\n    error NothingToHarvest();\n    error ElementNotDiscovered(uint256 elementId);\n    error InsufficientPayment();\n    error NothingToClaim();\n    error TransferFailed();\n    error RecipesAlreadyLocked();\n    error ElementAlreadyRegistered(uint256 elementId);\n    error CommitAlreadyResolved();\n    error CommitNotReady(uint256 currentBlock, uint256 requiredBlock);\n\n    constructor(\n        uint256 _seasonId,\n        address _gen1Droids,\n        address _phase2Titans,\n        address _operatorPass,\n        address _primaToken,\n        address _patentRenderer,\n        address _founderWallet,\n        address _ecosystemVaultWallet,\n        address _flapCurveMarket,\n        address _initialVerifierSigner,\n        address _relayerGasReceiver\n    )\n        Ownable(msg.sender)\n    {\n        if (\n            _seasonId == 0 ||\n            _gen1Droids == address(0) ||\n            _phase2Titans == address(0) ||\n            _operatorPass == address(0) ||\n            _patentRenderer == address(0) ||\n            _founderWallet == address(0) ||\n            _ecosystemVaultWallet == address(0) ||\n            _initialVerifierSigner == address(0)\n        ) revert InvalidInput();\n\n        seasonId = _seasonId;\n        gen1Droids = IHashDroidsGen1P3(_gen1Droids);\n        phase2Titans = IHashDroidsPhase2P3(_phase2Titans);\n        operatorPass = IHashDroidsOperatorPass(_operatorPass);\n        primaToken = IERC20(_primaToken);\n        patentRenderer = HashDroidsPatentRenderer(_patentRenderer);\n        patentCollection = new HashDroidsPatents(address(this));\n        elementCollection = new HashDroidsElements(address(this), _patentRenderer);\n        founderWallet = _founderWallet;\n        ecosystemVaultWallet = _ecosystemVaultWallet;\n        flapCurveMarket = _flapCurveMarket;\n\n        currentVerifierKeyVersion = 1;\n        minAcceptedVerifierKeyVersion = 1;\n        verifierSignerByVersion[1] = _initialVerifierSigner;\n        relayerGasReceiver = _relayerGasReceiver == address(0) ? msg.sender : _relayerGasReceiver;\n\n        tierTotalElements[1] = 20;\n        tierTotalElements[2] = 20;\n        tierTotalElements[3] = 18;\n        tierTotalElements[4] = 15;\n        tierTotalElements[5] = 12;\n        tierTotalElements[6] = 6;\n        tierTotalElements[7] = 1;\n    }\n\n    receive() external payable {\n        _routeJackpotOrPostSingularity(msg.value);\n    }\n\n    // =========================================================================\n    // 1. .AI OPERATOR PASS VERIFICATION & FREE GENESIS SUPPLY BOX (CRUCIBLE-BOUND)\n    // =========================================================================\n\n    function _requirePassOwner(uint256 passId) internal view {\n        if (operatorPass.ownerOf(passId) != msg.sender) revert NotPassOwner();\n    }\n\n    function openGenesisSupplyBox(uint256 passId) external nonReentrant {\n        HashDroidsHarvestLib.openGenesisBox(earlyBoxOpened,crucibleBoundBalance,address(operatorPass),passId);\n        totalEarlyBoxesOpened++;\n    }\n\n    // =========================================================================\n    // 2. PER-TOKENID SOFT-STAKING (GEN-1 DROIDS & PHASE II TITANS)\n    // =========================================================================\n\n    function harvestFleetExtractors(\n        uint256 passId,\n        uint256[] calldata gen1TokenIds,\n        uint256[] calldata titanTokenIds\n    ) external nonReentrant {\n        _requirePassOwner(passId);\n\n        (uint256 baseUnitsTotal, uint256 entropyUnits) = HashDroidsHarvestLib.harvest(\n            address(gen1Droids), address(phase2Titans), gen1TokenIds, titanTokenIds,\n            gen1DroidHarvestCount, lastGen1DroidHarvestTime, titanHarvestCount, lastTitanHarvestTime,\n            elementCollection\n        );\n\n        emit FleetExtractorsHarvested(msg.sender, passId, baseUnitsTotal * 1 ether, entropyUnits * 1 ether);\n    }\n\n    // =========================================================================\n    // 3. SUPPLY PACKS IN BNB (NO PRIMA CONVERSION OR QUOTA RESETS)\n    // =========================================================================\n\n    function buySupplyPackBnb(uint256 packCount) external payable nonReentrant {\n        if (packCount == 0) revert InvalidInput();\n        uint256 totalBnbCost = SUPPLY_PACK_PRICE_BNB * packCount;\n        if (msg.value < totalBnbCost) revert InsufficientPayment();\n\n        _distributeBnbRevenue(totalBnbCost);\n        HashDroidsHarvestLib.mintBaseBundle(elementCollection,msg.sender,packCount);\n\n        if (msg.value > totalBnbCost) {\n            (bool ok, ) = msg.sender.call{value: msg.value - totalBnbCost}(\"\");\n            if (!ok) revert TransferFailed();\n        }\n\n        emit SupplyPackPurchased(msg.sender, packCount, totalBnbCost);\n    }\n\n    // =========================================================================\n    // 4. DETERMINISTIC CRUCIBLE & EIP-712 VERIFIER RESEARCH QUEUE (AUDIT SECTIONS 2, 3, 5, 6)\n    // =========================================================================\n\n    function maxChestsForTier(uint256 tier) internal pure returns (uint256) {\n        if (tier == 1) return 25;\n        if (tier == 2) return 20;\n        if (tier == 3) return 15;\n        if (tier == 4) return 12;\n        if (tier == 5) return 10;\n        if (tier == 6) return 8;\n        return 0;\n    }\n\n\n    function craftDiscoveredElement(uint256 passId, uint256[4] calldata slotElementIds)\n        external\n        nonReentrant\n        returns (uint256 craftedElementId, bool chestAwarded)\n    {\n        _requirePassOwner(passId);\n        uint256[4] memory sorted = _sort4Slots(slotElementIds);\n        bytes32 raw4SlotHash = keccak256(abi.encodePacked(sorted[0], sorted[1], sorted[2], sorted[3]));\n\n        craftedElementId = known4SlotRecipeToElementId[raw4SlotHash];\n        if (craftedElementId == 0) revert ElementNotDiscovered(0);\n        if (craftedElementId == SINGULARITY_ID) revert SingularityAlreadyForged();\n\n        HashDroidsHarvestLib.takeSlots(crucibleBoundBalance,elementCollection,msg.sender,sorted,false);\n\n        _mintElement(msg.sender, craftedElementId, 1);\n        chestAwarded = _tryAwardWolfChest(msg.sender, passId, craftedElementId);\n\n        emit DeterministicCraftExecuted(msg.sender, passId, craftedElementId, sorted, chestAwarded);\n    }\n\n    /// @notice Admit a new 4-Slot Research Attempt into the onchain queue for private Verifier evaluation.\n    /// @dev Enforces:\n    ///      1. Valid `.ai` Operator Pass ownership (`passId`).\n    ///      2. If the 4-slot combination is ALREADY discovered, executes deterministic craft immediately (no queue work!).\n    ///      3. At most 1 `PENDING` research attempt per `passId` (`activePendingAttemptByPass[passId] == 0`).\n    ///      4. Global queue capacity (`activePendingAttemptsCount < maxPendingAttemptsGlobal`) & window rate limit.\n    ///      5. Locks all 4 ingredients upfront and records whether each slot came from `crucibleBoundBalance` or `elementBalance`\n    ///         so a PENDING timeout restores the exact same balance type.\n    function submitResearchAttempt(uint256 passId, uint256[4] calldata slotElementIds)\n        external\n        payable\n        nonReentrant\n        returns (uint256 attemptId)\n    {\n        if (!recipesLockedForever) revert RecipesNotLocked();\n        _requirePassOwner(passId);\n        if (msg.value < researchGasFeeBnb) revert InsufficientPayment();\n\n        uint256[4] memory sorted = _sort4Slots(slotElementIds);\n\n        // Validate that all 4 ingredients are valid & already discovered (if #5..#96)\n        for (uint256 i = 0; i < 4; i++) {\n            uint256 id = sorted[i];\n            if (id >= 5 && id <= 96) {\n                if (!discoveries[id].discovered) revert IngredientNotDiscovered(id);\n            } else if (id < 101 || id > 105) {\n                revert InvalidInput();\n            }\n        }\n\n        // Reject redundant queue work if this recipe was ALREADY discovered: auto-route to deterministic craft!\n        bytes32 raw4SlotHash = keccak256(abi.encodePacked(sorted[0], sorted[1], sorted[2], sorted[3]));\n        uint256 existingElemId = known4SlotRecipeToElementId[raw4SlotHash];\n        if (existingElemId != 0) {\n            if (existingElemId == SINGULARITY_ID) revert SingularityAlreadyForged();\n            HashDroidsHarvestLib.takeSlots(crucibleBoundBalance,elementCollection,msg.sender,sorted,false);\n            _mintElement(msg.sender, existingElemId, 1);\n            bool gotChest = _tryAwardWolfChest(msg.sender, passId, existingElemId);\n            if (msg.value > 0) {\n                (bool okRefund, ) = msg.sender.call{value: msg.value}(\"\");\n                if (!okRefund) revert TransferFailed();\n            }\n            emit DeterministicCraftExecuted(msg.sender, passId, existingElemId, sorted, gotChest);\n            return 0;\n        }\n\n        uint256 targetTier = researchTierForSlots(sorted);\n        if (!_isTierUnlocked(targetTier)) revert TierLocked(targetTier);\n\n        if (researchPaused) revert ResearchPaused();\n\n        // Enforce 1 Pending Attempt per Identity (`passId`)\n        if (activePendingAttemptByPass[passId] != 0) {\n            revert PassAlreadyHasPendingAttempt(passId, activePendingAttemptByPass[passId]);\n        }\n\n        // Reserve one possible daily discovery per pending attempt; failures/crafts/timeouts release the slot.\n        uint256 currentDay = block.timestamp / 1 days;\n        if (dailyPassDiscoveries[passId][currentDay] >= MAX_PASS_DISCOVERIES_PER_DAY) {\n            revert DailyPassDiscoveryLimitReached(MAX_PASS_DISCOVERIES_PER_DAY);\n        }\n        if (dailyGlobalDiscoveries[currentDay] + activePendingAttemptsCount >= MAX_GLOBAL_DISCOVERIES_PER_DAY) {\n            revert DailyGlobalDiscoveryLimitReached(MAX_GLOBAL_DISCOVERIES_PER_DAY);\n        }\n\n        // Enforce Global Pending Queue Capacity & Per-Window Admission Rate\n        if (activePendingAttemptsCount >= maxPendingAttemptsGlobal) {\n            revert GlobalQueueFull(activePendingAttemptsCount, maxPendingAttemptsGlobal);\n        }\n        uint256 windowId = block.number / admissionWindowBlocks;\n        if (windowAdmissionCount[windowId] >= maxAdmissionsPerWindow) {\n            revert WindowAdmissionLimitReached(windowId, maxAdmissionsPerWindow);\n        }\n        windowAdmissionCount[windowId]++;\n\n        // Lock the 4 ingredients in escrow, recording whether each came from Crucible-Bound or Tradable balance\n        uint8[4] memory boundFlags=HashDroidsHarvestLib.takeSlots(crucibleBoundBalance,elementCollection,msg.sender,sorted,true);\n\n        attemptId = ++totalAttemptsSubmitted;\n        activePendingAttemptsCount++;\n        activePendingAttemptByPass[passId] = attemptId;\n\n        researchAttempts[attemptId] = ResearchAttempt({\n            attemptId: attemptId,\n            seasonId: seasonId,\n            player: msg.sender,\n            passId: passId,\n            sortedSlots: sorted,\n            lockedFromCrucibleBound: boundFlags,\n            submittedBlock: uint64(block.number),\n            submittedTimestamp: uint64(block.timestamp),\n            minKeyVersion: minAcceptedVerifierKeyVersion,\n            status: AttemptStatus.PENDING\n        });\n\n        // Route optional research gas fee to `relayerGasReceiver`\n        if (researchGasFeeBnb > 0 && relayerGasReceiver != address(0)) {\n            (bool okFee, ) = relayerGasReceiver.call{value: researchGasFeeBnb}(\"\");\n            if (!okFee) revert TransferFailed();\n        }\n        if (msg.value > researchGasFeeBnb) {\n            (bool okEx, ) = msg.sender.call{value: msg.value - researchGasFeeBnb}(\"\");\n            if (!okEx) revert TransferFailed();\n        }\n\n        emit ResearchAttemptAdmitted(attemptId, seasonId, msg.sender, passId, sorted, uint64(block.number));\n    }\n\n    /// @notice Anchor a private decision before revealing its signed plaintext. Only the FIFO head may commit.\n    /// @dev The worker MUST persist the full decision and wait for this transaction's confirmation before broadcasting\n    ///      settlement. A committed attempt cannot time out: recovery requires the retained decision and an accepted key.\n    function commitResearchResult(uint256 attemptId, bytes32 resultCommitment, uint32 keyVersion, bytes calldata signature)\n        external nonReentrant\n    {\n        _commitDecision(attemptId, resultCommitment, keyVersion, signature, false);\n    }\n\n    /// @notice Owner and current verifier may jointly replace a decision signed by a REVOKED key.\n    /// @dev Explicit recovery power: no refund, mint, reorder or owner change. Persist the new preimage before calling.\n    ///      Revocation alone does not repair a bad commitment; the worker never invokes recovery automatically.\n    function recoverCommittedResearchResult(uint256 attemptId, bytes32 resultCommitment, uint32 keyVersion, bytes calldata signature)\n        external onlyOwner nonReentrant\n    {\n        _commitDecision(attemptId, resultCommitment, keyVersion, signature, true);\n    }\n\n    function _commitDecision(uint256 attemptId, bytes32 resultCommitment, uint32 keyVersion, bytes calldata signature, bool recovery)\n        private\n    {\n        _requireQueueHead(attemptId);\n        ResearchAttempt storage a = researchAttempts[attemptId];\n        uint32 oldVersion = a.minKeyVersion;\n        bytes32 oldCommitment = committedResearchResults[attemptId];\n        if (recovery) {\n            if (a.status != AttemptStatus.RESULT_COMMITTED) revert AttemptNotCommitted(attemptId);\n            // minAccepted <= current, so a revoked oldVersion is necessarily lower than the new version.\n            if (oldVersion >= minAcceptedVerifierKeyVersion || keyVersion != currentVerifierKeyVersion) {\n                revert InvalidKeyVersion(keyVersion, minAcceptedVerifierKeyVersion);\n            }\n        } else if (a.status != AttemptStatus.PENDING) revert AttemptNotPending(attemptId, a.status);\n        if (resultCommitment == bytes32(0)) revert InvalidInput();\n        address expectedSigner = _requireVerifierKey(a, keyVersion);\n        if (_researchCommitmentDigest(a, resultCommitment, keyVersion).recover(signature) != expectedSigner) {\n            revert InvalidVerifierSignature();\n        }\n        committedResearchResults[attemptId] = resultCommitment;\n        a.minKeyVersion = keyVersion;\n        a.status = AttemptStatus.RESULT_COMMITTED;\n        if (recovery) emit ResearchResultRecovered(attemptId, oldCommitment, resultCommitment, oldVersion, keyVersion);\n        else emit ResearchResultCommitted(attemptId, resultCommitment, keyVersion);\n    }\n\n    /// @notice Resolve a confirmed private decision in FIFO order. Rewards belong to the admitted player.\n    /// @dev Quota exhaustion defers settlement until next UTC day; it NEVER refunds an exposed success.\n    ///      Failure payloads must carry a fresh random nonzero salt, so the opaque commitment cannot identify failures.\n    function settleResearchAttempt(\n        uint256 attemptId,\n        bool isSuccess,\n        uint256 elementId,\n        bytes32 secretElementSalt,\n        uint32 keyVersion,\n        bytes calldata signature\n    ) external nonReentrant returns (AttemptStatus finalStatus, bool chestAwarded) {\n        ResearchAttempt storage a = researchAttempts[attemptId];\n        _requireQueueHead(attemptId);\n        if (a.status != AttemptStatus.RESULT_COMMITTED) revert AttemptNotCommitted(attemptId);\n        if (computeResultCommitment(isSuccess, elementId, secretElementSalt) != committedResearchResults[attemptId]) {\n            revert ResultCommitmentMismatch();\n        }\n        address expectedSigner = _requireVerifierKey(a, keyVersion);\n\n        bytes32 sortedSlotsHash = keccak256(\n            abi.encodePacked(a.sortedSlots[0], a.sortedSlots[1], a.sortedSlots[2], a.sortedSlots[3])\n        );\n\n        bytes32 structHash = keccak256(\n            abi.encode(\n                RESEARCH_RESULT_TYPEHASH,\n                a.seasonId,\n                a.attemptId,\n                a.player,\n                a.passId,\n                sortedSlotsHash,\n                isSuccess,\n                elementId,\n                secretElementSalt,\n                keyVersion\n            )\n        );\n        bytes32 digest = _hashTypedDataV4(structHash);\n        if (digest.recover(signature) != expectedSigner) revert InvalidVerifierSignature();\n\n        // Release pending queue slot for this Pass and globally\n        activePendingAttemptsCount--;\n        if (activePendingAttemptByPass[a.passId] == attemptId) {\n            activePendingAttemptByPass[a.passId] = 0;\n        }\n\n        // Branch 1: Signed Failure (`isSuccess == false`)\n        if (!isSuccess) {\n            if (elementId != 0 || secretElementSalt == bytes32(0)) revert InvalidInput();\n            a.status = AttemptStatus.SETTLED_FAILURE;\n            totalBurnedAttempts++;\n            _resolveLockedIngredients(a,false);\n            _mintElement(a.player, ELEM_ENTROPY, 1);\n            _advanceQueue(32);\n            emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_FAILURE, 0, false, msg.sender);\n            return (AttemptStatus.SETTLED_FAILURE, false);\n        }\n\n        // Branch 2: Signed Success (`isSuccess == true`) — MUST match immutable onchain `commitmentHash`!\n        ElementMeta storage meta = elementMeta[elementId];\n        if (!meta.registered || researchTierForSlots(a.sortedSlots) != meta.tier) revert InvalidInput();\n\n        bytes32 computedCommitment = computeCommitmentHash(elementId, a.sortedSlots, secretElementSalt);\n        if (computedCommitment != meta.commitmentHash) revert InvalidCommitmentReveal();\n\n        Discovery storage disc = discoveries[elementId];\n\n        // Case A: Another attempt already claimed the First Discovery Patent for `elementId`\n        if (disc.discovered) {\n            if (elementId == SINGULARITY_ID) {\n                a.status = AttemptStatus.SETTLED_REFUNDED;\n                _resolveLockedIngredients(a,true);\n                _advanceQueue(32);\n                emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_REFUNDED, elementId, false, msg.sender);\n                return (AttemptStatus.SETTLED_REFUNDED, false);\n            }\n            a.status = AttemptStatus.SETTLED_CRAFT;\n            _resolveLockedIngredients(a,false);\n            _mintElement(a.player, elementId, 1);\n            chestAwarded = _tryAwardWolfChest(a.player, a.passId, elementId);\n            _advanceQueue(32);\n            emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_CRAFT, elementId, chestAwarded, msg.sender);\n            return (AttemptStatus.SETTLED_CRAFT, chestAwarded);\n        }\n\n        // Case B: Element is NOT yet discovered -> Check Progressive 50% Tier Lock & Daily Quotas\n        uint256 tier = meta.tier;\n        uint256 currentDay = block.timestamp / 1 days;\n\n        if (!_isTierUnlocked(tier)) revert TierLocked(tier);\n        if (dailyGlobalDiscoveries[currentDay] >= MAX_GLOBAL_DISCOVERIES_PER_DAY) {\n            revert DailyGlobalDiscoveryLimitReached(MAX_GLOBAL_DISCOVERIES_PER_DAY);\n        }\n        if (dailyPassDiscoveries[a.passId][currentDay] >= MAX_PASS_DISCOVERIES_PER_DAY) {\n            revert DailyPassDiscoveryLimitReached(MAX_PASS_DISCOVERIES_PER_DAY);\n        }\n\n        // Award First Discovery Patent!\n        a.status = AttemptStatus.SETTLED_DISCOVERY;\n        _resolveLockedIngredients(a,false);\n        dailyGlobalDiscoveries[currentDay]++;\n        dailyPassDiscoveries[a.passId][currentDay]++;\n\n        disc.inventor = a.player;\n        disc.inventorPassId = a.passId;\n        disc.attemptId = attemptId;\n        disc.timestamp = block.timestamp;\n        disc.revealedSalt = secretElementSalt;\n        disc.slots = a.sortedSlots;\n        disc.discovered = true;\n\n        known4SlotRecipeToElementId[sortedSlotsHash] = elementId;\n        tierDiscoveredCount[tier]++;\n        totalDiscoveries++;\n\n        patentCollection.mint(a.player, elementId); // No receiver callback can block the shared FIFO queue.\n        _mintElement(a.player, elementId, 1);\n\n        if (elementId == SINGULARITY_ID && !treasury.reached) {\n            _triggerSingularity(a.player);\n        } else {\n            chestAwarded = _tryAwardWolfChest(a.player, a.passId, elementId);\n        }\n\n        _advanceQueue(32);\n        emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.SETTLED_DISCOVERY, elementId, chestAwarded, msg.sender);\n        emit ElementDiscovered(a.player, a.passId, elementId, attemptId, meta.elementName, meta.symbol, tier, a.sortedSlots);\n        return (AttemptStatus.SETTLED_DISCOVERY, chestAwarded);\n    }\n\n    /// @notice Cancel only a PENDING attempt after `attemptCancelTimeoutBlocks`; committed decisions require operator recovery.\n    /// @dev Restores the exact 4 locked ingredients (`crucibleBound` vs `tradable`) to `attempt.player` and marks\n    ///      status as `CANCELLED_TIMEOUT` so `settleResearchAttempt` can NEVER be called afterward (prevents double-refund + settlement).\n    function cancelExpiredAttempt(uint256 attemptId) external nonReentrant {\n        ResearchAttempt storage a = researchAttempts[attemptId];\n        if (a.status != AttemptStatus.PENDING) revert AttemptNotPending(attemptId, a.status);\n\n        uint256 timeoutBlock = uint256(a.submittedBlock) + attemptCancelTimeoutBlocks;\n        if (block.number < timeoutBlock) {\n            revert CancelTimeoutNotReached(block.number, timeoutBlock);\n        }\n\n        a.status = AttemptStatus.CANCELLED_TIMEOUT;\n        activePendingAttemptsCount--;\n        if (activePendingAttemptByPass[a.passId] == attemptId) {\n            activePendingAttemptByPass[a.passId] = 0;\n        }\n\n        _resolveLockedIngredients(a,true);\n        _advanceQueue(32);\n\n        emit ResearchAttemptSettled(attemptId, a.player, a.passId, AttemptStatus.CANCELLED_TIMEOUT, 0, false, msg.sender);\n    }\n\n    function _tryAwardWolfChest(address player, uint256 passId, uint256 elementId) internal returns (bool awarded) {\n        uint256 tier = elementMeta[elementId].tier;\n        uint256 currentDay = block.timestamp / 1 days;\n        if (\n            elementChestClaims[elementId] < maxChestsForTier(tier) &&\n            !passHasClaimedElementChest[passId][elementId] &&\n            dailyPassChests[passId][currentDay] < MAX_PASS_CHESTS_PER_DAY\n        ) {\n            elementChestClaims[elementId]++;\n            passHasClaimedElementChest[passId][elementId] = true;\n            dailyPassChests[passId][currentDay]++;\n            _mintElement(player, ELEM_CHEST, 1);\n            return true;\n        }\n        return false;\n    }\n\n    // =========================================================================\n    // 5. ANTI-REVERT 2-STEP SYNTHESIS CHESTS & NEXUS CRYSTAL STAKING\n    // =========================================================================\n\n    function commitOpenSynthesisChest() external nonReentrant returns(uint256) {\n        return HashDroidsCrystalLib.commitOpenSynthesisChest(crystalState,elementCollection);\n    }\n    function revealSynthesisChest(uint256 id) external nonReentrant returns(uint256,uint256,uint256) {\n        return HashDroidsCrystalLib.revealSynthesisChest(crystalState,elementCollection,address(patentCollection),id);\n    }\n    function pendingCrystalPrima(address user) public view returns(uint256) {\n        return HashDroidsCrystalLib.pendingCrystalPrima(crystalState,user);\n    }\n    function claimCrystalPrimaRewards() external nonReentrant {\n        HashDroidsCrystalLib.claimCrystalPrimaRewards(crystalState,primaToken);\n    }\n\n    // =========================================================================\n    // 6. P2P FARMER ORDERBOOK + RECURSIVE PROTOCOL CEILING MARKET\n    // =========================================================================\n\n    function totalMarketListings() external view returns(uint256) { return marketState.totalListings; }\n    function marketListings(uint256 listingId) external view returns(HashDroidsEconomyLib.MarketListing memory) {\n        return marketState.listings[listingId];\n    }\n    function listElementP2P(uint256 elementId, uint256 units, uint256 pricePerUnitBnb)\n        external nonReentrant returns(uint256)\n    {\n        return HashDroidsEconomyLib.list(marketState,elementCollection,elementId,units,pricePerUnitBnb);\n    }\n    function cancelListingP2P(uint256 listingId) external nonReentrant {\n        HashDroidsEconomyLib.cancel(marketState,elementCollection,listingId);\n    }\n    function buyElementP2P(uint256 listingId,uint256 unitsToBuy) external payable nonReentrant {\n        (uint256 elementId,uint256 fee) = HashDroidsEconomyLib.buy(marketState,elementCollection,\n            treasury.credits,listingId,unitsToBuy);\n        _distributeElementMarketBnb(elementId,fee);\n    }\n\n    function quoteBuyDiscoveredElement(uint256 elementId, uint256 units)\n        public\n        view\n        returns (uint256 totalBnbCost)\n    {\n        Discovery storage disc = discoveries[elementId];\n        if (!disc.discovered || units == 0 || elementId == SINGULARITY_ID) {\n            revert ElementNotDiscovered(elementId);\n        }\n\n        return HashDroidsEconomyLib.quoteProtocolPrice(elementMeta[elementId].tier,marketUnitsSold[elementId],units);\n    }\n\n    function buyDiscoveredElement(uint256 elementId, uint256 units) external payable nonReentrant {\n        uint256 cost = quoteBuyDiscoveredElement(elementId, units);\n        if (msg.value < cost) revert InsufficientPayment();\n\n        marketUnitsSold[elementId] += units;\n        (address inventorOwner, uint256 directInventorShare) = _distributeElementMarketBnb(elementId, cost);\n\n        _mintElement(msg.sender, elementId, units);\n\n        if (msg.value > cost) {\n            (bool ok, ) = msg.sender.call{value: msg.value - cost}(\"\");\n            if (!ok) revert TransferFailed();\n        }\n\n        emit ElementMarketPurchase(msg.sender, elementId, units, cost, inventorOwner, directInventorShare);\n    }\n\n    function _distributeElementMarketBnb(uint256 elementId, uint256 bnbAmount)\n        internal returns (address inventorOwner, uint256 directInventorShare)\n    {\n        return HashDroidsTreasuryLib.marketRoyalties(treasury, address(patentCollection),\n            elementId, discoveries[elementId].slots, bnbAmount, founderWallet);\n    }\n\n    function claimPatentRoyalties() external nonReentrant {\n        uint256 amount = treasury.credits[msg.sender];\n        if (amount == 0) revert NothingToClaim();\n        treasury.credits[msg.sender] = 0;\n\n        (bool ok, ) = msg.sender.call{value: amount}(\"\");\n        if (!ok) revert TransferFailed();\n\n        emit RoyaltiesClaimed(msg.sender, amount);\n    }\n\n    function transferElement(address to, uint256 elementId, uint256 amount) external nonReentrant {\n        if (to == address(0) || amount == 0 || amount % 1 ether != 0) revert InvalidInput();\n        elementCollection.transferAvailable(msg.sender,to,elementId,amount / 1 ether);\n        emit ElementTransfer(msg.sender, to, elementId, amount);\n    }\n\n    // =========================================================================\n    // 7. REVENUE DISTRIBUTION, POST-SINGULARITY ROUTING & IMMUTABLE FLUSHES\n    // =========================================================================\n\n    function _distributeBnbRevenue(uint256 bnbAmount) internal {\n        HashDroidsTreasuryLib.distribute(treasury, bnbAmount, founderWallet, false);\n    }\n\n    function _routeJackpotOrPostSingularity(uint256 amount) internal {\n        HashDroidsTreasuryLib.route(treasury, amount);\n    }\n\n    function _triggerSingularity(address architect) internal {\n        HashDroidsTreasuryLib.trigger(treasury, architect, address(patentCollection));\n    }\n\n    /// @dev Bound refunds retain their nontransferable type; tradable escrow is\n    /// either burned at settlement or credited without a receiver callback.\n    function _resolveLockedIngredients(ResearchAttempt storage a,bool refund) internal {\n        HashDroidsHarvestLib.resolveSlots(crucibleBoundBalance,elementCollection,a.player,\n            a.sortedSlots,a.lockedFromCrucibleBound,refund);\n    }\n\n    function _mintElement(address to, uint256 elementId, uint256 units) internal {\n        elementCollection.mintCredit(to,elementId,units);\n    }\n\n    function _sort4Slots(uint256[4] memory arr) internal pure returns (uint256[4] memory) {\n        for (uint256 i = 0; i < 4; i++) {\n            for (uint256 j = i + 1; j < 4; j++) {\n                if (arr[i] > arr[j]) {\n                    (arr[i], arr[j]) = (arr[j], arr[i]);\n                }\n            }\n        }\n        return arr;\n    }\n\n    function ownerOf(uint256 tokenId) public view returns (address) {\n        return patentCollection.ownerOf(tokenId);\n    }\n\n    function tokenURI(uint256 tokenId) public view returns (string memory) {\n        patentCollection.ownerOf(tokenId);\n        Discovery storage disc = discoveries[tokenId];\n        ElementMeta storage meta = elementMeta[tokenId];\n        return\n            patentRenderer.renderPatentURI(\n                tokenId,\n                meta.elementName,\n                meta.symbol,\n                meta.tier,\n                disc.slots,\n                disc.inventor,\n                elementCollection.totalSupply(tokenId),\n                disc.revealedSalt\n            );\n    }\n\n    // =========================================================================\n    // 8. COMMITMENT REGISTRATION, KEY ROTATION & BOUNDED QUEUE GOVERNANCE\n    // =========================================================================\n\n    function getResearchAttempt(uint256 attemptId) external view returns (ResearchAttempt memory) {\n        return researchAttempts[attemptId];\n    }\n\n    function computeResultCommitment(bool isSuccess, uint256 elementId, bytes32 resultSalt) public pure returns (bytes32) {\n        return keccak256(abi.encode(isSuccess, elementId, resultSalt));\n    }\n\n    /// @dev Fixed EIP-712 name/version; chain and verifying address are recomputed to prevent cross-domain replay.\n    ///      Equivalent to the previous OZ EIP712 domain, without its unused dynamic domain-metadata interface.\n    function _hashTypedDataV4(bytes32 structHash) internal view returns(bytes32) {\n        bytes32 domain=keccak256(abi.encode(\n            keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\"),\n            keccak256(\"HashDroidsSynthesisNexus\"),keccak256(\"1\"),block.chainid,address(this)));\n        return keccak256(abi.encodePacked(hex\"1901\",domain,structHash));\n    }\n\n    function _researchCommitmentDigest(ResearchAttempt storage a, bytes32 resultCommitment, uint32 keyVersion)\n        internal view returns (bytes32)\n    {\n        bytes32 slotsHash = keccak256(abi.encodePacked(a.sortedSlots[0], a.sortedSlots[1], a.sortedSlots[2], a.sortedSlots[3]));\n        return _hashTypedDataV4(keccak256(abi.encode(RESEARCH_COMMITMENT_TYPEHASH, a.seasonId, a.attemptId,\n            a.player, a.passId, slotsHash, resultCommitment, keyVersion)));\n    }\n\n    function _requireVerifierKey(ResearchAttempt storage a, uint32 keyVersion) internal view returns (address signer) {\n        if (keyVersion < minAcceptedVerifierKeyVersion || keyVersion < a.minKeyVersion) {\n            revert InvalidKeyVersion(keyVersion, minAcceptedVerifierKeyVersion);\n        }\n        signer = verifierSignerByVersion[keyVersion];\n        if (signer == address(0)) revert InvalidKeyVersion(keyVersion, minAcceptedVerifierKeyVersion);\n    }\n\n    function _requireQueueHead(uint256 attemptId) internal {\n        _advanceQueue(32);\n        if (attemptId != nextAttemptToSettle) revert OutOfOrderAttempt(nextAttemptToSettle, attemptId);\n    }\n\n    /// @notice Bounded progress through terminal queue entries. Anyone may call; no effects on pending decisions.\n    function advanceResearchQueue(uint256 maxSteps) external {\n        if (maxSteps == 0 || maxSteps > 1000) revert InvalidInput();\n        _advanceQueue(maxSteps);\n    }\n\n    function _advanceQueue(uint256 maxSteps) internal {\n        uint256 cursor = nextAttemptToSettle;\n        for (uint256 i; i < maxSteps && cursor <= totalAttemptsSubmitted; i++) {\n            AttemptStatus status = researchAttempts[cursor].status;\n            if (status == AttemptStatus.PENDING || status == AttemptStatus.RESULT_COMMITTED) break;\n            cursor++;\n        }\n        nextAttemptToSettle = cursor;\n    }\n\n    function _tierForElement(uint256 id) internal pure returns (uint256) {\n        if (id <= 24) return 1;\n        if (id <= 44) return 2;\n        if (id <= 62) return 3;\n        if (id <= 77) return 4;\n        if (id <= 89) return 5;\n        if (id <= 95) return 6;\n        return 7;\n    }\n\n    function _isTierUnlocked(uint256 tier) internal view returns (bool) {\n        return tier == 1 || tierDiscoveredCount[tier - 1] >= (tierTotalElements[tier - 1] + 1) / 2;\n    }\n\n    /// @notice Public ingredient-family rules do not disclose the private recipe within that family.\n    function researchTierForSlots(uint256[4] memory slots) internal view returns (uint256) {\n        for (uint256 i; i < 4; i++) {\n            uint256 id = slots[i];\n            if (id >= 5 && id <= 95 && !discoveries[id].discovered) revert InvalidInput();\n        }\n        return HashDroidsHarvestLib.researchTierForSlots(slots);\n    }\n\n    /// @notice Computes the season-bound 256-bit salted commitment hash for an element recipe.\n    function computeCommitmentHash(\n        uint256 elementId,\n        uint256[4] memory rawSlots,\n        bytes32 secretElementSalt\n    ) public view returns (bytes32) {\n        uint256[4] memory s = _sort4Slots(rawSlots);\n        return keccak256(abi.encodePacked(seasonId, elementId, s[0], s[1], s[2], s[3], secretElementSalt));\n    }\n\n    function addRecipeCommitmentBatch(\n        uint256[] calldata ids,\n        uint256[] calldata tiers,\n        string[] calldata names,\n        string[] calldata symbols,\n        bytes32[] calldata commitmentHashes\n    ) external onlyOwner {\n        if (recipesLockedForever) revert RecipesAlreadyLocked();\n        uint256 len = ids.length;\n        if (\n            len != tiers.length ||\n            len != names.length ||\n            len != symbols.length ||\n            len != commitmentHashes.length\n        ) revert InvalidInput();\n\n        for (uint256 i = 0; i < len; i++) {\n            uint256 id = ids[i];\n            uint256 tier = tiers[i];\n            if (id < 5 || id > 96 || tier != _tierForElement(id) || commitmentHashes[i] == bytes32(0)) {\n                revert InvalidInput();\n            }\n            if (elementMeta[id].registered) revert ElementAlreadyRegistered(id);\n\n            elementMeta[id] = ElementMeta({\n                elementName: names[i],\n                symbol: symbols[i],\n                tier: tier,\n                commitmentHash: commitmentHashes[i],\n                registered: true\n            });\n        }\n    }\n\n    function setResearchPaused(bool paused) external onlyOwner {\n        if (!paused && !recipesLockedForever) revert RecipesNotLocked();\n        researchPaused = paused;\n    }\n\n    function lockRecipesForever() external onlyOwner {\n        if (recipesLockedForever) revert RecipesAlreadyLocked();\n        for (uint256 id = 5; id <= 96; id++) {\n            if (!elementMeta[id].registered || elementMeta[id].tier != _tierForElement(id)) {\n                revert IncompleteRecipeConfiguration();\n            }\n        }\n        recipesLockedForever = true;\n    }\n\n    /// @notice Rotate the Verifier Signer key to a new `currentVerifierKeyVersion + 1`.\n    /// @param newSigner The new Verifier Signer EOA.\n    /// @param newMinAcceptedVersion Set equal to previous version for graceful rollover of in-flight attempts,\n    ///                              or set to the new version to immediately revoke a compromised old key.\n    function rotateVerifierKey(address newSigner, uint32 newMinAcceptedVersion) external onlyOwner {\n        if (newSigner == address(0)) revert InvalidInput();\n        uint32 nextVer = currentVerifierKeyVersion + 1;\n        if (newMinAcceptedVersion < minAcceptedVerifierKeyVersion || newMinAcceptedVersion > nextVer) revert InvalidInput();\n\n        currentVerifierKeyVersion = nextVer;\n        minAcceptedVerifierKeyVersion = newMinAcceptedVersion;\n        verifierSignerByVersion[nextVer] = newSigner;\n\n        emit VerifierKeyRotated(nextVer, newSigner, newMinAcceptedVersion);\n    }\n\n    /// @notice Adjust queue admission parameters within explicit hard-coded safety bounds (Audit Section 2 & 6).\n    function setQueueParameters(\n        uint256 _maxPendingGlobal,\n        uint256 _maxPerWindow,\n        uint256 _windowBlocks,\n        uint256 _cancelTimeoutBlocks,\n        uint256 _researchFeeBnb,\n        address _relayerGasReceiver\n    ) external onlyOwner {\n        if (\n            _maxPendingGlobal < MIN_QUEUE_CAPACITY ||\n            _maxPendingGlobal > MAX_QUEUE_CAPACITY_CEILING ||\n            _maxPerWindow < MIN_WINDOW_ADMISSIONS ||\n            _maxPerWindow > MAX_WINDOW_ADMISSIONS_CEILING ||\n            _windowBlocks < 10 ||\n            _windowBlocks > 1200 ||\n            _cancelTimeoutBlocks < MIN_CANCEL_TIMEOUT_BLOCKS ||\n            _cancelTimeoutBlocks > MAX_CANCEL_TIMEOUT_BLOCKS ||\n            _researchFeeBnb > MAX_RESEARCH_FEE_BNB ||\n            _relayerGasReceiver == address(0)\n        ) revert InvalidInput();\n\n        maxPendingAttemptsGlobal = _maxPendingGlobal;\n        maxAdmissionsPerWindow = _maxPerWindow;\n        admissionWindowBlocks = _windowBlocks;\n        attemptCancelTimeoutBlocks = _cancelTimeoutBlocks;\n        researchGasFeeBnb = _researchFeeBnb;\n        relayerGasReceiver = _relayerGasReceiver;\n\n        emit QueueParametersUpdated(\n            _maxPendingGlobal,\n            _maxPerWindow,\n            _windowBlocks,\n            _cancelTimeoutBlocks,\n            _researchFeeBnb\n        );\n    }\n\n    function flushEcosystemVaultBnb() external nonReentrant {\n        uint256 amount = treasury.vault;\n        if (amount == 0) revert NothingToClaim();\n        treasury.vault = 0;\n        (bool ok, ) = ecosystemVaultWallet.call{value: amount}(\"\");\n        if (!ok) revert TransferFailed();\n    }\n\n    function flushPrimaBuybackBnb() external onlyOwner nonReentrant {\n        uint256 amount = treasury.buyback;\n        if (amount == 0) revert NothingToClaim();\n        treasury.buyback = 0;\n        address target = flapCurveMarket != address(0) ? flapCurveMarket : founderWallet;\n        (bool ok, ) = target.call{value: amount}(\"\");\n        if (!ok) revert TransferFailed();\n    }\n\n    function injectPrimaIntoStakingPool(uint256 amount) external nonReentrant {\n        HashDroidsCrystalLib.inject(crystalState,primaToken,amount);\n    }\n}\n"},"contracts/HashDroidsPatents.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {ERC721} from \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\ninterface IPatentMetadata { function tokenURI(uint256 tokenId) external view returns (string memory); }\n/// @notice Immutable patent collection. Trading approvals and transfers use this address, not the Nexus.\ncontract HashDroidsPatents is ERC721 {\n    address public immutable nexus;\n    error OnlyNexus();\n    constructor(address _nexus) ERC721(\"HashDroids Synthesis Patent\", \"HDPATENT\") { nexus = _nexus; }\n    function mint(address to, uint256 tokenId) external {\n        if (msg.sender != nexus) revert OnlyNexus();\n        _mint(to, tokenId);\n    }\n    function tokenURI(uint256 tokenId) public view override returns (string memory) {\n        _requireOwned(tokenId);\n        return IPatentMetadata(nexus).tokenURI(tokenId);\n    }\n}\n"},"contracts/HashDroidsElements.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\nimport {ERC1155} from \"@openzeppelin/contracts/token/ERC1155/ERC1155.sol\";\nimport {ERC1155Supply} from \"@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol\";\nimport {IERC1155Receiver} from \"@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\";\nimport {IERC165} from \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport {ReentrancyGuard} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Base64} from \"@openzeppelin/contracts/utils/Base64.sol\";\nimport {Strings} from \"@openzeppelin/contracts/utils/Strings.sol\";\n\ninterface IHashDroidsElementArtwork {\n    function imageBaseURI() external view returns (string memory);\n}\n\ninterface IHashDroidsPublicElementMeta {\n    function elementMeta(uint256 id) external view returns (\n        string memory elementName, string memory symbol, uint256 tier, bytes32 commitmentHash, bool registered\n    );\n}\n\n/// @notice Real ERC-1155 game units: one token is one ingredient or synthesis chest.\n/// @dev The immutable Nexus is the only issuer/game custodian. New output is minted\n/// to this collection and credited to its beneficiary, without calling that player.\n/// A beneficiary can spend this custody balance in-game or safely claim it to a\n/// wallet. Bound welcome resources are deliberately separate and are never minted here.\n/// For every id: balanceOf(this,id) == totalClaimable(id) + lockedEscrow(id).\ncontract HashDroidsElements is ERC1155Supply, IERC1155Receiver, ReentrancyGuard {\n    using Strings for uint256;\n\n    string public constant name = \"HashDroids Elements and Chests\";\n    string public constant symbol = \"HDELEMENT\";\n    address public immutable nexus;\n    address public immutable renderer;\n    // Constructor-only string; there is no owner, setter, proxy or retarget method.\n    string public imageBaseURI;\n\n    mapping(address => mapping(uint256 => uint256)) public claimableBalance;\n    mapping(uint256 => uint256) public totalClaimable;\n    mapping(uint256 => uint256) public lockedEscrow;\n    bool private acceptingEscrow;\n\n    error OnlyNexus();\n    error InvalidElementId(uint256 id);\n    error InvalidAmount();\n    error InvalidAccount();\n    error InvalidRenderer();\n    error UnsolicitedEscrowDeposit();\n    error InsufficientAvailable(uint256 id, uint256 required, uint256 available);\n    error InsufficientClaimable(uint256 id, uint256 required, uint256 available);\n    error InsufficientLocked(uint256 id, uint256 required, uint256 available);\n\n    event ClaimableCredited(address indexed beneficiary, uint256 indexed id, uint256 units);\n    event ElementsClaimed(address indexed beneficiary, address indexed to, uint256 indexed id, uint256 units);\n\n    modifier onlyNexus() {\n        if (msg.sender != nexus) revert OnlyNexus();\n        _;\n    }\n\n    constructor(address nexus_, address renderer_) ERC1155(\"\") {\n        // Created inside the immutable game constructor; nobody can initialize\n        // this collection and later redirect its authority to another game.\n        if (nexus_ == address(0) || nexus_ != msg.sender) revert OnlyNexus();\n        if (renderer_.code.length == 0) revert InvalidRenderer();\n        string memory base = IHashDroidsElementArtwork(renderer_).imageBaseURI();\n        bytes memory b = bytes(base);\n        if (b.length < 9 || b[0] != \"i\" || b[1] != \"p\" || b[2] != \"f\" || b[3] != \"s\" ||\n            b[4] != \":\" || b[5] != \"/\" || b[6] != \"/\" || b[b.length - 1] != \"/\") revert InvalidRenderer();\n        nexus = nexus_;\n        renderer = renderer_;\n        imageBaseURI = base;\n    }\n\n    function availableBalanceOf(address account, uint256 id) public view returns (uint256) {\n        return balanceOf(account, id) + claimableBalance[account][id];\n    }\n\n    function mintCredit(address to, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _requireAccount(to);\n        _requireUnits(id, units);\n        claimableBalance[to][id] += units;\n        totalClaimable[id] += units;\n        acceptingEscrow = true;\n        _mint(address(this), id, units, \"\");\n        acceptingEscrow = false;\n        emit ClaimableCredited(to, id, units);\n    }\n\n    /// @dev Consume credited units first, then units already in the player's wallet.\n    /// Only the fixed game can do this, through its authorized player/game actions.\n    function burnAvailable(address from, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        uint256 credited = _debitAvailable(from, id, units);\n        if (credited != 0) _burn(address(this), id, credited);\n        if (units > credited) _burn(from, id, units - credited);\n    }\n\n    /// @dev Move units into real custody without burning or reducing totalSupply.\n    function lockAvailable(address from, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        uint256 credited = _debitAvailable(from, id, units);\n        lockedEscrow[id] += units;\n        if (units > credited) _receiveWalletUnits(from, id, units - credited);\n    }\n\n    /// @dev A timeout, cancellation or purchase reallocates existing escrow tokens.\n    /// It cannot call an external recipient or mint replacement supply.\n    function releaseEscrow(address to, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _requireAccount(to);\n        _debitLocked(id, units);\n        claimableBalance[to][id] += units;\n        totalClaimable[id] += units;\n        emit ClaimableCredited(to, id, units);\n    }\n\n    function burnEscrow(uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _debitLocked(id, units);\n        _burn(address(this), id, units);\n    }\n\n    /// @dev User-requested transfer from the game UI. This safe delivery can call\n    /// the recipient; the Nexus wrapper must also protect its own mutable state.\n    function transferAvailable(address from, address to, uint256 id, uint256 units) external onlyNexus nonReentrant {\n        _requireAccount(to);\n        uint256 credited = _debitAvailable(from, id, units);\n        if (units > credited) _receiveWalletUnits(from, id, units - credited);\n        _safeTransferFrom(address(this), to, id, units, \"\");\n    }\n\n    function claim(uint256 id, uint256 units, address to) external nonReentrant {\n        _requireAccount(to);\n        _debitClaim(msg.sender, id, units);\n        _safeTransferFrom(address(this), to, id, units, \"\");\n        emit ElementsClaimed(msg.sender, to, id, units);\n    }\n\n    function claimBatch(uint256[] calldata ids, uint256[] calldata units, address to) external nonReentrant {\n        _requireAccount(to);\n        if (ids.length == 0 || ids.length != units.length) revert InvalidAmount();\n        // Sequential debits correctly aggregate duplicate IDs. All effects occur\n        // before the receiver callback; rejecting any receipt rolls back everything.\n        for (uint256 i; i < ids.length; i++) _debitClaim(msg.sender, ids[i], units[i]);\n        _safeBatchTransferFrom(address(this), to, ids, units, \"\");\n        for (uint256 i; i < ids.length; i++) emit ElementsClaimed(msg.sender, to, ids[i], units[i]);\n    }\n\n    function _debitAvailable(address from, uint256 id, uint256 units) private returns (uint256 credited) {\n        _requireAccount(from);\n        _requireUnits(id, units);\n        uint256 available = availableBalanceOf(from, id);\n        if (available < units) revert InsufficientAvailable(id, units, available);\n        credited = claimableBalance[from][id];\n        if (credited > units) credited = units;\n        if (credited != 0) {\n            claimableBalance[from][id] -= credited;\n            totalClaimable[id] -= credited;\n        }\n    }\n\n    function _debitClaim(address from, uint256 id, uint256 units) private {\n        _requireUnits(id, units);\n        uint256 available = claimableBalance[from][id];\n        if (available < units) revert InsufficientClaimable(id, units, available);\n        claimableBalance[from][id] = available - units;\n        totalClaimable[id] -= units;\n    }\n\n    function _debitLocked(uint256 id, uint256 units) private {\n        _requireUnits(id, units);\n        uint256 available = lockedEscrow[id];\n        if (available < units) revert InsufficientLocked(id, units, available);\n        lockedEscrow[id] = available - units;\n    }\n\n    function _receiveWalletUnits(address from, uint256 id, uint256 units) private {\n        acceptingEscrow = true;\n        _safeTransferFrom(from, address(this), id, units, \"\");\n        acceptingEscrow = false;\n    }\n\n    function _requireAccount(address account) private view {\n        if (account == address(0) || account == address(this)) revert InvalidAccount();\n    }\n\n    function _requireUnits(uint256 id, uint256 units) private pure {\n        _requireId(id);\n        if (units == 0) revert InvalidAmount();\n    }\n\n    function _requireId(uint256 id) private pure {\n        if (!((id >= 5 && id <= 96) || (id >= 100 && id <= 105))) revert InvalidElementId(id);\n    }\n\n    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal override {\n        // Unsolicited own-token deposits would create unallocated custody and\n        // cannot be recovered by a privileged sweep. Refuse them before mutation.\n        if (to == address(this) && !acceptingEscrow) revert UnsolicitedEscrowDeposit();\n        for (uint256 i; i < ids.length; i++) _requireId(ids[i]);\n        super._update(from, to, ids, values);\n    }\n\n    function onERC1155Received(address operator, address, uint256, uint256, bytes calldata) external view override returns (bytes4) {\n        if (msg.sender != address(this) || operator != nexus || !acceptingEscrow) revert UnsolicitedEscrowDeposit();\n        return IERC1155Receiver.onERC1155Received.selector;\n    }\n\n    function onERC1155BatchReceived(address operator, address, uint256[] calldata, uint256[] calldata, bytes calldata) external view override returns (bytes4) {\n        if (msg.sender != address(this) || operator != nexus || !acceptingEscrow) revert UnsolicitedEscrowDeposit();\n        return IERC1155Receiver.onERC1155BatchReceived.selector;\n    }\n\n    function supportsInterface(bytes4 interfaceId) public view override(ERC1155, IERC165) returns (bool) {\n        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    function uri(uint256 id) public view override returns (string memory) {\n        _requireId(id);\n        string memory kind = id == 100 ? \"Synthesis Chest\" : \"Element\";\n        (string memory elementName, string memory elementSymbol, uint256 tier) = _displayMeta(id);\n        return _dataURI(string.concat(\n            '{\"name\":\"', Strings.escapeJSON(elementName),\n            '\",\"description\":\"One ERC-1155 token is one game unit. Game custody credits are backed by real tokens and can be claimed or used in the Crisol. This token is not a discovery patent.\",\"image\":\"',\n            Strings.escapeJSON(string.concat(imageBaseURI, \"elem_\", id.toString(), \".jpg\")),\n            '\",\"external_url\":\"https://hashdroids.fun\",\"attributes\":[{\"trait_type\":\"Element ID\",\"value\":', id.toString(),\n            '},{\"trait_type\":\"Asset type\",\"value\":\"', kind,\n            '\"},{\"trait_type\":\"Symbol\",\"value\":\"', Strings.escapeJSON(elementSymbol),\n            '\"},{\"trait_type\":\"Tier\",\"value\":', tier.toString(),\n            '},{\"trait_type\":\"Unit size\",\"value\":1}]}'\n        ));\n    }\n\n    function _displayMeta(uint256 id) private view returns (string memory elementName, string memory elementSymbol, uint256 tier) {\n        if (id <= 96) {\n            // Only public identity fields are used. The commitment hash is ignored;\n            // this metadata does not request or expose recipe slots or secret salts.\n            bool registered;\n            (elementName, elementSymbol, tier,, registered) = IHashDroidsPublicElementMeta(nexus).elementMeta(id);\n            if (!registered) return (string.concat(\"HashDroids Element #\", id.toString()), \"\", 0);\n            return (elementName, elementSymbol, tier);\n        }\n        if (id == 100) return (\"Synthesis Chest\", \"CHEST\", 0);\n        if (id == 101) return (\"Water\", \"WATER\", 0);\n        if (id == 102) return (\"Fire\", \"FIRE\", 0);\n        if (id == 103) return (\"Earth\", \"EARTH\", 0);\n        if (id == 104) return (\"Air\", \"AIR\", 0);\n        return (\"Entropy\", \"ENTROPY\", 0);\n    }\n\n    function contractURI() external view returns (string memory) {\n        return _dataURI(string.concat(\n            '{\"name\":\"', name, '\",\"symbol\":\"', symbol,\n            '\",\"description\":\"Transferable ERC-1155 elements and synthesis chests for HashDroids Phase III. One token equals one unit. Discovery patents are a separate ERC-721 collection. No admin mint or upgrade authority.\",\"image\":\"',\n            Strings.escapeJSON(string.concat(imageBaseURI, \"elem_100.jpg\")),\n            '\",\"external_link\":\"https://hashdroids.fun\"}'\n        ));\n    }\n\n    function _dataURI(string memory data) private pure returns (string memory) {\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(data)));\n    }\n}\n"},"contracts/HashDroidsCrystalLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\ninterface ICrystalPatentOwner { function ownerOf(uint256) external view returns(address); }\n/// @notice Immutable linked chest and crystal accounting; invoked by the Nexus under its reentrancy guard.\nlibrary HashDroidsCrystalLib {\n    uint256 private constant ACC_PRECISION=1e18;\n    uint256 private constant ELEM_WATER=101;\n    uint256 private constant ELEM_FIRE=102;\n    uint256 private constant ELEM_ENTROPY=105;\n    struct PendingChestCommit { address player; uint64 unlockBlock; bool resolved; }\n    struct CrystalState {\n        mapping(uint256=>PendingChestCommit) chestCommits;\n        uint256 totalChestCommits;\n        uint256 totalChestsOpened;\n        uint256 totalCrystalShares;\n        uint256 accPrimaPerShare;\n        uint256 undistributedPrimaRewards;\n        uint256 totalPrimaDistributedToStakers;\n        mapping(address=>uint256) userCrystalShares;\n        mapping(address=>uint256) userRewardDebt;\n        mapping(address=>uint256) pendingPrimaRewards;\n    }\n    error CommitAlreadyResolved();\n    error CommitNotReady(uint256 currentBlock,uint256 requiredBlock);\n    error NothingToClaim();\n    error TransferFailed();\n    error InvalidInput();\n    error InsufficientElementBalance(uint256 elementId,uint256 required,uint256 available);\n    event ChestCommitCreated(uint256 indexed chestCommitId,address indexed player,uint64 unlockBlock);\n    event SynthesisChestOpened(address indexed player,uint256 indexed chestCommitId,uint256 crystalTierRolled,uint256 crystalSharesGranted,uint256 bonusElementId);\n    event CrystalPrimaClaimed(address indexed player,uint256 primaAmount);\n    function commitOpenSynthesisChest(CrystalState storage state, HashDroidsElements elements) external returns (uint256 chestCommitId) {\n        elements.burnAvailable(msg.sender,100,1);\n        chestCommitId = ++state.totalChestCommits;\n        uint64 unlockBlock = uint64(block.number + 1);\n        state.chestCommits[chestCommitId] = PendingChestCommit({\n            player: msg.sender,\n            unlockBlock: unlockBlock,\n            resolved: false\n        });\n        emit ChestCommitCreated(chestCommitId, msg.sender, unlockBlock);\n    }\n\n    function revealSynthesisChest(CrystalState storage state, HashDroidsElements elements, address patent, uint256 chestCommitId)\n        external\n        returns (\n            uint256 crystalTierRolled,\n            uint256 crystalSharesGranted,\n            uint256 bonusElementId\n        )\n    {\n        PendingChestCommit storage cc = state.chestCommits[chestCommitId];\n        if (cc.player == address(0) || cc.resolved) revert CommitAlreadyResolved();\n        if (block.number <= cc.unlockBlock) revert CommitNotReady(block.number, uint256(cc.unlockBlock) + 1);\n\n        cc.resolved = true;\n        state.totalChestsOpened++;\n\n        bytes32 bHash = blockhash(cc.unlockBlock);\n        if (bHash == bytes32(0)) {\n            elements.mintCredit(cc.player, ELEM_WATER, 1);\n            elements.mintCredit(cc.player, ELEM_FIRE, 1);\n            elements.mintCredit(cc.player, ELEM_ENTROPY, 1);\n            crystalTierRolled = 1;\n            crystalSharesGranted = 10;\n            _addCrystalShares(state,cc.player, 10);\n            emit SynthesisChestOpened(cc.player, chestCommitId, 1, 10, 0);\n            return (1, 10, 0);\n        }\n\n        uint256 rand = uint256(keccak256(abi.encodePacked(bHash, cc.player, chestCommitId)));\n\n        uint256 base1 = ELEM_WATER + (rand % 4);\n        uint256 base2 = ELEM_WATER + ((rand >> 8) % 4);\n        elements.mintCredit(cc.player, base1, 1);\n        elements.mintCredit(cc.player, base2, 1);\n        elements.mintCredit(cc.player, ELEM_ENTROPY, 1);\n\n        uint256 bonusRoll = (rand >> 16) % 100;\n        if (bonusRoll < 35) {\n            uint256 candidateId = 5 + ((rand >> 24) % 20);\n            if (_exists(patent,candidateId)) {\n                bonusElementId = candidateId;\n                elements.mintCredit(cc.player, candidateId, 1);\n            } else {\n                bonusElementId = ELEM_ENTROPY;\n                elements.mintCredit(cc.player, ELEM_ENTROPY, 1);\n            }\n        }\n\n        uint256 tierRoll = (rand >> 32) % 100;\n        if (tierRoll < 45) {\n            crystalTierRolled = 1;\n            crystalSharesGranted = 10;\n        } else if (tierRoll < 75) {\n            crystalTierRolled = 2;\n            crystalSharesGranted = 25;\n        } else if (tierRoll < 90) {\n            crystalTierRolled = 3;\n            crystalSharesGranted = 60;\n        } else if (tierRoll < 98) {\n            crystalTierRolled = 4;\n            crystalSharesGranted = 150;\n        } else {\n            crystalTierRolled = 5;\n            crystalSharesGranted = 350;\n        }\n\n        _addCrystalShares(state,cc.player, crystalSharesGranted);\n\n        emit SynthesisChestOpened(cc.player, chestCommitId, crystalTierRolled, crystalSharesGranted, bonusElementId);\n    }\n\n    function pendingCrystalPrima(CrystalState storage state, address user) external view returns (uint256) {\n        uint256 shares = state.userCrystalShares[user];\n        uint256 accrued = (shares * state.accPrimaPerShare) / ACC_PRECISION;\n        return state.pendingPrimaRewards[user] + (accrued - state.userRewardDebt[user]);\n    }\n\n    function claimCrystalPrimaRewards(CrystalState storage state, IERC20 primaToken) external {\n        _harvestPendingPrimaToStorage(state,msg.sender);\n        uint256 reward = state.pendingPrimaRewards[msg.sender];\n        if (reward == 0) revert NothingToClaim();\n\n        state.pendingPrimaRewards[msg.sender] = 0;\n        bool ok = primaToken.transfer(msg.sender, reward);\n        if (!ok) revert TransferFailed();\n\n        emit CrystalPrimaClaimed(msg.sender, reward);\n    }\n\n    function _addCrystalShares(CrystalState storage state, address user, uint256 sharesToAdd) private {\n        _harvestPendingPrimaToStorage(state,user);\n        state.userCrystalShares[user] += sharesToAdd;\n        state.totalCrystalShares += sharesToAdd;\n        state.userRewardDebt[user] = (state.userCrystalShares[user] * state.accPrimaPerShare) / ACC_PRECISION;\n\n        if (state.undistributedPrimaRewards > 0 && state.totalCrystalShares > 0) {\n            uint256 toDistribute = state.undistributedPrimaRewards;\n            state.undistributedPrimaRewards = 0;\n            state.accPrimaPerShare += (toDistribute * ACC_PRECISION) / state.totalCrystalShares;\n            state.totalPrimaDistributedToStakers += toDistribute;\n        }\n    }\n\n    function _harvestPendingPrimaToStorage(CrystalState storage state, address user) private {\n        uint256 shares = state.userCrystalShares[user];\n        if (shares > 0) {\n            uint256 accrued = (shares * state.accPrimaPerShare) / ACC_PRECISION;\n            uint256 pending = accrued - state.userRewardDebt[user];\n            if (pending > 0) {\n                state.pendingPrimaRewards[user] += pending;\n            }\n        }\n        state.userRewardDebt[user] = (shares * state.accPrimaPerShare) / ACC_PRECISION;\n    }\n\n    function distributePrima(CrystalState storage state, uint256 primaAmount) public {\n        if (primaAmount == 0) return;\n        if (state.totalCrystalShares == 0) {\n            state.undistributedPrimaRewards += primaAmount;\n        } else {\n            uint256 totalToShare = primaAmount + state.undistributedPrimaRewards;\n            state.undistributedPrimaRewards = 0;\n            state.accPrimaPerShare += (totalToShare * ACC_PRECISION) / state.totalCrystalShares;\n            state.totalPrimaDistributedToStakers += totalToShare;\n        }\n    }\n\n    function inject(CrystalState storage state, IERC20 token, uint256 amount) external {\n        if(address(token)==address(0)||amount==0) revert InvalidInput();\n        uint256 balanceBefore=token.balanceOf(address(this));\n        if(!token.transferFrom(msg.sender,address(this),amount)) revert TransferFailed();\n        uint256 received=token.balanceOf(address(this))-balanceBefore;\n        if(received==0) revert InvalidInput();\n        // Only received tokens may become liabilities to Crystal holders.\n        distributePrima(state,received);\n    }\n    function _exists(address patent,uint256 id) private view returns(bool) {\n        try ICrystalPatentOwner(patent).ownerOf(id) returns(address) { return true; } catch { return false; }\n    }\n}\n"},"contracts/HashDroidsEconomyLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\n\n/// @notice Linked P2P escrow implementation. Runs by DELEGATECALL in the Nexus.\n/// @dev All mutating entry points MUST be called by a nonReentrant Nexus wrapper.\n///      The library has no independent custody, administrator, or upgrade function.\nlibrary HashDroidsEconomyLib {\n    struct MarketListing {\n        address seller;\n        uint256 elementId;\n        uint256 units;\n        uint256 pricePerUnitBnb;\n        bool active;\n    }\n\n    struct MarketState {\n        uint256 totalListings;\n        mapping(uint256 => MarketListing) listings;\n    }\n\n    error InvalidInput();\n    error InsufficientPayment();\n    error TransferFailed();\n    error InsufficientElementBalance(uint256 elementId, uint256 required, uint256 available);\n\n    event ElementListedP2P(uint256 indexed listingId, address indexed seller, uint256 indexed elementId, uint256 units, uint256 pricePerUnitBnb);\n    event ElementSoldP2P(uint256 indexed listingId, address indexed buyer, uint256 indexed elementId, uint256 units, uint256 totalBnbPrice);\n\n    function list(\n        MarketState storage market,\n        HashDroidsElements elements,\n        uint256 elementId,\n        uint256 units,\n        uint256 pricePerUnitBnb\n    ) external returns (uint256 listingId) {\n        // Farmers may trade harvested bases and tradable Entropy as well as\n        // discovered elements. Chests, the Singularity and unknown IDs stay out.\n        bool tradableId = (elementId >= 5 && elementId <= 95) || (elementId >= 101 && elementId <= 105);\n        if (units == 0 || pricePerUnitBnb == 0 || !tradableId) revert InvalidInput();\n        elements.lockAvailable(msg.sender,elementId,units);\n        listingId = ++market.totalListings;\n        market.listings[listingId] = MarketListing(msg.sender, elementId, units, pricePerUnitBnb, true);\n        emit ElementListedP2P(listingId, msg.sender, elementId, units, pricePerUnitBnb);\n    }\n\n    function cancel(\n        MarketState storage market,\n        HashDroidsElements elements,\n        uint256 listingId\n    ) external {\n        MarketListing storage listing = market.listings[listingId];\n        if (!listing.active || listing.seller != msg.sender) revert InvalidInput();\n        listing.active = false;\n        elements.releaseEscrow(msg.sender,listing.elementId,listing.units);\n    }\n\n    function buy(\n        MarketState storage market,\n        HashDroidsElements elements,\n        mapping(address => uint256) storage pendingBnb,\n        uint256 listingId,\n        uint256 units\n    ) external returns (uint256 elementId, uint256 marketFee) {\n        MarketListing storage listing = market.listings[listingId];\n        if (!listing.active || units == 0 || units > listing.units) revert InvalidInput();\n        uint256 price = units * listing.pricePerUnitBnb;\n        if (msg.value < price) revert InsufficientPayment();\n        elementId = listing.elementId;\n        listing.units -= units;\n        if (listing.units == 0) listing.active = false;\n        // The protocol's 15% share is taken from this 5% fee, not the sale price.\n        marketFee = price * 500 / 10000;\n        uint256 proceeds = price - marketFee;\n        elements.releaseEscrow(msg.sender,elementId,units);\n        (bool paid,) = listing.seller.call{value: proceeds}(\"\");\n        if (!paid) pendingBnb[listing.seller] += proceeds;\n        if (msg.value > price) {\n            (bool refunded,) = msg.sender.call{value: msg.value - price}(\"\");\n            if (!refunded) revert TransferFailed();\n        }\n        emit ElementSoldP2P(listingId, msg.sender, elementId, units, price);\n    }\n\n    function tierBaseEquivalent(uint256 tier) public pure returns (uint256) {\n        if (tier == 1) return 4;\n        if (tier == 2) return 10;\n        if (tier == 3) return 19;\n        if (tier == 4) return 37;\n        if (tier == 5) return 68;\n        if (tier == 6) return 126;\n        if (tier == 7) return 322;\n        revert InvalidInput();\n    }\n\n    function quoteProtocolPrice(uint256 tier, uint256 sold, uint256 units) external pure returns (uint256) {\n        if (units == 0) revert InvalidInput();\n        uint256 recursiveBaseCostBnb = tierBaseEquivalent(tier) * 0.0005 ether;\n        uint256 ceilingUnitCostBnb = recursiveBaseCostBnb * 1350 / 1000;\n        uint256 avgMultiplier = 1000 + ((sold * 2 + units) * 10 / 100);\n        return ceilingUnitCostBnb * units * avgMultiplier / 1000;\n    }\n}\n"},"contracts/HashDroidsHarvestLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\nimport {HashDroidsElements} from \"./HashDroidsElements.sol\";\ninterface IHarvestNFT { function ownerOf(uint256 id) external view returns(address); }\ninterface IHarvestTitan is IHarvestNFT { function titanShares(uint256 id) external view returns(uint256); }\ninterface IHarvestPass is IHarvestNFT { function hasEarlyBox(uint256 id) external view returns(bool); }\n/// @notice Linked immutable library executed in the Nexus storage context. No independently held assets.\nlibrary HashDroidsHarvestLib {\n    error InvalidInput(); error NothingToHarvest();\n    error NotPassOwner(); error NotEligibleForEarlyBox(); error EarlyBoxAlreadyOpened();\n    event EarlySupplyBoxOpened(address indexed player,uint256 indexed passId,uint256 crucibleBoundGrantedEach);\n    function openGenesisBox(mapping(uint256=>bool) storage opened,\n        mapping(address=>mapping(uint256=>uint256)) storage bound,address pass,uint256 passId) external\n    {\n        if(IHarvestPass(pass).ownerOf(passId)!=msg.sender) revert NotPassOwner();\n        if(!IHarvestPass(pass).hasEarlyBox(passId)) revert NotEligibleForEarlyBox();\n        if(opened[passId]) revert EarlyBoxAlreadyOpened();\n        opened[passId]=true;\n        for(uint256 id=101;id<=104;id++)bound[msg.sender][id]+=3 ether;\n        emit EarlySupplyBoxOpened(msg.sender,passId,3 ether);\n    }\n    function takeSlots(mapping(address=>mapping(uint256=>uint256)) storage bound,HashDroidsElements elements,\n        address player,uint256[4] memory slots,bool lockInEscrow) external returns(uint8[4] memory flags)\n    {\n        for(uint256 i;i<4;i++){\n            uint256 id=slots[i];uint256 credit=bound[player][id];\n            if(credit>=1 ether){bound[player][id]=credit-1 ether;flags[i]=1;}\n            else if(lockInEscrow) elements.lockAvailable(player,id,1);\n            else elements.burnAvailable(player,id,1);\n        }\n    }\n    function resolveSlots(mapping(address=>mapping(uint256=>uint256)) storage bound,HashDroidsElements elements,\n        address player,uint256[4] memory slots,uint8[4] memory flags,bool refund) external\n    {\n        for(uint256 i;i<4;i++){\n            if(flags[i]==1){if(refund)bound[player][slots[i]]+=1 ether;}\n            else if(refund)elements.releaseEscrow(player,slots[i],1);\n            else elements.burnEscrow(slots[i],1);\n        }\n    }\n    function mintBaseBundle(HashDroidsElements elements,address to,uint256 packCount) external {\n        uint256 units=2*packCount;\n        for(uint256 id=101;id<=105;id++)elements.mintCredit(to,id,units);\n    }\n    /// @dev Public ingredient families only; the Nexus separately checks each\n    /// non-base ingredient was actually discovered before invoking this helper.\n    function researchTierForSlots(uint256[4] memory slots) external pure returns(uint256) {\n        uint256[8] memory count;\n        for(uint256 i;i<4;i++){\n            uint256 id=slots[i];\n            if(id>=101 && id<=104)count[0]++;\n            else if(id==105)count[7]++;\n            else if(id>=5 && id<=95){\n                uint256 tier=id<=24?1:id<=44?2:id<=62?3:id<=77?4:id<=89?5:6;\n                count[tier]++;\n            }else revert InvalidInput();\n        }\n        if(count[0]==4)return 1;\n        if(count[0]==2 && count[1]==2)return 2;\n        if(count[0]==1 && count[1]==2 && count[2]==1)return 3;\n        if(count[1]==2 && count[2]==1 && count[3]==1)return 4;\n        if(count[2]==1 && count[3]==1 && count[4]==1 && count[7]==1)return 5;\n        if(count[3]==1 && count[4]==1 && count[5]==1 && count[7]==1)return 6;\n        if(count[5]==1 && count[6]==2 && count[7]==1)return 7;\n        revert InvalidInput();\n    }\n    function harvest(address gen1,address titans,uint256[] calldata gen1Ids,uint256[] calldata titanIds,\n        mapping(uint256=>uint256) storage gen1Count,mapping(uint256=>uint256) storage gen1Time,\n        mapping(uint256=>uint256) storage titanCount,mapping(uint256=>uint256) storage titanTime,\n        HashDroidsElements elements)\n        external returns(uint256 base,uint256 entropy)\n    {\n        for(uint256 i;i<gen1Ids.length;i++){\n            uint256 id=gen1Ids[i];if(IHarvestNFT(gen1).ownerOf(id)!=msg.sender)revert InvalidInput();\n            if(gen1Count[id]>=8 || (gen1Time[id]!=0 && block.timestamp<gen1Time[id]+24 hours))continue;\n            gen1Count[id]++;gen1Time[id]=block.timestamp;base++;\n        }\n        for(uint256 i;i<titanIds.length;i++){\n            uint256 id=titanIds[i];if(IHarvestTitan(titans).ownerOf(id)!=msg.sender)revert InvalidInput();\n            if(titanCount[id]>=30 || (titanTime[id]!=0 && block.timestamp<titanTime[id]+24 hours))continue;\n            titanCount[id]++;titanTime[id]=block.timestamp;\n            uint256 shares=IHarvestTitan(titans).titanShares(id);uint256 units=(shares>12?12:shares)/3;\n            base+=units==0?1:units;entropy++;\n        }\n        if(base==0 && entropy==0)revert NothingToHarvest();\n        uint256 each=base/4;\n        if(each>0)for(uint256 id=101;id<=104;id++){elements.mintCredit(msg.sender,id,each);}\n        for(uint256 i;i<base%4;i++){uint256 id=101+((block.number+i)%4);elements.mintCredit(msg.sender,id,1);}\n        if(entropy>0){elements.mintCredit(msg.sender,105,entropy);}\n    }\n}\n"},"contracts/HashDroidsTreasuryLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ninterface IHashDroidsPatentOwner {\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\n/// @notice Linked treasury accounting. Executes in the Nexus through DELEGATECALL.\n/// @dev The Nexus must guard payout entry points against reentrancy. This library\n///      preserves the V4 distribution, including its original rounding policy.\nlibrary HashDroidsTreasuryLib {\n    struct TreasuryState {\n        uint256 jackpot;\n        uint256 vault;\n        uint256 buyback;\n        bool reached;\n        address architect;\n        mapping(address => uint256) credits;\n        mapping(uint256 => uint256) patentEarned;\n    }\n\n    event SingularityReached(\n        address indexed architect,\n        uint256 architectPrizeBnb,\n        uint256 ecosystemVaultCutBnb,\n        uint256 patentBonusBnb\n    );\n\n    function distribute(TreasuryState storage state, uint256 amount, address founder, bool withPatent)\n        public returns (uint256 patentCut)\n    {\n        uint256 founderCut = amount * 1500 / 10000;\n        uint256 vaultCut = amount * 2000 / 10000;\n        uint256 buybackCut = amount * 500 / 10000;\n        uint256 jackpotCut;\n        if (withPatent) {\n            jackpotCut = amount * 3000 / 10000;\n            patentCut = amount - founderCut - vaultCut - buybackCut - jackpotCut;\n        } else {\n            jackpotCut = amount - founderCut - vaultCut - buybackCut;\n        }\n        state.vault += vaultCut;\n        state.buyback += buybackCut;\n        route(state, jackpotCut);\n        _payOrCredit(state, founder, founderCut);\n    }\n\n    function route(TreasuryState storage state, uint256 amount) public {\n        if (amount == 0) return;\n        if (state.reached) state.vault += amount;\n        else state.jackpot += amount;\n    }\n\n    function marketRoyalties(\n        TreasuryState storage state,\n        address patent,\n        uint256 elementId,\n        uint256[4] memory parents,\n        uint256 amount,\n        address founder\n    ) external returns (address inventorOwner, uint256 directInventorShare) {\n        // Base elements and Entropy have no patent. Their P2P fee follows the\n        // existing revenue split without patents; no ownerOf lookup is valid.\n        if (elementId >= 101 && elementId <= 105) {\n            distribute(state, amount, founder, false);\n            return (address(0), 0);\n        }\n        uint256 patentCut = distribute(state, amount, founder, true);\n        IHashDroidsPatentOwner collection = IHashDroidsPatentOwner(patent);\n        inventorOwner = collection.ownerOf(elementId);\n        directInventorShare = patentCut * 6000 / 10000;\n        state.credits[inventorOwner] += directInventorShare;\n        state.patentEarned[elementId] += directInventorShare;\n        uint256 perSlotShare = (patentCut - directInventorShare) / 4;\n        for (uint256 i = 0; i < 4; i++) {\n            uint256 parent = parents[i];\n            if (parent >= 5 && parent <= 95) {\n                // A patent is minted iff its element was discovered. Base IDs\n                // never have patents. Missing parents retain the V4 routing.\n                try collection.ownerOf(parent) returns (address holder) {\n                    state.credits[holder] += perSlotShare;\n                    state.patentEarned[parent] += perSlotShare;\n                    continue;\n                } catch {}\n            }\n            route(state, perSlotShare);\n        }\n    }\n\n    function trigger(TreasuryState storage state, address architect, address patent)\n        external returns (uint256 architectPrize, uint256 vaultAddition, uint256 distributedRelic)\n    {\n        state.reached = true;\n        state.architect = architect;\n        uint256 pot = state.jackpot;\n        state.jackpot = 0;\n        architectPrize = pot * 7000 / 10000;\n        vaultAddition = pot * 2000 / 10000;\n        state.vault += vaultAddition;\n        uint256 tier6RelicBonus = pot - architectPrize - vaultAddition;\n        uint256 perRelic = tier6RelicBonus / 6;\n        if (perRelic > 0) {\n            IHashDroidsPatentOwner collection = IHashDroidsPatentOwner(patent);\n            for (uint256 id = 90; id <= 95; id++) {\n                try collection.ownerOf(id) returns (address holder) {\n                    state.credits[holder] += perRelic;\n                    distributedRelic += perRelic;\n                } catch {}\n            }\n        }\n        architectPrize += tier6RelicBonus - distributedRelic;\n        _payOrCredit(state, architect, architectPrize);\n        emit SingularityReached(architect, architectPrize, vaultAddition, distributedRelic);\n    }\n\n    function _payOrCredit(TreasuryState storage state, address recipient, uint256 amount) private {\n        if (amount == 0) return;\n        (bool paid,) = recipient.call{value: amount}(\"\");\n        if (!paid) state.credits[recipient] += amount;\n    }\n}\n"},"contracts/HashDroidsPatentRenderer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\nimport {Base64} from \"@openzeppelin/contracts/utils/Base64.sol\";\nimport {Strings} from \"@openzeppelin/contracts/utils/Strings.sol\";\n\n/// @title HashDroidsPatentRenderer — Phase III patent metadata and optional animated telemetry\n/// @notice The 92 possible patents (IDs 5–96) use fixed IPFS illustrations and onchain discovery metadata.\ncontract HashDroidsPatentRenderer {\n    using Strings for uint256;\n\n    // Constructor-only storage: Solidity does not support immutable strings.\n    // There is no administrator, setter, upgrade path or mutable image gateway.\n    string public imageBaseURI;\n    bytes32 public immutable imageCidHash;\n    error InvalidImageCid();\n    error InvalidPatentElement();\n\n    /// @dev Format validation cannot prove availability: deployment must verify/pin the directory containing all 92 patent illustrations.\n    ///      PLACEHOLDER, empty strings, gateways and path suffixes are intentionally rejected.\n    constructor(string memory imageDirectoryCid) {\n        bytes memory cid=bytes(imageDirectoryCid);\n        bool v0=cid.length==46 && cid[0]==\"Q\" && cid[1]==\"m\";\n        bool v1=cid.length==59 && cid[0]==\"b\" && cid[1]==\"a\" && cid[2]==\"f\" && cid[3]==\"y\";\n        if(!v0 && !v1) revert InvalidImageCid();\n        for(uint256 i; i<cid.length; i++) {\n            bytes1 c=cid[i];\n            if(v0) {\n                if(!((c>=\"1\" && c<=\"9\") || (c>=\"A\" && c<=\"H\") || (c>=\"J\" && c<=\"N\") || (c>=\"P\" && c<=\"Z\") || (c>=\"a\" && c<=\"k\") || (c>=\"m\" && c<=\"z\"))) revert InvalidImageCid();\n            } else if(!((c>=\"a\" && c<=\"z\") || (c>=\"2\" && c<=\"7\"))) revert InvalidImageCid();\n        }\n        imageBaseURI=string.concat(\"ipfs://\",imageDirectoryCid,\"/\");\n        imageCidHash=keccak256(cid);\n    }\n\n    function _escapeXml(string memory text) private pure returns(string memory) {\n        bytes memory input=bytes(text);\n        bytes memory escaped=new bytes(input.length*6);\n        uint256 used;\n        for(uint256 i; i<input.length; i++) {\n            bytes1 c=input[i];\n            bytes memory replacement;\n            if(c==\"&\") replacement=bytes(\"&amp;\");\n            else if(c==\"<\") replacement=bytes(\"&lt;\");\n            else if(c==\">\") replacement=bytes(\"&gt;\");\n            else if(c=='\"') replacement=bytes(\"&quot;\");\n            else if(c==\"'\") replacement=bytes(\"&apos;\");\n            else { escaped[used++]=c; continue; }\n            for(uint256 j; j<replacement.length; j++) escaped[used++]=replacement[j];\n        }\n        assembly (\"memory-safe\") { mstore(escaped,used) }\n        return string(escaped);\n    }\n\n    function _tierPalette(uint256 tier)\n        internal\n        pure\n        returns (\n            string memory bgHex,\n            string memory primaryHex,\n            string memory accentHex,\n            string memory tierName\n        )\n    {\n        if (tier >= 7) {\n            return (\"#090414\", \"#f3ba2f\", \"#ff006e\", \"TIER 7: THE SINGULARITY\");\n        } else if (tier == 6) {\n            return (\"#050814\", \"#00f5d4\", \"#f3ba2f\", \"TIER 6: COSMOS\");\n        } else if (tier == 5) {\n            return (\"#0f0720\", \"#a855f7\", \"#00bbf9\", \"TIER 5: SCIENCE\");\n        } else if (tier == 4) {\n            return (\"#16070b\", \"#ef4444\", \"#f3ba2f\", \"TIER 4: INVENTION\");\n        } else if (tier == 3) {\n            return (\"#140b04\", \"#f97316\", \"#fde047\", \"TIER 3: MATERIALS\");\n        } else if (tier == 2) {\n            return (\"#08140b\", \"#eab308\", \"#10b981\", \"TIER 2: NATURE\");\n        } else {\n            return (\"#041318\", \"#10b981\", \"#00f5d4\", \"TIER 1: AWAKENING\");\n        }\n    }\n\n    function renderPatentSVG(\n        uint256 elementId,\n        string memory elementName,\n        string memory symbol,\n        uint256 tier,\n        uint256[4] memory slots,\n        address inventor,\n        uint256 totalSupplyUnits,\n        bytes32 recipeHash\n    ) public pure returns (string memory svg) {\n        (\n            string memory bgHex,\n            string memory primaryHex,\n            string memory accentHex,\n            string memory tierName\n        ) = _tierPalette(tier);\n\n        svg = string.concat(\n            '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 360 460\" font-family=\"monospace\">',\n            '<rect width=\"360\" height=\"460\" rx=\"14\" fill=\"', bgHex, '\"/>',\n            '<rect x=\"10\" y=\"10\" width=\"340\" height=\"440\" rx=\"10\" fill=\"none\" stroke=\"', primaryHex, '\" stroke-width=\"2\" stroke-opacity=\"0.75\"/>',\n            '<rect x=\"16\" y=\"16\" width=\"328\" height=\"428\" rx=\"8\" fill=\"none\" stroke=\"', accentHex, '\" stroke-width=\"1\" stroke-opacity=\"0.35\"/>'\n        );\n\n        // Header Bar & Tier Badge\n        svg = string.concat(\n            svg,\n            '<rect x=\"24\" y=\"24\" width=\"312\" height=\"36\" rx=\"6\" fill=\"#020617\" stroke=\"', primaryHex, '\" stroke-width=\"1\"/>',\n            '<text x=\"36\" y=\"47\" fill=\"', primaryHex, '\" font-size=\"12\" font-weight=\"bold\">SYNTHESIS PATENT #', elementId.toString(), '</text>',\n            '<text x=\"324\" y=\"47\" fill=\"', accentHex, '\" font-size=\"11\" font-weight=\"bold\" text-anchor=\"end\">', tierName, '</text>'\n        );\n\n        // Central Atomic Reactor Chamber + Deterministic Matrix\n        svg = string.concat(\n            svg,\n            '<rect x=\"40\" y=\"74\" width=\"280\" height=\"200\" rx=\"10\" fill=\"#020617\" stroke=\"', primaryHex, '\" stroke-width=\"1\" stroke-opacity=\"0.5\"/>',\n            '<circle cx=\"180\" cy=\"174\" r=\"72\" fill=\"none\" stroke=\"', primaryHex, '\" stroke-width=\"1.5\" stroke-dasharray=\"6 4\" stroke-opacity=\"0.6\">',\n            '<animateTransform attributeName=\"transform\" type=\"rotate\" from=\"0 180 174\" to=\"360 180 174\" dur=\"18s\" repeatCount=\"indefinite\"/></circle>',\n            '<circle cx=\"180\" cy=\"174\" r=\"50\" fill=\"none\" stroke=\"', accentHex, '\" stroke-width=\"1.5\" stroke-dasharray=\"4 6\" stroke-opacity=\"0.7\">',\n            '<animateTransform attributeName=\"transform\" type=\"rotate\" from=\"360 180 174\" to=\"0 180 174\" dur=\"12s\" repeatCount=\"indefinite\"/></circle>'\n        );\n\n        // Deterministic 5x5 symmetric crystal core derived from recipeHash\n        uint256 seed = uint256(recipeHash);\n        for (uint256 r = 0; r < 5; r++) {\n            for (uint256 c = 0; c < 3; c++) {\n                uint256 bitIdx = r * 3 + c;\n                if ((seed >> bitIdx) & 1 == 1) {\n                    string memory cellColor = ((seed >> (bitIdx + 20)) & 1 == 1) ? primaryHex : accentHex;\n                    uint256 yPos = 144 + r * 12;\n                    uint256 xLeft = 150 + c * 12;\n                    uint256 xRight = 150 + (4 - c) * 12;\n                    svg = string.concat(\n                        svg,\n                        '<rect x=\"', xLeft.toString(), '\" y=\"', yPos.toString(), '\" width=\"10\" height=\"10\" rx=\"2\" fill=\"', cellColor, '\"/>'\n                    );\n                    if (c < 2) {\n                        svg = string.concat(\n                            svg,\n                            '<rect x=\"', xRight.toString(), '\" y=\"', yPos.toString(), '\" width=\"10\" height=\"10\" rx=\"2\" fill=\"', cellColor, '\"/>'\n                        );\n                    }\n                }\n            }\n        }\n\n        // Patent uniqueness and the actual four recipe slots; no invented parents or royalty percentages.\n        svg = string.concat(\n            svg,\n            '<text x=\"180\" y=\"304\" fill=\"#ffffff\" font-size=\"22\" font-weight=\"bold\" text-anchor=\"middle\">', _escapeXml(elementName), '</text>',\n            '<text x=\"180\" y=\"326\" fill=\"', primaryHex, '\" font-size=\"14\" font-weight=\"bold\" text-anchor=\"middle\">$', _escapeXml(symbol), ' | ONCHAIN ELEMENT</text>',\n            '<rect x=\"24\" y=\"342\" width=\"312\" height=\"98\" rx=\"8\" fill=\"#020617\" stroke=\"', accentHex, '\" stroke-width=\"1\" stroke-opacity=\"0.45\"/>',\n            '<text x=\"38\" y=\"359\" fill=\"#10b981\" font-size=\"11\">PATENT: 1 OF 1</text>',\n            '<text x=\"322\" y=\"359\" fill=\"#f3ba2f\" font-size=\"10\" text-anchor=\"end\">ELEMENT UNITS: ', totalSupplyUnits.toString(), '</text>',\n            '<text x=\"38\" y=\"378\" fill=\"#94a3b8\" font-size=\"10\">INGREDIENTS:</text>',\n            '<text x=\"322\" y=\"378\" fill=\"', primaryHex, '\" font-size=\"10\" text-anchor=\"end\">#', slots[0].toString(), ' + #', slots[1].toString(), ' + #', slots[2].toString(), ' + #', slots[3].toString(), '</text>',\n            '<text x=\"180\" y=\"397\" fill=\"#94a3b8\" font-size=\"9\" text-anchor=\"middle\">DISCOVERED BY</text>',\n            '<text x=\"180\" y=\"412\" fill=\"', primaryHex, '\" font-size=\"8\" text-anchor=\"middle\">', Strings.toHexString(inventor), '</text>',\n            '<text x=\"180\" y=\"430\" fill=\"#64748b\" font-size=\"9\" text-anchor=\"middle\">92 POSSIBLE PATENTS | HASHDROIDS PHASE III</text>',\n            '</svg>'\n        );\n    }\n\n    function renderPatentURI(\n        uint256 elementId,\n        string memory elementName,\n        string memory symbol,\n        uint256 tier,\n        uint256[4] memory slots,\n        address inventor,\n        uint256 totalSupplyUnits,\n        bytes32 recipeHash\n    ) external view returns (string memory) {\n        if(elementId<5 || elementId>96) revert InvalidPatentElement();\n        string memory svg = renderPatentSVG(\n            elementId,\n            elementName,\n            symbol,\n            tier,\n            slots,\n            inventor,\n            totalSupplyUnits,\n            recipeHash\n        );\n\n        string memory json = string.concat(\n            '{\"name\":\"Synthesis Patent #',\n            elementId.toString(),\n            \": \",\n            Strings.escapeJSON(elementName),\n            \" ($\",\n            Strings.escapeJSON(symbol),\n            ')\",\"description\":\"Unique 1-of-1 patent for this discovered element, among 92 possible patents (IDs 5-96) in HashDroids Phase III. The illustration is stored on IPFS; the recipe and original inventor are recorded onchain. Applicable royalties follow the Nexus contract rules. Marketplace royalty amounts derive from fees, not the full trade price. No revenue or return is guaranteed.\",\"attributes\":[{\"trait_type\":\"Element ID\",\"value\":',\n            elementId.toString(),\n            '},{\"trait_type\":\"Symbol\",\"value\":\"$',\n            Strings.escapeJSON(symbol),\n            '\"},{\"trait_type\":\"Tier\",\"value\":',\n            tier.toString(),\n            '},{\"trait_type\":\"Ingredient 1 ID\",\"value\":',\n            slots[0].toString(),\n            '},{\"trait_type\":\"Ingredient 2 ID\",\"value\":',\n            slots[1].toString(),\n            '},{\"trait_type\":\"Ingredient 3 ID\",\"value\":',\n            slots[2].toString(),\n            '},{\"trait_type\":\"Ingredient 4 ID\",\"value\":',\n            slots[3].toString(),\n            '},{\"trait_type\":\"Inventor\",\"value\":\"',\n            Strings.toHexString(inventor),\n            '\"},{\"trait_type\":\"Edition\",\"value\":\"1 of 1\"},{\"trait_type\":\"Maximum Patents\",\"value\":92},{\"trait_type\":\"Circulating Element Units\",\"value\":',\n            totalSupplyUnits.toString(),\n            '}],\"image\":\"',imageBaseURI,'elem_',elementId.toString(),'.jpg\",\"animation_url\":\"data:text/html;base64,',\n            Base64.encode(bytes(string.concat('<!doctype html><html><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><style>body{margin:0;background:#020617;display:grid;place-items:center;min-height:100vh}svg{max-height:100vh;width:auto}</style></head><body>',svg,'</body></html>'))),\n            '\"}'\n        );\n\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Bytes.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Bytes.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\n\n/**\n * @dev Bytes operations.\n */\nlibrary Bytes {\n    /**\n     * @dev Forward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the first instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return indexOf(buffer, s, 0);\n    }\n\n    /**\n     * @dev Forward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or after `pos`), returns the index of the next instance\n     * * If `s` is not present in the buffer (at or after `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        uint256 length = buffer.length;\n        for (uint256 i = pos; i < length; ++i) {\n            if (bytes1(_unsafeReadBytesOffset(buffer, i)) == s) {\n                return i;\n            }\n        }\n        return type(uint256).max;\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the last instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return lastIndexOf(buffer, s, type(uint256).max);\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or before `pos`), returns the index of the previous instance\n     * * If `s` is not present in the buffer (at or before `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        unchecked {\n            uint256 length = buffer.length;\n            for (uint256 i = Math.min(Math.saturatingAdd(pos, 1), length); i > 0; --i) {\n                if (bytes1(_unsafeReadBytesOffset(buffer, i - 1)) == s) {\n                    return i - 1;\n                }\n            }\n            return type(uint256).max;\n        }\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to the end of `buffer` into a new bytes object in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return slice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to `end` (excluded) into a new bytes object in\n     * memory. The `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        bytes memory result = new bytes(end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to the end of `buffer` to the start of that buffer,\n     * and shrinks the buffer length accordingly, effectively overriding the content of buffer with buffer[start:].\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     */\n    function splice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return splice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to `end` (excluded) to the start of that buffer,\n     * and shrinks the buffer length accordingly, effectively overriding the content of buffer with buffer[start:end].\n     * The `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     */\n    function splice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(buffer, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n            mstore(buffer, sub(end, start))\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with all bytes from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`).\n     * If `pos >= buffer.length`, no replacement occurs and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(bytes memory buffer, uint256 pos, bytes memory replacement) internal pure returns (bytes memory) {\n        return replace(buffer, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with bytes from `replacement` starting at `offset`.\n     * Copies at most `length` bytes from `replacement` to `buffer`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * buffer.length - pos))`. If `pos >= buffer.length` or `offset >= replacement.length`, no replacement occurs\n     * and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(\n        bytes memory buffer,\n        uint256 pos,\n        bytes memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (bytes memory) {\n        // sanitize\n        pos = Math.min(pos, buffer.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, buffer.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(add(add(buffer, 0x20), pos), add(add(replacement, 0x20), offset), length)\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Concatenate an array of bytes into a single bytes object.\n     *\n     * For fixed bytes types, we recommend using the solidity built-in `bytes.concat` or (equivalent)\n     * `abi.encodePacked`.\n     *\n     * NOTE: this could be done in assembly with a single loop that expands starting at the FMP, but that would be\n     * significantly less readable. It might be worth benchmarking the savings of the full-assembly approach.\n     */\n    function concat(bytes[] memory buffers) internal pure returns (bytes memory) {\n        uint256 length = 0;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            length += buffers[i].length;\n        }\n\n        bytes memory result = new bytes(length);\n\n        uint256 offset = 0x20;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            bytes memory input = buffers[i];\n            assembly (\"memory-safe\") {\n                mcopy(add(result, offset), add(input, 0x20), mload(input))\n            }\n            unchecked {\n                offset += input.length;\n            }\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Split each byte in `input` into two nibbles (4 bits each)\n     *\n     * Example: hex\"01234567\" → hex\"0001020304050607\"\n     */\n    function toNibbles(bytes memory input) internal pure returns (bytes memory output) {\n        assembly (\"memory-safe\") {\n            let length := mload(input)\n            output := mload(0x40)\n            mstore(0x40, add(add(output, 0x20), mul(length, 2)))\n            mstore(output, mul(length, 2))\n            for {\n                let i := 0\n            } lt(i, length) {\n                i := add(i, 0x10)\n            } {\n                let chunk := shr(128, mload(add(add(input, 0x20), i)))\n                chunk := and(\n                    0x0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff,\n                    or(shl(64, chunk), chunk)\n                )\n                chunk := and(\n                    0x00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff,\n                    or(shl(32, chunk), chunk)\n                )\n                chunk := and(\n                    0x0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff,\n                    or(shl(16, chunk), chunk)\n                )\n                chunk := and(\n                    0x00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff,\n                    or(shl(8, chunk), chunk)\n                )\n                chunk := and(\n                    0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f,\n                    or(shl(4, chunk), chunk)\n                )\n                mstore(add(add(output, 0x20), mul(i, 2)), chunk)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns true if the two byte buffers are equal.\n     */\n    function equal(bytes memory a, bytes memory b) internal pure returns (bool) {\n        return a.length == b.length && keccak256(a) == keccak256(b);\n    }\n\n    /**\n     * @dev Reverses the byte order of a bytes32 value, converting between little-endian and big-endian.\n     * Inspired by https://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel[Reverse Parallel]\n     */\n    function reverseBytes32(bytes32 value) internal pure returns (bytes32) {\n        value = // swap bytes\n            ((value >> 8) & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value >> 16) & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value >> 32) & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        value = // swap 8-byte long pairs\n            ((value >> 64) & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) |\n            ((value & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) << 64);\n        return (value >> 128) | (value << 128); // swap 16-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 128-bit values.\n    function reverseBytes16(bytes16 value) internal pure returns (bytes16) {\n        value = // swap bytes\n            ((value & 0xFF00FF00FF00FF00FF00FF00FF00FF00) >> 8) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value & 0xFFFF0000FFFF0000FFFF0000FFFF0000) >> 16) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value & 0xFFFFFFFF00000000FFFFFFFF00000000) >> 32) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        return (value >> 64) | (value << 64); // swap 8-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 64-bit values.\n    function reverseBytes8(bytes8 value) internal pure returns (bytes8) {\n        value = ((value & 0xFF00FF00FF00FF00) >> 8) | ((value & 0x00FF00FF00FF00FF) << 8); // swap bytes\n        value = ((value & 0xFFFF0000FFFF0000) >> 16) | ((value & 0x0000FFFF0000FFFF) << 16); // swap 2-byte long pairs\n        return (value >> 32) | (value << 32); // swap 4-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 32-bit values.\n    function reverseBytes4(bytes4 value) internal pure returns (bytes4) {\n        value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); // swap bytes\n        return (value >> 16) | (value << 16); // swap 2-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 16-bit values.\n    function reverseBytes2(bytes2 value) internal pure returns (bytes2) {\n        return (value >> 8) | (value << 8);\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits a bytes array. Returns `8 * buffer.length`\n     * if the buffer is all zeros.\n     */\n    function clz(bytes memory buffer) internal pure returns (uint256) {\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            bytes32 chunk = _unsafeReadBytesOffset(buffer, i);\n            if (chunk != bytes32(0)) {\n                return Math.min(8 * i + Math.clz(uint256(chunk)), 8 * buffer.length);\n            }\n        }\n        return 8 * buffer.length;\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Arrays.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Arrays.sol)\n// This file was procedurally generated from scripts/generate/templates/Arrays.js.\n\npragma solidity ^0.8.24;\n\nimport {Comparators} from \"./Comparators.sol\";\nimport {SlotDerivation} from \"./SlotDerivation.sol\";\nimport {StorageSlot} from \"./StorageSlot.sol\";\nimport {Math} from \"./math/Math.sol\";\n\n/**\n * @dev Collection of functions related to array types.\n */\nlibrary Arrays {\n    using SlotDerivation for bytes32;\n    using StorageSlot for bytes32;\n\n    /**\n     * @dev Sort an array of uint256 (in memory) following the provided comparator function.\n     *\n     * This function does the sorting \"in place\", meaning that it overrides the input. The object is returned for\n     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.\n     *\n     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the\n     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful\n     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may\n     * consume more gas than is available in a block, leading to potential DoS.\n     *\n     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.\n     */\n    function sort(\n        uint256[] memory array,\n        function(uint256, uint256) pure returns (bool) comp\n    ) internal pure returns (uint256[] memory) {\n        _quickSort(_begin(array), _end(array), comp);\n        return array;\n    }\n\n    /**\n     * @dev Variant of {sort} that sorts an array of uint256 in increasing order.\n     */\n    function sort(uint256[] memory array) internal pure returns (uint256[] memory) {\n        sort(array, Comparators.lt);\n        return array;\n    }\n\n    /**\n     * @dev Sort an array of address (in memory) following the provided comparator function.\n     *\n     * This function does the sorting \"in place\", meaning that it overrides the input. The object is returned for\n     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.\n     *\n     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the\n     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful\n     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may\n     * consume more gas than is available in a block, leading to potential DoS.\n     *\n     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.\n     */\n    function sort(\n        address[] memory array,\n        function(address, address) pure returns (bool) comp\n    ) internal pure returns (address[] memory) {\n        sort(_castToUint256Array(array), _castToUint256Comp(comp));\n        return array;\n    }\n\n    /**\n     * @dev Variant of {sort} that sorts an array of address in increasing order.\n     */\n    function sort(address[] memory array) internal pure returns (address[] memory) {\n        sort(_castToUint256Array(array), Comparators.lt);\n        return array;\n    }\n\n    /**\n     * @dev Sort an array of bytes32 (in memory) following the provided comparator function.\n     *\n     * This function does the sorting \"in place\", meaning that it overrides the input. The object is returned for\n     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.\n     *\n     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the\n     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful\n     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may\n     * consume more gas than is available in a block, leading to potential DoS.\n     *\n     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.\n     */\n    function sort(\n        bytes32[] memory array,\n        function(bytes32, bytes32) pure returns (bool) comp\n    ) internal pure returns (bytes32[] memory) {\n        sort(_castToUint256Array(array), _castToUint256Comp(comp));\n        return array;\n    }\n\n    /**\n     * @dev Variant of {sort} that sorts an array of bytes32 in increasing order.\n     */\n    function sort(bytes32[] memory array) internal pure returns (bytes32[] memory) {\n        sort(_castToUint256Array(array), Comparators.lt);\n        return array;\n    }\n\n    /**\n     * @dev Performs a quick sort of a segment of memory. The segment sorted starts at `begin` (inclusive), and stops\n     * at end (exclusive). Sorting follows the `comp` comparator.\n     *\n     * Invariant: `begin <= end`. This is the case when initially called by {sort} and is preserved in subcalls.\n     *\n     * IMPORTANT: Memory locations between `begin` and `end` are not validated/zeroed. This function should\n     * be used only if the limits are within a memory array.\n     */\n    function _quickSort(uint256 begin, uint256 end, function(uint256, uint256) pure returns (bool) comp) private pure {\n        unchecked {\n            if (end - begin < 0x40) return;\n\n            // Use first element as pivot\n            uint256 pivot = _mload(begin);\n            // Position where the pivot should be at the end of the loop\n            uint256 pos = begin;\n\n            for (uint256 it = begin + 0x20; it < end; it += 0x20) {\n                if (comp(_mload(it), pivot)) {\n                    // If the value stored at the iterator's position comes before the pivot, we increment the\n                    // position of the pivot and move the value there.\n                    pos += 0x20;\n                    _swap(pos, it);\n                }\n            }\n\n            _swap(begin, pos); // Swap pivot into place\n            _quickSort(begin, pos, comp); // Sort the left side of the pivot\n            _quickSort(pos + 0x20, end, comp); // Sort the right side of the pivot\n        }\n    }\n\n    /**\n     * @dev Pointer to the memory location of the first element of `array`.\n     */\n    function _begin(uint256[] memory array) private pure returns (uint256 ptr) {\n        assembly (\"memory-safe\") {\n            ptr := add(array, 0x20)\n        }\n    }\n\n    /**\n     * @dev Pointer to the memory location of the first memory word (32bytes) after `array`. This is the memory word\n     * that comes just after the last element of the array.\n     */\n    function _end(uint256[] memory array) private pure returns (uint256 ptr) {\n        unchecked {\n            return _begin(array) + array.length * 0x20;\n        }\n    }\n\n    /**\n     * @dev Load memory word (as a uint256) at location `ptr`.\n     */\n    function _mload(uint256 ptr) private pure returns (uint256 value) {\n        assembly {\n            value := mload(ptr)\n        }\n    }\n\n    /**\n     * @dev Swaps the elements memory location `ptr1` and `ptr2`.\n     */\n    function _swap(uint256 ptr1, uint256 ptr2) private pure {\n        assembly {\n            let value1 := mload(ptr1)\n            let value2 := mload(ptr2)\n            mstore(ptr1, value2)\n            mstore(ptr2, value1)\n        }\n    }\n\n    /// @dev Helper: low level cast address memory array to uint256 memory array\n    function _castToUint256Array(address[] memory input) private pure returns (uint256[] memory output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /// @dev Helper: low level cast bytes32 memory array to uint256 memory array\n    function _castToUint256Array(bytes32[] memory input) private pure returns (uint256[] memory output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /// @dev Helper: low level cast address comp function to uint256 comp function\n    function _castToUint256Comp(\n        function(address, address) pure returns (bool) input\n    ) private pure returns (function(uint256, uint256) pure returns (bool) output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /// @dev Helper: low level cast bytes32 comp function to uint256 comp function\n    function _castToUint256Comp(\n        function(bytes32, bytes32) pure returns (bool) input\n    ) private pure returns (function(uint256, uint256) pure returns (bool) output) {\n        assembly {\n            output := input\n        }\n    }\n\n    /**\n     * @dev Searches a sorted `array` and returns the first index that contains\n     * a value greater or equal to `element`. If no such index exists (i.e. all\n     * values in the array are strictly less than `element`), the array length is\n     * returned. Time complexity O(log n).\n     *\n     * NOTE: The `array` is expected to be sorted in ascending order, and to\n     * contain no repeated elements.\n     *\n     * IMPORTANT: Deprecated. This implementation behaves as {lowerBound} but lacks\n     * support for repeated elements in the array. The {lowerBound} function should\n     * be used instead.\n     */\n    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeAccess(array, mid).value > element) {\n                high = mid;\n            } else {\n                low = mid + 1;\n            }\n        }\n\n        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.\n        if (low > 0 && unsafeAccess(array, low - 1).value == element) {\n            return low - 1;\n        } else {\n            return low;\n        }\n    }\n\n    /**\n     * @dev Searches an `array` sorted in ascending order and returns the first\n     * index that contains a value greater or equal than `element`. If no such index\n     * exists (i.e. all values in the array are strictly less than `element`), the array\n     * length is returned. Time complexity O(log n).\n     *\n     * See C++'s https://en.cppreference.com/w/cpp/algorithm/lower_bound[lower_bound].\n     */\n    function lowerBound(uint256[] storage array, uint256 element) internal view returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeAccess(array, mid).value < element) {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            } else {\n                high = mid;\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Searches an `array` sorted in ascending order and returns the first\n     * index that contains a value strictly greater than `element`. If no such index\n     * exists (i.e. all values in the array are strictly less than `element`), the array\n     * length is returned. Time complexity O(log n).\n     *\n     * See C++'s https://en.cppreference.com/w/cpp/algorithm/upper_bound[upper_bound].\n     */\n    function upperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeAccess(array, mid).value > element) {\n                high = mid;\n            } else {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Same as {lowerBound}, but with an array in memory.\n     */\n    function lowerBoundMemory(uint256[] memory array, uint256 element) internal pure returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeMemoryAccess(array, mid) < element) {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            } else {\n                high = mid;\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Same as {upperBound}, but with an array in memory.\n     */\n    function upperBoundMemory(uint256[] memory array, uint256 element) internal pure returns (uint256) {\n        uint256 low = 0;\n        uint256 high = array.length;\n\n        if (high == 0) {\n            return 0;\n        }\n\n        while (low < high) {\n            uint256 mid = Math.average(low, high);\n\n            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)\n            // because Math.average rounds towards zero (it does integer division with truncation).\n            if (unsafeMemoryAccess(array, mid) > element) {\n                high = mid;\n            } else {\n                // this cannot overflow because mid < high\n                unchecked {\n                    low = mid + 1;\n                }\n            }\n        }\n\n        return low;\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to the end of `array` into a new address array in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(address[] memory array, uint256 start) internal pure returns (address[] memory) {\n        return slice(array, start, array.length);\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to `end` (excluded) into a new address array in\n     * memory. The `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(address[] memory array, uint256 start, uint256 end) internal pure returns (address[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        address[] memory result = new address[](end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to the end of `array` into a new bytes32 array in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes32[] memory array, uint256 start) internal pure returns (bytes32[] memory) {\n        return slice(array, start, array.length);\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to `end` (excluded) into a new bytes32 array in\n     * memory. The `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes32[] memory array, uint256 start, uint256 end) internal pure returns (bytes32[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        bytes32[] memory result = new bytes32[](end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to the end of `array` into a new uint256 array in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(uint256[] memory array, uint256 start) internal pure returns (uint256[] memory) {\n        return slice(array, start, array.length);\n    }\n\n    /**\n     * @dev Copies the content of `array`, from `start` (included) to `end` (excluded) into a new uint256 array in\n     * memory. The `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(uint256[] memory array, uint256 start, uint256 end) internal pure returns (uint256[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        uint256[] memory result = new uint256[](end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to the end of `array` to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:].\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(address[] memory array, uint256 start) internal pure returns (address[] memory) {\n        return splice(array, start, array.length);\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to `end` (excluded) to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:end]. The\n     * `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(address[] memory array, uint256 start, uint256 end) internal pure returns (address[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(array, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n            mstore(array, sub(end, start))\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with all elements from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (e.g. `pos` is clamped to `[0, array.length]`).\n     * If `pos >= array.length`, no replacement occurs and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        address[] memory array,\n        uint256 pos,\n        address[] memory replacement\n    ) internal pure returns (address[] memory) {\n        return replace(array, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with elements from `replacement` starting at `offset`.\n     * Copies at most `length` elements from `replacement` to `array`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, array.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * array.length - pos)`). If `pos >= array.length` or `offset >= replacement.length`, no replacement occurs\n     * and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        address[] memory array,\n        uint256 pos,\n        address[] memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (address[] memory) {\n        // sanitize\n        pos = Math.min(pos, array.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, array.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(\n                add(add(array, 0x20), mul(pos, 0x20)),\n                add(add(replacement, 0x20), mul(offset, 0x20)),\n                mul(length, 0x20)\n            )\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to the end of `array` to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:].\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(bytes32[] memory array, uint256 start) internal pure returns (bytes32[] memory) {\n        return splice(array, start, array.length);\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to `end` (excluded) to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:end]. The\n     * `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(bytes32[] memory array, uint256 start, uint256 end) internal pure returns (bytes32[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(array, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n            mstore(array, sub(end, start))\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with all elements from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (e.g. `pos` is clamped to `[0, array.length]`).\n     * If `pos >= array.length`, no replacement occurs and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        bytes32[] memory array,\n        uint256 pos,\n        bytes32[] memory replacement\n    ) internal pure returns (bytes32[] memory) {\n        return replace(array, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with elements from `replacement` starting at `offset`.\n     * Copies at most `length` elements from `replacement` to `array`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, array.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * array.length - pos)`). If `pos >= array.length` or `offset >= replacement.length`, no replacement occurs\n     * and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        bytes32[] memory array,\n        uint256 pos,\n        bytes32[] memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (bytes32[] memory) {\n        // sanitize\n        pos = Math.min(pos, array.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, array.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(\n                add(add(array, 0x20), mul(pos, 0x20)),\n                add(add(replacement, 0x20), mul(offset, 0x20)),\n                mul(length, 0x20)\n            )\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to the end of `array` to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:].\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(uint256[] memory array, uint256 start) internal pure returns (uint256[] memory) {\n        return splice(array, start, array.length);\n    }\n\n    /**\n     * @dev Moves the content of `array`, from `start` (included) to `end` (excluded) to the start of that array,\n     * and shrinks the array length accordingly, effectively overwriting the array with array[start:end]. The\n     * `end` argument is truncated to the length of the `array`.\n     *\n     * NOTE: This function modifies the provided array in place. If you need to preserve the original array, use {slice} instead.\n     */\n    function splice(uint256[] memory array, uint256 start, uint256 end) internal pure returns (uint256[] memory) {\n        // sanitize\n        end = Math.min(end, array.length);\n        start = Math.min(start, end);\n\n        // move and resize\n        assembly (\"memory-safe\") {\n            mcopy(add(array, 0x20), add(add(array, 0x20), mul(start, 0x20)), mul(sub(end, start), 0x20))\n            mstore(array, sub(end, start))\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with all elements from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (e.g. `pos` is clamped to `[0, array.length]`).\n     * If `pos >= array.length`, no replacement occurs and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        uint256[] memory array,\n        uint256 pos,\n        uint256[] memory replacement\n    ) internal pure returns (uint256[] memory) {\n        return replace(array, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces elements in `array` starting at `pos` with elements from `replacement` starting at `offset`.\n     * Copies at most `length` elements from `replacement` to `array`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, array.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * array.length - pos)`). If `pos >= array.length` or `offset >= replacement.length`, no replacement occurs\n     * and the array is returned unchanged.\n     *\n     * NOTE: This function modifies the provided array in place.\n     */\n    function replace(\n        uint256[] memory array,\n        uint256 pos,\n        uint256[] memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (uint256[] memory) {\n        // sanitize\n        pos = Math.min(pos, array.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, array.length - pos));\n\n        // replace\n        assembly (\"memory-safe\") {\n            mcopy(\n                add(add(array, 0x20), mul(pos, 0x20)),\n                add(add(replacement, 0x20), mul(offset, 0x20)),\n                mul(length, 0x20)\n            )\n        }\n\n        return array;\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getAddressSlot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getBytes32Slot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getUint256Slot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(bytes[] storage arr, uint256 pos) internal pure returns (StorageSlot.BytesSlot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getBytesSlot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeAccess(string[] storage arr, uint256 pos) internal pure returns (StorageSlot.StringSlot storage) {\n        bytes32 slot;\n        assembly (\"memory-safe\") {\n            slot := arr.slot\n        }\n        return slot.deriveArray().offset(pos).getStringSlot();\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(address[] memory arr, uint256 pos) internal pure returns (address res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(bytes32[] memory arr, uint256 pos) internal pure returns (bytes32 res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(uint256[] memory arr, uint256 pos) internal pure returns (uint256 res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(bytes[] memory arr, uint256 pos) internal pure returns (bytes memory res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Access an array in an \"unsafe\" way. Skips solidity \"index-out-of-range\" check.\n     *\n     * WARNING: Only use if you are certain `pos` is lower than the array length.\n     */\n    function unsafeMemoryAccess(string[] memory arr, uint256 pos) internal pure returns (string memory res) {\n        assembly {\n            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(address[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(bytes32[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(uint256[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(bytes[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n\n    /**\n     * @dev Helper to set the length of a dynamic array. Directly writing to `.length` is forbidden.\n     *\n     * WARNING: this does not clear elements if length is reduced, or initialize elements if length is increased.\n     */\n    function unsafeSetLength(string[] storage array, uint256 len) internal {\n        assembly (\"memory-safe\") {\n            sstore(array.slot, len)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Base64.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Base64.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./math/SafeCast.sol\";\n\n/**\n * @dev Provides a set of functions to operate with Base64 strings.\n */\nlibrary Base64 {\n    using SafeCast for bool;\n\n    error InvalidBase64Char(bytes1);\n\n    /**\n     * @dev Converts a `bytes` to its Base64 `string` representation.\n     */\n    function encode(bytes memory data) internal pure returns (string memory) {\n        return string(_encode(data, false));\n    }\n\n    /**\n     * @dev Converts a `bytes` to its Base64Url `string` representation.\n     * Output is not padded with `=` as specified in https://www.rfc-editor.org/rfc/rfc4648[rfc4648].\n     */\n    function encodeURL(bytes memory data) internal pure returns (string memory) {\n        return string(_encode(data, true));\n    }\n\n    /**\n     * @dev Converts a Base64 `string` to the `bytes` it represents.\n     *\n     * * Supports padded and unpadded inputs.\n     * * Supports both encoding ({encode} and {encodeURL}) seamlessly.\n     * * Reverts with {InvalidBase64Char} if the input contains an invalid character.\n     */\n    function decode(string memory data) internal pure returns (bytes memory) {\n        return _decode(bytes(data));\n    }\n\n    /**\n     * @dev Internal table-agnostic encoding\n     *\n     * Padding is enabled when using the Base64 table, and disabled when using the Base64Url table.\n     * See sections 4 and 5 of https://datatracker.ietf.org/doc/html/rfc4648\n     */\n    function _encode(bytes memory data, bool urlAndFilenameSafe) private pure returns (bytes memory result) {\n        /**\n         * Inspired by Brecht Devos (Brechtpd) implementation - MIT license\n         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol\n         */\n        if (data.length == 0) return \"\";\n\n        // Padding is enabled by default, but disabled when the \"urlAndFilenameSafe\" alphabet is used\n        //\n        // If padding is enabled, the final length should be `bytes` data length divided by 3 rounded up and then\n        // multiplied by 4 so that it leaves room for padding the last chunk\n        // - `data.length + 2`  -> Prepare for division rounding up\n        // - `/ 3`              -> Number of 3-bytes chunks (rounded up)\n        // - `4 *`              -> 4 characters for each chunk\n        // This is equivalent to: 4 * Math.ceil(data.length / 3)\n        //\n        // If padding is disabled, the final length should be `bytes` data length multiplied by 4/3 rounded up as\n        // opposed to when padding is required to fill the last chunk.\n        // - `4 * data.length`  -> 4 characters for each chunk\n        // - ` + 2`             -> Prepare for division rounding up\n        // - `/ 3`              -> Number of 3-bytes chunks (rounded up)\n        // This is equivalent to: Math.ceil((4 * data.length) / 3)\n        uint256 resultLength = urlAndFilenameSafe ? (4 * data.length + 2) / 3 : 4 * ((data.length + 2) / 3);\n\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n\n            // Store the encoding table in the scratch space (and fmp ptr) to avoid memory allocation\n            //\n            // Base64    (ascii)  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 + /\n            // Base64    (hex)   4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f\n            // Base64Url (ascii)  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 - _\n            // Base64Url (hex)   4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392d5f\n            // xor       (hex)   00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000670\n            mstore(0x1f, \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef\")\n            mstore(0x3f, xor(\"ghijklmnopqrstuvwxyz0123456789+/\", mul(urlAndFilenameSafe, 0x670)))\n\n            // Prepare result pointer, jump over length\n            let resultPtr := add(result, 0x20)\n            let resultEnd := add(resultPtr, resultLength)\n            let dataPtr := data\n            let endPtr := add(data, mload(data))\n\n            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and\n            // set it to zero to make sure no dirty bytes are read in that section.\n            let afterPtr := add(endPtr, 0x20)\n            let afterCache := mload(afterPtr)\n            mstore(afterPtr, 0x00)\n\n            // Run over the input, 3 bytes at a time\n            for {} lt(dataPtr, endPtr) {} {\n                // Advance 3 bytes\n                dataPtr := add(dataPtr, 3)\n                let input := mload(dataPtr)\n\n                // To write each character, shift the 3 byte (24 bits) chunk\n                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)\n                // and apply logical AND with 0x3F to bitmask the least significant 6 bits.\n                // Use this as an index into the lookup table, mload an entire word\n                // so the desired character is in the least significant byte, and\n                // mstore8 this least significant byte into the result and continue.\n                mstore8(resultPtr, mload(and(shr(18, input), 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n                mstore8(resultPtr, mload(and(shr(12, input), 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n                mstore8(resultPtr, mload(and(shr(6, input), 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n                mstore8(resultPtr, mload(and(input, 0x3F)))\n                resultPtr := add(resultPtr, 1) // Advance\n            }\n\n            // Reset the value that was cached\n            mstore(afterPtr, afterCache)\n\n            if iszero(urlAndFilenameSafe) {\n                // When data `bytes` is not exactly 3 bytes long\n                // it is padded with `=` characters at the end\n                switch mod(mload(data), 3)\n                case 1 {\n                    mstore8(sub(resultPtr, 1), 0x3d)\n                    mstore8(sub(resultPtr, 2), 0x3d)\n                }\n                case 2 {\n                    mstore8(sub(resultPtr, 1), 0x3d)\n                }\n            }\n\n            // Store result length and update FMP to reserve allocated space\n            mstore(result, resultLength)\n            mstore(0x40, resultEnd)\n        }\n    }\n\n    /**\n     * @dev Internal decoding\n     */\n    function _decode(bytes memory data) private pure returns (bytes memory result) {\n        bytes4 errorSelector = InvalidBase64Char.selector;\n\n        uint256 dataLength = data.length;\n        if (dataLength == 0) return \"\";\n\n        uint256 resultLength = (dataLength / 4) * 3;\n        if (dataLength % 4 == 0) {\n            resultLength -= (data[dataLength - 1] == \"=\").toUint() + (data[dataLength - 2] == \"=\").toUint();\n        } else {\n            resultLength += (dataLength % 4) - 1;\n        }\n\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n\n            // Temporarily store the reverse lookup table between in memory. This spans from 0x00 to 0x50, Using:\n            // - all 64bytes of scratch space\n            // - part of the FMP (at location 0x40)\n            mstore(0x30, 0x2425262728292a2b2c2d2e2f30313233)\n            mstore(0x20, 0x0a0b0c0d0e0f10111213141516171819ffffffff3fff1a1b1c1d1e1f20212223)\n            mstore(0x00, 0x3eff3eff3f3435363738393a3b3c3dffffff00ffffff00010203040506070809)\n\n            // Prepare result pointer, jump over length\n            let dataPtr := data\n            let resultPtr := add(result, 0x20)\n            let endPtr := add(resultPtr, resultLength)\n\n            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and\n            // set it to \"==\" (fake padding) to make sure no dirty bytes are read in that section.\n            let afterPtr := add(add(data, 0x20), dataLength)\n            let afterCache := mload(afterPtr)\n            mstore(afterPtr, shl(240, 0x3d3d))\n\n            // loop while not everything is decoded\n            for {} lt(resultPtr, endPtr) {} {\n                dataPtr := add(dataPtr, 4)\n\n                // Read a 4 bytes chunk of data\n                let input := mload(dataPtr)\n\n                // Decode each byte in the chunk as a 6 bit block, and align them to form a block of 3 bytes\n                let a := sub(byte(28, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(a, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(a, 43)))\n                    revert(0, 0x24)\n                }\n                let b := sub(byte(29, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(b, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(b, 43)))\n                    revert(0, 0x24)\n                }\n                let c := sub(byte(30, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(c, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(c, 43)))\n                    revert(0, 0x24)\n                }\n                let d := sub(byte(31, input), 43)\n                // slither-disable-next-line incorrect-shift\n                if iszero(and(shl(d, 1), 0xffffffd0ffffffc47ff5)) {\n                    mstore(0, errorSelector)\n                    mstore(4, shl(248, add(d, 43)))\n                    revert(0, 0x24)\n                }\n\n                mstore(\n                    resultPtr,\n                    or(\n                        or(shl(250, byte(0, mload(a))), shl(244, byte(0, mload(b)))),\n                        or(shl(238, byte(0, mload(c))), shl(232, byte(0, mload(d))))\n                    )\n                )\n\n                resultPtr := add(resultPtr, 3)\n            }\n\n            // Reset the value that was cached\n            mstore(afterPtr, afterCache)\n\n            // Store result length and update FMP to reserve allocated space\n            mstore(result, resultLength)\n            mstore(0x40, endPtr)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/Strings.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SafeCast} from \"./math/SafeCast.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\nimport {Bytes} from \"./Bytes.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    using SafeCast for *;\n\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n    uint256 private constant SPECIAL_CHARS_LOOKUP =\n        0xffffffff | // first 32 bits corresponding to the control characters (U+0000 to U+001F)\n            (1 << 0x22) | // double quote\n            (1 << 0x5c); // backslash\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev The string being parsed contains characters that are not in scope of the given base.\n     */\n    error StringsInvalidChar();\n\n    /**\n     * @dev The string being parsed is not a properly formatted address.\n     */\n    error StringsInvalidAddressFormat();\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            assembly (\"memory-safe\") {\n                ptr := add(add(buffer, 0x20), length)\n            }\n            while (true) {\n                ptr--;\n                assembly (\"memory-safe\") {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n     * representation, according to EIP-55.\n     */\n    function toChecksumHexString(address addr) internal pure returns (string memory) {\n        bytes memory buffer = bytes(toHexString(addr));\n\n        // hash the hex part of buffer (skip length + 2 bytes, length 40)\n        uint256 hashValue;\n        assembly (\"memory-safe\") {\n            hashValue := shr(96, keccak256(add(buffer, 0x22), 40))\n        }\n\n        for (uint256 i = 41; i > 1; --i) {\n            // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)\n            if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {\n                // case shift by xoring with 0x20\n                buffer[i] ^= 0x20;\n            }\n            hashValue >>= 4;\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts a `bytes` buffer to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(bytes memory input) internal pure returns (string memory) {\n        unchecked {\n            bytes memory buffer = new bytes(2 * input.length + 2);\n            buffer[0] = \"0\";\n            buffer[1] = \"x\";\n            for (uint256 i = 0; i < input.length; ++i) {\n                uint8 v = uint8(input[i]);\n                buffer[2 * i + 2] = HEX_DIGITS[v >> 4];\n                buffer[2 * i + 3] = HEX_DIGITS[v & 0xf];\n            }\n            return string(buffer);\n        }\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return Bytes.equal(bytes(a), bytes(b));\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input) internal pure returns (uint256) {\n        return parseUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        uint256 result = 0;\n        for (uint256 i = begin; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 9) return (false, 0);\n            result *= 10;\n            result += chr;\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `int256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input) internal pure returns (int256) {\n        return parseInt(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input, uint256 begin, uint256 end) internal pure returns (int256) {\n        (bool success, int256 value) = tryParseInt(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n     * the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(string memory input) internal pure returns (bool success, int256 value) {\n        return _tryParseIntUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    uint256 private constant ABS_MIN_INT256 = 2 ** 255;\n\n    /**\n     * @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character or if the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, int256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseIntUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseIntUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, int256 value) {\n        bytes memory buffer = bytes(input);\n\n        // Check presence of a negative sign.\n        bytes1 sign = begin == end ? bytes1(0) : bytes1(_unsafeReadBytesOffset(buffer, begin)); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        bool positiveSign = sign == bytes1(\"+\");\n        bool negativeSign = sign == bytes1(\"-\");\n        uint256 offset = (positiveSign || negativeSign).toUint();\n\n        (bool absSuccess, uint256 absValue) = tryParseUint(input, begin + offset, end);\n\n        if (absSuccess && absValue < ABS_MIN_INT256) {\n            return (true, negativeSign ? -int256(absValue) : int256(absValue));\n        } else if (absSuccess && negativeSign && absValue == ABS_MIN_INT256) {\n            return (true, type(int256).min);\n        } else return (false, 0);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input) internal pure returns (uint256) {\n        return parseHexUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseHexUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseHexUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n     * invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseHexUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseHexUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        // skip 0x prefix if present\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(buffer, begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 offset = hasPrefix.toUint() * 2;\n\n        uint256 result = 0;\n        for (uint256 i = begin + offset; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 15) return (false, 0);\n            result *= 16;\n            unchecked {\n                // Multiplying by 16 is equivalent to a shift of 4 bits (with additional overflow check).\n                // This guarantees that adding a value < 16 will not cause an overflow, hence the unchecked.\n                result += chr;\n            }\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input) internal pure returns (address) {\n        return parseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input, uint256 begin, uint256 end) internal pure returns (address) {\n        (bool success, address value) = tryParseAddress(input, begin, end);\n        if (!success) revert StringsInvalidAddressFormat();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n     * formatted address. See {parseAddress-string} requirements.\n     */\n    function tryParseAddress(string memory input) internal pure returns (bool success, address value) {\n        return tryParseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n     * formatted address. See {parseAddress-string-uint256-uint256} requirements.\n     */\n    function tryParseAddress(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, address value) {\n        if (end > bytes(input).length || begin > end) return (false, address(0));\n\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(bytes(input), begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 expectedLength = 40 + hasPrefix.toUint() * 2;\n\n        // check that input is the correct length\n        if (end - begin == expectedLength) {\n            // length guarantees that this does not overflow, and value is at most type(uint160).max\n            (bool s, uint256 v) = _tryParseHexUintUncheckedBounds(input, begin, end);\n            return (s, address(uint160(v)));\n        } else {\n            return (false, address(0));\n        }\n    }\n\n    function _tryParseChr(bytes1 chr) private pure returns (uint8) {\n        uint8 value = uint8(chr);\n\n        // Try to parse `chr`:\n        // - Case 1: [0-9]\n        // - Case 2: [a-f]\n        // - Case 3: [A-F]\n        // - otherwise not supported\n        unchecked {\n            if (value > 47 && value < 58) value -= 48;\n            else if (value > 96 && value < 103) value -= 87;\n            else if (value > 64 && value < 71) value -= 55;\n            else return type(uint8).max;\n        }\n\n        return value;\n    }\n\n    /**\n     * @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n     *\n     * WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n     *\n     * NOTE: This function escapes backslashes (including those in \\uXXXX sequences) and the characters in ranges\n     * defined in section 2.5 of RFC-4627 (U+0000 to U+001F, U+0022 and U+005C). All control characters in U+0000\n     * to U+001F are escaped (\\b, \\t, \\n, \\f, \\r use short form; others use \\u00XX). ECMAScript's `JSON.parse` does\n     * recover escaped unicode characters that are not in this range, but other tooling may provide different results.\n     */\n    function escapeJSON(string memory input) internal pure returns (string memory) {\n        bytes memory buffer = bytes(input);\n\n        // Put output at the FMP. Memory will be reserved later when we figure out the actual length of the escaped\n        // string. All write are done using _unsafeWriteBytesOffset, which avoid the (expensive) length checks for\n        // each character written.\n        bytes memory output;\n        assembly (\"memory-safe\") {\n            output := mload(0x40)\n        }\n        uint256 outputLength = 0;\n\n        for (uint256 i = 0; i < buffer.length; ++i) {\n            uint8 char = uint8(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (((SPECIAL_CHARS_LOOKUP & (1 << char)) != 0)) {\n                _unsafeWriteBytesOffset(output, outputLength++, \"\\\\\");\n                if (char == 0x08) _unsafeWriteBytesOffset(output, outputLength++, \"b\");\n                else if (char == 0x09) _unsafeWriteBytesOffset(output, outputLength++, \"t\");\n                else if (char == 0x0a) _unsafeWriteBytesOffset(output, outputLength++, \"n\");\n                else if (char == 0x0c) _unsafeWriteBytesOffset(output, outputLength++, \"f\");\n                else if (char == 0x0d) _unsafeWriteBytesOffset(output, outputLength++, \"r\");\n                else if (char == 0x5c) _unsafeWriteBytesOffset(output, outputLength++, \"\\\\\");\n                else if (char == 0x22) {\n                    // solhint-disable-next-line quotes\n                    _unsafeWriteBytesOffset(output, outputLength++, '\"');\n                } else {\n                    // U+0000 to U+001F without short form: output \\u00XX\n                    _unsafeWriteBytesOffset(output, outputLength++, \"u\");\n                    _unsafeWriteBytesOffset(output, outputLength++, \"0\");\n                    _unsafeWriteBytesOffset(output, outputLength++, \"0\");\n                    _unsafeWriteBytesOffset(output, outputLength++, HEX_DIGITS[char >> 4]);\n                    _unsafeWriteBytesOffset(output, outputLength++, HEX_DIGITS[char & 0x0f]);\n                }\n            } else {\n                _unsafeWriteBytesOffset(output, outputLength++, bytes1(char));\n            }\n        }\n        // write the actual length and reserve memory\n        assembly (\"memory-safe\") {\n            mstore(output, outputLength)\n            mstore(0x40, add(output, add(outputLength, 0x20)))\n        }\n\n        return string(output);\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n\n    /**\n     * @dev Write a bytes1 to a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeWriteBytesOffset(bytes memory buffer, uint256 offset, bytes1 value) private pure {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            mstore8(add(add(buffer, 0x20), offset), shr(248, value))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `condition ? a : b`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `condition ? a : b`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // (a + b) / 2 can overflow.\n            return (a & b) + (a ^ b) / 2;\n        }\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory buffer) private pure returns (bool) {\n        uint256 chunk;\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            // See _unsafeReadBytesOffset from utils/Bytes.sol\n            assembly (\"memory-safe\") {\n                chunk := mload(add(add(buffer, 0x20), i))\n            }\n            if (chunk >> (8 * saturatingSub(i + 0x20, buffer.length)) != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the first 16 bytes (most significant half).\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits in a uint256.\n     */\n    function clz(uint256 x) internal pure returns (uint256) {\n        return ternary(x == 0, 256, 255 - log2(x));\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Comparators.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Comparators.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides a set of functions to compare values.\n *\n * _Available since v5.1._\n */\nlibrary Comparators {\n    function lt(uint256 a, uint256 b) internal pure returns (bool) {\n        return a < b;\n    }\n\n    function gt(uint256 a, uint256 b) internal pure returns (bool) {\n        return a > b;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (token/ERC721/ERC721.sol)\n\npragma solidity ^0.8.24;\n\nimport {IERC721} from \"./IERC721.sol\";\nimport {IERC721Metadata} from \"./extensions/IERC721Metadata.sol\";\nimport {ERC721Utils} from \"./utils/ERC721Utils.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {Strings} from \"../../utils/Strings.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\nimport {IERC721Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\nabstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {\n    using Strings for uint256;\n\n    // Token name\n    string private _name;\n\n    // Token symbol\n    string private _symbol;\n\n    mapping(uint256 tokenId => address) private _owners;\n\n    mapping(address owner => uint256) private _balances;\n\n    mapping(uint256 tokenId => address) private _tokenApprovals;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    /**\n     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC721).interfaceId ||\n            interfaceId == type(IERC721Metadata).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /// @inheritdoc IERC721\n    function balanceOf(address owner) public view virtual returns (uint256) {\n        if (owner == address(0)) {\n            revert ERC721InvalidOwner(address(0));\n        }\n        return _balances[owner];\n    }\n\n    /// @inheritdoc IERC721\n    function ownerOf(uint256 tokenId) public view virtual returns (address) {\n        return _requireOwned(tokenId);\n    }\n\n    /// @inheritdoc IERC721Metadata\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /// @inheritdoc IERC721Metadata\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /// @inheritdoc IERC721Metadata\n    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\n        _requireOwned(tokenId);\n\n        string memory baseURI = _baseURI();\n        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : \"\";\n    }\n\n    /**\n     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n     * by default, can be overridden in child contracts.\n     */\n    function _baseURI() internal view virtual returns (string memory) {\n        return \"\";\n    }\n\n    /// @inheritdoc IERC721\n    function approve(address to, uint256 tokenId) public virtual {\n        _approve(to, tokenId, _msgSender());\n    }\n\n    /// @inheritdoc IERC721\n    function getApproved(uint256 tokenId) public view virtual returns (address) {\n        _requireOwned(tokenId);\n\n        return _getApproved(tokenId);\n    }\n\n    /// @inheritdoc IERC721\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /// @inheritdoc IERC721\n    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[owner][operator];\n    }\n\n    /// @inheritdoc IERC721\n    function transferFrom(address from, address to, uint256 tokenId) public virtual {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        // Setting an \"auth\" arguments enables the `_isAuthorized` check which verifies that the token exists\n        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\n        address previousOwner = _update(to, tokenId, _msgSender());\n        if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /// @inheritdoc IERC721\n    function safeTransferFrom(address from, address to, uint256 tokenId) public {\n        safeTransferFrom(from, to, tokenId, \"\");\n    }\n\n    /// @inheritdoc IERC721\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\n        transferFrom(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n     *\n     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n     * core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\n     */\n    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n        return _owners[tokenId];\n    }\n\n    /**\n     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\n     */\n    function _getApproved(uint256 tokenId) internal view virtual returns (address) {\n        return _tokenApprovals[tokenId];\n    }\n\n    /**\n     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n     * particular (ignoring whether it is owned by `owner`).\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\n        return\n            spender != address(0) &&\n            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\n    }\n\n    /**\n     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n     * Reverts if:\n     * - `spender` does not have approval from `owner` for `tokenId`.\n     * - `spender` does not have approval to manage all of `owner`'s assets.\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\n        if (!_isAuthorized(owner, spender, tokenId)) {\n            if (owner == address(0)) {\n                revert ERC721NonexistentToken(tokenId);\n            } else {\n                revert ERC721InsufficientApproval(spender, tokenId);\n            }\n        }\n    }\n\n    /**\n     * @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n     *\n     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n     *\n     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n     * remain consistent with one another.\n     */\n    function _increaseBalance(address account, uint128 value) internal virtual {\n        unchecked {\n            _balances[account] += value;\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that\n     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\n     */\n    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\n        address from = _ownerOf(tokenId);\n\n        // Perform (optional) operator check\n        if (auth != address(0)) {\n            _checkAuthorized(from, auth, tokenId);\n        }\n\n        // Execute the update\n        if (from != address(0)) {\n            // Clear approval. No need to re-authorize or emit the Approval event\n            _approve(address(0), tokenId, address(0), false);\n\n            unchecked {\n                _balances[from] -= 1;\n            }\n        }\n\n        if (to != address(0)) {\n            unchecked {\n                _balances[to] += 1;\n            }\n        }\n\n        _owners[tokenId] = to;\n\n        emit Transfer(from, to, tokenId);\n\n        return from;\n    }\n\n    /**\n     * @dev Mints `tokenId` and transfers it to `to`.\n     *\n     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - `to` cannot be the zero address.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _mint(address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner != address(0)) {\n            revert ERC721InvalidSender(address(0));\n        }\n    }\n\n    /**\n     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeMint(address to, uint256 tokenId) internal {\n        _safeMint(to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {\n        _mint(to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), address(0), to, tokenId, data);\n    }\n\n    /**\n     * @dev Destroys `tokenId`.\n     * The approval is cleared when the token is burned.\n     * This is an internal function that does not check if the sender is authorized to operate on the token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _burn(uint256 tokenId) internal {\n        address previousOwner = _update(address(0), tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from `from` to `to`.\n     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _transfer(address from, address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        } else if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n     * are aware of the ERC-721 standard to prevent tokens from being forever locked.\n     *\n     * `data` is additional data, it has no specified format and it is sent in call to `to`.\n     *\n     * This internal function is like {safeTransferFrom} in the sense that it invokes\n     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n     * implement alternative mechanisms to perform token transfer, such as signature-based.\n     *\n     * Requirements:\n     *\n     * - `tokenId` token must exist and be owned by `from`.\n     * - `to` cannot be the zero address.\n     * - `from` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId) internal {\n        _safeTransfer(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\n        _transfer(from, to, tokenId);\n        ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Approve `to` to operate on `tokenId`\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n     * either the owner of the token, or approved to operate on all tokens held by this owner.\n     *\n     * Emits an {Approval} event.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address to, uint256 tokenId, address auth) internal {\n        _approve(to, tokenId, auth, true);\n    }\n\n    /**\n     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n     * emitted in the context of transfers.\n     */\n    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\n        // Avoid reading the owner unless necessary\n        if (emitEvent || auth != address(0)) {\n            address owner = _requireOwned(tokenId);\n\n            // We do not use _isAuthorized because single-token approvals should not be able to call approve\n            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\n                revert ERC721InvalidApprover(auth);\n            }\n\n            if (emitEvent) {\n                emit Approval(owner, to, tokenId);\n            }\n        }\n\n        _tokenApprovals[tokenId] = to;\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Requirements:\n     * - operator can't be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (owner == address(0)) {\n            revert ERC721InvalidApprover(address(0));\n        }\n        if (operator == address(0)) {\n            revert ERC721InvalidOperator(operator);\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n     * Returns the owner.\n     *\n     * Overrides to ownership logic should be done to {_ownerOf}.\n     */\n    function _requireOwned(uint256 tokenId) internal view returns (address) {\n        address owner = _ownerOf(tokenId);\n        if (owner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n        return owner;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev A uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC-721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/utils/SlotDerivation.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/SlotDerivation.sol)\n// This file was procedurally generated from scripts/generate/templates/SlotDerivation.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for computing storage (and transient storage) locations from namespaces and deriving slots\n * corresponding to standard patterns. The derivation method for array and mapping matches the storage layout used by\n * the solidity language / compiler.\n *\n * See https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays[Solidity docs for mappings and dynamic arrays.].\n *\n * Example usage:\n * ```solidity\n * contract Example {\n *     // Add the library methods\n *     using StorageSlot for bytes32;\n *     using SlotDerivation for *;\n *\n *     // Declare a namespace\n *     string private constant _NAMESPACE = \"<namespace>\"; // eg. OpenZeppelin.Slot\n *\n *     function setValueInNamespace(uint256 key, address newValue) internal {\n *         _NAMESPACE.erc7201Slot().deriveMapping(key).getAddressSlot().value = newValue;\n *     }\n *\n *     function getValueInNamespace(uint256 key) internal view returns (address) {\n *         return _NAMESPACE.erc7201Slot().deriveMapping(key).getAddressSlot().value;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {StorageSlot}.\n *\n * NOTE: This library provides a way to manipulate storage locations in a non-standard way. Tooling for checking\n * upgrade safety will ignore the slots accessed through this library.\n *\n * _Available since v5.1._\n */\nlibrary SlotDerivation {\n    /**\n     * @dev Derive an ERC-7201 slot from a string (namespace).\n     */\n    function erc7201Slot(string memory namespace) internal pure returns (bytes32 slot) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, sub(keccak256(add(namespace, 0x20), mload(namespace)), 1))\n            slot := and(keccak256(0x00, 0x20), not(0xff))\n        }\n    }\n\n    /**\n     * @dev Add an offset to a slot to get the n-th element of a structure or an array.\n     */\n    function offset(bytes32 slot, uint256 pos) internal pure returns (bytes32 result) {\n        unchecked {\n            return bytes32(uint256(slot) + pos);\n        }\n    }\n\n    /**\n     * @dev Derive the location of the first element in an array from the slot where the length is stored.\n     */\n    function deriveArray(bytes32 slot) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, slot)\n            result := keccak256(0x00, 0x20)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, address key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, and(key, shr(96, not(0))))\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, bool key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, iszero(iszero(key)))\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, bytes32 key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, key)\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, uint256 key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, key)\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, int256 key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, key)\n            mstore(0x20, slot)\n            result := keccak256(0x00, 0x40)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, string memory key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            let length := mload(key)\n            let begin := add(key, 0x20)\n            let end := add(begin, length)\n            let cache := mload(end)\n            mstore(end, slot)\n            result := keccak256(begin, add(length, 0x20))\n            mstore(end, cache)\n        }\n    }\n\n    /**\n     * @dev Derive the location of a mapping element from the key.\n     */\n    function deriveMapping(bytes32 slot, bytes memory key) internal pure returns (bytes32 result) {\n        assembly (\"memory-safe\") {\n            let length := mload(key)\n            let begin := add(key, 0x20)\n            let end := add(begin, length)\n            let cache := mload(end)\n            mstore(end, slot)\n            result := keccak256(begin, add(length, 0x20))\n            mstore(end, cache)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/ERC1155.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (token/ERC1155/ERC1155.sol)\n\npragma solidity ^0.8.24;\n\nimport {IERC1155} from \"./IERC1155.sol\";\nimport {IERC1155MetadataURI} from \"./extensions/IERC1155MetadataURI.sol\";\nimport {ERC1155Utils} from \"./utils/ERC1155Utils.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\nimport {Arrays} from \"../../utils/Arrays.sol\";\nimport {IERC1155Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the basic standard multi-token.\n * See https://eips.ethereum.org/EIPS/eip-1155\n * Originally based on code by Enjin: https://github.com/enjin/erc-1155\n */\nabstract contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI, IERC1155Errors {\n    using Arrays for uint256[];\n    using Arrays for address[];\n\n    mapping(uint256 id => mapping(address account => uint256)) private _balances;\n\n    mapping(address account => mapping(address operator => bool)) private _operatorApprovals;\n\n    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json\n    string private _uri;\n\n    /**\n     * @dev See {_setURI}.\n     */\n    constructor(string memory uri_) {\n        _setURI(uri_);\n    }\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC1155).interfaceId ||\n            interfaceId == type(IERC1155MetadataURI).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC1155MetadataURI-uri}.\n     *\n     * This implementation returns the same URI for *all* token types. It relies\n     * on the token type ID substitution mechanism\n     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the ERC].\n     *\n     * Clients calling this function must replace the `\\{id\\}` substring with the\n     * actual token type ID.\n     */\n    function uri(uint256 /* id */) public view virtual returns (string memory) {\n        return _uri;\n    }\n\n    /// @inheritdoc IERC1155\n    function balanceOf(address account, uint256 id) public view virtual returns (uint256) {\n        return _balances[id][account];\n    }\n\n    /**\n     * @dev See {IERC1155-balanceOfBatch}.\n     *\n     * Requirements:\n     *\n     * - `accounts` and `ids` must have the same length.\n     */\n    function balanceOfBatch(\n        address[] memory accounts,\n        uint256[] memory ids\n    ) public view virtual returns (uint256[] memory) {\n        if (accounts.length != ids.length) {\n            revert ERC1155InvalidArrayLength(ids.length, accounts.length);\n        }\n\n        uint256[] memory batchBalances = new uint256[](accounts.length);\n\n        for (uint256 i = 0; i < accounts.length; ++i) {\n            batchBalances[i] = balanceOf(accounts.unsafeMemoryAccess(i), ids.unsafeMemoryAccess(i));\n        }\n\n        return batchBalances;\n    }\n\n    /// @inheritdoc IERC1155\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /// @inheritdoc IERC1155\n    function isApprovedForAll(address account, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[account][operator];\n    }\n\n    /// @inheritdoc IERC1155\n    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) public virtual {\n        _checkAuthorized(_msgSender(), from);\n        _safeTransferFrom(from, to, id, value, data);\n    }\n\n    /// @inheritdoc IERC1155\n    function safeBatchTransferFrom(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) public virtual {\n        _checkAuthorized(_msgSender(), from);\n        _safeBatchTransferFrom(from, to, ids, values, data);\n    }\n\n    /// @dev Checks if `operator` is authorized to transfer tokens owned by `owner`. Reverts with {ERC1155MissingApprovalForAll} if not.\n    function _checkAuthorized(address operator, address owner) internal view virtual {\n        if (owner != operator && !isApprovedForAll(owner, operator)) {\n            revert ERC1155MissingApprovalForAll(operator, owner);\n        }\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`. Will mint (or burn) if `from`\n     * (or `to`) is the zero address.\n     *\n     * Emits a {TransferSingle} event if the arrays contain one element, and {TransferBatch} otherwise.\n     *\n     * Requirements:\n     *\n     * - If `to` refers to a smart contract, it must implement either {IERC1155Receiver-onERC1155Received}\n     *   or {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value.\n     * - `ids` and `values` must have the same length.\n     *\n     * NOTE: The ERC-1155 acceptance check is not performed in this function. See {_updateWithAcceptanceCheck} instead.\n     */\n    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal virtual {\n        if (ids.length != values.length) {\n            revert ERC1155InvalidArrayLength(ids.length, values.length);\n        }\n\n        address operator = _msgSender();\n\n        for (uint256 i = 0; i < ids.length; ++i) {\n            uint256 id = ids.unsafeMemoryAccess(i);\n            uint256 value = values.unsafeMemoryAccess(i);\n\n            if (from != address(0)) {\n                uint256 fromBalance = _balances[id][from];\n                if (fromBalance < value) {\n                    revert ERC1155InsufficientBalance(from, fromBalance, value, id);\n                }\n                unchecked {\n                    // Overflow not possible: value <= fromBalance\n                    _balances[id][from] = fromBalance - value;\n                }\n            }\n\n            if (to != address(0)) {\n                _balances[id][to] += value;\n            }\n        }\n\n        if (ids.length == 1) {\n            uint256 id = ids.unsafeMemoryAccess(0);\n            uint256 value = values.unsafeMemoryAccess(0);\n            emit TransferSingle(operator, from, to, id, value);\n        } else {\n            emit TransferBatch(operator, from, to, ids, values);\n        }\n    }\n\n    /**\n     * @dev Version of {_update} that performs the token acceptance check by calling\n     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it\n     * contains code (eg. is a smart contract at the moment of execution).\n     *\n     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any\n     * update to the contract state after this function would break the check-effect-interaction pattern. Consider\n     * overriding {_update} instead.\n     *\n     * NOTE: This version is kept for backward compatibility. We recommend calling the alternative version with a boolean\n     * flag in order to achieve better control over which hook to call.\n     */\n    function _updateWithAcceptanceCheck(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) internal virtual {\n        _updateWithAcceptanceCheck(from, to, ids, values, data, ids.length != 1);\n    }\n\n    /**\n     * @dev Version of {_update} that performs the token acceptance check by calling\n     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it\n     * contains code (eg. is a smart contract at the moment of execution).\n     *\n     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any\n     * update to the contract state after this function would break the check-effect-interaction pattern. Consider\n     * overriding {_update} instead.\n     */\n    function _updateWithAcceptanceCheck(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data,\n        bool batch\n    ) internal virtual {\n        _update(from, to, ids, values);\n        if (to != address(0)) {\n            address operator = _msgSender();\n            if (batch) {\n                ERC1155Utils.checkOnERC1155BatchReceived(operator, from, to, ids, values, data);\n            } else {\n                uint256 id = ids.unsafeMemoryAccess(0);\n                uint256 value = values.unsafeMemoryAccess(0);\n                ERC1155Utils.checkOnERC1155Received(operator, from, to, id, value, data);\n            }\n        }\n    }\n\n    /**\n     * @dev Transfers a `value` tokens of token type `id` from `from` to `to`.\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `from` must have a balance of tokens of type `id` of at least `value` amount.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n     * acceptance magic value.\n     */\n    function _safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);\n        _updateWithAcceptanceCheck(from, to, ids, values, data, false);\n    }\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.\n     *\n     * Emits a {TransferBatch} event.\n     *\n     * Requirements:\n     *\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n     * acceptance magic value.\n     * - `ids` and `values` must have the same length.\n     */\n    function _safeBatchTransferFrom(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        _updateWithAcceptanceCheck(from, to, ids, values, data, true);\n    }\n\n    /**\n     * @dev Sets a new URI for all token types, by relying on the token type ID\n     * substitution mechanism\n     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the ERC].\n     *\n     * By this mechanism, any occurrence of the `\\{id\\}` substring in either the\n     * URI or any of the values in the JSON file at said URI will be replaced by\n     * clients with the token type ID.\n     *\n     * For example, the `https://token-cdn-domain/\\{id\\}.json` URI would be\n     * interpreted by clients as\n     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`\n     * for token type ID 0x4cce0.\n     *\n     * See {uri}.\n     *\n     * Because these URIs cannot be meaningfully represented by the {URI} event,\n     * this function emits no events.\n     */\n    function _setURI(string memory newuri) internal virtual {\n        _uri = newuri;\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens of type `id`, and assigns them to `to`.\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n     * acceptance magic value.\n     */\n    function _mint(address to, uint256 id, uint256 value, bytes memory data) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);\n        _updateWithAcceptanceCheck(address(0), to, ids, values, data, false);\n    }\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.\n     *\n     * Emits a {TransferBatch} event.\n     *\n     * Requirements:\n     *\n     * - `ids` and `values` must have the same length.\n     * - `to` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n     * acceptance magic value.\n     */\n    function _mintBatch(address to, uint256[] memory ids, uint256[] memory values, bytes memory data) internal {\n        if (to == address(0)) {\n            revert ERC1155InvalidReceiver(address(0));\n        }\n        _updateWithAcceptanceCheck(address(0), to, ids, values, data, true);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens of type `id` from `from`\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `from` must have at least `value` amount of tokens of type `id`.\n     */\n    function _burn(address from, uint256 id, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);\n        _updateWithAcceptanceCheck(from, address(0), ids, values, \"\", false);\n    }\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.\n     *\n     * Emits a {TransferBatch} event.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `from` must have at least `value` amount of tokens of type `id`.\n     * - `ids` and `values` must have the same length.\n     */\n    function _burnBatch(address from, uint256[] memory ids, uint256[] memory values) internal {\n        if (from == address(0)) {\n            revert ERC1155InvalidSender(address(0));\n        }\n        _updateWithAcceptanceCheck(from, address(0), ids, values, \"\", true);\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Emits an {ApprovalForAll} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `operator` cannot be the zero address.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (owner == address(0)) {\n            revert ERC1155InvalidApprover(address(0));\n        }\n        if (operator == address(0)) {\n            revert ERC1155InvalidOperator(address(0));\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Creates an array in memory with only one value for each of the elements provided.\n     */\n    function _asSingletonArrays(\n        uint256 element1,\n        uint256 element2\n    ) private pure returns (uint256[] memory array1, uint256[] memory array2) {\n        assembly (\"memory-safe\") {\n            // Load the free memory pointer\n            array1 := mload(0x40)\n            // Set array length to 1\n            mstore(array1, 1)\n            // Store the single element at the next word after the length (where content starts)\n            mstore(add(array1, 0x20), element1)\n\n            // Repeat for next array locating it right after the first array\n            array2 := add(array1, 0x40)\n            mstore(array2, 1)\n            mstore(add(array2, 0x20), element2)\n\n            // Update the free memory pointer by pointing after the second array\n            mstore(0x40, add(array2, 0x40))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // Formula from the \"Bit Twiddling Hacks\" by Sean Eron Anderson.\n            // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,\n            // taking advantage of the most significant (or \"sign\" bit) in two's complement representation.\n            // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,\n            // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).\n            int256 mask = n >> 255;\n\n            // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.\n            return uint256((n + mask) ^ mask);\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/IERC1155.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-1155 compliant contract, as defined in the\n * https://eips.ethereum.org/EIPS/eip-1155[ERC].\n */\ninterface IERC1155 is IERC165 {\n    /**\n     * @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.\n     */\n    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\n\n    /**\n     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\n     * transfers.\n     */\n    event TransferBatch(\n        address indexed operator,\n        address indexed from,\n        address indexed to,\n        uint256[] ids,\n        uint256[] values\n    );\n\n    /**\n     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\n     * `approved`.\n     */\n    event ApprovalForAll(address indexed account, address indexed operator, bool approved);\n\n    /**\n     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\n     *\n     * If an {URI} event was emitted for `id`, the standard\n     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\n     * returned by {IERC1155MetadataURI-uri}.\n     */\n    event URI(string value, uint256 indexed id);\n\n    /**\n     * @dev Returns the value of tokens of token type `id` owned by `account`.\n     */\n    function balanceOf(address account, uint256 id) external view returns (uint256);\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\n     *\n     * Requirements:\n     *\n     * - `accounts` and `ids` must have the same length.\n     */\n    function balanceOfBatch(\n        address[] calldata accounts,\n        uint256[] calldata ids\n    ) external view returns (uint256[] memory);\n\n    /**\n     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\n     *\n     * Emits an {ApprovalForAll} event.\n     *\n     * Requirements:\n     *\n     * - `operator` cannot be the zero address.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\n     *\n     * See {setApprovalForAll}.\n     */\n    function isApprovedForAll(address account, address operator) external view returns (bool);\n\n    /**\n     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.\n     *\n     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens\n     * to an untrusted contract, when invoking {IERC1155Receiver-onERC1155Received} on the receiver.\n     * Ensure to follow the checks-effects-interactions pattern and consider employing\n     * reentrancy guards when interacting with untrusted contracts.\n     *\n     * Emits a {TransferSingle} event.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.\n     * - `from` must have a balance of tokens of type `id` of at least `value` amount.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\n     * acceptance magic value.\n     */\n    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;\n\n    /**\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\n     *\n     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens\n     * to an untrusted contract, when invoking {IERC1155Receiver-onERC1155BatchReceived} on the receiver.\n     * Ensure to follow the checks-effects-interactions pattern and consider employing\n     * reentrancy guards when interacting with untrusted contracts.\n     *\n     * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.\n     *\n     * Requirements:\n     *\n     * - `ids` and `values` must have the same length.\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\n     * acceptance magic value.\n     */\n    function safeBatchTransferFrom(\n        address from,\n        address to,\n        uint256[] calldata ids,\n        uint256[] calldata values,\n        bytes calldata data\n    ) external;\n}\n"},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (utils/cryptography/ECDSA.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n *\n * These functions can be used to verify that a message was signed by the holder\n * of the private keys of a given address.\n */\nlibrary ECDSA {\n    enum RecoverError {\n        NoError,\n        InvalidSignature,\n        InvalidSignatureLength,\n        InvalidSignatureS\n    }\n\n    /**\n     * @dev The signature is invalid.\n     */\n    error ECDSAInvalidSignature();\n\n    /**\n     * @dev The signature has an invalid length.\n     */\n    error ECDSAInvalidSignatureLength(uint256 length);\n\n    /**\n     * @dev The signature has an S value that is in the upper half order.\n     */\n    error ECDSAInvalidSignatureS(bytes32 s);\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n     * return address(0) without also returning an error description. Errors are documented using an enum (error type)\n     * and a bytes32 providing additional information about the error.\n     *\n     * If no error is returned, then the address can be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     *\n     * Documentation for signature generation:\n     *\n     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes memory signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, and the only way to get them\n            // currently is to use assembly.\n            assembly (\"memory-safe\") {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Variant of {tryRecover} that takes a signature in calldata\n     */\n    function tryRecoverCalldata(\n        bytes32 hash,\n        bytes calldata signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, calldata slices would work here, but are\n            // significantly more expensive (length check) than using calldataload in assembly.\n            assembly (\"memory-safe\") {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with\n     * `signature`. This address can then be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     */\n    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Variant of {recover} that takes a signature in calldata\n     */\n    function recoverCalldata(bytes32 hash, bytes calldata signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecoverCalldata(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n     *\n     * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes32 r,\n        bytes32 vs\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        unchecked {\n            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n            // We do not check for an overflow here since the shift operation results in 0 or 1.\n            uint8 v = uint8((uint256(vs) >> 255) + 27);\n            return tryRecover(hash, v, r, s);\n        }\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately.\n     */\n    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function tryRecover(\n        bytes32 hash,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\n        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\n        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\n        // signatures from current libraries generate a unique signature with an s-value in the lower half order.\n        //\n        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\n        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\n        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\n        // these malleable signatures as well.\n        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\n            return (address(0), RecoverError.InvalidSignatureS, s);\n        }\n\n        // If the signature is valid (and not malleable), return the signer address\n        address signer = ecrecover(hash, v, r, s);\n        if (signer == address(0)) {\n            return (address(0), RecoverError.InvalidSignature, bytes32(0));\n        }\n\n        return (signer, RecoverError.NoError, bytes32(0));\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Parse a signature into its `v`, `r` and `s` components. Supports 65-byte and 64-byte (ERC-2098)\n     * formats. Returns (0,0,0) for invalid signatures.\n     *\n     * For 64-byte signatures, `v` is automatically normalized to 27 or 28.\n     * For 65-byte signatures, `v` is returned as-is and MUST already be 27 or 28 for use with ecrecover.\n     *\n     * Consider validating the result before use, or use {tryRecover}/{recover} which perform full validation.\n     */\n    function parse(bytes memory signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch mload(signature)\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := mload(add(signature, 0x40))\n                r := mload(add(signature, 0x20))\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Variant of {parse} that takes a signature in calldata\n     */\n    function parseCalldata(bytes calldata signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch signature.length\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := calldataload(add(signature.offset, 0x20))\n                r := calldataload(signature.offset)\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\n     */\n    function _throwError(RecoverError error, bytes32 errorArg) private pure {\n        if (error == RecoverError.NoError) {\n            return; // no error: do nothing\n        } else if (error == RecoverError.InvalidSignature) {\n            revert ECDSAInvalidSignature();\n        } else if (error == RecoverError.InvalidSignatureLength) {\n            revert ECDSAInvalidSignatureLength(uint256(errorArg));\n        } else if (error == RecoverError.InvalidSignatureS) {\n            revert ECDSAInvalidSignatureS(errorArg);\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/draft-IERC6093.sol)\n\npragma solidity >=0.8.4;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/IERC1155Receiver.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface that must be implemented by smart contracts in order to receive\n * ERC-1155 token transfers.\n */\ninterface IERC1155Receiver is IERC165 {\n    /**\n     * @dev Handles the receipt of a single ERC-1155 token type. This function is\n     * called at the end of a `safeTransferFrom` after the balance has been updated.\n     *\n     * NOTE: To accept the transfer, this must return\n     * `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n     * (i.e. 0xf23a6e61, or its own function selector).\n     *\n     * @param operator The address which initiated the transfer (i.e. msg.sender)\n     * @param from The address which previously owned the token\n     * @param id The ID of the token being transferred\n     * @param value The amount of tokens being transferred\n     * @param data Additional data with no specified format\n     * @return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed\n     */\n    function onERC1155Received(\n        address operator,\n        address from,\n        uint256 id,\n        uint256 value,\n        bytes calldata data\n    ) external returns (bytes4);\n\n    /**\n     * @dev Handles the receipt of a multiple ERC-1155 token types. This function\n     * is called at the end of a `safeBatchTransferFrom` after the balances have\n     * been updated.\n     *\n     * NOTE: To accept the transfer(s), this must return\n     * `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n     * (i.e. 0xbc197c81, or its own function selector).\n     *\n     * @param operator The address which initiated the batch transfer (i.e. msg.sender)\n     * @param from The address which previously owned the token\n     * @param ids An array containing ids of each token being transferred (order and length must match values array)\n     * @param values An array containing amounts of each token being transferred (order and length must match ids array)\n     * @param data Additional data with no specified format\n     * @return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed\n     */\n    function onERC1155BatchReceived(\n        address operator,\n        address from,\n        uint256[] calldata ids,\n        uint256[] calldata values,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC721/utils/ERC721Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721Receiver} from \"../IERC721Receiver.sol\";\nimport {IERC721Errors} from \"../../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Library that provides common ERC-721 utility functions.\n *\n * See https://eips.ethereum.org/EIPS/eip-721[ERC-721].\n *\n * _Available since v5.1._\n */\nlibrary ERC721Utils {\n    /**\n     * @dev Performs an acceptance check for the provided `operator` by calling {IERC721Receiver-onERC721Received}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC721Received(\n        address operator,\n        address from,\n        address to,\n        uint256 tokenId,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) returns (bytes4 retval) {\n                if (retval != IERC721Receiver.onERC721Received.selector) {\n                    // Token rejected\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC721Receiver implementer\n                    revert IERC721Errors.ERC721InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(reason, 0x20), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/utils/ERC1155Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC1155Receiver} from \"../IERC1155Receiver.sol\";\nimport {IERC1155Errors} from \"../../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Library that provide common ERC-1155 utility functions.\n *\n * See https://eips.ethereum.org/EIPS/eip-1155[ERC-1155].\n *\n * _Available since v5.1._\n */\nlibrary ERC1155Utils {\n    /**\n     * @dev Performs an acceptance check for the provided `operator` by calling {IERC1155Receiver-onERC1155Received}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC1155Received(\n        address operator,\n        address from,\n        address to,\n        uint256 id,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC1155Receiver(to).onERC1155Received(operator, from, id, value, data) returns (bytes4 response) {\n                if (response != IERC1155Receiver.onERC1155Received.selector) {\n                    // Tokens rejected\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC1155Receiver implementer\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(reason, 0x20), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n\n    /**\n     * @dev Performs a batch acceptance check for the provided `operator` by calling {IERC1155Receiver-onERC1155BatchReceived}\n     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n     *\n     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n     * Otherwise, the recipient must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value to accept\n     * the transfer.\n     */\n    function checkOnERC1155BatchReceived(\n        address operator,\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values,\n        bytes memory data\n    ) internal {\n        if (to.code.length > 0) {\n            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, values, data) returns (\n                bytes4 response\n            ) {\n                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {\n                    // Tokens rejected\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    // non-IERC1155Receiver implementer\n                    revert IERC1155Errors.ERC1155InvalidReceiver(to);\n                } else {\n                    assembly (\"memory-safe\") {\n                        revert(add(reason, 0x20), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)\n\npragma solidity ^0.8.24;\n\nimport {ERC1155} from \"../ERC1155.sol\";\nimport {Arrays} from \"../../../utils/Arrays.sol\";\n\n/**\n * @dev Extension of ERC-1155 that adds tracking of total supply per id.\n *\n * Useful for scenarios where Fungible and Non-fungible tokens have to be\n * clearly identified. Note: While a `totalSupply` of 1 may mean the\n * corresponding token is an NFT, there are no inherent guarantees that\n * no more tokens with the same id will be minted in future.\n *\n * NOTE: This contract implies a global limit of 2**256 - 1 to the number of tokens\n * that can be minted.\n *\n * CAUTION: This extension should not be added in an upgrade to an already deployed contract.\n */\nabstract contract ERC1155Supply is ERC1155 {\n    using Arrays for uint256[];\n\n    mapping(uint256 id => uint256) private _totalSupply;\n    uint256 private _totalSupplyAll;\n\n    /**\n     * @dev Total value of tokens with a given id.\n     */\n    function totalSupply(uint256 id) public view virtual returns (uint256) {\n        return _totalSupply[id];\n    }\n\n    /**\n     * @dev Total value of tokens.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupplyAll;\n    }\n\n    /**\n     * @dev Indicates whether any tokens exist with a given id, or not.\n     */\n    function exists(uint256 id) public view virtual returns (bool) {\n        return totalSupply(id) > 0;\n    }\n\n    /// @inheritdoc ERC1155\n    function _update(\n        address from,\n        address to,\n        uint256[] memory ids,\n        uint256[] memory values\n    ) internal virtual override {\n        super._update(from, to, ids, values);\n\n        if (from == address(0)) {\n            uint256 totalMintValue = 0;\n            for (uint256 i = 0; i < ids.length; ++i) {\n                uint256 value = values.unsafeMemoryAccess(i);\n                // Overflow check required: The rest of the code assumes that totalSupply never overflows\n                _totalSupply[ids.unsafeMemoryAccess(i)] += value;\n                totalMintValue += value;\n            }\n            // Overflow check required: The rest of the code assumes that totalSupplyAll never overflows\n            _totalSupplyAll += totalMintValue;\n        }\n\n        if (to == address(0)) {\n            uint256 totalBurnValue = 0;\n            for (uint256 i = 0; i < ids.length; ++i) {\n                uint256 value = values.unsafeMemoryAccess(i);\n\n                unchecked {\n                    // Overflow not possible: values[i] <= balanceOf(from, ids[i]) <= totalSupply(ids[i])\n                    _totalSupply[ids.unsafeMemoryAccess(i)] -= value;\n                    // Overflow not possible: sum_i(values[i]) <= sum_i(totalSupply(ids[i])) <= totalSupplyAll\n                    totalBurnValue += value;\n                }\n            }\n            unchecked {\n                // Overflow not possible: totalBurnValue = sum_i(values[i]) <= sum_i(totalSupply(ids[i])) <= totalSupplyAll\n                _totalSupplyAll -= totalBurnValue;\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC721} from \"../IERC721.sol\";\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC1155/extensions/IERC1155MetadataURI.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC1155} from \"../IERC1155.sol\";\n\n/**\n * @dev Interface of the optional ERC1155MetadataExtension interface, as defined\n * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[ERC].\n */\ninterface IERC1155MetadataURI is IERC1155 {\n    /**\n     * @dev Returns the URI for token type `id`.\n     *\n     * If the `\\{id\\}` substring is present in the URI, it must be replaced by\n     * clients with the actual token type ID.\n     */\n    function uri(uint256 id) external view returns (string memory);\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/"]}},"stdJsonOutput":{"sources":{"contracts/HashDroidsPhase3.sol":{"id":6},"contracts/HashDroidsPatents.sol":{"id":5},"contracts/HashDroidsElements.sol":{"id":2},"contracts/HashDroidsCrystalLib.sol":{"id":0},"contracts/HashDroidsEconomyLib.sol":{"id":1},"contracts/HashDroidsHarvestLib.sol":{"id":3},"contracts/HashDroidsTreasuryLib.sol":{"id":7},"contracts/HashDroidsPatentRenderer.sol":{"id":4},"node_modules/@openzeppelin/contracts/utils/Bytes.sol":{"id":24},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"id":27},"node_modules/@openzeppelin/contracts/utils/Arrays.sol":{"id":22},"node_modules/@openzeppelin/contracts/utils/Base64.sol":{"id":23},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"id":26},"node_modules/@openzeppelin/contracts/utils/Strings.sol":{"id":31},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"id":8},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"id":35},"node_modules/@openzeppelin/contracts/utils/Comparators.sol":{"id":25},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"id":30},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":16},"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol":{"id":17},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":36},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol":{"id":18},"node_modules/@openzeppelin/contracts/utils/SlotDerivation.sol":{"id":29},"node_modules/@openzeppelin/contracts/token/ERC1155/ERC1155.sol":{"id":10},"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":28},"node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol":{"id":37},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155.sol":{"id":11},"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"id":32},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":9},"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol":{"id":33},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":34},"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"id":19},"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol":{"id":12},"node_modules/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"id":21},"node_modules/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol":{"id":15},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol":{"id":13},"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"id":20},"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol":{"id":14}},"contracts":{"contracts/HashDroidsPhase3.sol":{"HashDroidsPhase3":{"abi":[{"type":"constructor","inputs":[{"name":"_seasonId","type":"uint256","internalType":"uint256"},{"name":"_gen1Droids","type":"address","internalType":"address"},{"name":"_phase2Titans","type":"address","internalType":"address"},{"name":"_operatorPass","type":"address","internalType":"address"},{"name":"_primaToken","type":"address","internalType":"address"},{"name":"_patentRenderer","type":"address","internalType":"address"},{"name":"_founderWallet","type":"address","internalType":"address"},{"name":"_ecosystemVaultWallet","type":"address","internalType":"address"},{"name":"_flapCurveMarket","type":"address","internalType":"address"},{"name":"_initialVerifierSigner","type":"address","internalType":"address"},{"name":"_relayerGasReceiver","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"AttemptNotCommitted","type":"error","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}]},{"name":"AttemptNotPending","type":"error","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"currentStatus","type":"uint8","internalType":"enum HashDroidsPhase3.AttemptStatus"}]},{"name":"CancelTimeoutNotReached","type":"error","inputs":[{"name":"currentBlock","type":"uint256","internalType":"uint256"},{"name":"timeoutBlock","type":"uint256","internalType":"uint256"}]},{"name":"CommitAlreadyResolved","type":"error","inputs":[]},{"name":"CommitNotReady","type":"error","inputs":[{"name":"currentBlock","type":"uint256","internalType":"uint256"},{"name":"requiredBlock","type":"uint256","internalType":"uint256"}]},{"name":"DailyGlobalDiscoveryLimitReached","type":"error","inputs":[{"name":"limit","type":"uint256","internalType":"uint256"}]},{"name":"DailyPassDiscoveryLimitReached","type":"error","inputs":[{"name":"limit","type":"uint256","internalType":"uint256"}]},{"name":"ECDSAInvalidSignature","type":"error","inputs":[]},{"name":"ECDSAInvalidSignatureLength","type":"error","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]},{"name":"ECDSAInvalidSignatureS","type":"error","inputs":[{"name":"s","type":"bytes32","internalType":"bytes32"}]},{"name":"EarlyBoxAlreadyOpened","type":"error","inputs":[]},{"name":"ElementAlreadyRegistered","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"}]},{"name":"ElementNotDiscovered","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"}]},{"name":"GlobalQueueFull","type":"error","inputs":[{"name":"currentPending","type":"uint256","internalType":"uint256"},{"name":"maxAllowed","type":"uint256","internalType":"uint256"}]},{"name":"IncompleteRecipeConfiguration","type":"error","inputs":[]},{"name":"IngredientNotDiscovered","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"}]},{"name":"InsufficientElementBalance","type":"error","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"required","type":"uint256","internalType":"uint256"},{"name":"available","type":"uint256","internalType":"uint256"}]},{"name":"InsufficientPayment","type":"error","inputs":[]},{"name":"InvalidCommitmentReveal","type":"error","inputs":[]},{"name":"InvalidInput","type":"error","inputs":[]},{"name":"InvalidKeyVersion","type":"error","inputs":[{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"minAccepted","type":"uint32","internalType":"uint32"}]},{"name":"InvalidVerifierSignature","type":"error","inputs":[]},{"name":"NotEligibleForEarlyBox","type":"error","inputs":[]},{"name":"NotPassOwner","type":"error","inputs":[]},{"name":"NothingToClaim","type":"error","inputs":[]},{"name":"NothingToHarvest","type":"error","inputs":[]},{"name":"OutOfOrderAttempt","type":"error","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PassAlreadyHasPendingAttempt","type":"error","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"pendingAttemptId","type":"uint256","internalType":"uint256"}]},{"name":"RecipesAlreadyLocked","type":"error","inputs":[]},{"name":"RecipesNotLocked","type":"error","inputs":[]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"ResearchPaused","type":"error","inputs":[]},{"name":"ResultCommitmentMismatch","type":"error","inputs":[]},{"name":"SingularityAlreadyForged","type":"error","inputs":[]},{"name":"TierLocked","type":"error","inputs":[{"name":"tier","type":"uint256","internalType":"uint256"}]},{"name":"TransferFailed","type":"error","inputs":[]},{"name":"WindowAdmissionLimitReached","type":"error","inputs":[{"name":"windowId","type":"uint256","internalType":"uint256"},{"name":"maxPerWindow","type":"uint256","internalType":"uint256"}]},{"name":"ChestCommitCreated","type":"event","inputs":[{"name":"chestCommitId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"unlockBlock","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"CrystalPrimaClaimed","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"primaAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DeterministicCraftExecuted","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"sortedSlots","type":"uint256[4]","indexed":false,"internalType":"uint256[4]"},{"name":"chestAwarded","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"EarlySupplyBoxOpened","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"crucibleBoundGrantedEach","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementDiscovered","type":"event","inputs":[{"name":"inventor","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"attemptId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"elementName","type":"string","indexed":false,"internalType":"string"},{"name":"symbol","type":"string","indexed":false,"internalType":"string"},{"name":"tier","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"slots","type":"uint256[4]","indexed":false,"internalType":"uint256[4]"}],"anonymous":false},{"name":"ElementListedP2P","type":"event","inputs":[{"name":"listingId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seller","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"units","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"pricePerUnitBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementMarketPurchase","type":"event","inputs":[{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"units","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBnbCost","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"inventorRecipient","type":"address","indexed":false,"internalType":"address"},{"name":"inventorRoyalty","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementSoldP2P","type":"event","inputs":[{"name":"listingId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"units","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ElementTransfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"elementId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FleetExtractorsHarvested","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"baseUnitsTotal","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"entropyUnits","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"QueueParametersUpdated","type":"event","inputs":[{"name":"maxPendingGlobal","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"maxPerWindow","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"windowBlocks","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"cancelTimeoutBlocks","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"researchFeeBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ResearchAttemptAdmitted","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"seasonId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"sortedSlots","type":"uint256[4]","indexed":false,"internalType":"uint256[4]"},{"name":"submittedBlock","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"ResearchAttemptSettled","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"passId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"finalStatus","type":"uint8","indexed":false,"internalType":"enum HashDroidsPhase3.AttemptStatus"},{"name":"elementId","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"chestAwarded","type":"bool","indexed":false,"internalType":"bool"},{"name":"relayer","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"ResearchResultCommitted","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"resultCommitment","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"keyVersion","type":"uint32","indexed":false,"internalType":"uint32"}],"anonymous":false},{"name":"ResearchResultRecovered","type":"event","inputs":[{"name":"attemptId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"oldCommitment","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"newCommitment","type":"bytes32","indexed":false,"internalType":"bytes32"},{"name":"oldKeyVersion","type":"uint32","indexed":false,"internalType":"uint32"},{"name":"newKeyVersion","type":"uint32","indexed":false,"internalType":"uint32"}],"anonymous":false},{"name":"RoyaltiesClaimed","type":"event","inputs":[{"name":"holder","type":"address","indexed":true,"internalType":"address"},{"name":"bnbAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SingularityReached","type":"event","inputs":[{"name":"architect","type":"address","indexed":true,"internalType":"address"},{"name":"architectPrizeBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"ecosystemVaultCutBnb","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"patentBonusBnb","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SupplyPackPurchased","type":"event","inputs":[{"name":"buyer","type":"address","indexed":true,"internalType":"address"},{"name":"packCount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalBnbCost","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"SynthesisChestOpened","type":"event","inputs":[{"name":"player","type":"address","indexed":true,"internalType":"address"},{"name":"chestCommitId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"crystalTierRolled","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"crystalSharesGranted","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"bonusElementId","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"VerifierKeyRotated","type":"event","inputs":[{"name":"keyVersion","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"signer","type":"address","indexed":true,"internalType":"address"},{"name":"minAcceptedVersion","type":"uint32","indexed":false,"internalType":"uint32"}],"anonymous":false},{"name":"activePendingAttemptByPass","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"activePendingAttemptsCount","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"addRecipeCommitmentBatch","type":"function","inputs":[{"name":"ids","type":"uint256[]","internalType":"uint256[]"},{"name":"tiers","type":"uint256[]","internalType":"uint256[]"},{"name":"names","type":"string[]","internalType":"string[]"},{"name":"symbols","type":"string[]","internalType":"string[]"},{"name":"commitmentHashes","type":"bytes32[]","internalType":"bytes32[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"admissionWindowBlocks","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"advanceResearchQueue","type":"function","inputs":[{"name":"maxSteps","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"attemptCancelTimeoutBlocks","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"buyDiscoveredElement","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"buyElementP2P","type":"function","inputs":[{"name":"listingId","type":"uint256","internalType":"uint256"},{"name":"unitsToBuy","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"buySupplyPackBnb","type":"function","inputs":[{"name":"packCount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"cancelExpiredAttempt","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancelListingP2P","type":"function","inputs":[{"name":"listingId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"chestCommits","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"player","type":"address","internalType":"address"},{"name":"unlockBlock","type":"uint64","internalType":"uint64"},{"name":"resolved","type":"bool","internalType":"bool"}],"internalType":"struct HashDroidsCrystalLib.PendingChestCommit"}],"stateMutability":"view"},{"name":"claimCrystalPrimaRewards","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimPatentRoyalties","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimableRoyaltiesBnb","type":"function","inputs":[{"name":"holder","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"commitOpenSynthesisChest","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"commitResearchResult","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"resultCommitment","type":"bytes32","internalType":"bytes32"},{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"committedResearchResults","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"computeCommitmentHash","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"rawSlots","type":"uint256[4]","internalType":"uint256[4]"},{"name":"secretElementSalt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"computeResultCommitment","type":"function","inputs":[{"name":"isSuccess","type":"bool","internalType":"bool"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"resultSalt","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"pure"},{"name":"craftDiscoveredElement","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"slotElementIds","type":"uint256[4]","internalType":"uint256[4]"}],"outputs":[{"name":"craftedElementId","type":"uint256","internalType":"uint256"},{"name":"chestAwarded","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"crucibleBoundBalance","type":"function","inputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"currentVerifierKeyVersion","type":"function","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"dailyGlobalDiscoveries","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"dailyPassChests","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"dailyPassDiscoveries","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"discoveries","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"inventor","type":"address","internalType":"address"},{"name":"inventorPassId","type":"uint256","internalType":"uint256"},{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"timestamp","type":"uint256","internalType":"uint256"},{"name":"revealedSalt","type":"bytes32","internalType":"bytes32"},{"name":"discovered","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"earlyBoxOpened","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"ecosystemVaultBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"ecosystemVaultWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"elementBalance","type":"function","inputs":[{"name":"player","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"elementChestClaims","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"elementCollection","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract HashDroidsElements"}],"stateMutability":"view"},{"name":"elementMeta","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"elementName","type":"string","internalType":"string"},{"name":"symbol","type":"string","internalType":"string"},{"name":"tier","type":"uint256","internalType":"uint256"},{"name":"commitmentHash","type":"bytes32","internalType":"bytes32"},{"name":"registered","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"elementTotalSupply","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"flapCurveMarket","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"flushEcosystemVaultBnb","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"flushPrimaBuybackBnb","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"founderWallet","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"gen1DroidHarvestCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getResearchAttempt","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"seasonId","type":"uint256","internalType":"uint256"},{"name":"player","type":"address","internalType":"address"},{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"sortedSlots","type":"uint256[4]","internalType":"uint256[4]"},{"name":"lockedFromCrucibleBound","type":"uint8[4]","internalType":"uint8[4]"},{"name":"submittedBlock","type":"uint64","internalType":"uint64"},{"name":"submittedTimestamp","type":"uint64","internalType":"uint64"},{"name":"minKeyVersion","type":"uint32","internalType":"uint32"},{"name":"status","type":"uint8","internalType":"enum HashDroidsPhase3.AttemptStatus"}],"internalType":"struct HashDroidsPhase3.ResearchAttempt"}],"stateMutability":"view"},{"name":"harvestFleetExtractors","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"gen1TokenIds","type":"uint256[]","internalType":"uint256[]"},{"name":"titanTokenIds","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"injectPrimaIntoStakingPool","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"known4SlotRecipeToElementId","type":"function","inputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lastGen1DroidHarvestTime","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"lastTitanHarvestTime","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"listElementP2P","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"},{"name":"pricePerUnitBnb","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"lockRecipesForever","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"marketListings","type":"function","inputs":[{"name":"listingId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"seller","type":"address","internalType":"address"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"},{"name":"pricePerUnitBnb","type":"uint256","internalType":"uint256"},{"name":"active","type":"bool","internalType":"bool"}],"internalType":"struct HashDroidsEconomyLib.MarketListing"}],"stateMutability":"view"},{"name":"marketUnitsSold","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxAdmissionsPerWindow","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxPendingAttemptsGlobal","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"minAcceptedVerifierKeyVersion","type":"function","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"nextAttemptToSettle","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"openGenesisSupplyBox","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"operatorPass","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IHashDroidsOperatorPass"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"ownerOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"passHasClaimedElementChest","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"patentCollection","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract HashDroidsPatents"}],"stateMutability":"view"},{"name":"patentTotalRoyaltiesEarned","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"pendingCrystalPrima","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"primaBuybackReserveBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"primaToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"quoteBuyDiscoveredElement","type":"function","inputs":[{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"units","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"totalBnbCost","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"recipesLockedForever","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"recoverCommittedResearchResult","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"resultCommitment","type":"bytes32","internalType":"bytes32"},{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"relayerGasReceiver","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"researchGasFeeBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"researchPaused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"revealSynthesisChest","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"rotateVerifierKey","type":"function","inputs":[{"name":"newSigner","type":"address","internalType":"address"},{"name":"newMinAcceptedVersion","type":"uint32","internalType":"uint32"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"seasonId","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"setQueueParameters","type":"function","inputs":[{"name":"_maxPendingGlobal","type":"uint256","internalType":"uint256"},{"name":"_maxPerWindow","type":"uint256","internalType":"uint256"},{"name":"_windowBlocks","type":"uint256","internalType":"uint256"},{"name":"_cancelTimeoutBlocks","type":"uint256","internalType":"uint256"},{"name":"_researchFeeBnb","type":"uint256","internalType":"uint256"},{"name":"_relayerGasReceiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setResearchPaused","type":"function","inputs":[{"name":"paused","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"settleResearchAttempt","type":"function","inputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"},{"name":"isSuccess","type":"bool","internalType":"bool"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"secretElementSalt","type":"bytes32","internalType":"bytes32"},{"name":"keyVersion","type":"uint32","internalType":"uint32"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"finalStatus","type":"uint8","internalType":"enum HashDroidsPhase3.AttemptStatus"},{"name":"chestAwarded","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"singularityArchitect","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"singularityJackpotBnb","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"singularityReached","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"submitResearchAttempt","type":"function","inputs":[{"name":"passId","type":"uint256","internalType":"uint256"},{"name":"slotElementIds","type":"uint256[4]","internalType":"uint256[4]"}],"outputs":[{"name":"attemptId","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"tierDiscoveredCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"tierTotalElements","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"titanHarvestCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"tokenURI","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalAttemptsSubmitted","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalBurnedAttempts","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalChestCommits","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalChestsOpened","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalCrystalShares","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalDiscoveries","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalEarlyBoxesOpened","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalMarketListings","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalPrimaDistributedToStakers","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferElement","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"elementId","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"undistributedPrimaRewards","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"userCrystalShares","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"verifierSignerByVersion","type":"function","inputs":[{"name":"","type":"uint32","internalType":"uint32"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"windowAdmissionCount","type":"function","inputs":[{"name":"","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_seasonId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_gen1Droids\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_phase2Titans\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_operatorPass\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_primaToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_patentRenderer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_founderWallet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_ecosystemVaultWallet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_flapCurveMarket\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_initialVerifierSigner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_relayerGasReceiver\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"}],\"name\":\"AttemptNotCommitted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"internalType\":\"enum HashDroidsPhase3.AttemptStatus\",\"name\":\"currentStatus\",\"type\":\"uint8\"}],\"name\":\"AttemptNotPending\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"currentBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timeoutBlock\",\"type\":\"uint256\"}],\"name\":\"CancelTimeoutNotReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommitAlreadyResolved\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"currentBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requiredBlock\",\"type\":\"uint256\"}],\"name\":\"CommitNotReady\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"DailyGlobalDiscoveryLimitReached\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"DailyPassDiscoveryLimitReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EarlyBoxAlreadyOpened\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"}],\"name\":\"ElementAlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"}],\"name\":\"ElementNotDiscovered\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"currentPending\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxAllowed\",\"type\":\"uint256\"}],\"name\":\"GlobalQueueFull\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncompleteRecipeConfiguration\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"}],\"name\":\"IngredientNotDiscovered\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"available\",\"type\":\"uint256\"}],\"name\":\"InsufficientElementBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientPayment\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCommitmentReveal\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInput\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"keyVersion\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"minAccepted\",\"type\":\"uint32\"}],\"name\":\"InvalidKeyVersion\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidVerifierSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEligibleForEarlyBox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPassOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NothingToClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NothingToHarvest\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"OutOfOrderAttempt\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pendingAttemptId\",\"type\":\"uint256\"}],\"name\":\"PassAlreadyHasPendingAttempt\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RecipesAlreadyLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RecipesNotLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ResearchPaused\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ResultCommitmentMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SingularityAlreadyForged\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tier\",\"type\":\"uint256\"}],\"name\":\"TierLocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"windowId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxPerWindow\",\"type\":\"uint256\"}],\"name\":\"WindowAdmissionLimitReached\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chestCommitId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"unlockBlock\",\"type\":\"uint64\"}],\"name\":\"ChestCommitCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"primaAmount\",\"type\":\"uint256\"}],\"name\":\"CrystalPrimaClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[4]\",\"name\":\"sortedSlots\",\"type\":\"uint256[4]\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"chestAwarded\",\"type\":\"bool\"}],\"name\":\"DeterministicCraftExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"crucibleBoundGrantedEach\",\"type\":\"uint256\"}],\"name\":\"EarlySupplyBoxOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"inventor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"elementName\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tier\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[4]\",\"name\":\"slots\",\"type\":\"uint256[4]\"}],\"name\":\"ElementDiscovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"units\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pricePerUnitBnb\",\"type\":\"uint256\"}],\"name\":\"ElementListedP2P\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"units\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBnbCost\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"inventorRecipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"inventorRoyalty\",\"type\":\"uint256\"}],\"name\":\"ElementMarketPurchase\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"units\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBnb\",\"type\":\"uint256\"}],\"name\":\"ElementSoldP2P\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ElementTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"baseUnitsTotal\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"entropyUnits\",\"type\":\"uint256\"}],\"name\":\"FleetExtractorsHarvested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxPendingGlobal\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxPerWindow\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"windowBlocks\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cancelTimeoutBlocks\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"researchFeeBnb\",\"type\":\"uint256\"}],\"name\":\"QueueParametersUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"seasonId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[4]\",\"name\":\"sortedSlots\",\"type\":\"uint256[4]\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"submittedBlock\",\"type\":\"uint64\"}],\"name\":\"ResearchAttemptAdmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enum HashDroidsPhase3.AttemptStatus\",\"name\":\"finalStatus\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"chestAwarded\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"ResearchAttemptSettled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"resultCommitment\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"keyVersion\",\"type\":\"uint32\"}],\"name\":\"ResearchResultCommitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"oldCommitment\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newCommitment\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"oldKeyVersion\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"newKeyVersion\",\"type\":\"uint32\"}],\"name\":\"ResearchResultRecovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bnbAmount\",\"type\":\"uint256\"}],\"name\":\"RoyaltiesClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"architect\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"architectPrizeBnb\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ecosystemVaultCutBnb\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"patentBonusBnb\",\"type\":\"uint256\"}],\"name\":\"SingularityReached\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"buyer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"packCount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalBnbCost\",\"type\":\"uint256\"}],\"name\":\"SupplyPackPurchased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chestCommitId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"crystalTierRolled\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"crystalSharesGranted\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bonusElementId\",\"type\":\"uint256\"}],\"name\":\"SynthesisChestOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"keyVersion\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"minAcceptedVersion\",\"type\":\"uint32\"}],\"name\":\"VerifierKeyRotated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activePendingAttemptByPass\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activePendingAttemptsCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"tiers\",\"type\":\"uint256[]\"},{\"internalType\":\"string[]\",\"name\":\"names\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"symbols\",\"type\":\"string[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"commitmentHashes\",\"type\":\"bytes32[]\"}],\"name\":\"addRecipeCommitmentBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admissionWindowBlocks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxSteps\",\"type\":\"uint256\"}],\"name\":\"advanceResearchQueue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"attemptCancelTimeoutBlocks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"units\",\"type\":\"uint256\"}],\"name\":\"buyDiscoveredElement\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unitsToBuy\",\"type\":\"uint256\"}],\"name\":\"buyElementP2P\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"packCount\",\"type\":\"uint256\"}],\"name\":\"buySupplyPackBnb\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"}],\"name\":\"cancelExpiredAttempt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"}],\"name\":\"cancelListingP2P\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"chestCommits\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"unlockBlock\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"resolved\",\"type\":\"bool\"}],\"internalType\":\"struct HashDroidsCrystalLib.PendingChestCommit\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimCrystalPrimaRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimPatentRoyalties\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"}],\"name\":\"claimableRoyaltiesBnb\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"commitOpenSynthesisChest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"resultCommitment\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"keyVersion\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"commitResearchResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"committedResearchResults\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[4]\",\"name\":\"rawSlots\",\"type\":\"uint256[4]\"},{\"internalType\":\"bytes32\",\"name\":\"secretElementSalt\",\"type\":\"bytes32\"}],\"name\":\"computeCommitmentHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"isSuccess\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"resultSalt\",\"type\":\"bytes32\"}],\"name\":\"computeResultCommitment\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[4]\",\"name\":\"slotElementIds\",\"type\":\"uint256[4]\"}],\"name\":\"craftDiscoveredElement\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"craftedElementId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"chestAwarded\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"crucibleBoundBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentVerifierKeyVersion\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"dailyGlobalDiscoveries\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"dailyPassChests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"dailyPassDiscoveries\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"discoveries\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"inventor\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"inventorPassId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"revealedSalt\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"discovered\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"earlyBoxOpened\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ecosystemVaultBnb\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ecosystemVaultWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"elementBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"elementChestClaims\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"elementCollection\",\"outputs\":[{\"internalType\":\"contract HashDroidsElements\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"elementMeta\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"elementName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"tier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"commitmentHash\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"registered\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"elementTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"flapCurveMarket\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"flushEcosystemVaultBnb\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"flushPrimaBuybackBnb\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"founderWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"gen1DroidHarvestCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"}],\"name\":\"getResearchAttempt\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"seasonId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[4]\",\"name\":\"sortedSlots\",\"type\":\"uint256[4]\"},{\"internalType\":\"uint8[4]\",\"name\":\"lockedFromCrucibleBound\",\"type\":\"uint8[4]\"},{\"internalType\":\"uint64\",\"name\":\"submittedBlock\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"submittedTimestamp\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"minKeyVersion\",\"type\":\"uint32\"},{\"internalType\":\"enum HashDroidsPhase3.AttemptStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"internalType\":\"struct HashDroidsPhase3.ResearchAttempt\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"gen1TokenIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"titanTokenIds\",\"type\":\"uint256[]\"}],\"name\":\"harvestFleetExtractors\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"injectPrimaIntoStakingPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"known4SlotRecipeToElementId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lastGen1DroidHarvestTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lastTitanHarvestTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"units\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pricePerUnitBnb\",\"type\":\"uint256\"}],\"name\":\"listElementP2P\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lockRecipesForever\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"listingId\",\"type\":\"uint256\"}],\"name\":\"marketListings\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"seller\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"units\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pricePerUnitBnb\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"active\",\"type\":\"bool\"}],\"internalType\":\"struct HashDroidsEconomyLib.MarketListing\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"marketUnitsSold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxAdmissionsPerWindow\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxPendingAttemptsGlobal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minAcceptedVerifierKeyVersion\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextAttemptToSettle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"}],\"name\":\"openGenesisSupplyBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"operatorPass\",\"outputs\":[{\"internalType\":\"contract IHashDroidsOperatorPass\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"passHasClaimedElementChest\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"patentCollection\",\"outputs\":[{\"internalType\":\"contract HashDroidsPatents\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"patentTotalRoyaltiesEarned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"pendingCrystalPrima\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"primaBuybackReserveBnb\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"primaToken\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"units\",\"type\":\"uint256\"}],\"name\":\"quoteBuyDiscoveredElement\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalBnbCost\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recipesLockedForever\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"resultCommitment\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"keyVersion\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"recoverCommittedResearchResult\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"relayerGasReceiver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"researchGasFeeBnb\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"researchPaused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"revealSynthesisChest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newSigner\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newMinAcceptedVersion\",\"type\":\"uint32\"}],\"name\":\"rotateVerifierKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"seasonId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxPendingGlobal\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxPerWindow\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_windowBlocks\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_cancelTimeoutBlocks\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_researchFeeBnb\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_relayerGasReceiver\",\"type\":\"address\"}],\"name\":\"setQueueParameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"name\":\"setResearchPaused\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isSuccess\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"secretElementSalt\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"keyVersion\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"settleResearchAttempt\",\"outputs\":[{\"internalType\":\"enum HashDroidsPhase3.AttemptStatus\",\"name\":\"finalStatus\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"chestAwarded\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"singularityArchitect\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"singularityJackpotBnb\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"singularityReached\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"passId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[4]\",\"name\":\"slotElementIds\",\"type\":\"uint256[4]\"}],\"name\":\"submitResearchAttempt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"attemptId\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tierDiscoveredCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tierTotalElements\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"titanHarvestCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAttemptsSubmitted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBurnedAttempts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalChestCommits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalChestsOpened\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalCrystalShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalDiscoveries\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalEarlyBoxesOpened\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalMarketListings\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalPrimaDistributedToStakers\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"elementId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferElement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"undistributedPrimaRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"userCrystalShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"name\":\"verifierSignerByVersion\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"windowAdmissionCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"Trust Assumption (Explicit per Audit Section 1):      - Plaintext recipes & 256-bit salts remain strictly offchain in the owner's private Verifier service.      - Successes (`isSuccess = true`) are verified onchain against immutable `commitmentHash` commitments AND        EIP-712 signature from the authorized `verifierSignerByVersion[keyVersion]`.      - Failures (`isSuccess = false`) are authorized via EIP-712 signature from the Verifier Signer (or        resolved via timeout cancellation after `attemptCancelTimeoutBlocks` if the Verifier is unreachable).      - Neither the Verifier Signer nor the Relayer can withdraw funds, alter recipes, or redirect prizes away        from the registered `attempt.player`.\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature is invalid.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}]},\"kind\":\"dev\",\"methods\":{\"cancelExpiredAttempt(uint256)\":{\"details\":\"Restores the exact 4 locked ingredients (`crucibleBound` vs `tradable`) to `attempt.player` and marks      status as `CANCELLED_TIMEOUT` so `settleResearchAttempt` can NEVER be called afterward (prevents double-refund + settlement).\"},\"commitResearchResult(uint256,bytes32,uint32,bytes)\":{\"details\":\"The worker MUST persist the full decision and wait for this transaction's confirmation before broadcasting      settlement. A committed attempt cannot time out: recovery requires the retained decision and an accepted key.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)\":{\"details\":\"Explicit recovery power: no refund, mint, reorder or owner change. Persist the new preimage before calling.      Revocation alone does not repair a bad commitment; the worker never invokes recovery automatically.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"rotateVerifierKey(address,uint32)\":{\"params\":{\"newMinAcceptedVersion\":\"Set equal to previous version for graceful rollover of in-flight attempts,                              or set to the new version to immediately revoke a compromised old key.\",\"newSigner\":\"The new Verifier Signer EOA.\"}},\"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)\":{\"details\":\"Quota exhaustion defers settlement until next UTC day; it NEVER refunds an exposed success.      Failure payloads must carry a fresh random nonzero salt, so the opaque commitment cannot identify failures.\"},\"submitResearchAttempt(uint256,uint256[4])\":{\"details\":\"Enforces:      1. Valid `.ai` Operator Pass ownership (`passId`).      2. If the 4-slot combination is ALREADY discovered, executes deterministic craft immediately (no queue work!).      3. At most 1 `PENDING` research attempt per `passId` (`activePendingAttemptByPass[passId] == 0`).      4. Global queue capacity (`activePendingAttemptsCount < maxPendingAttemptsGlobal`) & window rate limit.      5. Locks all 4 ingredients upfront and records whether each slot came from `crucibleBoundBalance` or `elementBalance`         so a PENDING timeout restores the exact same balance type.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"HashDroidsPhase3 — The Synthesis Nexus (V5 Committed Results & FIFO Queue Edition)\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"advanceResearchQueue(uint256)\":{\"notice\":\"Bounded progress through terminal queue entries. Anyone may call; no effects on pending decisions.\"},\"cancelExpiredAttempt(uint256)\":{\"notice\":\"Cancel only a PENDING attempt after `attemptCancelTimeoutBlocks`; committed decisions require operator recovery.\"},\"commitResearchResult(uint256,bytes32,uint32,bytes)\":{\"notice\":\"Anchor a private decision before revealing its signed plaintext. Only the FIFO head may commit.\"},\"computeCommitmentHash(uint256,uint256[4],bytes32)\":{\"notice\":\"Computes the season-bound 256-bit salted commitment hash for an element recipe.\"},\"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)\":{\"notice\":\"Owner and current verifier may jointly replace a decision signed by a REVOKED key.\"},\"rotateVerifierKey(address,uint32)\":{\"notice\":\"Rotate the Verifier Signer key to a new `currentVerifierKeyVersion + 1`.\"},\"setQueueParameters(uint256,uint256,uint256,uint256,uint256,address)\":{\"notice\":\"Adjust queue admission parameters within explicit hard-coded safety bounds (Audit Section 2 & 6).\"},\"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)\":{\"notice\":\"Resolve a confirmed private decision in FIFO order. Rewards belong to the admitted player.\"},\"submitResearchAttempt(uint256,uint256[4])\":{\"notice\":\"Admit a new 4-Slot Research Attempt into the onchain queue for private Verifier evaluation.\"}},\"notice\":\"Deterministic 4-Slot Alchemical Crucible with Private Verifier EIP-712 Settlement + Cryptographic         256-Bit Recipe Commitments, Bounded Admission Queue, Separated Signer/Relayer/Treasury Keys,         Per-TokenId Capped Soft-Staking, Future-Blockhash Chests, and Recursive Ceiling + P2P Market.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/HashDroidsPhase3.sol\":\"HashDroidsPhase3\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\"],\"viaIR\":true},\"sources\":{\"contracts/HashDroidsCrystalLib.sol\":{\"keccak256\":\"0x8b7b8897105d65f2fce9627afa7fcc7eef4baad6c4bf6e6432ff4bd3a78e331a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f0a4dee8c7830a42a8967236a1d578c8b79e508d9a797cc4d9a6dab5e9520633\",\"dweb:/ipfs/QmekJHgVUj1z68mZc7NzSSUBA8phAb2Cxwccy1P3SJiEfZ\"]},\"contracts/HashDroidsEconomyLib.sol\":{\"keccak256\":\"0x420e6eccd1963470056088fc7336b5ad3010e4d8e8c15adc3388b552e5862799\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://986cc5509497e57729920e7cad790e66a46f57fd7813e82f0385486a99d4258b\",\"dweb:/ipfs/Qmcv2hvxYmgzmhmGgsA6oRrr2fBJsMiojeqZ9m99fXDnLJ\"]},\"contracts/HashDroidsElements.sol\":{\"keccak256\":\"0x2ae2f16754c03e2e732711d898e8072467ddbfa6112e64d2d3b3813e6a2adac2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://594e0ed73c73b2570a443716301b4f51a69c41605572808434d41f82553cc1b8\",\"dweb:/ipfs/QmbjF7M6jNmxDiJmG8gchEjAUpzj8c3MEd11AGW7H3PmwX\"]},\"contracts/HashDroidsHarvestLib.sol\":{\"keccak256\":\"0x75306ee0f5a6d8dd937b0e7767b8428c09176e732c7410691d679ac0c606fa49\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ca00d9248af1ad2841b73320222635746f188198ffd302a613d3556a4679a89d\",\"dweb:/ipfs/QmeXdf315r2YppZwyv5sVKiigswm6fSvt63RYbSq7LhjPE\"]},\"contracts/HashDroidsPatentRenderer.sol\":{\"keccak256\":\"0xe9bea390c897d4d8d4bc8687037b4e8834d4bc877df5c56699cf3ff8cf3e11e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://71200a6bb1a2cd38976115fe5971099113a6f4e53558428790e44283fbe344d6\",\"dweb:/ipfs/QmZsZ2TddPkPGpEsQLP2GjEFgD6GLhHNbnvbb7sowEPMxd\"]},\"contracts/HashDroidsPatents.sol\":{\"keccak256\":\"0x3a056792d30024410cc9bba692d0266ac265aeba69a02cd3ef08a061dd8bf0f7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee9704b4c8bfe28fbf4513d0c8dba40ad76c31410d1f36a404e0d1bed42b2b54\",\"dweb:/ipfs/QmRZhTz3tc3NjXPgFnfvu5byQfWvwAev3YDEJNLpS8u1pJ\"]},\"contracts/HashDroidsPhase3.sol\":{\"keccak256\":\"0xeae756a9eac85169a6e5150a90438db03d6c98d64596a3d918590527aff96d45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://92da169d3240ff37d1b74c87d02c526512900b64f286fe831af2d171f76af3ce\",\"dweb:/ipfs/QmQ6ir4ZWL2S5fBamQcrtBS9sbBXBwCyMcS1mtV2wfDFvJ\"]},\"contracts/HashDroidsTreasuryLib.sol\":{\"keccak256\":\"0x7687a887703c192817a00fd583c9a8b55e9b5205f1f6a427801601545d2dc7a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7aac348e38df656876b7deeb34a9e94a3cb6ca29bd0f473a50fdc36bb5e00f2d\",\"dweb:/ipfs/QmVNPhLdriWxmFJkcWeGUD2Bc1ikEBN15c5JMzannohAyv\"]},\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x1b88b3fb3d85ba5496d7d5f396f83ee1fddcdd6762059ff65992655b67920998\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://89393bb3212da1c0889601b9706a07b39419ddc4d2faab9eaf6e7f9152cf6a1c\",\"dweb:/ipfs/QmcCfzzxv1Bkdz1c1yF4gQCeYb6Us5BJANnzTFqawfd1HL\"]},\"node_modules/@openzeppelin/contracts/token/ERC1155/ERC1155.sol\":{\"keccak256\":\"0x405aba2c4c654f9ee77437739109afc694bec03a074f978733c11205927d774b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4f573eec7a4e9f9155e23cc593e1cf1c90f8d0b737aa11c50aab35f26b377af5\",\"dweb:/ipfs/Qmbg8NLfyicH2fQjnzCkdTT3zt2xt8zjdCZMz1eZdMfcGV\"]},\"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155.sol\":{\"keccak256\":\"0xf189f9b417fe1931e1ab706838aff1128528694a9fcdb5ff7665197f2ca57d09\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2ff0143c836c8c9f85d13708733c09e21251395847fccfb518bf3b556726a840\",\"dweb:/ipfs/QmP69sjjrQrhYAsvCSSB69Bx66SiUPdQUqdzMYnf4wANHm\"]},\"node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol\":{\"keccak256\":\"0x6ec6d7fce29668ede560c7d2e10f9d10de3473f5298e431e70a5767db42fa620\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac0139e51874aeec0730d040e57993187541777eb01d5939c06d5d2b986a54e8\",\"dweb:/ipfs/QmZbMbdPzusXuX9FGkyArV8hgzKLBZaL5RzMtCdCawtwPF\"]},\"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol\":{\"keccak256\":\"0xf7a3a3aadaec19ab6e38797cd0ad90a903ff056c33e830d1aa16e67de9fe55c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4c691686da62e09468ccc6f5b1c2d58c769f417d6bd05af03acf8b206e739f96\",\"dweb:/ipfs/QmZXCHzzwnftg8xUr68pAnNsQMucU2REzqj45Tq9wjapSD\"]},\"node_modules/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol\":{\"keccak256\":\"0x98c32de9b02f43eba7c0aba9fadf331cffb35a8d2076dce1d556c8f2cad704aa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://38f68f76e741cce3ca4e0f8ece5ab9d69a203829311a403bafc8f7b95a7e6d63\",\"dweb:/ipfs/QmZ8PrDXU5DiZ7fzEoRN7vHMQdemtsqvYVV5AdvAnScS4o\"]},\"node_modules/@openzeppelin/contracts/token/ERC1155/utils/ERC1155Utils.sol\":{\"keccak256\":\"0xaeca1511f7da49bdb16e44aa0f09dca76b51ba079bd068b2f80b8fe6d22b5fa1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://542fe084e72e14f4298954f70c407d5795c1207a02c049f9b91e15f3b9a525a5\",\"dweb:/ipfs/QmbPQMVUVZBE9R9Va6FNfZBTrUY51nrjm8qxpeoAoRrPrQ\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303\",\"dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xf6bb0dc431a9c50e25756412ec14cfcd4dc61dd40b8dc0e1b58ec09fce6d5564\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eb87fef7e8ed754b8600cd5d42e4f23128059006368ffd19e4d50cc166471ee5\",\"dweb:/ipfs/Qmc1vy1cevKreGUsG7S79gyhNvDtPnNz9qG47eYVHmMKLs\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xf78f05f3b8c9f75570e85300d7b4600d7f6f6a198449273f31d44c1641adb46f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e28b872613b45e0e801d4995aa4380be2531147bfe2d85c1d6275f1de514fba3\",\"dweb:/ipfs/QmeeFcfShHYaS3BdgVj78nxR28ZaVUwbvr66ud8bT6kzw9\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8dc7e7ab5b8ea36c15027ab04221b05d1c970f47a53e9fd47ead8ca665d49c7e\",\"dweb:/ipfs/Qmeeph7fsDyfRr8vb2L8KcDEmKPb224TAayMvgqgGAnqpL\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0xf46268c37522320bb2119a5a394bc5c739a95c0c574c8d08e8c643f4d06e5c76\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://517e4b295f35b9947c72ad7379a6089439ece7bb6f4a2ea0a159da13046c039e\",\"dweb:/ipfs/QmZXzkSfLUbvujig3zVbpDHykpHhqLpvQtdiN3B5j4TA3u\"]},\"node_modules/@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0xc7efbc23214ad7dced8bf2249460f4bda114d57f6a0079f84040654280f455bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f5bd44efca8c8c0d74439e7b808d1f9c4af1df78f91fef8e8bbca8104645435\",\"dweb:/ipfs/Qmb42XSd8MKsEitp42sZkSFGqDRigk6QgGXtiJyJqUZJJ6\"]},\"node_modules/@openzeppelin/contracts/utils/Arrays.sol\":{\"keccak256\":\"0xb3b81029526a4c3acf39e57cc446407141ebce338cc99585942af1340e1a69e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3857ce97e8f7a51ad78ea5419b3386e18fcc8af73b65803eedd8193ab7abc9df\",\"dweb:/ipfs/QmSQi6x2cYsUy76mfMNwuq151bVmh4kAND141kjume51Aq\"]},\"node_modules/@openzeppelin/contracts/utils/Base64.sol\":{\"keccak256\":\"0xe802369c4d2d254590d371eca16c8d247d7e0782ad2faaaa0180159ea8e736af\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3afb5bedd76d842847c730499c3acc9c28e91ac981bb95467671118ec0c7cdc8\",\"dweb:/ipfs/QmWzjmjvZPJEvNTiN22V3E9hQ2JnGeZgYfhFjqGMPMcSNH\"]},\"node_modules/@openzeppelin/contracts/utils/Bytes.sol\":{\"keccak256\":\"0xf80e4b96b6849936ea0fabd76cf81b13d7276295fddb1e1c07afb3ddf650b0ac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6430007255ac11c6e9c4331a418f3af52ff66fbbae959f645301d025b20aeb08\",\"dweb:/ipfs/QmQE5fjmBBRw9ndnzJuC2uskYss1gbaR7JdazoCf1FGoBj\"]},\"node_modules/@openzeppelin/contracts/utils/Comparators.sol\":{\"keccak256\":\"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd\",\"dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99\",\"dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N\"]},\"node_modules/@openzeppelin/contracts/utils/SlotDerivation.sol\":{\"keccak256\":\"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337\",\"dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv\"]},\"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x1fdc2de9585ab0f1c417f02a873a2b6343cd64bb7ffec6b00ffa11a4a158d9e8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ab223a3d969c6cd7610049431dd42740960c477e45878f5d8b54411f7a32bdc\",\"dweb:/ipfs/QmWumhjvhpKcwx3vDPQninsNVTc3BGvqaihkQakFkQYpaS\"]},\"node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0xbeb5cad8aaabe0d35d2ec1a8414d91e81e5a8ca679add4cf57e2f33476861f40\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ebb272a5ee2da4e8bd5551334e0ce8dce4e9c56a04570d6bf046d260fab3116a\",\"dweb:/ipfs/QmNw6RyM769qcqFocDq6HJMG2WiEnQbvizpRaUXsACHho2\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0x2d9dc2fe26180f74c11c13663647d38e259e45f95eb88f57b61d2160b0109d3e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://81233d1f98060113d9922180bb0f14f8335856fe9f339134b09335e9f678c377\",\"dweb:/ipfs/QmWh6R35SarhAn4z2wH8SU456jJSYL2FgucfTFgbHJJN4E\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617\",\"dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5\",\"dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9\",\"dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif\"]},\"node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]}},\"version\":1}","userdoc":{"kind":"user","notice":"Deterministic 4-Slot Alchemical Crucible with Private Verifier EIP-712 Settlement + Cryptographic         256-Bit Recipe Commitments, Bounded Admission Queue, Separated Signer/Relayer/Treasury Keys,         Per-TokenId Capped Soft-Staking, Future-Blockhash Chests, and Recursive Ceiling + P2P Market.","methods":{"advanceResearchQueue(uint256)":{"notice":"Bounded progress through terminal queue entries. Anyone may call; no effects on pending decisions."},"cancelExpiredAttempt(uint256)":{"notice":"Cancel only a PENDING attempt after `attemptCancelTimeoutBlocks`; committed decisions require operator recovery."},"rotateVerifierKey(address,uint32)":{"notice":"Rotate the Verifier Signer key to a new `currentVerifierKeyVersion + 1`."},"submitResearchAttempt(uint256,uint256[4])":{"notice":"Admit a new 4-Slot Research Attempt into the onchain queue for private Verifier evaluation."},"computeCommitmentHash(uint256,uint256[4],bytes32)":{"notice":"Computes the season-bound 256-bit salted commitment hash for an element recipe."},"commitResearchResult(uint256,bytes32,uint32,bytes)":{"notice":"Anchor a private decision before revealing its signed plaintext. Only the FIFO head may commit."},"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)":{"notice":"Owner and current verifier may jointly replace a decision signed by a REVOKED key."},"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)":{"notice":"Resolve a confirmed private decision in FIFO order. Rewards belong to the admitted player."},"setQueueParameters(uint256,uint256,uint256,uint256,uint256,address)":{"notice":"Adjust queue admission parameters within explicit hard-coded safety bounds (Audit Section 2 & 6)."}},"version":1},"devdoc":{"kind":"dev","title":"HashDroidsPhase3 — The Synthesis Nexus (V5 Committed Results & FIFO Queue Edition)","errors":{"ECDSAInvalidSignature()":[{"details":"The signature is invalid."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"ECDSAInvalidSignatureS(bytes32)":[{"details":"The signature has an S value that is in the upper half order."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ECDSAInvalidSignatureLength(uint256)":[{"details":"The signature has an invalid length."}]},"details":"Trust Assumption (Explicit per Audit Section 1):      - Plaintext recipes & 256-bit salts remain strictly offchain in the owner's private Verifier service.      - Successes (`isSuccess = true`) are verified onchain against immutable `commitmentHash` commitments AND        EIP-712 signature from the authorized `verifierSignerByVersion[keyVersion]`.      - Failures (`isSuccess = false`) are authorized via EIP-712 signature from the Verifier Signer (or        resolved via timeout cancellation after `attemptCancelTimeoutBlocks` if the Verifier is unreachable).      - Neither the Verifier Signer nor the Relayer can withdraw funds, alter recipes, or redirect prizes away        from the registered `attempt.player`.","methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"cancelExpiredAttempt(uint256)":{"details":"Restores the exact 4 locked ingredients (`crucibleBound` vs `tradable`) to `attempt.player` and marks      status as `CANCELLED_TIMEOUT` so `settleResearchAttempt` can NEVER be called afterward (prevents double-refund + settlement)."},"rotateVerifierKey(address,uint32)":{"params":{"newSigner":"The new Verifier Signer EOA.","newMinAcceptedVersion":"Set equal to previous version for graceful rollover of in-flight attempts,                              or set to the new version to immediately revoke a compromised old key."}},"submitResearchAttempt(uint256,uint256[4])":{"details":"Enforces:      1. Valid `.ai` Operator Pass ownership (`passId`).      2. If the 4-slot combination is ALREADY discovered, executes deterministic craft immediately (no queue work!).      3. At most 1 `PENDING` research attempt per `passId` (`activePendingAttemptByPass[passId] == 0`).      4. Global queue capacity (`activePendingAttemptsCount < maxPendingAttemptsGlobal`) & window rate limit.      5. Locks all 4 ingredients upfront and records whether each slot came from `crucibleBoundBalance` or `elementBalance`         so a PENDING timeout restores the exact same balance type."},"commitResearchResult(uint256,bytes32,uint32,bytes)":{"details":"The worker MUST persist the full decision and wait for this transaction's confirmation before broadcasting      settlement. A committed attempt cannot time out: recovery requires the retained decision and an accepted key."},"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)":{"details":"Explicit recovery power: no refund, mint, reorder or owner change. Persist the new preimage before calling.      Revocation alone does not repair a bad commitment; the worker never invokes recovery automatically."},"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)":{"details":"Quota exhaustion defers settlement until next UTC day; it NEVER refunds an exposed success.      Failure payloads must carry a fresh random nonzero salt, so the opaque commitment cannot identify failures."}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint32":{"label":"uint32","encoding":"inplace","numberOfBytes":"4"},"t_uint64":{"label":"uint64","encoding":"inplace","numberOfBytes":"8"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_array(t_uint8)4_storage":{"base":"t_uint8","label":"uint8[4]","encoding":"inplace","numberOfBytes":"32"},"t_enum(AttemptStatus)4718":{"label":"enum HashDroidsPhase3.AttemptStatus","encoding":"inplace","numberOfBytes":"1"},"t_array(t_uint256)4_storage":{"base":"t_uint256","label":"uint256[4]","encoding":"inplace","numberOfBytes":"128"},"t_mapping(t_uint256,t_bool)":{"key":"t_uint256","label":"mapping(uint256 => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint32,t_address)":{"key":"t_uint32","label":"mapping(uint32 => address)","value":"t_address","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_uint256)":{"key":"t_address","label":"mapping(address => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_uint256)":{"key":"t_bytes32","label":"mapping(bytes32 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_bytes32)":{"key":"t_uint256","label":"mapping(uint256 => bytes32)","value":"t_bytes32","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint256)":{"key":"t_uint256","label":"mapping(uint256 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_struct(Discovery)4746_storage":{"label":"struct HashDroidsPhase3.Discovery","members":[{"slot":"0","type":"t_address","astId":4731,"label":"inventor","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":4733,"label":"inventorPassId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":4735,"label":"attemptId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":4737,"label":"timestamp","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_bytes32","astId":4739,"label":"revealedSalt","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_array(t_uint256)4_storage","astId":4743,"label":"slots","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_bool","astId":4745,"label":"discovered","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"320"},"t_struct(CrystalState)63_storage":{"label":"struct HashDroidsCrystalLib.CrystalState","members":[{"slot":"0","type":"t_mapping(t_uint256,t_struct(PendingChestCommit)33_storage)","astId":38,"label":"chestCommits","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":40,"label":"totalChestCommits","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":42,"label":"totalChestsOpened","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":44,"label":"totalCrystalShares","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_uint256","astId":46,"label":"accPrimaPerShare","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_uint256","astId":48,"label":"undistributedPrimaRewards","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"6","type":"t_uint256","astId":50,"label":"totalPrimaDistributedToStakers","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"7","type":"t_mapping(t_address,t_uint256)","astId":54,"label":"userCrystalShares","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"8","type":"t_mapping(t_address,t_uint256)","astId":58,"label":"userRewardDebt","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_mapping(t_address,t_uint256)","astId":62,"label":"pendingPrimaRewards","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"320"},"t_struct(MarketState)963_storage":{"label":"struct HashDroidsEconomyLib.MarketState","members":[{"slot":"0","type":"t_uint256","astId":957,"label":"totalListings","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_mapping(t_uint256,t_struct(MarketListing)955_storage)","astId":962,"label":"listings","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"64"},"t_struct(ElementMeta)4729_storage":{"label":"struct HashDroidsPhase3.ElementMeta","members":[{"slot":"0","type":"t_string_storage","astId":4720,"label":"elementName","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_string_storage","astId":4722,"label":"symbol","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":4724,"label":"tier","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_bytes32","astId":4726,"label":"commitmentHash","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_bool","astId":4728,"label":"registered","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"160"},"t_struct(MarketListing)955_storage":{"label":"struct HashDroidsEconomyLib.MarketListing","members":[{"slot":"0","type":"t_address","astId":946,"label":"seller","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":948,"label":"elementId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":950,"label":"units","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":952,"label":"pricePerUnitBnb","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_bool","astId":954,"label":"active","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"160"},"t_struct(TreasuryState)8978_storage":{"label":"struct HashDroidsTreasuryLib.TreasuryState","members":[{"slot":"0","type":"t_uint256","astId":8961,"label":"jackpot","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":8963,"label":"vault","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":8965,"label":"buyback","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_bool","astId":8967,"label":"reached","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_address","astId":8969,"label":"architect","offset":1,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_mapping(t_address,t_uint256)","astId":8973,"label":"credits","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_mapping(t_uint256,t_uint256)","astId":8977,"label":"patentEarned","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"192"},"t_struct(ResearchAttempt)4772_storage":{"label":"struct HashDroidsPhase3.ResearchAttempt","members":[{"slot":"0","type":"t_uint256","astId":4748,"label":"attemptId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_uint256","astId":4750,"label":"seasonId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_address","astId":4752,"label":"player","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":4754,"label":"passId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_array(t_uint256)4_storage","astId":4758,"label":"sortedSlots","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"8","type":"t_array(t_uint8)4_storage","astId":4762,"label":"lockedFromCrucibleBound","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_uint64","astId":4764,"label":"submittedBlock","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_uint64","astId":4766,"label":"submittedTimestamp","offset":8,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_uint32","astId":4768,"label":"minKeyVersion","offset":16,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_enum(AttemptStatus)4718","astId":4771,"label":"status","offset":20,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"320"},"t_struct(PendingChestCommit)33_storage":{"label":"struct HashDroidsCrystalLib.PendingChestCommit","members":[{"slot":"0","type":"t_address","astId":28,"label":"player","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_uint64","astId":30,"label":"unlockBlock","offset":20,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_bool","astId":32,"label":"resolved","offset":28,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}],"encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_uint256,t_mapping(t_uint256,t_bool))":{"key":"t_uint256","label":"mapping(uint256 => mapping(uint256 => bool))","value":"t_mapping(t_uint256,t_bool)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_uint256,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(uint256 => uint256))","value":"t_mapping(t_uint256,t_uint256)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))":{"key":"t_uint256","label":"mapping(uint256 => mapping(uint256 => uint256))","value":"t_mapping(t_uint256,t_uint256)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(Discovery)4746_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsPhase3.Discovery)","value":"t_struct(Discovery)4746_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(ElementMeta)4729_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsPhase3.ElementMeta)","value":"t_struct(ElementMeta)4729_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(MarketListing)955_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsEconomyLib.MarketListing)","value":"t_struct(MarketListing)955_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(ResearchAttempt)4772_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsPhase3.ResearchAttempt)","value":"t_struct(ResearchAttempt)4772_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(PendingChestCommit)33_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct HashDroidsCrystalLib.PendingChestCommit)","value":"t_struct(PendingChestCommit)33_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":9468,"label":"_owner","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_uint32","astId":4810,"label":"currentVerifierKeyVersion","offset":20,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"0","type":"t_uint32","astId":4812,"label":"minAcceptedVerifierKeyVersion","offset":24,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"1","type":"t_mapping(t_uint32,t_address)","astId":4816,"label":"verifierSignerByVersion","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"2","type":"t_uint256","astId":4840,"label":"maxPendingAttemptsGlobal","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"3","type":"t_uint256","astId":4843,"label":"maxAdmissionsPerWindow","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"4","type":"t_uint256","astId":4846,"label":"admissionWindowBlocks","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"5","type":"t_uint256","astId":4849,"label":"attemptCancelTimeoutBlocks","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"6","type":"t_uint256","astId":4852,"label":"researchGasFeeBnb","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"7","type":"t_address","astId":4854,"label":"relayerGasReceiver","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"8","type":"t_uint256","astId":4856,"label":"activePendingAttemptsCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"9","type":"t_mapping(t_uint256,t_uint256)","astId":4860,"label":"activePendingAttemptByPass","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"10","type":"t_mapping(t_uint256,t_uint256)","astId":4864,"label":"windowAdmissionCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"11","type":"t_uint256","astId":4867,"label":"nextAttemptToSettle","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"12","type":"t_mapping(t_uint256,t_bytes32)","astId":4871,"label":"committedResearchResults","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"13","type":"t_uint256","astId":4873,"label":"totalAttemptsSubmitted","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"14","type":"t_mapping(t_uint256,t_struct(ResearchAttempt)4772_storage)","astId":4878,"label":"researchAttempts","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"15","type":"t_bool","astId":4881,"label":"researchPaused","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"16","type":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","astId":4887,"label":"crucibleBoundBalance","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"17","type":"t_mapping(t_uint256,t_uint256)","astId":4891,"label":"marketUnitsSold","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"18","type":"t_mapping(t_uint256,t_bool)","astId":4928,"label":"earlyBoxOpened","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"19","type":"t_uint256","astId":4930,"label":"totalEarlyBoxesOpened","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"20","type":"t_bool","astId":4935,"label":"recipesLockedForever","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"21","type":"t_mapping(t_uint256,t_struct(ElementMeta)4729_storage)","astId":4940,"label":"elementMeta","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"22","type":"t_mapping(t_uint256,t_struct(Discovery)4746_storage)","astId":4945,"label":"discoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"23","type":"t_mapping(t_bytes32,t_uint256)","astId":4949,"label":"known4SlotRecipeToElementId","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"24","type":"t_mapping(t_uint256,t_uint256)","astId":4953,"label":"tierTotalElements","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"25","type":"t_mapping(t_uint256,t_uint256)","astId":4957,"label":"tierDiscoveredCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"26","type":"t_mapping(t_uint256,t_uint256)","astId":4961,"label":"elementChestClaims","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"27","type":"t_mapping(t_uint256,t_mapping(t_uint256,t_bool))","astId":4967,"label":"passHasClaimedElementChest","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"28","type":"t_mapping(t_uint256,t_uint256)","astId":4971,"label":"dailyGlobalDiscoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"29","type":"t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))","astId":4977,"label":"dailyPassDiscoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"30","type":"t_mapping(t_uint256,t_mapping(t_uint256,t_uint256))","astId":4983,"label":"dailyPassChests","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"31","type":"t_mapping(t_uint256,t_uint256)","astId":5008,"label":"gen1DroidHarvestCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"32","type":"t_mapping(t_uint256,t_uint256)","astId":5012,"label":"lastGen1DroidHarvestTime","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"33","type":"t_mapping(t_uint256,t_uint256)","astId":5016,"label":"titanHarvestCount","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"34","type":"t_mapping(t_uint256,t_uint256)","astId":5020,"label":"lastTitanHarvestTime","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"35","type":"t_struct(TreasuryState)8978_storage","astId":5023,"label":"treasury","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"41","type":"t_struct(CrystalState)63_storage","astId":5097,"label":"crystalState","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"51","type":"t_struct(MarketState)963_storage","astId":5172,"label":"marketState","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"53","type":"t_uint256","astId":5174,"label":"totalDiscoveries","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"},{"slot":"54","type":"t_uint256","astId":5176,"label":"totalBurnedAttempts","offset":0,"contract":"contracts/HashDroidsPhase3.sol:HashDroidsPhase3"}]},"transientStorageLayout":{"types":null,"storage":[]},"evm":{"bytecode":{"object":"6101e03461061457601f61abfc38819003918201601f19168301916001600160401b0383118484101761056757808492610160946040528339810103126106145780519061004f60208201610618565b9161005c60408301610618565b9061006960608401610618565b9061007660808501610618565b9061008360a08601610618565b61008f60c08701610618565b9261009c60e08801610618565b946100aa6101008901610618565b966100c56101406100be6101208c01610618565b9a01610618565b993315610601575f8054336001600160a01b0319821681178355604051989290916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556101f4600255607860035560646004556104b06005555f6006556001600b55600160ff19600f541617600f55801580156105f0575b80156105df575b80156105ce575b80156105bd575b80156105ac575b801561059b575b801561058a575b61057b576080526001600160a01b0390811660a05290811660c05290811660e05290811661010052166101208190529061109f808201906001600160401b0382118383101761056757602091839161658083393081520301905ff0801561055c5761014052604051906135dd8083016001600160401b0381118482101761056757604092849261761f843930825260208201520301905ff0801561055c5761016052610180526101a0526101c0525f8054600160a01b600160e01b03191678010000000100000000000000000000000000000000000000001781556001908190526020527fcc69885fda6bcc1a4ace058b4a62bf5e179ea78fd58a1ccd71c22cc9b688792f80546001600160a01b0319166001600160a01b0392831617905581166105575750335b600780546001600160a01b0319166001600160a01b0392909216919091178155601860205260147ff3794665d3af9b6fb6f858b70185898134f96768ef31c325d52e04f0ac195a4d8190557f2bacf7cca723d030d12aee795132f2c5f2d14ad131f16f3f27eeba3e79d18b8c5560127f7a6340a7048c03c55288da75abed74d2ce9194201bafb03be53c0a7cca59149555600f7f5b650d93b25a5c652bc6f9215f522b521daf6d36977dcec1343c2a8310b869d655600c7f2288853b49db4f36075bf4a8cfdae4e5e3b39b7b03937d0a9148b051a6f64c5c5560067f33d69b83f8d9644c8360a50d7275bf12a50019a4cd4e17926d0b315da648c58d555f5260017f0aaa0ccf1df0cbc345d3ab7229415a03568bb157ac6e99a99e7acfb410c400f555604051615f53908161062d8239608051818181613c5501528181614a900152614de1015260a05181611d5a015260c05181611d82015260e051818181611c2f0152818161380b0152615c7f01526101005181818161184f015281816130db0152613ba1015261012051816110c101526101405181818161078401528181610f89015281816122f401528181613631015281816144420152615af30152610160518181816107e301528181610d1b015281816110120152818161174801528181611b8701528181611def015281816123cf0152818161257a0152818161271201528181612e7701528181612f500152818161333d015281816136090152818161372d0152818161485601528181614d3d015281816151500152818161562f0152818161571d0152818161576f01526159ae015261018051818181611a0e015281816124f1015281816132cd0152615b2e01526101a0518181816108a20152612b6b01526101c0518181816120ea01526132870152f35b6102bf565b6040513d5f823e3d90fd5b634e487b7160e01b5f52604160045260245ffd5b63b4fa3fb360e01b5f5260045ffd5b506001600160a01b038b1615610197565b506001600160a01b03891615610190565b506001600160a01b03881615610189565b506001600160a01b03861615610182565b506001600160a01b0384161561017b565b506001600160a01b03831615610174565b506001600160a01b0382161561016d565b631e4fbdf760e01b5f525f60045260245ffd5b5f80fd5b51906001600160a01b03821682036106145756fe60a0806040526004361015610081575b50361561001a575f80fd5b730000000000000000000000000000000000000000803b1561007d575f60449160405192838092631a9ec59560e21b8252602360048301523460248301525af480156100725761006657005b5f61007091613dcc565b005b6040513d5f823e3d90fd5b5f80fd5b5f6080525f3560e01c908163023f711514613c95575080630333052814613c785780630492296014613c3e5780630a01a95f14613c155780630ba4b75114613b525780630e23314214613aee578063130dec3d14613a5a57806315b366c914613a2c57806316a19641146139fe57806316ed02c31461388b5780631a4778b0146137b15780631cab4912146136f75780631fadcc9c146135ce5780632049f209146135aa5780632243de84146134545780632910ce58146132f15780632ae758e4146132545780632baa11771461322b57806330788952146131655780633210768414613137578063325c7d541461308f5780633371756e14612f7f57806334698ee114612f39578063352a425814612f0b57806337720cce14612edd5780633bcd483b14612e4957806340f5efd914612bb1578063453698f114612b3757806345fc4aa614612b1857806346cb6a8814612af45780634a0f6ac814612ad55780634b96dec11461283b5780634d61ac31146127c9578063514e7697146126ea578063541a5d07146126cb578063548bb199146126ac5780635b5e3bd11461249657806362c226681461246857806362d8a6891461237c5780636352211e146122c657806366a5a80b146122a2578063671f8a38146122775780636b6dad07146121bc5780636bd060fb1461219d5780636ce62d421461216f5780636d0fc32a146121385780636e01792c146121195780636f20a888146120d35780636f9eb35f146120a5578063715018a6146120465780637422416b1461202757806375383de114611fb4578063776ee44c14611f865780637b0e394e14611f675780637bf9c5f214611f1b5780638146776c14611cd657806383ac909a14611cb75780638af2ecf614611c895780638da5cb5b14611c5e5780638ef55ef714611c185780638f62c79c14611bf9578063909a236714611b34578063918fd15c14611b06578063976715e314611a6b578063976e74fd14611a3d578063a23d3c35146119f7578063a430cd35146119c4578063a63447b114611988578063a87316ee14611953578063acc72a9414611929578063b19e22d71461187e578063b44a230114611838578063b5258121146116ff578063b69d76a81461125a578063bc0baa751461122c578063c6b274e514611203578063c87b56dd14610f58578063ca1a9efd14610f39578063cf36815714610e6d578063d17e8e5214610e4e578063d1d425c514610e2f578063d504e2f814610c5e578063db95b05a14610c3f578063dc3520e114610c20578063ddb9375c14610b95578063e20a01a514610b59578063e234a671146108f0578063e36f5a97146108d1578063e8d7438f1461088b578063ec260ef9146107b3578063ee16efdd1461076d578063f0403e6b1461074e578063f1930eab14610712578063f2d5bdf4146106cd578063f2fde38b1461063c578063f812212c1461061b578063faba6987146105ed578063fc19b78e146105ce578063fe553464146105975763fe581c3f146104dd575f61000f565b34610591576020366003190112610591576104f6613d06565b6040516323653fa760e21b8152602960048201526001600160a01b0390911660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610551575b602090604051908152f35b506020813d60201161057c575b8161056b60209383613dcc565b8101031261007d5760209051610546565b3d915061055e565b6040513d608051823e3d90fd5b60805180fd5b34610591576105a536613d1c565b9060805152601e6020526040608051209060805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600454604051908152f35b3461059157602036600319011261059157600435608051526018602052602060406080512054604051908152f35b3461059157602061063461062e36613d1c565b90615330565b604051908152f35b3461059157602036600319011261059157610655613d06565b61065d61544c565b6001600160a01b031680156106b45760805180546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360805180f35b631e4fbdf760e01b608051526080516004526024608051fd5b346105915760203660031901126105915760043563ffffffff81169081900361059157608051526001602052602060018060a01b036040608051205416604051908152f35b34610591576020366003190112610591576001600160a01b03610733613d06565b16608051526027602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602454604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576107cd615414565b604051630ab12fb760e01b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610858575b60209060015f516020615efe5f395f51905f5255604051908152f35b506020813d602011610883575b8161087260209383613dcc565b8101031261007d576020905161083c565b3d9150610865565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020603354604051908152f35b346105915760203660031901126105915760405161090d81613db0565b608080518252805160208301528051604080840191909152815160608401525190919061093a8382613dcc565b823682378183015260405161094f8382613dcc565b8236823760a082015260805160c082015260805160e082015260805161010082015261012060805191015260043560805152600e602052604060805120906040519061099a82613db0565b825482526001830154906020830191825260018060a01b036002850154166040840190815260038501549460608501958652604051926109dd8460048401613ff1565b6109e78185613dcc565b808601938452600960405192610a25846008830160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b610a2f8385613dcc565b60a0880193845201549360c08701976001600160401b038616895260e08801946001600160401b038760401c16865260ff6101008a019763ffffffff81871c16895260a01c16976101208a01986008811015610b41578952604080519a518b52905160208b015290516001600160a01b03169089015251606088015251608051909187015b60048210610b2b5750505051946101008501608051905b60048210610b125761020087610b108863ffffffff896001600160401b038a818b511661018088015251166101a086015251166101c0840152516101e0830190613cf9565bf35b60208060019260ff8b5116815201980191019096610acb565b6020806001928551815201930191019091610ab4565b634e487b7160e01b6080515260216004526024608051fd5b3461059157610b6736613d1c565b9060805152601b6020526040608051209060805152602052602060ff60406080512054166040519015158152f35b3461059157602036600319011261059157600435608051526015602052610bfc604060805120610bc481613ed2565b90610bd160018201613ed2565b600282015491610c0a60ff60046003840154930154169260405196879660a0885260a0880190613e76565b908682036020880152613e76565b9260408501526060840152151560808301520390f35b3461059157608051366003190112610591576020600d54604051908152f35b3461059157608051366003190112610591576020600554604051908152f35b3461059157610c8d610c92610c7236613e59565b610c7d939193615414565b610c8684615c62565b3690613ded565b615bcb565b80516020820151610ce0604084015191610cd260608601516040519485936020850197889290916080949284526020840152604083015260608201520190565b03601f198101835282613dcc565b51902060805152601760205260406080512054908115610e165760608214610e035760405163abe3b08560e01b81529260808480610d4385337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4908115610584576040948492610dd6575b50610d78823361576d565b610d83828233615903565b927f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a865180610db487339583614bbd565b0390a460015f516020615efe5f395f51905f5255825191825215156020820152f35b610df79060803d608011610dfc575b610def8183613dcc565b810190614b03565b610d6d565b503d610de5565b63e113b20760e01b608051526004608051fd5b63dd4e0ec360e01b608051526080516004526024608051fd5b3461059157608051366003190112610591576020602e54604051908152f35b3461059157608051366003190112610591576020602354604051908152f35b346105915760805136600319011261059157610e87615414565b33608051526027602052604060805120548015610f2657336080515260276020526080516040608051205560805160805160805160805184335af1610eca6149ba565b5015610f13576040519081527f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988860203392a260015f516020615efe5f395f51905f525560805180f35b6312171d8360e31b608051526004608051fd5b6312d37ee560e31b608051526004608051fd5b3461059157608051366003190112610591576020602554604051908152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201819052906020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610584576111cc575b50806080515260166020526040608051208160805152601560205260406080512060028101549160018060a01b038154166040519163bd85b03960e01b835285600484015260208360248160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa9283156105845760805193611196575b508061109060046110a3930154956040519863062caf5560e31b8a5260048a015261016060248a0152600161107d6101648b0183614065565b8a81036003190160448c01529101614065565b9560648801526005608488019101613ff1565b610104850152610124840152610144830152608051908290819003817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190611116575b61111290604051918291602083526020830190613e76565b0390f35b503d80608051833e6111288183613dcc565b810190602081830312610591578051906001600160401b03821161059157019080601f8301121561059157815161115e81613f72565b9161116c6040519384613dcc565b81835260208285010111610591578060206111129401602084015e602060805191830101526110fa565b9092506020813d6020116111c4575b816111b260209383613dcc565b8101031261007d5751916110a3611044565b3d91506111a5565b6020813d6020116111fb575b816111e560209383613dcc565b81010312610591576111f6906149ff565b610fbe565b3d91506111d8565b346105915760805136600319011261059157602063ffffffff6080515460c01c16604051908152f35b3461059157602036600319011261059157600435608051526011602052602060406080512054604051908152f35b346105915760a0366003190112610591576004356001600160401b0381116105915761128a903690600401613e29565b6024356001600160401b038111610591576112a9903690600401613e29565b91906044356001600160401b038111610591576112ca903690600401613e29565b90946064356001600160401b038111610591576112eb903690600401613e29565b9490926084356001600160401b0381116105915761130d903690600401613e29565b92909361131861544c565b60ff601454166116ec578882148015906116e2575b80156116d8575b80156116ce575b61168c576080515b8281106113505760805180f35b61135b8184846152df565b35611367828c8b6152df565b35906005811080156116c4575b80156116b2575b801561169f575b61168c578060805152601560205260ff600460406080512001541661167657908a91896113f28f8a6113e96113d3898f94818f816113c3916113cb946152ef565b9c90996152ef565b9490956152df565b3594604051986113e28a613d7a565b3691613f8d565b87523691613f8d565b926020850193845260408501526060840152600160808401526080515260156020526040608051209082518051906001600160401b0382116115b857819061143a8554613e9a565b601f8111611642575b506020906001601f8411146115db57608051926115d0575b50508160011b915f199060031b1c19161782555b51805160018301916001600160401b0382116115b85761148f8354613e9a565b601f8111611579575b506020906001601f8411146115075792826004936001989796936080968751926114fc575b50505f19600383901b1c191690881b1790555b604084015160028201556060840151600382015501910151151560ff8019835416911617905501611343565b015190505f806114bd565b90601f1983169184608051528160805120926080515b818110611561575093600198979693608096938a938360049810611549575b505050811b0190556114d0565b01515f1960f88460031b161c191690555f808061153c565b9293602060018192878601518155019501930161151d565b6115a8908460805152602060805120601f850160051c810191602086106115ae575b601f0160051c0190614018565b5f611498565b909150819061159b565b634e487b7160e01b6080515260416004526024608051fd5b015190505f8061145b565b60808051879052518281209350601f198516905b81811061162a5750908460019594939210611612575b505050811b01825561146f565b01515f1960f88460031b161c191690555f8080611605565b929360206001819287860151815501950193016115ef565b611670908660805152602060805120601f850160051c810191602086106115ae57601f0160051c0190614018565b5f611443565b632abac2c960e11b608051526004526024608051fd5b63b4fa3fb360e01b608051526004608051fd5b506116ab83888a6152df565b3515611382565b506116bc81615d14565b82141561137b565b5060608111611374565b508382141561133b565b5087821415611334565b508282141561132d565b6306e53adf60e01b608051526004608051fd5b3461059157606036600319011261059157611718613d06565b6024359060443590611728615414565b6001600160a01b03169081158015611830575b801561181d575b61168c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b15610591576040519063390f7af560e21b8252336004830152836024830152846044830152670de0b6b3a7640000830460648301528160848160805193608051905af1801561058457611804575b506040519081527fbb0ca0e137fd31811359637c8aa804a4a14cd1f475f7fb93d39cfb10452705a860203392a460015f516020615efe5f395f51905f525560805180f35b60805161181091613dcc565b60805161059157836117c0565b50670de0b6b3a764000081061515611742565b50801561173b565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610591576080513660031901126105915761189861544c565b60145460ff81166116ec5760055b60608111156118c05760ff19821660011760145560805180f35b8060805152601560205260ff6004604060805120015416158015611904575b6118f1576118ec90613fe3565b6118a6565b633c3de45760e01b608051526004608051fd5b50806080515260156020526002604060805120015461192282615d14565b14156118df565b3461059157608051366003190112610591576007546040516001600160a01b039091168152602090f35b602061196f61196136613e59565b9061196a615414565b614bd8565b60015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576001600160a01b036119a9613d06565b16608051526030602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526012602052602060ff60406080512054166040519015158152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760203660031901126105915760043560805152601a602052602060406080512054604051908152f35b3461059157602036600319011261059157604051611a8881613d95565b608051815260805160208201526040608051910152600435608051526029602052606060406080512060405190611abe82613d95565b546001600160401b0360018060a01b0382169283815260ff60406020830192848660a01c168452019360e01c1615158352604051938452511660208301525115156040820152f35b34610591576080513660031901126105915760265460405160089190911c6001600160a01b03168152602090f35b3461059157602036600319011261059157611b4d615414565b730000000000000000000000000000000000000000803b156105915760405190634ca6c1c960e01b82526033600483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166024830152600435604483015281606481608051935af4801561058457611be0575b60015f516020615efe5f395f51905f525560805180f35b608051611bec91613dcc565b6080516105915780611bc9565b3461059157608051366003190112610591576020600654604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760805136600319011261059157608051546040516001600160a01b039091168152602090f35b346105915760203660031901126105915760043560805152600a602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600254604051908152f35b34610591576060366003190112610591576004356024356001600160401b03811161059157611d09903690600401613e29565b90604435906001600160401b03821161059157611dbf92611dd1611d336040943690600401613e29565b611d3b615414565b611d4488615c62565b8551630e691b2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000016602482015261012060448201529687958695610124870191614adf565b84810360031901606486015291614adf565b601f6084830152602060a4830152602160c4830152602260e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661010483015203817300000000000000000000000000000000000000005af4801561058457608051918291611eea575b50670de0b6b3a7640000820291808304670de0b6b3a76400001490151715611ed257670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed25760405191825260208201527f3ee0042b656a8c28a48ae2fed2887d9eef8afe18542f02b43192596aff9ff28b60403392a360015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b6080515260116004526024608051fd5b9050611f0e915060403d604011611f14575b611f068183613dcc565b8101906149e9565b83611e47565b503d611efc565b34610591576040366003190112610591576001600160a01b03611f3c613d06565b1660805152601060205260406080512060243560805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602f54604051908152f35b3461059157602036600319011261059157600435608051526017602052602060406080512054604051908152f35b346105915760c036600319011261059157366043121561059157604051611fdc608082613dcc565b803660a411610591576020916024915b60a48310612004578361063460a43584600435614a65565b82358152918301918301611fec565b634e487b7160e01b5f52604160045260245ffd5b3461059157608051366003190112610591576020600b54604051908152f35b34610591576080513660031901126105915761206061544c565b60805180546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a360805180f35b346105915760203660031901126105915760043560805152601c602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020601354604051908152f35b346105915761214636613d1c565b9060805152601d6020526040608051209060805152602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526009602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600854604051908152f35b34610591576020366003190112610591576004358015801561226c575b61168c57600b5460805191905b81831080612260575b15612258578060805152600e60205260ff6009604060805120015460a01c166008811015610b41576001811490811561224d575b506122405761223461223a91613fe3565b92613fe3565b916121e6565b9150505b600b5560805180f35b600714905084612223565b915050612244565b50600d548111156121ef565b506103e881116121d9565b34610591576060366003190112610591576020610634612295613caf565b6044359060243590614a13565b346105915760805136600319011261059157602060ff601454166040519015158152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190612342575b6040516001600160a01b039091168152602090f35b506020813d602011612374575b8161235c60209383613dcc565b810103126105915761236f6020916149ff565b61232d565b3d915061234f565b34610591576040366003190112610591576123cb602061239a613d06565b60405163511cd8cf60e01b81526001600160a01b039091166004820152602480359082015291829081906044820190565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105845760805191612436575b50670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b90506020813d602011612460575b8161245160209383613dcc565b8101031261007d575181612409565b3d9150612444565b3461059157602036600319011261059157600435608051526028602052602060406080512054604051908152f35b6020366003190112610591576004356124ad615414565b801561168c57806611c37937e08000026611c37937e0800081048203611ed25780341061269957604051636902c1f360e01b815260236004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316604482015260805160648201526020816084817300000000000000000000000000000000000000005af480156105845761266a575b50730000000000000000000000000000000000000000803b15610591576040516301fac8cd60e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152336024820152604481018490526080519091829060649082905af4801561058457612651575b5080341161261e575b60405191825260208201527fb3c981b9b7b707d312a929a2eac4e1b16bf5550677e6b1931a95e846dd32e89f60403392a260015f516020615efe5f395f51905f525560805180f35b60805180808061262e85346149ad565b335af16126396149ba565b506125d6576312171d8360e31b608051526004608051fd5b60805161265d91613dcc565b60805161059157826125cd565b61268b9060203d602011612692575b6126838183613dcc565b810190614983565b508261254e565b503d612679565b63cd1c886760e01b608051526004608051fd5b3461059157608051366003190112610591576020602b54604051908152f35b3461059157608051366003190112610591576020600354604051908152f35b6126f336613d1c565b6126fb615414565b604080516373306cbf60e11b8152603360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015260276044820152606481019390935260848301919091528160a4817300000000000000000000000000000000000000005af480156105845761278e9160805190608051926127a7575b50615ac1565b505060015f516020615efe5f395f51905f525560805180f35b90506127c2915060403d604011611f1457611f068183613dcc565b9083612788565b346105915760203660031901126105915760043560805152601660205260c060406080512060018060a01b0381541690600181015490600281015460038201549060ff6009600485015494015416936040519586526020860152604085015260608401526080830152151560a0820152f35b346105915761284936613d32565b92612852615414565b61285b85615472565b8460805152600e6020526040608051209260098401908154938760805152600c60205260406080512054966080515060ff8660a01c166008811015610b415760018103612ab55750841561168c576128b3838861549d565b6004880154600589015460068a015460078b0154604080516020810195865290810193909352606083019190915260808083019190915281529193916128fa60a082613dcc565b519020600189015490895499600160a01b600190036002820154169060030154906040519b60208d01948d7f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e87526040015260608d015260808c015260a08b015260c08a01528660e08a015263ffffffff85169889610100820152610100815261298661012082613dcc565b51902061299290615522565b91369061299e92613f8d565b6129a791615d6b565b6129b391939293615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020849055825463ffffffff60801b191691901b63ffffffff60801b16178155805460ff60a01b1916600760a01b17905560805115612a6a579163ffffffff7ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72094926080946040519485526020850152841c1660408301526060820152a260015f516020615efe5f395f51905f525560805180f35b90507f755d44a73910c278ea8e6a9c76f0f1f5ffd0a2705bdfcb37fc0eb1d77cfe83db925060409182519182526020820152a2611bc9565b630574e98560e01b608051526004608051fd5b612ace908a6345161eb560e11b60805152600452613ceb565b6044608051fd5b3461059157608051366003190112610591576020603654604051908152f35b346105915760805136600319011261059157602060ff600f54166040519015158152f35b3461059157608051366003190112610591576020602c54604051908152f35b346105915760805136600319011261059157612b51615414565b6024548015610f26576080516024819055908190819081907f00000000000000000000000000000000000000000000000000000000000000005af1612b946149ba565b5015610f135760015f516020615efe5f395f51905f525560805180f35b3461059157612bbf36613d32565b90612bc861544c565b612bd0615414565b612bd985615472565b8460805152600e60205260406080512090600982019485549363ffffffff8560801c16928860805152600c60205260ff604060805120549660a01c166008811015610b4157600703612e32576080515463ffffffff8160c01c169081861090811591612e18575b50612df85750821561168c57612d48612d5192612d42612c608a8961549d565b93612d3a60048a01548a612ca76005820154610cd2600760068501549401546040519485936020850197889290916080949284526020840152604083015260608201520190565b51902060018b0154908b549b600360018060a01b036002830154169101549060806040519e8f9060208201967f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e885260408301526060820152015260a08d015260c08c01528860e08c015263ffffffff8d169a8b6101008201526101008152612d3261012082613dcc565b519020615522565b923691613f8d565b90615d6b565b90939193615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020829055865463ffffffff60801b191695811b63ffffffff60801b169590951786557ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72095805460ff60a01b1916600760a01b1790556040805194855260208501919091528301526060820152a260015f516020615efe5f395f51905f525560805180f35b63ffffffff88631be6ac0d60e11b60805152166004526024526044608051fd5b63ffffffff915060a01c1663ffffffff891614158b612c40565b88631d33890f60e11b608051526004526024608051fd5b346105915760203660031901126105915760405163bd85b03960e01b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561058457608051916124365750670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b3461059157602036600319011261059157600435608051526022602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526021602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157604036600319011261059157612f98613d06565b60243563ffffffff81169182820361059157612fb261544c565b6001600160a01b031691821561168c5760805154600163ffffffff8260a01c16019163ffffffff8311611ed25763ffffffff8260c01c1681108015613080575b61168c578260209263ffffffff7fdd5800b3f65c197a1ed496f5e1dea9434eec56ae67ce70d6e4d281cb146ab0f495169563ffffffff60c01b9060c01b169163ffffffff60a01b9060a01b16906001600160401b0360a01b1916171760805155836080515260018252604060805120856001600160601b0360a01b825416179055604051908152a360805180f35b5063ffffffff83168111612ff2565b3461059157608051366003190112610591576130a9615414565b730000000000000000000000000000000000000000803b1561059157604051630cf2271b60e41b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526080519091829060449082905af4801561058457611be05760015f516020615efe5f395f51905f525560805180f35b346105915760203660031901126105915760043560805152601f602052602060406080512054604051908152f35b346105915760203660031901126105915760405161318281613d7a565b60805181526080516020820152608051604082015260805160608201526080805191015260043560805152603460205260a06040608051206040516131c681613d7a565b600180841b038254169182825260018101546020830190815260028201549060408401918252608060ff600460038601549560608801968752015416940193151584526040519485525160208501525160408401525160608301525115156080820152f35b346105915760805136600319011261059157602063ffffffff6080515460a01c16604051908152f35b34610591576080513660031901126105915761326e61544c565b613276615414565b6025548015610f26576080516025557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b038116156132ca575b608051918291829182915af1612b946149ba565b507f00000000000000000000000000000000000000000000000000000000000000006132b6565b6132fa36613d1c565b613302615414565b61330c8183615330565b803410612699578260805152601160205260406080512061332e838254614976565b905561333a8184615ac1565b917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156105915760405190635e2d2fff60e11b82523360048301528660248301528560448301528160648160805193608051905af180156105845761343b575b50803411613408575b604051938452602084015260018060a01b0316604083015260608201527ff829cb0f939db361d00f6ce8df243365f2b3f62ab614b6e0eadb85e85ae72e5260803392a360015f516020615efe5f395f51905f525560805180f35b60805180808061341885346149ad565b335af16134236149ba565b506133ae576312171d8360e31b608051526004608051fd5b60805161344791613dcc565b60805161059157856133a5565b346105915760c03660031901126105915760243560a4356001600160a01b03811690600435906084359060643590604435908590036105915761349561544c565b60148410801561359f575b8015613595575b801561358a575b8015613580575b8015613575575b801561356b575b8015613560575b8015613550575b8015613548575b61168c577fff4b9d3b935b1ce181cbd983738a06320ee3a3f807c922375fd72ea1f566e1039560a09585600255816003558260045583600555846006556001600160601b03871b60075416176007556040519485526020850152604084015260608301526080820152a160805180f35b5084156134d8565b506601c6bf5263400083116134d1565b5061708082116134ca565b50606482106134c3565b506104b081116134bc565b50600a81106134b5565b506107d086116134ae565b50600586106134a7565b5061271084116134a0565b346105915760805136600319011261059157602060ff602654166040519015158152f35b34610591576020366003190112610591576135e7615414565b604051636ae8cff360e01b815260296004808301919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248401527f00000000000000000000000000000000000000000000000000000000000000001660448301523560648201526060816084817300000000000000000000000000000000000000005af48015610584576080519182918291906136c0575b506111129060015f516020615efe5f395f51905f5255604051938493846040919493926060820195825260208201520152565b905061111292506136e9915060603d6060116136f0575b6136e18183613dcc565b810190614992565b909261368d565b503d6136d7565b3461059157606036600319011261059157613710615414565b604051630536a43b60e51b81526033600482015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015260043560448201526024356064820152604435608482015260208160a4817300000000000000000000000000000000000000005af4801561058457608051906108585760209060015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576137ca615414565b730000000000000000000000000000000000000000803b156105915760405190630c9c2fd760e11b8252601260048301526010602483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166044830152600435606483015281608481608051935af4801561058457613872575b613858601354613fe3565b60135560015f516020615efe5f395f51905f525560805180f35b60805161387e91613dcc565b608051610591578061384d565b34610591576020366003190112610591576004356138a7615414565b8060805152600e60205260406080512060098101805460ff8160a01c166008811015610b4157600181036139e557506005546138eb916001600160401b0316614976565b8043106139cb5750805460ff60a01b1916600360a11b17905560085461391090613fc3565b60085560038101908154806080515260096020528360406080512054146139b2575b5061393c816155e2565b6139446157e3565b60020154905460405190926001600160a01b0392909216919060808160065f516020615ede5f395f51905f5293528151602082015281516040820152336060820152a460015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b5f52602160045260245ffd5b6080515260096020526080516040608051205583613932565b631b016eeb60e21b60805152436004526024526044608051fd5b612ace90856345161eb560e11b60805152600452613ceb565b346105915760203660031901126105915760043560805152600c602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526019602052602060406080512054604051908152f35b346105915760c03660031901126105915760243580151581036105915760843563ffffffff811681036105915760a435906001600160401b03821161059157604092613aad613ac8933690600401613cbe565b929091613ab8615414565b60643590604435906004356140e6565b60015f516020615efe5f395f51905f5255613ae583518093613cf9565b15156020820152f35b3461059157602036600319011261059157613b07613caf565b613b0f61544c565b158080613b45575b613b325760ff8019600f541691151617600f55608051608051f35b63d96668af60e01b608051526004608051fd5b5060ff6014541615613b17565b3461007d57602036600319011261007d57613b6b615414565b730000000000000000000000000000000000000000803b1561007d57604051633fe171d760e11b815260296004808301919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166024830152356044820152905f90829060649082905af4801561007257613c015760015f516020615efe5f395f51905f525560805180f35b5f613c0b91613dcc565b5f60805280611bc9565b3461007d57602036600319011261007d576004355f5260208052602060405f2054604051908152f35b3461007d575f36600319011261007d5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461007d575f36600319011261007d576020603554604051908152f35b3461007d575f36600319011261007d57602090602a548152f35b60043590811515820361007d57565b9181601f8401121561007d578235916001600160401b03831161007d576020838186019501011161007d57565b600881101561399e57602452565b90600882101561399e5752565b600435906001600160a01b038216820361007d57565b604090600319011261007d576004359060243590565b90608060031983011261007d57600435916024359160443563ffffffff8116810361007d5791606435906001600160401b03821161007d57613d7691600401613cbe565b9091565b60a081019081106001600160401b0382111761201357604052565b606081019081106001600160401b0382111761201357604052565b61014081019081106001600160401b0382111761201357604052565b90601f801991011681019081106001600160401b0382111761201357604052565b919060405192613dfe608085613dcc565b83906080810192831161007d57905b828210613e1957505050565b8135815260209182019101613e0d565b9181601f8401121561007d578235916001600160401b03831161007d576020808501948460051b01011161007d57565b9060a060031983011261007d576004359160a41161007d57602490565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90600182811c92168015613ec8575b6020831014613eb457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691613ea9565b9060405191825f825492613ee584613e9a565b8084529360018116908115613f505750600114613f0c575b50613f0a92500383613dcc565b565b90505f9291925260205f20905f915b818310613f34575050906020613f0a928201015f613efd565b6020919350806001915483858901015201910190918492613f1b565b905060209250613f0a94915060ff191682840152151560051b8201015f613efd565b6001600160401b03811161201357601f01601f191660200190565b929192613f9982613f72565b91613fa76040519384613dcc565b82948184528183011161007d578281602093845f960137010152565b8015613fcf575f190190565b634e487b7160e01b5f52601160045260245ffd5b5f198114613fcf5760010190565b905f905b6004821061400257505050565b6001602081928554815201930191019091613ff5565b818110614023575050565b5f8155600101614018565b9080821461406157908154905f915b6004831061404b5750505050565b600180919401928354948184015501919261403d565b5050565b5f929181549161407483613e9a565b80835292600181169081156140c9575060011461409057505050565b5f9081526020812093945091925b8383106140af575060209250010190565b60018160209294939454838587010152019101919061409e565b915050602093945060ff929192191683830152151560051b010190565b9695939290969491945f945f98825f52600e60205260405f209561410984615472565b600987019260ff845460a01c16600881101561399e5760070361496357614131868b85614a13565b855f52600c60205260405f2054036149545787968a91614151848a61549d565b60048a015460058b015460068c015460078d01546040805160208101958652908101939093526060830191909152608080830191909152815291939161419860a082613dcc565b5190209460018b0154908b549060028d0198600160a01b600190038a54169e6003019e8f54906040519460208601967fd123b68dcff6cfb42b0407ace14883c1bdb588bc177b11d032630a2d4518caa7885260408701526060860152608085015260a08401528860c08401521596871560e08401526101008301528b61012083015263ffffffff16610140820152610140815261423761016082613dcc565b51902061424390615522565b91369061424f92613f8d565b61425891615d6b565b61426491939293615da5565b6001600160a01b0390811691160361494557614281600854613fc3565b6008558754805f5260096020528560405f205414614932575b50614807578888526015602052604088209460ff6004870154161580156147d7575b6147c8576142e5816040516142d48160048c01613ff1565b6142df608082613dcc565b8c614a65565b6003870154036147b957898952601660205260408920600981019160ff8354166146a3576002880154956201518042049061431f88615a79565b1561468f57600860408e848152601c6020522054101561467b57600160408e8e548152601d6020528181208582526020522054101561466757805460ff60a01b1916600160a11b1790556143f89291906143788b6156c4565b808d52601c60205260408d2061438e8154613fe3565b90558b548d52601d60205260408d20908d5260205260408c206143b18154613fe3565b9055855482546001600160a01b0319166001600160a01b03919091161782558a5460018301556002820188905542600383015560048083019190915589019060050161402e565b600160ff19825416179055875260176020528760408820558187526019602052604087206144268154613fe3565b9055614433603554613fe3565b60355580546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b15614663576040516340c10f1960e01b81526001600160a01b03919091166004820152602481018a9052888160448183865af180156146585790899161463f575b505081546144c0908a906001600160a01b031661576d565b6060891480614632575b15614610578154604051639fd8ca2d60e01b8152602360048201526001600160a01b03909116602482015260448101919091526060816064817300000000000000000000000000000000000000005af48015614605576145e6575b505b61452f6157e3565b5494546040519096506001600160a01b0395909516947fc66c28b1ed7c7dbd812926df0a452a3d82087505f49a860b52f242f35d2dd88b948787855f516020615ede5f395f51905f5260808f966145dd978f60028352602083015215156040820152336060820152a46145ca6040519586958652610100602087015260016145bb610100880183614065565b91878303604089015201614065565b9260608501526004608085019101613ff1565b0390a460029190565b6145fe9060603d6060116136f0576136e18183613dcc565b5050614525565b6040513d8a823e3d90fd5b5080548654919a5061462c9189916001600160a01b0316615903565b98614527565b5060ff60265416156144ca565b8161464991613dcc565b61465457875f6144a8565b8780fd5b6040513d8b823e3d90fd5b8880fd5b63a60e886760e01b8d52600160045260248dfd5b6323a2f40760e21b8d52600860045260248dfd5b6302cf233b60e51b8d52600488905260248dfd5b5050505098509093949291506060861461475157805460ff60a01b1916600360a01b1790556146d1906156c4565b85546146e79085906001600160a01b031661576d565b85548354614700918691906001600160a01b0316615903565b956147096157e3565b54925460405190946001600160a01b0394909416939091508160809160035f516020615ede5f395f51905f52945260208201528715156040820152336060820152a460039190565b805460ff60a01b1916600560a01b17905590959061476e906155e2565b6147766157e3565b54915460405190936001600160a01b0393909316928160809160055f516020615ede5f395f51905f5294526020820152876040820152336060820152a460059190565b63108505d960e01b8952600489fd5b63b4fa3fb360e01b8952600489fd5b506147fb6040516147eb8160048b01613ff1565b6147f6608082613dcc565b61585d565b600287015414156142bc565b5094959850929190951590811591614929575b5061491a57815460ff60a01b1916600160a21b1790915560365461484a919061484290613fe3565b6036556156c4565b80546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b1561007d575f91606483926040519485938492635e2d2fff60e11b8452600484015260696024840152600160448401525af1801561007257614905575b506148c16157e3565b54905460405190926001600160a01b0392909216919060808160045f516020615ede5f395f51905f529352876020820152876040820152336060820152a460049190565b6149129195505f90613dcc565b5f935f6148b8565b63b4fa3fb360e01b5f5260045ffd5b9050155f61481a565b5f5260096020525f60408120555f61429a565b630574e98560e01b5f5260045ffd5b632f272d1160e21b5f5260045ffd5b84631d33890f60e11b5f5260045260245ffd5b91908201809211613fcf57565b9081602091031261007d575190565b9081606091031261007d578051916040602083015192015190565b91908203918211613fcf57565b3d156149e4573d906149cb82613f72565b916149d96040519384613dcc565b82523d5f602084013e565b606090565b919082604091031261007d576020825192015190565b51906001600160a01b038216820361007d57565b91604051916020830193151584526040830152606082015260608152614a3a608082613dcc565b51902090565b906004811015614a515760051b0190565b634e487b7160e01b5f52603260045260245ffd5b9190614a7090615bcb565b9081519160208101519060606040820151910151916040519460208601967f0000000000000000000000000000000000000000000000000000000000000000885260408701526060860152608085015260a084015260c083015260e082015260e08152614a3a61010082613dcc565b81835290916001600160fb1b03831161007d5760209260051b809284830137010190565b60808183031261007d5781601f8201121561007d5760405191614b27608084613dcc565b82916080810191821161007d57915b818310614b435750505090565b825160ff8116810361007d57815260209283019201614b36565b905f905b60048210614b6e57505050565b6020806001928551815201930191019091614b61565b601081526001600160a01b03918216602082015291166040820152610100810192915f9160e091614bb9906060830190614b5d565b0152565b909291608090614bd18360a0810196614b5d565b1515910152565b919060ff60145416156152d057614bee83615c62565b60065434106152c157610c8d614c05913690613ded565b915f5b60048110615242575082516020840151614c51604086015191610cd260608801516040519485936020850197889290916080949284526020840152604083015260608201520190565b5190205f52601760205260405f20548061512e5750614c6f8361585d565b614c7881615a79565b1561511c575060ff600f541661510e57805f52600960205260405f20546150eb57620151804204815f52601d60205260405f20815f52602052600160405f205410156150d7575f52601c60205260405f20546008614cd881548093614976565b10156150c35760025490818110156150ae575050600454801561509a574304805f52600a60205260405f20546003548091101561508457505f52600a60205260405f20614d258154613fe3565b905560405163abe3b08560e01b8152601060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015233604482015292614d7e6064850182614b5d565b600160e4850152608084610104817300000000000000000000000000000000000000005af4938415610072575f94615063575b50614dbd600d54613fe3565b80600d558094614dce600854613fe3565b600855835f5260096020528160405f20557f0000000000000000000000000000000000000000000000000000000000000000926001600160401b0343169163ffffffff5f5460c01c1660405190614e2482613db0565b8582526020820191878352604081019033825260608101948a86526080820187815260a0830191825260c083019689885260e08401946001600160401b03421686526101008501968752610120850197600189528c5f52600e60205260405f209551865551600186015560018060a01b03905116600285019060018060a01b03166001600160601b0360a01b825416179055516003840155515f5b6004811061504c575050515f905f5b60048110615028575050600882015593516009949094018054915192516001600160a01b03199092166001600160401b03959095169490941760409290921b6fffffffffffffffff0000000000000000169190911760809190911b63ffffffff60801b1617825551600881101561399e57815460ff60a01b191660a09190911b60ff60a01b1617905560065480151580615014575b614fea575b50600654803411614fb6575b50614f89906040519586526020860190614b5d565b60a08401527f04da450f287fc9dd57e2b12725cc80466957c3394d1a26b0cad80d7d0899bb5060c03394a4565b5f8080614fc48194346149ad565b335af1614fcf6149ba565b5015614fdb575f614f74565b6312171d8360e31b5f5260045ffd5b6007545f918291829182916001600160a01b03165af16150086149ba565b5015614fdb575f614f68565b506007546001600160a01b03161515614f63565b9091602060019160ff8551169060ff8560031b92831b921b19161793019101614ece565b600190602083519301926004828701015501614ebf565b61507d91945060803d608011610dfc57610def8183613dcc565b925f614db1565b906368236ccb60e01b5f5260045260245260445ffd5b634e487b7160e01b5f52601260045260245ffd5b63c7f5853160e01b5f5260045260245260445ffd5b6323a2f40760e21b5f52600860045260245ffd5b63a60e886760e01b5f52600160045260245ffd5b805f52600960205260405f2054906346dfad8360e01b5f5260045260245260445ffd5b6288b61360e51b5f5260045ffd5b6302cf233b60e51b5f5260045260245ffd5b9192606083146152335760405163abe3b08560e01b81526080818061517885337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4801561007257615216575b506151a7833361576d565b6151b2838333615903565b346151f2575b6151eb7f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a91604051918291339583614bbd565b0390a45f90565b5f80808034335af16152026149ba565b506151b8576312171d8360e31b5f5260045ffd5b61522e9060803d608011610dfc57610def8183613dcc565b61519c565b63e113b20760e01b5f5260045ffd5b61524c8185614a40565b516005811015806152b6575b1561529257805f52601660205260ff600960405f200154161561528057506001905b01614c08565b63ddb5519f60e01b5f5260045260245ffd5b606581109081156152ab575b5061491a5760019061527a565b60699150115f61529e565b506060811115615258565b63cd1c886760e01b5f5260045ffd5b63d96668af60e01b5f5260045ffd5b9190811015614a515760051b0190565b9190811015614a515760051b81013590601e198136030182121561007d5701908135916001600160401b03831161007d57602001823603811361007d579190565b805f52601660205260ff600960405f2001541615801561540c575b8015615402575b6153f0575f9081526015602090815260408083206002015460118352928190205490516397e32c8560e01b815260048101939093526024830152604482019290925290816064817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b90506020813d6020116153e8575b816153dc60209383613dcc565b8101031261007d575190565b3d91506153cf565b63dd4e0ec360e01b5f5260045260245ffd5b5060608114615352565b50811561534b565b60025f516020615efe5f395f51905f52541461543d5760025f516020615efe5f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b0316330361545f57565b63118cdaa760e01b5f523360045260245ffd5b61547a6157e3565b600b54808203615488575050565b6321fdff9d60e21b5f5260045260245260445ffd5b919063ffffffff805f5460c01c1691169281841090811561550b575b506154f5575f838152600160205260409020546001600160a01b03169283156154e0575050565b631be6ac0d60e11b5f5260045260245260445ffd5b82631be6ac0d60e11b5f5260045260245260445ffd5b63ffffffff91506009015460801c1683105f6154b9565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527fb7db8a9ff93f0ace8d65b1e852b0af12effcf8be8a5e25ba5dc1781d23d2717660408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526155b460c082613dcc565b5190209060405190602082019261190160f01b84526022830152604282015260428152614a3a606282613dcc565b600281015473000000000000000000000000000000000000000091823b1561007d576101845f926156a394604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260018060a01b031660448501526156716064850160048301613ff1565b600860e48501910160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b60016101648301525af48015610072576156ba5750565b5f613f0a91613dcc565b6002810154730000000000000000000000000000000000000000916001600160a01b0390911690823b1561007d576101845f9261575794604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260448501526156716064850160048301613ff1565b846101648301525af48015610072576156ba5750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561007d57604051635e2d2fff60e11b81526001600160a01b039092166004830152602482015260016044820152905f908290606490829084905af18015610072576156ba5750565b600b545f905b6020821080615851575b1561584057805f52600e60205260ff600960405f20015460a01c16600881101561399e5760018114908115615846575b506158405761583461583a91613fe3565b91613fe3565b906157e9565b600b5550565b60079150145f615823565b50600d548111156157f3565b5f5b600481106158b2575060405163042fcd0160e21b815290615884906004830190614b5d565b6020816084817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b6158bc8183614a40565b51600581101590816158f7575b816158dc575b5061491a5760010161585f565b90505f52601660205260ff600960405f20015416155f6158cf565b605f81111591506158c9565b90915f92815f526015602052600260405f2001549162015180420492815f52601a60205261593560405f205491615e05565b1180615a58575b80615a38575b61594d575050505090565b8091929394505f52601a60205260405f206159688154613fe3565b9055815f52601b60205260405f20905f5260205260405f20600160ff198254161790555f52601e60205260405f20905f5260205260405f206159aa8154613fe3565b90557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561007d57604051635e2d2fff60e11b81526001600160a01b0390911660048201526064602482018190526001604483015290915f918391829084905af1801561007257615a28575b50600190565b5f615a3291613dcc565b5f615a22565b50815f52601e60205260405f20835f52602052600260405f205410615942565b50815f52601b60205260405f20815f5260205260ff60405f2054161561593c565b60018114908115615a88575090565b5f19810191508111613fcf57805f52601960205260405f2054905f52601860205260405f205460018101809111613fcf5760011c111590565b9190825f526016602052615b27600560405f200160405194631b9bc40360e11b86526023600487015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602487015260448601526064850190613ff1565b60e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610104830152604082610124817300000000000000000000000000000000000000005af4918215610072575f905f93615b8e57509190565b9250506040823d604011615bc3575b81615baa60409383613dcc565b8101031261007d576020615bbd836149ff565b92015190565b3d9150615b9d565b6080604051615bda8282613dcc565b3690375f5b60048110615beb575090565b919060018301808411613fcf575b60048110615c0c57509091600101615bdf565b600190615c198584614a40565b51615c248285614a40565b5110615c31575b01615bf9565b615c3b8184614a40565b51615c468685614a40565b51615c518386614a40565b52615c5c8685614a40565b52615c2b565b6040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610072575f91615cda575b50336001600160a01b0390911603615ccb57565b636061778f60e11b5f5260045ffd5b90506020813d602011615d0c575b81615cf560209383613dcc565b8101031261007d57615d06906149ff565b5f615cb7565b3d9150615ce8565b6018811115615a2257602c811115615d6557603e811115615d5f57604d811115615d59576059811115615d5357605f1015615d4e57600790565b600690565b50600590565b50600490565b50600390565b50600290565b8151919060418303615d9b57615d949250602082015190606060408401519301515f1a90615e5b565b9192909190565b50505f9160029190565b600481101561399e5780615db7575050565b60018103615dce5763f645eedf60e01b5f5260045ffd5b60028103615de9575063fce698f760e01b5f5260045260245ffd5b600314615df35750565b6335e2f38360e21b5f5260045260245ffd5b60018114615e555760028114615e4f5760038114615e495760048114615e435760058114615e3d57600614615e38575f90565b600890565b50600a90565b50600c90565b50600f90565b50601490565b50601990565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411615ed2579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610072575f516001600160a01b03811615615ec857905f905f90565b505f906001905f90565b5050505f916003919056fe3d3a07bd6d8d84b8ac0a290a3fa928176f5e74d1fa2a56adfa2c68f4345207f59b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e003360a0604052346103545761109f6020813803918261001c81610358565b93849283398101031261035457516001600160a01b0381168103610354576100446040610358565b90601b82527f4861736844726f6964732053796e74686573697320506174656e74000000000060208301526100796040610358565b6008815267121114105511539560c21b602082015282519091906001600160401b038111610268575f54600181811c9116801561034a575b602082101461024a57601f81116102e8575b506020601f821160011461028757819293945f9261027c575b50508160011b915f199060031b1c1916175f555b81516001600160401b03811161026857600154600181811c9116801561025e575b602082101461024a57601f81116101e7575b50602092601f821160011461018657928192935f9261017b575b50508160011b915f199060031b1c1916176001555b608052604051610d21908161037e8239608051818181610156015281816102ce01526105820152f35b015190505f8061013d565b601f1982169360015f52805f20915f5b8681106101cf57508360019596106101b7575b505050811b01600155610152565b01515f1960f88460031b161c191690555f80806101a9565b91926020600181928685015181550194019201610196565b60015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f830160051c81019160208410610240575b601f0160051c01905b8181106102355750610123565b5f8155600101610228565b909150819061021f565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610111565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100dc565b601f198216905f8052805f20915f5b8181106102d0575095836001959697106102b8575b505050811b015f556100f0565b01515f1960f88460031b161c191690555f80806102ab565b9192602060018192868b015181550194019201610296565b5f80527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f830160051c81019160208410610340575b601f0160051c01905b81811061033557506100c3565b5f8155600101610328565b909150819061031f565b90607f16906100b1565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176102685760405256fe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146108a35750806306fdde03146107eb578063081812fc146107af578063095ea7b3146106c557806323b872dd146106ae57806340c10f191461056357806342842e0e1461053a5780636352211e1461050a57806370a08231146104b957806395d89b41146103b1578063a22cb465146102fd578063a3f5c1d2146102b9578063b88d4fde1461022f578063c87b56dd1461011c5763e985e9c5146100c1575f80fd5b34610118576040366003190112610118576100da610932565b6100e2610948565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b5f80fd5b346101185760203660031901126101185760043561013981610cb7565b5060405163c87b56dd60e01b815260048101919091525f816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610224575f906101a9575b6101a59060405191829160208352602083019061090e565b0390f35b503d805f833e6101b98183610998565b8101906020818303126101185780519067ffffffffffffffff821161011857019080601f830112156101185781516101f0816109ce565b916101fe6040519384610998565b81835260208285010111610118576020815f92826101a596018386015e8301015261018d565b6040513d5f823e3d90fd5b3461011857608036600319011261011857610248610932565b610250610948565b6064359167ffffffffffffffff831161011857366023840112156101185782600401359161027d836109ce565b9261028b6040519485610998565b8084523660248287010111610118576020815f9260246102b79801838801378501015260443591610b77565b005b34610118575f366003190112610118576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461011857604036600319011261011857610316610932565b6024359081151580920361011857331561039e576001600160a01b031690811561038b57335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b34610118575f366003190112610118576040515f6001548060011c906001811680156104af575b60208310811461049b578285529081156104775750600114610419575b6101a58361040581850382610998565b60405191829160208352602083019061090e565b91905060015f527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6915f905b80821061045d575090915081016020016104056103f5565b919260018160209254838588010152019101909291610445565b60ff191660208086019190915291151560051b8401909101915061040590506103f5565b634e487b7160e01b5f52602260045260245ffd5b91607f16916103d8565b34610118576020366003190112610118576001600160a01b036104da610932565b1680156104f7575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610118576020366003190112610118576020610528600435610cb7565b6040516001600160a01b039091168152f35b34610118576102b761054b3661095e565b906040519261055b602085610998565b5f8452610b77565b346101185760403660031901126101185761057c610932565b602435907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361069f576001600160a01b031690811561068c575f818152600260205260409020546001600160a01b03168015159290919083610659575b805f52600360205260405f2060018154019055815f52600260205260405f20816bffffffffffffffffffffffff60a01b825416179055827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45061064657005b6339e3563760e11b5f525f60045260245ffd5b5f82815260046020526040902080546001600160a01b0319169055825f52600360205260405f205f1981540190556105e4565b633250574960e11b5f525f60045260245ffd5b633721f51560e11b5f5260045ffd5b34610118576102b76106bf3661095e565b916109ea565b34610118576040366003190112610118576106de610932565b6024356106ea81610cb7565b3315158061079c575b8061076f575b61075c5781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff16156106f9565b506001600160a01b0381163314156106f3565b34610118576020366003190112610118576004356107cc81610cb7565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610118575f366003190112610118576040515f5f548060011c90600181168015610899575b60208310811461049b57828552908115610477575060011461083d576101a58361040581850382610998565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b80821061087f575090915081016020016104056103f5565b919260018160209254838588010152019101909291610867565b91607f1691610811565b34610118576020366003190112610118576004359063ffffffff60e01b8216809203610118576020916380ac58cd60e01b81149081156108fd575b81156108ec575b5015158152f35b6301ffc9a760e01b149050836108e5565b635b5e139f60e01b811491506108de565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361011857565b602435906001600160a01b038216820361011857565b6060906003190112610118576004356001600160a01b038116810361011857906024356001600160a01b0381168103610118579060443590565b90601f8019910116810190811067ffffffffffffffff8211176109ba57604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116109ba57601f01601f191660200190565b6001600160a01b039091169190821561068c575f828152600260205260409020546001600160a01b031692829033151580610ae2575b5084610aaf575b805f52600360205260405f2060018154019055815f52600260205260405f20816bffffffffffffffffffffffff60a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b0316808303610a9757505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f198154019055610a27565b90915080610b26575b15610af85782905f610a20565b8284610b1057637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b503384148015610b55575b80610aeb57505f838152600460205260409020546001600160a01b03163314610aeb565b505f84815260056020908152604080832033845290915290205460ff16610b31565b9291610b848183866109ea565b813b610b91575b50505050565b604051630a85bd0160e11b81523360048201526001600160a01b0394851660248201526044810191909152608060648201529216919060209082908190610bdc90608483019061090e565b03815f865af15f9181610c72575b50610c3f57503d15610c38573d610c00816109ce565b90610c0e6040519283610998565b81523d5f602083013e5b80519081610c335782633250574960e11b5f5260045260245ffd5b602001fd5b6060610c18565b6001600160e01b03191663757a42ff60e11b01610c6057505f808080610b8b565b633250574960e11b5f5260045260245ffd5b9091506020813d602011610caf575b81610c8e60209383610998565b8101031261011857516001600160e01b03198116810361011857905f610bea565b3d9150610c81565b5f818152600260205260409020546001600160a01b0316908115610cd9575090565b637e27328960e01b5f5260045260245ffdfea2646970667358221220314a5d8b5156f5213884afc2d26eee5c5440ba15c60e88155d9b5de34a4e66e064736f6c634300081e003360c080604052346104cd576040816135dd803803809161001f828561052a565b8339810103126104cd5761003e60206100378361054d565b920161054d565b6020905f60405161004f848261052a565b52600254600181811c91168015610520575b838210146102a457601f81116104f6575b505f60025560017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00556001600160a01b03831680159081156104eb575b506104dc57803b156102d657604051637764583960e01b8152925f846004816001600160a01b0386165afa9384156104d1575f94610447575b50835160098110908115610425575b5080156103ff575b80156103d9575b80156103b3575b801561038d575b8015610367575b8015610341575b80156102e5575b6102d65760805260a0528151906001600160401b0382116102c257600554600181811c911680156102b8575b828210146102a457601f8111610260575b5080601f83116001146101fd575081925f926101f2575b50508160011b915f199060031b1c1916176005555b60405161307b908161056282396080518181816105ac015281816107fc01528181610a2201528181610d8c015281816110180152818161114d015281816112c00152818161162d01528181611bc50152611f82015260a05181610bea0152f35b015190505f8061017d565b90601f1983169360055f52825f20925f905b8682106102485750508360019510610230575b505050811b01600555610192565b01515f1960f88460031b161c191690555f8080610222565b8060018596829496860151815501950193019061020f565b60055f52815f20601f840160051c81019183851061029a575b601f0160051c01905b81811061028f5750610166565b5f8155600101610282565b9091508190610279565b634e487b7160e01b5f52602260045260245ffd5b90607f1690610155565b634e487b7160e01b5f52604160045260245ffd5b630161139960e31b5f5260045ffd5b5083515f19810181811161032d578551111561031957840183015f1901516001600160f81b031916602f60f81b1415610129565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b508351600610156103195760268401516001600160f81b031916602f60f81b1415610122565b508351600510156103195760258401516001600160f81b031916602f60f81b141561011b565b508351600410156103195760248401516001600160f81b031916601d60f91b1415610114565b508351600310156103195760238401516001600160f81b031916607360f81b141561010d565b508351600210156103195760228401516001600160f81b031916603360f91b1415610106565b508351600110156103195760218401516001600160f81b031916600760fc1b14156100ff565b90501561031957838301516001600160f81b031916606960f81b14155f6100f7565b9093503d805f833e610459818361052a565b81019083818303126104cd578051906001600160401b0382116104cd570181601f820112156104cd578051906001600160401b0382116102c257604051926104aa601f8401601f191687018561052a565b8284528583830101116104cd57815f92868093018386015e83010152925f6100e8565b5f80fd5b6040513d5f823e3d90fd5b633721f51560e11b5f5260045ffd5b90503314155f6100af565b60025f52601f835f20910160051c8101905b8181106105155750610072565b5f8155600101610508565b90607f1690610061565b601f909101601f19168101906001600160401b038211908210176102c257604052565b51906001600160a01b03821682036104cd5756fe60806040526004361015610011575f80fd5b5f3560e01c8062fdd58e1461020357806301ffc9a7146101fe57806306fdde03146101f95780630e89341c146101f457806318160ddd146101ef5780632a795fd5146101ea5780632eb2c2d6146101e55780633c764801146101e057806349a2e71c146101db5780634e1273f4146101d65780634f558e79146101d1578063511cd8cf146101cc5780637577dd70146101c757806377645839146101c2578063865190ef146101bd5780638ada6b0f146101b857806395d89b41146101b35780639eb656cc146101ae578063a22cb465146101a9578063a3f5c1d2146101a4578063a52c76031461019f578063ac44ff311461019a578063ac46fa2214610195578063bc197c8114610190578063bc5a5ffe1461018b578063bd85b03914610186578063e43debd414610181578063e8a3d4851461017c578063e985e9c514610177578063f23a6e61146101725763f242432a1461016d575f80fd5b611663565b6115a2565b611546565b611346565b61128f565b611265565b61113b565b61108f565b610fff565b610f5c565b610deb565b610d77565b610caa565b610c5b565b610c40565b610bd5565b610bab565b610ae1565b610a11565b6109e2565b6109b6565b6108f7565b610889565b6107eb565b61075f565b61059a565b610553565b610454565b610421565b6102bc565b610262565b600435906001600160a01b038216820361021e57565b5f80fd5b602435906001600160a01b038216820361021e57565b604435906001600160a01b038216820361021e57565b35906001600160a01b038216820361021e57565b3461021e57604036600319011261021e5760206102a1610280610208565b6024355f525f835260405f209060018060a01b03165f5260205260405f2090565b54604051908152f35b6001600160e01b031981160361021e57565b3461021e57602036600319011261021e576004356102d9816102aa565b63ffffffff60e01b16630271189760e51b8114908115610302575b506040519015158152602090f35b636cdb3d1360e11b811491508115610334575b8115610323575b505f6102f4565b6301ffc9a760e01b1490505f61031c565b6303a24d0760e21b81149150610315565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b0382111761037a57604052565b610345565b6001600160401b03811161037a57601f01601f191660200190565b604051906103a9602083610359565b5f8252565b604051906103bd604083610359565b601e82527f4861736844726f69647320456c656d656e747320616e642043686573747300006020830152565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90602061041e9281815201906103e9565b90565b3461021e575f36600319011261021e5761045061043c6103ae565b6040519182916020835260208301906103e9565b0390f35b3461021e57602036600319011261021e5761045061051d61051860043561047a81611bfb565b606481036105295761049e61048d6116bf565b61049683611ebe565b93909161202b565b9361051261050c6105066105006104e26104fb60046104bc88612270565b60405193849160056104d0602085016116ec565b64656c656d5f60d81b81520190611773565b632e6a706760e01b815203601b19810184520182610359565b61202b565b93612270565b9361202b565b94612270565b94611785565b6123c6565b6040519182918261040d565b61049e60405161053a604082610359565b6007815266115b195b595b9d60ca1b602082015261048d565b3461021e575f36600319011261021e576020600454604051908152f35b606090600319011261021e576004356001600160a01b038116810361021e57906024359060443590565b3461021e576105a836610570565b90917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c576105e2612419565b6105eb81612451565b6105f58284612484565b60018060a01b031690815f52600660205260405f20835f5260205260405f20805491808301809311610687577fa49d05c5e826932347d09d61bdfcb0d495502ae74885fbb3910c95083722b712926106719255845f52600760205260405f2061065f828254611a33565b90556040519081529081906020820190565b0390a360015f5160206130265f395f51905f5255005b611a11565b633721f51560e11b5f5260045ffd5b6001600160401b03811161037a5760051b60200190565b9291906106be8161069b565b936106cc6040519586610359565b602085838152019160051b810192831161021e57905b8282106106ee57505050565b81358152602091820191016106e2565b9080601f8301121561021e5781602061041e933591016106b2565b81601f8201121561021e578035906107308261037f565b9261073e6040519485610359565b8284526020838301011161021e57815f926020809301838601378301015290565b3461021e5760a036600319011261021e57610778610208565b610780610222565b906044356001600160401b03811161021e576107a09036906004016106fe565b6064356001600160401b03811161021e576107bf9036906004016106fe565b90608435936001600160401b03851161021e576107e36107e9953690600401610719565b93611a40565b005b3461021e576107f936610570565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57610832612419565b61083d8282856125de565b80610879575b80831161085e575b60015f5160206130265f395f51905f5255005b820391821161068757610870926126b3565b5f80808061084b565b6108848183306126b3565b610843565b3461021e57602036600319011261021e576004355f526007602052602060405f2054604051908152f35b90602080835192838152019201905f5b8181106108d05750505090565b82518452602093840193909201916001016108c3565b90602061041e9281815201906108b3565b3461021e57604036600319011261021e576004356001600160401b03811161021e573660238201121561021e578060040135906109338261069b565b916109416040519384610359565b8083526024602084019160051b8301019136831161021e57602401905b82821061099e57836024356001600160401b03811161021e576104509161098c6109929236906004016106fe565b90611a91565b604051918291826108e6565b602080916109ab8461024e565b81520191019061095e565b3461021e57602036600319011261021e576004355f526003602052602060405f20541515604051908152f35b3461021e57604036600319011261021e576020610a09610a00610208565b60243590611b45565b604051908152f35b3461021e57610a1f36610570565b907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57610a58612419565b610a638282856125de565b815f52600860205260405f208054908482018092116106875755808311610a975760015f5160206130265f395f51905f5255005b8203918211610687576108709261279b565b90600182811c92168015610ad7575b6020831014610ac357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610ab8565b3461021e575f36600319011261021e576040515f600554610b0181610aa9565b8084529060018116908115610b875750600114610b29575b6104508361051d81850382610359565b91905060055f527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0915f905b808210610b6d5750909150810160200161051d610b19565b919260018160209254838588010152019101909291610b55565b60ff191660208086019190915291151560051b8401909101915061051d9050610b19565b3461021e57602036600319011261021e576004355f526008602052602060405f2054604051908152f35b3461021e575f36600319011261021e576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b60405190610c28604083610359565b600982526812111153115351539560ba1b6020830152565b3461021e575f36600319011261021e5761045061043c610c19565b3461021e57604036600319011261021e57610c74610208565b6024359060018060a01b03165f52600660205260405f20905f52602052602060405f2054604051908152f35b8015150361021e57565b3461021e57604036600319011261021e57610cc3610208565b602435610ccf81610ca0565b3315610d64576001600160a01b038216918215610d525781610d0f610d2092335f52600160205260405f209060018060a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b62ced3e160e81b5f525f60045260245ffd5b631f18c42760e11b5f525f60045260245ffd5b3461021e575f36600319011261021e576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b9181601f8401121561021e578235916001600160401b03831161021e576020808501948460051b01011161021e57565b3461021e57606036600319011261021e576004356001600160401b03811161021e57610e1b903690600401610dbb565b6024356001600160401b03811161021e57610e3a903690600401610dbb565b92610e43610238565b92610e4c612419565b610e5584612451565b80158015610f52575b610f43579092905f5b818110610f135750610e98610e7d3683876106b2565b610e883688876106b2565b610e9061039a565b918530612539565b6001600160a01b03909116905f5b818110610ec3576107e960015f5160206130265f395f51905f5255565b80610ed16001928488611b83565b3584610ede838a89611b83565b6040519035815233907fc80e326f520ee6c8773d6271d2f8679e5cbc56fb69ad9c8ee2e287ffafdd64ea90602090a401610ea6565b80610f3a610f2660019385899799611b83565b35610f32838a89611b83565b3590336127d3565b01939193610e67565b63162908e360e11b5f5260045ffd5b5084811415610e5e565b3461021e57606036600319011261021e57600435602435610f7b610238565b610f83612419565b610f8c81612451565b610f978284336127d3565b610fb4604051610fa8602082610359565b5f81528385843061286d565b6040519182526001600160a01b03169033907fc80e326f520ee6c8773d6271d2f8679e5cbc56fb69ad9c8ee2e287ffafdd64ea90602090a460015f5160206130265f395f51905f5255005b3461021e57604036600319011261021e576004356024357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c5761084b91611052612419565b61105c8282612484565b306126b3565b9181601f8401121561021e578235916001600160401b03831161021e576020838186019501011161021e57565b3461021e5760a036600319011261021e576110a8610208565b6110b0610222565b506044356001600160401b03811161021e576110d0903690600401610dbb565b50506064356001600160401b03811161021e576110f1903690600401610dbb565b50506084356001600160401b03811161021e5761045091611119611120923690600401611062565b5050611b93565b6040516001600160e01b031990911681529081906020820190565b3461021e5761114936610570565b90917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316330361068c57611183612419565b61118c81612451565b611196828461291b565b60018060a01b031690815f52600660205260405f20835f5260205260405f20805491808301809311610687577fa49d05c5e826932347d09d61bdfcb0d495502ae74885fbb3910c95083722b7129261124c92556111fb855f52600760205260405f2090565b611206828254611a33565b905561121a600160ff196009541617600955565b61122d61122561039a565b82873061292b565b61123c60ff1960095416600955565b6040519081529081906020820190565b0390a36107e960015f5160206130265f395f51905f5255565b3461021e57602036600319011261021e576004355f526003602052602060405f2054604051908152f35b3461021e57608036600319011261021e576112a8610208565b6112b0610222565b6064356044356001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361068c576112ee612419565b6112f783612451565b6113028282866125de565b808311611328575b5061084b93506040519261131f602085610359565b5f84523061286d565b8203938285116106875761084b94826113409261279b565b5f61130a565b3461021e575f36600319011261021e5761045061051d6113da610518602b61136c6103ae565b611501611377610c19565b60dd6113f36113b56040516104fb600c82611394602082016116ec565b6b656c656d5f3130302e6a706760a01b815203601319810184520182610359565b92600c604051998a97683d913730b6b2911d1160b91b60208a01526029890190611773565b6b11161139bcb6b137b6111d1160a11b81520190611773565b7f222c226465736372697074696f6e223a225472616e7366657261626c6520455281527f432d3131353520656c656d656e747320616e642073796e74686573697320636860208201527f6573747320666f72204861736844726f696473205068617365204949492e204f60408201527f6e6520746f6b656e20657175616c73206f6e6520756e69742e20446973636f7660608201527f65727920706174656e7473206172652061207365706172617465204552432d3760808201527f323120636f6c6c656374696f6e2e204e6f2061646d696e206d696e74206f722060a08201527f7570677261646520617574686f726974792e222c22696d616765223a2200000060c08201520190611773565b7f222c2265787465726e616c5f6c696e6b223a2268747470733a2f2f686173686481526a726f6964732e66756e227d60a81b602082015203600b810184520182610359565b3461021e57604036600319011261021e57602060ff611596611566610208565b61156e610222565b6001600160a01b039182165f9081526001865260408082209290931681526020919091522090565b54166040519015158152f35b3461021e5760a036600319011261021e576115bb610208565b6115c3610222565b506084356001600160401b03811161021e576115e3903690600401611062565b50503033149081159161162b575b50801561161e575b61160f5760405163f23a6e6160e01b8152602090f35b632e74c3ff60e01b5f5260045ffd5b5060ff60095416156115f9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b039081169116141590505f6115f1565b3461021e5760a036600319011261021e5761167c610208565b611684610222565b9060443560643590608435936001600160401b03851161021e576116af6107e9953690600401610719565b936116ba81336124d3565b61286d565b604051906116ce604083610359565b600f82526e14de5b9d1a195cda5cc810da195cdd608a1b6020830152565b6005545f92916116fb82610aa9565b91600181169081156117615750600114611713575050565b60055f90815292935090917f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b83821061174d5750500190565b600181602092548486015201910190611740565b60ff1916825250811515909102019150565b805191908290602001825e015f815290565b93919594929095604051968795683d913730b6b2911d1160b91b6020880152602987016117b191611773565b7f222c226465736372697074696f6e223a224f6e65204552432d3131353520746f81527f6b656e206973206f6e652067616d6520756e69742e2047616d6520637573746f60208201527f6479206372656469747320617265206261636b6564206279207265616c20746f60408201527f6b656e7320616e642063616e20626520636c61696d6564206f7220757365642060608201527f696e2074686520437269736f6c2e205468697320746f6b656e206973206e6f7460808201527f206120646973636f7665727920706174656e742e222c22696d616765223a220060a08201526118a19160bf90910190611773565b7f222c2265787465726e616c5f75726c223a2268747470733a2f2f6861736864728152602081017f6f6964732e66756e222c2261747472696275746573223a5b7b2274726169745f9052604081017f74797065223a22456c656d656e74204944222c2276616c7565223a00000000009052605b0161191e91611773565b7f7d2c7b2274726169745f74797065223a2241737365742074797065222c227661815265363ab2911d1160d11b602082015260260161195c91611773565b7f227d2c7b2274726169745f74797065223a2253796d626f6c222c2276616c7565815262111d1160e91b602082015260230161199791611773565b7f227d2c7b2274726169745f74797065223a2254696572222c2276616c7565223a81526020016119c691611773565b7f7d2c7b2274726169745f74797065223a22556e69742073697a65222c2276616c8152677565223a317d5d7d60c01b602082015260280103601f1981018352611a0f9083610359565b565b634e487b7160e01b5f52601160045260245ffd5b906002820180921161068757565b9190820180921161068757565b90611a0f94939291611a5281336124d3565b612539565b9190820391821161068757565b634e487b7160e01b5f52603260045260245ffd5b8051821015611a8c5760209160051b010190565b611a64565b91909180518351808203611b30575050805190611aad8261069b565b91611abb6040519384610359565b808352611aca601f199161069b565b013660208401375f5b8151811015611b295780611b1860019260051b60208082870101519189010151905f918252602082815260408084206001600160a01b03909316845291905290205490565b611b228286611a78565b5201611ad3565b5090925050565b635b05999160e01b5f5260045260245260445ffd5b5f828152602081815260408083206001600160a01b039490941683529281528282205460068252838320948352939052205481019081106106875790565b9190811015611a8c5760051b0190565b30331490811591611bc3575b508015611bb6575b61160f5763bc197c8160e01b90565b5060ff6009541615611ba7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b039081169116141590505f611b9f565b600581101580611c3e575b8015611c27575b15611c155750565b63a1f5a4f560e01b5f5260045260245ffd5b5060648110158015611c0d57506069811115611c0d565b506060811115611c06565b81601f8201121561021e57805190611c608261037f565b92611c6e6040519485610359565b8284526020838301011161021e57815f9260208093018386015e8301015290565b909160a08284031261021e5781516001600160401b03811161021e5783611cb7918401611c49565b926020830151906001600160401b03821161021e57611cd7918401611c49565b916040810151916080606083015192015161041e81610ca0565b6040513d5f823e3d90fd5b90611a0f611d3192604051938491734861736844726f69647320456c656d656e74202360601b60208401526034830190611773565b03601f198101845283610359565b60405190611d4e604083610359565b600582526410d21154d560da1b6020830152565b60405190611d71604083610359565b60058252642bb0ba32b960d91b6020830152565b60405190611d94604083610359565b60058252642ba0aa22a960d91b6020830152565b60405190611db7604083610359565b60048252634669726560e01b6020830152565b60405190611dd9604083610359565b60048252634649524560e01b6020830152565b60405190611dfb604083610359565b600582526408ac2e4e8d60db1b6020830152565b60405190611e1e604083610359565b600582526408a82a4a8960db1b6020830152565b60405190611e41604083610359565b600382526220b4b960e91b6020830152565b60405190611e62604083610359565b600382526220a4a960e91b6020830152565b60405190611e83604083610359565b6007825266456e74726f707960c81b6020830152565b60405190611ea8604083610359565b6007825266454e54524f505960c81b6020830152565b6060811115611f5d5760648114611f4b5760658114611f395760668114611f275760678114611f1557606814611f0457611ef6611e74565b90611eff611e99565b905f90565b611f0c611e32565b90611eff611e53565b50611f1e611dec565b90611eff611e0f565b50611f30611da8565b90611eff611dca565b50611f42611d62565b90611eff611d85565b50611f546116bf565b90611eff611d3f565b60405163376e4dd760e21b81526004810182905290915f826024816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa8015612018575f935f935f905f93611fe6575b5093949115611fc65750929190565b9050611fd8919350611fdd9250612270565b611cfc565b90611eff61039a565b92505092506120089193503d805f833e6120008183610359565b810190611c8f565b929593905093909394935f611fb7565b611cf1565b5f1981146106875760010190565b906040515f925f5b815181101561222e578181016020015160f81c6b1000000000000004ffffffff6001821b1615612207576120706120698761201d565b9685612a2e565b60ff81166008810361209a57505060019061209461208d8761201d565b9685612a7e565b01612033565b600981036120bf5750506001906120ba6120b38761201d565b9685612a74565b612094565b600a81036120df5750506001906120ba6120d88761201d565b9685612a6a565b600c81036120ff5750506001906120ba6120f88761201d565b9685612a60565b600d810361211f5750506001906120ba6121188761201d565b9685612a56565b605c81036121385750506001906120ba6120698761201d565b60220361215657506001906120ba61214f8761201d565b9685612a4c565b949061216b6121648361201d565b9285612a38565b61217e6121778361201d565b9285612a42565b61218a6121778361201d565b6121938261201d565b91600f600488901c16906010821015611a8c576121ca916f181899199a1a9b1b9c1cb0b131b232b360811b901a60f81b9086612a88565b600f6121d58361201d565b96166010811015611a8c576001926120ba916f181899199a1a9b1b9c1cb0b131b232b360811b901a60f81b9086612a88565b94906120ba826122196001949161201d565b9760f81b6001600160f81b0319169086612a88565b5050828152918201602001604052565b906122488261037f565b6122556040519182610359565b8281528092612266601f199161037f565b0190602036910137565b805f9172184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8210156123a3575b806d04ee2d6d415b85acef8100000000600a921015612387575b662386f26fc10000811015612372575b6305f5e100811015612360575b612710811015612350575b6064811015612341575b1015612336575b61232160216122f66001850161223e565b938401015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b600a82061a8353600a900490565b80156123315761232190916122fb565b505090565b6001909101906122e5565b600290606490049301926122de565b60049061271090049301926122d4565b6008906305f5e10090049301926122c9565b601090662386f26fc1000090049301926122bc565b6020906d04ee2d6d415b85acef810000000090049301926122ac565b506040915072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8104612292565b61041e6123d561240b92612aae565b6040519283917f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020840152603d830190611773565b03601f198101835282610359565b60025f5160206130265f395f51905f5254146124425760025f5160206130265f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b6001600160a01b0316801590811561247a575b5061246b57565b630da30f6560e31b5f5260045ffd5b905030145f612464565b61248e828261291b565b805f52600860205260405f2054918083106124ba578203918211610687575f52600860205260405f2055565b9063ba43a20b60e01b5f5260045260245260445260645ffd5b6001600160a01b039182169181169082821415908161250b575b506124f6575050565b63711bec9160e11b5f5260045260245260445ffd5b5f8481526001602090815260408083206001600160a01b0390941683529290522060ff91505416155f6124ed565b9491939192906001600160a01b03811680156125cb576001600160a01b038716156125b9573014806125ac575b61160f575f5b8551811015612591578061258b61258560019389611a78565b51611bfb565b0161256c565b50611a0f94919293956125a684848484612e56565b33612d93565b5060ff6009541615612566565b626a0d4560e21b5f525f60045260245ffd5b632bfa23e760e11b5f525f60045260245ffd5b909291926125eb82612451565b6125f5848261291b565b6125ff8183611b45565b848110612699575060018060a01b0382165f52600660205260405f20815f5260205260405f205493808511612691575b5083612639575050565b6126678161265a6126829460018060a01b03165f52600660205260405f2090565b905f5260205260405f2090565b612672858254611a57565b90555f52600760205260405f2090565b61268d838254611a57565b9055565b93505f61262f565b848263b60bda9760e01b5f5260045260245260445260645ffd5b916001600160a01b038316156125b9576126ea60405192600184526020840152604083019160018352606084015260808301604052565b926020935f6040516126fd602082610359565b5230158061278e575b61160f575f5b835181101561272b578061272561258560019387611a78565b0161270c565b50909281835f61273a93612e56565b5f90815b835183101561277b576001908360051b9061276c8880848701015193880101515f52600360205260405f2090565b8281540390550192019161273e565b92505050611a0f91925060045403600455565b5060ff6009541615612706565b90916127c792600160ff196009541617600955604051926127bd602085610359565b5f8452309061286d565b60ff1960095416600955565b906127de838261291b565b60018060a01b0382165f52600660205260405f20815f5260205260405f2054838110612853578381039081116106875761282b6128449360018060a01b03165f52600660205260405f2090565b825f5260205260405f20555f52600760205260405f2090565b80549182039182116106875755565b8382630b831b8960e21b5f5260045260245260445260645ffd5b90946001600160a01b03861694909390929085156125cb576001600160a01b038316156125b9576128bb60405192600184526020840152604083019160018352606084015260808301604052565b909430148061290e575b61160f575f5b85518110156128ea57806128e461258560019389611a78565b016128cb565b5090919294602080611a0f9661290285828689612e56565b01519201519233612c4a565b5060ff60095416156128c5565b61292490611bfb565b15610f4357565b6001600160a01b0381169290919083156125cb5761296660405192600184526020840152604083019160018352606084015260808301604052565b939092301480612a21575b61160f575f5b8351811015612996578061299061258560019387611a78565b01612977565b5090926129a58184865f612e56565b5f91825b84518410156129f5576129ed6001918560051b906129db6020808489010151938a0101515f52600360205260405f2090565b6129e6838254611a33565b9055611a33565b9301926129a9565b611a0f95935060209194612a14612a0f8493600454611a33565b600455565b0151910151915f33612c4a565b5060ff6009541615612971565b605c910160200153565b6075910160200153565b6030910160200153565b6022910160200153565b6072910160200153565b6066910160200153565b606e910160200153565b6074910160200153565b6062910160200153565b919060209160f81c92010153565b600281901b91906001600160fe1b0381160361068757565b90815115612bc357612ad2612acd612ac68451611a25565b6003900490565b612a96565b90604051917f4142434445464748494a4b4c4d4e4f505152535455565758595a616263646566601f527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f603f52602083018480518101602081018051915f82525b808910612b875750602095969750906003929152510680600114612b7257600214612b65575b50808452830101604052565b603d905f1901535f612b59565b50603d90815f1982015360011901535f612b59565b939760036004910198603f8a51818160121c165183538181600c1c16516001840153818160061c16516002840153165160038201530193612b33565b905061041e61039a565b9081602091031261021e575161041e816102aa565b6001600160a01b039182168152911660208201526040810191909152606081019190915260a06080820181905261041e929101906103e9565b3d15612c45573d90612c2c8261037f565b91612c3a6040519384610359565b82523d5f602084013e565b606090565b9091949293853b612c5e575b505050505050565b602093612c8091604051968795869563f23a6e6160e01b875260048701612be2565b03815f6001600160a01b0387165af15f9181612d0f575b50612cd15750612ca5612c1b565b8051919082612cca57632bfa23e760e11b5f526001600160a01b03821660045260245ffd5b6020915001fd5b6001600160e01b031916630dc5919f60e01b01612cf457505f8080808080612c56565b632bfa23e760e11b5f526001600160a01b031660045260245ffd5b612d3291925060203d602011612d39575b612d2a8183610359565b810190612bcd565b905f612c97565b503d612d20565b6001600160a01b0391821681529116602082015260a06040820181905261041e9491939192612d859291612d7791908601906108b3565b9084820360608601526108b3565b9160808184039101526103e9565b9091949293853b612da657505050505050565b602093612dc891604051968795869563bc197c8160e01b875260048701612d40565b03815f6001600160a01b0387165af15f9181612e10575b50612ded5750612ca5612c1b565b6001600160e01b0319166343e6837f60e01b01612cf457505f8080808080612c56565b612e2a91925060203d602011612d3957612d2a8183610359565b905f612ddf565b9091612e4861041e936040845260408401906108b3565b9160208184039101526108b3565b93929180518351908181036130105750505f5b8151811015612f6a578060051b90602080838501015192860101518460018060a01b038916612eed575b6001936001600160a01b038216612eae575b50505001612e69565b612ee391612ec6612edb925f525f60205260405f2090565b9060018060a01b03165f5260205260405f2090565b918254611a33565b90555f8481612ea5565b509091612f0588612ec6835f525f60205260405f2090565b54828110612f3357829160019493879203612f2b8b612ec6845f525f60205260405f2090565b559350612e93565b6040516303dee4c560e01b81526001600160a01b038a16600482015260248101919091526044810183905260648101829052608490fd5b508051939493919291600103612fcd576020908101519181015160408051938452918301526001600160a01b03928316939092169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6291819081015b0390a4565b6040516001600160a01b03938416949093169233927f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb928291612fc89183612e31565b635b05999160e01b5f5260045260245260445ffdfe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212204ffa5e48ada7773638ddc462f4aa4fdb5eb7d8c3cea93d4515190e3aefd6378164736f6c634300081e0033","sourceMap":"2738:54011:6:-:0;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;:::i;:::-;18770:10;;1273:26:8;1269:95;;-1:-1:-1;2738:54011:6;;18770:10;-1:-1:-1;;;;;;2738:54011:6;;;;;;;;;;18770:10;;-1:-1:-1;;;;;2738:54011:6;;3052:40:8;;-1:-1:-1;3052:40:8;2738:54011:6;1505:66:28;2738:54011:6;8032:3;;2738:54011;8081:3;;2738:54011;8185:3;;2738:54011;8238:4;;2738:54011;-1:-1:-1;8348:1:6;2738:54011;;8813:1;2738:54011;;;;9023:4;2738:54011;;;9023:4;2738:54011;18813:14;;:55;;;;-1:-1:-1;18813:98:6;;;;-1:-1:-1;18813:141:6;;;;-1:-1:-1;18813:186:6;;;;-1:-1:-1;18813:230:6;;;;-1:-1:-1;18813:281:6;;;;-1:-1:-1;18813:333:6;;;;-1:-1:-1;18796:382:6;;2738:54011;19189:20;-1:-1:-1;;;;;2738:54011:6;;;;19219:43;2738:54011;;;;19272:49;2738:54011;;;;19331:53;2738:54011;;;;19394:32;2738:54011;;19436:58;;;2738:54011;19523:36;;;;;-1:-1:-1;;;;;19523:36:6;;;;;;;;2738:54011;19523:36;;;;;;19553:4;2738:54011;;19523:36;;;-1:-1:-1;19523:36:6;;;;;2738:54011;19504:55;2738:54011;;;19589:54;;;;-1:-1:-1;;;;;19589:54:6;;;;;;;;2738:54011;19589:54;;;;;;19553:4;2738:54011;;;;;;19589:54;;;-1:-1:-1;19589:54:6;;;;;2738:54011;19569:74;19653:30;;19693:44;;19747:34;;-1:-1:-1;2738:54011:6;;-1:-1:-1;;;;;;;;2738:54011:6;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2738:54011:6;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;18770:10;;19956:68;19935:89;2738:54011;;-1:-1:-1;;;;;;2738:54011:6;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;20035:17;2738:54011;;20058:2;2738:54011;;;;;;20128:2;2738:54011;;9023:4;2738:54011;;20198:2;2738:54011;;8348:1;2738:54011;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19653:30;2738:54011;;;;;;;;;;;;;;;;;;;;19693:44;2738:54011;;;;;;;;;;19747:34;2738:54011;;;;;;;;;;;19956:68;;;19589:54;2738:54011;;;-1:-1:-1;2738:54011:6;;;;;19589:54;2738:54011;;;-1:-1:-1;2738:54011:6;;8185:3;2738:54011;;-1:-1:-1;2738:54011:6;18796:382;19164:14;;;-1:-1:-1;19164:14:6;8185:3;-1:-1:-1;19164:14:6;18813:333;-1:-1:-1;;;;;;2738:54011:6;;19110:36;18813:333;;:281;-1:-1:-1;;;;;;2738:54011:6;;19059:35;18813:281;;:230;-1:-1:-1;;;;;;2738:54011:6;;19015:28;18813:230;;:186;-1:-1:-1;;;;;;2738:54011:6;;18970:29;18813:186;;:141;-1:-1:-1;;;;;;2738:54011:6;;18927:27;18813:141;;:98;-1:-1:-1;;;;;;2738:54011:6;;18884:27;18813:98;;:55;-1:-1:-1;;;;;;2738:54011:6;;18843:25;18813:55;;1269:95:8;1322:31;;;-1:-1:-1;1322:31:8;-1:-1:-1;1322:31:8;2738:54011:6;;-1:-1:-1;1322:31:8;2738:54011:6;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;:::o","linkReferences":{"contracts/HashDroidsCrystalLib.sol":{"HashDroidsCrystalLib":[{"start":2895,"length":20},{"start":3653,"length":20},{"start":14040,"length":20},{"start":15505,"length":20},{"start":16794,"length":20}]},"contracts/HashDroidsEconomyLib.sol":{"HashDroidsEconomyLib":[{"start":8572,"length":20},{"start":11657,"length":20},{"start":15775,"length":20},{"start":22984,"length":20}]},"contracts/HashDroidsHarvestLib.sol":{"HashDroidsHarvestLib":[{"start":4980,"length":20},{"start":9294,"length":20},{"start":11134,"length":20},{"start":15865,"length":20},{"start":21435,"length":20},{"start":22441,"length":20},{"start":23574,"length":20},{"start":23800,"length":20},{"start":24249,"length":20}]},"contracts/HashDroidsTreasuryLib.sol":{"HashDroidsTreasuryLib":[{"start":1609,"length":20},{"start":11099,"length":20},{"start":19250,"length":20},{"start":24978,"length":20}]}}},"deployedBytecode":{"object":"60a0806040526004361015610081575b50361561001a575f80fd5b730000000000000000000000000000000000000000803b1561007d575f60449160405192838092631a9ec59560e21b8252602360048301523460248301525af480156100725761006657005b5f61007091613dcc565b005b6040513d5f823e3d90fd5b5f80fd5b5f6080525f3560e01c908163023f711514613c95575080630333052814613c785780630492296014613c3e5780630a01a95f14613c155780630ba4b75114613b525780630e23314214613aee578063130dec3d14613a5a57806315b366c914613a2c57806316a19641146139fe57806316ed02c31461388b5780631a4778b0146137b15780631cab4912146136f75780631fadcc9c146135ce5780632049f209146135aa5780632243de84146134545780632910ce58146132f15780632ae758e4146132545780632baa11771461322b57806330788952146131655780633210768414613137578063325c7d541461308f5780633371756e14612f7f57806334698ee114612f39578063352a425814612f0b57806337720cce14612edd5780633bcd483b14612e4957806340f5efd914612bb1578063453698f114612b3757806345fc4aa614612b1857806346cb6a8814612af45780634a0f6ac814612ad55780634b96dec11461283b5780634d61ac31146127c9578063514e7697146126ea578063541a5d07146126cb578063548bb199146126ac5780635b5e3bd11461249657806362c226681461246857806362d8a6891461237c5780636352211e146122c657806366a5a80b146122a2578063671f8a38146122775780636b6dad07146121bc5780636bd060fb1461219d5780636ce62d421461216f5780636d0fc32a146121385780636e01792c146121195780636f20a888146120d35780636f9eb35f146120a5578063715018a6146120465780637422416b1461202757806375383de114611fb4578063776ee44c14611f865780637b0e394e14611f675780637bf9c5f214611f1b5780638146776c14611cd657806383ac909a14611cb75780638af2ecf614611c895780638da5cb5b14611c5e5780638ef55ef714611c185780638f62c79c14611bf9578063909a236714611b34578063918fd15c14611b06578063976715e314611a6b578063976e74fd14611a3d578063a23d3c35146119f7578063a430cd35146119c4578063a63447b114611988578063a87316ee14611953578063acc72a9414611929578063b19e22d71461187e578063b44a230114611838578063b5258121146116ff578063b69d76a81461125a578063bc0baa751461122c578063c6b274e514611203578063c87b56dd14610f58578063ca1a9efd14610f39578063cf36815714610e6d578063d17e8e5214610e4e578063d1d425c514610e2f578063d504e2f814610c5e578063db95b05a14610c3f578063dc3520e114610c20578063ddb9375c14610b95578063e20a01a514610b59578063e234a671146108f0578063e36f5a97146108d1578063e8d7438f1461088b578063ec260ef9146107b3578063ee16efdd1461076d578063f0403e6b1461074e578063f1930eab14610712578063f2d5bdf4146106cd578063f2fde38b1461063c578063f812212c1461061b578063faba6987146105ed578063fc19b78e146105ce578063fe553464146105975763fe581c3f146104dd575f61000f565b34610591576020366003190112610591576104f6613d06565b6040516323653fa760e21b8152602960048201526001600160a01b0390911660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610551575b602090604051908152f35b506020813d60201161057c575b8161056b60209383613dcc565b8101031261007d5760209051610546565b3d915061055e565b6040513d608051823e3d90fd5b60805180fd5b34610591576105a536613d1c565b9060805152601e6020526040608051209060805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600454604051908152f35b3461059157602036600319011261059157600435608051526018602052602060406080512054604051908152f35b3461059157602061063461062e36613d1c565b90615330565b604051908152f35b3461059157602036600319011261059157610655613d06565b61065d61544c565b6001600160a01b031680156106b45760805180546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a360805180f35b631e4fbdf760e01b608051526080516004526024608051fd5b346105915760203660031901126105915760043563ffffffff81169081900361059157608051526001602052602060018060a01b036040608051205416604051908152f35b34610591576020366003190112610591576001600160a01b03610733613d06565b16608051526027602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602454604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576107cd615414565b604051630ab12fb760e01b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526020816044817300000000000000000000000000000000000000005af480156105845760805190610858575b60209060015f516020615efe5f395f51905f5255604051908152f35b506020813d602011610883575b8161087260209383613dcc565b8101031261007d576020905161083c565b3d9150610865565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020603354604051908152f35b346105915760203660031901126105915760405161090d81613db0565b608080518252805160208301528051604080840191909152815160608401525190919061093a8382613dcc565b823682378183015260405161094f8382613dcc565b8236823760a082015260805160c082015260805160e082015260805161010082015261012060805191015260043560805152600e602052604060805120906040519061099a82613db0565b825482526001830154906020830191825260018060a01b036002850154166040840190815260038501549460608501958652604051926109dd8460048401613ff1565b6109e78185613dcc565b808601938452600960405192610a25846008830160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b610a2f8385613dcc565b60a0880193845201549360c08701976001600160401b038616895260e08801946001600160401b038760401c16865260ff6101008a019763ffffffff81871c16895260a01c16976101208a01986008811015610b41578952604080519a518b52905160208b015290516001600160a01b03169089015251606088015251608051909187015b60048210610b2b5750505051946101008501608051905b60048210610b125761020087610b108863ffffffff896001600160401b038a818b511661018088015251166101a086015251166101c0840152516101e0830190613cf9565bf35b60208060019260ff8b5116815201980191019096610acb565b6020806001928551815201930191019091610ab4565b634e487b7160e01b6080515260216004526024608051fd5b3461059157610b6736613d1c565b9060805152601b6020526040608051209060805152602052602060ff60406080512054166040519015158152f35b3461059157602036600319011261059157600435608051526015602052610bfc604060805120610bc481613ed2565b90610bd160018201613ed2565b600282015491610c0a60ff60046003840154930154169260405196879660a0885260a0880190613e76565b908682036020880152613e76565b9260408501526060840152151560808301520390f35b3461059157608051366003190112610591576020600d54604051908152f35b3461059157608051366003190112610591576020600554604051908152f35b3461059157610c8d610c92610c7236613e59565b610c7d939193615414565b610c8684615c62565b3690613ded565b615bcb565b80516020820151610ce0604084015191610cd260608601516040519485936020850197889290916080949284526020840152604083015260608201520190565b03601f198101835282613dcc565b51902060805152601760205260406080512054908115610e165760608214610e035760405163abe3b08560e01b81529260808480610d4385337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4908115610584576040948492610dd6575b50610d78823361576d565b610d83828233615903565b927f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a865180610db487339583614bbd565b0390a460015f516020615efe5f395f51905f5255825191825215156020820152f35b610df79060803d608011610dfc575b610def8183613dcc565b810190614b03565b610d6d565b503d610de5565b63e113b20760e01b608051526004608051fd5b63dd4e0ec360e01b608051526080516004526024608051fd5b3461059157608051366003190112610591576020602e54604051908152f35b3461059157608051366003190112610591576020602354604051908152f35b346105915760805136600319011261059157610e87615414565b33608051526027602052604060805120548015610f2657336080515260276020526080516040608051205560805160805160805160805184335af1610eca6149ba565b5015610f13576040519081527f8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e3988860203392a260015f516020615efe5f395f51905f525560805180f35b6312171d8360e31b608051526004608051fd5b6312d37ee560e31b608051526004608051fd5b3461059157608051366003190112610591576020602554604051908152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201819052906020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa8015610584576111cc575b50806080515260166020526040608051208160805152601560205260406080512060028101549160018060a01b038154166040519163bd85b03960e01b835285600484015260208360248160018060a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa9283156105845760805193611196575b508061109060046110a3930154956040519863062caf5560e31b8a5260048a015261016060248a0152600161107d6101648b0183614065565b8a81036003190160448c01529101614065565b9560648801526005608488019101613ff1565b610104850152610124840152610144830152608051908290819003817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190611116575b61111290604051918291602083526020830190613e76565b0390f35b503d80608051833e6111288183613dcc565b810190602081830312610591578051906001600160401b03821161059157019080601f8301121561059157815161115e81613f72565b9161116c6040519384613dcc565b81835260208285010111610591578060206111129401602084015e602060805191830101526110fa565b9092506020813d6020116111c4575b816111b260209383613dcc565b8101031261007d5751916110a3611044565b3d91506111a5565b6020813d6020116111fb575b816111e560209383613dcc565b81010312610591576111f6906149ff565b610fbe565b3d91506111d8565b346105915760805136600319011261059157602063ffffffff6080515460c01c16604051908152f35b3461059157602036600319011261059157600435608051526011602052602060406080512054604051908152f35b346105915760a0366003190112610591576004356001600160401b0381116105915761128a903690600401613e29565b6024356001600160401b038111610591576112a9903690600401613e29565b91906044356001600160401b038111610591576112ca903690600401613e29565b90946064356001600160401b038111610591576112eb903690600401613e29565b9490926084356001600160401b0381116105915761130d903690600401613e29565b92909361131861544c565b60ff601454166116ec578882148015906116e2575b80156116d8575b80156116ce575b61168c576080515b8281106113505760805180f35b61135b8184846152df565b35611367828c8b6152df565b35906005811080156116c4575b80156116b2575b801561169f575b61168c578060805152601560205260ff600460406080512001541661167657908a91896113f28f8a6113e96113d3898f94818f816113c3916113cb946152ef565b9c90996152ef565b9490956152df565b3594604051986113e28a613d7a565b3691613f8d565b87523691613f8d565b926020850193845260408501526060840152600160808401526080515260156020526040608051209082518051906001600160401b0382116115b857819061143a8554613e9a565b601f8111611642575b506020906001601f8411146115db57608051926115d0575b50508160011b915f199060031b1c19161782555b51805160018301916001600160401b0382116115b85761148f8354613e9a565b601f8111611579575b506020906001601f8411146115075792826004936001989796936080968751926114fc575b50505f19600383901b1c191690881b1790555b604084015160028201556060840151600382015501910151151560ff8019835416911617905501611343565b015190505f806114bd565b90601f1983169184608051528160805120926080515b818110611561575093600198979693608096938a938360049810611549575b505050811b0190556114d0565b01515f1960f88460031b161c191690555f808061153c565b9293602060018192878601518155019501930161151d565b6115a8908460805152602060805120601f850160051c810191602086106115ae575b601f0160051c0190614018565b5f611498565b909150819061159b565b634e487b7160e01b6080515260416004526024608051fd5b015190505f8061145b565b60808051879052518281209350601f198516905b81811061162a5750908460019594939210611612575b505050811b01825561146f565b01515f1960f88460031b161c191690555f8080611605565b929360206001819287860151815501950193016115ef565b611670908660805152602060805120601f850160051c810191602086106115ae57601f0160051c0190614018565b5f611443565b632abac2c960e11b608051526004526024608051fd5b63b4fa3fb360e01b608051526004608051fd5b506116ab83888a6152df565b3515611382565b506116bc81615d14565b82141561137b565b5060608111611374565b508382141561133b565b5087821415611334565b508282141561132d565b6306e53adf60e01b608051526004608051fd5b3461059157606036600319011261059157611718613d06565b6024359060443590611728615414565b6001600160a01b03169081158015611830575b801561181d575b61168c577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b15610591576040519063390f7af560e21b8252336004830152836024830152846044830152670de0b6b3a7640000830460648301528160848160805193608051905af1801561058457611804575b506040519081527fbb0ca0e137fd31811359637c8aa804a4a14cd1f475f7fb93d39cfb10452705a860203392a460015f516020615efe5f395f51905f525560805180f35b60805161181091613dcc565b60805161059157836117c0565b50670de0b6b3a764000081061515611742565b50801561173b565b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610591576080513660031901126105915761189861544c565b60145460ff81166116ec5760055b60608111156118c05760ff19821660011760145560805180f35b8060805152601560205260ff6004604060805120015416158015611904575b6118f1576118ec90613fe3565b6118a6565b633c3de45760e01b608051526004608051fd5b50806080515260156020526002604060805120015461192282615d14565b14156118df565b3461059157608051366003190112610591576007546040516001600160a01b039091168152602090f35b602061196f61196136613e59565b9061196a615414565b614bd8565b60015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576001600160a01b036119a9613d06565b16608051526030602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526012602052602060ff60406080512054166040519015158152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760203660031901126105915760043560805152601a602052602060406080512054604051908152f35b3461059157602036600319011261059157604051611a8881613d95565b608051815260805160208201526040608051910152600435608051526029602052606060406080512060405190611abe82613d95565b546001600160401b0360018060a01b0382169283815260ff60406020830192848660a01c168452019360e01c1615158352604051938452511660208301525115156040820152f35b34610591576080513660031901126105915760265460405160089190911c6001600160a01b03168152602090f35b3461059157602036600319011261059157611b4d615414565b730000000000000000000000000000000000000000803b156105915760405190634ca6c1c960e01b82526033600483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166024830152600435604483015281606481608051935af4801561058457611be0575b60015f516020615efe5f395f51905f525560805180f35b608051611bec91613dcc565b6080516105915780611bc9565b3461059157608051366003190112610591576020600654604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346105915760805136600319011261059157608051546040516001600160a01b039091168152602090f35b346105915760203660031901126105915760043560805152600a602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600254604051908152f35b34610591576060366003190112610591576004356024356001600160401b03811161059157611d09903690600401613e29565b90604435906001600160401b03821161059157611dbf92611dd1611d336040943690600401613e29565b611d3b615414565b611d4488615c62565b8551630e691b2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000016602482015261012060448201529687958695610124870191614adf565b84810360031901606486015291614adf565b601f6084830152602060a4830152602160c4830152602260e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661010483015203817300000000000000000000000000000000000000005af4801561058457608051918291611eea575b50670de0b6b3a7640000820291808304670de0b6b3a76400001490151715611ed257670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed25760405191825260208201527f3ee0042b656a8c28a48ae2fed2887d9eef8afe18542f02b43192596aff9ff28b60403392a360015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b6080515260116004526024608051fd5b9050611f0e915060403d604011611f14575b611f068183613dcc565b8101906149e9565b83611e47565b503d611efc565b34610591576040366003190112610591576001600160a01b03611f3c613d06565b1660805152601060205260406080512060243560805152602052602060406080512054604051908152f35b3461059157608051366003190112610591576020602f54604051908152f35b3461059157602036600319011261059157600435608051526017602052602060406080512054604051908152f35b346105915760c036600319011261059157366043121561059157604051611fdc608082613dcc565b803660a411610591576020916024915b60a48310612004578361063460a43584600435614a65565b82358152918301918301611fec565b634e487b7160e01b5f52604160045260245ffd5b3461059157608051366003190112610591576020600b54604051908152f35b34610591576080513660031901126105915761206061544c565b60805180546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a360805180f35b346105915760203660031901126105915760043560805152601c602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157608051366003190112610591576020601354604051908152f35b346105915761214636613d1c565b9060805152601d6020526040608051209060805152602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526009602052602060406080512054604051908152f35b3461059157608051366003190112610591576020600854604051908152f35b34610591576020366003190112610591576004358015801561226c575b61168c57600b5460805191905b81831080612260575b15612258578060805152600e60205260ff6009604060805120015460a01c166008811015610b41576001811490811561224d575b506122405761223461223a91613fe3565b92613fe3565b916121e6565b9150505b600b5560805180f35b600714905084612223565b915050612244565b50600d548111156121ef565b506103e881116121d9565b34610591576060366003190112610591576020610634612295613caf565b6044359060243590614a13565b346105915760805136600319011261059157602060ff601454166040519015158152f35b34610591576020366003190112610591576040516331a9108f60e11b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa80156105845760805190612342575b6040516001600160a01b039091168152602090f35b506020813d602011612374575b8161235c60209383613dcc565b810103126105915761236f6020916149ff565b61232d565b3d915061234f565b34610591576040366003190112610591576123cb602061239a613d06565b60405163511cd8cf60e01b81526001600160a01b039091166004820152602480359082015291829081906044820190565b03817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156105845760805191612436575b50670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b90506020813d602011612460575b8161245160209383613dcc565b8101031261007d575181612409565b3d9150612444565b3461059157602036600319011261059157600435608051526028602052602060406080512054604051908152f35b6020366003190112610591576004356124ad615414565b801561168c57806611c37937e08000026611c37937e0800081048203611ed25780341061269957604051636902c1f360e01b815260236004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316604482015260805160648201526020816084817300000000000000000000000000000000000000005af480156105845761266a575b50730000000000000000000000000000000000000000803b15610591576040516301fac8cd60e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166004820152336024820152604481018490526080519091829060649082905af4801561058457612651575b5080341161261e575b60405191825260208201527fb3c981b9b7b707d312a929a2eac4e1b16bf5550677e6b1931a95e846dd32e89f60403392a260015f516020615efe5f395f51905f525560805180f35b60805180808061262e85346149ad565b335af16126396149ba565b506125d6576312171d8360e31b608051526004608051fd5b60805161265d91613dcc565b60805161059157826125cd565b61268b9060203d602011612692575b6126838183613dcc565b810190614983565b508261254e565b503d612679565b63cd1c886760e01b608051526004608051fd5b3461059157608051366003190112610591576020602b54604051908152f35b3461059157608051366003190112610591576020600354604051908152f35b6126f336613d1c565b6126fb615414565b604080516373306cbf60e11b8152603360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015260276044820152606481019390935260848301919091528160a4817300000000000000000000000000000000000000005af480156105845761278e9160805190608051926127a7575b50615ac1565b505060015f516020615efe5f395f51905f525560805180f35b90506127c2915060403d604011611f1457611f068183613dcc565b9083612788565b346105915760203660031901126105915760043560805152601660205260c060406080512060018060a01b0381541690600181015490600281015460038201549060ff6009600485015494015416936040519586526020860152604085015260608401526080830152151560a0820152f35b346105915761284936613d32565b92612852615414565b61285b85615472565b8460805152600e6020526040608051209260098401908154938760805152600c60205260406080512054966080515060ff8660a01c166008811015610b415760018103612ab55750841561168c576128b3838861549d565b6004880154600589015460068a015460078b0154604080516020810195865290810193909352606083019190915260808083019190915281529193916128fa60a082613dcc565b519020600189015490895499600160a01b600190036002820154169060030154906040519b60208d01948d7f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e87526040015260608d015260808c015260a08b015260c08a01528660e08a015263ffffffff85169889610100820152610100815261298661012082613dcc565b51902061299290615522565b91369061299e92613f8d565b6129a791615d6b565b6129b391939293615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020849055825463ffffffff60801b191691901b63ffffffff60801b16178155805460ff60a01b1916600760a01b17905560805115612a6a579163ffffffff7ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72094926080946040519485526020850152841c1660408301526060820152a260015f516020615efe5f395f51905f525560805180f35b90507f755d44a73910c278ea8e6a9c76f0f1f5ffd0a2705bdfcb37fc0eb1d77cfe83db925060409182519182526020820152a2611bc9565b630574e98560e01b608051526004608051fd5b612ace908a6345161eb560e11b60805152600452613ceb565b6044608051fd5b3461059157608051366003190112610591576020603654604051908152f35b346105915760805136600319011261059157602060ff600f54166040519015158152f35b3461059157608051366003190112610591576020602c54604051908152f35b346105915760805136600319011261059157612b51615414565b6024548015610f26576080516024819055908190819081907f00000000000000000000000000000000000000000000000000000000000000005af1612b946149ba565b5015610f135760015f516020615efe5f395f51905f525560805180f35b3461059157612bbf36613d32565b90612bc861544c565b612bd0615414565b612bd985615472565b8460805152600e60205260406080512090600982019485549363ffffffff8560801c16928860805152600c60205260ff604060805120549660a01c166008811015610b4157600703612e32576080515463ffffffff8160c01c169081861090811591612e18575b50612df85750821561168c57612d48612d5192612d42612c608a8961549d565b93612d3a60048a01548a612ca76005820154610cd2600760068501549401546040519485936020850197889290916080949284526020840152604083015260608201520190565b51902060018b0154908b549b600360018060a01b036002830154169101549060806040519e8f9060208201967f3cecb1d18ba62b9eb49517baa4b9ff8a9c43bfaba89e1a62659e73a508fcc89e885260408301526060820152015260a08d015260c08c01528860e08c015263ffffffff8d169a8b6101008201526101008152612d3261012082613dcc565b519020615522565b923691613f8d565b90615d6b565b90939193615da5565b6001600160a01b03908116911603612aa25760808051889052600c602052805160409020829055865463ffffffff60801b191695811b63ffffffff60801b169590951786557ff5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f72095805460ff60a01b1916600760a01b1790556040805194855260208501919091528301526060820152a260015f516020615efe5f395f51905f525560805180f35b63ffffffff88631be6ac0d60e11b60805152166004526024526044608051fd5b63ffffffff915060a01c1663ffffffff891614158b612c40565b88631d33890f60e11b608051526004526024608051fd5b346105915760203660031901126105915760405163bd85b03960e01b815260048035908201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa90811561058457608051916124365750670de0b6b3a7640000810290808204670de0b6b3a76400001490151715611ed257602090604051908152f35b3461059157602036600319011261059157600435608051526022602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526021602052602060406080512054604051908152f35b3461059157608051366003190112610591576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b3461059157604036600319011261059157612f98613d06565b60243563ffffffff81169182820361059157612fb261544c565b6001600160a01b031691821561168c5760805154600163ffffffff8260a01c16019163ffffffff8311611ed25763ffffffff8260c01c1681108015613080575b61168c578260209263ffffffff7fdd5800b3f65c197a1ed496f5e1dea9434eec56ae67ce70d6e4d281cb146ab0f495169563ffffffff60c01b9060c01b169163ffffffff60a01b9060a01b16906001600160401b0360a01b1916171760805155836080515260018252604060805120856001600160601b0360a01b825416179055604051908152a360805180f35b5063ffffffff83168111612ff2565b3461059157608051366003190112610591576130a9615414565b730000000000000000000000000000000000000000803b1561059157604051630cf2271b60e41b8152602960048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660248201526080519091829060449082905af4801561058457611be05760015f516020615efe5f395f51905f525560805180f35b346105915760203660031901126105915760043560805152601f602052602060406080512054604051908152f35b346105915760203660031901126105915760405161318281613d7a565b60805181526080516020820152608051604082015260805160608201526080805191015260043560805152603460205260a06040608051206040516131c681613d7a565b600180841b038254169182825260018101546020830190815260028201549060408401918252608060ff600460038601549560608801968752015416940193151584526040519485525160208501525160408401525160608301525115156080820152f35b346105915760805136600319011261059157602063ffffffff6080515460a01c16604051908152f35b34610591576080513660031901126105915761326e61544c565b613276615414565b6025548015610f26576080516025557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b038116156132ca575b608051918291829182915af1612b946149ba565b507f00000000000000000000000000000000000000000000000000000000000000006132b6565b6132fa36613d1c565b613302615414565b61330c8183615330565b803410612699578260805152601160205260406080512061332e838254614976565b905561333a8184615ac1565b917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b156105915760405190635e2d2fff60e11b82523360048301528660248301528560448301528160648160805193608051905af180156105845761343b575b50803411613408575b604051938452602084015260018060a01b0316604083015260608201527ff829cb0f939db361d00f6ce8df243365f2b3f62ab614b6e0eadb85e85ae72e5260803392a360015f516020615efe5f395f51905f525560805180f35b60805180808061341885346149ad565b335af16134236149ba565b506133ae576312171d8360e31b608051526004608051fd5b60805161344791613dcc565b60805161059157856133a5565b346105915760c03660031901126105915760243560a4356001600160a01b03811690600435906084359060643590604435908590036105915761349561544c565b60148410801561359f575b8015613595575b801561358a575b8015613580575b8015613575575b801561356b575b8015613560575b8015613550575b8015613548575b61168c577fff4b9d3b935b1ce181cbd983738a06320ee3a3f807c922375fd72ea1f566e1039560a09585600255816003558260045583600555846006556001600160601b03871b60075416176007556040519485526020850152604084015260608301526080820152a160805180f35b5084156134d8565b506601c6bf5263400083116134d1565b5061708082116134ca565b50606482106134c3565b506104b081116134bc565b50600a81106134b5565b506107d086116134ae565b50600586106134a7565b5061271084116134a0565b346105915760805136600319011261059157602060ff602654166040519015158152f35b34610591576020366003190112610591576135e7615414565b604051636ae8cff360e01b815260296004808301919091526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248401527f00000000000000000000000000000000000000000000000000000000000000001660448301523560648201526060816084817300000000000000000000000000000000000000005af48015610584576080519182918291906136c0575b506111129060015f516020615efe5f395f51905f5255604051938493846040919493926060820195825260208201520152565b905061111292506136e9915060603d6060116136f0575b6136e18183613dcc565b810190614992565b909261368d565b503d6136d7565b3461059157606036600319011261059157613710615414565b604051630536a43b60e51b81526033600482015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015260043560448201526024356064820152604435608482015260208160a4817300000000000000000000000000000000000000005af4801561058457608051906108585760209060015f516020615efe5f395f51905f5255604051908152f35b34610591576020366003190112610591576137ca615414565b730000000000000000000000000000000000000000803b156105915760405190630c9c2fd760e11b8252601260048301526010602483015260018060a01b037f0000000000000000000000000000000000000000000000000000000000000000166044830152600435606483015281608481608051935af4801561058457613872575b613858601354613fe3565b60135560015f516020615efe5f395f51905f525560805180f35b60805161387e91613dcc565b608051610591578061384d565b34610591576020366003190112610591576004356138a7615414565b8060805152600e60205260406080512060098101805460ff8160a01c166008811015610b4157600181036139e557506005546138eb916001600160401b0316614976565b8043106139cb5750805460ff60a01b1916600360a11b17905560085461391090613fc3565b60085560038101908154806080515260096020528360406080512054146139b2575b5061393c816155e2565b6139446157e3565b60020154905460405190926001600160a01b0392909216919060808160065f516020615ede5f395f51905f5293528151602082015281516040820152336060820152a460015f516020615efe5f395f51905f525560805180f35b634e487b7160e01b5f52602160045260245ffd5b6080515260096020526080516040608051205583613932565b631b016eeb60e21b60805152436004526024526044608051fd5b612ace90856345161eb560e11b60805152600452613ceb565b346105915760203660031901126105915760043560805152600c602052602060406080512054604051908152f35b3461059157602036600319011261059157600435608051526019602052602060406080512054604051908152f35b346105915760c03660031901126105915760243580151581036105915760843563ffffffff811681036105915760a435906001600160401b03821161059157604092613aad613ac8933690600401613cbe565b929091613ab8615414565b60643590604435906004356140e6565b60015f516020615efe5f395f51905f5255613ae583518093613cf9565b15156020820152f35b3461059157602036600319011261059157613b07613caf565b613b0f61544c565b158080613b45575b613b325760ff8019600f541691151617600f55608051608051f35b63d96668af60e01b608051526004608051fd5b5060ff6014541615613b17565b3461007d57602036600319011261007d57613b6b615414565b730000000000000000000000000000000000000000803b1561007d57604051633fe171d760e11b815260296004808301919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166024830152356044820152905f90829060649082905af4801561007257613c015760015f516020615efe5f395f51905f525560805180f35b5f613c0b91613dcc565b5f60805280611bc9565b3461007d57602036600319011261007d576004355f5260208052602060405f2054604051908152f35b3461007d575f36600319011261007d5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461007d575f36600319011261007d576020603554604051908152f35b3461007d575f36600319011261007d57602090602a548152f35b60043590811515820361007d57565b9181601f8401121561007d578235916001600160401b03831161007d576020838186019501011161007d57565b600881101561399e57602452565b90600882101561399e5752565b600435906001600160a01b038216820361007d57565b604090600319011261007d576004359060243590565b90608060031983011261007d57600435916024359160443563ffffffff8116810361007d5791606435906001600160401b03821161007d57613d7691600401613cbe565b9091565b60a081019081106001600160401b0382111761201357604052565b606081019081106001600160401b0382111761201357604052565b61014081019081106001600160401b0382111761201357604052565b90601f801991011681019081106001600160401b0382111761201357604052565b919060405192613dfe608085613dcc565b83906080810192831161007d57905b828210613e1957505050565b8135815260209182019101613e0d565b9181601f8401121561007d578235916001600160401b03831161007d576020808501948460051b01011161007d57565b9060a060031983011261007d576004359160a41161007d57602490565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b90600182811c92168015613ec8575b6020831014613eb457565b634e487b7160e01b5f52602260045260245ffd5b91607f1691613ea9565b9060405191825f825492613ee584613e9a565b8084529360018116908115613f505750600114613f0c575b50613f0a92500383613dcc565b565b90505f9291925260205f20905f915b818310613f34575050906020613f0a928201015f613efd565b6020919350806001915483858901015201910190918492613f1b565b905060209250613f0a94915060ff191682840152151560051b8201015f613efd565b6001600160401b03811161201357601f01601f191660200190565b929192613f9982613f72565b91613fa76040519384613dcc565b82948184528183011161007d578281602093845f960137010152565b8015613fcf575f190190565b634e487b7160e01b5f52601160045260245ffd5b5f198114613fcf5760010190565b905f905b6004821061400257505050565b6001602081928554815201930191019091613ff5565b818110614023575050565b5f8155600101614018565b9080821461406157908154905f915b6004831061404b5750505050565b600180919401928354948184015501919261403d565b5050565b5f929181549161407483613e9a565b80835292600181169081156140c9575060011461409057505050565b5f9081526020812093945091925b8383106140af575060209250010190565b60018160209294939454838587010152019101919061409e565b915050602093945060ff929192191683830152151560051b010190565b9695939290969491945f945f98825f52600e60205260405f209561410984615472565b600987019260ff845460a01c16600881101561399e5760070361496357614131868b85614a13565b855f52600c60205260405f2054036149545787968a91614151848a61549d565b60048a015460058b015460068c015460078d01546040805160208101958652908101939093526060830191909152608080830191909152815291939161419860a082613dcc565b5190209460018b0154908b549060028d0198600160a01b600190038a54169e6003019e8f54906040519460208601967fd123b68dcff6cfb42b0407ace14883c1bdb588bc177b11d032630a2d4518caa7885260408701526060860152608085015260a08401528860c08401521596871560e08401526101008301528b61012083015263ffffffff16610140820152610140815261423761016082613dcc565b51902061424390615522565b91369061424f92613f8d565b61425891615d6b565b61426491939293615da5565b6001600160a01b0390811691160361494557614281600854613fc3565b6008558754805f5260096020528560405f205414614932575b50614807578888526015602052604088209460ff6004870154161580156147d7575b6147c8576142e5816040516142d48160048c01613ff1565b6142df608082613dcc565b8c614a65565b6003870154036147b957898952601660205260408920600981019160ff8354166146a3576002880154956201518042049061431f88615a79565b1561468f57600860408e848152601c6020522054101561467b57600160408e8e548152601d6020528181208582526020522054101561466757805460ff60a01b1916600160a11b1790556143f89291906143788b6156c4565b808d52601c60205260408d2061438e8154613fe3565b90558b548d52601d60205260408d20908d5260205260408c206143b18154613fe3565b9055855482546001600160a01b0319166001600160a01b03919091161782558a5460018301556002820188905542600383015560048083019190915589019060050161402e565b600160ff19825416179055875260176020528760408820558187526019602052604087206144268154613fe3565b9055614433603554613fe3565b60355580546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b15614663576040516340c10f1960e01b81526001600160a01b03919091166004820152602481018a9052888160448183865af180156146585790899161463f575b505081546144c0908a906001600160a01b031661576d565b6060891480614632575b15614610578154604051639fd8ca2d60e01b8152602360048201526001600160a01b03909116602482015260448101919091526060816064817300000000000000000000000000000000000000005af48015614605576145e6575b505b61452f6157e3565b5494546040519096506001600160a01b0395909516947fc66c28b1ed7c7dbd812926df0a452a3d82087505f49a860b52f242f35d2dd88b948787855f516020615ede5f395f51905f5260808f966145dd978f60028352602083015215156040820152336060820152a46145ca6040519586958652610100602087015260016145bb610100880183614065565b91878303604089015201614065565b9260608501526004608085019101613ff1565b0390a460029190565b6145fe9060603d6060116136f0576136e18183613dcc565b5050614525565b6040513d8a823e3d90fd5b5080548654919a5061462c9189916001600160a01b0316615903565b98614527565b5060ff60265416156144ca565b8161464991613dcc565b61465457875f6144a8565b8780fd5b6040513d8b823e3d90fd5b8880fd5b63a60e886760e01b8d52600160045260248dfd5b6323a2f40760e21b8d52600860045260248dfd5b6302cf233b60e51b8d52600488905260248dfd5b5050505098509093949291506060861461475157805460ff60a01b1916600360a01b1790556146d1906156c4565b85546146e79085906001600160a01b031661576d565b85548354614700918691906001600160a01b0316615903565b956147096157e3565b54925460405190946001600160a01b0394909416939091508160809160035f516020615ede5f395f51905f52945260208201528715156040820152336060820152a460039190565b805460ff60a01b1916600560a01b17905590959061476e906155e2565b6147766157e3565b54915460405190936001600160a01b0393909316928160809160055f516020615ede5f395f51905f5294526020820152876040820152336060820152a460059190565b63108505d960e01b8952600489fd5b63b4fa3fb360e01b8952600489fd5b506147fb6040516147eb8160048b01613ff1565b6147f6608082613dcc565b61585d565b600287015414156142bc565b5094959850929190951590811591614929575b5061491a57815460ff60a01b1916600160a21b1790915560365461484a919061484290613fe3565b6036556156c4565b80546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169116813b1561007d575f91606483926040519485938492635e2d2fff60e11b8452600484015260696024840152600160448401525af1801561007257614905575b506148c16157e3565b54905460405190926001600160a01b0392909216919060808160045f516020615ede5f395f51905f529352876020820152876040820152336060820152a460049190565b6149129195505f90613dcc565b5f935f6148b8565b63b4fa3fb360e01b5f5260045ffd5b9050155f61481a565b5f5260096020525f60408120555f61429a565b630574e98560e01b5f5260045ffd5b632f272d1160e21b5f5260045ffd5b84631d33890f60e11b5f5260045260245ffd5b91908201809211613fcf57565b9081602091031261007d575190565b9081606091031261007d578051916040602083015192015190565b91908203918211613fcf57565b3d156149e4573d906149cb82613f72565b916149d96040519384613dcc565b82523d5f602084013e565b606090565b919082604091031261007d576020825192015190565b51906001600160a01b038216820361007d57565b91604051916020830193151584526040830152606082015260608152614a3a608082613dcc565b51902090565b906004811015614a515760051b0190565b634e487b7160e01b5f52603260045260245ffd5b9190614a7090615bcb565b9081519160208101519060606040820151910151916040519460208601967f0000000000000000000000000000000000000000000000000000000000000000885260408701526060860152608085015260a084015260c083015260e082015260e08152614a3a61010082613dcc565b81835290916001600160fb1b03831161007d5760209260051b809284830137010190565b60808183031261007d5781601f8201121561007d5760405191614b27608084613dcc565b82916080810191821161007d57915b818310614b435750505090565b825160ff8116810361007d57815260209283019201614b36565b905f905b60048210614b6e57505050565b6020806001928551815201930191019091614b61565b601081526001600160a01b03918216602082015291166040820152610100810192915f9160e091614bb9906060830190614b5d565b0152565b909291608090614bd18360a0810196614b5d565b1515910152565b919060ff60145416156152d057614bee83615c62565b60065434106152c157610c8d614c05913690613ded565b915f5b60048110615242575082516020840151614c51604086015191610cd260608801516040519485936020850197889290916080949284526020840152604083015260608201520190565b5190205f52601760205260405f20548061512e5750614c6f8361585d565b614c7881615a79565b1561511c575060ff600f541661510e57805f52600960205260405f20546150eb57620151804204815f52601d60205260405f20815f52602052600160405f205410156150d7575f52601c60205260405f20546008614cd881548093614976565b10156150c35760025490818110156150ae575050600454801561509a574304805f52600a60205260405f20546003548091101561508457505f52600a60205260405f20614d258154613fe3565b905560405163abe3b08560e01b8152601060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602482015233604482015292614d7e6064850182614b5d565b600160e4850152608084610104817300000000000000000000000000000000000000005af4938415610072575f94615063575b50614dbd600d54613fe3565b80600d558094614dce600854613fe3565b600855835f5260096020528160405f20557f0000000000000000000000000000000000000000000000000000000000000000926001600160401b0343169163ffffffff5f5460c01c1660405190614e2482613db0565b8582526020820191878352604081019033825260608101948a86526080820187815260a0830191825260c083019689885260e08401946001600160401b03421686526101008501968752610120850197600189528c5f52600e60205260405f209551865551600186015560018060a01b03905116600285019060018060a01b03166001600160601b0360a01b825416179055516003840155515f5b6004811061504c575050515f905f5b60048110615028575050600882015593516009949094018054915192516001600160a01b03199092166001600160401b03959095169490941760409290921b6fffffffffffffffff0000000000000000169190911760809190911b63ffffffff60801b1617825551600881101561399e57815460ff60a01b191660a09190911b60ff60a01b1617905560065480151580615014575b614fea575b50600654803411614fb6575b50614f89906040519586526020860190614b5d565b60a08401527f04da450f287fc9dd57e2b12725cc80466957c3394d1a26b0cad80d7d0899bb5060c03394a4565b5f8080614fc48194346149ad565b335af1614fcf6149ba565b5015614fdb575f614f74565b6312171d8360e31b5f5260045ffd5b6007545f918291829182916001600160a01b03165af16150086149ba565b5015614fdb575f614f68565b506007546001600160a01b03161515614f63565b9091602060019160ff8551169060ff8560031b92831b921b19161793019101614ece565b600190602083519301926004828701015501614ebf565b61507d91945060803d608011610dfc57610def8183613dcc565b925f614db1565b906368236ccb60e01b5f5260045260245260445ffd5b634e487b7160e01b5f52601260045260245ffd5b63c7f5853160e01b5f5260045260245260445ffd5b6323a2f40760e21b5f52600860045260245ffd5b63a60e886760e01b5f52600160045260245ffd5b805f52600960205260405f2054906346dfad8360e01b5f5260045260245260445ffd5b6288b61360e51b5f5260045ffd5b6302cf233b60e51b5f5260045260245ffd5b9192606083146152335760405163abe3b08560e01b81526080818061517885337f000000000000000000000000000000000000000000000000000000000000000060048501614b84565b03817300000000000000000000000000000000000000005af4801561007257615216575b506151a7833361576d565b6151b2838333615903565b346151f2575b6151eb7f65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a91604051918291339583614bbd565b0390a45f90565b5f80808034335af16152026149ba565b506151b8576312171d8360e31b5f5260045ffd5b61522e9060803d608011610dfc57610def8183613dcc565b61519c565b63e113b20760e01b5f5260045ffd5b61524c8185614a40565b516005811015806152b6575b1561529257805f52601660205260ff600960405f200154161561528057506001905b01614c08565b63ddb5519f60e01b5f5260045260245ffd5b606581109081156152ab575b5061491a5760019061527a565b60699150115f61529e565b506060811115615258565b63cd1c886760e01b5f5260045ffd5b63d96668af60e01b5f5260045ffd5b9190811015614a515760051b0190565b9190811015614a515760051b81013590601e198136030182121561007d5701908135916001600160401b03831161007d57602001823603811361007d579190565b805f52601660205260ff600960405f2001541615801561540c575b8015615402575b6153f0575f9081526015602090815260408083206002015460118352928190205490516397e32c8560e01b815260048101939093526024830152604482019290925290816064817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b90506020813d6020116153e8575b816153dc60209383613dcc565b8101031261007d575190565b3d91506153cf565b63dd4e0ec360e01b5f5260045260245ffd5b5060608114615352565b50811561534b565b60025f516020615efe5f395f51905f52541461543d5760025f516020615efe5f395f51905f5255565b633ee5aeb560e01b5f5260045ffd5b5f546001600160a01b0316330361545f57565b63118cdaa760e01b5f523360045260245ffd5b61547a6157e3565b600b54808203615488575050565b6321fdff9d60e21b5f5260045260245260445ffd5b919063ffffffff805f5460c01c1691169281841090811561550b575b506154f5575f838152600160205260409020546001600160a01b03169283156154e0575050565b631be6ac0d60e11b5f5260045260245260445ffd5b82631be6ac0d60e11b5f5260045260245260445ffd5b63ffffffff91506009015460801c1683105f6154b9565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527fb7db8a9ff93f0ace8d65b1e852b0af12effcf8be8a5e25ba5dc1781d23d2717660408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a081526155b460c082613dcc565b5190209060405190602082019261190160f01b84526022830152604282015260428152614a3a606282613dcc565b600281015473000000000000000000000000000000000000000091823b1561007d576101845f926156a394604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260018060a01b031660448501526156716064850160048301613ff1565b600860e48501910160ff606091548181168452818160081c166020850152818160101c16604085015260181c16910152565b60016101648301525af48015610072576156ba5750565b5f613f0a91613dcc565b6002810154730000000000000000000000000000000000000000916001600160a01b0390911690823b1561007d576101845f9261575794604051958694859363d22f69c560e01b85526010600486015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602486015260448501526156716064850160048301613ff1565b846101648301525af48015610072576156ba5750565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691823b1561007d57604051635e2d2fff60e11b81526001600160a01b039092166004830152602482015260016044820152905f908290606490829084905af18015610072576156ba5750565b600b545f905b6020821080615851575b1561584057805f52600e60205260ff600960405f20015460a01c16600881101561399e5760018114908115615846575b506158405761583461583a91613fe3565b91613fe3565b906157e9565b600b5550565b60079150145f615823565b50600d548111156157f3565b5f5b600481106158b2575060405163042fcd0160e21b815290615884906004830190614b5d565b6020816084817300000000000000000000000000000000000000005af4908115610072575f916153c1575090565b6158bc8183614a40565b51600581101590816158f7575b816158dc575b5061491a5760010161585f565b90505f52601660205260ff600960405f20015416155f6158cf565b605f81111591506158c9565b90915f92815f526015602052600260405f2001549162015180420492815f52601a60205261593560405f205491615e05565b1180615a58575b80615a38575b61594d575050505090565b8091929394505f52601a60205260405f206159688154613fe3565b9055815f52601b60205260405f20905f5260205260405f20600160ff198254161790555f52601e60205260405f20905f5260205260405f206159aa8154613fe3565b90557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690813b1561007d57604051635e2d2fff60e11b81526001600160a01b0390911660048201526064602482018190526001604483015290915f918391829084905af1801561007257615a28575b50600190565b5f615a3291613dcc565b5f615a22565b50815f52601e60205260405f20835f52602052600260405f205410615942565b50815f52601b60205260405f20815f5260205260ff60405f2054161561593c565b60018114908115615a88575090565b5f19810191508111613fcf57805f52601960205260405f2054905f52601860205260405f205460018101809111613fcf5760011c111590565b9190825f526016602052615b27600560405f200160405194631b9bc40360e11b86526023600487015260018060a01b037f000000000000000000000000000000000000000000000000000000000000000016602487015260448601526064850190613ff1565b60e48301527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610104830152604082610124817300000000000000000000000000000000000000005af4918215610072575f905f93615b8e57509190565b9250506040823d604011615bc3575b81615baa60409383613dcc565b8101031261007d576020615bbd836149ff565b92015190565b3d9150615b9d565b6080604051615bda8282613dcc565b3690375f5b60048110615beb575090565b919060018301808411613fcf575b60048110615c0c57509091600101615bdf565b600190615c198584614a40565b51615c248285614a40565b5110615c31575b01615bf9565b615c3b8184614a40565b51615c468685614a40565b51615c518386614a40565b52615c5c8685614a40565b52615c2b565b6040516331a9108f60e11b815260048101919091526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa908115610072575f91615cda575b50336001600160a01b0390911603615ccb57565b636061778f60e11b5f5260045ffd5b90506020813d602011615d0c575b81615cf560209383613dcc565b8101031261007d57615d06906149ff565b5f615cb7565b3d9150615ce8565b6018811115615a2257602c811115615d6557603e811115615d5f57604d811115615d59576059811115615d5357605f1015615d4e57600790565b600690565b50600590565b50600490565b50600390565b50600290565b8151919060418303615d9b57615d949250602082015190606060408401519301515f1a90615e5b565b9192909190565b50505f9160029190565b600481101561399e5780615db7575050565b60018103615dce5763f645eedf60e01b5f5260045ffd5b60028103615de9575063fce698f760e01b5f5260045260245ffd5b600314615df35750565b6335e2f38360e21b5f5260045260245ffd5b60018114615e555760028114615e4f5760038114615e495760048114615e435760058114615e3d57600614615e38575f90565b600890565b50600a90565b50600c90565b50600f90565b50601490565b50601990565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411615ed2579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610072575f516001600160a01b03811615615ec857905f905f90565b505f906001905f90565b5050505f916003919056fe3d3a07bd6d8d84b8ac0a290a3fa928176f5e74d1fa2a56adfa2c68f4345207f59b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220ff781d5d8051647ec5230f7a07638a2385f755aa833bbcc3776bc712d8ea976164736f6c634300081e0033","sourceMap":"2738:54011:6:-:0;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;45519:21;:45;;;;;-1:-1:-1;45519:45:6;2738:54011;;;;;;;;;;45519:45;;45547:8;2738:54011;45519:45;;2738:54011;20349:9;2738:54011;;;;45519:45;;;;;;;;2738:54011;45519:45;-1:-1:-1;45519:45:6;;;:::i;:::-;-1:-1:-1;45519:45:6;2738:54011;;;-1:-1:-1;2738:54011:6;;;;;45519:45;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;;;-1:-1:-1;;;41369:59:6;;41410:12;2738:54011;41369:59;;2738:54011;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;41369:59;2738:54011;41369:20;:59;;;;;;2738:54011;;41369:59;;;2738:54011;;;;;;;;;41369:59;;2738:54011;41369:59;;2738:54011;41369:59;;;;;;2738:54011;41369:59;;;:::i;:::-;;;2738:54011;;;;;;;41369:59;;;;;-1:-1:-1;41369:59:6;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;10830:70;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10248:52;2738:54011;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;1500:62:8;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;2627:22:8;;2623:91;;3004:6;;2738:54011:6;;-1:-1:-1;;;;;;11062:1:6;;;;;;-1:-1:-1;;;;;2738:54011:6;;3052:40:8;;3004:6;3052:40;2738:54011:6;;;;2623:91:8;2672:31;;;2738:54011:6;;2672:31:8;2738:54011:6;;;;;;;2672:31:8;2738:54011:6;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;7349:57;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;:::i;:::-;;;;;12320:16;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;11924:14;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6634:51;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;2738:54011:6;;-1:-1:-1;;;40963:77:6;;41009:12;2738:54011;40963:77;;2738:54011;41022:17;-1:-1:-1;;;;;2738:54011:6;;;;;;;40963:77;2738:54011;40963:20;:77;;;;;;2738:54011;;40963:77;;;2738:54011;;3668:216;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;40963:77;;2738:54011;40963:77;;2738:54011;40963:77;;;;;;2738:54011;40963:77;;;:::i;:::-;;;2738:54011;;;;;;;40963:77;;;;;-1:-1:-1;40963:77:6;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6835:45;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;41892:11;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47690:16;2738:54011;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3194:3;2738:54011;;;;3194:3;:::i;:::-;;;;;:::i;:::-;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;:::i;:::-;;;;;10542:78;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;9953:50;2738:54011;;;;;;;9953:50;;;:::i;:::-;;;2738:54011;9953:50;;;:::i;:::-;;;;2738:54011;9953:50;2738:54011;;;9953:50;;;2738:54011;9953:50;;2738:54011;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8885:37;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8194:48;2738:54011;;;;;;;;;;;;23574:27;2738:54011;;;:::i;:::-;2989:103:28;;;;;:::i;:::-;23530:6:6;;;:::i;:::-;2738:54011;;;:::i;:::-;23574:27;:::i;:::-;11062:1;;2738:54011;;;11062:1;23644:60;2738:54011;;;11062:1;2738:54011;23644:60;2738:54011;;;11062:1;2738:54011;;23644:60;;;2738:54011;23644:60;;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;23644:60;;48765:88;;23644:60;;;;;;:::i;:::-;2738:54011;23634:71;;2738:54011;;;23735:27;2738:54011;;;;;;;23790:21;;;23786:57;;2738:54011;23857:34;;23853:73;;2738:54011;;-1:-1:-1;;;23937:94:6;;2738:54011;23937:94;2738:54011;;23937:94;24007:10;;23989:17;2738:54011;23937:94;;;:::i;:::-;;:20;;:94;;;;;;;2738:54011;;;;23937:94;;2738:54011;24007:10;24042:45;24007:10;;24042:45;:::i;:::-;24112:56;24007:10;;;24112:56;:::i;:::-;2738:54011;24184:86;2738:54011;;24007:10;24184:86;24007:10;;24184:86;;;:::i;:::-;;;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;23937:94;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;23853:73;23900:26;;;2738:54011;;23900:26;2738:54011;;;23900:26;23786:57;23820:23;;;2738:54011;;23820:23;2738:54011;;;;;;;23820:23;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13152:38;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;11831:8;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;44426:10:6;2738:54011;;;44409:16;2738:54011;;;;;;;44451:11;;44447:40;;44426:10;2738:54011;;;44409:16;2738:54011;;;;;;;;3668:216;2738:54011;;;;;;;;44426:10;;44554:34;;;;:::i;:::-;;44602:3;44598:32;;2738:54011;;;;;44646:36;2738:54011;44426:10;44646:36;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;44598:32;43840:16;;;2738:54011;;44614:16;2738:54011;;;44614:16;44447:40;56352:16;;;2738:54011;;44471:16;2738:54011;;;44471:16;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;12020:16;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;46845:33:6;;2738:54011;;;46845:33;;;2738:54011;;;;;;46845:33;2738:54011;46845:16;-1:-1:-1;;;;;2738:54011:6;46845:33;;;;;;;;2738:54011;;;;;;46913:11;2738:54011;;;;;;;;;;46970:11;2738:54011;;;;;;47155:9;;;2738:54011;;;;;;;;;;;;;;;;47241:38;;;2738:54011;47241:38;;2738:54011;;;46845:33;2738:54011;;;;;;47241:17;2738:54011;47241:38;;;;;;;2738:54011;;47241:38;;;2738:54011;47297:17;;2738:54011;;;47297:17;;2738:54011;;;;;;;;47019:309;;2738:54011;47019:309;;2738:54011;;46845:33;2738:54011;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2738:54011:6;;;;;;47126:11;2738:54011;:::i;:::-;;;;;;47182:10;2738:54011;;;47182:10;;2738:54011;:::i;:::-;;;;;;;;;;;;;;;;;;47019:309;;;2738:54011;47019:14;-1:-1:-1;;;;;2738:54011:6;47019:309;;;;;;2738:54011;;47019:309;;;2738:54011;;;;;;;;;;;;;;;;:::i;:::-;;;;47019:309;;;2738:54011;;;47019:309;;;;;;:::i;:::-;;;2738:54011;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47019:309;;47241:38;;;;2738:54011;47241:38;;2738:54011;47241:38;;;;;;2738:54011;47241:38;;;:::i;:::-;;;2738:54011;;;;;;;47241:38;;;;;-1:-1:-1;47241:38:6;;46845:33;2738:54011;46845:33;;2738:54011;46845:33;;;;;;2738:54011;46845:33;;;:::i;:::-;;;2738:54011;;;;;;;:::i;:::-;46845:33;;;;;-1:-1:-1;46845:33:6;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;9276:50;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;1500:62:8;;;;;:::i;:::-;2738:54011:6;52031:20;2738:54011;;52027:55;;52143:19;;;;;:54;;;2738:54011;52143:91;;;;2738:54011;52143:137;;;;2738:54011;52126:186;;2738:54011;;52343:7;;;;;;2738:54011;;;;52352:3;52384:6;;;;;:::i;:::-;2738:54011;52419:8;;;;;:::i;:::-;2738:54011;52445:6;52450:1;52445:6;;:17;;;;52352:3;52445:48;;;;52352:3;52445:85;;;;52352:3;52441:145;;2738:54011;;;;52603:11;2738:54011;;;;;;;;52603:26;2738:54011;;52599:67;;52742:8;;;;2738:54011;52742:8;;2738:54011;52848:19;52742:8;;;;;;;;52776:10;52742:8;;:::i;:::-;52776:10;;;;:::i;:::-;52848:19;;;;:::i;:::-;2738:54011;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;:::i;:::-;52699:217;2738:54011;52699:217;;2738:54011;;;;52699:217;;2738:54011;;52699:217;;2738:54011;;;52699:217;;2738:54011;;;;52603:11;2738:54011;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;:::i;:::-;;;;;;52352:3;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2738:54011:6;;;;;;;;;;;;;;;52699:217;;11062:1;2738:54011;;;3668:216;2738:54011;52699:217;;2738:54011;;;;3668:216;2738:54011;52699:217;;2738:54011;;;;;;;;;;;;;;;52328:13;;2738:54011;;;;-1:-1:-1;2738:54011:6;;;;;48765:88;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52450:1;2738:54011;;;;;;;;;;;;52450:1;2738:54011;;;;:::i;:::-;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;-1:-1:-1;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52450:1;2738:54011;;;;;;;;;;;52450:1;2738:54011;;;;:::i;:::-;;;;52599:67;52638:28;;;2738:54011;;52638:28;2738:54011;;;;;52638:28;52441:145;55386:14;;;2738:54011;;52557:14;2738:54011;;;52557:14;52445:85;52497:19;;;;;;:::i;:::-;2738:54011;52497:33;52445:85;;:48;52474:19;;;;:::i;:::-;52466:27;;;52445:48;;:17;52455:7;2738:54011;52455:7;;52445:17;;52143:137;52250:30;;;;;52143:137;;:91;52213:21;;;;;52143:91;;:54;52178:19;;;;;52143:54;;52027:55;53209:22;;;2738:54011;;52060:22;2738:54011;;;52060:22;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;;;;;;2989:103:28;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;44803:16;;:31;;;;2738:54011;44803:56;;;;2738:54011;44799:83;;44892:17;-1:-1:-1;;;;;2738:54011:6;44892:77;;;;;2738:54011;;;;;;44892:77;;44928:10;2738:54011;44892:77;;2738:54011;;;;;;;;;;;44961:7;2914:2;;2738:54011;;;;;44892:77;2738:54011;;;;;;44892:77;;;;;;;;;2738:54011;;;;;;;44984:50;2738:54011;44928:10;44984:50;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;44892:77;2738:54011;;44892:77;;;:::i;:::-;2738:54011;;;;44892:77;;;44803:56;2738:54011;44847:7;2738:54011;;44838:21;;44803:56;;:31;44823:11;;;44803:31;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6531:34;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;1500:62:8;;:::i;:::-;53180:20:6;2738:54011;;;;53176:55;;53259:1;53262:8;53268:2;53262:8;;;;;-1:-1:-1;;2738:54011:6;;53485:4;2738:54011;53180:20;2738:54011;;;;;53272:4;2738:54011;;;;53297:11;2738:54011;;;;;;;;53297:26;2738:54011;;53296:27;2738:54011;;53296:74;;53272:4;53292:151;;53272:4;;;:::i;:::-;53246:14;;53292:151;53397:31;;;2738:54011;;53397:31;2738:54011;;;53397:31;53296:74;2738:54011;;;;;53297:11;2738:54011;;53327:20;2738:54011;;;;53327:20;2738:54011;53351:19;;;:::i;:::-;53327:43;;53296:74;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;8443:33;2738:54011;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;25036:4725;2738:54011;;;:::i;:::-;2989:103:28;;;:::i;:::-;25036:4725:6;:::i;:::-;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;:::i;:::-;;;;;13412:30;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;9685:46;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6750:38;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10483:53;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;12715:12;2738:54011;;;;;;;;;;;;;:::i;:::-;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;12207:18;2738:54011;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;42421:20:6;:68;;;;;2738:54011;;;;;;42421:68;;42449:11;2738:54011;42421:68;;2738:54011;;;;;;42461:17;2738:54011;;;;;;;;;;;;42421:68;2738:54011;;;42421:68;;;;;;;;;2738:54011;;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;42421:68;2738:54011;;42421:68;;;:::i;:::-;2738:54011;;;;42421:68;;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8313:36;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6472:53;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;8657:55;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;7990:45;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;:::i;:::-;2989:103:28;;:::i;:::-;21419:6:6;;;:::i;:::-;2738:54011;;-1:-1:-1;;;21486:256:6;;-1:-1:-1;;;;;21536:10:6;2738:54011;;;21486:256;;2738:54011;21557:12;2738:54011;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2738:54011:6;;;;;;;:::i;:::-;21613:21;2738:54011;;;;;;;;;21662:17;2738:54011;;;;21681:20;2738:54011;;;;21715:17;-1:-1:-1;;;;;2738:54011:6;;;;;21486:256;:20;;:256;;;;;;2738:54011;;;;;21486:256;;2738:54011;11062:1;21820:7;11062:1;;;;;;21820:7;11062:1;;;;;;;21820:7;11062:1;;;;;;21820:7;11062:1;;;;;;;2738:54011;;;;;;;;;21758:94;2738:54011;21783:10;21758:94;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;11062:1;2738:54011;;;;;3668:216;;2738:54011;3668:216;2738:54011;;;3668:216;21486:256;;;;;;2738:54011;21486:256;2738:54011;21486:256;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;-1:-1:-1;;;;;2738:54011:6;;:::i;:::-;;;;;9195:75;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13280:43;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10179:62;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8776:38;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;1500:62:8;;:::i;:::-;2738:54011:6;;;;-1:-1:-1;;;;;;11062:1:6;;;;-1:-1:-1;;;;;2738:54011:6;3052:40:8;2738:54011:6;;3052:40:8;2738:54011:6;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10657:57;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6945:40;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;9737:36;2738:54011;;;;;;;;;;;;;;:::i;:::-;;;;;10720:75;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;8530:61;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8483:41;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;49901:13;;:32;;;;2738:54011;49897:59;;50079:19;2738:54011;-1:-1:-1;;;;50174:3:6;50124:12;;;:48;;;50174:3;50124:48;;;-1:-1:-1;;;2738:54011:6;50216:16;2738:54011;;;50216:31;2738:54011;-1:-1:-1;;2738:54011:6;50216:31;2738:54011;;;;;;;;;;50275:21;50265:31;;:75;;;;;50174:3;50261:86;;;50361:8;50174:3;50361:8;;:::i;:::-;50174:3;;:::i;:::-;50113:9;;;50261:86;50342:5;;;50108:272;50079:19;3668:216;2738:54011;;;;50265:75;50310:30;50300:40;;-1:-1:-1;50265:75:6;;;50124:48;;;;;;;2738:54011;50150:22;2738:54011;50140:32;;;50124:48;;49901:32;49918:15;49929:4;49918:15;;49901:32;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;9915:32;2738:54011;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;46718:33:6;;2738:54011;;;46718:33;;;2738:54011;;;46718:33;2738:54011;46718:16;-1:-1:-1;;;;;2738:54011:6;46718:33;;;;;;2738:54011;;46718:33;;;2738:54011;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;46718:33;;2738:54011;46718:33;;2738:54011;46718:33;;;;;;2738:54011;46718:33;;;:::i;:::-;;;2738:54011;;;;;;;;:::i;:::-;46718:33;;;;;-1:-1:-1;46718:33:6;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;9429:47;2738:54011;;;:::i;:::-;;;-1:-1:-1;;;9429:47:6;;-1:-1:-1;;;;;2738:54011:6;;;;9429:47;;2738:54011;;;;11062:1;;;2738:54011;;;;;;11062:1;;;;;9429:47;;2738:54011;9429:17;-1:-1:-1;;;;;2738:54011:6;9429:47;;;;;;;2738:54011;;9429:47;;;2738:54011;11062:1;9479:7;11062:1;;;;;;9479:7;11062:1;;;;;;;2738:54011;;;;;;;;9429:47;;;2738:54011;9429:47;;2738:54011;9429:47;;;;;;2738:54011;9429:47;;;:::i;:::-;;;2738:54011;;;;;9429:47;;;;;;-1:-1:-1;9429:47:6;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;12440:21;2738:54011;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;2989:103:28;;:::i;:::-;22185:14:6;;22181:41;;11062:1;9828:11;11062:1;9828:11;11062:1;;;;;;22302:9;;:24;22298:58;;2738:54011;;-1:-1:-1;;;45356:75:6;;45389:8;2738:54011;45356:75;;2738:54011;;;;;;;45410:13;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;45356:75;2738:54011;45356:21;:75;;;;;;;;2738:54011;22412:20;;:75;;;;;2738:54011;;-1:-1:-1;;;22412:75:6;;22448:17;-1:-1:-1;;;;;2738:54011:6;;22412:75;;2738:54011;22466:10;2738:54011;9828:11;;2738:54011;;9828:11;;2738:54011;;;;;;;;;;;;;22412:75;;;;;;;;2738:54011;22302:9;;;22502:24;22498:167;;2738:54011;;;;;;;;;;22680:56;2738:54011;22466:10;22680:56;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;22498:167;2738:54011;;;;;22579:24;22302:9;;22579:24;:::i;:::-;22466:10;22556:52;;;;:::i;:::-;;22498:167;22622:32;43840:16;;;2738:54011;;22638:16;2738:54011;;;22638:16;22412:75;2738:54011;;22412:75;;;:::i;:::-;2738:54011;;;;22412:75;;;45356;;;2738:54011;45356:75;2738:54011;45356:75;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;22298:58;43476:21;;;2738:54011;;22335:21;2738:54011;;;22335:21;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;12928:30;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;8041:43;2738:54011;;;;;;;;;;;:::i;:::-;2989:103:28;;:::i;:::-;2738:54011:6;;;-1:-1:-1;;;42636:106:6;;42661:11;2738:54011;42636:106;;2738:54011;42673:17;-1:-1:-1;;;;;2738:54011:6;;;;;42704:16;2738:54011;;;;;;;;;;;;;;;;;;;42636:106;2738:54011;42636:20;:106;;;;;;42752:42;2738:54011;;;;;;42636:106;;;2738:54011;42752:42;;:::i;:::-;-1:-1:-1;;11062:1:6;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;42636:106;;;;;;2738:54011;42636:106;2738:54011;42636:106;;;;;;;:::i;:::-;;;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10009:48;2738:54011;;;;;;;;;;;;;;;10009:48;2738:54011;10009:48;;2738:54011;10009:48;;;;2738:54011;10009:48;;;2738:54011;10009:48;2738:54011;10009:48;2738:54011;10009:48;;2738:54011;10009:48;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2989:103:28;;;:::i;:::-;31154:9:6;;;:::i;:::-;2738:54011;;;;31202:16;2738:54011;;;;;;31259:15;;;;2738:54011;;;;;;;;31308:24;2738:54011;;;;;;;31353:525;;;2738:54011;;;;;;;;;;;;31810:21;31798:33;;31794:84;;31892:30;;;31888:57;;31980:34;;;;:::i;:::-;2738:54011;48782:13;;2738:54011;;;;;;;;;;;;;;;;;48765:88;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;48765:88;;48782:13;;;48765:88;2738:54011;;48765:88;:::i;:::-;2738:54011;48755:99;;31810:21;48939:10;;2738:54011;;;;;;;;;;;48832:1;48976:8;;2738:54011;;48986:8;2738:54011;48986:8;2738:54011;;;;48898:138;2738:54011;48898:138;;2738:54011;;3947:178;2738:54011;;;3947:178;2738:54011;3947:178;;;2738:54011;;3947:178;;2738:54011;;3947:178;;2738:54011;3947:178;;;2738:54011;3947:178;2738:54011;3947:178;;2738:54011;;;;3947:178;;;;;2738:54011;3947:178;48898:138;;;;;;:::i;:::-;2738:54011;48888:149;;48871:167;;;:::i;:::-;2738:54011;;3668:216;;;;:::i;:::-;5433:27:32;;;:::i;:::-;5489:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;;;;32028:95;32024:159;;31920:1;;;2738:54011;;;31308:24;2738:54011;;31920:1;;2738:54011;;;3668:216;;;2738:54011;;-1:-1:-1;;;;2738:54011:6;;;;-1:-1:-1;;;2738:54011:6;;;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;32345:194;;;;;2738:54011;;32364:91;2738:54011;;;;;;;;;;;;;;;;;;;;3947:178;2738:54011;;;32364:91;31810:21;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;32345:194;2738:54011;;32475:64;2738:54011;;;;;;;;;;;;;32475:64;32345:194;;32024:159;32146:26;;;31920:1;;32146:26;2738:54011;31920:1;;32146:26;31794:84;2738:54011;39229:38;;;;;31353:525;;31840:38;2738:54011;;;:::i;:::-;;31353:525;;31840:38;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13597:34;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;8994:33;2738:54011;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13036:31;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;55996:14:6;2738:54011;56024:11;;56020:40;;2738:54011;;55996:14;3668:216;;;2738:54011;;;;;;;56112:20;:44;;;;:::i;:::-;;56170:3;56166:32;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;:::i;:::-;1500:62:8;;;:::i;:::-;2989:103:28;;:::i;:::-;31154:9:6;;;:::i;:::-;-1:-1:-1;;;2738:54011:6;31202:16;2738:54011;;;-1:-1:-1;;2738:54011:6;31259:15;;;;2738:54011;;;;;;;;;-1:-1:-1;;;;2738:54011:6;31308:24;2738:54011;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;31397:30;31385:42;31381:85;;-1:-1:-1;;2738:54011:6;;;;;;31590:43;;;;;;;:86;;;2738:54011;31586:192;;;31892:30;;;31888:57;;5433:27:32;5489:8;31980:34:6;3668:216;31980:34;;;;:::i;:::-;48782:13;48871:167;2738:54011;48782:13;;2738:54011;;48765:88;2738:54011;;;;48765:88;31397:30;2738:54011;;;;;;;;;48765:88;;;2738:54011;48765:88;;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;48765:88;2738:54011;48755:99;;30958:4;48939:10;;2738:54011;;;;;;;;;;;48832:1;48976:8;;2738:54011;;48986:8;;2738:54011;;;;;48898:138;;;2738:54011;48898:138;;2738:54011;3947:178;2738:54011;;;3947:178;;2738:54011;3947:178;;;2738:54011;3947:178;2738:54011;;3947:178;;2738:54011;;3947:178;;2738:54011;3947:178;2738:54011;3947:178;;2738:54011;;;;3947:178;;;;;2738:54011;3947:178;48898:138;;;;;;:::i;:::-;2738:54011;48888:149;;48871:167;:::i;:::-;2738:54011;;3668:216;;:::i;:::-;5433:27:32;;:::i;:::-;5489:8;;;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;;;;32028:95;32024:159;;2738:54011;-1:-1:-1;;2738:54011:6;;;31308:24;2738:54011;;-1:-1:-1;;2738:54011:6;;;3668:216;;;2738:54011;;-1:-1:-1;;;;2738:54011:6;;;;-1:-1:-1;;;2738:54011:6;;;;;;;32364:91;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;2738:54011;;;;;;;;;;;;;;;;3947:178;2738:54011;;;32364:91;30958:4;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;31586:192;2738:54011;31703:60;;;;-1:-1:-1;;31703:60:6;2738:54011;;;;;;-1:-1:-1;;31703:60:6;31590:86;2738:54011;;;;;;;;;31637:39;;31590:86;;;31381:85;31436:30;;;;-1:-1:-1;;31436:30:6;2738:54011;;;-1:-1:-1;;31436:30:6;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;-1:-1:-1;;;9584:33:6;;2738:54011;;;9584:33;;;2738:54011;;;9584:33;2738:54011;9584:17;-1:-1:-1;;;;;2738:54011:6;9584:33;;;;;;;2738:54011;;9584:33;;;11062:1;9620:7;11062:1;;;;;;9620:7;11062:1;;;;;;;2738:54011;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;11584:55;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;11526:52;2738:54011;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;6691:53;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;;;;;;;;;;;;1500:62:8;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;53974:23;;53970:50;;2738:54011;;;54075:1;2738:54011;;;;;;;;;;;;;;;;;54090:53;;:88;;;;2738:54011;54086:115;;2738:54011;;;;54380:61;2738:54011;;;;;;;;;;3668:216;2738:54011;3668:216;;;2738:54011;3668:216;;2738:54011;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;54075:1;2738:54011;;;;;;11062:1;-1:-1:-1;;;;;11062:1:6;;;;;;;;2738:54011;;;;;54380:61;2738:54011;;;;54090:88;2738:54011;;;;54147:31;;54090:88;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;41508:20:6;:70;;;;;2738:54011;;-1:-1:-1;;;41508:70:6;;41554:12;2738:54011;41508:70;;2738:54011;41567:10;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;41508:70;;2738:54011;;41508:70;;;;;;;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;11399:56;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42050:20;2738:54011;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;1500:62:8;;:::i;:::-;2989:103:28;;:::i;:::-;56302:16:6;2738:54011;56332:11;;56328:40;;2738:54011;;56302:16;3668:216;56425:15;-1:-1:-1;;;;;2738:54011:6;;56425:29;2738:54011;;56425:63;2738:54011;;;;;;;;;56512:30;;;;:::i;56425:63::-;56475:13;;56425:63;;2738:54011;;;;:::i;:::-;2989:103:28;;:::i;:::-;43394:43:6;;;;:::i;:::-;43451:9;;:16;43447:50;;2738:54011;;;;43508:15;2738:54011;;;;;;43508:35;2738:54011;;;43508:35;:::i;:::-;3668:216;;43608:44;;;;:::i;:::-;2738:54011;46227:17;-1:-1:-1;;;;;2738:54011:6;46227:48;;;;;2738:54011;;;;;;46227:48;;43676:10;2738:54011;46227:48;;2738:54011;;;;;;;;;;;-1:-1:-1;46227:48:6;-1:-1:-1;;;;;;46227:48:6;;;;;;;;;2738:54011;43451:9;;;43720:16;43716:151;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;43882:93;2738:54011;43676:10;43882:93;;11062:1;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;43716:151;2738:54011;;;;;43789:16;43451:9;;43789:16;:::i;:::-;43676:10;43766:44;;;;:::i;:::-;;43716:151;43824:32;43840:16;;;2738:54011;;43840:16;2738:54011;;;43840:16;46227:48;-1:-1:-1;;46227:48:6;;;:::i;:::-;2738:54011;;;;46227:48;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;1500:62:8;;:::i;:::-;7545:2:6;54853:38;;:100;;;;2738:54011;54853:153;;;;2738:54011;54853:214;;;;2738:54011;54853:248;;;;2738:54011;54853:284;;;;2738:54011;54853:348;;;;2738:54011;54853:412;;;;2738:54011;54853:466;;;;2738:54011;54853:515;;;;2738:54011;54836:564;;55720:180;3668:216;2738:54011;3668:216;;55411:44;3668:216;;55465:38;3668:216;;2738:54011;3668:216;;55560:49;3668:216;;55619:35;3668:216;-1:-1:-1;;;;;11062:1:6;;55664:40;11062:1;;;55664:40;11062:1;2738:54011;;;;;;7925:12;;2738:54011;;7925:12;;2738:54011;;7925:12;;2738:54011;;7925:12;;2738:54011;55720:180;2738:54011;;;;54853:515;55335:33;;;54853:515;;:466;55281:38;7925:12;55281:38;;54853:466;;:412;55217:48;7863:6;55217:48;;54853:412;;:348;55153:48;2738:54011;55153:48;;54853:348;;:284;55117:20;55133:4;55117:20;;54853:284;;:248;55083:18;55099:2;55083:18;;54853:248;;:214;55022:45;7732:5;55022:45;;54853:214;;:153;54969:37;7668:1;54969:37;;54853:153;;:100;54907:46;7607:6;54907:46;;54853:100;;2738:54011;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;12111:16;2738:54011;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;2738:54011:6;;-1:-1:-1;;;41166:102:6;;41208:12;2738:54011;41166:102;;;2738:54011;;;;-1:-1:-1;;;;;41221:17:6;2738:54011;;;;;;41247:16;2738:54011;;;;;;;;;;;;41166:102;2738:54011;41166:20;:102;;;;;;2738:54011;;;;;;;;41166:102;;2738:54011;3668:216;2738:54011;3668:216;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;41166:102;;;2738:54011;41166:102;;;;;2738:54011;41166:102;2738:54011;41166:102;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;2738:54011:6;;;;;42244:88;;42270:11;2738:54011;42244:88;;2738:54011;;;;;;42282:17;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;42244:20;:88;:20;;:88;;;;;;2738:54011;;42244:88;;;2738:54011;3668:216;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;20846:20:6;:101;;;;;2738:54011;;;;;;20846:101;;20882:14;2738:54011;20846:101;;2738:54011;20897:20;2738:54011;;;;;;;;;20926:12;2738:54011;;;;;;;;;;;;20846:101;2738:54011;;;20846:101;;;;;;;;;2738:54011;20957:23;;2738:54011;20957:23;:::i;:::-;;3668:216;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;20846:101;2738:54011;;20846:101;;;:::i;:::-;2738:54011;;;;20846:101;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;2989:103:28;;:::i;:::-;2738:54011:6;;;;39146:16;2738:54011;;;;;;39187:8;;;2738:54011;;;;;;;;;;;;;;39187:33;;39183:84;;-1:-1:-1;39329:26:6;2738:54011;39301:54;;-1:-1:-1;;;;;2738:54011:6;39301:54;:::i;:::-;39369:12;;:27;39365:116;;-1:-1:-1;3668:216:6;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;2738:54011;;39543:28;;;:::i;:::-;2738:54011;3668:216;39612:8;;;2738:54011;;;;;;;39187:8;2738:54011;;;;;;;;39585:49;39581:120;;2738:54011;39739:4;;;;:::i;:::-;39754:17;;:::i;:::-;39821:8;;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;3194:3;2738:54011;39502:31;-1:-1:-1;;;;;;;;;;;2738:54011:6;;;;;3194:3;;2738:54011;;;;3194:3;;2738:54011;39884:10;3194:3;;;2738:54011;39787:108;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;39581:120;2738:54011;;;39187:8;2738:54011;;;;;;;;3668:216;39581:120;;;39365:116;39419:51;;;2738:54011;;39419:51;39369:12;2738:54011;;;;;;;39419:51;39183:84;2738:54011;39229:38;;;;;2738:54011;;39229:38;2738:54011;;;:::i;:::-;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;8820:59;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;10306:54;2738:54011;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;32885:5763;2738:54011;;;;;;:::i;:::-;2989:103:28;;;;;:::i;:::-;2738:54011:6;;;;;;;;32885:5763;:::i;:::-;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;:::i;:::-;1500:62:8;;:::i;:::-;53012:7:6;;;:32;;2738:54011;53008:63;;2738:54011;;;53081:23;2738:54011;;;;;;53081:23;2738:54011;;;;;;53008:63;53053:18;;;2738:54011;;53053:18;2738:54011;;;53053:18;53012:32;2738:54011;;53024:20;2738:54011;;53023:21;53012:32;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;2989:103:28;;:::i;:::-;56681:20:6;:59;;;;;2738:54011;;-1:-1:-1;;;56681:59:6;;56709:12;2738:54011;56681:59;;;2738:54011;;;;56722:10;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;56681:59;;2738:54011;;56681:59;;;;;;;;2738:54011;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;;;56681:59;2738:54011;56681:59;;;:::i;:::-;2738:54011;;;56681:59;;;2738:54011;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;;6325:33;2738:54011;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;13560:31;2738:54011;;;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;;;;;12821:30;2738:54011;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;48765:88;;2738:54011;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;2738:54011:6;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;-1:-1:-1;;2738:54011:6;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2738:54011:6;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3668:216;-1:-1:-1;;;;;3668:216:6;;;;2738:54011;;-1:-1:-1;;2738:54011:6;3668:216;;;:::o;:::-;;;;;;;:::i;:::-;2738:54011;;;;;;;:::i;:::-;3668:216;;;;;;;;;;;;;;;;-1:-1:-1;3668:216:6;;;;;;:::o;:::-;;;;;-1:-1:-1;;3668:216:6;;:::o;:::-;2738:54011;;;3668:216;;;;;;;;;-1:-1:-1;;3668:216:6;;;;;;;:::o;3194:3::-;;;;;2738:54011;3194:3;;;;;;;:::o;:::-;;2738:54011;;;;;;;;3194:3;;;;;;;;11062:1;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;2738:54011;11062:1;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;2738:54011;;;;11062:1;;;;;;;;2738:54011;11062:1;2738:54011;;;11062:1;;;:::o;:::-;-1:-1:-1;2738:54011:6;;;;;;;;-1:-1:-1;2738:54011:6;;11062:1;;;;;;;2738:54011;11062:1;;;;;:::o;:::-;;;2738:54011;11062:1;;;;;;;;;;;;;;;;;;;2738:54011;;;;;;;;;;;;11062:1;2738:54011;;;11062:1;;;;;;;;:::o;32885:5763::-;;;;;;;;;;2738:54011;32885:5763;2738:54011;;;;;33211:16;2738:54011;;;;;33266:9;;;;:::i;:::-;33290:8;;;2738:54011;;;;;;;;;;;;;33302:30;33290:42;33286:85;;33385:64;;;;;:::i;:::-;2738:54011;;;33453:24;2738:54011;;;;;;33385:103;33381:167;;33582:34;;;;;;;;:::i;:::-;33693:13;;;2738:54011;;;;;;;;;33302:30;2738:54011;;;;;;;33676:88;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;33676:88;;33693:13;;;33676:88;2738:54011;;33676:88;:::i;:::-;2738:54011;33653:121;;33899:10;2738:54011;33899:10;;2738:54011;;;;33956:8;33743:1;33956:8;;2738:54011;;;;;;;;;;33982:8;2738:54011;33982:8;2738:54011;;;;;;33829:325;2738:54011;33829:325;;2738:54011;3668:216;2738:54011;;;3668:216;;2738:54011;3668:216;;;2738:54011;3668:216;;;2738:54011;;3668:216;;2738:54011;3668:216;;;;2738:54011;;;;;3668:216;;;2738:54011;3668:216;;;2738:54011;3668:216;;;;2738:54011;;;3668:216;;;2738:54011;3668:216;33829:325;;;;;;:::i;:::-;2738:54011;33806:358;;34191:28;;;:::i;:::-;3668:216;;;;;;:::i;:::-;5433:27:32;;;:::i;:::-;5489:8;;;;;;:::i;:::-;-1:-1:-1;;;;;2738:54011:6;;;;;34233:43;34229:82;;34387:28;2738:54011;;34387:28;:::i;:::-;2738:54011;3668:216;2738:54011;;;;;33290:8;2738:54011;;;;;;;34429:49;34425:120;;32885:5763;34614:522;;;2738:54011;;;35282:11;2738:54011;;;;;35319:15;2738:54011;33693:13;35319:15;;2738:54011;;35318:16;2738:54011;;35318:68;;32885:5763;35314:95;;35449:66;2738:54011;;;3194:3;33693:13;;;;3194:3;:::i;:::-;;3668:216;3194:3;;:::i;:::-;35449:66;;:::i;:::-;2738:54011;35551:19;;2738:54011;35529:41;35525:79;;2738:54011;;;35640:11;2738:54011;;;;;33290:8;35771:15;;2738:54011;;;;;35767:901;;33743:1;36792:9;;2738:54011;36832:15;36850:6;36832:15;2914:2;36872:21;;;;:::i;:::-;36871:22;36867:51;;2738:54011;;;;;;36932:22;2738:54011;;;;36932:68;;36928:170;;2738:54011;;;;;;;37111:20;2738:54011;;;;;;;;;;;;37111:74;;37107:172;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;11062:1;;2738:54011;;37410:5;;;:::i;:::-;2738:54011;;;36932:22;2738:54011;;;;;37426:36;2738:54011;;37426:36;:::i;:::-;3668:216;;2738:54011;;;;37111:20;2738:54011;;;;;;;;;;;;;37472:44;2738:54011;;37472:44;:::i;:::-;3668:216;;2738:54011;;11062:1;;-1:-1:-1;;;;;;11062:1:6;-1:-1:-1;;;;;2738:54011:6;;;;11062:1;;;2738:54011;;;37561:19;;3668:216;33743:1;37601:14;;3668:216;;;36832:15;2738:54011;37637:14;;3668:216;33693:13;37679:17;;;3668:216;;;;33693:13;;;2738:54011;37726:10;11062:1;:::i;:::-;2738:54011;;;;;;;;;;;37795:27;2738:54011;;;;;;3668:216;2738:54011;;;37861:19;2738:54011;;;;;37861:27;2738:54011;;37861:27;:::i;:::-;3668:216;;37898:18;;2738:54011;37898:18;:::i;:::-;;3668:216;2738:54011;;-1:-1:-1;;;;;37927:16:6;2738:54011;;;;37927:42;;;;;2738:54011;;-1:-1:-1;;;37927:42:6;;-1:-1:-1;;;;;2738:54011:6;;;;33693:13;37927:42;;2738:54011;11062:1;;;2738:54011;;;;;11062:1;2738:54011;;37927:42;;;;;;;;;;;;32885:5763;-1:-1:-1;;2738:54011:6;;38036:36;;2738:54011;;-1:-1:-1;;;;;2738:54011:6;38036:36;:::i;:::-;3668:216;38087:27;;:48;;;32885:5763;38083:203;;;2738:54011;;;;-1:-1:-1;;;45644:77:6;;45674:8;33693:13;45644:77;;2738:54011;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;3668:216;2738:54011;45644:77;2738:54011;45644:21;:77;;;;;;;;38083:203;;;38296:17;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;;2738:54011:6;;;;;38466:111;2738:54011;;;;-1:-1:-1;;;;;;;;;;;3668:216:6;2738:54011;;11062:1;2738:54011;;33743:1;2738:54011;;;2914:2;;2738:54011;;;;2914:2;;2738:54011;38440:10;3668:216;2914:2;;2738:54011;38328:123;11062:1;2738:54011;;;;;;;3668:216;2738:54011;11062:1;;;2738:54011;11062:1;3668:216;11062:1;;;;:::i;:::-;;;;;2738:54011;11062:1;;;38544:11;11062:1;:::i;:::-;;3668:216;11062:1;;2738:54011;33693:13;3668:216;11062:1;;33693:13;;11062:1;:::i;:::-;38466:111;;;33743:1;38587:54;32885:5763;:::o;45644:77::-;;;3668:216;45644:77;3668:216;45644:77;;;;;;;:::i;:::-;;;;;;2738:54011;;;;;;;;;38083:203;-1:-1:-1;2738:54011:6;;;;;;-1:-1:-1;38226:49:6;;2738:54011;;-1:-1:-1;;;;;2738:54011:6;38226:49;:::i;:::-;38083:203;;;38087:48;2738:54011;;38119:16;2738:54011;;38118:17;38087:48;;37927:42;;;;;:::i;:::-;2738:54011;;37927:42;;;;2738:54011;;;;37927:42;2738:54011;;;;;;;;;37927:42;2738:54011;;;37107:172;-1:-1:-1;;;37208:60:6;;2738:54011;33693:13;2738:54011;;37208:60;;36928:170;-1:-1:-1;;;37023:64:6;;2738:54011;33693:13;2738:54011;;37023:64;;36867:51;-1:-1:-1;;;36902:16:6;;33693:13;2738:54011;;;;36902:16;;35767:901;35806:27;;;;;;;;;;;;3668:216;35806:27;;35802:395;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;36290:5;;;:::i;:::-;2738:54011;;36310:36;;2738:54011;;-1:-1:-1;;;;;2738:54011:6;36310:36;:::i;:::-;2738:54011;;;;36375:49;;2738:54011;;;-1:-1:-1;;;;;2738:54011:6;36375:49;:::i;:::-;36438:17;;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;-1:-1:-1;2738:54011:6;3668:216;2738:54011;;-1:-1:-1;;;;;;;;;;;2738:54011:6;;;2914:2;;2738:54011;;;;;2914:2;;2738:54011;36582:10;3668:216;2914:2;;2738:54011;36474:119;2738:54011;36607:50;;:::o;35802:395::-;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;2738:54011;;;35940:4;;;:::i;:::-;35963:17;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;3668:216;2738:54011;;-1:-1:-1;;;;;;;;;;;2738:54011:6;;;2914:2;;2738:54011;2914:2;2738:54011;2914:2;;2738:54011;36107:10;3668:216;2914:2;;2738:54011;36003:115;2738:54011;36136:46;;:::o;35525:79::-;-1:-1:-1;;;35579:25:6;;33693:13;35579:25;;35314:95;-1:-1:-1;;;35395:14:6;;33693:13;55386:14;35395;35318:68;2738:54011;35338:35;2738:54011;;3194:3;33693:13;;;;3194:3;:::i;:::-;;3668:216;3194:3;;:::i;:::-;35338:35;:::i;:::-;33743:1;35377:9;;2738:54011;35338:48;;35318:68;;34614:522;34648:14;;;;;;;;;;;;;:49;;;34614:522;34644:76;;;3668:216;;-1:-1:-1;;;;3668:216:6;-1:-1:-1;;;3668:216:6;;;;34788:21;2738:54011;34851:5;;-1:-1:-1;34788:21:6;;;:::i;:::-;;3668:216;34851:5;:::i;:::-;2738:54011;;-1:-1:-1;;;;;46227:17:6;2738:54011;;;;46227:48;;;;;2738:54011;;46227:48;2738:54011;;;;;;;;;;;;46227:48;;33693:13;46227:48;;2738:54011;3194:3;2738:54011;;;;;;;;;46227:48;;;;;;;;34614:522;34924:17;;;:::i;:::-;2738:54011;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;3668:216;2738:54011;33693:13;-1:-1:-1;;;;;;;;;;;2738:54011:6;;3194:3;2738:54011;3194:3;;2738:54011;3194:3;2738:54011;3194:3;;2738:54011;35055:10;3668:216;3194:3;;2738:54011;34960:106;33693:13;35080:45;;:::o;46227:48::-;;;;;2738:54011;46227:48;;:::i;:::-;2738:54011;46227:48;;;;34644:76;55386:14;;;2738:54011;34706:14;33693:13;2738:54011;34706:14;34648:49;34666:31;;;34648:49;;;34425:120;2738:54011;;33290:8;2738:54011;;;;;;3668:216;34425:120;;;34229:82;32146:26;;;2738:54011;34285:26;33693:13;2738:54011;34285:26;33381:167;33511:26;;;2738:54011;33511:26;;2738:54011;33511:26;33286:85;31436:30;;;;2738:54011;33341:30;;2738:54011;;;33341:30;2738:54011;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;2738:54011:6;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;2738:54011:6;;;;;;:::o;47730:197::-;;2738:54011;;47875:44;;;;2738:54011;;;;;;;;;;;;;;47875:44;;;;;;:::i;:::-;2738:54011;47865:55;;47730:197;:::o;2738:54011::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;51440:333;;;51637:21;51440:333;51637:21;:::i;:::-;11062:1;;;2738:54011;;;;11062:1;2738:54011;;;;;11062:1;2738:54011;;11062:1;2738:54011;;;51685:80;2738:54011;51685:80;;51702:8;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;51685:80;;;;;;:::i;2738:54011::-;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;23968:20;2738:54011;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;25036:4725::-;;;2738:54011;25228:20;2738:54011;;25227:21;25223:52;;25303:6;;;:::i;:::-;25336:17;2738:54011;25324:9;:29;25320:63;;2738:54011;25421:27;2738:54011;;;;:::i;25421:27::-;25551:13;-1:-1:-1;25566:5:6;2738:54011;25566:5;;;;11062:1;;;2738:54011;;;11062:1;26005:60;2738:54011;;;11062:1;2738:54011;26005:60;2738:54011;;;11062:1;2738:54011;;26005:60;;;2738:54011;26005:60;;;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;26005:60;2738:54011;25995:71;;-1:-1:-1;2738:54011:6;26101:27;2738:54011;;;-1:-1:-1;2738:54011:6;;26156:19;26152:669;;26852:28;;;;:::i;:::-;26895:27;;;:::i;:::-;26894:28;26890:63;;2738:54011;;26968:14;2738:54011;;26964:43;;2738:54011;-1:-1:-1;2738:54011:6;27083:26;2738:54011;;;-1:-1:-1;2738:54011:6;;27079:149;;27389:6;27371:15;2914:2;2738:54011;-1:-1:-1;2738:54011:6;27409:20;2738:54011;;;-1:-1:-1;2738:54011:6;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;;27409:72;;27405:170;;-1:-1:-1;2738:54011:6;27588:22;2738:54011;;;-1:-1:-1;2738:54011:6;;27625:26;27588:63;2738:54011;;27588:63;;;:::i;:::-;:97;;27584:199;;26051:1;2738:54011;27874:54;;;;;27870:161;;2738:54011;;;;2914:2;;;;28059:12;2914:2;2738:54011;-1:-1:-1;2738:54011:6;28109:20;2738:54011;;;-1:-1:-1;2738:54011:6;;26062:1;2738:54011;28109:56;;;;28105:155;;2738:54011;-1:-1:-1;2738:54011:6;28109:20;2738:54011;;;-1:-1:-1;2738:54011:6;28269:32;2738:54011;;28269:32;:::i;:::-;3668:216;;2738:54011;;-1:-1:-1;;;28452:93:6;;28483:20;2738:54011;28452:93;;2738:54011;28504:17;-1:-1:-1;;;;;2738:54011:6;;;;;28522:10;2738:54011;;;;;;;;;;;:::i;:::-;;;;;;28452:93;:20;:93;:20;;:93;;;;;;;-1:-1:-1;28452:93:6;;;25546:303;2738:54011;28568:24;;2738:54011;28568:24;:::i;:::-;3668:216;28568:24;3668:216;28556:36;2738:54011;28602:28;27625:26;2738:54011;28602:28;:::i;:::-;27625:26;3668:216;2738:54011;-1:-1:-1;2738:54011:6;27083:26;2738:54011;;;;-1:-1:-1;2738:54011:6;3668:216;28801:8;28059:12;-1:-1:-1;;;;;28059:12:6;2738:54011;;;-1:-1:-1;2738:54011:6;;;;;;;;;;:::i;:::-;;;;;28727:443;;2738:54011;;;;;28727:443;;28522:10;;2738:54011;;;28727:443;;2738:54011;;;;28452:93;28727:443;;2738:54011;;;28727:443;;;2738:54011;;;;28727:443;;2738:54011;;;;;28727:443;;27371:15;-1:-1:-1;;;;;27371:15:6;2738:54011;;;;28727:443;;2738:54011;;;28727:443;;;2738:54011;;;;;-1:-1:-1;2738:54011:6;28697:16;2738:54011;;;-1:-1:-1;2738:54011:6;11062:1;;3668:216;;11062:1;2738:54011;;;3668:216;2738:54011;;;;;;;;26051:1;2738:54011;;;;;;;;;-1:-1:-1;;;;;11062:1:6;;;;;;;;;26062;2738:54011;;3668:216;2738:54011;-1:-1:-1;2738:54011:6;;;;;;;;;-1:-1:-1;2738:54011:6;-1:-1:-1;2738:54011:6;;;;;;-1:-1:-1;;27625:26:6;2738:54011;;;;;27083:26;2738:54011;;;;;;;;;;-1:-1:-1;;;;;;2738:54011:6;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2738:54011:6;;;;;27625:26;2738:54011;;;;;3668:216;;-1:-1:-1;;;;3668:216:6;;;;;;-1:-1:-1;;;3668:216:6;;;;25336:17;2738:54011;29252:21;;;;:57;;2738:54011;29248:207;;2738:54011;;25336:17;2738:54011;25324:9;;29468:29;29464:181;;2738:54011;;;;;;;;;;;;;;:::i;:::-;28727:443;2738:54011;;;29660:94;2738:54011;28522:10;29660:94;;25036:4725::o;29464:181::-;-1:-1:-1;25324:9:6;;29552:29;25324:9;;;29552:29;:::i;:::-;28522:10;29529:57;;;;:::i;:::-;;29604:5;29600:34;;29464:181;;;29600:34;43840:16;;;-1:-1:-1;29618:16:6;2738:54011;-1:-1:-1;29618:16:6;29248:207;29342:18;2738:54011;-1:-1:-1;;;;;;;;;;;;;2738:54011:6;29342:53;;;;:::i;:::-;;29413:6;29409:35;;29248:207;;;29252:57;-1:-1:-1;29277:18:6;2738:54011;-1:-1:-1;;;;;2738:54011:6;29277:32;;29252:57;;2738:54011;;;;;;;;;;;;;26062:1;2738:54011;;;;11062:1;;2738:54011;;;;;;;;;;;11062:1;2738:54011;11062:1;;2738:54011;;;;;;;;;;;;28452:93;;;;;;;;;;;;;;;:::i;:::-;;;;;28105:155;28188:61;;;;-1:-1:-1;28188:61:6;2738:54011;;;;;-1:-1:-1;28188:61:6;2914:2;2738:54011;;;-1:-1:-1;2914:2:6;;2738:54011;2914:2;;-1:-1:-1;2914:2:6;27870:161;27951:69;;;-1:-1:-1;27951:69:6;2738:54011;;;;;-1:-1:-1;27951:69:6;27584:199;37023:64;;;-1:-1:-1;27708:64:6;27625:26;2738:54011;;;-1:-1:-1;27708:64:6;27405:170;37208:60;;;-1:-1:-1;27504:60:6;2738:54011;;;;-1:-1:-1;27504:60:6;27079:149;2738:54011;-1:-1:-1;2738:54011:6;27083:26;2738:54011;;;-1:-1:-1;2738:54011:6;;27145:72;;;;-1:-1:-1;27145:72:6;2738:54011;;;;;-1:-1:-1;27145:72:6;26964:43;26991:16;;;-1:-1:-1;26991:16:6;2738:54011;-1:-1:-1;26991:16:6;26890:63;36902:16;;;-1:-1:-1;26931:22:6;2738:54011;;;-1:-1:-1;26931:22:6;26152:669;26195:32;;2738:54011;26195:32;;26191:71;;2738:54011;;-1:-1:-1;;;26276:94:6;;;2738:54011;;26276:94;26346:10;;26328:17;2738:54011;26276:94;;;:::i;:::-;;:20;;:94;;;;;;;;26152:669;26346:10;26384:43;26346:10;;26384:43;:::i;:::-;26457:54;26346:10;;;26457:54;:::i;:::-;25324:9;26525:165;;26152:669;26708:80;;2738:54011;;;26346:10;;;;26708:80;;;:::i;:::-;;;;-1:-1:-1;26802:8:6;:::o;26525:165::-;-1:-1:-1;25324:9:6;;;;26346:10;26582:37;;;;:::i;:::-;;26525:165;26637:38;43840:16;;;-1:-1:-1;26659:16:6;2738:54011;-1:-1:-1;26659:16:6;26276:94;;;;;;;;;;;;;:::i;:::-;;;26191:71;23900:26;;;-1:-1:-1;26236:26:6;2738:54011;-1:-1:-1;26236:26:6;25573:3;25605:9;;;;:::i;:::-;11062:1;25638;25632:7;;;:19;;;25573:3;25628:211;;;2738:54011;-1:-1:-1;2738:54011:6;25676:11;2738:54011;;;25676:26;2738:54011;-1:-1:-1;2738:54011:6;25676:26;2738:54011;;25675:27;25671:67;;25628:211;2738:54011;25628:211;;2738:54011;25551:13;;25671:67;25711:27;;;-1:-1:-1;25711:27:6;2738:54011;;;-1:-1:-1;25711:27:6;25628:211;25768:3;25763:8;;:20;;;;;25628:211;25759:80;;;2738:54011;25628:211;;;25763:20;25780:3;25775:8;;;25763:20;;;25632:19;25643:8;25649:2;25643:8;;;25632:19;;25320:63;43476:21;;;-1:-1:-1;25362:21:6;;-1:-1:-1;25362:21:6;25223:52;53053:18;;;-1:-1:-1;25257:18:6;;-1:-1:-1;25257:18:6;2738:54011;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2738:54011:6;;;;;;;;;;;;;;;:::o;42807:462::-;2738:54011;-1:-1:-1;2738:54011:6;42982:11;2738:54011;;;43019:15;2738:54011;-1:-1:-1;2738:54011:6;43019:15;2738:54011;;43018:16;2738:54011;;43018:30;;42807:462;43018:61;;;;42807:462;43014:130;;-1:-1:-1;2738:54011:6;;;43201:11;2738:54011;;;;;;;;43201:27;;2738:54011;43229:15;2738:54011;;;;;;;;;-1:-1:-1;;;43161:101:6;;;;;2738:54011;;;;;;;;;;;;;;;;;;;43161:20;:101;;;;;;;-1:-1:-1;43161:101:6;;;43154:108;42807:462;:::o;43161:101::-;;;2738:54011;43161:101;;2738:54011;43161:101;;;;;;2738:54011;43161:101;;;:::i;:::-;;;2738:54011;;;;;42807:462;:::o;43161:101::-;;;-1:-1:-1;43161:101:6;;43014:130;23820:23;;;-1:-1:-1;43102:31:6;;2738:54011;;-1:-1:-1;43102:31:6;43018:61;43052:27;2914:2;43052:27;;43018:61;;:30;43038:10;;;43018:30;;3749:292:28;2407:1;-1:-1:-1;;;;;;;;;;;2738:54011:6;4560:63:28;3644:93;;2407:1;-1:-1:-1;;;;;;;;;;;3668:216:6;3749:292:28:o;3644:93::-;3696:30;;;-1:-1:-1;3696:30:28;;-1:-1:-1;3696:30:28;1796:162:8;1710:6;2738:54011:6;-1:-1:-1;;;;;2738:54011:6;735:10:26;1855:23:8;1851:101;;1796:162::o;1851:101::-;1901:40;;;1710:6;1901:40;735:10:26;1901:40:8;2738:54011:6;;1710:6:8;1901:40;49516:193:6;49581:17;;:::i;:::-;49625:19;2738:54011;49612:32;;;49608:94;;49516:193;;:::o;49608:94::-;49653:49;;;-1:-1:-1;49653:49:6;;2738:54011;;;;-1:-1:-1;49653:49:6;49051:459;;;2738:54011;;49192:29;2738:54011;;;;;;49179:42;;;;:74;;;;;49051:459;49175:172;;;49192:29;2738:54011;;;49365:23;2738:54011;;;;;;-1:-1:-1;;;;;2738:54011:6;;49414:20;;49410:93;;49051:459;;:::o;49410:93::-;31703:60;;;49192:29;49443:60;;2738:54011;;;;49192:29;49443:60;49175:172;31703:60;;;;49192:29;49276:60;;2738:54011;;;;49192:29;49276:60;49179:74;2738:54011;49238:15;;;;2738:54011;;;;49225:28;;49179:74;;;48161:407;2738:54011;;48273:214;;;2738:54011;48297:95;2738:54011;;48406:37;2738:54011;;;;48444:14;2738:54011;;;;48459:13;2738:54011;;;;48481:4;2738:54011;;;;;48273:214;;;;;;:::i;:::-;2738:54011;48263:225;;2738:54011;;;48515:45;48273:214;48515:45;;2738:54011;;;;;;;;;;;;;;;48515:45;;;;;;:::i;45892:242::-;46058:8;;;2738:54011;45985:20;;:142;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;45985:142;;46019:20;46080:13;45985:142;;2738:54011;;;;;;46040:17;2738:54011;;;;;;;;;;;;;;;;;;;46080:13;;;2738:54011;:::i;:::-;46094:25;2738:54011;;;46094:25;;2738:54011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39199:21;2738:54011;;;;45985:142;;;;;;;;45892:242;:::o;45985:142::-;-1:-1:-1;45985:142:6;;;:::i;45892:242::-;46058:8;;;2738:54011;45985:20;;-1:-1:-1;;;;;2738:54011:6;;;;45985:142;;;;;;33707:1;2738:54011;;;;;;;;;;;;;45985:142;;46019:20;46080:13;45985:142;;2738:54011;;;;;;46040:17;2738:54011;;;;;;;;;;;;;46080:13;;;2738:54011;:::i;:::-;;;;;;45985:142;;;;;;;;45892:242;:::o;46140:142::-;46227:17;-1:-1:-1;;;;;2738:54011:6;;46227:48;;;;;2738:54011;;-1:-1:-1;;;46227:48:6;;-1:-1:-1;;;;;2738:54011:6;;;46227:48;;;2738:54011;;;;;;;;;;;-1:-1:-1;;2738:54011:6;;46227:48;;2738:54011;;-1:-1:-1;;46227:48:6;;;;;;;;46140:142;:::o;50002:422::-;50079:19;2738:54011;-1:-1:-1;50108:272:6;50174:3;2738:54011;50124:12;;:48;;;50174:3;50124:48;;;2738:54011;-1:-1:-1;2738:54011:6;50216:16;2738:54011;;;50216:31;2738:54011;-1:-1:-1;2738:54011:6;50216:31;2738:54011;;;;;;;;;;50275:21;50265:31;;:75;;;;;50174:3;50261:86;;;50361:8;50174:3;50361:8;;:::i;:::-;50174:3;;:::i;:::-;50113:9;;;50261:86;50079:19;3668:216;-1:-1:-1;50002:422:6:o;50265:75::-;50310:30;2738:54011;;50300:40;50265:75;;;50124:48;2738:54011;50150:22;2738:54011;50140:32;;;50124:48;;51005:333;2738:54011;51118:5;51122:1;51118:5;;;;-1:-1:-1;2738:54011:6;;-1:-1:-1;;;51283:48:6;;2738:54011;;;51122:1;51283:48;;;2738:54011;:::i;:::-;51283:48;:20;:48;:20;;:48;;;;;;;2738:54011;51283:48;;;51276:55;51005:333;:::o;51125:3::-;51157:8;;;;:::i;:::-;11062:1;51189;51183:7;;;:19;;;;51125:3;51183:50;;;51125:3;51179:77;;;2738:54011;;51107:9;;51183:50;2738:54011;;;;51207:11;2738:54011;;;51207:26;2738:54011;;;51207:26;2738:54011;;51206:27;51183:50;;;:19;51200:2;51194:8;;;;-1:-1:-1;51183:19:6;;39908:724;;;2738:54011;40005:12;2738:54011;;;40044:11;2738:54011;;40044:27;2738:54011;;;40044:27;2738:54011;40102:15;40120:6;40102:15;2914:2;2738:54011;;;;40153:18;2738:54011;;40185:22;2738:54011;;;;40185:22;;:::i;:::-;-1:-1:-1;40153:116:6;;;39908:724;40153:193;;;39908:724;40136:468;;40613:12;;;;39908:724;:::o;40136:468::-;2738:54011;;;;;;;;40153:18;2738:54011;;;;;40371:31;2738:54011;;40371:31;:::i;:::-;3668:216;;2738:54011;;;40416:26;2738:54011;;;;;;;;;;;;;40464:4;2738:54011;;;;;;;;;;40482:15;2738:54011;;;;;;;;;;;;;40482:37;2738:54011;;40482:37;:::i;:::-;3668:216;;46227:17;-1:-1:-1;;;;;2738:54011:6;;46227:48;;;;;2738:54011;;-1:-1:-1;;;46227:48:6;;-1:-1:-1;;;;;2738:54011:6;;;46227:48;;;2738:54011;7796:3;2738:54011;;;;;;;;;;;;;;;;;;;;;46227:48;;;;;;;;40136:468;40582:11;40464:4;40582:11;:::o;46227:48::-;2738:54011;46227:48;;;:::i;:::-;2738:54011;46227:48;;40153:193;2738:54011;;;;40285:15;2738:54011;;;;;;;;;;40044:27;2738:54011;;;;40285:61;40153:193;;:116;2738:54011;;;;40224:26;2738:54011;;;;;;;;;;;;;;;;40223:46;40153:116;;50722:175;50815:1;50807:9;;:83;;;;;50800:90;50722:175;:::o;50807:83::-;-1:-1:-1;;2738:54011:6;;;-1:-1:-1;2738:54011:6;;;;;-1:-1:-1;2738:54011:6;50820:19;2738:54011;;;-1:-1:-1;2738:54011:6;;;-1:-1:-1;2738:54011:6;50854:17;2738:54011;;;-1:-1:-1;2738:54011:6;;50815:1;2738:54011;;;;;;;50815:1;2914:2;-1:-1:-1;50820:70:6;50722:175;:::o;43988:334::-;;;2738:54011;-1:-1:-1;2738:54011:6;44260:11;2738:54011;;;44260:28;2738:54011;-1:-1:-1;2738:54011:6;44260:28;2738:54011;;;;;;44162:153;;44200:8;44162:153;;;2738:54011;;;;;;44218:16;2738:54011;;;;;;;;;;;;;;:::i;:::-;;;;;44301:13;-1:-1:-1;;;;;2738:54011:6;;;;;;;44162:153;2738:54011;44162:21;:153;;;;;;;-1:-1:-1;;;44162:153:6;;;44155:160;;43988:334;:::o;44162:153::-;;;;2738:54011;44162:153;;2738:54011;44162:153;;;;;;2738:54011;44162:153;;;:::i;:::-;;;2738:54011;;;;;;;;:::i;:::-;;;;43988:334;:::o;44162:153::-;;;-1:-1:-1;44162:153:6;;46288:343;2738:54011;;;;;;;:::i;:::-;;;;-1:-1:-1;46404:5:6;2738:54011;46404:5;;;;46614:10;46288:343;:::o;46411:3::-;2738:54011;;46451:1;2738:54011;;;;;;;46454:5;2738:54011;46454:5;;;;46411:3;;;46451:1;2738:54011;46389:13;;46461:3;46451:1;46488:6;;;;;:::i;:::-;11062:1;46497:6;;;;:::i;:::-;11062:1;-1:-1:-1;46484:97:6;;46461:3;2738:54011;46435:17;;46484:97;46547:6;;;;:::i;:::-;11062:1;46555:6;;;;:::i;:::-;11062:1;46527:35;;;;:::i;:::-;2738:54011;46527:35;;;;:::i;:::-;2738:54011;46484:97;;20619:143;2738:54011;;-1:-1:-1;;;20690:28:6;;;;;2738:54011;;;;;;20690:28;2738:54011;20690:12;-1:-1:-1;;;;;2738:54011:6;20690:28;;;;;;;-1:-1:-1;20690:28:6;;;20619:143;-1:-1:-1;20722:10:6;-1:-1:-1;;;;;2738:54011:6;;;20690:42;20686:69;;20619:143::o;20686:69::-;20741:14;;;-1:-1:-1;20741:14:6;20690:28;-1:-1:-1;20741:14:6;20690:28;;;2738:54011;20690:28;;2738:54011;20690:28;;;;;;2738:54011;20690:28;;;:::i;:::-;;;2738:54011;;;;;;;:::i;:::-;20690:28;;;;;;-1:-1:-1;20690:28:6;;50430:286;50519:2;50513:8;;;50509:22;;50551:2;50545:8;;;50541:22;;50583:2;50577:8;;;50573:22;;50615:2;50609:8;;;50605:22;;50647:2;50641:8;;;50637:22;;50679:2;-1:-1:-1;50673:8:6;50669:22;;50708:1;50430:286;:::o;50669:22::-;50690:1;50683:8;:::o;50637:22::-;50651:8;50658:1;50651:8;:::o;50605:22::-;50619:8;50626:1;50619:8;:::o;50573:22::-;50587:8;50594:1;50587:8;:::o;50541:22::-;50555:8;50562:1;50555:8;:::o;2419:778:32:-;2738:54011:6;;;2419:778:32;2609:2;2589:22;;2609:2;;3041:25;2825:196;;;;;;;;;;;;;;;-1:-1:-1;2825:196:32;3041:25;;:::i;:::-;3034:32;;;;;:::o;2585:606::-;3097:83;;3113:1;3097:83;3117:35;3097:83;;:::o;11617:532::-;2738:54011:6;;;;;;11703:29:32;;;11748:7;;:::o;11699:444::-;2738:54011:6;11799:38:32;;2738:54011:6;;11860:23:32;;;11712:20;11860:23;2738:54011:6;11712:20:32;11860:23;11795:348;11913:35;11904:44;;11913:35;;11971:46;;;;11712:20;11971:46;2738:54011:6;;;11712:20:32;11971:46;11900:243;12047:30;12038:39;12034:109;;11900:243;11617:532::o;12034:109::-;12100:32;;;11712:20;12100:32;2738:54011:6;;;11712:20:32;12100:32;23007:300:6;23101:1;23093:9;;23089:24;;23135:1;23127:9;;23123:24;;23169:1;23161:9;;23157:24;;23203:1;23195:9;;23191:24;;23237:1;23229:9;;23225:24;;23271:1;23263:9;23259:23;;2738:54011;23007:300;:::o;23259:23::-;23281:1;23274:8;:::o;23225:24::-;23240:9;23247:2;23240:9;:::o;23191:24::-;23206:9;23213:2;23206:9;:::o;23157:24::-;23172:9;23179:2;23172:9;:::o;23123:24::-;23138:9;23145:2;23138:9;:::o;23089:24::-;23104:9;23111:2;23104:9;:::o;7129:1551:32:-;;;8209:66;8196:79;;8192:164;;2738:54011:6;;;;;;-1:-1:-1;2738:54011:6;;;;;;;;;;;;;;;;;;;8467:24:32;;;;;;;;;-1:-1:-1;8467:24:32;-1:-1:-1;;;;;2738:54011:6;;8505:20:32;8501:113;;8624:49;-1:-1:-1;8624:49:32;-1:-1:-1;7129:1551:32;:::o;8501:113::-;8541:62;-1:-1:-1;8541:62:32;8467:24;8541:62;-1:-1:-1;8541:62:32;:::o;8192:164::-;8291:54;;;8307:1;8291:54;8311:30;8291:54;;:::o","linkReferences":{"contracts/HashDroidsCrystalLib.sol":{"HashDroidsCrystalLib":[{"start":1314,"length":20},{"start":2072,"length":20},{"start":12459,"length":20},{"start":13924,"length":20},{"start":15213,"length":20}]},"contracts/HashDroidsEconomyLib.sol":{"HashDroidsEconomyLib":[{"start":6991,"length":20},{"start":10076,"length":20},{"start":14194,"length":20},{"start":21403,"length":20}]},"contracts/HashDroidsHarvestLib.sol":{"HashDroidsHarvestLib":[{"start":3399,"length":20},{"start":7713,"length":20},{"start":9553,"length":20},{"start":14284,"length":20},{"start":19854,"length":20},{"start":20860,"length":20},{"start":21993,"length":20},{"start":22219,"length":20},{"start":22668,"length":20}]},"contracts/HashDroidsTreasuryLib.sol":{"HashDroidsTreasuryLib":[{"start":28,"length":20},{"start":9518,"length":20},{"start":17669,"length":20},{"start":23397,"length":20}]}},"immutableReferences":{"4781":[{"start":15445,"length":32},{"start":19088,"length":32},{"start":19937,"length":32}],"4784":[{"start":7514,"length":32}],"4787":[{"start":7554,"length":32}],"4790":[{"start":7215,"length":32},{"start":14347,"length":32},{"start":23679,"length":32}],"4793":[{"start":6223,"length":32},{"start":12507,"length":32},{"start":15265,"length":32}],"4796":[{"start":4289,"length":32}],"4799":[{"start":1924,"length":32},{"start":3977,"length":32},{"start":8948,"length":32},{"start":13873,"length":32},{"start":17474,"length":32},{"start":23283,"length":32}],"4802":[{"start":2019,"length":32},{"start":3355,"length":32},{"start":4114,"length":32},{"start":5960,"length":32},{"start":7047,"length":32},{"start":7663,"length":32},{"start":9167,"length":32},{"start":9594,"length":32},{"start":10002,"length":32},{"start":11895,"length":32},{"start":12112,"length":32},{"start":13117,"length":32},{"start":13833,"length":32},{"start":14125,"length":32},{"start":18518,"length":32},{"start":19773,"length":32},{"start":20816,"length":32},{"start":22063,"length":32},{"start":22301,"length":32},{"start":22383,"length":32},{"start":22958,"length":32}],"4804":[{"start":6670,"length":32},{"start":9457,"length":32},{"start":13005,"length":32},{"start":23342,"length":32}],"4806":[{"start":2210,"length":32},{"start":11115,"length":32}],"4808":[{"start":8426,"length":32},{"start":12935,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"activePendingAttemptByPass(uint256)","signatureHash4":"0x6ce62d42","signatureHash32":"0x6ce62d42e8fe5e7665bf7ce1d92ad90d471de8d72f91615ef6dad3769cf979ea"},{"signature":"activePendingAttemptsCount()","signatureHash4":"0x6bd060fb","signatureHash32":"0x6bd060fb503d99a704fc7826f7751ecd0a8fe113e0db8590b301ddfd72607ef4"},{"signature":"addRecipeCommitmentBatch(uint256[],uint256[],string[],string[],bytes32[])","signatureHash4":"0xb69d76a8","signatureHash32":"0xb69d76a8d6e699ae1d5ea552153bd2dd074528c0492e793bb4cc76a66386ab32"},{"signature":"admissionWindowBlocks()","signatureHash4":"0xfc19b78e","signatureHash32":"0xfc19b78e7fb5e5d2ea27740ce8cfa8ac2e1587f2579731041c093cc4e440c340"},{"signature":"advanceResearchQueue(uint256)","signatureHash4":"0x6b6dad07","signatureHash32":"0x6b6dad0734efd13d8b7321b3e492c8f2d16041c03195a55334eb8c5691456c22"},{"signature":"attemptCancelTimeoutBlocks()","signatureHash4":"0xdb95b05a","signatureHash32":"0xdb95b05a56b03d377b091eedca977e5897526020829890472b17c0430165859d"},{"signature":"buyDiscoveredElement(uint256,uint256)","signatureHash4":"0x2910ce58","signatureHash32":"0x2910ce580c14b08e2db6dacffc28a5ac58f7971b86194df838a628c7a1d80fc1"},{"signature":"buyElementP2P(uint256,uint256)","signatureHash4":"0x514e7697","signatureHash32":"0x514e76979acd46395173b337b6fe414b48e6e9e1fef69440232c54059c11edbb"},{"signature":"buySupplyPackBnb(uint256)","signatureHash4":"0x5b5e3bd1","signatureHash32":"0x5b5e3bd164b029c30aa1eeb749bd0b626bfa482b48b984d167a07cb14be756ad"},{"signature":"cancelExpiredAttempt(uint256)","signatureHash4":"0x16ed02c3","signatureHash32":"0x16ed02c36b1b13b35a7775fa7ccfe09f33dec574d5beef8aa30c6e2bb549bd2b"},{"signature":"cancelListingP2P(uint256)","signatureHash4":"0x909a2367","signatureHash32":"0x909a2367587141682aaa0ef304d59f00aaac8a774380ac0dee94cb1bc111d654"},{"signature":"chestCommits(uint256)","signatureHash4":"0x976715e3","signatureHash32":"0x976715e3b23b74aa6ca4493f12bccf101aa24daed3f4116df5841885e73dee2d"},{"signature":"claimableRoyaltiesBnb(address)","signatureHash4":"0xf1930eab","signatureHash32":"0xf1930eab2b5b4088fcfc0cb03c01a7475639e9516016faf23491cc57f6bfa036"},{"signature":"claimCrystalPrimaRewards()","signatureHash4":"0x325c7d54","signatureHash32":"0x325c7d54f3bc055544106dfca990e05e78d88aaff556fc01eabfa8c8c43229ba"},{"signature":"claimPatentRoyalties()","signatureHash4":"0xcf368157","signatureHash32":"0xcf368157cc05d38191e0c1490a1382b83d49493c116ae0c50c0fffa0bc3dfa79"},{"signature":"commitOpenSynthesisChest()","signatureHash4":"0xec260ef9","signatureHash32":"0xec260ef9171561227a392cf1f7ab04cb70ac2171fc309ab81d6f399bf4d426ef"},{"signature":"commitResearchResult(uint256,bytes32,uint32,bytes)","signatureHash4":"0x4b96dec1","signatureHash32":"0x4b96dec1c7168bbba13ef8d9dcdffa4ebd24967cd7691b2903a38f214a71f586"},{"signature":"committedResearchResults(uint256)","signatureHash4":"0x16a19641","signatureHash32":"0x16a19641f94790f4995d532ce2710d8211acafa6be044f413c9faba1d3c2b8f2"},{"signature":"computeCommitmentHash(uint256,uint256[4],bytes32)","signatureHash4":"0x75383de1","signatureHash32":"0x75383de1985a65e2c8a53863aa7534b105babfa55a0ae347521ddc6122658284"},{"signature":"computeResultCommitment(bool,uint256,bytes32)","signatureHash4":"0x671f8a38","signatureHash32":"0x671f8a3855cae0cff3b1cabe3abc2fc71fd997939529f71a764ffd7b8311946e"},{"signature":"craftDiscoveredElement(uint256,uint256[4])","signatureHash4":"0xd504e2f8","signatureHash32":"0xd504e2f83aabd812079ea74a9dbd012e202004c545e68615adcadc1d77ef1482"},{"signature":"crucibleBoundBalance(address,uint256)","signatureHash4":"0x7bf9c5f2","signatureHash32":"0x7bf9c5f2bc2bb4fa2b64bd1045f64fd531e66ad7feff7dd771a0bb36f6586cf6"},{"signature":"currentVerifierKeyVersion()","signatureHash4":"0x2baa1177","signatureHash32":"0x2baa11778673b0bf4485c28f1acac87d8a8dcb05ff0581a27a11f4cb53ca7135"},{"signature":"dailyGlobalDiscoveries(uint256)","signatureHash4":"0x6f9eb35f","signatureHash32":"0x6f9eb35f85c3d614f8a7e7e6598f85033506ade33b078e7c01f6c42a9b7e24bd"},{"signature":"dailyPassChests(uint256,uint256)","signatureHash4":"0xfe553464","signatureHash32":"0xfe55346447fd7a70cc63e803da847fc4eacb04ba71e919c5704217a1040c4177"},{"signature":"dailyPassDiscoveries(uint256,uint256)","signatureHash4":"0x6d0fc32a","signatureHash32":"0x6d0fc32a570a5e26d7be4aa1c5cdda02b7ef83ff4c94e04d4d120f55a07e4731"},{"signature":"discoveries(uint256)","signatureHash4":"0x4d61ac31","signatureHash32":"0x4d61ac31429a2f11298970db4f6a93b26e5e7c03044986c83df2cfd58db2be7f"},{"signature":"earlyBoxOpened(uint256)","signatureHash4":"0xa430cd35","signatureHash32":"0xa430cd35e0085122f3a3034df53e2b7d3744cb42068468cea0902204d97e9ad4"},{"signature":"ecosystemVaultBnb()","signatureHash4":"0xf0403e6b","signatureHash32":"0xf0403e6be28ce5e744c8ac17039201b4307d208981d94d15c4ffdcdac32fed13"},{"signature":"ecosystemVaultWallet()","signatureHash4":"0xe8d7438f","signatureHash32":"0xe8d7438f01ed85efcbde131862664abded79e8a227ee7917dc57c8f7860a55b5"},{"signature":"elementBalance(address,uint256)","signatureHash4":"0x62d8a689","signatureHash32":"0x62d8a689b3da414ebdd176e34c74612b39313ad10c2cfca9c30d17b13406f998"},{"signature":"elementChestClaims(uint256)","signatureHash4":"0x976e74fd","signatureHash32":"0x976e74fdee223a016e1cc76501597957ecdb14cdd4f81e32e6b2116cbb611938"},{"signature":"elementCollection()","signatureHash4":"0x34698ee1","signatureHash32":"0x34698ee1dd23755bd983183c0afb4e72db3ea8374504dfd42bceaf0b1bb47435"},{"signature":"elementMeta(uint256)","signatureHash4":"0xddb9375c","signatureHash32":"0xddb9375ce587a011d3cc67daacb9e6d13e8efb0f5ae5078b646c17d5258e573a"},{"signature":"elementTotalSupply(uint256)","signatureHash4":"0x3bcd483b","signatureHash32":"0x3bcd483b4d1ca5e45bd6d57103c0eb8f2bbe6a7c620691be1918128854481aca"},{"signature":"flapCurveMarket()","signatureHash4":"0x6f20a888","signatureHash32":"0x6f20a888b0026d90db2ccc7de36f77d871b99daebe1088b324f08d1a55bc62fc"},{"signature":"flushEcosystemVaultBnb()","signatureHash4":"0x453698f1","signatureHash32":"0x453698f150b5e5bd911e7f670175c821e303db2369059984fe7d8fb1e1063a5f"},{"signature":"flushPrimaBuybackBnb()","signatureHash4":"0x2ae758e4","signatureHash32":"0x2ae758e4c4c31d9311ab09320c4769793a35aa92d23e829a63d8c802b5cfa721"},{"signature":"founderWallet()","signatureHash4":"0xa23d3c35","signatureHash32":"0xa23d3c3553fe3de459b2f05163cd1badcf6ed4e13be85bd881747357a3181102"},{"signature":"gen1DroidHarvestCount(uint256)","signatureHash4":"0x32107684","signatureHash32":"0x321076841793f7e25fe0aed9a7ab98e37747f63d201e3c72106ff0fb557b1294"},{"signature":"getResearchAttempt(uint256)","signatureHash4":"0xe234a671","signatureHash32":"0xe234a67173f156dd996c5a0953bdd41cd612c561ba9b9a43f4380550ab928643"},{"signature":"harvestFleetExtractors(uint256,uint256[],uint256[])","signatureHash4":"0x8146776c","signatureHash32":"0x8146776c820b05db501d1ba3eccd11d382530cbfe98336d4aeda62f0aa95a2a9"},{"signature":"injectPrimaIntoStakingPool(uint256)","signatureHash4":"0x0ba4b751","signatureHash32":"0x0ba4b751076845ac971b6d0b85145b41629b250e4ec4a4264d2bd06875ceeea8"},{"signature":"known4SlotRecipeToElementId(bytes32)","signatureHash4":"0x776ee44c","signatureHash32":"0x776ee44c430b39f26f7c7c99651434f91b8e5e2f5aad7057812cce741ed8fb42"},{"signature":"lastGen1DroidHarvestTime(uint256)","signatureHash4":"0x0a01a95f","signatureHash32":"0x0a01a95fb54c9479856249f5ddb30d3d3f61c40375df838617b4fb61d361e04a"},{"signature":"lastTitanHarvestTime(uint256)","signatureHash4":"0x37720cce","signatureHash32":"0x37720cced6ac09fd186e3e8121f87d56b99097df477f1a99cdbfe1d83153b0a2"},{"signature":"listElementP2P(uint256,uint256,uint256)","signatureHash4":"0x1cab4912","signatureHash32":"0x1cab4912e6e0817ebd83036deff03701c4ac25dda9624c15102c9562af04da2f"},{"signature":"lockRecipesForever()","signatureHash4":"0xb19e22d7","signatureHash32":"0xb19e22d7630b35e6b2b61e40acbd7e7ea960278d8f691c8a964ee6662a3c43ac"},{"signature":"marketListings(uint256)","signatureHash4":"0x30788952","signatureHash32":"0x3078895288b61de59593a1e907727e7a6e1f8e0312e12ae6d373540fdf788650"},{"signature":"marketUnitsSold(uint256)","signatureHash4":"0xbc0baa75","signatureHash32":"0xbc0baa7532a36570cc4fb4a283d2cc0c375e00cd691eacd005b6fc348031beed"},{"signature":"maxAdmissionsPerWindow()","signatureHash4":"0x541a5d07","signatureHash32":"0x541a5d07cdf121c920209fcfc713399c7d7c9592aa39070eaac75eea8b85a394"},{"signature":"maxPendingAttemptsGlobal()","signatureHash4":"0x83ac909a","signatureHash32":"0x83ac909a5cd8495ee68976ce7543af25d2dd54050b61cbb13b100b663937e958"},{"signature":"minAcceptedVerifierKeyVersion()","signatureHash4":"0xc6b274e5","signatureHash32":"0xc6b274e52a4cb908b1d809433d0672d7bc963303c0917f1de72c192fc7a94fd5"},{"signature":"nextAttemptToSettle()","signatureHash4":"0x7422416b","signatureHash32":"0x7422416b61104f4ce531590177b29a4018159a5381866f6902129bca0c6e7f57"},{"signature":"openGenesisSupplyBox(uint256)","signatureHash4":"0x1a4778b0","signatureHash32":"0x1a4778b07a24365548ce5a4351bc5b682d85fafb6688dca7f57b7a6e3dc4f3a3"},{"signature":"operatorPass()","signatureHash4":"0x8ef55ef7","signatureHash32":"0x8ef55ef7d47271cb08c926a90bad52cdfe2dec51608f1dade00246f5b7b8cc1b"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"ownerOf(uint256)","signatureHash4":"0x6352211e","signatureHash32":"0x6352211e6566aa027e75ac9dbf2423197fbd9b82b9d981a3ab367d355866aa1c"},{"signature":"passHasClaimedElementChest(uint256,uint256)","signatureHash4":"0xe20a01a5","signatureHash32":"0xe20a01a5e1ac64acfed0f76d59c65aa65f4107b8e0af507e0356281d3c935cfa"},{"signature":"patentCollection()","signatureHash4":"0xee16efdd","signatureHash32":"0xee16efdd477c9aaa2c97541207d7eb7288bd456340881b28d67dd053d226bb0d"},{"signature":"patentTotalRoyaltiesEarned(uint256)","signatureHash4":"0x62c22668","signatureHash32":"0x62c22668c93722f0670ec77fabd8cb964587c86e84fc399c7b24b794d482c8ab"},{"signature":"pendingCrystalPrima(address)","signatureHash4":"0xfe581c3f","signatureHash32":"0xfe581c3fec9dd3cac107021de3eb3fead7128080dbcc1e4ce60cd29d63089865"},{"signature":"primaBuybackReserveBnb()","signatureHash4":"0xca1a9efd","signatureHash32":"0xca1a9efd76061f1bd917bc306d7c93b93fa529d89f5e7bffcec94e2c37fe471c"},{"signature":"primaToken()","signatureHash4":"0xb44a2301","signatureHash32":"0xb44a2301692ac7777794e5ec1557564f10af73a01f2d6640b7c94b4750da43a7"},{"signature":"quoteBuyDiscoveredElement(uint256,uint256)","signatureHash4":"0xf812212c","signatureHash32":"0xf812212cc6da0702042f068137f157a920f5bfe6851b0fcc93290f6ef2752efd"},{"signature":"recipesLockedForever()","signatureHash4":"0x66a5a80b","signatureHash32":"0x66a5a80b5e9c0551ccbfbd860e3260a446b5752ccd7e19cbdc78597a3a1f8b1b"},{"signature":"recoverCommittedResearchResult(uint256,bytes32,uint32,bytes)","signatureHash4":"0x40f5efd9","signatureHash32":"0x40f5efd984722fe6b3a8b5c7f1d547f1815ab8d612002fae993119a99a09e046"},{"signature":"relayerGasReceiver()","signatureHash4":"0xacc72a94","signatureHash32":"0xacc72a946e0e2cff130fe87c23ffe94bf6cf043f1bf8c22324b54a239c92741c"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"researchGasFeeBnb()","signatureHash4":"0x8f62c79c","signatureHash32":"0x8f62c79c6b3ce1aaaffa81f6e36122930e986eee0cd3d17e739c993426480eb1"},{"signature":"researchPaused()","signatureHash4":"0x46cb6a88","signatureHash32":"0x46cb6a88355aae7a11ab4a5c283aff4146f3d9bf6d52ff77ab0d42fb7bc300e0"},{"signature":"revealSynthesisChest(uint256)","signatureHash4":"0x1fadcc9c","signatureHash32":"0x1fadcc9c0acf5b27c9cdafc5614ce1ab21ff31b55e3522846c7178ddff2dd6c0"},{"signature":"rotateVerifierKey(address,uint32)","signatureHash4":"0x3371756e","signatureHash32":"0x3371756eb2d0edd3595c5d40975378b7c2f2697da72a5babfa3140178fca5fe1"},{"signature":"seasonId()","signatureHash4":"0x04922960","signatureHash32":"0x04922960fb72042717fedf8def026a686c2ac5aa763b48e1efb0510a7ae635af"},{"signature":"setQueueParameters(uint256,uint256,uint256,uint256,uint256,address)","signatureHash4":"0x2243de84","signatureHash32":"0x2243de84be94fd71dbb137ba6d5939470edec3510b9f2e490a06472f9acd7671"},{"signature":"setResearchPaused(bool)","signatureHash4":"0x0e233142","signatureHash32":"0x0e2331424bd9f370118b16950a0163d3649e9a663211928204721dcbcc2dcf3a"},{"signature":"settleResearchAttempt(uint256,bool,uint256,bytes32,uint32,bytes)","signatureHash4":"0x130dec3d","signatureHash32":"0x130dec3de59dc8e331986a931999b1bb961d40d43f28629e2df5b7735d12bdf7"},{"signature":"singularityArchitect()","signatureHash4":"0x918fd15c","signatureHash32":"0x918fd15ce1a0176f31f0ec73ef63453619cadacbf41ccef1f795069dfd81cbbd"},{"signature":"singularityJackpotBnb()","signatureHash4":"0xd17e8e52","signatureHash32":"0xd17e8e52c0fcaab82aed4637feb40d28810d32d5b0ed007da082eb27983840c1"},{"signature":"singularityReached()","signatureHash4":"0x2049f209","signatureHash32":"0x2049f209ae20cc0ba7ac6ba3f6f6f5c1324fb0806dec2d39fa341642ff022ebb"},{"signature":"submitResearchAttempt(uint256,uint256[4])","signatureHash4":"0xa87316ee","signatureHash32":"0xa87316eed76e8a5adb8485ddf5924bd74ffbf263a8056c55d37e537f54c8b941"},{"signature":"tierDiscoveredCount(uint256)","signatureHash4":"0x15b366c9","signatureHash32":"0x15b366c905249237a51cf9023213047bf935482c2aea61aa4c9fc97c81b40d11"},{"signature":"tierTotalElements(uint256)","signatureHash4":"0xfaba6987","signatureHash32":"0xfaba6987a28b06b2eee3ba3cfca98dbbef22135964df21ae6592f0f45f464306"},{"signature":"titanHarvestCount(uint256)","signatureHash4":"0x352a4258","signatureHash32":"0x352a425889b006621fbe5773ed6d454e78bf5aef93ad0aed2cbbc3281f7d3d3b"},{"signature":"tokenURI(uint256)","signatureHash4":"0xc87b56dd","signatureHash32":"0xc87b56dda752230262935940d907f047a9f86bb5ee6aa33511fc86db33fea6cc"},{"signature":"totalAttemptsSubmitted()","signatureHash4":"0xdc3520e1","signatureHash32":"0xdc3520e1a94b41c818d4cbe1f1ab3902475011008bed2f66319af1d0bbf4d031"},{"signature":"totalBurnedAttempts()","signatureHash4":"0x4a0f6ac8","signatureHash32":"0x4a0f6ac89ef273bf96ff900b109d0c83189386d855c09bb36b446433f1a12215"},{"signature":"totalChestCommits()","signatureHash4":"0x023f7115","signatureHash32":"0x023f711599590c598ee3fa3c018b085e2ef2c13f653541609e5f9e7769fe83a0"},{"signature":"totalChestsOpened()","signatureHash4":"0x548bb199","signatureHash32":"0x548bb19910e828745305a3d9681c780165b207760190c2e0e72a58f89685376b"},{"signature":"totalCrystalShares()","signatureHash4":"0x45fc4aa6","signatureHash32":"0x45fc4aa6ed77b13f9c870594be8edeecb9d303bcbb7d57851a5d48528cfa23ef"},{"signature":"totalDiscoveries()","signatureHash4":"0x03330528","signatureHash32":"0x0333052815ae42c33a661ffe6d080bdbcedac75c6200868039b2b0b5b457aad6"},{"signature":"totalEarlyBoxesOpened()","signatureHash4":"0x6e01792c","signatureHash32":"0x6e01792c6f1ff346f200f2cdb4a7bb07a8106de910010f38b216e40b1cef5d09"},{"signature":"totalMarketListings()","signatureHash4":"0xe36f5a97","signatureHash32":"0xe36f5a9734001cda3d7e8f240fb5eaef18a1f6e78ac386b6225823ac683ac674"},{"signature":"totalPrimaDistributedToStakers()","signatureHash4":"0x7b0e394e","signatureHash32":"0x7b0e394e96b6ff2e3f6b9e353b9664adbbb95fc5d5f8263ea6a445b985270bad"},{"signature":"transferElement(address,uint256,uint256)","signatureHash4":"0xb5258121","signatureHash32":"0xb52581219fa7653c588e47ccbca137b079532b82845b604df7e00ce2415e0b1f"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"undistributedPrimaRewards()","signatureHash4":"0xd1d425c5","signatureHash32":"0xd1d425c55ccab9d98c49d7ea86b36cbc7320cde0b16bdb46c309f30d264fa94f"},{"signature":"userCrystalShares(address)","signatureHash4":"0xa63447b1","signatureHash32":"0xa63447b1a60a6167fd33e7daf9afaeadb9f3e34851ee8d35651d16ffb93808e1"},{"signature":"verifierSignerByVersion(uint32)","signatureHash4":"0xf2d5bdf4","signatureHash32":"0xf2d5bdf4b7da06edfba286342c2bb29fefaf99d8bee038d721727f0fcd094cad"},{"signature":"windowAdmissionCount(uint256)","signatureHash4":"0x8af2ecf6","signatureHash32":"0x8af2ecf6b7589762c022aa7f774418896eb627d6da65c5193cc787e891cad2ec"}],"event":[{"signature":"ChestCommitCreated(uint256,address,uint64)","signatureHash4":"0xb0723de0","signatureHash32":"0xb0723de0834cda46ca2548bd4dee3f42c067d5cc085105505fd38c1a1d3be236"},{"signature":"CrystalPrimaClaimed(address,uint256)","signatureHash4":"0xd97eb990","signatureHash32":"0xd97eb990428e84296bb4055b1a76e58f79d6305f815a464ec058083d2b67776f"},{"signature":"DeterministicCraftExecuted(address,uint256,uint256,uint256[4],bool)","signatureHash4":"0x65e4f8f6","signatureHash32":"0x65e4f8f64e5e4dab56af0b0f54264ed6b99d3def4da6e8c8b68a1e018e3e8f9a"},{"signature":"EarlySupplyBoxOpened(address,uint256,uint256)","signatureHash4":"0x148719b0","signatureHash32":"0x148719b0627371f43f5715637ef0d286881d1e44b430772d743bb063de4ca465"},{"signature":"ElementDiscovered(address,uint256,uint256,uint256,string,string,uint256,uint256[4])","signatureHash4":"0xc66c28b1","signatureHash32":"0xc66c28b1ed7c7dbd812926df0a452a3d82087505f49a860b52f242f35d2dd88b"},{"signature":"ElementListedP2P(uint256,address,uint256,uint256,uint256)","signatureHash4":"0xb7a3e8e2","signatureHash32":"0xb7a3e8e2b5fb5df8039f91f5d82fa55fba3829036f1cea84c16a4773e77a4e48"},{"signature":"ElementMarketPurchase(address,uint256,uint256,uint256,address,uint256)","signatureHash4":"0xf829cb0f","signatureHash32":"0xf829cb0f939db361d00f6ce8df243365f2b3f62ab614b6e0eadb85e85ae72e52"},{"signature":"ElementSoldP2P(uint256,address,uint256,uint256,uint256)","signatureHash4":"0x5c639020","signatureHash32":"0x5c639020210d0bbd4c9f5c081e714da0d6c3dc645fc65b4c009a9331df98aa27"},{"signature":"ElementTransfer(address,address,uint256,uint256)","signatureHash4":"0xbb0ca0e1","signatureHash32":"0xbb0ca0e137fd31811359637c8aa804a4a14cd1f475f7fb93d39cfb10452705a8"},{"signature":"FleetExtractorsHarvested(address,uint256,uint256,uint256)","signatureHash4":"0x3ee0042b","signatureHash32":"0x3ee0042b656a8c28a48ae2fed2887d9eef8afe18542f02b43192596aff9ff28b"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"QueueParametersUpdated(uint256,uint256,uint256,uint256,uint256)","signatureHash4":"0xff4b9d3b","signatureHash32":"0xff4b9d3b935b1ce181cbd983738a06320ee3a3f807c922375fd72ea1f566e103"},{"signature":"ResearchAttemptAdmitted(uint256,uint256,address,uint256,uint256[4],uint64)","signatureHash4":"0x04da450f","signatureHash32":"0x04da450f287fc9dd57e2b12725cc80466957c3394d1a26b0cad80d7d0899bb50"},{"signature":"ResearchAttemptSettled(uint256,address,uint256,uint8,uint256,bool,address)","signatureHash4":"0x3d3a07bd","signatureHash32":"0x3d3a07bd6d8d84b8ac0a290a3fa928176f5e74d1fa2a56adfa2c68f4345207f5"},{"signature":"ResearchResultCommitted(uint256,bytes32,uint32)","signatureHash4":"0x755d44a7","signatureHash32":"0x755d44a73910c278ea8e6a9c76f0f1f5ffd0a2705bdfcb37fc0eb1d77cfe83db"},{"signature":"ResearchResultRecovered(uint256,bytes32,bytes32,uint32,uint32)","signatureHash4":"0xf5b4596c","signatureHash32":"0xf5b4596c96a96b87e59745804d8aa3451b4973b739bdf0c5bc17073925c3f720"},{"signature":"RoyaltiesClaimed(address,uint256)","signatureHash4":"0x8fbbda19","signatureHash32":"0x8fbbda19f4a70036f6f585dc4160142a8fa2a20ffb9393d23274f78de4e39888"},{"signature":"SingularityReached(address,uint256,uint256,uint256)","signatureHash4":"0x65565611","signatureHash32":"0x65565611d44be0e528c4431ebdf8beb9bbdf97fed548beee5762b3ad04e44073"},{"signature":"SupplyPackPurchased(address,uint256,uint256)","signatureHash4":"0xb3c981b9","signatureHash32":"0xb3c981b9b7b707d312a929a2eac4e1b16bf5550677e6b1931a95e846dd32e89f"},{"signature":"SynthesisChestOpened(address,uint256,uint256,uint256,uint256)","signatureHash4":"0x02767012","signatureHash32":"0x0276701202844d438ab4f761a3ff36e76941ffac7d31c91a2a78835db02856be"},{"signature":"VerifierKeyRotated(uint32,address,uint32)","signatureHash4":"0xdd5800b3","signatureHash32":"0xdd5800b3f65c197a1ed496f5e1dea9434eec56ae67ce70d6e4d281cb146ab0f4"}],"error":[{"signature":"AttemptNotCommitted(uint256)","signatureHash4":"0x3a67121e","signatureHash32":"0x3a67121ec4798421450cfe8064804f18430fbff621db5ac0b47cafc4e75aa968"},{"signature":"AttemptNotPending(uint256,uint8)","signatureHash4":"0x8a2c3d6a","signatureHash32":"0x8a2c3d6aeefe5fadab32bcd3cad26e201be633c4c539c31a20dde57914960701"},{"signature":"CancelTimeoutNotReached(uint256,uint256)","signatureHash4":"0x6c05bbac","signatureHash32":"0x6c05bbac41836f3782e726f9024e06b979c9088aae2799fdcd0d7b1359d7750d"},{"signature":"CommitAlreadyResolved()","signatureHash4":"0x11a087de","signatureHash32":"0x11a087de7268cc06b39bf14bbc44bccbb3edf82548429f18a3e92f66695e46ca"},{"signature":"CommitNotReady(uint256,uint256)","signatureHash4":"0x74a4f437","signatureHash32":"0x74a4f4370beb3422a25517abbcbfd77cd8454fe15505e8575cc4930fd74c158a"},{"signature":"DailyGlobalDiscoveryLimitReached(uint256)","signatureHash4":"0x8e8bd01c","signatureHash32":"0x8e8bd01c21305ddf2b934666ed6c7df5d20bf7ff9858263036d0a713569d0437"},{"signature":"DailyPassDiscoveryLimitReached(uint256)","signatureHash4":"0xa60e8867","signatureHash32":"0xa60e8867898a205c71fb089b5d76f3cb9ac0464cd4e2ebbce26fd1f93a8de621"},{"signature":"EarlyBoxAlreadyOpened()","signatureHash4":"0x45e467f3","signatureHash32":"0x45e467f38c6f753a759cee863a0e287ec5b41bd4e8cb97bfd0b5f8a5bb5d192d"},{"signature":"ECDSAInvalidSignature()","signatureHash4":"0xf645eedf","signatureHash32":"0xf645eedf0193584640b6b90cb9477e4c95b98636c148a891d4c0a146dc46e75a"},{"signature":"ECDSAInvalidSignatureLength(uint256)","signatureHash4":"0xfce698f7","signatureHash32":"0xfce698f7e8e5342cd615f641317bc45fe7e1e4a8b0a14dd1383ff8dc9c41917f"},{"signature":"ECDSAInvalidSignatureS(bytes32)","signatureHash4":"0xd78bce0c","signatureHash32":"0xd78bce0cccb935155ed6428d1c13e50b7f3550fd2b66b9fe266006fea4a5e1eb"},{"signature":"ElementAlreadyRegistered(uint256)","signatureHash4":"0x55758592","signatureHash32":"0x5575859289703bced3570909d859540fdab31122a12e0691ee3a49bc245639d6"},{"signature":"ElementNotDiscovered(uint256)","signatureHash4":"0xdd4e0ec3","signatureHash32":"0xdd4e0ec3692da469ea8852eb52dc514a27797bc45302718ddcae4b397731943a"},{"signature":"GlobalQueueFull(uint256,uint256)","signatureHash4":"0xc7f58531","signatureHash32":"0xc7f585316ebb0eea463d6f2279a9d4300101cf674c330327216de397fbfefe98"},{"signature":"IncompleteRecipeConfiguration()","signatureHash4":"0x3c3de457","signatureHash32":"0x3c3de457f0f56122116aabc81233191158ab43b24c20f1e3fa200bfe96cbfe03"},{"signature":"IngredientNotDiscovered(uint256)","signatureHash4":"0xddb5519f","signatureHash32":"0xddb5519f40b846e8c269418ea794e32ef213926d3276af512443b95588d8bb8e"},{"signature":"InsufficientElementBalance(uint256,uint256,uint256)","signatureHash4":"0x5f17fb62","signatureHash32":"0x5f17fb625b93d2e1c24fe82df87069363de8e7992176bc0594ed653f8fe165f5"},{"signature":"InsufficientPayment()","signatureHash4":"0xcd1c8867","signatureHash32":"0xcd1c886761b1be2c7157da479da9642ff95476e99c17bd400a6faa2e2e7e1084"},{"signature":"InvalidCommitmentReveal()","signatureHash4":"0x108505d9","signatureHash32":"0x108505d95216067aa9d320e67b9ae079709079ef800b24af5599724b748243bb"},{"signature":"InvalidInput()","signatureHash4":"0xb4fa3fb3","signatureHash32":"0xb4fa3fb378e34a63a7e6eab158ffc3d14c2207866b49e0062a0069ef6a6b426b"},{"signature":"InvalidKeyVersion(uint32,uint32)","signatureHash4":"0x37cd581a","signatureHash32":"0x37cd581ab9c1100ea4638c39d1d32892cfbf62384a2a1fdb70e07a1f9074b283"},{"signature":"InvalidVerifierSignature()","signatureHash4":"0x0574e985","signatureHash32":"0x0574e98575d5df2431ec6e6305153c708f29f819376e44f953925e092369e5a9"},{"signature":"NotEligibleForEarlyBox()","signatureHash4":"0x94e15c67","signatureHash32":"0x94e15c6775903991b9d012ba6abddfae614785f5bf5b781939c53c88ef466f28"},{"signature":"NothingToClaim()","signatureHash4":"0x969bf728","signatureHash32":"0x969bf7288f744225521096ebffff657851af77dd4c63700d76b8d1cf6481d1f1"},{"signature":"NothingToHarvest()","signatureHash4":"0x3f29331a","signatureHash32":"0x3f29331afef9fdccc3db552c5f80a4e0758fca9e182c609bd3fe761fe99db341"},{"signature":"NotPassOwner()","signatureHash4":"0xc0c2ef1e","signatureHash32":"0xc0c2ef1ee1bf58b2ee4ecb27bad75a1ba03cc8e0978470ce7ca63cb1b43597e5"},{"signature":"OutOfOrderAttempt(uint256,uint256)","signatureHash4":"0x87f7fe74","signatureHash32":"0x87f7fe748ba75133021e8beeac88d0d86f97331d2b2397681fb3bf14d42c6d5e"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"PassAlreadyHasPendingAttempt(uint256,uint256)","signatureHash4":"0x46dfad83","signatureHash32":"0x46dfad839712a5da0e73e0a429c86ef26b741fa52234f7e0ae2725324afa3fc2"},{"signature":"RecipesAlreadyLocked()","signatureHash4":"0x06e53adf","signatureHash32":"0x06e53adf8c6a9f4af71f1cb71fda2f29425d2cd18c45ca3313eb317c7b68763a"},{"signature":"RecipesNotLocked()","signatureHash4":"0xd96668af","signatureHash32":"0xd96668af8e17fa29aec12619171dc2489847907ff77fca58f44ac74f692b60e8"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"ResearchPaused()","signatureHash4":"0x1116c260","signatureHash32":"0x1116c260ce7f74f553841db8e38eb848fccdcb2f62e2bdd50c9f5f6de506f062"},{"signature":"ResultCommitmentMismatch()","signatureHash4":"0xbc9cb444","signatureHash32":"0xbc9cb444bf55e6f92c3406bd6bd1c7dec6606859d7d98a25096ab2c696a544b2"},{"signature":"SingularityAlreadyForged()","signatureHash4":"0xe113b207","signatureHash32":"0xe113b2074f02ad492e541c42d6472823457d63f7b3bc044d77efe7d7c413cdfc"},{"signature":"TierLocked(uint256)","signatureHash4":"0x59e46760","signatureHash32":"0x59e467607a50c4b18aba0253dfbc17eda65e335b59559eebfe38ea2bc0943cb5"},{"signature":"TransferFailed()","signatureHash4":"0x90b8ec18","signatureHash32":"0x90b8ec1877afffd816d05d9b13947f3ff18ec5851c38bad15ec2b710f92391b1"},{"signature":"WindowAdmissionLimitReached(uint256,uint256)","signatureHash4":"0x68236ccb","signatureHash32":"0x68236ccbce364a92449069ee3bcbfc9a58fa0e7fca169f309ca62b6be6fca3aa"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"56","address":"0x44aaf26FBA5a72B6C9172c9e0da8EE89283604D6"}