{"sources":{"Niubimind.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: Niubimind.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Niubimind - 5000 Golden lucky cat with jade crystal brain on forehead and red silk scarf on a red-purple gradient for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 5000 free pool lasts (gas only).\n/// Every other mint costs 0.00007 BNB. Max 50 per wallet, 5000 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 Niubimind is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 5000;\n    uint256 public constant FREE_SUPPLY = 5000;\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(\"Niubimind\", \"NIUBIMIND\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"52494646be3600005745425056503820b23600009025019d012a900190013ec156a54c27a4a3a52a536c08f018094dd7a78756e0eb5afba142d3c75c0f8be5fdc9be5146cb22101bf6aef75e9db71a79bcf373f396dfcd9543f20f00ecbb09f79f708b3a406bf32bfae28c0d008eebe0fa666cb2cb2cb2cb7295555555556bbd73cf3cf389f9e79e6817b1fa50e187e4c77867277d12cfbb6cf5b01461a02cb26973117edcbb8a9212e085044e571ac8bbab9649fe458af6199811254bad86696381575cf480abb2af46088921d3a46372ba22e91c7cfb33a601230c8d4f38069598ed13f8974c3cf8bb2d93ff5738ff187cccbde36a40fb09168fa6aaba6cc576edef8f8e070257a916c665f32c719879020220d612c91e8ea80ec7ccb065563d6e5f2abf47873e7ba825adc44bfbf9d3978e2a862641eec58271384cb2463ffcd2474076ccd7416f0c2e1f185090a1eec95f8dfb8705705c055b43b281583ba436224f8a1677f88ae851425996122fb2eb3c8949ce75147fabb04fcd43eb36cfdbd980997ba91c6c01bbc84517ae42d7a4430a492ad5a19c8219c9f1fa37a598d103e775cc390bed585cb378db3fe2f1383290279319779ec92dfd8abf73133ecc09228455cb51fde9143ef9e12fb1c110b7f9583d8e46e4d8f9ceb12e912f759e4260c77a96a313ce4b79e44e7b02f5b5b47f36ed360b4defc13cdd7c90a017c3e6c0b9db86188257972678638dfae1557eed24cf85cbc888acf9cee938b55d85ee1dad0dbd0b71cfd75823269b985140869fb829021eb47cbee1432f4ec993b3db49859726bc843a1f45cd4512f61910711e2147d0367bcca6541f38b90b85cb710743556d596c95fcef68c4cddf8b4b1a8116d8e8c8d4913116e68c879f042c965a75964dca4b7bb806042630a4deace1492f361066e65f632fe02467faf6de9041d400dd81defa5bfe8841210c9e48a114b7bc2d966170faadb72c594ae9879b068200abe9eee3cca07ba95637100bc7919297b9c9e455f30b2f9c06afa0eb546c1e439593e2239b3df48f5e197109c5e6a9abd19d7f7bfda33fc87cc520445b4f5ade878bce75080754f2a83fa77a3dad4a883e501e23a25fab8a84e4f0587086e30c3f0df078995e5b8ff859c9c3f6dae76a8084809589a6ba815798b324f5fd668c54b7098b35c6bcbdbaccebe04cfed9f69971b97c057dd75c75f59cd75449861b62651bae25d25be00806c682abe854898bcdcaeb60ca33fe50c91484311109c9aa2fe990cccecd427e69f69a3d41a74389099b171218466d0f0568d5769516ef19b77e3481ed2e2ad49a91164cd9317177ae355118efe8e6fe61fad704110074259fe8f49ceff5fcd4ece2d28a31b257d91193c8dbd3d5aa8d351e369c4d42b5d5590686b0928af479e94fde73ffa32694a54de05d4644d96a91ba7ebfb252e8e1c1ecdb495a77d842f2e9d0eec7e7bdad28cb96731d6343b558c6a34059123d14a3072439d2dde2c8b8ba88c89c8d585517b47e2e2ea1e185f9f4f098e337599bd25afd11eeb639bc9ff92853e58b9f53c8cbd4a750b87c08815a1a21fd89c8c48bdb89e2c45d31a3c9f52761c84bc2517174528c27a254f689420d2b933eb52286585a9e9bc44d7ce19a4d1ff7a6781011b0effdfc1b432cb7feedb025c7a797229bed54c55ebd811d7988b61f7f6430a4fed9dc8b573e60e032e36745d4adac23a618cc491e8cea77d29d82e8b3972704c814e908963ff8ab742b3120b199cd548874f258712d04304689b72277eadadfcac21632449502f4a7bdaa67b26391c0e8713da8e16f7f7e783da78114c6877ea6c7ce9132e8b0c39a338bcee2f5f2a42f741105b0ebd1c023c1115e9676bedf69d2978acf23253821fcbba62dbc7d487fc2ae93adb0b90672c0aadb06def11fd5a3019d93b3e800a9848d610c53178036588f6d4391ad4559ec2cf06796ca1e4cfd9a5229d2a33e3cb209b4e52aa8673a2461e022a597f2f525dbcfb0f5e98b4c3abce3ae5285264d3fc34e2b1eea74b2f8730bfd74c285a04172a1a5361cbe66572d5f6ff62463120db4ce381a584c4bf726ed5612182edfb817221b3af7a7c40f988e03596eb87afe708dfc92d3f62ea8789296f699ed5959e1502f316b654aaab095cca101c8c8e488dea53066a23284449c9860395e1bcb14e7a64ac1f2672c43bd50bc5a4ab566620757de4c0fcad3e388c8dcddc564e2815d3e40298d72ef9b58179344689c0872a09972f897f51b06ff86aeb17c5967985f8626eb7ad1190721ab7d8dc41323051d87e750dc42f64b7c6fc3ea5fef1637519a0ff7b27119b181d9f595cce8590b1e4d50c4800d18fc42fe2f86931be9a492fa9d01f5d9f9dde8435bd84de9ee5cba5927675c86ecfe4584c33a2eb0a59bbcfa644ca8e3e8605cfc81fca0121b64e686e7ef0bf18dfb0ec543e983dc7e6865c1ec92cb87f6b489d1fe3f469895d441a7f68cfefc0dd7a088092d69d64e8cb9f41c3c6b232b90129aa132e8a0a1d76cb143c65af756f86f7f8aca35764bfe4ce495f3e88e3cb8c9856b78c8b822c7d434e7d973a49c1c2eeb31bbc59c1b0a1614fa7582435768d5228e5fd4f06e3a6b80dfc66d6b74ce511d3af25890b17df9fa4e3b199962b0b192814fa297cadbadce65d4b4745aa939e99da22ece10004da7626fa718ed410114551efc0d13bd665f7fa565efc4bd96dc02cc4b833116375b922f85ae543b7780a4b565b3b02574f884d51b01112f6c912bdfb0f472218b606d5129c60b1cc0879874954cb852a7176ef8de49d580a9b2f22e3bd21ec165857f6e9ea4bb2daa7bc99286dfb7fb248d81edd3f7cdffc1a21a6067dfbcc244895f2890809615e4658ec5ac5f0853ec42b2a413bf9c4e59e5619294f7c084a16cd298d101f73c4cb7eab9cff78f7c2b38392693c7e303f56b2eeb6ef81bf79616ed9e59ab4ef3ba54e57768204ec06a1d24d2476eba010513fcae2e4004b355d42e50531da482ab537a0bfec4db44d86f113c2ab00a5cd3100281000ecac8e383a6cd86f81e0202678a940b09a9d98f4fe14a32d22521150886302943197fe1396b5de15ef7a111005d0c73a6a2ad301edc4448829345b1769b9c4faa0ff6d1c608d7e32f4cf7606fc58c7101d753b2604e07ebd514d5d0c4ac819832ebb65a0f56e77c1a2bca6f1238dbbf96a8bb06bee22c2d6ea8ad96f5461b9d0cc4df1924560c95a1afd1066b726fc3be1dd87ff5af219a87b1d986cd8a9ec68628024611b625335798b089c3be21abed97fef7329c16a34002b596948b951e2f1ccd75c375d87faf7a84632b2e2fecf166b47f5f5659d6e800fef44bee34e1fbff3f7d6ef75224981bcea07a1e470f617d9efe760306e5d381b8818f2d44a707f4b8b0500aa79b68419b757785c28dfb7d1bc5ac31750592d23d20dc10070de82039ef7dbd4e9d651c052673a1c0d5098d69fde6dab09e48254ef8e77fd7616567a38c62daa9c13cdf76c9351bc4201b0e0920045affb5fbeaa7563dcc51c57d0ab47a4651ec43012dc412c11981b00851b4d9564410e92e7a3c852434984f34870cb0a11473a943e30b5e431268095ffc7fd6700aba92851de05c37ca612654a6926d92e7ae68857b75afe326641bfc5e7420291730151a493871fd5a5cd14d6f2f9dfddf394a414e45b55853c0337fc83630056d032caf36612118b0a3f88fab4606b460c1c7c6e52d130b04b33f14a9a1f802e4bc86df36fb466a80d35cd052ca6351471c5c873a1811ce85f0f1a096c236507990b414691ab5afdf2825ecc6114d87fccd85733cfba60aec923b512959d533196c935a52f3761cd329bdaff7a3ff2a21aadc371b9e0617a7bb82accb0d9258c95c79b6d1d72947f910bf62dee5ae2f3773472a72c0497cfa6fc0595af9fa1b0ebe963f0264711ad06e48e8ffa4a4c1ef8db1dae37f612c023ae8095659d6d31b477d3740632a98f42d4d502945c897825be82bbca5a44995a110b6e09ac4cbd51d7125698083dd204b1b2675040d8637e59a244e79a96d938033fcbc66bb2c3687b68c47aa1a36c4172b5d82a42a9833c62ea009089a551fd9a994bda6c4ac635f4a92948b7f2c82c6505b86d504fdb068cd945f21c59359aca58f96b634060539efc74c4acbd1c431e9a352e4ce506e90e45414badf60aa91dca8e2ddd02e9f0c598bbd4501856db8ac24fc242e77d7c1d91c80f7c347769772d99dcffdd615227e9922a2989dafa7ef9825e7e292a4a0e22bd788a4f8ccdea141d48fd58bb30478707f23b16c635e9ea72404b5e171c6e96a2918bc4f5bb90fd7691ad9c40b25a763e3982759e8225b0b652e1dfa6d6dce692b8a6fd78c1ce2a42eea37d598e6f9483d99c72e728a7de48cc67c33cfcbacc92ebdf951e42543bd16003903dee5569a44951853c773119c38d9806d8eac49af80ccc645f2aa28bba23b0188396e32620fa59b56bfbac95d6db41fe0a4ef3cda54c324445ad3ee4f0660df73eff91e73280386713083646571f60b95d54ddc82727edb6456cd3d1794c1fb1b9a414fbaf2bf6159436f164bf35d6d3fd7600849f3aaba20bdab2212097b076aee5f4629aca205b377c31f6936bb22d88707973f42adc644c34dec3bf038d6cf1172edfea636019dc8359b664444cd9499785eb7f4c45f96aae4c5634bbfb3c89ccfb473f55f7d12685f8b3cfaa134255db1136323c45342a01b1c208d7b6528f47e29aa7ae850e2e62b3c8e5de7a5e28a36bb5b5f9191cacba70acce16545b1d9afcf04fd3f7850cdae71516fb0653f8f068876f5f2d7cdb3d6c90ed3eda120bcb2c23b92915ab922b5e3873f1a10852cab1907e4a39490a52b346df382b94f8c2ca1028e7bc80548d0ece923c153dfd3a6f94e0441d8f5778ecbab4fb880d9eb42f12bb3744a7d249a120ec70f9773e474dd034cb24938eae5e1cb26ead828527cfd4ced74871257db6ac6f874afedbbe957e5bd10de3c4809c6db42ced398a4802cc08fbc78d10bd15ea5a12d2afe359271ffa8f6053095ee352b750e32a8c1ad5afa825c71f6f164a69b8af055037b12ff00b1534f4e7ec01994d42de4a90d459b4a5e3518ede2325d08607ecea444964abe93510e21e5847a2520c7da622654a88b55188ed7d7af074d5187e48ec4a2ba6a838ed3597d4a472510d6330e3a0d597f56305be4644e06a35f365831f4c83972a5117bd6d8b0ca4c250fea230742c0885f6d9e65423cd58587ab974432334ff76e8a53800d4a34474dfab7b0ee4a295c774ee894092cc3beab33b08ef01aeb5030d3fa6561025f33d335468712b4c158c32982e6651f6007e7c11d1c57aeeea08aa882ebe11d4a7c59c27bb4ac81df2caa8bdb12100aa5e4e9dff287e8a5d176378f604e4e4d7ee60bad11cbc005cae5525d77238f8ab142b0dfae5a220c762c61bde26310b9bd789e07167486f546e47b1dd4aff20c9052165e7d683977a0013ef937dc1be859a02a42fdabf1da63c52e2e913d18ad481415f6849ab3c35cd2e93ba848527ae75c492c52a970ba8d583602b03079d608d3d2d3e1492482ccc9c9d34cde5f34aff4faef9684be7c14b795005cbd048d0249f0728f078689f566a8733625edfe49604e517ea96f3f54c4ab0479fd9f5706125e130df1e1daf409cbe1533f129a533556940ce3a829cf0ef405da59d0a364cb7815da810c4efd15fc124cb23b2841192b5dd4a6f2c56e0e93363f976722261b54aa8a6128f138d7354c9853bd555145d23b16922d6b540218936d298a31f8748a53341a8818baa7274c99bd44d88d7727dd239c035f4f8f9cb4f80c0ae8d89f5c232456317b5f32a53107f5b502ae46bc3966875058d3f9a274cda03b4c67204720aae4c818fbf0f4ca5d5a27d244e87dc76a934fbe8d923a6ca41aba0e16eca81947b36a6c190e40d65ff83d50881721d244e56edd0c0e8893cf46b6b288872bc8dbe98e5ae7a9b72ed9e1df0a754005d0fb327030b73c99406b2aafcca8fe75e30c8136ef8b9fa3e48dd8f0f35e4ed05b5d22ff01a458ba434b06a92f9c6593e9b613e5ad3fd734bdf38e1c3929e42a61af4caf2e19f91d1bcba4d6b37ee055b4141d74370cad754adb229e872fd7b63fc975292d9fa6e110a4638f2f2b18e096a9d6317f16bbce4231f20cc28a9bb02b739b43a6b665492196c753cbefdeedbaf081d8163e6e4b39c3991956ee04e1abe279fe8441d85047bcfa0a1d29119347f54fb151d995e29c10657b01bd1e2da44da660425b318c4e1825fa7fc1a11b06fbd4fbe7cdc2a4df98d99a46bb2e10a543da42be462e74de258b228491d45a53132b00116acdc908083048f99e8eebb477a031366e9e1e18793a91fe4537a6e7c054787cbb91dc3c60383b2cf7767e0e1a5cf6e41b75c20646bbd974237f0f8439cadf86cb44f554db9c5784ee3c60700b7c4f0b50676eeddb46403308d67671dd4f26de7a71b63195d0b58cf085d7b93b5fe0f98c92d3523588ce4357d6bbf062575b653655570f83f514c75b35e8a3bc7a52a6e34e6372339b50febc431d59a78939bee386582b0d113c00152208c1187a3e3a7f432509bfffa1c90042332e42473f237e4d3311d31fc0574eaceda46c47ce5bfb1dd187303549184e0f4b8736c9933ef6175cf2f11b8962156622c0737c91deb99caff6897f9979ec6f16f4ad14a48f398c0a40a38dee5937f539f55fa454f2c588eb9a440f02e68967906f222ae04e53194665390ecb297a50d48cbdcb0a40bc79d0c983088a9e7a89b5628bdda5d7ff411be6aeba614bcc0385a100aad6e0abc49891b321f42e1697c39141c3b7cc5197a57c25b572aff3d15e59ff780464d5d4de2554caf866e2a01ef3674679842cb9b43af86145145b0869ac95f96cd831deae58baa6add0b5f0703c438fc7a84b751e2e147f1b4e04e37d5b41926fda1bc22647287a7bce9e5b6292a94ff7dfa4067da8f7bc74f75194f82ff8b794d68f67d51c6c6ab31c7e80bb24e70d6216e2a67b91d28f5c2b21a5c06aa9b1753ecfe1c49a49a6a9f6baeea246415b2140fba28ca79c141e92d8a46c0db7f5b739e77fc029593cc7f64352b8bf03eb6f74a44b7c95f69f4f1da3084f933b90ea8ac428c3d77189ef19e4d020935d89ad375d004043ca62177b9ecbc9ec1588466279aff8b5158d4ede622b8bf206e4a8051d1c1ea4dfdeb66f7b536dafdd954aa2ef62b5c5ad5c96dd827df949a7aea0ba74343b9dedadee8550e70b2e4416235038f73a99bff92f026afe2ab3e069f81bcf29529a9539aa3f3b25fff064e30dca484520a7546287439d6c99e666692a0cb4087cb57ee7050ad10000a5ec0cc0e1ccc637bf603a0c30bdb122a315bae6e94367dd5040df8271aa63cd1733e4c26c2d5784eeb9e1e43a19cb8c1584e0e5ee5499b6368a6b0ef13e4b5263154b76dcf421b42993119443761d016ab224852a503370559b3a46fe741a862ed5c99c8aff6e05f733307ab0dc447f722d50179e7bb33fa38333bee81b8fd9e0091dc542be5be06d735bec8ce58c74fe6ad7d95d8e0b520cf6fa2bf883cca6f72fe97021da08e14ff9f9cdb78be87a297762f897207908248eed1da9638450c517e0c7cedfbda1a6b86494037253018fda4bdf5f158a44b8b2387e310b2f02a8442c735e558e6c29b8edde261fc79fa3a29fd190c594b6b0bc637ace1fde737c37b6d49d32c04c2ffbfa42abe4358cd640ffe7acad52bd0921270ec3d093b002d7740255962db5ecdbe9e6029d14c8cb82ebef8d0301342a63fee1f572805ccf8eccef2f1f8a8810f703e7f8560364473aa641e8dac1c491a373c0311ba55cbde56d3bf9cff5bd1f1423dbc919d881972b4f56cb150c2bf6ab159fdbaee18384979f7d7e8e3baeafcc39fa473a4dbede2adba84fd914328046b28100ad8c8819f35521529102b541a0711da6287242296b04f49c56a5110174d2afbbbde86a7637d9b6a84e48f10a3699f25642438af93956d6d4c4b389666efba3645220616fb5378261c7a6b4d5c523f5f46f055eab86ab53863f891d03702cf55bc76531116d2b653f136fddb18c84b754d94c6efa3023604572dded5ff56b23315df7fb3d24e1fc65e789fea5b7f5faa74fb346a0b4ad8839906d3cabf99b98f85e4d94803a2eda9f49085ee83fd665b4e36dca44b22789cfc763c56d758853b0d891c5590f6ba1a79dafbd51fa8f564af31ab228d1cce8e2cfe2e9f38b6c00d9a8bac5f15944d97c12c61a54b6956fc0f347dd3347cf3cdfe1d8801229533290cb12fef120cd79abae9e8321493ab8edfb4aae006948ce940e11cbb4903bf440261f87819306b486a0362f268c27eeabbc34d99a8f87f5c8fb560223fb05194147b1eb54455408cabf08d105dc14b619522f24091ee60c1df0046419846b5ac62a04e7c25ff3d86bfb08b3652210720a3455b30404d3f240c579f648b5aada30eaed29a294feda2a2b0fb979696949c9c9efe23c179d9754980263cc3f1c8b3c741ec1493f27f142fb96db533c23bc605b2e0066059147da775d1bedc261845f5e41a3d143ff084fbab7ebf7a39814bc2bc20996a89a6a8a6ed09db67f3042d4b912cd22ca9fd1bf1952f53140f83cade8f66fb955643ee5e9f0aff162c0659fac158f7a408828fefba1d49146985b3ce5869d4f738cee518f464868046bbade7b015fa0315dc27eb8e0f8c51ee21efb4c604fdcab54cef3449ad32318d791604ee5b1c9282a6ea4eafdf94799c522eb7837996cb41ac11327ee9b4581387508b7c3595895e8c0d705b594bcc151079015d8c06195e3bb9994c9ef8220fc661dd9a23b3222cdd2c12cda8a05b9c9a9b5950b2d07cfcab96435791c64d4722e4aeacd0dffe62a044962956b2b499c61f917b0c466ef507d47952ef6924801882b0bf15830604e99aa5d9c26e62df12122fc22a34df0e24e4a9e426f09871271be097909c252d19cfa73e455211e8844d7b3b7807a89d71f5dd92e55682d2b2aa753ea058258bc4b1dfdb8c050c3c527daab896f2b764f5a533c8e4af4887aa3a36b7d4d4922c96e433b388e7b263addc87d94a0cea2614ad04bbdc246308c4d7299d9073c7866ec6ff943b275537cd25629d9b88e4304077d48770e5e1dbdcf3e2caf9296c9d7e37fad0c2d06a7e26a87aabb30f86406742cce135c26cbfc554e600599551929d6796402bd9f7ddee6501e2abdb5b9069f90cb7d33cfeb0c18266bfaa5b2778ba5fdb6ff84cd245fa4553cf4396244d657709975198c553c9db80a5bd8b63ba0674141351aafbf01ae9f4329b5b4740e87a2828d260ea355ae9db286d158d92f96034b2294621f71434438b06d106b722d89255e64b8723dc6a6e45692e7f21fdba0a1f0a8d2d14fa9eac2b0650bb697f2c186d45807213f86f0359cbe51066565a83e6f45840d936425220c07a57f8c67b1d6beb653b0c1acdc23b50d4efa7732442338cec5c2614d89b8fa0548ae4ecb71070088c75bd3d3f183597a138779c0e76a1a5d6bce4eed24d670b9bee3cffbb2ed72bc380bd23df293cc89fa684cbbe82ecfb725ab34c776c6d6fa5d2d2ad09575f4d4e41661c262fb5474c298309d5db56721553621e7196b5c6ba061ab5787309cf6ead9ccfc0de5bb26e449ad37457a91732aefa6a038884ac9323eedc1f7700c268f57d99f299c6f170c3e1c7bd593c2bb560f5454048dc76412ca40e228f66001d354c54227a419b56a358114ce10336487b08b5ad1cec610767acb24b7d9cab07718cad2e77892f9822fc0c27554c960a599d6a32d62d51ba1645e3df08a326733a23f118db156169815fd60057370c02735390c57f3cc8f32a0e3480a545d046246b48fcb7d6cbbf9952c8b808004784754b4090aeb16492ab70875faa19cebdb818fe29f380c214b7102e50d3f66a3553b293691fd00e18036445fbcb8d832880f3109bdf2a19b53025c89621ee393ba2f767fb22ab594c684647ea12c768c003d52fb17b6d7607c3f4f20905a7c102bd19f19b2e9853c29637b8d2773e9efa9342a84892ff03b79429895ad87daad34ad3eb3a04ff26844d48079843c4d7a0f1f33c0e6aa8bc46bc2e5bfc749951763d343a8f61bccbf47b5d42b68fabe8476dcf846d087f82b5cef4b021e81c95a2d4379d3a4da72c1c5f5830b0e4e7e36f42fd08d1202e69c532cadc6de55a3952cd8d505a951b5a9afb806094e9cd3f758543ef03a9d8915dd859175e1875a689a208a4b58dd1809d6fc8d1f84f9bbdfa2a0e3d595d47444434ddf7e325e856b9a57f0271caf32562983a47c0883833aceae4a7fc01160886dd2990c78b5dac3ab78b7322f118db560018f9416aecd27017a9ae633d87a79c218d9c29c7988fc9ff4f3852d69dbf7d141780eb555520947e5eab2ed0f275a299cff625b9b3ad387587414a5bd38e02089aa2ebac931f0daa03ddd3200fc87915d66e18695ab97b75f8efea70dafdd95a8798b35f30cebdf515ecd1dbf876507d77f250f88b5b04dabfbfa71dbcb26411dc2903e99ff7bd05e9e3541b82e431515cf840b0cb9194a4fbb695981be7f62c59d6b4c8b92508ff099fea9ae0a44f7f318568d1be6196213382cd7dce190973ebad5ea2c1dd124e05507fc9a5d29531d90f30a3ab8c67be610aac08ae5cbe5d694321a11f34c6323281832dbca8cdedd3369fdab929df3191ace9019a759e30a0f8cf73966db87e36e8f11ff6c848c798435744a663597f446968e3650a0e89e39305847f93c53a8283b4e83da767a766e2dc17d21dbcf532192b3f9024aa7b2509bbebe9afe750aabf79ffc145d0a59cab3ce7320d73c2ee198f7499068ba843203e9cd4a0a0d2a3eb5355426aac7940074d8e916a70d44b4f8fe79dd789b19dd62852a50404526349f0ff9d88265f280e658f1979c573a72e6761f786b83542d4409918ebc2623da8d5e8c9b0332cda2f382d33eba3e97058d3c4de6b8ca778d99d83044197132415c95ee437e0ddcd9f27598c49ca3798abe69c3b93bd16b787210ed51fff39a7eaef92fa2d915b7b626d47e6498e0fc3cb7d4b5bd316746aefdde49648431e0b0481a3c93652387421b13606004801a5a2ead7b1eb42b7c16c5e80fdee1c456c36e513f669e75dcbfb0d895c0355b74c2fa43b9450b4ea61def14825b906d3b5a89bb155b78ec21f824c1ee336d6eff31d862390daddeb16707468dcf9615a87980b68fd92a81ad505edfe50d4bc1e043a5ee607f771774d3b2fe2203032327d1e2029701fac67fb4f7b8d21532f8ce4f6520e6fd37816558d004e72e625ca1cbaab3f70c88d466f417af0852c7be9e44962b13e4ff4e3437cc6c1bd35f7cdd70bb201d1bd19f007ea30513e9fd4afc4c19f8b9834654ae6beb98e94c56f534cdd4bdd58668e67eafab0f414a123b6ccadc53e8ef4e5f931e57e5428ab441bc4ebd336c4c3b24554a1e860199e72be36dee9f4bb6154b062bb979699ac99130467bb1874304ef355b0164b3dad6a23e1c193e274799b9ebe2df59fb5b5467b4462b87a65ffc27ff3a5c26ac74b219b0728eb2a6dba046f064f780b59d7d84e6600b0319c9435e5f359808d57695cb68cfc66fbce756387a85be968026509705d80fa6d4024367c5fc8ce842813b087731f49f99fd322b54bbfce2ea4b42970d631ccdd378da8e0071aba850648279734c914698d453d8cf06ec95640cd9b85f84e449e7a111cdd973e22b233e8f65e52c7a993b68aadbd32e2e4dce00e6cb20c3a5af0fdb09fadf37a9435044b37d874b03bd2d56e5ae469bc272d8690b196abe362e7eb77a9e1ff843fdb08df7104125c7e59b6c4d4d344793198f9787ac95ad4c308088598617c4449c991f0fbcf89174f46ab0daeff5cdf44538c72a496cb230131273c46b7ec8302485c24241f25a28d1a910e34bb9d432f785df796152f65ff6a1ff099f7217759791e842b5902baf6f999093a1d71c874b9ff2f6fd7f67428dfb246f35b501b5dec76fcbbc348c956df5df365daa7bb9b8ac74aaae8546e99bdd0ab6a95f64f9174ecb0fbab0dac9726f05981de36c9ce7a1851e5b3ab06fe256767eb3256ac27bb31f0139c73b0ffe8de3377882f7cc4e4d9d8965b0df3d16604a806abd83ace2f3f4bbe5972b5b2d2865400be9917d7a4aa770e83a374d43db339ac121c3b2c7f67c12b654050c19da5a04694a111e70774f542bb8fabc7ffb85119bd2624f61fc9a0b1c359128c6589bb469fec5bdcd4c66c4fc6f2ee1a164853e4ba9b2889a75dd90325cf0103693cce4d3249d84bbdb8bf5a18d8a0cf218f764d2d2c75414976e9c9996c6de8e9c70679648d86d0b49a848f7b2a62a4c9ff39fbcdb1f2446e04b6b1b6991c773687c0ab83be900837e112da251125743abe4f3663dda9cc6a2c50de0bb647d5a7b7d04f68fe24a150df01be02a8bd5e4c8f7d44e97f062685546a846639d4d70bb6170c5775f04998fd16cefdc02f563c5433845446417ed3631a0009ba5e214920d056320076a78a4aa442c1cca1bd764608a69e55bc9416d38da5d0d7b1cb0fb911104a8cb2fe2387b3dea90239132f1dc36afe036a84699b5bf84e41e37ae9e119bbacd37f1df75e72368b3060d910ae2493f53db8a51847466797b740ab9f7e6343af37c042c1731983b1c555a310c9e330dae9d8bbf16c50bda0b9ccbb37348aa274d8de89b29194c25907b1cf269828563e27ef6c679e30a5136a14a0bd0240827010bbbc0e0de3862118d89c3dc727e313ab3ffff4e88e14045b9934bec6e5e1faef9b1bf2f1263e6899b6b9e8be1c8c67280e7357045e62586349924c0e0e2afa20e6b4d910a5990316901cb51ba28e204782cda997c09a4f78dd3d0c46810c7dfb64676846e8e7344a48080ae242a293859dca2d26fc8cc478113116a05dddd9fe7e9da5fe98cfea6e81eb3f00e2628e2e941b99f03c2072ac9135ace246b5514dea63f87656e42e79fbc74054414d20f9498a7b1d4ce02e43c6705e54e00794992c6eed913dff194cf7907817d803aef9e042771b05b7c5730418ee4d011f258c6db911bc29da3f8285b7cf4766be500755e07d09de7307320d26791376f983d4be2a76df5c74b0e8b57ed129dcd3a6880f2114f8df4a32b6548b6c684732737cfbaf108a45aa903d6fde792c4a3274823e0ffb5b3363a7ad992fe26e196f0a3019eb769b23ffa1ebbef150514153c57fa7fc257ffd8080a460bf73d1aa98553ff588bcf1aa6950bea882be8a5146b6adef21375806e56f4c3a85552f367f068bdc8625b5cbb6a7927c3e9b44ced91b29dd711a81cc2ed1bbb52d91efa74148c6fcd24df2249bf179ac8b250be0f50f8cefa97bc86bba01e67d28672079b5cdbca461384b0d5e627daf816f7ba872265a18831d4b256cc96f3e3351a65c15cea8b4cd13b63fcc4296801018cb848b442eed58ef236387d13f4e5e7f51f30ac9e24a258f246dc1aaa3859c6ba5063becc90d03748e8592e8bbb6f2cfa0e8a5662bf9ec92b87b015d785271c0f47b3176c9cc02c50c65d1daccafc6b78c686d40a5387a9e35737b324f654f606b084678cb581297586461bba625cb66d11fa7777c57ca6789b12d5635d9b4e145705df45c338f3e37cfcc4b0b75aac92816b176e0dd5f392b23de01e91c26c8a463bad0e1548e1d5e29e2e2d994adc69b7605b661d345f15331d70720e2a06fed3f1cb6fd0c46c740669648d27481a072b3ddd27ee0bee33e7904a37d317d319deb19ecf95e1e02a9fff17807a0e1a8607901884dee8037de6d41f9a69783b6d2c70e6a5a4ec30803875d2c3b6dd7375bb396437619948cf09f448871106817747ed1e1c9a0557c171063b34fdd58f4790e47b73b228f7c7d68077b8b6c1bd0c1407759eb1d84c45bd7320f394b1c2174ece1816c0b14f5d5fa345604ac15ebd8002236c0f3abcaf8adafcb2048440e2b9776ea922142899ab9664301da98e752d3ef28ca9dd413a01ddedf69ce760b0fe65924a225ee550b07c4f3f75b6d880b44a96fcd49e0c96efb404b5c659f75aec9a955fbfc8ad2fba254cd9e7f8708c52b5c3e8fdd027d785da984e371a68f2d164e2170597249af41f35cde59f3860470e6db7252f40f11c1e46a3f05d2165e2728a64ca6c39a73e6641db294aaff2821ece509d2443139dca2763da05f7802983ea4f90707b1f0617d1561dd9e26a32a4b595019c6cf91170036e19d1e8b70d6b0c59ba88985feaf06a8c06125ce72c27d8a3cb292fbd2ff02d14f282feb482b4d4d9f029b44b1f8732cd2ac1b5b27f9cbb1e60f561539dbcc5ad48e3c1709f870749b4a4602056ebacd041002410e51b76fd2c71d5619c00f91ae2bfc047b62d5574544280b6833eedb12a4b93f2cb3c4a244009fca82dda5262c65eb5df9ad3fcf0551a96110ae5c22a6b6b0a00aa7a2f361dce77852c1929b433dc5760bea03629c2d466039e72b84151c5a824adb8f11b433ea96a6ef6eec98e1395e6eee687f92ceca797700d87c3984e2a34ff5982bf70bc81b31120d2b5b17b6109ebe686a05170804149c128084909cd3121c45c83e2a8fe01b41979d576115a28ea54e2dff170e46c44545064c5c185a1a9b0966ca4407bdd9df80baf62262c79f21c99b45f27ad35513eb300a8242822c5a5c3c5e090e54af8490a530a6297c797601c94177f51ab924e8eea180cf768e2351bcc04ecef2d1023cec9618149e408d68e1846ee8514300073163ed80de66afc35c9087d92845ca9c1d0252a89a260d2301483a4274938ce65560b4555c9ab6752c9af9b388102e1044c1d05a111a1a8056932745545280e977c157b22d158c4b1f687ef131ad23f93b3e9737e9b41be5cb9917981b7c55449836378c31edba5f79f56a961a7d3df5d0cc294e3ffe55d7f6de021eb23e981c2148b3153bdfb9a6debb1bb1d4f6298a5bd94036bcbc69ce9297e80516cc0e78753b4426121667e6bb343c44cc8ca117d75352b805e6c358a6ef7e8de4a075fa65b32b3d7c8563c817c415d80371b491cf9722d80b05e23a3ee88440b9b8ca8872530f37328da1e96a4dbf0b992882efca3bd7488aabe3ca4fd8880f3964925874b80069a9a5006aed9c86f48bb740e44b6c2d5d045234230de2d04d18eff4404605da4b6b78c31b53ae85c8a561f1c947f7ffb13e3a00cf954996ef669d41f96cc8a0887ae2c3d917380452a870f495ee5d446ab1d83feaf4c11de422318f335c713224c7b2dc6706fad5332a677e9d5df56a15bdcb81cd88d9ed0498360c37ee7decf7194279f6abfb62ac2343a9cfc61c4dd74602a3c0d7382f15f0b1df78939ee363ba2e1f98ff6da7e178c5bc4f605b2582602e5bf0858bb7a438cf2a0fee2892ea654bfbc7bd92d5e4bbc379766261ca93b050bb627b481fdbccdf5ea08b68655aa828c4fbef18e0be1d0b77f4c425a8046533757059edb008311ddd7e53fdd504be84b1b610b4d770cf89b998b23fc12a0c56b4d65e1d8e729e9508ccae82bacfe9b83246e631aa931f57ef7753939911cf9813112ca54278b68172f5be42096009b21b4763fce58ef1f7bbe1c680a4f64978dbaeda432a4a2e0fd3dab10c374dbf1c8f29828ea8cc770bedcd3466d86a8696533ecf50192412719b78e959259b9ee142b0e18c5f6113e7d18369e0db684b57664cec1c4837e4268c350bd437eefeed96bd5d80fbbc37a1f8b6875c16a595eea7467b18b27ceb4d7747e84a7cfa10d9325a2643f019901ef8c54a5dcbd2fc3815ca02766683a2b0c360360a2fdfb324f3475cbb96995bd8f313bc0c62c052473a0282674991b966a042b936f15e9fb107889170b7de1db98603d04a3e6549c6ea8bfafdf912e980313ccf3e750affbbc5ad8877d5c7c88a9ad15006c4e31c8dbfc3b63adc192efe8b238696f3506be025b3607e6dff66156a7a90d0883f9d6a952d24f39be67d15e94a70f5b2b57e0dc43f74d98c616b53055ec67ae8d7ca6934ec2eb6fc66a71805350651edf127cb385cbdca953445ca867006ee8e31f145a37bb7fdff631449628cd258132ddc862c1721fa7b647862c3fbc35cba5f952a2e63c573186ee3e99bff657f70de2d490e626b92390a049a4bc5e25ec41a7357745cd7affadd677fbdd27eaf9cc71926e67ae8278795db284ce5692f4b68dd08a5ff18d99929bc0af08a5ce521cc3137ba8fee9685a893546fdfe7548228aa16cf7bfa3ad4da51980331fca2429a2d0e61e34046ec23b492aaaa4cbaf34e716ec21828bc12b66bc08c4c13b1da67bf90ad04a31b57fc54bde460869b31b03cb48e9ab9773aae3747304dcf3b3f06098abf728c2c33e77d31c898694d3235cd09294f700d20615b608b7786f713e80d74895c262b96f465918e54b0aa7082865e1cbf90afbad5fb8bf36ab2f4beba6c8f7c6ff87817f6371e20d351e2a615077e8538263ee56214f3f21c856c3fa21546585dbdd6092e74ab29d5e56d463ed29daf550a4165753fe434c11d98ae83d204e2360bc22be4a6728797ff95263455da3b77007b183010c06a8149d442e9f441ec2f57c13ae6888130a4b75d842f28c4cfd23abd70d03711dac7b8d43eca6d7c54f80821413241ff4bff91b8ba42cf98396484ffe52c698ee6d1289829544a50233c02904d1b6c388e60af1fbb4067e974ae6cc25b3648a969bfdcbcb6090ba53c7007086501d7e39f75beb04e56f2ae8402e513d0e6ce2dcb4c16238872044b054c034961227f7a558db68be53b2739dc834dc190f77eae80e69d73bf0439cacd1de5dc6c6069cf92bbc74b27f0da0966de7b106b2ef7f89807c230e3772b0e1dd1cdaf3b7cdb77f70a2b0d1e95add4713238079e2a97ec87f43945dac12bc25a71679aafd5eff1de2ac10d9ebfe10fc62a38a78265d834bccb459eb9ffdcf96bb24695ea8b118f0a6fc715e9426cd4591c9ac8784c15a526e18601dbec389e16b90ea79ccfc1f9ae449a608b54c341264cef034cf72ce5885b554d13a8679a451fb7d0a9c9ca1ee8c847ab3ce53d631273941b4ce9c83936af33cb3483104978e59bad8656f45cf79846bdd715ad098c114dafdb04afef9b4e5ca90dc5f8b28bdc8e0701bceee044180c65a6ffb74da9babeaa1a8bab725e98864127416055c959f4436e999a68994e8d1bba3854d60c2aedff3e8c806caabe3aa9708a271ab7bcdc4d9e41d05f71e4870de72166c8b4c0d0562226336ec14b14a0cb0b24e57d08a7ed12bc676bb9506588a975e8881b2ddef26804d4acc886b149357776211e1269cdc922cfa075b3d3d401ad9016d1b7971520458131af8ec15f891043e0453a6b2b2aaf01eaf3bc1b049ec21dfa8affdafea342de4858b21c53c84bdd1593917253022ca7daf97fb2e0b5e406a5c394643f7b32817d81aa60f8ce36018806d43bce46afe85e7a13010549362594b74c36698f7d1983ee3c2835c03b75c5563c7970af9a286229428174ab02b43edc14bd9a6cbf79a73daf0b0e6f1d1f203680964eaa2984997f51918218828106af5806af41e3d7b0f030dbbba6fc3c30f11fe87ebdb9cd0dde68da0ac747100c3d40c48e413aa39e9e6dde43f138dbf90799a1552fbde861e51247d8a9b38355f78d5b449777c7a251e0bf260b979b2e7908f7b624ebaa1f8a0ea5f78a022cf614e3ac6dad2e87641da2b24f5a597b56d7b5e118fae09acf5e7216b5c992889848efe6be71ad4cee072f2ed0a381f6a8b4e981fc987e79e78f4dd1a09d866354d1a7a1ff087bb1e48b764923868accc2f6664655ff273b5c8038a210fbde70195e8d9de4f2254af1c105c0fa66d76ea8a445d938669c92e8e022b52e84e0ecd2d5b0a5f474060da49977175c221abecd9ed648f0ea9ee38c563c40eef36adf56ba77df9952ddba233defff512f78e20a9dc875a23344a7f598135dc077965f3dac6a14843ff2580673acbe6c4058efcc3f2a1f4bb4537dda8a0dece89e03934b2144c466ea2cceaec8b33d035abc02d4fcdb936331f694b96b1a9c98046b86e74375ece7dafb2ac76221f6c8fcb26aceb70084d668066e97c9a8894c008385b6bcdc8fe437371d5bf60216a1928f019df5df0a8fd374fc205b9e4706df1539b65406914e781d0b6323d30e6cebee8ce48553781a64dd0d3cada79ee673b3853aa5e85e5b9b3cc14c7fafec404cb07a11845047eb06e20377bb223251c7c1e505e459d770a37a3d7fe0f9732a85626b773139b7d1add83c5780ac5afea477ea2a77842083d592a59cc74a96a1f04c106a9585c882b4b969aee0a0216fd124796be64d61c0f5ad7a9582c647d78dc18c173f92df91f6f1f2a87b9b9139a69d5793b6b1671c1a385deba1d04a7afb61e33f38d644fb74c131841e15da0422b247cd5eaf7552ad81757a5036c29734515130569bd1de8849f5be4bbca55f06fb7e78db03b34169771e9453b1be5f19932cefcfc1c7cdb56eed2525c030dbec513c9c972afc54318ad258684eb6b2af2d6d639ecf14928551feca735b60df2c914d29ba72463d4cc0d71c7fc3b5bce949371e54365c66508d6afd0adc12600fd335f85b403c2b83226c134e165e19816926dd2c42ffe5e01e2118460e0851c706bdf59dda915c0a2e65f56c07e23b2b8e3b8a35d23e57de34dc398754a24f0a14aebe4c413ba3abdcec7fb2cdc9c7b930d18a6d179020560a7f38e09131e04c94378ae4241dca7512e4d9b4ca147cb96dff1192dc0313e095ba193fa56b75ae1a3defd2391e6c67fde19af7fa05d269db9fd59917b0993697164d772c7b6fcf08a5cc419e63927b8b9b7f452651007769b6f1bb1b64714889c1e3e7ac3f075d5bd86251c6777d08b9649ffb5903ddffdfd5a68517f7d9b56f1d6df13d8d0d3722b93d782d175528d7260d74c1032a8c16af45fd06f187b15a61cd29c3ad20d966888d5812a64f15228c55d22198bd0c61665b9fc56f4671c0b831cf2a99dbb6cc51c90f2f5f8d0cda8f99b9c3d40a27771b4b7730928ef21538d15136637a3d1a2e1b4faf6ab24c746d808f536f4a86713de218c449add0c105ef5062a7b416622cc7c7740844dd4b5c7a92fb5a4d16fb03abe866bc60a0cfe5a3fb893d0b019d0643c9ad23023b6dbb9c9df45a8441d38af97de3c532d973d13b4d62d9ea957ac54aa2fa6640f0d3f5b0b5bf004db7c96cb1475ced9e2a282e817a8a59edc30fad10c929ed16f3f8033e031a468d6c28d57732d0c6fb50a6486510389303eafd31cf152f5a60d3ae875ed547f2799c8b627d3a1cfd38560cacbf4e4c92fcd3b588b4188d88d26f99aa692a2aa76b37874783eb5a71f1f97fe4722219a1c187503b464301a4c771ea11d558daada4d02a563d00081033e64d6c4440ca1e1b4a156712d8441424bcac98b29396baddd78d9cc0dc56e85107193e88bc189374d438bd3ce5b29eb726f355e571a6d4eec3f63a5961851b4388625c7682d4c618a496234a29f02ad5d55a83c9e9ec584477394ed57e9c2f073f220faaae9300905e304a782fe63ff8c5b572394710c9d5ca576aaa22eb32f3e0cad6bd99d5a4bbd73c6dba87c9f03e548415e9a5e8d916b01ae2efd7063fdc6e2ed136b5be973e9945c5f356f2f5847ab758beac184708239ca294755b3ffb35d102556e3f15b973f4944af4b55156bfc8bda880fbc4875ecc29f2ff25a03fbd901eeaa7a1e7ea5c6c58548d35f3c9e5a1fcd35d2bed275bc3a63618a31dc26e660796fe3b81e05075dbb9342d4a15dbdeffdc8c3220544bda1c18c7c1f500000\";\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(\"Niubimind\", 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 [\"Lucky cat\", \"Lucky cat\", \"Lucky cat\", \"Lucky cat\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Red silk scarf\", \"Red silk scarf\", \"Red silk scarf\", \"Red silk scarf\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Rim light\", \"Rim light\", \"Rim light\", \"Rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Red-purple gradient\", \"Red-purple gradient\", \"Red-purple gradient\", \"Red-purple 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\":\"Niubimind #', id.toString(),\n            '\",\"description\":\"Niubimind is 5000 Golden lucky cat with jade crystal brain on forehead and red silk scarf on a red-purple 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\":\"Niubimind\",\"description\":\"Niubimind is 5000 Golden lucky cat with jade crystal brain on forehead and red silk scarf on a red-purple 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":"58213397","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-03T12:20:23Z","match":"exact_match","chainId":"56","address":"0x4b178cB11fBF417803b6ABf525f14Bd7f8719C51"}