{"sources":{"Batbot.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.24;\n\n// File: @openzeppelin/contracts/utils/introspection/IERC165.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)\n\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n    /**\n     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n     */\n    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n    /**\n     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n     */\n    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n    /**\n     * @dev Returns the number of tokens in ``owner``'s account.\n     */\n    function balanceOf(address owner) external view returns (uint256 balance);\n\n    /**\n     * @dev Returns the owner of the `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function ownerOf(uint256 tokenId) external view returns (address owner);\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n     * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must exist and be owned by `from`.\n     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or\n     *   {setApprovalForAll}.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n     *   a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Transfers `tokenId` token from `from` to `to`.\n     *\n     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721\n     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must\n     * understand this adds an external call which potentially creates a reentrancy vulnerability.\n     *\n     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) external;\n\n    /**\n     * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n     * The approval is cleared when the token is transferred.\n     *\n     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n     *\n     * Requirements:\n     *\n     * - The caller must own the token or be an approved operator.\n     * - `tokenId` must exist.\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address to, uint256 tokenId) external;\n\n    /**\n     * @dev Approve or remove `operator` as an operator for the caller.\n     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n     *\n     * Requirements:\n     *\n     * - The `operator` cannot be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function setApprovalForAll(address operator, bool approved) external;\n\n    /**\n     * @dev Returns the account approved for `tokenId` token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     */\n    function getApproved(uint256 tokenId) external view returns (address operator);\n\n    /**\n     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n     *\n     * See {setApprovalForAll}\n     */\n    function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)\n\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n    /**\n     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n     * by `operator` from `from`, this function is called.\n     *\n     * It must return its Solidity selector to confirm the token transfer.\n     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be\n     * reverted.\n     *\n     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.\n     */\n    function onERC721Received(\n        address operator,\n        address from,\n        uint256 tokenId,\n        bytes calldata data\n    ) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n    /**\n     * @dev Returns the token collection name.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the token collection symbol.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n     */\n    function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/utils/Context.sol\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n\n// File: @openzeppelin/contracts/utils/math/Math.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)\n\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    /**\n     * @dev Muldiv operation overflow.\n     */\n    error MathOverflowedMulDiv();\n\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an overflow flag.\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            uint256 c = a + b;\n            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a division by zero flag.\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            return a / b;\n        }\n\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2^256. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                revert MathOverflowedMulDiv();\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\n                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        uint256 result = mulDiv(x, y, denominator);\n        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n}\n\n// File: @openzeppelin/contracts/utils/math/SignedMath.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)\n\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return a > b ? a : b;\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return a < b ? a : b;\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // must be unchecked in order to support `n = type(int256).min`\n            return uint256(n >= 0 ? n : -n);\n        }\n    }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)\n\n\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            /// @solidity memory-safe-assembly\n            assembly {\n                ptr := add(buffer, add(32, length))\n            }\n            while (true) {\n                ptr--;\n                /// @solidity memory-safe-assembly\n                assembly {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\n    }\n}\n\n// File: @openzeppelin/contracts/utils/introspection/ERC165.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)\n\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n\n// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)\n\n/**\n * @dev Standard ERC20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)\n\n\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\nabstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {\n    using Strings for uint256;\n\n    // Token name\n    string private _name;\n\n    // Token symbol\n    string private _symbol;\n\n    mapping(uint256 tokenId => address) private _owners;\n\n    mapping(address owner => uint256) private _balances;\n\n    mapping(uint256 tokenId => address) private _tokenApprovals;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    /**\n     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return\n            interfaceId == type(IERC721).interfaceId ||\n            interfaceId == type(IERC721Metadata).interfaceId ||\n            super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev See {IERC721-balanceOf}.\n     */\n    function balanceOf(address owner) public view virtual returns (uint256) {\n        if (owner == address(0)) {\n            revert ERC721InvalidOwner(address(0));\n        }\n        return _balances[owner];\n    }\n\n    /**\n     * @dev See {IERC721-ownerOf}.\n     */\n    function ownerOf(uint256 tokenId) public view virtual returns (address) {\n        return _requireOwned(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721Metadata-name}.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-symbol}.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev See {IERC721Metadata-tokenURI}.\n     */\n    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\n        _requireOwned(tokenId);\n\n        string memory baseURI = _baseURI();\n        return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : \"\";\n    }\n\n    /**\n     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each\n     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty\n     * by default, can be overridden in child contracts.\n     */\n    function _baseURI() internal view virtual returns (string memory) {\n        return \"\";\n    }\n\n    /**\n     * @dev See {IERC721-approve}.\n     */\n    function approve(address to, uint256 tokenId) public virtual {\n        _approve(to, tokenId, _msgSender());\n    }\n\n    /**\n     * @dev See {IERC721-getApproved}.\n     */\n    function getApproved(uint256 tokenId) public view virtual returns (address) {\n        _requireOwned(tokenId);\n\n        return _getApproved(tokenId);\n    }\n\n    /**\n     * @dev See {IERC721-setApprovalForAll}.\n     */\n    function setApprovalForAll(address operator, bool approved) public virtual {\n        _setApprovalForAll(_msgSender(), operator, approved);\n    }\n\n    /**\n     * @dev See {IERC721-isApprovedForAll}.\n     */\n    function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\n        return _operatorApprovals[owner][operator];\n    }\n\n    /**\n     * @dev See {IERC721-transferFrom}.\n     */\n    function transferFrom(address from, address to, uint256 tokenId) public virtual {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        // Setting an \"auth\" arguments enables the `_isAuthorized` check which verifies that the token exists\n        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\n        address previousOwner = _update(to, tokenId, _msgSender());\n        if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId) public {\n        safeTransferFrom(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev See {IERC721-safeTransferFrom}.\n     */\n    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\n        transferFrom(from, to, tokenId);\n        _checkOnERC721Received(from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n     *\n     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\n     */\n    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n        return _owners[tokenId];\n    }\n\n    /**\n     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\n     */\n    function _getApproved(uint256 tokenId) internal view virtual returns (address) {\n        return _tokenApprovals[tokenId];\n    }\n\n    /**\n     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n     * particular (ignoring whether it is owned by `owner`).\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\n        return\n            spender != address(0) &&\n            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\n    }\n\n    /**\n     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets\n     * the `spender` for the specific `tokenId`.\n     *\n     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n     * assumption.\n     */\n    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\n        if (!_isAuthorized(owner, spender, tokenId)) {\n            if (owner == address(0)) {\n                revert ERC721NonexistentToken(tokenId);\n            } else {\n                revert ERC721InsufficientApproval(spender, tokenId);\n            }\n        }\n    }\n\n    /**\n     * @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n     *\n     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n     *\n     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n     * remain consistent with one another.\n     */\n    function _increaseBalance(address account, uint128 value) internal virtual {\n        unchecked {\n            _balances[account] += value;\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that\n     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\n     */\n    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\n        address from = _ownerOf(tokenId);\n\n        // Perform (optional) operator check\n        if (auth != address(0)) {\n            _checkAuthorized(from, auth, tokenId);\n        }\n\n        // Execute the update\n        if (from != address(0)) {\n            // Clear approval. No need to re-authorize or emit the Approval event\n            _approve(address(0), tokenId, address(0), false);\n\n            unchecked {\n                _balances[from] -= 1;\n            }\n        }\n\n        if (to != address(0)) {\n            unchecked {\n                _balances[to] += 1;\n            }\n        }\n\n        _owners[tokenId] = to;\n\n        emit Transfer(from, to, tokenId);\n\n        return from;\n    }\n\n    /**\n     * @dev Mints `tokenId` and transfers it to `to`.\n     *\n     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - `to` cannot be the zero address.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _mint(address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner != address(0)) {\n            revert ERC721InvalidSender(address(0));\n        }\n    }\n\n    /**\n     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must not exist.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeMint(address to, uint256 tokenId) internal {\n        _safeMint(to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {\n        _mint(to, tokenId);\n        _checkOnERC721Received(address(0), to, tokenId, data);\n    }\n\n    /**\n     * @dev Destroys `tokenId`.\n     * The approval is cleared when the token is burned.\n     * This is an internal function that does not check if the sender is authorized to operate on the token.\n     *\n     * Requirements:\n     *\n     * - `tokenId` must exist.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _burn(uint256 tokenId) internal {\n        address previousOwner = _update(address(0), tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n    }\n\n    /**\n     * @dev Transfers `tokenId` from `from` to `to`.\n     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - `tokenId` token must be owned by `from`.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _transfer(address from, address to, uint256 tokenId) internal {\n        if (to == address(0)) {\n            revert ERC721InvalidReceiver(address(0));\n        }\n        address previousOwner = _update(to, tokenId, address(0));\n        if (previousOwner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        } else if (previousOwner != from) {\n            revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n        }\n    }\n\n    /**\n     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n     * are aware of the ERC721 standard to prevent tokens from being forever locked.\n     *\n     * `data` is additional data, it has no specified format and it is sent in call to `to`.\n     *\n     * This internal function is like {safeTransferFrom} in the sense that it invokes\n     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n     * implement alternative mechanisms to perform token transfer, such as signature-based.\n     *\n     * Requirements:\n     *\n     * - `tokenId` token must exist and be owned by `from`.\n     * - `to` cannot be the zero address.\n     * - `from` cannot be the zero address.\n     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId) internal {\n        _safeTransfer(from, to, tokenId, \"\");\n    }\n\n    /**\n     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n     */\n    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\n        _transfer(from, to, tokenId);\n        _checkOnERC721Received(from, to, tokenId, data);\n    }\n\n    /**\n     * @dev Approve `to` to operate on `tokenId`\n     *\n     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n     * either the owner of the token, or approved to operate on all tokens held by this owner.\n     *\n     * Emits an {Approval} event.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address to, uint256 tokenId, address auth) internal {\n        _approve(to, tokenId, auth, true);\n    }\n\n    /**\n     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n     * emitted in the context of transfers.\n     */\n    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\n        // Avoid reading the owner unless necessary\n        if (emitEvent || auth != address(0)) {\n            address owner = _requireOwned(tokenId);\n\n            // We do not use _isAuthorized because single-token approvals should not be able to call approve\n            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\n                revert ERC721InvalidApprover(auth);\n            }\n\n            if (emitEvent) {\n                emit Approval(owner, to, tokenId);\n            }\n        }\n\n        _tokenApprovals[tokenId] = to;\n    }\n\n    /**\n     * @dev Approve `operator` to operate on all of `owner` tokens\n     *\n     * Requirements:\n     * - operator can't be the address zero.\n     *\n     * Emits an {ApprovalForAll} event.\n     */\n    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n        if (operator == address(0)) {\n            revert ERC721InvalidOperator(operator);\n        }\n        _operatorApprovals[owner][operator] = approved;\n        emit ApprovalForAll(owner, operator, approved);\n    }\n\n    /**\n     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n     * Returns the owner.\n     *\n     * Overrides to ownership logic should be done to {_ownerOf}.\n     */\n    function _requireOwned(uint256 tokenId) internal view returns (address) {\n        address owner = _ownerOf(tokenId);\n        if (owner == address(0)) {\n            revert ERC721NonexistentToken(tokenId);\n        }\n        return owner;\n    }\n\n    /**\n     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the\n     * recipient doesn't accept the token transfer. The call is not executed if the target address is not a contract.\n     *\n     * @param from address representing the previous owner of the given token ID\n     * @param to target address that will receive the tokens\n     * @param tokenId uint256 ID of the token to be transferred\n     * @param data bytes optional data to send along with the call\n     */\n    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {\n        if (to.code.length > 0) {\n            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {\n                if (retval != IERC721Receiver.onERC721Received.selector) {\n                    revert ERC721InvalidReceiver(to);\n                }\n            } catch (bytes memory reason) {\n                if (reason.length == 0) {\n                    revert ERC721InvalidReceiver(to);\n                } else {\n                    /// @solidity memory-safe-assembly\n                    assembly {\n                        revert(add(32, reason), mload(reason))\n                    }\n                }\n            }\n        }\n    }\n}\n\n// File: @openzeppelin/contracts/interfaces/IERC2981.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)\n\n\n\n/**\n * @dev Interface for the NFT Royalty Standard.\n *\n * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal\n * support for royalty payments across all NFT marketplaces and ecosystem participants.\n */\ninterface IERC2981 is IERC165 {\n    /**\n     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of\n     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.\n     */\n    function royaltyInfo(\n        uint256 tokenId,\n        uint256 salePrice\n    ) external view returns (address receiver, uint256 royaltyAmount);\n}\n\n// File: @openzeppelin/contracts/token/common/ERC2981.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)\n\n\n\n/**\n * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.\n *\n * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for\n * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.\n *\n * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the\n * fee is specified in basis points by default.\n *\n * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See\n * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to\n * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.\n */\nabstract contract ERC2981 is IERC2981, ERC165 {\n    struct RoyaltyInfo {\n        address receiver;\n        uint96 royaltyFraction;\n    }\n\n    RoyaltyInfo private _defaultRoyaltyInfo;\n    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;\n\n    /**\n     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The default royalty receiver is invalid.\n     */\n    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);\n\n    /**\n     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).\n     */\n    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);\n\n    /**\n     * @dev The royalty receiver for `tokenId` is invalid.\n     */\n    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {\n        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @inheritdoc IERC2981\n     */\n    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) {\n        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];\n\n        if (royalty.receiver == address(0)) {\n            royalty = _defaultRoyaltyInfo;\n        }\n\n        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();\n\n        return (royalty.receiver, royaltyAmount);\n    }\n\n    /**\n     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a\n     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an\n     * override.\n     */\n    function _feeDenominator() internal pure virtual returns (uint96) {\n        return 10000;\n    }\n\n    /**\n     * @dev Sets the royalty information that all ids in this contract will default to.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));\n        }\n\n        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Removes default royalty information.\n     */\n    function _deleteDefaultRoyalty() internal virtual {\n        delete _defaultRoyaltyInfo;\n    }\n\n    /**\n     * @dev Sets the royalty information for a specific token id, overriding the global default.\n     *\n     * Requirements:\n     *\n     * - `receiver` cannot be the zero address.\n     * - `feeNumerator` cannot be greater than the fee denominator.\n     */\n    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {\n        uint256 denominator = _feeDenominator();\n        if (feeNumerator > denominator) {\n            // Royalty fee will exceed the sale price\n            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);\n        }\n        if (receiver == address(0)) {\n            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));\n        }\n\n        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);\n    }\n\n    /**\n     * @dev Resets royalty information for the token id back to the global default.\n     */\n    function _resetTokenRoyalty(uint256 tokenId) internal virtual {\n        delete _tokenRoyaltyInfo[tokenId];\n    }\n}\n\n// File: @openzeppelin/contracts/access/Ownable.sol\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\n\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n\n// File: @openzeppelin/contracts/utils/Base64.sol\n// OpenZeppelin Contracts (last updated v5.0.2) (utils/Base64.sol)\n\n\n/**\n * @dev Provides a set of functions to operate with Base64 strings.\n */\nlibrary Base64 {\n    /**\n     * @dev Base64 Encoding/Decoding Table\n     */\n    string internal constant _TABLE = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n\n    /**\n     * @dev Converts a `bytes` to its Bytes64 `string` representation.\n     */\n    function encode(bytes memory data) internal pure returns (string memory) {\n        /**\n         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence\n         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol\n         */\n        if (data.length == 0) return \"\";\n\n        // Loads the table into memory\n        string memory table = _TABLE;\n\n        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter\n        // and split into 4 numbers of 6 bits.\n        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up\n        // - `data.length + 2`  -> Round up\n        // - `/ 3`              -> Number of 3-bytes chunks\n        // - `4 *`              -> 4 characters for each chunk\n        string memory result = new string(4 * ((data.length + 2) / 3));\n\n        /// @solidity memory-safe-assembly\n        assembly {\n            // Prepare the lookup table (skip the first \"length\" byte)\n            let tablePtr := add(table, 1)\n\n            // Prepare result pointer, jump over length\n            let resultPtr := add(result, 0x20)\n            let dataPtr := data\n            let endPtr := add(data, mload(data))\n\n            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and\n            // set it to zero to make sure no dirty bytes are read in that section.\n            let afterPtr := add(endPtr, 0x20)\n            let afterCache := mload(afterPtr)\n            mstore(afterPtr, 0x00)\n\n            // Run over the input, 3 bytes at a time\n            for {\n\n            } lt(dataPtr, endPtr) {\n\n            } {\n                // Advance 3 bytes\n                dataPtr := add(dataPtr, 3)\n                let input := mload(dataPtr)\n\n                // To write each character, shift the 3 byte (24 bits) chunk\n                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)\n                // and apply logical AND with 0x3F to bitmask the least significant 6 bits.\n                // Use this as an index into the lookup table, mload an entire word\n                // so the desired character is in the least significant byte, and\n                // mstore8 this least significant byte into the result and continue.\n\n                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n\n                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n\n                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n\n                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))\n                resultPtr := add(resultPtr, 1) // Advance\n            }\n\n            // Reset the value that was cached\n            mstore(afterPtr, afterCache)\n\n            // When data `bytes` is not exactly 3 bytes long\n            // it is padded with `=` characters at the end\n            switch mod(mload(data), 3)\n            case 1 {\n                mstore8(sub(resultPtr, 1), 0x3d)\n                mstore8(sub(resultPtr, 2), 0x3d)\n            }\n            case 2 {\n                mstore8(sub(resultPtr, 1), 0x3d)\n            }\n        }\n\n        return result;\n    }\n}\n\n// File: Batbot.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Batbot - 600 Cute black metal bat robot with glowing orange pumpkin eyes and stitched mini pumpkin on a purple-orange gradient for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 600 free pool lasts (gas only).\n/// Every other mint costs 0.00007 BNB. Max 50 per wallet, 600 total. Collectible only, not an investment.\n/// @dev Art and metadata are generated fully on-chain from each token id. No IPFS, no reveal, nothing to set after deploy.\ncontract Batbot is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 600;\n    uint256 public constant FREE_SUPPLY = 600;\n    uint256 public constant FREE_PER_WALLET = 2;\n    uint256 public constant MAX_PER_WALLET = 50;\n    uint256 public constant PRICE = 0.00007 ether;\n\n    uint256 public totalSupply;\n    uint256 public freeClaimed;\n    bool public mintOpen = true;\n    mapping(address => uint256) public mintedBy;\n    mapping(address => uint256) public freeUsed;\n\n    error NoAgentId();\n    error OnlyWallets();\n    error MintClosed();\n    error BadQuantity();\n    error SoldOut();\n    error WalletLimit();\n    error WrongPayment();\n    error WithdrawFailed();\n\n    event Launched(address indexed to, uint256 indexed tokenId, string agent);\n\n    /// @notice Contract whose runtime code holds the artwork bytes (WebP), after a leading 0x00 STOP byte.\n    address public immutable IMAGE;\n\n    /// @dev The WebP artwork is embedded in this source and written, in this same deploy transaction,\n    /// into a small storage contract (runtime = 0x00 STOP byte + image bytes) owned by nobody.\n    constructor(address initialOwner) ERC721(\"Batbot\", \"BATBOT\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"524946464637000057454250565038203a37000010fd009d012a900190013ec158a44da7a533322915ab426018094ddf87d5066ac60e063aac73bb8c8e040dec9fa84720f8fe1dfba9e714fa1ff47d667f53f465f2e0f5e3e6aff72bd61bd417f8ef472ea7bf414e99dfedd6c68dd164ff245141f9ff60de0cf00b7b1f323d03bde9fbd79a1ce63e73d40fcecf025a08f8cce90bec6f6173128cdec9e157573da3498bb56e34182f2c0a427b647ce834cf3610a15fc73fd9c60d6b553cda45026afddf96ad8822b0d7954de7ff96919b994dd068bedaff917ead6a861ef382358fe6b8ff2d922c90d570560ad362969d55aa59a257aa08e5f2eb2b62568f728c430654f097aa0d7d0d6a6a5d971faf71fa376e74a161c6eec528221369f089632ba6607491c1c3a8a173e22ad9461c2a6d4c68a29c8924d1da595a3d273fee93ed396773e804034e97f3582518d51b0c2b8871cd8bfba5ff3e45ecca523b4d2b024a5bbf53aa5134c5cce70aa29b388324d965cd82e4c742ca3eca01aebf431e2dd66326d976db5b8a81d7a0f3723770f3a6fd18dd6690631b29138a2fbb5607d19e408d8df614ff9234d5e8b21b27a4ae192fc2dab4cfbb86e4c81a3123288a20a7a732c24c041a3ee944954423301cce033df5b327a0fe7edd45da67d6438b185f07dfa90ff19389430ea46187c9fe70ade445e4ea644e8a9d38d0dd10ffb17a46d5aa5681c78236591289d797673160c46559970c8beaff0ee81a7f9e3e0a2608015b01bac054a95b86cf722caefda27b1c8fb462fcd37d01566c1d8e7c9c0ff2af4f5cf5bf829cb97b5ccaf266fa61317d5ffb8281a6cead1c26d16286415c84733297b3fe8a0ec4e5a1259de3acf08da5fe5ca0a59ff516feed82498dffe67fe87a443c9d9a45d47f8c4f7b554a661852e65b401bd8d337d1242cccf4805bda4330e235cde8e20ca30f8420ca396c9f1bd84b7cab3c3d7f73c1e431247afe8d15dd9734d8e7480a0991650164fb9e90e1189200512f130216bcc66891345ff085ffb965c0ae41be98897b27ebcecd5c25efda6117b75200d523fe8fc40014ddbaaf44b7018003bd467e76f15fe6828a2b6af0d1ab635fb91dcdbcc54483ecb2346fa506650436965ca8f0a3d1747e4436496bac4b04f5dcdea855bc85919897fabc59f8955ad661fcfe54e918cda89d481d7b40aaaacf73533ecee33a2153ed84389283209e1884a2a2f0a677a051f8028debfa7b0d79b3063e11b15d14739090f480d194bc81ea97d38af01b5987374612d62adac236e4604a988663f345617cd99456d34d2b74662a3ba78e44dfb60ae3df845a14ab256057a4bcc39aa24fd5c58eea56b57b5ec29f239f28f0a08397172d7fa1e1e15f08ce693dbb48627a06aab8f5ba1f2a78430f3a323ca9793fba88d77fea9592eb154fec3ab8cbf8e132b117ccbcc9d12626faffa95c8be7af952d9cb9229a46018885bf88e2ecb731e107fed596651b9fad560701032221a1a9166c335a37d677fbeb532e7c212447f57cacd88dbb1bc08a8af5178ede0516bbdb6ee87f09ffddec80f60d57c495c42184c3cd4fa74bca2a0bceffaabd1e914fec1404f1c96acdb21ea5b257a7361b3b046ad51d510bb96d0495c6d7642f087d020c4cc8544bc08433984d1060b0fbf7a5591eafd9202ea500a8eb102fc67bf6f3c8e6dd74f6666eee583b777171906ae1f00ca56b3cbc4f77fa443f2c3b185b9361896ce9a731ef0500da878b2b2eabefb0e967d38bd93f8d9410e0f1bb8106f8636dc65ddd7bea61117c637e4cb1d71be1ad0d116790e39ba586645ddccdc8da6bda7bc8bd9c7f6489302086ff5ed1178f9e06b7d0fb1d7da81a2dc35355cc4fea01925e60ee965570df315dce4adf9c2cb29e102deb97bc3f5fbe7535cb6bfdc3433b2d0a8a4083a2de9100250b68569022abc100d82aceb4241c82edd98d827e967c3469dd235757e5b0e8c19a10da542310cf634614e0dfdac7d4034679c80bf8e0755f174439c327aaa336f8a6cbf560eb4c36329f4f75989893a59f4cba19308f5158b3389c5d7f99919e949fd9ee026726b1cb7d8a8137ff29902d3c995f55f0264457f8b69cb669cf1a4a86925bab0363433509762e1b60a78c372a06cf4f0da0a0c7449d26adb23019ab839158d3b7f90cf077d25dea6c568d5461c0075fb933b2a108e0b2e9df7c360d0a9c1829497ba21faa192ba33bab203389cd6eaf04a173d831bb0b73d1a1d07393dbbfcd4204e287f4ec8af5f35b897d8defc0623aef4ba75c36c1e1776147765514297eaa24b5e30ab63181f13c65cb31d681a8b85a61117be04198d8835f93fed88bd762d9dd052fdb1fb759c70e78961cc067066ff3e5f292eacddc6dbf0883cdcd1cf19a1a828554cdea8be1a8190d2b876090731093c77b42dbb1fcf685f9872a67450b4eb3df902954cf8684bde9bf3728c3c1bd454a896799bed830d93a783b22c2c09d64326aa9344a94c12ef6368a1e9b5a671f8fb7e21cb2604b1fa5870f03d137ef549761ad0e541f99ece05283a8e7ad54dd5d0f6e927394c41b20f9505af619f061bccae4d777f7f23cf6e3fd593567754df143f388d3fd5c83e236b46d67edab420e111453f291f3b3f868d343a6109048055694b4ceee66f0501f65e9ada15f522cfdaefc5616157e4da2484d7234600bd0d60cc7875ca4cab48c9bfda1e255d316e82a186481bcbad9a3ce8c0957048dee53ca8e76dc720c326068657f977c6255eb1dd109467f1b8652ed29c16c72e68f2d7beae5a50154e470443ccabd41da92221e35c5d8161c581abf08e82a22e058ebe0465f81c37b16745bcf8fd9d2e8af060a8b5b9069d988deefba644e6c7dbf2465a8661c52eb00100000feda3f1edaac357519477fe0c7812a75fc685a2a2fb37e547736e6a68ebe5791d3e52c54df7b926cc91776ca9d86cb5e8ea6450f0365d52df3564c8184ac17e869222995cf57928a780d624cf2e46b8d90b7e68ccd70ba8800df923cffeb51a37f72218085a27eb8c5216c301683a3ddb5290b32ed7e8b8b6cc2792fe1d0a7a6604b586a9329258508998316d67d1135ecca4837f30c0df88bc415e1c1cc5f12c946c7b490b648280642adbc958433a678eadf59ca2921d7b6196a4c009415c194d64ff0e487a89034ebf6387d6ba800ac2a942809f48ce68fc34d82cb2248760a0af7d10200e66d07d101ab188189394b43011e8149e6b2a3d751f7a850ad9f5566151ca4e226ebccb3a908ca36953ae3140f38a89517a9c9fccd4b4aa57b21aec568bb88bed5802eaba61f6877c3f598390b71425d2d14fe74a6348b7ee85b370d35f47d2cdda532eec0b8792d7e99efba3f14c459c6fc5c7cceb27bd03fd24164fca6150823930b8603e83404e2e76112d90b88332716fa5b6c24e7d5a11016f0d9bf8849fc0f76185bb72caec08541a1c4fe259185c46e07930cbc300beda17a150e7b9f1b2ce9329131f5f989e49ffe9bf08528dbf13994faa222f581f10000a77768e841a538f801e8f6d0eb8cc95e00d78a914349b8546b8638055f0018a2fe3d572fec88501e7a0e139633fca8e16ee29bf0b71a7209cac0e00d179338ea2c9bfaf2b523072aa5e5a22d94984812b7159724124825595ff364393cbd4b41364118cbc49215f1089aeb8c6270e81244bf7378bffa73245a142a2f20cff03cab7825ebc08485be8afb289e90136441aa93d3a7b323c283304666e55460fb4e701c340a4e73f804fba3f10778ec8ce4f1032e99c6e2bcc9c7573ba2e23311d26d889f74fea9379cb7202b5c5a2d4a4fa4cb94bd2bbb48d36e70d72d4b7f3f99208e74261c3273e2b74ee19f63a2ed54dec2c2903a742541837770b12eb3978bf7275c017e502ac6cc9e24346c5f4ff882891f4a6a0d5ce5f31a9f86695345b3a42975428a1a033aaced0c8e58597c42b656f8b2d56424f062190a812598c16e41b570096c24a3a09d53166d0f9ea3cea565c4923700fe2ec67aa4629ffcccae662cce5bb1759f83e53e6d34c3f8769516ae96b1aa58c5c2ebd69727e4d3db44317f5c377d418b835e446ce21765ed3d8b9bc7579b6615855642eed2698ea2e009f6c3b377cb4df8be3e5355b3db6679cae0ff6c63753e97b2138e2c341f5cacc2e5e7805beca251a54d53c708d16f06ef89ece8d3de8c01ab8fa35f67af5a42bbad2607e3cf7a0d69ce893261fbaaf36b42f83f8c2c16b5c853bec8b9be971386afa6fcb490d6e2cee8eba00f00fc8dc2c7841eade0be638ebd161521eb67eb682962548dca7b30410a4bb1d11ae750b148b4c4578a4bd60de9c927e22553dd454aa79289136e73c35a69002fa75ca4998240648a60ddae273efa34d3d46da5ee6cea5fc0f2301fd70cf1426a45216d57708a95370783a03ee56ba64c200a0811bba3e28c7f7ff9b864c35ebd56708aca4a5ddd03177e2dec6cff4ac2f160d31c297ed4344bc5ef9bfdedb799b917830a1d423187f0bd3dbc9c16427f6436e1bc9fe7dff7ea775d1a680937adbefddc8e9952bb70f97f63141235f0a75bdedc4b51114424e09b3cb2b6d711637e44afbec0283f6b1fdf94aee25583083c8b52ad20b3f785d6d44f1eea1bc9d0f27dedd5b4017e79f9ed58dbdc1811d6a2e46f47f3a93c4ba4323e0175397939a3a4f61cc8570228e7b8cce00a93661e7dcc50b3d7681a542b305225fc20c0d35408300372675c4d6eafe2f6579b5412015094f49a4b1c3c6054a398e6348ff19c5296967b8d820ba03e6407ec58d1585c281cd0d77ee488482bd16a95a2b6f9c6406428e99d9c4df82fc75842223c927dd4a615921601254085de97ba4001e23a221663b55b68550d425f2df32963dcf5156b2cd821ac781c93b95639646bb45ede05d5ec562d130adc9e4517e562761d45f5e61883a5572cd319a54d0e6e3e8e85897ea2b00d039c9aaf3d8bee7d3ae4cf1d2e11fdd95db9d2e6a37cdc82cdacdb8fc264bfcaee33380542f9d035fced667f8b75d8185d7f5f0bc47a7a1a0e10c3c4b5c2c4795f0d44424cae9eb6d5d5bf6853418aa1f87cf7c72757e37f89372b88dded1f891ad8d15c0568e80faad7b2f4e46f568317d538d27198e2058ad940150c60faf60008bcd9acbefac02ab33dd5cd2670318ffcea030b4680b7503d38066977a132e56c3b44335e9e3e73e3d5b0dda144f83de070fd6c5fd51ff509a5ff36fabfd4e19e53154f0ba48e4f2236b9c43cfb7dd0182c474ad5ff0c0d20862e6c405bec552633b3e03b60e212264e19a6e893ea89c8f037152c5b1c043a5c1fa8c200a6f1032f3ae1526a359c769e9cb942a8280afca480edcdf0c26030ed4a436cb02d46e53b1dd9a8d1f32b90273885f6bf25a5d88dfec47126cc503e3d000bd63a3ff924954500c80f159b47da8051978d36bdddffd89d04f56b7495cf5f3679ab649ceb4da0fd1112cd25bf3e886fa4c3e7e7d29b9a79c0eb71b209ba6348d542ea0f83592acb4d24d53213971244f469aaf79a46bc28771dbdb0df823c4cac110396d63ef1a9cc8869eb71c0092c2123a374c80d4653fb508965c067bc3a9defcb62bd3939c1ebf1647ed17d10e4a86cb2f2053d6ee3b515a25a4f19442693122e8c423b6298613780d414d26cd6c88e6e5d95655cba6365c887b03c3c42af4329d5d798342301a40d4bd85dda6fd8abb657eca52f0a91cfd89d1ebde4f7eb4eb52a72c9ed91d2f97b8925fc69d49d6816387a0280925bf8dce87a7b96dafdc0b8fab470c83eedbeadc2d37bb09c645f07c8d567fab53b7afea8ce184f99caa1fe8e5c27e72a3a41ebb4da6fd42137dec214a3ab22bf42cc7f5bb4667b4713f462a14eac4aff2f0a0790e3a27c5c031270d3ed766d0ed03f290a54f80df37b47cb2593c5f1ee0976ec64ef90b98aabee77bbf5c4c95fed5b8e33f954251d93536f2d2c7db42b1a1e6723515945b189ad6d403cfc81715cfd69a00a607f43bf9cf066d63acfb2b1dff64d32acefe7c6846c8a551d6c7cf6114d18835c5ee397d6057952babdf3253d127ada0303d58b20e28f752ce6a91bf414c312498fbd4fe5e851de3659302c166a6c653896fed1896dd6ddf9f142996b7cd0ddc0a14bedf633c92898f3c66df5d625442c8cc0c35422de24fbfaf45c1f61b26bec359c650ea42fe4a2e8cd12f08d392185de6c507dd90045650417769d3106b98fc0779fd1705e417905e406d9ca4b86c5c715cf795b4e4bf48be13b57d9003351b6216899a9054bc5acfec38ae72bcbe99b37c3bd6dfc934e860e2c026b3db75068157dc97585a1a6b6afe5433822bfcc49ca6353d5b1d4c83bfbfcf891f9300672cbd1bba38d650a27c5c354b00743950796a9683909010af935425e0b4d78410176dc5d84f9fcfdece87eaa78db75a5e4d4c20e946e1bb03d704e4084077431f69741a638117ee3a091f423198557b43d7fabc75f61ac727f0bf277dd47d7a91bc6762724a0f683009459192bd5a8dad81e204b7ee5e256a2120f2efee5f00cbdeada5f5d350383b704b2b51bfb6ab97982cfac4149d920349c5816c3ad177ec70080d27d223045d84e22fda3f7d13e8b92164a11dc2197eeb77c6376936ec674441db1ec64fdd98d714f7404f1a59f0544a14c066e602426d4bb1d39066f1e570aca7776c710048fe5fde8a5bcd3829fef59bad7c78d9fc523bf367abbcb365f4b75380174ad7b6af41065e7a9b6ed9a1ba5ba1196a2fa054114f4339ff0856eb8cd59ae73a0c202b4cba7c407b18071151ad4c04e61a870fd05dee08e785e206d87a022a4547a7a8f64f249937dfb19cfdcdbf07ebc3eefb507368bac7efe95f9dd8728ad1e2b3760c261ace481278431e81855bc928bd0dd9a8b6833b974a7d460c93f07b3524ae6c9737035ed2f1becbfc874fad87312e4d6e4aa36daef5c724d7e31bbe35262d4d40a11cd73851e965464a69625e19ab4b2b0bcdb1f43cc0f810df8610470a4517fef27eae24aee8c69462c1d72f5bd0f1d2baea13a6276d5c2ec65c0cb91afee8cbf83833b648d5d2e81750d055e9be1b4d2aa39e1ce64a5b0d5869f354adcc739ccd781c3b32dee4ccaaff55a94964ae76c48f9f33ec338d415e69dabcc195fde0887b53206920d875134ea304884b3b147864e36a5deb0f7ef49ad1ac0c3e7e1c574c5ebf0c4f513db654911af3eae5b2519edd390bd6583eee1e4aa19fed53c62d38326cda7a06b1ae2da276fe680fa1c9ff034d0042568e0ff13a46e1fe638fbd9c4cdf210adc19e4f6713acfe5d08a512bc06b6d73b292b29296d80c1044a589368b5700bf3e2d2fdef9f78c3adf0434949a7be995e7a247834f962f41d69a55bd1e2065ee5417d88e9f71b9f73351945ef272c2f79735306965b19bd594e7a9bed1eeaab8e1fa0e1708d97e88c29dbcf3de63b80ad9bf8ea51ba5d1e6db5c67463fadecaf9833f7b1533620698b1ba911a60df9e0100ce51275b150d78f662dbf390ea4b8f2366896435d507c676a23aabbaae0fbfb385db6d40d1f2424e01b37bc57242fa73baa029bdab951668ddc3785bf68d613a5b6bad4bcf36f95b2279d46f810614fc0605e3da0dbe7eff5660fa3439a021d95afe91ae67b704ac8f4bb03f185aa160ad30e4eebb5a31df197f07acd9375525efe00b1a3ab41ad1c2d03efe85097f70ace2363b2fc9cfcd54ba372a76bac2c7f9b8fcc53b637ec7bf37e9205c68f22ff6b3171cc240859aab2fd9c1d273477a6b99f937f4d627bbf1a42570238927b2c86eb32f732331a31a1d52eb53365d6a8701158df1bba332d69b83ef280f0fd55a325a6912c013393aa16526a7c01a6c4a9df63e3f6b8b2b7db27d245f7a58d9bf1e6fb312676681571041b9804039b140edca7e7161b49a8ba6d83098babfdb8887e67bc49607ebaca39141221df0a264e3dceaf8c00488b2d071fc95540e9851abd0051c7f33e65fa9de4aa4a6303dfc8fed757078b4ef55b78cc623f3f205ed4db7dd685133dd45888789c2afb23f38a98b0f19d8cde6220442119d4100c6393d427d88b03ba62df24df7b0cffe41de0fc0db30251a129a07bd7e0f376da9c6a0799115f9868461cddf879f6a7cb6fe5424146d5c1d0843579cec0b220712d871fb92959b09862cdaba12ed5781ab2cb0cd96c72e547c0c0a02ba1b4b344d9b947836f11438b5dba4d7f986b3c425e60aa29a811c7728faefb9f5c2cd117f7a615794a29283846d93b90e6718b4a130df54adabdd2e141b9856154396d63d5fcae7da35b8bccd6b00f6154e231879fe747030c3c6a2f392c8f9636d8ba3a5ee8577a91d5ca938d188e0edf6b640edc599eaab1d75e0e33afada5b8fb1e3381decb157c1fda981e63335ebaf1aec4c8a8aeafa7cfd39e003ed08d980b09a8a83f63b5d3fa35e6332d78d58215f1c00120e1a63411d0f8e3c85afbd94d5ee2a4b16a61aa7daa9bab1752218ee5ff8c8c0a44dfb971cff9a6aea0e9468849dffc9476fbccc785d1a8bf86f92b0768be646f7881329e26e4da8f22b32e9a62926850f1916d31d5cfc2c51de2a7f45419f4addc44acbb1ddd87263953c93949d6ac44eebdb24ca774f35153a08781f94009ca2293991e9921291ef0c85e6263b5f516b43c0dab0e52887b02f15e4f02d197742e855015a749ae59ad4fc96c1ed95280f1a7116a6f91670aa8bd004434e7a43d1a8af915c50a0b4c226bc04bd4ba92c20c36b9035ce6489747fcd3e87061938a1144a0af48f691788c74ac0e02dd5f775922ec6a70807892716a1f026b49be5b7ecfdc7a7b63ddcff53e818445f46416534a87c53128458f5ac16ffafce3413d8c579b5baf14f8a6ff86b2190279d7c41d8ba8ea491ead8db2963c669738f366ab55e1fc5b5dff52ebcf1577649b73f5480197f3350f78fc0741d00e7f4d1273e7d5475d336481e8450902f1fcdb46c40b59d43a678ea0c67485c3bec40f8ef66cb96872fe3b35a571a3a88d6387877802b74c6395f9ae656bc227bdd4ad581523e9e7409f1a7721696537123a5f256b9a117eff15c406cddb3053a70d189fe4ee3fc25b12b5f5272f54a5f0d3c8d570beecf432a87b5b395274574813204155ce6fafbf9993e0f0478b4f8c3cfc35bd5ccacc8385654a60d70b05b55f0f33e469610c24948737da6c964a5a44e33dfc4b7efef4e3c827c6882dc8a1a4a65ca78d458e99fbe6aa07a8efba946654d135f2313095bac30e4ce697bde6c8edceb11af9156195f42472a1c550e0504f0c46a28daa32cf38ac2772a7bcb5b1c32cee06ac44669578d6ecbabbf76e166fc39c1048e1db1f9cbefea5dcdb82469f51cd4bc51426a660f9a7e5e78a8b044817d7053f507155a7f3a474ce3401a29353c4fd8372e62a262579929d7afbefe7de1512e92c5f62509575a86aa1c4c77e1d8839f91c62faf10df69e200ce1056839121d6b1cd8f48e7573e72e17fdc214da40ea05c2d87ba7b5f05e615a7e3483b97f21a6f0c2e09eb54a834ecc377b3210d99bb3b5870f945d1764bc0f0f65a139be3cf20d7c751d35d5bef414dac58fb11b42213f10e629c00aa856ae95bdd3bc0abc9674b0f0d0c1004d7654feb756c1121dba6dfa6a6cb42af74d229a3645030d3dac3b5468a7a9eb715281031d9a1af42b798c765de6b8b26c08f8f85ce34fc0c3d7067f3d79765c2b8725c3317736a93933b857e38f501fba34e9f7d92a78c61bc7b22c6c9ea367d445d2c89ca6e2fb1e3204c91ba95ac1b7b4acea90e3286d90080f8856b28de26661737203db5811547d0525fa9ec8fdb2cda8d2a593dc0eb0988ed750da2cd8abc679ddfef60f463c4dbaf859f44306fe17cea176509ce59821ddaeae0cae20c161396b6edfd7b132e6f5f6ba700cc25f035cbeb091a99c74078c28d726230e87bb04996eac60b21dd79f329a4f0ac41382365ceb01360d80b0d991b39cdcc262ae12cb5c33273d7e4a3e3fb5516c1dddea626325bdbd4686f15884153de60b920b02380fd5ed22c8331494f809afc7877b0ac0b435ade7be32b7995e21fa5c915b411ddb24d4e73de93327d95bd12bf432dbc179e7918b5ce02261457ab020f513727a14d4b2904c3fa2a526a480438cd6a1396cd3a9fa74649183d6a0c19a00e2b7e7f0f1163f7d8af8befd39d4290b68e2a27ab9320de443b10d693cdf6b3034654d08491d7a9e7e1131675525f847e2ad4f966054c6520cd392e8f26b525a03b910d59ebc057a5074116b4686164e8330199b5766871d2cdfa44a3baafb5013f8897656b022a15c3fe93b9f4fd844f184492a5be3afaa6d277fef6b3a1d98785954ae21b62a3a294f8c3856f077672b20987c9c9836835bf9d71846a29fac6721750a242b82ec6340c31be9be79c4d5c3f8fc865c3f3cfe22fbf53c6e9ecc39d94d11d9d11410c9ca1f1a4f201a249766543dbdd2b219c2e0de0d089ead06ed302b3e399e0dbd4f23c17c3a70c099e8a9eb72bb5ca05a5a37c8390ddfc9719df0f70485c7a17a2816a3e5d357c0618319119f11c3bafdc8dcf8c1d13269b853d8a8b87ae049980f2caa73b789e395f9d1121d92f95ebc119b3b29f90bea81b40475d59a14002d35e0a74259e25d3ad22b88ec6345c23a03460d5a9846c1466c164b32d85cb3a81ece5243573fe27514766ca36bfe6a4b6e099959cf2d97dfebda758ad735b4323e6097d55b08ff8a17c9f37978c9701eebdea1a1e0515aa8447763fd15e02a0e924058a119f45c6421676588539d456c34270c700fcb45d702b1d990f4fa35ae2222330c397baddfaaf59c4794ce39776e0de486eb5e8ec20b77d7aa9f30f3c8caba6350190738bdbeff8c9eeee1a85bf7ca04a611457cef477ef41da6b263e5057052a3a1ce525277b8ea69d503b4e0aece2baa924eb1848f78f317a99fc708ad2fac0a2c29ac03f61b5ea23f079fc990f4871d7e36969b28a64e1947fb917abc478ca3350ec29065b568a9df0d7d67b7bb3cdeed431593453ec13a4cbf14616e4203e7be4e22e264a19f6bea70f579398dcc6c7b57e8527fd85f05e98d283a39f0eb6a7fcd9a47c9b2263878ef8ef70692c4b1e07fe38b7ff7610cf20fbf6252995717a4d9f884eb8b769369a84f6688eacfe1cca46076206dff67b425831147c746fb7cac2c5f0e763bf8c0cd2e96183f076ff4450e5d385cee842b87fc4ec5d83729ec5f964683b1752480e90ff1defad84c8784469fff512b4fdec6e1d3b4e0baf51857482c874b17e85269cda4063723e730ca1da1b42ddcb55b56434165b32f8a0df9cc5d5a5a89ba916fdd6176b74d24f10119226be6b6da117972e239678fe58a7ca5636fbad50d53c6814765a38c51a1297ff6dc2eb69224dc9a4a36d46720919d7a75a53eda9bd30f325c17e321c52b958c6966f001fdff2a08c3d9f5258cb7ada72d975b5582395e27dec8565c4f62caf8acc2a338d45cc9e6230a3944f3e30de814f8a5eed4a50b31ba8efe74f87192b3ef3052050768f5dba3b3b025506a43dfd357d757bd8bcdb6b2d6a534cd0ebadad0355d4cc290964118d3e87bf0d961f8cf40c6c45bbf4b778fab4be025ef5ec1c47e98ebd9cbf796b6868858924b8e7478880a25ca8dfb24951651d8fd479f5e434b70ca58a77735eaeca11dbfa16aac9f6ce9c19d78745fd7868dcfad8c2a7e954c129830288fdaa470f253976f1e6957214d7567278f441550b350386308f666ab7f951aae88c5d346f1ce947c34bb9b5342974e68490be3a4713798069c9a728a05d5a637abb187aed4dbf4efb695c556d684980620983d56c24839b797bfd9dc79853f9c7bbf701b4648558a70fc4bc36fdcf950fd7c2da63d498f2726fdec466e6c6e80233c8d222a32ffc21b5930709d8f2cafa4a7dd2cf83cd88d5a4dcb6cb3d18ca86c38ee81240f53d1714531e8fc936255f067dea3ffc694cc7dcf6e5a9e4fc9b8ed7cdcdc462f5a35310e0234d0ff0642752bc3b29bc056de4456fcb8da9126d20d59004eb6a11739291e1bc2c7062b6b522f8f2c928921ce7ece88964f370d0d87c9972ca3a07a3ca53af87252039958d9ce84ac0fe10282411ad35c42889f3a53bec06ba03906024249b7de6501ac9b23ac979560574d99d82deaba1a4554c6b009dd7ecbb927ffc84905e6119540cb48b26c174da1220d74653d4de3b0468a968d5f81ea8c301ea9c1af754a64210aaa0284e9476b17fa8a7b59a12ea1ee6411928d4fd3b10c145d6e57d8a91040efed0f6d86045e5e0318105dbde281b9f16558963267e1be0b9b5344e0196c95368b12fd29c58399dbd05c45489051518a6af71d8ef95451ed8fc072c45bf0f444c134ad0efc4a3315510e3559ca15330531cfc9b37d22c74840c2b77b2f230d2c85854d5dda05d37b7fcb6ac89de12dc94ae359792e606845926d4f55a29a239e900307bc2670accb49879604c3043d5793ff62d47e320f37f27ef10438c375b62d3e40b41314507c47df80a4cdfee0ecd15fba0f3c43b9ba84b9809dfcf20162814a1f45c63f122fc2b90e82c854ea625278483297601bec8d908f0bd980a8177c3fe01d6197035abec790a76b95ed2af7f59f23cb8f46c3eee9cbe3be8033fbb9da559e367308a4b132bd77e0b45866d589cc5beb4220a3f0082d4c559d2a61889354e1dface9387b2128c643837a495c473081492b0164eb16d3ade69f564a08920f47ba5cf2a88727d4e2fdbf55e7603fb5404795ba439aee7b64d9e7b52122778d8729c3cc4a96f423c4426aaadfd2d77b1df1f41eef928099ed73efb7f3188333066958859236018322f0984a941936ad2fafd6ff26ddf9a24224d2b5ae9e751fd77db9379439f34ef57a9f5114a72e81663d997c325120000c5f17b4ea0d9bbe0562bd408e244107f6bca37766a2a4192a6ff48f2f847be3970ec8c276ab8fbb88439810a6e3fe933f0017b0cf01794d63a3195519c2c23bde0aebc249e8f9c3f2ac48e1782abad24d9fb923271a6cd10884cf6ac4501a0401104aa344ac8fa995b39308e0a9eff049a66504113bd0308749aa18e542ab56c83273bfc737a8e46ff7c5796ec93367aaf189462684114e3df5a9ed3a01970eca70a8e13cb702a2767e4c5361cb2d975cbc400f35f67b3de170d8cd78cb443491c7cfe6397e3e942f6926743bd271bd5c2e6f83a36743a3274bbf25cf17a077d667583942a9bf04bdff14b50870e60601c310b7be2efe64876cd18ab7c75007b5e32b41f8f3a4df60fdd6c48bc42d07e9d4a38b3b4492175c3ac27ab51e4a869b7371f2eb84ae36709b0c9351c6c0d581ca015b224866b39a920bbe9b7782466ed29a8fdff0cc6af89d93a685cb25f1ccbd28539a738bf158e5fb4509abb9ce7917ff512597d3f5fdde9e466a7dcdcedd639bfc9e98554f84ef724b8e5272417ad58f2b36cb648c4d4f4b953c537acf9197a27b2574ea986a16dff73b7c24bc0fd80da742d6d6e23589822e2414de7295110c944714f425510f0dcb68dd3b96d3a0f3d5cbc5dc9acf58021b96557efe5108fad5692293bcd9710f97ff9f471781212517f4f2ef6b930baf3af4e7c97e74e00d2e6f961006055857532f812ed8a8f793267ce2734c718278891eca5f8ab9bf92a9b97971721515b1ccf1aee506d37c48ea5c9e4d7e1a092ceaf045af300371fb1c0fb6a1f9e564ebb4914391f7f31ed072ec0f7b458a25e13006bc32f7a9b3f854690f59030a9efb48379bba92685af2e0f9086fb8f32f79cdf99a3eaab38c4750ec34fb677c5b0646ac6d99aab7b8c958d91e11b288a613de319552cb06d2ab23ebc74b53fbd3011f814a75a530c36527ae714bfe4de520a635831b812b69acb66ea9a8404d4a06f1892c0ce62346f331e82a814e4982885a6cf6e4dab69f3a9fda72084b6c90981b8284f625f1ac802528485b0de3eaf8e639d93ee1e80d6169c8741de06c4a2107eff468c3db80106d7a40f9f79d54fe395e5c718cdc772b3e428b072ab06e5e469fbd264760f0d392d119c450ad0409cac985706c7e086ec53f7ec02b5eb92a05029769092ce1120993ee1754f49f827b180374c72d4ce2a7cd0c1c0c0985eec5c24ccb71256a4a6104bedd3bb81836c0b56ae193b9497e4a2355e97cf76bd86e5a2866d7d7e03005cbc64e3c734fe9a4b33dbca3f1a11c5a646fbbbe697766d56ee0256b256e836be1e04f97d74ec1970d617a0138ec2101f23c4815a85f999c3bbaa30689310a20c9e8a1678640c5f45f9bdae4f959739b018a5266dd3b81234a8c79e1949bbb30da1a380cff8a7748ae8b5903d5a854c8ad64e4c475e04e17b8b2b1cc615bbed9adc10f116b1687f57ca455fbe433ecfc8591fe69e7b230e2353fdcb10c217e1612f7f3d4dc71a3951f6e297bff4e7c19504618394a021d3b1facc9ec073d996f3ddc7b0e37b38fc99aa9dfdc9ce3e753bc63ea643fcb3077a63c89f14c0ebdbcfe78e59086ff9e306475e249491b56ba84b678e00f2f24b09cc4242ea8fc223f39df7af1f4f39f329955d61f6791f5a085439a47f4db39d18dd06e9d4a56f97d02bffdb11c5239cc16381b974bccb8b95156d9ca90ad519bf4d6d49e7ff33a224803941483840f4e45110409e9659cf51620ff54228aa5b7a2d6559aa21f532481f211a061f5c80b320f1f41365dc492d7df5892a967f50dc7d5f361702685dd644ec75eaa370014cc90029d12f13047cb2c51a0a2c2a9fab2543097e371625bd983fbeeb6ed092bcfea2762030d580e962214bce48d5289db3e617215f64c0aeaf57ed3ee65f9c33ef146955b70c623f7c39f9a22ccd6be14f33cebeabfd0fd82a02530c14509ef0504f7b88705ea7cbf332cff1cabda9a03a0f3569b86f1c26e40001a7fcd4de8b4b8da008e436f38ca663c43fb0422d03d92567e76bda5047688dcdbaaa643f4edcbe1a3c3c8d51321849851319077ced5eaa08d9c36e628dfc4ad87dbf6254d4ccae83bacced73562b3f6511fdb60269c4a568149c8f0deda40e3b74b06a6b3f004ab69eba40f63f7723375f4990f2c2887da0662743d8ada3dc2b1a7708b9f3d075211486917d1a228b1a11f07b0266e8e37499a518f6314566105313221a0191b2425caa6e9bf9683a964e7d7510be2fb5eb077a4e237e7eb8b004451ae1d199c34efc517a85c6b1a62cf68c59d2e61ea745a3037fb4e7d32785855bc69a610c88245d5d6e8e6003f85d4876eb404e9bcc45d90a5e87e8cc4ded4111c447c8638a41adb4969902026943bb3245a279be882f64ef290db2271fd7a767f183207a8aae1f15d2a4ec3431ed041d64c3ab3168f6ef29677ccc5e1c34ba2bf29345d561af5e257af8d341d3e25a44a3bdaf02f14ab1be0fe994fb6f8e3f8a9dd5daa153fcc1cac07fcf26439c5e75c75e14649804d97d5e81a0ffc259c167486b804bea16406fbfbb555bcbf24a2947aec2bd7054a59e6bd12677a4f5e120ee05daa738982d20bfc75e4359e55fc190f596bc963db54005df8d0f97e8734513b8febaf6fe442ba7bc324c4e392d3f620144fedb92bd7586fbb796b752e01281bfb3cbf4854fa77d2bcb7ebcb4b91a90f134d2e03ee6f0502a96927b38581131a09ac7f5b1833a1b5558fb65368ee1d61148544c4f7b93fc4879c0aa4247102645cc445f655bdda59d18075646362f166580d0c493845415069d72a655096636b61a34e2f187d6351835c9ff22f2ab9d9db6e8383d5499cba2249d7f53e8f15f315914a9fd1941d734894c48e82ea06fc43cd2d985037b88ab0a30f1db18650618117fe9573eea4daabbf7ba1140d94051353be181d224b36eff0769f63a462d41b36800a90761003fde173d8e4f518f418818c8c0040c625b7df6bb6a746409297ecf963fd29259e88cb6d0a9341732ccaddddc27737fd1b0b69dd8dad6a0492ad6387eeefafe558a99787fef05fce9869530afc6a16dfeea2102d1c5b1659039f37e92dd4d1ae754f132dc62079bb6057ddec9f3aa69d68e1435eb99ebe13cf7ec98e2eb4fecbcae6a2b5ebaeeb06e7ef11bb60479486c2db57f562455776720296bc75b127e2b6d607c57dd333377abc67dacddaa60c85ed8bf7eab551cc1d8025189352d7fe2f2d9322e66a263e56db0eeb635beb2303f5d73741de7f717ce05f9cfc6fbe19a3f9d3defa11c321727d914c381c412f58db38307fd2acafb66e239f88ac589e150864e0a6cab4a0d52f62c320f3322420a327958fd5474b4082731106e9deb689169a132c50d9960d0d479168d2a688b5f7b548957ede3a2df1eaaa1ae9e6108f4bbbde9a73cfeddedc8d111cc708d11bb21eafe4936800a75fdebddafd72e33ed7924ee8ddef587769c290f0b225585dd4dec3cfff7f83b4b70e8d539e1cf8581bcfae9ac79be9eef6f754d8f25ab9e2d2b29358abe610ca2e284fdd08aaa086d832f757c3098a5e0654dcab2f84c236e8abe15e17df91bc0d7a077b9a4dff13fc9b5f3e12391273d57f7ece934f2fe3389ba82f70630d6481359a276781158d705a36ee42fc8d38b9f4a69fb4604a9eaa85aebe1c7d07769e7f39ab2ae780508479e2ee68f7e30f2ac065c43c7b347d7ec0c33151e0f7f487a2626963ef2451092afc4445b1a7ac67f3065b63afe1f39e3c18db5bf56faae1e2af267e01db2a32f4d4b84803eea761f5eda10846a038a9976e88d552f6cf3388eaad82ce274c6f6f86410b8c223fedeb653c7a4ef7d2ace649f27635d1900633984feafb4056006d97f33b07ad52742e7a82c4f78529f2d0731466086caf3e5f37238e4a19495e1be539fb58333a6c2b87b542b555c967d9bcd23fd7f528af201361eb922c27557b6ccba3ba1920c095c45f770b0f890e4ee8af86ddae77f4c145a52086c92e81b1d2242d6d67876f5a0f717025e87eab6b6a331c9ff6e034f8a3823748e4d9f45315e4690fac96a58f2680ffa3ed58fc3b7b33838bd175b26ccc367770faed2ef38aebd4d0f9d62a6610e62baa817e34db806b4470ccd584a111176521172ff219b6ca8504fbb5cb173ae46d3e78147c7fcac62f0006386e884381e8f1c1f9006dbf127ced3c7c49d93fd697d4e1884ddd9e40a60722710338d16a881a8871c107abe86a1964e4a600b4a4b96555150b354515fe7f9a197975dcfcd4b9fd869563a0930fb90a78c18a59906da5ef5ecc1b3dd4160ef703a4f496177a276e4973d0a548adcfa90d69c46c9cbd3e3243a87cfaf98d8aea141e5d271be7ed72227881ac9521fd64265257f6a1d7f46f253f43025eacae716ed848f047b566abd3f2d4d9777e80308910259ad2500f587cbcb3342451429ce9c7cb1d743ce066a590d692c12b49f47af4babfa6bd2745d3415dd0e8a5182f07f63124fe77b3718dc01cc153531f0f35a82e594cc35eb13f3d64c2a45aa62322a61fe89f8ce9f958bfd1f2a899fea8318606b51599d336b29fbe4d0713be00bfcbb3174a2f89bc6677395e9f3a9662331fc7795d57fab6d2cb4caad3000cc911522a97a85095386bb4a4cad77a4d971fdf2b29afe765027cbc945f5ff364227800be322225f8d1f5de65667763f0a8420bf6139e90de9e36746719453ac448a98d9f99af6ceb901ec866eb802d1b390467e11d10228367e737e23a3b25d588d921d0877544c6e685771aba8f7ac56e6b0f2c87cfe8763bfdf8daaa070999cedb5492fe7a92624238f15bfda2687cafa85c83f64599f377d014f1fdb41742c761a8a56a523ec54b7f89a9f5afe22b776ac23f93f29ac516bcb99638870f6fc71dc87e2f2569cb2f8d73db0c5af390e562fec3a2d50c61f38b28aee6637f7fab6476618fe88ba8a20caf54acb9bc90aa237f33df3669d6cf02d6aa3f60d3bc81595b1550ba817e0685c8da6666522271f98d55398c5bf1a6ced950b51c5ceae9d62a3a384ee8ca9e5836ccdff200f29fc9b55d458ca4810b5ddc320e87752dee5cd0734e44cbe55d7c000ae4edf6f2f212e79c5a892f55dff440eaffd5d5dbf3646c184909ac150dfa2710a40ba2aa45ee2f4beeafd8b96d9fc07b8b814e74e21eaff316f037df7e4015ae9e5f412a8172d6c303fd49489e65186008381622f2e48e958cb1b387038cfd7bbbda78add8fb44d7c85798f8e9d3cc5eadd4aa33facd56675e559dcea27f75b4e3680adbfedf37d8485f3b0d2e6743245fac104b6e75e399fa8c442eb97ce6d572344d2dc732b0d308fb9109444542144e05878140006236d19a1ca0827eaf8bb831999baaa89025aa597f5a048740227ef0c762b6bc1490b7b278a9df7776792f6c70e4d707e298cbf0bbdce9ad482c3a7ad7e6a7f87fb37ec4d040ad4b9e7948dace2c50f3b534031856e2ab6c8372888891229d68d769371198d7a4168eee99e92bd0a61801289eae1235118dcb02cab1a74e620022566508a9966175144b924b2f7a6797eaff87eb9701a0263fd8cab6e106a216a41b0aa9b1e9ad567a3866662487b259925a0140ed2a46547b4443090dc10985f24e4ac717ea8fe4e6b45897d8eee2f256e493cb42ff9958f1ef654b03146ffeafea3fbc797a64c3789d3964eb7eda7ad031ccb2c352abe2e326a7c07dbc62f7720aa76d9b42b589436d15e91d54b72da07969f92cf48e81c8940e7093acf277c93fffe2fd52e7cb5d06685c61b664de3fd7ac88172ecc16eab5f1eda189e6d1c8e3044e10997682344b0046e4a917189507e835ff4f27f5c08bbf0af1d23f438c4f6ef03cb46f07f6c6410d70b0b360463043b9069afab091187ddb0bfe6fd46523695647c55a6040f2084d6296ffb9c1527d25a2b614d2c9985fc94ae6215dfb1f3e71f996bedf6f68edab279168255c4069af29c5bbe609e283921dff125348459a94146cb9cc18e472349a705929138bd258e15b62ac4d1d79e706270eab1b5d0e9b65d578bf5a5b8ec48e7055f167e9639b85e9b4034bbfe3819405247853a706b15d398849c00c7ac7bf768644a82e90331d1b863ad617069bb8ebd107d8f61040e1df2f0a2aaf81a70fe0b879e1f43149bd21bf7c024a6f1b2f3a11ba1800bd04642e50eb79a2823e9168dc9ac6f16fb11e76174679b0a93ede2f6b78549ec99a56dfc02b8c3b00b81f3c9fea19f8adadca19f219bf9a13eb448680f6ab206ed98517a7e2b584cc6ead6ad0b1f7f8a501bdafc158b906cb319a0303d089036435a30a5692e12a55270220ac8938223c77b1183ddc6e51c0053017fe9bb9037f7e1c62173c711abd9c38f50bdbac8fc841bcc0a3c030078e4e4eec23d77cd26f0f475ce51bcbbe1aeeadcb7501e2b5a2ce48ab1f7bcb5608e4edead9b3e9bac5ac84896978a1ed5ab439ffb532b0c869657eefd0e40384062fa8b5a2b765190804c5a5fe1c9ddf85d7431db0f87ca088aea3b4d0f7a5acdd790f8d3b15afcc7f9e5ce726d608c39af5f61bbd77596d7b705df7428d7b42589d9668c27dc964ab97aade0503a5aeeba2c3021f81eeaf5a9bd1fed9253f1ff84f409c61fdb65e63f2c65a923acf44687327bb4ead9a8ea4bcdd82f97d74d38aba48d81bbd2d077405ab083fea67dd6ffe885b9267392061ea6a00cf56fa446d77af52ac859b3b69d878a2e2694ed70852bb4e40824e269be2d29860d8bfb70d46065b9dc24e14d0d490893a86aeba2381b80f6d235817f80531d695b1783e41dd79cb896a50c22f4a98414272bb5c09f4c56e26c202a99655e1a46c73ea9b0611202d451548bf3266c3d3099426495e380938a3f12bbc4fa8a955a65b7cae1d34a811eb3dc83c855aca309de50457661c400abb7e2cced61becc4262855eb41006c298e5482a63b16678815909c7d2c69fc47c01bb0a97a348d4a4b928be81513a9e48785de9ccfd5a337b846b05f4fc29a732f782f244e0f1256a9d27ffba637c15278da02fd9d625becf28ca8600e8010fa68135bdfdf98a8e353bd0c85e6921edd3866d8783d7fe0e6145ccd41f76e7a95b60f2651858792d4119cd90f125812000\";\n        uint256 len = image_.length + 1;\n        require(len <= 24576, \"image too big\");\n        bytes memory code = abi.encodePacked(hex\"61\", uint16(len), hex\"80600c6000396000f300\", image_);\n        address a;\n        assembly {\n            a := create(0, add(code, 32), mload(code))\n        }\n        require(a != address(0), \"image store failed\");\n        IMAGE = a;\n        _setDefaultRoyalty(initialOwner, 500); // 5%\n    }\n\n    /// @notice How many of `qty` mints would be free for this wallet right now.\n    function freeFor(address wallet, uint256 qty) public view returns (uint256 n) {\n        uint256 w = FREE_PER_WALLET - freeUsed[wallet];\n        uint256 p = FREE_SUPPLY - freeClaimed;\n        n = w < p ? w : p;\n        if (qty < n) n = qty;\n    }\n\n    /// @notice Free mints this wallet still has (limited by the remaining free pool).\n    function freeLeft(address wallet) external view returns (uint256) {\n        return freeFor(wallet, FREE_PER_WALLET);\n    }\n\n    /// @notice Exact BNB (wei) a wallet must send to mint qty.\n    function quote(address wallet, uint256 qty) public view returns (uint256) {\n        return (qty - freeFor(wallet, qty)) * PRICE;\n    }\n\n    function mint(uint256 qty) external payable {\n        if (msg.sender != tx.origin) revert OnlyWallets();\n        if (!mintOpen) revert MintClosed();\n        if (qty == 0) revert BadQuantity();\n        if (totalSupply + qty > MAX_SUPPLY) revert SoldOut();\n        if (mintedBy[msg.sender] + qty > MAX_PER_WALLET) revert WalletLimit();\n        string memory handle;\n        try AGENT_ID.handleOf(msg.sender) returns (string memory h) {\n            handle = h;\n        } catch {\n            revert NoAgentId();\n        }\n        if (bytes(handle).length == 0) revert NoAgentId();\n        uint256 free = freeFor(msg.sender, qty);\n        if (msg.value != (qty - free) * PRICE) revert WrongPayment();\n\n        if (free > 0) {\n            freeUsed[msg.sender] += free;\n            freeClaimed += free;\n        }\n        mintedBy[msg.sender] += qty;\n        for (uint256 i; i < qty; ++i) {\n            uint256 id = ++totalSupply;\n            _mint(msg.sender, id);\n            emit Launched(msg.sender, id, handle);\n        }\n    }\n\n    // ---------------- on-chain art ----------------\n\n    function _seed(uint256 id) internal pure returns (uint256) {\n        return uint256(keccak256(abi.encodePacked(\"Batbot\", id)));\n    }\n\n    function _r(uint256 s, uint256 i) internal pure returns (uint256) {\n        return uint256(keccak256(abi.encodePacked(s, i)));\n    }\n\n    /// @dev HSL (h 0-359, s and l 0-100) to an rgb() string, which every SVG renderer reads.\n    function _hsl(uint256 h, uint256 s, uint256 l) internal pure returns (string memory) {\n        h %= 360;\n        int256 c = (100 - _abs(int256(2 * l) - 100)) * int256(s) * 255 / 10000;\n        int256 x = c * (60 - _abs(int256(h % 120) - 60)) / 60;\n        int256 m = int256(l) * 255 / 100 - c / 2;\n        int256 r; int256 g; int256 b;\n        if (h < 60) (r, g, b) = (c, x, 0);\n        else if (h < 120) (r, g, b) = (x, c, 0);\n        else if (h < 180) (r, g, b) = (0, c, x);\n        else if (h < 240) (r, g, b) = (0, x, c);\n        else if (h < 300) (r, g, b) = (x, 0, c);\n        else (r, g, b) = (c, 0, x);\n        return string.concat(\"rgb(\", _u(r + m), \",\", _u(g + m), \",\", _u(b + m), \")\");\n    }\n\n    function _abs(int256 v) internal pure returns (int256) {\n        return v < 0 ? -v : v;\n    }\n\n    function _u(int256 v) internal pure returns (string memory) {\n        if (v < 0) v = 0;\n        if (v > 255) v = 255;\n        return uint256(v).toString();\n    }\n\n    function _pick(string[4] memory names, uint256 r) internal pure returns (string memory) {\n        return names[r % 4];\n    }\n\n    function _T1() internal pure returns (string[4] memory) {\n        return [\"Bat robot\", \"Bat robot\", \"Bat robot\", \"Bat robot\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Stitched pumpkin crown\", \"Stitched pumpkin crown\", \"Stitched pumpkin crown\", \"Stitched pumpkin crown\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Orange-purple rim light\", \"Orange-purple rim light\", \"Orange-purple rim light\", \"Orange-purple rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Purple-orange gradient\", \"Purple-orange gradient\", \"Purple-orange gradient\", \"Purple-orange gradient\"];\n    }\n\n\n    /// @notice Raw artwork bytes read from the IMAGE data contract.\n    function _img() internal view returns (bytes memory b) {\n        address a = IMAGE;\n        uint256 n = a.code.length - 1;\n        b = new bytes(n);\n        assembly {\n            extcodecopy(a, add(b, 32), 1, n)\n        }\n    }\n\n    function _svg(uint256) internal view returns (string memory) {\n        return string.concat('<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 400\"><image width=\"400\" height=\"400\" href=\"data:image/webp;base64,', Base64.encode(_img()), '\"/></svg>');\n    }\n\n    function _attributes(uint256 s) internal pure returns (string memory) {\n        return string.concat(\n            '[{\"trait_type\":\"Character\",\"value\":\"', _pick(_T1(), s), '\"},',\n            '{\"trait_type\":\"Outfit\",\"value\":\"', _pick(_T2(), s >> 8), '\"},',\n            '{\"trait_type\":\"Light\",\"value\":\"', _pick(_T3(), s >> 16), '\"},',\n            '{\"trait_type\":\"Background\",\"value\":\"', _pick(_T4(), s >> 80), '\"}]'\n        );\n    }\n\n    /// @notice The token's SVG image.\n    function image(uint256 id) public view returns (string memory) {\n        _requireOwned(id);\n        return _svg(_seed(id));\n    }\n\n    function tokenURI(uint256 id) public view override returns (string memory) {\n        _requireOwned(id);\n        uint256 s = _seed(id);\n        string memory json = string.concat(\n            '{\"name\":\"Batbot #', id.toString(),\n            '\",\"description\":\"Batbot is 600 Cute black metal bat robot with glowing orange pumpkin eyes and stitched mini pumpkin on a purple-orange gradient. Art generated fully on-chain on BNB Chain. Minted by .ai Agent ID holders.\",',\n            '\"image\":\"data:image/svg+xml;base64,', Base64.encode(bytes(_svg(s))),\n            '\",\"attributes\":', _attributes(s), '}'\n        );\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n\n    /// @notice Collection-level metadata for marketplaces.\n    function contractURI() external pure returns (string memory) {\n        string memory json = string.concat(\n            '{\"name\":\"Batbot\",\"description\":\"Batbot is 600 Cute black metal bat robot with glowing orange pumpkin eyes and stitched mini pumpkin on a purple-orange gradient. Art generated fully on-chain on BNB Chain. Mint is gated to .ai Agent ID holders.\",',\n            '\"seller_fee_basis_points\":500}'\n        );\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n\n    // ---------------- owner ----------------\n\n    function setMintOpen(bool open) external onlyOwner {\n        mintOpen = open;\n    }\n\n    function setRoyalty(address receiver, uint96 feeBps) external onlyOwner {\n        _setDefaultRoyalty(receiver, feeBps);\n    }\n\n    function withdraw() external onlyOwner {\n        (bool ok,) = owner().call{value: address(this).balance}(\"\");\n        if (!ok) revert WithdrawFailed();\n    }\n\n    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981) returns (bool) {\n        return super.supportsInterface(interfaceId);\n    }\n}"}},"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"BadQuantity","type":"error","inputs":[]},{"name":"ERC2981InvalidDefaultRoyalty","type":"error","inputs":[{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC2981InvalidTokenRoyalty","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721IncorrectOwner","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InsufficientApproval","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"ERC721InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOperator","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC721NonexistentToken","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"MintClosed","type":"error","inputs":[]},{"name":"NoAgentId","type":"error","inputs":[]},{"name":"OnlyWallets","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"SoldOut","type":"error","inputs":[]},{"name":"WalletLimit","type":"error","inputs":[]},{"name":"WithdrawFailed","type":"error","inputs":[]},{"name":"WrongPayment","type":"error","inputs":[]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"ApprovalForAll","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Launched","type":"event","inputs":[{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"agent","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"AGENT_ID","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAgentIdRegistry"}],"stateMutability":"view"},{"name":"FREE_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"FREE_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"IMAGE","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"MAX_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PRICE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"contractURI","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"pure"},{"name":"freeClaimed","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeFor","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"},{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"n","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeLeft","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeUsed","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getApproved","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"image","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"isApprovedForAll","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"mintOpen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mintedBy","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"ownerOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"quote","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"},{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"royaltyInfo","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"salePrice","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setApprovalForAll","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMintOpen","type":"function","inputs":[{"name":"open","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setRoyalty","type":"function","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"feeBps","type":"uint96","internalType":"uint96"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"tokenURI","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"}],"matchId":"58244794","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-03T17:39:32Z","match":"exact_match","chainId":"56","address":"0xD3908F017424967BeC6aC5E8055FBa91f31E5585"}