{"sources":{"Agentzhenxiang.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: Agentzhenxiang.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Agentzhenxiang - 555 Cheerful panda robot secret agent in black suit and sunglasses holding a bowl of glowing mushrooms with a thumbs up on an orange-magenta gradient for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 555 free pool lasts (gas only).\n/// Every other mint costs 0.00007 BNB. Max 50 per wallet, 555 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 Agentzhenxiang is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 555;\n    uint256 public constant FREE_SUPPLY = 555;\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(\"Agentzhenxiang\", \"AGENTZHENXIANG\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"524946464635000057454250565038203a350000d004019d012a900190013ec158a64e27a5283227743b5a4018094ddc060d2cd46125cb837e93dc8a355ca2c526fc83e12465ffb5e56484ed9dff67d5e7f56f468e8f3e6abce47d3bff7bf455ea7ef416e992fed16c5edc704abd05cd78047e5bbcb42e1fa5eb25f39ea07c339412f199d252a365ddb6ffe92c8bcc20aaddfd6b9357e92e2c5115a02b64ab298ff6bfcd67783ed36181b2d6524e3e9db2ed8eb36e3ddceca2eddee3f83735196b028302355002d487992f785416648055da141ab6707596b7edcdb7221306f8041f80f1dc9bf776c8f37a123a288ca4be8781fffb9cb207ea75ca31f1095eb0e9f442c891568c8737f7d1d6cb611a60bc77dd016af007d6d92469623e234ffe77a097140dab0addc744796a47063c3b676bf6418600c9a8bfd5db863bfcf397c3950eace3fcb2e932ed0e87e0ab08e50c5deedebf3dacd9813464f5311a7e48f22ac47cb51f126a3643316097068620796a407ad41a9f845284494dcae8ebe78555c7ab15fc27ff77458e29ee5d32156734b26a83f041ed325a014b361aac16a3c5af2a52dbe20ea3eec05e7c0c2d5db0753f9622ded8ec5d718da71e0b895d091ca04666c748ebfd7f9419e0789b2f09e8868024c3d9756642d5efdca21b80760cb21e08ed1f307e397ac4649d6778e89d72ff5a8c1609a369fffce2674365ea602a90c6e20fa14ef31e3d3f477025d912026ed385d5544851f4318d5231667e80acc9fcac22248440905f8438f79f67d8f1dca0cae72e4a2b459d6f81e8b79fef57870562c9b57b8956f7035e141e516573eb7ce90fc5b924ca136bf6d8d05d0af243eadb63afbecabd7559af028fbea087b8ad12c712ab9cdc23b59379bac10b4ef8bead833988b5a763a864d854b7d35c4c481bbba450f79c374a05d54a7217ec3ac148ec7368de0fb940ceb7cb4941a47329f0a3aea620274b99d37b46700980769f4ae2937589551932253a696f5d839e29a9a92746b4c2ad84f9c6881f76f5a1fd483a5b1e068002c0b4ba63f109d66a5d9476aa20ddd6f3a93c69c47782fc3fcc69cdfb527fdbc7a7d37ebf44254ff2f37b7b38829781ad6332f0bb06e19cdcbdb9963aa15ee5142d331d9985480f826fc8847371432474a83fbf318e5bb839f1e07392f206b31079c9d7dcb50bb51c4a5b09aafb77da917b4270f5ffe3fe863cee9fa71d5c6337361548fbbc43d577c5193a99302ca286537a2f7fa7b85806fdd9fe3b2fcc4ebed770358b7bbc470451381d8534d415c8e36f1e9687d335ce663a56bf07416bf7c15fa76a54a09379fc1f65f7e06ab428252d0b9094d5dedea7434cf42fd8a67573d5ffed92e7620e00c8df1247339ab80cd0afc1dc648d5c8b4d4c393d2ceb7f4056069596ff75f3530237e3f82cd28fde0426862024a4e82176a04db9520a85540bd640fa0873c1ec6e51f42d2b9d17213534b2d26ec3b8c9259e1b66a061cbd93f0cf8fd3e80f2dd2b4967259c2b9057139c11b5a6cb66fc5d1f4ec8ab757bf1a70644ced58b17e2dac04866a5aa15984224e73b31416ff6155f3e2f6b477da85ac86f42eebf34f2a5ac2b37ab0c8c8fde8c7c720673ca99e71571bb91552821f51d1bf74cc9bde5bdefd032b5bb1f6a55a278b4603872c81c21fa4717ce1ce0f3cd78e66df88f3a443b8ae21a71d0d8cc12ce94ba8cdc854018c7e3063956fa76d735b9183d97cd84363ede6f8358cb631924a0d2f04b36c26f17ab0e9a56e1054abe55fe49ce2765b030e45ac81ef06a6c598966f0bd480f270002a937758bf79fe6fbadbeed95ff7b7ec4e7135ed7fc68e654b6dbb72a42fab4a306ac25a5d8ccdd5916ab89a9bf382884ab7ccefdcb244f710403087d68423cea0edddda0e1aebe46ff6d78ef6d8b0aec22f6524cf40e916a030b112dfcb02d8ddfd6c17aff2b03a3588e643e108f824a1daefa417d4644230fbd321c1932f219960881763794450f80ee366a929de2636a6314da7383142f2ea8022c291f2ecdd0202900ae180fecf1b265fd4a5e8779b15ff41bd4f2defbd4b224b05e9a374ade8eb84489f38ed1aa0427255deca6d9fd84bb909706ccf943a69775f920306c0f9e13a7b64adec21453df655acbb79e127990a86900a603d68f9c8a9304f11ad0a57ef58f409aca1b2e47511d434e3b1560cb6c7d7867ba29789a316ee903a6e92f0aa373b1b24183820982647d191f7d1b7eb0b1b9234311bc5025a72ed3d0c257a8dd8e6dfc956973909f6291160d944c92d1bebb006a8507c4a01a63e834cf2a961d356dc3f8403ffea34cd5dacafa82a3d65fe90184714cf7af4665c7731aca4a8c8619a28a1c875b58b5137fe1e12c0598b98c6d522e2dd7b73a320a06233e4fc612c1161762d0ecc298c8f5fbd8a080ef2cc1be2094cfb9ff600f023c9a1a50cef5037103361afec298eb507cd362f73dfcb3b04b0937261080b8ffcae0d1864127833cf67a4d5c97338ccfc3397350c03a2db43ae38f366143e7e6b60f00cce0d627056ee33f7ad745c7648e823836ef666245eab0c841a047fc9b674de3d1b4e6857ad6a32c530c9221c20226273314aa82900a0082fbfb0a1332e9242356dd90482aaaf5858f9ae85db9e2a401906a228c2282fdbded406850b535ee199b51b6a6e798c3a065a0a797777df58a0d05163141a2179cfb2ee3c7fa2ecb1b9ebd7cc9a05a06d214c31311b7f92f197857b077e96654bb09a834286389592355d5125f4dfcf2d834abf61c9c717d5df94c41f88fad3e281c7ecf7c8d9a6cea7b9ec10a69bb011b421792e2f63fc8baba31fd8e423a0490186bb32a3297465e9a37474c7da43d39ddec3250c832b1e140ac6f327f53d37381f6915b40507a4ed62f9f1c2ee75248029bfea4b8895924053220e7be45ca4b2cbd2c84356bb9797cc36f67643f031412ece29fa9d4a05e2836135a278e8e0000fef0b0d431dffcf5e93fb995c38392b69b74c2d4d6584d863088002a02f801e4c6ab1343673b21fc9ce3833db90400421977cea7853ab892eb96cbce1693a80678cb6080251ce40e23476d2b6df0b00f5eae0f1f8fb3442c895fb1357436b277f74d60e8d69db60d81dd694ec6de17e677e164f6259cca654aa308b78f1dbc8410dfe1ef8a05153992e7e406d7c1478f272a4b842fea4787c694aad538bcd4303193583fd946bcac28360f7da8a6ef63d44a72daee65e7d7985ec9d31dd358d35b01b765556d01b46ad3c743eabfbf541032d4cb46028640e17ed551353f9de36088356dfffea13b2bbfdab5d6187e6b5b7dd57e40e871b816f2162a7ac6e0a077fc4dabb257dd3ee76dabd77777ab4fd68d10e9122c18cc9ad3737c595badaedb085bf56b776bb0676570756151f717b139a4d455ec072a8085408f015f17e0fffb955205389b646caed661105e5a016ef118410a5c67314e78e7c37feafd385017e454b7ba0369c5cc5207bb7349b8f2f971c128a00eb9cf1accd15bf4306cb189ab775326c37ee6445241dfc0eb595a3c57134a3c14b32d0c5eef15cbcb7103645b27911f293a0ea008eb5c3e09cd90266480c24a94f6171ae5d3b7fde0d406066ec2347d3227218821541475b6f6a1152b432281d3f6faf4ef0ddee85de89ebd38053537b2c400687b64be6fdbd56083848f23f69260fef7b74fd599b8a50aa282dd1f30a2fff656c6a57d8cb29651c73a0743a270427f99ae7f1e35043e7ee84efc67a09ee73c0eb448feaf18721366bf7115ae971ba9b7f276aabcf1c31b60f522ac78651f317efcf4897e08f3a4f2157a6f9e788d74970a3ea079ec3ccbb6ffcbc85145121174f90ad5ced6f1cc98b07b1b1ca8602e416bfe3fc5a80f2946183a0cf92fef7b60a636569c16d01ebf78017d55326bcc201f4ed3662fd9a5b10af7a577fb89d1d6ecede757c8b70442fa461a602094c841c2740ff26e19f56b7643ba981892eabd8e1a47806e4355b68f25234e40ff594a468d656c4a220a5ef73abfd0852b5b9b61c2deace93efb40a71369869a8f702dee659bed6bf384ba064181e8827bfa66a42f930e0aab44c3bfc685f819f3475898b201d56df8323c89f0ad0170edcbf77e1528e349e9f84419c647021c6673b9e97f167e6182daf0ab4690ea618159cfe7b0319e40600507f34f4ef10d2cc9143536bcc166b99ac8d06772bcaa90d6a251340c14585f4da1dd3ba8ecfe05243095380babbe12f2697b1d6ce4cf0111a0e5d727971fdd1ebd39ca66a6c0f6365a028be1f7148ccb8f936e9c8857e039e4c8abd61fc2c2ce1d5d017cf8c597b6eae69a98504175a54e4ff3ef1f309929a4a42d6d86fdb501592147df55f9ef29fb2eb43fa46ebeb17e24adb5f028a754e0b71ca66894c367e887c1a741652a42f77fb0d865ccdfad7850e11f7973cb8c0207fa97b7aff309f51f1f6e93aa32bb832c419b618de963283e0e3406f2b32bdf002425a53c672c56f044b7fba724513aaabb1870754f66b9b74be770342bd032efeeac8bed169c94468a6a3d5acae814928653dc343765a92ec35c294046f3806946f8c6254901834bd82a43c367b5d1de70081c7b91486b085a205f42bafa7d5d487ab9faeba90589e16b48d2cc687c78f515969a3036b8c1fa173a23573fcca2e5c2a479e2d91b81c2f0204036713699c7ac32b11803e31b88bf04fd43c21218549708d0f465ce8873cece242da585e1bbe6c32c3f115f5609cf60b5e3b38e3521cccc1c59792835634907423fc81711680fe25620846ca8d5b96b753e7feef5ce754eeb4ca985c8850a2f3abc43ce8e02968ea2e799a413ffd92e8fa3b04216f84311c3828ba8ac8aa47497cb86244b132329d782d9389d296fceece9208a0ec79ff163474da779a2d562758a1d738bfae7a5a2f8a01a0cd3a6d7d14d112f262b1ee1fbb4252fad95000c9bcafe2ab90664b2e4a18f5e0880675534023f249856b13f4ca124b4e7bd36b41acca0083bae62416e85b000e4bcec67bda9ffa3744e647ef7949c3116235a799381c0c552c1843d8098b1b5998ec22d9fad2b2b6f65bd8b3935f616c3bf0c7d5e28c1336e2fa7d90742974587880ea34557371c94d5026ec9d5bc1abe226dd15fb59f8ac10aeb19eab6cd8d67af47f26ec56e83d1ff5e369c88889b34004835e4786ccc6f34613cac6bc0e43bec41bd7204d30c2fb41165412265ab473526f01320f8376e260ffa4b0d057635bb85531428a4821c4dede89b1ec2d92de7c4099bbbd086990c74f9da992cd2dfd93590d6615ee61ee9d64d44bf6bdc7ae185935148c909528e92f34b672a19f48e37c924f6cee77b69262f97e10827dd73ca64a81a3ffb5c80e7aa57c2bdf4b37df7c86895b57af8b051c8219708f6a759075c51a3bbe1dd9684c0848dd1e144302303d2f2cc69830386ddd1030da22c3222c2ea71e21430b3e3c2134d938393127e4d936f249d15ea556fbe47610216e665763ee03452a5313e4365c8f6913aea4df574a67b30b2bc2113e3fe9cf17a44e755a2bc7387418f943362954628bb2ed97c20226864d040bda3b493f2e36c064c852fe95c071e8e4353e2cf4be16b96c946fa8412db6fbf8664ac6e36bd03e4725b7d9f1e6aacdc5f642bd40492c6bcb41f399072def59bf4cb2dbe6eb311ae5455f9896f37c3024e41be7272bf5d8a672f0815e1dc2bb39e1c51b2c4bab0992c67b1cf0af9bf8ea43948d905adc76a68f2f46ab899ccb96defa547bbf204772f5155194bd5f11f7a9c9c1acb25e5bd760b59ad873c602f62419a8fd6c2bd9dbd6b0105bc8f348882ee76e186d3075142668da90f1be1016ed227b5ed30d61982e4f20d20024b3ad100c9938393f3e675de531a94f4fa6716efbad0be4035a40333b90c465a92b63a0a6ca874f010822a0b8077d2859688bf36ef35f405f9dddfc0f773cd318e661fc6befde8eff4b07feb2d5f1ff2595336a2d22a220248d2eaa56c47c10f35989eaf53713f3db009a54fde6c6141364a35484dd6f82978b692b10fc08fbcd1963437f3f6f6eac063037cb26f6650d6549836d248805c35cb27fcc2c423e1cf0ecfe47069169a49e55ea630c1e606afd1946dd3cf4d86735d2fd41f8e0ed1e97d798a2ce536624480882ffb66ab99149ac97d0bc5531a1126e2aa3b7a431444c1adc98497f59610ab68b4ed1967fd0a8ff15c17dbd8bf6359d185db8a1e42e3f1ce71f1fbf301f302525795c33db6dd741732a7400bb945c5a97e60cf2337c5ee3790b24ecc1700daa5b0e68479ce4ade0e7c858ed91afbc023ade181927410764badc7af3d1d75f93ec5e123f42189ca7e788a5ce2daa1c6d65dc1b8e9806ad32eae9e3f7b47d75529eed45681ad7522740f9269450107b6a00336a0b12b659303f89b60f67b38e62f8e7e94d3845572427efcc148e75d119998536a9cf20fd4d5e5b3c4e42b13a5a9afb2ebd8b04ca5d06080a33a98d6488812e17bde73aacf5714b81c2ab84229419c5596af5a225329ac10a1e5b53cfa54d1fd61700815e465cf2e9a203c10b6659295b050ba747be5040aa7da9a93aef13daf642f9947a7b8f052c45a5ed02c892fdaf9fec405f5a2f878364d2c233a9b3c729c2b09365c89ec456f240c947416bce561b17752a1294a18aa3125f5cd8514e89dc60d0f9f97a86242fdc011b1495921f50885df054e96aca345ce6b4e0fe5949d39adf089d9702a96112b54fbecccd5c12ee30276b315d7f61e9f5e2225dd745f159c8bde9266b2bb0113a237d4b214d8a01f8c634a0a3a8df0b651345972b5ce2c4eb3cca576cf7f3b0da6b2a0caa8f57fc1c8bd35229879557d6f633326a6b846e362cd2af7dea22dfedee7270808aabfd85fa098b7208282f3395cf73081c7558d7e55063c924aa28f9c50f9dd62c51950d093f9ff23732b240630e86974f0c1c15d546b111ab3a68947998043d0035c9ce0b2654f3cf8f9ab4eb65cb66d9189e6aa1b6783ae4c38ef9ec419a51c4a35a568a8aafee07e859f32f389116cd185f1bd251d314f7fbafecc1af36d915871b71a604be7cdeec5e451d4dac9e01360139dbffbf8edb1a141fc7076409ba212f94347d284eb8a5216ddcbfb1662aabedcc4c4a6c53f4b5bdb18c2b3cfb374f460b7650aa17f315d2f8d6b8f9e9e07433438e18c24c0a15122225aeb21684e48a95bc884cb818146c5082dc446ba784a6bc3d70156c878a4058cfae1233571e142640767e433f56d9f11aaab5ed0b13482a2192c74c9501535b83634213b1b381353dbaaf0a43116256505952c6eb19d679d9157f4e965721f8fadaa19eca92b9287807c44fe866cb3f0e19f923ed1802a971db2278635e94d924858f4077f85a471252597a3a122ed4aa2fc40dc8e1a52b1ef1a29fc841add028a819fda613728651464c4f32f8e6d5ea9e551bca8c58b1a1e95ef44ce706e3f695057ff421bdc745dfc1d01dc3b1854fbcc2b746383a2c2f40efcfb24324ea44aaefabfc8681a3d545089c688b9705b9951c2da159eeb828ab9cbc8e573e01c9f57576ae116b98fc09f3723b2b766e88427434d1634bc2f8cbf9a7c2d1db26fc60a2202d488142600067ebce611d1cc2f74b2dfb0ad00ee40d0d23ca2d07471fb9aa1c8b4527279561320e7f25efbb24d128ad2f9719f1442273091e0b30e6a7290e2224ecfeaee09102462bdab02015906faecebf7a6e187a1ae7732fac96938bade7844c6c0865b3e87dfafba271b2022e3a3b885be05ed3dbb375fe4741562a666febe7105be20eee920a56fff09290593cadc214b8d97076c5d64fe0f0c1df36237fc260041beed18589ab7b8c9ca02e71d6c7723a312a63a32b8fa3151381e53b50ee614720c4c2daa71401a1c4f5eb646e14aa39f0e55bddc815a8b32ed2558d2fe61c94afe84ef5231aa6cce626cdb5f1312951e37f6f2ebacc5ee9f3a67252025982747f893ebbe2851030693ced72626755cf8de58f43529a575581f2597f5d64f51eade780452595ba2864e99bac6967512b91fc0b7862aeacb65d11fd2ccbca9feda6f91cfcb6894c965da57f107d3b54f88440d38870aa47f82768c142d6a298acaeb925b71bfd141ed6f98692ad95382b8e3d4d8ac9e5094cef7ddbc98d519cbdf6b9e54085ab9ffce3563d8b632a98d70129a1d5d47fd9c4cdd4fd86f5531741e9809b58475fcfa8224e33e3dc1c9225bd7b8863760d68a9e0e32dc3fa6174b411a8b6cd27778d88d6fd5fb0cdfa237651addf219eaccf43ff1d1ace55d10fb098ea532fe15c4e3a39ada886f5554c6b5d2cfbbd1290bfe79802ece69335a170927dd73a693bb9c6e249a57e0d9e125192cea31ee3f27ccf1d0371c269f2291f78fe044bcdc184cc86c4938cfc7f4c7a1a459cffa30fe79ba98c471a62a2d276fc3bcd2d023b0020d9d390c000b12ede61e7b0c40a6b044b3209cbba0cf66960eb07c99877cb0c2b237986f2705725ec09f02c5333faa7e32d01c782a12f279c6a42103fee068275dbd0360922cb577b5633618d6350a95f7e79c1ae832ba893a52832cf8b1f5d6a27ba049324c5850fd52d73a448e088ab90368687d8952b40d275b54458901f0362b6b617aebb037197fccdda90072016f919e9433e1b831ca40b47f9db89028413468f785413b4c1f08c7e67dfd0502cc4c1bacbec6ea4c4dfe26e1e1315c1bcd5cbc82730d9346dc60c3b3a63bb9fbb8b703ccebffa2a5a0a8c93c5f430557c7a96aa744e4ebee9161fc249f45f13b0e7f7a75f9d47de976d8006ad75ada2f600ef298f3e1aa4460f9009ae689480eac57ad1c487f90612282246cb26eaa0f8adf7d8d7ad060c7a551bb4f72a8a14e4b5223e4843d8d48f3bc625b8502bce5babfbe5af26a9ad148b7d6c35ef5c5860698c03166f89af2a2a020e275dfa3658bbcb0543f16a72294b6a81f3c16121a9aa5769050eaebf4f5a65bc6da7e06bd586a046f5117af7f00686bbfb784a6593294a9b697eaf7da3276e0712ff5108e2d1b653eaa81606f591df7c85e5bafa209d3bb341529e7783b8d26cf15a9de832154adc2da5e3913349ebb6fc37fb116e667e01be8bef1eb075dd0926d9e1c54ba68643bbbe377b38d86714f7afa6a40683254ff3c40d1c960685266117a9935269144fdbb6db7b589bbfb8242942737f22a19beee44eae56fa1e02f2e63540e74c5306c6f361a09efde0d911611298900720ca3ac2e5ac141a86fe345a28e84fd503c56d26ccc84c2a81f78169eb93ccf7ac1ad7a3d9ec0e4661d7a6246d9865096630852e4a59579e362b8be479d5cebe55647a80c259c022a31a53e7399579c0dca9133ba78c489039acac9d3e4e6b044c538468a525768610944c8bba6dde388281986d952dd0a94b3229bdc8044343361f38eaf9c556095e5e2d89f4a7d36efece5cecdd0f7d98f632bf768f99eb3fcabd137af70ac0fb213f7106725153d1e5fd0704419eacf608ae28cce5b4c72e5eca6c2be3abf28a46385c09885dfa135584d7b5ddfa7127e40a2cdf71418a7c26a357ad283ae5f77816aca5aee7d49f32c8faa6c680d8f6a18032ebfb2b5d9aed795722d6d862f05843a7a04b55b41cf5d6d716caac98887433a154b26a6e5a6811b464ee7a4f3906a36eb59880f100f6835c25f3c9ed62b888d9e18257f1b24b766ff52661eaa0da4b5715d336444b5cef73271bbcc3f9733c32f6a25441a5ce073b6f141e5b4278f5622cfbbaddb5d41857a8315d8ff4fbd5c90c9ddc7fd1dfa5c888fd0fec0cd590f6de4e4656a912115ce5aedaa9c084be48bd9f3feba37512bbfaced3f1be94c185111538daa2e7b7b2919b56618f4ec26c025c550595d7235473e22b12db411f089a0c1c656a72ede7aa71119decc903b97a71296bcbc993c325e8e581f6fadf71995af648b7c9bb61e35d7be9700cbd8f4e3d14a48bd3e0f24ee7925e0f14112ace479fba136ca5c1da9c3e4c2ec18c8ae6e4bd7da940d1bf2f938d37738cf77ce562a6f6872aa75d02e3e7e410c373ee7c98b6daccbe8b51c0c715e5506c27b42cea9695d4c41892ddda883b9c2fd621bdd65c27a20995aa0db79746960f6c3c00a4c7ce40cec35f2f680c6e0257717924b0b459bc2a58dca1606a0ad24d0e18ac84a10a3d7ef82ff3069ce160e2ffebc491fb9e1dcca3d05e7e9cf4117ed98d55c2108d07d9a4449978f30f22144fd8e9a5b686b15af820082ad56a0c013d75dcaa9124683615c03c470b0baec2db5ea853079c835781406de62115ad2e0650c5e91e8dda577052c40e867a1cb0aec39449b7ae483f3c862ab7baf5353e06ff46f0e99385a9ad2a2cc3a73766d92122e18d74e31ddd8ce58e4d4d0f8a9590f7522ab86827a3327283e5a1f115543205b800367fdf0020ca5384a3a9a499f89dbc41c0536749da254f3725ad94cc63db51a5d65782481cea3b7ea89bbbb7a888bd7bd1cfce9bf069c7b412ef3a7c27bf328126b55b295a8d7444d3f31efa3f1d1fc8ecaf2fd829a3b3b5c08c80fe78a9de60166f3f122edda404e884ed270f6588c5e29cda7a825a570604a44801e96dc76873967dcb8d93dd572351a8bb6dd16f29296b7e64826ac93f442bf09b5bcd7100459c9573de1e29bb776deb2b757abd1358888a5d8e4cc1c509e1e9b5ed164e3a3d87ba2093eb469cd13b50e2e84fcfbe72a40c59ceb81ef328dc25ad8cd773b3e134aae95fe2faf92603bdd163281df13357392b1e95c9ad281007e26de02b5a71dfe29c931b0eec64831755c5022bcc85063b1a60e7a8efce62628d1aca5f0fe36c471d562c7eedbebb6816ef8753709ddbc4c13b440792a5823ec7e5468c2ec9719c7788adc5a2801801d439dc28d8e53681c977cf2e0cce3d177772ac368f06592c57e434d6f789de1001154501db452bbfe35598dca4866c604ea6e94a66e28fca75cfec2e0a661dfc5364368fd64134dc54c94164e32a07527cb7a21af1a332702f410fe18e286d467beab4801979347443f470ef0d71e19b586f5183dd1ef0a436100320e80f6e03b05c9220a01976e4ef4731556dfdb309988c02ba0b9b61fc2a2e3770ad9219967f226834be77d2645b0268392aec4fdccf5f0d5edf4042d53de38ecd9fa957e3849cd1e05680fb6558e9bf0d2e2e51814a0b419bf406ccfaf033177da02902a24592cc79975d44feb3f845db9c3de4b8ba3ec813f34a88b3a4a658e6150e090fe4c1883d8fb232db14cc3f6d6215006974fd27078524dbbc44d237b2a3cd43a73b246a9281603fbdbf8bd9da28ee69266ac0cdbe228648a5f167b6f641aac9b77377456497d6eb3cf003e885c1ca693e19364f2a3dd2a8f199297fae66900f9eda2edb25e70e3ddc3fc3fc4a5f787f0303bf46aa893e8135581c2736df4e7baab46aa73cf323a681b051794f0eed773866d85b67e7d55ffa0f79c0d793e9a216e6ba663c12534cc3e9f630318fcb2063e888a955dcb7be79d2aac256de48d643b373c73854ea181d49b7d4897c55fbe1cb0a433b077fb51c54ef1990a8d994b46b682d5f36f18e2b9f9c54eccb04464c103a53f7da7951f07dc3ab7cd39d99009cd213be926ea652503dc1f9d6cbec6fb1646910c62eea2c90c4419317c35107400707eb3b0ef3229a244f954e5c063d135f74d9fc7bdc0fe2d678ad250da8fb13b8f848aaaec52ec710b3e73989335a21715b3a51c1d5a7d5f9ff7e1279d116ef2eb0d1b39399bebde653106087e6a2bcf0f4bd98ef7801b7e8feb8c6ae1df751568d3fb4708ed67295fd70597e983ca080903d91d5469e97958a55d2bbbb675a471203cb6fb6afaec2b5c9f2afa44beb83cec7e3a728f16fb0097ad3fb16d015e1569289914e84b8e619751a262368e78200b1e2795a3ce8687353056e0d40d0e7ce70f28366fff933040a8a5fed2448ddaf65adf12d8b99d335f82dbffff0f6c2ceba031d48223bf2a964e4c8e838489924660c3a3602e7135048ff2a00adcf7a09a264a84a4fcfac8f23b4dd0d47d5b9213d0f5292393805e1f644fbbca852c89b9a519a568a9f966e5dc39c1bfaa4635391c363abb135da0724e01acb9bb1863522025f4c6ab74fa2bdd90c604af2e97d6e57c5f675ec3067ef6acdb2d2d76e3bd208a5c26fc3e81057083718ec90fa582e26072aab423651527c28cec1283afea9df2a791d514f1e74e06319539cc5490b544b9c3607ad0d9ba2217346817ebe8bb0ef7baa292f1ab977ef8afd67e963c7c41855a87e73b469d33aa91f065744bb9269d3006b7e8ded5162ab39eed920a39b017d480858228c553b7ee60da85e10aecd8b093908960e73d4926328a86dd8cc13fcf354f9ee71f494c51323bdf1a197f23082ffad37ac201dc557c2566e0e190f77f8b9e11fd88ef591458ba36b31f18fe3e1bc29748c028234a5c93255a27debdc6fe64cb967d396ed0eddc800f5dc11a08de96324c05d4f2e0f1069cb15e4dc783d17ec28ed90a452d4f93c67f98f9b3fc95ed6b8679f8857d6d8938cf13d182d97304d014e2b72c39f40d21f5e4822598b1c913a4474e99621efcbb5107866169d5e1f8acbcd5ae1bf619a7e36af8f5bb4424724d6903d90ad36aba4a0e6b67ba5f2bc6a038a1b08190296fa7c047f9303b3573b42e05a32f19ea17474d1ec23084a0361b5b14a36febc824698f59ac25f4b6a6c587ce63788700934e6014f92289ca03fd061765041dc8f3e014c2b0dcf306bf6e03e0e6fdd13daee698f569ace1e950bdec7169f574ccf2fd8d76036ba73e8c3c4de1f457039ebe98505a90eea71161991c54ce0a3a66791175e9d0d419f4d068248d478c57963e34e1962f49b23f47f201f15b802faed1b2646474e81073fee7ca23d20820bacc9ee39fd473c12975e834cc61dbe64fa9d0440490d2e4b3e14f821542fb4ce3563fb4f1306e4a0c8c7048e45d8366e83fcb6da9ed459f5cf9c9a6fb80edce5cdaa73180f5ddfafff0ff4501890370ddaad9614a2d644c379018661331dfb574d906138c3fe2e766424362880a736572ab8f0b577fedcfe5f2433c2a3cae17c9161949448ce920036303ad60c57f54ff2877b2fa32b0218f82179e144e51c2d189a3ae456ad398221979fbf82bb32873a754503cf7cd10cee7fe1ee49615f855c50d804a7cb3904e508850111dd1f8fb92243dfb9859acaa5c9fde67039f3d9906ef95f1ed885088c468a68b9f59013b56f07c31e42a45a2540c1dc84a27274a0e84fb1d9510c673de6d3a303292a11b4a6c28296eb57ace493e354a52e1d8837c6ac4a77862db47bceb560bfe5d0caf6127bfff9ed49cd3dcdddf0520e1d9b3099468c3b3d9e023a893afa735075a796e6b0d0c07c6e1a4c998cc84c92990bae454c577f263e6904e88426d1f3eedbc9971bc63fc925289f309bc436c8b15dbd43b8997f65c705021077346eee68ccd5049d1fe7ae81cf46fda87ab5be3067ed3032255f579c51385a073593982c05f449741a81a9e6c02b967da5da00308d860295edb9778076bdd74de4335712478f29ab81e306895a601dca9afc7289b45d5a06cb6f5a0e9d0a9b42c65bf682244e6b9c48a27eb67b3f112782b8828c17c68af44e7157a824598b68569c49133a2be472be0d27ee54366513cd0737cf848d9dab963191b97e6c92fc357ce70cefaf73a84aaf9316cdd45795e633658f92119b438e1e97b5376822e7d037a3f87e67baefbf1bd9841c41df9974c5a329ac8f83c07767c1258702b5249e1542fd72575ff464c3324541fa500787d4c722ba25668658bf097a65d0d3a0d4dfeed9d1fce72fe0c84c48d4f814526d158b2328c83de3c145ad5088f0cce5903c81082a71e134ceef7e3db1805d3e5a13faa927f48f25ca2a4ddbdee2db3639385f19ec3c3877a0ca0b3ae1e789e3054975004e579115dcdb5676398231eeb6988a38160cf667a8dd4e25a741498242502efaca97c58e3f9ce067939f23946b6a18da0e40b1a1843bb0366ec169c410c6334d1b9853b8aea88de27237c99cb6cd417d0f5f21affa75c2169914d2fd474afba162aad5be602c3cedcb924f816c8270fb9e8314d9f0a450adfacab949d06af2d294fd2c979aca88799115d3a3c53846334db8a20f874ac6e7c7ba6cc1c6720e1df40812a6d7aecadd2f2590343e6cabf5cb27ff9ccc98a6bfdb1cc3fd3c30a7bab2dc2f4dcbde47b29655dedf835605fe89f3c824e7961d54858ceedc86cafb0da7432ea37202ae10cca8b57d77acabcf7edfb541a0ee8a97c40fb91fd1e86aeda686cf003940edaaff83476639f03eadc6cc8dcfc231fd5824d3e4c8a9aeb63012c6ddc3defd1c2f893efcbbdbf4566f7aec52b56a046dfd52a178bc82cc7238b4add77ede0a7ee0f3eaf249e598d7767114b05219fa4d11fc0f96d978df0b3d512c4facf525f11d939756d96c1062b00ecc01d66586452ec640241e5b4e6d0f30aa4cdf21a9afb6eea99f063baefd56df95b9ecf8cab4af2222f39f69c9f8492461271d35ba45fb30db26040097abc510f0af165e9fd01551b52d674a5f0493ee73ebfcf0e73dfbfa20277dce2bc2748198514bed1bc03ac3fb4de3901af08b8fb89a6bcf1e388f92f194eb755b9d4336796605e036b160d3a5239bcc844c9cd6ff6eb7d87d47e7ff1d6d2d2886cbb2135400423f0b3c142b9c5d66c1c0a0d7a5631fbef161a7fe6b9affdff8c8e6a309205828b0bb734df7cddf6dab797915c0c37f20a9b01ca544ae6ccb4dd55d039b7548210e42126819da455139dba9022fd0bab54b6894d6e8c1ef203d60b5cafea8aaec35cf7fcacfd02f9c6bb5642971b7ec1cbfa50871f82089bb7dee2924743d11238d51e5f915f9717567a8f3ab71f65ed8c6e868bf7ed22fed0b8665034d6630a0a60af45f9fba917b5b086d90b2f3d901c399ab532fb6f47abe3933e58bf843fd26e99161162060cbd444aa49f370d552bb800b9f7f5cdbd70ff06c47596162a855442a461fad5871f56204a03356899d2e1cd8ca2a2459358019a3f69b8347a9261bf0758ee8bdbc00806e1b3a6848452b1c3d96ec7ec495e8374236edb478852e924031538432fe0bd1cc3fb20982e39ee73309d3715195ee863aa98d38a8268107dd2f5975f52c38dbb021608f600a21b39b1691f6a4c772599860822eec0ebacd4af782b674e0a2c292f1c5ae3015e6fbf397e2963ca522a9a9fab0c5946acef35a8b4c8e58170ee19c038c75eb87d2d021cb3d50bc774d5bf925aa995d48ad201714a04abad244398d49b41bc0c5d592f326a56d40726e3f7a671ee0d3af188371cc9ea048e10ab7c4aafd61f5b26632d768dcc8532c932243a13b005f6b10d73ef63c6de1c11139d9968dd24fdb89f31adfbd0a01592355f4580e948b3ef329515ee27360b0abb107b59144623168ac3422cc72c649ead566c2b69f5d0fc10b3c2a681acd18c582191c0e60c6724264fce508b178304dc7c5157904417cd913dd55be3a4bcd1e262b9b1386b0fa3d7aa7165bffc35637f3a31982a7433dac5e596357995f5e18b3aa3a8cef12acee8ca7e0c8edc323fd07a9680856580917a93baa6d105d32a7948c86b9d7516291cc5a7ba6f03d502e4747c90c9953bdcb57c08e960345508b7d1b7b5d939b6b5388fbfc8b9e9c89724369f403d2318f8e96234d837676519753a986db7227860712fd2a5b770ef1d48a7d8b98b1891b9e14772669d6c4afc662cf770699ba4405988913a9663ac113948bece842cac562d59606656e843b7553ee058d1004805d494f22c9fe5877efbf9ce3ce712a9a29565aa3d3bb0a67f992b964fe9e83b3878ec78b81ddfca56262756cc982f3caeefeb0bd81fbb2dc8664b70695aaf789be31cd26a88ee8a1cc0f49a4fe74333b326d5bc4303d1aa895f041ff9cf732328b7d2e0eaf3d3cc54e94f093988c7a24fa08953eed82b9efa193fee1ed2bd75ff160b76fc905d2999dacf4d81528892a4731d69c989347e39e22533e9f8aa4051cb7029bb7a368a3ff380083a3948a1dcbd231fb57bcbc18ea542890d741ee40c8c4a456bd7fd31c5de7db3d427598ad7816016e92be48fb845b1adc4ad11c3b35b528fa498a27ef2a5531fd0cb779a58d6139a95acedf16bf345a17cfe651338a94c9e937e6df391b0184531bd5a3ed24ef260261f9a98ec6605bd3e57f504e07ff02ea5cc55872412f1799b29c07769753d1e252a860f9e897fe7276193de0d71e9ce3479b27acf37fc2fdb4fa30cea2b4e6707ac89b7e6903b2eab1bf8d4adac6ee9d4a7d8b64eeaadc30201f12abdd1897dbf7837037c820b69b2c80804f98b430b88282d52257d3262565d0954218a60905aa593fd81994fc2a6d6398146d8622b09f89aa7115e526ee8f69f7d8a1c25d6f7357d5a3bafe2e824e743d91c316b400784332db68844ecef2ab97940860b4b2b9d55fdb18222e41258d3d30f14c970737bf68444a99758654a7e26030d6060701ec139413539e5df0f2a953f5e6749cfc3541a1d2f95d4569d8b559f78358d2dec38f41a7f19d048b7b317f5b846143d8ee74daf3c4ebc6e8ae6794cb85df8cf8a7de88ddcea4acd7310ade45027d44c32bf7581e789c51d885c6e7def06e2d91627b4ec04f872a128ed360200f28ec96cc81af21954c902e92b58f88119c1e4d27bef5ea9205f0a1bfb0e9464acf45ddea9ec3a3534df6b58032e36b90dbe286cb2e19515b6487c693393d84ee0850eb7f9f073b9a1a0fa17da549c45f3d3bfceb2bfb88b336f75af128da086e13f417ceb6420e75e4e439c0625cdcefa0c8ef43403588b2fea756e31a7b1997bc5288fd4eb3fea2bfba213f70e28a4b29edd55cbdf7fc9879d49911191393642f67ceba9a71f145b0c67ede7dba83c545b5bf9ca786de87a6a057e22aaf80290d086f2b06a9b044eec198e4e3f1956bf985b224f845028a5f368852d53d75109d0ab4ecdba816c6dd23e61366b2a0167f002b1be6ca3a62626068b64cc385dd9b776e4c524cfd70e97de7ebf215423f0e8cd9cb9bc4446160ade551c861193f7817f88a7962b257e53b962a90cda904f593760d031289d07398b21691628220b4d29bdf98d34b8500876df496439817b92ef028158fc77438e5915db3ed434c4e345a80313bc1289fd5926ba72362b3bb20b5a65e66d7e3696667c039543ff4d8834c577e8ca02306e7f0b7434125363a7fede254fade3e7b9374249ecdab3a67f2450615950296c95e2083845788bec6ffb1beb9dff263b9737c1c88e07a159108264590e2decb03102937f3ad85007be62a2950777559b348f34a0d1c6a3e903dca7e012d7b01887b70467d4fb13e92ac7d535fe230abbe972f39683768f654e5d846bc8312363dfb732b433f63eab233fc3f2eaaeb8f647737f359a8eb8585628efdcb6d4f78d8cab9743b79f6b8666e8e5bb11346c1fba1055919ef9f21274caea20e41dc60c715821f68fab41ddd93c5e4e59141d825c77bb2e2ae9591e52e6f010b697015053ce4acbd8ff694f23c199395d92a320e7f8a977e0baa84486287a353300219e46e20435a6b371b9da952b98f550de9bd63e90a990435dc08299cb58aecccd9d9a1be3565a56aa7e2bcf51c643d3a5dd30d378f9fcd7481b04bd49be00c692406c9a45c7bd2ff63211289fa57bad50155ca4c4906e03962bce0f839d87512c4c2745c2cab2d5430d2c3d35103459e643899d0c8edc90475cba4a5e5edb9e90b8b1f8f5646a04fb0b12c30d0d6d76369c1c6b40a25049f6fedf76777d37fe5e3eebf2790244ab84fc175180781ebd35dfa874174e61d14e1cf0a0b46fef4ed5582f97d6cd5ad7fd710603fd6724fe0295e3b6843a43c3031d4d2bc510c2b33bab52f440520cf584a2ac5a0db8d22a9fe6486f09cef1c8a8f6cb43787b3852ed6a418ee2e7f0e4f2eb20294bb433a2a1cb4841d15acad6e1fb0b85c8db015c3730d18e2779f9888b84cef85855ff7041c32851af759728724cf6c7b03c45e9d5caf9a867ab84323d8a936f896744bd77b15a622aa4cb286483bbc24b4599828eb8e4192dbd8a378571dfe02fc7b443930468b0aa47dcbcee5c841fc697b2d808ce18cee42c60e7ef771972267856ecaa7b1f54196d2da99b8efaea2561bdecb73b47890dbf1a20b10a656daac7ab6f390c06615488859ee631741e00e8d4ca48b88497a8579320e1bacdcde881591b8d283f898d193d661864652ba1fb39620c1c92956b5302a285f5a78b7304395e5de5588e91a89a262bda4428e2d1f20994935a19b010311672856dbcf9ca8fd3c28269ba4249d3a6e2f07a7e7bd7b04254a77f0cf3f0e77a5b4ea683f6a95b937a26e2d1e6434eee0a055f527e6362010695f707a615af2594ab6128e3af37b20c28024d0bec7a6ee37d11685ce960ba62f374524904caa5ae5ca7905d3cded653b03075162ea90c86bb8ccec5dc09c8c63706cbc9c66e24b4dc1912a98464574669f2c718607ebb338b27ca6a811be0762eb7ef15064dabe46ede47ac7e849c878c22adaf9072c038101acfea06f29eb06b6d2e45d6147bf09c105d241da68352ecf66ff0ea5366530cde268593527f4d181e69e71e6b9d2d190175f3fb8ef7c23d7ba28fd34166073a7eb302574583550afbe74d791228e4ce3c0b1a3123912a9bc982936af0cae4544696bd5dd90efa29ef1aec9a98461c4fbc3c205dbb82ab9464b87e9a4cb357053b046eb0545ec010c9736d37c4b095735c9ef76670b8e910dfc7e6d0e241315205f19430fd3a84a4f0f988cf354d95c9b024ae6d39222b7eb09e78d7f8150a734ff8cd069849e9b56c90a1a49726b8b5ca762ff08d829341d37115187248c24fb9e54ed5893eee976016675ebed82ed1e45a0cbeb495f0c332b2df884e93e36dc5c1a380e05d36ae0f1a179f039c69637b37f0db6609064f8af5ac43acef3944cd466db7cfcf4a292a75516526f4fc2f63a7f84fbc9bd54b45f4b82605e676644cd025c897558b39f4ebad41ae943e4d5cacb60066f3b73d2de1ad33ee0d06d102bf2a969de1ffd47c6f468988192102163b1877e45054e493b197bd7d98ec1bd89cfbdb5d5966c4a66dcb24faeefbbeeaf5dd260e41be209b0e3cdf41dd7496a6ecb47c19bfeeb9cb6a3597616a9a45a92418aedde6bbbd353eae50c455ab6bd931b3e063a68fc1b11e5c1f70c8622a125381e9cf827616a27eb7f224866d42e161184b9d23855e2b36407d31a0f2e17120bb1b25ed2cf9fd9d82bf8dd5d5ab850c15ec97c7c000\";\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(\"Agentzhenxiang\", 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 [\"Panda robot agent\", \"Panda robot agent\", \"Panda robot agent\", \"Panda robot agent\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Black suit and sunglasses\", \"Black suit and sunglasses\", \"Black suit and sunglasses\", \"Black suit and sunglasses\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Golden-orange rim light\", \"Golden-orange rim light\", \"Golden-orange rim light\", \"Golden-orange rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Orange-magenta gradient\", \"Orange-magenta gradient\", \"Orange-magenta gradient\", \"Orange-magenta 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\":\"Agentzhenxiang #', id.toString(),\n            '\",\"description\":\"Agentzhenxiang is 555 Cheerful panda robot secret agent in black suit and sunglasses holding a bowl of glowing mushrooms with a thumbs up on an orange-magenta 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\":\"Agentzhenxiang\",\"description\":\"Agentzhenxiang is 555 Cheerful panda robot secret agent in black suit and sunglasses holding a bowl of glowing mushrooms with a thumbs up on an orange-magenta 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":"58270403","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-03T22:04:46Z","match":"exact_match","chainId":"56","address":"0xdA3C6681Ce380896Ec6BD02d96f8AE0fAf2B828d"}