APE Price: $1.17 (+6.67%)

Contract

0x10B5d885E6b1552Bd5C3F9D66190AEBD676158cD

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...46636142024-11-19 13:44:252 days ago1732023865IN
0x10B5d885...D676158cD
0 APE0.0006301225.42069
Set Approval For...46635662024-11-19 13:43:462 days ago1732023826IN
0x10B5d885...D676158cD
0 APE0.0006301225.42069
Set Approval For...40275442024-11-11 0:04:4910 days ago1731283489IN
0x10B5d885...D676158cD
0 APE0.0011871425.42069
Set Approval For...36637132024-11-06 10:12:4915 days ago1730887969IN
0x10B5d885...D676158cD
0 APE0.0011871425.42069
Set Approval For...34889662024-11-04 19:15:0016 days ago1730747700IN
0x10B5d885...D676158cD
0 APE0.0011871425.42069
Transfer Out27546982024-10-30 0:38:4722 days ago1730248727IN
0x10B5d885...D676158cD
0 APE0.0007916525.42069
Mint27128822024-10-29 18:38:1022 days ago1730227090IN
0x10B5d885...D676158cD
1 APE0.001985425.42069
Mint27111522024-10-29 18:23:1222 days ago1730226192IN
0x10B5d885...D676158cD
1 APE0.0019854325.42069
Mint27092952024-10-29 18:07:5222 days ago1730225272IN
0x10B5d885...D676158cD
1 APE0.0015507325.42069
Mint27084212024-10-29 18:01:3022 days ago1730224890IN
0x10B5d885...D676158cD
1 APE0.001985425.42069
Transfer Out27047642024-10-29 17:33:3022 days ago1730223210IN
0x10B5d885...D676158cD
0 APE0.000855225.42069
Mint27047442024-10-29 17:33:2222 days ago1730223202IN
0x10B5d885...D676158cD
46 APE0.0037529325.42069
Airdrop Nfts27046862024-10-29 17:32:5522 days ago1730223175IN
0x10B5d885...D676158cD
0 APE0.1306029825.42069
Airdrop Nfts27041752024-10-29 17:29:2022 days ago1730222960IN
0x10B5d885...D676158cD
0 APE0.1860436325.42069
Airdrop Nfts27041372024-10-29 17:29:0622 days ago1730222946IN
0x10B5d885...D676158cD
0 APE0.1955083425.42069
Mint27041152024-10-29 17:28:5522 days ago1730222935IN
0x10B5d885...D676158cD
1 APE0.0019854325.42069
Airdrop Nfts27039522024-10-29 17:27:5322 days ago1730222873IN
0x10B5d885...D676158cD
0 APE0.2009164925.42069
Transfer Out27039122024-10-29 17:27:3822 days ago1730222858IN
0x10B5d885...D676158cD
0 APE0.000855225.42069
Mint27038942024-10-29 17:27:3222 days ago1730222852IN
0x10B5d885...D676158cD
490 APE0.0255141625.42069
Transfer Out27038602024-10-29 17:27:2122 days ago1730222841IN
0x10B5d885...D676158cD
0 APE0.000855225.42069
Mint27038442024-10-29 17:27:1422 days ago1730222834IN
0x10B5d885...D676158cD
490 APE0.0255141625.42069
Transfer Out27038042024-10-29 17:27:0122 days ago1730222821IN
0x10B5d885...D676158cD
0 APE0.000855225.42069
Mint27037902024-10-29 17:26:5522 days ago1730222815IN
0x10B5d885...D676158cD
490 APE0.0255141625.42069
Mint27037532024-10-29 17:26:3922 days ago1730222799IN
0x10B5d885...D676158cD
1 APE0.0015507125.42069
Transfer Out27036912024-10-29 17:26:1922 days ago1730222779IN
0x10B5d885...D676158cD
0 APE0.000855225.42069
View all transactions

Latest 22 internal transactions

Parent Transaction Hash Block From To
27546982024-10-30 0:38:4722 days ago1730248727
0x10B5d885...D676158cD
4 APE
27047642024-10-29 17:33:3022 days ago1730223210
0x10B5d885...D676158cD
47 APE
27039122024-10-29 17:27:3822 days ago1730222858
0x10B5d885...D676158cD
490 APE
27038602024-10-29 17:27:2122 days ago1730222841
0x10B5d885...D676158cD
490 APE
27038042024-10-29 17:27:0122 days ago1730222821
0x10B5d885...D676158cD
491 APE
27036912024-10-29 17:26:1922 days ago1730222779
0x10B5d885...D676158cD
490 APE
27036442024-10-29 17:26:0222 days ago1730222762
0x10B5d885...D676158cD
490 APE
27036062024-10-29 17:25:4822 days ago1730222748
0x10B5d885...D676158cD
490 APE
27035272024-10-29 17:25:2022 days ago1730222720
0x10B5d885...D676158cD
490 APE
27034772024-10-29 17:25:0422 days ago1730222704
0x10B5d885...D676158cD
490 APE
27034342024-10-29 17:24:4722 days ago1730222687
0x10B5d885...D676158cD
490 APE
27033682024-10-29 17:24:2522 days ago1730222665
0x10B5d885...D676158cD
490 APE
27032492024-10-29 17:23:3922 days ago1730222619
0x10B5d885...D676158cD
491 APE
27031152024-10-29 17:22:5522 days ago1730222575
0x10B5d885...D676158cD
490 APE
27028612024-10-29 17:21:1222 days ago1730222472
0x10B5d885...D676158cD
490 APE
27028312024-10-29 17:20:5822 days ago1730222458
0x10B5d885...D676158cD
490 APE
27028052024-10-29 17:20:4622 days ago1730222446
0x10B5d885...D676158cD
490 APE
27027732024-10-29 17:20:3322 days ago1730222433
0x10B5d885...D676158cD
490 APE
27025552024-10-29 17:19:1122 days ago1730222351
0x10B5d885...D676158cD
490 APE
27025222024-10-29 17:18:5922 days ago1730222339
0x10B5d885...D676158cD
490 APE
27024942024-10-29 17:18:4622 days ago1730222326
0x10B5d885...D676158cD
490 APE
27023792024-10-29 17:17:5922 days ago1730222279
0x10B5d885...D676158cD
17 APE

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Tommy

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-10-29
*/

// SPDX-License-Identifier: MIT
// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    /**
     * `_sequentialUpTo()` must be greater than `_startTokenId()`.
     */
    error SequentialUpToTooSmall();

    /**
     * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`.
     */
    error SequentialMintExceedsLimit();

    /**
     * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`.
     */
    error SpotMintTokenIdTooSmall();

    /**
     * Cannot mint over a token that already exists.
     */
    error TokenAlreadyExists();

    /**
     * The feature is not compatible with spot mints.
     */
    error NotCompatibleWithSpotMints();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external payable;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * The `_sequentialUpTo()` function can be overriden to enable spot mints
 * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // The amount of tokens minted above `_sequentialUpTo()`.
    // We call these spot mints (i.e. non-sequential mints).
    uint256 private _spotMinted;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();

        if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector);
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID for sequential mints.
     *
     * Override this function to change the starting token ID for sequential mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the maximum token ID (inclusive) for sequential mints.
     *
     * Override this function to return a value less than 2**256 - 1,
     * but greater than `_startTokenId()`, to enable spot (non-sequential) mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _sequentialUpTo() internal view virtual returns (uint256) {
        return type(uint256).max;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256 result) {
        // Counter underflow is impossible as `_burnCounter` cannot be incremented
        // more than `_currentIndex + _spotMinted - _startTokenId()` times.
        unchecked {
            // With spot minting, the intermediate `result` can be temporarily negative,
            // and the computation must be unchecked.
            result = _currentIndex - _burnCounter - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256 result) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            result = _currentIndex - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev Returns the total number of tokens that are spot-minted.
     */
    function _totalSpotMinted() internal view virtual returns (uint256) {
        return _spotMinted;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector);
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * @dev Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];

            if (tokenId > _sequentialUpTo()) {
                if (_packedOwnershipExists(packed)) return packed;
                _revert(OwnerQueryForNonexistentToken.selector);
            }

            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // Invariant:
                // There will always be an initialized ownership slot
                // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                // before an unintialized ownership slot
                // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                // Hence, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector);

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool result) {
        if (_startTokenId() <= tokenId) {
            if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]);

            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

    /**
     * @dev Returns whether `packed` represents a token that exists.
     */
    function _packedOwnershipExists(uint256 packed) private pure returns (bool result) {
        assembly {
            // The following is equivalent to `owner != address(0) && burned == false`.
            // Symbolically tested.
            result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_BURNED))
        }
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector);

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // Emit the `Transfer` event.
            log4(
                0, // Start of data (0, since no data).
                0, // End of data (0, since no data).
                _TRANSFER_EVENT_SIGNATURE, // Signature.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                _revert(TransferToNonERC721ReceiverImplementer.selector);
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                _revert(TransferToNonERC721ReceiverImplementer.selector);
            }
            assembly {
                revert(add(32, reason), mload(reason))
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) _revert(MintZeroQuantity.selector);

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            do {
                assembly {
                    // Emit the `Transfer` event.
                    log4(
                        0, // Start of data (0, since no data).
                        0, // End of data (0, since no data).
                        _TRANSFER_EVENT_SIGNATURE, // Signature.
                        0, // `address(0)`.
                        toMasked, // `to`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) _revert(MintToZeroAddress.selector);
        if (quantity == 0) _revert(MintZeroQuantity.selector);
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        _revert(TransferToNonERC721ReceiverImplementer.selector);
                    }
                } while (index < end);
                // This prevents reentrancy to `_safeMint`.
                // It does not prevent reentrancy to `_safeMintSpot`.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mintSpot(address to, uint256 tokenId) internal virtual {
        if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector);
        uint256 prevOwnershipPacked = _packedOwnerships[tokenId];
        if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector);

        _beforeTokenTransfers(address(0), to, tokenId, 1);

        // Overflows are incredibly unrealistic.
        // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1.
        // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `true` (as `quantity == 1`).
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked)
            );

            // Updates:
            // - `balance += 1`.
            // - `numberMinted += 1`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1;

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            assembly {
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    tokenId // `tokenId`.
                )
            }

            ++_spotMinted;
        }

        _afterTokenTransfers(address(0), to, tokenId, 1);
    }

    /**
     * @dev Safely mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * See {_mintSpot}.
     *
     * Emits a {Transfer} event.
     */
    function _safeMintSpot(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mintSpot(to, tokenId);

        unchecked {
            if (to.code.length != 0) {
                uint256 currentSpotMinted = _spotMinted;
                if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) {
                    _revert(TransferToNonERC721ReceiverImplementer.selector);
                }
                // This prevents reentrancy to `_safeMintSpot`.
                // It does not prevent reentrancy to `_safeMint`.
                if (_spotMinted != currentSpotMinted) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`.
     */
    function _safeMintSpot(address to, uint256 tokenId) internal virtual {
        _safeMintSpot(to, tokenId, '');
    }

    // =============================================================
    //                       APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_approve(to, tokenId, false)`.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _approve(to, tokenId, false);
    }

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector);
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as `_burnCounter` cannot be exceed `_currentIndex + _spotMinted` times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector);
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/utils/Panic.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)

pragma solidity ^0.8.20;

/**
 * @dev Helper library for emitting standardized panic codes.
 *
 * ```solidity
 * contract Example {
 *      using Panic for uint256;
 *
 *      // Use any of the declared internal constants
 *      function foo() { Panic.GENERIC.panic(); }
 *
 *      // Alternatively
 *      function foo() { Panic.panic(Panic.GENERIC); }
 * }
 * ```
 *
 * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].
 *
 * _Available since v5.1._
 */
// slither-disable-next-line unused-state
library Panic {
    /// @dev generic / unspecified error
    uint256 internal constant GENERIC = 0x00;
    /// @dev used by the assert() builtin
    uint256 internal constant ASSERT = 0x01;
    /// @dev arithmetic underflow or overflow
    uint256 internal constant UNDER_OVERFLOW = 0x11;
    /// @dev division or modulo by zero
    uint256 internal constant DIVISION_BY_ZERO = 0x12;
    /// @dev enum conversion error
    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;
    /// @dev invalid encoding in storage
    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;
    /// @dev empty array pop
    uint256 internal constant EMPTY_ARRAY_POP = 0x31;
    /// @dev array out of bounds access
    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;
    /// @dev resource error (too large allocation or too large array)
    uint256 internal constant RESOURCE_ERROR = 0x41;
    /// @dev calling invalid internal function
    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;

    /// @dev Reverts with a panic code. Recommended to use with
    /// the internal constants with predefined codes.
    function panic(uint256 code) internal pure {
        assembly ("memory-safe") {
            mstore(0x00, 0x4e487b71)
            mstore(0x20, code)
            revert(0x1c, 0x24)
        }
    }
}

// File: @openzeppelin/contracts/utils/math/SafeCast.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)
// This file was procedurally generated from scripts/generate/templates/SafeCast.js.

pragma solidity ^0.8.20;

