ETH Price: $3,897.69 (-0.02%)
Gas: 14 Gwei

Contract

0x3eC47A4B61e7B3466f081ed686bbD908c601aA48
 

Overview

ETH Balance

0.1656 ETH

Eth Value

$645.46 (@ $3,897.69/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...183999582023-10-21 16:45:11219 days ago1697906711IN
0x3eC47A4B...8c601aA48
0 ETH0.0005643812.2408744
Change Price Pub...181498332023-09-16 16:18:23254 days ago1694881103IN
0x3eC47A4B...8c601aA48
0 ETH0.0004945217.17338339
Public Mint170970292023-04-21 20:09:11402 days ago1682107751IN
0x3eC47A4B...8c601aA48
0.15 ETH0.0058441556.66345859
Set Step165872382023-02-08 23:12:11474 days ago1675897931IN
0x3eC47A4B...8c601aA48
0 ETH0.0008283228.74947768
Change Price Pub...165872302023-02-08 23:10:35474 days ago1675897835IN
0x3eC47A4B...8c601aA48
0 ETH0.0008094528.09839163
Set Merkle Root165867622023-02-08 21:36:47474 days ago1675892207IN
0x3eC47A4B...8c601aA48
0 ETH0.0010007334.49620446
Whitelist Mint165575202023-02-04 19:31:23478 days ago1675539083IN
0x3eC47A4B...8c601aA48
0.0026 ETH0.0027707724.04957633
Whitelist Mint165572542023-02-04 18:37:59478 days ago1675535879IN
0x3eC47A4B...8c601aA48
0.0026 ETH0.0026840223.63757053
Set Merkle Root165570972023-02-04 18:06:23478 days ago1675533983IN
0x3eC47A4B...8c601aA48
0 ETH0.0007192424.79296668
Whitelist Mint165566992023-02-04 16:46:35478 days ago1675529195IN
0x3eC47A4B...8c601aA48
0.0013 ETH0.0020233426.23594718
Whitelist Mint165557752023-02-04 13:40:35478 days ago1675518035IN
0x3eC47A4B...8c601aA48
0.00065 ETH0.0017540723.31804202
Whitelist Mint165355352023-02-01 17:44:11481 days ago1675273451IN
0x3eC47A4B...8c601aA48
0.0026 ETH0.0024687121.89354919
Whitelist Mint165353202023-02-01 17:01:11481 days ago1675270871IN
0x3eC47A4B...8c601aA48
0.0026 ETH0.0029630525.71850012
Whitelist Mint165293372023-01-31 20:56:23482 days ago1675198583IN
0x3eC47A4B...8c601aA48
0.00065 ETH0.0028945138.49708946
Whitelist Mint165268192023-01-31 12:30:47482 days ago1675168247IN
0x3eC47A4B...8c601aA48
0.00065 ETH0.0018588516.99318362
Whitelist Mint165257012023-01-31 8:45:47483 days ago1675154747IN
0x3eC47A4B...8c601aA48
0.00195 ETH0.001634514.42765063
Set Step165230002023-01-30 23:43:11483 days ago1675122191IN
0x3eC47A4B...8c601aA48
0 ETH0.0004408915.30246241
Set Merkle Root165229962023-01-30 23:42:23483 days ago1675122143IN
0x3eC47A4B...8c601aA48
0 ETH0.0004570615.76188397
Change Price Whi...164642632023-01-22 18:53:59491 days ago1674413639IN
0x3eC47A4B...8c601aA48
0 ETH0.0004669716.26004936
Set Step162391542022-12-22 8:49:47523 days ago1671698987IN
0x3eC47A4B...8c601aA48
0 ETH0.0003120410.83029058
Private Mint162324492022-12-21 10:21:47524 days ago1671618107IN
0x3eC47A4B...8c601aA48
0 ETH0.0034869413.3164823
Private Mint162324362022-12-21 10:19:11524 days ago1671617951IN
0x3eC47A4B...8c601aA48
0 ETH0.0026405713.3320187
Private Mint162324252022-12-21 10:16:59524 days ago1671617819IN
0x3eC47A4B...8c601aA48
0 ETH0.0034613713.02649593
Private Mint161260552022-12-06 13:28:59538 days ago1670333339IN
0x3eC47A4B...8c601aA48
0 ETH0.001313714.02317094
Private Mint161259922022-12-06 13:16:11538 days ago1670332571IN
0x3eC47A4B...8c601aA48
0 ETH0.002383214.42601255
View all transactions

Advanced mode:
Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x32d629f4...c4999e405
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
NFTShibaBlastar

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-09
*/

// File: contracts/IERC721A.sol


// ERC721A Contracts v4.2.2
// 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();

    // =============================================================
    //                            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;

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

    /**
     * @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;

    /**
     * @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;

    /**
     * @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: contracts/IERC721AQueryable.sol


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

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}
// File: contracts/ERC721A.sol


// ERC721A Contracts v4.2.2
// 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()`.
 *
 * 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;

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

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

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

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @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) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    // =============================================================
    //                    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();
        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();

        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 Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // 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, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @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.
     * 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) public virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

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

    /**
     * @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();

        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) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not 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 virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (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();

        if (to == address(0)) revert TransferToZeroAddress();

        _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;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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 virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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();
            } else {
                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();

        _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:
            // - `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)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // 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`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _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)
            );

            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();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    // =============================================================
    //                        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();
        }

        _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 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();
        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)
        }
    }
}
// File: contracts/ERC721AQueryable.sol


// ERC721A Contracts v4.2.2
// Creator: Chiru Labs
pragma solidity ^0.8.4;



/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}
// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        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_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        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);
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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`.
     *
     * 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 calldata data
    ) external;

    /**
     * @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 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
    ) external;

    /**
     * @dev Transfers `tokenId` token 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;

    /**
     * @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;

    /**
     * @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);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @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;
    }
}

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @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, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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 (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: @openzeppelin/contracts/finance/PaymentSplitter.sol


// OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;




/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the
 * time of contract deployment and can't be updated thereafter.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Getter for the amount of payee's releasable Ether.
     */
    function releasable(address account) public view returns (uint256) {
        uint256 totalReceived = address(this).balance + totalReleased();
        return _pendingPayment(account, totalReceived, released(account));
    }

    /**
     * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
     * IERC20 contract.
     */
    function releasable(IERC20 token, address account) public view returns (uint256) {
        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        return _pendingPayment(account, totalReceived, released(token, account));
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(token, account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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: contracts/NFTShibaBlastar.sol


pragma solidity 0.8.15;








contract NFTShibaBlastar is ERC721A, Ownable, PaymentSplitter, ERC721AQueryable {

    using Strings for uint;

    uint private constant MAX_SUPPLY = 10000;
    uint private constant MAX_PRIVATEMINT = 2500;
    uint private constant MAX_WHITELIST = 500;
    uint private constant MAX_PUBLIC = 7000;

    uint public price_whitelist = 0.00025 ether;
    uint public price_public = 0.35 ether;

    bytes32 public merklePrivateRoot;
    bytes32 public merkleRoot;

    string public baseURI;
    string public notRevealedURI;
    bool public revealed = false;

    enum Steps {
        Before,
        PrivateMint,
        Between,
        WhitelistSale,
        PublicSale,
        Finished,
        Reveal
    }

    Steps public sellingStep;

    mapping(address => uint) amountNFTsperWalletPrivateemint;
    mapping(address => uint) amountNFTsperWalletWhitelist;
    mapping(address => uint) amountNFTsperWalletPublic;

    uint private constant MAX_PER_ADDRESS_DURING_PRIVATEMINT = 1250;
    uint private constant MAX_PER_ADDRESS_DURING_WHITELIST = 4;
    uint private constant MAX_PER_ADDRESS_DURING_PUBLIC = 50;

    uint private teamLength;

    address[] private _team = [
        0xd88828D0b7326B315A237170ED3704eA9F80b213
    ];

    uint[] private _teamShares = [
        100
    ];

    constructor(bytes32 _merklePrivateRoot, bytes32 _merkleRoot, string memory _baseURI, string memory _notRevealedURI)
    ERC721A("NFT Shiba Blastar", "NFTSABR")
    PaymentSplitter(_team, _teamShares) {
        merklePrivateRoot = _merklePrivateRoot;
        merkleRoot = _merkleRoot;
        baseURI = _baseURI;
        notRevealedURI = _notRevealedURI;
        teamLength = _team.length;
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    function privateMint(address _account, uint _quantity, bytes32[] calldata _proof) external callerIsUser {
        require(sellingStep == Steps.PrivateMint, "The private sale is not yet started");
        require(isPrivatelisted(msg.sender, _proof), "You are not part of the private list");
        require(amountNFTsperWalletPrivateemint[msg.sender] + _quantity <= MAX_PER_ADDRESS_DURING_PRIVATEMINT, 
        "You cannot mint more than 1250 NFTs");
        require(totalSupply() + _quantity <= MAX_PRIVATEMINT, "MAX supply exceeded");
        amountNFTsperWalletPrivateemint[msg.sender] += _quantity;
        _safeMint(_account, _quantity);
    }

    function whitelistMint(address _account, uint _quantity, bytes32[] calldata _proof) external payable callerIsUser {
        require(sellingStep == Steps.WhitelistSale, "The whitelist sale is not yet started");
        require(isWhitelisted(msg.sender, _proof), "You are not part of the whitelist sale");
        require(amountNFTsperWalletWhitelist[msg.sender] + _quantity <= MAX_PER_ADDRESS_DURING_WHITELIST, 
        "You can only mint 4 NFTs during the whitelist sale");
        require(totalSupply() + _quantity <= MAX_WHITELIST + MAX_PRIVATEMINT, "MAX supply exceeded");
        require(msg.value >= price_whitelist * _quantity, "Not enought funds");
        amountNFTsperWalletWhitelist[msg.sender] += _quantity;
        _safeMint(_account, _quantity);
    }

    function publicMint(address _account, uint _quantity) external payable callerIsUser {
        require(sellingStep == Steps.PublicSale, "The public sale is not yet started");
        require(amountNFTsperWalletPublic[msg.sender] + _quantity <= MAX_PER_ADDRESS_DURING_PUBLIC, 
        "You can only mint 50 NFTs during the public sale");
        require(totalSupply() + _quantity <= MAX_PUBLIC + MAX_WHITELIST + MAX_PRIVATEMINT, "MAX supply exceeded");
        require(msg.value >= price_public * _quantity, "Not enought funds");
        amountNFTsperWalletPublic[msg.sender] += _quantity;
        _safeMint(_account, _quantity);
    }

    function setStep(uint _step) external onlyOwner {
        sellingStep = Steps(_step);
    }

    function isPrivatelisted(address _account, bytes32[] calldata _proof) internal view returns(bool) {
        return MerkleProof.verify(_proof, merklePrivateRoot, keccak256(abi.encodePacked((_account))));
    }

    function isWhitelisted(address _account, bytes32[] calldata _proof) internal view returns(bool) {
        return MerkleProof.verify(_proof, merkleRoot, keccak256(abi.encodePacked((_account))));
    }

    function tokenURI(uint _tokenId) public view virtual override(ERC721A, IERC721A) returns(string memory) {
        require(_exists(_tokenId), "NFT NOT MINTED");
        if(revealed == false) {
            return notRevealedURI;
        }

        return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json"));
    }

    function setBaseURI(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function setReveal() external onlyOwner {
        revealed = true;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function changePriceWhitelist(uint _priceWhitelist) external onlyOwner {
        price_whitelist = _priceWhitelist;
    }

    function changePricePublic(uint _pricePublic) external onlyOwner {
        price_public = _pricePublic;
    }

    function getPrice() public view returns(uint) {
        if (sellingStep == Steps.WhitelistSale) {
            return price_whitelist;
        }
        if (sellingStep == Steps.PublicSale) {
            return price_public;
        }
        return 0;
    }

    function releaseAll() external {
        for(uint i = 0; i < teamLength ; i++ ) {
            release(payable(payee(i)));
        }
    }

    receive() override external payable {
        revert("only if you mint");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_merklePrivateRoot","type":"bytes32"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_notRevealedURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePublic","type":"uint256"}],"name":"changePricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_priceWhitelist","type":"uint256"}],"name":"changePriceWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"merklePrivateRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price_public","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price_whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum NFTShibaBlastar.Steps","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80637cb6475911610190578063b88d4fde116100dc578063ce7c2ac211610095578063e432e0dc1161006f578063e432e0dc14610942578063e985e9c514610958578063f2fde38b146109a1578063f8dcbddb146109c157600080fd5b8063ce7c2ac2146108c1578063d79779b2146108f7578063e33b7de31461092d57600080fd5b8063b88d4fde146107f5578063c23dc68f14610815578063c45ac05014610842578063c87b56dd14610862578063cbccefb214610882578063ce6df2b9146108ae57600080fd5b80639852595c11610149578063993a14fd11610123578063993a14fd1461077557806399a2557a14610795578063a22cb465146107b5578063a3f8eace146107d557600080fd5b80639852595c1461070a5780639886a9021461074057806398d5fdca1461076057600080fd5b80637cb647591461064a5780638462151c1461066a5780638b83209b146106975780638da5cb5b146106b757806395d89b41146106d557806396e3bb9d146106ea57600080fd5b806342842e0e1161024f5780635be7fde81161020857806370a08231116101e257806370a08231146105eb578063715018a61461060b5780637225038014610620578063766453151461063557600080fd5b80635be7fde8146105a15780636352211e146105b65780636c0360eb146105d657600080fd5b806342842e0e146104e757806348b75044146105075780634b11faaf14610527578063518302271461053a57806355f804b3146105545780635bbb21771461057457600080fd5b806319165587116102a1578063191655871461042057806323b872dd1461044057806324aabd09146104605780632eb4a7ab146104765780633a98ef391461048c578063406072a9146104a157600080fd5b806301ffc9a71461033257806306fdde0314610367578063081812fc14610389578063095ea7b3146103c15780630de3877b146103e357806318160ddd1461040757600080fd5b3661032d5760405162461bcd60e51b815260206004820152601060248201526f1bdb9b1e481a59881e5bdd481b5a5b9d60821b60448201526064015b60405180910390fd5b600080fd5b34801561033e57600080fd5b5061035261034d3660046129d0565b6109e1565b60405190151581526020015b60405180910390f35b34801561037357600080fd5b5061037c610a33565b60405161035e9190612a45565b34801561039557600080fd5b506103a96103a4366004612a58565b610ac5565b6040516001600160a01b03909116815260200161035e565b3480156103cd57600080fd5b506103e16103dc366004612a86565b610b09565b005b3480156103ef57600080fd5b506103f960125481565b60405190815260200161035e565b34801561041357600080fd5b50600154600054036103f9565b34801561042c57600080fd5b506103e161043b366004612ab2565b610ba9565b34801561044c57600080fd5b506103e161045b366004612acf565b610ca2565b34801561046c57600080fd5b506103f960115481565b34801561048257600080fd5b506103f960135481565b34801561049857600080fd5b506009546103f9565b3480156104ad57600080fd5b506103f96104bc366004612b10565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156104f357600080fd5b506103e1610502366004612acf565b610e3b565b34801561051357600080fd5b506103e1610522366004612b10565b610e5b565b6103e1610535366004612b94565b610f7e565b34801561054657600080fd5b506016546103529060ff1681565b34801561056057600080fd5b506103e161056f366004612c7a565b6111cd565b34801561058057600080fd5b5061059461058f366004612cc2565b6111e5565b60405161035e9190612d3f565b3480156105ad57600080fd5b506103e16112b0565b3480156105c257600080fd5b506103a96105d1366004612a58565b6112de565b3480156105e257600080fd5b5061037c6112e9565b3480156105f757600080fd5b506103f9610606366004612ab2565b611377565b34801561061757600080fd5b506103e16113c5565b34801561062c57600080fd5b5061037c6113d9565b34801561064157600080fd5b506103e16113e6565b34801561065657600080fd5b506103e1610665366004612a58565b6113fd565b34801561067657600080fd5b5061068a610685366004612ab2565b61140a565b60405161035e9190612d81565b3480156106a357600080fd5b506103a96106b2366004612a58565b611512565b3480156106c357600080fd5b506008546001600160a01b03166103a9565b3480156106e157600080fd5b5061037c611542565b3480156106f657600080fd5b506103e1610705366004612a58565b611551565b34801561071657600080fd5b506103f9610725366004612ab2565b6001600160a01b03166000908152600c602052604090205490565b34801561074c57600080fd5b506103e161075b366004612b94565b61155e565b34801561076c57600080fd5b506103f9611728565b34801561078157600080fd5b506103e1610790366004612a58565b611784565b3480156107a157600080fd5b5061068a6107b0366004612db9565b611791565b3480156107c157600080fd5b506103e16107d0366004612dfc565b61190a565b3480156107e157600080fd5b506103f96107f0366004612ab2565b611976565b34801561080157600080fd5b506103e1610810366004612e2a565b6119b7565b34801561082157600080fd5b50610835610830366004612a58565b6119fb565b60405161035e9190612ea9565b34801561084e57600080fd5b506103f961085d366004612b10565b611a73565b34801561086e57600080fd5b5061037c61087d366004612a58565b611b3e565b34801561088e57600080fd5b506016546108a190610100900460ff1681565b60405161035e9190612ecd565b6103e16108bc366004612a86565b611c59565b3480156108cd57600080fd5b506103f96108dc366004612ab2565b6001600160a01b03166000908152600b602052604090205490565b34801561090357600080fd5b506103f9610912366004612ab2565b6001600160a01b03166000908152600e602052604090205490565b34801561093957600080fd5b50600a546103f9565b34801561094e57600080fd5b506103f960105481565b34801561096457600080fd5b50610352610973366004612b10565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109ad57600080fd5b506103e16109bc366004612ab2565b611e44565b3480156109cd57600080fd5b506103e16109dc366004612a58565b611eba565b60006301ffc9a760e01b6001600160e01b031983161480610a1257506380ac58cd60e01b6001600160e01b03198316145b80610a2d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610a4290612ef5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6e90612ef5565b8015610abb5780601f10610a9057610100808354040283529160200191610abb565b820191906000526020600020905b815481529060010190602001808311610a9e57829003601f168201915b5050505050905090565b6000610ad082611efa565b610aed576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b14826112de565b9050336001600160a01b03821614610b4d57610b308133610973565b610b4d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610bde5760405162461bcd60e51b815260040161032490612f2f565b6000610be982611976565b905080600003610c0b5760405162461bcd60e51b815260040161032490612f75565b6001600160a01b0382166000908152600c602052604081208054839290610c33908490612fd6565b9250508190555080600a6000828254610c4c9190612fd6565b90915550610c5c90508282611f21565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b6000610cad8261203a565b9050836001600160a01b0316816001600160a01b031614610ce05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610d2d57610d108633610973565b610d2d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d5457604051633a954ecd60e21b815260040160405180910390fd5b8015610d5f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610df157600184016000818152600460205260408120549003610def576000548114610def5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610e56838383604051806020016040528060008152506119b7565b505050565b6001600160a01b0381166000908152600b6020526040902054610e905760405162461bcd60e51b815260040161032490612f2f565b6000610e9c8383611a73565b905080600003610ebe5760405162461bcd60e51b815260040161032490612f75565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290610ef5908490612fd6565b90915550506001600160a01b0383166000908152600e602052604081208054839290610f22908490612fd6565b90915550610f3390508383836120a1565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b323314610f9d5760405162461bcd60e51b815260040161032490612fee565b6003601654610100900460ff166006811115610fbb57610fbb612eb7565b146110165760405162461bcd60e51b815260206004820152602560248201527f5468652077686974656c6973742073616c65206973206e6f7420796574207374604482015264185c9d195960da1b6064820152608401610324565b6110213383836120f3565b61107c5760405162461bcd60e51b815260206004820152602660248201527f596f7520617265206e6f742070617274206f66207468652077686974656c6973604482015265742073616c6560d01b6064820152608401610324565b3360009081526018602052604090205460049061109a908590612fd6565b11156111035760405162461bcd60e51b815260206004820152603260248201527f596f752063616e206f6e6c79206d696e742034204e46547320647572696e67206044820152717468652077686974656c6973742073616c6560701b6064820152608401610324565b6111116109c46101f4612fd6565b8361111f6001546000540390565b6111299190612fd6565b11156111475760405162461bcd60e51b815260040161032490613025565b826010546111559190613052565b3410156111985760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610324565b33600090815260186020526040812080548592906111b7908490612fd6565b909155506111c79050848461216c565b50505050565b6111d5612186565b60146111e182826130b7565b5050565b6060816000816001600160401b0381111561120257611202612bef565b60405190808252806020026020018201604052801561125457816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816112205790505b50905060005b8281146112a75761128286868381811061127657611276613176565b905060200201356119fb565b82828151811061129457611294613176565b602090810291909101015260010161125a565b50949350505050565b60005b601a548110156112db576112c961043b82611512565b806112d38161318c565b9150506112b3565b50565b6000610a2d8261203a565b601480546112f690612ef5565b80601f016020809104026020016040519081016040528092919081815260200182805461132290612ef5565b801561136f5780601f106113445761010080835404028352916020019161136f565b820191906000526020600020905b81548152906001019060200180831161135257829003601f168201915b505050505081565b60006001600160a01b0382166113a0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6113cd612186565b6113d760006121e0565b565b601580546112f690612ef5565b6113ee612186565b6016805460ff19166001179055565b611405612186565b601355565b6060600080600061141a85611377565b90506000816001600160401b0381111561143657611436612bef565b60405190808252806020026020018201604052801561145f578160200160208202803683370190505b50905061148c60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b8386146115065761149f81612232565b915081604001516114fe5781516001600160a01b0316156114bf57815194505b876001600160a01b0316856001600160a01b0316036114fe57808387806001019850815181106114f1576114f1613176565b6020026020010181815250505b60010161148f565b50909695505050505050565b6000600d828154811061152757611527613176565b6000918252602090912001546001600160a01b031692915050565b606060038054610a4290612ef5565b611559612186565b601155565b32331461157d5760405162461bcd60e51b815260040161032490612fee565b6001601654610100900460ff16600681111561159b5761159b612eb7565b146115f45760405162461bcd60e51b815260206004820152602360248201527f54686520707269766174652073616c65206973206e6f742079657420737461726044820152621d195960ea1b6064820152608401610324565b6115ff33838361226e565b6116575760405162461bcd60e51b8152602060048201526024808201527f596f7520617265206e6f742070617274206f66207468652070726976617465206044820152631b1a5cdd60e21b6064820152608401610324565b336000908152601760205260409020546104e290611676908590612fd6565b11156116d05760405162461bcd60e51b815260206004820152602360248201527f596f752063616e6e6f74206d696e74206d6f7265207468616e2031323530204e60448201526246547360e81b6064820152608401610324565b6109c4836116e16001546000540390565b6116eb9190612fd6565b11156117095760405162461bcd60e51b815260040161032490613025565b33600090815260176020526040812080548592906111b7908490612fd6565b60006003601654610100900460ff16600681111561174857611748612eb7565b03611754575060105490565b6004601654610100900460ff16600681111561177257611772612eb7565b0361177e575060115490565b50600090565b61178c612186565b601055565b60608183106117b357604051631960ccad60e11b815260040160405180910390fd5b6000806117bf60005490565b9050808411156117cd578093505b60006117d887611377565b9050848610156117f757858503818110156117f1578091505b506117fb565b5060005b6000816001600160401b0381111561181557611815612bef565b60405190808252806020026020018201604052801561183e578160200160208202803683370190505b5090508160000361185457935061190392505050565b600061185f886119fb565b905060008160400151611870575080515b885b8881141580156118825750848714155b156118f75761189081612232565b925082604001516118ef5782516001600160a01b0316156118b057825191505b8a6001600160a01b0316826001600160a01b0316036118ef57808488806001019950815181106118e2576118e2613176565b6020026020010181815250505b600101611872565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080611982600a5490565b61198c9047612fd6565b905061190383826119b2866001600160a01b03166000908152600c602052604090205490565b6122d0565b6119c2848484610ca2565b6001600160a01b0383163b156111c7576119de8484848461230e565b6111c7576040516368d2bf6b60e11b815260040160405180910390fd5b6040805160808082018352600080835260208084018290528385018290526060808501839052855193840186528284529083018290529382018190529281018390529091506000548310611a4f5792915050565b611a5883612232565b9050806040015115611a6a5792915050565b611903836123f9565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af691906131a5565b611b009190612fd6565b6001600160a01b038086166000908152600f6020908152604080832093881683529290522054909150611b3690849083906122d0565b949350505050565b6060611b4982611efa565b611b865760405162461bcd60e51b815260206004820152600e60248201526d139195081393d50813525395115160921b6044820152606401610324565b60165460ff161515600003611c275760158054611ba290612ef5565b80601f0160208091040260200160405190810160405280929190818152602001828054611bce90612ef5565b8015611c1b5780601f10611bf057610100808354040283529160200191611c1b565b820191906000526020600020905b815481529060010190602001808311611bfe57829003601f168201915b50505050509050919050565b6014611c328361242e565b604051602001611c439291906131be565b6040516020818303038152906040529050919050565b323314611c785760405162461bcd60e51b815260040161032490612fee565b6004601654610100900460ff166006811115611c9657611c96612eb7565b14611cee5760405162461bcd60e51b815260206004820152602260248201527f546865207075626c69632073616c65206973206e6f7420796574207374617274604482015261195960f21b6064820152608401610324565b33600090815260196020526040902054603290611d0c908390612fd6565b1115611d735760405162461bcd60e51b815260206004820152603060248201527f596f752063616e206f6e6c79206d696e74203530204e46547320647572696e6760448201526f20746865207075626c69632073616c6560801b6064820152608401610324565b6109c4611d846101f4611b58612fd6565b611d8e9190612fd6565b81611d9c6001546000540390565b611da69190612fd6565b1115611dc45760405162461bcd60e51b815260040161032490613025565b80601154611dd29190613052565b341015611e155760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610324565b3360009081526019602052604081208054839290611e34908490612fd6565b909155506111e19050828261216c565b611e4c612186565b6001600160a01b038116611eb15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610324565b6112db816121e0565b611ec2612186565b806006811115611ed457611ed4612eb7565b6016805461ff001916610100836006811115611ef257611ef2612eb7565b021790555050565b6000805482108015610a2d575050600090815260046020526040902054600160e01b161590565b80471015611f715760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610324565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611fbe576040519150601f19603f3d011682016040523d82523d6000602084013e611fc3565b606091505b5050905080610e565760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610324565b6000816000548110156120885760008181526004602052604081205490600160e01b82169003612086575b80600003611903575060001901600081815260046020526040902054612065565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e5690849061252e565b6000611b36838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506013546040516bffffffffffffffffffffffff1960608b901b16602082015290925060340190505b60405160208183030381529060405280519060200120612600565b6111e1828260405180602001604052806000815250612616565b6008546001600160a01b031633146113d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610324565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a2d90612683565b6000611b36838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012546040516bffffffffffffffffffffffff1960608b901b1660208201529092506034019050612151565b6009546001600160a01b0384166000908152600b6020526040812054909183916122fa9086613052565b612304919061326b565b611b36919061327f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612343903390899088908890600401613296565b6020604051808303816000875af192505050801561237e575060408051601f3d908101601f1916820190925261237b918101906132d3565b60015b6123dc573d8080156123ac576040519150601f19603f3d011682016040523d82523d6000602084013e6123b1565b606091505b5080516000036123d4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610a2d6124298361203a565b612683565b6060816000036124555750506040805180820190915260018152600360fc1b602082015290565b8160005b811561247f57806124698161318c565b91506124789050600a8361326b565b9150612459565b6000816001600160401b0381111561249957612499612bef565b6040519080825280601f01601f1916602001820160405280156124c3576020820181803683370190505b5090505b8415611b36576124d860018361327f565b91506124e5600a866132f0565b6124f0906030612fd6565b60f81b81838151811061250557612505613176565b60200101906001600160f81b031916908160001a905350612527600a8661326b565b94506124c7565b6000612583826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166126ca9092919063ffffffff16565b805190915015610e5657808060200190518101906125a19190613304565b610e565760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610324565b60008261260d85846126d9565b14949350505050565b6126208383612726565b6001600160a01b0383163b15610e56576000548281035b61264a600086838060010194508661230e565b612667576040516368d2bf6b60e11b815260040160405180910390fd5b81811061263757816000541461267c57600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060611b368484600085612824565b600081815b845181101561271e5761270a828683815181106126fd576126fd613176565b6020026020010151612955565b9150806127168161318c565b9150506126de565b509392505050565b600080549082900361274b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146127fa57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016127c2565b508160000361281b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6060824710156128855760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610324565b6001600160a01b0385163b6128dc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610324565b600080866001600160a01b031685876040516128f89190613321565b60006040518083038185875af1925050503d8060008114612935576040519150601f19603f3d011682016040523d82523d6000602084013e61293a565b606091505b509150915061294a828286612981565b979650505050505050565b6000818310612971576000828152602084905260409020611903565b5060009182526020526040902090565b60608315612990575081611903565b8251156129a05782518084602001fd5b8160405162461bcd60e51b81526004016103249190612a45565b6001600160e01b0319811681146112db57600080fd5b6000602082840312156129e257600080fd5b8135611903816129ba565b60005b83811015612a085781810151838201526020016129f0565b838111156111c75750506000910152565b60008151808452612a318160208601602086016129ed565b601f01601f19169290920160200192915050565b6020815260006119036020830184612a19565b600060208284031215612a6a57600080fd5b5035919050565b6001600160a01b03811681146112db57600080fd5b60008060408385031215612a9957600080fd5b8235612aa481612a71565b946020939093013593505050565b600060208284031215612ac457600080fd5b813561190381612a71565b600080600060608486031215612ae457600080fd5b8335612aef81612a71565b92506020840135612aff81612a71565b929592945050506040919091013590565b60008060408385031215612b2357600080fd5b8235612b2e81612a71565b91506020830135612b3e81612a71565b809150509250929050565b60008083601f840112612b5b57600080fd5b5081356001600160401b03811115612b7257600080fd5b6020830191508360208260051b8501011115612b8d57600080fd5b9250929050565b60008060008060608587031215612baa57600080fd5b8435612bb581612a71565b93506020850135925060408501356001600160401b03811115612bd757600080fd5b612be387828801612b49565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612c1f57612c1f612bef565b604051601f8501601f19908116603f01168101908282118183101715612c4757612c47612bef565b81604052809350858152868686011115612c6057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612c8c57600080fd5b81356001600160401b03811115612ca257600080fd5b8201601f81018413612cb357600080fd5b611b3684823560208401612c05565b60008060208385031215612cd557600080fd5b82356001600160401b03811115612ceb57600080fd5b612cf785828601612b49565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561150657612d6e838551612d03565b9284019260809290920191600101612d5b565b6020808252825182820181905260009190848201906040850190845b8181101561150657835183529284019291840191600101612d9d565b600080600060608486031215612dce57600080fd5b8335612dd981612a71565b95602085013595506040909401359392505050565b80151581146112db57600080fd5b60008060408385031215612e0f57600080fd5b8235612e1a81612a71565b91506020830135612b3e81612dee565b60008060008060808587031215612e4057600080fd5b8435612e4b81612a71565b93506020850135612e5b81612a71565b92506040850135915060608501356001600160401b03811115612e7d57600080fd5b8501601f81018713612e8e57600080fd5b612e9d87823560208401612c05565b91505092959194509250565b60808101610a2d8284612d03565b634e487b7160e01b600052602160045260246000fd5b6020810160078310612eef57634e487b7160e01b600052602160045260246000fd5b91905290565b600181811c90821680612f0957607f821691505b602082108103612f2957634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612fe957612fe9612fc0565b500190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b602080825260139082015272135056081cdd5c1c1b1e48195e18d959591959606a1b604082015260600190565b600081600019048311821515161561306c5761306c612fc0565b500290565b601f821115610e5657600081815260208120601f850160051c810160208610156130985750805b601f850160051c820191505b81811015610e33578281556001016130a4565b81516001600160401b038111156130d0576130d0612bef565b6130e4816130de8454612ef5565b84613071565b602080601f83116001811461311957600084156131015750858301515b600019600386901b1c1916600185901b178555610e33565b600085815260208120601f198616915b8281101561314857888601518255948401946001909101908401613129565b50858210156131665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60006001820161319e5761319e612fc0565b5060010190565b6000602082840312156131b757600080fd5b5051919050565b60008084546131cc81612ef5565b600182811680156131e457600181146131f957613228565b60ff1984168752821515830287019450613228565b8860005260208060002060005b8581101561321f5781548a820152908401908201613206565b50505082870194505b50505050835161323c8183602088016129ed565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052601260045260246000fd5b60008261327a5761327a613255565b500490565b60008282101561329157613291612fc0565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906132c990830184612a19565b9695505050505050565b6000602082840312156132e557600080fd5b8151611903816129ba565b6000826132ff576132ff613255565b500690565b60006020828403121561331657600080fd5b815161190381612dee565b600082516133338184602087016129ed565b919091019291505056fea264697066735822122095023d76815a332ca9069696d57f6e2f6634e9a582296179ee00e69e8cee5f0b64736f6c634300080f0033

Deployed Bytecode Sourcemap

132969:5906:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;138838:26;;-1:-1:-1;;;138838:26:0;;216:2:1;138838:26:0;;;198:21:1;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:46;330:18;;138838:26:0;;;;;;;;132969:5906;;;;20855:639;;;;;;;;;;-1:-1:-1;20855:639:0;;;;;:::i;:::-;;:::i;:::-;;;910:14:1;;903:22;885:41;;873:2;858:18;20855:639:0;;;;;;;;21757:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28240:218::-;;;;;;;;;;-1:-1:-1;28240:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2037:32:1;;;2019:51;;2007:2;1992:18;28240:218:0;1873:203:1;27681:400:0;;;;;;;;;;-1:-1:-1;27681:400:0;;;;;:::i;:::-;;:::i;:::-;;133379:32;;;;;;;;;;;;;;;;;;;2683:25:1;;;2671:2;2656:18;133379:32:0;2537:177:1;17508:323:0;;;;;;;;;;-1:-1:-1;17782:12:0;;17569:7;17766:13;:28;17508:323;;127851:453;;;;;;;;;;-1:-1:-1;127851:453:0;;;;;:::i;:::-;;:::i;31879:2817::-;;;;;;;;;;-1:-1:-1;31879:2817:0;;;;;:::i;:::-;;:::i;133333:37::-;;;;;;;;;;;;;;;;133418:25;;;;;;;;;;;;;;;;125461:91;;;;;;;;;;-1:-1:-1;125532:12:0;;125461:91;;126590:135;;;;;;;;;;-1:-1:-1;126590:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;126687:21:0;;;126660:7;126687:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;126590:135;34792:185;;;;;;;;;;-1:-1:-1;34792:185:0;;;;;:::i;:::-;;:::i;128572:514::-;;;;;;;;;;-1:-1:-1;128572:514:0;;;;;:::i;:::-;;:::i;135519:773::-;;;;;;:::i;:::-;;:::i;133515:28::-;;;;;;;;;;-1:-1:-1;133515:28:0;;;;;;;;137815:100;;;;;;;;;;-1:-1:-1;137815:100:0;;;;;:::i;:::-;;:::i;55253:528::-;;;;;;;;;;-1:-1:-1;55253:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;138642:141::-;;;;;;;;;;;;;:::i;23150:152::-;;;;;;;;;;-1:-1:-1;23150:152:0;;;;;:::i;:::-;;:::i;133452:21::-;;;;;;;;;;;;;:::i;18692:233::-;;;;;;;;;;-1:-1:-1;18692:233:0;;;;;:::i;:::-;;:::i;132067:103::-;;;;;;;;;;;;;:::i;133480:28::-;;;;;;;;;;;;;:::i;137923:74::-;;;;;;;;;;;;;:::i;138005:106::-;;;;;;;;;;-1:-1:-1;138005:106:0;;;;;:::i;:::-;;:::i;59129:900::-;;;;;;;;;;-1:-1:-1;59129:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;126816:100::-;;;;;;;;;;-1:-1:-1;126816:100:0;;;;;:::i;:::-;;:::i;131419:87::-;;;;;;;;;;-1:-1:-1;131492:6:0;;-1:-1:-1;;;;;131492:6:0;131419:87;;21933:104;;;;;;;;;;;;;:::i;138250:111::-;;;;;;;;;;-1:-1:-1;138250:111:0;;;;;:::i;:::-;;:::i;126312:109::-;;;;;;;;;;-1:-1:-1;126312:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;126395:18:0;126368:7;126395:18;;;:9;:18;;;;;;;126312:109;134856:655;;;;;;;;;;-1:-1:-1;134856:655:0;;;;;:::i;:::-;;:::i;138369:265::-;;;;;;;;;;;;;:::i;138119:123::-;;;;;;;;;;-1:-1:-1;138119:123:0;;;;;:::i;:::-;;:::i;56169:2513::-;;;;;;;;;;-1:-1:-1;56169:2513:0;;;;;:::i;:::-;;:::i;28798:234::-;;;;;;;;;;-1:-1:-1;28798:234:0;;;;;:::i;:::-;;:::i;127006:225::-;;;;;;;;;;-1:-1:-1;127006:225:0;;;;;:::i;:::-;;:::i;35575:399::-;;;;;;;;;;-1:-1:-1;35575:399:0;;;;;:::i;:::-;;:::i;54666:428::-;;;;;;;;;;-1:-1:-1;54666:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;127391:260::-;;;;;;;;;;-1:-1:-1;127391:260:0;;;;;:::i;:::-;;:::i;137477:330::-;;;;;;;;;;-1:-1:-1;137477:330:0;;;;;:::i;:::-;;:::i;133716:24::-;;;;;;;;;;-1:-1:-1;133716:24:0;;;;;;;;;;;;;;;;;;:::i;136300:641::-;;;;;;:::i;:::-;;:::i;126108:105::-;;;;;;;;;;-1:-1:-1;126108:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;126189:16:0;126162:7;126189:16;;;:7;:16;;;;;;;126108:105;125898:119;;;;;;;;;;-1:-1:-1;125898:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;125983:26:0;125956:7;125983:26;;;:19;:26;;;;;;;125898:119;125646:95;;;;;;;;;;-1:-1:-1;125719:14:0;;125646:95;;133283:43;;;;;;;;;;;;;;;;29189:164;;;;;;;;;;-1:-1:-1;29189:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29310:25:0;;;29286:4;29310:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29189:164;132325:201;;;;;;;;;;-1:-1:-1;132325:201:0;;;;;:::i;:::-;;:::i;136949:93::-;;;;;;;;;;-1:-1:-1;136949:93:0;;;;;:::i;:::-;;:::i;20855:639::-;20940:4;-1:-1:-1;;;;;;;;;21264:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21341:25:0;;;21264:102;:179;;;-1:-1:-1;;;;;;;;;;21418:25:0;;;21264:179;21244:199;20855:639;-1:-1:-1;;20855:639:0:o;21757:100::-;21811:13;21844:5;21837:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21757:100;:::o;28240:218::-;28316:7;28341:16;28349:7;28341;:16::i;:::-;28336:64;;28366:34;;-1:-1:-1;;;28366:34:0;;;;;;;;;;;28336:64;-1:-1:-1;28420:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;28420:30:0;;28240:218::o;27681:400::-;27762:13;27778:16;27786:7;27778;:16::i;:::-;27762:32;-1:-1:-1;51736:10:0;-1:-1:-1;;;;;27811:28:0;;;27807:175;;27859:44;27876:5;51736:10;29189:164;:::i;27859:44::-;27854:128;;27931:35;;-1:-1:-1;;;27931:35:0;;;;;;;;;;;27854:128;27994:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;27994:35:0;-1:-1:-1;;;;;27994:35:0;;;;;;;;;28045:28;;27994:24;;28045:28;;;;;;;27751:330;27681:400;;:::o;127851:453::-;-1:-1:-1;;;;;127927:16:0;;127946:1;127927:16;;;:7;:16;;;;;;127919:71;;;;-1:-1:-1;;;127919:71:0;;;;;;;:::i;:::-;128003:15;128021:19;128032:7;128021:10;:19::i;:::-;128003:37;;128061:7;128072:1;128061:12;128053:68;;;;-1:-1:-1;;;128053:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;128134:18:0;;;;;;:9;:18;;;;;:29;;128156:7;;128134:18;:29;;128156:7;;128134:29;:::i;:::-;;;;;;;;128192:7;128174:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;128212:35:0;;-1:-1:-1;128230:7:0;128239;128212:17;:35::i;:::-;128263:33;;;-1:-1:-1;;;;;13638:32:1;;13620:51;;13702:2;13687:18;;13680:34;;;128263:33:0;;13593:18:1;128263:33:0;;;;;;;127908:396;127851:453;:::o;31879:2817::-;32013:27;32043;32062:7;32043:18;:27::i;:::-;32013:57;;32128:4;-1:-1:-1;;;;;32087:45:0;32103:19;-1:-1:-1;;;;;32087:45:0;;32083:86;;32141:28;;-1:-1:-1;;;32141:28:0;;;;;;;;;;;32083:86;32183:27;30987:24;;;:15;:24;;;;;31215:26;;51736:10;30612:30;;;-1:-1:-1;;;;;30305:28:0;;30590:20;;;30587:56;32369:180;;32462:43;32479:4;51736:10;29189:164;:::i;32462:43::-;32457:92;;32514:35;;-1:-1:-1;;;32514:35:0;;;;;;;;;;;32457:92;-1:-1:-1;;;;;32566:16:0;;32562:52;;32591:23;;-1:-1:-1;;;32591:23:0;;;;;;;;;;;32562:52;32763:15;32760:160;;;32903:1;32882:19;32875:30;32760:160;-1:-1:-1;;;;;33300:24:0;;;;;;;:18;:24;;;;;;33298:26;;-1:-1:-1;;33298:26:0;;;33369:22;;;;;;;;;33367:24;;-1:-1:-1;33367:24:0;;;26539:11;26514:23;26510:41;26497:63;-1:-1:-1;;;26497:63:0;33662:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;33957:47:0;;:52;;33953:627;;34062:1;34052:11;;34030:19;34185:30;;;:17;:30;;;;;;:35;;34181:384;;34323:13;;34308:11;:28;34304:242;;34470:30;;;;:17;:30;;;;;:52;;;34304:242;34011:569;33953:627;34627:7;34623:2;-1:-1:-1;;;;;34608:27:0;34617:4;-1:-1:-1;;;;;34608:27:0;;;;;;;;;;;34646:42;32002:2694;;;31879:2817;;;:::o;34792:185::-;34930:39;34947:4;34953:2;34957:7;34930:39;;;;;;;;;;;;:16;:39::i;:::-;34792:185;;;:::o;128572:514::-;-1:-1:-1;;;;;128654:16:0;;128673:1;128654:16;;;:7;:16;;;;;;128646:71;;;;-1:-1:-1;;;128646:71:0;;;;;;;:::i;:::-;128730:15;128748:26;128759:5;128766:7;128748:10;:26::i;:::-;128730:44;;128795:7;128806:1;128795:12;128787:68;;;;-1:-1:-1;;;128787:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;128868:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;128902:7;;128868:21;:41;;128902:7;;128868:41;:::i;:::-;;;;-1:-1:-1;;;;;;;128920:26:0;;;;;;:19;:26;;;;;:37;;128950:7;;128920:26;:37;;128950:7;;128920:37;:::i;:::-;;;;-1:-1:-1;128970:47:0;;-1:-1:-1;128993:5:0;129000:7;129009;128970:22;:47::i;:::-;129033:45;;;-1:-1:-1;;;;;13638:32:1;;;13620:51;;13702:2;13687:18;;13680:34;;;129033:45:0;;;;;13593:18:1;129033:45:0;;;;;;;128635:451;128572:514;;:::o;135519:773::-;134770:9;134783:10;134770:23;134762:66;;;;-1:-1:-1;;;134762:66:0;;;;;;;:::i;:::-;135667:19:::1;135652:11;::::0;::::1;::::0;::::1;;;:34;::::0;::::1;;;;;;:::i;:::-;;135644:84;;;::::0;-1:-1:-1;;;135644:84:0;;14565:2:1;135644:84:0::1;::::0;::::1;14547:21:1::0;14604:2;14584:18;;;14577:30;14643:34;14623:18;;;14616:62;-1:-1:-1;;;14694:18:1;;;14687:35;14739:19;;135644:84:0::1;14363:401:1::0;135644:84:0::1;135747:33;135761:10;135773:6;;135747:13;:33::i;:::-;135739:84;;;::::0;-1:-1:-1;;;135739:84:0;;14971:2:1;135739:84:0::1;::::0;::::1;14953:21:1::0;15010:2;14990:18;;;14983:30;15049:34;15029:18;;;15022:62;-1:-1:-1;;;15100:18:1;;;15093:36;15146:19;;135739:84:0::1;14769:402:1::0;135739:84:0::1;135871:10;135842:40;::::0;;;:28:::1;:40;::::0;;;;;134058:1:::1;::::0;135842:52:::1;::::0;135885:9;;135842:52:::1;:::i;:::-;:88;;135834:161;;;::::0;-1:-1:-1;;;135834:161:0;;15378:2:1;135834:161:0::1;::::0;::::1;15360:21:1::0;15417:2;15397:18;;;15390:30;15456:34;15436:18;;;15429:62;-1:-1:-1;;;15507:18:1;;;15500:48;15565:19;;135834:161:0::1;15176:414:1::0;135834:161:0::1;136043:31;133176:4;133225:3;136043:31;:::i;:::-;136030:9;136014:13;17782:12:::0;;17569:7;17766:13;:28;;17508:323;136014:13:::1;:25;;;;:::i;:::-;:60;;136006:92;;;;-1:-1:-1::0;;;136006:92:0::1;;;;;;;:::i;:::-;136148:9;136130:15;;:27;;;;:::i;:::-;136117:9;:40;;136109:70;;;::::0;-1:-1:-1;;;136109:70:0;;16318:2:1;136109:70:0::1;::::0;::::1;16300:21:1::0;16357:2;16337:18;;;16330:30;-1:-1:-1;;;16376:18:1;;;16369:47;16433:18;;136109:70:0::1;16116:341:1::0;136109:70:0::1;136219:10;136190:40;::::0;;;:28:::1;:40;::::0;;;;:53;;136234:9;;136190:40;:53:::1;::::0;136234:9;;136190:53:::1;:::i;:::-;::::0;;;-1:-1:-1;136254:30:0::1;::::0;-1:-1:-1;136264:8:0;136274:9;136254::::1;:30::i;:::-;135519:773:::0;;;;:::o;137815:100::-;131305:13;:11;:13::i;:::-;137889:7:::1;:18;137899:8:::0;137889:7;:18:::1;:::i;:::-;;137815:100:::0;:::o;55253:528::-;55397:23;55488:8;55463:22;55488:8;-1:-1:-1;;;;;55555:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55555:36:0;;-1:-1:-1;;55555:36:0;;;;;;;;;;;;55518:73;;55611:9;55606:125;55627:14;55622:1;:19;55606:125;;55683:32;55703:8;;55712:1;55703:11;;;;;;;:::i;:::-;;;;;;;55683:19;:32::i;:::-;55667:10;55678:1;55667:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;55643:3;;55606:125;;;-1:-1:-1;55752:10:0;55253:528;-1:-1:-1;;;;55253:528:0:o;138642:141::-;138688:6;138684:92;138704:10;;138700:1;:14;138684:92;;;138738:26;138754:8;138760:1;138754:5;:8::i;138738:26::-;138717:3;;;;:::i;:::-;;;;138684:92;;;;138642:141::o;23150:152::-;23222:7;23265:27;23284:7;23265:18;:27::i;133452:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18692:233::-;18764:7;-1:-1:-1;;;;;18788:19:0;;18784:60;;18816:28;;-1:-1:-1;;;18816:28:0;;;;;;;;;;;18784:60;-1:-1:-1;;;;;;18862:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;18862:55:0;;18692:233::o;132067:103::-;131305:13;:11;:13::i;:::-;132132:30:::1;132159:1;132132:18;:30::i;:::-;132067:103::o:0;133480:28::-;;;;;;;:::i;137923:74::-;131305:13;:11;:13::i;:::-;137974:8:::1;:15:::0;;-1:-1:-1;;137974:15:0::1;137985:4;137974:15;::::0;;137923:74::o;138005:106::-;131305:13;:11;:13::i;:::-;138079:10:::1;:24:::0;138005:106::o;59129:900::-;59207:16;59261:19;59295:25;59335:22;59360:16;59370:5;59360:9;:16::i;:::-;59335:41;;59391:25;59433:14;-1:-1:-1;;;;;59419:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59419:29:0;;59391:57;;59463:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59463:31:0;59514:9;59509:472;59558:14;59543:11;:29;59509:472;;59610:15;59623:1;59610:12;:15::i;:::-;59598:27;;59648:9;:16;;;59689:8;59644:73;59739:14;;-1:-1:-1;;;;;59739:28:0;;59735:111;;59812:14;;;-1:-1:-1;59735:111:0;59889:5;-1:-1:-1;;;;;59868:26:0;:17;-1:-1:-1;;;;;59868:26:0;;59864:102;;59945:1;59919:8;59928:13;;;;;;59919:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;59864:102;59574:3;;59509:472;;;-1:-1:-1;60002:8:0;;59129:900;-1:-1:-1;;;;;;59129:900:0:o;126816:100::-;126867:7;126894;126902:5;126894:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;126894:14:0;;126816:100;-1:-1:-1;;126816:100:0:o;21933:104::-;21989:13;22022:7;22015:14;;;;;:::i;138250:111::-;131305:13;:11;:13::i;:::-;138326:12:::1;:27:::0;138250:111::o;134856:655::-;134770:9;134783:10;134770:23;134762:66;;;;-1:-1:-1;;;134762:66:0;;;;;;;:::i;:::-;134994:17:::1;134979:11;::::0;::::1;::::0;::::1;;;:32;::::0;::::1;;;;;;:::i;:::-;;134971:80;;;::::0;-1:-1:-1;;;134971:80:0;;19140:2:1;134971:80:0::1;::::0;::::1;19122:21:1::0;19179:2;19159:18;;;19152:30;19218:34;19198:18;;;19191:62;-1:-1:-1;;;19269:18:1;;;19262:33;19312:19;;134971:80:0::1;18938:399:1::0;134971:80:0::1;135070:35;135086:10;135098:6;;135070:15;:35::i;:::-;135062:84;;;::::0;-1:-1:-1;;;135062:84:0;;19544:2:1;135062:84:0::1;::::0;::::1;19526:21:1::0;19583:2;19563:18;;;19556:30;19622:34;19602:18;;;19595:62;-1:-1:-1;;;19673:18:1;;;19666:34;19717:19;;135062:84:0::1;19342:400:1::0;135062:84:0::1;135197:10;135165:43;::::0;;;:31:::1;:43;::::0;;;;;133990:4:::1;::::0;135165:55:::1;::::0;135211:9;;135165:55:::1;:::i;:::-;:93;;135157:151;;;::::0;-1:-1:-1;;;135157:151:0;;19949:2:1;135157:151:0::1;::::0;::::1;19931:21:1::0;19988:2;19968:18;;;19961:30;20027:34;20007:18;;;20000:62;-1:-1:-1;;;20078:18:1;;;20071:33;20121:19;;135157:151:0::1;19747:399:1::0;135157:151:0::1;133176:4;135343:9;135327:13;17782:12:::0;;17569:7;17766:13;:28;;17508:323;135327:13:::1;:25;;;;:::i;:::-;:44;;135319:76;;;;-1:-1:-1::0;;;135319:76:0::1;;;;;;;:::i;:::-;135438:10;135406:43;::::0;;;:31:::1;:43;::::0;;;;:56;;135453:9;;135406:43;:56:::1;::::0;135453:9;;135406:56:::1;:::i;138369:265::-:0;138409:4;138445:19;138430:11;;;;;;;:34;;;;;;;;:::i;:::-;;138426:89;;-1:-1:-1;138488:15:0;;;138369:265::o;138426:89::-;138544:16;138529:11;;;;;;;:31;;;;;;;;:::i;:::-;;138525:83;;-1:-1:-1;138584:12:0;;;138369:265::o;138525:83::-;-1:-1:-1;138625:1:0;;138369:265::o;138119:123::-;131305:13;:11;:13::i;:::-;138201:15:::1;:33:::0;138119:123::o;56169:2513::-;56312:16;56379:4;56370:5;:13;56366:45;;56392:19;;-1:-1:-1;;;56392:19:0;;;;;;;;;;;56366:45;56426:19;56460:17;56480:14;17250:7;17277:13;;17195:103;56480:14;56460:34;-1:-1:-1;56731:9:0;56724:4;:16;56720:73;;;56768:9;56761:16;;56720:73;56807:25;56835:16;56845:5;56835:9;:16::i;:::-;56807:44;;57029:4;57021:5;:12;57017:278;;;57076:12;;;57111:31;;;57107:111;;;57187:11;57167:31;;57107:111;57035:198;57017:278;;;-1:-1:-1;57278:1:0;57017:278;57309:25;57351:17;-1:-1:-1;;;;;57337:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57337:32:0;;57309:60;;57388:17;57409:1;57388:22;57384:78;;57438:8;-1:-1:-1;57431:15:0;;-1:-1:-1;;;57431:15:0;57384:78;57606:31;57640:26;57660:5;57640:19;:26::i;:::-;57606:60;;57681:25;57926:9;:16;;;57921:92;;-1:-1:-1;57983:14:0;;57921:92;58044:5;58027:478;58056:4;58051:1;:9;;:45;;;;;58079:17;58064:11;:32;;58051:45;58027:478;;;58134:15;58147:1;58134:12;:15::i;:::-;58122:27;;58172:9;:16;;;58213:8;58168:73;58263:14;;-1:-1:-1;;;;;58263:28:0;;58259:111;;58336:14;;;-1:-1:-1;58259:111:0;58413:5;-1:-1:-1;;;;;58392:26:0;:17;-1:-1:-1;;;;;58392:26:0;;58388:102;;58469:1;58443:8;58452:13;;;;;;58443:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;58388:102;58098:3;;58027:478;;;-1:-1:-1;;;58590:29:0;;;-1:-1:-1;58597:8:0;;-1:-1:-1;;56169:2513:0;;;;;;:::o;28798:234::-;51736:10;28893:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;28893:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;28893:60:0;;;;;;;;;;28969:55;;885:41:1;;;28893:49:0;;51736:10;28969:55;;858:18:1;28969:55:0;;;;;;;28798:234;;:::o;127006:225::-;127064:7;127084:21;127132:15;125719:14;;;125646:95;127132:15;127108:39;;:21;:39;:::i;:::-;127084:63;;127165:58;127181:7;127190:13;127205:17;127214:7;-1:-1:-1;;;;;126395:18:0;126368:7;126395:18;;;:9;:18;;;;;;;126312:109;127205:17;127165:15;:58::i;35575:399::-;35742:31;35755:4;35761:2;35765:7;35742:12;:31::i;:::-;-1:-1:-1;;;;;35788:14:0;;;:19;35784:183;;35827:56;35858:4;35864:2;35868:7;35877:5;35827:30;:56::i;:::-;35822:145;;35911:40;;-1:-1:-1;;;35911:40:0;;;;;;;;;;;54666:428;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17250:7:0;17277:13;54859:7;:25;54826:103;;54908:9;54666:428;-1:-1:-1;;54666:428:0:o;54826:103::-;54951:21;54964:7;54951:12;:21::i;:::-;54939:33;;54987:9;:16;;;54983:65;;;55027:9;54666:428;-1:-1:-1;;54666:428:0:o;54983:65::-;55065:21;55078:7;55065:12;:21::i;127391:260::-;-1:-1:-1;;;;;125983:26:0;;127463:7;125983:26;;;:19;:26;;;;;;127463:7;;127507:30;;-1:-1:-1;;;127507:30:0;;127531:4;127507:30;;;2019:51:1;-1:-1:-1;;;;;127507:15:0;;;;;1992:18:1;;127507:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;126687:21:0;;;126660:7;126687:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;127483:77;;-1:-1:-1;127578:65:0;;127594:7;;127483:77;;127165:15;:58::i;127578:65::-;127571:72;127391:260;-1:-1:-1;;;;127391:260:0:o;137477:330::-;137566:13;137600:17;137608:8;137600:7;:17::i;:::-;137592:44;;;;-1:-1:-1;;;137592:44:0;;20542:2:1;137592:44:0;;;20524:21:1;20581:2;20561:18;;;20554:30;-1:-1:-1;;;20600:18:1;;;20593:44;20654:18;;137592:44:0;20340:338:1;137592:44:0;137650:8;;;;:17;;:8;:17;137647:70;;137691:14;137684:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;137477:330;;;:::o;137647:70::-;137760:7;137769:19;:8;:17;:19::i;:::-;137743:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;137729:70;;137477:330;;;:::o;136300:641::-;134770:9;134783:10;134770:23;134762:66;;;;-1:-1:-1;;;134762:66:0;;;;;;;:::i;:::-;136418:16:::1;136403:11;::::0;::::1;::::0;::::1;;;:31;::::0;::::1;;;;;;:::i;:::-;;136395:78;;;::::0;-1:-1:-1;;;136395:78:0;;22064:2:1;136395:78:0::1;::::0;::::1;22046:21:1::0;22103:2;22083:18;;;22076:30;22142:34;22122:18;;;22115:62;-1:-1:-1;;;22193:18:1;;;22186:32;22235:19;;136395:78:0::1;21862:398:1::0;136395:78:0::1;136518:10;136492:37;::::0;;;:25:::1;:37;::::0;;;;;134120:2:::1;::::0;136492:49:::1;::::0;136532:9;;136492:49:::1;:::i;:::-;:82;;136484:153;;;::::0;-1:-1:-1;;;136484:153:0;;22467:2:1;136484:153:0::1;::::0;::::1;22449:21:1::0;22506:2;22486:18;;;22479:30;22545:34;22525:18;;;22518:62;-1:-1:-1;;;22596:18:1;;;22589:46;22652:19;;136484:153:0::1;22265:412:1::0;136484:153:0::1;133176:4;136685:26;133225:3;133270:4;136685:26;:::i;:::-;:44;;;;:::i;:::-;136672:9;136656:13;17782:12:::0;;17569:7;17766:13;:28;;17508:323;136656:13:::1;:25;;;;:::i;:::-;:73;;136648:105;;;;-1:-1:-1::0;;;136648:105:0::1;;;;;;;:::i;:::-;136800:9;136785:12;;:24;;;;:::i;:::-;136772:9;:37;;136764:67;;;::::0;-1:-1:-1;;;136764:67:0;;16318:2:1;136764:67:0::1;::::0;::::1;16300:21:1::0;16357:2;16337:18;;;16330:30;-1:-1:-1;;;16376:18:1;;;16369:47;16433:18;;136764:67:0::1;16116:341:1::0;136764:67:0::1;136868:10;136842:37;::::0;;;:25:::1;:37;::::0;;;;:50;;136883:9;;136842:37;:50:::1;::::0;136883:9;;136842:50:::1;:::i;:::-;::::0;;;-1:-1:-1;136903:30:0::1;::::0;-1:-1:-1;136913:8:0;136923:9;136903::::1;:30::i;132325:201::-:0;131305:13;:11;:13::i;:::-;-1:-1:-1;;;;;132414:22:0;::::1;132406:73;;;::::0;-1:-1:-1;;;132406:73:0;;22884:2:1;132406:73:0::1;::::0;::::1;22866:21:1::0;22923:2;22903:18;;;22896:30;22962:34;22942:18;;;22935:62;-1:-1:-1;;;23013:18:1;;;23006:36;23059:19;;132406:73:0::1;22682:402:1::0;132406:73:0::1;132490:28;132509:8;132490:18;:28::i;136949:93::-:0;131305:13;:11;:13::i;:::-;137028:5:::1;137022:12;;;;;;;;:::i;:::-;137008:11;:26:::0;;-1:-1:-1;;137008:26:0::1;;::::0;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;136949:93:::0;:::o;29611:282::-;29676:4;29766:13;;29756:7;:23;29713:153;;;;-1:-1:-1;;29817:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;29817:44:0;:49;;29611:282::o;83517:317::-;83632:6;83607:21;:31;;83599:73;;;;-1:-1:-1;;;83599:73:0;;23291:2:1;83599:73:0;;;23273:21:1;23330:2;23310:18;;;23303:30;23369:31;23349:18;;;23342:59;23418:18;;83599:73:0;23089:353:1;83599:73:0;83686:12;83704:9;-1:-1:-1;;;;;83704:14:0;83726:6;83704:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83685:52;;;83756:7;83748:78;;;;-1:-1:-1;;;83748:78:0;;23859:2:1;83748:78:0;;;23841:21:1;23898:2;23878:18;;;23871:30;23937:34;23917:18;;;23910:62;24008:28;23988:18;;;23981:56;24054:19;;83748:78:0;23657:422:1;24305:1275:0;24372:7;24407;24509:13;;24502:4;:20;24498:1015;;;24547:14;24564:23;;;:17;:23;;;;;;;-1:-1:-1;;;24653:24:0;;:29;;24649:845;;25318:113;25325:6;25335:1;25325:11;25318:113;;-1:-1:-1;;;25396:6:0;25378:25;;;;:17;:25;;;;;;25318:113;;24649:845;24524:989;24498:1015;25541:31;;-1:-1:-1;;;25541:31:0;;;;;;;;;;;95534:211;95678:58;;;-1:-1:-1;;;;;13638:32:1;;95678:58:0;;;13620:51:1;13687:18;;;;13680:34;;;95678:58:0;;;;;;;;;;13593:18:1;;;;95678:58:0;;;;;;;;-1:-1:-1;;;;;95678:58:0;-1:-1:-1;;;95678:58:0;;;95651:86;;95671:5;;95651:19;:86::i;137268:201::-;137358:4;137382:79;137401:6;;137382:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;137409:10:0;;137431:28;;-1:-1:-1;;24233:2:1;24229:15;;;24225:53;137431:28:0;;;24213:66:1;137409:10:0;;-1:-1:-1;24295:12:1;;;-1:-1:-1;137431:28:0;;;;;;;;;;;;;137421:39;;;;;;137382:18;:79::i;45481:112::-;45558:27;45568:2;45572:8;45558:27;;;;;;;;;;;;:9;:27::i;131584:132::-;131492:6;;-1:-1:-1;;;;;131492:6:0;51736:10;131648:23;131640:68;;;;-1:-1:-1;;;131640:68:0;;24520:2:1;131640:68:0;;;24502:21:1;;;24539:18;;;24532:30;24598:34;24578:18;;;24571:62;24650:18;;131640:68:0;24318:356:1;132686:191:0;132779:6;;;-1:-1:-1;;;;;132796:17:0;;;-1:-1:-1;;;;;;132796:17:0;;;;;;;132829:40;;132779:6;;;132796:17;132779:6;;132829:40;;132760:16;;132829:40;132749:128;132686:191;:::o;23753:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23881:24:0;;;;:17;:24;;;;;;23862:44;;:18;:44::i;137050:210::-;137142:4;137166:86;137185:6;;137166:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;137193:17:0;;137222:28;;-1:-1:-1;;24233:2:1;24229:15;;;24225:53;137222:28:0;;;24213:66:1;137193:17:0;;-1:-1:-1;24295:12:1;;;-1:-1:-1;137222:28:0;24084:229:1;129264:248:0;129474:12;;-1:-1:-1;;;;;129454:16:0;;129410:7;129454:16;;;:7;:16;;;;;;129410:7;;129489:15;;129438:32;;:13;:32;:::i;:::-;129437:49;;;;:::i;:::-;:67;;;;:::i;38058:716::-;38242:88;;-1:-1:-1;;;38242:88:0;;38221:4;;-1:-1:-1;;;;;38242:45:0;;;;;:88;;51736:10;;38309:4;;38315:7;;38324:5;;38242:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38242:88:0;;;;;;;;-1:-1:-1;;38242:88:0;;;;;;;;;;;;:::i;:::-;;;38238:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38525:6;:13;38542:1;38525:18;38521:235;;38571:40;;-1:-1:-1;;;38571:40:0;;;;;;;;;;;38521:235;38714:6;38708:13;38699:6;38695:2;38691:15;38684:38;38238:529;-1:-1:-1;;;;;;38401:64:0;-1:-1:-1;;;38401:64:0;;-1:-1:-1;38058:716:0;;;;;;:::o;23491:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23602:47:0;23621:27;23640:7;23621:18;:27::i;:::-;23602:18;:47::i;60464:723::-;60520:13;60741:5;60750:1;60741:10;60737:53;;-1:-1:-1;;60768:10:0;;;;;;;;;;;;-1:-1:-1;;;60768:10:0;;;;;60464:723::o;60737:53::-;60815:5;60800:12;60856:78;60863:9;;60856:78;;60889:8;;;;:::i;:::-;;-1:-1:-1;60912:10:0;;-1:-1:-1;60920:2:0;60912:10;;:::i;:::-;;;60856:78;;;60944:19;60976:6;-1:-1:-1;;;;;60966:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60966:17:0;;60944:39;;60994:154;61001:10;;60994:154;;61028:11;61038:1;61028:11;;:::i;:::-;;-1:-1:-1;61097:10:0;61105:2;61097:5;:10;:::i;:::-;61084:24;;:2;:24;:::i;:::-;61071:39;;61054:6;61061;61054:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;61054:56:0;;;;;;;;-1:-1:-1;61125:11:0;61134:2;61125:11;;:::i;:::-;;;60994:154;;98601:716;99025:23;99051:69;99079:4;99051:69;;;;;;;;;;;;;;;;;99059:5;-1:-1:-1;;;;;99051:27:0;;;:69;;;;;:::i;:::-;99135:17;;99025:95;;-1:-1:-1;99135:21:0;99131:179;;99232:10;99221:30;;;;;;;;;;;;:::i;:::-;99213:85;;;;-1:-1:-1;;;99213:85:0;;26383:2:1;99213:85:0;;;26365:21:1;26422:2;26402:18;;;26395:30;26461:34;26441:18;;;26434:62;-1:-1:-1;;;26512:18:1;;;26505:40;26562:19;;99213:85:0;26181:406:1;73517:190:0;73642:4;73695;73666:25;73679:5;73686:4;73666:12;:25::i;:::-;:33;;73517:190;-1:-1:-1;;;;73517:190:0:o;44708:689::-;44839:19;44845:2;44849:8;44839:5;:19::i;:::-;-1:-1:-1;;;;;44900:14:0;;;:19;44896:483;;44940:11;44954:13;45002:14;;;45035:233;45066:62;45105:1;45109:2;45113:7;;;;;;45122:5;45066:30;:62::i;:::-;45061:167;;45164:40;;-1:-1:-1;;;45164:40:0;;;;;;;;;;;45061:167;45263:3;45255:5;:11;45035:233;;45350:3;45333:13;;:20;45329:34;;45355:8;;;45329:34;44921:458;;44708:689;;;:::o;25679:366::-;-1:-1:-1;;;;;;;;;;;;;25789:41:0;;;;13510:3;25875:33;;;-1:-1:-1;;;;;25841:68:0;-1:-1:-1;;;25841:68:0;-1:-1:-1;;;25939:24:0;;:29;;-1:-1:-1;;;25920:48:0;;;;14031:3;26008:28;;;;-1:-1:-1;;;25979:58:0;-1:-1:-1;25679:366:0:o;85001:229::-;85138:12;85170:52;85192:6;85200:4;85206:1;85209:12;85170:21;:52::i;74384:296::-;74467:7;74510:4;74467:7;74525:118;74549:5;:12;74545:1;:16;74525:118;;;74598:33;74608:12;74622:5;74628:1;74622:8;;;;;;;;:::i;:::-;;;;;;;74598:9;:33::i;:::-;74583:48;-1:-1:-1;74563:3:0;;;;:::i;:::-;;;;74525:118;;;-1:-1:-1;74660:12:0;74384:296;-1:-1:-1;;;74384:296:0:o;39236:2720::-;39309:20;39332:13;;;39360;;;39356:44;;39382:18;;-1:-1:-1;;;39382:18:0;;;;;;;;;;;39356:44;-1:-1:-1;;;;;39888:22:0;;;;;;:18;:22;;;;12989:2;39888:22;;;:71;;39926:32;39914:45;;39888:71;;;40202:31;;;:17;:31;;;;;-1:-1:-1;26970:15:0;;26944:24;26940:46;26539:11;26514:23;26510:41;26507:52;26497:63;;40202:173;;40437:23;;;;40202:31;;39888:22;;41202:25;39888:22;;41055:335;41470:1;41456:12;41452:20;41410:346;41511:3;41502:7;41499:16;41410:346;;41729:7;41719:8;41716:1;41689:25;41686:1;41683;41678:59;41564:1;41551:15;41410:346;;;41414:77;41789:8;41801:1;41789:13;41785:45;;41811:19;;-1:-1:-1;;;41811:19:0;;;;;;;;;;;41785:45;41847:13;:19;-1:-1:-1;34792:185:0;;;:::o;86121:510::-;86291:12;86349:5;86324:21;:30;;86316:81;;;;-1:-1:-1;;;86316:81:0;;26794:2:1;86316:81:0;;;26776:21:1;26833:2;26813:18;;;26806:30;26872:34;26852:18;;;26845:62;-1:-1:-1;;;26923:18:1;;;26916:36;26969:19;;86316:81:0;26592:402:1;86316:81:0;-1:-1:-1;;;;;82551:19:0;;;86408:60;;;;-1:-1:-1;;;86408:60:0;;27201:2:1;86408:60:0;;;27183:21:1;27240:2;27220:18;;;27213:30;27279:31;27259:18;;;27252:59;27328:18;;86408:60:0;26999:353:1;86408:60:0;86482:12;86496:23;86523:6;-1:-1:-1;;;;;86523:11:0;86542:5;86549:4;86523:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86481:73;;;;86572:51;86589:7;86598:10;86610:12;86572:16;:51::i;:::-;86565:58;86121:510;-1:-1:-1;;;;;;;86121:510:0:o;80591:149::-;80654:7;80685:1;80681;:5;:51;;80816:13;80910:15;;;80946:4;80939:15;;;80993:4;80977:21;;80681:51;;;-1:-1:-1;80816:13:0;80910:15;;;80946:4;80939:15;80993:4;80977:21;;;80591:149::o;88807:762::-;88957:12;88986:7;88982:580;;;-1:-1:-1;89017:10:0;89010:17;;88982:580;89131:17;;:21;89127:424;;89379:10;89373:17;89440:15;89427:10;89423:2;89419:19;89412:44;89127:424;89522:12;89515:20;;-1:-1:-1;;;89515:20:0;;;;;;;;:::i;359:131:1:-;-1:-1:-1;;;;;;433:32:1;;423:43;;413:71;;480:1;477;470:12;495:245;553:6;606:2;594:9;585:7;581:23;577:32;574:52;;;622:1;619;612:12;574:52;661:9;648:23;680:30;704:5;680:30;:::i;937:258::-;1009:1;1019:113;1033:6;1030:1;1027:13;1019:113;;;1109:11;;;1103:18;1090:11;;;1083:39;1055:2;1048:10;1019:113;;;1150:6;1147:1;1144:13;1141:48;;;-1:-1:-1;;1185:1:1;1167:16;;1160:27;937:258::o;1200:::-;1242:3;1280:5;1274:12;1307:6;1302:3;1295:19;1323:63;1379:6;1372:4;1367:3;1363:14;1356:4;1349:5;1345:16;1323:63;:::i;:::-;1440:2;1419:15;-1:-1:-1;;1415:29:1;1406:39;;;;1447:4;1402:50;;1200:258;-1:-1:-1;;1200:258:1:o;1463:220::-;1612:2;1601:9;1594:21;1575:4;1632:45;1673:2;1662:9;1658:18;1650:6;1632:45;:::i;1688:180::-;1747:6;1800:2;1788:9;1779:7;1775:23;1771:32;1768:52;;;1816:1;1813;1806:12;1768:52;-1:-1:-1;1839:23:1;;1688:180;-1:-1:-1;1688:180:1:o;2081:131::-;-1:-1:-1;;;;;2156:31:1;;2146:42;;2136:70;;2202:1;2199;2192:12;2217:315;2285:6;2293;2346:2;2334:9;2325:7;2321:23;2317:32;2314:52;;;2362:1;2359;2352:12;2314:52;2401:9;2388:23;2420:31;2445:5;2420:31;:::i;:::-;2470:5;2522:2;2507:18;;;;2494:32;;-1:-1:-1;;;2217:315:1:o;2901:255::-;2968:6;3021:2;3009:9;3000:7;2996:23;2992:32;2989:52;;;3037:1;3034;3027:12;2989:52;3076:9;3063:23;3095:31;3120:5;3095:31;:::i;3161:456::-;3238:6;3246;3254;3307:2;3295:9;3286:7;3282:23;3278:32;3275:52;;;3323:1;3320;3313:12;3275:52;3362:9;3349:23;3381:31;3406:5;3381:31;:::i;:::-;3431:5;-1:-1:-1;3488:2:1;3473:18;;3460:32;3501:33;3460:32;3501:33;:::i;:::-;3161:456;;3553:7;;-1:-1:-1;;;3607:2:1;3592:18;;;;3579:32;;3161:456::o;3622:403::-;3705:6;3713;3766:2;3754:9;3745:7;3741:23;3737:32;3734:52;;;3782:1;3779;3772:12;3734:52;3821:9;3808:23;3840:31;3865:5;3840:31;:::i;:::-;3890:5;-1:-1:-1;3947:2:1;3932:18;;3919:32;3960:33;3919:32;3960:33;:::i;:::-;4012:7;4002:17;;;3622:403;;;;;:::o;4030:367::-;4093:8;4103:6;4157:3;4150:4;4142:6;4138:17;4134:27;4124:55;;4175:1;4172;4165:12;4124:55;-1:-1:-1;4198:20:1;;-1:-1:-1;;;;;4230:30:1;;4227:50;;;4273:1;4270;4263:12;4227:50;4310:4;4302:6;4298:17;4286:29;;4370:3;4363:4;4353:6;4350:1;4346:14;4338:6;4334:27;4330:38;4327:47;4324:67;;;4387:1;4384;4377:12;4324:67;4030:367;;;;;:::o;4402:640::-;4506:6;4514;4522;4530;4583:2;4571:9;4562:7;4558:23;4554:32;4551:52;;;4599:1;4596;4589:12;4551:52;4638:9;4625:23;4657:31;4682:5;4657:31;:::i;:::-;4707:5;-1:-1:-1;4759:2:1;4744:18;;4731:32;;-1:-1:-1;4814:2:1;4799:18;;4786:32;-1:-1:-1;;;;;4830:30:1;;4827:50;;;4873:1;4870;4863:12;4827:50;4912:70;4974:7;4965:6;4954:9;4950:22;4912:70;:::i;:::-;4402:640;;;;-1:-1:-1;5001:8:1;-1:-1:-1;;;;4402:640:1:o;5047:127::-;5108:10;5103:3;5099:20;5096:1;5089:31;5139:4;5136:1;5129:15;5163:4;5160:1;5153:15;5179:632;5244:5;-1:-1:-1;;;;;5315:2:1;5307:6;5304:14;5301:40;;;5321:18;;:::i;:::-;5396:2;5390:9;5364:2;5450:15;;-1:-1:-1;;5446:24:1;;;5472:2;5442:33;5438:42;5426:55;;;5496:18;;;5516:22;;;5493:46;5490:72;;;5542:18;;:::i;:::-;5582:10;5578:2;5571:22;5611:6;5602:15;;5641:6;5633;5626:22;5681:3;5672:6;5667:3;5663:16;5660:25;5657:45;;;5698:1;5695;5688:12;5657:45;5748:6;5743:3;5736:4;5728:6;5724:17;5711:44;5803:1;5796:4;5787:6;5779;5775:19;5771:30;5764:41;;;;5179:632;;;;;:::o;5816:451::-;5885:6;5938:2;5926:9;5917:7;5913:23;5909:32;5906:52;;;5954:1;5951;5944:12;5906:52;5994:9;5981:23;-1:-1:-1;;;;;6019:6:1;6016:30;6013:50;;;6059:1;6056;6049:12;6013:50;6082:22;;6135:4;6127:13;;6123:27;-1:-1:-1;6113:55:1;;6164:1;6161;6154:12;6113:55;6187:74;6253:7;6248:2;6235:16;6230:2;6226;6222:11;6187:74;:::i;6272:437::-;6358:6;6366;6419:2;6407:9;6398:7;6394:23;6390:32;6387:52;;;6435:1;6432;6425:12;6387:52;6475:9;6462:23;-1:-1:-1;;;;;6500:6:1;6497:30;6494:50;;;6540:1;6537;6530:12;6494:50;6579:70;6641:7;6632:6;6621:9;6617:22;6579:70;:::i;:::-;6668:8;;6553:96;;-1:-1:-1;6272:437:1;-1:-1:-1;;;;6272:437:1:o;6714:349::-;6798:12;;-1:-1:-1;;;;;6794:38:1;6782:51;;6886:4;6875:16;;;6869:23;-1:-1:-1;;;;;6865:48:1;6849:14;;;6842:72;6977:4;6966:16;;;6960:23;6953:31;6946:39;6930:14;;;6923:63;7039:4;7028:16;;;7022:23;7047:8;7018:38;7002:14;;6995:62;6714:349::o;7068:720::-;7299:2;7351:21;;;7421:13;;7324:18;;;7443:22;;;7270:4;;7299:2;7522:15;;;;7496:2;7481:18;;;7270:4;7565:197;7579:6;7576:1;7573:13;7565:197;;;7628:52;7676:3;7667:6;7661:13;7628:52;:::i;:::-;7737:15;;;;7709:4;7700:14;;;;;7601:1;7594:9;7565:197;;8230:632;8401:2;8453:21;;;8523:13;;8426:18;;;8545:22;;;8372:4;;8401:2;8624:15;;;;8598:2;8583:18;;;8372:4;8667:169;8681:6;8678:1;8675:13;8667:169;;;8742:13;;8730:26;;8811:15;;;;8776:12;;;;8703:1;8696:9;8667:169;;8867:383;8944:6;8952;8960;9013:2;9001:9;8992:7;8988:23;8984:32;8981:52;;;9029:1;9026;9019:12;8981:52;9068:9;9055:23;9087:31;9112:5;9087:31;:::i;:::-;9137:5;9189:2;9174:18;;9161:32;;-1:-1:-1;9240:2:1;9225:18;;;9212:32;;8867:383;-1:-1:-1;;;8867:383:1:o;9255:118::-;9341:5;9334:13;9327:21;9320:5;9317:32;9307:60;;9363:1;9360;9353:12;9378:382;9443:6;9451;9504:2;9492:9;9483:7;9479:23;9475:32;9472:52;;;9520:1;9517;9510:12;9472:52;9559:9;9546:23;9578:31;9603:5;9578:31;:::i;:::-;9628:5;-1:-1:-1;9685:2:1;9670:18;;9657:32;9698:30;9657:32;9698:30;:::i;9765:795::-;9860:6;9868;9876;9884;9937:3;9925:9;9916:7;9912:23;9908:33;9905:53;;;9954:1;9951;9944:12;9905:53;9993:9;9980:23;10012:31;10037:5;10012:31;:::i;:::-;10062:5;-1:-1:-1;10119:2:1;10104:18;;10091:32;10132:33;10091:32;10132:33;:::i;:::-;10184:7;-1:-1:-1;10238:2:1;10223:18;;10210:32;;-1:-1:-1;10293:2:1;10278:18;;10265:32;-1:-1:-1;;;;;10309:30:1;;10306:50;;;10352:1;10349;10342:12;10306:50;10375:22;;10428:4;10420:13;;10416:27;-1:-1:-1;10406:55:1;;10457:1;10454;10447:12;10406:55;10480:74;10546:7;10541:2;10528:16;10523:2;10519;10515:11;10480:74;:::i;:::-;10470:84;;;9765:795;;;;;;;:::o;10565:264::-;10759:3;10744:19;;10772:51;10748:9;10805:6;10772:51;:::i;10834:127::-;10895:10;10890:3;10886:20;10883:1;10876:31;10926:4;10923:1;10916:15;10950:4;10947:1;10940:15;10966:338;11108:2;11093:18;;11141:1;11130:13;;11120:144;;11186:10;11181:3;11177:20;11174:1;11167:31;11221:4;11218:1;11211:15;11249:4;11246:1;11239:15;11120:144;11273:25;;;10966:338;:::o;11969:380::-;12048:1;12044:12;;;;12091;;;12112:61;;12166:4;12158:6;12154:17;12144:27;;12112:61;12219:2;12211:6;12208:14;12188:18;12185:38;12182:161;;12265:10;12260:3;12256:20;12253:1;12246:31;12300:4;12297:1;12290:15;12328:4;12325:1;12318:15;12182:161;;11969:380;;;:::o;12354:402::-;12556:2;12538:21;;;12595:2;12575:18;;;12568:30;12634:34;12629:2;12614:18;;12607:62;-1:-1:-1;;;12700:2:1;12685:18;;12678:36;12746:3;12731:19;;12354:402::o;12761:407::-;12963:2;12945:21;;;13002:2;12982:18;;;12975:30;13041:34;13036:2;13021:18;;13014:62;-1:-1:-1;;;13107:2:1;13092:18;;13085:41;13158:3;13143:19;;12761:407::o;13173:127::-;13234:10;13229:3;13225:20;13222:1;13215:31;13265:4;13262:1;13255:15;13289:4;13286:1;13279:15;13305:128;13345:3;13376:1;13372:6;13369:1;13366:13;13363:39;;;13382:18;;:::i;:::-;-1:-1:-1;13418:9:1;;13305:128::o;14004:354::-;14206:2;14188:21;;;14245:2;14225:18;;;14218:30;14284:32;14279:2;14264:18;;14257:60;14349:2;14334:18;;14004:354::o;15595:343::-;15797:2;15779:21;;;15836:2;15816:18;;;15809:30;-1:-1:-1;;;15870:2:1;15855:18;;15848:49;15929:2;15914:18;;15595:343::o;15943:168::-;15983:7;16049:1;16045;16041:6;16037:14;16034:1;16031:21;16026:1;16019:9;16012:17;16008:45;16005:71;;;16056:18;;:::i;:::-;-1:-1:-1;16096:9:1;;15943:168::o;16588:545::-;16690:2;16685:3;16682:11;16679:448;;;16726:1;16751:5;16747:2;16740:17;16796:4;16792:2;16782:19;16866:2;16854:10;16850:19;16847:1;16843:27;16837:4;16833:38;16902:4;16890:10;16887:20;16884:47;;;-1:-1:-1;16925:4:1;16884:47;16980:2;16975:3;16971:12;16968:1;16964:20;16958:4;16954:31;16944:41;;17035:82;17053:2;17046:5;17043:13;17035:82;;;17098:17;;;17079:1;17068:13;17035:82;;17309:1352;17435:3;17429:10;-1:-1:-1;;;;;17454:6:1;17451:30;17448:56;;;17484:18;;:::i;:::-;17513:97;17603:6;17563:38;17595:4;17589:11;17563:38;:::i;:::-;17557:4;17513:97;:::i;:::-;17665:4;;17729:2;17718:14;;17746:1;17741:663;;;;18448:1;18465:6;18462:89;;;-1:-1:-1;18517:19:1;;;18511:26;18462:89;-1:-1:-1;;17266:1:1;17262:11;;;17258:24;17254:29;17244:40;17290:1;17286:11;;;17241:57;18564:81;;17711:944;;17741:663;16535:1;16528:14;;;16572:4;16559:18;;-1:-1:-1;;17777:20:1;;;17895:236;17909:7;17906:1;17903:14;17895:236;;;17998:19;;;17992:26;17977:42;;18090:27;;;;18058:1;18046:14;;;;17925:19;;17895:236;;;17899:3;18159:6;18150:7;18147:19;18144:201;;;18220:19;;;18214:26;-1:-1:-1;;18303:1:1;18299:14;;;18315:3;18295:24;18291:37;18287:42;18272:58;18257:74;;18144:201;-1:-1:-1;;;;;18391:1:1;18375:14;;;18371:22;18358:36;;-1:-1:-1;17309:1352:1:o;18666:127::-;18727:10;18722:3;18718:20;18715:1;18708:31;18758:4;18755:1;18748:15;18782:4;18779:1;18772:15;18798:135;18837:3;18858:17;;;18855:43;;18878:18;;:::i;:::-;-1:-1:-1;18925:1:1;18914:13;;18798:135::o;20151:184::-;20221:6;20274:2;20262:9;20253:7;20249:23;20245:32;20242:52;;;20290:1;20287;20280:12;20242:52;-1:-1:-1;20313:16:1;;20151:184;-1:-1:-1;20151:184:1:o;20683:1174::-;20960:3;20989:1;21022:6;21016:13;21052:36;21078:9;21052:36;:::i;:::-;21107:1;21124:18;;;21151:133;;;;21298:1;21293:356;;;;21117:532;;21151:133;-1:-1:-1;;21184:24:1;;21172:37;;21257:14;;21250:22;21238:35;;21229:45;;;-1:-1:-1;21151:133:1;;21293:356;21324:6;21321:1;21314:17;21354:4;21399:2;21396:1;21386:16;21424:1;21438:165;21452:6;21449:1;21446:13;21438:165;;;21530:14;;21517:11;;;21510:35;21573:16;;;;21467:10;;21438:165;;;21442:3;;;21632:6;21627:3;21623:16;21616:23;;21117:532;;;;;21680:6;21674:13;21696:55;21742:8;21737:3;21730:4;21722:6;21718:17;21696:55;:::i;:::-;-1:-1:-1;;;21773:18:1;;21800:22;;;21849:1;21838:13;;20683:1174;-1:-1:-1;;;;20683:1174:1:o;24679:127::-;24740:10;24735:3;24731:20;24728:1;24721:31;24771:4;24768:1;24761:15;24795:4;24792:1;24785:15;24811:120;24851:1;24877;24867:35;;24882:18;;:::i;:::-;-1:-1:-1;24916:9:1;;24811:120::o;24936:125::-;24976:4;25004:1;25001;24998:8;24995:34;;;25009:18;;:::i;:::-;-1:-1:-1;25046:9:1;;24936:125::o;25066:489::-;-1:-1:-1;;;;;25335:15:1;;;25317:34;;25387:15;;25382:2;25367:18;;25360:43;25434:2;25419:18;;25412:34;;;25482:3;25477:2;25462:18;;25455:31;;;25260:4;;25503:46;;25529:19;;25521:6;25503:46;:::i;:::-;25495:54;25066:489;-1:-1:-1;;;;;;25066:489:1:o;25560:249::-;25629:6;25682:2;25670:9;25661:7;25657:23;25653:32;25650:52;;;25698:1;25695;25688:12;25650:52;25730:9;25724:16;25749:30;25773:5;25749:30;:::i;25814:112::-;25846:1;25872;25862:35;;25877:18;;:::i;:::-;-1:-1:-1;25911:9:1;;25814:112::o;25931:245::-;25998:6;26051:2;26039:9;26030:7;26026:23;26022:32;26019:52;;;26067:1;26064;26057:12;26019:52;26099:9;26093:16;26118:28;26140:5;26118:28;:::i;27357:274::-;27486:3;27524:6;27518:13;27540:53;27586:6;27581:3;27574:4;27566:6;27562:17;27540:53;:::i;:::-;27609:16;;;;;27357:274;-1:-1:-1;;27357:274:1:o

Swarm Source

ipfs://95023d76815a332ca9069696d57f6e2f6634e9a582296179ee00e69e8cee5f0b

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
Loading...
Loading
[ 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.