{"constructor_args":null,"is_partially_verified":true,"is_changed_bytecode":false,"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"BLACKLISTED","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMPLIANCE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"blockAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"burnFromWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"complianceWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"pauser","type":"address"},{"internalType":"address","name":"compliance","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauserWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20Upgradeable","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"transferWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"unblockAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCompliance","type":"address"}],"name":"updateCompliance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"updateOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"updateOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPauser","type":"address"}],"name":"updatePauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}],"conflicting_implementations":null,"certified":false,"additional_sources":[],"is_verified_via_sourcify":true,"can_be_visualized_via_sol2uml":true,"evm_version":"cancun","language":"solidity","is_verified_via_eth_bytecode_db":true,"is_fully_verified":false,"license_type":"none","is_blueprint":false,"name":"BRLAV1_1","creation_bytecode":"0x60a06040523073ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff16815250348015610042575f80fd5b5061005161005660201b60201c565b6101e6565b5f60019054906101000a900460ff16156100a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161009c90610194565b60405180910390fd5b60ff80165f8054906101000a900460ff1660ff1610156101125760ff5f806101000a81548160ff021916908360ff1602179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860ff60405161010991906101cd565b60405180910390a15b565b5f82825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320696e6974695f8201527f616c697a696e6700000000000000000000000000000000000000000000000000602082015250565b5f61017e602783610114565b915061018982610124565b604082019050919050565b5f6020820190508181035f8301526101ab81610172565b9050919050565b5f60ff82169050919050565b6101c7816101b2565b82525050565b5f6020820190506101e05f8301846101be565b92915050565b608051615f1161021a5f395f8181610ddf01528181610e6d0152818161110201528181611190015261123f0152615f115ff3fe6080604052600436106102ad575f3560e01c806379cc679011610174578063aa8b2ea7116100db578063d505accf11610094578063e58378bb1161006e578063e58378bb14610a7f578063e63ab1e914610aa9578063f5b541a614610ad3578063f90ef4ac14610afd576102ad565b8063d505accf146109f3578063d547741f14610a1b578063dd62ed3e14610a43576102ad565b8063aa8b2ea714610901578063ac7475ed1461092b578063ad2bb1b314610953578063b2118a8d1461097b578063c0c53b8b146109a3578063c279636b146109cb576102ad565b80639335dcb71161012d5780639335dcb7146107e357806395d89b411461080d5780639d341a0d14610837578063a217fddf1461085f578063a457c2d714610889578063a9059cbb146108c5576102ad565b806379cc6790146106db5780637ecebe00146107035780638456cb591461073f578063880cdc31146107555780638861026f1461077d57806391d14854146107a7576102ad565b80633659cfe6116102185780634f1ef286116101d15780634f1ef286146105dd57806352d1902d146105f9578063554bab3c146106235780635ad317a41461064b5780635c975abb1461067557806370a082311461069f576102ad565b80633659cfe6146104eb57806339509351146105135780633adb2cff1461054f5780633f4ba83a1461057757806340c10f191461058d57806342966c68146105b5576102ad565b806323b872dd1161026a57806323b872dd146103cf578063248a9ca31461040b5780632f2ff15d14610447578063313ce5671461046f5780633644e5151461049957806336568abe146104c3576102ad565b806301ffc9a7146102b1578063062d3bd7146102ed57806306fdde0314610317578063095ea7b31461034157806318160ddd1461037d578063186d9d88146103a7575b5f80fd5b3480156102bc575f80fd5b506102d760048036038101906102d29190613f54565b610b27565b6040516102e49190613f99565b60405180910390f35b3480156102f8575f80fd5b50610301610ba0565b60405161030e9190613fca565b60405180910390f35b348015610322575f80fd5b5061032b610bc4565b6040516103389190614053565b60405180910390f35b34801561034c575f80fd5b5061036760048036038101906103629190614100565b610c54565b6040516103749190613f99565b60405180910390f35b348015610388575f80fd5b50610391610c76565b60405161039e919061414d565b60405180910390f35b3480156103b2575f80fd5b506103cd60048036038101906103c89190614166565b610c7f565b005b3480156103da575f80fd5b506103f560048036038101906103f09190614191565b610cd7565b6040516104029190613f99565b60405180910390f35b348015610416575f80fd5b50610431600480360381019061042c919061420b565b610d05565b60405161043e9190613fca565b60405180910390f35b348015610452575f80fd5b5061046d60048036038101906104689190614236565b610d23565b005b34801561047a575f80fd5b50610483610d44565b604051610490919061428f565b60405180910390f35b3480156104a4575f80fd5b506104ad610d4c565b6040516104ba9190613fca565b60405180910390f35b3480156104ce575f80fd5b506104e960048036038101906104e49190614236565b610d5a565b005b3480156104f6575f80fd5b50610511600480360381019061050c9190614166565b610ddd565b005b34801561051e575f80fd5b5061053960048036038101906105349190614100565b610f63565b6040516105469190613f99565b60405180910390f35b34801561055a575f80fd5b5061057560048036038101906105709190614166565b610f99565b005b348015610582575f80fd5b5061058b61107e565b005b348015610598575f80fd5b506105b360048036038101906105ae9190614100565b6110b3565b005b3480156105c0575f80fd5b506105db60048036038101906105d691906142a8565b6110ec565b005b6105f760048036038101906105f291906143ff565b611100565b005b348015610604575f80fd5b5061060d61123c565b60405161061a9190613fca565b60405180910390f35b34801561062e575f80fd5b5061064960048036038101906106449190614166565b6112f3565b005b348015610656575f80fd5b5061065f6113d8565b60405161066c9190614468565b60405180910390f35b348015610680575f80fd5b506106896113fe565b6040516106969190613f99565b60405180910390f35b3480156106aa575f80fd5b506106c560048036038101906106c09190614166565b611413565b6040516106d2919061414d565b60405180910390f35b3480156106e6575f80fd5b5061070160048036038101906106fc9190614100565b611459565b005b34801561070e575f80fd5b5061072960048036038101906107249190614166565b611479565b604051610736919061414d565b60405180910390f35b34801561074a575f80fd5b506107536114c6565b005b348015610760575f80fd5b5061077b60048036038101906107769190614166565b6114fb565b005b348015610788575f80fd5b506107916115e0565b60405161079e9190614468565b60405180910390f35b3480156107b2575f80fd5b506107cd60048036038101906107c89190614236565b611606565b6040516107da9190613f99565b60405180910390f35b3480156107ee575f80fd5b506107f761166b565b6040516108049190614468565b60405180910390f35b348015610818575f80fd5b50610821611691565b60405161082e9190614053565b60405180910390f35b348015610842575f80fd5b5061085d600480360381019061085891906144ab565b611721565b005b34801561086a575f80fd5b50610873611771565b6040516108809190613fca565b60405180910390f35b348015610894575f80fd5b506108af60048036038101906108aa9190614100565b611777565b6040516108bc9190613f99565b60405180910390f35b3480156108d0575f80fd5b506108eb60048036038101906108e69190614100565b6117ec565b6040516108f89190613f99565b60405180910390f35b34801561090c575f80fd5b5061091561180e565b6040516109229190613fca565b60405180910390f35b348015610936575f80fd5b50610951600480360381019061094c9190614166565b611832565b005b34801561095e575f80fd5b5061097960048036038101906109749190614166565b611917565b005b348015610986575f80fd5b506109a1600480360381019061099c9190614597565b61196f565b005b3480156109ae575f80fd5b506109c960048036038101906109c491906145e7565b6119ca565b005b3480156109d6575f80fd5b506109f160048036038101906109ec9190614637565b611e6d565b005b3480156109fe575f80fd5b50610a196004803603810190610a149190614637565b611ef1565b005b348015610a26575f80fd5b50610a416004803603810190610a3c9190614236565b612030565b005b348015610a4e575f80fd5b50610a696004803603810190610a6491906146d4565b612051565b604051610a76919061414d565b60405180910390f35b348015610a8a575f80fd5b50610a936120d3565b604051610aa09190613fca565b60405180910390f35b348015610ab4575f80fd5b50610abd6120f7565b604051610aca9190613fca565b60405180910390f35b348015610ade575f80fd5b50610ae761211b565b604051610af49190613fca565b60405180910390f35b348015610b08575f80fd5b50610b1161213f565b604051610b1e9190614468565b60405180910390f35b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b995750610b9882612165565b5b9050919050565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698581565b606060368054610bd39061473f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff9061473f565b8015610c4a5780601f10610c2157610100808354040283529160200191610c4a565b820191905f5260205f20905b815481529060010190602001808311610c2d57829003601f168201915b5050505050905090565b5f80610c5e6121ce565b9050610c6b8185856121d5565b600191505092915050565b5f603554905090565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee6985610ca981612398565b610cd37ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf836123ac565b5050565b5f80610ce16121ce565b9050610cee858285612488565b610cf9858585612513565b60019150509392505050565b5f6101625f8381526020019081526020015f20600101549050919050565b610d2c82610d05565b610d3581612398565b610d3f8383612782565b505050565b5f6012905090565b5f610d5561285e565b905090565b610d626121ce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc6906147df565b60405180910390fd5b610dd982826123ac565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1603610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e629061486d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610eaa61289d565b73ffffffffffffffffffffffffffffffffffffffff1614610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef7906148fb565b60405180910390fd5b610f09816128f0565b610f60815f67ffffffffffffffff811115610f2757610f266142db565b5b6040519080825280601f01601f191660200182016040528015610f595781602001600182028036833780820191505090505b505f61291e565b50565b5f80610f6d6121ce565b9050610f8e818585610f7f8589612051565b610f899190614946565b6121d5565b600191505092915050565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee6985610fc381612398565b610fed7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698583612782565b6110397f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee69856101fb5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101fb5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6110a881612398565b6110b0612a88565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296110dd81612398565b6110e78383612ae9565b505050565b6110fd6110f76121ce565b82612c38565b50565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361118e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111859061486d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166111cd61289d565b73ffffffffffffffffffffffffffffffffffffffff1614611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a906148fb565b60405180910390fd5b61122c826128f0565b6112388282600161291e565b5050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16146112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c2906149e9565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b905090565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61131d81612398565b6113477f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a83612782565b6113937f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6101fa5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101fa5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6101fa5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60fe5f9054906101000a900460ff16905090565b5f60335f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61146b826114656121ce565b83612488565b6114758282612c38565b5050565b5f6114bf60cb5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20612dfd565b9050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6114f081612398565b6114f8612e09565b50565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61152581612398565b61154f7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e83612782565b61159b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e6101f85f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101f85f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6101fb5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6101625f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6101f85f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060603780546116a09061473f565b80601f01602080910402602001604051908101604052809291908181526020018280546116cc9061473f565b80156117175780601f106116ee57610100808354040283529160200191611717565b820191905f5260205f20905b8154815290600101906020018083116116fa57829003601f168201915b5050505050905090565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92961174b81612398565b61175a89898888888888611ef1565b611765898888610cd7565b50505050505050505050565b5f801b81565b5f806117816121ce565b90505f61178e8286612051565b9050838110156117d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ca90614a77565b60405180910390fd5b6117e082868684036121d5565b60019250505092915050565b5f806117f66121ce565b9050611803818585612513565b600191505092915050565b7ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf81565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92961185c81612398565b6118867f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92983612782565b6118d27f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296101f95f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101f95f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698561194181612398565b61196b7ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf83612782565b5050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61199981612398565b6119c483838673ffffffffffffffffffffffffffffffffffffffff16612e6b9092919063ffffffff16565b50505050565b5f8060019054906101000a900460ff161590508080156119f9575060015f8054906101000a900460ff1660ff16105b80611a255750611a0830612ef1565b158015611a24575060015f8054906101000a900460ff1660ff16145b5b611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90614b05565b60405180910390fd5b60015f806101000a81548160ff021916908360ff1602179055508015611a9f5760015f60016101000a81548160ff0219169083151502179055505b611b136040518060400160405280600a81526020017f42524c4120546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42524c4100000000000000000000000000000000000000000000000000000000815250612f13565b611b516040518060400160405280600a81526020017f42524c4120546f6b656e00000000000000000000000000000000000000000000815250612f6f565b611b59612fff565b611b6161304f565b611b696130a7565b611b716130f7565b336101f85f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550836101f95f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826101fa5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816101fb5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611c9f7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e33612782565b611cc97fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e80613147565b611cf37f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92985612782565b611d1d7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92980613147565b611d477f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a84612782565b611d717f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a80613147565b611d9b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698583612782565b611dc57f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698580613147565b611e0f7ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee6985613147565b8015611e67575f8060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611e5e9190614b65565b60405180910390a15b50505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929611e9781612398565b8673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ece575f80fd5b611edd88888888888888611ef1565b611ee78887611459565b5050505050505050565b83421115611f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2b90614bc8565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611f628c6131a1565b89604051602001611f7896959493929190614be6565b6040516020818303038152906040528051906020012090505f611f9a826131fc565b90505f611fa982878787613215565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090614c8f565b60405180910390fd5b6120248a8a8a6121d5565b50505050505050505050565b61203982610d05565b61204281612398565b61204c83836123ac565b505050565b5f60345f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e81565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92981565b6101f95f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223a90614d1d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a890614dab565b60405180910390fd5b8060345f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161238b919061414d565b60405180910390a3505050565b6123a9816123a46121ce565b61323e565b50565b6123b68282611606565b15612484575f6101625f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506124296121ce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b5f6124938484612051565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461250d57818110156124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f690614e13565b60405180910390fd5b61250c84848484036121d5565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257890614ea1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e690614f2f565b60405180910390fd5b6125fa8383836132c2565b5f60335f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561267e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267590614fbd565b60405180910390fd5b81810360335f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160335f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612769919061414d565b60405180910390a361277c8484846132ec565b50505050565b61278c8282611606565b61285a5760016101625f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506127ff6121ce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b5f6128987f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61288b6132f1565b6128936132fa565b613303565b905090565b5f6128c97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b61333c565b5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61291a81612398565b5050565b6129497f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435f1b613345565b5f015f9054906101000a900460ff161561296b576129668361334e565b612a83565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156129d357506040513d601f19601f820116820180604052508101906129d09190614fef565b60015b612a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a099061508a565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b8114612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d90615118565b60405180910390fd5b50612a82838383613404565b5b505050565b612a9061342f565b5f60fe5f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612ad26121ce565b604051612adf9190614468565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4e90615180565b60405180910390fd5b612b625f83836132c2565b8060355f828254612b739190614946565b925050819055508060335f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612c21919061414d565b60405180910390a3612c345f83836132ec565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9d9061520e565b60405180910390fd5b612cb1825f836132c2565b5f60335f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2c9061529c565b60405180910390fd5b81810360335f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160355f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612de5919061414d565b60405180910390a3612df8835f846132ec565b505050565b5f815f01549050919050565b612e11613478565b600160fe5f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612e546121ce565b604051612e619190614468565b60405180910390a1565b612eec8363a9059cbb60e01b8484604051602401612e8a9291906152ba565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506134c2565b505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f60019054906101000a900460ff16612f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5890615351565b60405180910390fd5b612f6b8282613587565b5050565b5f60019054906101000a900460ff16612fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb490615351565b60405180910390fd5b612ffc816040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506135f9565b50565b5f60019054906101000a900460ff1661304d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304490615351565b60405180910390fd5b565b5f60019054906101000a900460ff1661309d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309490615351565b60405180910390fd5b6130a5613671565b565b5f60019054906101000a900460ff166130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ec90615351565b60405180910390fd5b565b5f60019054906101000a900460ff16613145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313c90615351565b60405180910390fd5b565b5f61315183610d05565b9050816101625f8581526020019081526020015f20600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b5f8060cb5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090506131eb81612dfd565b91506131f6816136da565b50919050565b5f61320e61320861285e565b836136ee565b9050919050565b5f805f61322487878787613720565b91509150613231816137f8565b8192505050949350505050565b6132488282611606565b6132be576132558161395d565b613262835f1c602061398a565b60405160200161327392919061543d565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b59190614053565b60405180910390fd5b5050565b6132ca613478565b6132d383613bbf565b6132dc82613bbf565b6132e7838383613bf5565b505050565b505050565b5f609754905090565b5f609854905090565b5f838383463060405160200161331d959493929190615476565b6040516020818303038152906040528051906020012090509392505050565b5f819050919050565b5f819050919050565b61335781612ef1565b613396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338d90615537565b60405180910390fd5b806133c27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b61333c565b5f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61340d83613bfa565b5f825111806134195750805b1561342a576134288383613c49565b505b505050565b6134376113fe565b613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d9061559f565b60405180910390fd5b565b6134806113fe565b156134c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b790615607565b60405180910390fd5b565b5f613523826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613d299092919063ffffffff16565b90505f815111156135825780806020019051810190613542919061564f565b613581576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613578906156ea565b60405180910390fd5b5b505050565b5f60019054906101000a900460ff166135d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cc90615351565b60405180910390fd5b81603690816135e4919061589c565b5080603790816135f4919061589c565b505050565b5f60019054906101000a900460ff16613647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363e90615351565b60405180910390fd5b5f828051906020012090505f82805190602001209050816097819055508060988190555050505050565b5f60019054906101000a900460ff166136bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b690615351565b60405180910390fd5b5f60fe5f6101000a81548160ff021916908315150217905550565b6001815f015f828254019250508190555050565b5f82826040516020016137029291906159d5565b60405160208183030381529060405280519060200120905092915050565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0835f1c1115613758575f6003915091506137ef565b5f6001878787876040515f815260200160405260405161377b9493929190615a0b565b6020604051602081039080840390855afa15801561379b573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036137e7575f600192509250506137ef565b805f92509250505b94509492505050565b5f600481111561380b5761380a615a4e565b5b81600481111561381e5761381d615a4e565b5b031561395a576001600481111561383857613837615a4e565b5b81600481111561384b5761384a615a4e565b5b0361388b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388290615ac5565b60405180910390fd5b6002600481111561389f5761389e615a4e565b5b8160048111156138b2576138b1615a4e565b5b036138f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e990615b2d565b60405180910390fd5b6003600481111561390657613905615a4e565b5b81600481111561391957613918615a4e565b5b03613959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395090615bbb565b60405180910390fd5b5b50565b60606139838273ffffffffffffffffffffffffffffffffffffffff16601460ff1661398a565b9050919050565b60605f600283600261399c9190615bd9565b6139a69190614946565b67ffffffffffffffff8111156139bf576139be6142db565b5b6040519080825280601f01601f1916602001820160405280156139f15781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f81518110613a2857613a27615c1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613a8b57613a8a615c1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f6001846002613ac99190615bd9565b613ad39190614946565b90505b6001811115613b72577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613b1557613b14615c1a565b5b1a60f81b828281518110613b2c57613b2b615c1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600485901c945080613b6b90615c47565b9050613ad6565b505f8414613bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bac90615cb8565b60405180910390fd5b8091505092915050565b613be97ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf82611606565b15613bf2575f80fd5b50565b505050565b613c038161334e565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b6060613c5483612ef1565b613c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8a90615d46565b60405180910390fd5b5f808473ffffffffffffffffffffffffffffffffffffffff1684604051613cba9190615da8565b5f60405180830381855af49150503d805f8114613cf2576040519150601f19603f3d011682016040523d82523d5f602084013e613cf7565b606091505b5091509150613d1f8282604051806060016040528060278152602001615eb560279139613d40565b9250505092915050565b6060613d3784845f85613d62565b90509392505050565b60608315613d5057829050613d5b565b613d5a8383613e2b565b5b9392505050565b606082471015613da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d9e90615e2e565b60405180910390fd5b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051613dcf9190615da8565b5f6040518083038185875af1925050503d805f8114613e09576040519150601f19603f3d011682016040523d82523d5f602084013e613e0e565b606091505b5091509150613e1f87838387613e7a565b92505050949350505050565b5f82511115613e3d5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e719190614053565b60405180910390fd5b60608315613edb575f835103613ed357613e9385612ef1565b613ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ec990615e96565b60405180910390fd5b5b829050613ee6565b613ee58383613e2b565b5b949350505050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f3381613eff565b8114613f3d575f80fd5b50565b5f81359050613f4e81613f2a565b92915050565b5f60208284031215613f6957613f68613ef7565b5b5f613f7684828501613f40565b91505092915050565b5f8115159050919050565b613f9381613f7f565b82525050565b5f602082019050613fac5f830184613f8a565b92915050565b5f819050919050565b613fc481613fb2565b82525050565b5f602082019050613fdd5f830184613fbb565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61402582613fe3565b61402f8185613fed565b935061403f818560208601613ffd565b6140488161400b565b840191505092915050565b5f6020820190508181035f83015261406b818461401b565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61409c82614073565b9050919050565b6140ac81614092565b81146140b6575f80fd5b50565b5f813590506140c7816140a3565b92915050565b5f819050919050565b6140df816140cd565b81146140e9575f80fd5b50565b5f813590506140fa816140d6565b92915050565b5f806040838503121561411657614115613ef7565b5b5f614123858286016140b9565b9250506020614134858286016140ec565b9150509250929050565b614147816140cd565b82525050565b5f6020820190506141605f83018461413e565b92915050565b5f6020828403121561417b5761417a613ef7565b5b5f614188848285016140b9565b91505092915050565b5f805f606084860312156141a8576141a7613ef7565b5b5f6141b5868287016140b9565b93505060206141c6868287016140b9565b92505060406141d7868287016140ec565b9150509250925092565b6141ea81613fb2565b81146141f4575f80fd5b50565b5f81359050614205816141e1565b92915050565b5f602082840312156142205761421f613ef7565b5b5f61422d848285016141f7565b91505092915050565b5f806040838503121561424c5761424b613ef7565b5b5f614259858286016141f7565b925050602061426a858286016140b9565b9150509250929050565b5f60ff82169050919050565b61428981614274565b82525050565b5f6020820190506142a25f830184614280565b92915050565b5f602082840312156142bd576142bc613ef7565b5b5f6142ca848285016140ec565b91505092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6143118261400b565b810181811067ffffffffffffffff821117156143305761432f6142db565b5b80604052505050565b5f614342613eee565b905061434e8282614308565b919050565b5f67ffffffffffffffff82111561436d5761436c6142db565b5b6143768261400b565b9050602081019050919050565b828183375f83830152505050565b5f6143a361439e84614353565b614339565b9050828152602081018484840111156143bf576143be6142d7565b5b6143ca848285614383565b509392505050565b5f82601f8301126143e6576143e56142d3565b5b81356143f6848260208601614391565b91505092915050565b5f806040838503121561441557614414613ef7565b5b5f614422858286016140b9565b925050602083013567ffffffffffffffff81111561444357614442613efb565b5b61444f858286016143d2565b9150509250929050565b61446281614092565b82525050565b5f60208201905061447b5f830184614459565b92915050565b61448a81614274565b8114614494575f80fd5b50565b5f813590506144a581614481565b92915050565b5f805f805f805f80610100898b0312156144c8576144c7613ef7565b5b5f6144d58b828c016140b9565b98505060206144e68b828c016140b9565b97505060406144f78b828c016140b9565b96505060606145088b828c016140ec565b95505060806145198b828c016140ec565b94505060a061452a8b828c01614497565b93505060c061453b8b828c016141f7565b92505060e061454c8b828c016141f7565b9150509295985092959890939650565b5f61456682614092565b9050919050565b6145768161455c565b8114614580575f80fd5b50565b5f813590506145918161456d565b92915050565b5f805f606084860312156145ae576145ad613ef7565b5b5f6145bb86828701614583565b93505060206145cc868287016140b9565b92505060406145dd868287016140ec565b9150509250925092565b5f805f606084860312156145fe576145fd613ef7565b5b5f61460b868287016140b9565b935050602061461c868287016140b9565b925050604061462d868287016140b9565b9150509250925092565b5f805f805f805f60e0888a03121561465257614651613ef7565b5b5f61465f8a828b016140b9565b97505060206146708a828b016140b9565b96505060406146818a828b016140ec565b95505060606146928a828b016140ec565b94505060806146a38a828b01614497565b93505060a06146b48a828b016141f7565b92505060c06146c58a828b016141f7565b91505092959891949750929550565b5f80604083850312156146ea576146e9613ef7565b5b5f6146f7858286016140b9565b9250506020614708858286016140b9565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061475657607f821691505b60208210810361476957614768614712565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e63655f8201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b5f6147c9602f83613fed565b91506147d48261476f565b604082019050919050565b5f6020820190508181035f8301526147f6816147bd565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f756768205f8201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b5f614857602c83613fed565b9150614862826147fd565b604082019050919050565b5f6020820190508181035f8301526148848161484b565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f756768205f8201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b5f6148e5602c83613fed565b91506148f08261488b565b604082019050919050565b5f6020820190508181035f830152614912816148d9565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f614950826140cd565b915061495b836140cd565b925082820190508082111561497357614972614919565b5b92915050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c5f8201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b5f6149d3603883613fed565b91506149de82614979565b604082019050919050565b5f6020820190508181035f830152614a00816149c7565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f614a61602583613fed565b9150614a6c82614a07565b604082019050919050565b5f6020820190508181035f830152614a8e81614a55565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c7265615f8201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b5f614aef602e83613fed565b9150614afa82614a95565b604082019050919050565b5f6020820190508181035f830152614b1c81614ae3565b9050919050565b5f819050919050565b5f819050919050565b5f614b4f614b4a614b4584614b23565b614b2c565b614274565b9050919050565b614b5f81614b35565b82525050565b5f602082019050614b785f830184614b56565b92915050565b7f45524332305065726d69743a206578706972656420646561646c696e650000005f82015250565b5f614bb2601d83613fed565b9150614bbd82614b7e565b602082019050919050565b5f6020820190508181035f830152614bdf81614ba6565b9050919050565b5f60c082019050614bf95f830189613fbb565b614c066020830188614459565b614c136040830187614459565b614c20606083018661413e565b614c2d608083018561413e565b614c3a60a083018461413e565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e617475726500005f82015250565b5f614c79601e83613fed565b9150614c8482614c45565b602082019050919050565b5f6020820190508181035f830152614ca681614c6d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f614d07602483613fed565b9150614d1282614cad565b604082019050919050565b5f6020820190508181035f830152614d3481614cfb565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f614d95602283613fed565b9150614da082614d3b565b604082019050919050565b5f6020820190508181035f830152614dc281614d89565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f614dfd601d83613fed565b9150614e0882614dc9565b602082019050919050565b5f6020820190508181035f830152614e2a81614df1565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f614e8b602583613fed565b9150614e9682614e31565b604082019050919050565b5f6020820190508181035f830152614eb881614e7f565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f614f19602383613fed565b9150614f2482614ebf565b604082019050919050565b5f6020820190508181035f830152614f4681614f0d565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f614fa7602683613fed565b9150614fb282614f4d565b604082019050919050565b5f6020820190508181035f830152614fd481614f9b565b9050919050565b5f81519050614fe9816141e1565b92915050565b5f6020828403121561500457615003613ef7565b5b5f61501184828501614fdb565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e746174695f8201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b5f615074602e83613fed565b915061507f8261501a565b604082019050919050565b5f6020820190508181035f8301526150a181615068565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f785f8201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b5f615102602983613fed565b915061510d826150a8565b604082019050919050565b5f6020820190508181035f83015261512f816150f6565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f61516a601f83613fed565b915061517582615136565b602082019050919050565b5f6020820190508181035f8301526151978161515e565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f6151f8602183613fed565b91506152038261519e565b604082019050919050565b5f6020820190508181035f830152615225816151ec565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f615286602283613fed565b91506152918261522c565b604082019050919050565b5f6020820190508181035f8301526152b38161527a565b9050919050565b5f6040820190506152cd5f830185614459565b6152da602083018461413e565b9392505050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420695f8201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b5f61533b602b83613fed565b9150615346826152e1565b604082019050919050565b5f6020820190508181035f8301526153688161532f565b9050919050565b5f81905092915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000005f82015250565b5f6153ad60178361536f565b91506153b882615379565b601782019050919050565b5f6153cd82613fe3565b6153d7818561536f565b93506153e7818560208601613ffd565b80840191505092915050565b7f206973206d697373696e6720726f6c65200000000000000000000000000000005f82015250565b5f61542760118361536f565b9150615432826153f3565b601182019050919050565b5f615447826153a1565b915061545382856153c3565b915061545e8261541b565b915061546a82846153c3565b91508190509392505050565b5f60a0820190506154895f830188613fbb565b6154966020830187613fbb565b6154a36040830186613fbb565b6154b0606083018561413e565b6154bd6080830184614459565b9695505050505050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e5f8201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b5f615521602d83613fed565b915061552c826154c7565b604082019050919050565b5f6020820190508181035f83015261554e81615515565b9050919050565b7f5061757361626c653a206e6f74207061757365640000000000000000000000005f82015250565b5f615589601483613fed565b915061559482615555565b602082019050919050565b5f6020820190508181035f8301526155b68161557d565b9050919050565b7f5061757361626c653a20706175736564000000000000000000000000000000005f82015250565b5f6155f1601083613fed565b91506155fc826155bd565b602082019050919050565b5f6020820190508181035f83015261561e816155e5565b9050919050565b61562e81613f7f565b8114615638575f80fd5b50565b5f8151905061564981615625565b92915050565b5f6020828403121561566457615663613ef7565b5b5f6156718482850161563b565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f6156d4602a83613fed565b91506156df8261567a565b604082019050919050565b5f6020820190508181035f830152615701816156c8565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026157647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82615729565b61576e8683615729565b95508019841693508086168417925050509392505050565b5f6157a061579b615796846140cd565b614b2c565b6140cd565b9050919050565b5f819050919050565b6157b983615786565b6157cd6157c5826157a7565b848454615735565b825550505050565b5f90565b6157e16157d5565b6157ec8184846157b0565b505050565b5b8181101561580f576158045f826157d9565b6001810190506157f2565b5050565b601f8211156158545761582581615708565b61582e8461571a565b8101602085101561583d578190505b6158516158498561571a565b8301826157f1565b50505b505050565b5f82821c905092915050565b5f6158745f1984600802615859565b1980831691505092915050565b5f61588c8383615865565b9150826002028217905092915050565b6158a582613fe3565b67ffffffffffffffff8111156158be576158bd6142db565b5b6158c8825461473f565b6158d3828285615813565b5f60209050601f831160018114615904575f84156158f2578287015190505b6158fc8582615881565b865550615963565b601f19841661591286615708565b5f5b8281101561593957848901518255600182019150602085019450602081019050615914565b868310156159565784890151615952601f891682615865565b8355505b6001600288020188555050505b505050505050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f61599f60028361536f565b91506159aa8261596b565b600282019050919050565b5f819050919050565b6159cf6159ca82613fb2565b6159b5565b82525050565b5f6159df82615993565b91506159eb82856159be565b6020820191506159fb82846159be565b6020820191508190509392505050565b5f608082019050615a1e5f830187613fbb565b615a2b6020830186614280565b615a386040830185613fbb565b615a456060830184613fbb565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f45434453413a20696e76616c6964207369676e617475726500000000000000005f82015250565b5f615aaf601883613fed565b9150615aba82615a7b565b602082019050919050565b5f6020820190508181035f830152615adc81615aa3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e677468005f82015250565b5f615b17601f83613fed565b9150615b2282615ae3565b602082019050919050565b5f6020820190508181035f830152615b4481615b0b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c5f8201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b5f615ba5602283613fed565b9150615bb082615b4b565b604082019050919050565b5f6020820190508181035f830152615bd281615b99565b9050919050565b5f615be3826140cd565b9150615bee836140cd565b9250828202615bfc816140cd565b91508282048414831517615c1357615c12614919565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f615c51826140cd565b91505f8203615c6357615c62614919565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e745f82015250565b5f615ca2602083613fed565b9150615cad82615c6e565b602082019050919050565b5f6020820190508181035f830152615ccf81615c96565b9050919050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f5f8201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b5f615d30602683613fed565b9150615d3b82615cd6565b604082019050919050565b5f6020820190508181035f830152615d5d81615d24565b9050919050565b5f81519050919050565b5f81905092915050565b5f615d8282615d64565b615d8c8185615d6e565b9350615d9c818560208601613ffd565b80840191505092915050565b5f615db38284615d78565b915081905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f615e18602683613fed565b9150615e2382615dbe565b604082019050919050565b5f6020820190508181035f830152615e4581615e0c565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f615e80601d83613fed565b9150615e8b82615e4c565b602082019050919050565b5f6020820190508181035f830152615ead81615e74565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c310ff02c77a516f38f50f66bb92ff5853ee3d4d0a01bf51e5ba3cb26ecf276564736f6c634300081a0033","external_libraries":[],"proxy_type":null,"implementations":[],"verified_at":"2024-11-06T01:49:48.663999Z","is_verified_via_verifier_alliance":false,"compiler_version":"0.8.26+commit.8a97fa7a","decoded_constructor_args":null,"sourcify_repo_url":"https://repo.sourcify.dev/1/0xec6f74E15777047d2a66d2CC0e775A2db6455C60","optimization_runs":null,"compiler_settings":{"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":false,"runs":200},"remappings":[]},"is_verified":true,"verified_twin_address_hash":null,"optimization_enabled":false,"deployed_bytecode":"0x6080604052600436106102ad575f3560e01c806379cc679011610174578063aa8b2ea7116100db578063d505accf11610094578063e58378bb1161006e578063e58378bb14610a7f578063e63ab1e914610aa9578063f5b541a614610ad3578063f90ef4ac14610afd576102ad565b8063d505accf146109f3578063d547741f14610a1b578063dd62ed3e14610a43576102ad565b8063aa8b2ea714610901578063ac7475ed1461092b578063ad2bb1b314610953578063b2118a8d1461097b578063c0c53b8b146109a3578063c279636b146109cb576102ad565b80639335dcb71161012d5780639335dcb7146107e357806395d89b411461080d5780639d341a0d14610837578063a217fddf1461085f578063a457c2d714610889578063a9059cbb146108c5576102ad565b806379cc6790146106db5780637ecebe00146107035780638456cb591461073f578063880cdc31146107555780638861026f1461077d57806391d14854146107a7576102ad565b80633659cfe6116102185780634f1ef286116101d15780634f1ef286146105dd57806352d1902d146105f9578063554bab3c146106235780635ad317a41461064b5780635c975abb1461067557806370a082311461069f576102ad565b80633659cfe6146104eb57806339509351146105135780633adb2cff1461054f5780633f4ba83a1461057757806340c10f191461058d57806342966c68146105b5576102ad565b806323b872dd1161026a57806323b872dd146103cf578063248a9ca31461040b5780632f2ff15d14610447578063313ce5671461046f5780633644e5151461049957806336568abe146104c3576102ad565b806301ffc9a7146102b1578063062d3bd7146102ed57806306fdde0314610317578063095ea7b31461034157806318160ddd1461037d578063186d9d88146103a7575b5f80fd5b3480156102bc575f80fd5b506102d760048036038101906102d29190613f54565b610b27565b6040516102e49190613f99565b60405180910390f35b3480156102f8575f80fd5b50610301610ba0565b60405161030e9190613fca565b60405180910390f35b348015610322575f80fd5b5061032b610bc4565b6040516103389190614053565b60405180910390f35b34801561034c575f80fd5b5061036760048036038101906103629190614100565b610c54565b6040516103749190613f99565b60405180910390f35b348015610388575f80fd5b50610391610c76565b60405161039e919061414d565b60405180910390f35b3480156103b2575f80fd5b506103cd60048036038101906103c89190614166565b610c7f565b005b3480156103da575f80fd5b506103f560048036038101906103f09190614191565b610cd7565b6040516104029190613f99565b60405180910390f35b348015610416575f80fd5b50610431600480360381019061042c919061420b565b610d05565b60405161043e9190613fca565b60405180910390f35b348015610452575f80fd5b5061046d60048036038101906104689190614236565b610d23565b005b34801561047a575f80fd5b50610483610d44565b604051610490919061428f565b60405180910390f35b3480156104a4575f80fd5b506104ad610d4c565b6040516104ba9190613fca565b60405180910390f35b3480156104ce575f80fd5b506104e960048036038101906104e49190614236565b610d5a565b005b3480156104f6575f80fd5b50610511600480360381019061050c9190614166565b610ddd565b005b34801561051e575f80fd5b5061053960048036038101906105349190614100565b610f63565b6040516105469190613f99565b60405180910390f35b34801561055a575f80fd5b5061057560048036038101906105709190614166565b610f99565b005b348015610582575f80fd5b5061058b61107e565b005b348015610598575f80fd5b506105b360048036038101906105ae9190614100565b6110b3565b005b3480156105c0575f80fd5b506105db60048036038101906105d691906142a8565b6110ec565b005b6105f760048036038101906105f291906143ff565b611100565b005b348015610604575f80fd5b5061060d61123c565b60405161061a9190613fca565b60405180910390f35b34801561062e575f80fd5b5061064960048036038101906106449190614166565b6112f3565b005b348015610656575f80fd5b5061065f6113d8565b60405161066c9190614468565b60405180910390f35b348015610680575f80fd5b506106896113fe565b6040516106969190613f99565b60405180910390f35b3480156106aa575f80fd5b506106c560048036038101906106c09190614166565b611413565b6040516106d2919061414d565b60405180910390f35b3480156106e6575f80fd5b5061070160048036038101906106fc9190614100565b611459565b005b34801561070e575f80fd5b5061072960048036038101906107249190614166565b611479565b604051610736919061414d565b60405180910390f35b34801561074a575f80fd5b506107536114c6565b005b348015610760575f80fd5b5061077b60048036038101906107769190614166565b6114fb565b005b348015610788575f80fd5b506107916115e0565b60405161079e9190614468565b60405180910390f35b3480156107b2575f80fd5b506107cd60048036038101906107c89190614236565b611606565b6040516107da9190613f99565b60405180910390f35b3480156107ee575f80fd5b506107f761166b565b6040516108049190614468565b60405180910390f35b348015610818575f80fd5b50610821611691565b60405161082e9190614053565b60405180910390f35b348015610842575f80fd5b5061085d600480360381019061085891906144ab565b611721565b005b34801561086a575f80fd5b50610873611771565b6040516108809190613fca565b60405180910390f35b348015610894575f80fd5b506108af60048036038101906108aa9190614100565b611777565b6040516108bc9190613f99565b60405180910390f35b3480156108d0575f80fd5b506108eb60048036038101906108e69190614100565b6117ec565b6040516108f89190613f99565b60405180910390f35b34801561090c575f80fd5b5061091561180e565b6040516109229190613fca565b60405180910390f35b348015610936575f80fd5b50610951600480360381019061094c9190614166565b611832565b005b34801561095e575f80fd5b5061097960048036038101906109749190614166565b611917565b005b348015610986575f80fd5b506109a1600480360381019061099c9190614597565b61196f565b005b3480156109ae575f80fd5b506109c960048036038101906109c491906145e7565b6119ca565b005b3480156109d6575f80fd5b506109f160048036038101906109ec9190614637565b611e6d565b005b3480156109fe575f80fd5b50610a196004803603810190610a149190614637565b611ef1565b005b348015610a26575f80fd5b50610a416004803603810190610a3c9190614236565b612030565b005b348015610a4e575f80fd5b50610a696004803603810190610a6491906146d4565b612051565b604051610a76919061414d565b60405180910390f35b348015610a8a575f80fd5b50610a936120d3565b604051610aa09190613fca565b60405180910390f35b348015610ab4575f80fd5b50610abd6120f7565b604051610aca9190613fca565b60405180910390f35b348015610ade575f80fd5b50610ae761211b565b604051610af49190613fca565b60405180910390f35b348015610b08575f80fd5b50610b1161213f565b604051610b1e9190614468565b60405180910390f35b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b995750610b9882612165565b5b9050919050565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698581565b606060368054610bd39061473f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff9061473f565b8015610c4a5780601f10610c2157610100808354040283529160200191610c4a565b820191905f5260205f20905b815481529060010190602001808311610c2d57829003601f168201915b5050505050905090565b5f80610c5e6121ce565b9050610c6b8185856121d5565b600191505092915050565b5f603554905090565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee6985610ca981612398565b610cd37ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf836123ac565b5050565b5f80610ce16121ce565b9050610cee858285612488565b610cf9858585612513565b60019150509392505050565b5f6101625f8381526020019081526020015f20600101549050919050565b610d2c82610d05565b610d3581612398565b610d3f8383612782565b505050565b5f6012905090565b5f610d5561285e565b905090565b610d626121ce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc6906147df565b60405180910390fd5b610dd982826123ac565b5050565b7f000000000000000000000000ec6f74e15777047d2a66d2cc0e775a2db6455c6073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1603610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e629061486d565b60405180910390fd5b7f000000000000000000000000ec6f74e15777047d2a66d2cc0e775a2db6455c6073ffffffffffffffffffffffffffffffffffffffff16610eaa61289d565b73ffffffffffffffffffffffffffffffffffffffff1614610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef7906148fb565b60405180910390fd5b610f09816128f0565b610f60815f67ffffffffffffffff811115610f2757610f266142db565b5b6040519080825280601f01601f191660200182016040528015610f595781602001600182028036833780820191505090505b505f61291e565b50565b5f80610f6d6121ce565b9050610f8e818585610f7f8589612051565b610f899190614946565b6121d5565b600191505092915050565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee6985610fc381612398565b610fed7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698583612782565b6110397f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee69856101fb5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101fb5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6110a881612398565b6110b0612a88565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296110dd81612398565b6110e78383612ae9565b505050565b6110fd6110f76121ce565b82612c38565b50565b7f000000000000000000000000ec6f74e15777047d2a66d2cc0e775a2db6455c6073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff160361118e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111859061486d565b60405180910390fd5b7f000000000000000000000000ec6f74e15777047d2a66d2cc0e775a2db6455c6073ffffffffffffffffffffffffffffffffffffffff166111cd61289d565b73ffffffffffffffffffffffffffffffffffffffff1614611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a906148fb565b60405180910390fd5b61122c826128f0565b6112388282600161291e565b5050565b5f7f000000000000000000000000ec6f74e15777047d2a66d2cc0e775a2db6455c6073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16146112cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c2906149e9565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b905090565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61131d81612398565b6113477f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a83612782565b6113937f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6101fa5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101fa5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6101fa5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60fe5f9054906101000a900460ff16905090565b5f60335f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61146b826114656121ce565b83612488565b6114758282612c38565b5050565b5f6114bf60cb5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20612dfd565b9050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6114f081612398565b6114f8612e09565b50565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61152581612398565b61154f7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e83612782565b61159b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e6101f85f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101f85f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6101fb5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6101625f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6101f85f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060603780546116a09061473f565b80601f01602080910402602001604051908101604052809291908181526020018280546116cc9061473f565b80156117175780601f106116ee57610100808354040283529160200191611717565b820191905f5260205f20905b8154815290600101906020018083116116fa57829003601f168201915b5050505050905090565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92961174b81612398565b61175a89898888888888611ef1565b611765898888610cd7565b50505050505050505050565b5f801b81565b5f806117816121ce565b90505f61178e8286612051565b9050838110156117d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ca90614a77565b60405180910390fd5b6117e082868684036121d5565b60019250505092915050565b5f806117f66121ce565b9050611803818585612513565b600191505092915050565b7ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf81565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92961185c81612398565b6118867f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92983612782565b6118d27f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296101f95f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610d5a565b816101f95f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698561194181612398565b61196b7ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf83612782565b5050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61199981612398565b6119c483838673ffffffffffffffffffffffffffffffffffffffff16612e6b9092919063ffffffff16565b50505050565b5f8060019054906101000a900460ff161590508080156119f9575060015f8054906101000a900460ff1660ff16105b80611a255750611a0830612ef1565b158015611a24575060015f8054906101000a900460ff1660ff16145b5b611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90614b05565b60405180910390fd5b60015f806101000a81548160ff021916908360ff1602179055508015611a9f5760015f60016101000a81548160ff0219169083151502179055505b611b136040518060400160405280600a81526020017f42524c4120546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42524c4100000000000000000000000000000000000000000000000000000000815250612f13565b611b516040518060400160405280600a81526020017f42524c4120546f6b656e00000000000000000000000000000000000000000000815250612f6f565b611b59612fff565b611b6161304f565b611b696130a7565b611b716130f7565b336101f85f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550836101f95f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826101fa5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550816101fb5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611c9f7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e33612782565b611cc97fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e80613147565b611cf37f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92985612782565b611d1d7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92980613147565b611d477f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a84612782565b611d717f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a80613147565b611d9b7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698583612782565b611dc57f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee698580613147565b611e0f7ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf7f442a94f1a1fac79af32856af2a64f63648cfa2ef3b98610a5bb7cbec4cee6985613147565b8015611e67575f8060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024986001604051611e5e9190614b65565b60405180910390a15b50505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929611e9781612398565b8673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ece575f80fd5b611edd88888888888888611ef1565b611ee78887611459565b5050505050505050565b83421115611f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2b90614bc8565b60405180910390fd5b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611f628c6131a1565b89604051602001611f7896959493929190614be6565b6040516020818303038152906040528051906020012090505f611f9a826131fc565b90505f611fa982878787613215565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201090614c8f565b60405180910390fd5b6120248a8a8a6121d5565b50505050505050505050565b61203982610d05565b61204281612398565b61204c83836123ac565b505050565b5f60345f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e81565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92981565b6101f95f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223a90614d1d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a890614dab565b60405180910390fd5b8060345f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161238b919061414d565b60405180910390a3505050565b6123a9816123a46121ce565b61323e565b50565b6123b68282611606565b15612484575f6101625f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506124296121ce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b5f6124938484612051565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461250d57818110156124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f690614e13565b60405180910390fd5b61250c84848484036121d5565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257890614ea1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e690614f2f565b60405180910390fd5b6125fa8383836132c2565b5f60335f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561267e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267590614fbd565b60405180910390fd5b81810360335f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160335f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612769919061414d565b60405180910390a361277c8484846132ec565b50505050565b61278c8282611606565b61285a5760016101625f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506127ff6121ce565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b5f6128987f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61288b6132f1565b6128936132fa565b613303565b905090565b5f6128c97f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b61333c565b5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e61291a81612398565b5050565b6129497f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435f1b613345565b5f015f9054906101000a900460ff161561296b576129668361334e565b612a83565b8273ffffffffffffffffffffffffffffffffffffffff166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156129d357506040513d601f19601f820116820180604052508101906129d09190614fef565b60015b612a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a099061508a565b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b8114612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d90615118565b60405180910390fd5b50612a82838383613404565b5b505050565b612a9061342f565b5f60fe5f6101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612ad26121ce565b604051612adf9190614468565b60405180910390a1565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4e90615180565b60405180910390fd5b612b625f83836132c2565b8060355f828254612b739190614946565b925050819055508060335f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612c21919061414d565b60405180910390a3612c345f83836132ec565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9d9061520e565b60405180910390fd5b612cb1825f836132c2565b5f60335f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2c9061529c565b60405180910390fd5b81810360335f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160355f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612de5919061414d565b60405180910390a3612df8835f846132ec565b505050565b5f815f01549050919050565b612e11613478565b600160fe5f6101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612e546121ce565b604051612e619190614468565b60405180910390a1565b612eec8363a9059cbb60e01b8484604051602401612e8a9291906152ba565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506134c2565b505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f60019054906101000a900460ff16612f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5890615351565b60405180910390fd5b612f6b8282613587565b5050565b5f60019054906101000a900460ff16612fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb490615351565b60405180910390fd5b612ffc816040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506135f9565b50565b5f60019054906101000a900460ff1661304d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304490615351565b60405180910390fd5b565b5f60019054906101000a900460ff1661309d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309490615351565b60405180910390fd5b6130a5613671565b565b5f60019054906101000a900460ff166130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ec90615351565b60405180910390fd5b565b5f60019054906101000a900460ff16613145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313c90615351565b60405180910390fd5b565b5f61315183610d05565b9050816101625f8581526020019081526020015f20600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b5f8060cb5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090506131eb81612dfd565b91506131f6816136da565b50919050565b5f61320e61320861285e565b836136ee565b9050919050565b5f805f61322487878787613720565b91509150613231816137f8565b8192505050949350505050565b6132488282611606565b6132be576132558161395d565b613262835f1c602061398a565b60405160200161327392919061543d565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b59190614053565b60405180910390fd5b5050565b6132ca613478565b6132d383613bbf565b6132dc82613bbf565b6132e7838383613bf5565b505050565b505050565b5f609754905090565b5f609854905090565b5f838383463060405160200161331d959493929190615476565b6040516020818303038152906040528051906020012090509392505050565b5f819050919050565b5f819050919050565b61335781612ef1565b613396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338d90615537565b60405180910390fd5b806133c27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5f1b61333c565b5f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61340d83613bfa565b5f825111806134195750805b1561342a576134288383613c49565b505b505050565b6134376113fe565b613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d9061559f565b60405180910390fd5b565b6134806113fe565b156134c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b790615607565b60405180910390fd5b565b5f613523826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613d299092919063ffffffff16565b90505f815111156135825780806020019051810190613542919061564f565b613581576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613578906156ea565b60405180910390fd5b5b505050565b5f60019054906101000a900460ff166135d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cc90615351565b60405180910390fd5b81603690816135e4919061589c565b5080603790816135f4919061589c565b505050565b5f60019054906101000a900460ff16613647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363e90615351565b60405180910390fd5b5f828051906020012090505f82805190602001209050816097819055508060988190555050505050565b5f60019054906101000a900460ff166136bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b690615351565b60405180910390fd5b5f60fe5f6101000a81548160ff021916908315150217905550565b6001815f015f828254019250508190555050565b5f82826040516020016137029291906159d5565b60405160208183030381529060405280519060200120905092915050565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0835f1c1115613758575f6003915091506137ef565b5f6001878787876040515f815260200160405260405161377b9493929190615a0b565b6020604051602081039080840390855afa15801561379b573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036137e7575f600192509250506137ef565b805f92509250505b94509492505050565b5f600481111561380b5761380a615a4e565b5b81600481111561381e5761381d615a4e565b5b031561395a576001600481111561383857613837615a4e565b5b81600481111561384b5761384a615a4e565b5b0361388b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388290615ac5565b60405180910390fd5b6002600481111561389f5761389e615a4e565b5b8160048111156138b2576138b1615a4e565b5b036138f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138e990615b2d565b60405180910390fd5b6003600481111561390657613905615a4e565b5b81600481111561391957613918615a4e565b5b03613959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395090615bbb565b60405180910390fd5b5b50565b60606139838273ffffffffffffffffffffffffffffffffffffffff16601460ff1661398a565b9050919050565b60605f600283600261399c9190615bd9565b6139a69190614946565b67ffffffffffffffff8111156139bf576139be6142db565b5b6040519080825280601f01601f1916602001820160405280156139f15781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f81518110613a2857613a27615c1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613a8b57613a8a615c1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f6001846002613ac99190615bd9565b613ad39190614946565b90505b6001811115613b72577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613b1557613b14615c1a565b5b1a60f81b828281518110613b2c57613b2b615c1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600485901c945080613b6b90615c47565b9050613ad6565b505f8414613bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bac90615cb8565b60405180910390fd5b8091505092915050565b613be97ff48dee1a72497b9e734e498e1b3086c0d2dbcca13f16f15848f974469f906bbf82611606565b15613bf2575f80fd5b50565b505050565b613c038161334e565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b6060613c5483612ef1565b613c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8a90615d46565b60405180910390fd5b5f808473ffffffffffffffffffffffffffffffffffffffff1684604051613cba9190615da8565b5f60405180830381855af49150503d805f8114613cf2576040519150601f19603f3d011682016040523d82523d5f602084013e613cf7565b606091505b5091509150613d1f8282604051806060016040528060278152602001615eb560279139613d40565b9250505092915050565b6060613d3784845f85613d62565b90509392505050565b60608315613d5057829050613d5b565b613d5a8383613e2b565b5b9392505050565b606082471015613da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d9e90615e2e565b60405180910390fd5b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051613dcf9190615da8565b5f6040518083038185875af1925050503d805f8114613e09576040519150601f19603f3d011682016040523d82523d5f602084013e613e0e565b606091505b5091509150613e1f87838387613e7a565b92505050949350505050565b5f82511115613e3d5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e719190614053565b60405180910390fd5b60608315613edb575f835103613ed357613e9385612ef1565b613ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ec990615e96565b60405180910390fd5b5b829050613ee6565b613ee58383613e2b565b5b949350505050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f3381613eff565b8114613f3d575f80fd5b50565b5f81359050613f4e81613f2a565b92915050565b5f60208284031215613f6957613f68613ef7565b5b5f613f7684828501613f40565b91505092915050565b5f8115159050919050565b613f9381613f7f565b82525050565b5f602082019050613fac5f830184613f8a565b92915050565b5f819050919050565b613fc481613fb2565b82525050565b5f602082019050613fdd5f830184613fbb565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61402582613fe3565b61402f8185613fed565b935061403f818560208601613ffd565b6140488161400b565b840191505092915050565b5f6020820190508181035f83015261406b818461401b565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61409c82614073565b9050919050565b6140ac81614092565b81146140b6575f80fd5b50565b5f813590506140c7816140a3565b92915050565b5f819050919050565b6140df816140cd565b81146140e9575f80fd5b50565b5f813590506140fa816140d6565b92915050565b5f806040838503121561411657614115613ef7565b5b5f614123858286016140b9565b9250506020614134858286016140ec565b9150509250929050565b614147816140cd565b82525050565b5f6020820190506141605f83018461413e565b92915050565b5f6020828403121561417b5761417a613ef7565b5b5f614188848285016140b9565b91505092915050565b5f805f606084860312156141a8576141a7613ef7565b5b5f6141b5868287016140b9565b93505060206141c6868287016140b9565b92505060406141d7868287016140ec565b9150509250925092565b6141ea81613fb2565b81146141f4575f80fd5b50565b5f81359050614205816141e1565b92915050565b5f602082840312156142205761421f613ef7565b5b5f61422d848285016141f7565b91505092915050565b5f806040838503121561424c5761424b613ef7565b5b5f614259858286016141f7565b925050602061426a858286016140b9565b9150509250929050565b5f60ff82169050919050565b61428981614274565b82525050565b5f6020820190506142a25f830184614280565b92915050565b5f602082840312156142bd576142bc613ef7565b5b5f6142ca848285016140ec565b91505092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6143118261400b565b810181811067ffffffffffffffff821117156143305761432f6142db565b5b80604052505050565b5f614342613eee565b905061434e8282614308565b919050565b5f67ffffffffffffffff82111561436d5761436c6142db565b5b6143768261400b565b9050602081019050919050565b828183375f83830152505050565b5f6143a361439e84614353565b614339565b9050828152602081018484840111156143bf576143be6142d7565b5b6143ca848285614383565b509392505050565b5f82601f8301126143e6576143e56142d3565b5b81356143f6848260208601614391565b91505092915050565b5f806040838503121561441557614414613ef7565b5b5f614422858286016140b9565b925050602083013567ffffffffffffffff81111561444357614442613efb565b5b61444f858286016143d2565b9150509250929050565b61446281614092565b82525050565b5f60208201905061447b5f830184614459565b92915050565b61448a81614274565b8114614494575f80fd5b50565b5f813590506144a581614481565b92915050565b5f805f805f805f80610100898b0312156144c8576144c7613ef7565b5b5f6144d58b828c016140b9565b98505060206144e68b828c016140b9565b97505060406144f78b828c016140b9565b96505060606145088b828c016140ec565b95505060806145198b828c016140ec565b94505060a061452a8b828c01614497565b93505060c061453b8b828c016141f7565b92505060e061454c8b828c016141f7565b9150509295985092959890939650565b5f61456682614092565b9050919050565b6145768161455c565b8114614580575f80fd5b50565b5f813590506145918161456d565b92915050565b5f805f606084860312156145ae576145ad613ef7565b5b5f6145bb86828701614583565b93505060206145cc868287016140b9565b92505060406145dd868287016140ec565b9150509250925092565b5f805f606084860312156145fe576145fd613ef7565b5b5f61460b868287016140b9565b935050602061461c868287016140b9565b925050604061462d868287016140b9565b9150509250925092565b5f805f805f805f60e0888a03121561465257614651613ef7565b5b5f61465f8a828b016140b9565b97505060206146708a828b016140b9565b96505060406146818a828b016140ec565b95505060606146928a828b016140ec565b94505060806146a38a828b01614497565b93505060a06146b48a828b016141f7565b92505060c06146c58a828b016141f7565b91505092959891949750929550565b5f80604083850312156146ea576146e9613ef7565b5b5f6146f7858286016140b9565b9250506020614708858286016140b9565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061475657607f821691505b60208210810361476957614768614712565b5b50919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e63655f8201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b5f6147c9602f83613fed565b91506147d48261476f565b604082019050919050565b5f6020820190508181035f8301526147f6816147bd565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f756768205f8201527f64656c656761746563616c6c0000000000000000000000000000000000000000602082015250565b5f614857602c83613fed565b9150614862826147fd565b604082019050919050565b5f6020820190508181035f8301526148848161484b565b9050919050565b7f46756e6374696f6e206d7573742062652063616c6c6564207468726f756768205f8201527f6163746976652070726f78790000000000000000000000000000000000000000602082015250565b5f6148e5602c83613fed565b91506148f08261488b565b604082019050919050565b5f6020820190508181035f830152614912816148d9565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f614950826140cd565b915061495b836140cd565b925082820190508082111561497357614972614919565b5b92915050565b7f555550535570677261646561626c653a206d757374206e6f742062652063616c5f8201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000602082015250565b5f6149d3603883613fed565b91506149de82614979565b604082019050919050565b5f6020820190508181035f830152614a00816149c7565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f614a61602583613fed565b9150614a6c82614a07565b604082019050919050565b5f6020820190508181035f830152614a8e81614a55565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c7265615f8201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b5f614aef602e83613fed565b9150614afa82614a95565b604082019050919050565b5f6020820190508181035f830152614b1c81614ae3565b9050919050565b5f819050919050565b5f819050919050565b5f614b4f614b4a614b4584614b23565b614b2c565b614274565b9050919050565b614b5f81614b35565b82525050565b5f602082019050614b785f830184614b56565b92915050565b7f45524332305065726d69743a206578706972656420646561646c696e650000005f82015250565b5f614bb2601d83613fed565b9150614bbd82614b7e565b602082019050919050565b5f6020820190508181035f830152614bdf81614ba6565b9050919050565b5f60c082019050614bf95f830189613fbb565b614c066020830188614459565b614c136040830187614459565b614c20606083018661413e565b614c2d608083018561413e565b614c3a60a083018461413e565b979650505050505050565b7f45524332305065726d69743a20696e76616c6964207369676e617475726500005f82015250565b5f614c79601e83613fed565b9150614c8482614c45565b602082019050919050565b5f6020820190508181035f830152614ca681614c6d565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f614d07602483613fed565b9150614d1282614cad565b604082019050919050565b5f6020820190508181035f830152614d3481614cfb565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f614d95602283613fed565b9150614da082614d3b565b604082019050919050565b5f6020820190508181035f830152614dc281614d89565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f614dfd601d83613fed565b9150614e0882614dc9565b602082019050919050565b5f6020820190508181035f830152614e2a81614df1565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f614e8b602583613fed565b9150614e9682614e31565b604082019050919050565b5f6020820190508181035f830152614eb881614e7f565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f614f19602383613fed565b9150614f2482614ebf565b604082019050919050565b5f6020820190508181035f830152614f4681614f0d565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f614fa7602683613fed565b9150614fb282614f4d565b604082019050919050565b5f6020820190508181035f830152614fd481614f9b565b9050919050565b5f81519050614fe9816141e1565b92915050565b5f6020828403121561500457615003613ef7565b5b5f61501184828501614fdb565b91505092915050565b7f45524331393637557067726164653a206e657720696d706c656d656e746174695f8201527f6f6e206973206e6f742055555053000000000000000000000000000000000000602082015250565b5f615074602e83613fed565b915061507f8261501a565b604082019050919050565b5f6020820190508181035f8301526150a181615068565b9050919050565b7f45524331393637557067726164653a20756e737570706f727465642070726f785f8201527f6961626c65555549440000000000000000000000000000000000000000000000602082015250565b5f615102602983613fed565b915061510d826150a8565b604082019050919050565b5f6020820190508181035f83015261512f816150f6565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f61516a601f83613fed565b915061517582615136565b602082019050919050565b5f6020820190508181035f8301526151978161515e565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f6151f8602183613fed565b91506152038261519e565b604082019050919050565b5f6020820190508181035f830152615225816151ec565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f615286602283613fed565b91506152918261522c565b604082019050919050565b5f6020820190508181035f8301526152b38161527a565b9050919050565b5f6040820190506152cd5f830185614459565b6152da602083018461413e565b9392505050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420695f8201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b5f61533b602b83613fed565b9150615346826152e1565b604082019050919050565b5f6020820190508181035f8301526153688161532f565b9050919050565b5f81905092915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000005f82015250565b5f6153ad60178361536f565b91506153b882615379565b601782019050919050565b5f6153cd82613fe3565b6153d7818561536f565b93506153e7818560208601613ffd565b80840191505092915050565b7f206973206d697373696e6720726f6c65200000000000000000000000000000005f82015250565b5f61542760118361536f565b9150615432826153f3565b601182019050919050565b5f615447826153a1565b915061545382856153c3565b915061545e8261541b565b915061546a82846153c3565b91508190509392505050565b5f60a0820190506154895f830188613fbb565b6154966020830187613fbb565b6154a36040830186613fbb565b6154b0606083018561413e565b6154bd6080830184614459565b9695505050505050565b7f455243313936373a206e657720696d706c656d656e746174696f6e206973206e5f8201527f6f74206120636f6e747261637400000000000000000000000000000000000000602082015250565b5f615521602d83613fed565b915061552c826154c7565b604082019050919050565b5f6020820190508181035f83015261554e81615515565b9050919050565b7f5061757361626c653a206e6f74207061757365640000000000000000000000005f82015250565b5f615589601483613fed565b915061559482615555565b602082019050919050565b5f6020820190508181035f8301526155b68161557d565b9050919050565b7f5061757361626c653a20706175736564000000000000000000000000000000005f82015250565b5f6155f1601083613fed565b91506155fc826155bd565b602082019050919050565b5f6020820190508181035f83015261561e816155e5565b9050919050565b61562e81613f7f565b8114615638575f80fd5b50565b5f8151905061564981615625565b92915050565b5f6020828403121561566457615663613ef7565b5b5f6156718482850161563b565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f6156d4602a83613fed565b91506156df8261567a565b604082019050919050565b5f6020820190508181035f830152615701816156c8565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026157647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82615729565b61576e8683615729565b95508019841693508086168417925050509392505050565b5f6157a061579b615796846140cd565b614b2c565b6140cd565b9050919050565b5f819050919050565b6157b983615786565b6157cd6157c5826157a7565b848454615735565b825550505050565b5f90565b6157e16157d5565b6157ec8184846157b0565b505050565b5b8181101561580f576158045f826157d9565b6001810190506157f2565b5050565b601f8211156158545761582581615708565b61582e8461571a565b8101602085101561583d578190505b6158516158498561571a565b8301826157f1565b50505b505050565b5f82821c905092915050565b5f6158745f1984600802615859565b1980831691505092915050565b5f61588c8383615865565b9150826002028217905092915050565b6158a582613fe3565b67ffffffffffffffff8111156158be576158bd6142db565b5b6158c8825461473f565b6158d3828285615813565b5f60209050601f831160018114615904575f84156158f2578287015190505b6158fc8582615881565b865550615963565b601f19841661591286615708565b5f5b8281101561593957848901518255600182019150602085019450602081019050615914565b868310156159565784890151615952601f891682615865565b8355505b6001600288020188555050505b505050505050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f61599f60028361536f565b91506159aa8261596b565b600282019050919050565b5f819050919050565b6159cf6159ca82613fb2565b6159b5565b82525050565b5f6159df82615993565b91506159eb82856159be565b6020820191506159fb82846159be565b6020820191508190509392505050565b5f608082019050615a1e5f830187613fbb565b615a2b6020830186614280565b615a386040830185613fbb565b615a456060830184613fbb565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b7f45434453413a20696e76616c6964207369676e617475726500000000000000005f82015250565b5f615aaf601883613fed565b9150615aba82615a7b565b602082019050919050565b5f6020820190508181035f830152615adc81615aa3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e677468005f82015250565b5f615b17601f83613fed565b9150615b2282615ae3565b602082019050919050565b5f6020820190508181035f830152615b4481615b0b565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c5f8201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b5f615ba5602283613fed565b9150615bb082615b4b565b604082019050919050565b5f6020820190508181035f830152615bd281615b99565b9050919050565b5f615be3826140cd565b9150615bee836140cd565b9250828202615bfc816140cd565b91508282048414831517615c1357615c12614919565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f615c51826140cd565b91505f8203615c6357615c62614919565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e745f82015250565b5f615ca2602083613fed565b9150615cad82615c6e565b602082019050919050565b5f6020820190508181035f830152615ccf81615c96565b9050919050565b7f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f5f8201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b5f615d30602683613fed565b9150615d3b82615cd6565b604082019050919050565b5f6020820190508181035f830152615d5d81615d24565b9050919050565b5f81519050919050565b5f81905092915050565b5f615d8282615d64565b615d8c8185615d6e565b9350615d9c818560208601613ffd565b80840191505092915050565b5f615db38284615d78565b915081905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f615e18602683613fed565b9150615e2382615dbe565b604082019050919050565b5f6020820190508181035f830152615e4581615e0c565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f615e80601d83613fed565b9150615e8b82615e4c565b602082019050919050565b5f6020820190508181035f830152615ead81615e74565b905091905056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c310ff02c77a516f38f50f66bb92ff5853ee3d4d0a01bf51e5ba3cb26ecf276564736f6c634300081a0033","source_code":"// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/introspection/IERC165Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165Upgradeable {\r\n    /**\r\n     * @dev Returns true if this contract implements the interface defined by\r\n     * `interfaceId`. See the corresponding\r\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n     * to learn more about how these ids are created.\r\n     *\r\n     * This function call must use less than 30 000 gas.\r\n     */\r\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/access/IAccessControlUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev External interface of AccessControl declared to support ERC165 detection.\r\n */\r\ninterface IAccessControlUpgradeable {\r\n    /**\r\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\r\n     *\r\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\r\n     * {RoleAdminChanged} not being emitted signaling this.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\r\n\r\n    /**\r\n     * @dev Emitted when `account` is granted `role`.\r\n     *\r\n     * `sender` is the account that originated the contract call, an admin role\r\n     * bearer except when using {AccessControl-_setupRole}.\r\n     */\r\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\r\n\r\n    /**\r\n     * @dev Emitted when `account` is revoked `role`.\r\n     *\r\n     * `sender` is the account that originated the contract call:\r\n     *   - if using `revokeRole`, it is the admin role bearer\r\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\r\n     */\r\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\r\n\r\n    /**\r\n     * @dev Returns `true` if `account` has been granted `role`.\r\n     */\r\n    function hasRole(bytes32 role, address account) external view returns (bool);\r\n\r\n    /**\r\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\r\n     * {revokeRole}.\r\n     *\r\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\r\n     */\r\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\r\n\r\n    /**\r\n     * @dev Grants `role` to `account`.\r\n     *\r\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\r\n     * event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the caller must have ``role``'s admin role.\r\n     */\r\n    function grantRole(bytes32 role, address account) external;\r\n\r\n    /**\r\n     * @dev Revokes `role` from `account`.\r\n     *\r\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the caller must have ``role``'s admin role.\r\n     */\r\n    function revokeRole(bytes32 role, address account) external;\r\n\r\n    /**\r\n     * @dev Revokes `role` from the calling account.\r\n     *\r\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\r\n     * purpose is to provide a mechanism for accounts to lose their privileges\r\n     * if they are compromised (such as when a trusted device is misplaced).\r\n     *\r\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\r\n     * event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the caller must be `account`.\r\n     */\r\n    function renounceRole(bytes32 role, address account) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/StorageSlotUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Library for reading and writing primitive types to specific storage slots.\r\n *\r\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\r\n * This library helps with reading and writing to such slots without the need for inline assembly.\r\n *\r\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\r\n *\r\n * Example usage to set ERC1967 implementation slot:\r\n * ```\r\n * contract ERC1967 {\r\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\r\n *\r\n *     function _getImplementation() internal view returns (address) {\r\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\r\n *     }\r\n *\r\n *     function _setImplementation(address newImplementation) internal {\r\n *         require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\r\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\r\n *     }\r\n * }\r\n * ```\r\n *\r\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\r\n */\r\nlibrary StorageSlotUpgradeable {\r\n    struct AddressSlot {\r\n        address value;\r\n    }\r\n\r\n    struct BooleanSlot {\r\n        bool value;\r\n    }\r\n\r\n    struct Bytes32Slot {\r\n        bytes32 value;\r\n    }\r\n\r\n    struct Uint256Slot {\r\n        uint256 value;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\r\n     */\r\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\r\n        /// @solidity memory-safe-assembly\r\n        assembly {\r\n            r.slot := slot\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\r\n     */\r\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\r\n        /// @solidity memory-safe-assembly\r\n        assembly {\r\n            r.slot := slot\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\r\n     */\r\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\r\n        /// @solidity memory-safe-assembly\r\n        assembly {\r\n            r.slot := slot\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\r\n     */\r\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\r\n        /// @solidity memory-safe-assembly\r\n        assembly {\r\n            r.slot := slot\r\n        }\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/proxy/beacon/IBeaconUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\r\n */\r\ninterface IBeaconUpgradeable {\r\n    /**\r\n     * @dev Must return an address that can be used as a delegate call target.\r\n     *\r\n     * {BeaconProxy} will check that this address is a contract.\r\n     */\r\n    function implementation() external view returns (address);\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/interfaces/draft-IERC1822Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\r\n * proxy whose upgrades are fully controlled by the current implementation.\r\n */\r\ninterface IERC1822ProxiableUpgradeable {\r\n    /**\r\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\r\n     * address.\r\n     *\r\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\r\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\r\n     * function revert if invoked through a proxy.\r\n     */\r\n    function proxiableUUID() external view returns (bytes32);\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/CountersUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @title Counters\r\n * @author Matt Condon (@shrugs)\r\n * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number\r\n * of elements in a mapping, issuing ERC721 ids, or counting request ids.\r\n *\r\n * Include with `using Counters for Counters.Counter;`\r\n */\r\nlibrary CountersUpgradeable {\r\n    struct Counter {\r\n        // This variable should never be directly accessed by users of the library: interactions must be restricted to\r\n        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add\r\n        // this feature: see https://github.com/ethereum/solidity/issues/4637\r\n        uint256 _value; // default: 0\r\n    }\r\n\r\n    function current(Counter storage counter) internal view returns (uint256) {\r\n        return counter._value;\r\n    }\r\n\r\n    function increment(Counter storage counter) internal {\r\n        unchecked {\r\n            counter._value += 1;\r\n        }\r\n    }\r\n\r\n    function decrement(Counter storage counter) internal {\r\n        uint256 value = counter._value;\r\n        require(value > 0, \"Counter: decrement overflow\");\r\n        unchecked {\r\n            counter._value = value - 1;\r\n        }\r\n    }\r\n\r\n    function reset(Counter storage counter) internal {\r\n        counter._value = 0;\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/math/MathUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Standard math utilities missing in the Solidity language.\r\n */\r\nlibrary MathUpgradeable {\r\n    enum Rounding {\r\n        Down, // Toward negative infinity\r\n        Up, // Toward infinity\r\n        Zero // Toward zero\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the largest of two numbers.\r\n     */\r\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        return a > b ? a : b;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the smallest of two numbers.\r\n     */\r\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        return a < b ? a : b;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the average of two numbers. The result is rounded towards\r\n     * zero.\r\n     */\r\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        // (a + b) / 2 can overflow.\r\n        return (a & b) + (a ^ b) / 2;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the ceiling of the division of two numbers.\r\n     *\r\n     * This differs from standard division with `/` in that it rounds up instead\r\n     * of rounding down.\r\n     */\r\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\r\n        // (a + b - 1) / b can overflow on addition, so we distribute.\r\n        return a == 0 ? 0 : (a - 1) / b + 1;\r\n    }\r\n\r\n    /**\r\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0\r\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)\r\n     * with further edits by Uniswap Labs also under MIT license.\r\n     */\r\n    function mulDiv(\r\n        uint256 x,\r\n        uint256 y,\r\n        uint256 denominator\r\n    ) internal pure returns (uint256 result) {\r\n        unchecked {\r\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\r\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\r\n            // variables such that product = prod1 * 2^256 + prod0.\r\n            uint256 prod0; // Least significant 256 bits of the product\r\n            uint256 prod1; // Most significant 256 bits of the product\r\n            assembly {\r\n                let mm := mulmod(x, y, not(0))\r\n                prod0 := mul(x, y)\r\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\r\n            }\r\n\r\n            // Handle non-overflow cases, 256 by 256 division.\r\n            if (prod1 == 0) {\r\n                return prod0 / denominator;\r\n            }\r\n\r\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\r\n            require(denominator > prod1);\r\n\r\n            ///////////////////////////////////////////////\r\n            // 512 by 256 division.\r\n            ///////////////////////////////////////////////\r\n\r\n            // Make division exact by subtracting the remainder from [prod1 prod0].\r\n            uint256 remainder;\r\n            assembly {\r\n                // Compute remainder using mulmod.\r\n                remainder := mulmod(x, y, denominator)\r\n\r\n                // Subtract 256 bit number from 512 bit number.\r\n                prod1 := sub(prod1, gt(remainder, prod0))\r\n                prod0 := sub(prod0, remainder)\r\n            }\r\n\r\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.\r\n            // See https://cs.stackexchange.com/q/138556/92363.\r\n\r\n            // Does not overflow because the denominator cannot be zero at this stage in the function.\r\n            uint256 twos = denominator & (~denominator + 1);\r\n            assembly {\r\n                // Divide denominator by twos.\r\n                denominator := div(denominator, twos)\r\n\r\n                // Divide [prod1 prod0] by twos.\r\n                prod0 := div(prod0, twos)\r\n\r\n                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\r\n                twos := add(div(sub(0, twos), twos), 1)\r\n            }\r\n\r\n            // Shift in bits from prod1 into prod0.\r\n            prod0 |= prod1 * twos;\r\n\r\n            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\r\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\r\n            // four bits. That is, denominator * inv = 1 mod 2^4.\r\n            uint256 inverse = (3 * denominator) ^ 2;\r\n\r\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works\r\n            // in modular arithmetic, doubling the correct bits in each step.\r\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\r\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\r\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\r\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\r\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\r\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\r\n\r\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\r\n            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\r\n            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\r\n            // is no longer required.\r\n            result = prod0 * inverse;\r\n            return result;\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\r\n     */\r\n    function mulDiv(\r\n        uint256 x,\r\n        uint256 y,\r\n        uint256 denominator,\r\n        Rounding rounding\r\n    ) internal pure returns (uint256) {\r\n        uint256 result = mulDiv(x, y, denominator);\r\n        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {\r\n            result += 1;\r\n        }\r\n        return result;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.\r\n     *\r\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\r\n     */\r\n    function sqrt(uint256 a) internal pure returns (uint256) {\r\n        if (a == 0) {\r\n            return 0;\r\n        }\r\n\r\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\r\n        //\r\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\r\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\r\n        //\r\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\r\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\r\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\r\n        //\r\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\r\n        uint256 result = 1 << (log2(a) >> 1);\r\n\r\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\r\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\r\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\r\n        // into the expected uint128 result.\r\n        unchecked {\r\n            result = (result + a / result) >> 1;\r\n            result = (result + a / result) >> 1;\r\n            result = (result + a / result) >> 1;\r\n            result = (result + a / result) >> 1;\r\n            result = (result + a / result) >> 1;\r\n            result = (result + a / result) >> 1;\r\n            result = (result + a / result) >> 1;\r\n            return min(result, a / result);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @notice Calculates sqrt(a), following the selected rounding direction.\r\n     */\r\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\r\n        unchecked {\r\n            uint256 result = sqrt(a);\r\n            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Return the log in base 2, rounded down, of a positive value.\r\n     * Returns 0 if given 0.\r\n     */\r\n    function log2(uint256 value) internal pure returns (uint256) {\r\n        uint256 result = 0;\r\n        unchecked {\r\n            if (value >> 128 > 0) {\r\n                value >>= 128;\r\n                result += 128;\r\n            }\r\n            if (value >> 64 > 0) {\r\n                value >>= 64;\r\n                result += 64;\r\n            }\r\n            if (value >> 32 > 0) {\r\n                value >>= 32;\r\n                result += 32;\r\n            }\r\n            if (value >> 16 > 0) {\r\n                value >>= 16;\r\n                result += 16;\r\n            }\r\n            if (value >> 8 > 0) {\r\n                value >>= 8;\r\n                result += 8;\r\n            }\r\n            if (value >> 4 > 0) {\r\n                value >>= 4;\r\n                result += 4;\r\n            }\r\n            if (value >> 2 > 0) {\r\n                value >>= 2;\r\n                result += 2;\r\n            }\r\n            if (value >> 1 > 0) {\r\n                result += 1;\r\n            }\r\n        }\r\n        return result;\r\n    }\r\n\r\n    /**\r\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\r\n     * Returns 0 if given 0.\r\n     */\r\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\r\n        unchecked {\r\n            uint256 result = log2(value);\r\n            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Return the log in base 10, rounded down, of a positive value.\r\n     * Returns 0 if given 0.\r\n     */\r\n    function log10(uint256 value) internal pure returns (uint256) {\r\n        uint256 result = 0;\r\n        unchecked {\r\n            if (value >= 10**64) {\r\n                value /= 10**64;\r\n                result += 64;\r\n            }\r\n            if (value >= 10**32) {\r\n                value /= 10**32;\r\n                result += 32;\r\n            }\r\n            if (value >= 10**16) {\r\n                value /= 10**16;\r\n                result += 16;\r\n            }\r\n            if (value >= 10**8) {\r\n                value /= 10**8;\r\n                result += 8;\r\n            }\r\n            if (value >= 10**4) {\r\n                value /= 10**4;\r\n                result += 4;\r\n            }\r\n            if (value >= 10**2) {\r\n                value /= 10**2;\r\n                result += 2;\r\n            }\r\n            if (value >= 10**1) {\r\n                result += 1;\r\n            }\r\n        }\r\n        return result;\r\n    }\r\n\r\n    /**\r\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\r\n     * Returns 0 if given 0.\r\n     */\r\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\r\n        unchecked {\r\n            uint256 result = log10(value);\r\n            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Return the log in base 256, rounded down, of a positive value.\r\n     * Returns 0 if given 0.\r\n     *\r\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\r\n     */\r\n    function log256(uint256 value) internal pure returns (uint256) {\r\n        uint256 result = 0;\r\n        unchecked {\r\n            if (value >> 128 > 0) {\r\n                value >>= 128;\r\n                result += 16;\r\n            }\r\n            if (value >> 64 > 0) {\r\n                value >>= 64;\r\n                result += 8;\r\n            }\r\n            if (value >> 32 > 0) {\r\n                value >>= 32;\r\n                result += 4;\r\n            }\r\n            if (value >> 16 > 0) {\r\n                value >>= 16;\r\n                result += 2;\r\n            }\r\n            if (value >> 8 > 0) {\r\n                result += 1;\r\n            }\r\n        }\r\n        return result;\r\n    }\r\n\r\n    /**\r\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\r\n     * Returns 0 if given 0.\r\n     */\r\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\r\n        unchecked {\r\n            uint256 result = log256(value);\r\n            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);\r\n        }\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/StringsUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary StringsUpgradeable {\r\n    bytes16 private constant _SYMBOLS = \"0123456789abcdef\";\r\n    uint8 private constant _ADDRESS_LENGTH = 20;\r\n\r\n    /**\r\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\r\n     */\r\n    function toString(uint256 value) internal pure returns (string memory) {\r\n        unchecked {\r\n            uint256 length = MathUpgradeable.log10(value) + 1;\r\n            string memory buffer = new string(length);\r\n            uint256 ptr;\r\n            /// @solidity memory-safe-assembly\r\n            assembly {\r\n                ptr := add(buffer, add(32, length))\r\n            }\r\n            while (true) {\r\n                ptr--;\r\n                /// @solidity memory-safe-assembly\r\n                assembly {\r\n                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))\r\n                }\r\n                value /= 10;\r\n                if (value == 0) break;\r\n            }\r\n            return buffer;\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\r\n     */\r\n    function toHexString(uint256 value) internal pure returns (string memory) {\r\n        unchecked {\r\n            return toHexString(value, MathUpgradeable.log256(value) + 1);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\r\n     */\r\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\r\n        bytes memory buffer = new bytes(2 * length + 2);\r\n        buffer[0] = \"0\";\r\n        buffer[1] = \"x\";\r\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\r\n            buffer[i] = _SYMBOLS[value & 0xf];\r\n            value >>= 4;\r\n        }\r\n        require(value == 0, \"Strings: hex length insufficient\");\r\n        return string(buffer);\r\n    }\r\n\r\n    /**\r\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.\r\n     */\r\n    function toHexString(address addr) internal pure returns (string memory) {\r\n        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/cryptography/ECDSAUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n/**\r\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\r\n *\r\n * These functions can be used to verify that a message was signed by the holder\r\n * of the private keys of a given address.\r\n */\r\nlibrary ECDSAUpgradeable {\r\n    enum RecoverError {\r\n        NoError,\r\n        InvalidSignature,\r\n        InvalidSignatureLength,\r\n        InvalidSignatureS,\r\n        InvalidSignatureV // Deprecated in v4.8\r\n    }\r\n\r\n    function _throwError(RecoverError error) private pure {\r\n        if (error == RecoverError.NoError) {\r\n            return; // no error: do nothing\r\n        } else if (error == RecoverError.InvalidSignature) {\r\n            revert(\"ECDSA: invalid signature\");\r\n        } else if (error == RecoverError.InvalidSignatureLength) {\r\n            revert(\"ECDSA: invalid signature length\");\r\n        } else if (error == RecoverError.InvalidSignatureS) {\r\n            revert(\"ECDSA: invalid signature 's' value\");\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the address that signed a hashed message (`hash`) with\r\n     * `signature` or error string. This address can then be used for verification purposes.\r\n     *\r\n     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\r\n     * this function rejects them by requiring the `s` value to be in the lower\r\n     * half order, and the `v` value to be either 27 or 28.\r\n     *\r\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\r\n     * verification to be secure: it is possible to craft signatures that\r\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\r\n     * this is by receiving a hash of the original message (which may otherwise\r\n     * be too long), and then calling {toEthSignedMessageHash} on it.\r\n     *\r\n     * Documentation for signature generation:\r\n     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\r\n     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\r\n     *\r\n     * _Available since v4.3._\r\n     */\r\n    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {\r\n        if (signature.length == 65) {\r\n            bytes32 r;\r\n            bytes32 s;\r\n            uint8 v;\r\n            // ecrecover takes the signature parameters, and the only way to get them\r\n            // currently is to use assembly.\r\n            /// @solidity memory-safe-assembly\r\n            assembly {\r\n                r := mload(add(signature, 0x20))\r\n                s := mload(add(signature, 0x40))\r\n                v := byte(0, mload(add(signature, 0x60)))\r\n            }\r\n            return tryRecover(hash, v, r, s);\r\n        } else {\r\n            return (address(0), RecoverError.InvalidSignatureLength);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the address that signed a hashed message (`hash`) with\r\n     * `signature`. This address can then be used for verification purposes.\r\n     *\r\n     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:\r\n     * this function rejects them by requiring the `s` value to be in the lower\r\n     * half order, and the `v` value to be either 27 or 28.\r\n     *\r\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\r\n     * verification to be secure: it is possible to craft signatures that\r\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\r\n     * this is by receiving a hash of the original message (which may otherwise\r\n     * be too long), and then calling {toEthSignedMessageHash} on it.\r\n     */\r\n    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\r\n        (address recovered, RecoverError error) = tryRecover(hash, signature);\r\n        _throwError(error);\r\n        return recovered;\r\n    }\r\n\r\n    /**\r\n     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\r\n     *\r\n     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]\r\n     *\r\n     * _Available since v4.3._\r\n     */\r\n    function tryRecover(\r\n        bytes32 hash,\r\n        bytes32 r,\r\n        bytes32 vs\r\n    ) internal pure returns (address, RecoverError) {\r\n        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\r\n        uint8 v = uint8((uint256(vs) >> 255) + 27);\r\n        return tryRecover(hash, v, r, s);\r\n    }\r\n\r\n    /**\r\n     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\r\n     *\r\n     * _Available since v4.2._\r\n     */\r\n    function recover(\r\n        bytes32 hash,\r\n        bytes32 r,\r\n        bytes32 vs\r\n    ) internal pure returns (address) {\r\n        (address recovered, RecoverError error) = tryRecover(hash, r, vs);\r\n        _throwError(error);\r\n        return recovered;\r\n    }\r\n\r\n    /**\r\n     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\r\n     * `r` and `s` signature fields separately.\r\n     *\r\n     * _Available since v4.3._\r\n     */\r\n    function tryRecover(\r\n        bytes32 hash,\r\n        uint8 v,\r\n        bytes32 r,\r\n        bytes32 s\r\n    ) internal pure returns (address, RecoverError) {\r\n        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\r\n        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\r\n        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\r\n        // signatures from current libraries generate a unique signature with an s-value in the lower half order.\r\n        //\r\n        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\r\n        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\r\n        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\r\n        // these malleable signatures as well.\r\n        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\r\n            return (address(0), RecoverError.InvalidSignatureS);\r\n        }\r\n\r\n        // If the signature is valid (and not malleable), return the signer address\r\n        address signer = ecrecover(hash, v, r, s);\r\n        if (signer == address(0)) {\r\n            return (address(0), RecoverError.InvalidSignature);\r\n        }\r\n\r\n        return (signer, RecoverError.NoError);\r\n    }\r\n\r\n    /**\r\n     * @dev Overload of {ECDSA-recover} that receives the `v`,\r\n     * `r` and `s` signature fields separately.\r\n     */\r\n    function recover(\r\n        bytes32 hash,\r\n        uint8 v,\r\n        bytes32 r,\r\n        bytes32 s\r\n    ) internal pure returns (address) {\r\n        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);\r\n        _throwError(error);\r\n        return recovered;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns an Ethereum Signed Message, created from a `hash`. This\r\n     * produces hash corresponding to the one signed with the\r\n     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\r\n     * JSON-RPC method as part of EIP-191.\r\n     *\r\n     * See {recover}.\r\n     */\r\n    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {\r\n        // 32 is the length in bytes of hash,\r\n        // enforced by the type signature above\r\n        return keccak256(abi.encodePacked(\"\\x19Ethereum Signed Message:\\n32\", hash));\r\n    }\r\n\r\n    /**\r\n     * @dev Returns an Ethereum Signed Message, created from `s`. This\r\n     * produces hash corresponding to the one signed with the\r\n     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]\r\n     * JSON-RPC method as part of EIP-191.\r\n     *\r\n     * See {recover}.\r\n     */\r\n    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {\r\n        return keccak256(abi.encodePacked(\"\\x19Ethereum Signed Message:\\n\", StringsUpgradeable.toString(s.length), s));\r\n    }\r\n\r\n    /**\r\n     * @dev Returns an Ethereum Signed Typed Data, created from a\r\n     * `domainSeparator` and a `structHash`. This produces hash corresponding\r\n     * to the one signed with the\r\n     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]\r\n     * JSON-RPC method as part of EIP-712.\r\n     *\r\n     * See {recover}.\r\n     */\r\n    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {\r\n        return keccak256(abi.encodePacked(\"\\x19\\x01\", domainSeparator, structHash));\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\r\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\r\n *\r\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\r\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\r\n * need to send a transaction, and thus is not required to hold Ether at all.\r\n */\r\ninterface IERC20PermitUpgradeable {\r\n    /**\r\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\r\n     * given ``owner``'s signed approval.\r\n     *\r\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\r\n     * ordering also apply here.\r\n     *\r\n     * Emits an {Approval} event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `spender` cannot be the zero address.\r\n     * - `deadline` must be a timestamp in the future.\r\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\r\n     * over the EIP712-formatted function arguments.\r\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\r\n     *\r\n     * For more information on the signature format, see the\r\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\r\n     * section].\r\n     */\r\n    function permit(\r\n        address owner,\r\n        address spender,\r\n        uint256 value,\r\n        uint256 deadline,\r\n        uint8 v,\r\n        bytes32 r,\r\n        bytes32 s\r\n    ) external;\r\n\r\n    /**\r\n     * @dev Returns the current nonce for `owner`. This value must be\r\n     * included whenever a signature is generated for {permit}.\r\n     *\r\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\r\n     * prevents a signature from being used multiple times.\r\n     */\r\n    function nonces(address owner) external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\r\n     */\r\n    // solhint-disable-next-line func-name-mixedcase\r\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/AddressUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\r\n\r\npragma solidity ^0.8.1;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary AddressUpgradeable {\r\n    /**\r\n     * @dev Returns true if `account` is a contract.\r\n     *\r\n     * [IMPORTANT]\r\n     * ====\r\n     * It is unsafe to assume that an address for which this function returns\r\n     * false is an externally-owned account (EOA) and not a contract.\r\n     *\r\n     * Among others, `isContract` will return false for the following\r\n     * types of addresses:\r\n     *\r\n     *  - an externally-owned account\r\n     *  - a contract in construction\r\n     *  - an address where a contract will be created\r\n     *  - an address where a contract lived, but was destroyed\r\n     * ====\r\n     *\r\n     * [IMPORTANT]\r\n     * ====\r\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\r\n     *\r\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\r\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\r\n     * constructor.\r\n     * ====\r\n     */\r\n    function isContract(address account) internal view returns (bool) {\r\n        // This method relies on extcodesize/address.code.length, which returns 0\r\n        // for contracts in construction, since the code is only stored at the end\r\n        // of the constructor execution.\r\n\r\n        return account.code.length > 0;\r\n    }\r\n\r\n    /**\r\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n     * `recipient`, forwarding all available gas and reverting on errors.\r\n     *\r\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n     * imposed by `transfer`, making them unable to receive funds via\r\n     * `transfer`. {sendValue} removes this limitation.\r\n     *\r\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n     *\r\n     * IMPORTANT: because control is transferred to `recipient`, care must be\r\n     * taken to not create reentrancy vulnerabilities. Consider using\r\n     * {ReentrancyGuard} or the\r\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n     */\r\n    function sendValue(address payable recipient, uint256 amount) internal {\r\n        require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n        (bool success, ) = recipient.call{value: amount}(\"\");\r\n        require(success, \"Address: unable to send value, recipient may have reverted\");\r\n    }\r\n\r\n    /**\r\n     * @dev Performs a Solidity function call using a low level `call`. A\r\n     * plain `call` is an unsafe replacement for a function call: use this\r\n     * function instead.\r\n     *\r\n     * If `target` reverts with a revert reason, it is bubbled up by this\r\n     * function (like regular Solidity function calls).\r\n     *\r\n     * Returns the raw returned data. To convert to the expected return value,\r\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `target` must be a contract.\r\n     * - calling `target` with `data` must not revert.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n        return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n     * `errorMessage` as a fallback revert reason when `target` reverts.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCall(\r\n        address target,\r\n        bytes memory data,\r\n        string memory errorMessage\r\n    ) internal returns (bytes memory) {\r\n        return functionCallWithValue(target, data, 0, errorMessage);\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n     * but also transferring `value` wei to `target`.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the calling contract must have an ETH balance of at least `value`.\r\n     * - the called Solidity function must be `payable`.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCallWithValue(\r\n        address target,\r\n        bytes memory data,\r\n        uint256 value\r\n    ) internal returns (bytes memory) {\r\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCallWithValue(\r\n        address target,\r\n        bytes memory data,\r\n        uint256 value,\r\n        string memory errorMessage\r\n    ) internal returns (bytes memory) {\r\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\r\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n     * but performing a static call.\r\n     *\r\n     * _Available since v3.3._\r\n     */\r\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n        return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n     * but performing a static call.\r\n     *\r\n     * _Available since v3.3._\r\n     */\r\n    function functionStaticCall(\r\n        address target,\r\n        bytes memory data,\r\n        string memory errorMessage\r\n    ) internal view returns (bytes memory) {\r\n        (bool success, bytes memory returndata) = target.staticcall(data);\r\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\r\n    }\r\n\r\n    /**\r\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\r\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\r\n     *\r\n     * _Available since v4.8._\r\n     */\r\n    function verifyCallResultFromTarget(\r\n        address target,\r\n        bool success,\r\n        bytes memory returndata,\r\n        string memory errorMessage\r\n    ) internal view returns (bytes memory) {\r\n        if (success) {\r\n            if (returndata.length == 0) {\r\n                // only check isContract if the call was successful and the return data is empty\r\n                // otherwise we already know that it was a contract\r\n                require(isContract(target), \"Address: call to non-contract\");\r\n            }\r\n            return returndata;\r\n        } else {\r\n            _revert(returndata, errorMessage);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\r\n     * revert reason or using the provided one.\r\n     *\r\n     * _Available since v4.3._\r\n     */\r\n    function verifyCallResult(\r\n        bool success,\r\n        bytes memory returndata,\r\n        string memory errorMessage\r\n    ) internal pure returns (bytes memory) {\r\n        if (success) {\r\n            return returndata;\r\n        } else {\r\n            _revert(returndata, errorMessage);\r\n        }\r\n    }\r\n\r\n    function _revert(bytes memory returndata, string memory errorMessage) private pure {\r\n        // Look for revert reason and bubble it up if present\r\n        if (returndata.length > 0) {\r\n            // The easiest way to bubble the revert reason is using memory via assembly\r\n            /// @solidity memory-safe-assembly\r\n            assembly {\r\n                let returndata_size := mload(returndata)\r\n                revert(add(32, returndata), returndata_size)\r\n            }\r\n        } else {\r\n            revert(errorMessage);\r\n        }\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/proxy/utils/Initializable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/Initializable.sol)\r\n\r\npragma solidity ^0.8.2;\r\n\r\n\r\n/**\r\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\r\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\r\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\r\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\r\n *\r\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\r\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\r\n * case an upgrade adds a module that needs to be initialized.\r\n *\r\n * For example:\r\n *\r\n * [.hljs-theme-light.nopadding]\r\n * ```\r\n * contract MyToken is ERC20Upgradeable {\r\n *     function initialize() initializer public {\r\n *         __ERC20_init(\"MyToken\", \"MTK\");\r\n *     }\r\n * }\r\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\r\n *     function initializeV2() reinitializer(2) public {\r\n *         __ERC20Permit_init(\"MyToken\");\r\n *     }\r\n * }\r\n * ```\r\n *\r\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\r\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\r\n *\r\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\r\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\r\n *\r\n * [CAUTION]\r\n * ====\r\n * Avoid leaving a contract uninitialized.\r\n *\r\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\r\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\r\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\r\n *\r\n * [.hljs-theme-light.nopadding]\r\n * ```\r\n * /// @custom:oz-upgrades-unsafe-allow constructor\r\n * constructor() {\r\n *     _disableInitializers();\r\n * }\r\n * ```\r\n * ====\r\n */\r\nabstract contract Initializable {\r\n    /**\r\n     * @dev Indicates that the contract has been initialized.\r\n     * @custom:oz-retyped-from bool\r\n     */\r\n    uint8 private _initialized;\r\n\r\n    /**\r\n     * @dev Indicates that the contract is in the process of being initialized.\r\n     */\r\n    bool private _initializing;\r\n\r\n    /**\r\n     * @dev Triggered when the contract has been initialized or reinitialized.\r\n     */\r\n    event Initialized(uint8 version);\r\n\r\n    /**\r\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\r\n     * `onlyInitializing` functions can be used to initialize parent contracts.\r\n     *\r\n     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\r\n     * constructor.\r\n     *\r\n     * Emits an {Initialized} event.\r\n     */\r\n    modifier initializer() {\r\n        bool isTopLevelCall = !_initializing;\r\n        require(\r\n            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\r\n            \"Initializable: contract is already initialized\"\r\n        );\r\n        _initialized = 1;\r\n        if (isTopLevelCall) {\r\n            _initializing = true;\r\n        }\r\n        _;\r\n        if (isTopLevelCall) {\r\n            _initializing = false;\r\n            emit Initialized(1);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\r\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\r\n     * used to initialize parent contracts.\r\n     *\r\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\r\n     * are added through upgrades and that require initialization.\r\n     *\r\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\r\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\r\n     *\r\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\r\n     * a contract, executing them in the right order is up to the developer or operator.\r\n     *\r\n     * WARNING: setting the version to 255 will prevent any future reinitialization.\r\n     *\r\n     * Emits an {Initialized} event.\r\n     */\r\n    modifier reinitializer(uint8 version) {\r\n        require(!_initializing && _initialized < version, \"Initializable: contract is already initialized\");\r\n        _initialized = version;\r\n        _initializing = true;\r\n        _;\r\n        _initializing = false;\r\n        emit Initialized(version);\r\n    }\r\n\r\n    /**\r\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\r\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\r\n     */\r\n    modifier onlyInitializing() {\r\n        require(_initializing, \"Initializable: contract is not initializing\");\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\r\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\r\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\r\n     * through proxies.\r\n     *\r\n     * Emits an {Initialized} event the first time it is successfully executed.\r\n     */\r\n    function _disableInitializers() internal virtual {\r\n        require(!_initializing, \"Initializable: contract is initializing\");\r\n        if (_initialized < type(uint8).max) {\r\n            _initialized = type(uint8).max;\r\n            emit Initialized(type(uint8).max);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Internal function that returns the initialized version. Returns `_initialized`\r\n     */\r\n    function _getInitializedVersion() internal view returns (uint8) {\r\n        return _initialized;\r\n    }\r\n\r\n    /**\r\n     * @dev Internal function that returns the initialized version. Returns `_initializing`\r\n     */\r\n    function _isInitializing() internal view returns (bool) {\r\n        return _initializing;\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/introspection/ERC165Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\r\n * for the additional interface id that will be supported. For example:\r\n *\r\n * ```solidity\r\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\r\n * }\r\n * ```\r\n *\r\n * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.\r\n */\r\nabstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable {\r\n    function __ERC165_init() internal onlyInitializing {\r\n    }\r\n\r\n    function __ERC165_init_unchained() internal onlyInitializing {\r\n    }\r\n    /**\r\n     * @dev See {IERC165-supportsInterface}.\r\n     */\r\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n        return interfaceId == type(IERC165Upgradeable).interfaceId;\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)\r\n\r\npragma solidity ^0.8.2;\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev This abstract contract provides getters and event emitting update functions for\r\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\r\n *\r\n * _Available since v4.1._\r\n *\r\n * @custom:oz-upgrades-unsafe-allow delegatecall\r\n */\r\nabstract contract ERC1967UpgradeUpgradeable is Initializable {\r\n    function __ERC1967Upgrade_init() internal onlyInitializing {\r\n    }\r\n\r\n    function __ERC1967Upgrade_init_unchained() internal onlyInitializing {\r\n    }\r\n    // This is the keccak-256 hash of \"eip1967.proxy.rollback\" subtracted by 1\r\n    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\r\n\r\n    /**\r\n     * @dev Storage slot with the address of the current implementation.\r\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\r\n     * validated in the constructor.\r\n     */\r\n    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\r\n\r\n    /**\r\n     * @dev Emitted when the implementation is upgraded.\r\n     */\r\n    event Upgraded(address indexed implementation);\r\n\r\n    /**\r\n     * @dev Returns the current implementation address.\r\n     */\r\n    function _getImplementation() internal view returns (address) {\r\n        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;\r\n    }\r\n\r\n    /**\r\n     * @dev Stores a new address in the EIP1967 implementation slot.\r\n     */\r\n    function _setImplementation(address newImplementation) private {\r\n        require(AddressUpgradeable.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\r\n        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\r\n    }\r\n\r\n    /**\r\n     * @dev Perform implementation upgrade\r\n     *\r\n     * Emits an {Upgraded} event.\r\n     */\r\n    function _upgradeTo(address newImplementation) internal {\r\n        _setImplementation(newImplementation);\r\n        emit Upgraded(newImplementation);\r\n    }\r\n\r\n    /**\r\n     * @dev Perform implementation upgrade with additional setup call.\r\n     *\r\n     * Emits an {Upgraded} event.\r\n     */\r\n    function _upgradeToAndCall(\r\n        address newImplementation,\r\n        bytes memory data,\r\n        bool forceCall\r\n    ) internal {\r\n        _upgradeTo(newImplementation);\r\n        if (data.length > 0 || forceCall) {\r\n            _functionDelegateCall(newImplementation, data);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\r\n     *\r\n     * Emits an {Upgraded} event.\r\n     */\r\n    function _upgradeToAndCallUUPS(\r\n        address newImplementation,\r\n        bytes memory data,\r\n        bool forceCall\r\n    ) internal {\r\n        // Upgrades from old implementations will perform a rollback test. This test requires the new\r\n        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\r\n        // this special case will break upgrade paths from old UUPS implementation to new ones.\r\n        if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) {\r\n            _setImplementation(newImplementation);\r\n        } else {\r\n            try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) {\r\n                require(slot == _IMPLEMENTATION_SLOT, \"ERC1967Upgrade: unsupported proxiableUUID\");\r\n            } catch {\r\n                revert(\"ERC1967Upgrade: new implementation is not UUPS\");\r\n            }\r\n            _upgradeToAndCall(newImplementation, data, forceCall);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Storage slot with the admin of the contract.\r\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1, and is\r\n     * validated in the constructor.\r\n     */\r\n    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\r\n\r\n    /**\r\n     * @dev Emitted when the admin account has changed.\r\n     */\r\n    event AdminChanged(address previousAdmin, address newAdmin);\r\n\r\n    /**\r\n     * @dev Returns the current admin.\r\n     */\r\n    function _getAdmin() internal view returns (address) {\r\n        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;\r\n    }\r\n\r\n    /**\r\n     * @dev Stores a new address in the EIP1967 admin slot.\r\n     */\r\n    function _setAdmin(address newAdmin) private {\r\n        require(newAdmin != address(0), \"ERC1967: new admin is the zero address\");\r\n        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\r\n    }\r\n\r\n    /**\r\n     * @dev Changes the admin of the proxy.\r\n     *\r\n     * Emits an {AdminChanged} event.\r\n     */\r\n    function _changeAdmin(address newAdmin) internal {\r\n        emit AdminChanged(_getAdmin(), newAdmin);\r\n        _setAdmin(newAdmin);\r\n    }\r\n\r\n    /**\r\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\r\n     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\r\n     */\r\n    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\r\n\r\n    /**\r\n     * @dev Emitted when the beacon is upgraded.\r\n     */\r\n    event BeaconUpgraded(address indexed beacon);\r\n\r\n    /**\r\n     * @dev Returns the current beacon.\r\n     */\r\n    function _getBeacon() internal view returns (address) {\r\n        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;\r\n    }\r\n\r\n    /**\r\n     * @dev Stores a new beacon in the EIP1967 beacon slot.\r\n     */\r\n    function _setBeacon(address newBeacon) private {\r\n        require(AddressUpgradeable.isContract(newBeacon), \"ERC1967: new beacon is not a contract\");\r\n        require(\r\n            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),\r\n            \"ERC1967: beacon implementation is not a contract\"\r\n        );\r\n        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;\r\n    }\r\n\r\n    /**\r\n     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\r\n     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\r\n     *\r\n     * Emits a {BeaconUpgraded} event.\r\n     */\r\n    function _upgradeBeaconToAndCall(\r\n        address newBeacon,\r\n        bytes memory data,\r\n        bool forceCall\r\n    ) internal {\r\n        _setBeacon(newBeacon);\r\n        emit BeaconUpgraded(newBeacon);\r\n        if (data.length > 0 || forceCall) {\r\n            _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n     * but performing a delegate call.\r\n     *\r\n     * _Available since v3.4._\r\n     */\r\n    function _functionDelegateCall(address target, bytes memory data) private returns (bytes memory) {\r\n        require(AddressUpgradeable.isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n        // solhint-disable-next-line avoid-low-level-calls\r\n        (bool success, bytes memory returndata) = target.delegatecall(data);\r\n        return AddressUpgradeable.verifyCallResult(success, returndata, \"Address: low-level delegate call failed\");\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/proxy/utils/UUPSUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/UUPSUpgradeable.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\r\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\r\n *\r\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\r\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\r\n * `UUPSUpgradeable` with a custom implementation of upgrades.\r\n *\r\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\r\n *\r\n * _Available since v4.1._\r\n */\r\nabstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable {\r\n    function __UUPSUpgradeable_init() internal onlyInitializing {\r\n    }\r\n\r\n    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {\r\n    }\r\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment\r\n    address private immutable __self = address(this);\r\n\r\n    /**\r\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\r\n     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\r\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\r\n     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\r\n     * fail.\r\n     */\r\n    modifier onlyProxy() {\r\n        require(address(this) != __self, \"Function must be called through delegatecall\");\r\n        require(_getImplementation() == __self, \"Function must be called through active proxy\");\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\r\n     * callable on the implementing contract but not through proxies.\r\n     */\r\n    modifier notDelegated() {\r\n        require(address(this) == __self, \"UUPSUpgradeable: must not be called through delegatecall\");\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\r\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\r\n     *\r\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\r\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\r\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\r\n     */\r\n    function proxiableUUID() external view virtual override notDelegated returns (bytes32) {\r\n        return _IMPLEMENTATION_SLOT;\r\n    }\r\n\r\n    /**\r\n     * @dev Upgrade the implementation of the proxy to `newImplementation`.\r\n     *\r\n     * Calls {_authorizeUpgrade}.\r\n     *\r\n     * Emits an {Upgraded} event.\r\n     */\r\n    function upgradeTo(address newImplementation) external virtual onlyProxy {\r\n        _authorizeUpgrade(newImplementation);\r\n        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);\r\n    }\r\n\r\n    /**\r\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\r\n     * encoded in `data`.\r\n     *\r\n     * Calls {_authorizeUpgrade}.\r\n     *\r\n     * Emits an {Upgraded} event.\r\n     */\r\n    function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {\r\n        _authorizeUpgrade(newImplementation);\r\n        _upgradeToAndCallUUPS(newImplementation, data, true);\r\n    }\r\n\r\n    /**\r\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\r\n     * {upgradeTo} and {upgradeToAndCall}.\r\n     *\r\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\r\n     *\r\n     * ```solidity\r\n     * function _authorizeUpgrade(address) internal override onlyOwner {}\r\n     * ```\r\n     */\r\n    function _authorizeUpgrade(address newImplementation) internal virtual;\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/cryptography/EIP712Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n/**\r\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.\r\n *\r\n * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,\r\n * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding\r\n * they need in their contracts using a combination of `abi.encode` and `keccak256`.\r\n *\r\n * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\r\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\r\n * ({_hashTypedDataV4}).\r\n *\r\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\r\n * the chain id to protect against replay attacks on an eventual fork of the chain.\r\n *\r\n * NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\r\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\r\n *\r\n * _Available since v3.4._\r\n *\r\n * @custom:storage-size 52\r\n */\r\nabstract contract EIP712Upgradeable is Initializable {\r\n    /* solhint-disable var-name-mixedcase */\r\n    bytes32 private _HASHED_NAME;\r\n    bytes32 private _HASHED_VERSION;\r\n    bytes32 private constant _TYPE_HASH = keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\r\n\r\n    /* solhint-enable var-name-mixedcase */\r\n\r\n    /**\r\n     * @dev Initializes the domain separator and parameter caches.\r\n     *\r\n     * The meaning of `name` and `version` is specified in\r\n     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:\r\n     *\r\n     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\r\n     * - `version`: the current major version of the signing domain.\r\n     *\r\n     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\r\n     * contract upgrade].\r\n     */\r\n    function __EIP712_init(string memory name, string memory version) internal onlyInitializing {\r\n        __EIP712_init_unchained(name, version);\r\n    }\r\n\r\n    function __EIP712_init_unchained(string memory name, string memory version) internal onlyInitializing {\r\n        bytes32 hashedName = keccak256(bytes(name));\r\n        bytes32 hashedVersion = keccak256(bytes(version));\r\n        _HASHED_NAME = hashedName;\r\n        _HASHED_VERSION = hashedVersion;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the domain separator for the current chain.\r\n     */\r\n    function _domainSeparatorV4() internal view returns (bytes32) {\r\n        return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash());\r\n    }\r\n\r\n    function _buildDomainSeparator(\r\n        bytes32 typeHash,\r\n        bytes32 nameHash,\r\n        bytes32 versionHash\r\n    ) private view returns (bytes32) {\r\n        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));\r\n    }\r\n\r\n    /**\r\n     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\r\n     * function returns the hash of the fully encoded EIP712 message for this domain.\r\n     *\r\n     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\r\n     *\r\n     * ```solidity\r\n     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\r\n     *     keccak256(\"Mail(address to,string contents)\"),\r\n     *     mailTo,\r\n     *     keccak256(bytes(mailContents))\r\n     * )));\r\n     * address signer = ECDSA.recover(digest, signature);\r\n     * ```\r\n     */\r\n    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\r\n        return ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash);\r\n    }\r\n\r\n    /**\r\n     * @dev The hash of the name parameter for the EIP712 domain.\r\n     *\r\n     * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs\r\n     * are a concern.\r\n     */\r\n    function _EIP712NameHash() internal virtual view returns (bytes32) {\r\n        return _HASHED_NAME;\r\n    }\r\n\r\n    /**\r\n     * @dev The hash of the version parameter for the EIP712 domain.\r\n     *\r\n     * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs\r\n     * are a concern.\r\n     */\r\n    function _EIP712VersionHash() internal virtual view returns (bytes32) {\r\n        return _HASHED_VERSION;\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/utils/ContextUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n/**\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract ContextUpgradeable is Initializable {\r\n    function __Context_init() internal onlyInitializing {\r\n    }\r\n\r\n    function __Context_init_unchained() internal onlyInitializing {\r\n    }\r\n    function _msgSender() internal view virtual returns (address) {\r\n        return msg.sender;\r\n    }\r\n\r\n    function _msgData() internal view virtual returns (bytes calldata) {\r\n        return msg.data;\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/access/AccessControlUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev Contract module that allows children to implement role-based access\r\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\r\n * members except through off-chain means by accessing the contract event logs. Some\r\n * applications may benefit from on-chain enumerability, for those cases see\r\n * {AccessControlEnumerable}.\r\n *\r\n * Roles are referred to by their `bytes32` identifier. These should be exposed\r\n * in the external API and be unique. The best way to achieve this is by\r\n * using `public constant` hash digests:\r\n *\r\n * ```\r\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\r\n * ```\r\n *\r\n * Roles can be used to represent a set of permissions. To restrict access to a\r\n * function call, use {hasRole}:\r\n *\r\n * ```\r\n * function foo() public {\r\n *     require(hasRole(MY_ROLE, msg.sender));\r\n *     ...\r\n * }\r\n * ```\r\n *\r\n * Roles can be granted and revoked dynamically via the {grantRole} and\r\n * {revokeRole} functions. Each role has an associated admin role, and only\r\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\r\n *\r\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\r\n * that only accounts with this role will be able to grant or revoke other\r\n * roles. More complex role relationships can be created by using\r\n * {_setRoleAdmin}.\r\n *\r\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\r\n * grant and revoke this role. Extra precautions should be taken to secure\r\n * accounts that have been granted it.\r\n */\r\nabstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {\r\n    function __AccessControl_init() internal onlyInitializing {\r\n    }\r\n\r\n    function __AccessControl_init_unchained() internal onlyInitializing {\r\n    }\r\n    struct RoleData {\r\n        mapping(address => bool) members;\r\n        bytes32 adminRole;\r\n    }\r\n\r\n    mapping(bytes32 => RoleData) private _roles;\r\n\r\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\r\n\r\n    /**\r\n     * @dev Modifier that checks that an account has a specific role. Reverts\r\n     * with a standardized message including the required role.\r\n     *\r\n     * The format of the revert reason is given by the following regular expression:\r\n     *\r\n     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\r\n     *\r\n     * _Available since v4.1._\r\n     */\r\n    modifier onlyRole(bytes32 role) {\r\n        _checkRole(role);\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC165-supportsInterface}.\r\n     */\r\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n        return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId);\r\n    }\r\n\r\n    /**\r\n     * @dev Returns `true` if `account` has been granted `role`.\r\n     */\r\n    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {\r\n        return _roles[role].members[account];\r\n    }\r\n\r\n    /**\r\n     * @dev Revert with a standard message if `_msgSender()` is missing `role`.\r\n     * Overriding this function changes the behavior of the {onlyRole} modifier.\r\n     *\r\n     * Format of the revert message is described in {_checkRole}.\r\n     *\r\n     * _Available since v4.6._\r\n     */\r\n    function _checkRole(bytes32 role) internal view virtual {\r\n        _checkRole(role, _msgSender());\r\n    }\r\n\r\n    /**\r\n     * @dev Revert with a standard message if `account` is missing `role`.\r\n     *\r\n     * The format of the revert reason is given by the following regular expression:\r\n     *\r\n     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\r\n     */\r\n    function _checkRole(bytes32 role, address account) internal view virtual {\r\n        if (!hasRole(role, account)) {\r\n            revert(\r\n                string(\r\n                    abi.encodePacked(\r\n                        \"AccessControl: account \",\r\n                        StringsUpgradeable.toHexString(account),\r\n                        \" is missing role \",\r\n                        StringsUpgradeable.toHexString(uint256(role), 32)\r\n                    )\r\n                )\r\n            );\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\r\n     * {revokeRole}.\r\n     *\r\n     * To change a role's admin, use {_setRoleAdmin}.\r\n     */\r\n    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {\r\n        return _roles[role].adminRole;\r\n    }\r\n\r\n    /**\r\n     * @dev Grants `role` to `account`.\r\n     *\r\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\r\n     * event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the caller must have ``role``'s admin role.\r\n     *\r\n     * May emit a {RoleGranted} event.\r\n     */\r\n    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\r\n        _grantRole(role, account);\r\n    }\r\n\r\n    /**\r\n     * @dev Revokes `role` from `account`.\r\n     *\r\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the caller must have ``role``'s admin role.\r\n     *\r\n     * May emit a {RoleRevoked} event.\r\n     */\r\n    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {\r\n        _revokeRole(role, account);\r\n    }\r\n\r\n    /**\r\n     * @dev Revokes `role` from the calling account.\r\n     *\r\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\r\n     * purpose is to provide a mechanism for accounts to lose their privileges\r\n     * if they are compromised (such as when a trusted device is misplaced).\r\n     *\r\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\r\n     * event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the caller must be `account`.\r\n     *\r\n     * May emit a {RoleRevoked} event.\r\n     */\r\n    function renounceRole(bytes32 role, address account) public virtual override {\r\n        require(account == _msgSender(), \"AccessControl: can only renounce roles for self\");\r\n\r\n        _revokeRole(role, account);\r\n    }\r\n\r\n    /**\r\n     * @dev Grants `role` to `account`.\r\n     *\r\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\r\n     * event. Note that unlike {grantRole}, this function doesn't perform any\r\n     * checks on the calling account.\r\n     *\r\n     * May emit a {RoleGranted} event.\r\n     *\r\n     * [WARNING]\r\n     * ====\r\n     * This function should only be called from the constructor when setting\r\n     * up the initial roles for the system.\r\n     *\r\n     * Using this function in any other way is effectively circumventing the admin\r\n     * system imposed by {AccessControl}.\r\n     * ====\r\n     *\r\n     * NOTE: This function is deprecated in favor of {_grantRole}.\r\n     */\r\n    function _setupRole(bytes32 role, address account) internal virtual {\r\n        _grantRole(role, account);\r\n    }\r\n\r\n    /**\r\n     * @dev Sets `adminRole` as ``role``'s admin role.\r\n     *\r\n     * Emits a {RoleAdminChanged} event.\r\n     */\r\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\r\n        bytes32 previousAdminRole = getRoleAdmin(role);\r\n        _roles[role].adminRole = adminRole;\r\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\r\n    }\r\n\r\n    /**\r\n     * @dev Grants `role` to `account`.\r\n     *\r\n     * Internal function without access restriction.\r\n     *\r\n     * May emit a {RoleGranted} event.\r\n     */\r\n    function _grantRole(bytes32 role, address account) internal virtual {\r\n        if (!hasRole(role, account)) {\r\n            _roles[role].members[account] = true;\r\n            emit RoleGranted(role, account, _msgSender());\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Revokes `role` from `account`.\r\n     *\r\n     * Internal function without access restriction.\r\n     *\r\n     * May emit a {RoleRevoked} event.\r\n     */\r\n    function _revokeRole(bytes32 role, address account) internal virtual {\r\n        if (hasRole(role, account)) {\r\n            _roles[role].members[account] = false;\r\n            emit RoleRevoked(role, account, _msgSender());\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[49] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/security/PausableUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n/**\r\n * @dev Contract module which allows children to implement an emergency stop\r\n * mechanism that can be triggered by an authorized account.\r\n *\r\n * This module is used through inheritance. It will make available the\r\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\r\n * the functions of your contract. Note that they will not be pausable by\r\n * simply including this module, only once the modifiers are put in place.\r\n */\r\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\r\n    /**\r\n     * @dev Emitted when the pause is triggered by `account`.\r\n     */\r\n    event Paused(address account);\r\n\r\n    /**\r\n     * @dev Emitted when the pause is lifted by `account`.\r\n     */\r\n    event Unpaused(address account);\r\n\r\n    bool private _paused;\r\n\r\n    /**\r\n     * @dev Initializes the contract in unpaused state.\r\n     */\r\n    function __Pausable_init() internal onlyInitializing {\r\n        __Pausable_init_unchained();\r\n    }\r\n\r\n    function __Pausable_init_unchained() internal onlyInitializing {\r\n        _paused = false;\r\n    }\r\n\r\n    /**\r\n     * @dev Modifier to make a function callable only when the contract is not paused.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must not be paused.\r\n     */\r\n    modifier whenNotPaused() {\r\n        _requireNotPaused();\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Modifier to make a function callable only when the contract is paused.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must be paused.\r\n     */\r\n    modifier whenPaused() {\r\n        _requirePaused();\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns true if the contract is paused, and false otherwise.\r\n     */\r\n    function paused() public view virtual returns (bool) {\r\n        return _paused;\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if the contract is paused.\r\n     */\r\n    function _requireNotPaused() internal view virtual {\r\n        require(!paused(), \"Pausable: paused\");\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if the contract is not paused.\r\n     */\r\n    function _requirePaused() internal view virtual {\r\n        require(paused(), \"Pausable: not paused\");\r\n    }\r\n\r\n    /**\r\n     * @dev Triggers stopped state.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must not be paused.\r\n     */\r\n    function _pause() internal virtual whenNotPaused {\r\n        _paused = true;\r\n        emit Paused(_msgSender());\r\n    }\r\n\r\n    /**\r\n     * @dev Returns to normal state.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must be paused.\r\n     */\r\n    function _unpause() internal virtual whenPaused {\r\n        _paused = false;\r\n        emit Unpaused(_msgSender());\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[49] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/token/ERC20/IERC20Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC20 standard as defined in the EIP.\r\n */\r\ninterface IERC20Upgradeable {\r\n    /**\r\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\r\n     * another (`to`).\r\n     *\r\n     * Note that `value` may be zero.\r\n     */\r\n    event Transfer(address indexed from, address indexed to, uint256 value);\r\n\r\n    /**\r\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\r\n     * a call to {approve}. `value` is the new allowance.\r\n     */\r\n    event Approval(address indexed owner, address indexed spender, uint256 value);\r\n\r\n    /**\r\n     * @dev Returns the amount of tokens in existence.\r\n     */\r\n    function totalSupply() external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Returns the amount of tokens owned by `account`.\r\n     */\r\n    function balanceOf(address account) external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Moves `amount` tokens from the caller's account to `to`.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     */\r\n    function transfer(address to, uint256 amount) external returns (bool);\r\n\r\n    /**\r\n     * @dev Returns the remaining number of tokens that `spender` will be\r\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\r\n     * zero by default.\r\n     *\r\n     * This value changes when {approve} or {transferFrom} are called.\r\n     */\r\n    function allowance(address owner, address spender) external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\r\n     * that someone may use both the old and the new allowance by unfortunate\r\n     * transaction ordering. One possible solution to mitigate this race\r\n     * condition is to first reduce the spender's allowance to 0 and set the\r\n     * desired value afterwards:\r\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n     *\r\n     * Emits an {Approval} event.\r\n     */\r\n    function approve(address spender, uint256 amount) external returns (bool);\r\n\r\n    /**\r\n     * @dev Moves `amount` tokens from `from` to `to` using the\r\n     * allowance mechanism. `amount` is then deducted from the caller's\r\n     * allowance.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     */\r\n    function transferFrom(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) external returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/token/ERC20/utils/SafeERC20Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n/**\r\n * @title SafeERC20\r\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\r\n * contract returns false). Tokens that return no value (and instead revert or\r\n * throw on failure) are also supported, non-reverting calls are assumed to be\r\n * successful.\r\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\r\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\r\n */\r\nlibrary SafeERC20Upgradeable {\r\n    using AddressUpgradeable for address;\r\n\r\n    function safeTransfer(\r\n        IERC20Upgradeable token,\r\n        address to,\r\n        uint256 value\r\n    ) internal {\r\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\r\n    }\r\n\r\n    function safeTransferFrom(\r\n        IERC20Upgradeable token,\r\n        address from,\r\n        address to,\r\n        uint256 value\r\n    ) internal {\r\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\r\n    }\r\n\r\n    /**\r\n     * @dev Deprecated. This function has issues similar to the ones found in\r\n     * {IERC20-approve}, and its usage is discouraged.\r\n     *\r\n     * Whenever possible, use {safeIncreaseAllowance} and\r\n     * {safeDecreaseAllowance} instead.\r\n     */\r\n    function safeApprove(\r\n        IERC20Upgradeable token,\r\n        address spender,\r\n        uint256 value\r\n    ) internal {\r\n        // safeApprove should only be called when setting an initial allowance,\r\n        // or when resetting it to zero. To increase and decrease it, use\r\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\r\n        require(\r\n            (value == 0) || (token.allowance(address(this), spender) == 0),\r\n            \"SafeERC20: approve from non-zero to non-zero allowance\"\r\n        );\r\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\r\n    }\r\n\r\n    function safeIncreaseAllowance(\r\n        IERC20Upgradeable token,\r\n        address spender,\r\n        uint256 value\r\n    ) internal {\r\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\r\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\r\n    }\r\n\r\n    function safeDecreaseAllowance(\r\n        IERC20Upgradeable token,\r\n        address spender,\r\n        uint256 value\r\n    ) internal {\r\n        unchecked {\r\n            uint256 oldAllowance = token.allowance(address(this), spender);\r\n            require(oldAllowance >= value, \"SafeERC20: decreased allowance below zero\");\r\n            uint256 newAllowance = oldAllowance - value;\r\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\r\n        }\r\n    }\r\n\r\n    function safePermit(\r\n        IERC20PermitUpgradeable token,\r\n        address owner,\r\n        address spender,\r\n        uint256 value,\r\n        uint256 deadline,\r\n        uint8 v,\r\n        bytes32 r,\r\n        bytes32 s\r\n    ) internal {\r\n        uint256 nonceBefore = token.nonces(owner);\r\n        token.permit(owner, spender, value, deadline, v, r, s);\r\n        uint256 nonceAfter = token.nonces(owner);\r\n        require(nonceAfter == nonceBefore + 1, \"SafeERC20: permit did not succeed\");\r\n    }\r\n\r\n    /**\r\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\r\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\r\n     * @param token The token targeted by the call.\r\n     * @param data The call data (encoded using abi.encode or one of its variants).\r\n     */\r\n    function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private {\r\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\r\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\r\n        // the target address contains contract code and also asserts for success in the low-level call.\r\n\r\n        bytes memory returndata = address(token).functionCall(data, \"SafeERC20: low-level call failed\");\r\n        if (returndata.length > 0) {\r\n            // Return data is optional\r\n            require(abi.decode(returndata, (bool)), \"SafeERC20: ERC20 operation did not succeed\");\r\n        }\r\n    }\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/token/ERC20/extensions/IERC20MetadataUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n/**\r\n * @dev Interface for the optional metadata functions from the ERC20 standard.\r\n *\r\n * _Available since v4.1._\r\n */\r\ninterface IERC20MetadataUpgradeable is IERC20Upgradeable {\r\n    /**\r\n     * @dev Returns the name of the token.\r\n     */\r\n    function name() external view returns (string memory);\r\n\r\n    /**\r\n     * @dev Returns the symbol of the token.\r\n     */\r\n    function symbol() external view returns (string memory);\r\n\r\n    /**\r\n     * @dev Returns the decimals places of the token.\r\n     */\r\n    function decimals() external view returns (uint8);\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/token/ERC20/ERC20Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC20} interface.\r\n *\r\n * This implementation is agnostic to the way tokens are created. This means\r\n * that a supply mechanism has to be added in a derived contract using {_mint}.\r\n * For a generic mechanism see {ERC20PresetMinterPauser}.\r\n *\r\n * TIP: For a detailed writeup see our guide\r\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\r\n * to implement supply mechanisms].\r\n *\r\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\r\n * instead returning `false` on failure. This behavior is nonetheless\r\n * conventional and does not conflict with the expectations of ERC20\r\n * applications.\r\n *\r\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\r\n * This allows applications to reconstruct the allowance for all accounts just\r\n * by listening to said events. Other implementations of the EIP may not emit\r\n * these events, as it isn't required by the specification.\r\n *\r\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\r\n * functions have been added to mitigate the well-known issues around setting\r\n * allowances. See {IERC20-approve}.\r\n */\r\ncontract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {\r\n    mapping(address => uint256) private _balances;\r\n\r\n    mapping(address => mapping(address => uint256)) private _allowances;\r\n\r\n    uint256 private _totalSupply;\r\n\r\n    string private _name;\r\n    string private _symbol;\r\n\r\n    /**\r\n     * @dev Sets the values for {name} and {symbol}.\r\n     *\r\n     * The default value of {decimals} is 18. To select a different value for\r\n     * {decimals} you should overload it.\r\n     *\r\n     * All two of these values are immutable: they can only be set once during\r\n     * construction.\r\n     */\r\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\r\n        __ERC20_init_unchained(name_, symbol_);\r\n    }\r\n\r\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\r\n        _name = name_;\r\n        _symbol = symbol_;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the name of the token.\r\n     */\r\n    function name() public view virtual override returns (string memory) {\r\n        return _name;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the symbol of the token, usually a shorter version of the\r\n     * name.\r\n     */\r\n    function symbol() public view virtual override returns (string memory) {\r\n        return _symbol;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the number of decimals used to get its user representation.\r\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\r\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\r\n     *\r\n     * Tokens usually opt for a value of 18, imitating the relationship between\r\n     * Ether and Wei. This is the value {ERC20} uses, unless this function is\r\n     * overridden;\r\n     *\r\n     * NOTE: This information is only used for _display_ purposes: it in\r\n     * no way affects any of the arithmetic of the contract, including\r\n     * {IERC20-balanceOf} and {IERC20-transfer}.\r\n     */\r\n    function decimals() public view virtual override returns (uint8) {\r\n        return 18;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-totalSupply}.\r\n     */\r\n    function totalSupply() public view virtual override returns (uint256) {\r\n        return _totalSupply;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-balanceOf}.\r\n     */\r\n    function balanceOf(address account) public view virtual override returns (uint256) {\r\n        return _balances[account];\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-transfer}.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `to` cannot be the zero address.\r\n     * - the caller must have a balance of at least `amount`.\r\n     */\r\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\r\n        address owner = _msgSender();\r\n        _transfer(owner, to, amount);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-allowance}.\r\n     */\r\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\r\n        return _allowances[owner][spender];\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-approve}.\r\n     *\r\n     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on\r\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `spender` cannot be the zero address.\r\n     */\r\n    function approve(address spender, uint256 amount) public virtual override returns (bool) {\r\n        address owner = _msgSender();\r\n        _approve(owner, spender, amount);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-transferFrom}.\r\n     *\r\n     * Emits an {Approval} event indicating the updated allowance. This is not\r\n     * required by the EIP. See the note at the beginning of {ERC20}.\r\n     *\r\n     * NOTE: Does not update the allowance if the current allowance\r\n     * is the maximum `uint256`.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `from` and `to` cannot be the zero address.\r\n     * - `from` must have a balance of at least `amount`.\r\n     * - the caller must have allowance for ``from``'s tokens of at least\r\n     * `amount`.\r\n     */\r\n    function transferFrom(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) public virtual override returns (bool) {\r\n        address spender = _msgSender();\r\n        _spendAllowance(from, spender, amount);\r\n        _transfer(from, to, amount);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\r\n     *\r\n     * This is an alternative to {approve} that can be used as a mitigation for\r\n     * problems described in {IERC20-approve}.\r\n     *\r\n     * Emits an {Approval} event indicating the updated allowance.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `spender` cannot be the zero address.\r\n     */\r\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\r\n        address owner = _msgSender();\r\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\r\n     *\r\n     * This is an alternative to {approve} that can be used as a mitigation for\r\n     * problems described in {IERC20-approve}.\r\n     *\r\n     * Emits an {Approval} event indicating the updated allowance.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `spender` cannot be the zero address.\r\n     * - `spender` must have allowance for the caller of at least\r\n     * `subtractedValue`.\r\n     */\r\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\r\n        address owner = _msgSender();\r\n        uint256 currentAllowance = allowance(owner, spender);\r\n        require(currentAllowance >= subtractedValue, \"ERC20: decreased allowance below zero\");\r\n        unchecked {\r\n            _approve(owner, spender, currentAllowance - subtractedValue);\r\n        }\r\n\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev Moves `amount` of tokens from `from` to `to`.\r\n     *\r\n     * This internal function is equivalent to {transfer}, and can be used to\r\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `from` cannot be the zero address.\r\n     * - `to` cannot be the zero address.\r\n     * - `from` must have a balance of at least `amount`.\r\n     */\r\n    function _transfer(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) internal virtual {\r\n        require(from != address(0), \"ERC20: transfer from the zero address\");\r\n        require(to != address(0), \"ERC20: transfer to the zero address\");\r\n\r\n        _beforeTokenTransfer(from, to, amount);\r\n\r\n        uint256 fromBalance = _balances[from];\r\n        require(fromBalance >= amount, \"ERC20: transfer amount exceeds balance\");\r\n        unchecked {\r\n            _balances[from] = fromBalance - amount;\r\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\r\n            // decrementing then incrementing.\r\n            _balances[to] += amount;\r\n        }\r\n\r\n        emit Transfer(from, to, amount);\r\n\r\n        _afterTokenTransfer(from, to, amount);\r\n    }\r\n\r\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\r\n     * the total supply.\r\n     *\r\n     * Emits a {Transfer} event with `from` set to the zero address.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `account` cannot be the zero address.\r\n     */\r\n    function _mint(address account, uint256 amount) internal virtual {\r\n        require(account != address(0), \"ERC20: mint to the zero address\");\r\n\r\n        _beforeTokenTransfer(address(0), account, amount);\r\n\r\n        _totalSupply += amount;\r\n        unchecked {\r\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\r\n            _balances[account] += amount;\r\n        }\r\n        emit Transfer(address(0), account, amount);\r\n\r\n        _afterTokenTransfer(address(0), account, amount);\r\n    }\r\n\r\n    /**\r\n     * @dev Destroys `amount` tokens from `account`, reducing the\r\n     * total supply.\r\n     *\r\n     * Emits a {Transfer} event with `to` set to the zero address.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `account` cannot be the zero address.\r\n     * - `account` must have at least `amount` tokens.\r\n     */\r\n    function _burn(address account, uint256 amount) internal virtual {\r\n        require(account != address(0), \"ERC20: burn from the zero address\");\r\n\r\n        _beforeTokenTransfer(account, address(0), amount);\r\n\r\n        uint256 accountBalance = _balances[account];\r\n        require(accountBalance >= amount, \"ERC20: burn amount exceeds balance\");\r\n        unchecked {\r\n            _balances[account] = accountBalance - amount;\r\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\r\n            _totalSupply -= amount;\r\n        }\r\n\r\n        emit Transfer(account, address(0), amount);\r\n\r\n        _afterTokenTransfer(account, address(0), amount);\r\n    }\r\n\r\n    /**\r\n     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\r\n     *\r\n     * This internal function is equivalent to `approve`, and can be used to\r\n     * e.g. set automatic allowances for certain subsystems, etc.\r\n     *\r\n     * Emits an {Approval} event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `owner` cannot be the zero address.\r\n     * - `spender` cannot be the zero address.\r\n     */\r\n    function _approve(\r\n        address owner,\r\n        address spender,\r\n        uint256 amount\r\n    ) internal virtual {\r\n        require(owner != address(0), \"ERC20: approve from the zero address\");\r\n        require(spender != address(0), \"ERC20: approve to the zero address\");\r\n\r\n        _allowances[owner][spender] = amount;\r\n        emit Approval(owner, spender, amount);\r\n    }\r\n\r\n    /**\r\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\r\n     *\r\n     * Does not update the allowance amount in case of infinite allowance.\r\n     * Revert if not enough allowance is available.\r\n     *\r\n     * Might emit an {Approval} event.\r\n     */\r\n    function _spendAllowance(\r\n        address owner,\r\n        address spender,\r\n        uint256 amount\r\n    ) internal virtual {\r\n        uint256 currentAllowance = allowance(owner, spender);\r\n        if (currentAllowance != type(uint256).max) {\r\n            require(currentAllowance >= amount, \"ERC20: insufficient allowance\");\r\n            unchecked {\r\n                _approve(owner, spender, currentAllowance - amount);\r\n            }\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Hook that is called before any transfer of tokens. This includes\r\n     * minting and burning.\r\n     *\r\n     * Calling conditions:\r\n     *\r\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\r\n     * will be transferred to `to`.\r\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\r\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\r\n     * - `from` and `to` are never both zero.\r\n     *\r\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n     */\r\n    function _beforeTokenTransfer(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) internal virtual {}\r\n\r\n    /**\r\n     * @dev Hook that is called after any transfer of tokens. This includes\r\n     * minting and burning.\r\n     *\r\n     * Calling conditions:\r\n     *\r\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\r\n     * has been transferred to `to`.\r\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\r\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\r\n     * - `from` and `to` are never both zero.\r\n     *\r\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n     */\r\n    function _afterTokenTransfer(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) internal virtual {}\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[45] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/draft-ERC20Permit.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\r\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\r\n *\r\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\r\n * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't\r\n * need to send a transaction, and thus is not required to hold Ether at all.\r\n *\r\n * _Available since v3.4._\r\n *\r\n * @custom:storage-size 51\r\n */\r\nabstract contract ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable {\r\n    using CountersUpgradeable for CountersUpgradeable.Counter;\r\n\r\n    mapping(address => CountersUpgradeable.Counter) private _nonces;\r\n\r\n    // solhint-disable-next-line var-name-mixedcase\r\n    bytes32 private constant _PERMIT_TYPEHASH =\r\n        keccak256(\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\");\r\n    /**\r\n     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.\r\n     * However, to ensure consistency with the upgradeable transpiler, we will continue\r\n     * to reserve a slot.\r\n     * @custom:oz-renamed-from _PERMIT_TYPEHASH\r\n     */\r\n    // solhint-disable-next-line var-name-mixedcase\r\n    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;\r\n\r\n    /**\r\n     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `\"1\"`.\r\n     *\r\n     * It's a good idea to use the same `name` that is defined as the ERC20 token name.\r\n     */\r\n    function __ERC20Permit_init(string memory name) internal onlyInitializing {\r\n        __EIP712_init_unchained(name, \"1\");\r\n    }\r\n\r\n    function __ERC20Permit_init_unchained(string memory) internal onlyInitializing {}\r\n\r\n    /**\r\n     * @dev See {IERC20Permit-permit}.\r\n     */\r\n    function permit(\r\n        address owner,\r\n        address spender,\r\n        uint256 value,\r\n        uint256 deadline,\r\n        uint8 v,\r\n        bytes32 r,\r\n        bytes32 s\r\n    ) public virtual override {\r\n        require(block.timestamp <= deadline, \"ERC20Permit: expired deadline\");\r\n\r\n        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));\r\n\r\n        bytes32 hash = _hashTypedDataV4(structHash);\r\n\r\n        address signer = ECDSAUpgradeable.recover(hash, v, r, s);\r\n        require(signer == owner, \"ERC20Permit: invalid signature\");\r\n\r\n        _approve(owner, spender, value);\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20Permit-nonces}.\r\n     */\r\n    function nonces(address owner) public view virtual override returns (uint256) {\r\n        return _nonces[owner].current();\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.\r\n     */\r\n    // solhint-disable-next-line func-name-mixedcase\r\n    function DOMAIN_SEPARATOR() external view override returns (bytes32) {\r\n        return _domainSeparatorV4();\r\n    }\r\n\r\n    /**\r\n     * @dev \"Consume a nonce\": return the current value and increment.\r\n     *\r\n     * _Available since v4.1._\r\n     */\r\n    function _useNonce(address owner) internal virtual returns (uint256 current) {\r\n        CountersUpgradeable.Counter storage nonce = _nonces[owner];\r\n        current = nonce.current();\r\n        nonce.increment();\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[49] private __gap;\r\n}\r\n\r\n// File: @openzeppelin/contracts-upgradeable@4.8.0/token/ERC20/extensions/ERC20BurnableUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\r\n * tokens and those that they have an allowance for, in a way that can be\r\n * recognized off-chain (via event analysis).\r\n */\r\nabstract contract ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable {\r\n    function __ERC20Burnable_init() internal onlyInitializing {\r\n    }\r\n\r\n    function __ERC20Burnable_init_unchained() internal onlyInitializing {\r\n    }\r\n    /**\r\n     * @dev Destroys `amount` tokens from the caller.\r\n     *\r\n     * See {ERC20-_burn}.\r\n     */\r\n    function burn(uint256 amount) public virtual {\r\n        _burn(_msgSender(), amount);\r\n    }\r\n\r\n    /**\r\n     * @dev Destroys `amount` tokens from `account`, deducting from the caller's\r\n     * allowance.\r\n     *\r\n     * See {ERC20-_burn} and {ERC20-allowance}.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the caller must have allowance for ``accounts``'s tokens of at least\r\n     * `amount`.\r\n     */\r\n    function burnFrom(address account, uint256 amount) public virtual {\r\n        _spendAllowance(account, _msgSender(), amount);\r\n        _burn(account, amount);\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: BRLA.sol\r\n\r\n\r\npragma solidity ^0.8.9;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\ncontract BRLA is Initializable, ERC20Upgradeable, ERC20BurnableUpgradeable, ERC20PermitUpgradeable, PausableUpgradeable, AccessControlUpgradeable, UUPSUpgradeable {\r\n    \r\n    using SafeERC20Upgradeable for IERC20Upgradeable;\r\n\r\n    address public ownerWallet;\r\n    address public operatorWallet;\r\n    address public pauserWallet;\r\n    address public complianceWallet;\r\n    \r\n    bytes32 public constant PAUSER_ROLE = keccak256(\"PAUSER_ROLE\");\r\n    bytes32 public constant OPERATOR_ROLE = keccak256(\"OPERATOR_ROLE\");\r\n    bytes32 public constant COMPLIANCE_ROLE = keccak256(\"COMPLIANCE_ROLE\");\r\n    bytes32 public constant OWNER_ROLE = keccak256(\"OWNER_ROLE\");\r\n\r\n    /// Granted to blacklisted addresses\r\n    bytes32 public constant BLACKLISTED = keccak256(\"BLACKLISTED\");\r\n\r\n    /// @custom:oz-upgrades-unsafe-allow constructor\r\n    constructor() {\r\n        _disableInitializers();\r\n    }\r\n\r\n    function initialize(\r\n        address operator,\r\n        address pauser,\r\n        address compliance\r\n    ) initializer public {\r\n\r\n        __ERC20_init(\"BRLA Token\", \"BRLA\");\r\n        __ERC20Permit_init(\"BRLA Token\");\r\n        __ERC20Burnable_init();\r\n        __Pausable_init();\r\n        __AccessControl_init();\r\n        __UUPSUpgradeable_init();\r\n\r\n        ownerWallet = msg.sender;\r\n        operatorWallet = operator;\r\n        pauserWallet = pauser;\r\n        complianceWallet = compliance;\r\n\r\n        _grantRole(OWNER_ROLE, msg.sender);\r\n        _setRoleAdmin(OWNER_ROLE, OWNER_ROLE);\r\n\r\n        _grantRole(OPERATOR_ROLE, operator);\r\n        _setRoleAdmin(OPERATOR_ROLE, OPERATOR_ROLE);\r\n\r\n        _grantRole(PAUSER_ROLE, pauser);\r\n        _setRoleAdmin(PAUSER_ROLE, PAUSER_ROLE);\r\n        \r\n        _grantRole(COMPLIANCE_ROLE, compliance);\r\n        _setRoleAdmin(COMPLIANCE_ROLE, COMPLIANCE_ROLE);\r\n        _setRoleAdmin(BLACKLISTED, COMPLIANCE_ROLE);\r\n\r\n    }\r\n\r\n    function mint(address to, uint256 amount) external onlyRole(OPERATOR_ROLE) {\r\n        _mint(to, amount);\r\n    }\r\n\r\n    function burnFromWithPermit(\r\n        address owner,\r\n        address spender,\r\n        uint256 value,\r\n        uint256 deadline,\r\n        uint8 v,\r\n        bytes32 r,\r\n        bytes32 s\r\n    ) external onlyRole(OPERATOR_ROLE) {\r\n        require(msg.sender == spender);\r\n        permit(owner, spender, value, deadline, v, r, s);\r\n        burnFrom(owner, value);\r\n    }\r\n\r\n    function rescueERC20(\r\n        IERC20Upgradeable token,\r\n        address to,\r\n        uint256 amount\r\n    ) external onlyRole(OWNER_ROLE) {\r\n        token.safeTransfer(to, amount);\r\n    }\r\n\r\n    function pause() external onlyRole(PAUSER_ROLE) {\r\n        _pause();\r\n    }\r\n\r\n    function unpause() external onlyRole(PAUSER_ROLE) {\r\n        _unpause();\r\n    }\r\n\r\n    function blockAddress(address addr) external onlyRole(COMPLIANCE_ROLE) {\r\n        _grantRole(BLACKLISTED, addr);\r\n    }\r\n\r\n    function unblockAddress(address addr) external onlyRole(COMPLIANCE_ROLE) {\r\n        _revokeRole(BLACKLISTED, addr);\r\n    }\r\n\r\n    function updateOwner(address newOwner) external onlyRole(OWNER_ROLE) {\r\n        _grantRole(OWNER_ROLE, newOwner);\r\n        renounceRole(OWNER_ROLE, ownerWallet);\r\n        ownerWallet = newOwner;\r\n    }\r\n\r\n    function updatePauser(address newPauser) external onlyRole(PAUSER_ROLE) {\r\n        _grantRole(PAUSER_ROLE, newPauser);\r\n        renounceRole(PAUSER_ROLE, pauserWallet);\r\n        pauserWallet = newPauser;\r\n    }\r\n\r\n    function updateOperator(address newOperator) external onlyRole(OPERATOR_ROLE) {\r\n        _grantRole(OPERATOR_ROLE, newOperator);\r\n        renounceRole(OPERATOR_ROLE, operatorWallet);\r\n        operatorWallet = newOperator;\r\n    }\r\n\r\n    function updateCompliance(address newCompliance) external onlyRole(COMPLIANCE_ROLE) {\r\n        _grantRole(COMPLIANCE_ROLE, newCompliance);\r\n        renounceRole(COMPLIANCE_ROLE, complianceWallet);\r\n        complianceWallet = newCompliance;\r\n    }\r\n\r\n    function isWhiteListed(address addr) internal view {\r\n        require(!hasRole(BLACKLISTED, addr));\r\n    }\r\n\r\n    function _beforeTokenTransfer(address from, address to, uint256 amount)\r\n        internal\r\n        whenNotPaused\r\n        override\r\n    {\r\n        isWhiteListed(from);\r\n        isWhiteListed(to);\r\n        super._beforeTokenTransfer(from, to, amount);\r\n    }\r\n\r\n    function _authorizeUpgrade(address newImplementation)\r\n        internal\r\n        onlyRole(OWNER_ROLE)\r\n        override\r\n    {}\r\n\r\n}\r\n\r\n// File: BRLAV1_1.sol\r\n\r\n\r\npragma solidity ^0.8.9;\r\n\r\n\r\ncontract BRLAV1_1 is BRLA {\r\n    \r\n    function transferWithPermit(\r\n        address owner,\r\n        address spender,\r\n        address destination,\r\n        uint256 value,\r\n        uint256 deadline,\r\n        uint8 v,\r\n        bytes32 r,\r\n        bytes32 s\r\n    ) external onlyRole(OPERATOR_ROLE) {\r\n        permit(owner, spender, value, deadline, v, r, s);\r\n        transferFrom(owner, destination, value);\r\n    }\r\n\r\n}","creation_status":"success","file_path":"BRLAV1_1.sol"}