{"sources":{"Swarmganbei.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: Swarmganbei.sol\ninterface IAgentIdRegistry {\n    function handleOf(address wallet) external view returns (string memory);\n}\n\n/// @title Swarmganbei - 700 Cheerful golden robot bee raising a tiny red cup in a cheers gesture with a swarm of glowing bee drones on a red-purple gradient for .ai Agent ID holders on BNB Chain\n/// @notice Each wallet gets its first mint free while the 700 free pool lasts (gas only).\n/// Every other mint costs 0.00007 BNB. Max 50 per wallet, 700 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 Swarmganbei is ERC721, ERC2981, Ownable {\n    using Strings for uint256;\n\n    IAgentIdRegistry public constant AGENT_ID = IAgentIdRegistry(0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F);\n    uint256 public constant MAX_SUPPLY = 700;\n    uint256 public constant FREE_SUPPLY = 700;\n    uint256 public constant FREE_PER_WALLET = 2;\n    uint256 public constant MAX_PER_WALLET = 50;\n    uint256 public constant PRICE = 0.00007 ether;\n\n    uint256 public totalSupply;\n    uint256 public freeClaimed;\n    bool public mintOpen = true;\n    mapping(address => uint256) public mintedBy;\n    mapping(address => uint256) public freeUsed;\n\n    error NoAgentId();\n    error OnlyWallets();\n    error MintClosed();\n    error BadQuantity();\n    error SoldOut();\n    error WalletLimit();\n    error WrongPayment();\n    error WithdrawFailed();\n\n    event Launched(address indexed to, uint256 indexed tokenId, string agent);\n\n    /// @notice Contract whose runtime code holds the artwork bytes (WebP), after a leading 0x00 STOP byte.\n    address public immutable IMAGE;\n\n    /// @dev The WebP artwork is embedded in this source and written, in this same deploy transaction,\n    /// into a small storage contract (runtime = 0x00 STOP byte + image bytes) owned by nobody.\n    constructor(address initialOwner) ERC721(\"Swarmganbei\", \"SWARMGANBEI\") Ownable(initialOwner) {\n        bytes memory image_ = hex\"524946461e460000574542505650382012460000103b019d012a900190013ec152a24c27a4a3a82bd56cb9001809666ece8b76d2608e5ecb2de276c45ae0f5ebfc1e73fc8bdfd461708ce8bce0fdbfbe57fd7f5abfd57d1a7a437ef2fabbf39ff50ffe13d12faa87d14bce53d68bfbae1047961b35f5c33a3c65da8758be0bfd00d476e87dfbb717c75f347fbdf3a3f8fe8a7fe478b5d03ffa6f9cfe917ec8c6578659c18863ea620491347627989b7eb4e562124fb3fb3422b070c9e35883c0708c6cdb9f5091e9112170c6a9fc8841b2f28688e9aa0232136cd9a580de49ef8963957671b22cd1abc782bef3a7da01b7edb4a6adfb5df95e075c591cbf90aeaaae042a6eec47259986877187232de55241c74f342c6c513d349173448717bfcb8e2b63c38038a60d8c674e7101bccb877bde5ed14536cb462d57c1d6961b5ba564a1160d22b468a03916be47413a2bbf6700441b294f765ac69823f0c402d46204645578c4d72c0508e424940baaf922cca488ebe69e1742dff899090f2928cb5487a386a55dd595f8969adff2beab6f21321482a844cdb5724710e47f8af92aae478e5fbf74d2f48c82a86f81977cdee0f7f73601639115efdee133471a256e76babc6f1aa2bcf4c36dfe8fcabf3514251ed2113fd488cb73034ef8ec9d3930ab0ce956f61ca562b0dbef8cba9282a21a40d75ee29aaea08c44ca8cde60297b7cdf50290f9ea962e37e991868d32fa9e54c9a2ab8851ea0615bef085318b62bfbf9dd03076d52dab5e25fa5a4714e14f46441dcb79522d58f74f769acfad2cd72d51570cc6066d259e134683385d585fbb08ea4b6cb172fe9884bd1e498013238a29518cce1e5b7a8a0e2e2bc813190a5aebac405b28b2dd6c203c995db78544e82090f51b7de6f6eef2cb3e57680ececd3791d38ea4730f00ec387fd50092cff681df5300a8108572acab6525993a9adf315cc08949e8b876da023b46b5c982a92786e7923dceb17db350245e2642b650d8bae99d7216176c6c18927ef816df21eae2f9fe17b89070609278e819739d69ca6c2835133e0421571e0bdf59506d5fb5c50b5b790ddfcc2719404908f270a73180adb487c8c46bad1358d1db0f0d714c63aa6319cec31dd728d9d78da4b85cd44a151081b006803bee718da6ed1a418f09ce09a58d8214eb74297a0c98d20fa710f2b1492cbe7b0ebf08fea60a821da540fcfa293e633ff3f7827efa96513a3b1f33ab55b2b2dcd491fbb7eba98a0b3fcc77e1a3e4d5847b460d20fd5335ff5ff88e398a2faab432e1eacfe7e88c7e42c4fadf05e68bf13c8ef592ba228fd0350bae16dfb39e9d3cf77e315e4eb7884d4119650af8efc98f61b4aa5f360a97c86e3d7f569128e4010cc5552186a2775515c77d8c52d83de5709d3c6f1d1cbab8064088d91ab4236c8025d61f43d376216863ad3d079edfab3e17c7faa5da2e990a071d5ab21d73dcaffe99c42181703e6eedb1c780c5d33e7f8b57c51de1503a9571003e46bea8042121897ff78569e6992bf2a9af67da17e75ba653d1e2a42cf79ed521a28e80adc1b45a3d7967d89edd982798b9bf40e43c680100faeee321a095ed74aa63d27c7f9da26b60b7d7ed523d6a4455e5db4be54c9fa27424014818c1406eadc7bb19ac6ddccdedeb9489662674dceea03de8c481e0d666c417c649d422f025e5e648bffa13e6a83d6ba27e521668b2ea49bf7ff3b30588de9c316693af929aff44969ee4041915ad53d4291335592699d586334c3e9425cbff7df93905612fc14e32c3ca53cab9f1bdb0d64c0d718e3e99d36f8261bec8876566e6035f6c029041482834485e7ad83d09e527dc99dd655bde47301683d9994ff676db8f19571ec03eaf9819eb672dab646aecd3fee61f433414f89b137002f555e1570aebff4e042198997c88d2701740f306d5aa90267809f3dbffcf7e8f3438631d5966a55a98420ca45ee6cfaf4020b60cffbb1bd1aba529d76cc91d775d99e99cf35fd3ccea1ccf43461fffc0f7fa38970d11f6cb4158357ce8262e0dec43e3b427aeb1b346f7a6a958961562b2babf0744f0721156d41ca8cd0bd212b05525ba51733b82b804d3d6ab72d2d95991b9f9139bbd97e0c3d4aa5084c7b2c53ec9e69a3652a7145b5accbfbc757360234f289ee57467fa8c6b4db8e25f44568fdbb2f570eb524451919f2754ad932c5ba7417b4f045f8e1d174b83ba2f76fa4281c231a13496463c63fa15cef246bbf8e8dd5f8189dd6af9aff0925a9df18fd299d143307e61d65621745a2b872835c9993b6766a18f5f1812f4dc48e3dbe968991f3e999334f96d2a18b0f60437caeeda00e1d175deefbb40bd214f0d4626771f2dcb9048beb201d7ece32e0ca67508f7ae7171328b9b051e0c2ad2edc985443f7a5cdc1ffffed817e951f6e7c46d8d723174b2c3c81cc06d026353d9cc3f63b2e3b09315330dd89f4c6f8961906ae7e4191c107a7e227b96f21a2a438bd9c8b559b486efdb82d49a138fab22290ac3ac518a9168085e20214e1070a74a1f1d9ef420ab3722c0105c76459142e7a026b2e65402d206b0297562254689747cfdf12622f26b9b27ce411415e15907e19961a8c3b90a4a3a43618fde5a1108ea87f85fd54ece8187c510f1ee2baab2dd019d597ad37165d59206e98847f8679e7d30edf7cd22faca6c54576135c2715dbfb67e934a18ec5f3254a49987c0a67e139e5a8744bdecdea97d5bc1c82176051b8c89a03f768e39fbda5c2567afb245a2a4f509d3e2294f6f56bea3b7c89b3ac454720b7371a443861e210d6754559ba61164dc998f6077b1247b1bbbcfd8d6a1865896b5df691c231fd5f440d4b45798d715a4db01bf750a7ca649c71e1419fe79380f2fb7cb6ab543638eea2a49c3517d4637c0a4f2921ca56fcae315c410bcce0ffeca51f7abb10a7dadd1d9ad33318ee0e9f31dad77c5e151f75bd444ed69b94142ee06f50038d0cf477884e353ddb0b9f32708271dc1f2900a58e2b200b571407103ba7a5d0e93c251a3f278517786e2ba6fbd1d5bdc6518220a8fb3f550816d7a885ceebdc182fa98601f7dc55e8a7dd0b622b0f93095146f04b751bdb055c7f6d22189a2c278f8b42a507e497a95b7321e32a807688d24b382c5abfcdf179d23fcfc8a0813f8ba8e80044ec367228cdac694724321ef834e4f9ba4575e8507e016c40a816eb65cdc22ed3a2dd1339d0714e2b1e372d9b5e381b3917de91754e14660a60a7fa132b2f16a0cd4eeb479a74b273b6fcf0054aa011f48d66074c228752da435016afbd85b6933f71de5648aa1896b7e73c2ad6b46a26e3134c849016c14667113d34a74157e3225b7b9fb538154d1574b43105e75a1fa439835eb1a6373ba431125fcd1b356ffdd115aeb8af9a83add645bdcfc41b013347d153d0d713647e6cc0f7a54b661bf59f380da75af377e2212f7a21a6611e6508f819c11cf334eb7f5651aa2c5487e78c321b2554ea78c8a36879b90b44e7f9ad592a86a6f6212cfc598e4da66f288510fcdc98e9ea15fb5a79be7799f604cda2b6923d84c501cca9750498c757fab08b9f8000fef089d1f5ec3bc926fa33aa15abffcca9ff706fbf61eb9b2746ee924005d2396bd90cf367ab8a845636f70d7a61ade4669ebb8e18a9b7e768c84d7ccd7e9fa6ee7c283a9cbf2a89254bdc70e4e96de1c40bac6dc9dabb64c2c645fcf8be2c2f13aa5cdad9fb71f717b16ba76f33a0cf9dd1b1292d86e33667ce07b40c02985081e20108e0c267b48af0ebe2c23a730edd0b20d34358595603147c88627b986b487996023970431b3dd3609c531ac32285daf4d21e2fdb50c25311538e6e54982c962fc26fc6db7e249f50bf6c00e692d83dc181f167e6a5adcca01ccfbbd5db13b108cf2665da71ab3847ed6fbb8c10c78a9b17158fb32d32a2cd11f0abae01430cf0068904e2564640c8df65373e6af8610d12ecb5486425351518b75ebaf6d659c6a5f475ef6f7882750396e8f16ec560f8e984795b57c52d53e745303c5b0e8a5dfd869b3759bc22e86956b51812436c5e911bfd638cb8744385cbe671bfcb876195679cb37fd0800d4a021e8625921c0014f924e2f0aed91c3ac11f0a545d8b1338177818d5d9aaba12d74499ed61882689f028a2d459d9f1ce311bb1f904115bf3c230c6129ce9bd049853c8d0088d4ab3d4abb628f1958c883637a004c82c2fff10a77ce0682a02517ce2e51d03a323e5a7566fdfbb96e8828e5a99ef550b97f7b78691c531eea5ca45187ad762697cb4e14b4f9172a440781fe6ed0ffae8d7fe0593347454944479cdcafa429d700db8e496cfa581dc19d58fd4c3aca9622c81ad282eff087df5ecea355b78c87a61e46642c04f3df9d61840d24336e53afedcf4e1e08c1272d343271e36ff1c6d448016e5221829392094162b0eb0d6ebad60023520404eb4bc352a1f76abba931c597bac8ebfef1d2a4f2ba65e7c58cdbe5bf018e86311cef47cb49e1e161376af48f734754589e1941e93f49795313db44a22c8ac477de14392ecc2d270d9e45cbab207f42c2c41f15db63f0a364123990f33908ea0d9287ec473ec7d8c3948dd34cf91b354538053a5d5141985f1d54af6a4dfbd5fde26970d2930861a19c7b0620eddf1326efd53a1967f1a3c81908b9c1fc8388e3c78ccbf3357ca206eee34f7ced2d9f458db72375003b71b1d0def6de285a6c0bcb7a3da23196d376fb01d419518cfe819ea650be926101869e8537f38e894973f625b3ff4f9aa23cb4d57b15fc047797ed26e99766960f6eff8b7e6729733ffe33bee9589fc218856c052e2ee8a94f8408b3ff1420149ffc944aad3bb611a8afa5f3e79fe898918cbd22e0f01b57807b001af8317ba221804f6f97f461c9779d4b41a72aaddad5a957372a6933992e2bb81637894e622d972e102185a4ed1da9fca88284e6ebc5419df2ad0954c43b8a1f61aca209415cd338fd304d678c2ecd22cf3563d17bb9d1e033fd9e6d2c7cc49b440521d6e3daf77efb727c0fb6a9b9fcca27aeb9529b65f79d4a4f2f827ad8b57758c24fb4566adda54c6bed023a3b4bea61294c3c6c71af4df044f3ddd7cb6494fd193ae5d26cbe265a317b5865025fef94abea6a8b126503fd908e3d2a4dd98e067053045df3c39c204cbcc19128fe17cb6aad04c8e4fa0e36a6b5e1d07dd42e3a664f8b179b46e4d3bcea59bef41d5c00d8837d17104efebb3e40f13cfe7934d2eace0cf42c6eb6179be9e4f7950d271ec69690ce4683629f8768df2f018b225d9d09dd3345e76da677f2884600e720de009081470191af8b059e3f017ef1fabeb5fbcbe9833ce722aca133b69e4c3b7ea33f288f70062b4d5d03fa66207fcda8d387e0a5310b32f90e9745ce2735e05b569a633cbdcb2ea5fb0a4cb845a1ba58904a4cec4fe0b53131980767b25a71dfa4d9eb4e4a0350f497ce044a5ba1f06f08599382a4c7f396010981616a2b74a6fcaf180a567b95153191bfe20f87930a64eb6ef57bc29143ffea9188ff98436aaec1aa1ce42902a5592f7315cf1ca934e3f053b3c608cf4149cfb1a096f2890753cc0c987c0c5f17ee818feed02d4e5699266ce1154b604fa56cd910436c1bc4997c15da48fe4cc1de3c57282429f7f3e4967a13ca68309cb48cf94c7b002d87a030358d1baaaa68a184400ec642058e2f3624f306465879c6160dd2cdcaa8a48007475c6bdd3644107d56c2a1b09fe24ca7ba4413741ecc7a3f349e9093f361c0c63e384daa1e3e8ad7f835dd491dc9ca7035be2db5d6e332f23ec273437752f952ee124f503684351b1397487e02e9a185aef2e697d283e6479a0517507ccd87a6f1c3b117ecfb138b174f4a34586d5eae18c6520e623b68c9a1ffbe30a64a32079a8056704d975424a5c7d1d402927d042f3ea6c4432a1d05adb48685fd6177ac2069468912e3c85cb74a14b7a44a537753be90f31b6332d811b81e4e11926945cc9df8ea54e0876d017593d9e88f8504bc6c04c19f1f8fdab5368373efe55b7835f8cb65207655962f6ba240f4aae122567a972ce7ae45e88568e0ea0aae6c6da5d5a126a78e884d5c8cb4640d066192600b028f0ba687810946cd902a4c6ebcf064153356af9683914a8754978f03ea3c870dcb9f6f608b17b9275456fe1c7a15be538097b98581e2eb9d456af4203ada85956118825ca0ad4aa4224c93d7acad389524bedb1d65ea143f0a11796cc6922b6f772ff63881c1e13c9dbf678ac7e5194bb6ab7d97f88f8c72edebe944f610c17cbb44fd50b7dba9096108bf4315b4bc48779d065dcc27252b82dff22fe50ac2cb8edafe2878ffc1ccf5b26e3361df7dd36df889f5a340413da4fee687f613e12c92bb7f5cbf6b4237914ca92d99e9722c1beb1efe19f32e49d704ee4542832ffb420aeb42feec8e42d0e6e24c0bb9bf50e0ce90488ed216e0cfae1268df97afef3a0ff042f008dac2eef381a6dc68e7ed0d5f89cadc95a0c3898c0f62bf0cc8c9b3a6199b5f72e4a029520e65f785b700d602e0b653f973ab98fe37cf8b444da12b0a4db197d63eed243c6e316b9cb9ca5bcffb86b7cc460a1b264bd96ef62d1589271211062442802fa6a6d1f954ea35c2763b1734160a590405f58a7cb1505bce14b0a3dffec8052913cdfdada43adc361a2c9a9b1db5fc7c2ee3c37191a14a9500fdff237fee7f790a92c656bc35646cbd768680b96c1c7391bb5a0c04f745ba3a8bf21e99cc4105141548fccc4f5970ac2cf58ae78bfe86b9e420628de98c87492008f9748c2706c7bbb8578d3bdefe8ded1000ba5ba8433322f99f65b85ada5f81893b71c093b2a5e2c48ed9e1554b5d2b1a6f3f97b87eccce2daa59e7efe21c586825e0cf033b9c10b6dc23bca302f6893b31f6369513f64cece9df7bfee10f779273357d4d9004eddedeac59b4c1150e1b8844d9979c44ba3470cac8b6830957eca84614180cb29b825fe3a1ecc045ab19a3b4e1c258726656aa2cf1b3ac363085213b37f4ed0cde7f5aee389258505c2e070385ff78e95190c4fb2ef28c0eb0576fc41d32002c164bfded4b1b4976680691964c49e977398a7bcce56bcdc24333fd0c0cb4c4676dda0ba5b67c577eb5f40b0619e9d10ff411e50f5a965417ec5a4658cd7d274fa16870cb4a4c8587f5c55fd618e1f3b382ea62a2a6b998cdb8740ec44f69c7d709fffe2d4ab8b02fdfe73e29b0809cd6dc902655f410f2039a78f6cbc62460ff73bd2dc05cdbe4fa98dcfe0a28ceeae3809e631473382d0061bc9010f96e9013e90a90ad5a970e6563b614c53e721b0a847bbf81865f80a108dd868f447e13485dffad6ed6ada151c1ba9fd070093a3865cd663b2b9d2dff2a4481f88d8509c9b8259a514e8719d8aa7b55bf39e70a8101d46b627ff964d4156428348e2ffd8bd6d65ecc6df1d05e6b8698e391f9ceeddb4ff81e2b6a9b4121225d5b0de532cf2c8d2415c32c9daab0d2ac0b0eecb5b86a46167cb3701cfcdc2f8032d3cc5dd65166800b40c1106f3c9c581a5bbed9d91a2e730420d5b0422de119ab574c449e3a8fdbf8cb8dc910b9376ec0b4eabe66ccdfceba7efb2895015db1713832389843ea7bc84612564de16fdcca3a2c20cc35100b68ff2a0ec5468dc588942d582190cfb74ceb6f66609710a08d3f18609e5bdae3e6a41f7f64e5a1ffbb9bdce7e5f2ddd287729765a395f5364a0eda11fa23d0d9d063aff65eb6d0d49bf7a4fce81172c8a1cef07fce375007cc2aeda5cc29e710640be410601ca8ed21852c11d582ee1dee66c59ffb254ab32fc2927b86c10b6457d4bd16f588f4113f5325057061b372dc53a5be3e26ca9891a3c3909a53b08a94de91688622e1784dbe44c72d8c7589a929853e202164cbbe2df4b39c3359ffcc7fd06aa566bbc81fa9c1c8b3df1fdb6be0467f0e991d9469bdc6133f4a85ed5ddf659a3cdd37f6f1989dae9b6d1862ddb9dcc243cb567fc14e8c1e27f45914b7902075b6ab6549a21df790ed4ec2b072bae589ab8784b3efec4731cab0a901a242bf653c038fa68983a3d4dee09961981a6c61258ecdbc2decb59a364f4960f16b579cb3388228cfac55d20fe1789a246a7d1cb98418bdebd4ed74972bbf8f20e507cff9130a2779121dd0390da53b1e5478f73a18e6719a6a2b99efbbdc61ad60e3dcb6de559bbcdc7523dc638913807117b88ba136a51b5ac18366b6969a235f8ceacb8b7491e6986e560df320e49494560a39fefca7f9c696903411e0696c785e96fb6ff32dd7e1b727c3d5ebad0c6cf0de884f32d4642a35e1d7dfe6e3acf3b67d2331c84c65b1ac1b99778c098a16c278b81901fea13a033a035bd8b9410012e383f7aaf8fb0620c08a9af31cebe9e6c6eccaf05e07473d2a88d3c9ebf3d84cc31ac74e5d49e62efa0a25e8e450186abcac65729f260f8cc888c55144fca3fd1f53ba38a32387b320fb2b702fececef5de6d9c9949155956e2db9f77c6ec1d8c9d7506a0203323278a6e177fdd43f1693a51702a2308f271f373a3031148243c8a9eb107d8c1044594d211f3a2842a2c97cf53ebf5843b42d2a8b14efd90abfc638121dfa265d726d253514ab6e800153496ad1a32bdf015f0d3ae806da6a674d30f8ee15f4f3fe1157e086de15ca9c78e3fea8882c6aa65249b5f3fee595d9ae4a54d7f592c2c1c07824414e0dab138f2af0b3b2b52a10e1cf18137591086b560ddd1824abb3f1b0cde7371c7eb8a6904f1d3d9e9067576c5df3d7feac0bf46bd357547a8116877cc81b0587efa026699883c06646da2b0f7650a272c5663dc2c93dcd38b6d1c443e1cdae6847febf3bac5a8dee5fc2397f979ca446d7a4b2055c436d4786ff46db8d14aaf89627008c61f28857b76148639f6a9c54f44c0b79dbe0b8a2862451fcd026e2527a5236d495b904dab20d21f19d6ac635c5a1107248164f6916c90772e7879751c7fe6ff37bbcd98bcd828f1e61217912949feb61bd3154ef905c1ae6231e5ad3352deffe13851611eb71fd4eaba785294262004dc770dbfa18337e8784492232b721ed14d04295733716930349d09a779d6853f34189275f1053a015d2cf34f9782b49a6f540db9a45def1fe8738da8b4cdc9de3cf7339fca2b9638c97fb7b41d1e187cb0c5d0505798e27e3348770ab2c019dfd45e77bf6fbec892550fd9ea28074f65b167921e16025c8a96b229a5966f7be823fec84cc3e67b0d7c41b85b767fdf979b04b23bc36421768d5b0af4a40052f09758a2a4bfb5e26e9d9ef1b9e82b2ff059d2172492b375336f608252debfcd5eb0a2eed7b7681a97be7b768662750afa3ffa1e957104602c8c6b4d7aad12f450d2109ef9f1caaa6e9afd28a9dcb1c306f155f1f7788caa4c70ff38ee5da85bc563403b50189b1a72536dfe5055c0c4a86fbb4f2bf49d200d9be291eb9a75da5ff8e69ce40c43dbaf7a5da4e7d53589a50ab830acfcdc544a8c9ffd448bdc9b4204cabc43fcc5f7cf4b85321bf4e526e8e72dd5bfa20823d2b380ddcd1a6879af4618dbb79d1643573143f0d63bdcf1165b5470fda967a35225433b5d1539f69084a7ab3df7645a0f4f0cde96cb78395e7850fb3ee32ce119d81688bdc8e85e5e62312ed6d876ddf983ca923e2b742036f5d45baf81e14b9de9bac4975a4448d0540eb05189224ca952e535ee30fe7ab70bf89c3e48b47e250c6ecd2ddc83fbb3e59c9e34aae8950b6c3a946454a9dd07aa14fad7c03985d1501fa53d8c3d77f922dc40cb4af59d19c131cf6691a6e70c64e03dbab5d23ed767df4fc69c2f38860492990a3095b9f0253f53483b3829eebb4765c847d7c91a9c2863bcb73f170210ab4fb414dd5c2d8460e3a89d54a46f4e5e1d38fb1efecef500c29784ff3019c0a7c6706bf703c293bbf422c8bb28a11952c9d52f4325c5063cadd270ba56efc1b66175be962183c7f2ff15c87924d5f5d09c5c3c4191ca09a2d3eaa3ec52828008504210ae8f46c7673ed3943d75e47596f7ecce398854452cbaf2b8a45f784e24ab519cea622f5327ec65d9cda11ed0c70912584348209820f81a38e6ef953d7ddfa30e82dc6ca01e53b38de2f4262d807a0c0e5bb1a60288bcdaa43a321f8ddd0cd87bdf4e1234eb31bf2b373e5e91fbd55691371098487eb7c1348a9f02b5b88fa48fe8438d5146bb541711b28f2b228ab9c569aacdddf5a0c521e830614822c09c8c6680bfa01bdcd6181e0d6a5dd5fe752e2bfe840a7cb3f60cb2e16675162c88858da8b90514cc285fc4c3ea5eb2bb5ec5ad71f9fb138e5a8e8a684e41128f093b64ba650eec105a55487a1672b447f47afa349101c94432590ed2890230fa82a1844555518126d649b985d885fea4dc2cc63c5872b4c2aecf67ad173a26089b0f679b569e23b92320fdd1ef5a4d50c83ca544b1d5e061c567c08f43d2f977059a9eee3c823f6dc144117fc707f7192d8691892c0ab731ce4884d084609d5a96dc70ee445a8f7200e8469a1425141146253b95e6cf59b6ddc0ffefd5b75268c38352aaaeb91b34820308c0e31a22e50143cb6e472b74ed5eb18c139e461974f515746a43f08361a7ab1fcb2c460cea52bbe79a2e2bcd5907fa5b5867d901eb8c267a24a4165e8819c4df2c9d5fd90fcbebc1e0a23bd6d6b041e4c00ac24675b5a87e9e94bc86b72af50e9c6e060e2424a941d6036184d26fc602b76feb219c1207d3fc109ba4a70f0761eb4e4283247769286095e157ebf92725ef127f0882419a8caff1f6f3b7ebab963cbd120ed3bd50fb04837d8a6c06e336f4ee87fcea272d4fda5e50bb329dcc87aa937dca17c44735b8af958408d5a07d6f3fad2fc3d84b5e53e364742ebfad144c8e6590ee9994ab98f9bf0649fc22d0ffbf848d1ed3fa9e81114871b7a3e2a9cc3a1e781c58abccaff29586fc7c6d2e568387f56c6bbacc7e508df8417ee0ce47f7b043f91671fbbe3ac9997aeb56857b5a34a367937f8e53ca64c24d525d8bc7580ad877dd6618b1fccf8eda9997a6d81b7abf1a05359ff735de48152b6715b526d926d4b41ca313cc482060cc7f818b7bdb765f7815eee4af79c5051d8d96c9ecc6e60c5219f3006e5cd0621eb5932dad3ed1f1726cd6b82d603ada29d67f532c87755534857324743bf1958b61c80fe38e6b05650898e81f4076ac6f2063602b8d415e3d30d36a55a6752f8af20aa5763288ee7294e198fb200b131f0a1585e5bc9b9e44e760c4f1eed4b0502e634b846b7337e21777744aef7b079ebb0b49f950111bc2afad98723645a6648acf6d8f26e9e01593429fea782a8d0457d396d8c434955c9cb96eab716199681ab50d337efb57570e1cc66a1c9a0b882600989b95254b0492703b46ef422d2d82160b778c990543f3ba5ec65d8b69913671fd087c3cce6fac6410619c26e2ad79125fc5c3ec27d323574d39710dfddb330611def674c3e1eae16e2dbeb3a35c2eba8befe533753de25a6611d8d66df447c7293ba87de9b0ee8460703dccf1897adc33e5077b2e508d86701aa9c480d421ff9bd0174c1891f79af8a53aff5996b718369f3e7147b96a9f22cc5e7b82d5fd581c6e0effa610ffb8b426040a2c0741f12b8b13392c4e3f11d4b6fc8925b01f4baa9eafded157f2ff3cac4d42ade790b61e95d6e2ca8a4116698dabd1e4c938f88ff29a58e3afb68003f778adec1ddbc8d438f7ffcaad765627f77d1625a13b7e3fdfa3f1d253852dc71bd2a826373115cde7b1bf56e56b9153a7a211f19538c0454e4769112be253a5b793f6e40959cd6a63ed3ea96583643d78da7460da801a3b2d162d5b0c942b0077d0f4d407121330a29f523180a2b93056c6c6fa6795dfe69bac4d79b62bbd7c242257172b11a51804ec82276d42b3dc5275243ec08d68b608791a738a531b02f6c090cc3648e43bdd49951e918ce46dee55fcf2a387e6beb3cd4b70cc44ae130d7fd98de4564d7906695ee4daf01343ed3d2464adc143ac8589ab44c55670f5592ddb5f8636588270eab6fa1f0327762e518aeee105ab02ebdc8627180ce5a9cefa553822ab5470f9e79246f2de88a986eeb6a2bf6a83e01798ae7729d1642435e05a0f8542f1160bf1e17d46fd5a9a44e3bade15ffcd3ec4c55ff34caeded10c848ea6a0c60c67924aa953d3ba3789fc727041887814060263d24935cb87775874a089179227b99229683309617932f0a056b297bb15cc697cad009426c09fe42409561fdd513802f50471c69ed55a8d5f772b67d380755f122b00da60e4f2a25a4b2295e5ef7d00491b1ef7742ef0d082c0f0ded2fa51fbb38718ef92f4589b56646e3fd9c60edb5fc06fe0af865978f59f62e20d3b0ae23ca37e93a7a144089ba10dda6400aece8d493ae61f1f5b5314181ffd1ab081372690c26b8e744800b8556103ef54d5d46f1737a7d10b84f5b87f5d460ef013cc24aed83c3d3f290599508fcbbd6b70b2a569a03121435e0999e6727dea9a070517792c91dc8cf2574747c8c931bd60331a74476c69f228ec87a28276dc9a3fa578e8f81f84fe89a084bf5e5e6da7189673d3fafe9aced39ed719d425f2a62ca47214e61774de08a3eee1c5683a68708d00f820859c69c08a66096a69d4f26f5ea6813c58b8269c94e3969253f1d97df7f2f0ab83366721f69dc9239b89ec2ed84d83063dc76aa95ba2e4d7286af3bba3924f90dbb5b5d913014e5c4ca8da4915d8c045eaa04ff31e6e59d2bfd994465d279ca9d63afbc7ecb589843ec31c05ab222751db9cb4dc79d318df4870de6fc3b9cbf8c74d65567de46e3f693a2fefcfec903c1f06a21c88ef4242d2091cd8cdca05aa15161f25ff59d8dbf894abd089bbc11d8694037fcb166bf63381528a13eb14063f1f8a3f59deb43cce8a88ab0e1db5e0adee6e2ecdd709c7bfc36de9899c1402557c7f8dd0b82c8d0729d8c731e8d942b3b457ceeb03a0dad4bb69d0afeb062ed5b3d65df3860a5914933b42c1de08d401792b1900a4d1093b69ad1df8baf72c4f14193615e88e51d1af7443fa6a7b655aa90a1e9182ed99b0b31a5d0cab06aca0ac18f9d51764be6e256371bf1ed58dc9ca792d0991414a4f74b0464bf8b48e51a60b1d8e0d973790290e229043bb16050aeb82833180c1c0acb31b45113e154773ac1c9294a61d37c3b8fa7098e9cec73379584fde354b5aad211d1eb7b9f3bc4ed43633edfa99c2b71ba734f4d0e7a314bcd79ed268b4e32cc1c41262c1e03d5867c8e93c61a7f930e62d8b369a4cdae30d50ad8586b96741108c73a210ad192f47cde98d2bc8361a54661a2596861e62d2c6f4f79ab8312b4faa9c11491d4056853ddfd28283ac10f36d5ced92839848286e38fcac17147f33f0e43f2bff680cc7a04de546ac94ea49d0cf97cf395e689489d4ef01e4fe36423f08343c559cf85ffd57eac18599a836f99e6b397851c34221d1ee4bd7b122f4af228899de0fe250e5528c274bc6770a682fe522d4c617b13e2a8fc291164b5e30b11753e8a2bed7f89d9d5e476cae7a0b62b7d88635bbc4b3197ac303abbb936604f99d8a12ffd20ffa97457290e84619afe5a5af853a11b51579691f6bc0c39f2abad1f233f8eb50dde8519032278425d199d2b5cb40b381a97f1d240840105123ff562a4fec9ddf7bc5b40bbc33a9d9f6ba93a184d7b9ad350a6ca4bcc7f62579923ae24662df5679e4ccbf47d624c11ef622c748c134414da496e8bdac978f2632aca56b4d666db4243ba779f257ea4ff97c1fd0f8934a0733e06a0e14b7d2fa3eaa80e8cdf4600640b3a15ad9d7b3df8bde852be6f9e0645370c39d77a27f9d0e2ba89336b7adecc5bfdc5a7ef726a7769aa132d300ee73c5cf9423fb2a1cf24a5038121ac7b2f8bc35e7c697d233f45f3701592ff61edcbd67c4a542956ad43b588358c9c20463d6ac5dc7fde375c9d2a706ced1e6d555553094460f5e6f0396565e847bbf66aadcabf664acd5a797de27a711021297597fce3e1e103bccd5b44977cbd88740a37bd599c51aebf0fd9b241459f90013821f1736c367c2e0d401c8e1ed8b1f44860c54f281c1eb8d2df9b95f6909b407841c1c227d9e85ea8482997f0a9de784f2c88b16c6004509a96f4c8510a8ba983d8f44cfc04b3668c10cc825343b68f596f73d0fe266b831753d388912e9546ab7dfa55543b8eb4b2061ff99dc38bc2c1ee5f1e63ebe659e7cb4919224123a6a1c4633fe76a1446aae307c062b3e3fd1b20f2d99b296ee20e2420ba83494dcb6704b662affe2e706372079d52c9b2bae3c0cb43e2f0799e7dcd88aa52d0b518e3c6b5d36830194657cdd4bcff374597fee7074c99fcb0400ff1d20a640df028b12448bd48a67d10d1dcfe63b8ba2a3a870ba3bdecd4684743bc07847d97ffb988182e6f576cac9f122dd24ce1bc236263863027d042dff3d34c4e1b8c6e4e3c4d0733fe8b2eb9f8aa80597e976993ec818bd72527d2324852095942463104755e124c363e15383132f18bb28f95d534f9364ba8f3ce86b94ad8a59cafda6e2a29b525949c3722154d5da65f1e597623a62fd8d6866108550d1694107a5f933e780b189a19aa6a5aaaf0ee837e3c17330bac8e355b2a1a2844e2bedf86d06c138245fd9ec77ec324ec89c6d01356ecba766cd89573cad21c8c0303a24cb30a74729af76d4ac46c76ec42d46e150b538869c99ddac4328a07576dfd86c1aa2785e223c714c5b352cc4ec1f04fe1d0cb2795a6b8f5fb0bde73fc799d5ba7b46977da137208fd5966b2a810dc7353f5c2528b213c670867c7e8da16ad940139745862fa74045943ac01d7117c4b77f93a8b32dbf74e6b120426b32081e98a1d7ce9b2aaa1f8994214681dd57cf988163b68158279511003046bbed35fe65024abc60958e22bed1113a11fcc18da959d2a7dfeae4c1666362e498df17de87c2a1ad1a8edafb015e2fd69a46c6a6509c27eeba18f8de8f1c5e24195cbce56ce974c8ff496b7bbdff2d201e84ff2141cebb6e3fbe8055d638bab2586ea55e61e6dc3bffb2e1680f246e15757ff62e85f1aee213025e2eb0f21cbd1e37b0d1b99223ca70d1082425c7f89dc6e88ef0fcc4fa78930ab5ec6a7b5c3c2d07abcb29b4a61be92f71a94ba988811509188873ca70c27259178e82cbd1033439aa561bc44e794c40fd11a912d3e96cccda6c2ba26bf7a9ef686ddf46d9b451d99819dadc98c57861918170064b2033d40bb6fc6774b4c7a0151fbdc3d89b424837be1b9af8318597ff44b6179cc7dd70d70cfc9648333eb569221979f2a331558a1484281d53add9731c15f34ff182cdf2c33e188129aa43912c0fbc942cd894d9f04789e4e1ebbe3b8321cdfa7a8616057dfd7885fec93951a44f124e5c3900d02807248bb58d35164dcd013b736a21c7db7aa4c26367a834caf0762a55a4ad2f1d0fc2fe643e468c50ecf569734ea4a88e6ef6033e4338ad42ebb73dbdfae38f62181969e46d7d67513f4360d6ade45c70c77443c10fe2ab5c17e4c9ea9b91fafc5e57d57f033d8ead87f7ae18e5af7082deb80f3c3eb5612f7f094060e7830d8ab293d7eb8f594150f81c0bd59af61c9707047fa12a6784374eec424ca87df7e80da4be3972b48c63b47bbc1447b733168c643edb45cdf456d6d1fe5881ccaae2a6fee403b30a0737aa16fa51db81c8ea2277788a1c41b1798130f7d0cb35af7e990b98e9f1b17ae9e43e9690bbdd1c734442dddd2547fdf5920c7489be690b56bc6751a14c893c1c9c30eec381a2518dfa8931670429233307778cdbfa57c3da8705565315ba0ea6aa94e775fa51c901ce4a71528341606b76e4a31f3821e53b393b20a8a6d9aab23a1d05a0e00a6d31699b94c6574744fa6b080180d43d5e41818a5bbffbf941fe25a61f1602251273c412fc7939e8aee923f1ea4a49f3a14a3e3a4756b9fb09d5a81614755914f6fcd970fbedab01853a7e3052eab68c3dd2f295f0455f4e5cd7b1268aee5298d25d814153beaf9f00b225cf481da6b858b182613e9523a36d26e7c6956d248e38dc480db133729b801b7c8a935c20fb1e0c9aa4469558410ce28e2dd162ffcfe81c44faa1a58b6208521ad76c80b3248efbac3bafe30a7390af8c2700fe7567f032c9196e0ad6dc6abc281f6576e58a276b896a5d0fcba4a82d08de7d655edc687f0c4fdf0a447e9892d79178eee211924597d51e8cdec246924c0c7e681eb3a43d4207496b9bbaf6e02bbd69c8da03c8a6be7fa6c15713c82bb09244bd32ab948bd0490f8a33014b7dc49df7c8144322e1d998b4faa8e9fe1da58d74db21c19d8996574a6b0dd9abbcfd0d3cb2265dd580cc10f6a27684fd4fda0ad4fda67b91bb8f00dfafa8254347c3671138febc1ac1cb01e90808995f99cfc7cc184cd44a955d5b89d917f891d5eafbf5c1c088b8375ce0c5cc44d97f008bd3e6a667111c8ea64e253c40da7a18be0a85ef3628c068e51d36e01b79873095e0af1ae43272e79d29996b165cbaf9a155db5d0c1174f4f1a4975b032f558b3ce397aeff84f3024542d26ed3ae534274984b67507c4f07fdff1f056d3ddab763dd370dc4187b716743d2db40890639bf0caf49a37576a63d73db0b5069598430decc3832cf821e0eb578fd6350a43abd60f22e4a428d4edcb43c3042f86350784a6eb865bac59a0b89b2d7a9833ade6547966545e7d741926aaca2f75f985b42bf41cbedfa54ee33d4b51fb43a72be15a61cfb353ddb4119f311c2efdacc0344de6c82fd236af8fa8796adf300d47d2131d4f6898ceebbf461687085598c6f9a0efabf9c2159117048ebcb08f1b40c45a0bad5ba6762742bf80005d73aa6eccb2d92bd4541b7d611e029150c2ad73411ae72a958c4a310feb4a53f852c4ec4678c1420d1f5a511739b632b592a1ca2937dbe6bb3d2f71f38d661eaa9445f41d4b8f42a98ec3fae8959ecb879346b939341cc8b7985fdbedb6854535aeb8f67bfa4410922cbd9e5547e7fb0078645e35d5ba4a51acb5008a4451362589f19b54915c55216ce22767468218165317773e7faa34026ffe59dd27f37bf0468f8c0d3e7cf3c95ca62ba1e2f8ab7975623aac75833d7697af2fddb020f7de6456f462c591b5265b6f6fd4e4703f05179f82dad140813801ab0738bfb5f0b2b539601a0e23cd1b52dc1c307f09c93ed6bb1c5121a333b97e0faa904aa684b7998f2aad1cd0b205d39e5cad0bcb8fd8e1b3dba83f7c07b18182c996a5daa011fc62ddeaba37a55535845cf3607085ffc2c0962f9c8d10a3c6c874c87c46d167a5b7366f7470a8ebe18e9c110d9422711d0d964bcdac991952e50e553b4e4ca3e9ca7a09a436f22f6d727bc31ac4d885095eeb83dd2d371428b3a6f0a74132d65983019ecfc89512e2c81167c6e0e63f1307eb8bacf185d75c4e60deda9edffb890097c68d16bea5b3773b9978ffed865d95408713247940df46d60bc8457ff10dc14d5689e7903ce8c582c51c85aad1f0d9afbb543c455a13cb2824052435b7ffbc8d48f2ae85f16dd68c707f71ab9a50e433d09f3b4a8851b6cde59a41283b7fd53a030b885835c84015c5ed22642851bc19abfee52f5fa170c2ae672aac9cf037feec6d87ffa4925535276c097e3de5e677e1497c19ac56847a73e42d6928523cdeedf79c74005cd47159d53f0085802a17bb038fef7d7f3b486157d57218af71d5523234f884ec40eb1851f5a7b52e840b4fcb11f5cb279bf9d084339a1f3db5578b3f66da76016d023eda17c8ec31e63ad24162defeaaea8ba2906935b6a28a6c124b09a2380960b9d79ed0c78e3d991c7ef9e941dd8a7f9698b4d63b0118deb5e56eb335a1a347695e4f73e0c4516ae21c0ea3b3c2b86f57ec3ec3a012b684a9738fa9641e6a6c6e0ffbdab737a8aa4db205279630103bbfbb2b8c1e4354a3fb064def123393abeecdd1340effa8fe25524a4a5617bc18faf2d988e2ee2d926e30904ddb113930ac780a97ffebe82b59ac41b24a42d5329040866242b52a73e31f3973780a0559d9cee4c13b0152f3eb81bc1e1fe9f7470854a708e5dd6b4ae99d662ead08a716ca10b4cc50cc1737e612670bb2e0b4ef99dc810b23d3326bd2fcc66572b65afb6b34f7f211d42c08a2be96b39fbeb7430c71cea0107bc61aba64838b12ae6145edfd4af4a45963da42f15c6265187652623337803740ceb471e98cd68b0f52b47e6be73598b34fe820928109dc46aafb8607ff41d0b7fb3dfa4ffcdd96b82b6f7b3f9b521ca6413669851ed80313e61d71c78b8badea0236b8b63add85e0cbe66ff3f53dc5132152c7f5fd10375bdb9c755e7af411c24e5943d5358956a28626de145b9a85ec8df042fd01f04097a4b0950ff9170b2d2bfeae398542acdab741dce48beadedc6cd8131a87877b4855ce6bd597abea387f10d622f85a14ce168e4b343114744cb70754181ba60a3f077d8530637a7f834ffbc7eb6bc0ea0d16180ec6f4ca1b3d403b190c02bf04af33f8fa21caad8e82addcf2550a2b2ebc69b3026e66385d116c8a252eece36b2cf93b956f32202edcc2d227ee28c4e6f834eebe0d8c8bf8e0f538039d633fd62b3335a6f714135a6d9cb793ad1caac51eb1f0c4e22c2ec40673d86b7ed4bc7b6f988eec2bd965a641fa062d89469f4dc8f238583f11cd0553d11bec32e92818252cba5b2918654e32f059d985175995a742f49c09b3c490864df41844e86a2c34c6c9691522bc973c511dad352ada62a6260e376871fbdb00b272750209bbe96e511bfdfd25bc54db2dcbae6837aba40e5fa4b56b437c5c8a231a5e8357e9b36339783a676f0155b8d1958b63082f6545fea8746ea25ba8313c80e8e828e7309f2652d98708eb65434fbfbf85563d628b30114dae2fb7129b866cd0a42bfe00e8752029bfbee13b221af903499375436b66d544a7419aafe676fb5f080fc3e8ceacee1b2b56c71164bc2bf88ff5b28723d5a7ebd0b022c1b9d29fa418f7d7a0a218b0ea3aa49bd0d77cc73159aedd1f917a0e2eda30c746c9612b75e74c57b37fedccbb303720e715fd52b496129de6e7a2a02bb28ebb403b527b06698351c161ba9828c9526afc57ce71fa10d82cb031f78ab617b7be947736b417b5908d559a62c6ce533786e0b32432ea2d4e5ab19b4697bb253c892688c24d4cdb2508357c0d93352056d8233b2dbad48c2d11f519b1dd0592bc1c09d611469de7f392c5d8a5a84708a0485d02f9ef35b3d9dd3d55f3955e69cb03c7b76812b990ecd34a4c7b2a04f3f482b5911020b089f35714496cfdfd5a1a029433eb435dc532540779e92272d87e700bb82c11e754c930cb73f7e8d68475093bcf89c3287f5315d3d1bd3470cd26c46473dce52e2d9526d55c0a4268391e4c4e0f5148546096bd0d170c05cf1248aae488a82c7aba55e4062a93bbae3f34c42129e10fa1db3903a184722ad3f676c8456dde9994477dcd3ecb53d206f03715476b6199d9f632d20657aa4895d102ca4e70fa728a9bfde49c5ed8b7ac20c8c2180a85a54472d2771d14ad4fcd11e000eac2d5c69faebac7f8acefe89bc651623736647ba79a0e5187b4a5852eccde8e929ce9304252365488af96efeead73bc569c93ec095798114825ed46d8a542de127768cb10c1dabc361cb338026c78f6d1799fd21a745ba39a576baec94a1ef14ed210102f94797669b084c8b95469aeca598730f34ded6ba9c987c32c299e63e3e755b6df36726137d72c1f18e795508eb69ea61fee147ef5edb2c18b5ebeb3a286e63b653ea5a03bb95fd21d8a92ad29641ed3e49a0d63a3f38ac3162d144d9bd0dbf13f9383408c39ba7986451fa46044697a93daa38a01aa4cff832846d0664c6f5e35e4da76e096591b509615baf6b928b0d6cc7186c8e70e7baf12fc0cd2877da6d1622970c5c86522b13f8b369418cf61cbcf01019a0c08b286439cbb91b41f22a0942c84015f6bb2124a2487fef7b4fe9d60e114116e0da45e6055c147313ec6686d3c5d0481b1fdb9b17eee65ed2544ab5368179c333e67985a1f0b4e3b292ebf02623355661ee96da1e6ce4897b52af2dfa42f728a9f26df228fc66be652620cab2c87c953e271adc4dbc7d3624feb239d038001b20ea54c3f4e5334eb6b9da2fe0261cc57ec64f0d891eb9b659ffc77dd3b47396d1c0ee6fa6f5db4a55c35f5176cac633d550dc11967669d4f024d24b61d1471c7058b2fca6b148b2507295d9000241519dcf50fa538ca1e1b5cc2fab2f77798e761e551b4b50af095129ce166800aeb3c45dcaf4f89a54153ca6023779d67b4ca4251ca3726060d6a5402a2a1d45848ef242a3298f0ea55ba1a27b6df74438a6442e28ccc07ead8414b8ce7370ebfc31dcae585c11656a3bc8b2ec4bb3caa315918043274645c0b323df492d95962190d93195a6fc95b6c370df30775d71c623cab312a8e99f8c7add1c09f65fc5795f1e4204548c0413d487785933cd3f52acd7e602e4293b6841a652658725422c22189f84478a7c2d2e3a6dbe204bfa4550f41e049eeff4c658966f22e54a53dba62fe01e6b895cf5d1aa10a1e38ccccb0f4df4731032f699ac5db8b70ab692256da853b0c773f833ed79cabfaebbe3035c0b193079ff1fedb09b5f53dd1e2bac59500b7a4674a5d069a020661f29d70d966d9d2dda1d8f29e0d2091736e081b297973dd2af6d14197a827d950531021a0b021ce30e72d0cd81608edfbfb389224662c3979cb8c9206162c95beb8e1bbb3ea9b9940edf3a1de394b892b00710f97d59fac22be632b3eea5da2315ed49ed4b5ec76480ffb812ffa181ab16914231adff414be022e17f0bff826b52e6112a68e828bc707dc94c1a04a120fd1f5a22985aaabb6aef9ea31c8550aa913cc586408687c7d973fec9e17583c77e464ccf4995c84d8c5fde13cdea9f716a549ae82e1048ac35b3a31d727715d3a0ad1e69eb36e3595ca96371703b8086edfa9e9603bf025314ef30dac97d4f32e14656f60f56900e94cf68d02d3a5a76f4f0a00f000b4d64caf056e75bc23d546146de91516ace58cdc30c5e338a8acde478ede0404e04a55e900d8ddace1426d804171b0cc866e8b1b0be12c488b613b0ca0b7d485b54b33301bcfa66c61a49dfef5851b95d4c4570d8178c87a32b1e96c31072e347ee2055e46ba1d89bf21bb3df8d5670d124ffa8c6826abf829e53c60be7fc627e1e61724f68c3762c58ee3c9a0dbe9e354a231329e9b33e7aa9d8142ac66d21f96583c78259339e77e258631a8d729bcc22daa5df24874b277f8c58872e31242e74e33a35e1098ddfcd1550731d06ca14c2cd5e33910930401e3ca09ab6c82b6350425722383b7ebcc727554dca289c60b46a3f56d97aa152cc33cde0a68beca7c35bde326b31500c1dc56e5ef42c6eea2dbdf917b203b3261655574d0f80107645bcaa901e4a7ac4221af997be3e51274de62185ceaf70fb5a23ea304ed15643809c2618ea571ee02f64da6655a9e995c557673d5a2a942d16dda5ab291f77eacd32a54447b6af45776de9d64a4375bcfa6c7323a10cbca4c3694a2970c598986f41bbecc1f4fa3d7456389e700ceb56707e973f6db8d5a04396c903a329411d406da88330389ca1092b1a8faa5fc9de7e4952c70b4af269d4d4ade7a1e86b2e38488aa72f429a04da6c4d16739e8c5fcae79e180d9fb8f28efef20df7b6c3b335be4e76c122bbf48ccc3239a0b7f75a41dfc71aed770d4c1adea512972c4cbf072e31853da54aa5471ceaecf6f96ccde8bd2c3032646ff8c117a9197ffac6f623c4efd4aaad7c5f02ebd9c6d7a8cc0c99fa152e4a77eb86d3ef3383257749c53b465fad11e8f6a633ecbb5cd492ba3dd65d2cb3e5b38e21b58a2a0a8cc21f0c3c2cf127b9c01a82f520ab06c67b1202d75761dff3fecec7e60d958aff7207f08627822b785ed3484b5dc9c86b582bf42318ce7d6802ee8a750e002ac37c0069fffa417519d38d9e9cf4af646b91c7a288fcca9e2ba8f129ee62adb3bb56ad4b92cc81e581cf69ad0d98a62de30f19b8636a18412363964757eafe76c4461cff1910ad054dd10f00104df6792a222d1e9e75e1e6651e423b315c8f9200645cd5a33d1f24ae008154808b7dee3b55981a5d8c0a117df9f45e5eb5267d8c7258d7e19de02d5e1440b5ba3ebc7b7ce40d235f104a28d2c54500c620a611910cf9eb185427c4a44ebdbf19c70b3f2e7331ad49b6431719d4a0bc905d678e0cfc7bcb74bac31d6fb9ea36a0e14189d1e03fb58602ddf22f62a77e7d41f88d40993952bade5abdcf5047799a41e9c7f65798ac359576df9a0ad914014e6ccb6920ccba90ffa918316e8de032cf3ae659e04e14feae42c4a738923656495e194b6328418496c09ab85348285f76717a6f2304418c8f7df558e0107f586ae195dd5b2ce6dc6b034b8ef699f0723f8d1b004b5669ead77acaca69bb71a2372ae7441e9da5f4982b045b3ad92b795721189eacb4c33d6a7bfa9ab2bef26087c07849e060b98b171b4a26752f96dfcb71cebf452e5506f450c496c535b785d2c065519e6fd2f8d67881b2c11eeac9b8e8028458d05708ae439e9649bd68d44b3744f26a5e4f372309e05781b0e5f70472c18f1ff5991c7cc408a2bf953d5213f814aed8837e9aa8ba6fa399c930611d82bfb1c7ba223f50fb65654f72b77dca5df0e884361d139249611b62336057a992f631107424f3e885a6592b1f4c709d9ce16e958ccfe12307b23b9feca1d6a6f9d252fb2658aee126795664802b705cb0a57870d95ec625c8353d4007138712558bbc51f9005090be5fb39b9ef290b9c7f123aaa802cdc5aa8fac7156d2abb7486b3476a4d617cf7ebf709e11911ddf79a8cd22a496ed21fef43e9f6df619316ae0c07127af553a0c40a3aa37db7a0274449a45097841f872438b4c5d4419e667988b75957b83f5211369440f1ae461461618dbf91aa800907058b2e50d1f92fb203f038550cfd784ee75d4e225ff39bf2ae63ea44dbd1c561b02d09b571f7330a0e1b0f75c287f2552b32e0821f755ea39011232d7ffce6d327a1300443aa59ce27ab59b764d4f6b46d7085b797821dcb2a27cb8637154a20f560568efa1d94fc282137ab3df37852511ee15c5377ac5086135acf1abb8f9c312f37d3dbd8eddbed4407697644525742435e6c9432471110df17ac04ce2eab17ba13647704af15e2e1787719d778cbc55c98f82f85cb92e6ec701b96df17b300d1d4af3f3bde33e7c0920dc86c85c2f1145aa4c50c8971c34ad558eaa3f63d331e58ca6019ab5c265823b523d40d9a9b9030dad73469501be706d2656c223d3ecd939307c6d48ecf02b470a7ab502018b3a15246be80b8157812582c35e57ada75b13fdffee4946f6ad8e3bb9f3d91e1dec968b543478d949ad3609c724ccb3cee1bdd0f04f49d41bf8b551afd4fb107fbb18a7bb834efa83c06e4142727ab9252fa61bd1b94c79d524c43115c4bf435d81f15b85ba7958959ec1537a1b82d209179dfdfbcb8c54b3475aa55e3e35165c7e9ac46fb547fbb8628d28875c69cf568e6550a7ca9dacc2e177f9c72ad6f22dabcbfc65342e3afa5e2d3ede7b33f18b4daf472ca7372907b0b0f11ecf6681ecfa221e99f4bdb2d8297e9327eda39164e3c491803262c469356282c86c02c2a833c8de1efe98123b0807a785ee1273c91aeb4be802bad15d25abfeefc1efe97d25aa1ebb7d744f12aa941f11730ade6830cad8ff3cb1179bb4b2ab5769d36d72d93fc9f47ae8cbef882ccbab2d92f5ccca06a01afdaa169809174bdaef90c8219dfff453fc630d9e02a0299f4008b8ac6b1c47bebcb604d762dcb0aa6e0bbd7a7910ea04acf8b3b5cb6d2acb286d8ee30557d5cada5c753f93283512bbdb547b14654c68932d3271ca26ad59abff3a1403347ebbcc73abc7098e2ca5e5c9d8b9d710586b897f80412170e4703c1d08e97c5c2f4c8a48eb25b38ff4fd0edfd74c78eec280d15803fe2a02015acc47fb43152f7bf8518165e2794ca1a9734f88f87d5c46fb7775062289f0d2ecaaad462f711640b1cb071342b127af569468333dab8b277a4f436870775abb0760279942b1b4abeb8384eb694aeed86671349a891a0fbf8f13bdf692c6bef9c92792ad62a9e8fa518cefe79cd6f0954433cf1289c92dfbae655fc25447ca432e1a63adab440fc89389926d7c58d3c70fe8e7cddb2656b29af166ee2b7a541af789ade1c4d22b8d50e3904a5ecba14737343dbc25ce0997e432376739b09df393c967da48d189b5e77ab0cf634abd921629bbd854ed6c171811a3fe0cea50b004b5bc55a121be077d6a9a9fb3cd1ba48fdb88d97650b683c22790d52b734aca9712c6e50df944599522cb1206574d728484a49f59cb118cc160ad6b001176aad6ed3934b8c54e6d932a4fa57b3b6c557045a804eb264de3614948a62c5d2422989156e3d3ac9a873c7773013ddc2f93c8d53929e350423a8312f50594ca1600f757a55544cbfdbb1c3438de68e06dd8f51134120099671f1f3fd1c073972be0902800d8717bb418afe7b85a2ca32a32e63fbc0b41ff8429969b879d2297a76bb7e0309520e8ac6870675c7371331b6da8db130d5f37a6815d9b4875b78e6abc96b9dee3625fa6fbd124a03a94513155e45c1ebfe9ce8c73ad4de96348d892be70a7aac0ca17551b8e5553427e824eb51cbff9c2c94c03bb1ffa454c3184e8c1eb5b56b85690ec2e082f700e366061af76d85471c57e092c67856bd33082d8b680cf88aeb2175b05f8a23d7b9d85afcc951a50cfb82ed63c30e755a312505557526a93a57cc571a7363b1849423cca9e830d5990e9da911cc9a223652c952f3449a562a4690addd9885ecc232b8e65d0497eed0339290fa2a9382270515ae8f45442c574bb50e77276759f3c9f1429c4ef4c9b8c658fdfa6fdc5b295fda74da7c315f203db16dcb991628c87c818475a5e8b393f109324a0f06daf2f17796102599d5fe35e6000aacf84174c817e9713e100b84ea11d5b2a61e8a0aab285c2d9ff147625cb2db1ef3a756d335b53beb2a02102be2b55b8dfdc39de04bcf9baa82e973f05a1370c8c39598624746f174935d37ad47dd58d1ac6655f4b77c6e3fdce1e71707713286aa3a911afe214b25d742c14164179d21d9b711e8a01d5d2521c45e064906e91b4a834b85c5c4eef9a66fdcbf73b9757af9bb23c898dd776f33fca70ac30d40701c77b7d59968ac9b7bc727defa34f19259da8b7b8da94174573005881de92b95954437fd067e648ed9b47b6a8abbecaeecf62bd27d0000000\";\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(\"Swarmganbei\", id)));\n    }\n\n    function _r(uint256 s, uint256 i) internal pure returns (uint256) {\n        return uint256(keccak256(abi.encodePacked(s, i)));\n    }\n\n    /// @dev HSL (h 0-359, s and l 0-100) to an rgb() string, which every SVG renderer reads.\n    function _hsl(uint256 h, uint256 s, uint256 l) internal pure returns (string memory) {\n        h %= 360;\n        int256 c = (100 - _abs(int256(2 * l) - 100)) * int256(s) * 255 / 10000;\n        int256 x = c * (60 - _abs(int256(h % 120) - 60)) / 60;\n        int256 m = int256(l) * 255 / 100 - c / 2;\n        int256 r; int256 g; int256 b;\n        if (h < 60) (r, g, b) = (c, x, 0);\n        else if (h < 120) (r, g, b) = (x, c, 0);\n        else if (h < 180) (r, g, b) = (0, c, x);\n        else if (h < 240) (r, g, b) = (0, x, c);\n        else if (h < 300) (r, g, b) = (x, 0, c);\n        else (r, g, b) = (c, 0, x);\n        return string.concat(\"rgb(\", _u(r + m), \",\", _u(g + m), \",\", _u(b + m), \")\");\n    }\n\n    function _abs(int256 v) internal pure returns (int256) {\n        return v < 0 ? -v : v;\n    }\n\n    function _u(int256 v) internal pure returns (string memory) {\n        if (v < 0) v = 0;\n        if (v > 255) v = 255;\n        return uint256(v).toString();\n    }\n\n    function _pick(string[4] memory names, uint256 r) internal pure returns (string memory) {\n        return names[r % 4];\n    }\n\n    function _T1() internal pure returns (string[4] memory) {\n        return [\"Robot bee\", \"Robot bee\", \"Robot bee\", \"Robot bee\"];\n    }\n    function _T2() internal pure returns (string[4] memory) {\n        return [\"Cheers cup and bee swarm\", \"Cheers cup and bee swarm\", \"Cheers cup and bee swarm\", \"Cheers cup and bee swarm\"];\n    }\n    function _T3() internal pure returns (string[4] memory) {\n        return [\"Red-gold rim light\", \"Red-gold rim light\", \"Red-gold rim light\", \"Red-gold rim light\"];\n    }\n    function _T4() internal pure returns (string[4] memory) {\n        return [\"Red-purple gradient\", \"Red-purple gradient\", \"Red-purple gradient\", \"Red-purple gradient\"];\n    }\n\n\n    /// @notice Raw artwork bytes read from the IMAGE data contract.\n    function _img() internal view returns (bytes memory b) {\n        address a = IMAGE;\n        uint256 n = a.code.length - 1;\n        b = new bytes(n);\n        assembly {\n            extcodecopy(a, add(b, 32), 1, n)\n        }\n    }\n\n    function _svg(uint256) internal view returns (string memory) {\n        return string.concat('<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 400 400\"><image width=\"400\" height=\"400\" href=\"data:image/webp;base64,', Base64.encode(_img()), '\"/></svg>');\n    }\n\n    function _attributes(uint256 s) internal pure returns (string memory) {\n        return string.concat(\n            '[{\"trait_type\":\"Character\",\"value\":\"', _pick(_T1(), s), '\"},',\n            '{\"trait_type\":\"Accent\",\"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\":\"Swarmganbei #', id.toString(),\n            '\",\"description\":\"Swarmganbei is 700 Cheerful golden robot bee raising a tiny red cup in a cheers gesture with a swarm of glowing bee drones on a red-purple gradient. Art generated fully on-chain on BNB Chain. Minted by .ai Agent ID holders.\",',\n            '\"image\":\"data:image/svg+xml;base64,', Base64.encode(bytes(_svg(s))),\n            '\",\"attributes\":', _attributes(s), '}'\n        );\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n\n    /// @notice Collection-level metadata for marketplaces.\n    function contractURI() external pure returns (string memory) {\n        string memory json = string.concat(\n            '{\"name\":\"Swarmganbei\",\"description\":\"Swarmganbei is 700 Cheerful golden robot bee raising a tiny red cup in a cheers gesture with a swarm of glowing bee drones on a red-purple gradient. Art generated fully on-chain on BNB Chain. Mint is gated to .ai Agent ID holders.\",',\n            '\"seller_fee_basis_points\":500}'\n        );\n        return string.concat(\"data:application/json;base64,\", Base64.encode(bytes(json)));\n    }\n\n    // ---------------- owner ----------------\n\n    function setMintOpen(bool open) external onlyOwner {\n        mintOpen = open;\n    }\n\n    function setRoyalty(address receiver, uint96 feeBps) external onlyOwner {\n        _setDefaultRoyalty(receiver, feeBps);\n    }\n\n    function withdraw() external onlyOwner {\n        (bool ok,) = owner().call{value: address(this).balance}(\"\");\n        if (!ok) revert WithdrawFailed();\n    }\n\n    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981) returns (bool) {\n        return super.supportsInterface(interfaceId);\n    }\n}"}},"abi":[{"type":"constructor","inputs":[{"name":"initialOwner","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"BadQuantity","type":"error","inputs":[]},{"name":"ERC2981InvalidDefaultRoyalty","type":"error","inputs":[{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC2981InvalidTokenRoyalty","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"numerator","type":"uint256","internalType":"uint256"},{"name":"denominator","type":"uint256","internalType":"uint256"}]},{"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721IncorrectOwner","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InsufficientApproval","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"ERC721InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOperator","type":"error","inputs":[{"name":"operator","type":"address","internalType":"address"}]},{"name":"ERC721InvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"ERC721InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC721InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC721NonexistentToken","type":"error","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}]},{"name":"MintClosed","type":"error","inputs":[]},{"name":"NoAgentId","type":"error","inputs":[]},{"name":"OnlyWallets","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"SoldOut","type":"error","inputs":[]},{"name":"WalletLimit","type":"error","inputs":[]},{"name":"WithdrawFailed","type":"error","inputs":[]},{"name":"WrongPayment","type":"error","inputs":[]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"ApprovalForAll","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"operator","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Launched","type":"event","inputs":[{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"agent","type":"string","indexed":false,"internalType":"string"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"tokenId","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"AGENT_ID","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAgentIdRegistry"}],"stateMutability":"view"},{"name":"FREE_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"FREE_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"IMAGE","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"MAX_PER_WALLET","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_SUPPLY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"PRICE","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"contractURI","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"pure"},{"name":"freeClaimed","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeFor","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"},{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"n","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeLeft","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"freeUsed","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getApproved","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"image","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"isApprovedForAll","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"operator","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"mintOpen","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mintedBy","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"ownerOf","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"quote","type":"function","inputs":[{"name":"wallet","type":"address","internalType":"address"},{"name":"qty","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"royaltyInfo","type":"function","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"salePrice","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"safeTransferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setApprovalForAll","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setMintOpen","type":"function","inputs":[{"name":"open","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setRoyalty","type":"function","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"feeBps","type":"uint96","internalType":"uint96"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"tokenURI","type":"function","inputs":[{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"}],"matchId":"58252108","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-11-03T18:55:27Z","match":"exact_match","chainId":"56","address":"0xEEa8A6d433850b3121e059f9F86aCAeF47cFDA90"}