{"sources":{"Jupibear.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: Jupibear.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Jupibear - 1155 Jupiter striped bear cub astronaut with a red storm cheek floating before giant Jupiter for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 315 free pool lasts (gas only).\n/// Every other mint costs 0.00005 BNB. Max 50 per wallet, 1155 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 Jupibear is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 1155;\n    uint256 public constant FREE_SUPPLY = 315;\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(\"Jupibear\", \"JUPIBEAR\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"52494646023f00005745425056503820f63e00009061019d012a900190013ec154a24d27a4a325aaf37cb8f018094d8c2ce71cbe984fc18e41d4037829ebb43ae1bf1f55ac6bf48cf4fad1dd9ff5f488c71fa6b052ff4b351ea57090f4ebf76631c4bd55e667e45d8ef6cc9c115d70b7c07715bc2fd10e5d5d0d0edbe1428cf1e083d661590f2fcd7904965af17dfc787329f0bf63581a5575b693479a54bf40dfefb5b36e7b903630531fcb7896435c4978fd922cb5939cde26fd17326e0faea7adbc0f2fb6db17620e46dd0d4fd5e7328b1392c65abc30eed853b70fbe92eb0782765219eb1a107c0cefe8b33340598929e846673ea920d45cce39375f80750e4dc92032e0a7734d7e627e04552733f3f13a0785b2be1c6f2477667895fffcadb93dff855b3717a8709cc4b67a1deb7e6808530ee55e52e21e555a5cea74639f2fccf008542f0bda8d7af9b6ae662c5fef3977bd76b9c93972c8d1bb16f7158184ef94be9ad84e18aa93005f05b818eec0cb11342d4921a4891844aded2ae6fb2beb1e0c690ec19895bfa3a94115f81df872fccb1274d39120182c5e9169f1dc25d7be942739c281d2ccdccf4c74e81cb00c3ed27f4fa190e58f36cdfc46878cd72761df975a660219e9a1220f9ee647b655d94e9e2d807d800571363a5b57b7d337f2243f02296a2f22a462677e0074f7f01f135366ae36136e61fa9e7c2aedbbeae58b559bc3223b17f30e1a10baa5f30e97748ce3946d87a046e96394c7161d1d8d3c2f85fe285994bd0d8d503b6dcfd344f5139ed667f8b89b4a5c631b7942a2a37375c945e287e6819a2d7beb01214e55decdb5eb623fb25567e503aec21733c262e31a502cef646b469e58d7c2e213f9e996f67f5ee6182d31ce250a4104c7b4b811d9660a14756d46d7e5787344c8a5d4f4572e3f647b7fa3e08c837dbd17ff989dfac41504f12972d72ffa9a7ac71723825dab55f14d61f03d970a4bbe57d201476afd293ff51b3924184291639e597bb001956522d0c5fe8b0b38869f041440d083ddd68d724b3af348a49d632a674ad53362047e77574bfbb5d7b3d15824f8c02a10bf4af4d5373492b420e1ea31ddea37214290f1eee24997d97b501797bb9fc8d6f94f361b4dfe9c8d69c9a8e14520f974a803e2e5e826aa1214cd98e2677dd645b81179ef0de744b939c8da6eefa6206b0b8a08e899461e54d026bc5a3ad8d27829cc90dbfae4fa9d4d647b90d8e17c2072b3b146ae53a472871314a117e4fb82fc072d78074ec64128cea02b1a823215d9d2680725517506e371cd0feb637e2c8e2fc3edf4aca4365abfd13da175922461a71d215d830a0ca8e7c87501b8bcb002cfbd597905ed0ad49a1c2578cecc53c63a2dbbf937f0beabd0aa0c3d4614839035b9bdb1597b1bed4bc09dbb7873b256ed82ba70cef52c2850e1dacbfdb5cb3e1416f276f00a219397308fe6ab448ebee641dd75cd940463809eb563f6f9de481cdc13c0c9ed0b444fa68974d1214aecbfb245f013a1f6d036d8863c8b95ff254848fd44b74568ae6d2d432288506e60e1e32039783c2e0768ac44c31e8533f204346b62fdb901515a13cb42d81d6341fbb05558f85f56110d336de73b9f277837eb77fc9d893b2451992cc01865de07d7baab742fc4a37e96d552a5bdad71274ffd4fcf68d8ba1ccc3255999a5a068d208a65644bd1d3f635c67b07a79b112e8147531462a7c16d21b2b7ba9648cdd234a43598cd5d9311db022d5b8df30390960d9c26cdd5a6594fd8440a1de4cb3c5c4ae5c0bfa762d698c621dbd74732442c1bb87626b0510cc652fe64adbcbfc4ee2bc30c30e7317f3d5e77e7944959890e41c333290f45da23a81f0862137de1440fe6c922aa146907018949cdffb61e378f7b83fa4cd231e90517ddd4064c8a787662f70a4966eeb7cc33d32dc31422df3d187a169679b4a9b53df5b8a07f6dd84ef8c732c2fefb1a5b157dfe6820c33dc565f902f47b614f25f61e3b183e8e83b44d75b019e826a13aaafa77b5db9019aa102b1c5ccf5d8470adec30c657b84ac170322c190090c07655cac4defc47277b39abf3aa9b58d891961459ff687dece61877125dce17b016ad9dc2b9ae0dd5751c42a5231b6a60af7f696760b8f22bbc1859dd1c1135bcf906f25d011609bb67ccb3073eefc935a89334da588490a0bebaac9457f96337f5891c2ae094c8a6892b94327870edc5ec123e6b33df7f218667e48abbd36cd4188fbc0d597ac04204a036acb235a9b9e07c22198fbdc181b9cae20666b1147625cd3fc0ff06113506d3f7a030c3e0f5f859a8801f3a49af32a62f94962ee56acca58788fb51224fdf5964888ad2d12c1d1b5e17365c6a3a801b2d58018071d7a4125d405e2d23a0a4e1b1a5501ebe514567e3d23db9657342ade8094f0fa62d2fe85bfa8bb97a7584649236ad86d7410eebe48b805c6aaa26a3518b17927dc15a48bebf03b874b655042be85b91575884c78701356a16ca2c915b4f1525a5afd8d7010c8760eb160b47b1fdfb1ce54580e2f6dcaaa89b2026bbcc6d4ecd9fc5903816cfde3ece9e2520d64c2677a016e33d543c8227475cbb74ee5bedb1c53eef5c6f68cc3b6024c1296f5df64679fa8ee341a0bd0968597019d7af9605897f5059c1aa74bab94d725d69e9905d2fc373e19a3a7f41208cbdb5dcd35a645cfd29bd23b951943d6ed90409f8f9d7b46bdafeaa5c5f75833edd38f2612b1ec5770ec03dc9605dffdc0480f2a5ce0e0a9fec732efaf20f7e1fd184747a83e9674ad13c0045e9ee6d6c7eb0652bd85d44ddd8197d305df3ab2fc73f4dc8771ba53058096c6f1628cc843740d5e1707e51c046126056561295bf4a8f12bd67a42c82e27cb8cc16e6c8d788259d7bd7fb39283e364f1374257d704d449f553d9ff727e63ecffa0045213c00dbfa42e46123a614a773ca267699aa3430f5dcff58d59ce01b843ef4e00ed49c29bef3ffae58a55145a63797373f0b265d9188851d5697ad18e9468a3fc0d35441cfd5201f60e7c8871ffe718cf04a214e03c05d9e33029d2830ca4051fda6e07154268e4d69f3820ea32bd051cb6120faca14edeb18e4d331eaa832bdb2f627fa7074e1eeabf3d47791c284d3948423e1a49f7f411c0ef558d486cdd05b715e42993c8dd7ab3c23a1cfca12b93b0da9d79078a8a999a455671c782f55e9e23fc8bb4ef8f57c63151d4c10a5f54e47b42f23cccbeee28d74c3c69c01b2f78e3a0e1df803ecedb6838c7f0b0e23d4a3d0d1a2656563e15ed4bd55539d549658611f1db22ccb628328f82362a2539b3dd0c398c28ffaacf07b30af773bf8003d91d70d07a78d4cfd591b66506353ad9c5ee8db96afe0dd2618bcc5b91a8965131f07843c9957f65dd6900c69e89363605e1ab77d99dbae7af9e69d7148e4aae6f70e4b22a1e54d6d61ac193617e1404d5e59bb6daa5aeb88ec4dd81ea40025d0e037c4b4dee3c9aa15444136fcdb8fe7fdbeaa1f850941d4f60a4643647552fc2b1d60a68963c9868a83ba20660fea22317c2458219f4cf1a115b736e196b1871e78377d5004b97e06a77c8dc9b5a3c1d2701c8d0a515fe1a3ff5e49983e4d3a31856c98a8f8eeb99fee95c6a2c596b31c53ffd7d1e6833a361d838fb75a27a37f0a89029c05d96aafdf15bfe00814a06fe3c309aa31dbb5844013da1c2904750520b772bdf389e2751edea6a4486edeb19346a35c612d9cbabc5f9f8ba3f4c74b73c4d74e12eb83d7fe9e59d2db35ae8464e0599da186092e07980ad0d105d7060fa9e7d1002e14893b57a51cb72e0b9c0d85c08d04c50ec1cff4a5c738e6d168c3c08212263d06d6bd8bc93d0034c424b3f21e106b6c2304cca2e148d92b77b3ec79832e515ce04589b6d959f0dfa9884d4b508eb77c27a5edbb9d9f9e32843eebf1d3ba1432f1cfd35891954c516ac2f3e0e37477ad266a8ae7f154ff0587e4cc5a16d673c035c4e795a726884e619c9a37525b449016fa5f3345dd580000fed757d0915a929bd037f25aa438b92a797ce56ab4c7d8c113901e039684f1a963239bdbb481e79f0c9ce72ab0659ef6c2cb24ec17365a170cfc5d37309271e44b80a5bf088b18a8afdf825a0beae6ce49be46394cd81d402532cfd8101776cd858ae2a4018fb278ef6dc56256bece38d43e21e8944bd250c98579446db6014346b56410c01839413efb133226c06c4b41da4e6f2cb226a1159fe8993a2301477d0d69df44927d227c14b073469370831a442df1bc97259bddd40f483fb160ea0e1b822a83d034ceb8f2e32f2d2ba582680bf9b722318da1d2e5dac487ecd3bef1a30bcfb2e9c0cd325d3636f4124d5a9f150f2c3477b7b1e41f82bf5d82045af1c29bc05992e4ab501ac64fab27b436b108aae015387da1762091f56ef8cc2bbfdfae1d64b8ea01e14d69f93b3815b64da4ae1b8dd161ce7a6677447c3a548fd9900870a30dbbac04098f71b85acfeae73d3d8da738f2c522247fb4fcfcb34c775f53ecfb1a9c8628a8c2469bac581c382f6837a17027a64328592b7a57260c0a9b84ee50fd76fc1560f9c3ae9e65e6a87f7c0222f89f1417e6bc07adcb75e2e887011e39cb69caed2059d13ef413968a90fa2e0f32b8bc04141b0c198dfab37de44edfdb4c7ef8c83d6df67cdf836bb1ed090c0b64f4f88bce5c2fc3dc02a8713f9d01e3e91f23ea4b810711e0a292bdb7544a6bd2595186cdb6366bfe5b3dacb65c041248805e050ae6049b3bc80a2e1f5bcbbc94b8793b8b006bc2c292200ef7ede41cf4c6eb95897fa3cfc974747ce2c63e92ac4b31e019ed40004d680c6485b7f654bb325dc7d782d242504b7fc11b1f403d9f9701463e470557ad43ca0fdf9590afa0d14ef0a162b818cc7036f39fdec7fb4ade773d92a3f1de226b938b06763458a5860a500ba1411fa6b9bbe30a96ef4dbf0aec91a37624dd9e0a25768e548f26b9223890ca38bfbc8401cfc77a9cb5f708638ebf59478a546e0ccad9b1faee7dda6ead79a4dd60f8af729ee0d7eeff6b6bb12bcb22c7fe4266029ccd16b3b7a4bbe382593e4af7676345ec6bf21369638f295e755654890efa48290a4c35e6ad3b5802cccb122bf568e1a2ececa14e082d348c285372a6c9d3aa65e3ab67040bd7948724c61c79b75df3022e1ef3ed05bd6c5620011ffc49df36f7ac45b8f42a97c2f3f958bf26fed83285dba5f20c4e7e25332818ba702db405258e01f1267bd8871ad11b0f2371166ec7d43db50432d0da5c2a0c672e93988d5d76c4ecf0b3bccd8e8338aa61f07564b9d17ca9ea7564e9cba5423c4f11c8de988060a1f55309695297a75054a8c184620f2a420344de516034526772d6722c30b4564f13d07b21edb78d6e99789df936aba5bc83875208b173a1c33ee1d10ae794f812cb22b52174487aad28ba7a9193ecb620781ea6c9926975742a0c4b59499e84c8252532ca311c66ce1dfe4d645a3bc133b96ad2c99486f47d267d16486ddd9dd067443602cfd1242bf02ac8f9269583d89f5e8f78c1acc0ac0fc96495f241b8837ed7226660a56dfe4250bd917d3eca7229ea8f10510f098a0e842f2de713ec3c401c25f6eb045db135d070945bf083484adb4561be1a3df6102e241794c1a485471999eccb506901131b0818d7997898d9b6b2828c700b91f32dd85ba2ae801e46937ced44240dcaf03ee94e63b1c22c18fc850adde4fc126832efa84af58b3f65e3211b362a287dbbc74249554bc334b3ca3735349fa638b85332bc234a70a03f94d00ca7e56a0e0c195fbc6999435d8cbb155f4ce0b6d2cd109b394838fed239f6efd52de958ac13bf2775118b2adec94a04e58d0004afdb141cf21a785de0d3f382f1c301c646e731bc3ffb9a9ca6934b8729552a15972432b662cdb6663e6dc26e9d260bc00b8b15b312b77ac1fb2603339b3fc1b325d0c66783f409df294b7f0929980c9b7d85f2a3e8c527953d866407403bdc32cc91db7c5d4077bd3f613cdff2a7e6858416451b46ac7e31136dc18545cbb32e486dcaa7e54baa6918782f3d0b43ce6bcc108db525d108e3fac512dbe916ee8b757bddc21158d4d3555da0620b19e45a9ef6909370ba3414806b53c9afc200188bcdabfb08bcfaf7424185de43ae8b1cc720836a30a4eae3d213fc8b0b3aeab86b3df763ad5b7248525918f55100b6aaac6871911a3686ee176a48c2a28f3e12875bc9e6ebf7e10ede9618d8e6732bd9aad91883d7b8f35627eafb0026860e71d67f25f137078818c06c956e8e6bf896f27534ba164fa77a5f0792324233901e15c4fd09ce744b4d9ec515a95c893da0af3f88c81ee0b937ba34d711acfd4cc0875a15220ba7f847e0d46e45dde447be1f267202303e20cbfcebd7b8a679d914496efd003f8a346fc95090868421ec5011f7ca36df1db38cd9aaf3904df00ceb88aa9fbc7556185b22acd91448278324e14f1e8fbf4f2246ac7116b33014911d9d007460cf2277256cf41f78b4cec1e3cf530959b3068730de94832ed4e9c297b861937a1ceaa0b2d42e17e8910b6ae6fbb488884e209933da0390917f6e22f3959bc51a2e04be0e30387472be2f5ab5f4a836d57c7b28ad8934e409b59c0daa61053a0f7c6f5a508bd7cc4411885df78814957672fd8b842116df8c5be53bc46992258fe927e5286c251a0d413a7d08cefcb68661ffa59aaf46e2cdd49894c4a86d4ba79066a06087c716cf03ea8da891e36607f7538408a925df685030e29ac6793647ba43e0503be14e86de7bd707f4b475edd02f0319df19f65d0e432814665369a95674441c8bcef601dd6bebcddb5cadc4ad1af069956bc226edb1ae8bd44a0836cf661d987cd7daee4e343ef4afdbf8be0ccc69b1b7f3a1f41d1821e20203b8b17928005c02c77608ae6a3ca9b16ffc2217d990312bf70a4deecbe6bb846e0755180efc85d5c403c2d2b931c618171b662c40acefc4d3527467de3e3ceeafd32acd484c4538f3c2bcd5d949f869f118a370c3f35de17155f56834791d3b4df61b1078719859422b576e85831265de0b9530e7c10e76d6b9130e6f9e7bb333b53a4393357c859b8cd1fd40b974a4b1bb8cb977b585b4e1a48578ad97e685807c009eda419f5f036390e602f102369bf14caabbde49f64e3ecf2b82167b83a0ff31f0210cee32f7e66b5896a2f40175080e8c2a84a8a58c1b3bb9fe03eb46e39bde97ae028887a573a71da28c2948e9353539eb40393054fe769e65711778d6ac0c8d388ce1e5e2fd4df2bfa02377667dbc52725e2c841072a3688bd6786063a15b69cdf1d6c2f9ca146f1fe361139424f93d5a9792b93587ae820bb574ae1fdc8c46ccc8a1c9e22f5c76d932c3fd2aaa8f206a0dfe3258caf418dc1b28b726129b730dd2ad4f02b008ec21fe9273ab7e8da1013808a4ba7a394a9f1e84773d56ec5185eec808b1016be60d948203fea8186ff8bc9706552435a8ec25b34f4750a3ba2ce6fd92b932d4045db5b7c884667f1c087e03fb25b2032954b6e57df703e5e95f1b468100570de0626d8c3d96ea38dc156fbda8d87c839c1510ecfbd3d7da26ac84e9b41a0ac32c96bae50eccafb9507e5de06f75c0b641fc0bdc44c055d3e666b7959bb3c7757a10b647122dd00312e1b55bc7b9bbbdbed463eb967ef34e202d4d3f8e3db20fe58d84a177870a8d6bb22a74be4e7e182d629fba33cba80143fb514699153fb27f11cae968b2bb16fe0d942a4b665f9deeae78ad51e19d10da5e187f7923f05dfa68b6a7aaa4ee758631880e5e95d808bf2eb6b255bf09743a9cc79a5c3a95d869fb5727e2a51e96e1da94c72fa56f05ba9a198fb5be1324144de0b201f241de0bbdf23cdc4980a9e5f099731194ca9bfdfcc11a566f0c6d6c37f889c115dd29e5d039cb72921ea4c6976252f582b760fb2bae513f2406f489e9714e84e9ea8b4bf993dc3d28011ed44dcae95e90fe2589059a14fc4b107f1fd7a0d11d3fba9b3beca301dc8b490156c8f092c28b1d3eb40a513152782541a47bc0fd81afcc7b0e120a1c0d70d7c51e950b68c2a1fe92f19e48655a4526f510923cb17fd4701a363d56bd8188af5b7d1526b5c577fb04a2f82504970a81e0769731a91e1114314e76c1f396b67063b18255df98b04026d90481df8c65eb68ea3c4caab38c1d5e3ee352c0cdbf08aa11edf748c137c90ecce6af8e98853715ce9fe46eba6c5f7f997887f98dae21a0fdc4526d917bf46f3937b9e7bdb765b3da6f1144950f7d7971233966d65d51212da52f49302a43c2d2de9b260c78f83549ef558eebf128cb400a75a6df3870d9e289ca078967393d9a2cbf8795819de245395c5e9e764f91da0419bb444ec6f929edb347c42098e739f2ad0ea5847e89411bc95707320ae38cc1ceb987caca1b5706ad18b60fd2c4d3951dd9854df37b0b383c9994a3536d0a0e2a2eee0f20019a76d7b0d215c01936ddb579460766768f0fe49c2593ba2e10ea738197bf09462e800a151e77f7ed82b73a4d666a10cc3fa96959ce4e5814e67c991fa427d51f6b363e9f44e3efe394bd8c6d2436d3cd076e6c80c324b5b4d56e681fe7c7a4fdc81618e3fd668c8fc30259bfb30c090145e287471297ba2a70ad39f1f76b91a66f794faff814d0988f6d563d2ccf7341602c5001e11d7ec210bdab9f09825812be44c74afc7c34f09e91ba2d69edf2d1c60a111fbcb507a1ca68d74e0a9ea8fbb2d347baef39913ed230fac27099dba0161933ce19b1dfd2c97dc1b84b1b7378000ec1dbf1fb352f166e984456b9d2913a24c466cb1d3bef70e6e60e6d8765b400d401060838354a42d7cf70e23d81608aa1b9b64396bd58c1e28239ecd71f2d8f8f8fec478bd845a5a781ad9036ebc78608ec4bb7d71d83e343bfa5a5d8f827174b46cd40fe4a658c635455a0bf7f5b74e7936249b7c93193e80e2133c47581b9052937e2096cd34595b0a3cd18aab64db82543b1d0c7dc33a424bec3d2a0fa89b6ce197fe9cf2c20f4f6c0334643f7c4848b315dd3a1ed02e4647072a4c3d6ec8fcea4f4fce933b866edb6509ae3a8abd99c5993e31595a701ee5c751899336caedbf9024b79325771f32ee60fd64fbd3d0207e396fbe2fd921056daea7a2bad1218ce7f6fc4abb83788e29ef3814b0011e87ce645ca1fe7a33743ebc1674b53c31c405aa6dd7901ab836e5a5513e742faed4bc2c3ef22195619b733898ee85d602d9c33046f426a38411fbfde684e1776c5749379b5fd25a97d477df9a9db514dcf984d39418d6c04379fed9e1b7c2a7fcf1a26c46742a5449f83b1035008052a3532b83f69231386ededb17919dcf866b40f324788e6229759d9f202cabacef94eb43d79aa45bda078a577a5c895426c010ab6c13e8dd3da1c0eccaf762e08bd525e885e12919e9292f89fb2ecffd18737691ca6ab8a42fcbd96d603785385c50a897950e3b012ca8362887b1c617b83ab8b84ef192c878a21e5b225b0d2d152d7deca2eb2c8a51bbb8616357e65551a40335d1bb92e97ff73205b17fb6008f2d5c8d1331e7359e6328b4f89935c19347db798c63cfd41006f8f33b311970d3a2ecbbcb3a74416924c74474310398a6a6fd824535fb2f77c34d3421d164d90743c47e41a804ce81f7e939dfd788579560d917b70f7c7f662a670fca5d78b67ac3fd6fbf36ae365b2f03d7515ae8c8870fa0dec4ad6a958d52c1531bc2dc73aa60ee8335cea45569ca49aada0e7eba8eb7d4d81943a021eee7f0506fafd5c85800f2ab66795c045e4523413efcf4dc7c19cb8219d6f75e33e4e728b6dca58dd15701220d2aa379c2ce20508c6b0d5c0c20276f82d2ebddb389da15f0211a7daca2fceb3e44d71d1b133d3d3fa0880d24e2ee3da1746aaaa1be21cab11d53f9986b9e2267ba3f1a49447937a1a43aa7af120c5d2fca0379fa4ae0d4f30aafc6a77ba8b24dff49c6cfd3ddab4d0a5b981e43659d4610f6bbfdb2900df751349d2da805afba06713451b8985c9ecc574b03a96121747bc9be5b57baa323cc9fceb6d5233fa5ebbd8e48c257c1ef527a08322c3d5ac968d51edd58f89162f6c8a5ac4d70489b29733379dc8c08669f1700d044f3cfa1a7b3e584ed49b33c0405caf28ee40c9a8b0f11022aec727f87d4a70090aeed996755f0c96bdc5444c5dfd590634b435a2d0aaef67c5d0ee4f505ecefc2a03c0c56ea2b5e38ed3bc76cfd909dd3764a8ddc7672e65c03e8724e932abd3c4a476e64b15b7ada1935efecd1487cab50fc63ca7598c4b7d45e891432033baf120d3b4dd34722aa13e37a0a3b44dea0d44e5d511cab5823a65ae5d780643f0286093085e00c0dac8e6e37d273ea143384ca65dc68c91e2fb2abe6c9decab2d88bdcf3a95a8e99ba0dc087cfc01c3d2fc70de685940a86d2b35a2858cdf4f80a4f77b0449f0b10d0cdf5739be0bb8b598426d39a1ce28a11fa8f50feeef983f72fdd4fd601e735042285682a3bdeb70f443dbc1a9bec0e3bcbe92a27a98071f266a0147ec2ff3c72e60a458b37a5adea93617369a2be00e3730677a2236ca57e9173f0843fb0128dce8fd9be66c7f4bad5a239d0ae817873ab59c385f009c585476ee45f4ca4e1f3161572f5b1c72a7d1eda59f678a1845effa79f1818a78b4d2418be3b4bf10be981008f1d696da8dd616367278dff8596495ff9ee0a8f2ab1e0a10cc344c7504864a056d408e729156749bce6767493ef1c715b02a9a5ad150e1fb9278ff84fc69aa2bf7302bde97130bab52e8299b76670a01209023d16e130fdc0e0e54bb77ce69fa824fe8979174ddc5b82708bd515ed70241a3e6070037c8ed0d627385363a93cf12c11a567a612164d4ab69a70d24654f8c1303b688185338b95404d96793bb133a741634b3175d8610302ee67d1c08c4fa5f7247051fc3f701b9d63ce100ef1d566285751a1b515ce381f2f48d681359e95190a7722304eadaeea9efb762bcf8eeb7c9f730c9bdfbcce8b0bb25610e8f0ce19c898b8ed075dd652787093dcf61bb97c893eec17ab9eb1bba071e8d1f65e350b57d8ff0e823defd38de65ad70a4546b045b0d1abf925d2039a629460a1ffd6dafbd18c6ba3883d2f302c93d785dca1c1eff4cfee0ad264a460816142be93117869e5e54d7a9f633b5ca01d18ab1697477684030b21e0b83e29d23da6e563049cdc0804c6dc2bc1897a9dd2c4ad1d59ec00b2122a3a84d10aed899efdd9272af5edaa3fdf6622519c27a22ff11812bae09ee81ccb88845a3cce548a5c7086680ec66651e3f6beb19b1bf3651a5bb8e006ade2c91ddf2ea695af4216dd16647ae17510bcaf579c8bbbf7d1e3769f3b2de5e5ddc5455996f652b957b007cfc877d6142e215a7c0d8c9e8a6a8768ac240e1a144683426bffbdde0254229dac617041c1109a81bd2bec76c9c285f2bd8ad0e36c350c09f1b416839dab4733f440c01d6665ee137e04ea855a35be7b1d59092b56265109b9b2371128d06ca3b9354a5f3e3a290b8e83d5d81fb58b2b174fdffe1eca913ba72ab5c1d71846896e11cefd00b2aed47f75d830be403571fe586445cc248227511207c38223621598d36fe1547ad88f5bce56ff035ab675a4e2d6133bb45d44cd3c507ecee817be453590cc85d2364a29e94db200d51c68487a50490410589551fb82475f5a16659ad0072dedb77722fcc9b5f060772f422007f3eeb16cbec86afb12f59e75186ebd1669e941bd7c6dcc0c41fcb930c5305e3649e27724afba15bc099b784ba4e8628bf91bfa835e083fccbc1783ba83a1c0a8922447941530d60bf7d8efed40a9f46fbf3c20aa57d986650b9fb06ada6832577d54e166998858ad4999439e285c4e16efb926c8260f0de93a53321a4f115cf42c224393dd1386de25a1a6469a7df10c0ff01c77ac92ad92a2a1fa32d9309348c87b1f958a31ad54af45da58861d796ad5e59236866c8932a19aaad0726e70285232dd13c5dba29f288d5076fd588df5f4f25f2d38c270e471cee3901d864d0305d8cb5d8ae383f810fab724a8bd8884312f949f04e52396131ff96f9aa7e4ff17ed6acc4626fd07dc8e5f59f8b24a97f096ba36119b1373472296bf1f854dc2f1dd3665242c2663b901a9fcb0cabd804a4659fffc6a22d0287520a2512a25847ba9c20c1edd9e49c6d1b8dfb7206d294e784a119a0327a88261789a257bd25cf85d792012affeb3e646a5d8ba642ce958434128f6dd05bc362f8b97504930612484cbeaf5c0c35de7cffca95c0067e1ab8b182fa691b3afa5963b08748477ea5532b51b6b7c29e4793efd873cb2a066c4aad87e4b19e8e773d904892325206754f56a0ea8b3e010a658a66e58f2bb60fad0fbd4c52ecb3960f647c2f2e8700e60185ee49a5e0e9397ea29c8adb9f091a6196922c6b1fa386907a230732ebac7525f2a4a541ea5966a9be9def48f24febebe0bec3d3db7e13b3a7e0e190ff2593e14444ddecd77a9efa9639d72227b28f44e3ae17d03b73a942977aca5c30d96c9a61dbf920354aa9fefd31b916cec58e1d335af3ae2d21ee0cac551d94dbe84d1d383f035ce676d3fc16c767f897ddae5494a78b4afbd4abfe8b70f934362749ddcf71fa27d8a38862d99147b4ef964ee3ba62a432842c3075ce6dc355a23a44a532b29098c6c0aa861d24367d0230e8551a1171a92577ca8c80db1801075e9e630cb459648c0795fb11d93ff38e568d2b8d7f4a209290d3445ce532cfebcffc5924602eaef93f47c2bd062a5074668d0373789e9b9bda34421b9b9c217e891dd0ad9a9515c028cd7d4d473ab98c30abc4a68ad60f03a5d633392d142489c0998ac77e699959cefb31a5db40e13cf48b3338b42925e08e517258eb4bccb06fb4cf071f34bc57f817ce190501595b57ee744f148356f7591f7067888bc80bc92645ecf09d6eac094d2c7f1d20a02babb6d0cb80c12d5f962d7d3aa574b90160cbeb07e34c1a23e427668e49dfccf8ccd07a8babf1331ce6446b25a7f75752b4542b70f4e9cf84a5afe12851d53def14d1eb6386eeb2ec550f4d50b4e686f705fe1976592a041b5ba876ef3d61429af5fdd2723ee671d6b910d8cde179ff0e7c3cf196ca66c82247e5a2285940adc4ca2d41e6e94ac745f4b7fb886beba984c50f0c5f9e2363628dc5d8eb72921468d935d807f0d1d1ef29cee6e7364f61c5d7603afdfc2e927b549cee5eb2ba4a9102cccf9dfccd52a5c2895515804adcdc4b93b55178d2c459d77e2ac1122f9babb31a97af88c955f67b725a97073d44c9065211b9e4cde6c774ce3d2875030af6287ce7542b3003a78da1058f2b7afcf8484657421da29dbbf26beddc0736cf153dc02eaab563bb36ca76025620a6cbc8c726ccb22478493db3fb7cbffc60a52ff51850fc3b767696603da25d24d5ccffd2e01236feed5952f8752abe48776f7c70f47d55911fb14a0686d045a667abdf20718da4268a9bfb44b7c82ad06ac524deae8af7b79d535ef7ac2d0a0aaa044d86b970aabf3179b3f19e0cac7fa0313c653b9d1b228ddbfc6364eee50857fd4f090e681e4ebba9c9ded50156b1d931a87db6c190b7545b79ae1a8e660a7c49abcf7cc6ed6dd66b055148e96530e58555a7e5c766887d63f11cca858480140079f911c54cb2f15e9395e4f651657c7a83a954d88bd8dc1e09d7bdfcce5775ca98e9dabf79713fd56162e5955db7ae622046b060647b7c83c6eb18d2aaa550f4d938061afcd30cf554d82378a1039626739cd9997ed69c5cf4638cf90a4c7b198e2f48eede525e8d962382bb095e9f971780e6adfde7f53346bfc6d071cb2a2a175a635e2e1fdd7dafb59db743b2df4e9a59d7b843bcb126b42b447b17bc471a0aaf2f496686f3fac316f3780806d263a11ccb7ce5aa53440fe84faa76e42948d089d8d14ec4314bd9e55446a35163d6ff2f496a20746688f6cd0ef11f17a68825593aaef0aafee17f9b0482834de1139fbdb3e8e85cc9786ce0cb5b15c7db6a8bbcd9e459e5a57cd2af1fe254263e1ced89bd25145db73eb6ada4ab8d2a21eba755d8cc3d44ca31075aecdab194b69393f6f65a61e3c5f828893ea7a38845b4c490e149e91b937a03fb3d7d4b0089f9cc86f2e4ff08ca63d7dbab73ba9c924264d3295b5fffa38abb035e957dc8c53ba1487bf77b0338fe461e99bba3f331a1c3376a52ce8505f69135bbd73864e6f5b53f06b78a4bd91ad353e94373def99ab4e55f6840d8b4e127daeb0155aeed0a9f8621dd253271ce0805e0a6e73af03fa0d12218e457a1250d75c1ea27aa74abf522a484e2fc1b91b7132de6be6b9afa3375d14d43722c1b8cfd93371d2afbe5bb6de30eb4225159dccbb1f58897b87d6970797df9eb5f9dbad174206bd7c5b8255ab7889e680dd98ae7b0686b20279b5dcd2c2bfa725bc5112dced34fbe0bcf895866f21942da9c89d08bb3e0bc0c450aba369d55510b8d56c6515b3f7d72eec91a2e7ad0f5606c6c908d64aca2967ca438d565f00d2daa1e5a066d96fc474460ddaf42e5536894d5b853bd0f56292f57b136f85890f7ed0e2a4ef368c4ce64d2addc2cb995003b2b541cdc0be865c1a6ee5c80aa776efc97a7acc0c73e6866884875040827a1ffda39f72f325d186e39499effc39c9fac1db033756ed26add111f48b667457df8c5710fbc429c23d930f80ed5bd9255bda09f53405356a135a0a7358584b60334dd0243db0ad50001fa7b797d2df89fffc479ded2db4201ad99c7b1503fa84a54868a19d6eec740503cb792ee371429b835e9dc2c07ebf63c0258ee77e98883d0ed9e1b3525659de698184f794dfb7e0663f052e8cfaeacd6c6e5b3bc2e432ffde9d519b3583a1ebb53e9fca79aef08e5121dd86dab64158991a09f80e11eedcae865e8fd60502dcc3cf93a9adcf5d5324063e8321ce1040d8bc3dfb4f11fd2e7d1d8bc9f971db582ad1d56cbf190748cb5add69565571360ab9d295659ad08dc4a2f02c7ee979440f4b0c45ef9c5b83a65a80c82e40b7e913fe614a0e239c0f240096489ca8357b75ba77587581dbeb11efd615d54a1ebb7d8e8c81717537f49f91b9357c09f615fe51580410a05711c1a63f0e12cc13337e6f3a829080016158496fdd44f2c6badf3f4addfccc328f85d7848af3f84c52c3024f5027c97caf9b14e92e5526c029ed1ccc25b20ec10eb6250b20255a65b76485c0e833fa52cec9059dc95542ee422cec15a574f6e63daa4a955900e491c484f5f1119bee4ab6ec802b7acc950e4fb2bd0a2dfa81d13ce1c7219a1bc51a1c35edc70da106bce9b2ef964a610e00c8fe5e615258bd22b6bf9f53e94e5307913326185f553dce010768a7b59abc07e057716200acfb510c90f7984ae5dabcf60991fef27e410829b114ee6e3eb7e047308a82cf5c655ba5dbc291a14217d4f842469441b2b17de2662fcd37f2a70fcdeaf6f4c0ed470d4f2db06971c2ae318ba64fd371bfa0172b9d0efda9292fec3f7e67f386ab63191e2e8b822e5caf2fef60d48651d60fb0993bcd4c2402df792b7a171949846525f0db950d7112df0463266f4c730b634c9bffa66c1c0266c48b374f64cdd7297c2f55d305277080786488fd5495f3cb7b5e791a700dfddf983ee83501e1d69a9231f010e9b4613df7a3f858d2a02a288c1fcf15322e4c45fd6f894bd26af2fbf6eda397b341a786bf482c7c4c8f7708947dfe848d95a7844f880407516bd0fcf883a0bff4568763476b0407622bed19718c9dd7b378b65891470aac40999e29f7d9bda563513a3a0fffe33a14c813adac664ff46191da217ca68e24108b074bdc34cacdceed8f1d7fe4181a17ec88f1bb2f09d5d810e21f1c227c4b9280c0249a0e787082e4bd36c9ef66ddf962cd2cd18aab90e2aafba3a91302af0cd261baa4def4f229f14402ed1a8b6d1ca8236ba773e465b4f996037cae6ecfcf1660b61f8ebfa3b7dd0199e434f81b0358d2f2862fd505326eaa27db74dc29dd84e7b80a5bc0efcf27c22daaca06bc2ce37fe3e961142fd83705ec5f5433c47c2e48a40063501097c79ea32f3029146d40782010b1571e7b653b5fce4d4b7633e7946521a24132e4816bda003c8c1941b83cebd686af05bffa73573f67c11ee8c347fee6b6cca4f5597b50768bb96cdef63bcd8cb9a05e11d8c3cfb244d19a2f41af1c55ab50afadbeb2a0b4d506071b65a0d3cc8b1eac1741e5db0029578c46efd994a729093829b609ea4d32c652e3256f315a0235e566af87bc8cd04748866b3c1a6c8076433cd278bb9b07fe7aeeacfce7c822edaaf93ad2c5458315abe670b7db23a9f782f8ad0a4b32b122c7dc2186b0f8a9d1dc702c79732e0cb5bd17765948cb080fc94e52c1b0a7f03a107851a4bdf7bc442ce598a0856213e017116ef96ca7bb3fb44e5fdc74ccb2ac5d642dc1cc1411c86038d5966cc3be034e9ed676ccff0e87b4fde20f93a1021f59148aa0bc8e31457db72a01f7a7715afcfd2877e9a82718010512dfdcc2532c9cbfd2d64bbb8e718a15e35d1a26fc9622981217571f5ef352d97eb36eeb1be031dbcb5fa9f77930e4b275cd975cd69f2a0a18f08b466654043b6697deef853d4ad3a616e279ebb8d3e6e9c77d0abcd9f8632c6f456c82e752f00d56ed7e5f1eba9e7d006b39ab3d04c96942e7664d361746fca5439837703e1f584e6cd5be563a34f8848b855ad88c9dcc9ae6260a29fdc6d5464d28d0f19d2752bf9e37fcc157daf10eb667416efcc57993303f51af7d076d4977ae788933e1130fbdc405bfdb06bf4a5e6201a7ecd04f5cce4b90e12c842a29adc83d7860b5ae51585458da1efd3bb191257b93125cdd5ddefba9b24fe647a6165265f121278a4aea984063fa284183bb92efa5c665ed4bfd2db24be019a964c235695ee5c48b443c25661c40c62b19c40cbef4da93e9a5bca88d09320d1cbb791aa988234ef65b964f49928b8eaa40794d7164ca04aa169563add719a4448e2a095702cafa64095cb93f392736f0686804e7ace5376bb749c4ca90d2a4a5147c642d4bf7af94af8b497c6b95bad766aeac1fa6fa67354ed3d9cda18ed64ec853d5610b9e2773e872cecb0c4254873e62de040d15e645c7dacde2a901971441dde0df8d93597cf14c5224db4077b8fd8de577acef420448a86a6255d38a74b089c796a41ae0180960c89a83a55702738f32b12f42ab604a14ebb85a5aac8b6b99050af5a21a4b4724e03fc7d693a58a4710a46b9dbd87a4bfc8b89dab99a4fe0031c46982d2477691eadb609ddf75b3e826e0985f95dea270963485a4c5278de989abe053be507ba12a8c97a5cc618630a6b7eb31854c4ce33ff49f285e0fa45644d388638aad65461220a149e431a641fb84276a8922b56154b7ec02c6f6115ac77f02ef09063e88f37355a98db0c194b762703b86bbff3ce2e10662a799ab4a2512b5c17914c98b935fb8083162e226ba7bc750ddf2a97d4f1898988b4dac7bececfeb878cbc0ac7f34fd28120d215145afef2fcb1079e7186bd7630750879d9330454ebd61a92f30379f961b89adce6e0f6d89bf2c73ec7d1326a6d6460736c26c815d2e030da6f6a021162b2c13535a9d85dd457bbaf89a42c712f51067a9357ca7acf36f0625cc3936c86044795f46d1a7a321dbdb7384d9a8fa3c008fccfd34428b820baab1d7d30ca7649800fb70249f64bc9378cfadb6fa4c3a53124dd0dd656fe3902ab4dd324afaf174f3f4d0a227421ea197f08512dc3b140c74881c36f5781390983ede34b5e60a14fbb3214bf919ecf68f660ad408d3faef4978ec52d2be9f4b721c19fa861e54d0a6397208fa24f0f8a16189e7bd30613760036f4b533048070621bc6e6a893ec3094b0933298ba966ad25fd5e5d9b6d4d79de353e21a078088435b10601cfae0d68a678725bdcab1bbf88f55d6d20db4d82093d4162725ad41d1095c50fc22e979bfdca1f2671bd5403377a8343035544d51dc408fc24ca3468956e16027e2f14cb1f36c0dffa38665dc828b17a353b2b0a03a2a26f4de694784e19572ebedb9835161cd32f51f897ef17a5ef8a1bccffa6ed24be07e6b3b2564740398c44c4b1858ab2039c12ad6b885704ce8a939185d8f7e3c9165399326e6ea30391ab17cfcac8496dfd54e4460dbeb7d744e6a8cc29c1f5b13c614b33408a0237bc966f860801060b3c13d15e7f191875b306e7a490a6dce20d7b6ee71e5650bc9ffc48e8d83e76d6c9d58e62dbb2b48f7d2e8f01fd95ab529c421e3b7d7971afd2c423ffb54e6823c7e2ffbfb7dc33c3097c1bfdf705d3206eb2c978bf43e172d28bce8a14c93196944f65aa443da75e03c17eedb1331da75a5bb6bd9767e3085ee3076aaefb732d81cb32aa129cc337f96e0414d3ecc02a1fb9ffc1bcac755ace8f52815d29e67574028bb2bea31d90326982b48c5f56f95b3b7b4c49bd3fb89326d35d88459c4f480d7e40db786d2f55eca2db1052f710172048691a2c06c6eb46660940c82c09bd4c727145733e99f1e114305245fc7a74fd68735dfe0755a7c7bb643799d65dc2bfd6a7fd2da5e633ac54fd7e26d92cf745b5d35389ded69b1b558d159e4f503fbee94821feb7573ea0cea42156546d3ff2d33f4cef4b1c8bba08c309edda16ce11bb5cfe359aa5dd8ce936794efbba63cf5fa321c0a3a7c6471e94a5d8acd82f79dacfd2b4907d066eb2d2c16bad851013272d96c04618f7540de09efbf391f38d427c3575b105f3d9c820bd06d55668f1ad556740d5f794d2a08f9982b1a0c8a7bd8d01f9211f9ad6c23d5a8ca8998d787c8c87856067280d8c50bb0c0dcfd7112dc577790f76728a3f74ebd851e4bd35d6097eacb3b6b9546227b97075bb9320c6b83b3818d267e008bd8cc0638e20d5ba915385937d108ea71080318736c48b8478e9fdd338b66197d57b7b4e1d18d8a7af6a593a75f5cdeeb7b937f6d3e8af4b7c2315c8f840d46d52c522f2c731e2ce256ffaa7c6670f08b4123d5de262e7f84921d4817fbd4b0cfe9b75fec5d43b98ce28d77b83bc417e4eec3edd9645b60025ed738875684934a3956d978913c4994cd74544fc46fb0cee3cd2929d93308462342792b52d6c45f12b1316af4786586033495d990c08105303d5a2baa28c7648da6d7d5108839565b9fbe76aca87c21cc32257744e80e73704fd325262adaa5532af52a19ee8ed2c49b159cd4c2ebd957e47f0b6dd214fd181f0bf49fef76e4c9e7c9c54ec1515a7d25580f4868e6887c0b4386fafa5b76e694e80bb443c61d1c7e64a0ed3dbf992b762b02357affeab70604a1276be26879249b38d6cae4aff84aa23383ef4434ca43583495bc652d2e8529a0f127b37a1100a03103424479b43565978206ec50f1de9e9308f0947287191dd5ee3de639ecceb6c5e26d0b5a1b4bc635007e25ef1f167d9205d0b54ac71cf7dbc15a97115c643f47b4060f384bb7bd65623b933cd4d1627e6b1cda09b6c8f07e5fca075eb16b4d1321ed37b789d89ad9280e0e6d76678bb415289916636f69930a1cf6febe566cddbe62b28d9366491da9a4d184d8a393344a76cf2dcdc70d4c9d8569b950dfd306b73bb35ddbfc8ec65f2cfa6df5ec20c49e0e9f0bee0e7e37966d8dee8b20ef60b8d38123cb98cfdb375ba69fcc077140d982d6134bd04dab6053b7980bfa636d19c7debe3739d46ccd733fb430c07da1dc8616780f126853fa7c7aa3d4ca6ad5c47e204cee825b9f69f2034e1cbfa30077e4cc524218b5c8d5daf6290738a5a753f72944be4de226942fdb5ce75b75336be6fdfdb0d2550a92458e05f0e4550bc9b70a8c2b19e64ce691d82091494daeba5f88f7e58e1d2833a8e55b56c26af110c65e8b86695aaf1149549c87ce0434d99835579d1dfdbfe234005f113e397f3f4d5cbcb9ddddff6852f065d0fe915ea96f18b07d57d2754cafdf916caadbe59bc07d7a56ad79300870e2fb9bd48c8dbed4b1b4f91b4a915acbe66f8c56b0cfd0df50f41a8100b68544ba7d98b1dd68cfee81de13cc3848b604db6ee6987f6c9e3e4f294256d5e27272625a14938b92cadb7ddc2713372ac7bfc3bf1c10df1f8d2b140d8e786cf34d475027931a4b151de0a9a0c4bdd6a7e539c1a6b5eea5bd30e2987ab7f3e2ba77e89b1ac7d10263bbeaec6706e89e87fb76e66767b8982876fbf8458611590db4ec898e28e1d68a61f57eb7a9f431acc04c3f4971c2d6658d7de03535ddb2895b9853712f6a0ecce66be9b7075fc1ac4e70d71ef59b5bd0077beadb79141e87c6fb55682855493016d1c4b1cc4a2e26ae4e69d1536a386ea7652f9cc42603f761d40fa6af728da5c25b4d65066f54e3f7aa554ed972150ed9d8f645d960c38d09cd913a26a61a4bdc2982b6b346a56c4a2f997b9f265403b6baf6c1b68d138f662189a00a30d58a2716cba56d25ea68cc56ffb92567078c2f20022fcc68f1121c9e50967d1ccb068857f8925a839b3fb1506e7a698509d9f3c0b254a0fffeec733fc992a40e0587bb198e88fbb4cdbdbe2617ea7c332b89ca2c212b85edb507f43301d64a77aa3d93fad91ff57d83f41aaca6195ef799bcdbed5d1c6af227c38a30702746e041cac75693dda22fa62580c68c16f5a8f7f5ba3db4b1808e2528e2003efbc59d17c6ff6a5cab6aa7624c0287ecb1b9381b6be0566ad3bead3a50a7c0cd6015c2af993de78000d6cb2c8fc75182c781e74c15e79ce3f0121d68d8dd6fd8f1305f5ee133c54e7669ed8e2c579d6dd1b03b5e84b9c780f324c79b2afb902135ab8d3bdfb5d20022bd1557ac79c01147cf3a3f38ee39f8386553ca75c6482a337e675c5673762181b2d85f1fd7a923a2f1d1b88edd926fb14b703ba8d07d3afa286be07d2d9eeaf476be1fd299bade61bb800c53ea428dce3368f9628eff4c0617c7453c918acbdddd4d7f21d21c30ebdd197ba7110397dc5c8d9a9c17c07d290583ad60155fd39f9edac0aefc67e04ebf3a8e2ae928166046f51e501079b0e8996efb0979349bb24f691fccd0a1c0fffa61db6d9285dd0d427d4c679aeee54c496dc7cb2fcc98dc7f1214cbef5203cb689d155205376f7a73be30c42d4a8116a50565de0624579b8054c408796159cb93d37782047a314b695b26e2a5aeef301023f05131600fa153128bd2b20c5696c10b1779b279a6c279ba8e919a49bff6845131e7d0a357333dbccdd2c9ca40c4874776dc6b4ffb39007e23c003c212daa539ae8b1f41b22ab32bbf0b69dee453f4d0761b65dcd503acc8bda9b9771b7095abc0b992a8c129a8798495566aca4b91abc5dbb585aad1981d25e0645be6b88ca5b70d2cb1c2526514b522669a393cdabf0b260f6fb56d492d7a38b56d339eed303f6d1809a71d0009694c9a27660031c95fb6d6e56fed6980f5996fbd58434bf993b55cf1d0c61b943d7a9a39d19c1fea7ec0a7a005f0ca7edf32bd352bdb1a3186c76f7c782f6d866bbe2a3043457d483477e4b18501228c08814720273fe9f4f3d1ffdc579fb2584dbb901c0633bc4f686e2ab8c9c52549bb4e3532f9019782ce86f0f79b1c8df8a87d1123fa2e352a764a82865b097d4bece704718efe4aa25da5eefbcfcfb76b310259810c2baa843ebfb1d1babe668a55d16b1e7571c28d86166eb8b458df154c6ebec1606b241643c292134c5cc05df2d2fb935f71563e9f1e09b89604d9e2a5ef2cb22132be57dd0393aad78607aa0621b6b114eee3ab71b95943c66a901b46f615993ef326bdd296f1a2935fb4797014c92680946ad414ebf797338467ae13ef29a1233d3b43c074a077e3b1403babfe8545b13de356252c671ff76071c0cf8a85da88cb3534be17d3408e44606479dd26de5dddb55c9d7d882611f79d95893278a3e9d07db37f2c4378e37bc50781a945b2a17afe4813e728efc47a236d5535edba211cf0231bf6dacfeacc4ad88c8052f7507c66bfcf7342af0d63b569157f8118d177e3e397a6e080e78e094c46ab1eb47d4360b53b53674175adcd21dd472bae46984ee9d51a0e9c78fcf9a6e5de56e40c4c1b8467bf5fb84941295d31230bbb7b4e9566e5bcbdc8a07ee9007472c4ae4c96b3c87d4e307c10ea847c4f8a7a0ff14ff44caacdc4f4e36b12c67a47dd5fb80e607234a32d3ed6097983859c0633ee35396f6d62f06aa4e6b7bc0c8c34ac56e52fb65f04109223b1248153335dc40446a6550b4af6dfc0ab0fe7d940f50e77c9b5c68a35cc6b8888139d1c1375bafb5ebd074edca2757f2b80e8b4c9474b20b6d3c3578e5ae3f84727c777e3ca0ebcb9715c7aa4346196cd04d4550fa9fc7c570046e01112950b09d5b7ad72d7851e33862bcc0aae9c1985ddb1488a70aacc643bce47b51417b6b14cb3172fac3b8ddcbf000c83292f5135c78d52e5dce0be39f7214214cd18909ca9710deb76a2d13270f22e30550de162a8373b2acbecc3050fb2e20f5d75b83363059ae0c12eb2f67bc3994bfb9760d957ddb5652218e318da265f0a0e118547e8236596379207953b54849ec3a9fd35bb22abf27bf45989ce555fb119f16145ab8dad0c56b4210813529314c43605341f1a9af90248351d15ba3a0b392745a7bb449a7c54c7f4038239d7132d8d10b4429c50e3eb0a176a396d84dd4f9af4d335c2314f6e2416d663b77cd894433b26e336f0d2a69f702b383a0c8d48a3a723fd9c7ed3aca828d7a422cdcfcd46a3d8cebc8e9ee5b60a4b95a7fbfff165b8628fa7d3e2165b34ead7780000\";\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(\"Jupibear\", 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 [\"Jupiter bear cub\", \"Jupiter bear cub\", \"Jupiter bear cub\", \"Jupiter bear cub\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"White spacesuit\", \"White spacesuit\", \"White spacesuit\", \"White spacesuit\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Warm orange rim light\", \"Warm orange rim light\", \"Warm orange rim light\", \"Warm orange rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Jupiter and moons\", \"Jupiter and moons\", \"Jupiter and moons\", \"Jupiter and moons\"];\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\":\"Jupibear #', id.toString(),\n            '\",\"description\":\"Jupibear is 1155 Jupiter striped bear cub astronaut with a red storm cheek floating before giant Jupiter. 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\":\"Jupibear\",\"description\":\"Jupibear is 1155 Jupiter striped bear cub astronaut with a red storm cheek floating before giant Jupiter. 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":"58031439","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-02T02:54:38Z","match":"exact_match","chainId":"56","address":"0x9Ff81a644AdBCDC836E26078a5A9B47f15f9752a"}