{"sources":{"Botowl.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: Botowl.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Botowl - 6611 Friendly white robot owl with glowing blue eyes and circuit wings in a server room for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 321 free pool lasts (gas only).\n/// Every other mint costs 0.00005 BNB. Max 50 per wallet, 6611 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 Botowl is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 6611;\n    uint256 public constant FREE_SUPPLY = 321;\n    uint256 public constant FREE_PER_WALLET = 1;\n    uint256 public constant MAX_PER_WALLET = 50;\n    uint256 public constant PRICE = 0.00005 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(\"Botowl\", \"BOTOWL\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"52494646f43800005745425056503820e83800007014019d012a900190013ec156a34e27a423ac27d65bd18018094dcee8d1dc3a74daf93fe979eff633bbc4e7cc1e6c4fd1ea03fc9fa4cfa64f505e673cd6fff07ae7e87bf5a5fecbead5e74feb75fea6d8bf523c4bf44915dd15da9fda97ea71c3c0a5fbf68a5a19aae7bdffadf601f2c3fec78fbfe2fd447fa87fbcf487d24ff54610017f005ff3e245be750f5ff5208b3b4fdcfa61f25849fd6bf1c118579547f42b9266810b32d17c599ddb1ee20bfbd2de18848f74aa427ed754f9818adeaf7ef1638a9045e9b278520e88924775e0c11ab71ac1305257d24254853cfd0f4b1d3ff0ed55d3a197ae83632f6d656077062e5f6211270db007db04a9d6d066bd8bca702245fdf5f066dd0f43440d56d7b15ad895b8e97a458d397bbbda48094912b4a3140808d719386ac8c4861b3cc94684198f3388c724f8b43d00c458f1e4f2b74f0fdadc1a793ad34b4f1adad6e5bd48ce73e9ab2f54349e959c17028a7cecd837421c5a3b04541cfef1df21bfe7ec714677584d57c15e4eea680bfe20b2f84c6d78efe8ad87db7bef97d7c4cce3bf59dcb6616155f9577a6e738a63911d68934cc5c9c1372fa24c21d38a75848e5c962b13ec8a958c3a1f7cbfd3b44d28f3ac3e9ed6a8bc17309535de1c4b1d118936fdf3cf1436609ff85b9100513283c5f0e8354030faad13b63a8fb054c739f9b1e70af1259574130ce07efbd12f48d8610d2c25c866b3736d3ad55e8c020b3637cd095fc57a005f9627a3fbf9f07be89edfd8e0b1d698fd1df31f5f44c1e2afff4cee50ec12a451124bfcd9574bffe80b303c4595aebd0ecbfd9381189f43900ca1fa3f27a6323bc8bf151614578669781bd8e15254e78bbf748089e9e21a7f50559fc43b6c402238a82d52c7498355dc82f9a3d6114fa0d1b9bc84fe33c7e4f2a6873125a9cca3393912b3c364427c50aedbd9c16bb1c509306e6d54176506baca3269e19cf6ecf8b1b4c21f4e2b21cb283f1254827f158c25c0a8c0cd7e644c0e50abb864b808d623de355b46308fad36519e7af0eed769633954e5facafa7732cb2ca456ed4257281d3ae88493564fae06b3e803d3088bca0072d991c0119d93cb0bb2a20ee511b169a263f3b30569e5bccd74729bf66ecc98520fd2527e4577bf841fc29e5ca7dbc9a95ddabaed4655bc14cc1a7c9fabbde7256cf388cba6cbac68372826e7ffa1a2cbf4e406d12c0a44d95f5dc79580981e8e9481cb1003b5a4cfc7d0e316866769f5c80223c0032cf2c2140440ba0f912c9f58eccdd4d1e145d6dc5d686426d9395040ec76dfb2c156dbd7e0d7d2de63d5ae36cee51e92882543e33b10a262b9e258148ed0ff2db07fc1ccd7b1031d7601e3c0ad249bdbfc3bc2b1c1118ac9c0ecd83bc970d23b37e8cfe09f6cef2dc8fce2c0ecace0da30738bb96be329ca01c890729fe59cc882868fd9cd2b0d63f43b0e0bc8741280cf30c42b885e83ecc518e12e734714b0bcfae627c4499c20d4c334ebb79afb8c79fec093497fb797dc210794bde882355999ee1466995657e63b8e97be98ab2e78bfc88ad166db87df2ba24e5b3b571c4a30c5a51f351e4281e817e47899e14393cd2b1853ae92d2bf3839dfa5f510a0a53885e4b7198a076afb842b5d1bc711d4703c7997812594b6e9527ad852344fed41aaaa829d127968dfc01acf9d8c005ddaabeaf88f452718bbe17eaf480b617887fc3a6b2929029f659bc1138d2e2a1bb7bd5f1788cf97783e42679bf3417a62e1c5ac8c536f9660869d280d7cb327a23ee1c4dbc7a77c7bf4be4d8f63644ac9be982b77243d72750ee5b241db2234bca1c1f2d314417a1053e85901738ffa2823732ce1431e6b1893f1c310c45ca466e570b3bfed6bc4c7116a620ae68c46c11577de723bf2996f7e4acd64bcc45e417b4aa58c515d01b1e678285dd2cc55bb4ba89d0e0ea57f80e51f906e1e680da46770f8219df66bcf0f3a928e1809b041dffadd0905f4147c778d7e682adb94ac41e11c759d012492f001aee9082fe2745c41049a4973c1f3e92468d9c3f72dd02477f590b82f1fc2910eaf80e2543df0a5326bca2e79da9268df9c939a36043e390489728fece6f1be28c4510df844220e72c6ddd32c71e53f12634adad514c0a1a588a7f4f38fd7003c4946789988d34a08b868ee85610e175a556f525a565b63524e7694e2a7e3652875b9c369a92ca1d69a371190c96546774d164af17695244d1a38e48db0e78314272e8313b8e7d493739a912f95fb94c9eb76a0b8fcc0480e47268ffbcb77ab284bf70607b996d50a112fab027d7c529ec845e7224007b9b43739950720df8309e1962cdde2ef1e458c32f013339f52ea6fcf981fe71337a83b5d350347f7580b51a7c99ee879f5884a792ba52def97c0b2ef53ce5716a39183ba0893f03170b0e4082e0fefdf2f5fa60ec59eca5d4919eeb2ab77fb85ef2a759fa845e2adec613bf908d03027f5e1fac4ecc5cb94e37c724bd8af5ad639df2855fe4ff2fd11afab954a012a8c39f55429798424d41f7051708ff964d1221c2b6ce12d93f695dae549a2300dccb590dab73c1cd77281c34be8188c42fe26a24c041cb0e8e7dc76f3e60a07b3245a5459d3bd5b027076be92315dd55ff341bad774d73f3edb8b687029a160152327bb194af530eba11f3bf92eb55ca0e7ea86f5c0b8e1d10f8d77e23d72429a739feaef0aef9c3ea3b6edcfa67b1c15cf297c389f85b3c66fcd581fcbd44688bba34cbd75391d7d3afb1086e238960dfd0933b9bdcc8a24dfe9a82d64afeeb5ffc4e2f17a9303ae86f770c9c5e5e397b4daae25906a29d70ce1845b0784339d514aa50f47c44e4dbb9a0f70d9e588b02c667573e58e7ab8cffa66d9ef3559b367a29d6ee097af203130e5335fea0a54ac44952cc5c19cf468c65e8d397895d3b0794466ddf7a303e06afd8516d6e125d9612fbea02c4a763b4c5db573ce98e7b6c351c8d02f08c505a5747630335d1e3d73c67cc8b635cc0cbc50f2519d31ecbdabc45c1c14e081c87573513f830383303f6d2fc86b2d12dde005e30c83119a0d3283c2017c267976d7cfc99fe0aeda735f8e9d4afa6dcdf67712f7d4702516e219c70524a499dc0000fefa5e83f5bf40aa10b6e0604853b6ff1d817c14d4dde40502306b5a777fdd02029aaa7e4d418f07dc89473a715a1b4bf674fdd58e28a002f8c9dfa40d5c50d1a29b60915bdda0d26d15a6e372a37eca4d1fd50753c3dd254cc9138bf62a2ff499756cf601e985c566181c5599c5a0c85310e43c67847567746754a9730e38094a2a7f70dd072c40f41a43fb798bb83992c89e9f018cd9a5d8608697fc54fbc25efd4b7a7c76ddce26964ff78ae48700c0e626212adcd17d15f6d0a289d126d26be2fa2f687f2a6f407a2cb5889f14bfe134c65c0e414154143c325d1ef21881bc739c315d25491521f932637e8e5b703629165eff23542ed6d5840eebc036719c43134dcde7a8a09631496d4a52d22c0f0099ec0eec2fd9d7374289c14d17ea056cd2b45129f0c13c0a92a1dc875c7b9835e9baf94b4909d4504a2b6aac34016c9966f72570ee12541b22be94a7ecd0f64bb3434b99efcf06901d5e96eb403453d2450a940d0347d42dc54acb61ee3a88310cf257c34acba5ff5790437a47c6ad793a4b2bef1614890927c8b95a1b76b587a3b4382dc6baddfafe1ea3f6d7b71596656c075714725d3f5dedc298a08cf28501b3b2f5f26f959a471878645af7487e6f07893388e3c050905f2c12c697aa63a7e0d48c60ffab21f73db5586f95b4ebcc18cef2d80bcaf6c6bf1ea669f8256989cd13d99db322eb04e9b5749bd48597cb2f71cded93748ce350aabf2ed76135babbaf030d88bcbe7212829670d58352a0a7d04b6a18caa3536b598a90ba8e21a78f9d8662f0bf61cf5a6a105f3a17ede5e5cdc4dac9c026ede25d1d00f031b3e717d92a574210009a14c90e79b7d20b031d90920ffa650e30061ee8dacfc762f76704248d1196d19753659a83a23b8c36c7a0e798ee486a4281469d253b59bb08eb848054104edd345d11986c2bb5d15c16b4c571760e43e730dd8764edb8b0826170f19b95ae9da4b1ef95eba16c96eadaab6cfc960d5ba1899026e8127834e151599077bd702b11c913bf23a468e886a3e38f4d9f8143a42796d9fde2f20a866fc4ba724edc8a869699ad3754eda3c6cf0eed9e19b82ca8771df98855ea17784c588364ef8725350605ace52fb80fe0397684fe4b40fad089ce0dd1a2cfc4e8b647a7cafb36bbbdfd9cd1d5deb80cda3426818ddbddeab6f8069be87730b485230d7554b027422e0e5a4611af4dd082704203414230669cc80837b41a13253377659c83079fcb81de72b5e03843806db34eda32322acdc952b6dc7bbf6860ac81c12ff970462f84cf561b59d393241bd3c08ce158ee332c89779231c76e1c294a7462b7a7f3d3ced2a9292b604646be700379d8a95b1b65798ac65b41dbdb09750bfdae25cfb2cb95f94a1b379f2f6c079a8c5216383d05644c8c86c4a7681a892e37f98951a60e9279e6a5e2c7fafe888f2fc4bc966b76e718dff629040320618837f2baf24a372de2761e9a396317f6f3e556e2605dd9ef6e613ea15b979ad0b2d32be158cfbcd5c65cb79ae1f097699b511a773701afca660444184fd0d616d850aae358be2a79e7dff4e74372e73a8a006a5fc67194a9aedf09347aa365003c8781f9418f03fbd3d97162e7f39b85a2e13ece341e85f258f44a39b378a56946bcf57caed08abad1136c2ef5460db73769d9aed497398914cda3f62a3d17c7b43ee410168be56994c2f9a6f8a59979507e39f0e135fe3a396f0ac24b474f7163e5cb07e958c38fa166d070258a73f9f8c9b945c90e6753195cc8b90790c69aecf6f88ec63d575c1b58de3c68096724c0fac284f8ee5a9c6e9316e71e626de055f43a074e55d3f724803e32c80f66a71fd30e7e5797611000b51a129cef8e6ce0f88d85b89e6373de27c5ac94ec3fa153fb7c9b959eabee9127e7f73cefe2c09eec1a314412b0e86a654919b77e66331e2df13596fe798694d37b2e24e7be0faeb069e296f1f7f506015ef4a4adcdd33fda3e8bc27789241694e351d1fe99dab346541098642219536c0ea44dde0d8b11d98738296a1a481f294665433a1782adad75dc2024e8d36d315c6cd74cb612b026fc64c4a96fa5e109798b7a5ec1c5320c792762fe7b1cb9aa47710a1a2a014b8bcfd06b6a9dc3585b6c2602ea8b23a7a318031be862bf2196bb8ce7535b1629af5d249d50b3fef55b602e07a53962c3c3e67457088f65a091e35a8c9d4aea1c0e07ff09432d49c77ceed5b0fe797cadce737c5a5581734882933bfec1c8fac8ed887ad6b780f0dc36b0ff7825f760ac0bc2e265a8a21d8a139114a4f8370cf0e96528f4209273a8b17ad1c9b6992c0d6f2b02c492c0ed85d68ae2a7ecc81ae7473a697108e75614e86002ac84d88c109ab38a175083be1f06b5ff1a7a9f07c8bbf2e02d2c04f968abdc42dd449f85d287767aa559a2008f5d36f0dec80b6d0343e25588c29a80439a96ab0ff6e5a286d537a200c9132e90a4116a09fa25b95418d081a8108e88196f924bf212beb90aa70baf480fe7cf5134a6ee9cd96a6198c6b096596eb24d636a8401d8da2a0c974a0de6611be91453d56c7071a491ec3b357aa0a383f8c8f4801cdc2c145db380b67919b0b2dc1b67a1a03fa2be1e1cce9008f601896983839cea99c374b818033f1a3697e636859d60791248417d44f92d75d0262ef1cdce98ec8ab62d0a301640dce2e7f2b554539ce84d54bbbcc21a713e84b6c000fac0e042d47bbc01854a91fbe95930c425cac084e82b491d5755c20dc00690594eebcdcf1a3035dfc881de06dc60d8db6cda21b13e324df0bffc4add808ea57290292a6c40a4d5050e3309c69fc162fa361e45dc7cc99c7e87f44ed84741a43ba853d233c745c9f024391d4e4f19b47051bae5fb33764625f41332db8bcb2f687af060175b6405588d355831eb551a92da1997f312f59bdf8ff19903b5c78ff3eef7af48be26a1a4cf80cec14243cb0dd03d65f70b5468f61e0cd7d18bd07e3098f0eca534c5a105acd4addc1a5c721fb76f6d699de860f55be1268a6647d6b78af849e12fc0d7b90a5ee837b4057cff17780954eea380cb6c05f69765b891e4fa356b593eb201e6fdeaef60a45c85510cf05806d791d458369ee210f1632fc5405049d621904ff82f341a71c4c4240783a0dfb5540e6649327ad4203355465f262ac6b82b884e1e457024418b7f2877361ca1b84375d0dcc4a524b84a52ae9fee3f73e27905ce3df81c6ff7d67712859d02f91da06c15065ad593dda8513bfcc39369b87febbbea1a86084afebaf6e9e359d4bed50618f9712e92cf798259db8f174aa809cb1bb4c5a9b97f44e8f26b8b1feea8de68102181be6bec7692e2263203946b72d653e6057e00831794c56e490863ead87f6cb8516860c116bcc1ef7763a024a74677b6fc63dc3744cb8dfb211ca28989e015e41d1b2763c470592b0a5e67993e9a6ead08ba509315466d060cf3a8b79a0eaf1ec606bcafe16a9f1f48007d536f05f2623852926b814f00dc72e6ff528628e2a867a7eebce00066085b0bef94900edc9ef76cdc608037b67b77935ee9411cc2cc85ba442d91d84896c21c45c2496cdf13249ffd651c164954d9156e0d8dfb83b78355ae35951a143937462f0da6e9c8afcaadcdf186df3efafa6683b9a3772cb841e40bab44fdb23c0a96031994fe612139cbc9281fec2d4e3f6add4d676378d093daaaea3143bca8ad160deec4038b33e7f510a43442c0867e07052122675207d20f063822fae087870fec03b83f5c652649cfcdca5e39bbb086495c2e090b9da27543d08e48b8e2ccd256b4932b13a5b76759b08590ebd469c0f108be2b2b17566ca94b8d97bda96d6992cf2945863f5aa5acc8a7ca73e826695f60e5c37e9335980ac1438f66c29c3d4c76a2cd2a8a4f9f7be8a32df831338dd61d054474e158f5cd3ec2295df6d9611d27386a1dba44bacdb54296a5e62e7867b8ffa38aa9e7d5050649c259354883cde06d5f44f102baff502d35b01c50e7ca23d48bbb55dd8451d812774583fb5832b80c362b3a4c9ebdd6604b12ef3f8fba20e17c771b7e00d31b8d533b529845e88e9a6d9ff1dda4e68cc2c662caee7264de529f23e97592051a7bddddfd69249522d4aa86e87f16566ad34f9ee3e386a55e465c00bbbe3fd5f6cc89689468ab838905e1c507cef911af223120536b8fa673343af3a2315cc5e6d8ea435993d8a0d7e291859bccd0dcf83c807798f70a808147ffe2cabeea9b33b2df4eeea4cc44ed1622ad61ff883dbce36c716c9ece2e091ef2a3adfeec478fa4a7724549db5a9a8303b6928a385c12d79a773e65d07934bdd455d1d8e0fd44cc4a77116f81bed7d640fafc9935b06a9ab492eb883ece865ae7eb886317d2d49b9c4122c4ee06719c590bd5c19a8b2d22038fc08e6dc9e39f065e06801768e43bbeb7901fbc6be60071d2e4d64136b3ef234f934a2d7afa49f72f9cd964ba9297c91cf1cf120a24340ec7fb699ff3000ec209856ebd7c936bbc50fdc614792b8acd11419e3f88a7dfc7b1a21c6638ac304a3f5c030715df841c09de1f3a408b0c74f99e077366390dfc69ba60ad2aa643d3e22356f26bf4eb9e93cb3ebe8771f8973bd198c4d5cbbe384d1448ef6b5f5001d1adb5f0159254b2a46c11d02eee73e0c6dec1dc77ee056a8caf37668f3967e2cebaa01007181d7da653a70571eea61c682bc79ee5e26ac8f2328de8f1e6508af895171a6d301cbe8cd6fbd9ddd2e71384cc6e0ed6f0d6331db8e34dff2ca78779fcd0e75deac0543cc7a2dfb691c03259ed150e23cd9d84643cae605d82a8c4535ec03813b38f7e675b97d2f8cc3bc66cb78958e55322243b15817bd81fdbea46be8a7053579188798d13b78ba6ad73ec73fd52b698cb115adac18c7c020c386a689471b44628839b6f738350e6f0fb53b79af4bbe6b47de16b3d59914d70d72440e703d9bf4263143889c04103315cc324e65ea44f3b00d857879c2463ed48185315d83370e3aae349bd2ac9b1ff79d1205f75631ecebe98ae6b0e8ebdfcaa025fd240301704027854040b751ea7e34af2ff73a957fa9b0db8f7bf00dc27a59a0b27d537dfdbb95374804168a47e12ad05ddb5d3e47b13731df1a1580e89a4d2cd245ed0836616fcc4b8c9922f25ccdff0c03897f802bc3decdcf111cd5fae52d453816c8be67b6f0c08427666027c2c80e4ec2fe5a019e33106de417cc750a1034e5415a6e27f070f7db71be9dd93a550d331445ef75acadb904dda419aee4df864988f0c36d7fabeec993abc717904b371777b9eb2f6d388929130a03a9c1a3caa5244dddfb873502b58bd58a5ab95699bd4832637e30d25906fe5c42fcc333e815b4dc9faa39bc36e5583c82905225d4e1fbcad0e3c378126a06a4ac85557092c8841d7ece9f7aa530984c1097a5c0f41127d933716c91f044a60250a8c905437749d8c82c72570b8eb3d94170f0c3affb67dd586f93e8446474b473a71968092bbab80983512ec277240afac0793ced6d52f03cf61875779c5c698c75542b54dfd94d569d3afcfa5259cca7f558d03b236aa08bce580215c5ea6ad94f12f872af0b51f835a84fbcdc7ecef4a38abbb42bad2a0501c42061e3fa898f90ffe65db340460df5761056f2cc962524b3847ae012b101565fe2952129fc5e006c84604d73ae438be36a24e04781e6dd42b705805c2132303237299d17f786402b4bb308bc6f291245b8dca28dec3431978bc7ebcb25643a012529a640c67d0f42fa136351d9c0d730378a1c981401baee5d452433425ad23bb7fd6ecb0ff059e38968857ae965559bfc7b5c4b1322616317317df40599b2b499f35f291d4e44741f8a2b2154e2c5daa230e88068ee12fdd76103f1dce0812b1e10f0f1c4671d3b8560a93ff5bb1c70632a5a882398eefd446d949772d2bebed5cecd0acec58a6f5da44ae1f437ed28ba8a22e27d02091887a8227b1d4c6f0f78c713e6a428651928bb31797565c3589138cadaee3e9e6ffc94ed740787c85236180d2fe14e61c875da229d37d69d6ede04bfdd0b4b2cf3dbd9bc2f4c41e16f5bac4fe1a16ba19f72ff26e1a7f487211f84236bedaf20fb2f9e5192f12d2ffbda116bd3b4c4272ecac680dfd242dd5468f67fdb70bdba5221f4a5d10e18592802e68297cddc18b500a9810bd876df80434f60b429384a0745853bdd2408fbcafeb4f11541eb314155ffbc360f75a9c3465c144cb583f3fae1a31e48d80f5bce969708e84b10bac56b63f25f1223a2d0c155a19d1526136488dbb85fb24f35a62407fd95c694f4e1f19e31abcfbad0ae4c5f6745583862f9418a1d0677b2b1971ba3c9f2f36a5f3a44cb3b6b92c0e28443d1fe59cca4ca664627410dc1bf6f04ab9b01822d9cf4ed92b24d7f0207ee5661f356c56442cbc98253780dbf5f06c31b33f0930cd2f9b5a18c3b3fb3059c4407ab7a623f76d1295d4111d49a7175b79be5315041aa4b1a6eaa4dab64a59ddc329872fbb56ff88e1ff0bfe3e7af895777558d297d2c0d0b68facb52005a5b039946cd889371d74a0d3f9847a5f7106ec167a7d69f6bb5614f3c9b493f1eb286b0084afc24c75c427f38930ea259924c7f3a43e0484f3b9ff26c2d20935709ba57da2cc93055c0bd04d934989f1d5b95c3aa86a8f04d93496602fe8a4e3adde02e866600ebae1960a50e7f570cb61f3b04df5f4feadc1d93154a1713693ae87bd07a87a830a61c22eea7b8661267fa0d0137837186b5b8989000c663457ed7d136a6727273edc38e03fdcb5bae55293f72d996e25c2446f9d8d93859a59f6414ef696c81a3c753772c50137e50257c86bd2853f8314cd3338a3bfce5336f621e750b751a2bbf6389f0add42a3fe287482e51cf5ad89a73f5aabdcbb8453ebf872be5c25f3e5a7279bbb40f9cb45aa6bf942bd1b9edbc2608368e55cb99b796eeb3fce447de530ae9c1b89c2636faa11d2f8518feb3e1a0a82b1c80976ffde4235009544ecc6d1e7480f7bbb25ec12bb865ce1313a1053b7834f11e67acba7b4f5056993b1f9345c5c20930dd1c458ede6599133332ee8a46f1f84cf3300f8eb9a972dbba2f8f57c277f8d56c272b67daf609a0c0fd50bb4b461a175ef8fe8f53990c4796ba878f388f9541ccf8734a0b3261b1cb998416f9140d8350b1994a9cc06e28854120110baf8b8210688cd5db5eaca0a80e32d0bb9196209c74cd9974614908e246eaa6e8e9c95b37c7823b9348947882324eb4223c167498d9ee7c74095ccaa6aad419ae437ff8f9020ede4ec4b49c9cbd80c1dae8cabba3bfd5636884d3f4eb282bbdf4935b0bd5f08bd6f6907e2b91923f2d9b2244f25fa271f8c414a12943ae65faeb8e68a25b92981964955cff7ddbdc6bc32c8b72cbd229b4098830bdfcdbbe72f5e9e54ba92152281ca7ef7e3e9f6f1c7b996f59762cd5c25e7220802f5db5e3d06924b31675bcf4ae409b2f61750f8a48f6ed2679011fd8aac6c6856c4167db5857a678320c9be519b488824a226da9f14bfe9a265ef041ae6ba137584cffa918925d29cd492ded6391f39a81ff3fc13747bbdb427caa5dd13c8853836b1d46bfac3cf837360a0bd96b367a03ec9cb2465978bbafeb4d5ab4ae936c9c920dc31573cf30a30bae0e66dd1979df88c258ca47757b44e62ec62ee1b77191440a138e874704782e46ee27d22482cdbf3969bd6a9de53d025123079eddee8c49edee4e6c9560fa6fba47a3daf05fced1e8998628cc57375ec67dd682cc2b8fb0d008206c12662c7901e9b68ebb9949e523719bd7284dabc3ead6686559b77fe83641ec73c5268ccdf81cf29a9b7339c6fd9b867eac7df8f7c540ac4a343b9e69016e7e55d247e7d09595a3d25f1240d3d7365895989ae0d2624b2c23a11d805a6184cbbf68226cdb432c8fc77a60d7468a5df5c44563e570665b3f25411aadc83c9988d3b596f100f11c151aa5f6dd90875ac25cc9e8a5cd324cd21ac76c69a85bcdbccd6c98c18f7c53011f4cd8fdad111ff4d07aba64278ea8f8cfc52f3ee58c5ddd6b53b6daff525ea7b4ad3bff17b77d454b233ab723897528b919518673c8705ba1eeaac477833ff634f2ec74bb49ca900a41cb4fd011fb53ad0174923e17f6e5cac96dbc0623bf8b360c3d428c8a2d85e79a056aa8a82adfbe5f005a2209480c999b9a3d0b962f06ff4148f03be1a40bb3e7446b15abd1da07b28c5996aeac8fe3e54c1ed89cfeadec664f11707db9c16103dc3bae0949b9dd879235b10f3999cf6359f592e6d86f03e6e2025432f45a222bff980c73d8a76f1078914a253be614e1b24ad76f0199fd89d76364719dd6f29d7b74b2c549051f5c76e3f63e8644e956c55d788f9602740cb17c062220404cc168ba33d66bfdfb0f9fa4b70c4fab0d4820ea9659a787f478ec5a8aadd7fa5d4ddc034fc51db6e8fc775bd91cba4d0efece487d9c7b9f13b7d3106b05ee38dd49ba5c5deb3b8daf4d5f9b20f0246632883d0a02cbdff8717b367b19e91e4b914c93660692e08f3632b569dae57f571471003a276a4d9a4771a437931c4c70da44885210227c560c2998a399644927249d57e248524cda0b9e07c1df774779529304341fd4a059d97e24713157b12b3dcb32a4734a3dc710b0ac551c6a0b3767c69178d94262cc7b413375685e339ffcb6262e7b7eae9fd6add5976d3cb5985c0e390948db898a2aae7ab3e01a3007e573fd65161bb2fa2a9ecbb76c549075a74e2024f0763c8e1463fc4ac8ed6c4043d358f471059f5493c42f5fd72d2a6f84360095fdb3d52452c9d23dd888fa13d7f899dbe861f805dd4a7f5ff29b815bcab5b1e2d9e3125cfad7b7307f9ff4504a02fddf1491499f280b16ebc1554b872f1a098914bc743bc865721b2d6a70acb9cca187a36f20d3703397d26ef2e1dcfd9874f23621bdcdb6c394cfa0179010659be879cffc91495ade765ec22160adc845675eb534b0dd0b81a986c80c6f9b43cf677361fe1530e304d8ce5515f2a9890fe1c1a1feee94791dd1e4848964d0b6248e331c60e6d682af77bcbec8074e9fa406215e24e58ed3e19f797b9db8a36b56e5b02b9c30ec144d34869ec0a6fe022e0cafbadf247b844a6a173d04f38fb309cbed2764f58ec16fcbfd509bf8c0a0beff1738466f057402be22555c640cf63a7eb1b39161e9282debee046b4c8de25a23cc68d48d73fa985a3ce905d93054b2efc8f16c3485b693ae32780f44c221ffc108d47ec71137bfede9993efdbc4cae5d52e5f536a271f78ee01cc44ef893d003cf0e7fae5b520f3fca27d8a46f7c532156ea551fa68f256c7a6cbf8ae9a9890c119ddddab94826f5352541788f114322aebce4cfd57e01a6a40941bd9b5028249bed24efebceea39f598c05f171d789c2a802c2334298558a1fe08c30ea1038357c0abd956a550b99904ac0e386e890dbe41508cefe3c2bb48c4cc48f179cdfbd0e8976cb659d01b3e2e749351ea73b3ca595ed0b1cd418ad13ce9fef704ebae0aa1b7776ba715171390a3b92a22dd3365c218e4278e42186a723c4b7ada16a50ea358cbfc274cdfd94a04550ba9d2dc2cc96f6d4d015cb8fe41039d3c2198be52e05e89ca94120b642aab3af0bff9e47f71f27d31748add871f0341b51fbebdc0ba5c6b5cf57a5860f36099c0fb41cdfc62d616cb5023f9bf729d72b238b4d79933216a39105bc45027d62532f792f38d489a6c6d1db0099e6189a9a305412329896a771e905ba0b47a4740acd77067a8075b49f97ac87e350d82907128b750cc885ff0ef486e0814224604f45cb4098efa70151c71b6f30bdfb76f78acd476d3fda90cb0eeaefb525bd1d1d196f714054df97dbc6de6ee16f39dced723dce0cbd366eae879eddf73403394b89e82369d29533bd0c02e921e24dba1a69560864ca10e07fe7dd4d9984e0c4eedc7ac49a5030aa2dcbc7ad9ba8b8a7ad127813b813a306cf7766da0bcb1adc4b0ded531e9d9165dec3e9ccd60d9aaf4f8caef560c7d26347e3de7602bdfa2bea78dca830e4df7a1d1a612fc9dfaf0523e6fe38223d5295464e377be5f79c261c33a352a2e79846bf97f148531f29a0d2eabebae2b4969f3d9c7041cbdc839140987a1e31fb821f10e0c3b78d4863e352119386b9ae1ebb563f2f75c89b48d076743147aa2b33fa64aaae2faddad3f39c2f2ed0e9b24e4767f57d52e5e0b8b389f72f273e2e69ab002ed477d683da2d1d862f723592d976749565c81eb3512b62ab06b8523f4ed16c798874f4874412a132fe9ee7c1ebc50eb91ad31c837893c1dbdcd1153601ec80f6680ffd0d400ca521664f431dca1bf23a46d12f4c696aed8f32f77e8bff4258ff3f9082aee9e10400c0dc933bceed566ab28152e5ae791199cc4d39152cf6a92160d3edd3da6ce8cf9ed2be0c062113102f0569a0946247155fdce55d3f881fb72df0f7f8f5966ac29a096fe4d2c281d80522d920a776cc2e0171de1ec3abb79108cdac4c827430f2b62fee218a75ef8115d9fbcdbc4e90a1babc2a0b16948ca2ff27a7241085d3e9614214ca97b77eb4543645853c5767676c2d2f91ad0fdeef6a80451f3a38999bd4a2c50460b02ca75ae9dd3e2d866e1fe5f6cad440aa6a183a13c2f79de29c6a1f61b500ce136bc70a9948080d8c75d061837e54007a2bd7ccac64ce725ed06d8773bd0da8030f9735a0b33850e0c8bc67760349b039ecc9be60e564a98360c0414b8f5a622b5a5a8a6773244418ad8f9002401ddf1203a2d83015dd50c166055282427deae2b1aeff58488e36ce400742e8bd7315b8bf87f200e07741d95fbcb9a1e2966ec53b7a5f7c657d888f844202be9816990f64adb58b7e9d544860c2d174ef5fbc08919b4437c97eb197d799e4a1283eb1802646c0fc962a81f656aeed8a100120fc2de86524efca44981d70a10f04662e3e43d109863f9e373518a0515d5b73f267e22d304a0ede55169c5a16fa13e7d3e73359c211c9e7d3c33501ef24370433d5f17e916160acb3e7006506790fcd1c9db00bcd9d31da93cede0054c71ba232277b67a61bc10d02429e9bf39b3e06ff573593d3ced6816134138b371501bea52dc3a979381bd13ed3588fb83aacf7ce1b7a330c2c2bdcd2f320cced04bc3ee7c7e4176a9c902f242a6274c86018802bee29e727cbc872b62ffad6962d225e26a5c1669219d7821af655574d811dc66b79a878d813cc39e49e60d5e83fa238915938387da6c37c4da9840af594fb2f2fce5cefb9243ceb856d8935e952a8a6a06cf671a6ea72d47f489d86a33fdc58972bab3a46ed0608b2e2ad374e4e66102d317e18d9b170a99890ad9d80ae6f9488c658334e04fd9dcbb7798bbed300ae6450756fae16df1e65ffece1b21332fcb40b41479baf83376aadfd82c6d0419fee1debc12f9082748bcd13e21063495a905b52664dcc8ea79e4c475b5bd4918f2b212de33355edb4090e770973dde86fdc5cf39e92cfdb97b3a52d7bbe20e3fd1c3e0930ab7146f5705d2bcd35f3964ee3c8f4da032ce58854fa4ec0b0d64fb074764022c8fd8a21dd0ca1b3497d75928edc97116f43481b01a0ccdc3fcb269e97547c8c6bdc1aaa9ba2c8a94b4a702bf66e81c2b50d68c75469e9a3fa3746ce8656e59fce92bd305b29c870f3a2cb0ece95b669fe04dca5b4400186409720d923ade88ed0abb490184520060efe17a966c0b67d56ae646e449d93dcfa968a963a4a411544dc19bf620bb60312486903c4ebab3bf46b72c5012e9f3cccaea09b3224fe7c8f7e1bb99f527c90d1a89a8210a28b79cdd569a94a42721d2342ad4e87c34243b0288de0bb5cffaaeef8adc3358a6e0e44c8bf713b39bf286bc5bfa22863d65ec42bf74cddb3f76e249c1f70b5b28e1ab502f39163e05f2e7c5e1db8eb3405184b34a1bb62ec91ec024ff43453ba92ac81adf47c635c02357ec94d0dc299fb4ca00648b5fbdfb860f82e0d00594414bab9e99fc8dfe977db0975cb4f41e13b9d9307525c08f8a310551fd1d53d60ef0859cb1213482bf2f43bed281d312af932aac739b3a5c56f9e9dbe2c0232f7a71936d451e3568312738fd7cfbfeadb8036f575429e51b5734ae4e233860ca222b26a7ab37114184c065bccd6e53317e98cd025fcf0e1c03635adbcdd8e9893fedb64640500fbc1660d33997e2ae685a4ed68ed0b1b80f59212a7fc921297f3a84cec90b4c053a39e38eba4b131258ca1f87b20cd6a32a0a388cdf84bc258ef9eed0142eca8539c88af45af04ca00884149ebba77f82a201edcb4b62ec3037598fb260dda9dd3c4750dc0e743e8a5ab2d942e8d6ce7473a2e0c39c2b23545c493776ae2524a15ee3df9db107d21340b6be8bcb6c6e7fb5d22b79368f8415da99f32aa82942fc2aa77e52d7f5537619f74d356568b3a4152e43d79bb28e797763815b5fb9af3efcebdb49cc209d0d149a567054c1b05cffb6dec58f5c770adf6a67ad7c8a7bb3d3323fd058f5aab7a13041f1b0615219aa6ea3359b153ef0da61591e2ba430231735b39e1cf6ce40ecc4abfca1c07c601b50858bd94d40e5f57069b52ab414b1c62ec81d1a699404cab4de9d627594e394d7f71818ff9ea20afc8bffb61dd420ea57190a03f046789f573ce63876fc2b5eda6de0426dfd35aed9547a1baf180aa24d2904731c15542eafe4ac86d7d27d34061a92bbf4cad7ea3b9031d54777aeff98554fd1ed31ca1c8ccf4ce6c113d56a99b264d45577a7b3d456f3134e1e57922f2c2744f322d24422ae0832099b388ee5c67017983e43a69d4cf76832f285e06cada1f327f839382e5a757ee77cd278406201c0c75336e18c36b127c937a00983100682f751f5717261e0a903660a45ccde16acfc67beab863326cc9b87ae5e6e55d7e7525d23e84124dd244427bd8e7c5db5fe5dbd39c549c28df09c1d519d17e194f263ba59e92d668bb2508e8c466a326e58d120013549c7213a0359cf1b75f828c2f712d934af98f4ff87d487c591ec86ae3c7872d811b6ce9f7be2c316389fc7b582b07a0df9d9a338e3d48dcbf6c30262bc9d15d0f81a625c53aa1f685b32780ef090d8470fb0ffd69bb54b72b7cede4a9b67dfccb6a6ef04138810aef0ba6b96387b0b6bf71a1d2ec22e7ec9e60d961dd4c596574dd64f50c23a1e36a654572db143f188dbfddad533e18cbcd4b247cb75d1773d2ded5e77d84deb4357f736bbb767eea81f6b192e18cd1fb2890556196667f44f7396386529a73284b670e3ddad0966674a55e778a917879ec6fa60eb8591d83774450154b762094bc35c3aae23e83c974f18337d571fded7837e7db6ccc69e25c6f91b3b576cb6bdf5fe5f0a767e4bfd5a55022922b9a461f94cea9304b78a1ee3e570e26694777b6324d6445d296b6637a6d9669df037d756199074871ae1d857600988a7ad5d74c3272a8eddc43d8b0924f0e65126e3ea5036fdc8a55c7f028c051965a67beadc198466aa601c70c381f5c567b62e929a02eaec72785cd97df71edfc92984e6056ce5276a8402e6ccbfc0d98398b625207f722c2a8ad01023f426b475ec1f83fa27d67d28318461b27aaeac0c0a7c8ad5df2c5b90f206027dd348d76785ad80c3a5063241bc3a8f828a7bb37e8c40f3589a6d9db112048c094cfdb4149b070997ad49f7a01d43f77a5ce1812c6db6e18408880df3bd9d1a4d930b44dfd0b0f789792f0783facac939d1cea5b985fa3184fe92f25ce911aa3bdd2aa9f603e359944d8b297213fddc4441f97a4ddbb68e7bc4fa184901cbe3be5f7f79050189515aed681a3751f45a9dd847dfd80c64d3826e3f8aa95c5d3d5e2c6e6bf2683e009ca8ad3d4c79d9d7905395149704373cc320c76c8a13ec93e85cccb729a1fca0907a2c8bbf3a63b50f9bc994415d3b12a8e0848ee083b80002f172c497032c4140f7f5c51bd161f9cf545a3a7a8297712c5dc5e8b8064a2652c19254c257cc6441ba9dc4b000b228be2e8006695b8ffc39694909fe37e71e1aafd1855c7d0f6c9c11c7b18ea8b360ae73569e676d9528c3a5f2f22126c75f98b67b58065ce23a9a5d2fb5cbf748828d54b3b2d2219e4d25aeb7a168b2c18b837a8edb26d1d92aaff6477edf6e738448790ff2cbe941435c3277fb9beeed10b78f82c7a1534a6d683899123c319dcc7697b29966019c96d8ee8648a1d202ea21915b5a75317a811bbd1808258b959ad30bbd72d8f805e14a7b23c9af9505dc7dc6641fdfdac85cf068c31d0eb8eb1c8aeeae51071f6f4a15e175f73331567b5029f4cea7ace6c4cfcc5930a93d016990bc8fa2fe204a1e46bf2a45e31277a19596fea45b97827ea709fb953e86aa9e413ef911db3def4793540f6ad781dc3cf60343977560018dff35dfaee5345f632105faedf84051e5a8cb86f960416c61912a4fcec8cc73280cd04e9072aa280628e2a33df79c4a47bfbadfeaa7d97dbaedba50e77b31aa94d422c10899e892e7380747792a62e9286e8f0bf479e8c79a9d85d130bdc83d63a53765a4421dc45df435f3f8e197fff7a941f91259c388b187e120d21f5535f70e0d389d4c0c2247422b8bd1a9f6eefd1d3ca60ddcd28c9f2477ba221b50b7321dc0565dedff764e9d285be1a605ff1de99f018f3c981f3f188a633aab1314b03d6cac08d354def300dc5dd6c3e8ac2155deaedaab71242c34e57aa51081c45165352c03b02673f1e0951bd5e807c52f7085ad37853bdd3efb98eac8b2e53cc20fabdb118fa4cbce5036ffec306e930565f4626d1ff4495436e6d0dfead4145e72ccd0a45384c771cdf27ce1416a03d1d2eeecb0bc57a1c45366eb800f969a39f72a6b9c15b085d203fa83bd700f6b5a9f43c470c47806e16c6aed936a19135b5552e0e6d4cb00216c3a8ec6b28632eb696b91bcab29314af0bbb1670dd59e92cf5ba662abb0626e0f31e5c6b691b34ed36dccf2760496eb1ce47bec198baa79c170f8bbd5bf5c41275aad9dfee437aa471a5508a2b2bdd3bb609fd856a306c77e5e260e5650095c9132ea27617c431631c2a21fb05c59ffb5451cde79450b7dededf498a03a2a7c0a9bc703ac9eb8a6337c4b5126deda189089706bf33b7522b567d9d602b1bfaead6fb71d526969d31976d5d4772a3ab9f1c713516654496844000d55114149a969e8c7ab4315cb07302b3e8680b705cd855d75acf02c4e09c9080b4ba82f464297fb5f8329ef60cfc3b711ed05d2a8d9a860efa67aba1b8007a1f935161f9a3334ce9cd0ffdc51edc085d8d3d4b1f8eecb8152d716371ea5f4f3fa0ba87011df476bfe2657baf4154308f9fd58e59e43d49742cdf340a80e5766dff3fefe117742151158cd55179b6707970c832c63db84a3a21fa54cbddd0df15684abd72caa86d8c2b872d7e655d089cca9ed2b72d46b01730eeebb593a7d45929c613ad9b835595691023932ce59ceae6a1bab943410315a507ff28c6de5050fa3f09c2a0b6047f1076d97aadcd1d45484deeb73002926ab5f0b91b786ab2dca2aed579fb3a4079855d91b3d03d785e7beaeb67a6597ea4d447a37d663212990fb52c3ad21286487d2442b074c2b2d323934704a6575a3b4137046ad20f8f525f3e9691b153314efa5abd062644b8c40f1799fe42961695b5e4d9c5ad6f77357b50043e82e3ed5bbc40bcb885dee76689d00666455539bb0b3744c98dc391e99f196fc3841451fe6ba2a0cd8adcb2896951f596df0f2a76a0e2eab73c251f6ce825e43be3cc65fc258af51f9483deed50a692894bc6d4fb12f91e7183c6f549ddc7ecd4bd7a644f33743d356becddcca9be56fb0fd94f92298b80019609b5e44b64bca7145b4efe0759bea1b16b8ea73b80a7fd0737aa4f49dfbc54aa19ca1ec24a5c976224e59eb1b957b7c26a3e8e487494eeebdda2e8fb223f4bd8f40ce0b829e60b549b44984d7ba9e05cf53c2a199aa0c9a08eb29dce27303770ad7825cf1a6cf345d8947722c3f7e28321344e2dc54587641ae16afeaba2d73fcb6d7f05f5426a3f3619f62cc6280cad5d49c0f75eae195d1282cb78e83c85c6d58eb1246628d7a0a8f8d608594180ca4080b321533d6caffe9741d409aa48f9c3aeb7666d0d55a786bc5ef7e1729e8fbd48ca0d2aa739e88cb5fa622bcd6d217be57444fa2bce33ce1a7eab2d90eee45f56cbe8368a8135150aae0eb45a60779fd783321ebda9f4c763e561abfd24618e20481a673f252e88ce14745ec03aa10fac471d54e4a541ee406bb84053a40cea93e4753cb897974cc26e79670b3e9f11077eb17515d158a22b5e0d5c3407e0f426e75b628aa83a8069322224fb74383ea6f7677de3c863f1f4644aeeab9eb6a88038e8916e68d85515da6bc87a25ff40eb6c43db1dff6b9a5e027722afbb6478689dedd20efdf276836130d53f5822eccaa9c9fa072b7a4648d32225ebe30649e53caf3a8b4c504b23a786d045a1c55abe4ea1f48f5d10e23ade23de2812820360957fb00f04fb81b589973f2ccfd25d4aa770cf06ba8d875b5d330882057474f7b162924e769dd8bdafe761e7c0df39bc93e2b1e01f15ddfe285d119e1a3b010aad902f3d4bdc2f05406927765883ffe07f8bce6912c4dc5d62abceef0a65d073f0e21bb214203a0b03c64867ec199d745b31057201cb0a658fbaf66cafafd9c8e3e220075565ba8628dd5a02db1746f1c6c4a5a3faf3d85d259ae14da0c2bc7414d7e56089ae290284c572a6080284397015c074fdd966107ba62ff5760c13b5f68f9400fe86ae27d0678c184dd267bbb90f093d8cf29e48f380e5f6c0bf72c162ebd826a0191fc25b2e9ea1057b9b62ecf5dc5977a8f513f6c5a53e6bd89b378a4fb6edea2bfd6a67a8559cae4c60b72fd2e3413a30c12c03bc3fbef341eb4558bcedc4106bd1d73df6423f2a400ca1a24d848e3b8462a1190224b50652ec1b9a3110c8f819b487a4429a59b8b9be8cf39b98cd934d4bb4c65213defdf3083885bf517cd1f9ca9c20de5a6ebf41c968a3b806cfed4821435871cceb17ea09d8ee12964987ed5dad97aa574353ef11d1870307e55be934fbecabc3cb3d915562c0dddffc74d217eab70e911fca525016b64f8e033fffe5b268d9d5a295763a7f4affadc0d9dd0f0950fe042c4f4200e51fb0058ed35be9d008d36d83181a3fd647e66bbd574c8b815a60e1c7bc25857f7881b21a1b5b5b843a26a7f560f7d12ddccd1bd69b77bfe6384abfc3b6b59ad7a7038a7bcdb43d3cc0011511054710c56614cecb18a633a424ce4bc4b698d99093d673055c6372c672bb69b2a73e2733e49e7122de2f1b8d56b62673c4c7673f9fc5c589c4ee5f19cc18cee9e16760c3f0989b04401a1f70ab6e7c8b0060e0797fc5506acc4678717e1d803756100000d14db83a4881992e677773ceb48cae52000000\";\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(\"Botowl\", 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 [\"Robot owl\", \"Robot owl\", \"Robot owl\", \"Robot owl\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Circuit wings\", \"Circuit wings\", \"Circuit wings\", \"Circuit wings\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Teal orange rim light\", \"Teal orange rim light\", \"Teal orange rim light\", \"Teal orange rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Server room\", \"Server room\", \"Server room\", \"Server room\"];\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\":\"Botowl #', id.toString(),\n            '\",\"description\":\"Botowl is 6611 Friendly white robot owl with glowing blue eyes and circuit wings in a server room. 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\":\"Botowl\",\"description\":\"Botowl is 6611 Friendly white robot owl with glowing blue eyes and circuit wings in a server room. 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":"58047560","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-02T06:57:39Z","match":"exact_match","chainId":"56","address":"0x6d872ADE6F8Ff1681a89989772aA5941574bFF90"}