/**
 * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeCast {
    /**
     * @dev Value doesn't fit in an uint of `bits` size.
     */
    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);

    /**
     * @dev An int value doesn't fit in an uint of `bits` size.
     */
    error SafeCastOverflowedIntToUint(int256 value);

    /**
     * @dev Value doesn't fit in an int of `bits` size.
     */
    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);

    /**
     * @dev An uint value doesn't fit in an int of `bits` size.
     */
    error SafeCastOverflowedUintToInt(uint256 value);

    /**
     * @dev Returns the downcasted uint248 from uint256, reverting on
     * overflow (when the input is greater than largest uint248).
     *
     * Counterpart to Solidity's `uint248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     */
    function toUint248(uint256 value) internal pure returns (uint248) {
        if (value > type(uint248).max) {
            revert SafeCastOverflowedUintDowncast(248, value);
        }
        return uint248(value);
    }

    /**
     * @dev Returns the downcasted uint240 from uint256, reverting on
     * overflow (when the input is greater than largest uint240).
     *
     * Counterpart to Solidity's `uint240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     */
    function toUint240(uint256 value) internal pure returns (uint240) {
        if (value > type(uint240).max) {
            revert SafeCastOverflowedUintDowncast(240, value);
        }
        return uint240(value);
    }

    /**
     * @dev Returns the downcasted uint232 from uint256, reverting on
     * overflow (when the input is greater than largest uint232).
     *
     * Counterpart to Solidity's `uint232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     */
    function toUint232(uint256 value) internal pure returns (uint232) {
        if (value > type(uint232).max) {
            revert SafeCastOverflowedUintDowncast(232, value);
        }
        return uint232(value);
    }

    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        if (value > type(uint224).max) {
            revert SafeCastOverflowedUintDowncast(224, value);
        }
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint216 from uint256, reverting on
     * overflow (when the input is greater than largest uint216).
     *
     * Counterpart to Solidity's `uint216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     */
    function toUint216(uint256 value) internal pure returns (uint216) {
        if (value > type(uint216).max) {
            revert SafeCastOverflowedUintDowncast(216, value);
        }
        return uint216(value);
    }

    /**
     * @dev Returns the downcasted uint208 from uint256, reverting on
     * overflow (when the input is greater than largest uint208).
     *
     * Counterpart to Solidity's `uint208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     */
    function toUint208(uint256 value) internal pure returns (uint208) {
        if (value > type(uint208).max) {
            revert SafeCastOverflowedUintDowncast(208, value);
        }
        return uint208(value);
    }

    /**
     * @dev Returns the downcasted uint200 from uint256, reverting on
     * overflow (when the input is greater than largest uint200).
     *
     * Counterpart to Solidity's `uint200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     */
    function toUint200(uint256 value) internal pure returns (uint200) {
        if (value > type(uint200).max) {
            revert SafeCastOverflowedUintDowncast(200, value);
        }
        return uint200(value);
    }

    /**
     * @dev Returns the downcasted uint192 from uint256, reverting on
     * overflow (when the input is greater than largest uint192).
     *
     * Counterpart to Solidity's `uint192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     */
    function toUint192(uint256 value) internal pure returns (uint192) {
        if (value > type(uint192).max) {
            revert SafeCastOverflowedUintDowncast(192, value);
        }
        return uint192(value);
    }

    /**
     * @dev Returns the downcasted uint184 from uint256, reverting on
     * overflow (when the input is greater than largest uint184).
     *
     * Counterpart to Solidity's `uint184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     */
    function toUint184(uint256 value) internal pure returns (uint184) {
        if (value > type(uint184).max) {
            revert SafeCastOverflowedUintDowncast(184, value);
        }
        return uint184(value);
    }

    /**
     * @dev Returns the downcasted uint176 from uint256, reverting on
     * overflow (when the input is greater than largest uint176).
     *
     * Counterpart to Solidity's `uint176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     */
    function toUint176(uint256 value) internal pure returns (uint176) {
        if (value > type(uint176).max) {
            revert SafeCastOverflowedUintDowncast(176, value);
        }
        return uint176(value);
    }

    /**
     * @dev Returns the downcasted uint168 from uint256, reverting on
     * overflow (when the input is greater than largest uint168).
     *
     * Counterpart to Solidity's `uint168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     */
    function toUint168(uint256 value) internal pure returns (uint168) {
        if (value > type(uint168).max) {
            revert SafeCastOverflowedUintDowncast(168, value);
        }
        return uint168(value);
    }

    /**
     * @dev Returns the downcasted uint160 from uint256, reverting on
     * overflow (when the input is greater than largest uint160).
     *
     * Counterpart to Solidity's `uint160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     */
    function toUint160(uint256 value) internal pure returns (uint160) {
        if (value > type(uint160).max) {
            revert SafeCastOverflowedUintDowncast(160, value);
        }
        return uint160(value);
    }

    /**
     * @dev Returns the downcasted uint152 from uint256, reverting on
     * overflow (when the input is greater than largest uint152).
     *
     * Counterpart to Solidity's `uint152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     */
    function toUint152(uint256 value) internal pure returns (uint152) {
        if (value > type(uint152).max) {
            revert SafeCastOverflowedUintDowncast(152, value);
        }
        return uint152(value);
    }

    /**
     * @dev Returns the downcasted uint144 from uint256, reverting on
     * overflow (when the input is greater than largest uint144).
     *
     * Counterpart to Solidity's `uint144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     */
    function toUint144(uint256 value) internal pure returns (uint144) {
        if (value > type(uint144).max) {
            revert SafeCastOverflowedUintDowncast(144, value);
        }
        return uint144(value);
    }

    /**
     * @dev Returns the downcasted uint136 from uint256, reverting on
     * overflow (when the input is greater than largest uint136).
     *
     * Counterpart to Solidity's `uint136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     */
    function toUint136(uint256 value) internal pure returns (uint136) {
        if (value > type(uint136).max) {
            revert SafeCastOverflowedUintDowncast(136, value);
        }
        return uint136(value);
    }

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        if (value > type(uint128).max) {
            revert SafeCastOverflowedUintDowncast(128, value);
        }
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint120 from uint256, reverting on
     * overflow (when the input is greater than largest uint120).
     *
     * Counterpart to Solidity's `uint120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     */
    function toUint120(uint256 value) internal pure returns (uint120) {
        if (value > type(uint120).max) {
            revert SafeCastOverflowedUintDowncast(120, value);
        }
        return uint120(value);
    }

    /**
     * @dev Returns the downcasted uint112 from uint256, reverting on
     * overflow (when the input is greater than largest uint112).
     *
     * Counterpart to Solidity's `uint112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     */
    function toUint112(uint256 value) internal pure returns (uint112) {
        if (value > type(uint112).max) {
            revert SafeCastOverflowedUintDowncast(112, value);
        }
        return uint112(value);
    }

    /**
     * @dev Returns the downcasted uint104 from uint256, reverting on
     * overflow (when the input is greater than largest uint104).
     *
     * Counterpart to Solidity's `uint104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     */
    function toUint104(uint256 value) internal pure returns (uint104) {
        if (value > type(uint104).max) {
            revert SafeCastOverflowedUintDowncast(104, value);
        }
        return uint104(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        if (value > type(uint96).max) {
            revert SafeCastOverflowedUintDowncast(96, value);
        }
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint88 from uint256, reverting on
     * overflow (when the input is greater than largest uint88).
     *
     * Counterpart to Solidity's `uint88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     */
    function toUint88(uint256 value) internal pure returns (uint88) {
        if (value > type(uint88).max) {
            revert SafeCastOverflowedUintDowncast(88, value);
        }
        return uint88(value);
    }

    /**
     * @dev Returns the downcasted uint80 from uint256, reverting on
     * overflow (when the input is greater than largest uint80).
     *
     * Counterpart to Solidity's `uint80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     */
    function toUint80(uint256 value) internal pure returns (uint80) {
        if (value > type(uint80).max) {
            revert SafeCastOverflowedUintDowncast(80, value);
        }
        return uint80(value);
    }

    /**
     * @dev Returns the downcasted uint72 from uint256, reverting on
     * overflow (when the input is greater than largest uint72).
     *
     * Counterpart to Solidity's `uint72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     */
    function toUint72(uint256 value) internal pure returns (uint72) {
        if (value > type(uint72).max) {
            revert SafeCastOverflowedUintDowncast(72, value);
        }
        return uint72(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        if (value > type(uint64).max) {
            revert SafeCastOverflowedUintDowncast(64, value);
        }
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint56 from uint256, reverting on
     * overflow (when the input is greater than largest uint56).
     *
     * Counterpart to Solidity's `uint56` operator.
     *
     * Requirements:
     *
     * - input must fit into 56 bits
     */
    function toUint56(uint256 value) internal pure returns (uint56) {
        if (value > type(uint56).max) {
            revert SafeCastOverflowedUintDowncast(56, value);
        }
        return uint56(value);
    }

    /**
     * @dev Returns the downcasted uint48 from uint256, reverting on
     * overflow (when the input is greater than largest uint48).
     *
     * Counterpart to Solidity's `uint48` operator.
     *
     * Requirements:
     *
     * - input must fit into 48 bits
     */
    function toUint48(uint256 value) internal pure returns (uint48) {
        if (value > type(uint48).max) {
            revert SafeCastOverflowedUintDowncast(48, value);
        }
        return uint48(value);
    }

    /**
     * @dev Returns the downcasted uint40 from uint256, reverting on
     * overflow (when the input is greater than largest uint40).
     *
     * Counterpart to Solidity's `uint40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     */
    function toUint40(uint256 value) internal pure returns (uint40) {
        if (value > type(uint40).max) {
            revert SafeCastOverflowedUintDowncast(40, value);
        }
        return uint40(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        if (value > type(uint32).max) {
            revert SafeCastOverflowedUintDowncast(32, value);
        }
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint24 from uint256, reverting on
     * overflow (when the input is greater than largest uint24).
     *
     * Counterpart to Solidity's `uint24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     */
    function toUint24(uint256 value) internal pure returns (uint24) {
        if (value > type(uint24).max) {
            revert SafeCastOverflowedUintDowncast(24, value);
        }
        return uint24(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        if (value > type(uint16).max) {
            revert SafeCastOverflowedUintDowncast(16, value);
        }
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        if (value > type(uint8).max) {
            revert SafeCastOverflowedUintDowncast(8, value);
        }
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        if (value < 0) {
            revert SafeCastOverflowedIntToUint(value);
        }
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int248 from int256, reverting on
     * overflow (when the input is less than smallest int248 or
     * greater than largest int248).
     *
     * Counterpart to Solidity's `int248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     */
    function toInt248(int256 value) internal pure returns (int248 downcasted) {
        downcasted = int248(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(248, value);
        }
    }

    /**
     * @dev Returns the downcasted int240 from int256, reverting on
     * overflow (when the input is less than smallest int240 or
     * greater than largest int240).
     *
     * Counterpart to Solidity's `int240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     */
    function toInt240(int256 value) internal pure returns (int240 downcasted) {
        downcasted = int240(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(240, value);
        }
    }

    /**
     * @dev Returns the downcasted int232 from int256, reverting on
     * overflow (when the input is less than smallest int232 or
     * greater than largest int232).
     *
     * Counterpart to Solidity's `int232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     */
    function toInt232(int256 value) internal pure returns (int232 downcasted) {
        downcasted = int232(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(232, value);
        }
    }

    /**
     * @dev Returns the downcasted int224 from int256, reverting on
     * overflow (when the input is less than smallest int224 or
     * greater than largest int224).
     *
     * Counterpart to Solidity's `int224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     */
    function toInt224(int256 value) internal pure returns (int224 downcasted) {
        downcasted = int224(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(224, value);
        }
    }

    /**
     * @dev Returns the downcasted int216 from int256, reverting on
     * overflow (when the input is less than smallest int216 or
     * greater than largest int216).
     *
     * Counterpart to Solidity's `int216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     */
    function toInt216(int256 value) internal pure returns (int216 downcasted) {
        downcasted = int216(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(216, value);
        }
    }

    /**
     * @dev Returns the downcasted int208 from int256, reverting on
     * overflow (when the input is less than smallest int208 or
     * greater than largest int208).
     *
     * Counterpart to Solidity's `int208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     */
    function toInt208(int256 value) internal pure returns (int208 downcasted) {
        downcasted = int208(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(208, value);
        }
    }

    /**
     * @dev Returns the downcasted int200 from int256, reverting on
     * overflow (when the input is less than smallest int200 or
     * greater than largest int200).
     *
     * Counterpart to Solidity's `int200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     */
    function toInt200(int256 value) internal pure returns (int200 downcasted) {
        downcasted = int200(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(200, value);
        }
    }

    /**
     * @dev Returns the downcasted int192 from int256, reverting on
     * overflow (when the input is less than smallest int192 or
     * greater than largest int192).
     *
     * Counterpart to Solidity's `int192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     */
    function toInt192(int256 value) internal pure returns (int192 downcasted) {
        downcasted = int192(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(192, value);
        }
    }

    /**
     * @dev Returns the downcasted int184 from int256, reverting on
     * overflow (when the input is less than smallest int184 or
     * greater than largest int184).
     *
     * Counterpart to Solidity's `int184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     */
    function toInt184(int256 value) internal pure returns (int184 downcasted) {
        downcasted = int184(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(184, value);
        }
    }

    /**
     * @dev Returns the downcasted int176 from int256, reverting on
     * overflow (when the input is less than smallest int176 or
     * greater than largest int176).
     *
     * Counterpart to Solidity's `int176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     */
    function toInt176(int256 value) internal pure returns (int176 downcasted) {
        downcasted = int176(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(176, value);
        }
    }

    /**
     * @dev Returns the downcasted int168 from int256, reverting on
     * overflow (when the input is less than smallest int168 or
     * greater than largest int168).
     *
     * Counterpart to Solidity's `int168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     */
    function toInt168(int256 value) internal pure returns (int168 downcasted) {
        downcasted = int168(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(168, value);
        }
    }

    /**
     * @dev Returns the downcasted int160 from int256, reverting on
     * overflow (when the input is less than smallest int160 or
     * greater than largest int160).
     *
     * Counterpart to Solidity's `int160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     */
    function toInt160(int256 value) internal pure returns (int160 downcasted) {
        downcasted = int160(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(160, value);
        }
    }

    /**
     * @dev Returns the downcasted int152 from int256, reverting on
     * overflow (when the input is less than smallest int152 or
     * greater than largest int152).
     *
     * Counterpart to Solidity's `int152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     */
    function toInt152(int256 value) internal pure returns (int152 downcasted) {
        downcasted = int152(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(152, value);
        }
    }

    /**
     * @dev Returns the downcasted int144 from int256, reverting on
     * overflow (when the input is less than smallest int144 or
     * greater than largest int144).
     *
     * Counterpart to Solidity's `int144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     */
    function toInt144(int256 value) internal pure returns (int144 downcasted) {
        downcasted = int144(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(144, value);
        }
    }

    /**
     * @dev Returns the downcasted int136 from int256, reverting on
     * overflow (when the input is less than smallest int136 or
     * greater than largest int136).
     *
     * Counterpart to Solidity's `int136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     */
    function toInt136(int256 value) internal pure returns (int136 downcasted) {
        downcasted = int136(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(136, value);
        }
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toInt128(int256 value) internal pure returns (int128 downcasted) {
        downcasted = int128(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(128, value);
        }
    }

    /**
     * @dev Returns the downcasted int120 from int256, reverting on
     * overflow (when the input is less than smallest int120 or
     * greater than largest int120).
     *
     * Counterpart to Solidity's `int120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     */
    function toInt120(int256 value) internal pure returns (int120 downcasted) {
        downcasted = int120(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(120, value);
        }
    }

    /**
     * @dev Returns the downcasted int112 from int256, reverting on
     * overflow (when the input is less than smallest int112 or
     * greater than largest int112).
     *
     * Counterpart to Solidity's `int112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     */
    function toInt112(int256 value) internal pure returns (int112 downcasted) {
        downcasted = int112(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(112, value);
        }
    }

    /**
     * @dev Returns the downcasted int104 from int256, reverting on
     * overflow (when the input is less than smallest int104 or
     * greater than largest int104).
     *
     * Counterpart to Solidity's `int104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     */
    function toInt104(int256 value) internal pure returns (int104 downcasted) {
        downcasted = int104(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(104, value);
        }
    }

    /**
     * @dev Returns the downcasted int96 from int256, reverting on
     * overflow (when the input is less than smallest int96 or
     * greater than largest int96).
     *
     * Counterpart to Solidity's `int96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     */
    function toInt96(int256 value) internal pure returns (int96 downcasted) {
        downcasted = int96(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(96, value);
        }
    }

    /**
     * @dev Returns the downcasted int88 from int256, reverting on
     * overflow (when the input is less than smallest int88 or
     * greater than largest int88).
     *
     * Counterpart to Solidity's `int88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     */
    function toInt88(int256 value) internal pure returns (int88 downcasted) {
        downcasted = int88(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(88, value);
        }
    }

    /**
     * @dev Returns the downcasted int80 from int256, reverting on
     * overflow (when the input is less than smallest int80 or
     * greater than largest int80).
     *
     * Counterpart to Solidity's `int80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     */
    function toInt80(int256 value) internal pure returns (int80 downcasted) {
        downcasted = int80(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(80, value);
        }
    }

    /**
     * @dev Returns the downcasted int72 from int256, reverting on
     * overflow (when the input is less than smallest int72 or
     * greater than largest int72).
     *
     * Counterpart to Solidity's `int72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     */
    function toInt72(int256 value) internal pure returns (int72 downcasted) {
        downcasted = int72(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(72, value);
        }
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toInt64(int256 value) internal pure returns (int64 downcasted) {
        downcasted = int64(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(64, value);
        }
    }

    /**
     * @dev Returns the downcasted int56 from int256, reverting on
     * overflow (when the input is less than smallest int56 or
     * greater than largest int56).
     *
     * Counterpart to Solidity's `int56` operator.
     *
     * Requirements:
     *
     * - input must fit into 56 bits
     */
    function toInt56(int256 value) internal pure returns (int56 downcasted) {
        downcasted = int56(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(56, value);
        }
    }

    /**
     * @dev Returns the downcasted int48 from int256, reverting on
     * overflow (when the input is less than smallest int48 or
     * greater than largest int48).
     *
     * Counterpart to Solidity's `int48` operator.
     *
     * Requirements:
     *
     * - input must fit into 48 bits
     */
    function toInt48(int256 value) internal pure returns (int48 downcasted) {
        downcasted = int48(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(48, value);
        }
    }

    /**
     * @dev Returns the downcasted int40 from int256, reverting on
     * overflow (when the input is less than smallest int40 or
     * greater than largest int40).
     *
     * Counterpart to Solidity's `int40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     */
    function toInt40(int256 value) internal pure returns (int40 downcasted) {
        downcasted = int40(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(40, value);
        }
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toInt32(int256 value) internal pure returns (int32 downcasted) {
        downcasted = int32(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(32, value);
        }
    }

    /**
     * @dev Returns the downcasted int24 from int256, reverting on
     * overflow (when the input is less than smallest int24 or
     * greater than largest int24).
     *
     * Counterpart to Solidity's `int24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     */
    function toInt24(int256 value) internal pure returns (int24 downcasted) {
        downcasted = int24(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(24, value);
        }
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toInt16(int256 value) internal pure returns (int16 downcasted) {
        downcasted = int16(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(16, value);
        }
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits
     */
    function toInt8(int256 value) internal pure returns (int8 downcasted) {
        downcasted = int8(value);
        if (downcasted != value) {
            revert SafeCastOverflowedIntDowncast(8, value);
        }
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        if (value > uint256(type(int256).max)) {
            revert SafeCastOverflowedUintToInt(value);
        }
        return int256(value);
    }

    /**
     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.
     */
    function toUint(bool b) internal pure returns (uint256 u) {
        assembly ("memory-safe") {
            u := iszero(iszero(b))
        }
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;



/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an success flag (no overflow).
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.
     *
     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.
     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute
     * one branch when needed, making this function more expensive.
     */
    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {
        unchecked {
            // branchless ternary works because:
            // b ^ (a ^ b) == a
            // b ^ 0 == b
            return b ^ ((a ^ b) * SafeCast.toUint(condition));
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return ternary(a > b, a, b);
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return ternary(a < b, a, b);
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            Panic.panic(Panic.DIVISION_BY_ZERO);
        }

        // The following calculation ensures accurate ceiling division without overflow.
        // Since a is non-zero, (a - 1) / b will not overflow.
        // The largest possible result occurs when (a - 1) / b is type(uint256).max,
        // but the largest value we can obtain is type(uint256).max - 1, which happens
        // when a = type(uint256).max and b = 1.
        unchecked {
            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);
        }
    }

    /**
     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     *
     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use
            // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2²⁵⁶ + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.
            if (denominator <= prod1) {
                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such
            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2⁸
            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶
            inverse *= 2 - denominator * inverse; // inverse mod 2³²
            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴
            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸
            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is
            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);
    }

    /**
     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.
     *
     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.
     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.
     *
     * If the input value is not inversible, 0 is returned.
     *
     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the
     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.
     */
    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {
        unchecked {
            if (n == 0) return 0;

            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)
            // Used to compute integers x and y such that: ax + ny = gcd(a, n).
            // When the gcd is 1, then the inverse of a modulo n exists and it's x.
            // ax + ny = 1
            // ax = 1 + (-y)n
            // ax ≡ 1 (mod n) # x is the inverse of a modulo n

            // If the remainder is 0 the gcd is n right away.
            uint256 remainder = a % n;
            uint256 gcd = n;

            // Therefore the initial coefficients are:
            // ax + ny = gcd(a, n) = n
            // 0a + 1n = n
            int256 x = 0;
            int256 y = 1;

            while (remainder != 0) {
                uint256 quotient = gcd / remainder;

                (gcd, remainder) = (
                    // The old remainder is the next gcd to try.
                    remainder,
                    // Compute the next remainder.
                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd
                    // where gcd is at most n (capped to type(uint256).max)
                    gcd - remainder * quotient
                );

                (x, y) = (
                    // Increment the coefficient of a.
                    y,
                    // Decrement the coefficient of n.
                    // Can overflow, but the result is casted to uint256 so that the
                    // next value of y is "wrapped around" to a value between 0 and n - 1.
                    x - y * int256(quotient)
                );
            }

            if (gcd != 1) return 0; // No inverse exists.
            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.
        }
    }

    /**
     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.
     *
     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is
     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that
     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.
     *
     * NOTE: this function does NOT check that `p` is a prime greater than `2`.
     */
    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {
        unchecked {
            return Math.modExp(a, p - 2, p);
        }
    }

    /**
     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)
     *
     * Requirements:
     * - modulus can't be zero
     * - underlying staticcall to precompile must succeed
     *
     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make
     * sure the chain you're using it on supports the precompiled contract for modular exponentiation
     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,
     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly
     * interpreted as 0.
     */
    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {
        (bool success, uint256 result) = tryModExp(b, e, m);
        if (!success) {
            Panic.panic(Panic.DIVISION_BY_ZERO);
        }
        return result;
    }

    /**
     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).
     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying
     * to operate modulo 0 or if the underlying precompile reverted.
     *
     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain
     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in
     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack
     * of a revert, but the result may be incorrectly interpreted as 0.
     */
    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {
        if (m == 0) return (false, 0);
        assembly ("memory-safe") {
            let ptr := mload(0x40)
            // | Offset    | Content    | Content (Hex)                                                      |
            // |-----------|------------|--------------------------------------------------------------------|
            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |
            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |
            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |
            // | 0x60:0x7f | value of b | 0x<.............................................................b> |
            // | 0x80:0x9f | value of e | 0x<.............................................................e> |
            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |
            mstore(ptr, 0x20)
            mstore(add(ptr, 0x20), 0x20)
            mstore(add(ptr, 0x40), 0x20)
            mstore(add(ptr, 0x60), b)
            mstore(add(ptr, 0x80), e)
            mstore(add(ptr, 0xa0), m)

            // Given the result < m, it's guaranteed to fit in 32 bytes,
            // so we can use the memory scratch space located at offset 0.
            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)
            result := mload(0x00)
        }
    }

    /**
     * @dev Variant of {modExp} that supports inputs of arbitrary length.
     */
    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {
        (bool success, bytes memory result) = tryModExp(b, e, m);
        if (!success) {
            Panic.panic(Panic.DIVISION_BY_ZERO);
        }
        return result;
    }

    /**
     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.
     */
    function tryModExp(
        bytes memory b,
        bytes memory e,
        bytes memory m
    ) internal view returns (bool success, bytes memory result) {
        if (_zeroBytes(m)) return (false, new bytes(0));

        uint256 mLen = m.length;

        // Encode call args in result and move the free memory pointer
        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);

        assembly ("memory-safe") {
            let dataPtr := add(result, 0x20)
            // Write result on top of args to avoid allocating extra memory.
            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)
            // Overwrite the length.
            // result.length > returndatasize() is guaranteed because returndatasize() == m.length
            mstore(result, mLen)
            // Set the memory pointer after the returned data.
            mstore(0x40, add(dataPtr, mLen))
        }
    }

    /**
     * @dev Returns whether the provided byte array is zero.
     */
    function _zeroBytes(bytes memory byteArray) private pure returns (bool) {
        for (uint256 i = 0; i < byteArray.length; ++i) {
            if (byteArray[i] != 0) {
                return false;
            }
        }
        return true;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only
     * using integer operations.
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        unchecked {
            // Take care of easy edge cases when a == 0 or a == 1
            if (a <= 1) {
                return a;
            }

            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a
            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between
            // the current value as `ε_n = | x_n - sqrt(a) |`.
            //
            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root
            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is
            // bigger than any uint256.
            //
            // By noticing that
            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`
            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar
            // to the msb function.
            uint256 aa = a;
            uint256 xn = 1;

            if (aa >= (1 << 128)) {
                aa >>= 128;
                xn <<= 64;
            }
            if (aa >= (1 << 64)) {
                aa >>= 64;
                xn <<= 32;
            }
            if (aa >= (1 << 32)) {
                aa >>= 32;
                xn <<= 16;
            }
            if (aa >= (1 << 16)) {
                aa >>= 16;
                xn <<= 8;
            }
            if (aa >= (1 << 8)) {
                aa >>= 8;
                xn <<= 4;
            }
            if (aa >= (1 << 4)) {
                aa >>= 4;
                xn <<= 2;
            }
            if (aa >= (1 << 2)) {
                xn <<= 1;
            }

            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).
            //
            // We can refine our estimation by noticing that the middle of that interval minimizes the error.
            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).
            // This is going to be our x_0 (and ε_0)
            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)

            // From here, Newton's method give us:
            // x_{n+1} = (x_n + a / x_n) / 2
            //
            // One should note that:
            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a
            //              = ((x_n² + a) / (2 * x_n))² - a
            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a
            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)
            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)
            //              = (x_n² - a)² / (2 * x_n)²
            //              = ((x_n² - a) / (2 * x_n))²
            //              ≥ 0
            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n
            //
            // This gives us the proof of quadratic convergence of the sequence:
            // ε_{n+1} = | x_{n+1} - sqrt(a) |
            //         = | (x_n + a / x_n) / 2 - sqrt(a) |
            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |
            //         = | (x_n - sqrt(a))² / (2 * x_n) |
            //         = | ε_n² / (2 * x_n) |
            //         = ε_n² / | (2 * x_n) |
            //
            // For the first iteration, we have a special case where x_0 is known:
            // ε_1 = ε_0² / | (2 * x_0) |
            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))
            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))
            //     ≤ 2**(e-3) / 3
            //     ≤ 2**(e-3-log2(3))
            //     ≤ 2**(e-4.5)
            //
            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:
            // ε_{n+1} = ε_n² / | (2 * x_n) |
            //         ≤ (2**(e-k))² / (2 * 2**(e-1))
            //         ≤ 2**(2*e-2*k) / 2**e
            //         ≤ 2**(e-2*k)
            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above
            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5
            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9
            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18
            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36
            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72

            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision
            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either
            // sqrt(a) or sqrt(a) + 1.
            return xn - SafeCast.toUint(xn > a / xn);
        }
    }

    /**
     * @dev Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        uint256 exp;
        unchecked {
            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);
            value >>= exp;
            result += exp;

            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);
            value >>= exp;
            result += exp;

            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);
            value >>= exp;
            result += exp;

            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);
            value >>= exp;
            result += exp;

            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);
            value >>= exp;
            result += exp;

            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);
            value >>= exp;
            result += exp;

            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);
            value >>= exp;
            result += exp;

            result += SafeCast.toUint(value > 1);
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        uint256 isGt;
        unchecked {
            isGt = SafeCast.toUint(value > (1 << 128) - 1);
            value >>= isGt * 128;
            result += isGt * 16;

            isGt = SafeCast.toUint(value > (1 << 64) - 1);
            value >>= isGt * 64;
            result += isGt * 8;

            isGt = SafeCast.toUint(value > (1 << 32) - 1);
            value >>= isGt * 32;
            result += isGt * 4;

            isGt = SafeCast.toUint(value > (1 << 16) - 1);
            value >>= isGt * 16;
            result += isGt * 2;

            result += SafeCast.toUint(value > (1 << 8) - 1);
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;


/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.
     *
     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.
     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute
     * one branch when needed, making this function more expensive.
     */
    function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {
        unchecked {
            // branchless ternary works because:
            // b ^ (a ^ b) == a
            // b ^ 0 == b
            return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));
        }
    }

    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return ternary(a > b, a, b);
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return ternary(a < b, a, b);
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // Formula from the "Bit Twiddling Hacks" by Sean Eron Anderson.
            // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,
            // taking advantage of the most significant (or "sign" bit) in two's complement representation.
            // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,
            // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).
            int256 mask = n >> 255;

            // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.
            return uint256((n + mask) ^ mask);
        }
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Strings.sol)

pragma solidity ^0.8.20;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            assembly ("memory-safe") {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                assembly ("memory-safe") {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal
     * representation, according to EIP-55.
     */
    function toChecksumHexString(address addr) internal pure returns (string memory) {
        bytes memory buffer = bytes(toHexString(addr));

        // hash the hex part of buffer (skip length + 2 bytes, length 40)
        uint256 hashValue;
        assembly ("memory-safe") {
            hashValue := shr(96, keccak256(add(buffer, 0x22), 40))
        }

        for (uint256 i = 41; i > 1; --i) {
            // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)
            if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {
                // case shift by xoring with 0x20
                buffer[i] ^= 0x20;
            }
            hashValue >>= 4;
        }
        return string(buffer);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// File: contracts/Contract.sol


pragma solidity ^0.8.20;






contract Tommy is ERC721A, Ownable {
    using Counters for Counters.Counter;
    uint public constant MAX_SUPPLY = 9999;
    uint public constant MINT_PRICE = 1 ether;

    uint256 private _flag = 0;

    string private _defTokenURI = "https://ipfs.io/ipfs/Qmbe3jNCLx2QSUyzTLbY8rzEUeh6z2vxHcti3TbXNH3eXb";
    string private _baseTokenURI = "";

    mapping(address => bool) private _hasMinted;
    mapping(uint256 => uint256) private amountToPrice;
    mapping(uint256 => string) private tokenIdToUri;

    event NewMint(address indexed msgSender, uint256 indexed mintQuantity);

    Counters.Counter private _tokenIdCounter;

    constructor() ERC721A("TOMMY THOMAS GANG", "GAN") Ownable(msg.sender) {
        tokenIdToUri[0] = "https://ipfs.io/ipfs/Qmbe3jNCLx2QSUyzTLbY8rzEUeh6z2vxHcti3TbXNH3eXb";
        tokenIdToUri[1] = "https://ipfs.io/ipfs/QmbcyouxyJ86KDpdQuUie4ZuSyLv1cLKfceGe54FUGQ45G";
        tokenIdToUri[2] = "https://ipfs.io/ipfs/QmUnNKPg9g1qxuo2GnpFc1o43kppq1sH4vfr1LP48TpP4n";
        tokenIdToUri[3] = "https://ipfs.io/ipfs/QmcLGKoKHDAFbo2g1vxNmKwDLycyzvJW77XCZe95ohGayR";
        tokenIdToUri[4] = "https://ipfs.io/ipfs/QmdiATUxeDWEwsvGays53Nj3M5dgeBC9tcgnMVo6bHtpHc";
        tokenIdToUri[5] = "https://ipfs.io/ipfs/Qma4qGjuzRCYEPjr2xJQUMHtMAgsmjLxd9y1QBvLQz8Zgm";
        tokenIdToUri[6] = "https://ipfs.io/ipfs/QmPqHeucAj45UTMueB4L2i4KQtyyPraBTJie3DmeShLjua";
        tokenIdToUri[7] = "https://ipfs.io/ipfs/QmUmvEEVauCb32u3LphWnovubrEw2xXJkDDeS8HVL2Eyf1";
    }
   
    function _startTokenId() internal view override virtual returns (uint256) {
        return 1;
    }
    function transferOut(address _to) public onlyOwner {
        uint256 balance = address(this).balance;
        payable(_to).transfer(balance);
    }

    function changeTokenURIFlag(uint256 flag) external onlyOwner {
        _flag = flag;
    }
    function changeDefURI(string calldata _tokenURI) external onlyOwner {
        _defTokenURI = _tokenURI;
    }
    function changeURI(string calldata _tokenURI) external onlyOwner {
        _baseTokenURI = _tokenURI;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (_flag == 0) {
            uint256 mediaNumber = tokenId % 8;
            string memory uri = tokenIdToUri[mediaNumber];
            if (bytes(uri).length == 0) {
                return _defTokenURI;
            }
            return tokenIdToUri[mediaNumber];
        } else {
            require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
            return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId)));
        }
    }

    function ownerMint(uint256 quantity) public payable onlyOwner {
        require(totalSupply() + quantity <= MAX_SUPPLY, "ERC721: Exceeds maximum supply");
        _safeMint(msg.sender, quantity);
        emit NewMint(msg.sender, quantity);
    }

    function airdropNfts(address[] calldata wAddresses) public onlyOwner {

        for (uint i = 0; i < wAddresses.length; i++) {
            require(totalSupply() + 1 <= MAX_SUPPLY, "ERC721: Exceeds maximum supply");
            _safeMint(wAddresses[i], 1);
            emit NewMint(wAddresses[i], 1);
        }
    }

    function mint(uint256 quantity) public payable {
        require(totalSupply() + quantity <= MAX_SUPPLY, "ERC721: Exceeds maximum supply");
        require(msg.value >= MINT_PRICE, "ERC721: Price is 2 token");
        _safeMint(msg.sender, quantity);
        emit NewMint(msg.sender, quantity);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"msgSender","type":"address"},{"indexed":true,"internalType":"uint256","name":"mintQuantity","type":"uint256"}],"name":"NewMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wAddresses","type":"address[]"}],"name":"airdropNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeDefURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"flag","type":"uint256"}],"name":"changeTokenURIFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"transferOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040525f600a55604051806080016040528060438152602001620035c660439139600b908162000032919062000708565b5060405180602001604052805f815250600c908162000052919062000708565b503480156200005f575f80fd5b50336040518060400160405280601181526020017f544f4d4d592054484f4d41532047414e470000000000000000000000000000008152506040518060400160405280600381526020017f47414e00000000000000000000000000000000000000000000000000000000008152508160029081620000de919062000708565b508060039081620000f0919062000708565b5062000101620003aa60201b60201c565b5f8190555062000116620003aa60201b60201c565b62000126620003b260201b60201c565b101562000146576200014563fed8210f60e01b620003d960201b60201c565b5b50505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001bb575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001b291906200082f565b60405180910390fd5b620001cc81620003e160201b60201c565b50604051806080016040528060438152602001620035c660439139600f5f8081526020019081526020015f20908162000206919062000708565b50604051806080016040528060438152602001620036d260439139600f5f600181526020019081526020015f20908162000241919062000708565b506040518060800160405280604381526020016200358360439139600f5f600281526020019081526020015f2090816200027c919062000708565b506040518060800160405280604381526020016200371560439139600f5f600381526020019081526020015f209081620002b7919062000708565b506040518060800160405280604381526020016200368f60439139600f5f600481526020019081526020015f209081620002f2919062000708565b506040518060800160405280604381526020016200375860439139600f5f600581526020019081526020015f2090816200032d919062000708565b506040518060800160405280604381526020016200364c60439139600f5f600681526020019081526020015f20908162000368919062000708565b506040518060800160405280604381526020016200360960439139600f5f600781526020019081526020015f209081620003a3919062000708565b506200084a565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b805f5260045ffd5b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200052057607f821691505b602082108103620005365762000535620004db565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200059a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200055d565b620005a686836200055d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620005f0620005ea620005e484620005be565b620005c7565b620005be565b9050919050565b5f819050919050565b6200060b83620005d0565b620006236200061a82620005f7565b84845462000569565b825550505050565b5f90565b620006396200062b565b6200064681848462000600565b505050565b5b818110156200066d57620006615f826200062f565b6001810190506200064c565b5050565b601f821115620006bc5762000686816200053c565b62000691846200054e565b81016020851015620006a1578190505b620006b9620006b0856200054e565b8301826200064b565b50505b505050565b5f82821c905092915050565b5f620006de5f1984600802620006c1565b1980831691505092915050565b5f620006f88383620006cd565b9150826002028217905092915050565b6200071382620004a4565b67ffffffffffffffff8111156200072f576200072e620004ae565b5b6200073b825462000508565b6200074882828562000671565b5f60209050601f8311600181146200077e575f841562000769578287015190505b620007758582620006eb565b865550620007e4565b601f1984166200078e866200053c565b5f5b82811015620007b75784890151825560018201915060208501945060208101905062000790565b86831015620007d75784890151620007d3601f891682620006cd565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200081782620007ec565b9050919050565b62000829816200080b565b82525050565b5f602082019050620008445f8301846200081e565b92915050565b612d2b80620008585f395ff3fe608060405260043610610180575f3560e01c80638da5cb5b116100d0578063c002d23d11610089578063e985e9c511610063578063e985e9c514610516578063f19e75d414610552578063f2fde38b1461056e578063f356749d1461059657610180565b8063c002d23d14610488578063c87b56dd146104b2578063e5e01c11146104ee57610180565b80638da5cb5b146103ac57806395d89b41146103d65780639894ba7c14610400578063a0712d6814610428578063a22cb46514610444578063b88d4fde1461046c57610180565b806323b872dd1161013d578063528c06cc11610117578063528c06cc146102f65780636352211e1461031e57806370a082311461035a578063715018a61461039657610180565b806323b872dd1461029457806332cb6b0c146102b057806342842e0e146102da57610180565b806301ffc9a71461018457806306fdde03146101c0578063081812fc146101ea578063095ea7b3146102265780630e5c19191461024257806318160ddd1461026a575b5f80fd5b34801561018f575f80fd5b506101aa60048036038101906101a59190611f53565b6105be565b6040516101b79190611f98565b60405180910390f35b3480156101cb575f80fd5b506101d461064f565b6040516101e1919061203b565b60405180910390f35b3480156101f5575f80fd5b50610210600480360381019061020b919061208e565b6106df565b60405161021d91906120f8565b60405180910390f35b610240600480360381019061023b919061213b565b610738565b005b34801561024d575f80fd5b50610268600480360381019061026391906121da565b610748565b005b348015610275575f80fd5b5061027e610766565b60405161028b9190612234565b60405180910390f35b6102ae60048036038101906102a9919061224d565b6107b1565b005b3480156102bb575f80fd5b506102c4610a5c565b6040516102d19190612234565b60405180910390f35b6102f460048036038101906102ef919061224d565b610a62565b005b348015610301575f80fd5b5061031c6004803603810190610317919061208e565b610a81565b005b348015610329575f80fd5b50610344600480360381019061033f919061208e565b610a93565b60405161035191906120f8565b60405180910390f35b348015610365575f80fd5b50610380600480360381019061037b919061229d565b610aa4565b60405161038d9190612234565b60405180910390f35b3480156103a1575f80fd5b506103aa610b38565b005b3480156103b7575f80fd5b506103c0610b4b565b6040516103cd91906120f8565b60405180910390f35b3480156103e1575f80fd5b506103ea610b73565b6040516103f7919061203b565b60405180910390f35b34801561040b575f80fd5b506104266004803603810190610421919061229d565b610c03565b005b610442600480360381019061043d919061208e565b610c57565b005b34801561044f575f80fd5b5061046a600480360381019061046591906122f2565b610d4a565b005b61048660048036038101906104819190612458565b610e50565b005b348015610493575f80fd5b5061049c610ea1565b6040516104a99190612234565b60405180910390f35b3480156104bd575f80fd5b506104d860048036038101906104d3919061208e565b610ead565b6040516104e5919061203b565b60405180910390f35b3480156104f9575f80fd5b50610514600480360381019061050f91906121da565b611119565b005b348015610521575f80fd5b5061053c600480360381019061053791906124d8565b611137565b6040516105499190611f98565b60405180910390f35b61056c6004803603810190610567919061208e565b6111c5565b005b348015610579575f80fd5b50610594600480360381019061058f919061229d565b611275565b005b3480156105a1575f80fd5b506105bc60048036038101906105b7919061256b565b6112f9565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061061857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106485750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461065e906125e3565b80601f016020809104026020016040519081016040528092919081815260200182805461068a906125e3565b80156106d55780601f106106ac576101008083540402835291602001916106d5565b820191905f5260205f20905b8154815290600101906020018083116106b857829003601f168201915b5050505050905090565b5f6106e98261141c565b6106fe576106fd63cf4700e460e01b6114bf565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610744828260016114c7565b5050565b6107506115f1565b8181600b91826107619291906127ba565b505050565b5f61076f611678565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6107a1611680565b146107ae57600854810190505b90565b5f6107bb826116a7565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108305761082f63a114810060e01b6114bf565b5b5f8061083b846117b6565b91509150610851818761084c6117d9565b6117e0565b61087c57610866866108616117d9565b611137565b61087b5761087a6359c896be60e01b6114bf565b5b5b6108898686866001611823565b8015610893575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81546001019190508190555061095b85610937888887611829565b7c020000000000000000000000000000000000000000000000000000000017611850565b60045f8681526020019081526020015f20819055505f7c02000000000000000000000000000000000000000000000000000000008416036109d7575f6001850190505f60045f8381526020019081526020015f2054036109d5575f5481146109d4578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610a4657610a4563ea553b3460e01b6114bf565b5b610a53878787600161187a565b50505050505050565b61270f81565b610a7c83838360405180602001604052805f815250610e50565b505050565b610a896115f1565b80600a8190555050565b5f610a9d826116a7565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ae957610ae8638f4eb60460e01b6114bf565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610b406115f1565b610b495f611880565b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610b82906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae906125e3565b8015610bf95780601f10610bd057610100808354040283529160200191610bf9565b820191905f5260205f20905b815481529060010190602001808311610bdc57829003601f168201915b5050505050905090565b610c0b6115f1565b5f4790508173ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015610c52573d5f803e3d5ffd5b505050565b61270f81610c63610766565b610c6d91906128b4565b1115610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590612931565b60405180910390fd5b670de0b6b3a7640000341015610cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf090612999565b60405180910390fd5b610d033382611943565b803373ffffffffffffffffffffffffffffffffffffffff167f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602460405160405180910390a350565b8060075f610d566117d9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610dff6117d9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e449190611f98565b60405180910390a35050565b610e5b8484846107b1565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14610e9b57610e8584848484611960565b610e9a57610e9963d1a57ed660e01b6114bf565b5b5b50505050565b670de0b6b3a764000081565b60605f600a540361109e575f600883610ec691906129e4565b90505f600f5f8381526020019081526020015f208054610ee5906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f11906125e3565b8015610f5c5780601f10610f3357610100808354040283529160200191610f5c565b820191905f5260205f20905b815481529060010190602001808311610f3f57829003601f168201915b505050505090505f815103610ffd57600b8054610f78906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa4906125e3565b8015610fef5780601f10610fc657610100808354040283529160200191610fef565b820191905f5260205f20905b815481529060010190602001808311610fd257829003601f168201915b505050505092505050611114565b600f5f8381526020019081526020015f208054611019906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611045906125e3565b80156110905780601f1061106757610100808354040283529160200191611090565b820191905f5260205f20905b81548152906001019060200180831161107357829003601f168201915b505050505092505050611114565b6110a78261141c565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90612a84565b60405180910390fd5b600c6110f183611a8a565b604051602001611102929190612b5c565b60405160208183030381529060405290505b919050565b6111216115f1565b8181600c91826111329291906127ba565b505050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6111cd6115f1565b61270f816111d9610766565b6111e391906128b4565b1115611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b90612931565b60405180910390fd5b61122e3382611943565b803373ffffffffffffffffffffffffffffffffffffffff167f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602460405160405180910390a350565b61127d6115f1565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112ed575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016112e491906120f8565b60405180910390fd5b6112f681611880565b50565b6113016115f1565b5f5b828290508110156114175761270f600161131b610766565b61132591906128b4565b1115611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90612931565b60405180910390fd5b61139883838381811061137c5761137b612b7f565b5b9050602002016020810190611391919061229d565b6001611943565b60018383838181106113ad576113ac612b7f565b5b90506020020160208101906113c2919061229d565b73ffffffffffffffffffffffffffffffffffffffff167f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602460405160405180910390a3808061140f90612bac565b915050611303565b505050565b5f81611426611678565b116114b957611433611680565b82111561145b5761145460045f8481526020019081526020015f2054611b54565b90506114ba565b5f548210156114b8575f5b5f60045f8581526020019081526020015f205491508103611492578261148b90612bf3565b9250611466565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f6114d183610a93565b905081801561151357508073ffffffffffffffffffffffffffffffffffffffff166114fa6117d9565b73ffffffffffffffffffffffffffffffffffffffff1614155b1561153f57611529816115246117d9565b611137565b61153e5761153d63cfb3b94260e01b6114bf565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b6115f9611b94565b73ffffffffffffffffffffffffffffffffffffffff16611617610b4b565b73ffffffffffffffffffffffffffffffffffffffff16146116765761163a611b94565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161166d91906120f8565b60405180910390fd5b565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f816116b1611678565b116117a05760045f8381526020019081526020015f205490506116d2611680565b8211156116f7576116e281611b54565b6117b1576116f663df2d9b4260e01b6114bf565b5b5f8103611778575f5482106117175761171663df2d9b4260e01b6114bf565b5b5b60045f836001900393508381526020019081526020015f205490505f810315611773575f7c0100000000000000000000000000000000000000000000000000000000821603156117b15761177263df2d9b4260e01b6114bf565b5b611718565b5f7c0100000000000000000000000000000000000000000000000000000000821603156117b1575b6117b063df2d9b4260e01b6114bf565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861183f868684611b9b565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61195c828260405180602001604052805f815250611ba3565b5050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119856117d9565b8786866040518563ffffffff1660e01b81526004016119a79493929190612c6c565b6020604051808303815f875af19250505080156119e257506040513d601f19601f820116820180604052508101906119df9190612cca565b60015b611a37573d805f8114611a10576040519150601f19603f3d011682016040523d82523d5f602084013e611a15565b606091505b505f815103611a2f57611a2e63d1a57ed660e01b6114bf565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611a9884611c19565b0190505f8167ffffffffffffffff811115611ab657611ab5612334565b5b6040519080825280601f01601f191660200182016040528015611ae85781602001600182028036833780820191505090505b5090505f82602001820190505b600115611b49578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611b3e57611b3d6129b7565b5b0494505f8503611af5575b819350505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f33905090565b5f9392505050565b611bad8383611d6a565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611c14575f805490505f83820390505b611be95f868380600101945086611960565b611bfe57611bfd63d1a57ed660e01b6114bf565b5b818110611bd757815f5414611c11575f80fd5b50505b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611c75577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611c6b57611c6a6129b7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611cb2576d04ee2d6d415b85acef81000000008381611ca857611ca76129b7565b5b0492506020810190505b662386f26fc100008310611ce157662386f26fc100008381611cd757611cd66129b7565b5b0492506010810190505b6305f5e1008310611d0a576305f5e1008381611d0057611cff6129b7565b5b0492506008810190505b6127108310611d2f576127108381611d2557611d246129b7565b5b0492506004810190505b60648310611d525760648381611d4857611d476129b7565b5b0492506002810190505b600a8310611d61576001810190505b80915050919050565b5f805490505f8203611d8757611d8663b562e8dd60e01b6114bf565b5b611d935f848385611823565b611db183611da25f865f611829565b611dab85611ede565b17611850565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f8103611e6257611e61632e07630060e01b6114bf565b5b5f83830190505f839050611e74611680565b600183031115611e8f57611e8e6381647e3a60e01b6114bf565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4818160010191508103611e9057815f81905550505050611ed95f84838561187a565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611f3281611efe565b8114611f3c575f80fd5b50565b5f81359050611f4d81611f29565b92915050565b5f60208284031215611f6857611f67611ef6565b5b5f611f7584828501611f3f565b91505092915050565b5f8115159050919050565b611f9281611f7e565b82525050565b5f602082019050611fab5f830184611f89565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611fe8578082015181840152602081019050611fcd565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61200d82611fb1565b6120178185611fbb565b9350612027818560208601611fcb565b61203081611ff3565b840191505092915050565b5f6020820190508181035f8301526120538184612003565b905092915050565b5f819050919050565b61206d8161205b565b8114612077575f80fd5b50565b5f8135905061208881612064565b92915050565b5f602082840312156120a3576120a2611ef6565b5b5f6120b08482850161207a565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6120e2826120b9565b9050919050565b6120f2816120d8565b82525050565b5f60208201905061210b5f8301846120e9565b92915050565b61211a816120d8565b8114612124575f80fd5b50565b5f8135905061213581612111565b92915050565b5f806040838503121561215157612150611ef6565b5b5f61215e85828601612127565b925050602061216f8582860161207a565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261219a57612199612179565b5b8235905067ffffffffffffffff8111156121b7576121b661217d565b5b6020830191508360018202830111156121d3576121d2612181565b5b9250929050565b5f80602083850312156121f0576121ef611ef6565b5b5f83013567ffffffffffffffff81111561220d5761220c611efa565b5b61221985828601612185565b92509250509250929050565b61222e8161205b565b82525050565b5f6020820190506122475f830184612225565b92915050565b5f805f6060848603121561226457612263611ef6565b5b5f61227186828701612127565b935050602061228286828701612127565b92505060406122938682870161207a565b9150509250925092565b5f602082840312156122b2576122b1611ef6565b5b5f6122bf84828501612127565b91505092915050565b6122d181611f7e565b81146122db575f80fd5b50565b5f813590506122ec816122c8565b92915050565b5f806040838503121561230857612307611ef6565b5b5f61231585828601612127565b9250506020612326858286016122de565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61236a82611ff3565b810181811067ffffffffffffffff8211171561238957612388612334565b5b80604052505050565b5f61239b611eed565b90506123a78282612361565b919050565b5f67ffffffffffffffff8211156123c6576123c5612334565b5b6123cf82611ff3565b9050602081019050919050565b828183375f83830152505050565b5f6123fc6123f7846123ac565b612392565b90508281526020810184848401111561241857612417612330565b5b6124238482856123dc565b509392505050565b5f82601f83011261243f5761243e612179565b5b813561244f8482602086016123ea565b91505092915050565b5f805f80608085870312156124705761246f611ef6565b5b5f61247d87828801612127565b945050602061248e87828801612127565b935050604061249f8782880161207a565b925050606085013567ffffffffffffffff8111156124c0576124bf611efa565b5b6124cc8782880161242b565b91505092959194509250565b5f80604083850312156124ee576124ed611ef6565b5b5f6124fb85828601612127565b925050602061250c85828601612127565b9150509250929050565b5f8083601f84011261252b5761252a612179565b5b8235905067ffffffffffffffff8111156125485761254761217d565b5b60208301915083602082028301111561256457612563612181565b5b9250929050565b5f806020838503121561258157612580611ef6565b5b5f83013567ffffffffffffffff81111561259e5761259d611efa565b5b6125aa85828601612516565b92509250509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806125fa57607f821691505b60208210810361260d5761260c6125b6565b5b50919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026126797fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261263e565b612683868361263e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6126be6126b96126b48461205b565b61269b565b61205b565b9050919050565b5f819050919050565b6126d7836126a4565b6126eb6126e3826126c5565b84845461264a565b825550505050565b5f90565b6126ff6126f3565b61270a8184846126ce565b505050565b5b8181101561272d576127225f826126f7565b600181019050612710565b5050565b601f821115612772576127438161261d565b61274c8461262f565b8101602085101561275b578190505b61276f6127678561262f565b83018261270f565b50505b505050565b5f82821c905092915050565b5f6127925f1984600802612777565b1980831691505092915050565b5f6127aa8383612783565b9150826002028217905092915050565b6127c48383612613565b67ffffffffffffffff8111156127dd576127dc612334565b5b6127e782546125e3565b6127f2828285612731565b5f601f83116001811461281f575f841561280d578287013590505b612817858261279f565b86555061287e565b601f19841661282d8661261d565b5f5b828110156128545784890135825560018201915060208501945060208101905061282f565b86831015612871578489013561286d601f891682612783565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6128be8261205b565b91506128c98361205b565b92508282019050808211156128e1576128e0612887565b5b92915050565b7f4552433732313a2045786365656473206d6178696d756d20737570706c7900005f82015250565b5f61291b601e83611fbb565b9150612926826128e7565b602082019050919050565b5f6020820190508181035f8301526129488161290f565b9050919050565b7f4552433732313a205072696365206973203220746f6b656e00000000000000005f82015250565b5f612983601883611fbb565b915061298e8261294f565b602082019050919050565b5f6020820190508181035f8301526129b081612977565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6129ee8261205b565b91506129f98361205b565b925082612a0957612a086129b7565b5b828206905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612a6e602f83611fbb565b9150612a7982612a14565b604082019050919050565b5f6020820190508181035f830152612a9b81612a62565b9050919050565b5f81905092915050565b5f8154612ab8816125e3565b612ac28186612aa2565b9450600182165f8114612adc5760018114612af157612b23565b60ff1983168652811515820286019350612b23565b612afa8561261d565b5f5b83811015612b1b57815481890152600182019150602081019050612afc565b838801955050505b50505092915050565b5f612b3682611fb1565b612b408185612aa2565b9350612b50818560208601611fcb565b80840191505092915050565b5f612b678285612aac565b9150612b738284612b2c565b91508190509392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f612bb68261205b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612be857612be7612887565b5b600182019050919050565b5f612bfd8261205b565b91505f8203612c0f57612c0e612887565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612c3e82612c1a565b612c488185612c24565b9350612c58818560208601611fcb565b612c6181611ff3565b840191505092915050565b5f608082019050612c7f5f8301876120e9565b612c8c60208301866120e9565b612c996040830185612225565b8181036060830152612cab8184612c34565b905095945050505050565b5f81519050612cc481611f29565b92915050565b5f60208284031215612cdf57612cde611ef6565b5b5f612cec84828501612cb6565b9150509291505056fea264697066735822122020ce5e7e5b08dd6d61d0ae413fd42c1843c80aa6bad42ce4d3196e397cc34ce064736f6c6343000814003368747470733a2f2f697066732e696f2f697066732f516d556e4e4b50673967317178756f32476e704663316f34336b70707131734834766672314c503438547050346e68747470733a2f2f697066732e696f2f697066732f516d6265336a4e434c7832515355797a544c625938727a45556568367a32767848637469335462584e483365586268747470733a2f2f697066732e696f2f697066732f516d556d7645455661754362333275334c7068576e6f7675627245773278584a6b444465533848564c324579663168747470733a2f2f697066732e696f2f697066732f516d507148657563416a343555544d756542344c3269344b5174797950726142544a696533446d6553684c6a756168747470733a2f2f697066732e696f2f697066732f516d646941545578654457457773764761797335334e6a334d356467654243397463676e4d566f3662487470486368747470733a2f2f697066732e696f2f697066732f516d6263796f7578794a38364b4470645175556965345a7553794c7631634c4b666365476535344655475134354768747470733a2f2f697066732e696f2f697066732f516d634c474b6f4b48444146626f32673176784e6d4b77444c7963797a764a57373758435a6539356f684761795268747470733a2f2f697066732e696f2f697066732f516d613471476a757a52435945506a7232784a51554d48744d4167736d6a4c78643979315142764c517a385a676d

Deployed Bytecode

0x608060405260043610610180575f3560e01c80638da5cb5b116100d0578063c002d23d11610089578063e985e9c511610063578063e985e9c514610516578063f19e75d414610552578063f2fde38b1461056e578063f356749d1461059657610180565b8063c002d23d14610488578063c87b56dd146104b2578063e5e01c11146104ee57610180565b80638da5cb5b146103ac57806395d89b41146103d65780639894ba7c14610400578063a0712d6814610428578063a22cb46514610444578063b88d4fde1461046c57610180565b806323b872dd1161013d578063528c06cc11610117578063528c06cc146102f65780636352211e1461031e57806370a082311461035a578063715018a61461039657610180565b806323b872dd1461029457806332cb6b0c146102b057806342842e0e146102da57610180565b806301ffc9a71461018457806306fdde03146101c0578063081812fc146101ea578063095ea7b3146102265780630e5c19191461024257806318160ddd1461026a575b5f80fd5b34801561018f575f80fd5b506101aa60048036038101906101a59190611f53565b6105be565b6040516101b79190611f98565b60405180910390f35b3480156101cb575f80fd5b506101d461064f565b6040516101e1919061203b565b60405180910390f35b3480156101f5575f80fd5b50610210600480360381019061020b919061208e565b6106df565b60405161021d91906120f8565b60405180910390f35b610240600480360381019061023b919061213b565b610738565b005b34801561024d575f80fd5b50610268600480360381019061026391906121da565b610748565b005b348015610275575f80fd5b5061027e610766565b60405161028b9190612234565b60405180910390f35b6102ae60048036038101906102a9919061224d565b6107b1565b005b3480156102bb575f80fd5b506102c4610a5c565b6040516102d19190612234565b60405180910390f35b6102f460048036038101906102ef919061224d565b610a62565b005b348015610301575f80fd5b5061031c6004803603810190610317919061208e565b610a81565b005b348015610329575f80fd5b50610344600480360381019061033f919061208e565b610a93565b60405161035191906120f8565b60405180910390f35b348015610365575f80fd5b50610380600480360381019061037b919061229d565b610aa4565b60405161038d9190612234565b60405180910390f35b3480156103a1575f80fd5b506103aa610b38565b005b3480156103b7575f80fd5b506103c0610b4b565b6040516103cd91906120f8565b60405180910390f35b3480156103e1575f80fd5b506103ea610b73565b6040516103f7919061203b565b60405180910390f35b34801561040b575f80fd5b506104266004803603810190610421919061229d565b610c03565b005b610442600480360381019061043d919061208e565b610c57565b005b34801561044f575f80fd5b5061046a600480360381019061046591906122f2565b610d4a565b005b61048660048036038101906104819190612458565b610e50565b005b348015610493575f80fd5b5061049c610ea1565b6040516104a99190612234565b60405180910390f35b3480156104bd575f80fd5b506104d860048036038101906104d3919061208e565b610ead565b6040516104e5919061203b565b60405180910390f35b3480156104f9575f80fd5b50610514600480360381019061050f91906121da565b611119565b005b348015610521575f80fd5b5061053c600480360381019061053791906124d8565b611137565b6040516105499190611f98565b60405180910390f35b61056c6004803603810190610567919061208e565b6111c5565b005b348015610579575f80fd5b50610594600480360381019061058f919061229d565b611275565b005b3480156105a1575f80fd5b506105bc60048036038101906105b7919061256b565b6112f9565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061061857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106485750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461065e906125e3565b80601f016020809104026020016040519081016040528092919081815260200182805461068a906125e3565b80156106d55780601f106106ac576101008083540402835291602001916106d5565b820191905f5260205f20905b8154815290600101906020018083116106b857829003601f168201915b5050505050905090565b5f6106e98261141c565b6106fe576106fd63cf4700e460e01b6114bf565b5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610744828260016114c7565b5050565b6107506115f1565b8181600b91826107619291906127ba565b505050565b5f61076f611678565b6001545f54030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6107a1611680565b146107ae57600854810190505b90565b5f6107bb826116a7565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108305761082f63a114810060e01b6114bf565b5b5f8061083b846117b6565b91509150610851818761084c6117d9565b6117e0565b61087c57610866866108616117d9565b611137565b61087b5761087a6359c896be60e01b6114bf565b5b5b6108898686866001611823565b8015610893575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81546001019190508190555061095b85610937888887611829565b7c020000000000000000000000000000000000000000000000000000000017611850565b60045f8681526020019081526020015f20819055505f7c02000000000000000000000000000000000000000000000000000000008416036109d7575f6001850190505f60045f8381526020019081526020015f2054036109d5575f5481146109d4578360045f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610a4657610a4563ea553b3460e01b6114bf565b5b610a53878787600161187a565b50505050505050565b61270f81565b610a7c83838360405180602001604052805f815250610e50565b505050565b610a896115f1565b80600a8190555050565b5f610a9d826116a7565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ae957610ae8638f4eb60460e01b6114bf565b5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610b406115f1565b610b495f611880565b565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610b82906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610bae906125e3565b8015610bf95780601f10610bd057610100808354040283529160200191610bf9565b820191905f5260205f20905b815481529060010190602001808311610bdc57829003601f168201915b5050505050905090565b610c0b6115f1565b5f4790508173ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015610c52573d5f803e3d5ffd5b505050565b61270f81610c63610766565b610c6d91906128b4565b1115610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca590612931565b60405180910390fd5b670de0b6b3a7640000341015610cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf090612999565b60405180910390fd5b610d033382611943565b803373ffffffffffffffffffffffffffffffffffffffff167f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602460405160405180910390a350565b8060075f610d566117d9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610dff6117d9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e449190611f98565b60405180910390a35050565b610e5b8484846107b1565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14610e9b57610e8584848484611960565b610e9a57610e9963d1a57ed660e01b6114bf565b5b5b50505050565b670de0b6b3a764000081565b60605f600a540361109e575f600883610ec691906129e4565b90505f600f5f8381526020019081526020015f208054610ee5906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f11906125e3565b8015610f5c5780601f10610f3357610100808354040283529160200191610f5c565b820191905f5260205f20905b815481529060010190602001808311610f3f57829003601f168201915b505050505090505f815103610ffd57600b8054610f78906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa4906125e3565b8015610fef5780601f10610fc657610100808354040283529160200191610fef565b820191905f5260205f20905b815481529060010190602001808311610fd257829003601f168201915b505050505092505050611114565b600f5f8381526020019081526020015f208054611019906125e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611045906125e3565b80156110905780601f1061106757610100808354040283529160200191611090565b820191905f5260205f20905b81548152906001019060200180831161107357829003601f168201915b505050505092505050611114565b6110a78261141c565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90612a84565b60405180910390fd5b600c6110f183611a8a565b604051602001611102929190612b5c565b60405160208183030381529060405290505b919050565b6111216115f1565b8181600c91826111329291906127ba565b505050565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6111cd6115f1565b61270f816111d9610766565b6111e391906128b4565b1115611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121b90612931565b60405180910390fd5b61122e3382611943565b803373ffffffffffffffffffffffffffffffffffffffff167f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602460405160405180910390a350565b61127d6115f1565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112ed575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016112e491906120f8565b60405180910390fd5b6112f681611880565b50565b6113016115f1565b5f5b828290508110156114175761270f600161131b610766565b61132591906128b4565b1115611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90612931565b60405180910390fd5b61139883838381811061137c5761137b612b7f565b5b9050602002016020810190611391919061229d565b6001611943565b60018383838181106113ad576113ac612b7f565b5b90506020020160208101906113c2919061229d565b73ffffffffffffffffffffffffffffffffffffffff167f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602460405160405180910390a3808061140f90612bac565b915050611303565b505050565b5f81611426611678565b116114b957611433611680565b82111561145b5761145460045f8481526020019081526020015f2054611b54565b90506114ba565b5f548210156114b8575f5b5f60045f8581526020019081526020015f205491508103611492578261148b90612bf3565b9250611466565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b805f5260045ffd5b5f6114d183610a93565b905081801561151357508073ffffffffffffffffffffffffffffffffffffffff166114fa6117d9565b73ffffffffffffffffffffffffffffffffffffffff1614155b1561153f57611529816115246117d9565b611137565b61153e5761153d63cfb3b94260e01b6114bf565b5b5b8360065f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b6115f9611b94565b73ffffffffffffffffffffffffffffffffffffffff16611617610b4b565b73ffffffffffffffffffffffffffffffffffffffff16146116765761163a611b94565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161166d91906120f8565b60405180910390fd5b565b5f6001905090565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b5f816116b1611678565b116117a05760045f8381526020019081526020015f205490506116d2611680565b8211156116f7576116e281611b54565b6117b1576116f663df2d9b4260e01b6114bf565b5b5f8103611778575f5482106117175761171663df2d9b4260e01b6114bf565b5b5b60045f836001900393508381526020019081526020015f205490505f810315611773575f7c0100000000000000000000000000000000000000000000000000000000821603156117b15761177263df2d9b4260e01b6114bf565b5b611718565b5f7c0100000000000000000000000000000000000000000000000000000000821603156117b1575b6117b063df2d9b4260e01b6114bf565b5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e861183f868684611b9b565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61195c828260405180602001604052805f815250611ba3565b5050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026119856117d9565b8786866040518563ffffffff1660e01b81526004016119a79493929190612c6c565b6020604051808303815f875af19250505080156119e257506040513d601f19601f820116820180604052508101906119df9190612cca565b60015b611a37573d805f8114611a10576040519150601f19603f3d011682016040523d82523d5f602084013e611a15565b606091505b505f815103611a2f57611a2e63d1a57ed660e01b6114bf565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611a9884611c19565b0190505f8167ffffffffffffffff811115611ab657611ab5612334565b5b6040519080825280601f01601f191660200182016040528015611ae85781602001600182028036833780820191505090505b5090505f82602001820190505b600115611b49578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611b3e57611b3d6129b7565b5b0494505f8503611af5575b819350505050919050565b5f7c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b5f33905090565b5f9392505050565b611bad8383611d6a565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611c14575f805490505f83820390505b611be95f868380600101945086611960565b611bfe57611bfd63d1a57ed660e01b6114bf565b5b818110611bd757815f5414611c11575f80fd5b50505b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611c75577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611c6b57611c6a6129b7565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611cb2576d04ee2d6d415b85acef81000000008381611ca857611ca76129b7565b5b0492506020810190505b662386f26fc100008310611ce157662386f26fc100008381611cd757611cd66129b7565b5b0492506010810190505b6305f5e1008310611d0a576305f5e1008381611d0057611cff6129b7565b5b0492506008810190505b6127108310611d2f576127108381611d2557611d246129b7565b5b0492506004810190505b60648310611d525760648381611d4857611d476129b7565b5b0492506002810190505b600a8310611d61576001810190505b80915050919050565b5f805490505f8203611d8757611d8663b562e8dd60e01b6114bf565b5b611d935f848385611823565b611db183611da25f865f611829565b611dab85611ede565b17611850565b60045f8381526020019081526020015f2081905550600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f8103611e6257611e61632e07630060e01b6114bf565b5b5f83830190505f839050611e74611680565b600183031115611e8f57611e8e6381647e3a60e01b6114bf565b5b5b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4818160010191508103611e9057815f81905550505050611ed95f84838561187a565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611f3281611efe565b8114611f3c575f80fd5b50565b5f81359050611f4d81611f29565b92915050565b5f60208284031215611f6857611f67611ef6565b5b5f611f7584828501611f3f565b91505092915050565b5f8115159050919050565b611f9281611f7e565b82525050565b5f602082019050611fab5f830184611f89565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611fe8578082015181840152602081019050611fcd565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61200d82611fb1565b6120178185611fbb565b9350612027818560208601611fcb565b61203081611ff3565b840191505092915050565b5f6020820190508181035f8301526120538184612003565b905092915050565b5f819050919050565b61206d8161205b565b8114612077575f80fd5b50565b5f8135905061208881612064565b92915050565b5f602082840312156120a3576120a2611ef6565b5b5f6120b08482850161207a565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6120e2826120b9565b9050919050565b6120f2816120d8565b82525050565b5f60208201905061210b5f8301846120e9565b92915050565b61211a816120d8565b8114612124575f80fd5b50565b5f8135905061213581612111565b92915050565b5f806040838503121561215157612150611ef6565b5b5f61215e85828601612127565b925050602061216f8582860161207a565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261219a57612199612179565b5b8235905067ffffffffffffffff8111156121b7576121b661217d565b5b6020830191508360018202830111156121d3576121d2612181565b5b9250929050565b5f80602083850312156121f0576121ef611ef6565b5b5f83013567ffffffffffffffff81111561220d5761220c611efa565b5b61221985828601612185565b92509250509250929050565b61222e8161205b565b82525050565b5f6020820190506122475f830184612225565b92915050565b5f805f6060848603121561226457612263611ef6565b5b5f61227186828701612127565b935050602061228286828701612127565b92505060406122938682870161207a565b9150509250925092565b5f602082840312156122b2576122b1611ef6565b5b5f6122bf84828501612127565b91505092915050565b6122d181611f7e565b81146122db575f80fd5b50565b5f813590506122ec816122c8565b92915050565b5f806040838503121561230857612307611ef6565b5b5f61231585828601612127565b9250506020612326858286016122de565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61236a82611ff3565b810181811067ffffffffffffffff8211171561238957612388612334565b5b80604052505050565b5f61239b611eed565b90506123a78282612361565b919050565b5f67ffffffffffffffff8211156123c6576123c5612334565b5b6123cf82611ff3565b9050602081019050919050565b828183375f83830152505050565b5f6123fc6123f7846123ac565b612392565b90508281526020810184848401111561241857612417612330565b5b6124238482856123dc565b509392505050565b5f82601f83011261243f5761243e612179565b5b813561244f8482602086016123ea565b91505092915050565b5f805f80608085870312156124705761246f611ef6565b5b5f61247d87828801612127565b945050602061248e87828801612127565b935050604061249f8782880161207a565b925050606085013567ffffffffffffffff8111156124c0576124bf611efa565b5b6124cc8782880161242b565b91505092959194509250565b5f80604083850312156124ee576124ed611ef6565b5b5f6124fb85828601612127565b925050602061250c85828601612127565b9150509250929050565b5f8083601f84011261252b5761252a612179565b5b8235905067ffffffffffffffff8111156125485761254761217d565b5b60208301915083602082028301111561256457612563612181565b5b9250929050565b5f806020838503121561258157612580611ef6565b5b5f83013567ffffffffffffffff81111561259e5761259d611efa565b5b6125aa85828601612516565b92509250509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806125fa57607f821691505b60208210810361260d5761260c6125b6565b5b50919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026126797fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261263e565b612683868361263e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6126be6126b96126b48461205b565b61269b565b61205b565b9050919050565b5f819050919050565b6126d7836126a4565b6126eb6126e3826126c5565b84845461264a565b825550505050565b5f90565b6126ff6126f3565b61270a8184846126ce565b505050565b5b8181101561272d576127225f826126f7565b600181019050612710565b5050565b601f821115612772576127438161261d565b61274c8461262f565b8101602085101561275b578190505b61276f6127678561262f565b83018261270f565b50505b505050565b5f82821c905092915050565b5f6127925f1984600802612777565b1980831691505092915050565b5f6127aa8383612783565b9150826002028217905092915050565b6127c48383612613565b67ffffffffffffffff8111156127dd576127dc612334565b5b6127e782546125e3565b6127f2828285612731565b5f601f83116001811461281f575f841561280d578287013590505b612817858261279f565b86555061287e565b601f19841661282d8661261d565b5f5b828110156128545784890135825560018201915060208501945060208101905061282f565b86831015612871578489013561286d601f891682612783565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6128be8261205b565b91506128c98361205b565b92508282019050808211156128e1576128e0612887565b5b92915050565b7f4552433732313a2045786365656473206d6178696d756d20737570706c7900005f82015250565b5f61291b601e83611fbb565b9150612926826128e7565b602082019050919050565b5f6020820190508181035f8301526129488161290f565b9050919050565b7f4552433732313a205072696365206973203220746f6b656e00000000000000005f82015250565b5f612983601883611fbb565b915061298e8261294f565b602082019050919050565b5f6020820190508181035f8301526129b081612977565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6129ee8261205b565b91506129f98361205b565b925082612a0957612a086129b7565b5b828206905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f612a6e602f83611fbb565b9150612a7982612a14565b604082019050919050565b5f6020820190508181035f830152612a9b81612a62565b9050919050565b5f81905092915050565b5f8154612ab8816125e3565b612ac28186612aa2565b9450600182165f8114612adc5760018114612af157612b23565b60ff1983168652811515820286019350612b23565b612afa8561261d565b5f5b83811015612b1b57815481890152600182019150602081019050612afc565b838801955050505b50505092915050565b5f612b3682611fb1565b612b408185612aa2565b9350612b50818560208601611fcb565b80840191505092915050565b5f612b678285612aac565b9150612b738284612b2c565b91508190509392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f612bb68261205b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612be857612be7612887565b5b600182019050919050565b5f612bfd8261205b565b91505f8203612c0f57612c0e612887565b5b600182039050919050565b5f81519050919050565b5f82825260208201905092915050565b5f612c3e82612c1a565b612c488185612c24565b9350612c58818560208601611fcb565b612c6181611ff3565b840191505092915050565b5f608082019050612c7f5f8301876120e9565b612c8c60208301866120e9565b612c996040830185612225565b8181036060830152612cab8184612c34565b905095945050505050565b5f81519050612cc481611f29565b92915050565b5f60208284031215612cdf57612cde611ef6565b5b5f612cec84828501612cb6565b9150509291505056fea264697066735822122020ce5e7e5b08dd6d61d0ae413fd42c1843c80aa6bad42ce4d3196e397cc34ce064736f6c63430008140033

Deployed Bytecode Sourcemap

140350:3720:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20621:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21523:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28763:227;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28480:124;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;142237:111;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;16725:573;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33035:3523;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;140434:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36654:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;142139:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22925:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18449:242;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;64185:103;;;;;;;;;;;;;:::i;:::-;;63510:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21699:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;141981:150;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;143762:305;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29330:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;37445:416;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;140479:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;142593:574;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;142354:109;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29721:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;143175:249;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;64443:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;143432:322;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;20621:639;20706:4;21045:10;21030:25;;:11;:25;;;;:102;;;;21122:10;21107:25;;:11;:25;;;;21030:102;:179;;;;21199:10;21184:25;;:11;:25;;;;21030:179;21010:199;;20621:639;;;:::o;21523:100::-;21577:13;21610:5;21603:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21523:100;:::o;28763:227::-;28839:7;28864:16;28872:7;28864;:16::i;:::-;28859:73;;28882:50;28890:41;;;28882:7;:50::i;:::-;28859:73;28952:15;:24;28968:7;28952:24;;;;;;;;;;;:30;;;;;;;;;;;;28945:37;;28763:227;;;:::o;28480:124::-;28569:27;28578:2;28582:7;28591:4;28569:8;:27::i;:::-;28480:124;;:::o;142237:111::-;63396:13;:11;:13::i;:::-;142331:9:::1;;142316:12;:24;;;;;;;:::i;:::-;;142237:111:::0;;:::o;16725:573::-;16786:14;17184:15;:13;:15::i;:::-;17169:12;;17153:13;;:28;:46;17144:55;;17239:17;17218;:15;:17::i;:::-;:38;17214:65;;17268:11;;17258:21;;;;17214:65;16725:573;:::o;33035:3523::-;33177:27;33207;33226:7;33207:18;:27::i;:::-;33177:57;;12667:14;33378:4;33362:22;;:41;33339:66;;33463:4;33422:45;;33438:19;33422:45;;;33418:95;;33469:44;33477:35;;;33469:7;:44::i;:::-;33418:95;33527:27;33556:23;33583:35;33610:7;33583:26;:35::i;:::-;33526:92;;;;33718:68;33743:15;33760:4;33766:19;:17;:19::i;:::-;33718:24;:68::i;:::-;33713:189;;33806:43;33823:4;33829:19;:17;:19::i;:::-;33806:16;:43::i;:::-;33801:101;;33851:51;33859:42;;;33851:7;:51::i;:::-;33801:101;33713:189;33915:43;33937:4;33943:2;33947:7;33956:1;33915:21;:43::i;:::-;34051:15;34048:160;;;34191:1;34170:19;34163:30;34048:160;34588:18;:24;34607:4;34588:24;;;;;;;;;;;;;;;;34586:26;;;;;;;;;;;;34657:18;:22;34676:2;34657:22;;;;;;;;;;;;;;;;34655:24;;;;;;;;;;;34979:146;35016:2;35065:45;35080:4;35086:2;35090:19;35065:14;:45::i;:::-;12265:8;35037:73;34979:18;:146::i;:::-;34950:17;:26;34968:7;34950:26;;;;;;;;;;;:175;;;;35296:1;12265:8;35245:19;:47;:52;35241:627;;35318:19;35350:1;35340:7;:11;35318:33;;35507:1;35473:17;:30;35491:11;35473:30;;;;;;;;;;;;:35;35469:384;;35611:13;;35596:11;:28;35592:242;;35791:19;35758:17;:30;35776:11;35758:30;;;;;;;;;;;:52;;;;35592:242;35469:384;35299:569;35241:627;35981:16;12667:14;36016:2;36000:20;;:39;35981:58;;36380:7;36344:8;36310:4;36252:25;36197:1;36140;36117:299;36453:1;36441:8;:13;36437:58;;36456:39;36464:30;;;36456:7;:39::i;:::-;36437:58;36508:42;36529:4;36535:2;36539:7;36548:1;36508:20;:42::i;:::-;33166:3392;;;;33035:3523;;;:::o;140434:38::-;140468:4;140434:38;:::o;36654:193::-;36800:39;36817:4;36823:2;36827:7;36800:39;;;;;;;;;;;;:16;:39::i;:::-;36654:193;;;:::o;142139:92::-;63396:13;:11;:13::i;:::-;142219:4:::1;142211:5;:12;;;;142139:92:::0;:::o;22925:152::-;22997:7;23040:27;23059:7;23040:18;:27::i;:::-;23017:52;;22925:152;;;:::o;18449:242::-;18521:7;18562:1;18545:19;;:5;:19;;;18541:69;;18566:44;18574:35;;;18566:7;:44::i;:::-;18541:69;11209:13;18628:18;:25;18647:5;18628:25;;;;;;;;;;;;;;;;:55;18621:62;;18449:242;;;:::o;64185:103::-;63396:13;:11;:13::i;:::-;64250:30:::1;64277:1;64250:18;:30::i;:::-;64185:103::o:0;63510:87::-;63556:7;63583:6;;;;;;;;;;;63576:13;;63510:87;:::o;21699:104::-;21755:13;21788:7;21781:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21699:104;:::o;141981:150::-;63396:13;:11;:13::i;:::-;142043:15:::1;142061:21;142043:39;;142101:3;142093:21;;:30;142115:7;142093:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;142032:99;141981:150:::0;:::o;143762:305::-;140468:4;143844:8;143828:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;143820:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;140513:7;143920:9;:23;;143912:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;143983:31;143993:10;144005:8;143983:9;:31::i;:::-;144050:8;144038:10;144030:29;;;;;;;;;;;;143762:305;:::o;29330:234::-;29477:8;29425:18;:39;29444:19;:17;:19::i;:::-;29425:39;;;;;;;;;;;;;;;:49;29465:8;29425:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;29537:8;29501:55;;29516:19;:17;:19::i;:::-;29501:55;;;29547:8;29501:55;;;;;;:::i;:::-;;;;;;;;29330:234;;:::o;37445:416::-;37620:31;37633:4;37639:2;37643:7;37620:12;:31::i;:::-;37684:1;37666:2;:14;;;:19;37662:192;;37705:56;37736:4;37742:2;37746:7;37755:5;37705:30;:56::i;:::-;37700:154;;37782:56;37790:47;;;37782:7;:56::i;:::-;37700:154;37662:192;37445:416;;;;:::o;140479:41::-;140513:7;140479:41;:::o;142593:574::-;142658:13;142697:1;142688:5;;:10;142684:476;;142715:19;142747:1;142737:7;:11;;;;:::i;:::-;142715:33;;142763:17;142783:12;:25;142796:11;142783:25;;;;;;;;;;;142763:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;142848:1;142833:3;142827:17;:22;142823:82;;142877:12;142870:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;142823:82;142926:12;:25;142939:11;142926:25;;;;;;;;;;;142919:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;142684:476;142992:16;143000:7;142992;:16::i;:::-;142984:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;143106:13;143121:25;143138:7;143121:16;:25::i;:::-;143089:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;143075:73;;142593:574;;;;:::o;142354:109::-;63396:13;:11;:13::i;:::-;142446:9:::1;;142430:13;:25;;;;;;;:::i;:::-;;142354:109:::0;;:::o;29721:164::-;29818:4;29842:18;:25;29861:5;29842:25;;;;;;;;;;;;;;;:35;29868:8;29842:35;;;;;;;;;;;;;;;;;;;;;;;;;29835:42;;29721:164;;;;:::o;143175:249::-;63396:13;:11;:13::i;:::-;140468:4:::1;143272:8;143256:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;143248:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;143340:31;143350:10;143362:8;143340:9;:31::i;:::-;143407:8;143395:10;143387:29;;;;;;;;;;;;143175:249:::0;:::o;64443:220::-;63396:13;:11;:13::i;:::-;64548:1:::1;64528:22;;:8;:22;;::::0;64524:93:::1;;64602:1;64574:31;;;;;;;;;;;:::i;:::-;;;;;;;;64524:93;64627:28;64646:8;64627:18;:28::i;:::-;64443:220:::0;:::o;143432:322::-;63396:13;:11;:13::i;:::-;143519:6:::1;143514:233;143535:10;;:17;;143531:1;:21;143514:233;;;140468:4;143598:1;143582:13;:11;:13::i;:::-;:17;;;;:::i;:::-;:31;;143574:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;143663:27;143673:10;;143684:1;143673:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;143688:1;143663:9;:27::i;:::-;143733:1;143718:10;;143729:1;143718:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;143710:25;;;;;;;;;;;;143554:3;;;;;:::i;:::-;;;;143514:233;;;;143432:322:::0;;:::o;30143:475::-;30208:11;30255:7;30236:15;:13;:15::i;:::-;:26;30232:379;;30293:17;:15;:17::i;:::-;30283:7;:27;30279:90;;;30319:50;30342:17;:26;30360:7;30342:26;;;;;;;;;;;;30319:22;:50::i;:::-;30312:57;;;;30279:90;30400:13;;30390:7;:23;30386:214;;;30434:14;30467:60;30515:1;30484:17;:26;30502:7;30484:26;;;;;;;;;;;;30475:35;;;30474:42;30467:60;;30518:9;;;;:::i;:::-;;;30467:60;;;30583:1;11985:8;30555:6;:24;:29;30546:38;;30415:185;30386:214;30232:379;30143:475;;;;:::o;60652:165::-;60753:13;60747:4;60740:27;60794:4;60788;60781:18;52067:474;52196:13;52212:16;52220:7;52212;:16::i;:::-;52196:32;;52245:13;:45;;;;;52285:5;52262:28;;:19;:17;:19::i;:::-;:28;;;;52245:45;52241:201;;;52310:44;52327:5;52334:19;:17;:19::i;:::-;52310:16;:44::i;:::-;52305:137;;52375:51;52383:42;;;52375:7;:51::i;:::-;52305:137;52241:201;52487:2;52454:15;:24;52470:7;52454:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;52525:7;52521:2;52505:28;;52514:5;52505:28;;;;;;;;;;;;52185:356;52067:474;;;:::o;63675:166::-;63746:12;:10;:12::i;:::-;63735:23;;:7;:5;:7::i;:::-;:23;;;63731:103;;63809:12;:10;:12::i;:::-;63782:40;;;;;;;;;;;:::i;:::-;;;;;;;;63731:103;63675:166::o;141874:101::-;141939:7;141966:1;141959:8;;141874:101;:::o;16223:110::-;16281:7;16308:17;16301:24;;16223:110;:::o;24410:2213::-;24477:14;24527:7;24508:15;:13;:15::i;:::-;:26;24504:2054;;24560:17;:26;24578:7;24560:26;;;;;;;;;;;;24551:35;;24617:17;:15;:17::i;:::-;24607:7;:27;24603:183;;;24659:30;24682:6;24659:22;:30::i;:::-;24691:13;24655:49;24723:47;24731:38;;;24723:7;:47::i;:::-;24603:183;24897:1;24887:6;:11;24883:1292;;24934:13;;24923:7;:24;24919:77;;24949:47;24957:38;;;24949:7;:47::i;:::-;24919:77;25553:607;25631:17;:28;25649:9;;;;;;;25631:28;;;;;;;;;;;;25622:37;;25719:1;25709:6;:11;25705:25;25722:8;25705:25;25785:1;11985:8;25757:6;:24;:29;25753:48;25788:13;25753:48;26093:47;26101:38;;;26093:7;:47::i;:::-;25553:607;;;24883:1292;26530:1;11985:8;26502:6;:24;:29;26498:48;26533:13;26498:48;24504:2054;26568:47;26576:38;;;26568:7;:47::i;:::-;24410:2213;;;;:::o;31930:485::-;32032:27;32061:23;32102:38;32143:15;:24;32159:7;32143:24;;;;;;;;;;;32102:65;;32320:18;32297:41;;32377:19;32371:26;32352:45;;32282:126;31930:485;;;:::o;58633:105::-;58693:7;58720:10;58713:17;;58633:105;:::o;31158:659::-;31307:11;31472:16;31465:5;31461:28;31452:37;;31632:16;31621:9;31617:32;31604:45;;31782:15;31771:9;31768:30;31760:5;31749:9;31746:20;31743:56;31733:66;;31158:659;;;;;:::o;38523:159::-;;;;;:::o;57942:311::-;58077:7;58097:16;12389:3;58123:19;:41;;58097:68;;12389:3;58191:31;58202:4;58208:2;58212:9;58191:10;:31::i;:::-;58183:40;;:62;;58176:69;;;57942:311;;;;;:::o;27171:450::-;27251:14;27419:16;27412:5;27408:28;27399:37;;27596:5;27582:11;27557:23;27553:41;27550:52;27543:5;27540:63;27530:73;;27171:450;;;;:::o;39347:158::-;;;;;:::o;64823:191::-;64897:16;64916:6;;;;;;;;;;;64897:25;;64942:8;64933:6;;:17;;;;;;;;;;;;;;;;;;64997:8;64966:40;;64987:8;64966:40;;;;;;;;;;;;64886:128;64823:191;:::o;47261:112::-;47338:27;47348:2;47352:8;47338:27;;;;;;;;;;;;:9;:27::i;:::-;47261:112;;:::o;39945:691::-;40108:4;40154:2;40129:45;;;40175:19;:17;:19::i;:::-;40196:4;40202:7;40211:5;40129:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;40125:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40429:1;40412:6;:13;:18;40408:115;;40451:56;40459:47;;;40451:7;:56::i;:::-;40408:115;40595:6;40589:13;40580:6;40576:2;40572:15;40565:38;40125:504;40298:54;;;40288:64;;;:6;:64;;;;40281:71;;;39945:691;;;;;;:::o;136885:650::-;136941:13;136992:14;137029:1;137009:17;137020:5;137009:10;:17::i;:::-;:21;136992:38;;137045:20;137079:6;137068:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;137045:41;;137101:11;137198:6;137194:2;137190:15;137182:6;137178:28;137171:35;;137235:254;137242:4;137235:254;;;137267:5;;;;;;;;137373:10;137368:2;137361:5;137357:14;137352:32;137347:3;137339:46;137431:2;137422:11;;;;;;:::i;:::-;;;;;137465:1;137456:5;:10;137235:254;137452:21;137235:254;137510:6;137503:13;;;;;136885:650;;;:::o;30714:335::-;30784:11;31014:15;31006:6;31002:28;30983:16;30975:6;30971:29;30968:63;30958:73;;30714:335;;;:::o;61519:98::-;61572:7;61599:10;61592:17;;61519:98;:::o;57643:147::-;57780:6;57643:147;;;;;:::o;46390:787::-;46521:19;46527:2;46531:8;46521:5;:19::i;:::-;46600:1;46582:2;:14;;;:19;46578:581;;46622:11;46636:13;;46622:27;;46668:13;46690:8;46684:3;:14;46668:30;;46717:242;46748:62;46787:1;46791:2;46795:7;;;;;;46804:5;46748:30;:62::i;:::-;46743:176;;46839:56;46847:47;;;46839:7;:56::i;:::-;46743:176;46954:3;46946:5;:11;46717:242;;47130:3;47113:13;;:20;47109:34;;47135:8;;;47109:34;46603:556;;46578:581;46390:787;;;:::o;130530:948::-;130583:7;130603:14;130620:1;130603:18;;130670:8;130661:5;:17;130657:106;;130708:8;130699:17;;;;;;:::i;:::-;;;;;130745:2;130735:12;;;;130657:106;130790:8;130781:5;:17;130777:106;;130828:8;130819:17;;;;;;:::i;:::-;;;;;130865:2;130855:12;;;;130777:106;130910:8;130901:5;:17;130897:106;;130948:8;130939:17;;;;;;:::i;:::-;;;;;130985:2;130975:12;;;;130897:106;131030:7;131021:5;:16;131017:103;;131067:7;131058:16;;;;;;:::i;:::-;;;;;131103:1;131093:11;;;;131017:103;131147:7;131138:5;:16;131134:103;;131184:7;131175:16;;;;;;:::i;:::-;;;;;131220:1;131210:11;;;;131134:103;131264:7;131255:5;:16;131251:103;;131301:7;131292:16;;;;;;:::i;:::-;;;;;131337:1;131327:11;;;;131251:103;131381:7;131372:5;:16;131368:68;;131419:1;131409:11;;;;131368:68;131464:6;131457:13;;;130530:948;;;:::o;41098:2399::-;41171:20;41194:13;;41171:36;;41234:1;41222:8;:13;41218:53;;41237:34;41245:25;;;41237:7;:34::i;:::-;41218:53;41284:61;41314:1;41318:2;41322:12;41336:8;41284:21;:61::i;:::-;41818:139;41855:2;41909:33;41932:1;41936:2;41940:1;41909:14;:33::i;:::-;41876:30;41897:8;41876:20;:30::i;:::-;:66;41818:18;:139::i;:::-;41784:17;:31;41802:12;41784:31;;;;;;;;;;;:173;;;;42244:1;11347:2;42214:1;:26;;42213:32;42201:8;:45;42175:18;:22;42194:2;42175:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;42357:16;12667:14;42392:2;42376:20;;:39;42357:58;;42448:1;42436:8;:13;42432:54;;42451:35;42459:26;;;42451:7;:35::i;:::-;42432:54;42503:11;42532:8;42517:12;:23;42503:37;;42555:15;42573:12;42555:30;;42616:17;:15;:17::i;:::-;42612:1;42606:3;:7;:27;42602:77;;;42635:44;42643:35;;;42635:7;:44::i;:::-;42602:77;42696:676;43115:7;43071:8;43026:1;42960:25;42897:1;42832;42801:358;43367:3;43354:9;;;;;;:16;42696:676;;43404:3;43388:13;:19;;;;41533:1886;;;43429:60;43458:1;43462:2;43466:12;43480:8;43429:20;:60::i;:::-;41160:2337;41098:2399;;:::o;27723:324::-;27793:14;28026:1;28016:8;28013:15;27987:24;27983:46;27973:56;;27723:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:117::-;4999:1;4996;4989:12;5013:117;5122:1;5119;5112:12;5136:117;5245:1;5242;5235:12;5273:553;5331:8;5341:6;5391:3;5384:4;5376:6;5372:17;5368:27;5358:122;;5399:79;;:::i;:::-;5358:122;5512:6;5499:20;5489:30;;5542:18;5534:6;5531:30;5528:117;;;5564:79;;:::i;:::-;5528:117;5678:4;5670:6;5666:17;5654:29;;5732:3;5724:4;5716:6;5712:17;5702:8;5698:32;5695:41;5692:128;;;5739:79;;:::i;:::-;5692:128;5273:553;;;;;:::o;5832:529::-;5903:6;5911;5960:2;5948:9;5939:7;5935:23;5931:32;5928:119;;;5966:79;;:::i;:::-;5928:119;6114:1;6103:9;6099:17;6086:31;6144:18;6136:6;6133:30;6130:117;;;6166:79;;:::i;:::-;6130:117;6279:65;6336:7;6327:6;6316:9;6312:22;6279:65;:::i;:::-;6261:83;;;;6057:297;5832:529;;;;;:::o;6367:118::-;6454:24;6472:5;6454:24;:::i;:::-;6449:3;6442:37;6367:118;;:::o;6491:222::-;6584:4;6622:2;6611:9;6607:18;6599:26;;6635:71;6703:1;6692:9;6688:17;6679:6;6635:71;:::i;:::-;6491:222;;;;:::o;6719:619::-;6796:6;6804;6812;6861:2;6849:9;6840:7;6836:23;6832:32;6829:119;;;6867:79;;:::i;:::-;6829:119;6987:1;7012:53;7057:7;7048:6;7037:9;7033:22;7012:53;:::i;:::-;7002:63;;6958:117;7114:2;7140:53;7185:7;7176:6;7165:9;7161:22;7140:53;:::i;:::-;7130:63;;7085:118;7242:2;7268:53;7313:7;7304:6;7293:9;7289:22;7268:53;:::i;:::-;7258:63;;7213:118;6719:619;;;;;:::o;7344:329::-;7403:6;7452:2;7440:9;7431:7;7427:23;7423:32;7420:119;;;7458:79;;:::i;:::-;7420:119;7578:1;7603:53;7648:7;7639:6;7628:9;7624:22;7603:53;:::i;:::-;7593:63;;7549:117;7344:329;;;;:::o;7679:116::-;7749:21;7764:5;7749:21;:::i;:::-;7742:5;7739:32;7729:60;;7785:1;7782;7775:12;7729:60;7679:116;:::o;7801:133::-;7844:5;7882:6;7869:20;7860:29;;7898:30;7922:5;7898:30;:::i;:::-;7801:133;;;;:::o;7940:468::-;8005:6;8013;8062:2;8050:9;8041:7;8037:23;8033:32;8030:119;;;8068:79;;:::i;:::-;8030:119;8188:1;8213:53;8258:7;8249:6;8238:9;8234:22;8213:53;:::i;:::-;8203:63;;8159:117;8315:2;8341:50;8383:7;8374:6;8363:9;8359:22;8341:50;:::i;:::-;8331:60;;8286:115;7940:468;;;;;:::o;8414:117::-;8523:1;8520;8513:12;8537:180;8585:77;8582:1;8575:88;8682:4;8679:1;8672:15;8706:4;8703:1;8696:15;8723:281;8806:27;8828:4;8806:27;:::i;:::-;8798:6;8794:40;8936:6;8924:10;8921:22;8900:18;8888:10;8885:34;8882:62;8879:88;;;8947:18;;:::i;:::-;8879:88;8987:10;8983:2;8976:22;8766:238;8723:281;;:::o;9010:129::-;9044:6;9071:20;;:::i;:::-;9061:30;;9100:33;9128:4;9120:6;9100:33;:::i;:::-;9010:129;;;:::o;9145:307::-;9206:4;9296:18;9288:6;9285:30;9282:56;;;9318:18;;:::i;:::-;9282:56;9356:29;9378:6;9356:29;:::i;:::-;9348:37;;9440:4;9434;9430:15;9422:23;;9145:307;;;:::o;9458:146::-;9555:6;9550:3;9545;9532:30;9596:1;9587:6;9582:3;9578:16;9571:27;9458:146;;;:::o;9610:423::-;9687:5;9712:65;9728:48;9769:6;9728:48;:::i;:::-;9712:65;:::i;:::-;9703:74;;9800:6;9793:5;9786:21;9838:4;9831:5;9827:16;9876:3;9867:6;9862:3;9858:16;9855:25;9852:112;;;9883:79;;:::i;:::-;9852:112;9973:54;10020:6;10015:3;10010;9973:54;:::i;:::-;9693:340;9610:423;;;;;:::o;10052:338::-;10107:5;10156:3;10149:4;10141:6;10137:17;10133:27;10123:122;;10164:79;;:::i;:::-;10123:122;10281:6;10268:20;10306:78;10380:3;10372:6;10365:4;10357:6;10353:17;10306:78;:::i;:::-;10297:87;;10113:277;10052:338;;;;:::o;10396:943::-;10491:6;10499;10507;10515;10564:3;10552:9;10543:7;10539:23;10535:33;10532:120;;;10571:79;;:::i;:::-;10532:120;10691:1;10716:53;10761:7;10752:6;10741:9;10737:22;10716:53;:::i;:::-;10706:63;;10662:117;10818:2;10844:53;10889:7;10880:6;10869:9;10865:22;10844:53;:::i;:::-;10834:63;;10789:118;10946:2;10972:53;11017:7;11008:6;10997:9;10993:22;10972:53;:::i;:::-;10962:63;;10917:118;11102:2;11091:9;11087:18;11074:32;11133:18;11125:6;11122:30;11119:117;;;11155:79;;:::i;:::-;11119:117;11260:62;11314:7;11305:6;11294:9;11290:22;11260:62;:::i;:::-;11250:72;;11045:287;10396:943;;;;;;;:::o;11345:474::-;11413:6;11421;11470:2;11458:9;11449:7;11445:23;11441:32;11438:119;;;11476:79;;:::i;:::-;11438:119;11596:1;11621:53;11666:7;11657:6;11646:9;11642:22;11621:53;:::i;:::-;11611:63;;11567:117;11723:2;11749:53;11794:7;11785:6;11774:9;11770:22;11749:53;:::i;:::-;11739:63;;11694:118;11345:474;;;;;:::o;11842:568::-;11915:8;11925:6;11975:3;11968:4;11960:6;11956:17;11952:27;11942:122;;11983:79;;:::i;:::-;11942:122;12096:6;12083:20;12073:30;;12126:18;12118:6;12115:30;12112:117;;;12148:79;;:::i;:::-;12112:117;12262:4;12254:6;12250:17;12238:29;;12316:3;12308:4;12300:6;12296:17;12286:8;12282:32;12279:41;12276:128;;;12323:79;;:::i;:::-;12276:128;11842:568;;;;;:::o;12416:559::-;12502:6;12510;12559:2;12547:9;12538:7;12534:23;12530:32;12527:119;;;12565:79;;:::i;:::-;12527:119;12713:1;12702:9;12698:17;12685:31;12743:18;12735:6;12732:30;12729:117;;;12765:79;;:::i;:::-;12729:117;12878:80;12950:7;12941:6;12930:9;12926:22;12878:80;:::i;:::-;12860:98;;;;12656:312;12416:559;;;;;:::o;12981:180::-;13029:77;13026:1;13019:88;13126:4;13123:1;13116:15;13150:4;13147:1;13140:15;13167:320;13211:6;13248:1;13242:4;13238:12;13228:22;;13295:1;13289:4;13285:12;13316:18;13306:81;;13372:4;13364:6;13360:17;13350:27;;13306:81;13434:2;13426:6;13423:14;13403:18;13400:38;13397:84;;13453:18;;:::i;:::-;13397:84;13218:269;13167:320;;;:::o;13493:97::-;13552:6;13580:3;13570:13;;13493:97;;;;:::o;13596:141::-;13645:4;13668:3;13660:11;;13691:3;13688:1;13681:14;13725:4;13722:1;13712:18;13704:26;;13596:141;;;:::o;13743:93::-;13780:6;13827:2;13822;13815:5;13811:14;13807:23;13797:33;;13743:93;;;:::o;13842:107::-;13886:8;13936:5;13930:4;13926:16;13905:37;;13842:107;;;;:::o;13955:393::-;14024:6;14074:1;14062:10;14058:18;14097:97;14127:66;14116:9;14097:97;:::i;:::-;14215:39;14245:8;14234:9;14215:39;:::i;:::-;14203:51;;14287:4;14283:9;14276:5;14272:21;14263:30;;14336:4;14326:8;14322:19;14315:5;14312:30;14302:40;;14031:317;;13955:393;;;;;:::o;14354:60::-;14382:3;14403:5;14396:12;;14354:60;;;:::o;14420:142::-;14470:9;14503:53;14521:34;14530:24;14548:5;14530:24;:::i;:::-;14521:34;:::i;:::-;14503:53;:::i;:::-;14490:66;;14420:142;;;:::o;14568:75::-;14611:3;14632:5;14625:12;;14568:75;;;:::o;14649:269::-;14759:39;14790:7;14759:39;:::i;:::-;14820:91;14869:41;14893:16;14869:41;:::i;:::-;14861:6;14854:4;14848:11;14820:91;:::i;:::-;14814:4;14807:105;14725:193;14649:269;;;:::o;14924:73::-;14969:3;14924:73;:::o;15003:189::-;15080:32;;:::i;:::-;15121:65;15179:6;15171;15165:4;15121:65;:::i;:::-;15056:136;15003:189;;:::o;15198:186::-;15258:120;15275:3;15268:5;15265:14;15258:120;;;15329:39;15366:1;15359:5;15329:39;:::i;:::-;15302:1;15295:5;15291:13;15282:22;;15258:120;;;15198:186;;:::o;15390:543::-;15491:2;15486:3;15483:11;15480:446;;;15525:38;15557:5;15525:38;:::i;:::-;15609:29;15627:10;15609:29;:::i;:::-;15599:8;15595:44;15792:2;15780:10;15777:18;15774:49;;;15813:8;15798:23;;15774:49;15836:80;15892:22;15910:3;15892:22;:::i;:::-;15882:8;15878:37;15865:11;15836:80;:::i;:::-;15495:431;;15480:446;15390:543;;;:::o;15939:117::-;15993:8;16043:5;16037:4;16033:16;16012:37;;15939:117;;;;:::o;16062:169::-;16106:6;16139:51;16187:1;16183:6;16175:5;16172:1;16168:13;16139:51;:::i;:::-;16135:56;16220:4;16214;16210:15;16200:25;;16113:118;16062:169;;;;:::o;16236:295::-;16312:4;16458:29;16483:3;16477:4;16458:29;:::i;:::-;16450:37;;16520:3;16517:1;16513:11;16507:4;16504:21;16496:29;;16236:295;;;;:::o;16536:1403::-;16660:44;16700:3;16695;16660:44;:::i;:::-;16769:18;16761:6;16758:30;16755:56;;;16791:18;;:::i;:::-;16755:56;16835:38;16867:4;16861:11;16835:38;:::i;:::-;16920:67;16980:6;16972;16966:4;16920:67;:::i;:::-;17014:1;17043:2;17035:6;17032:14;17060:1;17055:632;;;;17731:1;17748:6;17745:84;;;17804:9;17799:3;17795:19;17782:33;17773:42;;17745:84;17855:67;17915:6;17908:5;17855:67;:::i;:::-;17849:4;17842:81;17704:229;17025:908;;17055:632;17107:4;17103:9;17095:6;17091:22;17141:37;17173:4;17141:37;:::i;:::-;17200:1;17214:215;17228:7;17225:1;17222:14;17214:215;;;17314:9;17309:3;17305:19;17292:33;17284:6;17277:49;17365:1;17357:6;17353:14;17343:24;;17412:2;17401:9;17397:18;17384:31;;17251:4;17248:1;17244:12;17239:17;;17214:215;;;17457:6;17448:7;17445:19;17442:186;;;17522:9;17517:3;17513:19;17500:33;17565:48;17607:4;17599:6;17595:17;17584:9;17565:48;:::i;:::-;17557:6;17550:64;17465:163;17442:186;17674:1;17670;17662:6;17658:14;17654:22;17648:4;17641:36;17062:625;;;17025:908;;16635:1304;;;16536:1403;;;:::o;17945:180::-;17993:77;17990:1;17983:88;18090:4;18087:1;18080:15;18114:4;18111:1;18104:15;18131:191;18171:3;18190:20;18208:1;18190:20;:::i;:::-;18185:25;;18224:20;18242:1;18224:20;:::i;:::-;18219:25;;18267:1;18264;18260:9;18253:16;;18288:3;18285:1;18282:10;18279:36;;;18295:18;;:::i;:::-;18279:36;18131:191;;;;:::o;18328:180::-;18468:32;18464:1;18456:6;18452:14;18445:56;18328:180;:::o;18514:366::-;18656:3;18677:67;18741:2;18736:3;18677:67;:::i;:::-;18670:74;;18753:93;18842:3;18753:93;:::i;:::-;18871:2;18866:3;18862:12;18855:19;;18514:366;;;:::o;18886:419::-;19052:4;19090:2;19079:9;19075:18;19067:26;;19139:9;19133:4;19129:20;19125:1;19114:9;19110:17;19103:47;19167:131;19293:4;19167:131;:::i;:::-;19159:139;;18886:419;;;:::o;19311:174::-;19451:26;19447:1;19439:6;19435:14;19428:50;19311:174;:::o;19491:366::-;19633:3;19654:67;19718:2;19713:3;19654:67;:::i;:::-;19647:74;;19730:93;19819:3;19730:93;:::i;:::-;19848:2;19843:3;19839:12;19832:19;;19491:366;;;:::o;19863:419::-;20029:4;20067:2;20056:9;20052:18;20044:26;;20116:9;20110:4;20106:20;20102:1;20091:9;20087:17;20080:47;20144:131;20270:4;20144:131;:::i;:::-;20136:139;;19863:419;;;:::o;20288:180::-;20336:77;20333:1;20326:88;20433:4;20430:1;20423:15;20457:4;20454:1;20447:15;20474:176;20506:1;20523:20;20541:1;20523:20;:::i;:::-;20518:25;;20557:20;20575:1;20557:20;:::i;:::-;20552:25;;20596:1;20586:35;;20601:18;;:::i;:::-;20586:35;20642:1;20639;20635:9;20630:14;;20474:176;;;;:::o;20656:234::-;20796:34;20792:1;20784:6;20780:14;20773:58;20865:17;20860:2;20852:6;20848:15;20841:42;20656:234;:::o;20896:366::-;21038:3;21059:67;21123:2;21118:3;21059:67;:::i;:::-;21052:74;;21135:93;21224:3;21135:93;:::i;:::-;21253:2;21248:3;21244:12;21237:19;;20896:366;;;:::o;21268:419::-;21434:4;21472:2;21461:9;21457:18;21449:26;;21521:9;21515:4;21511:20;21507:1;21496:9;21492:17;21485:47;21549:131;21675:4;21549:131;:::i;:::-;21541:139;;21268:419;;;:::o;21693:148::-;21795:11;21832:3;21817:18;;21693:148;;;;:::o;21871:874::-;21974:3;22011:5;22005:12;22040:36;22066:9;22040:36;:::i;:::-;22092:89;22174:6;22169:3;22092:89;:::i;:::-;22085:96;;22212:1;22201:9;22197:17;22228:1;22223:166;;;;22403:1;22398:341;;;;22190:549;;22223:166;22307:4;22303:9;22292;22288:25;22283:3;22276:38;22369:6;22362:14;22355:22;22347:6;22343:35;22338:3;22334:45;22327:52;;22223:166;;22398:341;22465:38;22497:5;22465:38;:::i;:::-;22525:1;22539:154;22553:6;22550:1;22547:13;22539:154;;;22627:7;22621:14;22617:1;22612:3;22608:11;22601:35;22677:1;22668:7;22664:15;22653:26;;22575:4;22572:1;22568:12;22563:17;;22539:154;;;22722:6;22717:3;22713:16;22706:23;;22405:334;;22190:549;;21978:767;;21871:874;;;;:::o;22751:390::-;22857:3;22885:39;22918:5;22885:39;:::i;:::-;22940:89;23022:6;23017:3;22940:89;:::i;:::-;22933:96;;23038:65;23096:6;23091:3;23084:4;23077:5;23073:16;23038:65;:::i;:::-;23128:6;23123:3;23119:16;23112:23;;22861:280;22751:390;;;;:::o;23147:429::-;23324:3;23346:92;23434:3;23425:6;23346:92;:::i;:::-;23339:99;;23455:95;23546:3;23537:6;23455:95;:::i;:::-;23448:102;;23567:3;23560:10;;23147:429;;;;;:::o;23582:180::-;23630:77;23627:1;23620:88;23727:4;23724:1;23717:15;23751:4;23748:1;23741:15;23768:233;23807:3;23830:24;23848:5;23830:24;:::i;:::-;23821:33;;23876:66;23869:5;23866:77;23863:103;;23946:18;;:::i;:::-;23863:103;23993:1;23986:5;23982:13;23975:20;;23768:233;;;:::o;24007:171::-;24046:3;24069:24;24087:5;24069:24;:::i;:::-;24060:33;;24115:4;24108:5;24105:15;24102:41;;24123:18;;:::i;:::-;24102:41;24170:1;24163:5;24159:13;24152:20;;24007:171;;;:::o;24184:98::-;24235:6;24269:5;24263:12;24253:22;;24184:98;;;:::o;24288:168::-;24371:11;24405:6;24400:3;24393:19;24445:4;24440:3;24436:14;24421:29;;24288:168;;;;:::o;24462:373::-;24548:3;24576:38;24608:5;24576:38;:::i;:::-;24630:70;24693:6;24688:3;24630:70;:::i;:::-;24623:77;;24709:65;24767:6;24762:3;24755:4;24748:5;24744:16;24709:65;:::i;:::-;24799:29;24821:6;24799:29;:::i;:::-;24794:3;24790:39;24783:46;;24552:283;24462:373;;;;:::o;24841:640::-;25036:4;25074:3;25063:9;25059:19;25051:27;;25088:71;25156:1;25145:9;25141:17;25132:6;25088:71;:::i;:::-;25169:72;25237:2;25226:9;25222:18;25213:6;25169:72;:::i;:::-;25251;25319:2;25308:9;25304:18;25295:6;25251:72;:::i;:::-;25370:9;25364:4;25360:20;25355:2;25344:9;25340:18;25333:48;25398:76;25469:4;25460:6;25398:76;:::i;:::-;25390:84;;24841:640;;;;;;;:::o;25487:141::-;25543:5;25574:6;25568:13;25559:22;;25590:32;25616:5;25590:32;:::i;:::-;25487:141;;;;:::o;25634:349::-;25703:6;25752:2;25740:9;25731:7;25727:23;25723:32;25720:119;;;25758:79;;:::i;:::-;25720:119;25878:1;25903:63;25958:7;25949:6;25938:9;25934:22;25903:63;:::i;:::-;25893:73;;25849:127;25634:349;;;;:::o

Swarm Source

ipfs://20ce5e7e5b08dd6d61d0ae413fd42c1843c80aa6bad42ce4d3196e397cc34ce0

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.