{"matchId":"58035428","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-02T03:55:07Z","creationBytecode":{"onchainBytecode":"0x6080604052346103df57611fab6020813803918261001c816103e3565b9384928339810103126103df57516001600160a01b038116908190036103df5761004660406103e3565b90600c82526b4f4147454e5420556e69747360a01b602083015261006a60406103e3565b600581526413d553925560da1b602082015282519091906001600160401b0381116101fc576100995f54610408565b601f8111610392575b506020601f821160011461033157819293945f92610326575b50508160011b915f199060031b1c1916175f555b81516001600160401b0381116101fc576100ea600154610408565b601f81116102cd575b50602092601f821160011461026c57928192935f92610261575b50508160011b915f199060031b1c1916176001555b801561024e57600880546001600160a01b03198116831790915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a360ff19600a5416600a55610180600b54610408565b601f8111610210575b507f697066733a2f2f4f4147454e545f4d455441444154415f424153452f00000038600b55604080519081016001600160401b038111828210176101fc5760409081528282526101f46020909201919091526001600160a01b03909116607d60a21b1760065551611b5490816104578239f35b634e487b7160e01b5f52604160045260245ffd5b600b5f5261024890601f0160051c7f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990810190610440565b5f610189565b631e4fbdf760e01b5f525f60045260245ffd5b015190505f8061010d565b601f1982169360015f52805f20915f5b8681106102b5575083600195961061029d575b505050811b01600155610122565b01515f1960f88460031b161c191690555f808061028f565b9192602060018192868501518155019401920161027c565b60015f52610316907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f840160051c8101916020851061031c575b601f0160051c0190610440565b5f6100f3565b9091508190610309565b015190505f806100bb565b601f198216905f8052805f20915f5b81811061037a57509583600195969710610362575b505050811b015f556100cf565b01515f1960f88460031b161c191690555f8080610355565b9192602060018192868b015181550194019201610340565b5f80526103d9907f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f840160051c8101916020851061031c57601f0160051c0190610440565b5f6100a2565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176101fc57604052565b90600182811c92168015610436575b602083101461042257565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610417565b81811061044b575050565b5f815560010161044056fe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146113b25750806306fdde0314611310578063081812fc146112d4578063095ea7b3146111ea5780630e2dbc6e146111cc5780630f2cdd6c146111b157806318160ddd146106a95780632142aa2c1461118e57806323b872dd1461117757806324bbd049146111555780632a55205a146110d357806332cb6b0c146110b75780633ccfd60b146110005780633cef28d214610fc857806342842e0e14610f9957806353f96df214610f6257806355f804b314610d6d5780636352211e14610d3d5780636c0360eb14610d2257806370a0823114610cd1578063715018a614610c765780638da5cb5b14610c4e57806395d89b4114610b84578063a0712d681461077a578063a22cb465146106c6578063a2309ff8146106a9578063b52f2c331461067e578063b88d4fde146105e8578063bb10a28f146105cc578063bc034ea514610598578063be32cdc314610574578063c1959a6b1461054a578063c87b56dd1461033c578063d309161514610321578063d7bf81a314610301578063e985e9c5146102aa578063f2fde38b146102245763f8004d31146101be575f80fd5b34610220576020366003190112610220576004358015158091036102205760207fa9f739ee29a6336acdfe5b044a6dce0d70579031be6dbdece2ac0848d8c2a08091610208611995565b60ff19600a541660ff821617600a55604051908152a1005b5f80fd5b346102205760203660031901126102205761023d61145b565b610245611995565b6001600160a01b0316801561029757600880546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b631e4fbdf760e01b5f525f60045260245ffd5b34610220576040366003190112610220576102c361145b565b6102cb611471565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b34610220575f366003190112610220576020604051655af3107a40008152f35b34610220575f36600319011261022057602060405160148152f35b346102205760203660031901126102205760043561035981611961565b50610362611561565b80519091901561052f575f818072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b811015610509575b50806d04ee2d6d415b85acef8100000000600a9210156104ee575b662386f26fc100008110156104da575b6305f5e1008110156104c9575b6127108110156104ba575b60648110156104ac575b10156104a4575b6001810191600a602161040d6103f78661150d565b9561040560405197886114d7565b80875261150d565b602086019490601f19013686378501015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530490811561044c57600a9061041e565b50506104a092602061048c9281946040519584879551918291018587015e840190838201905f8252519283915e01015f815203601f1981018352826114d7565b604051918291602083526020830190611437565b0390f35b6001016103e2565b6064600291049201916103db565b612710600491049201916103d1565b6305f5e100600891049201916103c6565b662386f26fc10000601091049201916103b9565b6d04ee2d6d415b85acef8100000000602091049201916103a9565b6040925072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b90049050600a61038e565b50506104a06040516105426020826114d7565b5f815261048c565b346102205760203660031901126102205760043560ff811681036102205761048c6104a0916118b4565b3461022057602061058d610587366114c1565b90611887565b60ff60405191168152f35b34610220576020366003190112610220576004356105b581611961565b505f52600d602052602060405f2054604051908152f35b34610220575f3660031901126102205760206040516103e88152f35b346102205760803660031901126102205761060161145b565b610609611471565b906044356064359267ffffffffffffffff841161022057366023850112156102205783600401359261063a8461150d565b9361064860405195866114d7565b8085523660248288010111610220576020815f92602461067c99018389013786010152610676838383611671565b336119ef565b005b346102205760203660031901126102205760206106a161069c61145b565b611836565b604051908152f35b34610220575f366003190112610220576020600954604051908152f35b34610220576040366003190112610220576106df61145b565b60243590811515809203610220573315610767576001600160a01b031690811561075457335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b60203660031901126102205760ff600a541615610b4e57335f52600e602052600360405f20541015610b1a57600954610d05811015610aea576107bc33611634565b3403610ab9576107f76107ce33611836565b604051602081019182526004356040820152604081526107ef6060826114d7565b5190206119bc565b9060148210610a835761080990611828565b806009556108178183611887565b815f52600c60205260ff60405f209116908160ff19825416179055815f52600d6020528260405f2055335f52600e60205260405f2080549060018201809211610a6f575560209260405161086b85826114d7565b5f81523315610a5c575f8481526002865260409020546001600160a01b03168015159081610a2b575b335f8181526003895260408082208054600101905588825260028a52812080546001600160a01b0319168317905587919083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9080a450610a1857333b61092a575b50836040519283528201527f09b2079ace5989543aad7a3a2c79f45d8675a186b1eed1e7fa2a335cbceedb7860403392a3005b846109639160405180938192630a85bd0160e11b83523360048401525f6024840152886044840152608060648401526084830190611437565b03815f335af15f91816109d8575b5061099e578461097f6117f9565b805191908261099b57633250574960e11b5f523360045260245ffd5b01fd5b929391929091906001600160e01b03191663757a42ff60e11b016109c557929190846108f7565b633250574960e11b5f523360045260245ffd5b9091508581813d8311610a11575b6109f081836114d7565b8101031261022057516001600160e01b031981168103610220579086610971565b503d6109e6565b6339e3563760e11b5f525f60045260245ffd5b5f8681526004602052604080822080546001600160a01b031916905582825260038952902080545f19019055610894565b633250574960e11b5f525f60045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152600e60248201526d70726f6f6620746f6f207765616b60901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600960248201526877726f6e672066656560b81b6044820152606490fd5b60405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b1dd85b1b195d081b1a5b5a5d60a21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b34610220575f366003190112610220576040515f600154610ba481611529565b8084529060018116908115610c2a5750600114610bcc575b6104a08361048c818503826114d7565b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610c105750909150810160200161048c610bbc565b919260018160209254838588010152019101909291610bf8565b60ff191660208086019190915291151560051b8401909101915061048c9050610bbc565b34610220575f366003190112610220576008546040516001600160a01b039091168152602090f35b34610220575f36600319011261022057610c8e611995565b600880546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610220576020366003190112610220576001600160a01b03610cf261145b565b168015610d0f575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610220575f366003190112610220576104a061048c611561565b34610220576020366003190112610220576020610d5b600435611961565b6040516001600160a01b039091168152f35b346102205760203660031901126102205760043567ffffffffffffffff8111610220573660238201121561022057806004013567ffffffffffffffff811161022057366024828401011161022057610dc3611995565b610dce600b54611529565b601f8111610efa575b505f601f8211600114610e60577f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf692826024936040935f91610e53575b508160011b905f198360031b1c191617600b555b8083519485936020855282602086015201848401375f828201840152601f01601f19168101030190a1005b8591508301013586610e14565b601f19821690600b5f525f516020611aff5f395f51905f52915f5b818110610edf5750926040927f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf695928260249610610ec4575b5050600181811b01600b55610e28565b83018501355f19600384901b60f8161c191690558580610eb4565b91926020600181926024878a01013581550194019201610e7b565b600b5f52601f820160051c5f516020611aff5f395f51905f52019060208310610f4d575b601f0160051c5f516020611aff5f395f51905f5201905b818110610f425750610dd7565b5f8155600101610f35565b5f516020611aff5f395f51905f529150610f1e565b3461022057602036600319011261022057600435610f7f81611961565b505f52600c602052602060ff60405f205416604051908152f35b346102205761067c610faa36611487565b9060405192610fba6020856114d7565b5f8452610676838383611671565b34610220576020366003190112610220576001600160a01b03610fe961145b565b165f52600e602052602060405f2054604051908152f35b34610220575f36600319011261022057611018611995565b47801561107c576008545f918291829182916001600160a01b03165af161103d6117f9565b501561104557005b60405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260136024820152726e6f7468696e6720746f20776974686472617760681b6044820152606490fd5b34610220575f366003190112610220576020604051610d058152f35b34610220576110e1366114c1565b5f91825260076020526040909120546001600160a01b0381169060a01c811561113d575b6001600160601b031691828102928184041490151715610a6f57604080516001600160a01b0390921682526127109092046020820152f35b50506006546001600160a01b0381169060a01c611105565b34610220575f36600319011261022057602060ff600a54166040519015158152f35b346102205761067c61118836611487565b91611671565b346102205760203660031901126102205760206106a16111ac61145b565b611634565b34610220575f36600319011261022057602060405160038152f35b3461022057602036600319011261022057602061058d600435611605565b346102205760403660031901126102205761120361145b565b60243561120f81611961565b331515806112c1575b80611294575b6112815781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff161561121e565b506001600160a01b038116331415611218565b34610220576020366003190112610220576004356112f181611961565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610220575f366003190112610220576040515f5f5461132f81611529565b8084529060018116908115610c2a5750600114611356576104a08361048c818503826114d7565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106113985750909150810160200161048c610bbc565b919260018160209254838588010152019101909291611380565b34610220576020366003190112610220576004359063ffffffff60e01b82168092036102205760209163152a902d60e11b81149081156113f4575b5015158152f35b6380ac58cd60e01b811491508115611426575b8115611415575b50836113ed565b6301ffc9a760e01b1490508361140e565b635b5e139f60e01b81149150611407565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361022057565b602435906001600160a01b038216820361022057565b6060906003190112610220576004356001600160a01b038116810361022057906024356001600160a01b0381168103610220579060443590565b6040906003190112610220576004359060243590565b90601f8019910116810190811067ffffffffffffffff8211176114f957604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116114f957601f01601f191660200190565b90600182811c92168015611557575b602083101461154357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611538565b604051905f82600b549161157483611529565b80835292600181169081156115e6575060011461159a575b611598925003836114d7565b565b50600b5f90815290915f516020611aff5f395f51905f525b8183106115ca5750509060206115989282010161158c565b60209193508060019154838589010152019101909184926115b2565b6020925061159894915060ff191682840152151560051b82010161158c565b602281101561162e57601c8110156116285760181115611623575f90565b600190565b50600290565b50600390565b6001600160a01b03165f908152600e602052604090205460018101908110610a6f5780655af3107a40000290655af3107a4000820403610a6f5790565b6001600160a01b0390911691908215610a5c575f828152600260205260409020546001600160a01b031692829033151580611764575b5084611731575b805f52600360205260405f2060018154019055815f52600260205260405f20816001600160601b0360a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b031680830361171957505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f1981540190556116ae565b909150806117a8575b1561177a5782905f6116a7565b828461179257637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b5033841480156117d7575b8061176d57505f838152600460205260409020546001600160a01b0316331461176d565b505f84815260056020908152604080832033845290915290205460ff166117b3565b3d15611823573d9061180a8261150d565b9161181860405193846114d7565b82523d5f602084013e565b606090565b5f198114610a6f5760010190565b60018060a01b0381165f52600e60205260405f20546040519060208201923060601b84526001600160601b03199060601b1660348301526048820152604881526118816068826114d7565b51902090565b61189090611605565b90600360ff83161490816118a7575b506116285790565b6103e8915011155f61189f565b60ff16801561193c5760018114611915576002146118f3576040516118da6040826114d7565b60098152684c6567656e6461727960b81b602082015290565b6040516119016040826114d7565b60048152634570696360e01b602082015290565b506040516119246040826114d7565b60088152672ab731b7b6b6b7b760c11b602082015290565b5060405161194b6040826114d7565b600681526521b7b6b6b7b760d11b602082015290565b5f818152600260205260409020546001600160a01b0316908115611983575090565b637e27328960e01b5f5260045260245ffd5b6008546001600160a01b031633036119a957565b63118cdaa760e01b5f523360045260245ffd5b905f9180156119e7575b600160ff1b81106119d45750565b6119e19060011b92611828565b916119c6565b506101009150565b823b6119fd575b5050505050565b604051630a85bd0160e11b81526001600160a01b039182166004820152918116602483015260448201939093526080606482015291169160209082908190611a49906084830190611437565b03815f865af15f9181611ab9575b50611a855750611a656117f9565b80519081611a805782633250574960e11b5f5260045260245ffd5b602001fd5b6001600160e01b03191663757a42ff60e11b01611aa757505f808080806119f6565b633250574960e11b5f5260045260245ffd5b9091506020813d602011611af6575b81611ad5602093836114d7565b8101031261022057516001600160e01b03198116810361022057905f611a57565b3d9150611ac856fe0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9a2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c00330000000000000000000000000988d5b7042a65c7ef4e3631700fb0f108d85fc6","recompiledBytecode":"0x6080604052346103df57611fab6020813803918261001c816103e3565b9384928339810103126103df57516001600160a01b038116908190036103df5761004660406103e3565b90600c82526b4f4147454e5420556e69747360a01b602083015261006a60406103e3565b600581526413d553925560da1b602082015282519091906001600160401b0381116101fc576100995f54610408565b601f8111610392575b506020601f821160011461033157819293945f92610326575b50508160011b915f199060031b1c1916175f555b81516001600160401b0381116101fc576100ea600154610408565b601f81116102cd575b50602092601f821160011461026c57928192935f92610261575b50508160011b915f199060031b1c1916176001555b801561024e57600880546001600160a01b03198116831790915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a360ff19600a5416600a55610180600b54610408565b601f8111610210575b507f697066733a2f2f4f4147454e545f4d455441444154415f424153452f00000038600b55604080519081016001600160401b038111828210176101fc5760409081528282526101f46020909201919091526001600160a01b03909116607d60a21b1760065551611b5490816104578239f35b634e487b7160e01b5f52604160045260245ffd5b600b5f5261024890601f0160051c7f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990810190610440565b5f610189565b631e4fbdf760e01b5f525f60045260245ffd5b015190505f8061010d565b601f1982169360015f52805f20915f5b8681106102b5575083600195961061029d575b505050811b01600155610122565b01515f1960f88460031b161c191690555f808061028f565b9192602060018192868501518155019401920161027c565b60015f52610316907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f840160051c8101916020851061031c575b601f0160051c0190610440565b5f6100f3565b9091508190610309565b015190505f806100bb565b601f198216905f8052805f20915f5b81811061037a57509583600195969710610362575b505050811b015f556100cf565b01515f1960f88460031b161c191690555f8080610355565b9192602060018192868b015181550194019201610340565b5f80526103d9907f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f840160051c8101916020851061031c57601f0160051c0190610440565b5f6100a2565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176101fc57604052565b90600182811c92168015610436575b602083101461042257565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610417565b81811061044b575050565b5f815560010161044056fe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146113b25750806306fdde0314611310578063081812fc146112d4578063095ea7b3146111ea5780630e2dbc6e146111cc5780630f2cdd6c146111b157806318160ddd146106a95780632142aa2c1461118e57806323b872dd1461117757806324bbd049146111555780632a55205a146110d357806332cb6b0c146110b75780633ccfd60b146110005780633cef28d214610fc857806342842e0e14610f9957806353f96df214610f6257806355f804b314610d6d5780636352211e14610d3d5780636c0360eb14610d2257806370a0823114610cd1578063715018a614610c765780638da5cb5b14610c4e57806395d89b4114610b84578063a0712d681461077a578063a22cb465146106c6578063a2309ff8146106a9578063b52f2c331461067e578063b88d4fde146105e8578063bb10a28f146105cc578063bc034ea514610598578063be32cdc314610574578063c1959a6b1461054a578063c87b56dd1461033c578063d309161514610321578063d7bf81a314610301578063e985e9c5146102aa578063f2fde38b146102245763f8004d31146101be575f80fd5b34610220576020366003190112610220576004358015158091036102205760207fa9f739ee29a6336acdfe5b044a6dce0d70579031be6dbdece2ac0848d8c2a08091610208611995565b60ff19600a541660ff821617600a55604051908152a1005b5f80fd5b346102205760203660031901126102205761023d61145b565b610245611995565b6001600160a01b0316801561029757600880546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b631e4fbdf760e01b5f525f60045260245ffd5b34610220576040366003190112610220576102c361145b565b6102cb611471565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b34610220575f366003190112610220576020604051655af3107a40008152f35b34610220575f36600319011261022057602060405160148152f35b346102205760203660031901126102205760043561035981611961565b50610362611561565b80519091901561052f575f818072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b811015610509575b50806d04ee2d6d415b85acef8100000000600a9210156104ee575b662386f26fc100008110156104da575b6305f5e1008110156104c9575b6127108110156104ba575b60648110156104ac575b10156104a4575b6001810191600a602161040d6103f78661150d565b9561040560405197886114d7565b80875261150d565b602086019490601f19013686378501015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530490811561044c57600a9061041e565b50506104a092602061048c9281946040519584879551918291018587015e840190838201905f8252519283915e01015f815203601f1981018352826114d7565b604051918291602083526020830190611437565b0390f35b6001016103e2565b6064600291049201916103db565b612710600491049201916103d1565b6305f5e100600891049201916103c6565b662386f26fc10000601091049201916103b9565b6d04ee2d6d415b85acef8100000000602091049201916103a9565b6040925072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b90049050600a61038e565b50506104a06040516105426020826114d7565b5f815261048c565b346102205760203660031901126102205760043560ff811681036102205761048c6104a0916118b4565b3461022057602061058d610587366114c1565b90611887565b60ff60405191168152f35b34610220576020366003190112610220576004356105b581611961565b505f52600d602052602060405f2054604051908152f35b34610220575f3660031901126102205760206040516103e88152f35b346102205760803660031901126102205761060161145b565b610609611471565b906044356064359267ffffffffffffffff841161022057366023850112156102205783600401359261063a8461150d565b9361064860405195866114d7565b8085523660248288010111610220576020815f92602461067c99018389013786010152610676838383611671565b336119ef565b005b346102205760203660031901126102205760206106a161069c61145b565b611836565b604051908152f35b34610220575f366003190112610220576020600954604051908152f35b34610220576040366003190112610220576106df61145b565b60243590811515809203610220573315610767576001600160a01b031690811561075457335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b60203660031901126102205760ff600a541615610b4e57335f52600e602052600360405f20541015610b1a57600954610d05811015610aea576107bc33611634565b3403610ab9576107f76107ce33611836565b604051602081019182526004356040820152604081526107ef6060826114d7565b5190206119bc565b9060148210610a835761080990611828565b806009556108178183611887565b815f52600c60205260ff60405f209116908160ff19825416179055815f52600d6020528260405f2055335f52600e60205260405f2080549060018201809211610a6f575560209260405161086b85826114d7565b5f81523315610a5c575f8481526002865260409020546001600160a01b03168015159081610a2b575b335f8181526003895260408082208054600101905588825260028a52812080546001600160a01b0319168317905587919083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9080a450610a1857333b61092a575b50836040519283528201527f09b2079ace5989543aad7a3a2c79f45d8675a186b1eed1e7fa2a335cbceedb7860403392a3005b846109639160405180938192630a85bd0160e11b83523360048401525f6024840152886044840152608060648401526084830190611437565b03815f335af15f91816109d8575b5061099e578461097f6117f9565b805191908261099b57633250574960e11b5f523360045260245ffd5b01fd5b929391929091906001600160e01b03191663757a42ff60e11b016109c557929190846108f7565b633250574960e11b5f523360045260245ffd5b9091508581813d8311610a11575b6109f081836114d7565b8101031261022057516001600160e01b031981168103610220579086610971565b503d6109e6565b6339e3563760e11b5f525f60045260245ffd5b5f8681526004602052604080822080546001600160a01b031916905582825260038952902080545f19019055610894565b633250574960e11b5f525f60045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152600e60248201526d70726f6f6620746f6f207765616b60901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600960248201526877726f6e672066656560b81b6044820152606490fd5b60405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b1dd85b1b195d081b1a5b5a5d60a21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b34610220575f366003190112610220576040515f600154610ba481611529565b8084529060018116908115610c2a5750600114610bcc575b6104a08361048c818503826114d7565b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610c105750909150810160200161048c610bbc565b919260018160209254838588010152019101909291610bf8565b60ff191660208086019190915291151560051b8401909101915061048c9050610bbc565b34610220575f366003190112610220576008546040516001600160a01b039091168152602090f35b34610220575f36600319011261022057610c8e611995565b600880546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610220576020366003190112610220576001600160a01b03610cf261145b565b168015610d0f575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610220575f366003190112610220576104a061048c611561565b34610220576020366003190112610220576020610d5b600435611961565b6040516001600160a01b039091168152f35b346102205760203660031901126102205760043567ffffffffffffffff8111610220573660238201121561022057806004013567ffffffffffffffff811161022057366024828401011161022057610dc3611995565b610dce600b54611529565b601f8111610efa575b505f601f8211600114610e60577f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf692826024936040935f91610e53575b508160011b905f198360031b1c191617600b555b8083519485936020855282602086015201848401375f828201840152601f01601f19168101030190a1005b8591508301013586610e14565b601f19821690600b5f525f516020611aff5f395f51905f52915f5b818110610edf5750926040927f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf695928260249610610ec4575b5050600181811b01600b55610e28565b83018501355f19600384901b60f8161c191690558580610eb4565b91926020600181926024878a01013581550194019201610e7b565b600b5f52601f820160051c5f516020611aff5f395f51905f52019060208310610f4d575b601f0160051c5f516020611aff5f395f51905f5201905b818110610f425750610dd7565b5f8155600101610f35565b5f516020611aff5f395f51905f529150610f1e565b3461022057602036600319011261022057600435610f7f81611961565b505f52600c602052602060ff60405f205416604051908152f35b346102205761067c610faa36611487565b9060405192610fba6020856114d7565b5f8452610676838383611671565b34610220576020366003190112610220576001600160a01b03610fe961145b565b165f52600e602052602060405f2054604051908152f35b34610220575f36600319011261022057611018611995565b47801561107c576008545f918291829182916001600160a01b03165af161103d6117f9565b501561104557005b60405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260136024820152726e6f7468696e6720746f20776974686472617760681b6044820152606490fd5b34610220575f366003190112610220576020604051610d058152f35b34610220576110e1366114c1565b5f91825260076020526040909120546001600160a01b0381169060a01c811561113d575b6001600160601b031691828102928184041490151715610a6f57604080516001600160a01b0390921682526127109092046020820152f35b50506006546001600160a01b0381169060a01c611105565b34610220575f36600319011261022057602060ff600a54166040519015158152f35b346102205761067c61118836611487565b91611671565b346102205760203660031901126102205760206106a16111ac61145b565b611634565b34610220575f36600319011261022057602060405160038152f35b3461022057602036600319011261022057602061058d600435611605565b346102205760403660031901126102205761120361145b565b60243561120f81611961565b331515806112c1575b80611294575b6112815781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff161561121e565b506001600160a01b038116331415611218565b34610220576020366003190112610220576004356112f181611961565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610220575f366003190112610220576040515f5f5461132f81611529565b8084529060018116908115610c2a5750600114611356576104a08361048c818503826114d7565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106113985750909150810160200161048c610bbc565b919260018160209254838588010152019101909291611380565b34610220576020366003190112610220576004359063ffffffff60e01b82168092036102205760209163152a902d60e11b81149081156113f4575b5015158152f35b6380ac58cd60e01b811491508115611426575b8115611415575b50836113ed565b6301ffc9a760e01b1490508361140e565b635b5e139f60e01b81149150611407565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361022057565b602435906001600160a01b038216820361022057565b6060906003190112610220576004356001600160a01b038116810361022057906024356001600160a01b0381168103610220579060443590565b6040906003190112610220576004359060243590565b90601f8019910116810190811067ffffffffffffffff8211176114f957604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116114f957601f01601f191660200190565b90600182811c92168015611557575b602083101461154357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611538565b604051905f82600b549161157483611529565b80835292600181169081156115e6575060011461159a575b611598925003836114d7565b565b50600b5f90815290915f516020611aff5f395f51905f525b8183106115ca5750509060206115989282010161158c565b60209193508060019154838589010152019101909184926115b2565b6020925061159894915060ff191682840152151560051b82010161158c565b602281101561162e57601c8110156116285760181115611623575f90565b600190565b50600290565b50600390565b6001600160a01b03165f908152600e602052604090205460018101908110610a6f5780655af3107a40000290655af3107a4000820403610a6f5790565b6001600160a01b0390911691908215610a5c575f828152600260205260409020546001600160a01b031692829033151580611764575b5084611731575b805f52600360205260405f2060018154019055815f52600260205260405f20816001600160601b0360a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b031680830361171957505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f1981540190556116ae565b909150806117a8575b1561177a5782905f6116a7565b828461179257637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b5033841480156117d7575b8061176d57505f838152600460205260409020546001600160a01b0316331461176d565b505f84815260056020908152604080832033845290915290205460ff166117b3565b3d15611823573d9061180a8261150d565b9161181860405193846114d7565b82523d5f602084013e565b606090565b5f198114610a6f5760010190565b60018060a01b0381165f52600e60205260405f20546040519060208201923060601b84526001600160601b03199060601b1660348301526048820152604881526118816068826114d7565b51902090565b61189090611605565b90600360ff83161490816118a7575b506116285790565b6103e8915011155f61189f565b60ff16801561193c5760018114611915576002146118f3576040516118da6040826114d7565b60098152684c6567656e6461727960b81b602082015290565b6040516119016040826114d7565b60048152634570696360e01b602082015290565b506040516119246040826114d7565b60088152672ab731b7b6b6b7b760c11b602082015290565b5060405161194b6040826114d7565b600681526521b7b6b6b7b760d11b602082015290565b5f818152600260205260409020546001600160a01b0316908115611983575090565b637e27328960e01b5f5260045260245ffd5b6008546001600160a01b031633036119a957565b63118cdaa760e01b5f523360045260245ffd5b905f9180156119e7575b600160ff1b81106119d45750565b6119e19060011b92611828565b916119c6565b506101009150565b823b6119fd575b5050505050565b604051630a85bd0160e11b81526001600160a01b039182166004820152918116602483015260448201939093526080606482015291169160209082908190611a49906084830190611437565b03815f865af15f9181611ab9575b50611a855750611a656117f9565b80519081611a805782633250574960e11b5f5260045260245ffd5b602001fd5b6001600160e01b03191663757a42ff60e11b01611aa757505f808080806119f6565b633250574960e11b5f5260045260245ffd5b9091506020813d602011611af6575b81611ad5602093836114d7565b8101031261022057516001600160e01b03198116810361022057905f611a57565b3d9150611ac856fe0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9a2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c0033","sourceMap":"1824:7928:18:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;-1:-1:-1;1824:7928:18;;:::i;:::-;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;;;;1469:17:3;1824:7928:18;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;1469:17:3;1824:7928:18;;1273:26:0;;1269:95;;3004:6;1824:7928:18;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;3052:40:0;-1:-1:-1;;3052:40:0;1824:7928:18;;2538:5;1824:7928;;2538:5;1824:7928;;2821:30;1824:7928;;:::i;:::-;;;;;;;-1:-1:-1;1824:7928:18;2821:30;1824:7928;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;;3846:3;1824:7928;4083:35:8;;;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;;-1:-1:-1;;;1824:7928:18;4061:57:8;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;-1:-1:-1;1824:7928:18;;2821:30;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;:::i;:::-;;;;1269:95:0;1322:31;;;-1:-1:-1;1322:31:0;-1:-1:-1;1322:31:0;1824:7928:18;;-1:-1:-1;1322:31:0;1824:7928:18;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;1469:17:3;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;;;;;;1469:17:3;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;-1:-1:-1;1824:7928:18;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;-1:-1:-1;;1824:7928:18;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c0033","offset":8054}},"transformations":[{"type":"insert","offset":8107,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x0000000000000000000000000988d5b7042a65c7ef4e3631700fb0f108d85fc6"}},"runtimeBytecode":{"onchainBytecode":"0x6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146113b25750806306fdde0314611310578063081812fc146112d4578063095ea7b3146111ea5780630e2dbc6e146111cc5780630f2cdd6c146111b157806318160ddd146106a95780632142aa2c1461118e57806323b872dd1461117757806324bbd049146111555780632a55205a146110d357806332cb6b0c146110b75780633ccfd60b146110005780633cef28d214610fc857806342842e0e14610f9957806353f96df214610f6257806355f804b314610d6d5780636352211e14610d3d5780636c0360eb14610d2257806370a0823114610cd1578063715018a614610c765780638da5cb5b14610c4e57806395d89b4114610b84578063a0712d681461077a578063a22cb465146106c6578063a2309ff8146106a9578063b52f2c331461067e578063b88d4fde146105e8578063bb10a28f146105cc578063bc034ea514610598578063be32cdc314610574578063c1959a6b1461054a578063c87b56dd1461033c578063d309161514610321578063d7bf81a314610301578063e985e9c5146102aa578063f2fde38b146102245763f8004d31146101be575f80fd5b34610220576020366003190112610220576004358015158091036102205760207fa9f739ee29a6336acdfe5b044a6dce0d70579031be6dbdece2ac0848d8c2a08091610208611995565b60ff19600a541660ff821617600a55604051908152a1005b5f80fd5b346102205760203660031901126102205761023d61145b565b610245611995565b6001600160a01b0316801561029757600880546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b631e4fbdf760e01b5f525f60045260245ffd5b34610220576040366003190112610220576102c361145b565b6102cb611471565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b34610220575f366003190112610220576020604051655af3107a40008152f35b34610220575f36600319011261022057602060405160148152f35b346102205760203660031901126102205760043561035981611961565b50610362611561565b80519091901561052f575f818072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b811015610509575b50806d04ee2d6d415b85acef8100000000600a9210156104ee575b662386f26fc100008110156104da575b6305f5e1008110156104c9575b6127108110156104ba575b60648110156104ac575b10156104a4575b6001810191600a602161040d6103f78661150d565b9561040560405197886114d7565b80875261150d565b602086019490601f19013686378501015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530490811561044c57600a9061041e565b50506104a092602061048c9281946040519584879551918291018587015e840190838201905f8252519283915e01015f815203601f1981018352826114d7565b604051918291602083526020830190611437565b0390f35b6001016103e2565b6064600291049201916103db565b612710600491049201916103d1565b6305f5e100600891049201916103c6565b662386f26fc10000601091049201916103b9565b6d04ee2d6d415b85acef8100000000602091049201916103a9565b6040925072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b90049050600a61038e565b50506104a06040516105426020826114d7565b5f815261048c565b346102205760203660031901126102205760043560ff811681036102205761048c6104a0916118b4565b3461022057602061058d610587366114c1565b90611887565b60ff60405191168152f35b34610220576020366003190112610220576004356105b581611961565b505f52600d602052602060405f2054604051908152f35b34610220575f3660031901126102205760206040516103e88152f35b346102205760803660031901126102205761060161145b565b610609611471565b906044356064359267ffffffffffffffff841161022057366023850112156102205783600401359261063a8461150d565b9361064860405195866114d7565b8085523660248288010111610220576020815f92602461067c99018389013786010152610676838383611671565b336119ef565b005b346102205760203660031901126102205760206106a161069c61145b565b611836565b604051908152f35b34610220575f366003190112610220576020600954604051908152f35b34610220576040366003190112610220576106df61145b565b60243590811515809203610220573315610767576001600160a01b031690811561075457335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b60203660031901126102205760ff600a541615610b4e57335f52600e602052600360405f20541015610b1a57600954610d05811015610aea576107bc33611634565b3403610ab9576107f76107ce33611836565b604051602081019182526004356040820152604081526107ef6060826114d7565b5190206119bc565b9060148210610a835761080990611828565b806009556108178183611887565b815f52600c60205260ff60405f209116908160ff19825416179055815f52600d6020528260405f2055335f52600e60205260405f2080549060018201809211610a6f575560209260405161086b85826114d7565b5f81523315610a5c575f8481526002865260409020546001600160a01b03168015159081610a2b575b335f8181526003895260408082208054600101905588825260028a52812080546001600160a01b0319168317905587919083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9080a450610a1857333b61092a575b50836040519283528201527f09b2079ace5989543aad7a3a2c79f45d8675a186b1eed1e7fa2a335cbceedb7860403392a3005b846109639160405180938192630a85bd0160e11b83523360048401525f6024840152886044840152608060648401526084830190611437565b03815f335af15f91816109d8575b5061099e578461097f6117f9565b805191908261099b57633250574960e11b5f523360045260245ffd5b01fd5b929391929091906001600160e01b03191663757a42ff60e11b016109c557929190846108f7565b633250574960e11b5f523360045260245ffd5b9091508581813d8311610a11575b6109f081836114d7565b8101031261022057516001600160e01b031981168103610220579086610971565b503d6109e6565b6339e3563760e11b5f525f60045260245ffd5b5f8681526004602052604080822080546001600160a01b031916905582825260038952902080545f19019055610894565b633250574960e11b5f525f60045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152600e60248201526d70726f6f6620746f6f207765616b60901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600960248201526877726f6e672066656560b81b6044820152606490fd5b60405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b1dd85b1b195d081b1a5b5a5d60a21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b34610220575f366003190112610220576040515f600154610ba481611529565b8084529060018116908115610c2a5750600114610bcc575b6104a08361048c818503826114d7565b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610c105750909150810160200161048c610bbc565b919260018160209254838588010152019101909291610bf8565b60ff191660208086019190915291151560051b8401909101915061048c9050610bbc565b34610220575f366003190112610220576008546040516001600160a01b039091168152602090f35b34610220575f36600319011261022057610c8e611995565b600880546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610220576020366003190112610220576001600160a01b03610cf261145b565b168015610d0f575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610220575f366003190112610220576104a061048c611561565b34610220576020366003190112610220576020610d5b600435611961565b6040516001600160a01b039091168152f35b346102205760203660031901126102205760043567ffffffffffffffff8111610220573660238201121561022057806004013567ffffffffffffffff811161022057366024828401011161022057610dc3611995565b610dce600b54611529565b601f8111610efa575b505f601f8211600114610e60577f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf692826024936040935f91610e53575b508160011b905f198360031b1c191617600b555b8083519485936020855282602086015201848401375f828201840152601f01601f19168101030190a1005b8591508301013586610e14565b601f19821690600b5f525f516020611aff5f395f51905f52915f5b818110610edf5750926040927f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf695928260249610610ec4575b5050600181811b01600b55610e28565b83018501355f19600384901b60f8161c191690558580610eb4565b91926020600181926024878a01013581550194019201610e7b565b600b5f52601f820160051c5f516020611aff5f395f51905f52019060208310610f4d575b601f0160051c5f516020611aff5f395f51905f5201905b818110610f425750610dd7565b5f8155600101610f35565b5f516020611aff5f395f51905f529150610f1e565b3461022057602036600319011261022057600435610f7f81611961565b505f52600c602052602060ff60405f205416604051908152f35b346102205761067c610faa36611487565b9060405192610fba6020856114d7565b5f8452610676838383611671565b34610220576020366003190112610220576001600160a01b03610fe961145b565b165f52600e602052602060405f2054604051908152f35b34610220575f36600319011261022057611018611995565b47801561107c576008545f918291829182916001600160a01b03165af161103d6117f9565b501561104557005b60405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260136024820152726e6f7468696e6720746f20776974686472617760681b6044820152606490fd5b34610220575f366003190112610220576020604051610d058152f35b34610220576110e1366114c1565b5f91825260076020526040909120546001600160a01b0381169060a01c811561113d575b6001600160601b031691828102928184041490151715610a6f57604080516001600160a01b0390921682526127109092046020820152f35b50506006546001600160a01b0381169060a01c611105565b34610220575f36600319011261022057602060ff600a54166040519015158152f35b346102205761067c61118836611487565b91611671565b346102205760203660031901126102205760206106a16111ac61145b565b611634565b34610220575f36600319011261022057602060405160038152f35b3461022057602036600319011261022057602061058d600435611605565b346102205760403660031901126102205761120361145b565b60243561120f81611961565b331515806112c1575b80611294575b6112815781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff161561121e565b506001600160a01b038116331415611218565b34610220576020366003190112610220576004356112f181611961565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610220575f366003190112610220576040515f5f5461132f81611529565b8084529060018116908115610c2a5750600114611356576104a08361048c818503826114d7565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106113985750909150810160200161048c610bbc565b919260018160209254838588010152019101909291611380565b34610220576020366003190112610220576004359063ffffffff60e01b82168092036102205760209163152a902d60e11b81149081156113f4575b5015158152f35b6380ac58cd60e01b811491508115611426575b8115611415575b50836113ed565b6301ffc9a760e01b1490508361140e565b635b5e139f60e01b81149150611407565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361022057565b602435906001600160a01b038216820361022057565b6060906003190112610220576004356001600160a01b038116810361022057906024356001600160a01b0381168103610220579060443590565b6040906003190112610220576004359060243590565b90601f8019910116810190811067ffffffffffffffff8211176114f957604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116114f957601f01601f191660200190565b90600182811c92168015611557575b602083101461154357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611538565b604051905f82600b549161157483611529565b80835292600181169081156115e6575060011461159a575b611598925003836114d7565b565b50600b5f90815290915f516020611aff5f395f51905f525b8183106115ca5750509060206115989282010161158c565b60209193508060019154838589010152019101909184926115b2565b6020925061159894915060ff191682840152151560051b82010161158c565b602281101561162e57601c8110156116285760181115611623575f90565b600190565b50600290565b50600390565b6001600160a01b03165f908152600e602052604090205460018101908110610a6f5780655af3107a40000290655af3107a4000820403610a6f5790565b6001600160a01b0390911691908215610a5c575f828152600260205260409020546001600160a01b031692829033151580611764575b5084611731575b805f52600360205260405f2060018154019055815f52600260205260405f20816001600160601b0360a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b031680830361171957505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f1981540190556116ae565b909150806117a8575b1561177a5782905f6116a7565b828461179257637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b5033841480156117d7575b8061176d57505f838152600460205260409020546001600160a01b0316331461176d565b505f84815260056020908152604080832033845290915290205460ff166117b3565b3d15611823573d9061180a8261150d565b9161181860405193846114d7565b82523d5f602084013e565b606090565b5f198114610a6f5760010190565b60018060a01b0381165f52600e60205260405f20546040519060208201923060601b84526001600160601b03199060601b1660348301526048820152604881526118816068826114d7565b51902090565b61189090611605565b90600360ff83161490816118a7575b506116285790565b6103e8915011155f61189f565b60ff16801561193c5760018114611915576002146118f3576040516118da6040826114d7565b60098152684c6567656e6461727960b81b602082015290565b6040516119016040826114d7565b60048152634570696360e01b602082015290565b506040516119246040826114d7565b60088152672ab731b7b6b6b7b760c11b602082015290565b5060405161194b6040826114d7565b600681526521b7b6b6b7b760d11b602082015290565b5f818152600260205260409020546001600160a01b0316908115611983575090565b637e27328960e01b5f5260045260245ffd5b6008546001600160a01b031633036119a957565b63118cdaa760e01b5f523360045260245ffd5b905f9180156119e7575b600160ff1b81106119d45750565b6119e19060011b92611828565b916119c6565b506101009150565b823b6119fd575b5050505050565b604051630a85bd0160e11b81526001600160a01b039182166004820152918116602483015260448201939093526080606482015291169160209082908190611a49906084830190611437565b03815f865af15f9181611ab9575b50611a855750611a656117f9565b80519081611a805782633250574960e11b5f5260045260245ffd5b602001fd5b6001600160e01b03191663757a42ff60e11b01611aa757505f808080806119f6565b633250574960e11b5f5260045260245ffd5b9091506020813d602011611af6575b81611ad5602093836114d7565b8101031261022057516001600160e01b03198116810361022057905f611a57565b3d9150611ac856fe0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9a2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c0033","recompiledBytecode":"0x6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146113b25750806306fdde0314611310578063081812fc146112d4578063095ea7b3146111ea5780630e2dbc6e146111cc5780630f2cdd6c146111b157806318160ddd146106a95780632142aa2c1461118e57806323b872dd1461117757806324bbd049146111555780632a55205a146110d357806332cb6b0c146110b75780633ccfd60b146110005780633cef28d214610fc857806342842e0e14610f9957806353f96df214610f6257806355f804b314610d6d5780636352211e14610d3d5780636c0360eb14610d2257806370a0823114610cd1578063715018a614610c765780638da5cb5b14610c4e57806395d89b4114610b84578063a0712d681461077a578063a22cb465146106c6578063a2309ff8146106a9578063b52f2c331461067e578063b88d4fde146105e8578063bb10a28f146105cc578063bc034ea514610598578063be32cdc314610574578063c1959a6b1461054a578063c87b56dd1461033c578063d309161514610321578063d7bf81a314610301578063e985e9c5146102aa578063f2fde38b146102245763f8004d31146101be575f80fd5b34610220576020366003190112610220576004358015158091036102205760207fa9f739ee29a6336acdfe5b044a6dce0d70579031be6dbdece2ac0848d8c2a08091610208611995565b60ff19600a541660ff821617600a55604051908152a1005b5f80fd5b346102205760203660031901126102205761023d61145b565b610245611995565b6001600160a01b0316801561029757600880546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b631e4fbdf760e01b5f525f60045260245ffd5b34610220576040366003190112610220576102c361145b565b6102cb611471565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b34610220575f366003190112610220576020604051655af3107a40008152f35b34610220575f36600319011261022057602060405160148152f35b346102205760203660031901126102205760043561035981611961565b50610362611561565b80519091901561052f575f818072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b811015610509575b50806d04ee2d6d415b85acef8100000000600a9210156104ee575b662386f26fc100008110156104da575b6305f5e1008110156104c9575b6127108110156104ba575b60648110156104ac575b10156104a4575b6001810191600a602161040d6103f78661150d565b9561040560405197886114d7565b80875261150d565b602086019490601f19013686378501015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530490811561044c57600a9061041e565b50506104a092602061048c9281946040519584879551918291018587015e840190838201905f8252519283915e01015f815203601f1981018352826114d7565b604051918291602083526020830190611437565b0390f35b6001016103e2565b6064600291049201916103db565b612710600491049201916103d1565b6305f5e100600891049201916103c6565b662386f26fc10000601091049201916103b9565b6d04ee2d6d415b85acef8100000000602091049201916103a9565b6040925072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b90049050600a61038e565b50506104a06040516105426020826114d7565b5f815261048c565b346102205760203660031901126102205760043560ff811681036102205761048c6104a0916118b4565b3461022057602061058d610587366114c1565b90611887565b60ff60405191168152f35b34610220576020366003190112610220576004356105b581611961565b505f52600d602052602060405f2054604051908152f35b34610220575f3660031901126102205760206040516103e88152f35b346102205760803660031901126102205761060161145b565b610609611471565b906044356064359267ffffffffffffffff841161022057366023850112156102205783600401359261063a8461150d565b9361064860405195866114d7565b8085523660248288010111610220576020815f92602461067c99018389013786010152610676838383611671565b336119ef565b005b346102205760203660031901126102205760206106a161069c61145b565b611836565b604051908152f35b34610220575f366003190112610220576020600954604051908152f35b34610220576040366003190112610220576106df61145b565b60243590811515809203610220573315610767576001600160a01b031690811561075457335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b60203660031901126102205760ff600a541615610b4e57335f52600e602052600360405f20541015610b1a57600954610d05811015610aea576107bc33611634565b3403610ab9576107f76107ce33611836565b604051602081019182526004356040820152604081526107ef6060826114d7565b5190206119bc565b9060148210610a835761080990611828565b806009556108178183611887565b815f52600c60205260ff60405f209116908160ff19825416179055815f52600d6020528260405f2055335f52600e60205260405f2080549060018201809211610a6f575560209260405161086b85826114d7565b5f81523315610a5c575f8481526002865260409020546001600160a01b03168015159081610a2b575b335f8181526003895260408082208054600101905588825260028a52812080546001600160a01b0319168317905587919083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9080a450610a1857333b61092a575b50836040519283528201527f09b2079ace5989543aad7a3a2c79f45d8675a186b1eed1e7fa2a335cbceedb7860403392a3005b846109639160405180938192630a85bd0160e11b83523360048401525f6024840152886044840152608060648401526084830190611437565b03815f335af15f91816109d8575b5061099e578461097f6117f9565b805191908261099b57633250574960e11b5f523360045260245ffd5b01fd5b929391929091906001600160e01b03191663757a42ff60e11b016109c557929190846108f7565b633250574960e11b5f523360045260245ffd5b9091508581813d8311610a11575b6109f081836114d7565b8101031261022057516001600160e01b031981168103610220579086610971565b503d6109e6565b6339e3563760e11b5f525f60045260245ffd5b5f8681526004602052604080822080546001600160a01b031916905582825260038952902080545f19019055610894565b633250574960e11b5f525f60045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152600e60248201526d70726f6f6620746f6f207765616b60901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600960248201526877726f6e672066656560b81b6044820152606490fd5b60405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b1dd85b1b195d081b1a5b5a5d60a21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b34610220575f366003190112610220576040515f600154610ba481611529565b8084529060018116908115610c2a5750600114610bcc575b6104a08361048c818503826114d7565b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610c105750909150810160200161048c610bbc565b919260018160209254838588010152019101909291610bf8565b60ff191660208086019190915291151560051b8401909101915061048c9050610bbc565b34610220575f366003190112610220576008546040516001600160a01b039091168152602090f35b34610220575f36600319011261022057610c8e611995565b600880546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610220576020366003190112610220576001600160a01b03610cf261145b565b168015610d0f575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610220575f366003190112610220576104a061048c611561565b34610220576020366003190112610220576020610d5b600435611961565b6040516001600160a01b039091168152f35b346102205760203660031901126102205760043567ffffffffffffffff8111610220573660238201121561022057806004013567ffffffffffffffff811161022057366024828401011161022057610dc3611995565b610dce600b54611529565b601f8111610efa575b505f601f8211600114610e60577f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf692826024936040935f91610e53575b508160011b905f198360031b1c191617600b555b8083519485936020855282602086015201848401375f828201840152601f01601f19168101030190a1005b8591508301013586610e14565b601f19821690600b5f525f516020611aff5f395f51905f52915f5b818110610edf5750926040927f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf695928260249610610ec4575b5050600181811b01600b55610e28565b83018501355f19600384901b60f8161c191690558580610eb4565b91926020600181926024878a01013581550194019201610e7b565b600b5f52601f820160051c5f516020611aff5f395f51905f52019060208310610f4d575b601f0160051c5f516020611aff5f395f51905f5201905b818110610f425750610dd7565b5f8155600101610f35565b5f516020611aff5f395f51905f529150610f1e565b3461022057602036600319011261022057600435610f7f81611961565b505f52600c602052602060ff60405f205416604051908152f35b346102205761067c610faa36611487565b9060405192610fba6020856114d7565b5f8452610676838383611671565b34610220576020366003190112610220576001600160a01b03610fe961145b565b165f52600e602052602060405f2054604051908152f35b34610220575f36600319011261022057611018611995565b47801561107c576008545f918291829182916001600160a01b03165af161103d6117f9565b501561104557005b60405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260136024820152726e6f7468696e6720746f20776974686472617760681b6044820152606490fd5b34610220575f366003190112610220576020604051610d058152f35b34610220576110e1366114c1565b5f91825260076020526040909120546001600160a01b0381169060a01c811561113d575b6001600160601b031691828102928184041490151715610a6f57604080516001600160a01b0390921682526127109092046020820152f35b50506006546001600160a01b0381169060a01c611105565b34610220575f36600319011261022057602060ff600a54166040519015158152f35b346102205761067c61118836611487565b91611671565b346102205760203660031901126102205760206106a16111ac61145b565b611634565b34610220575f36600319011261022057602060405160038152f35b3461022057602036600319011261022057602061058d600435611605565b346102205760403660031901126102205761120361145b565b60243561120f81611961565b331515806112c1575b80611294575b6112815781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff161561121e565b506001600160a01b038116331415611218565b34610220576020366003190112610220576004356112f181611961565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610220575f366003190112610220576040515f5f5461132f81611529565b8084529060018116908115610c2a5750600114611356576104a08361048c818503826114d7565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106113985750909150810160200161048c610bbc565b919260018160209254838588010152019101909291611380565b34610220576020366003190112610220576004359063ffffffff60e01b82168092036102205760209163152a902d60e11b81149081156113f4575b5015158152f35b6380ac58cd60e01b811491508115611426575b8115611415575b50836113ed565b6301ffc9a760e01b1490508361140e565b635b5e139f60e01b81149150611407565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361022057565b602435906001600160a01b038216820361022057565b6060906003190112610220576004356001600160a01b038116810361022057906024356001600160a01b0381168103610220579060443590565b6040906003190112610220576004359060243590565b90601f8019910116810190811067ffffffffffffffff8211176114f957604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116114f957601f01601f191660200190565b90600182811c92168015611557575b602083101461154357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611538565b604051905f82600b549161157483611529565b80835292600181169081156115e6575060011461159a575b611598925003836114d7565b565b50600b5f90815290915f516020611aff5f395f51905f525b8183106115ca5750509060206115989282010161158c565b60209193508060019154838589010152019101909184926115b2565b6020925061159894915060ff191682840152151560051b82010161158c565b602281101561162e57601c8110156116285760181115611623575f90565b600190565b50600290565b50600390565b6001600160a01b03165f908152600e602052604090205460018101908110610a6f5780655af3107a40000290655af3107a4000820403610a6f5790565b6001600160a01b0390911691908215610a5c575f828152600260205260409020546001600160a01b031692829033151580611764575b5084611731575b805f52600360205260405f2060018154019055815f52600260205260405f20816001600160601b0360a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b031680830361171957505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f1981540190556116ae565b909150806117a8575b1561177a5782905f6116a7565b828461179257637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b5033841480156117d7575b8061176d57505f838152600460205260409020546001600160a01b0316331461176d565b505f84815260056020908152604080832033845290915290205460ff166117b3565b3d15611823573d9061180a8261150d565b9161181860405193846114d7565b82523d5f602084013e565b606090565b5f198114610a6f5760010190565b60018060a01b0381165f52600e60205260405f20546040519060208201923060601b84526001600160601b03199060601b1660348301526048820152604881526118816068826114d7565b51902090565b61189090611605565b90600360ff83161490816118a7575b506116285790565b6103e8915011155f61189f565b60ff16801561193c5760018114611915576002146118f3576040516118da6040826114d7565b60098152684c6567656e6461727960b81b602082015290565b6040516119016040826114d7565b60048152634570696360e01b602082015290565b506040516119246040826114d7565b60088152672ab731b7b6b6b7b760c11b602082015290565b5060405161194b6040826114d7565b600681526521b7b6b6b7b760d11b602082015290565b5f818152600260205260409020546001600160a01b0316908115611983575090565b637e27328960e01b5f5260045260245ffd5b6008546001600160a01b031633036119a957565b63118cdaa760e01b5f523360045260245ffd5b905f9180156119e7575b600160ff1b81106119d45750565b6119e19060011b92611828565b916119c6565b506101009150565b823b6119fd575b5050505050565b604051630a85bd0160e11b81526001600160a01b039182166004820152918116602483015260448201939093526080606482015291169160209082908190611a49906084830190611437565b03815f865af15f9181611ab9575b50611a855750611a656117f9565b80519081611a805782633250574960e11b5f5260045260245ffd5b602001fd5b6001600160e01b03191663757a42ff60e11b01611aa757505f808080806119f6565b633250574960e11b5f5260045260245ffd5b9091506020813d602011611af6575b81611ad5602093836114d7565b8101031261022057516001600160e01b03198116810361022057905f611a57565b3d9150611ac856fe0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9a2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c0033","sourceMap":"1824:7928:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;8678:21;1500:62:0;;;:::i;:::-;1824:7928:18;;8648:15;1824:7928;;;;;;8648:15;1824:7928;;;;;;8678:21;1824:7928;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;-1:-1:-1;;;;;1824:7928:18;2627:22:0;;2623:91;;3004:6;1824:7928:18;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;-1:-1:-1;;;;;1824:7928:18;3052:40:0;-1:-1:-1;;3052:40:0;1824:7928:18;2623:91:0;2672:31;;;1824:7928:18;2672:31:0;1824:7928:18;;;;;2672:31:0;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;3776:18:3;1824:7928:18;;;;;3776:35:3;1824:7928:18;;;;;;-1:-1:-1;1824:7928:18;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;1963:12;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2064:2;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;2618:22:3;;;:::i;:::-;;1824:7928:18;;:::i;:::-;;;;;;2702:25:3;:75;;1824:7928:18;2753:18:3;;-1:-1:-1;;;29599:17:15;;;29595:103;;2702:75:3;29715:17:15;;29724:8;30295:7;29715:17;;;29711:103;;2702:75:3;29840:8:15;29831:17;;;29827:103;;2702:75:3;29956:7:15;29947:16;;;29943:100;;2702:75:3;30069:7:15;30060:16;;;30056:100;;2702:75:3;30182:7:15;30173:16;;;30169:100;;2702:75:3;30286:16:15;;30282:66;;2702:75:3;1824:7928:18;;;;30295:7:15;1488:94:12;1824:7928:18;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;1488:94:12;;;1595:247;-1:-1:-1;;1824:7928:18;;-1:-1:-1;;;1649:111:12;;;;1824:7928:18;1649:111:12;1824:7928:18;1810:10:12;;;1806:21;;30295:7:15;;1595:247:12;;1806:21;1822:5;;1824:7928:18;1822:5:12;1824:7928:18;;1822:5:12;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;30282:66:15;1824:7928:18;;30282:66:15;;30169:100;30182:7;30253:1;1824:7928:18;;;;30169:100:15;;;30056;30069:7;1824:7928:18;;;;;30056:100:15;;;29943;29956:7;30027:1;1824:7928:18;;;;29943:100:15;;;29827:103;29840:8;29913:2;1824:7928:18;;;;29827:103:15;;;29711;29724:8;1824:7928:18;;;;;29711:103:15;;;29595;1824:7928:18;;-1:-1:-1;;;;1824:7928:18;;;-1:-1:-1;30295:7:15;29595:103;;2702:75:3;1824:7928:18;;;;;;;;;:::i;:::-;;;;2702:75:3;;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;7229:22;;;:::i;:::-;;1824:7928;;7268:10;1824:7928;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2268:4;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4851:4:3;1824:7928:18;;;;;;;;;;4766:7:3;;;;;:::i;:::-;735:10:10;4851:4:3;:::i;:::-;1824:7928:18;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;2279:26;1824:7928;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;;;;;;;;;;735:10:10;15418:19:3;15414:90;;-1:-1:-1;;;;;1824:7928:18;;15517:22:3;;15513:91;;735:10:10;1824:7928:18;;15613:18:3;1824:7928:18;;;;;;-1:-1:-1;1824:7928:18;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;15674:41:3;1824:7928:18;735:10:10;15674:41:3;;1824:7928:18;15513:91:3;15562:31;;;;1824:7928:18;15562:31:3;1824:7928:18;;;;15562:31:3;15414:90;14909:27;;;1824:7928:18;15460:33:3;1824:7928:18;;;;;15460:33:3;1824:7928:18;;;-1:-1:-1;;1824:7928:18;;;;;4964:8;1824:7928;;;;;5018:10;1824:7928;;5009:8;1824:7928;;2022:1;1824:7928;;;;5009:37;1824:7928;;;5081:11;1824:7928;1918:4;5081:24;;1824:7928;;;5149:21;5018:10;5149:21;:::i;:::-;5136:9;:34;1824:7928;;5295:22;5237:24;5018:10;5237:24;:::i;:::-;1824:7928;;;5220:49;;1824:7928;;;;;;;;;;5220:49;;;;;;:::i;:::-;1824:7928;5210:60;;5295:22;:::i;:::-;5335:16;2064:2;5335:16;;1824:7928;;5399:13;;;:::i;:::-;1824:7928;5081:11;1824:7928;5435:28;;;;:::i;:::-;1824:7928;;;5473:6;1824:7928;;;;;;;;;;;;;;;;;;;;;5505:10;1824:7928;;;;;;;5018:10;1824:7928;;5009:8;1824:7928;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;5018:10;9691:16:3;9687:87;;1824:7928:18;;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;8830:18:3;;;;;8826:256;;1824:7928:18;5018:10;1824:7928;;;;2022:1;1824:7928;;;;;;;;;;;;;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;5018:10;9246:27:3;;;;1824:7928:18;9246:27:3;9849:96;;;5018:10:18;1174:14:7;1170:744;;1824:7928:18;;;;;;;;;;;5621:43;1824:7928;5018:10;5621:43;;1824:7928;1170:744:7;1824:7928:18;;;;;;;;;;;;1212:67:7;;5018:10:18;1824:7928;1212:67:7;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1212:67:7;5018:10:18;1824:7928;5018:10;1212:67:7;;1824:7928:18;;1212:67:7;;;1170:744;-1:-1:-1;1208:696:7;;1519:385;;;:::i;:::-;1824:7928:18;;;;1569:18:7;;;9730:33:3;;;1824:7928:18;1673:39:7;5018:10:18;1824:7928;;;;1673:39:7;1565:325;1759:113;;1208:696;1824:7928:18;;;;;;;-1:-1:-1;;;;;;1824:7928:18;-1:-1:-1;;;1326:51:7;1322:182;;1170:744;;;;;;1322:182;9730:33:3;;;1824:7928:18;1446:39:7;5018:10:18;1824:7928;;;;1446:39:7;1212:67;;;;;;;;;;;;;;;;;:::i;:::-;;;1824:7928:18;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;1212:67:7;;;;;;;;;9849:96:3;9903:31;;;1824:7928:18;9903:31:3;1824:7928:18;;;;;9903:31:3;8826:256;1824:7928:18;;;;15066:15:3;1824:7928:18;;;;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;2022:1;1824:7928;;;;;;-1:-1:-1;;1824:7928:18;;;8826:256:3;;9687:87;9730:33;;;1824:7928:18;9730:33:3;1824:7928:18;;;;;9730:33:3;1824:7928:18;;;;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;5009:8;1824:7928;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;5081:11;1824:7928;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2473:7:3;1824:7928:18;;;;:::i;:::-;;;;;2473:7:3;1824:7928:18;;;2473:7:3;;;;1824:7928:18;;;;;;;;;;;;;;:::i;:::-;2473:7:3;1824:7928:18;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;;;2473:7:3;1824:7928:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;;1824:7928:18;;;;1710:6:0;1824:7928:18;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;1500:62:0;;:::i;:::-;3004:6;1824:7928:18;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;-1:-1:-1;;;;;1824:7928:18;3052:40:0;1824:7928:18;;3052:40:0;1824:7928:18;;;;;;;-1:-1:-1;;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;:::i;:::-;;1947:19:3;;1943:87;;1824:7928:18;;2046:9:3;1824:7928:18;;;;;;;;;;;;;1943:87:3;1989:30;;;1824:7928:18;1989:30:3;1824:7928:18;;;;;1989:30:3;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;2192:22:3;1824:7928:18;;2192:22:3;:::i;:::-;1824:7928:18;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;1824:7928:18;9159:26;1824:7928;;:::i;:::-;;;;;;;;;;;;;;;;9200:26;1824:7928;;;;;;;;;;;;;;;;;;;;;;;;;9159:26;1824:7928;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;9200:26;;;;1824:7928;;;;;;;;;;;;;;;;;;9159:26;1824:7928;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;9200:26;1824:7928;;;;;;;;;;;;;;;;9159:26;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9159:26;1824:7928;;;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;7789:22;;;:::i;:::-;;1824:7928;;7828:6;1824:7928;;;;;;;;;;;;;;;;;;;4851:4:3;1824:7928:18;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;4766:7:3;;;;;:::i;1824:7928:18:-;;;;;;-1:-1:-1;;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;:::i;:::-;;;;3040:43;1824:7928;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;1500:62:0;;:::i;:::-;9370:21:18;9409:7;;1824:7928;;1710:6:0;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;9464:37;;;;:::i;:::-;;1824:7928;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;1918:4;1824:7928;;;;;;;;;;:::i;:::-;;;;;2517:17:8;1824:7928:18;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;2678:29:8;;2674:173;;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;2882:27:8;1824:7928:18;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;2674:173:8;-1:-1:-1;;2741:19:8;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;;;;;2674:173:8;;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;2515:28;1824:7928;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2022:1;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;14663:22:3;;;:::i;:::-;735:10:10;14813:18:3;;:35;;;1824:7928:18;14813:69:3;;;1824:7928:18;14809:142:3;;1824:7928:18;;-1:-1:-1;;;;;1824:7928:18;;;;;15003:28:3;1824:7928:18;;15003:28:3;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;;;;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;14809:142:3;14909:27;;;1824:7928:18;14909:27:3;735:10:10;1824:7928:18;;;;14909:27:3;14813:69;-1:-1:-1;;;;;;1824:7928:18;;;;;;3776:18:3;1824:7928:18;;;;;;;;735:10:10;1824:7928:18;;;;;;;;;;14852:30:3;14813:69;;:35;-1:-1:-1;;;;;;1824:7928:18;;735:10:10;14835:13:3;;14813:35;;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;3385:22:3;;;:::i;:::-;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2207:41:8;;;:81;;;;1824:7928:18;;;;;;;2207:81:8;-1:-1:-1;;;1664:40:3;;;-1:-1:-1;1664:104:3;;;;2207:81:8;1664:156:3;;;;2207:81:8;;;;;1664:156:3;-1:-1:-1;;;829:40:13;;-1:-1:-1;1664:156:3;;;:104;-1:-1:-1;;;1720:48:3;;;-1:-1:-1;1664:104:3;;1824:7928:18;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;;1824:7928:18;;;;:::o;:::-;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1824:7928:18;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;8403:13;1824:7928;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;-1:-1:-1;8403:13:18;-1:-1:-1;1824:7928:18;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5965:190;6050:2;6042:10;;;6038:24;;6084:2;6076:10;;;6072:24;;6118:2;-1:-1:-1;6110:10:18;6106:24;;1824:7928;5965:190;:::o;6106:24::-;6129:1;6122:8;:::o;6072:24::-;6088:8;6095:1;6088:8;:::o;6038:24::-;6054:8;6061:1;6054:8;:::o;4568:122::-;-1:-1:-1;;;;;1824:7928:18;-1:-1:-1;1824:7928:18;;;4662:8;1824:7928;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;1963:12;1824:7928;;1963:12;1824:7928;;;;;4568:122;:::o;3852:578:3:-;-1:-1:-1;;;;;1824:7928:18;;;;3852:578:3;3946:16;;3942:87;;3960:1;1824:7928:18;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;735:10:10;8704:18:3;;;8700:86;;3852:578;8830:18;;8826:256;;3852:578;1824:7928:18;3960:1:3;1824:7928:18;9156:9:3;1824:7928:18;;;3960:1:3;1824:7928:18;9096:16:3;1824:7928:18;;;;;;3960:1:3;1824:7928:18;5470:7:3;1824:7928:18;;;3960:1:3;1824:7928:18;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;9246:27:3;;3960:1;9246:27;;-1:-1:-1;;;;;1824:7928:18;4319:21:3;;;4315:109;;3852:578;;;:::o;4315:109::-;4363:50;;;3960:1;4363:50;;1824:7928:18;;;;;;3960:1:3;4363:50;8826:256;1824:7928:18;;;;15066:15:3;1824:7928:18;;;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;3960:1:3;1824:7928:18;9037:9:3;1824:7928:18;;;3960:1:3;1824:7928:18;;;;;;;;8826:256:3;;8700:86;6185:127;;-1:-1:-1;6185:127:3;;;8700:86;6862:39;6858:255;;8700:86;;;;;6858:255;6921:19;;1824:7928:18;;6967:31:3;;;3960:1;6967:31;;1824:7928:18;;3960:1:3;6967:31;6917:186;7044:44;;;3960:1;7044:44;735:10:10;7044:44:3;1824:7928:18;;;;3960:1:3;7044:44;6185:127;735:10:10;;6223:16:3;;:52;;;;6185:127;6223:88;6185:127;6223:88;-1:-1:-1;3960:1:3;1824:7928:18;;;5705:15:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;735:10:10;6279:32:3;6185:127;;6223:52;-1:-1:-1;3960:1:3;1824:7928:18;;;3776:18:3;1824:7928:18;;;;;;;;735:10:10;1824:7928:18;;;;;;;;;;6223:52:3;;1824:7928:18;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;1824:7928:18;;;;:::o;:::-;;;:::o;:::-;-1:-1:-1;;1824:7928:18;;;;;;;:::o;4171:160::-;1824:7928;;;;;;;-1:-1:-1;1824:7928:18;4306:8;1824:7928;;;-1:-1:-1;1824:7928:18;;;;4266:57;1824:7928;4266:57;;4291:4;;1824:7928;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;4266:57;;;;;;:::i;:::-;1824:7928;4256:68;;4171:160;:::o;6695:221::-;6800:17;6695:221;6800:17;:::i;:::-;1824:7928;6839:1;1824:7928;;;6831:9;:47;;;;6695:221;6827:61;;;6695:221;:::o;6831:47::-;2268:4;6844:34;;;;6831:47;;;7856:221;1824:7928;;7936:9;;7932:30;;7984:1;7976:9;;7972:32;;8026:1;8018:9;8014:28;;1824:7928;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;7856:221;:::o;8014:28::-;1824:7928;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;8029:13;:::o;7972:32::-;1824:7928;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;7987:17;:::o;7932:30::-;1824:7928;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;7947:15;:::o;15957:241:3:-;-1:-1:-1;1824:7928:18;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;;16086:19:3;;16082:88;;16179:12;15957:241;:::o;16082:88::-;6967:31;;;-1:-1:-1;16128:31:3;;1824:7928:18;;-1:-1:-1;16128:31:3;1796:162:0;1710:6;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;735:10:10;1855:23:0;1851:101;;1796:162::o;1851:101::-;1901:40;;;-1:-1:-1;1901:40:0;735:10:10;1901:40:0;1824:7928:18;;-1:-1:-1;1901:40:0;6922:223:18;;1824:7928;7003:22;;7039:6;7035:22;;7074:14;-1:-1:-1;;;7074:14:18;;;;6922:223;:::o;7067:72::-;7125:3;1824:7928;7110:1;1824:7928;7125:3;;:::i;:::-;7067:72;;;7035:22;-1:-1:-1;7054:3:18;;-1:-1:-1;7047:10:18:o;994:926:7:-;1174:14;;1170:744;;994:926;;;;;;:::o;1170:744::-;1824:7928:18;;-1:-1:-1;;;1212:67:7;;-1:-1:-1;;;;;1824:7928:18;;;1212:67:7;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1212:67:7;;1191:1;1212:67;;;1191:1;;1212:67;;;1170:744;-1:-1:-1;1208:696:7;;1519:385;;;:::i;:::-;1824:7928:18;;;1569:18:7;;;9730:33:3;;;;1191:1:7;1673:39;1212:67;1824:7928:18;;1191:1:7;1673:39;1565:325;1824:7928:18;1759:113:7;;1208:696;-1:-1:-1;;;;;;1824:7928:18;-1:-1:-1;;;1326:51:7;1322:182;;1208:696;1170:744;;;;;;;1322:182;9730:33:3;;;1191:1:7;1446:39;1212:67;1824:7928:18;;1191:1:7;1446:39;1212:67;;;;1824:7928:18;1212:67:7;;1824:7928:18;1212:67:7;;;;;;1824:7928:18;1212:67:7;;;:::i;:::-;;;1824:7928:18;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;1212:67:7;;;;;;;-1:-1:-1;1212:67:7;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c0033","offset":6943}},"immutableReferences":{},"transformations":[],"transformationValues":{}},"deployment":{"transactionHash":"0x676421088ec1491bea8bb238a4e85ef7796c59c27d4e645f561b982aefb5e759","blockNumber":"131172306","transactionIndex":"45","deployer":"0x0988d5B7042A65c7ef4e3631700fB0F108D85fc6"},"sources":{"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/interfaces/IERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC2981.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface for the NFT Royalty Standard.\n *\n * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal\n * support for royalty payments across all NFT marketplaces and ecosystem participants.\n */\ninterface IERC2981 is IERC165 {\n    /**\n     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of\n     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.\n     *\n     * NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the\n     * royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) external view returns (address receiver, uint256 royaltyAmount);\n}\n"},"npm/@openzeppelin/contracts@5.6.1/token/common/ERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/common/ERC2981.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC2981} from \"../../interfaces/IERC2981.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.\n *\n * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for\n * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.\n *\n * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the\n * fee is specified in basis points by default.\n *\n * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See\n * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to\n * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.\n */\nabstract contract ERC2981 is IERC2981, ERC165 {\n    struct RoyaltyInfo {\n        address receiver;\n        uint96 royaltyFraction;\n    }\n\n    RoyaltyInfo private _defaultRoyaltyInfo;\n    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;\n\n    /**\n     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The default royalty receiver is invalid.\n     */\n    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);\n\n    /**\n     * @dev The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The royalty receiver for `tokenId` is invalid.\n     */\n    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {\n        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /// @inheritdoc IERC2981\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) public view virtual returns (address receiver, uint256 amount) {\n        RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];\n        address royaltyReceiver = _royaltyInfo.receiver;\n        uint96 royaltyFraction = _royaltyInfo.royaltyFraction;\n\n        if (royaltyReceiver == address(0)) {\n            royaltyReceiver = _defaultRoyaltyInfo.receiver;\n            royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;\n        }\n\n        uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();\n\n        return (royaltyReceiver, royaltyAmount);\n    }\n\n    /**\n     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a\n     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an\n     * override.\n     */\n    function _feeDenominator() internal pure virtual returns (uint96) {\n        return 10000;\n    }\n\n    /**\n     * @dev Sets the royalty information that all ids in this contract will default to.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));\n        }\n\n        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Removes default royalty information.\n     */\n    function _deleteDefaultRoyalty() internal virtual {\n        delete _defaultRoyaltyInfo;\n    }\n\n    /**\n     * @dev Sets the royalty information for a specific token id, overriding the global default.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));\n        }\n\n        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Resets royalty information for the token id back to the global default.\n     */\n    function _resetTokenRoyalty(uint256 tokenId) internal virtual {\n        delete _tokenRoyaltyInfo[tokenId];\n    }\n}\n"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"project/contracts/OAgentUnitsV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\nimport \"@openzeppelin/contracts/token/common/ERC2981.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\n\n/// @title OAGENT Units V2 — proof-of-work pixel sea-animal NFTs on BNB Chain.\n/// @notice Mint works like the classic PoW drops: each wallet gets a challenge\n///         (challengeFor), and mint(nonce) succeeds only when\n///         keccak256(challenge || nonce) has at least MIN_BITS leading zero\n///         bits. The STRONGER the proof, the rarer the unit — rarity is mined,\n///         not drawn. V2 widens the tier ladder (Hans's decision, 2026-11-02)\n///         so high proofs no longer fall into the top tier by default:\n///         20-23 bits Common, 24-27 Uncommon, 28-33 Epic, 34+ Legendary.\n///         Legendary is ALSO supply-gated: it only unlocks once the\n///         collection passes LEGENDARY_UNLOCK_SUPPLY (1000) minted units,\n///         i.e. for tokenId 1001 and later. Before that, even a 34+ bit\n///         proof is recorded at full strength in proofBitsOf but its unit\n///         is capped at Epic — see effectiveTier().\n///         Every unit is UNIQUE: its metadata (image + traits)\n///         is rendered off-chain from its own mint proof and served from\n///         the collection base URI — a live metadata service while the\n///         mint runs, frozen to a pinned IPFS folder when minting ends.\n///         tokenURI(tokenId) is baseURI + tokenId (see _baseURI).\n///         The mint price escalates per wallet: 0.0001 BNB for the first\n///         unit, 0.0002 for the second, 0.0003 for the third (see\n///         mintPrice). Fees go to the contract and can be withdrawn by the\n///         owner; gas is paid by the minter to the network, as usual.\ncontract OAgentUnitsV2 is ERC721, ERC2981, Ownable {\n    uint256 public constant MAX_SUPPLY = 3333;\n    uint256 public constant MINT_FEE = 0.0001 ether;\n    uint256 public constant MAX_PER_WALLET = 3;\n    uint256 public constant MIN_BITS = 20;\n    // Legendary (tier 3) unlocks only for tokenIds ABOVE this count:\n    // tokens 1..1000 can reach at most Epic, no matter the proof strength.\n    uint256 public constant LEGENDARY_UNLOCK_SUPPLY = 1000;\n\n    uint256 public totalMinted;\n    // The mint starts CLOSED. The owner opens it with setMintOpen(true)\n    // only after the metadata base URI points at the live service, so no\n    // unit can be minted against a placeholder baseURI.\n    bool public mintOpen = false;\n\n    // PLACEHOLDER — not a real CID. Point this at the live metadata\n    // service with setBaseURI() before the mint opens; it is repointed\n    // once to the final pinned IPFS folder when minting ends.\n    // tokenURI = this + tokenId.\n    string private _baseTokenURI = \"ipfs://OAGENT_METADATA_BASE/\";\n\n    mapping(uint256 => uint8) private _tiers; // 0 Common, 1 Uncommon, 2 Epic, 3 Legendary\n    mapping(uint256 => uint256) private _proofBits; // leading zero bits of the mint proof\n    mapping(address => uint256) public mintedBy;\n\n    event UnitMinted(address indexed minter, uint256 indexed tokenId, uint8 tier, uint256 proofBits);\n    event MintOpenChanged(bool open);\n    event BaseURIChanged(string newBaseURI);\n\n    /// @param initialOwner The project wallet. Deployment goes through the\n    ///         deterministic CREATE2 deployment proxy (0x4e59…4956C),\n    ///         because the agentic wallet cannot send a bare creation\n    ///         transaction — so the owner and the royalty receiver are set\n    ///         explicitly here instead of relying on msg.sender, which\n    ///         during a proxy deployment would be the proxy itself.\n    constructor(address initialOwner) ERC721(\"OAGENT Units\", \"OUNIT\") Ownable(initialOwner) {\n        _setDefaultRoyalty(initialOwner, 500); // 5% secondary royalty to the owner wallet; no setter exists, so this can never change\n    }\n\n    // ---------------- mint (proof-of-work) ----------------\n\n    /// @notice The challenge a wallet must grind against right now. It rotates\n    ///         after every successful mint because it binds the mint count.\n    function challengeFor(address wallet) public view returns (bytes32) {\n        return keccak256(abi.encodePacked(address(this), wallet, mintedBy[wallet]));\n    }\n\n    /// @notice Price of the NEXT unit for a wallet: the base fee times how\n    ///         many units that wallet will hold after this mint — 1st unit\n    ///         0.0001 BNB, 2nd 0.0002, 3rd 0.0003. Minting more costs more.\n    function mintPrice(address wallet) public view returns (uint256) {\n        return MINT_FEE * (mintedBy[wallet] + 1);\n    }\n\n    /// @notice Mint one unit by presenting a nonce whose\n    ///         keccak256(challengeFor(you) || nonce) has >= MIN_BITS leading\n    ///         zero bits. Tier is decided by the proof's strength.\n    function mint(uint256 nonce) external payable {\n        require(mintOpen, \"mint is closed\");\n        require(mintedBy[msg.sender] < MAX_PER_WALLET, \"wallet limit\");\n        require(totalMinted < MAX_SUPPLY, \"sold out\");\n        require(msg.value == mintPrice(msg.sender), \"wrong fee\");\n\n        bytes32 hash = keccak256(abi.encodePacked(challengeFor(msg.sender), nonce));\n        uint256 bits = _leadingZeroBits(hash);\n        require(bits >= MIN_BITS, \"proof too weak\");\n\n        uint256 tokenId = ++totalMinted;\n        uint8 tier = effectiveTier(bits, tokenId);\n        _tiers[tokenId] = tier;\n        _proofBits[tokenId] = bits;\n        mintedBy[msg.sender] += 1;\n        _safeMint(msg.sender, tokenId);\n        emit UnitMinted(msg.sender, tokenId, tier, bits);\n    }\n\n    /// @dev V2 tier bands by proof strength — wide spacing between tiers:\n    ///      Common 20-23 bits, Uncommon 24-27, Epic 28-33, Legendary 34+.\n    ///      (V1 used luck bands of +2/+4/+7 over MIN_BITS, which put\n    ///      Legendary at just 27 bits; V2 raises the bar to 34.)\n    function tierForBits(uint256 bits) public pure returns (uint8) {\n        if (bits >= 34) return 3;\n        if (bits >= 28) return 2;\n        if (bits >= 24) return 1;\n        return 0;\n    }\n\n    /// @dev The tier a mint ACTUALLY receives: the raw band from\n    ///      tierForBits, with the Legendary supply gate applied. A proof\n    ///      in the Legendary band only yields tier 3 when tokenId is past\n    ///      LEGENDARY_UNLOCK_SUPPLY; before the unlock it is capped to\n    ///      tier 2 (Epic). proofBitsOf still stores the true bit count,\n    ///      so the strength of an early capped proof stays on record.\n    ///      Pure and public so the cap is testable without grinding a\n    ///      real 34-bit proof.\n    function effectiveTier(uint256 bits, uint256 tokenId) public pure returns (uint8) {\n        uint8 tier = tierForBits(bits);\n        if (tier == 3 && tokenId <= LEGENDARY_UNLOCK_SUPPLY) return 2;\n        return tier;\n    }\n\n    function _leadingZeroBits(bytes32 h) internal pure returns (uint256 n) {\n        uint256 x = uint256(h);\n        if (x == 0) return 256;\n        while (x < (1 << 255)) {\n            x <<= 1;\n            n++;\n        }\n    }\n\n    function proofBitsOf(uint256 tokenId) public view returns (uint256) {\n        _requireOwned(tokenId);\n        return _proofBits[tokenId];\n    }\n\n    // ---------------- views ----------------\n\n    /// @notice Total units minted so far. Same value as totalMinted();\n    ///         indexers and marketplaces (e.g. Element) expect a readable\n    ///         totalSupply() — V1 lacked one, which broke their collection\n    ///         sync, so V2 exposes it explicitly.\n    function totalSupply() public view returns (uint256) {\n        return totalMinted;\n    }\n\n    function tierOf(uint256 tokenId) public view returns (uint8) {\n        _requireOwned(tokenId);\n        return _tiers[tokenId];\n    }\n\n    function tierName(uint8 tier) public pure returns (string memory) {\n        if (tier == 0) return \"Common\";\n        if (tier == 1) return \"Uncommon\";\n        if (tier == 2) return \"Epic\";\n        return \"Legendary\";\n    }\n\n    // ---------------- metadata ----------------\n\n    /// @notice The base URI every tokenURI is built from. The standard\n    ///         ERC721 tokenURI(tokenId) returns baseURI + tokenId and\n    ///         reverts for tokens that do not exist.\n    function baseURI() public view returns (string memory) {\n        return _baseTokenURI;\n    }\n\n    function _baseURI() internal view override returns (string memory) {\n        return _baseTokenURI;\n    }\n\n    // ---------------- owner ----------------\n\n    function setMintOpen(bool open) external onlyOwner {\n        mintOpen = open;\n        emit MintOpenChanged(open);\n    }\n\n    /// @notice Set the metadata base URI (tokenURI = baseURI + tokenId).\n    ///         Owner-only. Launch plan: set to the live metadata service\n    ///         before the mint opens, then repointed once to the final\n    ///         pinned IPFS folder when minting ends. The function itself\n    ///         is not code-locked; the two-use plan is public in llms.txt.\n    function setBaseURI(string calldata newBaseURI) external onlyOwner {\n        _baseTokenURI = newBaseURI;\n        emit BaseURIChanged(newBaseURI);\n    }\n\n    /// @notice Withdraw accumulated mint fees to the owner wallet.\n    function withdraw() external onlyOwner {\n        uint256 bal = address(this).balance;\n        require(bal > 0, \"nothing to withdraw\");\n        (bool ok, ) = payable(owner()).call{value: bal}(\"\");\n        require(ok, \"withdraw failed\");\n    }\n\n    function supportsInterface(bytes4 interfaceId)\n        public\n        view\n        override(ERC721, ERC2981)\n        returns (bool)\n    {\n        return super.supportsInterface(interfaceId);\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.28+commit.7893614a","compilerSettings":{"viaIR":true,"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.6.1/"]},"name":"OAgentUnitsV2","fullyQualifiedName":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ERC2981InvalidDefaultRoyalty","type":"error","inputs":[{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC2981InvalidTokenRoyalty","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721IncorrectOwner","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InsufficientApproval","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"ERC721InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOperator","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC721NonexistentToken","type":"error","inputs":[{"name":"tokenId","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":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"ApprovalForAll","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"BaseURIChanged","type":"event","inputs":[{"name":"newBaseURI","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"name":"MintOpenChanged","type":"event","inputs":[{"name":"open","type":"bool","indexed":false,"internalType":"bool"}],"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":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"UnitMinted","type":"event","inputs":[{"name":"minter","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"tier","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"proofBits","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LEGENDARY_UNLOCK_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MINT_FEE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MIN_BITS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"baseURI","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"challengeFor","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"effectiveTier","type":"function","inputs":[{"name":"bits","type":"uint256","internalType":"uint256"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"pure"},{"name":"getApproved","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"isApprovedForAll","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"nonce","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"mintOpen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mintPrice","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mintedBy","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"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":"proofBitsOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"royaltyInfo","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"salePrice","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setApprovalForAll","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBaseURI","type":"function","inputs":[{"name":"newBaseURI","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMintOpen","type":"function","inputs":[{"name":"open","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"tierForBits","type":"function","inputs":[{"name":"bits","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"pure"},{"name":"tierName","type":"function","inputs":[{"name":"tier","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"pure"},{"name":"tierOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"tokenURI","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalMinted","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.28+commit.7893614a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"open","type":"bool"}],"name":"MintOpenChanged","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"tier","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"proofBits","type":"uint256"}],"name":"UnitMinted","type":"event"},{"inputs":[],"name":"LEGENDARY_UNLOCK_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_BITS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"challengeFor","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"bits","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"effectiveTier","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"tokenId","type":"uint256"}],"name":"proofBitsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"open","type":"bool"}],"name":"setMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"bits","type":"uint256"}],"name":"tierForBits","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint8","name":"tier","type":"uint8"}],"name":"tierName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tierOf","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"errors":{"ERC2981InvalidDefaultRoyalty(uint256,uint256)":[{"details":"The default royalty set is invalid (eg. (numerator / denominator) >= 1)."}],"ERC2981InvalidDefaultRoyaltyReceiver(address)":[{"details":"The default royalty receiver is invalid."}],"ERC2981InvalidTokenRoyalty(uint256,uint256,uint256)":[{"details":"The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1)."}],"ERC2981InvalidTokenRoyaltyReceiver(uint256,address)":[{"details":"The royalty receiver for `tokenId` is invalid."}],"ERC721IncorrectOwner(address,uint256,address)":[{"details":"Indicates an error related to the ownership over a particular token. Used in transfers.","params":{"owner":"Address of the current owner of a token.","sender":"Address whose tokens are being transferred.","tokenId":"Identifier number of a token."}}],"ERC721InsufficientApproval(address,uint256)":[{"details":"Indicates a failure with the `operator`’s approval. Used in transfers.","params":{"operator":"Address that may be allowed to operate on tokens without being their owner.","tokenId":"Identifier number of a token."}}],"ERC721InvalidApprover(address)":[{"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals.","params":{"approver":"Address initiating an approval operation."}}],"ERC721InvalidOperator(address)":[{"details":"Indicates a failure with the `operator` to be approved. Used in approvals.","params":{"operator":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC721InvalidOwner(address)":[{"details":"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721. Used in balance queries.","params":{"owner":"Address of the current owner of a token."}}],"ERC721InvalidReceiver(address)":[{"details":"Indicates a failure with the token `receiver`. Used in transfers.","params":{"receiver":"Address to which tokens are being transferred."}}],"ERC721InvalidSender(address)":[{"details":"Indicates a failure with the token `sender`. Used in transfers.","params":{"sender":"Address whose tokens are being transferred."}}],"ERC721NonexistentToken(uint256)":[{"details":"Indicates a `tokenId` whose `owner` is the zero address.","params":{"tokenId":"Identifier number of a token."}}],"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."}]},"events":{"Approval(address,address,uint256)":{"details":"Emitted when `owner` enables `approved` to manage the `tokenId` token."},"ApprovalForAll(address,address,bool)":{"details":"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."},"Transfer(address,address,uint256)":{"details":"Emitted when `tokenId` token is transferred from `from` to `to`."}},"kind":"dev","methods":{"approve(address,uint256)":{"details":"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event."},"balanceOf(address)":{"details":"Returns the number of tokens in ``owner``'s account."},"constructor":{"params":{"initialOwner":"The project wallet. Deployment goes through the         deterministic CREATE2 deployment proxy (0x4e59…4956C),         because the agentic wallet cannot send a bare creation         transaction — so the owner and the royalty receiver are set         explicitly here instead of relying on msg.sender, which         during a proxy deployment would be the proxy itself."}},"effectiveTier(uint256,uint256)":{"details":"The tier a mint ACTUALLY receives: the raw band from      tierForBits, with the Legendary supply gate applied. A proof      in the Legendary band only yields tier 3 when tokenId is past      LEGENDARY_UNLOCK_SUPPLY; before the unlock it is capped to      tier 2 (Epic). proofBitsOf still stores the true bit count,      so the strength of an early capped proof stays on record.      Pure and public so the cap is testable without grinding a      real 34-bit proof."},"getApproved(uint256)":{"details":"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist."},"isApprovedForAll(address,address)":{"details":"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}"},"name()":{"details":"Returns the token collection name."},"owner()":{"details":"Returns the address of the current owner."},"ownerOf(uint256)":{"details":"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist."},"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."},"royaltyInfo(uint256,uint256)":{"details":"Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of exchange. The royalty amount is denominated and should be paid in that same unit of exchange. NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers."},"safeTransferFrom(address,address,uint256)":{"details":"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC-721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event."},"safeTransferFrom(address,address,uint256,bytes)":{"details":"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event."},"setApprovalForAll(address,bool)":{"details":"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event."},"symbol()":{"details":"Returns the token collection symbol."},"tierForBits(uint256)":{"details":"V2 tier bands by proof strength — wide spacing between tiers:      Common 20-23 bits, Uncommon 24-27, Epic 28-33, Legendary 34+.      (V1 used luck bands of +2/+4/+7 over MIN_BITS, which put      Legendary at just 27 bits; V2 raises the bar to 34.)"},"tokenURI(uint256)":{"details":"Returns the Uniform Resource Identifier (URI) for `tokenId` token."},"transferFrom(address,address,uint256)":{"details":"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"title":"OAGENT Units V2 — proof-of-work pixel sea-animal NFTs on BNB Chain.","version":1},"userdoc":{"kind":"user","methods":{"baseURI()":{"notice":"The base URI every tokenURI is built from. The standard         ERC721 tokenURI(tokenId) returns baseURI + tokenId and         reverts for tokens that do not exist."},"challengeFor(address)":{"notice":"The challenge a wallet must grind against right now. It rotates         after every successful mint because it binds the mint count."},"mint(uint256)":{"notice":"Mint one unit by presenting a nonce whose         keccak256(challengeFor(you) || nonce) has >= MIN_BITS leading         zero bits. Tier is decided by the proof's strength."},"mintPrice(address)":{"notice":"Price of the NEXT unit for a wallet: the base fee times how         many units that wallet will hold after this mint — 1st unit         0.0001 BNB, 2nd 0.0002, 3rd 0.0003. Minting more costs more."},"setBaseURI(string)":{"notice":"Set the metadata base URI (tokenURI = baseURI + tokenId).         Owner-only. Launch plan: set to the live metadata service         before the mint opens, then repointed once to the final         pinned IPFS folder when minting ends. The function itself         is not code-locked; the two-use plan is public in llms.txt."},"totalSupply()":{"notice":"Total units minted so far. Same value as totalMinted();         indexers and marketplaces (e.g. Element) expect a readable         totalSupply() — V1 lacked one, which broke their collection         sync, so V2 exposes it explicitly."},"withdraw()":{"notice":"Withdraw accumulated mint fees to the owner wallet."}},"notice":"Mint works like the classic PoW drops: each wallet gets a challenge         (challengeFor), and mint(nonce) succeeds only when         keccak256(challenge || nonce) has at least MIN_BITS leading zero         bits. The STRONGER the proof, the rarer the unit — rarity is mined,         not drawn. V2 widens the tier ladder (Hans's decision, 2026-11-02)         so high proofs no longer fall into the top tier by default:         20-23 bits Common, 24-27 Uncommon, 28-33 Epic, 34+ Legendary.         Legendary is ALSO supply-gated: it only unlocks once the         collection passes LEGENDARY_UNLOCK_SUPPLY (1000) minted units,         i.e. for tokenId 1001 and later. Before that, even a 34+ bit         proof is recorded at full strength in proofBitsOf but its unit         is capped at Epic — see effectiveTier().         Every unit is UNIQUE: its metadata (image + traits)         is rendered off-chain from its own mint proof and served from         the collection base URI — a live metadata service while the         mint runs, frozen to a pinned IPFS folder when minting ends.         tokenURI(tokenId) is baseURI + tokenId (see _baseURI).         The mint price escalates per wallet: 0.0001 BNB for the first         unit, 0.0002 for the second, 0.0003 for the third (see         mintPrice). Fees go to the contract and can be withdrawn by the         owner; gas is paid by the minter to the network, as usual.","version":1}},"settings":{"compilationTarget":{"project/contracts/OAgentUnitsV2.sol":"OAgentUnitsV2"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":["project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.6.1/"],"viaIR":true},"sources":{"npm/@openzeppelin/contracts@5.6.1/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"npm/@openzeppelin/contracts@5.6.1/interfaces/IERC2981.sol":{"keccak256":"0xafab0e6c71905303c47dd254168cb31efc91f0ae284cde609b0202f97f85469e","license":"MIT","urls":["bzz-raw://824d05aec56eb82a2a3c28eece530dc0792d3a008b09d01444e57cf4aceb0445","dweb:/ipfs/QmVvqmJ5UobuRU9Q4JMyXxBfzKs2cpjbWXMNpxX4binTX8"]},"npm/@openzeppelin/contracts@5.6.1/interfaces/draft-IERC6093.sol":{"keccak256":"0x1b88b3fb3d85ba5496d7d5f396f83ee1fddcdd6762059ff65992655b67920998","license":"MIT","urls":["bzz-raw://89393bb3212da1c0889601b9706a07b39419ddc4d2faab9eaf6e7f9152cf6a1c","dweb:/ipfs/QmcCfzzxv1Bkdz1c1yF4gQCeYb6Us5BJANnzTFqawfd1HL"]},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/ERC721.sol":{"keccak256":"0xf6bb0dc431a9c50e25756412ec14cfcd4dc61dd40b8dc0e1b58ec09fce6d5564","license":"MIT","urls":["bzz-raw://eb87fef7e8ed754b8600cd5d42e4f23128059006368ffd19e4d50cc166471ee5","dweb:/ipfs/Qmc1vy1cevKreGUsG7S79gyhNvDtPnNz9qG47eYVHmMKLs"]},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721.sol":{"keccak256":"0xf78f05f3b8c9f75570e85300d7b4600d7f6f6a198449273f31d44c1641adb46f","license":"MIT","urls":["bzz-raw://e28b872613b45e0e801d4995aa4380be2531147bfe2d85c1d6275f1de514fba3","dweb:/ipfs/QmeeFcfShHYaS3BdgVj78nxR28ZaVUwbvr66ud8bT6kzw9"]},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721Receiver.sol":{"keccak256":"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055","license":"MIT","urls":["bzz-raw://8dc7e7ab5b8ea36c15027ab04221b05d1c970f47a53e9fd47ead8ca665d49c7e","dweb:/ipfs/Qmeeph7fsDyfRr8vb2L8KcDEmKPb224TAayMvgqgGAnqpL"]},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/extensions/IERC721Metadata.sol":{"keccak256":"0xf46268c37522320bb2119a5a394bc5c739a95c0c574c8d08e8c643f4d06e5c76","license":"MIT","urls":["bzz-raw://517e4b295f35b9947c72ad7379a6089439ece7bb6f4a2ea0a159da13046c039e","dweb:/ipfs/QmZXzkSfLUbvujig3zVbpDHykpHhqLpvQtdiN3B5j4TA3u"]},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/utils/ERC721Utils.sol":{"keccak256":"0xc7efbc23214ad7dced8bf2249460f4bda114d57f6a0079f84040654280f455bd","license":"MIT","urls":["bzz-raw://1f5bd44efca8c8c0d74439e7b808d1f9c4af1df78f91fef8e8bbca8104645435","dweb:/ipfs/Qmb42XSd8MKsEitp42sZkSFGqDRigk6QgGXtiJyJqUZJJ6"]},"npm/@openzeppelin/contracts@5.6.1/token/common/ERC2981.sol":{"keccak256":"0xa33062c6e0675a74a27b06a4ae4c6ad4d3b7219e27d9c146a4ac57295096d393","license":"MIT","urls":["bzz-raw://777543d88013fdd0ee7f47ac619fb13a1993bb667675d8816fde024f73cfbf2d","dweb:/ipfs/QmfDS9uL1XZ2oUe1PH8eRCRyu3Hf98cK8ksGf4Ww7kg5zv"]},"npm/@openzeppelin/contracts@5.6.1/utils/Bytes.sol":{"keccak256":"0xf80e4b96b6849936ea0fabd76cf81b13d7276295fddb1e1c07afb3ddf650b0ac","license":"MIT","urls":["bzz-raw://6430007255ac11c6e9c4331a418f3af52ff66fbbae959f645301d025b20aeb08","dweb:/ipfs/QmQE5fjmBBRw9ndnzJuC2uskYss1gbaR7JdazoCf1FGoBj"]},"npm/@openzeppelin/contracts@5.6.1/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"npm/@openzeppelin/contracts@5.6.1/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","license":"MIT","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"]},"npm/@openzeppelin/contracts@5.6.1/utils/Strings.sol":{"keccak256":"0x1fdc2de9585ab0f1c417f02a873a2b6343cd64bb7ffec6b00ffa11a4a158d9e8","license":"MIT","urls":["bzz-raw://1ab223a3d969c6cd7610049431dd42740960c477e45878f5d8b54411f7a32bdc","dweb:/ipfs/QmWumhjvhpKcwx3vDPQninsNVTc3BGvqaihkQakFkQYpaS"]},"npm/@openzeppelin/contracts@5.6.1/utils/introspection/ERC165.sol":{"keccak256":"0x2d9dc2fe26180f74c11c13663647d38e259e45f95eb88f57b61d2160b0109d3e","license":"MIT","urls":["bzz-raw://81233d1f98060113d9922180bb0f14f8335856fe9f339134b09335e9f678c377","dweb:/ipfs/QmWh6R35SarhAn4z2wH8SU456jJSYL2FgucfTFgbHJJN4E"]},"npm/@openzeppelin/contracts@5.6.1/utils/introspection/IERC165.sol":{"keccak256":"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c","license":"MIT","urls":["bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617","dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u"]},"npm/@openzeppelin/contracts@5.6.1/utils/math/Math.sol":{"keccak256":"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857","license":"MIT","urls":["bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5","dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y"]},"npm/@openzeppelin/contracts@5.6.1/utils/math/SafeCast.sol":{"keccak256":"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083","license":"MIT","urls":["bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9","dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif"]},"npm/@openzeppelin/contracts@5.6.1/utils/math/SignedMath.sol":{"keccak256":"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3","license":"MIT","urls":["bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03","dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ"]},"project/contracts/OAgentUnitsV2.sol":{"keccak256":"0x4e6ffa8136a19fbeedb85e51a37a7fc465a7ab1f53db5a990f37aff931362a12","license":"MIT","urls":["bzz-raw://3d613d08cd1c4fab56dcd874f4a0d93a19f98246854152cb4510667ebeeaf0e3","dweb:/ipfs/QmUsdsXVk8vAvPrHQgasYMv2Jh1VQnREiGRyhnLQPYyNia"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint96":{"label":"uint96","encoding":"inplace","numberOfBytes":"12"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint8)":{"key":"t_uint256","label":"mapping(uint256 => uint8)","value":"t_uint8","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_uint256,t_address)":{"key":"t_uint256","label":"mapping(uint256 => address)","value":"t_address","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(RoyaltyInfo)1533_storage":{"label":"struct ERC2981.RoyaltyInfo","members":[{"slot":"0","type":"t_address","astId":1530,"label":"receiver","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"0","type":"t_uint96","astId":1532,"label":"royaltyFraction","offset":20,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"}],"encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_bool))":{"key":"t_address","label":"mapping(address => mapping(address => bool))","value":"t_mapping(t_address,t_bool)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(RoyaltyInfo)1533_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct ERC2981.RoyaltyInfo)","value":"t_struct(RoyaltyInfo)1533_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_string_storage","astId":337,"label":"_name","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"1","type":"t_string_storage","astId":339,"label":"_symbol","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"2","type":"t_mapping(t_uint256,t_address)","astId":343,"label":"_owners","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"3","type":"t_mapping(t_address,t_uint256)","astId":347,"label":"_balances","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"4","type":"t_mapping(t_uint256,t_address)","astId":351,"label":"_tokenApprovals","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"5","type":"t_mapping(t_address,t_mapping(t_address,t_bool))","astId":357,"label":"_operatorApprovals","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"6","type":"t_struct(RoyaltyInfo)1533_storage","astId":1536,"label":"_defaultRoyaltyInfo","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"7","type":"t_mapping(t_uint256,t_struct(RoyaltyInfo)1533_storage)","astId":1541,"label":"_tokenRoyaltyInfo","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"8","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"9","type":"t_uint256","astId":7807,"label":"totalMinted","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"10","type":"t_bool","astId":7810,"label":"mintOpen","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"11","type":"t_string_storage","astId":7813,"label":"_baseTokenURI","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"12","type":"t_mapping(t_uint256,t_uint8)","astId":7817,"label":"_tiers","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"13","type":"t_mapping(t_uint256,t_uint256)","astId":7821,"label":"_proofBits","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"14","type":"t_mapping(t_address,t_uint256)","astId":7825,"label":"mintedBy","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"}]},"transientStorageLayout":{"types":null,"storage":[]},"userdoc":{"kind":"user","notice":"Mint works like the classic PoW drops: each wallet gets a challenge         (challengeFor), and mint(nonce) succeeds only when         keccak256(challenge || nonce) has at least MIN_BITS leading zero         bits. The STRONGER the proof, the rarer the unit — rarity is mined,         not drawn. V2 widens the tier ladder (Hans's decision, 2026-11-02)         so high proofs no longer fall into the top tier by default:         20-23 bits Common, 24-27 Uncommon, 28-33 Epic, 34+ Legendary.         Legendary is ALSO supply-gated: it only unlocks once the         collection passes LEGENDARY_UNLOCK_SUPPLY (1000) minted units,         i.e. for tokenId 1001 and later. Before that, even a 34+ bit         proof is recorded at full strength in proofBitsOf but its unit         is capped at Epic — see effectiveTier().         Every unit is UNIQUE: its metadata (image + traits)         is rendered off-chain from its own mint proof and served from         the collection base URI — a live metadata service while the         mint runs, frozen to a pinned IPFS folder when minting ends.         tokenURI(tokenId) is baseURI + tokenId (see _baseURI).         The mint price escalates per wallet: 0.0001 BNB for the first         unit, 0.0002 for the second, 0.0003 for the third (see         mintPrice). Fees go to the contract and can be withdrawn by the         owner; gas is paid by the minter to the network, as usual.","methods":{"baseURI()":{"notice":"The base URI every tokenURI is built from. The standard         ERC721 tokenURI(tokenId) returns baseURI + tokenId and         reverts for tokens that do not exist."},"withdraw()":{"notice":"Withdraw accumulated mint fees to the owner wallet."},"mint(uint256)":{"notice":"Mint one unit by presenting a nonce whose         keccak256(challengeFor(you) || nonce) has >= MIN_BITS leading         zero bits. Tier is decided by the proof's strength."},"totalSupply()":{"notice":"Total units minted so far. Same value as totalMinted();         indexers and marketplaces (e.g. Element) expect a readable         totalSupply() — V1 lacked one, which broke their collection         sync, so V2 exposes it explicitly."},"mintPrice(address)":{"notice":"Price of the NEXT unit for a wallet: the base fee times how         many units that wallet will hold after this mint — 1st unit         0.0001 BNB, 2nd 0.0002, 3rd 0.0003. Minting more costs more."},"setBaseURI(string)":{"notice":"Set the metadata base URI (tokenURI = baseURI + tokenId).         Owner-only. Launch plan: set to the live metadata service         before the mint opens, then repointed once to the final         pinned IPFS folder when minting ends. The function itself         is not code-locked; the two-use plan is public in llms.txt."},"challengeFor(address)":{"notice":"The challenge a wallet must grind against right now. It rotates         after every successful mint because it binds the mint count."}},"version":1},"devdoc":{"kind":"dev","title":"OAGENT Units V2 — proof-of-work pixel sea-animal NFTs on BNB Chain.","errors":{"ERC721InvalidOwner(address)":[{"params":{"owner":"Address of the current owner of a token."},"details":"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721. Used in balance queries."}],"ERC721InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC721InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC721InvalidOperator(address)":[{"params":{"operator":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `operator` to be approved. Used in approvals."}],"ERC721InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"ERC721NonexistentToken(uint256)":[{"params":{"tokenId":"Identifier number of a token."},"details":"Indicates a `tokenId` whose `owner` is the zero address."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC721InsufficientApproval(address,uint256)":[{"params":{"tokenId":"Identifier number of a token.","operator":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `operator`’s approval. Used in transfers."}],"ERC2981InvalidDefaultRoyalty(uint256,uint256)":[{"details":"The default royalty set is invalid (eg. (numerator / denominator) >= 1)."}],"ERC2981InvalidDefaultRoyaltyReceiver(address)":[{"details":"The default royalty receiver is invalid."}],"ERC721IncorrectOwner(address,uint256,address)":[{"params":{"owner":"Address of the current owner of a token.","sender":"Address whose tokens are being transferred.","tokenId":"Identifier number of a token."},"details":"Indicates an error related to the ownership over a particular token. Used in transfers."}],"ERC2981InvalidTokenRoyalty(uint256,uint256,uint256)":[{"details":"The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1)."}],"ERC2981InvalidTokenRoyaltyReceiver(uint256,address)":[{"details":"The royalty receiver for `tokenId` is invalid."}]},"events":{"Approval(address,address,uint256)":{"details":"Emitted when `owner` enables `approved` to manage the `tokenId` token."},"Transfer(address,address,uint256)":{"details":"Emitted when `tokenId` token is transferred from `from` to `to`."},"ApprovalForAll(address,address,bool)":{"details":"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."}},"methods":{"name()":{"details":"Returns the token collection name."},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the token collection symbol."},"constructor":{"params":{"initialOwner":"The project wallet. Deployment goes through the         deterministic CREATE2 deployment proxy (0x4e59…4956C),         because the agentic wallet cannot send a bare creation         transaction — so the owner and the royalty receiver are set         explicitly here instead of relying on msg.sender, which         during a proxy deployment would be the proxy itself."}},"ownerOf(uint256)":{"details":"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist."},"tokenURI(uint256)":{"details":"Returns the Uniform Resource Identifier (URI) for `tokenId` token."},"balanceOf(address)":{"details":"Returns the number of tokens in ``owner``'s account."},"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."},"getApproved(uint256)":{"details":"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist."},"tierForBits(uint256)":{"details":"V2 tier bands by proof strength — wide spacing between tiers:      Common 20-23 bits, Uncommon 24-27, Epic 28-33, Legendary 34+.      (V1 used luck bands of +2/+4/+7 over MIN_BITS, which put      Legendary at just 27 bits; V2 raises the bar to 34.)"},"approve(address,uint256)":{"details":"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"royaltyInfo(uint256,uint256)":{"details":"Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of exchange. The royalty amount is denominated and should be paid in that same unit of exchange. NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers."},"effectiveTier(uint256,uint256)":{"details":"The tier a mint ACTUALLY receives: the raw band from      tierForBits, with the Legendary supply gate applied. A proof      in the Legendary band only yields tier 3 when tokenId is past      LEGENDARY_UNLOCK_SUPPLY; before the unlock it is capped to      tier 2 (Epic). proofBitsOf still stores the true bit count,      so the strength of an early capped proof stays on record.      Pure and public so the cap is testable without grinding a      real 34-bit proof."},"setApprovalForAll(address,bool)":{"details":"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event."},"isApprovedForAll(address,address)":{"details":"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}"},"transferFrom(address,address,uint256)":{"details":"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event."},"safeTransferFrom(address,address,uint256)":{"details":"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC-721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event."},"safeTransferFrom(address,address,uint256,bytes)":{"details":"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event."}},"version":1},"sourceIds":{"project/contracts/OAgentUnitsV2.sol":{"id":18},"npm/@openzeppelin/contracts@5.6.1/utils/Bytes.sol":{"id":9},"npm/@openzeppelin/contracts@5.6.1/utils/Panic.sol":{"id":11},"npm/@openzeppelin/contracts@5.6.1/utils/Context.sol":{"id":10},"npm/@openzeppelin/contracts@5.6.1/utils/Strings.sol":{"id":12},"npm/@openzeppelin/contracts@5.6.1/access/Ownable.sol":{"id":0},"npm/@openzeppelin/contracts@5.6.1/utils/math/Math.sol":{"id":15},"npm/@openzeppelin/contracts@5.6.1/interfaces/IERC2981.sol":{"id":1},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/ERC721.sol":{"id":3},"npm/@openzeppelin/contracts@5.6.1/utils/math/SafeCast.sol":{"id":16},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721.sol":{"id":4},"npm/@openzeppelin/contracts@5.6.1/token/common/ERC2981.sol":{"id":8},"npm/@openzeppelin/contracts@5.6.1/utils/math/SignedMath.sol":{"id":17},"npm/@openzeppelin/contracts@5.6.1/interfaces/draft-IERC6093.sol":{"id":2},"npm/@openzeppelin/contracts@5.6.1/utils/introspection/ERC165.sol":{"id":13},"npm/@openzeppelin/contracts@5.6.1/utils/introspection/IERC165.sol":{"id":14},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721Receiver.sol":{"id":5},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/utils/ERC721Utils.sol":{"id":7},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/extensions/IERC721Metadata.sol":{"id":6}},"additionalInput":null,"stdJsonInput":{"sources":{"project/contracts/OAgentUnitsV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\nimport \"@openzeppelin/contracts/token/common/ERC2981.sol\";\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\n\n/// @title OAGENT Units V2 — proof-of-work pixel sea-animal NFTs on BNB Chain.\n/// @notice Mint works like the classic PoW drops: each wallet gets a challenge\n///         (challengeFor), and mint(nonce) succeeds only when\n///         keccak256(challenge || nonce) has at least MIN_BITS leading zero\n///         bits. The STRONGER the proof, the rarer the unit — rarity is mined,\n///         not drawn. V2 widens the tier ladder (Hans's decision, 2026-11-02)\n///         so high proofs no longer fall into the top tier by default:\n///         20-23 bits Common, 24-27 Uncommon, 28-33 Epic, 34+ Legendary.\n///         Legendary is ALSO supply-gated: it only unlocks once the\n///         collection passes LEGENDARY_UNLOCK_SUPPLY (1000) minted units,\n///         i.e. for tokenId 1001 and later. Before that, even a 34+ bit\n///         proof is recorded at full strength in proofBitsOf but its unit\n///         is capped at Epic — see effectiveTier().\n///         Every unit is UNIQUE: its metadata (image + traits)\n///         is rendered off-chain from its own mint proof and served from\n///         the collection base URI — a live metadata service while the\n///         mint runs, frozen to a pinned IPFS folder when minting ends.\n///         tokenURI(tokenId) is baseURI + tokenId (see _baseURI).\n///         The mint price escalates per wallet: 0.0001 BNB for the first\n///         unit, 0.0002 for the second, 0.0003 for the third (see\n///         mintPrice). Fees go to the contract and can be withdrawn by the\n///         owner; gas is paid by the minter to the network, as usual.\ncontract OAgentUnitsV2 is ERC721, ERC2981, Ownable {\n    uint256 public constant MAX_SUPPLY = 3333;\n    uint256 public constant MINT_FEE = 0.0001 ether;\n    uint256 public constant MAX_PER_WALLET = 3;\n    uint256 public constant MIN_BITS = 20;\n    // Legendary (tier 3) unlocks only for tokenIds ABOVE this count:\n    // tokens 1..1000 can reach at most Epic, no matter the proof strength.\n    uint256 public constant LEGENDARY_UNLOCK_SUPPLY = 1000;\n\n    uint256 public totalMinted;\n    // The mint starts CLOSED. The owner opens it with setMintOpen(true)\n    // only after the metadata base URI points at the live service, so no\n    // unit can be minted against a placeholder baseURI.\n    bool public mintOpen = false;\n\n    // PLACEHOLDER — not a real CID. Point this at the live metadata\n    // service with setBaseURI() before the mint opens; it is repointed\n    // once to the final pinned IPFS folder when minting ends.\n    // tokenURI = this + tokenId.\n    string private _baseTokenURI = \"ipfs://OAGENT_METADATA_BASE/\";\n\n    mapping(uint256 => uint8) private _tiers; // 0 Common, 1 Uncommon, 2 Epic, 3 Legendary\n    mapping(uint256 => uint256) private _proofBits; // leading zero bits of the mint proof\n    mapping(address => uint256) public mintedBy;\n\n    event UnitMinted(address indexed minter, uint256 indexed tokenId, uint8 tier, uint256 proofBits);\n    event MintOpenChanged(bool open);\n    event BaseURIChanged(string newBaseURI);\n\n    /// @param initialOwner The project wallet. Deployment goes through the\n    ///         deterministic CREATE2 deployment proxy (0x4e59…4956C),\n    ///         because the agentic wallet cannot send a bare creation\n    ///         transaction — so the owner and the royalty receiver are set\n    ///         explicitly here instead of relying on msg.sender, which\n    ///         during a proxy deployment would be the proxy itself.\n    constructor(address initialOwner) ERC721(\"OAGENT Units\", \"OUNIT\") Ownable(initialOwner) {\n        _setDefaultRoyalty(initialOwner, 500); // 5% secondary royalty to the owner wallet; no setter exists, so this can never change\n    }\n\n    // ---------------- mint (proof-of-work) ----------------\n\n    /// @notice The challenge a wallet must grind against right now. It rotates\n    ///         after every successful mint because it binds the mint count.\n    function challengeFor(address wallet) public view returns (bytes32) {\n        return keccak256(abi.encodePacked(address(this), wallet, mintedBy[wallet]));\n    }\n\n    /// @notice Price of the NEXT unit for a wallet: the base fee times how\n    ///         many units that wallet will hold after this mint — 1st unit\n    ///         0.0001 BNB, 2nd 0.0002, 3rd 0.0003. Minting more costs more.\n    function mintPrice(address wallet) public view returns (uint256) {\n        return MINT_FEE * (mintedBy[wallet] + 1);\n    }\n\n    /// @notice Mint one unit by presenting a nonce whose\n    ///         keccak256(challengeFor(you) || nonce) has >= MIN_BITS leading\n    ///         zero bits. Tier is decided by the proof's strength.\n    function mint(uint256 nonce) external payable {\n        require(mintOpen, \"mint is closed\");\n        require(mintedBy[msg.sender] < MAX_PER_WALLET, \"wallet limit\");\n        require(totalMinted < MAX_SUPPLY, \"sold out\");\n        require(msg.value == mintPrice(msg.sender), \"wrong fee\");\n\n        bytes32 hash = keccak256(abi.encodePacked(challengeFor(msg.sender), nonce));\n        uint256 bits = _leadingZeroBits(hash);\n        require(bits >= MIN_BITS, \"proof too weak\");\n\n        uint256 tokenId = ++totalMinted;\n        uint8 tier = effectiveTier(bits, tokenId);\n        _tiers[tokenId] = tier;\n        _proofBits[tokenId] = bits;\n        mintedBy[msg.sender] += 1;\n        _safeMint(msg.sender, tokenId);\n        emit UnitMinted(msg.sender, tokenId, tier, bits);\n    }\n\n    /// @dev V2 tier bands by proof strength — wide spacing between tiers:\n    ///      Common 20-23 bits, Uncommon 24-27, Epic 28-33, Legendary 34+.\n    ///      (V1 used luck bands of +2/+4/+7 over MIN_BITS, which put\n    ///      Legendary at just 27 bits; V2 raises the bar to 34.)\n    function tierForBits(uint256 bits) public pure returns (uint8) {\n        if (bits >= 34) return 3;\n        if (bits >= 28) return 2;\n        if (bits >= 24) return 1;\n        return 0;\n    }\n\n    /// @dev The tier a mint ACTUALLY receives: the raw band from\n    ///      tierForBits, with the Legendary supply gate applied. A proof\n    ///      in the Legendary band only yields tier 3 when tokenId is past\n    ///      LEGENDARY_UNLOCK_SUPPLY; before the unlock it is capped to\n    ///      tier 2 (Epic). proofBitsOf still stores the true bit count,\n    ///      so the strength of an early capped proof stays on record.\n    ///      Pure and public so the cap is testable without grinding a\n    ///      real 34-bit proof.\n    function effectiveTier(uint256 bits, uint256 tokenId) public pure returns (uint8) {\n        uint8 tier = tierForBits(bits);\n        if (tier == 3 && tokenId <= LEGENDARY_UNLOCK_SUPPLY) return 2;\n        return tier;\n    }\n\n    function _leadingZeroBits(bytes32 h) internal pure returns (uint256 n) {\n        uint256 x = uint256(h);\n        if (x == 0) return 256;\n        while (x < (1 << 255)) {\n            x <<= 1;\n            n++;\n        }\n    }\n\n    function proofBitsOf(uint256 tokenId) public view returns (uint256) {\n        _requireOwned(tokenId);\n        return _proofBits[tokenId];\n    }\n\n    // ---------------- views ----------------\n\n    /// @notice Total units minted so far. Same value as totalMinted();\n    ///         indexers and marketplaces (e.g. Element) expect a readable\n    ///         totalSupply() — V1 lacked one, which broke their collection\n    ///         sync, so V2 exposes it explicitly.\n    function totalSupply() public view returns (uint256) {\n        return totalMinted;\n    }\n\n    function tierOf(uint256 tokenId) public view returns (uint8) {\n        _requireOwned(tokenId);\n        return _tiers[tokenId];\n    }\n\n    function tierName(uint8 tier) public pure returns (string memory) {\n        if (tier == 0) return \"Common\";\n        if (tier == 1) return \"Uncommon\";\n        if (tier == 2) return \"Epic\";\n        return \"Legendary\";\n    }\n\n    // ---------------- metadata ----------------\n\n    /// @notice The base URI every tokenURI is built from. The standard\n    ///         ERC721 tokenURI(tokenId) returns baseURI + tokenId and\n    ///         reverts for tokens that do not exist.\n    function baseURI() public view returns (string memory) {\n        return _baseTokenURI;\n    }\n\n    function _baseURI() internal view override returns (string memory) {\n        return _baseTokenURI;\n    }\n\n    // ---------------- owner ----------------\n\n    function setMintOpen(bool open) external onlyOwner {\n        mintOpen = open;\n        emit MintOpenChanged(open);\n    }\n\n    /// @notice Set the metadata base URI (tokenURI = baseURI + tokenId).\n    ///         Owner-only. Launch plan: set to the live metadata service\n    ///         before the mint opens, then repointed once to the final\n    ///         pinned IPFS folder when minting ends. The function itself\n    ///         is not code-locked; the two-use plan is public in llms.txt.\n    function setBaseURI(string calldata newBaseURI) external onlyOwner {\n        _baseTokenURI = newBaseURI;\n        emit BaseURIChanged(newBaseURI);\n    }\n\n    /// @notice Withdraw accumulated mint fees to the owner wallet.\n    function withdraw() external onlyOwner {\n        uint256 bal = address(this).balance;\n        require(bal > 0, \"nothing to withdraw\");\n        (bool ok, ) = payable(owner()).call{value: bal}(\"\");\n        require(ok, \"withdraw failed\");\n    }\n\n    function supportsInterface(bytes4 interfaceId)\n        public\n        view\n        override(ERC721, ERC2981)\n        returns (bool)\n    {\n        return super.supportsInterface(interfaceId);\n    }\n}\n"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/interfaces/IERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC2981.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Interface for the NFT Royalty Standard.\n *\n * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal\n * support for royalty payments across all NFT marketplaces and ecosystem participants.\n */\ninterface IERC2981 is IERC165 {\n    /**\n     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of\n     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.\n     *\n     * NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the\n     * royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) external view returns (address receiver, uint256 royaltyAmount);\n}\n"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/token/common/ERC2981.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/common/ERC2981.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC2981} from \"../../interfaces/IERC2981.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.\n *\n * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for\n * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.\n *\n * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the\n * fee is specified in basis points by default.\n *\n * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See\n * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to\n * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.\n */\nabstract contract ERC2981 is IERC2981, ERC165 {\n    struct RoyaltyInfo {\n        address receiver;\n        uint96 royaltyFraction;\n    }\n\n    RoyaltyInfo private _defaultRoyaltyInfo;\n    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;\n\n    /**\n     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The default royalty receiver is invalid.\n     */\n    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);\n\n    /**\n     * @dev The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The royalty receiver for `tokenId` is invalid.\n     */\n    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {\n        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /// @inheritdoc IERC2981\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) public view virtual returns (address receiver, uint256 amount) {\n        RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];\n        address royaltyReceiver = _royaltyInfo.receiver;\n        uint96 royaltyFraction = _royaltyInfo.royaltyFraction;\n\n        if (royaltyReceiver == address(0)) {\n            royaltyReceiver = _defaultRoyaltyInfo.receiver;\n            royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;\n        }\n\n        uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();\n\n        return (royaltyReceiver, royaltyAmount);\n    }\n\n    /**\n     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a\n     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an\n     * override.\n     */\n    function _feeDenominator() internal pure virtual returns (uint96) {\n        return 10000;\n    }\n\n    /**\n     * @dev Sets the royalty information that all ids in this contract will default to.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));\n        }\n\n        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Removes default royalty information.\n     */\n    function _deleteDefaultRoyalty() internal virtual {\n        delete _defaultRoyaltyInfo;\n    }\n\n    /**\n     * @dev Sets the royalty information for a specific token id, overriding the global default.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));\n        }\n\n        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Resets royalty information for the token id back to the global default.\n     */\n    function _resetTokenRoyalty(uint256 tokenId) internal virtual {\n        delete _tokenRoyaltyInfo[tokenId];\n    }\n}\n"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"},"npm/@openzeppelin/contracts@5.6.1/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"}},"language":"Solidity","settings":{"viaIR":true,"optimizer":{"runs":200,"enabled":true},"evmVersion":"cancun","remappings":["project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.6.1/"]}},"stdJsonOutput":{"sources":{"project/contracts/OAgentUnitsV2.sol":{"id":18},"npm/@openzeppelin/contracts@5.6.1/utils/Bytes.sol":{"id":9},"npm/@openzeppelin/contracts@5.6.1/utils/Panic.sol":{"id":11},"npm/@openzeppelin/contracts@5.6.1/utils/Context.sol":{"id":10},"npm/@openzeppelin/contracts@5.6.1/utils/Strings.sol":{"id":12},"npm/@openzeppelin/contracts@5.6.1/access/Ownable.sol":{"id":0},"npm/@openzeppelin/contracts@5.6.1/utils/math/Math.sol":{"id":15},"npm/@openzeppelin/contracts@5.6.1/interfaces/IERC2981.sol":{"id":1},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/ERC721.sol":{"id":3},"npm/@openzeppelin/contracts@5.6.1/utils/math/SafeCast.sol":{"id":16},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721.sol":{"id":4},"npm/@openzeppelin/contracts@5.6.1/token/common/ERC2981.sol":{"id":8},"npm/@openzeppelin/contracts@5.6.1/utils/math/SignedMath.sol":{"id":17},"npm/@openzeppelin/contracts@5.6.1/interfaces/draft-IERC6093.sol":{"id":2},"npm/@openzeppelin/contracts@5.6.1/utils/introspection/ERC165.sol":{"id":13},"npm/@openzeppelin/contracts@5.6.1/utils/introspection/IERC165.sol":{"id":14},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721Receiver.sol":{"id":5},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/utils/ERC721Utils.sol":{"id":7},"npm/@openzeppelin/contracts@5.6.1/token/ERC721/extensions/IERC721Metadata.sol":{"id":6}},"contracts":{"project/contracts/OAgentUnitsV2.sol":{"OAgentUnitsV2":{"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ERC2981InvalidDefaultRoyalty","type":"error","inputs":[{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC2981InvalidTokenRoyalty","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721IncorrectOwner","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InsufficientApproval","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"ERC721InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOperator","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC721NonexistentToken","type":"error","inputs":[{"name":"tokenId","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":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"ApprovalForAll","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"BaseURIChanged","type":"event","inputs":[{"name":"newBaseURI","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"name":"MintOpenChanged","type":"event","inputs":[{"name":"open","type":"bool","indexed":false,"internalType":"bool"}],"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":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"UnitMinted","type":"event","inputs":[{"name":"minter","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"tier","type":"uint8","indexed":false,"internalType":"uint8"},{"name":"proofBits","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"LEGENDARY_UNLOCK_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MINT_FEE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MIN_BITS","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"baseURI","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"challengeFor","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"effectiveTier","type":"function","inputs":[{"name":"bits","type":"uint256","internalType":"uint256"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"pure"},{"name":"getApproved","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"isApprovedForAll","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"nonce","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"mintOpen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mintPrice","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mintedBy","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"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":"proofBitsOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"royaltyInfo","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"salePrice","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setApprovalForAll","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setBaseURI","type":"function","inputs":[{"name":"newBaseURI","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMintOpen","type":"function","inputs":[{"name":"open","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"tierForBits","type":"function","inputs":[{"name":"bits","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"pure"},{"name":"tierName","type":"function","inputs":[{"name":"tier","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"pure"},{"name":"tierOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"tokenURI","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalMinted","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialOwner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"ERC2981InvalidDefaultRoyalty\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC2981InvalidDefaultRoyaltyReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"denominator\",\"type\":\"uint256\"}],\"name\":\"ERC2981InvalidTokenRoyalty\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC2981InvalidTokenRoyaltyReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"newBaseURI\",\"type\":\"string\"}],\"name\":\"BaseURIChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"open\",\"type\":\"bool\"}],\"name\":\"MintOpenChanged\",\"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\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"minter\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"tier\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proofBits\",\"type\":\"uint256\"}],\"name\":\"UnitMinted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"LEGENDARY_UNLOCK_SUPPLY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_PER_WALLET\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_SUPPLY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINT_FEE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_BITS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"}],\"name\":\"challengeFor\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bits\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"effectiveTier\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintOpen\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"}],\"name\":\"mintPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"mintedBy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"proofBitsOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salePrice\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newBaseURI\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"open\",\"type\":\"bool\"}],\"name\":\"setMintOpen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bits\",\"type\":\"uint256\"}],\"name\":\"tierForBits\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"tier\",\"type\":\"uint8\"}],\"name\":\"tierName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tierOf\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"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\":\"totalMinted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"ERC2981InvalidDefaultRoyalty(uint256,uint256)\":[{\"details\":\"The default royalty set is invalid (eg. (numerator / denominator) >= 1).\"}],\"ERC2981InvalidDefaultRoyaltyReceiver(address)\":[{\"details\":\"The default royalty receiver is invalid.\"}],\"ERC2981InvalidTokenRoyalty(uint256,uint256,uint256)\":[{\"details\":\"The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).\"}],\"ERC2981InvalidTokenRoyaltyReceiver(uint256,address)\":[{\"details\":\"The royalty receiver for `tokenId` is invalid.\"}],\"ERC721IncorrectOwner(address,uint256,address)\":[{\"details\":\"Indicates an error related to the ownership over a particular token. Used in transfers.\",\"params\":{\"owner\":\"Address of the current owner of a token.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InsufficientApproval(address,uint256)\":[{\"details\":\"Indicates a failure with the `operator`’s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC721InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC721InvalidOwner(address)\":[{\"details\":\"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721. Used in balance queries.\",\"params\":{\"owner\":\"Address of the current owner of a token.\"}}],\"ERC721InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC721InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC721NonexistentToken(uint256)\":[{\"details\":\"Indicates a `tokenId` whose `owner` is the zero address.\",\"params\":{\"tokenId\":\"Identifier number of a token.\"}}],\"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.\"}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"constructor\":{\"params\":{\"initialOwner\":\"The project wallet. Deployment goes through the         deterministic CREATE2 deployment proxy (0x4e59…4956C),         because the agentic wallet cannot send a bare creation         transaction — so the owner and the royalty receiver are set         explicitly here instead of relying on msg.sender, which         during a proxy deployment would be the proxy itself.\"}},\"effectiveTier(uint256,uint256)\":{\"details\":\"The tier a mint ACTUALLY receives: the raw band from      tierForBits, with the Legendary supply gate applied. A proof      in the Legendary band only yields tier 3 when tokenId is past      LEGENDARY_UNLOCK_SUPPLY; before the unlock it is capped to      tier 2 (Epic). proofBitsOf still stores the true bit count,      so the strength of an early capped proof stays on record.      Pure and public so the cap is testable without grinding a      real 34-bit proof.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"name()\":{\"details\":\"Returns the token collection name.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"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.\"},\"royaltyInfo(uint256,uint256)\":{\"details\":\"Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of exchange. The royalty amount is denominated and should be paid in that same unit of exchange. NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC-721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event.\"},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tierForBits(uint256)\":{\"details\":\"V2 tier bands by proof strength — wide spacing between tiers:      Common 20-23 bits, Uncommon 24-27, Epic 28-33, Legendary 34+.      (V1 used luck bands of +2/+4/+7 over MIN_BITS, which put      Legendary at just 27 bits; V2 raises the bar to 34.)\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"OAGENT Units V2 — proof-of-work pixel sea-animal NFTs on BNB Chain.\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"baseURI()\":{\"notice\":\"The base URI every tokenURI is built from. The standard         ERC721 tokenURI(tokenId) returns baseURI + tokenId and         reverts for tokens that do not exist.\"},\"challengeFor(address)\":{\"notice\":\"The challenge a wallet must grind against right now. It rotates         after every successful mint because it binds the mint count.\"},\"mint(uint256)\":{\"notice\":\"Mint one unit by presenting a nonce whose         keccak256(challengeFor(you) || nonce) has >= MIN_BITS leading         zero bits. Tier is decided by the proof's strength.\"},\"mintPrice(address)\":{\"notice\":\"Price of the NEXT unit for a wallet: the base fee times how         many units that wallet will hold after this mint — 1st unit         0.0001 BNB, 2nd 0.0002, 3rd 0.0003. Minting more costs more.\"},\"setBaseURI(string)\":{\"notice\":\"Set the metadata base URI (tokenURI = baseURI + tokenId).         Owner-only. Launch plan: set to the live metadata service         before the mint opens, then repointed once to the final         pinned IPFS folder when minting ends. The function itself         is not code-locked; the two-use plan is public in llms.txt.\"},\"totalSupply()\":{\"notice\":\"Total units minted so far. Same value as totalMinted();         indexers and marketplaces (e.g. Element) expect a readable         totalSupply() — V1 lacked one, which broke their collection         sync, so V2 exposes it explicitly.\"},\"withdraw()\":{\"notice\":\"Withdraw accumulated mint fees to the owner wallet.\"}},\"notice\":\"Mint works like the classic PoW drops: each wallet gets a challenge         (challengeFor), and mint(nonce) succeeds only when         keccak256(challenge || nonce) has at least MIN_BITS leading zero         bits. The STRONGER the proof, the rarer the unit — rarity is mined,         not drawn. V2 widens the tier ladder (Hans's decision, 2026-11-02)         so high proofs no longer fall into the top tier by default:         20-23 bits Common, 24-27 Uncommon, 28-33 Epic, 34+ Legendary.         Legendary is ALSO supply-gated: it only unlocks once the         collection passes LEGENDARY_UNLOCK_SUPPLY (1000) minted units,         i.e. for tokenId 1001 and later. Before that, even a 34+ bit         proof is recorded at full strength in proofBitsOf but its unit         is capped at Epic — see effectiveTier().         Every unit is UNIQUE: its metadata (image + traits)         is rendered off-chain from its own mint proof and served from         the collection base URI — a live metadata service while the         mint runs, frozen to a pinned IPFS folder when minting ends.         tokenURI(tokenId) is baseURI + tokenId (see _baseURI).         The mint price escalates per wallet: 0.0001 BNB for the first         unit, 0.0002 for the second, 0.0003 for the third (see         mintPrice). Fees go to the contract and can be withdrawn by the         owner; gas is paid by the minter to the network, as usual.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"project/contracts/OAgentUnitsV2.sol\":\"OAgentUnitsV2\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\"project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.6.1/\"],\"viaIR\":true},\"sources\":{\"npm/@openzeppelin/contracts@5.6.1/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"npm/@openzeppelin/contracts@5.6.1/interfaces/IERC2981.sol\":{\"keccak256\":\"0xafab0e6c71905303c47dd254168cb31efc91f0ae284cde609b0202f97f85469e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://824d05aec56eb82a2a3c28eece530dc0792d3a008b09d01444e57cf4aceb0445\",\"dweb:/ipfs/QmVvqmJ5UobuRU9Q4JMyXxBfzKs2cpjbWXMNpxX4binTX8\"]},\"npm/@openzeppelin/contracts@5.6.1/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x1b88b3fb3d85ba5496d7d5f396f83ee1fddcdd6762059ff65992655b67920998\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://89393bb3212da1c0889601b9706a07b39419ddc4d2faab9eaf6e7f9152cf6a1c\",\"dweb:/ipfs/QmcCfzzxv1Bkdz1c1yF4gQCeYb6Us5BJANnzTFqawfd1HL\"]},\"npm/@openzeppelin/contracts@5.6.1/token/ERC721/ERC721.sol\":{\"keccak256\":\"0xf6bb0dc431a9c50e25756412ec14cfcd4dc61dd40b8dc0e1b58ec09fce6d5564\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eb87fef7e8ed754b8600cd5d42e4f23128059006368ffd19e4d50cc166471ee5\",\"dweb:/ipfs/Qmc1vy1cevKreGUsG7S79gyhNvDtPnNz9qG47eYVHmMKLs\"]},\"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721.sol\":{\"keccak256\":\"0xf78f05f3b8c9f75570e85300d7b4600d7f6f6a198449273f31d44c1641adb46f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e28b872613b45e0e801d4995aa4380be2531147bfe2d85c1d6275f1de514fba3\",\"dweb:/ipfs/QmeeFcfShHYaS3BdgVj78nxR28ZaVUwbvr66ud8bT6kzw9\"]},\"npm/@openzeppelin/contracts@5.6.1/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0x88cd5e3bee2e8c36b8d9058fbcaa81ad5704281b25634122234b55ea853d8055\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8dc7e7ab5b8ea36c15027ab04221b05d1c970f47a53e9fd47ead8ca665d49c7e\",\"dweb:/ipfs/Qmeeph7fsDyfRr8vb2L8KcDEmKPb224TAayMvgqgGAnqpL\"]},\"npm/@openzeppelin/contracts@5.6.1/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0xf46268c37522320bb2119a5a394bc5c739a95c0c574c8d08e8c643f4d06e5c76\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://517e4b295f35b9947c72ad7379a6089439ece7bb6f4a2ea0a159da13046c039e\",\"dweb:/ipfs/QmZXzkSfLUbvujig3zVbpDHykpHhqLpvQtdiN3B5j4TA3u\"]},\"npm/@openzeppelin/contracts@5.6.1/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0xc7efbc23214ad7dced8bf2249460f4bda114d57f6a0079f84040654280f455bd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1f5bd44efca8c8c0d74439e7b808d1f9c4af1df78f91fef8e8bbca8104645435\",\"dweb:/ipfs/Qmb42XSd8MKsEitp42sZkSFGqDRigk6QgGXtiJyJqUZJJ6\"]},\"npm/@openzeppelin/contracts@5.6.1/token/common/ERC2981.sol\":{\"keccak256\":\"0xa33062c6e0675a74a27b06a4ae4c6ad4d3b7219e27d9c146a4ac57295096d393\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://777543d88013fdd0ee7f47ac619fb13a1993bb667675d8816fde024f73cfbf2d\",\"dweb:/ipfs/QmfDS9uL1XZ2oUe1PH8eRCRyu3Hf98cK8ksGf4Ww7kg5zv\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/Bytes.sol\":{\"keccak256\":\"0xf80e4b96b6849936ea0fabd76cf81b13d7276295fddb1e1c07afb3ddf650b0ac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6430007255ac11c6e9c4331a418f3af52ff66fbbae959f645301d025b20aeb08\",\"dweb:/ipfs/QmQE5fjmBBRw9ndnzJuC2uskYss1gbaR7JdazoCf1FGoBj\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/Strings.sol\":{\"keccak256\":\"0x1fdc2de9585ab0f1c417f02a873a2b6343cd64bb7ffec6b00ffa11a4a158d9e8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ab223a3d969c6cd7610049431dd42740960c477e45878f5d8b54411f7a32bdc\",\"dweb:/ipfs/QmWumhjvhpKcwx3vDPQninsNVTc3BGvqaihkQakFkQYpaS\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/introspection/ERC165.sol\":{\"keccak256\":\"0x2d9dc2fe26180f74c11c13663647d38e259e45f95eb88f57b61d2160b0109d3e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://81233d1f98060113d9922180bb0f14f8335856fe9f339134b09335e9f678c377\",\"dweb:/ipfs/QmWh6R35SarhAn4z2wH8SU456jJSYL2FgucfTFgbHJJN4E\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617\",\"dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/math/Math.sol\":{\"keccak256\":\"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5\",\"dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/math/SafeCast.sol\":{\"keccak256\":\"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9\",\"dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif\"]},\"npm/@openzeppelin/contracts@5.6.1/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"project/contracts/OAgentUnitsV2.sol\":{\"keccak256\":\"0x4e6ffa8136a19fbeedb85e51a37a7fc465a7ab1f53db5a990f37aff931362a12\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3d613d08cd1c4fab56dcd874f4a0d93a19f98246854152cb4510667ebeeaf0e3\",\"dweb:/ipfs/QmUsdsXVk8vAvPrHQgasYMv2Jh1VQnREiGRyhnLQPYyNia\"]}},\"version\":1}","userdoc":{"kind":"user","notice":"Mint works like the classic PoW drops: each wallet gets a challenge         (challengeFor), and mint(nonce) succeeds only when         keccak256(challenge || nonce) has at least MIN_BITS leading zero         bits. The STRONGER the proof, the rarer the unit — rarity is mined,         not drawn. V2 widens the tier ladder (Hans's decision, 2026-11-02)         so high proofs no longer fall into the top tier by default:         20-23 bits Common, 24-27 Uncommon, 28-33 Epic, 34+ Legendary.         Legendary is ALSO supply-gated: it only unlocks once the         collection passes LEGENDARY_UNLOCK_SUPPLY (1000) minted units,         i.e. for tokenId 1001 and later. Before that, even a 34+ bit         proof is recorded at full strength in proofBitsOf but its unit         is capped at Epic — see effectiveTier().         Every unit is UNIQUE: its metadata (image + traits)         is rendered off-chain from its own mint proof and served from         the collection base URI — a live metadata service while the         mint runs, frozen to a pinned IPFS folder when minting ends.         tokenURI(tokenId) is baseURI + tokenId (see _baseURI).         The mint price escalates per wallet: 0.0001 BNB for the first         unit, 0.0002 for the second, 0.0003 for the third (see         mintPrice). Fees go to the contract and can be withdrawn by the         owner; gas is paid by the minter to the network, as usual.","methods":{"baseURI()":{"notice":"The base URI every tokenURI is built from. The standard         ERC721 tokenURI(tokenId) returns baseURI + tokenId and         reverts for tokens that do not exist."},"withdraw()":{"notice":"Withdraw accumulated mint fees to the owner wallet."},"mint(uint256)":{"notice":"Mint one unit by presenting a nonce whose         keccak256(challengeFor(you) || nonce) has >= MIN_BITS leading         zero bits. Tier is decided by the proof's strength."},"totalSupply()":{"notice":"Total units minted so far. Same value as totalMinted();         indexers and marketplaces (e.g. Element) expect a readable         totalSupply() — V1 lacked one, which broke their collection         sync, so V2 exposes it explicitly."},"mintPrice(address)":{"notice":"Price of the NEXT unit for a wallet: the base fee times how         many units that wallet will hold after this mint — 1st unit         0.0001 BNB, 2nd 0.0002, 3rd 0.0003. Minting more costs more."},"setBaseURI(string)":{"notice":"Set the metadata base URI (tokenURI = baseURI + tokenId).         Owner-only. Launch plan: set to the live metadata service         before the mint opens, then repointed once to the final         pinned IPFS folder when minting ends. The function itself         is not code-locked; the two-use plan is public in llms.txt."},"challengeFor(address)":{"notice":"The challenge a wallet must grind against right now. It rotates         after every successful mint because it binds the mint count."}},"version":1},"devdoc":{"kind":"dev","title":"OAGENT Units V2 — proof-of-work pixel sea-animal NFTs on BNB Chain.","errors":{"ERC721InvalidOwner(address)":[{"params":{"owner":"Address of the current owner of a token."},"details":"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-721. Used in balance queries."}],"ERC721InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC721InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC721InvalidOperator(address)":[{"params":{"operator":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `operator` to be approved. Used in approvals."}],"ERC721InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"ERC721NonexistentToken(uint256)":[{"params":{"tokenId":"Identifier number of a token."},"details":"Indicates a `tokenId` whose `owner` is the zero address."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC721InsufficientApproval(address,uint256)":[{"params":{"tokenId":"Identifier number of a token.","operator":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `operator`’s approval. Used in transfers."}],"ERC2981InvalidDefaultRoyalty(uint256,uint256)":[{"details":"The default royalty set is invalid (eg. (numerator / denominator) >= 1)."}],"ERC2981InvalidDefaultRoyaltyReceiver(address)":[{"details":"The default royalty receiver is invalid."}],"ERC721IncorrectOwner(address,uint256,address)":[{"params":{"owner":"Address of the current owner of a token.","sender":"Address whose tokens are being transferred.","tokenId":"Identifier number of a token."},"details":"Indicates an error related to the ownership over a particular token. Used in transfers."}],"ERC2981InvalidTokenRoyalty(uint256,uint256,uint256)":[{"details":"The royalty set for a specific `tokenId` is invalid (eg. (numerator / denominator) >= 1)."}],"ERC2981InvalidTokenRoyaltyReceiver(uint256,address)":[{"details":"The royalty receiver for `tokenId` is invalid."}]},"events":{"Approval(address,address,uint256)":{"details":"Emitted when `owner` enables `approved` to manage the `tokenId` token."},"Transfer(address,address,uint256)":{"details":"Emitted when `tokenId` token is transferred from `from` to `to`."},"ApprovalForAll(address,address,bool)":{"details":"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."}},"methods":{"name()":{"details":"Returns the token collection name."},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the token collection symbol."},"constructor":{"params":{"initialOwner":"The project wallet. Deployment goes through the         deterministic CREATE2 deployment proxy (0x4e59…4956C),         because the agentic wallet cannot send a bare creation         transaction — so the owner and the royalty receiver are set         explicitly here instead of relying on msg.sender, which         during a proxy deployment would be the proxy itself."}},"ownerOf(uint256)":{"details":"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist."},"tokenURI(uint256)":{"details":"Returns the Uniform Resource Identifier (URI) for `tokenId` token."},"balanceOf(address)":{"details":"Returns the number of tokens in ``owner``'s account."},"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."},"getApproved(uint256)":{"details":"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist."},"tierForBits(uint256)":{"details":"V2 tier bands by proof strength — wide spacing between tiers:      Common 20-23 bits, Uncommon 24-27, Epic 28-33, Legendary 34+.      (V1 used luck bands of +2/+4/+7 over MIN_BITS, which put      Legendary at just 27 bits; V2 raises the bar to 34.)"},"approve(address,uint256)":{"details":"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"royaltyInfo(uint256,uint256)":{"details":"Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of exchange. The royalty amount is denominated and should be paid in that same unit of exchange. NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers."},"effectiveTier(uint256,uint256)":{"details":"The tier a mint ACTUALLY receives: the raw band from      tierForBits, with the Legendary supply gate applied. A proof      in the Legendary band only yields tier 3 when tokenId is past      LEGENDARY_UNLOCK_SUPPLY; before the unlock it is capped to      tier 2 (Epic). proofBitsOf still stores the true bit count,      so the strength of an early capped proof stays on record.      Pure and public so the cap is testable without grinding a      real 34-bit proof."},"setApprovalForAll(address,bool)":{"details":"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the address zero. Emits an {ApprovalForAll} event."},"isApprovedForAll(address,address)":{"details":"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}"},"transferFrom(address,address,uint256)":{"details":"Transfers `tokenId` token from `from` to `to`. WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must understand this adds an external call which potentially creates a reentrancy vulnerability. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event."},"safeTransferFrom(address,address,uint256)":{"details":"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC-721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must have been allowed to move this token by either {approve} or   {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event."},"safeTransferFrom(address,address,uint256,bytes)":{"details":"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon   a safe transfer. Emits a {Transfer} event."}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint8":{"label":"uint8","encoding":"inplace","numberOfBytes":"1"},"t_uint96":{"label":"uint96","encoding":"inplace","numberOfBytes":"12"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint8)":{"key":"t_uint256","label":"mapping(uint256 => uint8)","value":"t_uint8","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_uint256,t_address)":{"key":"t_uint256","label":"mapping(uint256 => address)","value":"t_address","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(RoyaltyInfo)1533_storage":{"label":"struct ERC2981.RoyaltyInfo","members":[{"slot":"0","type":"t_address","astId":1530,"label":"receiver","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"0","type":"t_uint96","astId":1532,"label":"royaltyFraction","offset":20,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"}],"encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_bool))":{"key":"t_address","label":"mapping(address => mapping(address => bool))","value":"t_mapping(t_address,t_bool)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_struct(RoyaltyInfo)1533_storage)":{"key":"t_uint256","label":"mapping(uint256 => struct ERC2981.RoyaltyInfo)","value":"t_struct(RoyaltyInfo)1533_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_string_storage","astId":337,"label":"_name","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"1","type":"t_string_storage","astId":339,"label":"_symbol","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"2","type":"t_mapping(t_uint256,t_address)","astId":343,"label":"_owners","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"3","type":"t_mapping(t_address,t_uint256)","astId":347,"label":"_balances","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"4","type":"t_mapping(t_uint256,t_address)","astId":351,"label":"_tokenApprovals","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"5","type":"t_mapping(t_address,t_mapping(t_address,t_bool))","astId":357,"label":"_operatorApprovals","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"6","type":"t_struct(RoyaltyInfo)1533_storage","astId":1536,"label":"_defaultRoyaltyInfo","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"7","type":"t_mapping(t_uint256,t_struct(RoyaltyInfo)1533_storage)","astId":1541,"label":"_tokenRoyaltyInfo","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"8","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"9","type":"t_uint256","astId":7807,"label":"totalMinted","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"10","type":"t_bool","astId":7810,"label":"mintOpen","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"11","type":"t_string_storage","astId":7813,"label":"_baseTokenURI","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"12","type":"t_mapping(t_uint256,t_uint8)","astId":7817,"label":"_tiers","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"13","type":"t_mapping(t_uint256,t_uint256)","astId":7821,"label":"_proofBits","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"},{"slot":"14","type":"t_mapping(t_address,t_uint256)","astId":7825,"label":"mintedBy","offset":0,"contract":"project/contracts/OAgentUnitsV2.sol:OAgentUnitsV2"}]},"transientStorageLayout":{"types":null,"storage":[]},"evm":{"bytecode":{"object":"6080604052346103df57611fab6020813803918261001c816103e3565b9384928339810103126103df57516001600160a01b038116908190036103df5761004660406103e3565b90600c82526b4f4147454e5420556e69747360a01b602083015261006a60406103e3565b600581526413d553925560da1b602082015282519091906001600160401b0381116101fc576100995f54610408565b601f8111610392575b506020601f821160011461033157819293945f92610326575b50508160011b915f199060031b1c1916175f555b81516001600160401b0381116101fc576100ea600154610408565b601f81116102cd575b50602092601f821160011461026c57928192935f92610261575b50508160011b915f199060031b1c1916176001555b801561024e57600880546001600160a01b03198116831790915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a360ff19600a5416600a55610180600b54610408565b601f8111610210575b507f697066733a2f2f4f4147454e545f4d455441444154415f424153452f00000038600b55604080519081016001600160401b038111828210176101fc5760409081528282526101f46020909201919091526001600160a01b03909116607d60a21b1760065551611b5490816104578239f35b634e487b7160e01b5f52604160045260245ffd5b600b5f5261024890601f0160051c7f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990810190610440565b5f610189565b631e4fbdf760e01b5f525f60045260245ffd5b015190505f8061010d565b601f1982169360015f52805f20915f5b8681106102b5575083600195961061029d575b505050811b01600155610122565b01515f1960f88460031b161c191690555f808061028f565b9192602060018192868501518155019401920161027c565b60015f52610316907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f840160051c8101916020851061031c575b601f0160051c0190610440565b5f6100f3565b9091508190610309565b015190505f806100bb565b601f198216905f8052805f20915f5b81811061037a57509583600195969710610362575b505050811b015f556100cf565b01515f1960f88460031b161c191690555f8080610355565b9192602060018192868b015181550194019201610340565b5f80526103d9907f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f840160051c8101916020851061031c57601f0160051c0190610440565b5f6100a2565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176101fc57604052565b90600182811c92168015610436575b602083101461042257565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610417565b81811061044b575050565b5f815560010161044056fe6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146113b25750806306fdde0314611310578063081812fc146112d4578063095ea7b3146111ea5780630e2dbc6e146111cc5780630f2cdd6c146111b157806318160ddd146106a95780632142aa2c1461118e57806323b872dd1461117757806324bbd049146111555780632a55205a146110d357806332cb6b0c146110b75780633ccfd60b146110005780633cef28d214610fc857806342842e0e14610f9957806353f96df214610f6257806355f804b314610d6d5780636352211e14610d3d5780636c0360eb14610d2257806370a0823114610cd1578063715018a614610c765780638da5cb5b14610c4e57806395d89b4114610b84578063a0712d681461077a578063a22cb465146106c6578063a2309ff8146106a9578063b52f2c331461067e578063b88d4fde146105e8578063bb10a28f146105cc578063bc034ea514610598578063be32cdc314610574578063c1959a6b1461054a578063c87b56dd1461033c578063d309161514610321578063d7bf81a314610301578063e985e9c5146102aa578063f2fde38b146102245763f8004d31146101be575f80fd5b34610220576020366003190112610220576004358015158091036102205760207fa9f739ee29a6336acdfe5b044a6dce0d70579031be6dbdece2ac0848d8c2a08091610208611995565b60ff19600a541660ff821617600a55604051908152a1005b5f80fd5b346102205760203660031901126102205761023d61145b565b610245611995565b6001600160a01b0316801561029757600880546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b631e4fbdf760e01b5f525f60045260245ffd5b34610220576040366003190112610220576102c361145b565b6102cb611471565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b34610220575f366003190112610220576020604051655af3107a40008152f35b34610220575f36600319011261022057602060405160148152f35b346102205760203660031901126102205760043561035981611961565b50610362611561565b80519091901561052f575f818072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b811015610509575b50806d04ee2d6d415b85acef8100000000600a9210156104ee575b662386f26fc100008110156104da575b6305f5e1008110156104c9575b6127108110156104ba575b60648110156104ac575b10156104a4575b6001810191600a602161040d6103f78661150d565b9561040560405197886114d7565b80875261150d565b602086019490601f19013686378501015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530490811561044c57600a9061041e565b50506104a092602061048c9281946040519584879551918291018587015e840190838201905f8252519283915e01015f815203601f1981018352826114d7565b604051918291602083526020830190611437565b0390f35b6001016103e2565b6064600291049201916103db565b612710600491049201916103d1565b6305f5e100600891049201916103c6565b662386f26fc10000601091049201916103b9565b6d04ee2d6d415b85acef8100000000602091049201916103a9565b6040925072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b90049050600a61038e565b50506104a06040516105426020826114d7565b5f815261048c565b346102205760203660031901126102205760043560ff811681036102205761048c6104a0916118b4565b3461022057602061058d610587366114c1565b90611887565b60ff60405191168152f35b34610220576020366003190112610220576004356105b581611961565b505f52600d602052602060405f2054604051908152f35b34610220575f3660031901126102205760206040516103e88152f35b346102205760803660031901126102205761060161145b565b610609611471565b906044356064359267ffffffffffffffff841161022057366023850112156102205783600401359261063a8461150d565b9361064860405195866114d7565b8085523660248288010111610220576020815f92602461067c99018389013786010152610676838383611671565b336119ef565b005b346102205760203660031901126102205760206106a161069c61145b565b611836565b604051908152f35b34610220575f366003190112610220576020600954604051908152f35b34610220576040366003190112610220576106df61145b565b60243590811515809203610220573315610767576001600160a01b031690811561075457335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b60203660031901126102205760ff600a541615610b4e57335f52600e602052600360405f20541015610b1a57600954610d05811015610aea576107bc33611634565b3403610ab9576107f76107ce33611836565b604051602081019182526004356040820152604081526107ef6060826114d7565b5190206119bc565b9060148210610a835761080990611828565b806009556108178183611887565b815f52600c60205260ff60405f209116908160ff19825416179055815f52600d6020528260405f2055335f52600e60205260405f2080549060018201809211610a6f575560209260405161086b85826114d7565b5f81523315610a5c575f8481526002865260409020546001600160a01b03168015159081610a2b575b335f8181526003895260408082208054600101905588825260028a52812080546001600160a01b0319168317905587919083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9080a450610a1857333b61092a575b50836040519283528201527f09b2079ace5989543aad7a3a2c79f45d8675a186b1eed1e7fa2a335cbceedb7860403392a3005b846109639160405180938192630a85bd0160e11b83523360048401525f6024840152886044840152608060648401526084830190611437565b03815f335af15f91816109d8575b5061099e578461097f6117f9565b805191908261099b57633250574960e11b5f523360045260245ffd5b01fd5b929391929091906001600160e01b03191663757a42ff60e11b016109c557929190846108f7565b633250574960e11b5f523360045260245ffd5b9091508581813d8311610a11575b6109f081836114d7565b8101031261022057516001600160e01b031981168103610220579086610971565b503d6109e6565b6339e3563760e11b5f525f60045260245ffd5b5f8681526004602052604080822080546001600160a01b031916905582825260038952902080545f19019055610894565b633250574960e11b5f525f60045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152600e60248201526d70726f6f6620746f6f207765616b60901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600960248201526877726f6e672066656560b81b6044820152606490fd5b60405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b1dd85b1b195d081b1a5b5a5d60a21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b34610220575f366003190112610220576040515f600154610ba481611529565b8084529060018116908115610c2a5750600114610bcc575b6104a08361048c818503826114d7565b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610c105750909150810160200161048c610bbc565b919260018160209254838588010152019101909291610bf8565b60ff191660208086019190915291151560051b8401909101915061048c9050610bbc565b34610220575f366003190112610220576008546040516001600160a01b039091168152602090f35b34610220575f36600319011261022057610c8e611995565b600880546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610220576020366003190112610220576001600160a01b03610cf261145b565b168015610d0f575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610220575f366003190112610220576104a061048c611561565b34610220576020366003190112610220576020610d5b600435611961565b6040516001600160a01b039091168152f35b346102205760203660031901126102205760043567ffffffffffffffff8111610220573660238201121561022057806004013567ffffffffffffffff811161022057366024828401011161022057610dc3611995565b610dce600b54611529565b601f8111610efa575b505f601f8211600114610e60577f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf692826024936040935f91610e53575b508160011b905f198360031b1c191617600b555b8083519485936020855282602086015201848401375f828201840152601f01601f19168101030190a1005b8591508301013586610e14565b601f19821690600b5f525f516020611aff5f395f51905f52915f5b818110610edf5750926040927f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf695928260249610610ec4575b5050600181811b01600b55610e28565b83018501355f19600384901b60f8161c191690558580610eb4565b91926020600181926024878a01013581550194019201610e7b565b600b5f52601f820160051c5f516020611aff5f395f51905f52019060208310610f4d575b601f0160051c5f516020611aff5f395f51905f5201905b818110610f425750610dd7565b5f8155600101610f35565b5f516020611aff5f395f51905f529150610f1e565b3461022057602036600319011261022057600435610f7f81611961565b505f52600c602052602060ff60405f205416604051908152f35b346102205761067c610faa36611487565b9060405192610fba6020856114d7565b5f8452610676838383611671565b34610220576020366003190112610220576001600160a01b03610fe961145b565b165f52600e602052602060405f2054604051908152f35b34610220575f36600319011261022057611018611995565b47801561107c576008545f918291829182916001600160a01b03165af161103d6117f9565b501561104557005b60405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260136024820152726e6f7468696e6720746f20776974686472617760681b6044820152606490fd5b34610220575f366003190112610220576020604051610d058152f35b34610220576110e1366114c1565b5f91825260076020526040909120546001600160a01b0381169060a01c811561113d575b6001600160601b031691828102928184041490151715610a6f57604080516001600160a01b0390921682526127109092046020820152f35b50506006546001600160a01b0381169060a01c611105565b34610220575f36600319011261022057602060ff600a54166040519015158152f35b346102205761067c61118836611487565b91611671565b346102205760203660031901126102205760206106a16111ac61145b565b611634565b34610220575f36600319011261022057602060405160038152f35b3461022057602036600319011261022057602061058d600435611605565b346102205760403660031901126102205761120361145b565b60243561120f81611961565b331515806112c1575b80611294575b6112815781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff161561121e565b506001600160a01b038116331415611218565b34610220576020366003190112610220576004356112f181611961565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610220575f366003190112610220576040515f5f5461132f81611529565b8084529060018116908115610c2a5750600114611356576104a08361048c818503826114d7565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106113985750909150810160200161048c610bbc565b919260018160209254838588010152019101909291611380565b34610220576020366003190112610220576004359063ffffffff60e01b82168092036102205760209163152a902d60e11b81149081156113f4575b5015158152f35b6380ac58cd60e01b811491508115611426575b8115611415575b50836113ed565b6301ffc9a760e01b1490508361140e565b635b5e139f60e01b81149150611407565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361022057565b602435906001600160a01b038216820361022057565b6060906003190112610220576004356001600160a01b038116810361022057906024356001600160a01b0381168103610220579060443590565b6040906003190112610220576004359060243590565b90601f8019910116810190811067ffffffffffffffff8211176114f957604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116114f957601f01601f191660200190565b90600182811c92168015611557575b602083101461154357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611538565b604051905f82600b549161157483611529565b80835292600181169081156115e6575060011461159a575b611598925003836114d7565b565b50600b5f90815290915f516020611aff5f395f51905f525b8183106115ca5750509060206115989282010161158c565b60209193508060019154838589010152019101909184926115b2565b6020925061159894915060ff191682840152151560051b82010161158c565b602281101561162e57601c8110156116285760181115611623575f90565b600190565b50600290565b50600390565b6001600160a01b03165f908152600e602052604090205460018101908110610a6f5780655af3107a40000290655af3107a4000820403610a6f5790565b6001600160a01b0390911691908215610a5c575f828152600260205260409020546001600160a01b031692829033151580611764575b5084611731575b805f52600360205260405f2060018154019055815f52600260205260405f20816001600160601b0360a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b031680830361171957505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f1981540190556116ae565b909150806117a8575b1561177a5782905f6116a7565b828461179257637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b5033841480156117d7575b8061176d57505f838152600460205260409020546001600160a01b0316331461176d565b505f84815260056020908152604080832033845290915290205460ff166117b3565b3d15611823573d9061180a8261150d565b9161181860405193846114d7565b82523d5f602084013e565b606090565b5f198114610a6f5760010190565b60018060a01b0381165f52600e60205260405f20546040519060208201923060601b84526001600160601b03199060601b1660348301526048820152604881526118816068826114d7565b51902090565b61189090611605565b90600360ff83161490816118a7575b506116285790565b6103e8915011155f61189f565b60ff16801561193c5760018114611915576002146118f3576040516118da6040826114d7565b60098152684c6567656e6461727960b81b602082015290565b6040516119016040826114d7565b60048152634570696360e01b602082015290565b506040516119246040826114d7565b60088152672ab731b7b6b6b7b760c11b602082015290565b5060405161194b6040826114d7565b600681526521b7b6b6b7b760d11b602082015290565b5f818152600260205260409020546001600160a01b0316908115611983575090565b637e27328960e01b5f5260045260245ffd5b6008546001600160a01b031633036119a957565b63118cdaa760e01b5f523360045260245ffd5b905f9180156119e7575b600160ff1b81106119d45750565b6119e19060011b92611828565b916119c6565b506101009150565b823b6119fd575b5050505050565b604051630a85bd0160e11b81526001600160a01b039182166004820152918116602483015260448201939093526080606482015291169160209082908190611a49906084830190611437565b03815f865af15f9181611ab9575b50611a855750611a656117f9565b80519081611a805782633250574960e11b5f5260045260245ffd5b602001fd5b6001600160e01b03191663757a42ff60e11b01611aa757505f808080806119f6565b633250574960e11b5f5260045260245ffd5b9091506020813d602011611af6575b81611ad5602093836114d7565b8101031261022057516001600160e01b03198116810361022057905f611a57565b3d9150611ac856fe0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9a2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c0033","sourceMap":"1824:7928:18:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;-1:-1:-1;1824:7928:18;;:::i;:::-;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;;;;1469:17:3;1824:7928:18;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;1469:17:3;1824:7928:18;;1273:26:0;;1269:95;;3004:6;1824:7928:18;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;3052:40:0;-1:-1:-1;;3052:40:0;1824:7928:18;;2538:5;1824:7928;;2538:5;1824:7928;;2821:30;1824:7928;;:::i;:::-;;;;;;;-1:-1:-1;1824:7928:18;2821:30;1824:7928;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;;3846:3;1824:7928;4083:35:8;;;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;;-1:-1:-1;;;1824:7928:18;4061:57:8;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;-1:-1:-1;1824:7928:18;;2821:30;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;:::i;:::-;;;;1269:95:0;1322:31;;;-1:-1:-1;1322:31:0;-1:-1:-1;1322:31:0;1824:7928:18;;-1:-1:-1;1322:31:0;1824:7928:18;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;1469:17:3;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;1469:17:3;1824:7928:18;;;;;;;;;;;;;;;;1469:17:3;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;-1:-1:-1;1824:7928:18;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;-1:-1:-1;;1824:7928:18;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"6080806040526004361015610012575f80fd5b5f3560e01c90816301ffc9a7146113b25750806306fdde0314611310578063081812fc146112d4578063095ea7b3146111ea5780630e2dbc6e146111cc5780630f2cdd6c146111b157806318160ddd146106a95780632142aa2c1461118e57806323b872dd1461117757806324bbd049146111555780632a55205a146110d357806332cb6b0c146110b75780633ccfd60b146110005780633cef28d214610fc857806342842e0e14610f9957806353f96df214610f6257806355f804b314610d6d5780636352211e14610d3d5780636c0360eb14610d2257806370a0823114610cd1578063715018a614610c765780638da5cb5b14610c4e57806395d89b4114610b84578063a0712d681461077a578063a22cb465146106c6578063a2309ff8146106a9578063b52f2c331461067e578063b88d4fde146105e8578063bb10a28f146105cc578063bc034ea514610598578063be32cdc314610574578063c1959a6b1461054a578063c87b56dd1461033c578063d309161514610321578063d7bf81a314610301578063e985e9c5146102aa578063f2fde38b146102245763f8004d31146101be575f80fd5b34610220576020366003190112610220576004358015158091036102205760207fa9f739ee29a6336acdfe5b044a6dce0d70579031be6dbdece2ac0848d8c2a08091610208611995565b60ff19600a541660ff821617600a55604051908152a1005b5f80fd5b346102205760203660031901126102205761023d61145b565b610245611995565b6001600160a01b0316801561029757600880546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b631e4fbdf760e01b5f525f60045260245ffd5b34610220576040366003190112610220576102c361145b565b6102cb611471565b9060018060a01b03165f52600560205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b34610220575f366003190112610220576020604051655af3107a40008152f35b34610220575f36600319011261022057602060405160148152f35b346102205760203660031901126102205760043561035981611961565b50610362611561565b80519091901561052f575f818072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b811015610509575b50806d04ee2d6d415b85acef8100000000600a9210156104ee575b662386f26fc100008110156104da575b6305f5e1008110156104c9575b6127108110156104ba575b60648110156104ac575b10156104a4575b6001810191600a602161040d6103f78661150d565b9561040560405197886114d7565b80875261150d565b602086019490601f19013686378501015b5f1901916f181899199a1a9b1b9c1cb0b131b232b360811b8282061a83530490811561044c57600a9061041e565b50506104a092602061048c9281946040519584879551918291018587015e840190838201905f8252519283915e01015f815203601f1981018352826114d7565b604051918291602083526020830190611437565b0390f35b6001016103e2565b6064600291049201916103db565b612710600491049201916103d1565b6305f5e100600891049201916103c6565b662386f26fc10000601091049201916103b9565b6d04ee2d6d415b85acef8100000000602091049201916103a9565b6040925072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b90049050600a61038e565b50506104a06040516105426020826114d7565b5f815261048c565b346102205760203660031901126102205760043560ff811681036102205761048c6104a0916118b4565b3461022057602061058d610587366114c1565b90611887565b60ff60405191168152f35b34610220576020366003190112610220576004356105b581611961565b505f52600d602052602060405f2054604051908152f35b34610220575f3660031901126102205760206040516103e88152f35b346102205760803660031901126102205761060161145b565b610609611471565b906044356064359267ffffffffffffffff841161022057366023850112156102205783600401359261063a8461150d565b9361064860405195866114d7565b8085523660248288010111610220576020815f92602461067c99018389013786010152610676838383611671565b336119ef565b005b346102205760203660031901126102205760206106a161069c61145b565b611836565b604051908152f35b34610220575f366003190112610220576020600954604051908152f35b34610220576040366003190112610220576106df61145b565b60243590811515809203610220573315610767576001600160a01b031690811561075457335f52600560205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b5f5260045260245ffd5b63a9fbf51f60e01b5f525f60045260245ffd5b60203660031901126102205760ff600a541615610b4e57335f52600e602052600360405f20541015610b1a57600954610d05811015610aea576107bc33611634565b3403610ab9576107f76107ce33611836565b604051602081019182526004356040820152604081526107ef6060826114d7565b5190206119bc565b9060148210610a835761080990611828565b806009556108178183611887565b815f52600c60205260ff60405f209116908160ff19825416179055815f52600d6020528260405f2055335f52600e60205260405f2080549060018201809211610a6f575560209260405161086b85826114d7565b5f81523315610a5c575f8481526002865260409020546001600160a01b03168015159081610a2b575b335f8181526003895260408082208054600101905588825260028a52812080546001600160a01b0319168317905587919083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9080a450610a1857333b61092a575b50836040519283528201527f09b2079ace5989543aad7a3a2c79f45d8675a186b1eed1e7fa2a335cbceedb7860403392a3005b846109639160405180938192630a85bd0160e11b83523360048401525f6024840152886044840152608060648401526084830190611437565b03815f335af15f91816109d8575b5061099e578461097f6117f9565b805191908261099b57633250574960e11b5f523360045260245ffd5b01fd5b929391929091906001600160e01b03191663757a42ff60e11b016109c557929190846108f7565b633250574960e11b5f523360045260245ffd5b9091508581813d8311610a11575b6109f081836114d7565b8101031261022057516001600160e01b031981168103610220579086610971565b503d6109e6565b6339e3563760e11b5f525f60045260245ffd5b5f8681526004602052604080822080546001600160a01b031916905582825260038952902080545f19019055610894565b633250574960e11b5f525f60045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b60405162461bcd60e51b815260206004820152600e60248201526d70726f6f6620746f6f207765616b60901b6044820152606490fd5b60405162461bcd60e51b815260206004820152600960248201526877726f6e672066656560b81b6044820152606490fd5b60405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b1dd85b1b195d081b1a5b5a5d60a21b6044820152606490fd5b60405162461bcd60e51b815260206004820152600e60248201526d1b5a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b34610220575f366003190112610220576040515f600154610ba481611529565b8084529060018116908115610c2a5750600114610bcc575b6104a08361048c818503826114d7565b60015f9081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610c105750909150810160200161048c610bbc565b919260018160209254838588010152019101909291610bf8565b60ff191660208086019190915291151560051b8401909101915061048c9050610bbc565b34610220575f366003190112610220576008546040516001600160a01b039091168152602090f35b34610220575f36600319011261022057610c8e611995565b600880546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610220576020366003190112610220576001600160a01b03610cf261145b565b168015610d0f575f526003602052602060405f2054604051908152f35b6322718ad960e21b5f525f60045260245ffd5b34610220575f366003190112610220576104a061048c611561565b34610220576020366003190112610220576020610d5b600435611961565b6040516001600160a01b039091168152f35b346102205760203660031901126102205760043567ffffffffffffffff8111610220573660238201121561022057806004013567ffffffffffffffff811161022057366024828401011161022057610dc3611995565b610dce600b54611529565b601f8111610efa575b505f601f8211600114610e60577f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf692826024936040935f91610e53575b508160011b905f198360031b1c191617600b555b8083519485936020855282602086015201848401375f828201840152601f01601f19168101030190a1005b8591508301013586610e14565b601f19821690600b5f525f516020611aff5f395f51905f52915f5b818110610edf5750926040927f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf695928260249610610ec4575b5050600181811b01600b55610e28565b83018501355f19600384901b60f8161c191690558580610eb4565b91926020600181926024878a01013581550194019201610e7b565b600b5f52601f820160051c5f516020611aff5f395f51905f52019060208310610f4d575b601f0160051c5f516020611aff5f395f51905f5201905b818110610f425750610dd7565b5f8155600101610f35565b5f516020611aff5f395f51905f529150610f1e565b3461022057602036600319011261022057600435610f7f81611961565b505f52600c602052602060ff60405f205416604051908152f35b346102205761067c610faa36611487565b9060405192610fba6020856114d7565b5f8452610676838383611671565b34610220576020366003190112610220576001600160a01b03610fe961145b565b165f52600e602052602060405f2054604051908152f35b34610220575f36600319011261022057611018611995565b47801561107c576008545f918291829182916001600160a01b03165af161103d6117f9565b501561104557005b60405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260136024820152726e6f7468696e6720746f20776974686472617760681b6044820152606490fd5b34610220575f366003190112610220576020604051610d058152f35b34610220576110e1366114c1565b5f91825260076020526040909120546001600160a01b0381169060a01c811561113d575b6001600160601b031691828102928184041490151715610a6f57604080516001600160a01b0390921682526127109092046020820152f35b50506006546001600160a01b0381169060a01c611105565b34610220575f36600319011261022057602060ff600a54166040519015158152f35b346102205761067c61118836611487565b91611671565b346102205760203660031901126102205760206106a16111ac61145b565b611634565b34610220575f36600319011261022057602060405160038152f35b3461022057602036600319011261022057602061058d600435611605565b346102205760403660031901126102205761120361145b565b60243561120f81611961565b331515806112c1575b80611294575b6112815781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9255f80a45f90815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b5f523360045260245ffd5b506001600160a01b0381165f90815260056020908152604080832033845290915290205460ff161561121e565b506001600160a01b038116331415611218565b34610220576020366003190112610220576004356112f181611961565b505f526004602052602060018060a01b0360405f205416604051908152f35b34610220575f366003190112610220576040515f5f5461132f81611529565b8084529060018116908115610c2a5750600114611356576104a08361048c818503826114d7565b5f8080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106113985750909150810160200161048c610bbc565b919260018160209254838588010152019101909291611380565b34610220576020366003190112610220576004359063ffffffff60e01b82168092036102205760209163152a902d60e11b81149081156113f4575b5015158152f35b6380ac58cd60e01b811491508115611426575b8115611415575b50836113ed565b6301ffc9a760e01b1490508361140e565b635b5e139f60e01b81149150611407565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361022057565b602435906001600160a01b038216820361022057565b6060906003190112610220576004356001600160a01b038116810361022057906024356001600160a01b0381168103610220579060443590565b6040906003190112610220576004359060243590565b90601f8019910116810190811067ffffffffffffffff8211176114f957604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff81116114f957601f01601f191660200190565b90600182811c92168015611557575b602083101461154357565b634e487b7160e01b5f52602260045260245ffd5b91607f1691611538565b604051905f82600b549161157483611529565b80835292600181169081156115e6575060011461159a575b611598925003836114d7565b565b50600b5f90815290915f516020611aff5f395f51905f525b8183106115ca5750509060206115989282010161158c565b60209193508060019154838589010152019101909184926115b2565b6020925061159894915060ff191682840152151560051b82010161158c565b602281101561162e57601c8110156116285760181115611623575f90565b600190565b50600290565b50600390565b6001600160a01b03165f908152600e602052604090205460018101908110610a6f5780655af3107a40000290655af3107a4000820403610a6f5790565b6001600160a01b0390911691908215610a5c575f828152600260205260409020546001600160a01b031692829033151580611764575b5084611731575b805f52600360205260405f2060018154019055815f52600260205260405f20816001600160601b0360a01b825416179055847fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001600160a01b031680830361171957505050565b6364283d7b60e01b5f5260045260245260445260645ffd5b5f82815260046020526040902080546001600160a01b0319169055845f52600360205260405f205f1981540190556116ae565b909150806117a8575b1561177a5782905f6116a7565b828461179257637e27328960e01b5f5260045260245ffd5b63177e802f60e01b5f523360045260245260445ffd5b5033841480156117d7575b8061176d57505f838152600460205260409020546001600160a01b0316331461176d565b505f84815260056020908152604080832033845290915290205460ff166117b3565b3d15611823573d9061180a8261150d565b9161181860405193846114d7565b82523d5f602084013e565b606090565b5f198114610a6f5760010190565b60018060a01b0381165f52600e60205260405f20546040519060208201923060601b84526001600160601b03199060601b1660348301526048820152604881526118816068826114d7565b51902090565b61189090611605565b90600360ff83161490816118a7575b506116285790565b6103e8915011155f61189f565b60ff16801561193c5760018114611915576002146118f3576040516118da6040826114d7565b60098152684c6567656e6461727960b81b602082015290565b6040516119016040826114d7565b60048152634570696360e01b602082015290565b506040516119246040826114d7565b60088152672ab731b7b6b6b7b760c11b602082015290565b5060405161194b6040826114d7565b600681526521b7b6b6b7b760d11b602082015290565b5f818152600260205260409020546001600160a01b0316908115611983575090565b637e27328960e01b5f5260045260245ffd5b6008546001600160a01b031633036119a957565b63118cdaa760e01b5f523360045260245ffd5b905f9180156119e7575b600160ff1b81106119d45750565b6119e19060011b92611828565b916119c6565b506101009150565b823b6119fd575b5050505050565b604051630a85bd0160e11b81526001600160a01b039182166004820152918116602483015260448201939093526080606482015291169160209082908190611a49906084830190611437565b03815f865af15f9181611ab9575b50611a855750611a656117f9565b80519081611a805782633250574960e11b5f5260045260245ffd5b602001fd5b6001600160e01b03191663757a42ff60e11b01611aa757505f808080806119f6565b633250574960e11b5f5260045260245ffd5b9091506020813d602011611af6575b81611ad5602093836114d7565b8101031261022057516001600160e01b03198116810361022057905f611a57565b3d9150611ac856fe0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9a2646970667358221220f7c001b989793c8af19d737bac28c0bd49eef3eb8f22db762fd535ae064e359664736f6c634300081c0033","sourceMap":"1824:7928:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;8678:21;1500:62:0;;;:::i;:::-;1824:7928:18;;8648:15;1824:7928;;;;;;8648:15;1824:7928;;;;;;8678:21;1824:7928;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;-1:-1:-1;;;;;1824:7928:18;2627:22:0;;2623:91;;3004:6;1824:7928:18;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;-1:-1:-1;;;;;1824:7928:18;3052:40:0;-1:-1:-1;;3052:40:0;1824:7928:18;2623:91:0;2672:31;;;1824:7928:18;2672:31:0;1824:7928:18;;;;;2672:31:0;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;3776:18:3;1824:7928:18;;;;;3776:35:3;1824:7928:18;;;;;;-1:-1:-1;1824:7928:18;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;1963:12;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2064:2;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;2618:22:3;;;:::i;:::-;;1824:7928:18;;:::i;:::-;;;;;;2702:25:3;:75;;1824:7928:18;2753:18:3;;-1:-1:-1;;;29599:17:15;;;29595:103;;2702:75:3;29715:17:15;;29724:8;30295:7;29715:17;;;29711:103;;2702:75:3;29840:8:15;29831:17;;;29827:103;;2702:75:3;29956:7:15;29947:16;;;29943:100;;2702:75:3;30069:7:15;30060:16;;;30056:100;;2702:75:3;30182:7:15;30173:16;;;30169:100;;2702:75:3;30286:16:15;;30282:66;;2702:75:3;1824:7928:18;;;;30295:7:15;1488:94:12;1824:7928:18;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;1488:94:12;;;1595:247;-1:-1:-1;;1824:7928:18;;-1:-1:-1;;;1649:111:12;;;;1824:7928:18;1649:111:12;1824:7928:18;1810:10:12;;;1806:21;;30295:7:15;;1595:247:12;;1806:21;1822:5;;1824:7928:18;1822:5:12;1824:7928:18;;1822:5:12;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;30282:66:15;1824:7928:18;;30282:66:15;;30169:100;30182:7;30253:1;1824:7928:18;;;;30169:100:15;;;30056;30069:7;1824:7928:18;;;;;30056:100:15;;;29943;29956:7;30027:1;1824:7928:18;;;;29943:100:15;;;29827:103;29840:8;29913:2;1824:7928:18;;;;29827:103:15;;;29711;29724:8;1824:7928:18;;;;;29711:103:15;;;29595;1824:7928:18;;-1:-1:-1;;;;1824:7928:18;;;-1:-1:-1;30295:7:15;29595:103;;2702:75:3;1824:7928:18;;;;;;;;;:::i;:::-;;;;2702:75:3;;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;7229:22;;;:::i;:::-;;1824:7928;;7268:10;1824:7928;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2268:4;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4851:4:3;1824:7928:18;;;;;;;;;;4766:7:3;;;;;:::i;:::-;735:10:10;4851:4:3;:::i;:::-;1824:7928:18;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;2279:26;1824:7928;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;;;;;;;;;;735:10:10;15418:19:3;15414:90;;-1:-1:-1;;;;;1824:7928:18;;15517:22:3;;15513:91;;735:10:10;1824:7928:18;;15613:18:3;1824:7928:18;;;;;;-1:-1:-1;1824:7928:18;;;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;15674:41:3;1824:7928:18;735:10:10;15674:41:3;;1824:7928:18;15513:91:3;15562:31;;;;1824:7928:18;15562:31:3;1824:7928:18;;;;15562:31:3;15414:90;14909:27;;;1824:7928:18;15460:33:3;1824:7928:18;;;;;15460:33:3;1824:7928:18;;;-1:-1:-1;;1824:7928:18;;;;;4964:8;1824:7928;;;;;5018:10;1824:7928;;5009:8;1824:7928;;2022:1;1824:7928;;;;5009:37;1824:7928;;;5081:11;1824:7928;1918:4;5081:24;;1824:7928;;;5149:21;5018:10;5149:21;:::i;:::-;5136:9;:34;1824:7928;;5295:22;5237:24;5018:10;5237:24;:::i;:::-;1824:7928;;;5220:49;;1824:7928;;;;;;;;;;5220:49;;;;;;:::i;:::-;1824:7928;5210:60;;5295:22;:::i;:::-;5335:16;2064:2;5335:16;;1824:7928;;5399:13;;;:::i;:::-;1824:7928;5081:11;1824:7928;5435:28;;;;:::i;:::-;1824:7928;;;5473:6;1824:7928;;;;;;;;;;;;;;;;;;;;;5505:10;1824:7928;;;;;;;5018:10;1824:7928;;5009:8;1824:7928;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;5018:10;9691:16:3;9687:87;;1824:7928:18;;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;8830:18:3;;;;;8826:256;;1824:7928:18;5018:10;1824:7928;;;;2022:1;1824:7928;;;;;;;;;;;;;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;5018:10;9246:27:3;;;;1824:7928:18;9246:27:3;9849:96;;;5018:10:18;1174:14:7;1170:744;;1824:7928:18;;;;;;;;;;;5621:43;1824:7928;5018:10;5621:43;;1824:7928;1170:744:7;1824:7928:18;;;;;;;;;;;;1212:67:7;;5018:10:18;1824:7928;1212:67:7;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1212:67:7;5018:10:18;1824:7928;5018:10;1212:67:7;;1824:7928:18;;1212:67:7;;;1170:744;-1:-1:-1;1208:696:7;;1519:385;;;:::i;:::-;1824:7928:18;;;;1569:18:7;;;9730:33:3;;;1824:7928:18;1673:39:7;5018:10:18;1824:7928;;;;1673:39:7;1565:325;1759:113;;1208:696;1824:7928:18;;;;;;;-1:-1:-1;;;;;;1824:7928:18;-1:-1:-1;;;1326:51:7;1322:182;;1170:744;;;;;;1322:182;9730:33:3;;;1824:7928:18;1446:39:7;5018:10:18;1824:7928;;;;1446:39:7;1212:67;;;;;;;;;;;;;;;;;:::i;:::-;;;1824:7928:18;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;1212:67:7;;;;;;;;;9849:96:3;9903:31;;;1824:7928:18;9903:31:3;1824:7928:18;;;;;9903:31:3;8826:256;1824:7928:18;;;;15066:15:3;1824:7928:18;;;;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;2022:1;1824:7928;;;;;;-1:-1:-1;;1824:7928:18;;;8826:256:3;;9687:87;9730:33;;;1824:7928:18;9730:33:3;1824:7928:18;;;;;9730:33:3;1824:7928:18;;;;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;5009:8;1824:7928;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;5081:11;1824:7928;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2473:7:3;1824:7928:18;;;;:::i;:::-;;;;;2473:7:3;1824:7928:18;;;2473:7:3;;;;1824:7928:18;;;;;;;;;;;;;;:::i;:::-;2473:7:3;1824:7928:18;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;;;2473:7:3;1824:7928:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;;1824:7928:18;;;;1710:6:0;1824:7928:18;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;1500:62:0;;:::i;:::-;3004:6;1824:7928:18;;-1:-1:-1;;;;;;1824:7928:18;;;;;;;-1:-1:-1;;;;;1824:7928:18;3052:40:0;1824:7928:18;;3052:40:0;1824:7928:18;;;;;;;-1:-1:-1;;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;:::i;:::-;;1947:19:3;;1943:87;;1824:7928:18;;2046:9:3;1824:7928:18;;;;;;;;;;;;;1943:87:3;1989:30;;;1824:7928:18;1989:30:3;1824:7928:18;;;;;1989:30:3;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;2192:22:3;1824:7928:18;;2192:22:3;:::i;:::-;1824:7928:18;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;1824:7928:18;9159:26;1824:7928;;:::i;:::-;;;;;;;;;;;;;;;;9200:26;1824:7928;;;;;;;;;;;;;;;;;;;;;;;;;9159:26;1824:7928;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;9200:26;;;;1824:7928;;;;;;;;;;;;;;;;;;9159:26;1824:7928;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;9200:26;1824:7928;;;;;;;;;;;;;;;;9159:26;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9159:26;1824:7928;;;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;7789:22;;;:::i;:::-;;1824:7928;;7828:6;1824:7928;;;;;;;;;;;;;;;;;;;4851:4:3;1824:7928:18;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;4766:7:3;;;;;:::i;1824:7928:18:-;;;;;;-1:-1:-1;;1824:7928:18;;;;-1:-1:-1;;;;;1824:7928:18;;:::i;:::-;;;;3040:43;1824:7928;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;1500:62:0;;:::i;:::-;9370:21:18;9409:7;;1824:7928;;1710:6:0;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;9464:37;;;;:::i;:::-;;1824:7928;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;1824:7928:18;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;1918:4;1824:7928;;;;;;;;;;:::i;:::-;;;;;2517:17:8;1824:7928:18;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;2678:29:8;;2674:173;;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;2882:27:8;1824:7928:18;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;2674:173:8;-1:-1:-1;;2741:19:8;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;;;;;2674:173:8;;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;2515:28;1824:7928;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;2022:1;1824:7928;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;1824:7928:18;;;;;;:::i;:::-;;;14663:22:3;;;:::i;:::-;735:10:10;14813:18:3;;:35;;;1824:7928:18;14813:69:3;;;1824:7928:18;14809:142:3;;1824:7928:18;;-1:-1:-1;;;;;1824:7928:18;;;;;15003:28:3;1824:7928:18;;15003:28:3;1824:7928:18;;;;;;;;;;;;-1:-1:-1;;;;;;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;14809:142:3;14909:27;;;1824:7928:18;14909:27:3;735:10:10;1824:7928:18;;;;14909:27:3;14813:69;-1:-1:-1;;;;;;1824:7928:18;;;;;;3776:18:3;1824:7928:18;;;;;;;;735:10:10;1824:7928:18;;;;;;;;;;14852:30:3;14813:69;;:35;-1:-1:-1;;;;;;1824:7928:18;;735:10:10;14835:13:3;;14813:35;;1824:7928:18;;;;;;-1:-1:-1;;1824:7928:18;;;;;;3385:22:3;;;:::i;:::-;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;-1:-1:-1;1824:7928:18;;-1:-1:-1;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2207:41:8;;;:81;;;;1824:7928:18;;;;;;;2207:81:8;-1:-1:-1;;;1664:40:3;;;-1:-1:-1;1664:104:3;;;;2207:81:8;1664:156:3;;;;2207:81:8;;;;;1664:156:3;-1:-1:-1;;;829:40:13;;-1:-1:-1;1664:156:3;;;:104;-1:-1:-1;;;1720:48:3;;;-1:-1:-1;1664:104:3;;1824:7928:18;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;;;;;;-1:-1:-1;;1824:7928:18;;;;:::o;:::-;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1824:7928:18;;;;;-1:-1:-1;1824:7928:18;;;;;;;;;-1:-1:-1;;1824:7928:18;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1824:7928:18;8403:13;1824:7928;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;-1:-1:-1;8403:13:18;-1:-1:-1;1824:7928:18;;;;;-1:-1:-1;;;;;;;;;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5965:190;6050:2;6042:10;;;6038:24;;6084:2;6076:10;;;6072:24;;6118:2;-1:-1:-1;6110:10:18;6106:24;;1824:7928;5965:190;:::o;6106:24::-;6129:1;6122:8;:::o;6072:24::-;6088:8;6095:1;6088:8;:::o;6038:24::-;6054:8;6061:1;6054:8;:::o;4568:122::-;-1:-1:-1;;;;;1824:7928:18;-1:-1:-1;1824:7928:18;;;4662:8;1824:7928;;;;;;;;;;;-1:-1:-1;1824:7928:18;;;1963:12;1824:7928;;1963:12;1824:7928;;;;;4568:122;:::o;3852:578:3:-;-1:-1:-1;;;;;1824:7928:18;;;;3852:578:3;3946:16;;3942:87;;3960:1;1824:7928:18;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;;;;735:10:10;8704:18:3;;;8700:86;;3852:578;8830:18;;8826:256;;3852:578;1824:7928:18;3960:1:3;1824:7928:18;9156:9:3;1824:7928:18;;;3960:1:3;1824:7928:18;9096:16:3;1824:7928:18;;;;;;3960:1:3;1824:7928:18;5470:7:3;1824:7928:18;;;3960:1:3;1824:7928:18;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;9246:27:3;;3960:1;9246:27;;-1:-1:-1;;;;;1824:7928:18;4319:21:3;;;4315:109;;3852:578;;;:::o;4315:109::-;4363:50;;;3960:1;4363:50;;1824:7928:18;;;;;;3960:1:3;4363:50;8826:256;1824:7928:18;;;;15066:15:3;1824:7928:18;;;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;3960:1:3;1824:7928:18;9037:9:3;1824:7928:18;;;3960:1:3;1824:7928:18;;;;;;;;8826:256:3;;8700:86;6185:127;;-1:-1:-1;6185:127:3;;;8700:86;6862:39;6858:255;;8700:86;;;;;6858:255;6921:19;;1824:7928:18;;6967:31:3;;;3960:1;6967:31;;1824:7928:18;;3960:1:3;6967:31;6917:186;7044:44;;;3960:1;7044:44;735:10:10;7044:44:3;1824:7928:18;;;;3960:1:3;7044:44;6185:127;735:10:10;;6223:16:3;;:52;;;;6185:127;6223:88;6185:127;6223:88;-1:-1:-1;3960:1:3;1824:7928:18;;;5705:15:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;735:10:10;6279:32:3;6185:127;;6223:52;-1:-1:-1;3960:1:3;1824:7928:18;;;3776:18:3;1824:7928:18;;;;;;;;735:10:10;1824:7928:18;;;;;;;;;;6223:52:3;;1824:7928:18;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;1824:7928:18;;;;:::o;:::-;;;:::o;:::-;-1:-1:-1;;1824:7928:18;;;;;;;:::o;4171:160::-;1824:7928;;;;;;;-1:-1:-1;1824:7928:18;4306:8;1824:7928;;;-1:-1:-1;1824:7928:18;;;;4266:57;1824:7928;4266:57;;4291:4;;1824:7928;;;;-1:-1:-1;;;;;1824:7928:18;;;;;;;;;;;;;;4266:57;;;;;;:::i;:::-;1824:7928;4256:68;;4171:160;:::o;6695:221::-;6800:17;6695:221;6800:17;:::i;:::-;1824:7928;6839:1;1824:7928;;;6831:9;:47;;;;6695:221;6827:61;;;6695:221;:::o;6831:47::-;2268:4;6844:34;;;;6831:47;;;7856:221;1824:7928;;7936:9;;7932:30;;7984:1;7976:9;;7972:32;;8026:1;8018:9;8014:28;;1824:7928;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;7856:221;:::o;8014:28::-;1824:7928;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;8029:13;:::o;7972:32::-;1824:7928;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;7987:17;:::o;7932:30::-;1824:7928;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1824:7928:18;;;;7947:15;:::o;15957:241:3:-;-1:-1:-1;1824:7928:18;;;5470:7:3;1824:7928:18;;;;;;-1:-1:-1;;;;;1824:7928:18;;16086:19:3;;16082:88;;16179:12;15957:241;:::o;16082:88::-;6967:31;;;-1:-1:-1;16128:31:3;;1824:7928:18;;-1:-1:-1;16128:31:3;1796:162:0;1710:6;1824:7928:18;-1:-1:-1;;;;;1824:7928:18;735:10:10;1855:23:0;1851:101;;1796:162::o;1851:101::-;1901:40;;;-1:-1:-1;1901:40:0;735:10:10;1901:40:0;1824:7928:18;;-1:-1:-1;1901:40:0;6922:223:18;;1824:7928;7003:22;;7039:6;7035:22;;7074:14;-1:-1:-1;;;7074:14:18;;;;6922:223;:::o;7067:72::-;7125:3;1824:7928;7110:1;1824:7928;7125:3;;:::i;:::-;7067:72;;;7035:22;-1:-1:-1;7054:3:18;;-1:-1:-1;7047:10:18:o;994:926:7:-;1174:14;;1170:744;;994:926;;;;;;:::o;1170:744::-;1824:7928:18;;-1:-1:-1;;;1212:67:7;;-1:-1:-1;;;;;1824:7928:18;;;1212:67:7;;;1824:7928:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1212:67:7;;1191:1;1212:67;;;1191:1;;1212:67;;;1170:744;-1:-1:-1;1208:696:7;;1519:385;;;:::i;:::-;1824:7928:18;;;1569:18:7;;;9730:33:3;;;;1191:1:7;1673:39;1212:67;1824:7928:18;;1191:1:7;1673:39;1565:325;1824:7928:18;1759:113:7;;1208:696;-1:-1:-1;;;;;;1824:7928:18;-1:-1:-1;;;1326:51:7;1322:182;;1208:696;1170:744;;;;;;;1322:182;9730:33:3;;;1191:1:7;1446:39;1212:67;1824:7928:18;;1191:1:7;1446:39;1212:67;;;;1824:7928:18;1212:67:7;;1824:7928:18;1212:67:7;;;;;;1824:7928:18;1212:67:7;;;:::i;:::-;;;1824:7928:18;;;;;-1:-1:-1;;;;;;1824:7928:18;;;;;;1212:67:7;;;;;;;-1:-1:-1;1212:67:7;","linkReferences":{},"immutableReferences":{}}}}}}},"signatures":{"function":[{"signature":"approve(address,uint256)","signatureHash4":"0x095ea7b3","signatureHash32":"0x095ea7b334ae44009aa867bfb386f5c3b4b443ac6f0ee573fa91c4608fbadfba"},{"signature":"balanceOf(address)","signatureHash4":"0x70a08231","signatureHash32":"0x70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be"},{"signature":"baseURI()","signatureHash4":"0x6c0360eb","signatureHash32":"0x6c0360ebdf68e0f62377a9a6e37fcfe105deb69715aa51e836946fccbad7b496"},{"signature":"challengeFor(address)","signatureHash4":"0xb52f2c33","signatureHash32":"0xb52f2c336c38d468eff0d0c94eb499aeaaa9a785e5316022003839d053d9b793"},{"signature":"effectiveTier(uint256,uint256)","signatureHash4":"0xbe32cdc3","signatureHash32":"0xbe32cdc3f809d57401ba6d9e6d78accc209d2adeba9632e5fd8fec96487c4955"},{"signature":"getApproved(uint256)","signatureHash4":"0x081812fc","signatureHash32":"0x081812fc55e34fdc7cf5d8b5cf4e3621fa6423fde952ec6ab24afdc0d85c0b2e"},{"signature":"isApprovedForAll(address,address)","signatureHash4":"0xe985e9c5","signatureHash32":"0xe985e9c5c6636c6879256001057b28ccac7718ef0ac56553ff9b926452cab8a3"},{"signature":"LEGENDARY_UNLOCK_SUPPLY()","signatureHash4":"0xbb10a28f","signatureHash32":"0xbb10a28f4c943ac511ad86a1e774d294c8900686e0b5e8229c32685fa3bc79bb"},{"signature":"MAX_PER_WALLET()","signatureHash4":"0x0f2cdd6c","signatureHash32":"0x0f2cdd6cd2d6b96a106f015e0c005331df6139f3a1c34460fde7b644b1ae8e68"},{"signature":"MAX_SUPPLY()","signatureHash4":"0x32cb6b0c","signatureHash32":"0x32cb6b0c9d125b1472513cbeeb7f75e981364c137d7d7140f52eb5e4e9cbb979"},{"signature":"MIN_BITS()","signatureHash4":"0xd3091615","signatureHash32":"0xd3091615dbbf483e5a356daed8c3b032eaf45c5c84c6d45650cc421f6c2bac0b"},{"signature":"mintedBy(address)","signatureHash4":"0x3cef28d2","signatureHash32":"0x3cef28d2a347eb7b15200f788ef3c7d0d847423cdf0ff5ffe4229b4ce296ca90"},{"signature":"MINT_FEE()","signatureHash4":"0xd7bf81a3","signatureHash32":"0xd7bf81a3c7830ee666494e9ab6f9d8399fcb25d01c9191ab3964716bc33b513c"},{"signature":"mintOpen()","signatureHash4":"0x24bbd049","signatureHash32":"0x24bbd049b398cb3c8e328beccb6e7271655b0e9711e6216d7d3a382fa2eb29ff"},{"signature":"mintPrice(address)","signatureHash4":"0x2142aa2c","signatureHash32":"0x2142aa2c88dbbad6dc87fa8e7275731400fae225c7125cf0198d22505f1cdc81"},{"signature":"mint(uint256)","signatureHash4":"0xa0712d68","signatureHash32":"0xa0712d680358d64f694230b7cc0b277c73686bdf768385d55cd7c547d0ffd30e"},{"signature":"name()","signatureHash4":"0x06fdde03","signatureHash32":"0x06fdde0383f15d582d1a74511486c9ddf862a882fb7904b3d9fe9b8b8e58a796"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"ownerOf(uint256)","signatureHash4":"0x6352211e","signatureHash32":"0x6352211e6566aa027e75ac9dbf2423197fbd9b82b9d981a3ab367d355866aa1c"},{"signature":"proofBitsOf(uint256)","signatureHash4":"0xbc034ea5","signatureHash32":"0xbc034ea5f8caf01fb34616bb6b26f4b29bb010d81dbde776716f62bf6ed6c4d5"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"royaltyInfo(uint256,uint256)","signatureHash4":"0x2a55205a","signatureHash32":"0x2a55205a9d4720a297dfcf892a8ff23e6f95ca084ce993231bd653f83741ac42"},{"signature":"safeTransferFrom(address,address,uint256)","signatureHash4":"0x42842e0e","signatureHash32":"0x42842e0eb38857a7775b4e7364b2775df7325074d088e7fb39590cd6281184ed"},{"signature":"safeTransferFrom(address,address,uint256,bytes)","signatureHash4":"0xb88d4fde","signatureHash32":"0xb88d4fde60196325a28bb7f99a2582e0b46de55b18761e960c14ad7a32099465"},{"signature":"setApprovalForAll(address,bool)","signatureHash4":"0xa22cb465","signatureHash32":"0xa22cb4651ab9570f89bb516380c40ce76762284fb1f21337ceaf6adab99e7d4a"},{"signature":"setBaseURI(string)","signatureHash4":"0x55f804b3","signatureHash32":"0x55f804b373ab21b346f6f172ca5e118cfcad05163bcea59b35420499bf7e074b"},{"signature":"setMintOpen(bool)","signatureHash4":"0xf8004d31","signatureHash32":"0xf8004d31b84b5f19ac0cf522f7f0bc19d42a65b8f199e640c1670b5de5f6dfea"},{"signature":"supportsInterface(bytes4)","signatureHash4":"0x01ffc9a7","signatureHash32":"0x01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e2"},{"signature":"symbol()","signatureHash4":"0x95d89b41","signatureHash32":"0x95d89b41e2f5f391a79ec54e9d87c79d6e777c63e32c28da95b4e9e4a79250ec"},{"signature":"tierForBits(uint256)","signatureHash4":"0x0e2dbc6e","signatureHash32":"0x0e2dbc6e29c959bf896c4f62fa6dee675606fb45349a5b448e188b89ab1d52bb"},{"signature":"tierName(uint8)","signatureHash4":"0xc1959a6b","signatureHash32":"0xc1959a6bb75ca3dfed0635b8be33bf804d2410f3cfcb96616e679263525218b9"},{"signature":"tierOf(uint256)","signatureHash4":"0x53f96df2","signatureHash32":"0x53f96df2b33dccc370fe17904b5af4b9f0851a3c98f592940754a99a9a18e89d"},{"signature":"tokenURI(uint256)","signatureHash4":"0xc87b56dd","signatureHash32":"0xc87b56dda752230262935940d907f047a9f86bb5ee6aa33511fc86db33fea6cc"},{"signature":"totalMinted()","signatureHash4":"0xa2309ff8","signatureHash32":"0xa2309ff8a1f86a4fb15fe22cc66ca2240889c22973a8705ca226daf66b420ca7"},{"signature":"totalSupply()","signatureHash4":"0x18160ddd","signatureHash32":"0x18160ddd7f15c72528c2f94fd8dfe3c8d5aa26e2c50c7d81f4bc7bee8d4b7932"},{"signature":"transferFrom(address,address,uint256)","signatureHash4":"0x23b872dd","signatureHash32":"0x23b872dd7302113369cda2901243429419bec145408fa8b352b3dd92b66c680b"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"withdraw()","signatureHash4":"0x3ccfd60b","signatureHash32":"0x3ccfd60b2e3ddce51ab210bfb9db13577f03a21684fa35e4bcd739dd5a30bda2"}],"event":[{"signature":"Approval(address,address,uint256)","signatureHash4":"0x8c5be1e5","signatureHash32":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},{"signature":"ApprovalForAll(address,address,bool)","signatureHash4":"0x17307eab","signatureHash32":"0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31"},{"signature":"BaseURIChanged(string)","signatureHash4":"0x5411e8eb","signatureHash32":"0x5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf6"},{"signature":"MintOpenChanged(bool)","signatureHash4":"0xa9f739ee","signatureHash32":"0xa9f739ee29a6336acdfe5b044a6dce0d70579031be6dbdece2ac0848d8c2a080"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"Transfer(address,address,uint256)","signatureHash4":"0xddf252ad","signatureHash32":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"},{"signature":"UnitMinted(address,uint256,uint8,uint256)","signatureHash4":"0x09b2079a","signatureHash32":"0x09b2079ace5989543aad7a3a2c79f45d8675a186b1eed1e7fa2a335cbceedb78"}],"error":[{"signature":"ERC2981InvalidDefaultRoyaltyReceiver(address)","signatureHash4":"0xb6d9900a","signatureHash32":"0xb6d9900a710828c2d05fe8061d6309d02a20eaa45cd00228c2c2dfbfa2b86fc3"},{"signature":"ERC2981InvalidDefaultRoyalty(uint256,uint256)","signatureHash4":"0x6f483d09","signatureHash32":"0x6f483d09b3a1c4c035367ae09146a8a08a718cb6617416cc12a2457ab3d65514"},{"signature":"ERC2981InvalidTokenRoyaltyReceiver(uint256,address)","signatureHash4":"0x969f0852","signatureHash32":"0x969f0852135afead3ca9a1ff1e4fe485d35593f81a91d5dbe3a5737302cdbda8"},{"signature":"ERC2981InvalidTokenRoyalty(uint256,uint256,uint256)","signatureHash4":"0xdfd1fc1b","signatureHash32":"0xdfd1fc1b5658265f0993b87b75dd02b2fdcb36b128879bccdcf260effa0856bf"},{"signature":"ERC721IncorrectOwner(address,uint256,address)","signatureHash4":"0x64283d7b","signatureHash32":"0x64283d7b313c8117c125f736876fa2b4e90ea3831a4716dfdb87d2f540e26289"},{"signature":"ERC721InsufficientApproval(address,uint256)","signatureHash4":"0x177e802f","signatureHash32":"0x177e802f6f313bc89797ecace66d6d29ab4719cbaaacbb87367264048b1eb861"},{"signature":"ERC721InvalidApprover(address)","signatureHash4":"0xa9fbf51f","signatureHash32":"0xa9fbf51f86b8e03595d59dc726bb10c329bb24f62589be276d8dd193ca0b69ea"},{"signature":"ERC721InvalidOperator(address)","signatureHash4":"0x5b08ba18","signatureHash32":"0x5b08ba185e8f577075361f3a3555a6580a227ce22734dcc979c1aeadf894658b"},{"signature":"ERC721InvalidOwner(address)","signatureHash4":"0x89c62b64","signatureHash32":"0x89c62b6479af2e623826dcc39c5133061d35b66d72de92833401dd2fd6567480"},{"signature":"ERC721InvalidReceiver(address)","signatureHash4":"0x64a0ae92","signatureHash32":"0x64a0ae9278f805eaf991dcd18ca78756d280b7508b764ef1b255c55845c11df9"},{"signature":"ERC721InvalidSender(address)","signatureHash4":"0x73c6ac6e","signatureHash32":"0x73c6ac6e10798e95d99e1f130d923eb40193ecb8d094ec3dce93292564eb3b17"},{"signature":"ERC721NonexistentToken(uint256)","signatureHash4":"0x7e273289","signatureHash32":"0x7e273289a3a9ef6670f06df7dca227856fc925e956db96980692764a8bc734d7"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"56","address":"0x60509085Cea233c3Ca1842767379185bFce2b440"}